mono.git
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

19 years agoIn System.Collections.Generic:
Raja R Harinath [Thu, 16 Jun 2005 12:45:33 +0000 (12:45 -0000)]
In System.Collections.Generic:
* Dictionary.cs (GetKeys, GetValues): Remove.
(SetThreshold): New function to calculate the resize threshold.
(CopyTo): Don't use foreach syntax.
(ContainsValue): Likewise.  Use default equality comparer of the
value type.
(GetObjectData): Use CopyTo to copy into temporary array.  Don't
save redundant _usedSlots and _threshold.
(OnDeserialization): Rewrite.
(ICollection<>.CopyTo): Forward to CopyTo.
(Enumerator._nextIndex): Rename to from _index.
(Enumerator._next, Enumerator.FixNext): Remove.
(Enumerator.Current): Rewrite to avoid need for _next.
(Enumerator.IEnumerator.Reset): Update.
(KeyCollection): Is also IEnumerable<TKey> and IEnumerable.
Update methods to conform to standard.
(KeyCollection.GetEnumerator): Restore.  Return the correct type.
(KeyCollection.Enumerator): Rename from KeyEnumerator.  Simple
wrapper that forwards to Dictionary<,>.Enumerator.
(ValueCollection): Likewise.

In Test/System.Collections.Generic:
* DictionaryTest.cs (SliceCollectionsEnumeratorTest): New test
based on #75053.

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

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

* SecurityManager.cs: Simplified LinkDemandFullTrust as FullTrust is
immutable.

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

19 years ago2005-06-16 Joerg Rosenkranz <joergr@voelcker.com>
Joerg Rosenkranz [Thu, 16 Jun 2005 12:12:50 +0000 (12:12 -0000)]
2005-06-16  Joerg Rosenkranz  <joergr@voelcker.com>

        * mono-service.cs: Remove lock file when service is
        terminated.

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

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

* aptc1.cs: Add a RequestRefuse for SkipVerification when RESTRICT is
defined.
* aptc2.cs: Add a RequestRefuse for SkipVerification when RESTRICT is
defined. Change IsSigned() for IsRestricted().
* icall1.cs: Fix typos.
* Makefile: Changed compilation for aptc*.cs. Removed icall5.cs from
testing (until I figure out exactly the rules being used).
* README: Updated informations about the APTC tests.

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

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

* declsec.c: Fixed APTC to check for FullTrust on caller assembly (and
not on callee assembly). Fixed some comments.

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

19 years ago2005-06-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 16 Jun 2005 10:38:57 +0000 (10:38 -0000)]
2005-06-16  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (mono_compile_assembly): Mark the "methods" symbol as a function so
it gets proper disassembly.
(emit_method_info): Remove some dead code.

* mini.c (mini_method_compile): Allways allocate the GOT var in
mono_method_to_ir for emulating opcodes.

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

19 years ago2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Thu, 16 Jun 2005 10:29:41 +0000 (10:29 -0000)]
2005-06-16  Jordi Mas i Hernandez <jordi@ximian.com>

* ThemeWin32Classic.cs: fixes colour

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

19 years ago* Makefile (mono-api-info.exe): Copy mdb file from the
Raja R Harinath [Thu, 16 Jun 2005 09:30:24 +0000 (09:30 -0000)]
* Makefile (mono-api-info.exe): Copy mdb file from the
profile-specific directory.

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

19 years agoRevert r46073. It caused corlib_test.dll compilation to fail.
Raja R Harinath [Thu, 16 Jun 2005 09:25:34 +0000 (09:25 -0000)]
Revert r46073.  It caused corlib_test.dll compilation to fail.

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

19 years ago2005-06-15 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 16 Jun 2005 03:38:55 +0000 (03:38 -0000)]
2005-06-15  Peter Bartok  <pbartok@novell.com>

* MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
* MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
* ButtonBase.cs: Added MWFCategory and MWFDescription attributes
* Control.cs: Added some MWFCategory and MWFDescription attributes
* ScrollBar.cs: Added some MWFCategory and MWFDescription attributes

