mono.git
19 years ago* library.make (DISTFILES): Add $(btest_sourcefile).
Raja R Harinath [Thu, 10 Feb 2005 05:14:11 +0000 (05:14 -0000)]
* library.make (DISTFILES): Add $(btest_sourcefile).

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

19 years ago2005-02-09 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Thu, 10 Feb 2005 03:57:23 +0000 (03:57 -0000)]
2005-02-09  Cesar Lopez Nataren  <cnataren@novell.com>

* expression.cs: Added method EmitStore and EmitLoad to Identifier
class. Implemented op= operators. Fixes 72393.

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

19 years ago2005-02-09 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 10 Feb 2005 02:02:39 +0000 (02:02 -0000)]
2005-02-09  Ben Maurer  <bmaurer@ximian.com>

* monograph.c (print_method): Don't use method->info, as this will
be removed soon.

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

19 years ago2005-02-10 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Thu, 10 Feb 2005 01:21:14 +0000 (01:21 -0000)]
2005-02-10  Nick Drochak  <ndrochak@ieee.org>

* DeserializeTests.cs: Ignore new test on MS.NET, since it fails there.

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

19 years ago2005-02-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 9 Feb 2005 23:02:29 +0000 (23:02 -0000)]
2005-02-09  Sebastien Pouliot  <sebastien@ximian.com>

* cas1.cs: Changed for an easier to test case.
* cas2-5: New. "Normal" LinkDemand test cases.
* icall1.cs, icall2.cs: Updated to work on both Mono and MS runtime.
* icall2-6.cs: New. More internal call test cases.
* Makefile: Updated makefile.
* pinvoke1-2.cs: Updated to work on both Mono and MS runtime.
* pinvoke3-4.cs: New. More P/Invoke test cases.
* README: Updated informations.

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

19 years ago2005-02-09 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Wed, 9 Feb 2005 21:56:39 +0000 (21:56 -0000)]
2005-02-09  Ben Maurer  <bmaurer@ximian.com>
* class-internals.h: Little reminder for the future.

* debug-helpers.c: Fix up wrapper_type_names

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

19 years ago2005-02-09 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Wed, 9 Feb 2005 21:37:52 +0000 (21:37 -0000)]
2005-02-09  Geoff Norton  <gnorton@customerdna.com>

        * Icon.cs: Implement deserializer
        * Bitmap.cs: Implement deserializer

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

19 years ago2005-02-09 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Wed, 9 Feb 2005 21:29:17 +0000 (21:29 -0000)]
2005-02-09  Lluis Sanchez Gual  <lluis@ximian.com>

* CultureInfo.cs: Added field needed for serialization
interoperability with MS.NET. Also fixed default value for
the constructor.

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

19 years ago * X11Keyboard.cs: We ignore some keys, but still need to set/reset
Jackson Harper [Wed, 9 Feb 2005 20:42:01 +0000 (20:42 -0000)]
* X11Keyboard.cs: We ignore some keys, but still need to set/reset
their keystate otherwise things like VK_MENU get stuck "on".

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

19 years agoWed Feb 9 19:34:29 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 9 Feb 2005 18:22:06 +0000 (18:22 -0000)]
Wed Feb 9 19:34:29 CET 2005 Paolo Molaro <lupus@ximian.com>

* image.c, metadata-internals.h: when loading an image from a file,
mmap all of it and use the same codepaths as when using a
in-memory image: the code is simpler and we use less memory
(both writable and readonly).

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

19 years agoWed Feb 9 18:32:51 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 9 Feb 2005 17:21:17 +0000 (17:21 -0000)]
Wed Feb 9 18:32:51 CET 2005 Paolo Molaro <lupus@ximian.com>

* gc-internal.h, null-gc.c, boehm-gc.c: added functions to the GC
API to alloc runtime data structures that need to be tracked by the
GC and contain pointers.
* appdomain.c, threads.c, object.c, gc.c: use the above changes to
make the code more readable and eventually use a different GC.

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

19 years agoFixes AddRange bug
Jordi Mas i Hernandez [Wed, 9 Feb 2005 16:52:21 +0000 (16:52 -0000)]
Fixes AddRange bug

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

19 years ago2005-02-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 9 Feb 2005 16:19:12 +0000 (16:19 -0000)]
2005-02-09  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_marshal_vtype): Don't do managed->native conversion
for out arguments.

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

