mono.git
19 years ago2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Sep 2004 01:35:44 +0000 (01:35 -0000)]
2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpServerUtility.cs: in Transfer(path), don't keep form data if
the transfer is done from inside a page that received a postback.
Fixes bug #65613.

svn path=/branches/mono-1-0/mcs/; revision=33682

19 years agoThu Sep 9 20:57:53 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 9 Sep 2004 17:53:54 +0000 (17:53 -0000)]
Thu Sep 9 20:57:53 CEST 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=/branches/mono-1-0/mono/; revision=33663

19 years agoThu Sep 9 07:09:11 PDT 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 9 Sep 2004 17:40:50 +0000 (17:40 -0000)]
Thu Sep 9 07:09:11 PDT 2004 Paolo Molaro <lupus@ximian.com>

* ScriptCompilerInfo.cs: avoid using a .cctor and fix precomp.

svn path=/branches/mono-1-0/mcs/; revision=33662

19 years ago2004-09-09 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 9 Sep 2004 14:27:47 +0000 (14:27 -0000)]
2004-09-09  Dick Porter  <dick@ximian.com>

* error.c:
* io.c: Set error codes everywhere.

svn path=/branches/mono-1-0/mono/; revision=33655

19 years agoMerge from HEAD.
Zoltan Varga [Thu, 9 Sep 2004 11:22:08 +0000 (11:22 -0000)]
Merge from HEAD.

svn path=/branches/mono-1-0/mono/; revision=33645

19 years agoMerge from HEAD.
Zoltan Varga [Thu, 9 Sep 2004 10:17:03 +0000 (10:17 -0000)]
Merge from HEAD.

svn path=/branches/mono-1-0/mcs/; revision=33634

19 years agoMerge from HEAD.
Zoltan Varga [Thu, 9 Sep 2004 08:36:27 +0000 (08:36 -0000)]
Merge from HEAD.

svn path=/branches/mono-1-0/mcs/; revision=33630

19 years ago2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Sep 2004 23:26:06 +0000 (23:26 -0000)]
2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebServiceCompiler.cs: fix buglet in my last commit.

svn path=/branches/mono-1-0/mcs/; revision=33602

19 years ago * object.c: In mono_message_invoke, fill the output parameter array after
Lluis Sanchez [Wed, 8 Sep 2004 13:09:43 +0000 (13:09 -0000)]
* object.c: In mono_message_invoke, fill the output parameter array after
  calling the managed method (it was done before the call). This fixes
  bug #59299.

svn path=/branches/mono-1-0/mono/; revision=33572

19 years ago2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Sep 2004 05:22:15 +0000 (05:22 -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=/branches/mono-1-0/mcs/; revision=33557

19 years ago2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Sep 2004 05:17:49 +0000 (05:17 -0000)]
2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpValueCollection.cs: fixed signature of ToString (). Closes bug
#65392.

svn path=/branches/mono-1-0/mcs/; revision=33556

19 years ago2004-08-29 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 7 Sep 2004 21:54:51 +0000 (21:54 -0000)]
2004-08-29 Ben Maurer  <bmaurer@users.sourceforge.net>

       * Activator.cs (CreateInstance): If an argument is null,
       do not call GetType () on it. #63852

svn path=/branches/mono-1-0/mcs/; revision=33550

19 years agoMerge from HEAD.
Zoltan Varga [Tue, 7 Sep 2004 21:06:24 +0000 (21:06 -0000)]
Merge from HEAD.

svn path=/branches/mono-1-0/mono/; revision=33543

19 years ago2004-09-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 7 Sep 2004 15:31:28 +0000 (15:31 -0000)]
2004-09-07  Miguel de Icaza  <miguel@ximian.com>

* expression.cs: Return false if we fail to resolve the inner
expression.

svn path=/branches/mono-1-0/mcs/; revision=33525

19 years ago2004-09-07 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 7 Sep 2004 13:45:52 +0000 (13:45 -0000)]
2004-09-07  Duncan Mak  <duncan@ximian.com>

  * typeof-ptr.cs: Add unsafe sections to the code that's using
pointers directly. This was breaking the test stage on the build
boxes.

svn path=/branches/mono-1-0/mono/; revision=33518

19 years ago2004-09-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Sep 2004 12:29:20 +0000 (12:29 -0000)]
2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate.cs: Merge changes from HEAD.

svn path=/branches/mono-1-0/mcs/; revision=33512

19 years ago2004-09-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Sep 2004 12:25:36 +0000 (12:25 -0000)]
2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>

* X509Chain.cs: Merge bug fixes from HEAD.

svn path=/branches/mono-1-0/mcs/; revision=33510

19 years ago2004-09-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Sep 2004 12:23:59 +0000 (12:23 -0000)]
2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeBase.cs: Merge optimizations from HEAD.
* AuthenticodeDeformatter.cs: Merge optimizations from HEAD.

svn path=/branches/mono-1-0/mcs/; revision=33509

19 years ago2004-09-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Sep 2004 12:21:14 +0000 (12:21 -0000)]
2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>

