mono.git
19 years agoNew tests.
Martin Baulig [Tue, 21 Jun 2005 09:46:14 +0000 (09:46 -0000)]
New tests.

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

19 years ago* convert.cs (FindMostEncompassedType): Add two trivial special
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

19 years ago2005-06-20 David waite <mass@akuma.org>
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

19 years ago2005-06-20 David Waite <mass@akuma.org>
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

19 years ago2005-06-21 David Waite <mass@akuma.org>
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

19 years agoAdded solution and project files for TARGET_JVM.
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

19 years agoAdded solution and project files fo rTARGET_JVM.
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

19 years agoAdded project file for TARGET_JVM.
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

19 years agofix fc4
Ben Maurer [Tue, 21 Jun 2005 04:50:24 +0000 (04:50 -0000)]
fix fc4

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

19 years agoAdd test
Miguel de Icaza [Tue, 21 Jun 2005 04:49:54 +0000 (04:49 -0000)]
Add test

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

19 years agoTiny fix: #75319
Miguel de Icaza [Tue, 21 Jun 2005 04:45:21 +0000 (04:45 -0000)]
Tiny fix: #75319

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

19 years ago2005-06-20 Chris Toshok <toshok@ximian.com>
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

19 years ago2005-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

19 years agoRemove executable bit.
Martin Baulig [Mon, 20 Jun 2005 20:44:53 +0000 (20:44 -0000)]
Remove executable bit.

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

19 years ago2005-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

19 years ago2005-06-20 Sebastien Pouliot <sebastien@ximian.com>
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

19 years ago2005-06-20 Sebastien Pouliot <sebastien@ximian.com>
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

19 years ago2005-06-20 Sebastien Pouliot <sebastien@ximian.com>
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

19 years agoNew test.
Martin Baulig [Mon, 20 Jun 2005 16:45:16 +0000 (16:45 -0000)]
New test.

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

19 years ago2005-06-20 Martin Baulig <martin@ximian.com>
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

19 years agoNew test.
Martin Baulig [Mon, 20 Jun 2005 16:19:59 +0000 (16:19 -0000)]
New test.

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

19 years ago2005-06-20 Martin Baulig <martin@ximian.com>
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

19 years agoNew test.
Martin Baulig [Mon, 20 Jun 2005 15:49:46 +0000 (15:49 -0000)]
New test.

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

19 years ago2005-06-20 Martin Baulig <martin@ximian.com>
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

19 years ago2005-06-20 Martin Baulig <martin@ximian.com>
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

19 years agoRemoval of -module that causes OSX to miss-behave
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

19 years ago* Makefile (SCARY_LIB): Remove.
Raja R Harinath [Mon, 20 Jun 2005 10:39:22 +0000 (10:39 -0000)]
* Makefile (SCARY_LIB): Remove.

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

19 years ago2005-06-20 Ritvik Mayank <mritvik@novell.com>
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

19 years ago* Makefile (centum_tests): Move System.XML ...
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

19 years ago2005-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

19 years agodisable test-105 for now. It hangs.
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

19 years agoImplementet rootDse and default ldap server features. Fixes for properties loading.
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

19 years agoAdded ifdef to exclude the code not used in TARGET_JVM.
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

19 years agoremove s.xml. It doesn't really pass
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

19 years ago2005-06-19 Zoltan Varga <vargaz@freemail.hu>
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

19 years ago2005-06-19 Zoltan Varga <vargaz@freemail.hu>
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

19 years ago2005-06-19 Zoltan Varga <vargaz@freemail.hu>
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

19 years ago2005-06-19 Zoltan Varga <vargaz@freemail.hu>
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

19 years ago2005-06-19 Zoltan Varga <vargaz@freemail.hu>
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

19 years agoUpdated Firebird provider with latest sources from sourceforge
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

19 years agokeep System.Data.vmwcsproj up to date
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

19 years agoFixed ReadXml to work with IXmlSerializable
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

19 years ago2005-06-19 Zoltan Varga <vargaz@freemail.hu>
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

19 years ago2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
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

19 years ago2005-06-19 Zoltan Varga <vargaz@freemail.hu>
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

19 years agosvn path=/trunk/mcs/; revision=46210
Ilya Kharmatsky [Sun, 19 Jun 2005 09:34:34 +0000 (09:34 -0000)]
svn path=/trunk/mcs/; revision=46210

