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
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
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
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
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
Martin Baulig [Fri, 17 Jun 2005 12:52:33 +0000 (12:52 -0000)]
New tests.
svn path=/trunk/mcs/; revision=46137
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
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
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
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
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
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
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
Raja R Harinath [Fri, 17 Jun 2005 08:31:41 +0000 (08:31 -0000)]
svn:eol-style=native
svn path=/trunk/mcs/; revision=46126
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
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
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
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
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
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
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
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
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
Martin Baulig [Fri, 17 Jun 2005 06:32:31 +0000 (06:32 -0000)]
Ooops; removed debugging statement.
svn path=/trunk/mcs/; revision=46116
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Ben Maurer [Wed, 15 Jun 2005 19:38:03 +0000 (19:38 -0000)]
last time, I promise
svn path=/trunk/mono/; revision=46067
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
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
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
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
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
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
Ben Maurer [Wed, 15 Jun 2005 17:45:12 +0000 (17:45 -0000)]
more locale stuff
svn path=/trunk/mcs/; revision=46059
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
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
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
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
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
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
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
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
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
Ben Maurer [Wed, 15 Jun 2005 16:04:05 +0000 (16:04 -0000)]
* configure.in: Another attempt at the portable "find libX11.so"
Hopefully, this one has no code paths where we are worse off than
what we had before any of this mess.
svn path=/trunk/mono/; revision=46048
Martin Baulig [Wed, 15 Jun 2005 16:03:26 +0000 (16:03 -0000)]
Updated the patch; it's from #75251.
svn path=/trunk/mono/; revision=46047
Martin Baulig [Wed, 15 Jun 2005 14:33:11 +0000 (14:33 -0000)]
2005-06-15 Martin Baulig <martin@ximian.com>
* icall.c (ves_icall_MonoGenericClass_GetParentType): Return NULL
if our parent is not a dynamic type.
svn path=/trunk/mono/; revision=46045
Martin Baulig [Wed, 15 Jun 2005 14:10:38 +0000 (14:10 -0000)]
Applied a patch from David Waite <dwaite@gmal.com> containing some collection updates.
svn path=/trunk/mcs/; revision=46043
Ben Maurer [Wed, 15 Jun 2005 14:09:22 +0000 (14:09 -0000)]
2005-06-15 Ben Maurer <bmaurer@ximian.com>
* configure.in: What I hope is a more portable version hack.
svn path=/trunk/mono/; revision=46042
Martin Baulig [Wed, 15 Jun 2005 13:39:26 +0000 (13:39 -0000)]
2005-06-15 Martin Baulig <martin@ximian.com>
Applied a patch from Michal Moskal <michal.moskal@gmail.com>.
* reflection.c (encode_locals, field_encode_signature): Increase
the default sizes of the buffers a little bit.
svn path=/trunk/mono/; revision=46041
Martin Baulig [Wed, 15 Jun 2005 13:36:53 +0000 (13:36 -0000)]
2005-06-15 Martin Baulig <martin@ximian.com>
* System/GenericParameterAttributes.cs: Move to System.Reflection;
thanks to Kamil Skalski <nazgul@nemerle.org> for pointing this out.
svn path=/trunk/mcs/; revision=46040
Martin Baulig [Wed, 15 Jun 2005 13:25:58 +0000 (13:25 -0000)]
Fix warnings.
svn path=/trunk/mcs/; revision=46039
Martin Baulig [Wed, 15 Jun 2005 13:16:55 +0000 (13:16 -0000)]
2005-06-15 Martin Baulig <martin@ximian.com>
* attribute.cs (Attribute.CheckSecurityActionValidity): Remove the
obsolete `SecurityAction' values.
svn path=/trunk/mcs/; revision=46038
Martin Baulig [Wed, 15 Jun 2005 13:07:19 +0000 (13:07 -0000)]
Small fix.
svn path=/trunk/mcs/; revision=46037
Martin Baulig [Wed, 15 Jun 2005 13:04:48 +0000 (13:04 -0000)]
2005-06-13 Martin Baulig <martin@ximian.com>
* MonoType.cs
(MonoType.getFullName): Added `bool assembly_qualified' argument.
(MonoType.AssemblyQualifiedName): The interncall now adds the
assembly name, so we don't need to do it here.
(MonoType.FullName): Use the new getFullName() API.
svn path=/trunk/mcs/; revision=46036
Martin Baulig [Wed, 15 Jun 2005 13:03:56 +0000 (13:03 -0000)]
2005-06-15 Martin Baulig <martin@ximian.com>
* class-internals.h (MonoTypeNameFormat): New enum.
* class.c
(mono_class_get_name_full): Renamed to mono_type_get_name_full().
(mono_type_get_full_name): Removed.
(mono_type_get_name_full): Take a `MonoTypeNameFormat format'
argument instead of the boolean's.
* icall.c (ves_icall_System_MonoType_getFullName):
Added `gboolean assembly_qualified'.
* reflection.h
(MonoTypeNameParse): Added `GPtrArray *type_arguments'.
* reflection.c (mono_reflection_parse_type): Parse the new type
name format.
svn path=/trunk/mono/; revision=46035
Atsushi Eno [Wed, 15 Jun 2005 11:33:25 +0000 (11:33 -0000)]
2005-06-15 Atsushi Enomoto <atsushi@ximian.com>
* SmallXmlParser.cs, SecurityParser.cs : they can be CLSCompliant now.
svn path=/trunk/mcs/; revision=46034
Sureshkumar T [Wed, 15 Jun 2005 11:24:30 +0000 (11:24 -0000)]
2005-06-15 Sureshkumar T <tsureshkumar@novell.com>
* System.Data/DataRow.cs: CheckChildRows: cascade parent changes to child rows
only if there is a change in columns of the fk constraint.
* Test/System.Data/DataSetTest.cs: added a test case for DataSet changes cascading
to child tables. test case idea from george.barbarosie@gmail.com
(George Barbarosie) in bug #75226.
svn path=/trunk/mcs/; revision=46033
Sebastien Pouliot [Wed, 15 Jun 2005 10:45:00 +0000 (10:45 -0000)]
2005-06-15 Sebastien Pouliot <sebastien@ximian.com>
* Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
attributes that were added in 1.1 SP1 or 2.0 beta2.
svn path=/trunk/mcs/; revision=46031
Raja R Harinath [Wed, 15 Jun 2005 08:29:00 +0000 (08:29 -0000)]
* Makefile (EXTRA_DISTFILES): Remove. There's no Test/ directory.
Reported by Ritvik Mayank.
svn path=/trunk/mcs/; revision=46030
Raja R Harinath [Wed, 15 Jun 2005 08:25:35 +0000 (08:25 -0000)]
* Makefile (DISTFILES): Fix for 'make distcheck'.
svn path=/trunk/mcs/; revision=46027
Gonzalo Paniagua Javier [Wed, 15 Jun 2005 07:30:21 +0000 (07:30 -0000)]
2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControlCompiler.cs: if the property is not found, don't forget
about trying the field.
svn path=/trunk/mcs/; revision=46022
Raja R Harinath [Wed, 15 Jun 2005 06:59:33 +0000 (06:59 -0000)]
* Makefile.am (testbundle): Run the testcase with MONO_PATH set to
the build tree -- it's built with autodeps off.
svn path=/trunk/mono/; revision=46018
Raja R Harinath [Wed, 15 Jun 2005 06:51:35 +0000 (06:51 -0000)]
* tests/Makefile (run-test-local): Run with $(TEST_RUNTIME).
* errors/Makefile (run-mcs-tests): Likewise.
svn path=/trunk/mcs/; revision=46017
Gonzalo Paniagua Javier [Wed, 15 Jun 2005 06:34:10 +0000 (06:34 -0000)]
2005-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Binder.cs: null is ok for a value type. Fixes bug #75241.
svn path=/trunk/mcs/; revision=46014
Raja R Harinath [Wed, 15 Jun 2005 05:56:46 +0000 (05:56 -0000)]
* executable.make (dist-local): Copy from library.make.
svn path=/trunk/mcs/; revision=46011
Atsushi Eno [Wed, 15 Jun 2005 04:16:01 +0000 (04:16 -0000)]
oops.
svn path=/trunk/mcs/; revision=46009
Atsushi Eno [Wed, 15 Jun 2005 04:09:21 +0000 (04:09 -0000)]
2005-06-15 Atsushi Enomoto <atsushi@ximian.com>
remove duplicate MonoTODOAttribute.cs from *.dll.sources.
svn path=/trunk/mcs/; revision=46008
Gonzalo Paniagua Javier [Wed, 15 Jun 2005 03:16:20 +0000 (03:16 -0000)]
2005-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* PageParser.cs: don't try to compile the master page if it wan't
provided. Use MapPath from the base classes instead of the long
version. Fixes bug #75269 that prevented xsp2 from working properly.
svn path=/trunk/mcs/; revision=46006
Ben Maurer [Wed, 15 Jun 2005 02:58:59 +0000 (02:58 -0000)]
oops
svn path=/trunk/mono/; revision=46005
Ben Maurer [Wed, 15 Jun 2005 00:07:22 +0000 (00:07 -0000)]
fix up dist build
svn path=/trunk/mcs/; revision=45998
Ben Maurer [Tue, 14 Jun 2005 21:30:18 +0000 (21:30 -0000)]
use the version from configure.in
svn path=/trunk/mcs/; revision=45993