19 years ago2005-02-09 <vargaz@freemail.hu>
Zoltan Varga [Wed, 9 Feb 2005 15:56:41 +0000 (15:56 -0000)]
2005-02-09    <vargaz@freemail.hu>

* inssel-x86.brg (reg): Align the allocation size in the localloc(imm) case too.

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

19 years ago2005-02-09 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 9 Feb 2005 15:23:57 +0000 (15:23 -0000)]
2005-02-09  Lluis Sanchez Gual  <lluis@novell.com>
* object.c: In release_type_locks(), don't release the cctor lock
if it has already been released. This fixes a crash in the
thread5 test.

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

19 years ago2005-02-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 9 Feb 2005 14:07:55 +0000 (14:07 -0000)]
2005-02-09  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile, xslttest.cs : Rewrote to be runnable against the latest
  draft version of OASIS XSLT tests. Also, Makefile now unifies
  existing xslttest.exe and new alltest.exe (might be renamed later).
* simplify.xsl : added comment.
* alltest.cs : code format.

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

19 years ago * StdlibTest.cs: Signal is currently ignored, but add Category(NotDotNet) so
Jonathan Pryor [Wed, 9 Feb 2005 13:35:13 +0000 (13:35 -0000)]
  * StdlibTest.cs: Signal is currently ignored, but add Category(NotDotNet) so
    it isn't run even when we fix it.  .NET 1.1 doesn't marshal delegates
    properly for signal (different calling conventions).
    Add Category(NotDotNet) for Snprintf(), as MSVCRT.dll doesn't export it.
  * UnixGroupTest.cs, UnixUserTest.cs: Don't run these under .NET, as Windows
    doesn't support the Syscall and related classes.

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

19 years ago2005-02-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 9 Feb 2005 11:21:27 +0000 (11:21 -0000)]
2005-02-09  Zoltan Varga  <vargaz@freemail.hu>

* Makefile (TEST_EXCLUDES_net_2_0): Disable gen-72 until the runtime
regression is fixed.

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

19 years ago2005-02-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 9 Feb 2005 09:57:18 +0000 (09:57 -0000)]
2005-02-09  Atsushi Enomoto <atsushi@ximian.com>

* LocationPathPattern.cs : Wildcard name is held as "", so we should
  also check "" for wildcard. Patch by Andrew Skiba.

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

19 years ago2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 9 Feb 2005 09:56:52 +0000 (09:56 -0000)]
2005-02-09  Jordi Mas i Hernandez <jordi@ximian.com>

* ProgressBar.cs
- Add missing attributes
- Add missing method

* CheckedListBox.cs: Added missing attributes
- Add missing attributes
- Remove extra method

* ComboBox.cs: Added missing attributes
* VScrollBar.cs: Added missing attributes
* ScrollBar.cs:  Added missing attributes
* ListBox.cs: Fixes signature, add missing consts
* LinkArea.cs:   Added missing attributes

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

19 years ago2005-02-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 9 Feb 2005 09:49:18 +0000 (09:49 -0000)]
2005-02-09  Atsushi Enomoto <atsushi@ximian.com>

* XslStylesheet.cs : MS implementation had chosen to recover from
  the error, in the way specified in the spec 7.7.1. Patch by Andrew
  Skiba.

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

19 years ago2005-02-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 9 Feb 2005 09:43:57 +0000 (09:43 -0000)]
2005-02-09  Atsushi Enomoto  <atsushi@ximian.com>

* XslNumber.cs : For group size, use decimal instead of integer to allow
  such number that is larger than int.MaxValue. patch by Andrew Skiba.

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

19 years ago2005-02-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 9 Feb 2005 09:21:55 +0000 (09:21 -0000)]
2005-02-09  Atsushi Enomoto  <atsushi@ximian.com>

* XslForEach.cs : Don't bork at <xsl:for-each/>. Patch by Andrew Skiba.

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

19 years ago2005-02-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 9 Feb 2005 09:02:33 +0000 (09:02 -0000)]
2005-02-09  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile.mstest,
  alltest.cs,
  simplify.xsl : another test runner from MainSoft. See the top of
  Makefile.mstest. IMPORTANT: it can't co-exist with existing tests
  extracted.

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

