mono.git
19 years ago2005-05-19 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Thu, 19 May 2005 14:27:37 +0000 (14:27 -0000)]
2005-05-19  Geoff Norton  <gnorton@customerdna.com>

        * List.cs (Insert): Resize the array before the shift if needed

svn path=/trunk/mcs/; revision=44751

19 years ago2005-05-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 19 May 2005 13:24:22 +0000 (13:24 -0000)]
2005-05-19  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Handle i386-*-linux* as well. Fixes #74960.

svn path=/trunk/mono/; revision=44750

19 years agoDon't warn about obsolete member in mscorlib.dll
Sebastien Pouliot [Thu, 19 May 2005 13:00:59 +0000 (13:00 -0000)]
Don't warn about obsolete member in mscorlib.dll

svn path=/trunk/mcs/; revision=44749

19 years ago * ignore.lst : ignore 2 performance tests, as we don't time them
Andrew Skiba [Thu, 19 May 2005 11:09:26 +0000 (11:09 -0000)]
    * ignore.lst : ignore 2 performance tests, as we don't time them
        anyway
        * Makefile : store dom results in separate place, remove mainsoft
        testssuite, handle reference results better
        * xslttest.cs : improve reporting, improve path handling, store
        results in different place

svn path=/trunk/mcs/; revision=44747

19 years ago* statement.cs (ToplevelBlock.GetParameterReference)
Raja R Harinath [Thu, 19 May 2005 10:04:20 +0000 (10:04 -0000)]
* statement.cs (ToplevelBlock.GetParameterReference)
(ToplevelBlock.IsParameterReference,ToplevelBlock.IsLocalParameter):
Move here from class Block.
* ecore.cs (SimpleName.SimpleNameResolve): Update to changes.
* expression.cs (ParameterReference.DoResolveBase): Likewise.

svn path=/trunk/mcs/; revision=44746

19 years agoupdate
Raja R Harinath [Thu, 19 May 2005 10:03:06 +0000 (10:03 -0000)]
update

svn path=/trunk/mcs/; revision=44745

19 years ago* ListTest.cs (TestGetRange): Add missing ';'. Actually compare
Raja R Harinath [Thu, 19 May 2005 09:40:10 +0000 (09:40 -0000)]
* ListTest.cs (TestGetRange): Add missing ';'.  Actually compare
the length of the list.

svn path=/trunk/mcs/; revision=44743

19 years ago* Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable" error.
Raja R Harinath [Thu, 19 May 2005 09:07:24 +0000 (09:07 -0000)]
* Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable" error.

svn path=/trunk/mcs/; revision=44742

19 years agoadded net 2.0 files to System.Data.dll_sources
Umadevi S [Thu, 19 May 2005 08:43:02 +0000 (08:43 -0000)]
added net 2.0 files to System.Data.dll_sources

svn path=/trunk/mcs/; revision=44741

19 years ago * For implementation of bulkcopy and notifications added files
Umadevi S [Thu, 19 May 2005 08:40:20 +0000 (08:40 -0000)]
  * For implementation of bulkcopy and notifications added files
                SqlBulkCopyOptions.cs,SqlBulkCopyColumnMapping.cs,SqlNotificationAuthType.cs
                SqlNotificationTransports.cs,SqlRowsCopiedEventArgs.cs, SqlRowsCopiedEventHandler.cs

svn path=/trunk/mcs/; revision=44740

19 years ago2005-05-19 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 19 May 2005 08:21:15 +0000 (08:21 -0000)]
2005-05-19  Marek Safar  <marek.safar@seznam.cz>

* AxHost.cs: Some simple properties.
* Control.cs: window must be accessible after ctor.
* Form.cs: Added TransparencyKey property.
* TextBoxBase.cs: Implemented Clear. Text property can be null.
* XplatUIWin32.cs: SetBorderStyle implemented.

svn path=/trunk/mcs/; revision=44739

19 years agoCorrected types,enum values of SqlNotificationType,SqlNotificationSource,
Umadevi S [Thu, 19 May 2005 08:18:39 +0000 (08:18 -0000)]
Corrected types,enum values of SqlNotificationType,SqlNotificationSource,
                SqlNotificationInfo and added new method in SqlRowUpdatingEventArgs.cs
        (For implementation of bulkcopy/notifications)

svn path=/trunk/mcs/; revision=44738

19 years agosvn:eol-style=native
Raja R Harinath [Thu, 19 May 2005 06:58:57 +0000 (06:58 -0000)]
svn:eol-style=native

