mono.git
18 years ago2006-04-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 5 Apr 2006 16:54:09 +0000 (16:54 -0000)]
2006-04-05  Zoltan Varga  <vargaz@gmail.com>

* dominators.c (compute_dominators): Fix a bug which surfaced after the recent
branch optimization changes. Fixes #78009.

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

18 years ago2006-04-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 5 Apr 2006 15:27:53 +0000 (15:27 -0000)]
2006-04-05  Zoltan Varga  <vargaz@gmail.com>

* loader.c (mono_method_signature): Add a cache for method signatures.

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

18 years ago2006-04-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 5 Apr 2006 15:24:29 +0000 (15:24 -0000)]
2006-04-05  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (mono_metadata_get_param_attrs): New helper function to return
the parameter attributes of a method.
(mono_metadata_parse_method_signature_full): Refactored the computation of
parameter attributes into a separate function. Also avoid one allocation in
most cases.

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

18 years agoWed Apr 5 16:40:33 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 5 Apr 2006 14:42:24 +0000 (14:42 -0000)]
Wed Apr 5 16:40:33 CEST 2006 Paolo Molaro <lupus@ximian.com>

* mini.c: ignore accessibility of methods in managed->native wrappers.

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

18 years ago2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Apr 2006 13:36:56 +0000 (13:36 -0000)]
2006-04-05  Atsushi Enomoto <atsushi@ximian.com>

* XmlWriter.cs : Create(StringBuilder,XmlWriterSettings) was missing
  settings argument to pass another .ctor().
* XmlWriterSettings.cs : set_NewLineChars() should reject null.

* XmlWriterSettingsTest.cs : added tests on set_Encoding(),
  set_NewLineChars() and OmitXmlDeclaration.

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

18 years ago2006-04-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 5 Apr 2006 13:32:38 +0000 (13:32 -0000)]
2006-04-05  Zoltan Varga  <vargaz@gmail.com>

* metadata-internals.h (MonoImage): Add a new 'method_signature' cache.

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

18 years ago2006-04-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 5 Apr 2006 13:29:57 +0000 (13:29 -0000)]
2006-04-05  Zoltan Varga  <vargaz@gmail.com>

* assembly.c (mono_assembly_close): Ditto.

* image.c (mono_image_close): Log trace messages with INFO level.

* metadata-internals.h (MonoImage): Add a new 'method_signature' cache.

* image.c reflection.c: Correct reference counting of image modules.

* metadata.c (mono_metadata_interfaces_from_typedef_full): Allocate the result
of this function from the image mempool.

(mono_metadata_parse_type_full): Remove the mode != MONO_PARSE_PARAM restriction
to allow more cached types to be used.

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

18 years ago2006-04-05 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 5 Apr 2006 13:29:35 +0000 (13:29 -0000)]
2006-04-05  Mike Kestner  <mkestner@novell.com>

* XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.

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

18 years ago2006-04-05 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 5 Apr 2006 13:20:30 +0000 (13:20 -0000)]
2006-04-05  Mike Kestner  <mkestner@novell.com>

* ListView.cs (HeaderMouseMove): null guarding for the over column
when setting up the drag_to_index.  Fixes #78015.

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

18 years ago2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Apr 2006 08:21:49 +0000 (08:21 -0000)]
2006-04-05  Atsushi Enomoto  <atsushi@ximian.com>

* SslPolicyErrors.cs : forgot to add.

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

18 years ago2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Apr 2006 08:20:48 +0000 (08:20 -0000)]
2006-04-05  Atsushi Enomoto  <atsushi@ximian.com>

* System.dll.sources : added SslPolicyErrors.cs.

* AuthenticationLevel.cs,
  NegotiateStream.cs,
  SslStream.cs,
  LocalCertificateSelectionCallback.cs,
  RemoteCertificateValidationCallback.cs :
  Updated all unimplemented things to 2.0 RTM.

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