19 years agosvn path=/trunk/mcs/; revision=46209
Ilya Kharmatsky [Sun, 19 Jun 2005 09:28:35 +0000 (09:28 -0000)]
svn path=/trunk/mcs/; revision=46209

19 years agosvn path=/trunk/mcs/; revision=46208
Ilya Kharmatsky [Sun, 19 Jun 2005 09:28:06 +0000 (09:28 -0000)]
svn path=/trunk/mcs/; revision=46208

19 years agosvn path=/trunk/mcs/; revision=46207
Ilya Kharmatsky [Sun, 19 Jun 2005 09:24:53 +0000 (09:24 -0000)]
svn path=/trunk/mcs/; revision=46207

19 years agosvn path=/trunk/mcs/; revision=46206
Ilya Kharmatsky [Sun, 19 Jun 2005 09:23:22 +0000 (09:23 -0000)]
svn path=/trunk/mcs/; revision=46206

19 years agosvn path=/trunk/mcs/; revision=46205
Ilya Kharmatsky [Sun, 19 Jun 2005 09:19:18 +0000 (09:19 -0000)]
svn path=/trunk/mcs/; revision=46205

19 years agosvn path=/trunk/mcs/; revision=46204
Ilya Kharmatsky [Sun, 19 Jun 2005 09:09:48 +0000 (09:09 -0000)]
svn path=/trunk/mcs/; revision=46204

19 years agoFix changelog entry. Use tab, not 4 spaces to indent.
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

19 years ago2005-06-16 David Waite <mass@akuma.org>
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

19 years ago2005-06-18 Ben Maurer <bmaurer@ximian.com>
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

19 years ago2005-06-18 Zoltan Varga <vargaz@freemail.hu>
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

19 years ago2005-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

19 years ago2005-06-18 Sebastien Pouliot <sebastien@ximian.com>
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

19 years ago2005-06-18 Zoltan Varga <vargaz@freemail.hu>
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

19 years agoImplemented DockEditor class
Jonathan Chambers [Sat, 18 Jun 2005 13:15:18 +0000 (13:15 -0000)]
Implemented DockEditor class

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

19 years agoAdded support for UITypeEditors and fixed some TODOs
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

19 years ago * DataGrid.cs: clears cached value
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

19 years ago2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
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

19 years ago2005-06-17 Zoltan Varga <vargaz@freemail.hu>
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

19 years agoSmall fixes to please the status pages
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

19 years ago2005-06-17 Lluis Sanchez Gual <lluis@novell.com>
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

19 years ago2005-06-17 Lluis Sanchez Gual <lluis@novell.com>
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

19 years ago2005-06-17 Lluis Sanchez Gual <lluis@novell.com>
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

19 years ago2005-06-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 17 Jun 2005 14:45:51 +0000 (14:45 -0000)]
2005-06-17  Zoltan Varga  <vargaz@freemail.hu>

* class.c (mono_class_init): Allow interfaces to have static ctors.

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

19 years ago2005-06-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 17 Jun 2005 13:37:27 +0000 (13:37 -0000)]
2005-06-17  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_method_to_ir): Allow STACK_PTR as input to SWITCH.

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

19 years agoForgot to remove the function prototype when removing the function.
Martin Baulig [Fri, 17 Jun 2005 12:54:23 +0000 (12:54 -0000)]
Forgot to remove the function prototype when removing the function.

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

19 years agoNew tests.
Martin Baulig [Fri, 17 Jun 2005 12:52:33 +0000 (12:52 -0000)]
New tests.

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

19 years ago2005-06-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 17 Jun 2005 12:37:35 +0000 (12:37 -0000)]
2005-06-17  Martin Baulig  <martin@ximian.com>

* loader.c (method_from_methodspec): Use `context->container' when
parsing the `gmethod->inst'.

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

19 years ago2005-06-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 17 Jun 2005 12:35:42 +0000 (12:35 -0000)]
2005-06-17  Martin Baulig  <martin@ximian.com>

* class.c (mono_type_get_name_recurse): Don't add the assembly
name for type arguments.

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

19 years agoNew sources files for System.Security.Principal (2.0)
Sebastien Pouliot [Fri, 17 Jun 2005 11:51:26 +0000 (11:51 -0000)]
New sources files for System.Security.Principal (2.0)

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

