mono.git
19 years ago2005-02-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 18 Feb 2005 16:17:37 +0000 (16:17 -0000)]
2005-02-18  Atsushi Enomoto  <atsushi@ximian.com>

* XslCopy.cs, XslCopyOf.cs : copy namespace nodes in the
  transformation input == not limited to "local" namespace nodes.

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

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

* Exception.cs (StackTrace): Implement this in managed code since it is
needed by CAS. Fixes #72146.

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

19 years agoFri Feb 18 16:00:29 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 18 Feb 2005 14:50:44 +0000 (14:50 -0000)]
Fri Feb 18 16:00:29 CET 2005 Paolo Molaro <lupus@ximian.com>

* threads.c: we don't depend on the GC checking tls
slots anymore.
* processes.c: remove unused ref to GC headers.

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

19 years agoFix crasher in re-opened #72347.
Raja R Harinath [Fri, 18 Feb 2005 14:39:32 +0000 (14:39 -0000)]
Fix crasher in re-opened #72347.
* namespace.cs (Namespace.Lookup): Return null if
DeclSpace.DefineType returns null.

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

19 years agoremove stray newline.
Raja R Harinath [Fri, 18 Feb 2005 14:02:52 +0000 (14:02 -0000)]
remove stray newline.

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

19 years agoFix #72678.
Raja R Harinath [Fri, 18 Feb 2005 13:42:55 +0000 (13:42 -0000)]
Fix #72678.
* mcs/expression.cs (Argument.Resolve): Handle a case of CS0120 here.
* errors/cs0120-5.cs: New test from #72678.

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

19 years agoFixed a bug w.r.t operations involving enum and other types.
Satya Sudha K [Fri, 18 Feb 2005 13:26:33 +0000 (13:26 -0000)]
Fixed a bug w.r.t operations involving enum and other types.

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

19 years ago2005-02-18 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Fri, 18 Feb 2005 13:25:38 +0000 (13:25 -0000)]
2005-02-18 Ritvik Mayank <mritvik@novell.com>
* Throwing the Error Message with System.Exception for all the Conversion Tests

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

19 years ago2005-02-18 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Fri, 18 Feb 2005 12:36:23 +0000 (12:36 -0000)]
2005-02-18 Ritvik Mayank <mritvik@novell.com>
* removed some replicated test cases

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

19 years ago* cs0131-3.cs: New test from #63202.
Raja R Harinath [Fri, 18 Feb 2005 11:43:51 +0000 (11:43 -0000)]
* cs0131-3.cs: New test from #63202.

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

19 years ago* Makefile (TEST_HARNESS_EXTRAS): Add test-74.cs.
Raja R Harinath [Fri, 18 Feb 2005 10:39:35 +0000 (10:39 -0000)]
* Makefile (TEST_HARNESS_EXTRAS): Add test-74.cs.

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

19 years ago* AssemblyInfo.cs [BOOTSTRAP_WITH_OLDLIB]: Disable SecurityPermission.
Raja R Harinath [Fri, 18 Feb 2005 10:23:38 +0000 (10:23 -0000)]
* AssemblyInfo.cs [BOOTSTRAP_WITH_OLDLIB]: Disable SecurityPermission.

mcs 1.1.2 has trouble with this.

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

19 years agoFix remainder of #63202. Change semantics of DoResolveLValue: it
Raja R Harinath [Fri, 18 Feb 2005 09:54:12 +0000 (09:54 -0000)]
Fix remainder of #63202.  Change semantics of DoResolveLValue: it
now returns null if it cannot resolve to an lvalue.
* ecore.cs (Expression.DoResolveLValue): Return 'null' by default.
(Expression.ResolveLValue): Emit CS0131 error if DoResolveLValue
returned null.  Remove check for SimpleName.
(EventExpr.DoResolveLValue): New.
* iterators.cs (Iterator.FieldExpression.DoResolveLValue): New.
* expression.cs (Argument.Error_LValueRequired): New.  Move CS1510
error from ...
(Argument.Resolve): ... here.  Use it.  Use DoResolveLValue to
avoid CS0131 error.
(Unary.ResolveOperator): Move CS0211 check ...
(Unary.DoResolve): ... here.  Use DoResolveLValue to avoid
CS0131 error.
(Unary.DoResolveLValue): Simplify.
(AddressOf.DoResolveLValue): New.
(ArrayAccess.DoResolveLValue): New.

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

