Rodrigo Kumpera [Wed, 12 Dec 2007 00:46:59 +0000 (00:46 -0000)]
2007-12-11 Rodrigo Kumpera <rkumpera@novell.com>
* make_test.sh: added tests for rethrow
* make_rethrow_test.sh: new test generator
svn path=/trunk/mono/; revision=91135
Rodrigo Kumpera [Tue, 11 Dec 2007 22:23:02 +0000 (22:23 -0000)]
2007-12-11 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_throw): added.
* verify.c (mono_method_verify): property verification of throw
svn path=/trunk/mono/; revision=91132
Jonathan Pobst [Tue, 11 Dec 2007 21:25:40 +0000 (21:25 -0000)]
2007-12-10 Jonathan Pobst <monkey@jpobst.com>
* ToolStripManagerTest.cs: Add a test for bug #347669.
svn path=/trunk/mcs/; revision=91131
Jonathan Pobst [Tue, 11 Dec 2007 19:17:16 +0000 (19:17 -0000)]
2007-12-10 Jonathan Pobst <monkey@jpobst.com>
* DateTimePicker.cs: Don't set the internal MonthCalendar's
Parent property. Doing this causes the control to be hosted by
the Form instead of being a popup window.
[Fixes bug #347665]
svn path=/trunk/mcs/; revision=91129
Jonathan Pobst [Tue, 11 Dec 2007 17:08:34 +0000 (17:08 -0000)]
2007-12-10 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItemCollection.cs: If we try to insert a ToolStripItem
at an index higher than Count, just use Add instead of Insert.
[Fixes bug #347669]
svn path=/trunk/mcs/; revision=91123
Zoltan Varga [Tue, 11 Dec 2007 16:05:20 +0000 (16:05 -0000)]
2007-12-11 Zoltan Varga <vargaz@gmail.com>
* AppDomainTest.cs: Add test for reflection only assembly resolve events.
svn path=/trunk/mcs/; revision=91120
Zoltan Varga [Tue, 11 Dec 2007 15:57:56 +0000 (15:57 -0000)]
2007-12-11 Zoltan Varga <vargaz@gmail.com>
* AppDomain.cs (DoAssemblyResolve): Fix detection of whenever there is a
reflection-only assembly resolve hook.
svn path=/trunk/mcs/; revision=91119
Zoltan Varga [Tue, 11 Dec 2007 15:56:25 +0000 (15:56 -0000)]
2007-12-11 Zoltan Varga <vargaz@gmail.com>
* assembly.c (mono_assembly_load_reference): Try an assembly resolve for ref-only
assemblies. Fixes #346425.
svn path=/trunk/mono/; revision=91118
Marek Habersack [Tue, 11 Dec 2007 15:31:09 +0000 (15:31 -0000)]
2007-12-11 Marek Habersack <mhabersack@novell.com>
* SettingsMappingManager.cs: made the class public - it is
required for user-defined mappers to work.
Added a new property, Platform, which specifies the platform we're
running on. Platform check is now done only on initialization
time.
LoadMappings considers only the mappings which apply to the
current platform. Other entries are not loaded.
* SettingsMapping.cs: made the class public.
* SettingsMappingWhat.cs: made the class public.
* ISectionSettingsMapper.cs: made the interface public.
svn path=/trunk/mcs/; revision=91112
Jonathan Pobst [Tue, 11 Dec 2007 15:27:59 +0000 (15:27 -0000)]
2007-12-10 Jonathan Pobst <monkey@jpobst.com>
* ThemeWin32Classic.cs: Don't draw a PictureBox's background in
DrawPictureBox, this is handled by Control.PaintBackground.
[Fixes bug #347276]
svn path=/trunk/mcs/; revision=91111
Vladimir Krasnov [Tue, 11 Dec 2007 15:22:14 +0000 (15:22 -0000)]
* Bitmap.jvm.cs: ArgumentException on unknown format from stream
svn path=/trunk/mcs/; revision=91108
Rodrigo Kumpera [Tue, 11 Dec 2007 15:13:52 +0000 (15:13 -0000)]
2007-12-11 Rodrigo Kumpera <rkumpera@novell.com>
* make_test.sh: added tests for throw
* make_throw_test.sh: new test generator
svn path=/trunk/mono/; revision=91103
Arina Itkes [Tue, 11 Dec 2007 14:16:19 +0000 (14:16 -0000)]
Visual Studio project file to the assembly
svn path=/trunk/mcs/; revision=91096
Vladimir Krasnov [Tue, 11 Dec 2007 13:59:13 +0000 (13:59 -0000)]
* SiteMapSection.cs: fixed ProvidersInternal property to be thread safe
* ProfileManager.cs: fixed Providers property to be thread safe
* Roles.cs: fixed Providers property to be thread safe
svn path=/trunk/mcs/; revision=91095
Arina Itkes [Tue, 11 Dec 2007 13:34:23 +0000 (13:34 -0000)]
Remove extra references.
svn path=/trunk/mcs/; revision=91091
Arina Itkes [Tue, 11 Dec 2007 13:26:45 +0000 (13:26 -0000)]
Visual Studio project file for the assembly.
svn path=/trunk/mcs/; revision=91090
Rodrigo Kumpera [Tue, 11 Dec 2007 13:13:35 +0000 (13:13 -0000)]
2007-12-11 Rodrigo Kumpera <rkumpera@novell.com>
exceptions-arm.c (mono_arch_get_restore_context): Restore
the frame pointer.
exceptions-arm.c (throw_exception): Save the frame pointer.
This is a partial fix for #323747. Only the client side is
fixed.
svn path=/trunk/mono/; revision=91089
Rodrigo Kumpera [Tue, 11 Dec 2007 13:10:05 +0000 (13:10 -0000)]
2007-12-11 Rodrigo Kumpera <rkumpera@novell.com>
* mini.c (mono_method_to_ir): Verbose message in CEE_NEWOBJ
was using an unrelated variable to log the class which
needed the cctor to be called. This was crashing on arm.
svn path=/trunk/mono/; revision=91088
Igor Zelmanovich [Tue, 11 Dec 2007 10:14:57 +0000 (10:14 -0000)]
fixed test
svn path=/trunk/mcs/; revision=91079
Igor Zelmanovich [Tue, 11 Dec 2007 09:55:40 +0000 (09:55 -0000)]
added if #TARGET_JVM
svn path=/trunk/mcs/; revision=91076
Vladimir Krasnov [Tue, 11 Dec 2007 08:57:00 +0000 (08:57 -0000)]
* ProtocolReflector.cs: fixed ImportBinding method, ports with the same name declaration when non-default binding used, #345449
* TypeStubManager.cs: fixed TypeStubInfo ctor, default binding name is wrong, when declared in WebServiceBindingAttribute, but not used. fixes #345448
svn path=/trunk/mcs/; revision=91075
Everaldo Canuto [Tue, 11 Dec 2007 07:53:33 +0000 (07:53 -0000)]
2007-12-10 Everaldo Canuto <ecanuto@novell.com>
* MenuAPI.cs: When process menu keys return true by default only if menu is
active. Fixes bug #342892.
svn path=/trunk/mcs/; revision=91073
Miguel de Icaza [Mon, 10 Dec 2007 22:45:06 +0000 (22:45 -0000)]
07-12-10 Miguel de Icaza <miguel@novell.com>
* DefaultTraceListener.cs: By default set the AssertUiEnabled to
false, as this is what we had previously and some broken
applications (Tomboy) are too trigger happy with Debug.Assert.
Also, we now load the Windows.Forms code on demand, instead of
preloading it on the static ctor to reduce memory usage.
svn path=/trunk/mcs/; revision=91070
Zoltan Varga [Mon, 10 Dec 2007 21:26:16 +0000 (21:26 -0000)]
2007-12-10 Zoltan Varga <vargaz@gmail.com>
* ModuleBuilderTest.cs: Simplify some code. Add tests for ResolveField ()
and FieldBuilders.
svn path=/trunk/mcs/; revision=91067
Zoltan Varga [Mon, 10 Dec 2007 21:24:33 +0000 (21:24 -0000)]
2007-12-10 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_reflection_get_token): Call mono_image_create_token () for
FieldBuilders.
* icall.c (ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor): Fix a warning.
* class.c (mono_lookup_dynamic_token_class): Add a 'valid token' argument to
prevent asserts when this is called with a token which might not be valid.
* icall.c (ves_icall_System_Reflection_Module_ResolveTypeToken): Call
lookup_dynamic_token_class with valid_token == FALSE.
* icall.c (ves_icall_System_Reflection_Module_ResolveMethodToken): Ditto.
* icall.c (ves_icall_System_Reflection_Module_ResolveStringToken): Ditto.
* icall.c (ves_icall_System_Reflection_Module_ResolveFieldToken): Ditto.
svn path=/trunk/mono/; revision=91066
Zoltan Varga [Mon, 10 Dec 2007 21:24:08 +0000 (21:24 -0000)]
2007-12-10 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_reflection_get_token): Call mono_image_create_token () for
FieldBuilders.
* icall.c (ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor): Fix a warning.
* class.c (mono_lookup_dynamic_token_class): Add a 'valid token' argument to
prevent asserts when this is called with a token which might not be valid.
* icall.c (ves_icall_System_Reflection_Module_ResolveTypeToken): Call
lookup_dynamic_token_class with valid_token == FALSE.
* icall.c (ves_icall_System_Reflection_Module_ResolveMethodToken): Ditto.
* icall.c (ves_icall_System_Reflection_Module_ResolveStringToken): Ditto.
* icall.c (ves_icall_System_Reflection_Module_ResolveFieldToken): Ditto.
svn path=/trunk/mono/; revision=91065
Zoltan Varga [Mon, 10 Dec 2007 21:18:37 +0000 (21:18 -0000)]
2007-12-10 Zoltan Varga <vargaz@gmail.com>
* FieldBuilder.cs (GetToken): Use the MetadataToken property.
svn path=/trunk/mcs/; revision=91064
Stephane Delcroix [Mon, 10 Dec 2007 16:46:16 +0000 (16:46 -0000)]
2007-12-10 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffset.cs: partial implementation. no longer just a stub.
svn path=/trunk/mcs/; revision=91050
Mark Probst [Mon, 10 Dec 2007 11:24:21 +0000 (11:24 -0000)]
2007-12-10 Mark Probst <mark.probst@gmail.com>
* gc.c: Don't delay threadpool thread finalization unless Mono is
shutting down.
svn path=/trunk/mono/; revision=91040
Andreia Gaita [Mon, 10 Dec 2007 11:07:22 +0000 (11:07 -0000)]
* PrintingServicesWin32.cs: Add enumeration flag to get remote
printers as well as locally connected ones. Fixes #325258
2007-12-10 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=91039
Paolo Molaro [Mon, 10 Dec 2007 09:38:25 +0000 (09:38 -0000)]
Mon Dec 10 11:06:23 CET 2007 Paolo Molaro <lupus@ximian.com>
* threads.c: turn an assert into a non-fatal warning.
svn path=/trunk/mono/; revision=91033
Paolo Molaro [Mon, 10 Dec 2007 09:24:54 +0000 (09:24 -0000)]
Clarify that MONO_GENERIC_SHARING is completely unsupported
and should not be used.
svn path=/trunk/mono/; revision=91031
Andreia Gaita [Sun, 9 Dec 2007 19:07:22 +0000 (19:07 -0000)]
* Control.cs: check if windows are actually mapped before
trying to zorder. Fixes #342509, #346955
2007-12-09 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=91008
Robert Jordan [Sun, 9 Dec 2007 17:43:59 +0000 (17:43 -0000)]
In mono/mini:
2007-12-09 Robert Jordan <robertj@gmx.net>
* mini-x86.c (mono_arch_emit_epilog):
Consider all kinds of 64-bit types. Fixes #323114.
In mono/tests:
2007-12-09 Robert Jordan <robertj@gmx.net>
* bug-323114.cs: Add test case for #323114.
svn path=/trunk/mono/; revision=91007
Robert Jordan [Sun, 9 Dec 2007 14:56:05 +0000 (14:56 -0000)]
2007-12-09 Robert Jordan <robertj@gmx.net>
* icall.c (GetVirtualMethod): Add missing argument validation.
svn path=/trunk/mono/; revision=91004
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Paolo Molaro [Fri, 7 Dec 2007 20:43:57 +0000 (20:43 -0000)]
Test for bug #342507.
svn path=/trunk/mono/; revision=90960
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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