mono.git
20 years ago* SynchronizationAttributeTest.cs: Added test for Monitor.Exit.
Lluis Sanchez [Tue, 6 Apr 2004 14:42:59 +0000 (14:42 -0000)]
* SynchronizationAttributeTest.cs: Added test for Monitor.Exit.

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

20 years ago2003-04-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 6 Apr 2004 14:34:50 +0000 (14:34 -0000)]
2003-04-06  Sebastien Pouliot  <sebastien@ximian.com>

* StrongNameKeyPairTest.cs: Added test case for ECMA "key".

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

20 years agoS/390 JIT
Neale Ferguson [Tue, 6 Apr 2004 14:29:48 +0000 (14:29 -0000)]
S/390 JIT

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

20 years ago * Monitor.cs: In Wait(), release the synchronization context when
Lluis Sanchez [Tue, 6 Apr 2004 14:11:22 +0000 (14:11 -0000)]
* Monitor.cs: In Wait(), release the synchronization context when
  exitContext is true.

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

20 years agoNote: Some functionality is (temporarily) lost from System.Drawing --
Vladimir Vukicevic [Tue, 6 Apr 2004 09:05:48 +0000 (09:05 -0000)]
Note: Some functionality is (temporarily) lost from System.Drawing --
reading bmp files is not yet implemented, and only png files can be
written.  Support for the rest will show up in the next few days.

* gdipFunctions.cs: Added stream delegate helpers for
stream loading/saving on linux

* Image.cs, Bitmap.cs: Converted to call into GDIPlus for
loading/saving image data.

* BitmapData.cs: synced up data structure with libgdiplus

* BmpCodec.cs, JPEGCodec.cs, PNGCodec.cs: Removed codec impls,
left just codecinfo getters; the codecs are in libgdiplus

* ImageCodecInfo.cs: removed encode/decode delegates

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

20 years agoCouple of Accessibility and Inheritence related test cases
Anirban Bhattacharjee [Tue, 6 Apr 2004 09:03:40 +0000 (09:03 -0000)]
Couple of Accessibility and Inheritence related test cases

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

20 years ago2004-04-06 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Tue, 6 Apr 2004 08:56:43 +0000 (08:56 -0000)]
2004-04-06 Anirban Bhattacharjee <banirban@novell.com>
        * class.cs:
        * ecore.cs:
        * expression.cs:
        * modifiers.cs:
        Changed/added serveral Accessibility related expections

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

20 years agoAnother one gone
Miguel de Icaza [Tue, 6 Apr 2004 05:31:02 +0000 (05:31 -0000)]
Another one gone

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

20 years agoRemove from build
Miguel de Icaza [Tue, 6 Apr 2004 05:29:38 +0000 (05:29 -0000)]
Remove from build

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

20 years ago2004-04-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 6 Apr 2004 05:29:23 +0000 (05:29 -0000)]
2004-04-06  Miguel de Icaza  <miguel@ximian.com>

* Guid.cs: Flag as Sequential.

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

20 years agoAdd
Miguel de Icaza [Tue, 6 Apr 2004 05:28:41 +0000 (05:28 -0000)]
Add

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

20 years agoRevert mistake
Miguel de Icaza [Tue, 6 Apr 2004 05:28:12 +0000 (05:28 -0000)]
Revert mistake

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

20 years agoAdded test
Miguel de Icaza [Tue, 6 Apr 2004 03:00:57 +0000 (03:00 -0000)]
Added test

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

20 years ago2004-04-05 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 6 Apr 2004 02:54:57 +0000 (02:54 -0000)]
2004-04-05  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Indexer.Define): Check indexername declaration

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

20 years ago2004-04-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 6 Apr 2004 01:42:14 +0000 (01:42 -0000)]
2004-04-06  Atsushi Enomoto <atsushi@ximian.com>