svn path=/trunk/mcs/; revision=44737

19 years agosvn:eol-style=native
Raja R Harinath [Thu, 19 May 2005 06:49:40 +0000 (06:49 -0000)]
svn:eol-style=native

svn path=/trunk/mcs/; revision=44736

19 years agosvn:eol-style=native
Raja R Harinath [Thu, 19 May 2005 06:47:26 +0000 (06:47 -0000)]
svn:eol-style=native

svn path=/trunk/mcs/; revision=44735

19 years agosvn:eol-style=ignore
Raja R Harinath [Thu, 19 May 2005 06:45:12 +0000 (06:45 -0000)]
svn:eol-style=ignore

svn path=/trunk/mcs/; revision=44734

19 years agosvn:eol-style=native
Raja R Harinath [Thu, 19 May 2005 06:43:21 +0000 (06:43 -0000)]
svn:eol-style=native

svn path=/trunk/mcs/; revision=44733

19 years ago.net2.0 property of RowUpdatingEventArgs.cs implemented
Umadevi S [Thu, 19 May 2005 06:33:31 +0000 (06:33 -0000)]
.net2.0 property of RowUpdatingEventArgs.cs implemented

svn path=/trunk/mcs/; revision=44732

19 years ago2005-05-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 19 May 2005 05:55:52 +0000 (05:55 -0000)]
2005-05-19  Miguel de Icaza  <miguel@novell.com>

* TermInfoDriver.cs: Removed warning.

* Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
FindLastIndex<T>: Parameter names are normative.
Fix coding style ("Method<T>" not "Method <T>")
Throw argument exceptions per argument.

(FindAll): Fix bug, actually return the values that were computed,
not a short version of the original array.

2005-05-19  Miguel de Icaza  <miguel@novell.com>

* Thread.cs: REmove warnings.

svn path=/trunk/mcs/; revision=44731

19 years ago2005-05-19 Satya Sudha K <ksathyasudha@novell.com>
Raja R Harinath [Thu, 19 May 2005 05:17:39 +0000 (05:17 -0000)]
2005-05-19  Satya Sudha K  <ksathyasudha@novell.com>
    Raja R Harinath  <rharinath@novell.com>

* Missing.cs (Missing.Value): Initialize.

svn path=/trunk/mcs/; revision=44730

19 years agoFix spurious ^M in Microsoft.JScript.dll.sources -- make dist failed due to that
Raja R Harinath [Thu, 19 May 2005 05:08:42 +0000 (05:08 -0000)]
Fix spurious ^M in Microsoft.JScript.dll.sources -- make dist failed due to that

