mono.git
20 years ago2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Jun 2004 10:37:11 +0000 (10:37 -0000)]
2004-06-11  Atsushi Enomoto  <atsushi@ximian.com>

* Uri.cs : Handle Windows UNC. Now we could simplify Parse(). Don't
  escape windows path twice. Check scheme name as defined in RFC2396.

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

20 years ago**** Merged from MCS ****
Martin Baulig [Fri, 11 Jun 2004 10:37:01 +0000 (10:37 -0000)]
**** Merged from MCS ****

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

20 years agoOoops, varargs methods are not CLS compliant.
Martin Baulig [Fri, 11 Jun 2004 10:36:14 +0000 (10:36 -0000)]
Ooops, varargs methods are not CLS compliant.

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

20 years ago* Makefile (TEST_SOURCES): Add test-268.
Raja R Harinath [Fri, 11 Jun 2004 10:30:40 +0000 (10:30 -0000)]
* Makefile (TEST_SOURCES): Add test-268.
* test-268.cs: New test for #59477.

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

20 years agoFix bug #59477.
Raja R Harinath [Fri, 11 Jun 2004 10:30:04 +0000 (10:30 -0000)]
Fix bug #59477.
* ecore.cs (ResolveFlags): Add new 'Intermediate' flag to tell
that the call to Resolve is part of a MemberAccess.
(Expression.Resolve): Use it for SimpleName resolution.
(SimpleName.SimpleNameResolve, SimpleName.DoResolveAllowStatic):
Add 'intermediate' boolean argument.
(SimpleName.DoSimpleNameResolve): Likewise.  Use it to disable an
error message when the SimpleName can be resolved ambiguously
between an expression and a type.
* expression.cs (MemberAccess.IdenticalNameAndTypeName): Make
public.
(MemberAccess.Resolve): Pass 'Intermediate' flag to the Resolve()
call on the left-side.

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

20 years ago* ComponentEditorForm.cs: CRLF to LF
Gert Driesen [Fri, 11 Jun 2004 10:28:40 +0000 (10:28 -0000)]
* ComponentEditorForm.cs: CRLF to LF
* ControlDesigner.cs: API signature fix
* DocumentDesigner.cs: API signature fixes, CRLF to LF

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

20 years ago* System.Design.dll.sources: added more stub for classes
Gert Driesen [Fri, 11 Jun 2004 10:13:52 +0000 (10:13 -0000)]
* System.Design.dll.sources: added more stub for classes
in System.Windows.Forms.Design

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

20 years ago* AxParameterData.cs: stubbed
Gert Driesen [Fri, 11 Jun 2004 10:12:38 +0000 (10:12 -0000)]
* AxParameterData.cs: stubbed
* AxWrapperGen.cs: stubbed
* DockEditor.cs: stubbed
* EventHandlerService.cs: stubbed

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

20 years ago* ChangeLog: added, and move entries from changelog in System.Design here
Gert Driesen [Fri, 11 Jun 2004 10:06:15 +0000 (10:06 -0000)]
* ChangeLog: added, and move entries from changelog in System.Design here
* AxParameterData.cs: stubbed
* AxWrapperGen.cs: stubbed
* DockEditor.cs: stubbed
* EventHandlerService.cs: stubbed

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

20 years ago2004-06-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 11 Jun 2004 09:50:00 +0000 (09:50 -0000)]
2004-06-11  Marek Safar  <marek.safar@seznam.cz>

* class.cs:
(MethodCore.VerifyClsCompliance): Added test for error CS3000.

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

20 years ago* System.Design.dll.sources: added more stubs for classes
Gert Driesen [Fri, 11 Jun 2004 09:43:03 +0000 (09:43 -0000)]
* System.Design.dll.sources: added more stubs for classes
in System.Diagnostics.Design, System.Messaging.Design and
System.ServiceProcess.Design

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