18 years agofix UrlEncode and UrlEncodeUnicode to match dotnet and http://rfc.net/rfc1738.html
Andrew Skiba [Wed, 5 Apr 2006 07:56:28 +0000 (07:56 -0000)]
fix UrlEncode and UrlEncodeUnicode to match dotnet and rfc.net/rfc1738.html

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

18 years ago2006-04-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Apr 2006 07:36:29 +0000 (07:36 -0000)]
2006-04-05  Atsushi Enomoto  <atsushi@ximian.com>

* System.dll.sources : added SortedDictionary.cs.
* System_test.dll.sources : added SortedDictionaryTest.cs.

* SortedDictionary.cs : new file. The original code is mostly
  from Kazuki Oikawa.

* SortedDictionaryTest.cs : new test.

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

18 years ago2006-04-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 5 Apr 2006 07:22:04 +0000 (07:22 -0000)]
2006-04-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialPort.cs: Add protected Dispose method, and move
the Close stuff there.

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

18 years ago2006-04-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Apr 2006 22:54:25 +0000 (22:54 -0000)]
2006-04-05  Zoltan Varga  <vargaz@gmail.com>

* include/private/gcconfig.h (LINUX and SPARC): Applied patch from
David S. Miller <davem@davemloft.net>: Do not
       use _etest and GC_SysVGetDataStart() to figure out DATASTART.
       Instead use either SEARCH_FOR_DATA_START or __environ, based
       upon GLIBC version.

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

18 years ago2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 4 Apr 2006 22:42:11 +0000 (22:42 -0000)]
2006-04-04  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  in the taskbar. Transient windows seem to accomplish that.

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

18 years ago2006-04-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Apr 2006 22:17:59 +0000 (22:17 -0000)]
2006-04-05  Zoltan Varga  <vargaz@gmail.com>

* mono-debug.c (mono_debug_add_method): Appled patch from
David S. Miller  <davem@sunset.davemloft.net>: Access
minfo->lexical_blocks[] entry elements using read32().

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

18 years ago2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 4 Apr 2006 22:06:52 +0000 (22:06 -0000)]
2006-04-04  Peter Dennis Bartok  <pbartok@novell.com>

* Form.cs:
  - Re-enabled CreateParams.X/Y code for FormStartPosition
  - Added code for manual placement when creating the Control
  - Incomplete patch to treat MDI forms differently when
    setting the ClientSizeCore. (Still need to figure out handling
    x/y coords there)
* XplatUIX11.cs:
  - When we're explicitly setting the X/Y position of a non-Child
    window, let the WM know. Metacity really wants this.

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

18 years ago2006-04-04 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 4 Apr 2006 20:57:13 +0000 (20:57 -0000)]
2006-04-04  Marek Safar  <marek.safar@seznam.cz>

* constant.cs (Constant.IsDefaultInitializer): New method.

* class.cs: Updated.

* expression.cs (ArrayCreation.CheckIndices): Add an optimization to don't
re-initialize default values. It saves KBs almost for every assembly.
Thanks Zoltan for the idea.
(ArrayCreation.ResolveInitializers): Renamed from ValidateInitializers.
(ArrayCreation.DoResolve): Resolve only once.
(ArrayCreation.Emit): Emit static initializer only when it is faster.
(ArrayCreation.GetAttributableValue): Cope with optimized values.

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

18 years ago * ThemeNice.cs: Added CPDrawButton
Alexander Olk [Tue, 4 Apr 2006 19:47:15 +0000 (19:47 -0000)]
* ThemeNice.cs: Added CPDrawButton

2006-04-04  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago2006-04-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Apr 2006 19:26:55 +0000 (19:26 -0000)]
2006-04-04  Zoltan Varga  <vargaz@gmail.com>

* loader.c (mono_free_method): No longer free the method header for non-dynamic
methods as it is allocated from the mempool.

* metadata.c (mono_metadata_parse_mh_full): Allocate method headers from the
image mempool.

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

18 years ago2006-04-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Apr 2006 19:16:17 +0000 (19:16 -0000)]
2006-04-04  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_cleanup): Call print_jit_stats () earlier since it accesses metadata.

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