svn propset eol-style:native **/*.dll.sources

svn path=/trunk/mcs/; revision=44729

19 years ago2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 19 May 2005 04:59:48 +0000 (04:59 -0000)]
2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Console.cs: fix error in the 2_0 side and split ReadLine in 2, one
for each framework version.

svn path=/trunk/mcs/; revision=44728

19 years ago2005-05-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 19 May 2005 03:16:47 +0000 (03:16 -0000)]
2005-05-19  Atsushi Enomoto  <atsushi@ximian.com>

* Driver.cs, CultureInfoEntry.cs : Use hacky shallow copy to clone
  zh-CHS into zh-CHT.

* culture-info-table.h : updated (real hacky solution for zh-CHT).

svn path=/trunk/mono/; revision=44727

19 years ago2005-05-04 James Willcox <james@ximian.com>
James Willcox [Wed, 18 May 2005 23:49:01 +0000 (23:49 -0000)]
2005-05-04 James Willcox  <james@ximian.com>

        * DigestClient.cs: convert to a hex string with "X8" consistently
        for nc-value

svn path=/trunk/mcs/; revision=44724

19 years ago2005-05-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 18 May 2005 23:04:02 +0000 (23:04 -0000)]
2005-05-19  Zoltan Varga  <vargaz@freemail.hu>

* *-ia64*: Ongoing IA64 work.

svn path=/trunk/mono/; revision=44723

19 years ago2005-05-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 18 May 2005 23:02:39 +0000 (23:02 -0000)]
2005-05-19  Zoltan Varga  <vargaz@freemail.hu>

* ia64/ia64-codegen.h ia64/codegen.c: Ongoing ia64 work.

svn path=/trunk/mono/; revision=44722

19 years ago2005-05-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 18 May 2005 22:26:18 +0000 (22:26 -0000)]
2005-05-18  Miguel de Icaza  <miguel@novell.com>

* driver.c (mono_main): Avoid crash if no argument is passed to
--break;  Do not use g_error, but f_printf.   And fix all other
ocurrences of the same crash.

svn path=/trunk/mono/; revision=44721

19 years ago2005-05-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 18 May 2005 20:36:49 +0000 (20:36 -0000)]
2005-05-18  Miguel de Icaza  <miguel@novell.com>

* List.cs (GetRange): Implement.

svn path=/trunk/mcs/; revision=44718

19 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 May 2005 19:46:28 +0000 (19:46 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* DeflateStreamCas.cs: New. CAS unit tests to test stack propagation
for BeginRead and BeginWrite.
* DeflateStreamTest.cs: Added tests for constructor. Fixed tests to
execute without error with 2.0 beta2. Removed "NotWorking" for some
(fixed) tests.
* GZipStreamCas.cs: New. CAS unit tests to test stack propagation
for BeginRead and BeginWrite.
* GzipStreamTest.cs: Renamed class to GZipStream. : Added tests for
constructor. Fixed tests to execute without error with 2.0 beta2.
Removed "NotWorking" for some (fixed) tests.

svn path=/trunk/mcs/; revision=44715

19 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 May 2005 19:40:02 +0000 (19:40 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* DeflateStream.cs: Fixed some changed/missing exceptions.
* GzipStream.cs: Renamed to GZipStream (from beta2).

svn path=/trunk/mcs/; revision=44714

19 years ago2005-05-18 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 18 May 2005 19:28:00 +0000 (19:28 -0000)]
2005-05-18  Peter Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.sources: Added Clipboard.cs
* SWF.csproj: Update

svn path=/trunk/mcs/; revision=44712

19 years ago * XplatUI.cs: Updated to final clipboard interface
Peter Dennis Bartok [Wed, 18 May 2005 19:26:36 +0000 (19:26 -0000)]
* XplatUI.cs: Updated to final clipboard interface

svn path=/trunk/mcs/; revision=44711

19 years ago2005-05-18 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 18 May 2005 19:25:49 +0000 (19:25 -0000)]
2005-05-18  Peter Bartok  <pbartok@novell.com>

* DataObject.cs: Entries are not global but particular to the
  DataObject, now it behaves that way
* XplatUIWin32.cs: Implemented Clipboard methods
* Clipboard.cs: Implemented
* ScrollableControl.cs (DisplayRectangle): Fixed calculation
* XplatUIOSX.cs: Updated to final clipboard prototypes
* XplatUIX11.cs: Implemented Clipboard methods
* XplatUIDriver.cs: Updated to final clipboard prototypes
* XplatUIStructs.cs:
  - Added BITMAPINFOHEADER struct
  - Added ClipboardFormats enum
* X11Structs.cs:
  - Added ClipboardStruct
  - Added Atom enum items for clipboard types
  - Fixed atom types for Selection event structures
* DataFormats.cs:
  - Added internal properties and methods for drivers to enumerate
    all known formats
  - Switched initialization method to allow drivers to assign their
    own IDs even for the MS predefined clipboard IDs

svn path=/trunk/mcs/; revision=44710

19 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 May 2005 19:17:56 +0000 (19:17 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* HostProtectionAttributeTest.cs: Added tests to check for individual
removal of flags.
* SecurityPermissionAttributeTest.cs: Added tests to check for
individual removal of flags.

svn path=/trunk/mcs/; revision=44709

19 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 May 2005 19:16:05 +0000 (19:16 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* HostProtectionAttribute.cs: Fixes flag cleaning logical
operation (found by Jordi).
* SecurityPermissionAttribute.cs: Fixes flag cleaning logical
operation (this is the original sinner ;-).

svn path=/trunk/mcs/; revision=44708

19 years ago2005-05-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 18 May 2005 18:56:44 +0000 (18:56 -0000)]
2005-05-18  Zoltan Varga  <vargaz@freemail.hu>

* mono-codeman.c: Align code on a 16 byte boundary on ia64.

svn path=/trunk/mono/; revision=44706

19 years ago2005-05-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 18 May 2005 18:55:54 +0000 (18:55 -0000)]
2005-05-18  Zoltan Varga  <vargaz@freemail.hu>

* ia64/ia64-codegen.h (ia64_codegen_init): Rename macro parameter.

svn path=/trunk/mono/; revision=44705

19 years ago2005-05-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 May 2005 18:19:25 +0000 (18:19 -0000)]
2005-05-18  Atsushi Enomoto  <atsushi@ximian.com>

* culture-info-table.h : zh-CHT related workaround.

svn path=/trunk/mono/; revision=44704

19 years ago2005-05-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 May 2005 18:17:42 +0000 (18:17 -0000)]
2005-05-18  Atsushi Enomoto  <atsushi@ximian.com>

* Driver.cs : quick workaround for zh-CHT related breakage.

svn path=/trunk/mono/; revision=44703

19 years ago * map-icalls.h: Added; auto-generated file which contains Mono_Posix_*
Jonathan Pryor [Wed, 18 May 2005 18:04:49 +0000 (18:04 -0000)]
  * map-icalls.h: Added; auto-generated file which contains Mono_Posix_*
    declarations for DllImport functions in Mono.Posix.dll.  This ensure
    consistency between Mono.Posix.dll and MonoPosixHelper.so.
  * mph.h: Add include for map-icalls.h, to ensure that all MonoPosixHelper
    exports have correct prototypes.
  * dirent.c, grp.c, macros.c, pwd.c, signal.c, stdio.c, sys-stat.c,
    sys-time.c, utime.c: Correct prototypes to match map-icalls.h.  Alas, this
    "loses" information -- FILE* becomes void*, etc. -- but no semantics or
    ABI should be changed (except for Mono_Posix_Syscall_utime).  Some
    structure names also changed to match the generated names; since the
    structures are private, this shouldn't break anything.
  * errno.c: Remove Mono_Posix_Syscall_SetLastError so we don't get a warning
    about a missing prototype.  This was never in a stable release.
  * old-map.c: Include mph.h for prototype checking.
  * unistd.c: SeekFlags conversion is now done in managed code so that a short
    isn't passed as a parameter; Correct prototypes to match map-icalls.h.
  * sys-xattr.c: fix lsetxattr/fsetxattr confusion; Correct prototypes to
    match map-icalls.h.
  * sys-sendfile.c: Move mph.h include so that HAVE_SYS_SENDFILE_H is used.
  * sys-wait.c: Include mph.h so that prototypes are checked.

svn path=/trunk/mono/; revision=44702

19 years ago * Stdlib.cs: Correct Mono_Posix_Stdlib_InvokeSignalHandler export.
Jonathan Pryor [Wed, 18 May 2005 17:51:27 +0000 (17:51 -0000)]
  * Stdlib.cs: Correct Mono_Posix_Stdlib_InvokeSignalHandler export.

svn path=/trunk/mcs/; revision=44701

19 years agoFix test
Miguel de Icaza [Wed, 18 May 2005 17:39:47 +0000 (17:39 -0000)]
Fix test

svn path=/trunk/mcs/; revision=44699

19 years ago * make-map.cs: Process the Mono.Posix namespace as well as Mono.Unix; add
Jonathan Pryor [Wed, 18 May 2005 17:36:26 +0000 (17:36 -0000)]
  * make-map.cs: Process the Mono.Posix namespace as well as Mono.Unix; add
    mapping for Boolean => int for native type conversion.

svn path=/trunk/mcs/; revision=44698

19 years agoAdded List tests
Miguel de Icaza [Wed, 18 May 2005 17:35:38 +0000 (17:35 -0000)]
Added List tests

svn path=/trunk/mcs/; revision=44697

19 years agoAdded List tests
Miguel de Icaza [Wed, 18 May 2005 17:35:26 +0000 (17:35 -0000)]
Added List tests

svn path=/trunk/mcs/; revision=44696

19 years ago2005-05-18 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 18 May 2005 17:31:21 +0000 (17:31 -0000)]
2005-05-18  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* Mono.GetOptions/Options.cs: Reverting ABI change on RemainingArguments (will break packaged MonoDevelop 0.7)

svn path=/trunk/mcs/; revision=44695

19 years ago2005-05-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 18 May 2005 17:29:18 +0000 (17:29 -0000)]
2005-05-18  Miguel de Icaza  <miguel@novell.com>

* List.cs: Do not do lazy loading of data.  Not worth adding an
extra check, and not worth the bugs.

This decision wont be discussed until: a) a full List regression
test suite exists and  b) performance benchmarks are created.  (b)
depends on (a) or the argument wont even be heard.

svn path=/trunk/mcs/; revision=44694

19 years ago * make-map.cs: Add a MphPrototypeFileGenerator, which looks for DllImport
Jonathan Pryor [Wed, 18 May 2005 17:25:25 +0000 (17:25 -0000)]
  * make-map.cs: Add a MphPrototypeFileGenerator, which looks for DllImport
    methods across all types and generates a C header file declaration for
    those methods.  This allows us to ensure consistency between
    Mono.Posix.dll and MonoPosixHelper.so.  Rename WrapperFileGenerator to
    ConvertFileGenerator (it generates UnixConvert).
  * MapAttribute.cs, IncludeAttribute.cs: Make these internal -- there's no
    reason for external users to even know these exist.
  * StdioFileStream.cs: Move GC.SuppressFinalize call to be last Dispose()
    call.  This follows current design guidelines, and allows an exception to
    be thrown from Dispose() without un-registering the finalizer.
  * Syscall.cs: Change method declarations to match MonoPosixHelper, etc.
     - posix_fallocate(P) takes a size_t
     - mis-spelled settimeofday(2), sethostname(2)
     - exec(2) can be public; it's safe to call
     - change lseek(2) so int's are passed to MonoPosixHelper.so, not shorts
     - We can't allow two incompatible prototypes to exist (since C allows
       only one prototype, and we're cross-checking prototypes now).  Change
       utime(2) so only one prototype is needed.
  * UnixMarshal.cs: ErrorMarshal.ErrorTranslator and ErrorMarshal.Translate
    shouldn't be public; make them internal.
  * UnixStream.cs: Remove `unsafe` code block when a "safe" alternative works;
    Close() should also call GC.SuppressFinalize.

svn path=/trunk/mcs/; revision=44693

19 years ago2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 18 May 2005 16:27:47 +0000 (16:27 -0000)]
2005-05-18  Lluis Sanchez Gual <lluis@novell.com>

* TreeView.cs: Always render the startup script. This fixes
bug #74949.

svn path=/trunk/mcs/; revision=44690

19 years ago2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 18 May 2005 16:14:57 +0000 (16:14 -0000)]
2005-05-18  Lluis Sanchez Gual  <lluis@novell.com>

* BinaryServerFormatterSink.cs: Properly handle exceptions raised
during serialization. Fixes bug #74950.

svn path=/trunk/mcs/; revision=44689

19 years agoinit schema values with defaults if missing
Konstantin Triger [Wed, 18 May 2005 15:57:42 +0000 (15:57 -0000)]
init schema values with defaults if missing

svn path=/trunk/mcs/; revision=44688

19 years ago2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 18 May 2005 15:55:59 +0000 (15:55 -0000)]
2005-05-18  Lluis Sanchez Gual  <lluis@novell.com>

* HttpServerChannel.cs: Catch exceptions thrown in the server thread.
In StopListening, wait for the server thread to stop before returning.

svn path=/trunk/mcs/; revision=44687

19 years ago2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 18 May 2005 15:45:28 +0000 (15:45 -0000)]
2005-05-18  Lluis Sanchez Gual  <lluis@novell.com>

* TcpServerChannel.cs: In StopListening, wait for the server thread
to stop before returning. This fixes bug #74962.

svn path=/trunk/mcs/; revision=44686

19 years agocorlib_test.dll.sources: Added new CAS tests for System.IO.Stream.
Sebastien Pouliot [Wed, 18 May 2005 14:44:37 +0000 (14:44 -0000)]
corlib_test.dll.sources: Added new CAS tests for System.IO.Stream.

svn path=/trunk/mcs/; revision=44685

19 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 May 2005 14:42:59 +0000 (14:42 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFileStreamCas.cs: Added tests to test stack
propagation for BeginRead and BeginWrite.

svn path=/trunk/mcs/; revision=44684

19 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 May 2005 14:41:45 +0000 (14:41 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* StreamCas.cs: New. CAS unit tests to test stack propagation for
BeginRead and BeginWrite.
* FileStreamCas.cs: Added tests to test stack propagation for
BeginRead and BeginWrite.

svn path=/trunk/mcs/; revision=44683

19 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 May 2005 14:07:55 +0000 (14:07 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConfig.cs: Changed lock pattern to second version of
http://www.skeet.org.uk/csharp/singleton.html

svn path=/trunk/mcs/; revision=44682

19 years ago2005-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 May 2005 14:05:23 +0000 (14:05 -0000)]
2005-05-18  Martin Baulig  <martin@ximian.com>

* Makefile: Updated after the last merging.

svn path=/trunk/mcs/; revision=44681

19 years agoNew test.
Martin Baulig [Wed, 18 May 2005 13:44:35 +0000 (13:44 -0000)]
New test.

svn path=/trunk/mcs/; revision=44680

19 years ago2005-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 May 2005 13:42:57 +0000 (13:42 -0000)]
2005-05-18  Martin Baulig  <martin@ximian.com>

Fix #74978.

* flowanalysis.cs
(FlowBranching.Reachability): Add non-static public And() and Or()
methods.
(FlowBranchingSwitch): New class; do the `break_origins' thing
like in FlowBranchingLoop.
(FlowBranching.UsageVector.MergeBreakOrigins): Also merge the
reachability, not just locals and parameters.
(FlowBranching.MergeChild): Remove some of the hacks for loop and
switch; MergeBreakOrigins() now takes care of that.

svn path=/trunk/mcs/; revision=44679

19 years ago2005-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 May 2005 13:42:14 +0000 (13:42 -0000)]
2005-05-18  Martin Baulig  <martin@ximian.com>

Fix #74978.

* flowanalysis.cs
(FlowBranching.Reachability): Add non-static public And() and Or()
methods.
(FlowBranchingSwitch): New class; do the `break_origins' thing
like in FlowBranchingLoop.
(FlowBranching.UsageVector.MergeBreakOrigins): Also merge the
reachability, not just locals and parameters.
(FlowBranching.MergeChild): Remove some of the hacks for loop and
switch; MergeBreakOrigins() now takes care of that.

svn path=/trunk/mcs/; revision=44678

19 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 May 2005 11:58:54 +0000 (11:58 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* System.Security_test.dll.sources: Added unit tests for System.
Security.Permissions.StorePermissionAttribute class.

svn path=/trunk/mcs/; revision=44673

19 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 18 May 2005 11:56:05 +0000 (11:56 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* DataProtectionPermissionAttributeTest.cs: Added tests to check for
individual removal of flags.
* StorePermissionAttributeTest.cs: New. Unit tests for
StorePermissionAttribute.

svn path=/trunk/mcs/; revision=44672

19 years ago2005-05-18 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 18 May 2005 11:36:42 +0000 (11:36 -0000)]
2005-05-18  Jordi Mas i Hernandez <jordi@ximian.com>

* DataProtectionPermissionAttribute.cs: fixes flag cleaning logical operation
* StorePermissionAttribute.cs: fixes flag cleaning logical operation

svn path=/trunk/mcs/; revision=44671

19 years ago2005-05-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 18 May 2005 10:46:39 +0000 (10:46 -0000)]
2005-05-18  Marek Safar  <marek.safar@seznam.cz>

* Bitmap.cs: Add null check into ctor.

svn path=/trunk/mcs/; revision=44670

19 years ago2005-05-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 18 May 2005 10:16:27 +0000 (10:16 -0000)]
2005-05-18  Marek Safar  <marek.safar@seznam.cz>

* JScriptCodeGenerator.cs: Stubbed.

* JScriptCodeProvider.cs: Implemented.

svn path=/trunk/mcs/; revision=44669

19 years agoNew test for #74974.
Martin Baulig [Wed, 18 May 2005 09:04:26 +0000 (09:04 -0000)]
New test for #74974.

svn path=/trunk/mcs/; revision=44668

19 years ago2005-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 May 2005 08:59:31 +0000 (08:59 -0000)]
2005-05-18  Martin Baulig  <martin@ximian.com>

* flowanalysis.cs (FlowBranching.UsageVector.MergeChild): If we're
a loop and may leave it, reset the barrier; fixes #74974.

svn path=/trunk/mcs/; revision=44667

19 years ago2005-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 18 May 2005 08:58:03 +0000 (08:58 -0000)]
2005-05-18  Martin Baulig  <martin@ximian.com>

* flowanalysis.cs (FlowBranching.UsageVector.MergeChild): If we're
a loop and may leave it, reset the barrier; fixes #74974.

svn path=/trunk/mcs/; revision=44666

19 years agoUpdate after latest merge
Raja R Harinath [Wed, 18 May 2005 06:29:08 +0000 (06:29 -0000)]
Update after latest merge

svn path=/trunk/mcs/; revision=44664

19 years agoChangelog entries
Jonathan Chambers [Wed, 18 May 2005 03:40:57 +0000 (03:40 -0000)]
Changelog entries

svn path=/trunk/mcs/; revision=44660

19 years agoFixed warnings.
Jonathan Chambers [Wed, 18 May 2005 03:39:38 +0000 (03:39 -0000)]
Fixed warnings.

svn path=/trunk/mcs/; revision=44659

19 years agoUpdated change log
Jonathan Chambers [Wed, 18 May 2005 03:33:29 +0000 (03:33 -0000)]
Updated change log

svn path=/trunk/mcs/; revision=44658

19 years agoContinued work on PropertyGrid control. Use double buffering to draw.
Jonathan Chambers [Wed, 18 May 2005 03:30:12 +0000 (03:30 -0000)]
Continued work on PropertyGrid control. Use double buffering to draw.

svn path=/trunk/mcs/; revision=44657

19 years agoadd error msg info
César Natarén [Wed, 18 May 2005 01:47:06 +0000 (01:47 -0000)]
add error msg info

svn path=/trunk/mcs/; revision=44656

19 years agofix typo
César Natarén [Wed, 18 May 2005 01:46:25 +0000 (01:46 -0000)]
fix typo

svn path=/trunk/mcs/; revision=44655

19 years agofix incorrect condition
César Natarén [Wed, 18 May 2005 01:44:20 +0000 (01:44 -0000)]
fix incorrect condition

svn path=/trunk/mcs/; revision=44654

19 years agochangelog entries
César Natarén [Wed, 18 May 2005 01:43:51 +0000 (01:43 -0000)]
changelog entries

svn path=/trunk/mcs/; revision=44653

19 years agooops
César Natarén [Wed, 18 May 2005 01:43:35 +0000 (01:43 -0000)]
oops

svn path=/trunk/mcs/; revision=44652

19 years ago2005-05-17 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Wed, 18 May 2005 01:43:00 +0000 (01:43 -0000)]
2005-05-17  Cesar Lopez Nataren  <cnataren@novell.com>

* SemanticAnalizer.cs: Add methods_with_outter_scope_refs and
methods_with_vars_used_nested hashtables.
AddMethodReferenceOutterScopeVar,  AddMethodVarsUsedNested,
MethodReferenceOutterScopeVar. OutterScopeVar,
MethodVarsUsedNested and VarUsedNested.
* CodeGenerator.cs: Add locals_to_stack_frame method and emit_parents.
* TypeManager.cs: Add LocalsAtDepth.
* VariableDeclaration.cs: keep track of the lexical depth of
current declaration.
* FunctionDeclaration.cs: take care of outter scope variables uses.
* IdentificationTable.cs: keep track of Catch statement opened blocks.
* expression.cs: take care of eval's Net_1_0 and greater
versions. Implement the use of variables in nested scopes. For it,
we track the variable's scope level and we compare it with the
level in which appears if there's a difference supperior to one
and the variables wasn't not declared in the global scope we
proceed to generate the code that keep tracks of the state of the
variables through a StackFrame, in which we copy the local vars
prior to the invocation to the nested method which uses a outter
scope variable, then we copy back the variables in the StackFrame
into de local vars when the invocation finishes.

* Try.cs: open a scope indicating that's for a catch block.

svn path=/trunk/mcs/; revision=44651

19 years ago2005-05-17 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 17 May 2005 19:44:01 +0000 (19:44 -0000)]
2005-05-17  Dick Porter  <dick@ximian.com>

        * io.c (file_getfilesize): Clear the error value, so that files
        with sizes with the low bits 0xFFFFFFFF can be distinguished from
        a genuine error.

svn path=/trunk/mono/; revision=44640

19 years ago2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 17 May 2005 18:31:33 +0000 (18:31 -0000)]
2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>

* Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
since GetType() may not return the correct type if the object is
a remoting proxy.

svn path=/trunk/mcs/; revision=44639

19 years ago2005-05-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 17 May 2005 17:54:54 +0000 (17:54 -0000)]
2005-05-17  Sebastien Pouliot  <sebastien@ximian.com>

* ResourcePermissionBase.cs: PermissionAccessType "could" be null. Fix
regression in unit tests.

svn path=/trunk/mcs/; revision=44638

19 years ago2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 17 May 2005 17:53:03 +0000 (17:53 -0000)]
2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>

* ObjRef.cs: Use IsInstanceOfType instead of IsAssignableFrom
since GetType() may not return the correct type if the object is
a remoting proxy.

svn path=/trunk/mcs/; revision=44637

19 years ago2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 17 May 2005 17:51:57 +0000 (17:51 -0000)]
2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>

* Binder.cs: Use IsInstanceOfType instead of IsAssignableFrom
since GetType() may not return the correct type if the object is
a remoting proxy. This fixes bug #74933.

svn path=/trunk/mcs/; revision=44636

19 years ago2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 17 May 2005 17:44:30 +0000 (17:44 -0000)]
2005-05-17  Lluis Sanchez Gual  <lluis@novell.com>

* SerializationInfo.cs: Use IsInstanceOfType instead of IsAssignableFrom
since GetType() may not return the correct type if the object is
a remoting proxy.

svn path=/trunk/mcs/; revision=44635

19 years agoupdate
Marek Safar [Tue, 17 May 2005 14:35:27 +0000 (14:35 -0000)]
update

svn path=/trunk/mcs/; revision=44633

19 years ago2005-05-17 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 17 May 2005 14:32:27 +0000 (14:32 -0000)]
2005-05-17  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (Attribute.ResolveArguments): GuidAttribute check
is back.

* cs-parser.jay: Catch more lexical errors.

* report.cs: Add one more Error method.

* rootcontext.cs,
* typemanager.cs: Register System.Runtime.InteropServices.GuidAttribute

svn path=/trunk/mcs/; revision=44632

19 years ago2005-05-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 17 May 2005 14:18:35 +0000 (14:18 -0000)]
2005-05-17  Zoltan Varga  <vargaz@freemail.hu>

* man/mono.1: Document the new MONO_DEBUG options.

svn path=/trunk/mono/; revision=44630

19 years ago2005-05-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 17 May 2005 14:12:02 +0000 (14:12 -0000)]
2005-05-17  Zoltan Varga  <vargaz@freemail.hu>

* mini.h mini.c: Generalize the existing uses of the MONO_DEBUG env variable
and add a new one: aborting when a SIGSEGV is raised while in unmanaged code.
Fixes #74742.

svn path=/trunk/mono/; revision=44629

19 years agouse stdout for xsl:message and stderr for everything other
Andrew Skiba [Tue, 17 May 2005 12:32:51 +0000 (12:32 -0000)]
use stdout for xsl:message and stderr for everything other

svn path=/trunk/mcs/; revision=44628

19 years ago2005-05-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 17 May 2005 11:52:01 +0000 (11:52 -0000)]
2005-05-17  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile: Fixed (and more useful).

svn path=/trunk/mono/; revision=44627

19 years agoOutput the list of failed tests
Andrew Skiba [Tue, 17 May 2005 11:40:13 +0000 (11:40 -0000)]
Output the list of failed tests

svn path=/trunk/mcs/; revision=44626

19 years ago**** Merged r44557 from MCS ****
Martin Baulig [Tue, 17 May 2005 11:38:31 +0000 (11:38 -0000)]
**** Merged r44557 from MCS ****

svn path=/trunk/mcs/; revision=44624

19 years ago**** Merged r44495 from MCS ****
Martin Baulig [Tue, 17 May 2005 11:38:02 +0000 (11:38 -0000)]
**** Merged r44495 from MCS ****

svn path=/trunk/mcs/; revision=44623

19 years agoFixed some misplaced testcases
Satya Sudha K [Tue, 17 May 2005 10:20:10 +0000 (10:20 -0000)]
Fixed some misplaced testcases

svn path=/trunk/mcs/; revision=44621

19 years ago**** Merged r44491 from MCS ****
Martin Baulig [Tue, 17 May 2005 10:14:50 +0000 (10:14 -0000)]
**** Merged r44491 from MCS ****

svn path=/trunk/mcs/; revision=44620

19 years ago2005-05-17 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Tue, 17 May 2005 10:13:19 +0000 (10:13 -0000)]
2005-05-17  Lluis Sanchez Gual  <lluis@ximian.com>

* CodeGenerator.cs: Don't generate debug info here.

svn path=/trunk/mcs/; revision=44619

19 years ago**** Merged r44446 from MCS ****
Martin Baulig [Tue, 17 May 2005 10:10:47 +0000 (10:10 -0000)]
**** Merged r44446 from MCS ****

svn path=/trunk/mcs/; revision=44618

19 years ago**** Merged r44411 from MCS ****
Martin Baulig [Tue, 17 May 2005 10:08:24 +0000 (10:08 -0000)]
**** Merged r44411 from MCS ****

svn path=/trunk/mcs/; revision=44617