mono.git
16 years ago2007-12-04 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 9 Dec 2007 14:52:58 +0000 (14:52 -0000)]
2007-12-04  Robert Jordan  <robertj@gmx.net>

* MethodCall.cs (ResolveMethod): Handle server objects registered
with RemotingServices.Marshal (obj, typeof (ISomeInterface)).
Fixes #324232. Test case: /trunk/gert/standalone/bug82302/.

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

16 years ago* HttpApplication.cs: added TARGET_JVM to LoadType method
Vladimir Krasnov [Sun, 9 Dec 2007 14:28:39 +0000 (14:28 -0000)]
* HttpApplication.cs: added TARGET_JVM to LoadType method

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

16 years agoTARGET_JVM: do not use the SettingsMappingManager
Konstantin Triger [Sun, 9 Dec 2007 08:58:57 +0000 (08:58 -0000)]
TARGET_JVM: do not use the SettingsMappingManager

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

16 years agoFix compilation errors in java build
Noam Lampert [Sun, 9 Dec 2007 08:00:03 +0000 (08:00 -0000)]
Fix compilation errors in java build

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

16 years ago* LocalFileEventLog.cs: To allow entry to be fully written before
Gert Driesen [Sat, 8 Dec 2007 16:02:41 +0000 (16:02 -0000)]
* LocalFileEventLog.cs: To allow entry to be fully written before
attempting to read it, added small sleep period in the Created event
of the FSW.

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

16 years ago2007-12-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 8 Dec 2007 14:30:34 +0000 (14:30 -0000)]
2007-12-08  Zoltan Varga  <vargaz@gmail.com>

* processes.c: Include sys/mkdev.h if exists. Fixes solaris x86 build.

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

16 years ago2007-12-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 8 Dec 2007 14:29:44 +0000 (14:29 -0000)]
2007-12-08  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Add check for sys/mkdev.h.

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

16 years ago2007-12-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 8 Dec 2007 13:56:01 +0000 (13:56 -0000)]
2007-12-08  Zoltan Varga  <vargaz@gmail.com>

* tramp-amd64.c (mono_arch_create_trampoline_code): Clean up the code a bit.

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

16 years ago2007-12-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 8 Dec 2007 01:54:36 +0000 (01:54 -0000)]
2007-12-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs:
* ListViewInsertionMark.cs:
* ThemeWin32Classic.cs: Implement the drawing side of the
new 2.0 ListView.InsertionMark property.

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

16 years ago2007-12-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 8 Dec 2007 00:59:10 +0000 (00:59 -0000)]
2007-12-08  Marek Habersack  <mhabersack@novell.com>

* Makefile (common_dirs): Mono.Data.Sqlite must be built before
System.Web.

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

16 years agoMore documentation on the new features will follow on the web.
Marek Habersack [Sat, 8 Dec 2007 00:41:54 +0000 (00:41 -0000)]
More documentation on the new features will follow on the web.

2007-12-08  Marek Habersack  <mhabersack@novell.com>

* mono.1: added short documentation about the
MONO_ASPNET_INHIBIT_SETTINGSMAP environment variable.

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

16 years ago2007-12-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 8 Dec 2007 00:34:45 +0000 (00:34 -0000)]
2007-12-08  Marek Habersack  <mhabersack@novell.com>

* Makefile
Added a RESX_DIST variable which contains all the .resx files. The
variable is used by RESX_RES and by EXTRA_DISTFILES

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

16 years agodon't add the same section twice to the dictionary
Marek Habersack [Fri, 7 Dec 2007 23:54:56 +0000 (23:54 -0000)]
don't add the same section twice to the dictionary

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

16 years ago2007-12-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 7 Dec 2007 23:26:18 +0000 (23:26 -0000)]
2007-12-08  Marek Habersack  <mhabersack@novell.com>

* TranslationResources.resx: added - string resources for the
Sqlite providers.
2007-12-08  Marek Habersack  <mhabersack@novell.com>

* SQLiteProviders_DatabaseSchema.sql: added
* Makefile: added support for compiling .resx resources.
Added SQLiteProviders_DatabaseSchema.sql to EXTRA_DISTFILES.
Added new resource files to EXTRA_DISTFILES
2007-12-08  Marek Habersack  <mhabersack@novell.com>