20 years ago(PROGRAM_INSTALL_DIR): New define.
Raja R Harinath [Fri, 11 Jun 2004 09:40:46 +0000 (09:40 -0000)]
(PROGRAM_INSTALL_DIR): New define.
(install-local, uninstall-local): Use it.

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

20 years ago* ServiceControllerDesigner.cs: stubbed
Gert Driesen [Fri, 11 Jun 2004 09:39:12 +0000 (09:39 -0000)]
* ServiceControllerDesigner.cs: stubbed

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

20 years ago* MessageDesigner.cs: stubbed
Gert Driesen [Fri, 11 Jun 2004 09:38:45 +0000 (09:38 -0000)]
* MessageDesigner.cs: stubbed

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

20 years ago* LogConverter.cs: stubbed
Gert Driesen [Fri, 11 Jun 2004 09:38:14 +0000 (09:38 -0000)]
* LogConverter.cs: stubbed
* ProcessDesigner.cs: stubbed
* ProcessModuleDesigner.cs: stubbed
* ProcessThreadDesigner.cs: stubbed

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

20 years ago2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Jun 2004 09:31:41 +0000 (09:31 -0000)]
2004-06-11  Atsushi Enomoto  <atsushi@ximian.com>

* Uri.cs : Reverted some changes. '#' should be handled when the input
  string is NOT raw file path. So handle raw file paths differently.
  (right now except for Windows UNC).
  Cache LocalPath and don't compute every time.

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

20 years ago2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Jun 2004 09:31:14 +0000 (09:31 -0000)]
2004-06-11  Atsushi Enomoto  <atsushi@ximian.com>

* test-uri-list.txt,
  test-uri-props.txt,
  test-uri-props-manual.txt :
  Reverted the last change. File URI handling should be common to
  MS.NET. We have to change the behavior only for Unix file path.
* UriTest2.cs : Fixed just catch only UriFormatException.

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

20 years ago2004-06-11 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Fri, 11 Jun 2004 09:22:59 +0000 (09:22 -0000)]
2004-06-11 Anirban Bhattacharjee <banirban@novell.com>
        * Makefile: Removed inclusion of rules.make from Makefile for two reasons :
                - This Makefile as of now has no dependency on rules.make what so ever
                - Because of inclusion of INTENAL_MBAS in rules.make it was causing confliction with existing INTERNAL_MBAS in this makefile and causing lots of tests to fail

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

20 years ago2004-06-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 11 Jun 2004 09:21:55 +0000 (09:21 -0000)]
2004-06-11  Martin Baulig  <martin@ximian.com>

* String.cs (Concat): Implemented the varargs version.

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

20 years ago* Makefile: added reference to System.Data assembly
Gert Driesen [Fri, 11 Jun 2004 09:16:27 +0000 (09:16 -0000)]
* Makefile: added reference to System.Data assembly
* System.Design.dll.sources: added new stubbed classes

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

20 years ago* CalendarDataBindingHandler.cs: stubbed
Gert Driesen [Fri, 11 Jun 2004 09:16:01 +0000 (09:16 -0000)]
* CalendarDataBindingHandler.cs: stubbed
* ColorBuilder.cs: stubbed
* ControlParser.cs: stubbed
* ControlPersister.cs: stubbed
* DataBindingCollectionConverter.cs: stubbed
* DataBindingCollectionEditor.cs: stubbed
* DataBindingValueUIHandler.cs: stubbed
* DataFieldConverter.cs: stubbed
* DataMemberConverter.cs: stubbed
* DataSourceConverter.cs: stubbed
* DesignTimeData.cs: stubbed
* HtmlIntrinsicControlDesigner.cs: stubbed
* HyperLinkDataBindingHandler.cs: stubbed
* IControlDesignerBehaviour.cs: stubbed
* IDataSourceProvider.cs: stubbed
* ITemplateEditingFrame.cs: stubbed
* ITemplateEditingService.cs: stubbed
* IWebFormReferenceManager.cs: stubbed
* IWebFormsBuilderUIService.cs: stubbed
* IWebFormsDocumentService.cs: stubbed
* TemplateEditingService.cs: stubbed
* TemplateEditingVerb.cs: stubbed
* TemplatedControlDesigner.cs: stubbed
* TextControlDesigner.cs: stubbed
* TextDataBindingHandler.cs: stubbed
* UrlBuilder.cs: stubbed
* UserControlDesigner.cs: stubbed
* XmlFileEditor.cs: stubbed

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