18 years ago * ThemeNice.cs: Changed the color for focused buttons and activated
Alexander Olk [Tue, 4 Apr 2006 18:00:24 +0000 (18:00 -0000)]
* ThemeNice.cs: Changed the color for focused buttons and activated
  the arrows for small scroll buttons.

2006-04-04  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago2006-04-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 4 Apr 2006 17:53:01 +0000 (17:53 -0000)]
2006-04-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialPort.cs: Re-arrange values for ctors (keep things
clean).

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

18 years ago2006-04-04 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Tue, 4 Apr 2006 15:49:35 +0000 (15:49 -0000)]
2006-04-04  Alexander Olk  <alex.olk@googlemail.com>

* ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  anymore. Changed some method modifiers to protected (virtual)
* ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  changes
* ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  Updated drawing of menus, buttons and progressbars; added
  CPDrawBorder3D

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

18 years ago2006-04-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Apr 2006 15:27:25 +0000 (15:27 -0000)]
2006-04-04  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_cleanup): Free 'emul_opcode_map' as well.

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

18 years ago2006-04-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Apr 2006 13:54:09 +0000 (13:54 -0000)]
2006-04-04  Zoltan Varga  <vargaz@gmail.com>

        * configure.in: Add a check and a helpful error message when 'ar' is not found on solaris.

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

18 years ago2006-04-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Apr 2006 13:30:54 +0000 (13:30 -0000)]
2006-04-04  Zoltan Varga  <vargaz@gmail.com>

* metadata-internals.h: Add comments describing the reference counting scheme
used for MonoImage and MonoAssembly.

* image.c assembly.c reflection.c: Rework reference counting of images and
assemblies so they are freed when the runtime is shut down. Free some
additional memory structures when an image is unloaded.

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

18 years ago2006-04-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Apr 2006 13:18:49 +0000 (13:18 -0000)]
2006-04-04  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (SUBDIRS): Avoid compiling subdirs needed by the
interpreter.

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

18 years agobug 77563 fix
Roei Erez [Tue, 4 Apr 2006 09:35:16 +0000 (09:35 -0000)]
bug 77563 fix

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

18 years ago2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Apr 2006 01:31:40 +0000 (01:31 -0000)]
2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>

* BitVector32.cs : oops those operators are for BitVector32.Section,
  not BitVector32 itself.

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

18 years ago2004-04-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Apr 2006 01:09:10 +0000 (01:09 -0000)]
2004-04-04  Atsushi Enomoto  <atsushi@ximian.com>

* Thread.cs : base class is CriticalFinalizerObject.
* ThreadStartException.cs : no public constructors.

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

18 years ago2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Apr 2006 01:02:04 +0000 (01:02 -0000)]
2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>

* Array.cs :
  added some more [ReliabilityContract].
  removed some [CLSCompliant].
  renamed generic method parameter names.

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

18 years ago2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Apr 2006 00:47:56 +0000 (00:47 -0000)]
2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>

* WebClient.cs : added a bunch of async method support.

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

18 years ago2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Apr 2006 00:45:46 +0000 (00:45 -0000)]
2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>

* DeflateStream.cs GzipStream.cs : updated API to 2.0 RTM.
  Dispose() should certainly release resources than the finalizer.

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

18 years ago2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Apr 2006 00:39:11 +0000 (00:39 -0000)]
2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>

* AuthenticationException.cs InvalidCredentialException.cs :
  fixed namespaces.

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

18 years ago2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Apr 2006 00:38:02 +0000 (00:38 -0000)]
2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>

* BitVector32.cs : added operator== and != in 2.0.

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

18 years ago2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Apr 2006 00:36:49 +0000 (00:36 -0000)]
2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>

        * System.dll.sources: added DataReceivedEventArgs.cs and
          DataReceivedEventHandler.cs.
        * System_test.dll.sources : added StopwatchTest.cs.

        * Stopwatch.cs:
          Zoltan was quicker to add it, here I put my implementation ;-)
        * Process.cs :
          Added some missing long members (not implemented anyways).
        * DataReceivedEventHandler.cs DataReceivedEventArgs.cs :
          added new 2.0 types.

        * StopwatchTest.cs : new test.

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

