mono.git
19 years ago2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 7 Sep 2004 20:29:44 +0000 (20:29 -0000)]
2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
* mb-parser.jay:
* mb-tokenizer.cs: first cut at implementing
op assign

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

19 years ago2004-07-07 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 7 Sep 2004 20:06:52 +0000 (20:06 -0000)]
2004-07-07 Bernie Solomon <bernard@ugsolutions.com>
* OptionalA.vb: new test for optional args + overloads

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

19 years agoDo not call XDestroyWindow, X has already done this for us and the handle is no longe...
Jackson Harper [Tue, 7 Sep 2004 20:01:53 +0000 (20:01 -0000)]
Do not call XDestroyWindow, X has already done this for us and the handle is no longer valid.

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

19 years agoFirst steps towards a new X event loop that manages to not crash. TODO: Add poll...
Jackson Harper [Tue, 7 Sep 2004 19:59:41 +0000 (19:59 -0000)]
First steps towards a new X event loop that manages to not crash. TODO: Add poll and cleanup timers

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

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

* expression.cs: Apply patch from Ben: Remove dead code from
ArrayCreation, and remove the TurnintoConstant call in const.cs,
as that code just threw an exception anwyays.

* const.cs: Remove the call to the turnintoconstant, for details
see bug: #63144

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

19 years ago2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 7 Sep 2004 18:04:33 +0000 (18:04 -0000)]
2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
* ecore.cs:
* enum.cs:
* expression.cs:
* mb-parser.jay:
* support.cs: work on improving overload resolution

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

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

* literal.cs: The type of the null-literal is the null type;  So
we use a placeholder type (literal.cs:System.Null, defined here)
for it.

* expression.cs (Conditional.DoResolve): Remove some old code that
is no longer needed, conversions have been fixed.

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

19 years agoGroupBox control
Jordi Mas i Hernandez [Tue, 7 Sep 2004 17:12:26 +0000 (17:12 -0000)]
GroupBox control

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

19 years ago2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 7 Sep 2004 16:29:48 +0000 (16:29 -0000)]
2004-09-07  Bernie Solomon  <bernard@ugsolutions.com>

* exceptions-sparc.c (mono_arch_find_jit_info): remove
unnecessary line that doesn't compile

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

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

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

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

19 years agoAdd new test
Miguel de Icaza [Tue, 7 Sep 2004 15:27:41 +0000 (15:27 -0000)]
Add new test

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

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

* XmlFactory.cs : removed (obsolete).

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

19 years ago2004-09-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 7 Sep 2004 14:49:22 +0000 (14:49 -0000)]
2004-09-07  Martin Baulig  <martin@ximian.com>

* mcs-expect-no-error: I'm slowly getting annoyed.  Is it really
so hard to add new tests here ?

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

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

* XmlNamespaceManager.cs : GetNamespacesInScope() ignored default
  namespace when scope is .ExcludeXml or .All.
* XmlReader.cs : Implemented ValueType, SchemaInfo, ReadAsObject().
  Fixed ReadTypedValue() to call ReadValueAs().

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

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

* XmlReaderCommonTests.cs : Added tests for ReadAsObject().

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

19 years agoForgot about this bit too
Duncan Mak [Tue, 7 Sep 2004 13:39:23 +0000 (13:39 -0000)]
Forgot about this bit too

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

19 years agoAdd an unsafe section to the code that's using direct pointers. This
Duncan Mak [Tue, 7 Sep 2004 13:09:55 +0000 (13:09 -0000)]
Add an unsafe section to the code that's using direct pointers. This
was breaking the test stage on the build boxes.

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

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

* XmlNamespaceManager.cs : Fixed GetNamespacesInScope() that returned
  inconsistent namespace pairs.

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

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

* XmlNamespaceManagerTests.cs : Added test for duplicate addition,
  atomization, complex RemoveNamespace() and GetNamespacesInScope().

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

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

* reflection.h reflection.c icall.c: Only call TypeResolve handlers
once. Fixes #58334.

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

19 years ago2004-09-07 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 7 Sep 2004 12:06:43 +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=/trunk/mcs/; revision=33501

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

* X509Certificate.cs: CreateFromSignedFile now throw the COMException
if the specified file isn't signed (before this was done by
AuthenticodeDeformatter). More details are available on failure.

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

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

* AuthenticodeBase.cs: Merge from Mono.Security.dll. This version is
less memory consuming (it works by 4kb blocks instead of loading the
entire assembly).
* AuthenticodeDeformatter.cs: Merge from Mono.Security.dll. Hash will
only be created if the assembly is signed. Benefits from Authenticode
Base changes.

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

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

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

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

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

* X509Chain.cs: Merge from Mono.Security. Fix two bugs (chain
construction from collection) and Reset-ing empty chain.

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

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

* Mono.Security_test.dll.sources: Added unit tests for Authenticode
Deformatter.

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

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: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