20 years agoFri Jun 11 11:58:22 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 11 Jun 2004 09:09:50 +0000 (09:09 -0000)]
Fri Jun 11 11:58:22 CEST 2004 Paolo Molaro <lupus@ximian.com>

* LocalizableAttribute.cs, DesignerSerializationVisibilityAttribute.cs,
DesignOnlyAttribute.cs: fix targets for attributes.

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

20 years agonew test
Marek Safar [Fri, 11 Jun 2004 09:07:00 +0000 (09:07 -0000)]
new test

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

20 years ago2004-06-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 11 Jun 2004 09:04:54 +0000 (09:04 -0000)]
2004-06-11  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (Attribute.Emit): Fixed error CS0579 reporting.

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

20 years ago2004-06-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 11 Jun 2004 08:52:35 +0000 (08:52 -0000)]
2004-06-11  Martin Baulig  <martin@ximian.com>

* metadata.c (mono_metadata_parse_method_signature): When parsing
a MethodDef which has VarArgs, also set sentinelpos if we don't
have any parameters.

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

20 years agodetails, details
Gonzalo Paniagua Javier [Fri, 11 Jun 2004 08:47:09 +0000 (08:47 -0000)]
details, details

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

20 years ago2004-06-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 11 Jun 2004 08:45:14 +0000 (08:45 -0000)]
2004-06-11  Martin Baulig  <martin@ximian.com>

* vararg-lib.cs, vararg-exe.cs: New tests.

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

20 years ago2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Jun 2004 08:41:50 +0000 (08:41 -0000)]
2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SessionSQLServerHandler.cs:
* SessionStateServerHandler.cs:
* ISessionHandler.cs: added new parameter to Init.

* SessionInProcHandler.cs: use the HttpRuntime cache to store the
sessions and handle expiration.

* SessionStateModule.cs: added OnSessionRemoved internal method that is
called whenever a session expires or is removed.

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

20 years ago2004-06-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 11 Jun 2004 08:40:45 +0000 (08:40 -0000)]
2004-06-11  Martin Baulig  <martin@ximian.com>

* Makefile: Enable test-269.

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

20 years ago2004-06-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 11 Jun 2004 08:39:41 +0000 (08:39 -0000)]
2004-06-08  Martin Baulig  <martin@ximian.com>

* Makefile: Enable test-157.

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

20 years ago2004-06-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 11 Jun 2004 08:38:42 +0000 (08:38 -0000)]
2004-06-11  Martin Baulig  <martin@ximian.com>

* verify.c (mono_method_verify): In CEE_CALL, use
mono_method_get_signature() to get the method's signature, unless
we're a PInvoke method.

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

20 years ago2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Jun 2004 08:38:21 +0000 (08:38 -0000)]
2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspGenerator.cs:
* CachingCompiler.cs: use a different prefix when caching compiler
results or Types.

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

20 years ago2004-06-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 11 Jun 2004 08:27:49 +0000 (08:27 -0000)]
2004-06-11  Martin Baulig  <martin@ximian.com>

* get.c (get_methodref_signature): If we're a varargs method,
print "..." for the sentinel followed by the actual types.

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

20 years ago * StrongNameKeyPair.cs: Catch exception when getting PublicKey to match
Lluis Sanchez [Fri, 11 Jun 2004 08:14:54 +0000 (08:14 -0000)]
* StrongNameKeyPair.cs: Catch exception when getting PublicKey to match
  MS implementation. Generate the RSA in the constructors.

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