19 years agoCombine two near-redundant caches.
Raja R Harinath [Wed, 9 Feb 2005 08:13:57 +0000 (08:13 -0000)]
Combine two near-redundant caches.
* typemanager.cs (method_params): Rename from method_internal_params.
(TypeManager.GetParameterData): New.  Replace
Invocation.GetParameterData.
(TypeManager.LookupParametersByBuilder): Remove.
* expression.cs (Invocation.method_parameter_cache): Remove.
(Invocation.GetParameterData): Remove.
Update to changes.
* anonymous.cs, attribute.cs, convert.cs, delegate.cs:
Update to changes.

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

19 years ago2004-02-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 9 Feb 2005 07:03:41 +0000 (07:03 -0000)]
2004-02-09  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs : RelationalExpr was comparing number and node in
  reverse order. Patch by Kazuki Oikawa. Fixed bug #72343.
  RelationalExpr should also handle result tree fragment as node-set
  as well as EqualityExpr. This fixes RTF case wrt #72343.

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

19 years ago* Makefile (SUBDIRS): Add 'rerrors'.
Raja R Harinath [Wed, 9 Feb 2005 06:25:01 +0000 (06:25 -0000)]
* Makefile (SUBDIRS): Add 'rerrors'.
* rerrors/Makefile: Minor cleanups.

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

19 years ago- Oops
Peter Dennis Bartok [Wed, 9 Feb 2005 02:49:13 +0000 (02:49 -0000)]
- Oops

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

19 years ago- Added missing attributes
Peter Dennis Bartok [Wed, 9 Feb 2005 02:48:17 +0000 (02:48 -0000)]
- Added missing attributes
- Implemented TextBoxBase AppendText() and Select() methods
- Implemented CheckBox.CheckBoxAccessibleObject class

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

19 years ago2005-02-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 8 Feb 2005 22:19:20 +0000 (22:19 -0000)]
2005-02-08  Zoltan Varga  <vargaz@freemail.hu>

* pwd.c (Mono_Posix_Syscall_getpwnam_r): Add another part missing from the last patch.

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

19 years ago2005-02-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 8 Feb 2005 22:10:46 +0000 (22:10 -0000)]
2005-02-08  Zoltan Varga  <vargaz@freemail.hu>

* cpu-amd64.md (load_membase): Fix max length of load_membase.

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

19 years ago2005-02-08 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Tue, 8 Feb 2005 19:06:00 +0000 (19:06 -0000)]
2005-02-08 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

    * NpgsqlTypes/NpgsqlTypesHelper.cs: Fixed float precision rounding. Now all float values are sent with 15 precision scale.
    * Npgsql/NpgsqlCommand.cs: Fixed problem when setting a new connection and a running transaction existed. Now, the transaction can be removed and later the connection can be replaced. Thanks Mike Griffin (mike.griffin at mygenerationsoftware dot com) for heads up.

2005-02-06  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

    * NpgsqlTypes/NpgsqlTypeConverters.cs: Fixed datetime precision when sending values to backend. It was sending just the first 3 decimal values of time. Now it sends all the 6 digits. Thanks Martin Susil (spam at susil dot net) for heads up.

2005-01-29  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

    * Npgsql/NpgsqlCommand.cs: Added support for updating output parameters when calling executereader().
    Thanks Mike Griffin (mike dot griffin at mygenerationsoftware dot com) for heads up.
    Fixed internal constructor to initialize Parameters collection and timeout.

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

19 years ago- ColorDialog does now what its name suggests
Alexander Olk [Tue, 8 Feb 2005 19:05:06 +0000 (19:05 -0000)]
- ColorDialog does now what its name suggests

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

19 years agoTue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 8 Feb 2005 18:11:50 +0000 (18:11 -0000)]
Tue Feb 8 19:26:47 CET 2005 Paolo Molaro <lupus@ximian.com>

* Delegate.cs: remove the finalizer from Delegate: this
is handled internally by the runtime now.

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

19 years ago2005-02-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 8 Feb 2005 18:03:59 +0000 (18:03 -0000)]
2005-02-08  Zoltan Varga  <vargaz@freemail.hu>

* IPv6Address.cs: Fix endianess problems.

* IPAddress.cs: Fix misleading comments.

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

19 years agoTue Feb 8 19:02:59 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 8 Feb 2005 17:48:46 +0000 (17:48 -0000)]
Tue Feb 8 19:02:59 CET 2005 Paolo Molaro <lupus@ximian.com>

* gc.c, marshal.c, icall.c: register a delegate for finalization
only when the native function pointer has been allocated for it.

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