* HttpRuntime.cs: initialize the Settings Mapping Manager once per
application, just after initalizing the WebConfigurationManager
2007-12-08  Marek Habersack  <mhabersack@novell.com>

* SqliteProfileProvider.cs: added - a Profile Provider for
        Sqlite, based on PostgreSQL Profile Provider code from Daniel
        Nauck <dna@informatik.uni-kiel.de>
2007-12-08  Marek Habersack  <mhabersack@novell.com>

* TranslationProperties.Designer.cs: added - contains strongly
typed properties referring to string resources used by the Sqlite
providers.
2007-12-08  Marek Habersack  <mhabersack@novell.com>

* WebConfigurationManager.cs: GetSection now runs each section
through a mapper (if any is defined for the section) before
returning it to the caller.
2007-12-08  Marek Habersack  <mhabersack@novell.com>

* SqliteRoleProvider.cs: added - a Role Provider for
Sqlite, based on PostgreSQL Role Provider code from Daniel
Nauck <dna@informatik.uni-kiel.de>

* SqliteMembershipProvider.cs: added - a Membership Provider for
Sqlite, based on PostgreSQL Membership Provider code from Daniel
Nauck <dna@informatik.uni-kiel.de>
2007-12-08  Marek Habersack  <mhabersack@novell.com>

* SerializationHelper.cs: added - serialization helper for the
Sqlite Profile Provider.

* RoleManagerSectionMapper.cs: added - section settings mapper for
the RoleManager section.

* MembershipSectionMapper.cs: added - section settings mapper for
the Membership section.

* ISectionSettingsMapper.cs: added - interface definition for
section settings mappers.

* SettingsMappingWhat.cs: added - describes a single 'what' tag
instance inside the mapper definition in the settings.map file.

* SettingsMapping.cs: added - represents a single mapper entry in
the settings.map file.

* SettingsMappingManager.cs: added - manages settings mapping as
defined in the settings.map file.

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

16 years ago2007-12-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 7 Dec 2007 23:10:07 +0000 (23:10 -0000)]
2007-12-08  Marek Habersack  <mhabersack@novell.com>

* machine.config: updated the LocalSqlServer connection string to
match MS.NET and added a new connection string, LocalSqliteServer,
to be used by default on Unix.
Updated the AspNetSqlMembershipProvider definition to match
MS.NET.

* settings.map: added

* Makefile.am: added settings.map

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

16 years ago2007-12-08 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 7 Dec 2007 23:00:35 +0000 (23:00 -0000)]
2007-12-08  Marek Habersack  <mhabersack@novell.com>

* data/config.xml: added a feature to protect the 'settings.map'
file from download, if used by the application.

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

16 years ago2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Dec 2007 22:05:56 +0000 (22:05 -0000)]
2007-12-06  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_cast): added.

* verify.c (mono_method_verify): property verification of castclass and isinst.

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

16 years ago * make_test.sh: added tests for castclass and isinst
Rodrigo Kumpera [Fri, 7 Dec 2007 22:03:22 +0000 (22:03 -0000)]
* make_test.sh: added tests for castclass and isinst
* make_cast_test.sh: new test generator

2007-12-07 Rodrigo Kumpera <rkumpera@novell.com>

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

16 years ago2007-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Dec 2007 21:30:40 +0000 (21:30 -0000)]
2007-12-07  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (peephole_pass): Add a missing instruction check.

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

16 years agoTest for bug #342507.
Paolo Molaro [Fri, 7 Dec 2007 20:43:57 +0000 (20:43 -0000)]
Test for bug #342507.

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

16 years agoFri Dec 7 22:08:23 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 7 Dec 2007 20:43:27 +0000 (20:43 -0000)]
Fri Dec 7 22:08:23 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini.c: run type ctor before allocating an object, not only
when running it's constructor method (fixes at least part of bug #342507).

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

16 years ago2007-12-07 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 7 Dec 2007 18:48:44 +0000 (18:48 -0000)]
2007-12-07  Jonathan Pobst  <monkey@jpobst.com>