19 years ago* ecore.cs :
Satya Sudha K [Fri, 18 Feb 2005 09:46:27 +0000 (09:46 -0000)]
* ecore.cs :
        Modified Implicit Constant conversions to :
        * Handle Long/Float/Double Constants also
        * Throw a compile time error if constant cannot be converted to a specified type
          (as with vbc)
* assign.cs :
* expression.cs :
        Widening Enum constants to constants of underlying type
        before doing the conversions
* cfold.cs :
        Added support for exponentiation operator for constants
* enum.cs : Allowing double values to be specified as enum values

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

19 years ago* Makefile (EXTRA_DISTFILES): Distribute all *.resx and *.resources.prebuilt.
Raja R Harinath [Fri, 18 Feb 2005 08:11:52 +0000 (08:11 -0000)]
* Makefile (EXTRA_DISTFILES): Distribute all *.resx and *.resources.prebuilt.

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

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

* Expression.cs : string() function expects "Infinity" and "-Infinity"
  instead of "INF" for conversion from number. XmlConvert is for XSD,
  not for XSLT.

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

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

* BUGS-MS.txt : more bug records.

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

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

* XmlNamespaceManager.cs : Prefix "xml" is bound to the fixed
  namespace "http://www.w3.org/XML/1998/namespace", but it is not
  vice versa (i.e. we can use other prefixes for this namespace URI).

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

19 years ago- Fixed visibility
Peter Dennis Bartok [Fri, 18 Feb 2005 04:11:58 +0000 (04:11 -0000)]
- Fixed visibility

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

19 years ago- Added missing attributes and organized into regions
Peter Dennis Bartok [Fri, 18 Feb 2005 04:11:30 +0000 (04:11 -0000)]
- Added missing attributes and organized into regions

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

19 years agomore failing tests
Ben Maurer [Fri, 18 Feb 2005 04:06:05 +0000 (04:06 -0000)]
more failing tests

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

19 years agomore
Gonzalo Paniagua Javier [Fri, 18 Feb 2005 00:54:05 +0000 (00:54 -0000)]
more

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

19 years agobuild fix
Gonzalo Paniagua Javier [Thu, 17 Feb 2005 22:42:20 +0000 (22:42 -0000)]
build fix

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

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

* XslNumber.cs : maybe I had better explain why I needed own Round().

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

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

* BUGS-MS.txt : added MS bug information.

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

19 years ago2005-02-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 17 Feb 2005 21:54:04 +0000 (21:54 -0000)]
2005-02-17  Atsushi Enomoto  <atsushi@ximian.com>

* XslNumber.cs : We must round double value before formatting it as
  alphabets or roman numbers.

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

19 years ago2005-02-17 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 17 Feb 2005 21:41:37 +0000 (21:41 -0000)]
2005-02-17  Peter Bartok  <pbartok@novell.com>

* UpDownBase.cs: Fixed typo, compilation errors
* DomainUpDown.cs: Fixed attribute value

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

19 years ago2005-02-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 17 Feb 2005 21:29:47 +0000 (21:29 -0000)]
2005-02-16  Miguel de Icaza  <miguel@novell.com>

* UpDownBase.cs: Attach entry events.
Propagate events.
Add ForeColor property, Focused, InterceptArrowKeys (interception
does not work yet).

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

19 years ago2005-02-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 17 Feb 2005 20:47:21 +0000 (20:47 -0000)]
2005-02-17  Zoltan Varga  <vargaz@freemail.hu>

* jit-icalls.c (mono_ldvirtfn): Explicitly check for a NULL obj here.

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

19 years ago2005-02-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 17 Feb 2005 20:36:32 +0000 (20:36 -0000)]
2005-02-17  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (resolve_object): Fix the creation of the signature in
the SignatureHelper case.

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