19 years agoTue Feb 8 18:28:11 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 8 Feb 2005 17:13:42 +0000 (17:13 -0000)]
Tue Feb 8 18:28:11 CET 2005 Paolo Molaro <lupus@ximian.com>

* threads.c: make people test with 1 MB stack per thread.

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

19 years agoTue Feb 8 18:21:11 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 8 Feb 2005 17:06:38 +0000 (17:06 -0000)]
Tue Feb 8 18:21:11 CET 2005 Paolo Molaro <lupus@ximian.com>

* mini.c: update to new signature of mono_class_get_allocation_ftn().

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

19 years agoTue Feb 8 18:12:27 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 8 Feb 2005 17:06:22 +0000 (17:06 -0000)]
Tue Feb 8 18:12:27 CET 2005 Paolo Molaro <lupus@ximian.com>

* object.c: cleaned up some code, allocate objects that are
pointer free with the atomic malloc variant. Allocate memory
for static data from the mempool if it's pointer-free.
Allocate the bounds array at the end of the array data, when needed.
* object-internals.h, object.h: move a private function in a private
header.
* class.c: handle missing case in tracking references in fields.

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

19 years agoTue Feb 8 18:04:51 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 8 Feb 2005 16:53:06 +0000 (16:53 -0000)]
Tue Feb 8 18:04:51 CET 2005 Paolo Molaro <lupus@ximian.com>

* class.c, class-internals.h: keep track if a type has
reference fields in either the instance or static fields.

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

19 years ago * LinkLabel.cs:
Jordi Mas i Hernandez [Tue, 8 Feb 2005 16:48:08 +0000 (16:48 -0000)]
* LinkLabel.cs:
- Fixes signature
- Fixes issues with links
- Adds the class attributes

2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>

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

19 years ago2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 8 Feb 2005 16:05:42 +0000 (16:05 -0000)]
2005-02-08  Atsushi Enomoto <atsushi@ximian.com>

* XslTemplate.cs : if input is literal result element, it could result
  in ArgumentException. Patch by Andrew Skiba.

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

19 years ago2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 8 Feb 2005 15:21:37 +0000 (15:21 -0000)]
2005-02-08  Atsushi Enomoto <atsushi@ximian.com>

* XslFunctions.cs : Fixed unparsed-entity-uri() that might result in
  NullReferenceException. Patch by Andrew Skiba.

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

19 years ago2005-02-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 8 Feb 2005 14:24:04 +0000 (14:24 -0000)]
2005-02-08  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityManager.cs: Updated code for LinkDemand (and it's special
cases).

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

19 years ago2005-02-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 8 Feb 2005 14:07:47 +0000 (14:07 -0000)]
2005-02-08  Sebastien Pouliot  <sebastien@ximian.com>

* all.cs: New. Test file with attributes for RequestMinimum,
RequestOptional and RequestRefuse.
* all.net_1_1.txt: New. Expected output when "make test" is used in
the NET_1_1 profile.
* Makefile: New. Makefile to build and execute tests.
* min.cs: New. Test file with attribute for RequestMinimum (only).
* min.net_1_1.txt: New. Expected output when "make test" is used in
the NET_1_1 profile.
* none.cs: New. Test file with no security declarative attribute on
assembly.
* none.net_1_1.txt: New. Expected output when "make test" is used in
the NET_1_1 profile.
* opt.cs: New. Test file with attribute for RequestOptional (only).
* opt.net_1_1.txt: New. Expected output when "make test" is used in
the NET_1_1 profile.
* README: Instruction and details about the tests.
* ref.cs: New. Test file with attribute for RequestRefuse (only).
* ref.net_1_1.txt: New. Expected output when "make test" is used in
the NET_1_1 profile.
2005-02-08  Sebastien Pouliot  <sebastien@ximian.com>

* aptc1.cs: New. Partial trust test case.
* aptc2.cs: New. Partial trust test case.
* aptclib.cs: Library for partial trust test case.
* cas1.cs: New. New. "Normal" LinkDemand test case.
* ecma.pub: New. The ECMA "key" to test icalls.
* icall1.cs: New. Internal call test case.
* icall2.cs: New. Internal call test case (reflection).
* Makefile: New. Makefile to build and execute tests.
* pinvoke1.cs: New. P/Invoke test case.
* pinvoke2.cs: New. P/Invoke test case.
* README: New. Instruction and details about the tests.

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