* DataBindingTests.cs: Silence some debug spew.

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

16 years ago2007-12-07 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 7 Dec 2007 18:46:04 +0000 (18:46 -0000)]
2007-12-07  Jonathan Pobst  <monkey@jpobst.com>

* CurrencyManager.cs: Silence some debug spew.

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

16 years ago2007-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Dec 2007 17:44:56 +0000 (17:44 -0000)]
2007-12-07  Zoltan Varga  <vargaz@gmail.com>

* pinvoke2.cs: Fix the names of two tests.

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

16 years ago2007-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Dec 2007 15:52:21 +0000 (15:52 -0000)]
2007-12-07  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_delegate_trampoline): Fix a warning.

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

16 years ago2007-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Dec 2007 15:49:59 +0000 (15:49 -0000)]
2007-12-07  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_generic_class_init_trampoline): Remove a debug printf.

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

16 years ago2007-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Dec 2007 15:47:37 +0000 (15:47 -0000)]
2007-12-07  Zoltan Varga  <vargaz@gmail.com>

* mini.h mini-amd64.c mini-x86.c: Get rid of the mono_arch_find_vtable ()
function.

* tramp-x86.c tramp-amd64.c mini-trampolines.c: Pass the vtable argument to
mono_generic_class_init_trampoline () the same as it is done with the other
trampolines.

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

16 years ago2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Dec 2007 15:44:25 +0000 (15:44 -0000)]
2007-12-06  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_type_from_opcode): added opcodes for stelem.X.

* verify.c (do_stelem): added.

* verify.c (mono_method_verify): property verification of stelem.X.

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

16 years ago2007-12-07 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 7 Dec 2007 15:43:48 +0000 (15:43 -0000)]
2007-12-07  Mark Probst  <mark.probst@gmail.com>

* mono.1: Added a short paragraph on the MONO_GENERIC_SHARING
environment variable.

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

16 years ago2007-12-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Dec 2007 15:40:36 +0000 (15:40 -0000)]
2007-12-07 Rodrigo Kumpera <rkumpera@novell.com>

* make_test.sh: added tests for stelem.X
* make_stelem_test.sh: new test generator

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

16 years ago2007-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Dec 2007 15:29:51 +0000 (15:29 -0000)]
2007-12-07  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.h mini-arm.c tramp-arm.c inssel-arm.brg cpu-arm.md
aot-runtime.c aot-compiler.c: Implement AOT support.

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

16 years ago2007-12-07 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 7 Dec 2007 15:28:17 +0000 (15:28 -0000)]
2007-12-07  Mark Probst  <mark.probst@gmail.com>

* mini-trampolines.c (mono_generic_class_init_trampoline): Fixed
build for archs which don't have the vtable trampoline defined
yet.

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

16 years ago2007-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Dec 2007 15:26:29 +0000 (15:26 -0000)]
2007-12-07  Zoltan Varga  <vargaz@gmail.com>

* tramp-x86.c (mono_arch_create_trampoline_code): Fix the build.

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

16 years ago2007-12-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 7 Dec 2007 15:12:07 +0000 (15:12 -0000)]
2007-12-07  Geoff Norton  <gnorton@novell.com>

* ControlHandler.cs: Properly update our invalidated information when
Quartz asks us to redraw.  This helps fix TabControl but introduces
over-zealous drawing causing our flicker.  Implement visibility tracking
to generate out WM_SHOWWINDOW calls.  Refactor mouse tracking to live
entirely in MouseHandler.
* EventHandler.cs: Unregister some events we no longer handle.  Register
the new MouseEvents that we do handle.
* KeyboardHandler.cs: Implement some more key translations.
* MouseHandler.cs:  Handle all mouse events at the application level now
This allows us to paint while dragging the mouse, and handle double
click events properly.
* WindowHandler.cs: Properly generate WM_SHOWWINDOW messages when
our application window is exposed.

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

16 years ago2007-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Dec 2007 15:06:03 +0000 (15:06 -0000)]
2007-12-07  Zoltan Varga  <vargaz@gmail.com>

* tramp-ppc.c (mono_arch_create_trampoline_code): Use the new helper function.

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

