mono.git
19 years ago2004-09-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 7 Sep 2004 03:15:03 +0000 (03:15 -0000)]
2004-09-07  Atsushi Enomoto  <atsushi@ximian.com>

* appdomain.c, threads.c : don't use GC_CreateThread when with-gc=none

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

19 years agoGet the error tests working again.
Martin Baulig [Mon, 6 Sep 2004 23:11:31 +0000 (23:11 -0000)]
Get the error tests working again.

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

19 years ago2004-09-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 6 Sep 2004 21:32:29 +0000 (21:32 -0000)]
2004-09-07  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_marshal_array): Really null terminate string arrays.

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

19 years ago2004-09-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 6 Sep 2004 21:31:11 +0000 (21:31 -0000)]
2004-09-07  Zoltan Varga  <vargaz@freemail.hu>

* libtest.c (mono_test_marshal_string_array): Add test for null
terminating string arrays.

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

19 years ago2004-09-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 6 Sep 2004 21:24:40 +0000 (21:24 -0000)]
2004-09-06  Miguel de Icaza  <miguel@ximian.com>

* parameter.cs: Do not crash if the type can not be resolved.

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

19 years ago2004-09-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 6 Sep 2004 21:08:47 +0000 (21:08 -0000)]
2004-09-07  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_marshal_string): Fix freeing of unicode strings.

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

19 years ago2004-09-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 6 Sep 2004 20:22:02 +0000 (20:22 -0000)]
2004-09-06  Zoltan Varga  <vargaz@freemail.hu>

* main.c: Fix build && warnings.

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

19 years agoAdd new test
Miguel de Icaza [Mon, 6 Sep 2004 20:21:21 +0000 (20:21 -0000)]
Add new test

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

19 years ago2004-09-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 6 Sep 2004 20:19:54 +0000 (20:19 -0000)]
2004-09-06  Miguel de Icaza  <miguel@ximian.com>

* expression.cs: Report errors with unsafe pointers, fixes #64896

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

19 years ago2004-09-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 6 Sep 2004 19:56:41 +0000 (19:56 -0000)]
2004-09-06  Zoltan Varga  <vargaz@freemail.hu>

* libtest.c: Mark delegates with __stdcall on windows.

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

19 years ago2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 6 Sep 2004 19:55:37 +0000 (19:55 -0000)]
2004-09-06 Ben Maurer  <bmaurer@users.sourceforge.net>

* expression.cs: Pointer arith always needs to do a conv.i
if the operand is a long. fix 65320

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

19 years ago2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 6 Sep 2004 19:55:05 +0000 (19:55 -0000)]
2004-09-06 Ben Maurer  <bmaurer@users.sourceforge.net>

* unsafe-10.cs: new test

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

19 years ago2004-09-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 6 Sep 2004 19:40:02 +0000 (19:40 -0000)]
2004-09-06  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_marshal_array): Null terminate string arrays.

* marshal.c (raise_auto_layout_exception): Fix warning.

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

19 years ago2004-09-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 6 Sep 2004 19:01:38 +0000 (19:01 -0000)]
2004-09-06  Martin Baulig  <martin@ximian.com>

* generic.cs (ConstructedType.CheckConstraints): Allow builtin
types for the constructor constraint.

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

19 years ago2004-09-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 6 Sep 2004 18:52:20 +0000 (18:52 -0000)]
2004-09-06  Martin Baulig  <martin@ximian.com>

* Makefile: Enable gen-65.cs (bug #58306).

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

19 years agoWhy are we getting more stuff in here each week ?
Martin Baulig [Mon, 6 Sep 2004 17:57:31 +0000 (17:57 -0000)]
Why are we getting more stuff in here each week ?

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

19 years ago2004-09-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Sep 2004 17:28:58 +0000 (17:28 -0000)]
2004-09-06  Atsushi Enomoto  <atsushi@ximian.com>

* XmlNode.cs : GetEnumerator() does not have to create ChildNodes
  every time. Removed unused StringBuilder field.

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

19 years ago2004-09-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Sep 2004 17:25:52 +0000 (17:25 -0000)]
2004-09-06  Atsushi Enomoto <atsushi@ximian.com>

* XmlElementTests.cs : added another set_InnerXml test.
* XmlNodeTests.cs : added BaseURI test.
* XmlTextReaderTests.cs : added tests for Normalization, EOF,
  LineNumber, LinePosition (all reported ones).