20 years ago2004-06-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 11 Jun 2004 07:59:33 +0000 (07:59 -0000)]
2004-06-11  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.EmitCall): Use OpCodes.Callvirt for
varargs methods if applicable.

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

20 years ago2004-06-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 11 Jun 2004 07:31:11 +0000 (07:31 -0000)]
2004-06-11  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.EmitCall): Don't use
`method.CallingConvention == CallingConventions.VarArgs' since the
method could also have `CallingConventions.HasThis'.

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

20 years ago* ArrayEditor.cs: removed extra finalizer
Gert Driesen [Fri, 11 Jun 2004 07:24:46 +0000 (07:24 -0000)]
* ArrayEditor.cs: removed extra finalizer
* BinaryEditor.cs: stubbed
* ByteViewer.cs: removed extra finalizer, added missing method
* CollectionEditor.cs: removed extra finalizer
* DateTimeEditor.cs: stubbed
* InheritanceService.cs: removedd extra finalizer
* LocalizationExtenderProvider.cs: added missing attributes,
removed extra finalizer
* ObjectSelectorEditor.cs: stubbed

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

20 years ago* System.Configuration.Install.dll.sources: added
Gert Driesen [Fri, 11 Jun 2004 06:51:45 +0000 (06:51 -0000)]
* System.Configuration.Install.dll.sources: added
stubbed classes

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

20 years ago* EventLogInstaller.cs: stubbed
Gert Driesen [Fri, 11 Jun 2004 06:41:27 +0000 (06:41 -0000)]
* EventLogInstaller.cs: stubbed
* PerformanceCounterInstaller.cs: stubbed

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

20 years ago* Consts.cs: Replaced by Consts.cs from System.Messaging
Gert Driesen [Fri, 11 Jun 2004 06:37:41 +0000 (06:37 -0000)]
* Consts.cs: Replaced by Consts.cs from System.Messaging

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

20 years ago* Installer.cs: use Type instead of string argument for
Gert Driesen [Fri, 11 Jun 2004 06:36:21 +0000 (06:36 -0000)]
* Installer.cs: use Type instead of string argument for
Designer attribute

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

20 years ago2004-06-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 11 Jun 2004 06:27:01 +0000 (06:27 -0000)]
2004-06-11  Marek Safar  <marek.safar@seznam.cz>

* class.cs (Event.GetSignatureForError): Implemented.
Fixed crash in error test cs3010.cs

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

20 years ago2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Jun 2004 06:06:04 +0000 (06:06 -0000)]
2004-06-11  Atsushi Enomoto <atsushi@ximian.com>

* IHasXmlParserContext.cs, IHasXmlSchemaInfo.cs : internal.

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

20 years ago* AssemblyInstaller.cs: stubbed
Gert Driesen [Fri, 11 Jun 2004 06:05:10 +0000 (06:05 -0000)]
* AssemblyInstaller.cs: stubbed
* ManagedInstallerClass.cs: stubbed
* TransactedInstaller.cs: stubbed

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

20 years ago2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Jun 2004 05:24:37 +0000 (05:24 -0000)]
2004-06-11  Atsushi Enomoto <atsushi@ximian.com>

* XsdValidatingReader.cs : Identity check didn't work fine when
  reference node appeared in front of the target key node.
  This fixes bug #59889.

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

20 years ago * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
Ravindra [Fri, 11 Jun 2004 05:14:51 +0000 (05:14 -0000)]
    * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
        from out int to out IntPtr.
        * SolidBrush.cs: Same.

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

20 years ago* SoapAttribute.cs: use protected field to store namespace value,
Gert Driesen [Fri, 11 Jun 2004 05:11:27 +0000 (05:11 -0000)]
* SoapAttribute.cs: use protected field to store namespace value,
removed obsolete private field

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