19 years ago* assign.cs: Fix for implicit conversions in Compound Assignments
Satya Sudha K [Tue, 8 Feb 2005 13:05:11 +0000 (13:05 -0000)]
* assign.cs: Fix for implicit conversions in Compound Assignments
* ecore.cs :
                - Fixed the explicit conversion of float/double to integral types
                  by rounding the float/double values before performing the actual
                  conversion
                - Using 'ConvCast' instead of 'OpcodeCast' for Narrowing
                  conversions

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

19 years agoFix #72015.
Raja R Harinath [Tue, 8 Feb 2005 12:04:17 +0000 (12:04 -0000)]
Fix #72015.
* delegate.cs (Delegate.DefineType): When bootstrapping corlib, if
TypeManager.multicast_delegate_type is null, resolve it by looking
up "System.MulticastDelegate".
* rootcontext.cs (RootContext.ResolveCore): Simplify.

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

19 years ago2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Tue, 8 Feb 2005 11:33:10 +0000 (11:33 -0000)]
2005-02-08  Jordi Mas i Hernandez <jordi@ximian.com>

* ComboBox.cs:
- Fixes button when no items available in dropdown
- Fixes repainting problems
- Adds the class attributes

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

19 years ago2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 8 Feb 2005 11:16:26 +0000 (11:16 -0000)]
2005-02-08  Atsushi Enomoto <atsushi@ximian.com>

* XslOutput.cs : MS.NET recovers from unknown encoding according to
  XSLT spec 16.1. Patch by Andrew Skiba.

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

19 years ago2004-02-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 8 Feb 2005 11:06:56 +0000 (11:06 -0000)]
2004-02-08  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs : tiny code format fix by Andrew Skiba.

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

19 years agoTests for implicit conversions in arithmatic operations
Satya Sudha K [Tue, 8 Feb 2005 10:57:58 +0000 (10:57 -0000)]
Tests for implicit conversions in arithmatic operations
       - Contributed bu Sudharsan V

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

19 years ago2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 8 Feb 2005 10:52:36 +0000 (10:52 -0000)]
2005-02-08  Atsushi Enomoto <atsushi@ximian.com>

* HtmlEmitter.cs : patch by Andrew Skiba.
  Remove extra element prefix output. simplify attribute prefix output.
  Attribute output might have resulted in invalid element stack peek.
  Output specified media type if any.

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

19 years ago2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 8 Feb 2005 10:37:39 +0000 (10:37 -0000)]
2005-02-08  Atsushi Enomoto <atsushi@ximian.com>

* Compiler.cs : Patch by Andew Skiba.
  wrap internal exception with XsltCompileException.
  Raise an error for not-found document URI.
  QName might contain sequential whitespaces and thus could be empty.

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

19 years ago2005-02-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 8 Feb 2005 10:18:13 +0000 (10:18 -0000)]
2005-02-07  Lluis Sanchez Gual  <lluis@novell.com>

* domain.c, domain-internals.h: Moved RuntimeInfo to domain-internals.h,
and renamed to MonoRuntimeInfo. Added fields to store the expected
framework assembly version. Changed mono_get_framework_version and
mono_get_runtime_version for a single mono_get_runtime_info method.

* assembly.c: Added method to remap system assembly versions to the
current executing runtime version. Removed old mapping code.
Remap assembly versions in mono_assembly_load and mono_assembly_loaded.

* icall.c, reflection.c: Track api changes.

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

19 years ago2005-02-08 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Tue, 8 Feb 2005 08:15:51 +0000 (08:15 -0000)]
2005-02-08  Cesar Lopez Nataren  <cnataren@novell.com>

* expression.cs (Identifier.Emit): Handle case where we are
assigning to a formal parameter. Fixes #72333.

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

19 years ago2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 8 Feb 2005 07:35:07 +0000 (07:35 -0000)]
2005-02-08  Atsushi Enomoto <atsushi@ximian.com>

* XslAttributeSet.cs : just ignore other kind of nodes than element
  in its content. Fix by Andrew Skiba.

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

19 years ago2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 8 Feb 2005 07:15:00 +0000 (07:15 -0000)]
2005-02-08  Atsushi Enomoto <atsushi@ximian.com>

* XslOutput.cs : for html and text output mode, just set internal
  omitXmlDeclaration status true. Patch by Andrew Skiba.

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

19 years agoapparently, what I did was wrong
Ben Maurer [Mon, 7 Feb 2005 23:44:32 +0000 (23:44 -0000)]
apparently, what I did was wrong

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