* XsdValidatingReaderTests.cs : more descriptions.

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

19 years ago2004-09-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 6 Sep 2004 17:15:40 +0000 (17:15 -0000)]
2004-09-06  Martin Baulig  <martin@ximian.com>

* mini.c (mono_method_to_ir): When initializing locals, handle a
generic instances like a valuetype if it's a valuetype and like a
class if it's a class.

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

19 years ago2004-09-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 6 Sep 2004 17:14:30 +0000 (17:14 -0000)]
2004-09-06  Martin Baulig  <martin@ximian.com>

* Makefile: Enable gen-65.cs (bug #58306).

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

19 years agoSynchronized with the web/ version
Miguel de Icaza [Mon, 6 Sep 2004 17:13:25 +0000 (17:13 -0000)]
Synchronized with the web/ version

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

19 years ago2004-09-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Sep 2004 17:12:35 +0000 (17:12 -0000)]
2004-09-06  Atsushi Enomoto <atsushi@ximian.com>

* added simple.xml (to be used for some tests).

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

19 years agoDoc update
Miguel de Icaza [Mon, 6 Sep 2004 17:08:47 +0000 (17:08 -0000)]
Doc update

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

19 years ago2004-09-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 6 Sep 2004 17:05:13 +0000 (17:05 -0000)]
2004-09-06  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_param_get_objects): Initialize the default value
with DBNull.Value, not null. Fixes #62123.

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

19 years ago2004-09-01 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 6 Sep 2004 16:57:42 +0000 (16:57 -0000)]
2004-09-01  Miguel de Icaza  <miguel@ximian.com>

* marshal.c (mono_marshal_get_managed_wrapper): Remove FIXME and
throw an exception with a cute explanation.

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

19 years ago2004-09-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Sep 2004 16:52:07 +0000 (16:52 -0000)]
2004-09-06  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReaderTests.cs : added ProhibitDtd().
* XmlWriterTests.cs : added WriteNodeError().

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

19 years agoDecision to follow knuth over ms results
Ben Maurer [Mon, 6 Sep 2004 16:51:24 +0000 (16:51 -0000)]
Decision to follow knuth over ms results

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

19 years ago2004-09-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Sep 2004 16:47:26 +0000 (16:47 -0000)]
2004-09-06  Atsushi Enomoto  <atsushi@ximian.com>

* XmlWriter.cs : on reader.NodeType is None, WriteNode() still tries
  to read more (and might result in an error).

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

19 years ago2004-09-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 6 Sep 2004 16:32:53 +0000 (16:32 -0000)]
2004-09-06 Marek Safar <marek.safar@seznam.cz>

* CodeCompileUnit.cs,
* CodeMemberMethod.cs,
* CodeMethodReferenceExpression.cs,
* CodeStatement.cs,
* CodeTypeDeclaration.cs,
* CodeTypeMember.cs,
* CodeTypeReference.cs : Implemented NET_2_0.

* CodeChecksumPragma.cs,
* CodeDirective.cs,
* CodeDirectiveCollection.cs,
* CodeRegionDirective.cs,
* CodeRegionMode.cs,
* CodeTypeParameter.cs,
* CodeTypeParameterCollection.cs,
* CodeTypeReferenceOptions.cs : New NET_2_0 files

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

19 years ago2004-09-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 6 Sep 2004 15:58:16 +0000 (15:58 -0000)]
2004-09-06  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-x86.c (mono_arch_find_jit_info): Pop arguments off the
stack. Fixes #64674.

* exceptions.cs: Add test for unwinding of call arguments.

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

19 years ago2004-09-06 Dick Porter <dick@ximian.com>
Ben Maurer [Mon, 6 Sep 2004 15:10:21 +0000 (15:10 -0000)]
2004-09-06  Dick Porter  <dick@ximian.com>

* process.c (ves_icall_System_Diagnostics_Process_Start_internal):

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

19 years ago2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 6 Sep 2004 15:09:12 +0000 (15:09 -0000)]
2004-09-06 Ben Maurer  <bmaurer@users.sourceforge.net>

* Array.cs (Clear): make this an icall.

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

19 years agofix warning
Ben Maurer [Mon, 6 Sep 2004 15:07:37 +0000 (15:07 -0000)]
fix warning

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

19 years ago2004-09-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Sep 2004 14:51:43 +0000 (14:51 -0000)]
2004-09-06  Atsushi Enomoto  <atsushi@ximian.com>