19 years agooops
Gonzalo Paniagua Javier [Thu, 17 Feb 2005 19:18:41 +0000 (19:18 -0000)]
oops

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

19 years ago2005-02-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 17 Feb 2005 19:13:11 +0000 (19:13 -0000)]
2005-02-17  Zoltan Varga  <vargaz@freemail.hu>

* assembly.c (mono_assembly_remap_version): Fix binary search.

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

19 years agoAdded test case.
Paolo Molaro [Thu, 17 Feb 2005 18:44:34 +0000 (18:44 -0000)]
Added test case.

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

19 years agoThu Feb 17 19:57:11 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 17 Feb 2005 18:41:34 +0000 (18:41 -0000)]
Thu Feb 17 19:57:11 CET 2005 Paolo Molaro <lupus@ximian.com>

* io.c: remove _wapi_thread_cur_apc_pending () checks
when the siscall should return immediatly and handle
the case when a syscall is interrupted without
erroring out, but returning a 0 read/write if possible.
Still the cases of read from file need to be handled.

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

19 years ago2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 17 Feb 2005 17:50:46 +0000 (17:50 -0000)]
2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.dll.sources: new files.

* System.Web.UI/BoundPropertyEntry.cs:
* System.Web.UI/PropertyEntry.cs:
* System.Web.UI/TwoWayBoundPropertyEntry.cs: implemented.

* System.Web.Compilation/ExpressionBuilderContext.cs:
* System.Web.Compilation/ExpressionBuilder.cs: implemented.

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

19 years ago2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 17 Feb 2005 17:46:55 +0000 (17:46 -0000)]
2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.dll.sources: added CodeDomConfigurationHandler.
* System.CodeDom.Compiler/CodeDomProvider.cs: implemented IsDefined* and
GetCompilerInfo.
* System.CodeDom.Compiler/CompilerInfo.cs: implemented.
* System.CodeDom.Compiler/CodeDomConfigurationHandler.cs: system.codedom
section reader.

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

19 years agoAdd an explanatory comment about ftruncate.
Dick Porter [Thu, 17 Feb 2005 16:24:20 +0000 (16:24 -0000)]
Add an explanatory comment about ftruncate.

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

19 years ago2005-02-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 17 Feb 2005 16:23:59 +0000 (16:23 -0000)]
2005-02-17  Sebastien Pouliot  <sebastien@ximian.com>

* mini.h: Moved MONO_EXCEPTION_* enum to metadata/class-internals.h so
it can be reused for MonoClass.
* mini.c: Renamed MONO_EXCEPTION_SECURITY to MONO_EXCEPTION_SECURITY
_LINKDEMAND.

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

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

* class.c: Added inheritance check when a method is overloaded (from a
virtual method or when implementing an interface) and when a class is
inherited. Added functions to set a failure for a class and to
retreive the exception from a failure.
* class-internals.h: Added fields to MonoClass to keep the exception
information status for inheritance (or other exceptions) to be thrown
later (i.e. not at load time).
* object.c: Throw the inheritance SecurityException when a type is to
be created with either class or method inheritance violations.
* reflection.c|h: Fix when getting declsec from a class. Removed
unrequired code for class. Improved sanity in parameter naming.
* security-manager.c|h: Added functions to check for class and method
inheritance.

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

19 years agomenu fixes
Jordi Mas i Hernandez [Thu, 17 Feb 2005 15:29:33 +0000 (15:29 -0000)]
menu fixes

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

19 years ago2005-02-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 17 Feb 2005 13:52:01 +0000 (13:52 -0000)]
2005-02-17  Atsushi Enomoto <atsushi@ximian.com>

* Outputter.cs,
  TextOutputter.cs,
  GenericOutputter.cs : removed WriteStartDocument(), WriteEndDocument()
  and WriteState. Writing XML declaration is done inside
  DetermineOutputMethod().

* ManagedXslTransform.cs : no need to write XML declaration here.

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

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

* reflection.c (mono_reflection_create_runtime_class): Set has_cctor
and has_finalize in dynamic types as well.

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