16 years ago2007-12-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 7 Dec 2007 15:05:24 +0000 (15:05 -0000)]
2007-12-07  Geoff Norton  <gnorton@novell.com>

* Hwnd.cs: Refactor GetClippingRectangles to suppose returning the
masks for our children as well as siblings to avoid having to query
Quartz for this information.
* XplatUICarbon.cs: Implement a delegate based system to pass
information to System.Drawing.  Implement Async methods.  Remove
the hack for the resize thumb and imlpement a transparent Grow Box.
Rework the messaging system to proplery create window's and messages,
fixes TabControl.

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

16 years ago2007-12-07 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 7 Dec 2007 15:02:02 +0000 (15:02 -0000)]
2007-12-07  Geoff Norton  <gnorton@novell.com>

* Graphics.cs: Ensure that we Flush and Synchornize our CGContexts
before disposing.  Fixes drawing bugs when drawn out of the event
loop and the caller doesn't Flush.
* carbonFunctions.cs: Rework the cross-assembly data marshalling to
use a delegate as suggested by lupus.

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

16 years ago2007-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Dec 2007 14:53:13 +0000 (14:53 -0000)]
2007-12-07  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_get_trampoline_func): New helper function.

* tramp-<ARCH>.c: Use the new helper function.

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

16 years ago2007-12-07 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 7 Dec 2007 14:00:30 +0000 (14:00 -0000)]
2007-12-07  Mark Probst  <mark.probst@gmail.com>

* inssel.brg: Added a pattern for the OP_TRAMPCALL_VTABLE
trampoline call, which takes a vtable argument.

* graph.c, mini-ops.h, local-propagation.c, aliasing.c: Treat
OP_TRAMPCALL_VTABLEs like other calls.

* mini-amd64.c, mini-amd64.h, mini-x86.c, mini-x86.h: Designated a
register to hold the vtable argument to the OP_TRAMPCALL_VTABLE
call.  Implemented a support function which fetches the vtable
from a register set.

* mini.c, mini.h, tramp-amd64.c, tramp-x86.c, mini-trampolines.c:
Implemented a generic class init trampoline, using the
OP_TRAMPCALL_VTABLE opcode.

* mini.c: Implemented static field access when sharing generic
code.  This implies initing the class using the new
OP_TRAMPCALL_VTABLE call.

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

16 years ago2007-12-07 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 7 Dec 2007 13:39:31 +0000 (13:39 -0000)]
2007-12-07  Mark Probst  <mark.probst@gmail.com>

* class.c, class-internals.h: Introduce an environment variable
(MONO_GENERIC_SHARING) through which the extent of generic code
sharing can be controlled (share all classes, share only corlib
classes, or share nothing).

* object.c: Only create runtime generic context for classes for
which sharing is enabled.

2007-12-07  Mark Probst  <mark.probst@gmail.com>

* mini.c: Don't compile methods with sharing enabled if their
classes are disabled for sharing.

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

16 years ago2007-12-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 7 Dec 2007 13:34:30 +0000 (13:34 -0000)]
2007-12-07  Zoltan Varga  <vargaz@gmail.com>

* checked.cs: Make exit codes positive.

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

16 years ago2007-12-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Dec 2007 09:16:14 +0000 (09:16 -0000)]
2007-12-07  Atsushi Enomoto  <atsushi@ximian.com>

* ResXResourceReader.cs: fix build.

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

16 years ago2007-12-01 Olivier Dufour <olivier.duff@gmail.com>
Olivier Dufour [Fri, 7 Dec 2007 08:05:41 +0000 (08:05 -0000)]
2007-12-01  Olivier Dufour <olivier.duff@gmail.com>

* ResXResourceReader.cs: Add support of assemblyName, metadata and useResXDataNode.

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

16 years ago2007-12-01 Olivier Dufour <olivier.duff@gmail.com>
Olivier Dufour [Fri, 7 Dec 2007 08:04:51 +0000 (08:04 -0000)]
2007-12-01  Olivier Dufour <olivier.duff@gmail.com>

* ResXResourceReaderTest.cs: Add tests to check GetMetadataEnumerator
and UseResXDataNode in the reader.

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