19 years ago * grp.c: Oops. Didn't see other Solaris fix in #72292.
Jonathan Pryor [Mon, 7 Feb 2005 23:25:26 +0000 (23:25 -0000)]
* grp.c: Oops.  Didn't see other Solaris fix in #72292.

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

19 years ago2005-02-07 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 7 Feb 2005 23:24:29 +0000 (23:24 -0000)]
2005-02-07  Ben Maurer  <bmaurer@ximian.com>

* List.cs (CheckRange): Comparison error. Duh!
(Shift): really deal with neg. delta. Also, adjust the `size'.

Based on a patch from Marc Denty (marc.denty@libertysurf.fr).

Fixes #72258.

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

19 years ago2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Feb 2005 22:49:53 +0000 (22:49 -0000)]
2005-02-08  Atsushi Enomoto <atsushi@ximian.com>

* XslFunctions.cs : fixed line ending mixture.

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

19 years ago2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Feb 2005 22:29:20 +0000 (22:29 -0000)]
2005-02-08  Atsushi Enomoto  <atsushi@ximian.com>

* XslProcessingInstruction.cs : MS.NET recovers from invalid PI name
  (it must be both NCName and PITarget, or must be ignored). Patch by
  Andrew Skiba.

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

19 years ago2005-02-07 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Mon, 7 Feb 2005 22:22:38 +0000 (22:22 -0000)]
2005-02-07  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Detect the menu bar and title bar height from
        the current theme.  Cache these on startup.

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

19 years ago2005-02-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 7 Feb 2005 22:03:12 +0000 (22:03 -0000)]
2005-02-07  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Add -Wdeclaration-after-statement option to CFLAGS if
gcc supports it to weed out pre ISO C99 code.

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

19 years ago2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 7 Feb 2005 21:50:29 +0000 (21:50 -0000)]
2005-02-08  Atsushi Enomoto  <atsushi@ximian.com>

* XslTemplateContent.cs : MS.NET recovers from incorrect non-text
  children in attribute, PI and comments. Patch by Andrew Skiba.

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

19 years ago2005-01-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 7 Feb 2005 21:34:54 +0000 (21:34 -0000)]
2005-01-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* misc/test3.vb : better winforms code (this one runs with current MWF implementation)

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

19 years ago * grp.c, pwd.c: Clear errno before calling the actual calls, as errno may
Jonathan Pryor [Mon, 7 Feb 2005 21:06:36 +0000 (21:06 -0000)]
  * grp.c, pwd.c: Clear errno before calling the actual calls, as errno may
    have a stale value, leading to spurious errors later.  Fixes #72292.

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

19 years ago2005-02-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 7 Feb 2005 20:45:31 +0000 (20:45 -0000)]
2005-02-07  Lluis Sanchez Gual  <lluis@novell.com>

* data/net_1_1/DefaultWsdlHelpGenerator.aspx:
* data/net_2_0/DefaultWsdlHelpGenerator.aspx: Don't use databinding where
not needed.

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

19 years ago * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
Jackson Harper [Mon, 7 Feb 2005 20:33:48 +0000 (20:33 -0000)]
* ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
the scrollbar buttons when they are depressed.

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

19 years ago2005-02-07 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Mon, 7 Feb 2005 20:18:24 +0000 (20:18 -0000)]
2005-02-07  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
        Get the display size from the main displayid.  We currently dont
        support multiple display configurations.

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

19 years agoUp
Miguel de Icaza [Mon, 7 Feb 2005 20:14:45 +0000 (20:14 -0000)]
Up

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

19 years ago2005-02-07 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Mon, 7 Feb 2005 20:08:12 +0000 (20:08 -0000)]
2005-02-07  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.

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

19 years ago * MethodDef.cs: Don't die on duplicate local symbols. Fixes bug
Jackson Harper [Mon, 7 Feb 2005 20:07:12 +0000 (20:07 -0000)]
* MethodDef.cs: Don't die on duplicate local symbols. Fixes bug
72149. Patch by Sohail Somani.

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

19 years ago2005-02-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 7 Feb 2005 17:46:23 +0000 (17:46 -0000)]
2005-02-07  Lluis Sanchez Gual  <lluis@novell.com>

* XmlSerializationReader.cs: After reading an href element, skip the
whole element (it may not be an empty element). This fixes bug #72265.

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

19 years ago2005-02-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 7 Feb 2005 17:45:51 +0000 (17:45 -0000)]
2005-02-07  Lluis Sanchez Gual  <lluis@novell.com>

* DeserializeTests.cs: Added test case for bug #72265.

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

19 years ago2005-02-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 7 Feb 2005 17:38:55 +0000 (17:38 -0000)]
2005-02-07  Miguel de Icaza  <miguel@novell.com>

* UpDownBase.cs: Add ReadOnly and UpDownAlign properties.

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

19 years ago2005-02-06 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 7 Feb 2005 17:07:30 +0000 (17:07 -0000)]
2005-02-06  Miguel de Icaza  <miguel@novell.com>

* loader.c (method_from_memberref): Improve error reporting,
produce the class name instead of the typeref/typedef index.

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

19 years ago2005-02-07 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Mon, 7 Feb 2005 17:00:32 +0000 (17:00 -0000)]
2005-02-07  Geoff Norton  <gnorton@customerdna.com>

        * include/private/gc_priv.h: Bump the max root sets to 1024

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

19 years ago2005-02-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 7 Feb 2005 15:13:09 +0000 (15:13 -0000)]
2005-02-07  Lluis Sanchez Gual <lluis@novell.com>

* XmlReturnWriter.cs, SoapDocumentationHandler.cs: Use utf-8 encoding
when generating xml responses, wsdl documents and schemas. This fixes
bug #72202.

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

19 years ago2005-02-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 7 Feb 2005 15:06:34 +0000 (15:06 -0000)]
2005-02-07  Lluis Sanchez Gual <lluis@novell.com>

* HttpSimpleProtocolImporter.cs: Fixed warning.

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

19 years ago2005-02-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 7 Feb 2005 15:06:10 +0000 (15:06 -0000)]
2005-02-07  Lluis Sanchez Gual <lluis@novell.com>

* client/localhost/TestBinding4Test.cs: Fix build.

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

19 years ago2005-02-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 7 Feb 2005 14:57:23 +0000 (14:57 -0000)]
2005-02-07  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_stfld_remote_wrapper): Fix wrapper type.

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

19 years ago2005-02-07 Abin Thomas (NOSIP) <projectmonokochi@rediffmail.com>
Raja R Harinath [Mon, 7 Feb 2005 14:37:35 +0000 (14:37 -0000)]
2005-02-07  Abin Thomas (NOSIP)  <projectmonokochi@rediffmail.com>
    Anoob V.E (NOSIP)  <projectmonokochi@rediffmail.com>
    Harilal P.R (NOSIP)  <projectmonokochi@rediffmail.com>

Fix cs0164.cs.
* statement.cs (LabeledStatement.Resolve): Don't set 'referenced'.
(LabeledStatement.AddReference): New.  Set 'referenced'.
(Goto.Resolve): Use it.

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

19 years agoIn Test/errors:
Ritvik Mayank [Mon, 7 Feb 2005 06:43:44 +0000 (06:43 -0000)]
In Test/errors:
2005-02-07 Ritvik Mayank <mritvik@novell.com>
* InterfaceC11.vb
* ShadowsC3.vb
* MustInheritC6.vb
* InterfaceC6.vb
* NotInheritableC4.vb
* MustInheritC7.vb
* ExternalSourceDirectivesC3.vb
* AccessibilityC14.vb
* ShadowsC5.vb
* InterfaceC10.vb
* MustInheritC9.vb
removed the spurious errors.

In .:

2005-02-07  Ritvik Mayank <mritvik@novell.com>
* modifiers.cs
* class.cs
* decl.cs
* expression.cs
* tree.cs
* statement.cs
            Changed for reflecting correct Error Number.

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

19 years agoFix non-uniform DOS line endings, and set svn:eol-style to native
Ritvik Mayank [Mon, 7 Feb 2005 06:37:56 +0000 (06:37 -0000)]
Fix non-uniform DOS line endings, and set svn:eol-style to native

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

19 years ago2005-02-07 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Mon, 7 Feb 2005 04:58:51 +0000 (04:58 -0000)]
2005-02-07  Daniel Morgan <danielmorgan@verizon.net>

* System.Data.OracleClient/OracleDataReader.cs: add LONG
to GetOracleValue to return an OracleString

* System.Data.OracleClient.Oci/OciDefineHandle.cs: add
LONG VARCHAR support.  See DefineLong ()
for LAMESPEC about OCI

* Test/TestOracleClient.cs: add LONG to Oracle tests

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

19 years ago2005-02-06 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 7 Feb 2005 03:35:53 +0000 (03:35 -0000)]
2005-02-06  Ben Maurer  <bmaurer@ximian.com>

* Brushes.cs: Kill the static ctor here, it has tons of code bloat.

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

19 years agoSome more fixes related to displaying correct line number by Sudharsan
Manjula GHM [Mon, 7 Feb 2005 03:25:54 +0000 (03:25 -0000)]
Some more fixes related to displaying correct line number by Sudharsan

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

19 years ago2005-02-06 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Sun, 6 Feb 2005 23:45:27 +0000 (23:45 -0000)]
2005-02-06  Cesar Lopez Nataren  <cnataren@novell.com>

* expression.cs: (load_script_func) Load localbuilder in an
invocation when needed, this let us have higher order functions,
which is lovely (Fixes #71129). Update calls to load_engine to new signature.
* FunctionDeclaration.cs: Add LocalBuilder to TypeManager.locals
* Statement.cs: Changed ctr to Init, so we can track correctly the
parent hierarchy when building the ast of the program.
* TypeManager.cs: Added field locals. Factored code for
handling the tables. Added enums ManagedType and Operation.
* Parser.cs: Track correctly the parent of return.
* ast.cs (class Function): add ScriptBlock as possible parent of a
global expression.
* CodeGenerator.cs: change signature of load_engine. Instead of a
AST a boolean. So we can call it with InFunction as parameter.

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

19 years ago2005-02-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 6 Feb 2005 19:26:23 +0000 (19:26 -0000)]
2005-02-06  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngReader.cs : ns attribute on root element should also be
  handled as well as datatypeLibrary.

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

19 years ago2005-02-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 6 Feb 2005 18:52:07 +0000 (18:52 -0000)]
2005-02-06  Atsushi Enomoto  <atsushi@ximian.com>

* AssemblyInfo.cs : minimum information.

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

19 years ago2005-02-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 6 Feb 2005 18:49:17 +0000 (18:49 -0000)]
2005-02-05  Atsushi Enomoto <atsushi@ximian.com>

* RncParser.jay : handle default namespace.
* RncWriter.cs : changed output format a bit.

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

19 years ago2005-02-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 6 Feb 2005 18:49:02 +0000 (18:49 -0000)]
2005-02-06  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngReader.cs : it was not handling datatypeLibrary attribute
  on root element. Added DefaultNamespace handling.
* RelaxngGrammar.cs : added DefaultNamespace property.
* RelaxngPattern.cs : WriteCompact() now outputs "default namespace =..".

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

19 years ago2005-02-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 6 Feb 2005 18:38:00 +0000 (18:38 -0000)]
2005-02-06  Atsushi Enomoto <atsushi@ximian.com>

* RdpObjects.cs : provide error type name. removed commented code block.

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

19 years agoFix bug with register usage on certain arithmetic operations
Neale Ferguson [Sun, 6 Feb 2005 18:04:51 +0000 (18:04 -0000)]
Fix bug with register usage on certain arithmetic operations

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

19 years ago2005-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 6 Feb 2005 17:29:31 +0000 (17:29 -0000)]
2005-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthentication.cs: fixed typo when getting the hash for the
password in SHA1 and MD5. Thanks to Tadas Dailyda.
Lock on a static object instead of typeof(FormsAuthentication).

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

19 years agocredits
Gonzalo Paniagua Javier [Sun, 6 Feb 2005 17:11:48 +0000 (17:11 -0000)]
credits

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

19 years ago2005-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 6 Feb 2005 17:10:45 +0000 (17:10 -0000)]
2005-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Test/System.IO/FileTest.cs: test for invalid characters in file names.
* System.IO/File.cs: Exists does not throw when there are invalid
characters in the file name.
* System.IO/MonoIOError.cs: uncommented INVALID_NAME.

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

19 years agoUpdate Firebird provider sources to RC1
Carlos Guzmán Álvarez [Sun, 6 Feb 2005 12:54:19 +0000 (12:54 -0000)]
Update Firebird provider sources to RC1

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

19 years agoSun Feb 6 07:10:12 EST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sun, 6 Feb 2005 11:53:00 +0000 (11:53 -0000)]
Sun Feb 6 07:10:12 EST 2005 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: add a workaround for broken user code that
DllImports vararg functions with non-vararg signatures.

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