20 years ago* LingerOption.cs: marked field private to fix API signature
Gert Driesen [Fri, 11 Jun 2004 05:07:35 +0000 (05:07 -0000)]
* LingerOption.cs: marked field private to fix API signature
* MulticastOption.cs: marked field private to fix API signature

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

20 years ago* Information.cs: use Type.Name property instead of Type.get_Name()
Gert Driesen [Fri, 11 Jun 2004 05:05:17 +0000 (05:05 -0000)]
* Information.cs: use Type.Name property instead of Type.get_Name()
accessor method.  This fixes the build on Windows (csc). Reported
as mcs bug #59980.

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

20 years agoMONO_CODEDOM_NODELETE is MONO_ASPNET_NODELETE now
Gonzalo Paniagua Javier [Fri, 11 Jun 2004 04:11:12 +0000 (04:11 -0000)]
MONO_CODEDOM_NODELETE is MONO_ASPNET_NODELETE now

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

20 years ago2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Jun 2004 04:08:44 +0000 (04:08 -0000)]
2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CSharpCodeCompiler.cs: let the TempFileCollection handle the removal
of the files if needed.

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

20 years ago2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Jun 2004 04:03:13 +0000 (04:03 -0000)]
2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BaseCompiler.cs: dynamicBase is now protected. Check
MONO_ASPNET_NODELETE here.

* TemplateControlCompiler.cs: if the type is not known but has a
TypeConverter, invoke ConvertFromString in the generated code.

* WebServiceCompiler.cs: it used a hardcoded C# compiler, now it gets
the compiler from the configuration. Also handle MONO_ASPNET_NODELETE.

* CachingCompiler.cs: updated compilation of web services and simple
web handlers.

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

20 years ago2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Jun 2004 03:56:18 +0000 (03:56 -0000)]
2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpUtility.cs: check for control characters in the string to encode
or decode and return the same string if there are none.

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

20 years ago * ILTables.cs: Remove opcodes, these are contained in codegen/IntrTable.cs
Jackson Harper [Fri, 11 Jun 2004 03:19:38 +0000 (03:19 -0000)]
    * ILTables.cs: Remove opcodes, these are contained in codegen/IntrTable.cs
* ILTokenizer.cs: Dont refer to ILTables::Opcodes

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

20 years ago * driver.cs: We don't need to check if the canidate is a file in
Jackson Harper [Fri, 11 Jun 2004 03:09:39 +0000 (03:09 -0000)]
    * driver.cs: We don't need to check if the canidate is a file in
IsSwitch anymore as some other commandline handling will take care
of this case.

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

20 years ago2004-06-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Jun 2004 02:29:25 +0000 (02:29 -0000)]
2004-06-10  Sebastien Pouliot  <sebastien@ximian.com>

* DecimalTest.cs: Added rounding tests for negative values. Added more
checks to ParseFractions. Removed test TooSmall because it was a bad
interaction between a buggy corlib (buggy decimal) and the tests (i.e.
the value was legal).

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

20 years ago2004-06-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 11 Jun 2004 02:22:40 +0000 (02:22 -0000)]
2004-06-10  Sebastien Pouliot  <sebastien@ximian.com>

* Decimal.cs: Hacked the Parse method to allow the runtime C code to
decode it properly (i.e. matching MS results). Fixed the Round method
for negative decimal numbers (moved code from Math.cs).
* Math.cs: Now use Decimal class for Round(Decimal,int). Required to
fix a bug when rounding a negative decimal.

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

20 years agoAdd license and copyright to all source files in corlib
Duncan Mak [Fri, 11 Jun 2004 02:09:36 +0000 (02:09 -0000)]
Add license and copyright to all source files in corlib

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

20 years ago2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Jun 2004 01:24:35 +0000 (01:24 -0000)]
2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpApplication.cs: change/restore the IPrincipal in their
own methods and make them internal.

* System.Web.Security/DefaultAuthenticationModule.cs: set the IPrincipal
for this thread once we have a user. Fixes bug #59683.

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