16 years ago* X11Keyboard.cs: Use Xutf8LookupString to support international
Andreia Gaita [Fri, 7 Dec 2007 03:38:59 +0000 (03:38 -0000)]
* X11Keyboard.cs: Use Xutf8LookupString to support international
characters under alternate codepages. Patch from #340878

2007-12-06  Andreia Gaita <avidigal@novell.com>

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

16 years ago* FormTest.cs: Run ChildFocused test for win only, relies
Andreia Gaita [Fri, 7 Dec 2007 02:47:25 +0000 (02:47 -0000)]
* FormTest.cs: Run ChildFocused test for win only, relies
on synch messages on X

2007-12-06  Andreia Gaita <avidigal@novell.com>

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

16 years ago * ListViewItemTest.cs: Added new 2.0 Position test.
Carlos Alberto Cortez [Fri, 7 Dec 2007 01:43:30 +0000 (01:43 -0000)]
* ListViewItemTest.cs: Added new 2.0 Position test.

2007-12-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2007-12-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 7 Dec 2007 01:42:08 +0000 (01:42 -0000)]
2007-12-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: When doing layout computations, set position in the
ListView instances (we cache the position just as .Net does).
* ListViewItem.cs: New internal setter method for Position. Also set
position field as also available in 1.1, since we are going to use it
now in the common case.

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

16 years ago2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Dec 2007 01:17:33 +0000 (01:17 -0000)]
2007-12-06  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_ldelem): refactor it to work with ldelem.any.

* verify.c (mono_method_verify): property verification of ldelem.any.

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

16 years ago2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Dec 2007 01:12:53 +0000 (01:12 -0000)]
2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>

* make_test.sh: added tests for ldelem

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

16 years ago2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 6 Dec 2007 23:53:24 +0000 (23:53 -0000)]
2007-12-06  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (get_indirect_op_mono_type): renamed to mono_type_from_opcode,
added ldelem.X opcodes.

* verify.c (do_ldelema): fixed possible invalid usage of MonoType.

* verify.c: proper verification of ldelem.X

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

16 years ago2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 6 Dec 2007 23:50:25 +0000 (23:50 -0000)]
2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>

* make_test.sh: fixed compilation issues with some tests.

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

16 years ago* Control.cs: When removing controls, get the actual container
Andreia Gaita [Thu, 6 Dec 2007 23:33:06 +0000 (23:33 -0000)]
* Control.cs: When removing controls, get the actual container
to notify about active control changes. Fixes 341314.

2007-12-06  Andreia Gaita <avidigal@novell.com>

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

16 years ago2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 6 Dec 2007 23:17:43 +0000 (23:17 -0000)]
2007-12-06 Rodrigo Kumpera <rkumpera@novell.com>

* make_test.sh: added tests for ldelem.X
* make_ldelem_test.sh: new test generator

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

16 years ago2007-12-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 6 Dec 2007 19:22:52 +0000 (19:22 -0000)]
2007-12-06  Marek Habersack  <mhabersack@novell.com>

* SQLiteFunction.cs: scan only assemblies which reference Sqlite,
saves heap memory.

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

16 years ago2007-12-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 6 Dec 2007 18:50:57 +0000 (18:50 -0000)]
2007-12-06  Zoltan Varga  <vargaz@gmail.com>

* inssel.brg: Add a missing sign extension to the GETCHR and array access
opcodes. Fixes #346563.

* objects.cs: Add a new test.

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

16 years ago2007-12-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 6 Dec 2007 18:40:50 +0000 (18:40 -0000)]
2007-12-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItemTest.cs: Added new serialization test.

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

16 years ago2007-12-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 6 Dec 2007 18:39:11 +0000 (18:39 -0000)]
2007-12-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: Forgot to add Font to our serialization stuff.

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

16 years ago2007-12-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Dec 2007 18:01:11 +0000 (18:01 -0000)]
2007-12-06  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile: currently Sys.Web.Extensions is not ready for
  centum_tests.

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

16 years ago2007-12-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Dec 2007 17:13:07 +0000 (17:13 -0000)]
2007-12-06  Atsushi Enomoto  <atsushi@ximian.com>