18 years ago2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Apr 2006 23:58:51 +0000 (23:58 -0000)]
2006-04-04  Atsushi Enomoto <atsushi@ximian.com>

* RncParser.jay : handle "nested" annotations as well. This fixes
  atom.rnc parsing.

* atom.rnc : new file for RNC parser test (It is from
http://atompub.org/2005/08/17/atom.rnc i.e.
http://www.ietf.org/rfc/rfc4287.txt).

* RncTests.cs : added atom.rnc parsing test.

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

18 years ago2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Apr 2006 23:39:14 +0000 (23:39 -0000)]
2006-04-04  Atsushi Enomoto <atsushi@ximian.com>

* XmlChar.cs : copied newer one from System.Xml.
* RncParser.jay,
  RncTokenizer.cs :
  - QuotedIdentifier is now returned as a single token (whitespaces
    are not allowed between \ and keyword). \\ is simple an error.
  - handle surrogate characters correctly.
  - ForeignElementNotKeyword (in includes) is disabled until the
    ambiguity is solved.
  - Annotations are now handled without ambiguity.
  - removed some lines that are already commented out.
  Thanks to Alexandre for the report.

* RncTests.cs : added surrogate test and foreign-elements/attributes
  ambiguity test.

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

18 years agoIn System.Net:
Chris Toshok [Mon, 3 Apr 2006 21:33:43 +0000 (21:33 -0000)]
In System.Net:
2006-04-03  Chris Toshok  <toshok@ximian.com>

* HttpWebResponse.cs (ContentEncoding): return "" if the header
isn't present.

In Test/System.Net:
2006-04-03  Chris Toshok  <toshok@ximian.com>

* HttpWebRequestTest.cs (Missing_ContentEncoding): add test to
handle missing content encoding header.

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

18 years ago2006-04-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Apr 2006 20:26:09 +0000 (20:26 -0000)]
2006-04-03  Zoltan Varga  <vargaz@gmail.com>

* class.c loader.c reflection.c: Allocate more data structures in
the image mempool.

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

18 years agoremoved exec attribute
Gonzalo Paniagua Javier [Mon, 3 Apr 2006 18:54:40 +0000 (18:54 -0000)]
removed exec attribute

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

18 years ago2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 3 Apr 2006 18:51:29 +0000 (18:51 -0000)]
2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ImageAttributes.cs: SetColorKey(color, color) now calls the
color,color,ColorAdjustType.

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

18 years agosvn path=/trunk/mcs/; revision=58971
Gonzalo Paniagua Javier [Mon, 3 Apr 2006 18:17:32 +0000 (18:17 -0000)]
svn path=/trunk/mcs/; revision=58971

18 years ago2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 3 Apr 2006 18:11:22 +0000 (18:11 -0000)]
2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ImageListStreamer.cs: implemented serialization/deserialization
of the images.

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

18 years ago2006-04-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 3 Apr 2006 17:47:08 +0000 (17:47 -0000)]
2006-04-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialPort.cs:
* SerialPortStream.cs: Remove the buffers from the SerialPort
class, and take them to SerialPortStream. We need them for
storing the internal read (pass the buffer sizes to SerialPortStream
ctor by now, and use those numbers when we support them).

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

18 years ago2006-04-03 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Mon, 3 Apr 2006 15:34:45 +0000 (15:34 -0000)]
2006-04-03  Alexander Olk  <alex.olk@googlemail.com>

* ThemeWin32Classic.cs:
  - Removed all the DrawFrameControl stuff; CPDrawButton,
    CPDrawCheckBox and CPDrawRadioButton are now handled directly
    inside the methods
  - Updated and corrected the drawing code of CPDrawButton,
    CPDrawCheckBox and CPDrawRadioButton to better match ms
  - Updated theme checkbox and radiobutton code to use the CP*
    methods

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