19 years ago- Sigh. I forgot to save the fixed file before checkin.
Peter Dennis Bartok [Thu, 17 Feb 2005 11:16:31 +0000 (11:16 -0000)]
- Sigh. I forgot to save the fixed file before checkin.

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

19 years agoSupport relational operator for other types
Manjula GHM [Thu, 17 Feb 2005 11:15:42 +0000 (11:15 -0000)]
Support relational operator for other types

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

19 years agoTest cases for Relational operators
Manjula GHM [Thu, 17 Feb 2005 11:14:02 +0000 (11:14 -0000)]
Test cases for Relational operators

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

19 years ago2005-02-17 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 17 Feb 2005 11:12:28 +0000 (11:12 -0000)]
2005-02-17  Peter Bartok  <pbartok@novell.com>

        * Application.cs: Now calls registered message filters
        * DockStyle.cs: Fixed attribute
        * Form.cs: Fixed attribute
        * Menu.cs: Fixed attribute
        * ToolTip.cs: Fixed attribute
        * TreeNode.cs: Added missing attributes and arranged in regions
        * PropertyGrid.cs: Fixed signatures
        * TreeNodeCollection.cs: Added attributes
        * Splitter.cs: Added missing attributes; arranged into regions
        * TabPage.cs: Added missing attributes; arranged into regions
        * TextBoxBase.cs: Added missing attributes
        * TextBox.cs: Added missing attributes
        * ArrangeDirection.cs: Added missing attributes
        * TreeNodeConverter.cs: Added stub (needed for TreeNode)
        * ToolBarButton.cs: Fixed attributes
        * AnchorStyles.cs: Fixed attribute
        * TrackBar.cs: Fixed attributes
        * TabControl.cs: Added missing attributes and arranged into regions
        * ToolBar.cs: Fixed attribute
        * StatusBar.cs: Fixed signature, organized into regions and added
          attributes
        * StatusBarPanel.cs: Fixed attributes
        * ContentsResizedEventArgs.cs: Implemented
        * ContentsResizedEventHandler.cs: Implemented
        * DateBoldEventArgs.cs: Implemented
        * DateBoldEventHandler.cs: Implemented
        * UpDownEventArgs.cs: Implemented
        * UpDownEventHandler.cs: Implemented

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

19 years agoNegative test case for Conversions with Overloaded functions -
Satya Sudha K [Thu, 17 Feb 2005 09:43:42 +0000 (09:43 -0000)]
Negative test case for Conversions with Overloaded functions -
Contributed by Sudharsan V

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

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

* XslAttribute.cs : It does not have to probe prefix at run time.

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

19 years ago* runtime/Makefile.am (PLATFORM_PATH_SEPARATOR): New. $(PATH_SEPARATOR) has the...
Raja R Harinath [Thu, 17 Feb 2005 08:14:34 +0000 (08:14 -0000)]
* runtime/Makefile.am (PLATFORM_PATH_SEPARATOR): New.  $(PATH_SEPARATOR) has the "wrong"
value on cygwin.
(mcs-compileall): Use it.

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

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

* XmlNode.cs : It does not have to iterate children to find argument
  node. Fixed exception type to ArgumentException. Patch by Andrew
  Skiba.

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

19 years ago2005-02-17 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 17 Feb 2005 07:47:52 +0000 (07:47 -0000)]
2005-02-17  Marek Safar <marek.safar@seznam.cz>

* test-74.cs: Fixed to work with LF & CRLF.

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

19 years ago* runtime/Makefile.am (cur_dir_cmd): New. Use cygpath to get the
Raja R Harinath [Thu, 17 Feb 2005 07:33:59 +0000 (07:33 -0000)]
* runtime/Makefile.am (cur_dir_cmd): New.  Use cygpath to get the
current directory in non-Cygwin form.
(mcs-compileall): Use it.  Use $(PATH_SEPARATOR) when defining
MONO_PATH.

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

19 years ago* acinclude.m4: Don't include distributed libtool.m4.
Raja R Harinath [Thu, 17 Feb 2005 05:36:27 +0000 (05:36 -0000)]
* acinclude.m4: Don't include distributed libtool.m4.