* nunit-console.exe.config.net_3_5 : It is just a copy of *_net_2_0.
  net_3_5 profile requires it.
* Makefile : added above as EXTRA_DISTFILES.

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

16 years ago2007-12-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 6 Dec 2007 16:42:07 +0000 (16:42 -0000)]
2007-12-06  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_method_code): Put back an #ifdef which is needed.

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

16 years ago2007-12-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 6 Dec 2007 16:37:13 +0000 (16:37 -0000)]
2007-12-06  Zoltan Varga  <vargaz@gmail.com>

* mini-<ARCH>.h mini.c aot-compiler.c aot-runtime.c: Get rid of the
HAVE_PIC_AOT define and use AOT_SUPPORTED instead.

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

16 years ago2007-12-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 6 Dec 2007 16:11:08 +0000 (16:11 -0000)]
2007-12-06  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.h mini-arm.c: Add support for the common vtable trampoline.

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

16 years ago2007-12-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Dec 2007 15:48:45 +0000 (15:48 -0000)]
2007-12-06  Atsushi Enomoto  <atsushi@ximian.com>

* profiles/net_3_5.make : fixed net_2_0 path.

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

16 years ago2007-12-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 6 Dec 2007 15:30:10 +0000 (15:30 -0000)]
2007-12-06  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor): Allow interface cctors to be called too.

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

16 years ago2007-12-06 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 6 Dec 2007 14:59:21 +0000 (14:59 -0000)]
2007-12-06  Dick Porter  <dick@ximian.com>

* versioninfo.c: Resource language values must be compared in a
'case'-insensitive manner.  Fixes bug 345972.

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

16 years ago2007-12-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Dec 2007 14:22:51 +0000 (14:22 -0000)]
2007-12-06  Atsushi Enomoto  <atsushi@ximian.com>

* AlternateView.cs : supply charset info for ContentType.
* SmtpClient.cs : for ToQuotedPrintable() input, don't use utf8
  StreamReader to get input string. Just use Encoding.GetBytes().
  Fixed bug #346162.

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

16 years agoremove test for HttpCacheVaryByContentEncodings since it's not public API for 2.0
Konstantin Triger [Thu, 6 Dec 2007 10:32:37 +0000 (10:32 -0000)]
remove test for HttpCacheVaryByContentEncodings since it's not public API for 2.0

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

16 years ago2007-12-06 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 6 Dec 2007 10:29:39 +0000 (10:29 -0000)]
2007-12-06  Jb Evain  <jbevain@novell.com>

* main.c: fix regression #346283.

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

16 years ago2007-12-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Dec 2007 06:32:05 +0000 (06:32 -0000)]
2007-12-06  Atsushi Enomoto  <atsushi@ximian.com>

* XmlUrlResolver.cs : in net_2_0, use Uri.IsAbsoluteUri to filter
  relative URIs out.

* XmlUrlResolverTests.cs : fixed test; file://file.txt is to access
  such a server whose (domain) name is "file.txt", which is actually
  an absolute URI. Remove "regression" in the nunit test.

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

16 years ago* Control.cs: When updating the zorder, ignore windows that are not
Andreia Gaita [Thu, 6 Dec 2007 02:02:52 +0000 (02:02 -0000)]
* Control.cs: When updating the zorder, ignore windows that are not
mapped. Fixes #342509

2007-12-05  Andreia Gaita <avidigal@novell.com>

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

16 years ago2007-12-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 6 Dec 2007 00:42:49 +0000 (00:42 -0000)]
2007-12-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: Actually implement serialization on this class.

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

16 years ago2007-12-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Dec 2007 22:21:58 +0000 (22:21 -0000)]
2007-12-05  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_method_verify): null literal requires special handling,
the value pushed on stack need to be flagged as so.

* verify.c (do_ldelema): Verify ldelema properly.

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

16 years ago2007-12-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Dec 2007 22:07:09 +0000 (22:07 -0000)]
2007-12-05 Rodrigo Kumpera <rkumpera@novell.com>

* make_test.sh: added tests for ldelema
* make_ldelema_test.sh: new test generator

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

16 years ago2007-12-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Dec 2007 16:56:45 +0000 (16:56 -0000)]
2007-12-05  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Verify ldlen properly.

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