18 years ago* interpreter.cs (Eval) [Until, lazy]: Avoid extra evaluation on a
Raja R Harinath [Mon, 3 Apr 2006 14:04:53 +0000 (14:04 -0000)]
* interpreter.cs (Eval) [Until, lazy]: Avoid extra evaluation on a
degenerate match.

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

18 years agomerge java tests stuff from mainsoft.1.7 branch
Andrew Skiba [Mon, 3 Apr 2006 13:47:42 +0000 (13:47 -0000)]
merge java tests stuff from mainsoft.1.7 branch

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

18 years ago2006-04-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Apr 2006 13:23:44 +0000 (13:23 -0000)]
2006-04-03  Zoltan Varga  <vargaz@gmail.com>

* mini.c: Modify the branch optimizations to preserve the invariant that
the entries inside the in_bb and out_bb arrays are unique.
(mono_unlink_bblock): Avoid creation of new arrays.

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

18 years agoFix .Net Soap serialization compatibility.
Boris Kirzner [Mon, 3 Apr 2006 13:21:48 +0000 (13:21 -0000)]
Fix .Net Soap serialization compatibility.

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

18 years ago2006-04-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Apr 2006 12:15:13 +0000 (12:15 -0000)]
2006-04-03  Zoltan Varga  <vargaz@gmail.com>

* output.c skeleton skeleton.cs: Initialize the jay debug tables
lazily. Fixes #77946.

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

18 years agoadd bat files for running tests with java
Andrew Skiba [Mon, 3 Apr 2006 12:09:59 +0000 (12:09 -0000)]
add bat files for running tests with java

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

18 years agoTARGET_JVM: use nunit from mono tree
Andrew Skiba [Mon, 3 Apr 2006 12:02:23 +0000 (12:02 -0000)]
TARGET_JVM: use nunit from mono tree

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

18 years agoTARGET_JVM: refer nunit from mono tree
Andrew Skiba [Mon, 3 Apr 2006 11:59:04 +0000 (11:59 -0000)]
TARGET_JVM: refer nunit from mono tree

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

18 years agoUpdate testsuite
Raja R Harinath [Mon, 3 Apr 2006 10:33:02 +0000 (10:33 -0000)]
Update testsuite

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

18 years agoIn mcs:
Raja R Harinath [Mon, 3 Apr 2006 10:32:02 +0000 (10:32 -0000)]
In mcs:
2006-04-03  Zoltan Varga  <vargaz@gmail.com>

* report.cs (Warning, Error): Add 0-, 1-, and 2- argument specializations.
From #77961.

In gmcs:
2006-04-03  Zoltan Varga  <vargaz@gmail.com>

* report.cs (Warning, Error): Add 0-, 1-, and 2- argument specializations.
From #77961.

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

18 years agoFix project file for TARGET_JVM.
Boris Kirzner [Mon, 3 Apr 2006 10:31:36 +0000 (10:31 -0000)]
Fix project file for TARGET_JVM.

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

18 years agoFix .Net Soap serialization compatibility.
Boris Kirzner [Mon, 3 Apr 2006 10:30:43 +0000 (10:30 -0000)]
Fix .Net Soap serialization compatibility.

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

18 years ago2006-04-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Apr 2006 05:01:00 +0000 (05:01 -0000)]
2006-04-03  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngPattern.cs : set XmlResolver that is passed by
  RelaxngPattern.Read() as its property.

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

18 years ago2006-04-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 2 Apr 2006 23:32:56 +0000 (23:32 -0000)]
2006-04-03  Atsushi Enomoto <atsushi@ximian.com>

due to the request by Brian Rasumussen to report NVDL error details:
* NvdlFilteredXmlReader.cs : make it as IXmlLineInfo.
* NvdlValidationGenerator.cs :
  (NvdlValidationProvider) made validate, schemaType and config as
  publicly accessible.
  (NvdlValidatorGenerator) added new HandleError() method that can
  override error handling.