20 years ago2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Jun 2004 01:18:21 +0000 (01:18 -0000)]
2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Thread.cs:
(CurrentPrincipal): lock on CurrentThread, not typeof (Thread) and set
the thread IPrincipal if we get it from the AppDomain.

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

20 years ago2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Jun 2004 01:14:57 +0000 (01:14 -0000)]
2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AppDomain.cs: set the _principal to null when changing the policy.
* Console.cs: remove ClsCompliant attribute from a method marked as
internal and added comment.

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

20 years ago Rename MONO_GAC_PATH to MONO_GAC_PREFIX, this is a more
Jackson Harper [Thu, 10 Jun 2004 23:47:30 +0000 (23:47 -0000)]
    Rename MONO_GAC_PATH to MONO_GAC_PREFIX, this is a more
logical name as the supplied path is just a prefix to the gac not
the direct path to it.

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

20 years agofix
Gonzalo Paniagua Javier [Thu, 10 Jun 2004 23:11:58 +0000 (23:11 -0000)]
fix

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

20 years ago * AssemblyName.cs: Added missing fields to serialization methods.
Lluis Sanchez [Thu, 10 Jun 2004 21:38:02 +0000 (21:38 -0000)]
* AssemblyName.cs: Added missing fields to serialization methods.
* StrongNameKeyPair.cs: Made it compatible with MS serialization.

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

20 years ago * assembly.c: Use <path>/lib/mono/gac for the extra paths
Jackson Harper [Thu, 10 Jun 2004 21:33:43 +0000 (21:33 -0000)]
    * assembly.c: Use <path>/lib/mono/gac for the extra paths
          lookup.

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

20 years ago * ILTokenizingExpcetion.cs: New exception thrown by the tokenizer
Jackson Harper [Thu, 10 Jun 2004 21:01:19 +0000 (21:01 -0000)]
    * ILTokenizingExpcetion.cs: New exception thrown by the tokenizer
if any tokenizing errors occur.
* ILTokenizer.cs:
* NumberHelper.cs: Use the new exception.

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

20 years ago * Driver.cs: Handle tokenization errors with the correct error
Jackson Harper [Thu, 10 Jun 2004 21:00:18 +0000 (21:00 -0000)]
    * Driver.cs: Handle tokenization errors with the correct error
message.
* Report.cs: Print error messages properly. Add an extra \n after
the assemble file message.
* ilasm.exe.sources: Add new exception, remove old one.

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

20 years ago2004/06/10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 10 Jun 2004 20:50:52 +0000 (20:50 -0000)]
2004/06/10  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* typemanager.cs : GetPertinentStandardModules receives the array now with params modifier to help usage
* ecore.cs : correcting lookup of semi-qualified standard modules members - A little better but not there yet

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

20 years agoNot yet
Miguel de Icaza [Thu, 10 Jun 2004 20:28:39 +0000 (20:28 -0000)]
Not yet

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

20 years agoMake the new gacutil the default again.
Jackson Harper [Thu, 10 Jun 2004 19:48:34 +0000 (19:48 -0000)]
Make the new gacutil the default again.

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

20 years ago2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 10 Jun 2004 19:40:17 +0000 (19:40 -0000)]
2004-06-10  Atsushi Enomoto  <atsushi@ximian.com>

* UriTest.cs : Should not expect exception for Unix file path.

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

20 years agoadded new site news item
Erik Dasque [Thu, 10 Jun 2004 19:29:17 +0000 (19:29 -0000)]
added new site news item

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

20 years ago* RegexRunner.cs: fixed case mismatch of methods
Gert Driesen [Thu, 10 Jun 2004 18:37:54 +0000 (18:37 -0000)]
* RegexRunner.cs: fixed case mismatch of methods

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

20 years ago * errors: This directory will contain assembly files that should
Jackson Harper [Thu, 10 Jun 2004 18:28:43 +0000 (18:28 -0000)]
    * errors: This directory will contain assembly files that should