16 years ago2007-12-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 5 Dec 2007 16:53:46 +0000 (16:53 -0000)]
2007-12-05 Rodrigo Kumpera <rkumpera@novell.com>

* make_test.sh: added tests for ldlen
* make_ldlen_test.sh: new test generator

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

16 years ago2007-12-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Dec 2007 16:05:27 +0000 (16:05 -0000)]
2007-12-05  Atsushi Enomoto  <atsushi@ximian.com>

* ContentType.cs : for SubjectEncoding, null is returned instead of
  ASCII (.net compat way). For this cosmetic change, BodyEncoding is
  changed to fill ASCII automatically.

* MailMessage.cs : fixing cosmetic .net compatibility. Automatically
  fill ASCII when guessed encoding is nothing.

* MailMessageTest.cs : fixed test to just compare codepage. I can't
  stand with this trivial difference (w/ BOM or not) as regression,
  and fixing this "regression" causes practical bug (garbage BOM
  insertion).

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

16 years agoRevert r90735 so the MWF tests build again. Will email the author with the correctio...
Jonathan Pobst [Wed, 5 Dec 2007 14:57:32 +0000 (14:57 -0000)]
Revert r90735 so the MWF tests build again.  Will email the author with the corrections needed.

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

16 years ago2007-12-05 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 5 Dec 2007 13:50:28 +0000 (13:50 -0000)]
2007-12-05  Dick Porter  <dick@ximian.com>

* io.c (CreateFile): Create files with mode 0666 (&~umask) by
default.  Fixes bugs 325299 and 337040.

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

16 years ago2007-12-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 5 Dec 2007 13:19:05 +0000 (13:19 -0000)]
2007-12-05  Zoltan Varga  <vargaz@gmail.com>

* FieldInfoTest.cs: Add tests for #346160.

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

16 years ago2007-12-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 5 Dec 2007 13:18:22 +0000 (13:18 -0000)]
2007-12-05  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_MonoField_GetValueInternal): Check that the field belongs
to the target object's type. Fixes #346160.

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

16 years ago2007-12-05 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 5 Dec 2007 13:15:31 +0000 (13:15 -0000)]
2007-12-05  Dick Porter  <dick@ximian.com>

* configure.in: Define PLATFORM_SOLARIS for solaris builds, needed
by fix for bug 323524.

2007-12-05  Dick Porter  <dick@ximian.com>

* threadpool.c (socket_io_add_poll): Asynchronous connect() on
Solaris needs the same workaround as BSD-derived systems.  Fixes
bug 323524, patch by Burkhard Linke
<burkhard.linke@CeBiTec.Uni-Bielefeld.DE>

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

16 years agoforgot to commit the changelog
Marek Habersack [Wed, 5 Dec 2007 13:13:09 +0000 (13:13 -0000)]
forgot to commit the changelog

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

16 years ago2007-12-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 5 Dec 2007 13:12:41 +0000 (13:12 -0000)]
2007-12-05  Marek Habersack  <mhabersack@novell.com>

* ConfigurationElement.cs: some property values may be null
objects in GetHashCode.

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

16 years ago* LinkLabelTest.cs: Added tests for bug #344012, bug #346154 and
Gert Driesen [Wed, 5 Dec 2007 11:34:39 +0000 (11:34 -0000)]
* LinkLabelTest.cs: Added tests for bug #344012, bug #346154 and
bug #346156.
* LinkLabel.cs: Fixed paramname of ArgumentNullException in ctor of
LinkCollection. Spaces to tabs, and removed extra tabs.

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

16 years ago2007-12-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Dec 2007 09:53:13 +0000 (09:53 -0000)]
2007-12-05  Atsushi Enomoto  <atsushi@ximian.com>

* SmtpClient.cs : fold base64 string at 76 characters.
  Should fix bug #344974.

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

16 years ago2007-12-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Dec 2007 09:49:37 +0000 (09:49 -0000)]
2007-12-05  Atsushi Enomoto  <atsushi@ximian.com>

* Attachment.cs : use correct TransferEncoding when (Text)Encoding
  is specified.