19 years ago2005-06-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 17 Jun 2005 11:21:28 +0000 (11:21 -0000)]
2005-06-17  Sebastien Pouliot  <sebastien@ximian.com>

* IdentityNotMappedException.cs: New (2.0). Identity exception.
* IdentityReference.cs: New (2.0). Abstract base class to collect /
translate identities.
* IdentityReferenceCollection.cs: New. (2.0) Collection of
IdentityReference (e.g. groups).
* NTAccount.cs: New (2.0). Domain/User (string based)
IdentityReference.
* SecurityIdentifier.cs: New (2.0). SID (binary based)
IdentityReference.
* TokenAccessLevels.cs: New (2.0). Type of identity token.
* TokenImpersonationLevel.cs: Fixed name in header.
* WellKnownSidType.cs: New (2.0). Enum of all well known SID.
* WindowsIdentity.cs: Implement IDisposable for 2.0. Add Identity
Reference support for User, Owner and a collection for groups.
* WindowsImpersonationContext.cs: Implement IDisposable for 2.0.
* WindowsPrincipal.cs: Added IsInRole(SecurityIdentifier) for 2.0.

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

19 years ago2005-06-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 17 Jun 2005 11:04:21 +0000 (11:04 -0000)]
2005-06-17  Sebastien Pouliot  <sebastien@ximian.com>

* WindowsPrincipalTest.cs: In NET_2_0 multiple IsInRole methods can
now accept null.

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

19 years agoSome cleanups preparing for the fix of #75283.
Raja R Harinath [Fri, 17 Jun 2005 11:00:04 +0000 (11:00 -0000)]
Some cleanups preparing for the fix of #75283.
* ecore.cs (PropertyExpr.InstanceResolve): Tighten conditions for
error testing.
(EventExpr.InstanceResolve): Likewise.
(EventExpr.DoResolve): Remove redundant checks.

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

19 years ago2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 17 Jun 2005 09:40:12 +0000 (09:40 -0000)]
2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>

* DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
* DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
* DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
* DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.

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

19 years agosvn:eol-style=native
Raja R Harinath [Fri, 17 Jun 2005 08:31:41 +0000 (08:31 -0000)]
svn:eol-style=native

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

19 years ago* Makefile (centum_tests): Add System.XML.
Raja R Harinath [Fri, 17 Jun 2005 08:31:22 +0000 (08:31 -0000)]
* Makefile (centum_tests): Add System.XML.

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

19 years ago* XmlSerializerTests.cs (TestSerializedDateTime): Fix sign of timezone.
Raja R Harinath [Fri, 17 Jun 2005 08:30:46 +0000 (08:30 -0000)]
* XmlSerializerTests.cs (TestSerializedDateTime): Fix sign of timezone.

(Verified with TZ=IST,GMT,CST6CDT).

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

19 years agoMake line-endings uniform to make Emacs friendly.
Raja R Harinath [Fri, 17 Jun 2005 08:23:48 +0000 (08:23 -0000)]
Make line-endings uniform to make Emacs friendly.

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

19 years ago2005-06-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 17 Jun 2005 08:22:15 +0000 (08:22 -0000)]
2005-06-17  Atsushi Enomoto <atsushi@ximian.com>

* DTDValidatingReader.cs : removed some extra IsDefault check (with
  the latse code default attributes are stored in hashtables anyways.)
  Fixup attribute namespaces _after_ xmlns attributse are filled.
  The latest change is not good that namespaceURI of a local attribute
  was incorrectly globally looked up (it should be always "").

* XmlValidatingReaderTests.cs : added attribute namespace check in
  DefaultXmlnsAttributeLookup() as well.

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

19 years ago* XmlSerializerTests.cs (TestSerializeDateTime): Avoid rounding
Raja R Harinath [Fri, 17 Jun 2005 08:12:31 +0000 (08:12 -0000)]
* XmlSerializerTests.cs (TestSerializeDateTime): Avoid rounding
errors while printing timezone offset (off.TotalHours == 5.5 gets
printed as 6).

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

19 years ago2005-06-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 17 Jun 2005 07:22:25 +0000 (07:22 -0000)]
2005-06-17  Atsushi Enomoto <atsushi@ximian.com>

* XmlValidatingReader.cs : LookupNamespace() was trying to access to
  null reference to validatingReader.