not compile.
* bad_bytearray.il: A bad bytearray in a .data line. Should give a
syntax error.

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

20 years ago2004-06-10 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 10 Jun 2004 18:11:31 +0000 (18:11 -0000)]
2004-06-10  Miguel de Icaza  <miguel@ximian.com>

* cs-tokenizer.cs: Change the way we track __arglist to be
consistent with the other keywords.

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

20 years ago* RegexRunner.cs: marked TODO, added missing protected internal
Gert Driesen [Thu, 10 Jun 2004 18:06:31 +0000 (18:06 -0000)]
* RegexRunner.cs: marked TODO, added missing protected internal
fields, throw NotImplementedException in all methods

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

20 years ago2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 10 Jun 2004 18:01:45 +0000 (18:01 -0000)]
2004-06-10  Atsushi Enomoto  <atsushi@ximian.com>

* Uri.cs : Don't escape '#' in file URI paths. This fixes bug #47691.
  Some code simplification.

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

20 years ago* Publisher.cs: removed extra finalizer to fix public API
Gert Driesen [Thu, 10 Jun 2004 17:58:04 +0000 (17:58 -0000)]
* Publisher.cs: removed extra finalizer to fix public API
signature, renamed private field for serialization compatibility
with MS.NET

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

20 years ago2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 10 Jun 2004 17:57:36 +0000 (17:57 -0000)]
2004-06-10  Atsushi Enomoto  <atsushi@ximian.com>

* test-uri-list.txt,
  test-uri-props.txt,
  test-uri-props-manual.txt :
  - Moved '#' containing file URIs to manual test patterns (I think MS
    disregards '#', as conceptually reported in bug #47691).
  - Removed URIs that contains "/////" that is ambiguous (is /////cygwin
    directory '/cygwin', or host 'cygwin' ?).
* UriTest2.cs : explicitly show what input string is being checked
  in Assert(). And also surround try...catch and show which URI failed.

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

20 years ago* RegexRunnerFactory.cs: removed comment, no longer throw exception
Gert Driesen [Thu, 10 Jun 2004 17:53:10 +0000 (17:53 -0000)]
* RegexRunnerFactory.cs: removed comment, no longer throw exception
from ctor
* regex.cs: fixed public API signature by renaming protected
internal fields and adding destructor, added MonoTODO attribute to
fields and method that are not yet implemented, changed not
implemented methods to throw NotImplementedException instead of
Exception, fixed names of field that are serialized

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

20 years agoremove dbg code
Jordi Mas i Hernandez [Thu, 10 Jun 2004 17:34:00 +0000 (17:34 -0000)]
remove dbg code

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

20 years agoThu Jun 10 20:10:16 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 10 Jun 2004 17:23:23 +0000 (17:23 -0000)]
Thu Jun 10 20:10:16 CEST 2004 Paolo Molaro <lupus@ximian.com>

* reflection.c: make the token for a created method match
the token of the MethodBuilder it was created from
(IKVM requires this behaviour now).

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

20 years ago* Encoding.cs: Marked protected internal field as internal to
Gert Driesen [Thu, 10 Jun 2004 17:19:58 +0000 (17:19 -0000)]
* Encoding.cs: Marked protected internal field as internal to
fix API signature

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

20 years ago* SignedXml.cs: API signature fixes
Gert Driesen [Thu, 10 Jun 2004 17:19:14 +0000 (17:19 -0000)]
* SignedXml.cs: API signature fixes

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

20 years ago* StrongNameIdentityPermission.cs: removed extra useless finalizer
Gert Driesen [Thu, 10 Jun 2004 17:03:00 +0000 (17:03 -0000)]
* StrongNameIdentityPermission.cs: removed extra useless finalizer
to fix public API signature

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