* XPathEditableNavigator.cs :
  AppendChild(xmlReader) ignored nodes after than first one, and
  resulted in infinite loop.
  Added get_OuterXml overrides. set_OuterXml should not move to
  parent before deleting current.

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

19 years ago2004-09-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 6 Sep 2004 14:28:41 +0000 (14:28 -0000)]
2004-09-06  Atsushi Enomoto <atsushi@ximian.com>

* XPathDocument2.cs, XPathDocument2Editable.cs:
  Redesigned API. Child node list should not be required (it also
  harms performance). Reduced extraneous methods for XPathNavigator
  / XPathEditableNavigator implementation support.
* XPathEditableDocument.cs : event registration was missing (due to
  XPathDocument changes, it might not be required anymore though).
* XPathNavigatorReader.cs :
  Namespace nodes were not handled correctly.
  EOF handling was incorrect.
  Reduced extraneous clone from MoveTo/GetAttribute(int) and

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

19 years agoBug fixes resulting from stress testing the process forking code with
Dick Porter [Mon, 6 Sep 2004 14:16:02 +0000 (14:16 -0000)]
Bug fixes resulting from stress testing the process forking code with
Timeline.

2004-09-06  Dick Porter  <dick@ximian.com>

* handles.c (_wapi_handle_unref): Reset the private record's type
(CloseHandle): Check for a fd mapping failure, and return FALSE.
(_wapi_handle_process_fork): Fix long-standing bug in checking
handle return values.  Also do the required bookkeeping with the
new process's handles.

* daemon.c: When creating a new process's handles, check whether
the shared space needs to be increased

2004-09-06  Dick Porter  <dick@ximian.com>

* process.c (ves_icall_System_Diagnostics_Process_Start_internal):
Close the new process's thread handle, as we don't use it.  The
handle stays around forever otherwise.

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

19 years ago2004-09-06 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 6 Sep 2004 14:11:55 +0000 (14:11 -0000)]
2004-09-06  Dick Porter  <dick@ximian.com>

* Process.cs: Make Dispose() actually dispose things.

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

19 years ago2004-09-06 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 6 Sep 2004 14:11:55 +0000 (14:11 -0000)]
2004-09-06  Dick Porter  <dick@ximian.com>

* Process.cs: Make Dispose() actually dispose things.

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

19 years ago* main.c (dump_cattrs_list): Newly carved out of dump_cattrs.
Jambunathan K [Mon, 6 Sep 2004 14:07:39 +0000 (14:07 -0000)]
* main.c (dump_cattrs_list): Newly carved out of dump_cattrs.

Renamed cattrs_for_method() to more meaningful
dump_cattrs_for_method_params()

(dump_cattrs_for_method_params): Fixed so that ".param[]" gets
dumped only when necessary. i.e., when a method parameter has
either a default value and/or when it has a custom attribute.

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

19 years ago2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 6 Sep 2004 14:03:41 +0000 (14:03 -0000)]
2004-09-06 Ben Maurer  <bmaurer@users.sourceforge.net>

* MemoryStream.cs (SetLength): Use Array.Clear here

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

19 years agofix this
Ben Maurer [Mon, 6 Sep 2004 14:00:10 +0000 (14:00 -0000)]
fix this

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

19 years ago2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 6 Sep 2004 13:53:03 +0000 (13:53 -0000)]
2004-09-06 Ben Maurer  <bmaurer@users.sourceforge.net>

* HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
(Clear): Don't recreate the MemoryStream and StreamWriter

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

19 years ago* DateAndTime.cs (DateTime.Today): Changed signature of stime().
Jambunathan K [Mon, 6 Sep 2004 13:47:44 +0000 (13:47 -0000)]
* DateAndTime.cs (DateTime.Today): Changed signature of stime().
* Strings.cs:
* Collection.cs:

Replaced System.ComponentModel.EditorBrowsableAttribute and
Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute
with their short and sweet equivalents.

Replaced System.ComponentModel.DefaultValueAttribute with the
newly introduced Microsoft.VisualBasic.CompilerServices
.__DefaultArgumentValueAttribute.

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

19 years agoMon Sep 6 05:50:02 PDT 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 6 Sep 2004 12:59:08 +0000 (12:59 -0000)]
Mon Sep 6 05:50:02 PDT 2004 Paolo Molaro <lupus@ximian.com>

