mono.git
19 years ago2005-02-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 10 Feb 2005 14:25:06 +0000 (14:25 -0000)]
2005-02-10  Zoltan Varga  <vargaz@freemail.hu>

* inssel.brg (mini_emit_virtual_call): Disable the virtual->nonvirtual
optimization if it would need a GOT var.

* basic.cs: Add tests for constant propagation and switch statements.

* ssa.c: Fix out-of-range constant propagation and switch statements.

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

19 years agoThu Feb 10 15:19:01 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 10 Feb 2005 14:13:34 +0000 (14:13 -0000)]
Thu Feb 10 15:19:01 CET 2005 Paolo Molaro <lupus@ximian.com>

* domain.c, object.h: expose mono_string_equal () and
mono_string_hash ().
* icall.c, string-icalls.c: remove the string.GetHashCode () icall,
it's implemented in managed code.

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

19 years ago2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 10 Feb 2005 13:55:18 +0000 (13:55 -0000)]
2005-02-10  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityManager.cs: Reduced the number of parameters for LinkDemand.
Removed a (forgotten) debugging message.

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

19 years agoThu Feb 10 15:03:46 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 10 Feb 2005 13:49:27 +0000 (13:49 -0000)]
Thu Feb 10 15:03:46 CET 2005 Paolo Molaro <lupus@ximian.com>

* icall.c, gc.c, gc-internal.h: make sure gchandles can't be used
lo leak objects between appdomains.

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

19 years ago* expression.cs:
Satya Sudha K [Thu, 10 Feb 2005 13:38:01 +0000 (13:38 -0000)]
* expression.cs:
        - Implemented Exponentiation operator (^)
        - Fixed the behaviour of strings in arithmatic operations (only addition was supported before)
        - Fixed Decimal arithmatic with float/double types
        - If operation = Division, promoting both operands to double, otherwise doing numeric promotions
* mb-parser.jay : Changes related to the Exponentiation operator

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

19 years agoThu Feb 10 14:25:00 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 10 Feb 2005 13:09:39 +0000 (13:09 -0000)]
Thu Feb 10 14:25:00 CET 2005 Paolo Molaro <lupus@ximian.com>

* assembly.c: old compilers compilation fix from
robertj@gmx.net (Robert Jordan).

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

19 years ago2005-02-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 10 Feb 2005 12:36:48 +0000 (12:36 -0000)]
2005-02-10  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityException.cs: Show more information when a SecurityException
occurs to help debugging.
* SecurityManager.cs: Reworked LinkDemand implementation. Supply more
informations when throwing a SecurityException for LinkDemand.
* PermissionSet.cs: Remove (now) unused code for LinkDemand.

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

19 years ago2004-11-02 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Thu, 10 Feb 2005 12:35:31 +0000 (12:35 -0000)]
2004-11-02  Lluis Sanchez Gual  <lluis@ximian.com>

* MonoWSDL.cs, MonoWSDL2.cs: Added support for custom CodeDom providers.
Patch by Rogerio Pereira.
* SampleGenerator.cs: Fix warnings.

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

19 years ago2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 10 Feb 2005 12:08:53 +0000 (12:08 -0000)]
2005-02-10  Lluis Sanchez Gual <lluis@novell.com>

* SoapFormatter.cs: Don't store the SoapWriter in an instance field,
it is not needed and it is not thread safe. This fixes bug #72344.

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

19 years ago2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 10 Feb 2005 11:26:30 +0000 (11:26 -0000)]
2005-02-10  Atsushi Enomoto <atsushi@ximian.com>

* XmlWriterEmitter.cs : String.Replace() was insufficient for
  sequential candidates for replacement. Patch by Andrew Skiba.

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

19 years ago2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 10 Feb 2005 10:46:29 +0000 (10:46 -0000)]
2005-02-10  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : clean more.
* xalan-correct-catalog.xml : removed old file.

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

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

* Makefile : added patching step against buggy catalog.xml.
  Build both xslttest.exe and alltest.exe.

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

19 years ago2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 10 Feb 2005 10:26:44 +0000 (10:26 -0000)]
2005-02-10  Atsushi Enomoto <atsushi@ximian.com>

* GenericOutputter.cs : don't output extraneous xml declaration.
  fix by Andrew Skiba.

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

19 years ago2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 10 Feb 2005 09:54:22 +0000 (09:54 -0000)]
2005-02-10  Lluis Sanchez Gual  <lluis@novell.com>

* SoapReader.cs: Don't crash if the xml has more fields than expected.

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