* certmgr.cs: Merge enhancements from HEAD. Now allows users to
manipulate the machine's cert store (not just the user's store).

svn path=/branches/mono-1-0/mcs/; revision=33508

19 years ago2004-09-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Sep 2004 12:18:18 +0000 (12:18 -0000)]
2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeBase.cs: Merge optimizations from HEAD.
* AuthenticodeDeformatter.cs: Merge optimizations from HEAD.
* AuthenticodeFormatter.cs: Merge optimizations from HEAD.

svn path=/branches/mono-1-0/mcs/; revision=33507

19 years ago2004-09-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Sep 2004 12:16:28 +0000 (12:16 -0000)]
2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>

* X509Chain.cs: Merge bug fixes from HEAD.
* X509Store.cs: Merge enhancements from HEAD.

svn path=/branches/mono-1-0/mcs/; revision=33506

19 years ago2004-09-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Sep 2004 12:14:36 +0000 (12:14 -0000)]
2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Security_test.dll.sources: Merge new unit tests from HEAD.

svn path=/branches/mono-1-0/mcs/; revision=33505

19 years ago2004-09-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Sep 2004 12:12:41 +0000 (12:12 -0000)]
2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeDeformatterTest.cs: Merge new unit tests from HEAD.

svn path=/branches/mono-1-0/mcs/; revision=33504

19 years agoThis commit was manufactured by cvs2svn to create branch 'mono-1-0'.
nobody [Tue, 7 Sep 2004 12:12:41 +0000 (12:12 -0000)]
This commit was manufactured by cvs2svn to create branch 'mono-1-0'.

svn path=/branches/mono-1-0/mcs/; revision=33503

19 years ago2004-09-07 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 7 Sep 2004 12:06:46 +0000 (12:06 -0000)]
2004-09-07  Dick Porter  <dick@ximian.com>

* Process.cs: Throw documented exceptions when getting stdin,
stdout or stderr and they haven't been redirected.  Check that
CreatePipe didn't fail, throw exceptions if it did.  Close
redirected streams when the process is disposed, rather than rely
on the GC disposing them later.  Makes timeline much happier,
because it could run out of file descriptors between GC
collections.

svn path=/branches/mono-1-0/mcs/; revision=33502

19 years ago2004-09-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 7 Sep 2004 12:00:24 +0000 (12:00 -0000)]
2004-09-07  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_reflection_create_runtime_class): Initialize
klass->nested_classes. Fixes #61224.

svn path=/branches/mono-1-0/mono/; revision=33499

19 years ago2005-09-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Sep 2004 11:44:47 +0000 (11:44 -0000)]
2005-09-07  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeDeformatterTest.cs: New. Unit tests to validate a valid
authenticode-signed assembly (included in test file) and an invalid
(non signed) assembly (the unit test assembly).

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

19 years ago2004-09-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Sep 2004 11:43:47 +0000 (11:43 -0000)]
2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>

* X509Chain.cs: Fixed a bug when constructing a certificate chain from
a collection (endless loop). Fixed bug when Reset-ing an empty chain.

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

19 years ago2004-09-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Sep 2004 11:41:22 +0000 (11:41 -0000)]
2004-09-07  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeBase.cs: Reworked not to load the entire file into
memory before hashing it (now in 4kb blocks). Splitted code in many
methods to allow "lighter" use by the deformatter.
* AuthenticodeDeformatter.cs: Less memory hungry so it can be used to
create Publisher evidences. No hash instance are created if the file
isn't signed.
* AuthenticodeFormatter.cs: Adapted to API changes.

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

19 years agoTue Sep 7 14:35:26 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 7 Sep 2004 11:27:35 +0000 (11:27 -0000)]
Tue Sep 7 14:35:26 CEST 2004 Paolo Molaro <lupus@ximian.com>

* threads.c: sched_yield() on exit, to allow threads to quit.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Tue, 7 Sep 2004 11:16:58 +0000 (11:16 -0000)]
ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new class in System.Web.UI.WebControls namespace.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Tue, 7 Sep 2004 11:13:08 +0000 (11:13 -0000)]
ChangeLog: Updated ChangeLog.
Localize.cs: Added new class.

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

19 years ago2004-09-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 7 Sep 2004 11:10:30 +0000 (11:10 -0000)]
2004-09-07  Zoltan Varga  <vargaz@freemail.hu>

* mini.c mini.h mini-x86.h tramp-x86.c: Instead of freeing delegate
trampolines, make them call an error function so people can fix their
code.

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

19 years ago2004-09-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 7 Sep 2004 10:36:06 +0000 (10:36 -0000)]
2004-09-07  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_unhandled_exception): Remove leftover debug code.

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

19 years ago* cs0571-3.cs, CS0571-3-lib.cs: New tests for #59980.
Raja R Harinath [Tue, 7 Sep 2004 09:51:02 +0000 (09:51 -0000)]
* cs0571-3.cs, CS0571-3-lib.cs: New tests for #59980.
* Makefile: Update list of dlls.

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