* mini-*.c, mini-ops.h, inssel-long32.brg: introduced
OP_ADDCC_IMM and OP_SUBCC_IMM (add/sub immediate that will
set the carry/borrow flag). The sparc and s390 implementations
can now use optimized versions (and simplify the code). ppc bugfixes.

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

19 years agoCaches ClientRectangle rectangle value
Jordi Mas i Hernandez [Mon, 6 Sep 2004 12:55:07 +0000 (12:55 -0000)]
Caches ClientRectangle rectangle value

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

19 years agoCompile fix
Dick Porter [Mon, 6 Sep 2004 12:53:52 +0000 (12:53 -0000)]
Compile fix

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

19 years ago2004-09-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 6 Sep 2004 12:45:59 +0000 (12:45 -0000)]
2004-09-06  Zoltan Varga  <vargaz@freemail.hu>

* object.c (arith_overflow): Fix warning.

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

19 years ago2004-09-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 6 Sep 2004 12:44:03 +0000 (12:44 -0000)]
2004-09-06  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_image_get_methodref_token): Do not emit unmanaged
calling conventions in method refs. Fixes #65352.

* reflection.c: Fix warnings.

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

19 years ago2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 6 Sep 2004 12:33:38 +0000 (12:33 -0000)]
2004-09-06 Ben Maurer  <bmaurer@users.sourceforge.net>

* object.c: When allocating an array, we have to throw
an overflow exception if any of the lengths are < 0.

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

19 years ago2004-09-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 6 Sep 2004 12:09:05 +0000 (12:09 -0000)]
2004-09-06  Zoltan Varga  <vargaz@freemail.hu>

* get.c: Fix printing of unmanaged calling conventions.
(get_constant): Fix warning.

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

19 years ago* Microsoft.VisualBasic.dll.sources: Added DefaultArgumentValueAttribute.cs
Jambunathan K [Mon, 6 Sep 2004 11:23:11 +0000 (11:23 -0000)]
* Microsoft.VisualBasic.dll.sources: Added DefaultArgumentValueAttribute.cs
* Makefile: Removed '/unsafe' switch to the C# compiler

* DateAndTime.cs (DateTime.Today): Changed signature of stime().

* VBMath.cs:
* Interaction.cs:
* Information.cs:
* Globals.cs:
* Financial.cs:
* FileSystem.cs:
* ErrObject.cs:
* Conversion.cs:
* Constants.cs:

* DefaultArgumentValueAttribute.cs: Added a new internal attribute
  Microsoft.VisualBasic.CompilerServices.__DefaultArgumentValueAttribute
  to workaround the limitations in C# syntax. Refer the comments
  in the file for more information about this attribute.

* VBBinder.cs:
* StringType.cs:
* SingleType.cs:
* ShortType.cs:
* LongType.cs:
* LateBinding.cs:
* IntegerType.cs:
* FlowControl.cs:
* ExceptionUtils.cs:
* DoubleType.cs:
* DecimalType.cs:
* DateType.cs:
* CharType.cs:
* CharArrayType.cs:
* ByteType.cs:
* BooleanType.cs:

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

19 years ago2004-09-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 6 Sep 2004 11:18:09 +0000 (11:18 -0000)]
2004-09-06  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-ppc.c (mono_arch_find_jit_info): Fix memory leak.

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

19 years ago2004-09-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 6 Sep 2004 11:13:00 +0000 (11:13 -0000)]
2004-09-06  Marek Safar <marek.safar@seznam.cz>

* mono-api-diff.cs ,
* mono-api-info.cs : Added static class detection.

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

19 years ago2004-09-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 6 Sep 2004 10:50:58 +0000 (10:50 -0000)]
2004-09-06  Zoltan Varga  <vargaz@freemail.hu>

* marshal.h marshal.c: Free unmanaged memory allocated by managed code
properly. Also move implementation of string array marshalling to
managed code. Fixes #42316.

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

19 years agoSmall style improvement for System.Collections.Generic.Collection
Carlos Alberto Cortez [Mon, 6 Sep 2004 10:35:19 +0000 (10:35 -0000)]
Small style improvement for System.Collections.Generic.Collection

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

19 years ago2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 5 Sep 2004 19:37:58 +0000 (19:37 -0000)]
2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Compilation/BaseCompiler.cs:
* System.Web.Compilation/CachingCompiler.cs:
* System.Web.Compilation/WebServiceCompiler.cs:
* System.Web.UI/SimpleWebHandlerParser.cs: correctly cache Type instead
of the assembly for ashx/asmx. Otherwise we need to open the file and
check for the class name in there. Thanks to Ben for pointing this out.

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