* DTDReader.cs : In ProcessDTDSubset(), 1)error message was
  generated with incorrect stream character, 2)entity nest check
  should not depend on line info which might not be supplied, 3)
  empty PE should be skipped.
* XmlParserInput.cs : use index for StringBuilder instead of calling
  Remove() many times. This highly optimizes DTD parser.

* XmlAttribute.cs : removed commented code.
* XmlEntity.cs : removed unused field.

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

20 years ago2004-04-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 5 Apr 2004 23:58:23 +0000 (23:58 -0000)]
2004-04-05  Martin Baulig  <martin@ximian.com>

* gmcs-expect-wrong-error: New file.

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

20 years agoBeautify ...
Martin Baulig [Mon, 5 Apr 2004 23:54:28 +0000 (23:54 -0000)]
Beautify ...

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

20 years ago2004-04-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 5 Apr 2004 23:34:55 +0000 (23:34 -0000)]
2004-04-05  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCore): For generic classes, interfaces and
structs, `Name' now includes the number of type parameters
("Stack!1.Node!1").
(DeclSpace.FindType): Removed the `num_type_args' argument; we now
encode the number of type arguments in the type name.

* expression.cs (Expression.MemberLookup): Removed the
`num_type_args' argument; we now encode the number of type
arguments in the type name.

* ecore.cs (SimpleName): Encode the number of type arguments in
the type name itself.

* generic.cs (ConstructedType): Likewise.

* tree.cs (Tree.RecordDecl): Take a `string' instead of a
`MemberName'; we now include the number of type parameters in the
type name.

* typemanager.cs (TypeManager.CheckGeneric): Removed.
(TypeManager.MemberLookup): Removed the
`num_type_args' argument; we now encode the number of type
arguments in the type name.

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

20 years ago2004-04-05 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 5 Apr 2004 23:23:32 +0000 (23:23 -0000)]
2004-04-05  Bernie Solomon  <bernard@ugsolutions.com>

* DESCryptoServiceProvider.cs: Use BitConverter.IsLittleEndian
to fix for big endian machines.

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

20 years ago2004-04-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 5 Apr 2004 23:20:40 +0000 (23:20 -0000)]
2004-04-06  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaDatatype.cs : optimized Normalize() not to create
  extraneous string objects.

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

20 years agoOoops, this stuff is actually in configure.in ;-)
Martin Baulig [Mon, 5 Apr 2004 23:20:19 +0000 (23:20 -0000)]
Ooops, this stuff is actually in configure.in ;-)

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

20 years agocls happyfication
Ben Maurer [Mon, 5 Apr 2004 22:24:13 +0000 (22:24 -0000)]
cls happyfication

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

20 years agobuild fixes, someone should do the correct thing...
Ben Maurer [Mon, 5 Apr 2004 22:16:27 +0000 (22:16 -0000)]
build fixes, someone should do the correct thing...

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

20 years ago* corlib_test.dll.sources: Added System.Threading/ReaderWriterLockTest.cs.
Lluis Sanchez [Mon, 5 Apr 2004 22:13:35 +0000 (22:13 -0000)]
* corlib_test.dll.sources: Added System.Threading/ReaderWriterLockTest.cs.

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

20 years ago* ReaderWriterLockTest.cs: New tests for System.Threading.ReaderWriterLock.
Lluis Sanchez [Mon, 5 Apr 2004 22:11:08 +0000 (22:11 -0000)]
* ReaderWriterLockTest.cs: New tests for System.Threading.ReaderWriterLock.

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

20 years ago * LockCookie.cs: Keep in this class the count of reader or writer locks
Lluis Sanchez [Mon, 5 Apr 2004 22:07:58 +0000 (22:07 -0000)]
* LockCookie.cs: Keep in this class the count of reader or writer locks
  for a thread, not only whether it has locks or not.
* LockQueue.cs: Added property for checking if a thread is waiting in
  the queue. Wait now returns a boolean that set to false on timeout
  expiration.