* MailMessage.cs : ContentTransferEncoding implementation went into
  ContentType.

* ContentType.cs : added GuessTransferEncoding() to guess correct
  encoding type for sys.net.mail.Attachment.
  Here UTF8Encoding should not include BOM.

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

16 years ago2007-12-01 Olivier Dufour <olivier.duff@gmail.com>
Olivier Dufour [Wed, 5 Dec 2007 09:09:38 +0000 (09:09 -0000)]
2007-12-01  Olivier Dufour <olivier.duff@gmail.com>

* ResXResourceReaderTest.cs: Add tests to check GetMetadataEnumerator
and UseResXDataNode in the reader.

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

16 years ago* DirectoryTest.cs: Added (NotWorking) tests for bug #346123.
Gert Driesen [Wed, 5 Dec 2007 09:02:19 +0000 (09:02 -0000)]
* DirectoryTest.cs: Added (NotWorking) tests for bug #346123.

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

16 years agoNew Excetion has been thrown incase of connection failure.
Palaniappan N [Wed, 5 Dec 2007 06:49:42 +0000 (06:49 -0000)]
New Excetion has been thrown incase of connection failure.

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

16 years ago2007-12-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Dec 2007 22:49:57 +0000 (22:49 -0000)]
2007-12-05  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (EXTRA_DIST): Add a missing file.

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

16 years ago* Process.cs: Modified StartInfo to throw ArgumentNullException when
Gert Driesen [Tue, 4 Dec 2007 16:37:36 +0000 (16:37 -0000)]
* Process.cs: Modified StartInfo to throw ArgumentNullException when
value is set to null, instead of ArgumentException. Remove check if
file name is rooted and exists when UseShellExecute is false, and let
runtime handle this. Fixes bug #345565. When a process cannot be started, do
not access ProcessStartInfo.EnvironmentVariables since that would not allow us
to re-use the instance when changing UseShellExecute. Added argument check in
Start (ProcessStartInfo). Code formatting.
* ProcessTest.cs: Added tests for Start overloads.

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

16 years ago2007-12-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 4 Dec 2007 15:45:57 +0000 (15:45 -0000)]
2007-12-04  Marek Safar <marek.safar@gmail.com>

* Enumerable.cs: Refactor some copy&paste blocks.

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

16 years agoDon't redefine whole test runtime
Marek Safar [Tue, 4 Dec 2007 15:31:29 +0000 (15:31 -0000)]
Don't redefine whole test runtime

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

16 years ago2007-12-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 4 Dec 2007 15:30:47 +0000 (15:30 -0000)]
2007-12-04  Marek Safar  <marek.safar@gmail.com>

* Makefile: Added more tests.

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

16 years agosvn path=/trunk/mcs/; revision=90674
Igor Zelmanovich [Tue, 4 Dec 2007 14:10:19 +0000 (14:10 -0000)]
svn path=/trunk/mcs/; revision=90674

16 years agofix inheritance
Igor Zelmanovich [Tue, 4 Dec 2007 14:07:17 +0000 (14:07 -0000)]
fix inheritance

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

16 years ago* process.c: When ProcessStartInfo.ErrorDialog is true, pass window
Gert Driesen [Tue, 4 Dec 2007 13:22:23 +0000 (13:22 -0000)]
* process.c: When ProcessStartInfo.ErrorDialog is true, pass window
handle to use when error dialog is shown; otherwise, update mask
to show no error dialog when an error occurs.

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

16 years ago2007-12-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 4 Dec 2007 12:58:56 +0000 (12:58 -0000)]
2007-12-04  Marek Safar  <marek.safar@gmail.com>

* System.Core.dll.sources: System.Linq.Expression refresh.

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

16 years ago2007-12-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 4 Dec 2007 12:57:54 +0000 (12:57 -0000)]
2007-12-04  Marek Safar <marek.safar@gmail.com>

* ElementInit.cs: New implementation.

* Funclet.cs, FuncletExpression.cs, LiftExpression.cs: Removed.
* ListInitExpression.cs, MemberListBinding.cs, Expression.cs,
  ExpressionType.cs, BinaryExpression.cs, NewExpression.cs: API update.

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