Atsushi Eno [Tue, 21 Jun 2005 14:18:07 +0000 (14:18 -0000)]
imported everything from my branch (which is slightly harmless).
svn path=/trunk/mcs/; revision=46314
Dick Porter [Tue, 21 Jun 2005 13:53:09 +0000 (13:53 -0000)]
2005-06-21 Dick Porter <dick@ximian.com>
* mutex-private.h:
* thread-private.h:
* mutexes.c:
* threads.c: Keep a list of owned mutexes in each thread handle,
so that it is easier to abandon them when the thread exits.
Removes a bottleneck when multiple threads are finishing in
parallel.
svn path=/trunk/mono/; revision=46313
Raja R Harinath [Tue, 21 Jun 2005 13:46:33 +0000 (13:46 -0000)]
* expression.cs (Invocation.EmitCall): Fix initialization
'this_call' to reflect current behaviour. Fix indentation.
svn path=/trunk/mcs/; revision=46312
Martin Baulig [Tue, 21 Jun 2005 13:32:06 +0000 (13:32 -0000)]
**** Merged r45249 from MCS ****
svn path=/trunk/mcs/; revision=46311
Martin Baulig [Tue, 21 Jun 2005 13:31:06 +0000 (13:31 -0000)]
**** Merged r45190 from MCS ****
svn path=/trunk/mcs/; revision=46310
Martin Baulig [Tue, 21 Jun 2005 13:30:18 +0000 (13:30 -0000)]
**** Merged r45124 from MCS ****
svn path=/trunk/mcs/; revision=46309
Martin Baulig [Tue, 21 Jun 2005 13:29:32 +0000 (13:29 -0000)]
**** Merged r45108 from MCS ****
svn path=/trunk/mcs/; revision=46308
Martin Baulig [Tue, 21 Jun 2005 13:28:36 +0000 (13:28 -0000)]
**** Merged r45106 from MCS ****
svn path=/trunk/mcs/; revision=46307
Martin Baulig [Tue, 21 Jun 2005 13:27:41 +0000 (13:27 -0000)]
**** Merged r44929 from MCS ****
svn path=/trunk/mcs/; revision=46306
Raja R Harinath [Tue, 21 Jun 2005 13:11:55 +0000 (13:11 -0000)]
* CollectionTest.cs (IEnumerable.GetEnumerator): Don't prefix with
System.Collections, since it resolves to the MonoTests namespace.
svn path=/trunk/mcs/; revision=46305
Martin Baulig [Tue, 21 Jun 2005 13:08:44 +0000 (13:08 -0000)]
New test.
svn path=/trunk/mcs/; revision=46304
Martin Baulig [Tue, 21 Jun 2005 13:07:57 +0000 (13:07 -0000)]
2005-06-21 Martin Baulig <martin@ximian.com>
* generic.cs (NullCoalescingOperator.Emit): Make this work if the
left-hand side is not a nullable type; fixes #75328.
svn path=/trunk/mcs/; revision=46303
Sebastien Pouliot [Tue, 21 Jun 2005 13:04:27 +0000 (13:04 -0000)]
2005-06-21 Sebastien Pouliot <sebastien@ximian.com>
* Assembly.cs: Create a copy of the evidences and add an instance of
PermissionRequestEvidence to it before resolution. This way the PRE
won't be present when asking for evidences later. Removed debugging
code.
svn path=/trunk/mcs/; revision=46302
Atsushi Eno [Tue, 21 Jun 2005 12:52:32 +0000 (12:52 -0000)]
2005-06-21 Atsushi Enomoto <atsushi@ximian.com>
* SortKey.cs : Now it is System.Globalization.SortKey.
To replace existing implementation, it now requires lcid and
CompareOptions. Added required members.
* SortKeyBuffer.cs : thus .ctor() requires LCID.
* SimpleCollator.cs : made required changes above.
svn path=/branches/atsushi/mcs/; revision=46301
Martin Baulig [Tue, 21 Jun 2005 12:34:04 +0000 (12:34 -0000)]
New tests.
svn path=/trunk/mcs/; revision=46299
Martin Baulig [Tue, 21 Jun 2005 12:33:15 +0000 (12:33 -0000)]
2005-06-21 Martin Baulig <martin@ximian.com>
* class.c (mono_class_init): Don't initialize `class->fields' for
generic instances since they're initialized again in
compute_field_layout().
(compute_field_layout): Set the field's `generic_info' here; fix
#75320.
svn path=/trunk/mono/; revision=46298
Martin Baulig [Tue, 21 Jun 2005 11:38:22 +0000 (11:38 -0000)]
2005-06-21 Martin Baulig <martin@ximian.com>
* class-internals.h
(MonoGenericMethod): Added `MonoGenericClass *generic_class'.
* metadata.c (mono_metadata_generic_method_equal): Also
distinguish the `generic_class'; fixes #75334.
svn path=/trunk/mono/; revision=46297
Martin Baulig [Tue, 21 Jun 2005 11:37:59 +0000 (11:37 -0000)]
New tests.
svn path=/trunk/mcs/; revision=46296
Martin Baulig [Tue, 21 Jun 2005 10:10:43 +0000 (10:10 -0000)]
Do the same here, too.
svn path=/trunk/mcs/; revision=46294
Martin Baulig [Tue, 21 Jun 2005 10:07:54 +0000 (10:07 -0000)]
2005-06-21 Martin Baulig <martin@ximian.com>
* typemanager.cs (TypeManager.CSharpName): Use GetFullName()
instead of `t.FullName'.
* convert.cs (Convert.Error_CannotImplicitConversion): Compare
`source.FullName' and `target.FullName' to check whether there are
two conflicting definitions.
svn path=/trunk/mcs/; revision=46293
Martin Baulig [Tue, 21 Jun 2005 10:03:31 +0000 (10:03 -0000)]
2005-06-21 Martin Baulig <martin@ximian.com>
* convert.cs (Convert.ImplicitTypeParameterConversion): Always use
a BoxedCast - also for reference types - to be compatible with csc.
svn path=/trunk/mcs/; revision=46291
Atsushi Eno [Tue, 21 Jun 2005 09:56:44 +0000 (09:56 -0000)]
2005-06-21 Atsushi Enomoto <atsushi@ximian.com>
* CodePointIndexer.cs : added CompressArray(). Now it requires two more
parameters for default index and codepoint.
* CollationElementTableUtil.cs,
NormalizationTableUtil.cs : required changes wrt above change.
* MSCompatUnicodeTableUtil.cs : added for several codepoint indexers.
* MSCompatUnicodeTable.template : Now it uses codepoint indexer.
* create-mscompat-collation-table.cs : Now it outputs compressed array.
* Makefile : now collation requires MSCompatUnicodeTableUtil.cs
svn path=/branches/atsushi/mcs/; revision=46290
Sureshkumar T [Tue, 21 Jun 2005 09:56:41 +0000 (09:56 -0000)]
2005-06-21 Sureshkumar T <tsureshkumar@novell.com>
* System.Data.Common/DbConnectionStringBuilder.cs: Implemented method for parsing
connection string through "ConnectionString" property.
* System.Data.Common/DbConnectionStringBuilderHelper.cs: Helper class to provide
conversion between string=>.net type mapping for connection string
builders. The idea is to use between other providers (odbc) as well.
* System.Data.SqlClient/SqlConnectionStringBuilder.cs: Connection String Builder class
for SqlClient Data Provider.
* Test/System.Data.SqlClient/SqlConnectionStringBuilderTest.cs: Added some preliminary tests.
* System.Data.dll.sources: Added SqlConnectionStringBuilder.cs and DbConnectionStringBuilderHelper.cs
* System.Data_test.dll.sources: Added SqlConnectionStringBuilderTest.cs
svn path=/trunk/mcs/; revision=46289
Martin Baulig [Tue, 21 Jun 2005 09:47:02 +0000 (09:47 -0000)]
2005-06-21 Martin Baulig <martin@ximian.com>
* expression.cs (MemberAccess.DoResolve): Add support for nested
types in a generic instance; fixes #75320.
svn path=/trunk/mcs/; revision=46288
Martin Baulig [Tue, 21 Jun 2005 09:46:14 +0000 (09:46 -0000)]
New tests.
svn path=/trunk/mcs/; revision=46287
Raja R Harinath [Tue, 21 Jun 2005 07:23:14 +0000 (07:23 -0000)]
* convert.cs (FindMostEncompassedType): Add two trivial special
cases (number_of_types == 0 || number_of_types == 1).
(FindMostEncompasingType): Likewise.
svn path=/trunk/mcs/; revision=46284
David Waite [Tue, 21 Jun 2005 07:17:50 +0000 (07:17 -0000)]
2005-06-20 David waite <mass@akuma.org>
* List.cs : substantial changes and optimizations
(AddCollection, AddEnumerable): new internal specializations of AddRange
(AsReadOnly): returns specific IList<T> to match ms.net 2.0b2 api.
(Clear): reset size to zero on clear
(ConvertAll): catch null converter, use Add to prevent OutOfBounds
exception
(FindAll, FindIndex, FindLast, FindLastIndex, RemoveAll, TrueForAll):
check for null match
(FindLastIndex): correct index parameters based on ms.net 2005b2 behavior
(ForEach): catch null action
(CheckIndex): new internal function similar to CheckRange for functions
which only provide a starting index
(InsertCollection, InsertEnumerable): new internal specializations of
InsertRange
(ReadOnlyList): removed, ReadOnlyCollection in
System.Collections.ObjectModel is used instead now
* ListTest.cs: Substantial new tests
svn path=/trunk/mcs/; revision=46283
David Waite [Tue, 21 Jun 2005 06:53:23 +0000 (06:53 -0000)]
2005-06-20 David Waite <mass@akuma.org>
* Collection.cs, ReadOnlyCollection.cs: removed as they are no longer in the b2 API
svn path=/trunk/mcs/; revision=46282
David Waite [Tue, 21 Jun 2005 06:39:00 +0000 (06:39 -0000)]
2005-06-21 David Waite <mass@akuma.org>
* Collection.cs ReadonlyCollection.cs: Implement all methods
* CollectionTest.cs : added
* corlib_test.dll.sources: Added System.Collections.ObjectModel.Collection test
svn path=/trunk/mcs/; revision=46281
Boris Kirzner [Tue, 21 Jun 2005 06:33:00 +0000 (06:33 -0000)]
Added solution and project files for TARGET_JVM.
svn path=/trunk/mcs/; revision=46280
Boris Kirzner [Tue, 21 Jun 2005 06:30:37 +0000 (06:30 -0000)]
Added solution and project files fo rTARGET_JVM.
svn path=/trunk/mcs/; revision=46279
Boris Kirzner [Tue, 21 Jun 2005 06:28:21 +0000 (06:28 -0000)]
Added project file for TARGET_JVM.
svn path=/trunk/mcs/; revision=46278
Atsushi Eno [Tue, 21 Jun 2005 06:22:58 +0000 (06:22 -0000)]
2005-06-21 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs :
Implemented IsSuffix() and LastIndexOf().
Several fixes on index > 0 cases.
* TestDriver.cs : sample IsSuffix() and LastIndexOf() usage and more.
svn path=/branches/atsushi/mcs/; revision=46277
Ben Maurer [Tue, 21 Jun 2005 04:50:24 +0000 (04:50 -0000)]
fix fc4
svn path=/trunk/mono/; revision=46274
Miguel de Icaza [Tue, 21 Jun 2005 04:49:54 +0000 (04:49 -0000)]
Add test
svn path=/trunk/mcs/; revision=46272
Miguel de Icaza [Tue, 21 Jun 2005 04:45:21 +0000 (04:45 -0000)]
Tiny fix: #75319
svn path=/trunk/mcs/; revision=46271
Atsushi Eno [Tue, 21 Jun 2005 04:35:00 +0000 (04:35 -0000)]
2005-06-21 Atsushi Enomoto <atsushi@ximian.com>
* Collation-notes.txt : updated (status, impl. classes).
* MSCompatUnicodeTable.cs : Korean Jamo are not really expansions.
svn path=/branches/atsushi/mcs/; revision=46270
Atsushi Eno [Tue, 21 Jun 2005 03:52:46 +0000 (03:52 -0000)]
2005-06-21 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs : implemented IndexOf(string,string,CompareOptions)
and IsPrefix(). Tiny code refactory.
* TestDriver.cs : sample IsPrefix() and IndexOf() usage.
* MSCompatUnicodeTable.cs : tiny refactory for CodePointIndexer use.
svn path=/branches/atsushi/mcs/; revision=46269
Chris Toshok [Mon, 20 Jun 2005 22:58:07 +0000 (22:58 -0000)]
2005-06-20 Chris Toshok <toshok@ximian.com>
* MonoSymbolFile.cs (MonoSymbolFile.Dispose): make public.
svn path=/trunk/mcs/; revision=46266
Gonzalo Paniagua Javier [Mon, 20 Jun 2005 22:24:33 +0000 (22:24 -0000)]
2005-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in: enabled the use of mmap/munmap for solaris and linux.
It seems to help with memory usage.
svn path=/trunk/mono/; revision=46265
Martin Baulig [Mon, 20 Jun 2005 20:44:53 +0000 (20:44 -0000)]
Remove executable bit.
svn path=/trunk/mcs/; revision=46263
Atsushi Eno [Mon, 20 Jun 2005 20:09:28 +0000 (20:09 -0000)]
2005-06-20 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs :
IndexOf(string, char, CompareOptions) implementation.
* TestDriver.cs : sample IndexOf() usage.
svn path=/branches/atsushi/mcs/; revision=46262
Atsushi Eno [Mon, 20 Jun 2005 19:22:30 +0000 (19:22 -0000)]
2005-06-20 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : was missing most important
kind of blocks - equivalent expansions (e.g. invariant mappings).
More readable mappings.
svn path=/branches/atsushi/mcs/; revision=46259
Atsushi Eno [Mon, 20 Jun 2005 18:39:25 +0000 (18:39 -0000)]
2005-06-20 Atsushi Enomoto <atsushi@ximian.com>
* mono-tailoring-source.txt : new file. It describes tailoring
information. Basically examined under .NET 1.x.
* create-mscompat-collation-table.cs : consume the file above.
* MSCompatUnicodeTable.template : now tailorings is not a stub.
* CollationDataStructures.txt : minor fixes.
* SortKeyBuffer.cs,
SimpleCollator.cs : added FrenchSort support.
* Collation-notes.txt : added description on Latin primary weights.
* ldml-limited.rng : added note.
* create-tailorings.cs : added note. more serialization (but won't be
used anyways).
svn path=/branches/atsushi/mcs/; revision=46256
Gonzalo Paniagua Javier [Mon, 20 Jun 2005 18:12:51 +0000 (18:12 -0000)]
2005-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* domain.c:
* appdomain.c:
* domain-internals.h:
* reflection.c: 'domain_assemblies' field is now protected by its own
lock. Don't call into managed code to run the AssemblyLoad event if we
now there are no registered delegates for it.
svn path=/trunk/mono/; revision=46254
Sebastien Pouliot [Mon, 20 Jun 2005 16:51:03 +0000 (16:51 -0000)]
2005-06-20 Sebastien Pouliot <sebastien@ximian.com>
* PermissionSetTest.cs: Added tests for AddPermission with non-CAS
permissions. Added tests for ContainsNonCodeAccessPermissions.
svn path=/trunk/mcs/; revision=46250
Sebastien Pouliot [Mon, 20 Jun 2005 16:50:56 +0000 (16:50 -0000)]
2005-06-20 Sebastien Pouliot <sebastien@ximian.com>
* CodeAccessPermission.cs: Removed redundant and unrequired TODO.
* PermissionSet.cs: Some 2.0 optimizations (because sets are simpler
without the special case for identity permissions).
* SecurityManager.cs: Shortcut for ResolveIdentityPermissions (in 2.0)
and some more declarative security syntax updates.
svn path=/trunk/mcs/; revision=46249
Sebastien Pouliot [Mon, 20 Jun 2005 16:45:38 +0000 (16:45 -0000)]
2005-06-20 Sebastien Pouliot <sebastien@ximian.com>
* EvidenceTest.cs: Ensure that PermissionRequestEvidence doesn't
show in Assembly and AppDomain evidences.
svn path=/trunk/mcs/; revision=46248
Martin Baulig [Mon, 20 Jun 2005 16:45:16 +0000 (16:45 -0000)]
New test.
svn path=/trunk/mcs/; revision=46247
Martin Baulig [Mon, 20 Jun 2005 16:45:06 +0000 (16:45 -0000)]
2005-06-20 Martin Baulig <martin@ximian.com>
* class.c (mono_class_is_assignable_from): Use a custom version of
mono_class_has_parent() to make things work for generic instances;
fix #75300.
svn path=/trunk/mono/; revision=46246
Martin Baulig [Mon, 20 Jun 2005 16:19:59 +0000 (16:19 -0000)]
New test.
svn path=/trunk/mcs/; revision=46245
Martin Baulig [Mon, 20 Jun 2005 16:19:22 +0000 (16:19 -0000)]
2005-06-20 Martin Baulig <martin@ximian.com>
* loader.c (method_from_methodspec): Apply a patch from
Kamil Skalski <nazgul@nemerle.org> to fix #75296.
svn path=/trunk/mono/; revision=46244
Martin Baulig [Mon, 20 Jun 2005 15:49:46 +0000 (15:49 -0000)]
New test.
svn path=/trunk/mcs/; revision=46242
Martin Baulig [Mon, 20 Jun 2005 15:49:37 +0000 (15:49 -0000)]
2005-06-20 Martin Baulig <martin@ximian.com>
* generic.cs (TypeManager.InferType): Also walk the class
hierarchy for generic instances; fixes #75261.
svn path=/trunk/mcs/; revision=46241
Martin Baulig [Mon, 20 Jun 2005 15:30:02 +0000 (15:30 -0000)]
2005-06-20 Martin Baulig <martin@ximian.com>
* class.c (mono_class_init): Reverted Zoltan's last change; it
breaks generics.
svn path=/trunk/mono/; revision=46240
Miguel de Icaza [Mon, 20 Jun 2005 15:15:20 +0000 (15:15 -0000)]
Removal of -module that causes OSX to miss-behave
svn path=/trunk/mono/; revision=46239
Raja R Harinath [Mon, 20 Jun 2005 10:39:22 +0000 (10:39 -0000)]
* Makefile (SCARY_LIB): Remove.
svn path=/trunk/mcs/; revision=46238
Ritvik Mayank [Mon, 20 Jun 2005 09:59:04 +0000 (09:59 -0000)]
2005-06-20 Ritvik Mayank <mritvik@novell.com>
* known-issues-gmcs : Ignored few hanging tests
svn path=/trunk/mcs/; revision=46237
Raja R Harinath [Mon, 20 Jun 2005 08:31:37 +0000 (08:31 -0000)]
* Makefile (centum_tests): Move System.XML ...
(default_centum_tests): ... here.
svn path=/trunk/mcs/; revision=46236
Gonzalo Paniagua Javier [Mon, 20 Jun 2005 08:27:12 +0000 (08:27 -0000)]
2005-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SocketTest.cs: added new test for Select.
svn path=/trunk/mcs/; revision=46235
Raja R Harinath [Mon, 20 Jun 2005 08:19:22 +0000 (08:19 -0000)]
disable test-105 for now. It hangs.
svn path=/trunk/mcs/; revision=46234
Boris Kirzner [Mon, 20 Jun 2005 08:11:07 +0000 (08:11 -0000)]
Implementet rootDse and default ldap server features. Fixes for properties loading.
svn path=/trunk/mcs/; revision=46233
Boris Kirzner [Mon, 20 Jun 2005 07:52:54 +0000 (07:52 -0000)]
Added ifdef to exclude the code not used in TARGET_JVM.
svn path=/trunk/mcs/; revision=46232
Ben Maurer [Mon, 20 Jun 2005 04:22:12 +0000 (04:22 -0000)]
remove s.xml. It doesn't really pass
svn path=/trunk/mcs/; revision=46229
Zoltan Varga [Sun, 19 Jun 2005 20:20:27 +0000 (20:20 -0000)]
2005-06-19 Zoltan Varga <vargaz@freemail.hu>
* mini-ia64.c: Ongoing IA64 work.
svn path=/trunk/mono/; revision=46225
Zoltan Varga [Sun, 19 Jun 2005 20:18:07 +0000 (20:18 -0000)]
2005-06-19 Zoltan Varga <vargaz@freemail.hu>
* ia64/ia64-codegen.h: Fix encoding of ia64_fclass.
svn path=/trunk/mono/; revision=46224
Zoltan Varga [Sun, 19 Jun 2005 19:37:25 +0000 (19:37 -0000)]
2005-06-19 Zoltan Varga <vargaz@freemail.hu>
* driver.c: Clean up jit_code_hash as well when using --regression.
svn path=/trunk/mono/; revision=46223
Zoltan Varga [Sun, 19 Jun 2005 19:30:24 +0000 (19:30 -0000)]
2005-06-19 Zoltan Varga <vargaz@freemail.hu>
* inssel-long.brg: Fix long->i4/u4 conversion rules.
* basic-long.cs: Add tests for long->u4 conversion.
svn path=/trunk/mono/; revision=46222
Zoltan Varga [Sun, 19 Jun 2005 19:22:04 +0000 (19:22 -0000)]
2005-06-19 Zoltan Varga <vargaz@freemail.hu>
* inssel-long.brg: Fix long->i4/u4 conversion rules.
svn path=/trunk/mono/; revision=46220
Carlos Guzmán Álvarez [Sun, 19 Jun 2005 19:14:17 +0000 (19:14 -0000)]
Updated Firebird provider with latest sources from sourceforge
svn path=/trunk/mcs/; revision=46219
Konstantin Triger [Sun, 19 Jun 2005 13:58:33 +0000 (13:58 -0000)]
keep System.Data.vmwcsproj up to date
svn path=/trunk/mcs/; revision=46218
Konstantin Triger [Sun, 19 Jun 2005 12:51:26 +0000 (12:51 -0000)]
Fixed ReadXml to work with IXmlSerializable
svn path=/trunk/mcs/; revision=46217
Zoltan Varga [Sun, 19 Jun 2005 12:03:40 +0000 (12:03 -0000)]
2005-06-19 Zoltan Varga <vargaz@freemail.hu>
* threads.c (wait_for_tids_or_state_change): Add missing locking.
svn path=/trunk/mono/; revision=46215
Alexander Olk [Sun, 19 Jun 2005 11:58:51 +0000 (11:58 -0000)]
2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
* Mime.cs:
- added inodes.
- return application/x-zerosize for files with size zero
(if no extension pattern matches).
- check matches collection for strings too.
- return only the first mime type if the name value
collection has more than one mime type.
svn path=/trunk/mcs/; revision=46214
Zoltan Varga [Sun, 19 Jun 2005 09:45:22 +0000 (09:45 -0000)]
2005-06-19 Zoltan Varga <vargaz@freemail.hu>
* Add stubs for System.Collections.ObjectModel classes.
svn path=/trunk/mcs/; revision=46211
Ilya Kharmatsky [Sun, 19 Jun 2005 09:34:34 +0000 (09:34 -0000)]
svn path=/trunk/mcs/; revision=46210
Ilya Kharmatsky [Sun, 19 Jun 2005 09:28:35 +0000 (09:28 -0000)]
svn path=/trunk/mcs/; revision=46209
Ilya Kharmatsky [Sun, 19 Jun 2005 09:28:06 +0000 (09:28 -0000)]
svn path=/trunk/mcs/; revision=46208
Ilya Kharmatsky [Sun, 19 Jun 2005 09:24:53 +0000 (09:24 -0000)]
svn path=/trunk/mcs/; revision=46207
Ilya Kharmatsky [Sun, 19 Jun 2005 09:23:22 +0000 (09:23 -0000)]
svn path=/trunk/mcs/; revision=46206
Ilya Kharmatsky [Sun, 19 Jun 2005 09:19:18 +0000 (09:19 -0000)]
svn path=/trunk/mcs/; revision=46205
Ilya Kharmatsky [Sun, 19 Jun 2005 09:09:48 +0000 (09:09 -0000)]
svn path=/trunk/mcs/; revision=46204
Raja R Harinath [Sun, 19 Jun 2005 04:44:55 +0000 (04:44 -0000)]
Fix changelog entry. Use tab, not 4 spaces to indent.
Remove entry on Enumerator.MoveNext: no such change was checked in.
Update entry for Enumerator.Dispose to reflect actual change checked in.
svn path=/trunk/mcs/; revision=46203
David Waite [Sun, 19 Jun 2005 02:36:21 +0000 (02:36 -0000)]
2005-06-16 David Waite <mass@akuma.org>
* Dictionary.cs (EnumerationMode): Remove.
(Enumerator): Remove return type flag - legacy return is expected to
always return a DictionaryEntry
(Enumerator): Make constructor internal, it is not public on ms.net
beta 2
(Enumerator.MoveNext): Fix endless loop on enumerator use
(VerifyState): Added method to check state preconditions and throw
appropriate exceptions.
(KeyCollection,ValueCollection): Mark sealed to match ms.net beta 2
(KeyCollection.Enumerator._hostEnumerator): make exact struct type,
rather than boxing and using by interface
(KeyCollection.Enumerator.Dispose): use default to clear Enumerator
(ValueCollection.Enumerator._hostEnumerator): make exact struct type,
rather than boxing and using by interface
(ValueCollection.Enumerator.Dispose): use default to clear Enumerator
* EqualityComparer.cs (DefaultComparer, IEquatableOfTEqualityComparer):
Mark as serializable.
* DictionaryTest.cs (AddTest3): Added test of simple interaction with
struct dictionary
(AddDuplicateTest,IndexerGetNullTest,IndexerSetNullTest): Added tests
for exceptional cases to verify correct exceptions
(TryGetValueTest): check return value from TryGetValue
(KeyValueEnumeratorTest): Added test from verification of ms.net beta2
behavior for non-generic IEnumerator/IDictionaryEnumerator behavior
against Dictionary<>
(SerializationTest): Added test to utilize serialization routines.
svn path=/trunk/mcs/; revision=46200
Ben Maurer [Sat, 18 Jun 2005 22:39:59 +0000 (22:39 -0000)]
2005-06-18 Ben Maurer <bmaurer@ximian.com>
* mini.c: Take mono_get_domainvar out of macros. This makes sure
that we do not depend on undefined C behavior: the order stuff
gets evaluated within an expression. Fixes mono when compiled on
GCC 4.
svn path=/trunk/mono/; revision=46199
Zoltan Varga [Sat, 18 Jun 2005 21:09:22 +0000 (21:09 -0000)]
2005-06-18 Zoltan Varga <vargaz@freemail.hu>
* *-ia64.*: Ongoing IA64 work.
svn path=/trunk/mono/; revision=46195
Gonzalo Paniagua Javier [Sat, 18 Jun 2005 20:10:22 +0000 (20:10 -0000)]
2005-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* socket-io.c: fix the index in the socket array for writable/error
sockets. Fixes bug #75306.
svn path=/trunk/mono/; revision=46189
Sebastien Pouliot [Sat, 18 Jun 2005 15:07:09 +0000 (15:07 -0000)]
2005-06-18 Sebastien Pouliot <sebastien@ximian.com>
* IdentityReference.cs: Constructor is internal (which means it the
class cannot be inherited outside corlib).
svn path=/trunk/mcs/; revision=46188
Zoltan Varga [Sat, 18 Jun 2005 14:11:54 +0000 (14:11 -0000)]
2005-06-18 Zoltan Varga <vargaz@freemail.hu>
* aot.c: Lower memory usage while loading AOT methods.
* tramp-x86.c: Avoid allocating+freeing MonoJitInfo structures.
* mini.h: Bump AOT file format version.
svn path=/trunk/mono/; revision=46187
Jonathan Chambers [Sat, 18 Jun 2005 13:15:18 +0000 (13:15 -0000)]
Implemented DockEditor class
svn path=/trunk/mcs/; revision=46186
Jonathan Chambers [Sat, 18 Jun 2005 13:12:59 +0000 (13:12 -0000)]
Added support for UITypeEditors and fixed some TODOs
svn path=/trunk/mcs/; revision=46185
Jordi Mas i Hernandez [Fri, 17 Jun 2005 20:18:43 +0000 (20:18 -0000)]
* DataGrid.cs: clears cached value
2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
svn path=/trunk/mcs/; revision=46172
Jordi Mas i Hernandez [Fri, 17 Jun 2005 20:14:25 +0000 (20:14 -0000)]
2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
* DataViewManager.cs: fixes exception and creates DataView
svn path=/trunk/mcs/; revision=46171
Zoltan Varga [Fri, 17 Jun 2005 19:14:47 +0000 (19:14 -0000)]
2005-06-17 Zoltan Varga <vargaz@freemail.hu>
* pthread_support.c: Workaround gcc-3.3 compiler bug.
svn path=/trunk/mono/; revision=46167
Sebastien Pouliot [Fri, 17 Jun 2005 18:47:28 +0000 (18:47 -0000)]
Small fixes to please the status pages
svn path=/trunk/mcs/; revision=46165
Atsushi Eno [Fri, 17 Jun 2005 17:49:34 +0000 (17:49 -0000)]
2005-06-17 Atsushi Enomoto <atsushi@ximian.com>
* SortKeyBuffer.cs : non-primary character is added to previous
diacritical weight.
* TestDriver.cs : added example case of above.
svn path=/branches/atsushi/mcs/; revision=46159
Lluis Sanchez [Fri, 17 Jun 2005 16:28:41 +0000 (16:28 -0000)]
2005-06-17 Lluis Sanchez Gual <lluis@novell.com>
* System.Configuration.sources: Added new files:
System.Configuration/ConfigurationFileMap.cs
System.Configuration/ContextInformation.cs
System.Configuration/ExeConfigurationFileMap.cs
System.Configuration/ExeContext.cs
System.Configuration/InternalConfigurationFactory.cs
System.Configuration/InternalConfigurationHost.cs
System.Configuration/InternalConfigurationRoot.cs
System.Configuration/KeyValueConfigurationCollection.cs
System.Configuration/KeyValueConfigurationElement.cs
svn path=/trunk/mcs/; revision=46148
Lluis Sanchez [Fri, 17 Jun 2005 16:24:25 +0000 (16:24 -0000)]
2005-06-17 Lluis Sanchez Gual <lluis@novell.com>
* SectionInfo.cs, ConfigInfo.cs, SectionGroupInfo.cs: Minor api fixes.
* ConfigurationPropertyCollection.cs: Added Clear method.
* ContextInformation.cs: Implemented.
* ConfigurationManager.cs: Implemented some missing methods.
Configuration objects are now created through the ConfigurationFactory.
* InternalConfigurationHost.cs: Implementation of IInternalConfigHost
to be used for exe files and machine.config.
* ConfigurationFileMap.cs: Implemented.
* Configuration.cs: Read and write config files using the methods that
IInternalConfigHost provides.
* InternalConfigurationRoot.cs: IInternalConfigRoot stub.
* ExeContext.cs: Implemented.
* AppSettingsSection.cs: Use the KeyValueConfigurationCollection
collection to store values.
* KeyValueConfigurationElement.cs: Implemented.
* KeyValueConfigurationCollection.cs: Implemented.
* InternalConfigurationFactory.cs: An implementation of
IInternalConfigConfigurationFactory.
* ConfigurationPropertyAttribute.cs: Added missing attributes.
* ExeConfigurationFileMap.cs: Implemented.
svn path=/trunk/mcs/; revision=46147
Lluis Sanchez [Fri, 17 Jun 2005 16:24:02 +0000 (16:24 -0000)]
2005-06-17 Lluis Sanchez Gual <lluis@novell.com>
* AssemblyInfo.cs: Removed some unneeded attributes.
svn path=/trunk/mcs/; revision=46146
Atsushi Eno [Fri, 17 Jun 2005 16:20:23 +0000 (16:20 -0000)]
2005-06-17 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs : IgnoreSymbols support.
* TestDriver.cs : compilation fix. IgnoreSymbols example.
* create-mscompat-collation-table.cs : more Hangul fixes.
svn path=/branches/atsushi/mcs/; revision=46144