* ReaderWriterLock.cs: Started fixing bugs but I had to rewrite a lot of it.
  The main change is that now it keeps a reader lock count for each
  thread. This is needed since methods like ReleaseLock or
  UpgradeToWriterLock need to return a per-thread status in LockCookie.
  Also added support for recursive writer-lock requests.

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

20 years ago2004-04-05 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 5 Apr 2004 21:27:50 +0000 (21:27 -0000)]
2004-04-05 Ben Maurer  <bmaurer@users.sourceforge.net>

* inssel.brg (MONO_EMIT_BOUNDS_CHECK): a new macro to emit bounds
checks.
(MONO_EMIT_BOUNDS_CHECK_IMM): the above, but when you know the
index.
(OP_GETCHR): use the above
(CEE_LDELEMA): use the above.

* inseel-x86.brg (MONO_EMIT_BOUNDS_CHECK): a faster and smaller
version of the generic impl.
(MONO_EMIT_BOUNDS_CHECK_IMM): the same
(CEE_LDELEMA): use the above.

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

20 years ago2004-04-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 5 Apr 2004 20:04:52 +0000 (20:04 -0000)]
2004-04-05  Martin Baulig  <martin@ximian.com>

* mini-x86.c (mono_arch_setup_jit_tls_data): Reverted Zoltan's
last commit to make it build again.

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

20 years ago2004-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 5 Apr 2004 19:41:51 +0000 (19:41 -0000)]
2004-04-05  Zoltan Varga  <vargaz@freemail.hu>

* threads.c (mono_alloc_special_static_data): Allow this to be
called during startup.

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

20 years ago * DataTable.cs: Add rows to the row list if there is
Jackson Harper [Mon, 5 Apr 2004 18:02:54 +0000 (18:02 -0000)]
    * DataTable.cs: Add rows to the row list if there is
          no filter.

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

20 years ago * man/ilasm.1: Show /output instead of /out as the switch for
Jackson Harper [Mon, 5 Apr 2004 17:48:42 +0000 (17:48 -0000)]
   * man/ilasm.1: Show /output instead of /out as the switch for
specifying output file names.

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

20 years ago2004-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 5 Apr 2004 17:44:21 +0000 (17:44 -0000)]
2004-04-05  Zoltan Varga  <vargaz@freemail.hu>

* inssel-long32.brg (CEE_CONV_OVF_I8): Sign extend the i4 value to i8.
Fixes #56317.

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

20 years ago2004-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 5 Apr 2004 17:40:54 +0000 (17:40 -0000)]
2004-04-05  Zoltan Varga  <vargaz@freemail.hu>

* iltests.il: Added new regression test for #56317.

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

20 years ago * Driver.cs: Accept output option. Usage shows /output instead of
Jackson Harper [Mon, 5 Apr 2004 17:39:00 +0000 (17:39 -0000)]
    * Driver.cs: Accept output option. Usage shows /output instead of
/out like MS.

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

20 years ago * Driver.cs: Accept output option.
Jackson Harper [Mon, 5 Apr 2004 17:35:30 +0000 (17:35 -0000)]
    * Driver.cs: Accept output option.

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

20 years agofixes
Jordi Mas i Hernandez [Mon, 5 Apr 2004 16:25:36 +0000 (16:25 -0000)]
fixes

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

20 years agoadded missing members
Jordi Mas i Hernandez [Mon, 5 Apr 2004 15:50:40 +0000 (15:50 -0000)]
added missing members

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

20 years ago2004-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 5 Apr 2004 15:46:24 +0000 (15:46 -0000)]
2004-04-05  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Check for pthread_getattr_np and pthread_attr_get_np.

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

20 years ago2004-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 5 Apr 2004 15:44:45 +0000 (15:44 -0000)]
2004-04-05  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_setup_jit_tls_data): Use pthread_attr_get_np
under NetBSD. Fixes #56450.

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