19 years ago2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 10 Feb 2005 09:51:52 +0000 (09:51 -0000)]
2005-02-10  Lluis Sanchez Gual  <lluis@novell.com>

* DefaultWatcher.cs: Fix nullref exception when the object is disposed
without any watcher.

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

19 years ago2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 10 Feb 2005 09:50:22 +0000 (09:50 -0000)]
2005-02-10  Lluis Sanchez Gual  <lluis@novell.com>

* BindableAttribute.cs: Implemented 2.0 api.

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

19 years ago2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 10 Feb 2005 09:46:28 +0000 (09:46 -0000)]
2005-02-10  Lluis Sanchez Gual  <lluis@novell.com>

* CheckBoxList.cs: Fix build.

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

19 years ago2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 10 Feb 2005 09:38:03 +0000 (09:38 -0000)]
2005-02-10  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: New files:
System.Web.UI/ICheckBoxControl.cs
System.Web.UI/IStaticTextControl.cs
System.Web.UI/ITextControl.cs

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

19 years ago2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 10 Feb 2005 09:37:42 +0000 (09:37 -0000)]
2005-02-10  Lluis Sanchez Gual <lluis@novell.com>

* Button.cs: Use validation group when validating page.
* XmlDataSourceView.cs: Implemented ExecuteSelect.
* Menu.cs: Minor fix.
* CheckBox.cs: Added 2.0 properties and methods.
* BaseDataList.cs: Always databind the control if view state
is not enabled.
* DataList.cs: In 2.0, use control state to save the selected index.
* DetailsViewUpdatedEventArgs.cs: Fix typo.
* CustomValidator.cs: Implement IStaticTextControl interface.
* CheckBoxList.cs: Added missing 2.0 methods.
* DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
interface.
* XmlDataSource.cs: Return childs of DocumentElement, not the root
document.
* DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
Implemented 2.0 API.

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

19 years ago2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 10 Feb 2005 09:37:20 +0000 (09:37 -0000)]
2005-02-10  Lluis Sanchez Gual <lluis@novell.com>

* Page.cs: Added support for validation groups. Some fixes in
SavePageControlState().
* IFilterResolutionService.cs: Removed extra field.
* INavigateUIData.cs: Added missing field.
* ICheckBoxControl.cs, IStaticTextControl.cs, ITextControl.cs:
Implemented new interfaces.

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

19 years agoFixed concat of date and string using '+" operator
Manjula GHM [Thu, 10 Feb 2005 09:33:47 +0000 (09:33 -0000)]
Fixed concat of date and string using '+" operator

-This line, and those below, will be ignored--

M    ChangeLog
M    expression.cs

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

19 years ago2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 10 Feb 2005 08:40:56 +0000 (08:40 -0000)]
2005-02-10  Atsushi Enomoto  <atsushi@ximian.com>

* DataView.cs, DataRowView.cs : Fixed bug #72421. CreateChildView()
  should target only child rows.

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

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

* MenuItem.cs: Use SystemInformation and bug fixes
* MenuAPI.cs: Use SystemInformation and bug fixes

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

19 years ago2005-02-10 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 10 Feb 2005 08:24:21 +0000 (08:24 -0000)]
2005-02-10  Marek Safar <marek.safar@seznam.cz>

* mono-api-diff.cs ,
* mono-api-info.cs : Check values of attribute properties.

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

19 years ago2005-02-10 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 10 Feb 2005 08:19:26 +0000 (08:19 -0000)]
2005-02-10  Marek Safar  <marek.safar@seznam.cz>

* Assembly.cs,
* ConstructorInfo.cs,
* EventInfo.cs,
* FieldInfo.cs,
* MemberInfo.cs,
* MethodBase.cs,
* MethodInfo.cs,
* PropertyInfo.cs: ClassInterfaceType is None.

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

19 years ago2005-02-10 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 10 Feb 2005 08:18:40 +0000 (08:18 -0000)]
2005-02-10  Marek Safar  <marek.safar@seznam.cz>

* TypeLibVarAttribute.cs,
* TypeLibTypeAttribute.cs,
* ComSourceInterfacesAttribute.cs: Fix AttributeUsage flags.

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

19 years ago2005-02-10 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 10 Feb 2005 08:18:08 +0000 (08:18 -0000)]
2005-02-10  Marek Safar  <marek.safar@seznam.cz>

* IServiceProvider.cs: Is not ComVisible.

* NonSerializedAttribute.cs: Fix AttributeUsage flags.

* Type.cs: Fix ClassInterface attribute.

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

19 years agoFix.
Raja R Harinath [Thu, 10 Feb 2005 05:17:42 +0000 (05:17 -0000)]
Fix.

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

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