19 years agoLinkLabel fixes, methods, multiple links
Jordi Mas i Hernandez [Tue, 7 Sep 2004 09:40:15 +0000 (09:40 -0000)]
LinkLabel fixes, methods, multiple links

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

19 years agoFix execution too.
Raja R Harinath [Tue, 7 Sep 2004 08:49:34 +0000 (08:49 -0000)]
Fix execution too.

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

19 years agoNew test.
Raja R Harinath [Tue, 7 Sep 2004 08:23:51 +0000 (08:23 -0000)]
New test.

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

19 years agoFix test-290.cs.
Raja R Harinath [Tue, 7 Sep 2004 08:23:19 +0000 (08:23 -0000)]
Fix test-290.cs.
* cs-parser.jay (delegate_declaration): Record a delegate
declaration as a type declaration.
Reported by Jo Vermeulen <jo@lumumba.luc.ac.be>.

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

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

* XmlReader.cs, XmlTextReader.cs :
  Added NET_2_0 CheckCharacters support.

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

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

* System.Xml_test.dll.sources : Added XmlReaderSettingsTests.cs.
  XmlReaderCommonTests.cs and XmlSchemaSetTests.cs were missing.

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

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

* XmlReaderSettingsTests.cs : added, including XmlReader.Create() tests
* XmlTextReaderTests.cs : added normalization and Setting sests.

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

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

* IXmlType.cs : deprecated in .NET 2.0.

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

19 years agoFixed formatting issues. For the sake of consistency
Jambunathan K [Tue, 7 Sep 2004 06:24:59 +0000 (06:24 -0000)]
Fixed formatting issues. For the sake of consistency
in style, stripped out all the comment strings that were documenting
the APIs.

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

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:20:41 +0000 (20:20 -0000)]
2004-09-06  Miguel de Icaza  <miguel@ximian.com>

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

svn path=/branches/mono-1-0/mcs/; revision=33447

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 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 6 Sep 2004 19:57:31 +0000 (19:57 -0000)]
2004-09-06 Ben Maurer  <bmaurer@users.sourceforge.net>

* unsafe-10.cs: new test

svn path=/branches/mono-1-0/mcs/; revision=33445

19 years ago2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 6 Sep 2004 19:56:49 +0000 (19:56 -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=/branches/mono-1-0/mcs/; revision=33444

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 agoMerge from HEAD.
Zoltan Varga [Mon, 6 Sep 2004 17:09:09 +0000 (17:09 -0000)]
Merge from HEAD.

svn path=/branches/mono-1-0/mono/; revision=33429

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:58:02 +0000 (16:58 -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=/branches/mono-1-0/mono/; revision=33426

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 agoDecision to follow knuth over ms results
Ben Maurer [Mon, 6 Sep 2004 16:55:39 +0000 (16:55 -0000)]
Decision to follow knuth over ms results

svn path=/branches/mono-1-0/mcs/; revision=33424

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:49 +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=/branches/mono-1-0/mcs/; revision=33421

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 agoMerge from HEAD of the handles-as-file-descriptors work.
Dick Porter [Mon, 6 Sep 2004 14:35:12 +0000 (14:35 -0000)]
Merge from HEAD of the handles-as-file-descriptors work.

2004-08-19  Dick Porter  <dick@ximian.com>

* handles.c (_wapi_handle_count_signalled_handles): Fix thinko
introduced with the fd offset stuff: unlock handles properly when
backing off.  Fixes the monologue hang at exit.

2004-08-18  Dick Porter  <dick@ximian.com>

* sockets.c:
* io.c: Check that new fds fit in the table, return error if not

* daemon.c (_wapi_daemon_main):
* handles.c (shared_init): Have all processes agree on a size for
the fd table.

2004-08-17  Dick Porter  <dick@ximian.com>

* daemon.c (process_new):
* handles.c (_wapi_handle_new_internal): Cope when the space
reserved for file descriptors is larger than the shared segment
size.  Fixes the crash reported when running mono under gdb on
macosx.

2004-08-16  Dick Porter  <dick@ximian.com>

* sockets.c:
* io.c:
* handles-private.h (_wapi_handle_fd_offset_to_handle): Improve
error checking with passed-in file descriptors.

2004-08-11  Dick Porter  <dick@ximian.com>

* sockets.c:
* io.c: Returned handle values are the file descriptor the handle
encapsulates

* handles.c:
* handles-private.h:
* daemon.c: Reserve the range of handles that can have the same
values as file descriptors.  These won't be used, but the values
will be used as file, console, pipe or socket handles.  The fd to
handle mapping is done internally and is invisible to users.
Fixes bug 61828.

* wapi-private.h (_WAPI_HANDLE_VERSION): Increment, because we now
reserve a chunk of handle space.

svn path=/branches/mono-1-0/mono/; revision=33409

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:05 +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
(_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=/branches/mono-1-0/mono/; revision=33407

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=/branches/mono-1-0/mcs/; revision=33405

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=/branches/mono-1-0/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