20 years agopartially addressing bug #56477
Rafael Teixeira [Mon, 5 Apr 2004 15:31:20 +0000 (15:31 -0000)]
partially addressing bug #56477

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

20 years ago2004-04-05 Marek Safar <marek.safar@seznam.cz>
Miguel de Icaza [Mon, 5 Apr 2004 14:15:04 +0000 (14:15 -0000)]
2004-04-05  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (IsClsCompliant): Fixed problem with handling
        all three states (compliant, not-compliant, undetected).

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

20 years ago * AttributeCollection.cs: Don't try to create a default attribute if the
Lluis Sanchez [Mon, 5 Apr 2004 14:14:11 +0000 (14:14 -0000)]
* AttributeCollection.cs: Don't try to create a default attribute if the
attribute type does not have a default constructor. Fix by Jon Wagner.
This fixes #53898.

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

20 years ago2004-04-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 5 Apr 2004 13:42:05 +0000 (13:42 -0000)]
2004-04-05  Zoltan Varga  <vargaz@freemail.hu>

* liveness.c (update_gen_kill_set): Fix previous patch.

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

20 years ago * class.cs:
Anirban Bhattacharjee [Mon, 5 Apr 2004 12:41:13 +0000 (12:41 -0000)]
  * class.cs:
        * decl.cs:
        * expression.cs:
        * pending.cs:
        Several error messages and their numbers are changed in all the above four classes

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

20 years ago* SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
Lluis Sanchez [Mon, 5 Apr 2004 11:41:32 +0000 (11:41 -0000)]
* SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.

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

20 years agoMoved to Mono.Data.Tds
Lluis Sanchez [Mon, 5 Apr 2004 10:55:27 +0000 (10:55 -0000)]
Moved to Mono.Data.Tds

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

20 years ago * Mono.Data.SybaseClient.dll.sources: Removed SybaseConnectionPool.cs.
Lluis Sanchez [Mon, 5 Apr 2004 10:50:02 +0000 (10:50 -0000)]
* Mono.Data.SybaseClient.dll.sources: Removed SybaseConnectionPool.cs.
* Mono.Data.SybaseClient/SybaseConnection.cs: Use connection pool
  implemented in Mono.Data.Tds.

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

20 years ago* Mono.Data.TdsClient.dll.sources: Removed TdsConnectionPool.cs.
Lluis Sanchez [Mon, 5 Apr 2004 10:45:27 +0000 (10:45 -0000)]
* Mono.Data.TdsClient.dll.sources: Removed TdsConnectionPool.cs.

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

20 years ago* TdsConnection.cs: Use the connection pool implemented in Mono.Data.Tds.
Lluis Sanchez [Mon, 5 Apr 2004 10:44:35 +0000 (10:44 -0000)]
* TdsConnection.cs: Use the connection pool implemented in Mono.Data.Tds.

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

20 years ago* System.Data.dll.sources: removed SqlConnectionPool.cs.
Lluis Sanchez [Mon, 5 Apr 2004 10:40:17 +0000 (10:40 -0000)]
* System.Data.dll.sources: removed SqlConnectionPool.cs.

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

20 years ago* Mono.Data.Tds.dll.sources: Added TdsConnectionPool.cs.
Lluis Sanchez [Mon, 5 Apr 2004 10:36:34 +0000 (10:36 -0000)]
* Mono.Data.Tds.dll.sources: Added TdsConnectionPool.cs.

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

20 years ago * ITds.cs: Added method for reseting a connection.
Lluis Sanchez [Mon, 5 Apr 2004 10:35:49 +0000 (10:35 -0000)]
* ITds.cs: Added method for reseting a connection.
* Tds.cs: Added base implementation for ITds.Reset.
* Tds70.cs: Implemented ITds.Reset().
* TdsConnectionPool.cs: Implemented connection pool that can be reused by
  all Tds clients.

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

