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

19 years ago * configure.in: Another attempt at the portable "find libX11.so"
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

19 years agoUpdated the patch; it's from #75251.
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

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

19 years agoApplied a patch from David Waite <dwaite@gmal.com> containing some collection updates.
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

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

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

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

19 years agoFix warnings.
Martin Baulig [Wed, 15 Jun 2005 13:25:58 +0000 (13:25 -0000)]
Fix warnings.

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

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

19 years agoSmall fix.
Martin Baulig [Wed, 15 Jun 2005 13:07:19 +0000 (13:07 -0000)]
Small fix.

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

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

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

19 years ago2005-06-15 Atsushi Enomoto <atsushi@ximian.com>
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

19 years ago2005-06-15 Sureshkumar T <tsureshkumar@novell.com>
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

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

19 years ago* Makefile (EXTRA_DISTFILES): Remove. There's no Test/ directory.
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

19 years ago* Makefile (DISTFILES): Fix for 'make distcheck'.
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

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

19 years ago* Makefile.am (testbundle): Run the testcase with MONO_PATH set to
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

19 years ago* tests/Makefile (run-test-local): Run with $(TEST_RUNTIME).
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

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

19 years ago* executable.make (dist-local): Copy from library.make.
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

19 years agooops.
Atsushi Eno [Wed, 15 Jun 2005 04:16:01 +0000 (04:16 -0000)]
oops.

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

19 years ago2005-06-15 Atsushi Enomoto <atsushi@ximian.com>
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

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

19 years agooops
Ben Maurer [Wed, 15 Jun 2005 02:58:59 +0000 (02:58 -0000)]
oops

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

19 years agofix up dist build
Ben Maurer [Wed, 15 Jun 2005 00:07:22 +0000 (00:07 -0000)]
fix up dist build

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

19 years agouse the version from configure.in
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

19 years ago * configure.in: echo the version number to
Ben Maurer [Tue, 14 Jun 2005 21:29:10 +0000 (21:29 -0000)]
* configure.in: echo the version number to
mcs/build/common/MonoVersion.cs. This allows us to not need to
update AssemblyInfo.cs every time we bump the version number.

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

19 years ago2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 14 Jun 2005 19:45:07 +0000 (19:45 -0000)]
2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>

* Al.cs: Added support for signing/delay-signing/ecma-delay-signing.
* Makefile: Added dependency on Mono.Security.dll for CryptoConvert.

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

19 years agomore copy and paste reuse going away
Ben Maurer [Tue, 14 Jun 2005 19:21:45 +0000 (19:21 -0000)]
more copy and paste reuse going away

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

19 years ago* Makefile (run-test-local): Don't pick 'mono' from the path.
Raja R Harinath [Tue, 14 Jun 2005 18:44:49 +0000 (18:44 -0000)]
* Makefile (run-test-local): Don't pick 'mono' from the path.

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

19 years agoRemove copy and paste reuse for Locale.cs.
Ben Maurer [Tue, 14 Jun 2005 18:30:41 +0000 (18:30 -0000)]
Remove copy and paste reuse for Locale.cs.

First step in attempting to do an actual framework here.

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

19 years ago2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 14 Jun 2005 17:50:23 +0000 (17:50 -0000)]
2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>

* README: Add information about optional mutual authentication.
* serveropt.sh: New. Server script to use OpenSSL to accept (but not
require) client certificates.

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

19 years ago2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 14 Jun 2005 17:45:51 +0000 (17:45 -0000)]
2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>

* TlsClientCertificate.cs: Add support for _optional_ mutual
authentication. SSL3 and TLS1 deals differently with this. SSL3 tested
with OpenSSL, TSL1 tested with OpenSSL and LDAPS/AD.

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

19 years ago2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 14 Jun 2005 17:44:44 +0000 (17:44 -0000)]
2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>

* SslClientStream.cs: Add support for _optional_ mutual authentication.
SSL3 and TLS1 deals differently with this. SSL3 tested with OpenSSL,
TSL1 tested with OpenSSL and LDAPS/AD.

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

19 years agoTue Jun 14 20:02:58 CEST 2005
Martin Baulig [Tue, 14 Jun 2005 17:18:18 +0000 (17:18 -0000)]
Tue Jun 14 20:02:58 CEST 2005

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

19 years agoIn mono/tests:
Ben Maurer [Tue, 14 Jun 2005 15:55:43 +0000 (15:55 -0000)]
In mono/tests:
2005-06-14  Ben Maurer  <bmaurer@ximian.com>

* Makefile.am (testbundle): Test case that bundling works with a
hello world.

In .:
2005-06-14  Ben Maurer  <bmaurer@ximian.com>

* mono-uninstalled.pc.in: pc file that handles mono when it is not
installed. This lets us have mkbundle work inside the tree.

* configure.in: Create the .pc file above.

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

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

* AssemblyBuilderTest.cs: Split AssemblyName_PublicKey to move culture
tests to a new method (as their problem is different from #75246).

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

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

* AssemblyNameCas.cs: Removed execution of AssemblyNameTest.Self as it
is now NotWorking.

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

19 years ago2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 14 Jun 2005 14:23:03 +0000 (14:23 -0000)]
2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFileCas.cs: Added MaximumSize unit tests.

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

19 years ago2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 14 Jun 2005 14:21:49 +0000 (14:21 -0000)]
2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFileStream.cs: Remove Close method from NET_2_0.
* IsolatedStorageFile.cs: Implemented missing MaximumSize property
and GetPermission method.

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

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

* AssemblyBuilder.cs: Override UnprotectedGetName to set the public
key (if available).

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

19 years ago2005-06-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 14 Jun 2005 14:17:53 +0000 (14:17 -0000)]
2005-06-14  Sebastien Pouliot  <sebastien@ximian.com>

* Assembly.cs: UnprotectedGetName is now virtual to allow for more
initialization in AssemblyBuilder. The [Granted|Refused]PermissionSet
now use the ResolvingPolicyLevel to support the policy
FullTrustAssemblies during resolution.
* AssemblyName.cs: Return null instead of "new byte [0]" if no public
key is available.

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

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

* Evidence.cs: Avoid creating the synchronized array lists unless they
are needed.
* PolicyLevel.cs: Fixed System.Drawing public key. IsFullTrustAssembly
can now executed without a Demand for the AssemblyName. Added the
UnionCodeGroup in the default policies. Reworked initialization to
support FullyTrustedAssemblies.

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

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

* SecurityManager.cs: Added ResolvingPolicyLevel property to enable
support for FullTrustAssemblies during policy resolution. Reworked
(simplified) locking. Moved check for CheckExecutionRights to the
"right" place.
* PermissionSet.cs: Added shortcut in GetPermission(Type).

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

19 years ago2005-06-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Jun 2005 13:29:49 +0000 (13:29 -0000)]
2005-06-14  Atsushi Enomoto  <atsushi@ximian.com>

* DataSetTest.cs : quick build fix.

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

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

* CharCategoryTest.cs: Added new whitespace (to fix failure on Mono,
there are other failures when executed under 2.0 beta 2).

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

19 years ago* parser.cs (Parser.ConsumeWhitespace): Add bounds check.
Raja R Harinath [Tue, 14 Jun 2005 12:20:57 +0000 (12:20 -0000)]
* parser.cs (Parser.ConsumeWhitespace): Add bounds check.

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