2005-06-15  Peter Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.sources: Added MWFCategoryAttribute.cs and
  MWFDescriptionAttribute.cs
* SWF.csproj: Updated

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

19 years ago2005-06-15 Duncan Mak <duncan@novell.com>
Duncan Mak [Wed, 15 Jun 2005 21:57:38 +0000 (21:57 -0000)]
2005-06-15  Duncan Mak  <duncan@novell.com>

* cs-tokenizer.cs (handle_preprocessing_directive): Exit early
when not processing directives. This avoids unnecessary
processing during the token peek in is_punct().

This really fixes #74939.

Testcase coming once I figure out what Martin wants to with
the MCS testsuite.

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

19 years agoAdd man page for AL (assembly linker)
Sebastien Pouliot [Wed, 15 Jun 2005 19:50:44 +0000 (19:50 -0000)]
Add man page for AL (assembly linker)

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

19 years agolast time, I promise
Ben Maurer [Wed, 15 Jun 2005 19:38:03 +0000 (19:38 -0000)]
last time, I promise

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

19 years ago2005-06-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 15 Jun 2005 19:13:41 +0000 (19:13 -0000)]
2005-06-15  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am (testaot): Use JITTEST_PROG_RUN for compiling the AOT module.

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

19 years ago2005-06-15 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 15 Jun 2005 17:47:31 +0000 (17:47 -0000)]
2005-06-15  Lluis Sanchez Gual <lluis@novell.com>

* CodeSubDirectory.cs:
* ExpressionBuilder.cs:
* AssemblyInfo.cs:
* BuildProviderCollection.cs:
* ExpressionBuilderCollection.cs:
* CodeSubDirectoriesCollection.cs:
* AnonymousIdentificationSection.cs: Track 2.0 api changes
in System.Configuration.

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

19 years ago2005-06-15 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 15 Jun 2005 17:47:04 +0000 (17:47 -0000)]
2005-06-15  Lluis Sanchez Gual <lluis@novell.com>

* System.dll.sources: Added ProviderBase.cs.

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

19 years ago2005-06-15 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 15 Jun 2005 17:46:41 +0000 (17:46 -0000)]
2005-06-15  Lluis Sanchez Gual <lluis@novell.com>

* ProviderBase.cs: Moved here from System.Configuration.dll.

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

19 years ago2005-06-15 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 15 Jun 2005 17:46:18 +0000 (17:46 -0000)]
2005-06-15  Lluis Sanchez Gual <lluis@novell.com>

* HttpCachePolicyElement.cs:
* SmtpElement.cs: Track 2.0 API changes.

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

19 years ago2005-06-15 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 15 Jun 2005 17:45:27 +0000 (17:45 -0000)]
2005-06-15  Lluis Sanchez Gual  <lluis@novell.com>

* System.Configuration.sources: Added new files.

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

19 years agomore locale stuff
Ben Maurer [Wed, 15 Jun 2005 17:45:12 +0000 (17:45 -0000)]
more locale stuff

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

19 years ago2005-06-15 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 15 Jun 2005 17:42:11 +0000 (17:42 -0000)]
2005-06-15  Lluis Sanchez Gual <lluis@novell.com>

* ConfigurationElement.cs, ConfigurationErrorsException.cs
SectionInfo.cs, ConnectionStringSettingsCollection.cs,
ConfigurationPropertyCollection.cs, ProtectedConfigurationProvider.cs,
ConfigurationSection.cs, NonEmptyStringConfigurationProperty.cs,
ConfigurationElementCollectionType.cs, Configuration.cs,
ConnectionStringSettings.cs, ConfigurationProperty.cs,
ConfigurationLocationCollection.cs, TimeSpanConfigurationProperty.cs,
ConfigurationAllowDefinition.cs, ConfigInfo.cs,
ConfigurationSectionGroupCollection.cs, AppSettingsSection.cs,
ProviderSettingsCollection.cs, IntegerConfigurationProperty.cs,
SectionGroupInfo.cs, ConfigurationUserLevel.cs,
ConnectionStringsSection.cs, ConfigurationPropertyAttribute.cs,
ConfigurationLocation.cs, ConfigurationSectionCollection.cs,
ConfigurationSectionGroup.cs, RuntimeOnlySection.cs,
ProviderSettings.cs:
Track API changes.