20 years ago2004-04-05 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 5 Apr 2004 10:33:09 +0000 (10:33 -0000)]
2004-04-05 Marek Safar <marek.safar@seznam.cz>

* cs3009-3.cs: New error test.

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

20 years ago2004-04-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 5 Apr 2004 09:32:48 +0000 (09:32 -0000)]
2004-04-05  Atsushi Enomoto <atsushi@ximian.com>

* DTDObjectModel.cs : (DTDAttributeDefinition) create ArrayList
  only when they are required.
* DTDReader.cs,
  XmlParserInput.cs : raw tag string now don't have to be kept, while
  it cost so much. Removed unused code. 20% to 30% memory got saved.
* XmlNotation.cs : removed unused code.
* XmlTextReader.cs : Removed unused code. ReadString() now uses
  XmlReader's internal method. Fixed BaseURI to be conformant with
  W3C XML InfoSet and (subsequently) xml:base specification (i.e.
  reflect xml:base attribute correctly).

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

20 years agoadded to changelog
Dennis Hayes [Mon, 5 Apr 2004 07:15:34 +0000 (07:15 -0000)]
added to changelog

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

20 years ago Complete. Includes code from both Mono and Mainsoft.
Dennis Hayes [Mon, 5 Apr 2004 07:10:24 +0000 (07:10 -0000)]
Complete. Includes code from both Mono and Mainsoft.
* BooleanType.cs
* CharArrayType.cs
* CharType.cs
* IncompleteInitialization.cs
* LongType.cs
* OptionCompareAttribute.cs
* OptionTextAttribute.cs
* ShortType.cs
* DateType.cs

Close. Unconverted java code from Mainsoft in comments included inthe code.
* IntegerType.cs
* ByteType.cs
* DecmialType.cs
* SingleType.cs
* DoubleType.cs

Work in progress
* ExceptionUtils.cs

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

20 years agoParameter capturing test
Miguel de Icaza [Mon, 5 Apr 2004 04:07:58 +0000 (04:07 -0000)]
Parameter capturing test

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

20 years ago2004-04-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 5 Apr 2004 03:35:08 +0000 (03:35 -0000)]
2004-04-05  Atsushi Enomoto <atsushi@ximian.com>

* XmlAttribute.cs : get_Value should return all children's value.
* XmlCharacterData.cs : DOM's substring does not raise an error when
  startIndex + count exceeds the length of Data.
* XmlNamedNodeMap.cs : SetNamedItem() returns the new child when it
  does not replace another named item.
* XmlElement.cs : with related to the XmlNamedNodeMap change,
  SetAttributeNode() is required to fix as to return null when it does
  not replace existing attribute.

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

20 years ago2004-04-04 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 5 Apr 2004 02:15:48 +0000 (02:15 -0000)]
2004-04-04  Miguel de Icaza  <miguel@ximian.com>

* security.c (GetUserName): Make it work on MacOS X

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

20 years agoWhen constructing the new classes MemberName, include the parent's type
Martin Baulig [Mon, 5 Apr 2004 00:57:27 +0000 (00:57 -0000)]
When constructing the new classes MemberName, include the parent's type
parameters in the TypeName.

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

20 years agoCompute the number of type parameters immediately when creating the DeclSpace.
Martin Baulig [Sun, 4 Apr 2004 21:29:41 +0000 (21:29 -0000)]
Compute the number of type parameters immediately when creating the DeclSpace.

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

20 years agoFew more new test cases and some modified test cases
Anirban Bhattacharjee [Sun, 4 Apr 2004 11:18:20 +0000 (11:18 -0000)]
Few more new test cases and some modified test cases

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

20 years ago2004-04-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 4 Apr 2004 10:31:40 +0000 (10:31 -0000)]
2004-04-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mini-x86.h: SA_STACK defined as SA_ONSTACK. Fixed build under NetBSD.

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