(Try a possible fix for PPC buildbot breakage)

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

19 years ago* fixed-buffer-exe.cs: Rename from 'fixed-buffer.cs' to follow
Raja R Harinath [Thu, 17 Feb 2005 04:45:46 +0000 (04:45 -0000)]
* fixed-buffer-exe.cs: Rename from 'fixed-buffer.cs' to follow
naming conventions.

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

19 years agoFew more tests for Statements - by Sudharsan
Manjula GHM [Thu, 17 Feb 2005 04:17:43 +0000 (04:17 -0000)]
Few more tests for Statements - by Sudharsan

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

19 years agoFew more tests for Statements - by Sudharsan
Manjula GHM [Thu, 17 Feb 2005 04:14:52 +0000 (04:14 -0000)]
Few more tests for Statements - by Sudharsan

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

19 years agoNotWorking fixes for 2.0
Ben Maurer [Thu, 17 Feb 2005 04:04:54 +0000 (04:04 -0000)]
NotWorking fixes for 2.0

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

19 years agothreading tests fuck 2.0, news at 11
Ben Maurer [Thu, 17 Feb 2005 02:06:01 +0000 (02:06 -0000)]
threading tests fuck 2.0, news at 11

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

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

* Compiler.cs : reverted previous fix, since it should be done
  in XslTransformProcessor with root stylesheet.
* XslTransformProcessor.cs : In TryElementNamespacesOutput(),
  don't output alias namespaces. And now consider null exclusions.

* XslLiteralElement.cs,
  XslCopy.cs : Now that exclude-element-prefixes and extension-
  element-prefixes are handled in GetNamespacesToCopy(), we could
  just remove those collector routine. Also, literal elements were
  still trying to output namespaces outside TryElementNamespacesOutput.

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

19 years ago2005-02-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 17 Feb 2005 01:06:41 +0000 (01:06 -0000)]
2005-02-16  Atsushi Enomoto <atsushi@ximian.com>

* Compiler.cs : don't return alias namespaces in GetNamespacesToCopy().

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

19 years ago2005-02-16 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 17 Feb 2005 00:54:48 +0000 (00:54 -0000)]
2005-02-16  Ben Maurer  <bmaurer@ximian.com>

* TimerTest.cs: Disable this test. It seems to be completely
unreliable, likely because it depends on a race. See comment in
the source.

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

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

* en.xml : fixed currency format.

* culture-info-table.h : fixed currency format for en-GB (and so on).

* Driver.cs : set \n for writer's NewLine explicitly (otherwise it
  results in mixed line ending in culture-info-table.h).

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

19 years agoWed Feb 16 22:30:54 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 16 Feb 2005 21:23:39 +0000 (21:23 -0000)]
Wed Feb 16 22:30:54 CET 2005 Paolo Molaro <lupus@ximian.com>

* alloc.c: tune the code to collect instead of expanding
the heap if there are many finalizers and we reclaimed some
memory from cleaning the finalization queue (should fix
bug #71001 and #70701).

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

19 years ago2005-02-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 16 Feb 2005 21:17:58 +0000 (21:17 -0000)]
2005-02-16  Miguel de Icaza  <miguel@novell.com>

* MonoEvent.cs: Put new methods here.

* EventInfo.cs: Move the methods GetCustomAttributes, and
IsDefined from EventInfo to MonoEvent.

Remove the methods that were not supposed to be exposed: Name,
ReflectedType, DeclaringType.

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

19 years ago2005-02-16 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Wed, 16 Feb 2005 21:03:51 +0000 (21:03 -0000)]
2005-02-16  Lluis Sanchez Gual  <lluis@ximian.com>

* HttpCalls.cs, TcpCalls.cs: Don't use a hardcoded port number for the
test channels, take any free port.

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

19 years ago2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 16 Feb 2005 20:42:06 +0000 (20:42 -0000)]
2005-02-16  Lluis Sanchez Gual  <lluis@novell.com>

* HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
* RadioButton.cs: Added missing 2.0 methods.
* ListItem.cs: Added Enabled property.
* MailMessageEventArgs.cs: Use the correct message class.
* ListControl.cs: Implemented missing properties and support for
control state. Implemented base RenderContents method.
* Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
properties.
* BaseCompareValidator.cs: Implemented methods that support conditional
use of the invariant culture.
* DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
* SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
It takes a DbCommand instead of a IDbCommand.
* GridViewSortEventArgs.cs: Added SortDirection property.
* TextBox.cs, CheckBoxList.cs: Added protected version of
IPostBackDataHandler methods.
* RadioButtonList.cs: Added protected version of
IPostBackDataHandler and IRepeatInfoUser methods.
* Repeater.cs: Updated some method names.
* DropDownList.cs:  Added protected version of
IPostBackDataHandler methods. Reuse RenderContents from base class.
* RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
* GridViewUpdatedEventArgs.cs: Fix typo.
* ListBox.cs: Added protected version of IPostBackDataHandler methods.
Reuse RenderContents from base class.
* BaseDataBoundControl.cs: Several fixes.
* ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.

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

19 years ago2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 16 Feb 2005 20:36:18 +0000 (20:36 -0000)]
2005-02-16  Lluis Sanchez Gual  <lluis@novell.com>

* OleDbCommand.cs: Make it inherit from the correct base class in 2.0,
and added stubs for some interface methods.

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

19 years ago2005-02-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 16 Feb 2005 20:05:09 +0000 (20:05 -0000)]
2005-02-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Configuration.cs: (.ctor) don't fail if the file to load does not
exist.
(GetExeConfiguration): use caller assembly location if the path is null
and check that the exe file exists.
Removed if XML_DEP, as there's one at the top of the file.

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

19 years ago2005-02-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 16 Feb 2005 19:49:55 +0000 (19:49 -0000)]
2005-02-16  Sebastien Pouliot  <sebastien@ximian.com>

* PolicyLevelTest.cs: Renamed the file created by the StoreLocation
test case to include the username. This way multiple users sharing
/tmp cannot block the test execution (e.g. buildbot). Also tries to
remove the file after the test.

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

19 years ago2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 16 Feb 2005 19:08:26 +0000 (19:08 -0000)]
2005-02-16  Jordi Mas i Hernandez <jordi@ximian.com>

* Form.cs: first Menu NC refactoring
* MenuAPI.cs: first Menu NC refactoring

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

19 years agoignore <strongNames>
Gonzalo Paniagua Javier [Wed, 16 Feb 2005 18:46:32 +0000 (18:46 -0000)]
ignore <strongNames>

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

19 years ago2005-02-16 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 16 Feb 2005 17:24:51 +0000 (17:24 -0000)]
2005-02-16  Marek Safar <marek.safar@seznam.cz>

* test-348.cs: New test.

* fixed-buffer-dll.cs,
* fixed-buffer.cs: Fixed buffer tests.

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

19 years ago2005-02-16 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 16 Feb 2005 17:13:22 +0000 (17:13 -0000)]
2005-02-16  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (Attribute.Resolve): Add arguments casting for
when types doesn't match ctor arguments.

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

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

* XmlConvertTests.cs : added some null/empty string cases for
  EncodeName()/EncodeLocalName()/EncodeNmToken().

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

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

* XmlAttribute.cs : just use InnerText for Value. Patch by Andrew
  Skiba.
* XmlConvert.cs : Handle null and empty strings for EncodeName(),
  EncodeLocalName() and EncodeNmToken(). Patch by Andrew Skiba.
* NameTable.cs : usually tail of namespaces are rather different than
  head of them. Patch by Andrew Skiba.
* XmlUrlResolver.cs : missing %20 handling. Patch by Andrew Skiba.

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

19 years agoWed Feb 16 16:28:15 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 16 Feb 2005 15:20:50 +0000 (15:20 -0000)]
Wed Feb 16 16:28:15 CET 2005 Paolo Molaro <lupus@ximian.com>

* gc.c: ensure the GC handles never have 0 as a value.

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