* DTDValidatingReader.cs : Fixed default xmlns* attribute handling.
  It used to be valid only at the declaring element.

* XmlValidatingReaderTests.cs : added DefaultXmlnsAttributeLookup().

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

19 years agoOoops, forgot to change the actual namespace.
Martin Baulig [Fri, 17 Jun 2005 07:05:18 +0000 (07:05 -0000)]
Ooops, forgot to change the actual namespace.

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

19 years ago2005-06-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 17 Jun 2005 06:48:14 +0000 (06:48 -0000)]
2005-06-17  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.IsBuiltinType): Use TypeToCoreType()
to make things work for corlib.

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

19 years agoStandardize line-endings in files (if most of the file is CRLF,
Raja R Harinath [Fri, 17 Jun 2005 06:39:43 +0000 (06:39 -0000)]
Standardize line-endings in files (if most of the file is CRLF,
convert the whole thing to CRLF).  Set svn:eol-style native for
files with LF line-endings.  Remove svn:executable.

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

19 years agoOoops; removed debugging statement.
Martin Baulig [Fri, 17 Jun 2005 06:32:31 +0000 (06:32 -0000)]
Ooops; removed debugging statement.

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

19 years ago2005-06-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 16 Jun 2005 19:34:33 +0000 (19:34 -0000)]
2005-06-16  Sebastien Pouliot  <sebastien@ximian.com>

* PrincipalPermissionTest.cs: Added more tests for IsSubsetOf method.

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

19 years ago2005-06-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 16 Jun 2005 19:33:22 +0000 (19:33 -0000)]
2005-06-16  Sebastien Pouliot  <sebastien@ximian.com>

* StrongNameTest.cs: Empty names are only verified in NET_2_0.

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

19 years ago * PermissionSetTest.cs: Added tests for AddPermission and IsSubsetOf.
Sebastien Pouliot [Thu, 16 Jun 2005 19:32:46 +0000 (19:32 -0000)]
* PermissionSetTest.cs: Added tests for AddPermission and IsSubsetOf.

2005-06-16  Sebastien Pouliot  <sebastien@ximian.com>

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

19 years ago2005-06-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 16 Jun 2005 19:31:25 +0000 (19:31 -0000)]
2005-06-16  Sebastien Pouliot  <sebastien@ximian.com>

* StrongName.cs: Empty names are only verified in NET_2_0.

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

19 years ago2005-06-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 16 Jun 2005 19:30:35 +0000 (19:30 -0000)]
2005-06-16  Sebastien Pouliot  <sebastien@ximian.com>

* PrincipalPermission.cs: Fixed IsSubsetOf method when permission is
empty.

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

19 years ago * PermissionSet.cs: Added support for non-CAS permissions in the
Sebastien Pouliot [Thu, 16 Jun 2005 19:29:19 +0000 (19:29 -0000)]
* PermissionSet.cs: Added support for non-CAS permissions in the
IsSubsetOf method.
* SecurityManager.cs: Simplified IsGranted and added support for 2.0
(where all permissions support unrestricted). Changed desclarative
security syntax not to use flags (like the rest of the source code).

2005-06-16  Sebastien Pouliot  <sebastien@ximian.com>

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

19 years ago* DirectoryInfoTest.cs: Added tests for bug #75285.
Gert Driesen [Thu, 16 Jun 2005 18:08:58 +0000 (18:08 -0000)]
* DirectoryInfoTest.cs: Added tests for bug #75285.

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

19 years ago2005-06-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 16 Jun 2005 13:15:32 +0000 (13:15 -0000)]
2005-06-16  Sebastien Pouliot  <sebastien@ximian.com>

* NamedPermissionSet.cs: A default NamedPermissionSet is Unrestricted.

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

19 years ago2005-06-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 16 Jun 2005 13:14:38 +0000 (13:14 -0000)]
2005-06-16  Sebastien Pouliot  <sebastien@ximian.com>

* NamedPermissionSetTest.cs: Added more extensive constructor and
default values testing.

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

19 years agorevert accidental checkin. This doesn't re-enable those tests since the
Raja R Harinath [Thu, 16 Jun 2005 12:51:54 +0000 (12:51 -0000)]
revert accidental checkin.  This doesn't re-enable those tests since the
TestSuites themselves are disabled.

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