20 years ago * delegate.cs: changed default access modifier
Anirban Bhattacharjee [Sun, 4 Apr 2004 10:11:13 +0000 (10:11 -0000)]
 * delegate.cs: changed default access modifier
 * enum.cs: changed default access modifier
 * interface.cs: changed default access modifier
 * modifiers.cs: extension of bug fixed for getting NotOverridable modifier working for methods

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

20 years ago * class.cs: Changed exception messages and their numbers to align better...
Anirban Bhattacharjee [Sun, 4 Apr 2004 10:00:54 +0000 (10:00 -0000)]
    * class.cs: Changed exception messages and their numbers to align better with VB
                    Changed default access modifier of method to Public
                    Bug fixed to get NotOverridable modifier working
        * decl.cs:  Changed exception messages and numbers

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

20 years ago2004-04-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 4 Apr 2004 08:38:46 +0000 (08:38 -0000)]
2004-04-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConfigurationSettings.cs: "/" is the virtual root directory of
the application. This fixes a bug reported by Vlad that caused
configuration error because files were read twice when there's an
application different from "/" defined.

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

20 years ago(PrintTypes): show the number of types in the assembly as well.
Duncan Mak [Sun, 4 Apr 2004 00:55:09 +0000 (00:55 -0000)]
(PrintTypes): show the number of types in the assembly as well.

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

20 years ago2004-04-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 3 Apr 2004 22:56:23 +0000 (22:56 -0000)]
2004-04-03  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCore.ctor): Take a MemberName instead of a sting.
(MemberCore.MemberName): Moved here from MemberBase.
(DeclSpace.SetParameterInfo): Just take the constraints as an
ArrayList; we already have the type parameters in our
`MemberName'; also do the CS0080 reporting here.

* cs-parser.jay (struct_declaration): Use `member_name' instead of
`IDENTIFIER opt_type_parameter_list'; when constructing our
`MemberName', it'll already include our type parameters.
(class_declaration, interface_declaration): Likewise.
(delegate_declaration): Likewise.
(MakeName): Take a MemberName and return a MemberName.
The following two changes are required to avoid shift/reduce conflicts:
(member_name): Don't include a TypeName anymore; ie. this is now
just 'IDENTIFIER opt_type_parameter_list'.
(property_declaration, event_declaration): Use a
`namespace_or_type_name' instead of a `member_name'.

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

20 years ago2004-04-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 3 Apr 2004 20:48:49 +0000 (20:48 -0000)]
2004-04-03  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberName): Renamed to `TypeName' and created a new
`MemberName' class.
(TypeName): Formerly known as MemberName.

* namespace.cs (NamespaceEntry.UsingAlias): Take a `TypeName'
instead of a `MemberName'.

* cs-parser.jay (namespace_or_type_name): Create a TypeName.
(member_name): New rule; create a MemberName.

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

20 years ago * CodeGen.cs: cast
Jackson Harper [Sat, 3 Apr 2004 18:14:25 +0000 (18:14 -0000)]
    * CodeGen.cs: cast

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

20 years ago * ILParser.jay: Dont use hash alg enum its too restrictive
Jackson Harper [Sat, 3 Apr 2004 18:13:12 +0000 (18:13 -0000)]
    * ILParser.jay: Dont use hash alg enum its too restrictive

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

20 years agoPatch from Joerg Rosenkranz
Miguel de Icaza [Sat, 3 Apr 2004 17:19:03 +0000 (17:19 -0000)]
Patch from Joerg Rosenkranz

2004-03-31  Joerg Rosenkranz  <joergr@voelcker.com>

* System.Data.OracleClient.Oci/OciDefineHandle.cs:
Changed DefineChar to allow retrieval of
multibyte characters (i.e. german umlauts).
* System.Data.OracleClient.Oci/OciStatementHandle.cs:
OciDefineHandles are now disposed in the
Dispose function.

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

20 years ago * ILParser.jay: Set assembly info.
Jackson Harper [Sat, 3 Apr 2004 08:11:48 +0000 (08:11 -0000)]
    * ILParser.jay: Set assembly info.

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