19 years ago * Control.cs: don't create the EventHandlerList until requested.
Gonzalo Paniagua Javier [Sun, 5 Sep 2004 19:33:51 +0000 (19:33 -0000)]
* Control.cs: don't create the EventHandlerList until requested.

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

19 years ago2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 5 Sep 2004 19:32:32 +0000 (19:32 -0000)]
2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateParser.cs: removed creation of StringWriter.  It's not used.

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

19 years ago2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 5 Sep 2004 19:28:51 +0000 (19:28 -0000)]
2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplication.cs: only add/remove to/from the timeout
manager when we're in a interruptible step.

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

19 years ago2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 5 Sep 2004 18:28:49 +0000 (18:28 -0000)]
2004-09-05 Ben Maurer  <bmaurer@users.sourceforge.net>

* Path.cs (Combine): Array.IndexOf is slow (because of the
special cases it must handle). So, rather than doing IndexOf
just check each type of seperator.

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

19 years ago2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 5 Sep 2004 17:48:27 +0000 (17:48 -0000)]
2004-09-05 Ben Maurer  <bmaurer@users.sourceforge.net>

* RemotingServices.cs (IsMethodOverloaded): use the internal
method GetMethodsByName. It does much less work than GetMembers.

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

19 years ago2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 5 Sep 2004 17:27:23 +0000 (17:27 -0000)]
2004-09-05 Ben Maurer  <bmaurer@users.sourceforge.net>

* StringReader.cs (StreamReader): remove sourceChars and disposed
variables
(Read): Copy directly from the string, rather than a char []
(Dispose, CheckObjectDisposedException): the flag for being
disposed is now source == null.

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

19 years agooops
Ben Maurer [Sun, 5 Sep 2004 16:27:59 +0000 (16:27 -0000)]
oops

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

19 years ago2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 5 Sep 2004 16:26:09 +0000 (16:26 -0000)]
2004-09-05 Ben Maurer  <bmaurer@users.sourceforge.net>

* RemotingServices.cs (IsOneWay): use IsDefined rather than

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

19 years ago2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 5 Sep 2004 16:24:52 +0000 (16:24 -0000)]
2004-09-05 Ben Maurer  <bmaurer@users.sourceforge.net>

* MonoCustomAttribute.cs: Avoid the call to GetBase when possible.

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

19 years ago2004-09-05 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 5 Sep 2004 16:22:46 +0000 (16:22 -0000)]
2004-09-05 Ben Maurer  <bmaurer@users.sourceforge.net>

* MethodCall.cs, CADMessages.cs: String.Copy (x) is the same
thing as new string (x.ToCharArray ()), however it involves
half the memory allocation

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

19 years ago2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 5 Sep 2004 13:04:24 +0000 (13:04 -0000)]
2004-09-04  Sebastien Pouliot  <sebastien@ximian.com>

* FileIOPermissionAttributeTest.cs: Added a new test to check that the
attribute class accept (and retains) non-c14n filenames while the
permission class accept, but c14n, filenames. Fixed other tests that
didn't check for c14n results from the created permission.

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

19 years ago2004-09-05 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sun, 5 Sep 2004 12:01:13 +0000 (12:01 -0000)]
2004-09-05  Marek Safar <marek.safar@seznam.cz>

* Dictionary.cs: Added new file (no implementation).

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

19 years ago2004-09-05 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sun, 5 Sep 2004 12:01:04 +0000 (12:01 -0000)]
2004-09-05  Marek Safar  <marek.safar@seznam.cz>

* corlib.dll.sources:
Added System.Collections.Generic/Dictionary.cs to the build.

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

19 years agofixes bugs, adds flashing on certain situations
Jordi Mas i Hernandez [Sun, 5 Sep 2004 08:03:51 +0000 (08:03 -0000)]
fixes bugs, adds flashing on certain situations

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

19 years ago2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 5 Sep 2004 07:12:15 +0000 (07:12 -0000)]
2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspParser.cs:
* AspTokenizer.cs: prevent quotes from being swallowed when we're
inside a server tag and they are the next non-whitespace character.
Fixes bug #63451.

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

19 years ago2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 5 Sep 2004 06:50:53 +0000 (06:50 -0000)]
2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TraceContext.cs: when IsEnabled has not been set, return the value
from the TraceManager. Fixes bug #63469.

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