20 years ago* ToBase64Transform.cs: Uncomment finalizer to fix public API
Gert Driesen [Thu, 10 Jun 2004 17:00:23 +0000 (17:00 -0000)]
* ToBase64Transform.cs: Uncomment finalizer to fix public API
signature

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

20 years ago* SoapAttribute.cs: Added missing protected members.
Lluis Sanchez [Thu, 10 Jun 2004 16:31:35 +0000 (16:31 -0000)]
* SoapAttribute.cs: Added missing protected members.

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

20 years ago * driver.cs: Don't append gacdir to /root. This breaks
Jackson Harper [Thu, 10 Jun 2004 16:20:32 +0000 (16:20 -0000)]
    * driver.cs: Don't append gacdir to /root. This breaks
everything. Will add another option for doing this if its
needed.

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

20 years ago* Delegate.cs: marked protected fields private to match public
Gert Driesen [Thu, 10 Jun 2004 16:14:13 +0000 (16:14 -0000)]
* Delegate.cs: marked protected fields private to match public
API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
protected to fix public API
* Enum.cs: marked ctor protected to match public API of MS.NET
* MulticastDelegate.cs: marked DynamicInvokeImpl protected to
match public API of MS.NET

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

20 years ago*** empty log message ***
Jordi Mas i Hernandez [Thu, 10 Jun 2004 15:24:13 +0000 (15:24 -0000)]
*** empty log message ***

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

20 years agomove samples to the samples dir
Jordi Mas i Hernandez [Thu, 10 Jun 2004 15:22:09 +0000 (15:22 -0000)]
move samples to the samples dir

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

20 years ago * ThreadTest.cs: Removed Ignore attribute from several threading tests that
Lluis Sanchez [Thu, 10 Jun 2004 14:59:37 +0000 (14:59 -0000)]
* ThreadTest.cs: Removed Ignore attribute from several threading tests that
  failed because of Thread.Abort.

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

20 years agoi * AssemblyNameTest.cs: AssertEqualsByteArrays(): don't crash if arrays are
Lluis Sanchez [Thu, 10 Jun 2004 14:58:32 +0000 (14:58 -0000)]
i * AssemblyNameTest.cs: AssertEqualsByteArrays(): don't crash if arrays are
  empty. TestSerialization(): Use AssertEqualsByteArrays to compare keys.
  Added messages to the assertions.

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

20 years ago* ChannelServices.cs: ExceptionFilterSink should be internal.
Lluis Sanchez [Thu, 10 Jun 2004 14:56:27 +0000 (14:56 -0000)]
* ChannelServices.cs: ExceptionFilterSink should be internal.

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

20 years ago2004-06-10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 10 Jun 2004 14:32:47 +0000 (14:32 -0000)]
2004-06-10  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* skeleton.cs: oops some uses of changed classes/interfaces also need to become internal.

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

20 years agoAdded a TODO comment
Rafael Teixeira [Thu, 10 Jun 2004 14:20:37 +0000 (14:20 -0000)]
Added a TODO comment

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

20 years agoErr Object related infrastructure is near complete. This is just a
Jambunathan K [Thu, 10 Jun 2004 14:12:47 +0000 (14:12 -0000)]
Err Object related infrastructure is near complete. This is just a
preliminary commit. Requires more thorough review and test cases.

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

20 years ago2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 10 Jun 2004 14:10:20 +0000 (14:10 -0000)]
2004-06-10  Atsushi Enomoto <atsushi@ximian.com>

* skelton.cs: make classes/interfaces internal.

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

20 years agolock resource creation, cloning, and destroying
Jordi Mas i Hernandez [Thu, 10 Jun 2004 13:20:08 +0000 (13:20 -0000)]
lock resource creation, cloning, and destroying

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

20 years agoThu Jun 10 16:06:42 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 10 Jun 2004 13:18:01 +0000 (13:18 -0000)]
Thu Jun 10 16:06:42 CEST 2004 Paolo Molaro <lupus@ximian.com>

* mini.c, aot.c: memory leak fixes.

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