20 years ago * CodeGen.cs: Allow setting assembly info.
Jackson Harper [Sat, 3 Apr 2004 08:09:05 +0000 (08:09 -0000)]
    * CodeGen.cs: Allow setting assembly info.

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

20 years ago * PEAPI.cs: Allow hash algorithms to be any integer.
Jackson Harper [Sat, 3 Apr 2004 08:06:24 +0000 (08:06 -0000)]
    * PEAPI.cs: Allow hash algorithms to be any integer.

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

20 years agoSmall fix.
Martin Baulig [Sat, 3 Apr 2004 03:38:33 +0000 (03:38 -0000)]
Small fix.

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

20 years ago2004-04-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 3 Apr 2004 03:30:23 +0000 (03:30 -0000)]
2004-04-02  Martin Baulig  <martin@ximian.com>

* namespace.cs (NamespaceEntry.VerifyUsing): Added error checking
(CS0305 and CS0308).

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

20 years ago2004-04-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 3 Apr 2004 03:26:46 +0000 (03:26 -0000)]
2004-04-02  Martin Baulig  <martin@ximian.com>

* namespace.cs (NamespaceEntry.VerifyUsing): Added error checking
(CS0305 and CS0308).

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

20 years agoNew tests.
Martin Baulig [Sat, 3 Apr 2004 03:25:37 +0000 (03:25 -0000)]
New tests.

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

20 years ago2003-04-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 Apr 2004 23:29:30 +0000 (23:29 -0000)]
2003-04-03  Atsushi Enomoto <atsushi@ximian.com>

* Path.cs : ChangeExtension() does not remove dot(.) when extension is
  an empty string.

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

20 years ago2003-04-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 Apr 2004 23:27:27 +0000 (23:27 -0000)]
2003-04-03  Atsushi Enomoto <atsushi@ximian.com>

* PathTest.cs : Added more patterns on TestChangeExtension().

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

20 years agoNew test.
Martin Baulig [Fri, 2 Apr 2004 23:25:15 +0000 (23:25 -0000)]
New test.

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

20 years ago2004-04-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 2 Apr 2004 22:13:38 +0000 (22:13 -0000)]
2004-04-02  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.

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

20 years ago2004-04-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 2 Apr 2004 22:12:41 +0000 (22:12 -0000)]
2004-04-02  Martin Baulig  <martin@ximian.com>

* icall.c
(ves_icall_MonoGenericInst_GetDeclaringType): New icall.

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

20 years ago2004-04-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 2 Apr 2004 22:08:20 +0000 (22:08 -0000)]
2004-04-02  Martin Baulig  <martin@ximian.com>

* generic.cs (GenericMemberAccess.ResolveAsTypeStep): Added
support for nested types.

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

20 years ago2004-04-02 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 2 Apr 2004 20:58:18 +0000 (20:58 -0000)]
2004-04-02  Martin Baulig  <martin@ximian.com>

* ecore.cs (IAlias): New public interface.
(TypeExpr, TypeExpression): Implement IAlias.
(TypeAliasExpression): New public class.

* namespace.cs (Namespace): Implement IAlias.
(Namespace.Lookup): Return an IAlias instead on an object.
(Namespace.DefineName): Take an IAlias instead of an object.
(NamespaceEntry.AliasEntry.Resolve): Return an IAlias instead of
an object.
(NamespaceEntry.UsingAlias): Take a Membername instead of an
Expression.
(NamespaceEntry.LookupAlias): Return an IAlias instead on an
object.
(NamespaceEntry.Lookup): Likewise.

* rootcontext.cs (RootContext.LookupType): Return a TypeExpr
instead of a Type.

* decl.cs (DeclSpace): Implement IAlias.
(DeclSpace.LookupAlias): Return an IAlias instead of a string.

* generic.cs (ConstructedType): Improved error checking.

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