19 years ago2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 5 Sep 2004 05:57:40 +0000 (05:57 -0000)]
2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* assembly.c: provide more information when loading an assembly fails.

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

19 years ago2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 5 Sep 2004 02:54:45 +0000 (02:54 -0000)]
2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Environment.cs: (ExpandEnvironmentVariables) don't nullify the case
insensitive enironment variables hashtable once we create it.

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

19 years ago2004-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 5 Sep 2004 02:47:25 +0000 (02:47 -0000)]
2004-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Stream.cs: Close() does not call Flush(). Fixes bug #65340.

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

19 years ago2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 4 Sep 2004 23:18:56 +0000 (23:18 -0000)]
2004-09-04  Sebastien Pouliot  <sebastien@ximian.com>

* Thread.cs: Changed an imperative security demand to declarative
(unsupported) so it doesn't (for now) call the security runtime.

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

19 years ago2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 4 Sep 2004 23:17:40 +0000 (23:17 -0000)]
2004-09-04  Sebastien Pouliot  <sebastien@ximian.com>

* AppDomain.cs: Changed 2 imperative security demands to declarative
(unsupported) so it doesn't (for now) call the security runtime.

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

19 years ago2004-09-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 4 Sep 2004 23:00:19 +0000 (23:00 -0000)]
2004-09-04  Sebastien Pouliot  <sebastien@ximian.com>

* FileIOPermission.cs: Reworked to support partial paths, non-c14n
paths (like ..) and PathDiscovery in XML. Now runs MSDN sample.
* RegistryPermission.cs: Removed unrequired variable.

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

19 years ago2004-09-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 4 Sep 2004 22:48:37 +0000 (22:48 -0000)]
2004-09-05  Zoltan Varga  <vargaz@freemail.hu>

* inssel-amd64.brg: Remove leftover 32 bit rule.

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

19 years ago2004-09-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 4 Sep 2004 21:44:45 +0000 (21:44 -0000)]
2004-09-05  Zoltan Varga  <vargaz@freemail.hu>

* shared.c (_wapi_shm_file): Fix leaking of filename.

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

19 years ago2004-09-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 4 Sep 2004 21:43:49 +0000 (21:43 -0000)]
2004-09-05  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_instrument_prolog): Fix tracing support.

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

19 years ago2004-09-04 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 4 Sep 2004 20:00:16 +0000 (20:00 -0000)]
2004-09-04  Tim Coleman <tim@timcoleman.com>
        * System.Security.dll.sources:
                Add new System.Security.Cryptography.Pkcs classes.

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

19 years ago2004-09-04 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 4 Sep 2004 19:59:02 +0000 (19:59 -0000)]
2004-09-04  Tim Coleman <tim@timcoleman.com>
        * XmlDecryptionTransform.cs:
                Implement rudimentary xpointer support for Except URIs.

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

19 years ago2004-09-04 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 4 Sep 2004 19:56:30 +0000 (19:56 -0000)]
2004-09-04  Tim Coleman <tim@timcoleman.com>
        * Pkcs9ContentType.cs Pkcs9MessageDigest.cs:
                New classes for 2.0

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

19 years ago*** empty log message ***
Tim Coleman [Sat, 4 Sep 2004 19:52:21 +0000 (19:52 -0000)]
*** empty log message ***

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

19 years ago2004-09-04 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 4 Sep 2004 19:51:58 +0000 (19:51 -0000)]
2004-09-04  Tim Coleman <tim@timcoleman.com>
        * System.dll.sources: Add System.Net.Mail and System.Net.Mime classes.

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

19 years ago2004-09-04 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 4 Sep 2004 19:51:06 +0000 (19:51 -0000)]
2004-09-04 Tim Coleman  <tim@timcoleman.com>
        * ContentDisposition.cs ContentType.cs DispositionTypeNames.cs
        * MediaTypeNames.cs TransferEncoding.cs:
                New class stubs for 2.0

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

19 years agoTim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 4 Sep 2004 19:49:50 +0000 (19:49 -0000)]
Tim Coleman  <tim@timcoleman.com>
        * Attachment.cs MailAddress.cs MailMessage.cs SendCompletedEventHandler.cs
        * SmtpAccess.cs SmtpClient.cs SmtpException.cs SmtpStatusCode.cs:
                New class stubs for 2.0

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