* ConfigurationElementCollection.cs: Implemented support for Basic
collection type. Other fixes.

* ConfigurationPropertyFlags.cs: Renamed to ConfigurationPropertyOptions.
* ConfigurationUpdateMode.cs: Renamed to ConfigurationSaveMode.

* SectionInformation.cs, ConfigurationAllowExeDefinition.cs
ConfigurationManager.cs, ConfigurationSaveMode.cs,
ConfigurationValidatorAttribute.cs, ProtectedConfigurationSection.cs,
ConfigurationValidatorBase.cs, ConfigurationPropertyOptions.cs:
New files.

* ConfigurationValidationAttribute.cs: Removed.

* ProviderBase.cs: Moved to System.dll.

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

19 years ago2005-06-15 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 15 Jun 2005 17:41:41 +0000 (17:41 -0000)]
2005-06-15  Lluis Sanchez Gual <lluis@novell.com>

* IInternalConfigRoot.cs, IInternalConfigSettingsFactory.cs,
IConfigSystem.cs, IConfigurationManagerInternal.cs,
IInternalConfigSystem.cs, IInternalConfigRecord.cs,
IInternalConfigConfigurationFactory.cs, InternalConfigEventArgs.cs,
IInternalConfigClientHost.cs, StreamChangeCallback.cs,
IInternalConfigHost.cs, IConfigErrorInfo.cs, DelegatingConfigHost.cs,
IConfigurationManagerHelper.cs, ChangeLog, InternalConfigEventHandler.cs:
Added.

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

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

* reflection.c (mono_image_get_inflated_method_token): Encode
correct klass; fixes #75260.

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

19 years ago * Syscall.cs: s/LOG_USRE/LOG_USER/. Fixes #75274.
Jonathan Pryor [Wed, 15 Jun 2005 17:35:35 +0000 (17:35 -0000)]
  * Syscall.cs: s/LOG_USRE/LOG_USER/.  Fixes #75274.
    Thanks to Martin Honermeyer.

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

19 years ago2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Wed, 15 Jun 2005 16:35:23 +0000 (16:35 -0000)]
2005-06-15  Alexander Olk  <xenomorph2@onlinehome.de>

* System.Windows.Forms.dll.sources: Added Mime.cs and
MimeGenerated.cs.

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

19 years ago2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Wed, 15 Jun 2005 16:28:16 +0000 (16:28 -0000)]
2005-06-15  Alexander Olk  <xenomorph2@onlinehome.de>

* Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
usage

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

19 years ago2005-06-13 Michal Moskal <malekith@nemerle.org>
Martin Baulig [Wed, 15 Jun 2005 16:26:24 +0000 (16:26 -0000)]
2005-06-13  Michal Moskal <malekith@nemerle.org>

* MonoGenericClass.cs: Don't use MethodHandle in GetMethod/GetConstructor,
since it now throws on MethodBuilders. Don't use FieldHandle in
GetField (throws on FieldBuilder) - just use the name.

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

19 years ago2005-06-13 Michal Moskal <malekith@nemerle.org>
Martin Baulig [Wed, 15 Jun 2005 16:25:52 +0000 (16:25 -0000)]
2005-06-13  Michal Moskal <malekith@nemerle.org>

* MonoType.cs: Don't use MethodHandle in GetMethod/GetConstructor,
since it now throws on MethodBuilders. Don't use FieldHandle in
GetField (throws on FieldBuilder) - just use the name.

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

19 years ago2005-06-13 Michal Moskal <malekith@nemerle.org>
Martin Baulig [Wed, 15 Jun 2005 16:25:13 +0000 (16:25 -0000)]
2005-06-13 Michal Moskal <malekith@nemerle.org>

* icall.c: Make GetCorrespondingMethod/Constructor take
MonoReflectionMethod method not MonoMethod. Removed
MonoType.GetCorrespondingField, and make
MonoGenericType.GetCorrespondingField take name not
MonoClassField.

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