20 years ago2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Fri, 2 Apr 2004 18:58:03 +0000 (18:58 -0000)]
2004-04-02  Bernie Solomon  <bernard@ugsolutions.com>

* PasswordDeriveBytesTest.cs: Add ToInt32LE so
it works on big endian machines.

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

20 years ago2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 2 Apr 2004 16:27:38 +0000 (16:27 -0000)]
2004-04-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* config.h.in: added HAVE_GETPWUID_R
* configure.in: check for getpwuid_r.
* mono/io-layer/security.c: use getpwuid_r if available. This one is
thread-safe.

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

20 years ago2004-04-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 2 Apr 2004 16:04:11 +0000 (16:04 -0000)]
2004-04-02  Zoltan Varga  <vargaz@freemail.hu>

* icall.c: Fix build.

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

20 years ago2004-04-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 2 Apr 2004 15:51:53 +0000 (15:51 -0000)]
2004-04-02  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_method_to_ir): Avoid handle_loaded_temps in
ldsfld and ldsflda.

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

20 years ago2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 2 Apr 2004 15:36:15 +0000 (15:36 -0000)]
2004-04-02  Sebastien Pouliot  <sebastien@ximian.com>

* security.c|h: wrong version. Removed second icall.

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

20 years ago2004-04-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 2 Apr 2004 15:23:11 +0000 (15:23 -0000)]
2004-04-02  Zoltan Varga  <vargaz@freemail.hu>

* inssel-sparc.brg: Add more optimizations.

* mini-sparc.c: Replace multiply/divide with shifts if possible.

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

20 years ago2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 2 Apr 2004 15:13:32 +0000 (15:13 -0000)]
2004-04-02  Sebastien Pouliot  <sebastien@ximian.com>

* Environment.cs: Now call the runtime to get the username (#56144).

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

20 years ago2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 2 Apr 2004 15:10:35 +0000 (15:10 -0000)]
2004-04-02  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile.am: Added security.c|h.
* icall.c: Added icall for get_UserName;
* security.c: New file for security related icalls. Added function
get_UserName for System.Environment (fix #56144).
* security.h: New. Header file for security.c

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

20 years ago2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 2 Apr 2004 15:08:46 +0000 (15:08 -0000)]
2004-04-02  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile.am: Added security.c|h.
* security.c: New file for security related functions. Added function
GetUserName to fix #56144.
* security.h: New. Header file for security.c
* wapi.h: Added include for security.h

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

20 years ago2004-04-02 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 2 Apr 2004 14:45:07 +0000 (14:45 -0000)]
2004-04-02  Dick Porter  <dick@ximian.com>

* icall.c: Deleted the icalls that were obsoleted some time ago
by the ICU string code, and which were mixed into the icall
rearranging.  Fixes bug 55969.

* string-icalls.h:
* string-icalls.c: Deleted the code that those icalls reference.

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

20 years ago2004-04-02 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 2 Apr 2004 13:35:25 +0000 (13:35 -0000)]
2004-04-02  Dick Porter  <dick@ximian.com>

* String.cs: More sanity checks in Replace().  Fixes bug 55822.

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

20 years ago2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 2 Apr 2004 13:03:05 +0000 (13:03 -0000)]
2004-04-02  Sebastien Pouliot  <sebastien@ximian.com>

* corlib_test.dll.sources: Added System/EnvironmentTest.cs.

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

20 years ago2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 2 Apr 2004 13:01:57 +0000 (13:01 -0000)]
2004-04-02  Sebastien Pouliot  <sebastien@ximian.com>

* EnvironmentTest.cs: New. Add unit tests for ExpandEnvironmentVariables.

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

20 years ago2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 2 Apr 2004 12:55:16 +0000 (12:55 -0000)]
2004-04-02  Sebastien Pouliot  <sebastien@ximian.com>

* Environment.cs: Implement ExpandEnvironmentVariables static method.

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