19 years agoRefresh when font changed
Jordi Mas i Hernandez [Sat, 4 Sep 2004 17:10:18 +0000 (17:10 -0000)]
Refresh when font changed

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

19 years ago2004-09-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 4 Sep 2004 15:58:08 +0000 (15:58 -0000)]
2004-09-04  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke2.cs libtest.c: Fix memory management in tests.

* pinvoke14.cs: Merge this into pinvoke2.cs.

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

19 years ago2004-09-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 4 Sep 2004 12:13:06 +0000 (12:13 -0000)]
2004-09-04  Zoltan Varga  <vargaz@freemail.hu>

* mini-exceptions.c (mono_find_jit_info): Refactor common code from
mono_arch_find_jit_info functions into a new function. Fix a memory
leak.

* exceptions-x86.c exceptions-amd64.c exceptions-sparc.c: Remove
refactored code.

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

19 years ago2004-09-04 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 4 Sep 2004 10:32:08 +0000 (10:32 -0000)]
2004-09-04  Marek Safar  <marek.safar@seznam.cz>

Fixed cs0619-37.cs, cs0619-38.cs

* enum.cs (GetObsoleteAttribute): Removed.

* expression.cs (MemberAccess.DoResolve): Test for [Obsolete]
on Enum member is double staged. The first is tested member
and then enum.

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

19 years agonew error tests
Marek Safar [Sat, 4 Sep 2004 10:30:51 +0000 (10:30 -0000)]
new error tests

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

19 years ago2004-09-04 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 4 Sep 2004 09:51:38 +0000 (09:51 -0000)]
2004-09-04  Marek Safar <marek.safar@seznam.cz>

* test-289.cs: New test for #63631.

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

19 years ago2004-09-04 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 4 Sep 2004 09:48:44 +0000 (09:48 -0000)]
2004-09-04  Marek Safar  <marek.safar@seznam.cz>

Fixed #56986, #63631, #65231

* class.cs: (TypeContainer.AddToMemberContainer): New method,
adds member to name container.
(TypeContainer.AddToTypeContainer): New method, adds type to
name container.
(AddConstant, AddEnum, AddClassOrStruct, AddDelegate, AddMethod,
AddConstructor, AddInterface, AddField, AddProperty, AddEvent,
AddOperator): Simplified by reusing AddToMemberContainer.
(TypeContainer.UserDefinedStaticConstructor): Changed to property
instead of field.
(Method.CheckForDuplications): Fixed implementation to test all
possibilities.
(MemberBase): Detection whether member is explicit interface
implementation is now in constructor.
(MemberBase.UpdateMemberName): Handles IndexerName.
(Accessor): Changed to keep also location information.
(AbstractPropertyEventMethod): Is derived from MemberCore.
(AbstractPropertyEventMethod.IsDummy): Says whether accessor
will be emited or not.
(PropertyBase.AreAccessorsDuplicateImplementation):
Tests whether accessors are not in collision with some method.
(Operator): Is derived from MethodCore to simplify common
operations.

* decl.cs (Flags.TestMethodDuplication): Test for duplication
must be performed.
(DeclSpace.AddToContainer): Adds the member to defined_names
table. It tests for duplications and enclosing name conflicts.

* enum.cs (EnumMember): Clean up to reuse the base structures

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

19 years ago2004-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 4 Sep 2004 06:06:58 +0000 (06:06 -0000)]
2004-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* filewatcher.c: don't expect the development fam package to be
installed.

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

19 years ago2004-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 4 Sep 2004 05:58:45 +0000 (05:58 -0000)]
2004-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FAMWatcher.cs: s/fam/libfam.so.0/ so that g_module finds it even
when the development package is not installed.

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

19 years ago2004-09-03 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 4 Sep 2004 04:17:34 +0000 (04:17 -0000)]
2004-09-03  Tim Coleman <tim@timcoleman.com>
* ICredentialsByHost.cs: New 2.0 interface.

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

19 years ago2004-09-03 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sat, 4 Sep 2004 04:16:38 +0000 (04:16 -0000)]
2004-09-03  Tim Coleman <tim@timcoleman.com>
        * System.dll.sources: Add new class in System.Net

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

19 years ago2004-09-03 John Luke <john.luke@gmail.com>
John Luke [Sat, 4 Sep 2004 02:29:31 +0000 (02:29 -0000)]
2004-09-03  John Luke  <john.luke@gmail.com>

        * monop.cs: report CLSCompliant for assemblies

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