* NvdlValidator.cs : use it.
* NvdlException.cs : added new type NvdlInstanceValidationException
  that is used to "wrap" actual validation errors to provide
  NVDL script location information.
* NvdlRelaxngSupport.cs, NvdlXsdSupport.cs :
  use those new HandleError() and NvdlInstanceValidationException.

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

18 years ago2006-04-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Apr 2006 18:44:35 +0000 (18:44 -0000)]
2006-04-02  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_unlink_bblock): Fix regression caused by previous
change (#77992).

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

18 years agodelete obsolete files from the project
Andrew Skiba [Sun, 2 Apr 2006 16:28:58 +0000 (16:28 -0000)]
delete obsolete files from the project

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

18 years ago2006-04-02 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 2 Apr 2006 16:19:50 +0000 (16:19 -0000)]
2006-04-02  Chris Toshok  <toshok@ximian.com>

* Control.cs (DesignMode): always return false for now.  Fixes
#77991.

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

18 years agoTARGET_JVM: update build system
Konstantin Triger [Sun, 2 Apr 2006 09:37:30 +0000 (09:37 -0000)]
TARGET_JVM: update build system

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

18 years agoTARGET_JVM: update build system
Konstantin Triger [Sun, 2 Apr 2006 09:31:29 +0000 (09:31 -0000)]
TARGET_JVM: update build system

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

18 years ago2006-04-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 1 Apr 2006 21:56:36 +0000 (21:56 -0000)]
2006-04-01  Zoltan Varga  <vargaz@gmail.com>

* data/mono.supp: Add "Use of uninitialized value of size 8" too.

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

18 years ago2006-04-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 1 Apr 2006 19:20:25 +0000 (19:20 -0000)]
2006-04-01  Zoltan Varga  <vargaz@gmail.com>

* System.dll.sources: Added System.Diagnostics/Stopwatch.cs.

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

18 years ago2006-04-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 1 Apr 2006 19:20:03 +0000 (19:20 -0000)]
2006-04-01  Zoltan Varga  <vargaz@gmail.com>

* Stopwatch.cs: New file.

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

18 years agore-enable tests
Raja R Harinath [Sat, 1 Apr 2006 19:03:41 +0000 (19:03 -0000)]
re-enable tests

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

18 years ago2006-04-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 1 Apr 2006 19:02:37 +0000 (19:02 -0000)]
2006-04-01  Zoltan Varga  <vargaz@gmail.com>

* mini.c (optimize_branches): Remove the "optimizations" in
the cbranch1/cbranch2 -> branch cases which were causing several
problems in the past. Fixes #77986.

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

18 years ago2006-04-01 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 1 Apr 2006 17:45:39 +0000 (17:45 -0000)]
2006-04-01  Marek Safar  <marek.safar@seznam.cz>

* assign.cs (Assign.DoResolve): Assignment to same variable can occur
in an embedded statement too.

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

18 years agoFix #77929
Raja R Harinath [Sat, 1 Apr 2006 16:02:41 +0000 (16:02 -0000)]
Fix #77929
* gmcs/typemanager.cs (IsNestedChildOf): Drop generic arguments before testing.
* tests/gtest-266.cs: New test from #77929.

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

18 years agoFix #77958
Raja R Harinath [Sat, 1 Apr 2006 13:53:12 +0000 (13:53 -0000)]
Fix #77958
* mcs/statement.cs (Switch.EmitObjectInteger) [ulong]: Remove bad cast.
* gmcs/statement.cs: Likewise.
* tests/test-499.cs: New test from #77958.

(test-499.cs appears to trigger a JIT bug)

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

18 years agoFix #77962
Raja R Harinath [Sat, 1 Apr 2006 12:06:20 +0000 (12:06 -0000)]
Fix #77962
* report.cs (SymbolRelatedToPreviousError): Drop generic type
arguments before checking whether a type is reflected or not.

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