19 years agoWed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 16 Feb 2005 15:09:56 +0000 (15:09 -0000)]
Wed Feb 16 16:20:56 CET 2005 Paolo Molaro <lupus@ximian.com>

* GCHandle.cs: check the domain of an handle target is correct.
Make the unallocated value 0, since that is the default value
for valuetypes.

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

19 years agoIn mcs:
Raja R Harinath [Wed, 16 Feb 2005 14:33:28 +0000 (14:33 -0000)]
In mcs:
Fix parts of #63202.
* expression.cs (UnaryMutator.ResolveOperator): Remove redundant
lookup of operator in base type.  Ensure that all checks happen
when the operator resolves to an "op_..." method.

In errors:
* cs0187-1.cs, cs0187-2.cs: New tests from #63202.

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

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

* pinvoke2.cs: Add test for #72625.

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

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

* marshal.c (emit_marshal_ptr): Raise an exception if trying to pass
a pointer to a struct to unmanaged code. Fixes #72625.

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

19 years ago2005-02-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Feb 2005 12:56:46 +0000 (12:56 -0000)]
2005-02-16  Atsushi Enomoto <atsushi@ximian.com>

* Compiler.cs : GetNamespacesToCopy() should also find for non-local
  namespace nodes. Patch by Andrew Skiba with some fixes.
* XslTransformProcessor.cs : Patch by Andrew Skiba.
  TryStylesheetNamespaceOutput() is now TryElementNamespacesOutput()
  as to handle all namespace nodes to copy in stylesheet nodes.
  Global parameterss are evaluated before global variables.
* XmlOutputter.cs : removed unused code.

* XslCopy.cs : According to the spec 7.5, namespace nodes should be
  copied. Patch by Andrew Skiba.
* XslLiteralElement.cs,
  XslElement.cs : Change in sync with TryElementNamespacesOutput().
* XslStylesheet.cs : version check was incorrectly done.
  Should check empty string, not null.

Pending items:

* Actually variables and params should check reference recursion.
    This patch incompletely fixes the problem.
* Those operations that considers excluded-result-prefixes must
  also check those attributes of its ancestors.

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

19 years ago2005-02-16 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 16 Feb 2005 11:34:36 +0000 (11:34 -0000)]
2005-02-16  Peter Bartok  <pbartok@novell.com>

* ResXResourceReader.cs, ResXResourceWriter.cs: Removed sealed
  attribute from classes

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

19 years ago2005-02-16 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 16 Feb 2005 11:33:50 +0000 (11:33 -0000)]
2005-02-16  Peter Bartok  <pbartok@novell.com>

        * ImeMode.cs: Added missing attributes
        * Menu.cs: Fixed attribute
        * GroupBox.cs: Fixed attribute
        * Label.cs: Fixed attribute
        * ColorDialog.cs (RunDialog): Removed TODO attribute
        * ComboBox.cs: Fixed attributes
        * ListControl.cs: Added missing attributes
        * PropertyGrid.cs: Fixed attributes
        * Control.cs: Fixed attributes
        * ListViewItem.cs: Added TypeConverter attribute
        * NotifyIcon.cs: Fixed attributes
        * ListView.cs: Fixed attributes
        * ButtonBase.cs: Fixed attribute
        * ImageList.cs: Added missing attributes
        * ContainerControl.cs: Fixed signature
        * CheckedListBox.cs: Fixed attribute; added missing attributes
        * Panel.cs: Fixed attributes
        * PropertyTabChangedEventArgs.cs: Added missing attribute
        * PropertyValueChangedEventArgs.cs: Added missing attribute
        * Binding.cs: Fixed attribute
        * ListViewItemConverter: Implemented ListViewSubItemConverter class
        * ListBox.cs: Fixed attribute; added missing attributes;
        * ScrollableControl.cs: Added missing attributes
        * PictureBox.cs: Added missing attributes; implemented missing property
        * DateTimePicker.cs: Added missing attributes
        * Theme.cs (ToolWindowCaptionHeight): Fixed type
        * MonthCalendar.cs: Fixed attributes
        * StatusBarPanel.cs: Added missing attributes
        * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type

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