18 years agoFix #77954.
Raja R Harinath [Sat, 1 Apr 2006 11:48:57 +0000 (11:48 -0000)]
Fix #77954.
* expression.cs (Invocation.IsApplicable): Ensure a generic method
definition doesn't take part in overload resolution.
(Invocation.IsParamsMethodApplicable): Likewise.
(Invocation.OverloadResolve): When replacing a reflected override
method with its base definition, ensure that type arguments are applied.

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

18 years ago2006-04-01 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 1 Apr 2006 07:56:18 +0000 (07:56 -0000)]
2006-04-01  Marek Safar  <marek.safar@seznam.cz>

A fix for #77966.

* class.cs (TypeContainer.AddPartial): Don't report an error when modifier
was not specified.

* modifiers.cs: Add DEFAULT_ACCESS_MODIFER.

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

18 years agoversion bump
Wade Berrier [Sat, 1 Apr 2006 01:56:14 +0000 (01:56 -0000)]
version bump

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

18 years ago2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sat, 1 Apr 2006 00:59:59 +0000 (00:59 -0000)]
2006-03-31  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: Enable clipping again now that the libgdiplus
  bug is fixed

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

18 years agofix type of last commit
Wade Berrier [Sat, 1 Apr 2006 00:35:43 +0000 (00:35 -0000)]
fix type of last commit

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

18 years ago2006-03-31 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 1 Apr 2006 00:14:16 +0000 (00:14 -0000)]
2006-03-31  Miguel de Icaza  <miguel@novell.com>

* icall.c
(ves_icall_System_Environment_InternalSetEnvironmentVariable): Fix
build on pre glib 2.4 systems.

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

18 years ago2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 31 Mar 2006 23:25:18 +0000 (23:25 -0000)]
2006-03-31  Peter Dennis Bartok <pbartok@novell.com>

* ControlTest.cs: Ignore Invoke test, it hangs

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

18 years ago * UpDownBase.cs: Don't CreateGraphics manually, use a
Jackson Harper [Fri, 31 Mar 2006 22:59:24 +0000 (22:59 -0000)]
    * UpDownBase.cs: Don't CreateGraphics manually, use a
        Refresh. Ideally we would invalidate the correct areas here.

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

18 years ago2006-03-31 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 31 Mar 2006 22:59:17 +0000 (22:59 -0000)]
2006-03-31  Chris Toshok  <toshok@ximian.com>

* driver.c (DEFAULT_OPTIMIZATIONS): back out the new set of
default optimizations :(

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

18 years ago * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
Jackson Harper [Fri, 31 Mar 2006 22:44:43 +0000 (22:44 -0000)]
    * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
        sometimes.

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

18 years ago2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 31 Mar 2006 22:40:47 +0000 (22:40 -0000)]
2006-03-31  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs:
  - We now track the mapping state of windows. If a window (or
    one of it's parents) is not mapped we no longer permit
    WM_PAINT messages to be generated since we'd otherwise get
    lots of BadMatch X errors. Jackson did all the work figuring
    out the problem.
  - Destroying the caret if the window it's contained in is
    destroyed. Can't use regular DestroyCaret method since it
    might fall into a drawing function (trying to remove the
    caret) and with that generate new BadMatch errors. Again,
    Jackson tracked this down.
  - Changed DestroyChildWindows to SendWMDestroyMessages, we now
    make sure we send the messages to all windows. (The old code
    would send the WM_DESTROY to the window, and then all child
    windows would be 'gone' because the WM_DESTROY handle lookup
    would no longer find the destroyed window)
* Hwnd.cs: Added Mapping property to track mapping state of hwnd
* X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow

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

18 years ago * ScrollableControl.cs: Dont recalc if we are not visible.
Jackson Harper [Fri, 31 Mar 2006 21:42:00 +0000 (21:42 -0000)]
    * ScrollableControl.cs: Dont recalc if we are not visible.

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

18 years ago2006-03-31 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 31 Mar 2006 21:37:31 +0000 (21:37 -0000)]
2006-03-31  Mike Kestner  <mkestner@novell.com>