19 years ago2005-02-16 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Wed, 16 Feb 2005 11:27:27 +0000 (11:27 -0000)]
2005-02-16 Ritvik Mayank <mritvik@novell.com>
*  DefaultAttrC1.vb
*  DefaultAttrC2.vb
*  DefaultAttrC3.vb
*  DefaultAttrC4.vb
*  DefaultAttrC5.vb
*  DefaultAttrC6.vb
removed the above test cases (replica of DefaultPropC*.vb)

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

19 years ago- flush
Peter Dennis Bartok [Wed, 16 Feb 2005 07:48:27 +0000 (07:48 -0000)]
- flush

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

19 years ago- Tried to fix enforcing height a bit better
Peter Dennis Bartok [Wed, 16 Feb 2005 07:40:32 +0000 (07:40 -0000)]
- Tried to fix enforcing height a bit better

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

19 years agoremove experimental code in #if false .. #endif
Raja R Harinath [Wed, 16 Feb 2005 05:17:23 +0000 (05:17 -0000)]
remove experimental code in #if false .. #endif

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

19 years agoremove .cvsignore, as this is not used anymore
Ben Maurer [Wed, 16 Feb 2005 04:43:00 +0000 (04:43 -0000)]
remove .cvsignore, as this is not used anymore

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

19 years ago2005-02-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 16 Feb 2005 03:31:26 +0000 (03:31 -0000)]
2005-02-16  Martin Baulig  <martin@ximian.com>

* mono-debug.c (mono_debug_open_image): Ignore dynamic images.

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

19 years ago * BaseCollection.cs: Use property so we never access an
Jackson Harper [Wed, 16 Feb 2005 02:36:47 +0000 (02:36 -0000)]
* BaseCollection.cs: Use property so we never access an
uninitialized list. Also initialize the list in the property.

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

19 years ago- Updated, to test if svn munges them
Peter Dennis Bartok [Wed, 16 Feb 2005 01:48:33 +0000 (01:48 -0000)]
- Updated, to test if svn munges them

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

19 years ago2005-02-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 15 Feb 2005 23:51:16 +0000 (23:51 -0000)]
2005-02-16  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_marshal_array): Only marshal unicode char arrays as [Out].

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

19 years ago2005-02-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 15 Feb 2005 23:45:35 +0000 (23:45 -0000)]
2005-02-16  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke2.cs: Fix char array marshalling test so it works under MS.NET.

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

19 years ago2005-02-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 15 Feb 2005 21:23:07 +0000 (21:23 -0000)]
2005-02-15  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am (libtest_la_LDFLAGS): Add -Wl,--kill-at so the names exported from the DLL
can be found by the runtime.

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

19 years ago2005-02-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 15 Feb 2005 21:18:52 +0000 (21:18 -0000)]
2005-02-15  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_lookup_pinvoke_call): Fix stdcall name mangling.

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

19 years ago2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 15 Feb 2005 21:14:24 +0000 (21:14 -0000)]
2005-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WindowsConsoleDriver.cs: implemented MoveBufferArea.

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

19 years agoAdded some more functionality
Alexander Olk [Tue, 15 Feb 2005 20:55:11 +0000 (20:55 -0000)]
Added some more functionality

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

19 years ago- Changed dialog height to 332
Alexander Olk [Tue, 15 Feb 2005 20:36:19 +0000 (20:36 -0000)]
- Changed dialog height to 332
- Fixed size of colorBaseLabel
- Fixed drawing of the dialog after hiding the dialog and showing it again

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

19 years agoChanging local method variables doesn't make sense.
Alexander Olk [Tue, 15 Feb 2005 18:11:12 +0000 (18:11 -0000)]
Changing local method variables doesn't make sense.
Fixes TextBox.Width being always 100.

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

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

* marshal.c (mono_ftnptr_to_delegate): If the delegate has the
UnmanagedFunctionPointerAttribute, use it for determining calling convention
etc. Fixes #71471.

* reflection.c (mono_custom_attrs_get_attr): New helper function.

* object-internals.h: Add MonoReflectionUnmanagedFunctionPointerAttribute.

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