* Control.cs (SetVisibleCore): move the CreateControl call up ahead of
the visibility branch.

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

18 years ago * ScrollBar.cs: Cap values when incrementing/decrementing.
Jackson Harper [Fri, 31 Mar 2006 21:05:26 +0000 (21:05 -0000)]
    * ScrollBar.cs: Cap values when incrementing/decrementing.

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

18 years ago2006-03-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 31 Mar 2006 20:42:47 +0000 (20:42 -0000)]
2006-03-31  Zoltan Varga  <vargaz@gmail.com>

* EnvironmentTest.cs: Add tests for SetEnvironmentVariable.

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

18 years ago2006-03-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 31 Mar 2006 20:32:05 +0000 (20:32 -0000)]
2006-03-31  Zoltan Varga  <vargaz@gmail.com>

* Environment.cs (SetEnvironmentVariable): Implement.

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

18 years ago2006-03-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 31 Mar 2006 20:31:08 +0000 (20:31 -0000)]
2006-03-31  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Environment_InternalSetEnvironmentVariable): New icall.

* icall.c: Fix some warnings.

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

18 years ago2006-03-31 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 31 Mar 2006 19:15:45 +0000 (19:15 -0000)]
2006-03-31  Mike Kestner  <mkestner@novell.com>

* MenuAPI.cs: setup menu.tracker for popup/context menus.
* ToolTip.cs: guard against timer expirations with no active control.
Not sure why it happened.

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

18 years ago2006-03-31 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 31 Mar 2006 18:15:51 +0000 (18:15 -0000)]
2006-03-31  Mike Kestner  <mkestner@novell.com>

* ThemeWin32Classic.cs: add some horizontal padding space for the tip
text.
* ToolTip.cs: Position the tooltip based on where the cursor is at
popup time, not at MouseEnter time.  Add a Down state so that we don't
redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
positioning offset. Lookup DisplaySize at positioning time, since it
can theoretically change during invocation.
* XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
* XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.

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

18 years ago2006-03-31 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 31 Mar 2006 17:43:52 +0000 (17:43 -0000)]
2006-03-31  Marek Safar  <marek.safar@seznam.cz>

* assign.cs (LocalTemporary): Don't require ILGenerator in the resolve
phase.

* anonymous.cs, assign.cs, ecore.cs, expression.cs: Updated after
LocalTemporary change.

* class.cs (ClassOrStruct.DefineDefaultConstructor): Moved from
TypeContainer.
(ClassOrStruct.DefineFieldInitializers): Implemented static fields
initializers optimization.
(ClassOrStruct.TypeAttr): Moved from modifiers.
(Constructor.CheckBase): Don't crash when static ctor has parameters.
(FieldBase.ResolveInitializer): Resolves initializer.
(FieldBase.HasDefaultInitializer): New property.

* cs-parser.jay: Removed message.

* expression.cs (CompilerGeneratedThis): New specialization.

* modifiers.cs (TypeAttr): Moved to ClassOrStruct.TypeAttr

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

18 years ago2006-03-31 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 31 Mar 2006 17:04:27 +0000 (17:04 -0000)]
2006-03-31  Alexander Olk  <alex.olk@googlemail.com>

* ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  Fixes behaviour when the Text property of the box is String.Empty

2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
2006-03-31  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago- Fix comment
Peter Dennis Bartok [Fri, 31 Mar 2006 16:52:07 +0000 (16:52 -0000)]
- Fix comment

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

18 years ago2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 31 Mar 2006 16:47:36 +0000 (16:47 -0000)]
2006-03-31  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: Only send mouseleave for our client windows, not
  for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  a window

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

18 years ago * FileDialog.cs: Visual enhancement for the popup buttons in
Alexander Olk [Fri, 31 Mar 2006 16:08:26 +0000 (16:08 -0000)]
* FileDialog.cs: Visual enhancement for the popup buttons in
  PopupButtonPanel

2006-03-30  Alexander Olk  <alex.olk@googlemail.com>

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