Jonathan Pobst [Wed, 5 Mar 2008 14:50:10 +0000 (14:50 -0000)]
2008-03-05 Jonathan Pobst <monkey@jpobst.com>
* TableLayout.cs: Guard against an exception when a control's colspan
or rowspan is greater than the number of columns or rows.
[Fixes bug #367249]
2008-03-05 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutTest.cs: Add test for bug #367249.
svn path=/trunk/mcs/; revision=97390
Jb Evain [Wed, 5 Mar 2008 13:24:23 +0000 (13:24 -0000)]
refactorings
svn path=/trunk/mcs/; revision=97384
Jb Evain [Wed, 5 Mar 2008 13:11:39 +0000 (13:11 -0000)]
refactorings
svn path=/trunk/mcs/; revision=97382
Jb Evain [Wed, 5 Mar 2008 12:40:56 +0000 (12:40 -0000)]
tests for lift/liftToNull
svn path=/trunk/mcs/; revision=97380
Jb Evain [Wed, 5 Mar 2008 12:40:03 +0000 (12:40 -0000)]
2008-03-05 Jb Evain <jbevain@novell.com>
* Expression.cs: fix for a good chunk of lifted/liftToNull tests.
svn path=/trunk/mcs/; revision=97379
Zoltan Varga [Wed, 5 Mar 2008 11:18:43 +0000 (11:18 -0000)]
2008-03-05 Zoltan Varga <vargaz@gmail.com>
* mini.h: Define G_MININT32/G_MAXINT32 if using an older glib version.
* cfold.c: Remove definition of G_MININT32 which is now in mini.h.
svn path=/trunk/mono/; revision=97377
Marek Safar [Wed, 5 Mar 2008 10:34:57 +0000 (10:34 -0000)]
2008-03-05 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, parameter.cs, rootcontext.cs, ecore.cs, class.cs, decl.cs,
delegate.cs, convert.cs, driver.cs, attribute.cs, codegen.cs: TypeManager
predefined types clean up (work related to #364674).
svn path=/trunk/mcs/; revision=97376
Jonathan Pobst [Tue, 4 Mar 2008 23:09:46 +0000 (23:09 -0000)]
2008-03-04 Jonathan Pobst <monkey@jpobst.com>
* ResXResourceWriter.cs: Implement or stub the remaining 2.0 bits
to this.
svn path=/trunk/mcs/; revision=97358
Marek Safar [Tue, 4 Mar 2008 21:34:58 +0000 (21:34 -0000)]
2008-03-04 Marek Safar <marek.safar@gmail.com>
* Makefile: Added System.Data.Linq
svn path=/trunk/mcs/; revision=97354
Ankit Jain [Tue, 4 Mar 2008 19:47:14 +0000 (19:47 -0000)]
* dis-cil.c (disassemble_cil): For catch clause, emit stringified class
with prefix.
svn path=/trunk/mono/; revision=97350
Ankit Jain [Tue, 4 Mar 2008 19:47:09 +0000 (19:47 -0000)]
* ILParser.jay (custom_type): Allow any method name.
svn path=/trunk/mcs/; revision=97349
Ankit Jain [Tue, 4 Mar 2008 19:47:03 +0000 (19:47 -0000)]
Fix bug #367024.
* ILParser.jay (seh_clause): catch can take generic class refs also.
svn path=/trunk/mcs/; revision=97348
Zoltan Varga [Tue, 4 Mar 2008 17:47:31 +0000 (17:47 -0000)]
2008-03-04 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_compute_omit_fp): Don't disable fp elimination for
methods returning vtypes in registers.
(mono_arch_allocate_vars): Ditto.
* mini-amd64.c (mono_arch_get_this_arg_reg): New arch specific helper function.
* tramp-amd64.c (mono_arch_get_unbox_trampoline): Use mono_arch_get_this_arg_reg ().
svn path=/trunk/mono/; revision=97338
Zoltan Varga [Tue, 4 Mar 2008 17:46:17 +0000 (17:46 -0000)]
Checkin file missed earlier.
svn path=/trunk/mono/; revision=97337
Zoltan Varga [Tue, 4 Mar 2008 17:37:25 +0000 (17:37 -0000)]
2008-03-04 Zoltan Varga <vargaz@gmail.com>
* generics.cs: Add a test from the linear IR branch.
svn path=/trunk/mono/; revision=97336
Zoltan Varga [Tue, 4 Mar 2008 17:36:25 +0000 (17:36 -0000)]
2008-03-04 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (emit_load_volatile_arguments): Handle vtypes passed in regs too.
svn path=/trunk/mono/; revision=97335
Paolo Molaro [Tue, 4 Mar 2008 17:21:56 +0000 (17:21 -0000)]
Test for bug #366445.
svn path=/trunk/mono/; revision=97328
Paolo Molaro [Tue, 4 Mar 2008 17:17:52 +0000 (17:17 -0000)]
Tue Mar 4 19:04:02 CET 2008 Paolo Molaro <lupus@ximian.com>
* marshal.c: mono_load_remote_field_new() always returns object.
so use the proper signature (fixes bug #366445).
svn path=/trunk/mono/; revision=97327
Zoltan Varga [Tue, 4 Mar 2008 17:02:02 +0000 (17:02 -0000)]
2008-03-04 Zoltan Varga <vargaz@gmail.com>
* mini.c (inline_method): Cache failed inline attempts.
svn path=/trunk/mono/; revision=97326
Igor Zelmanovich [Tue, 4 Mar 2008 17:01:53 +0000 (17:01 -0000)]
merge r97323
svn path=/trunk/mcs/; revision=97325
Zoltan Varga [Tue, 4 Mar 2008 17:00:40 +0000 (17:00 -0000)]
2008-03-04 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (MonoMethod): Remove unused uses_this flag,
add an 'inline_failure' flag instead.
svn path=/trunk/mono/; revision=97324
Mark Probst [Tue, 4 Mar 2008 16:56:35 +0000 (16:56 -0000)]
2008-03-04 Mark Probst <mark.probst@gmail.com>
* domain-internals.h, domain.c: Replaced MonoGenericSharingContext
with a new structure, MonoGenericJitInfo, in the MonoJitInfo. It
contains the location of "this", used for exception handling.
2008-03-04 Mark Probst <mark.probst@gmail.com>
* mini.c: For shared methods of generic classes put the location
of "this" into the MonoGenericJitInfo.
* mini-x86.c, mini-amd64.c, mini.h: Added function for fetching a
register out of a MonoContext by register number. Add the generic
sharing context as an argument to mono_arch_find_this_argument().
* mini-alpha.c, mini-arm.c, mini-hppa.c, mini-ia64.c, mini-mips.c,
mini-ppc.c, mini-s390.c, mini-s390x.c, mini-sparc.c: Added stub
for new arch function.
* mini-exception.c: Handle open exception clauses in shared
generic code.
* mini-trampolines.c: Supply additional argument to
mono_arch_find_this_argument().
2008-03-04 Mark Probst <mark.probst@gmail.com>
* generics-sharing.2.c: Added test for open catch clauses in
shared generic code.
svn path=/trunk/mono/; revision=97322
Sebastien Pouliot [Tue, 4 Mar 2008 15:22:28 +0000 (15:22 -0000)]
2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
* Graphics.cs: Fix CopyFromScreen for X11 when source or destination
coordinates are not 0. Fix bug #363881.
svn path=/trunk/mcs/; revision=97316
Sebastien Pouliot [Tue, 4 Mar 2008 14:51:15 +0000 (14:51 -0000)]
2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
* PaddingModeTest.cs: Add test case for #366623 ANSI padding bug.
svn path=/trunk/mcs/; revision=97310
Sebastien Pouliot [Tue, 4 Mar 2008 14:49:43 +0000 (14:49 -0000)]
2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: Sync with corlib. Fix ANSIX923 padding check
(#366623)
svn path=/trunk/mcs/; revision=97309
Sebastien Pouliot [Tue, 4 Mar 2008 14:48:28 +0000 (14:48 -0000)]
2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: Fix ANSIX923 padding check (#366623) to be
just like PKCS7 (but comparing to 0).
svn path=/trunk/mcs/; revision=97308
Igor Zelmanovich [Tue, 4 Mar 2008 14:22:41 +0000 (14:22 -0000)]
merge r97304
svn path=/trunk/mcs/; revision=97305
Sebastien Pouliot [Tue, 4 Mar 2008 13:48:46 +0000 (13:48 -0000)]
corlib_test.dll.sources: Add unit tests for ResourceSet
svn path=/trunk/mcs/; revision=97301
Sebastien Pouliot [Tue, 4 Mar 2008 13:47:20 +0000 (13:47 -0000)]
2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
* ResourceManagerTest.cs: Add test case for ResourceSetType which
shows that an internal type, not the basic ResourceSet, is being used
* ResourceSetTest.cs: New. Unit tests for ResourceSet
svn path=/trunk/mcs/; revision=97300
Sebastien Pouliot [Tue, 4 Mar 2008 13:45:01 +0000 (13:45 -0000)]
corlib.dll.sources: Add internal System.Resources.RuntimeResourceSet to the build.
svn path=/trunk/mcs/; revision=97298
Sebastien Pouliot [Tue, 4 Mar 2008 13:44:30 +0000 (13:44 -0000)]
2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
* ResourceManager.cs: Use RuntimeResourceSet, an internal type, just
like MS does (and tell us indirectly with a Type property).
* ResourceSet.cs: Fix a few problems found with new unit tests. Also
fix some exception parameters.
* RuntimeResourceSet.cs: New. Internal type used by ResourceManager.
ResouceSet cannot be used, as is, because it does not clone objects,
when possible, leading to problems when those objects are disposed.
svn path=/trunk/mcs/; revision=97297
Igor Zelmanovich [Tue, 4 Mar 2008 13:34:01 +0000 (13:34 -0000)]
merge r97295
svn path=/trunk/mcs/; revision=97296
Zoltan Varga [Tue, 4 Mar 2008 12:35:24 +0000 (12:35 -0000)]
2008-03-04 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_layout_fields): Set the min alignment of small structs to
their size on all platforms for perf reasons.
svn path=/trunk/mono/; revision=97290
Marek Safar [Tue, 4 Mar 2008 11:41:38 +0000 (11:41 -0000)]
New test.
svn path=/trunk/mcs/; revision=97289
Marek Safar [Tue, 4 Mar 2008 11:41:00 +0000 (11:41 -0000)]
2008-03-04 Marek Safar <marek.safar@gmail.com>
* ecore.cs: Print an error message instead of throwing exception.
svn path=/trunk/mcs/; revision=97288
Igor Zelmanovich [Tue, 4 Mar 2008 11:40:45 +0000 (11:40 -0000)]
merge r97285
svn path=/trunk/mcs/; revision=97287
Marek Safar [Tue, 4 Mar 2008 10:23:17 +0000 (10:23 -0000)]
2008-03-03 Marek Safar <marek.safar@gmail.com>
* Makefile: Build as 3.5 assembly using 2.0 profile.
svn path=/trunk/mcs/; revision=97284
Marek Safar [Tue, 4 Mar 2008 10:19:33 +0000 (10:19 -0000)]
Set eol-style
svn path=/trunk/mcs/; revision=97283
Miguel de Icaza [Tue, 4 Mar 2008 10:13:12 +0000 (10:13 -0000)]
Remove ancient todo item (there might be others)
svn path=/trunk/mcs/; revision=97277
Miguel de Icaza [Tue, 4 Mar 2008 10:12:34 +0000 (10:12 -0000)]
Remove ancient todo item (there might be others)
svn path=/trunk/mcs/; revision=97276
Marek Safar [Tue, 4 Mar 2008 09:42:17 +0000 (09:42 -0000)]
Refreshed
svn path=/trunk/mcs/; revision=97275
Igor Zelmanovich [Tue, 4 Mar 2008 09:33:47 +0000 (09:33 -0000)]
merge r97270:97272
svn path=/trunk/mcs/; revision=97274
Marek Safar [Tue, 4 Mar 2008 09:27:02 +0000 (09:27 -0000)]
2008-03-04 Marek Safar <marek.safar@gmail.com>
* generic.cs, typemanager.cs, literal.cs, convert.cs, cfold.cs, constant.cs,
expression.cs, statement.cs: Unififed null literal representation.
svn path=/trunk/mcs/; revision=97273
Atsushi Eno [Tue, 4 Mar 2008 07:01:18 +0000 (07:01 -0000)]
2008-03-04 Atsushi Enomoto <atsushi@ximian.com>
* mono-api.xsl : add support for parameters.
svn path=/trunk/mcs/; revision=97270
Zoltan Varga [Tue, 4 Mar 2008 01:08:48 +0000 (01:08 -0000)]
2008-03-04 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (regtests): Run the bench.exe tests last.
svn path=/trunk/mono/; revision=97264
Rodrigo Kumpera [Tue, 4 Mar 2008 00:01:18 +0000 (00:01 -0000)]
2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest.cs: Added CreateTypeFailsWithInvalidMethodOverride.
Test for bug #361689.
svn path=/trunk/mcs/; revision=97260
Rodrigo Kumpera [Mon, 3 Mar 2008 23:58:56 +0000 (23:58 -0000)]
2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>
* MethodBuilder.cs (check_override): Added, verify if this method has explicit
override set and doesn't follow virtual settings of overriden method.
* TypeBuilder.cs (CreateType): Call MethodBuilder::check_override before
creating the type.
Fixes #361689.
svn path=/trunk/mcs/; revision=97259
Marek Habersack [Mon, 3 Mar 2008 23:26:01 +0000 (23:26 -0000)]
2008-03-03 Marek Habersack <mhabersack@novell.com>
* Makefile: Move Mono.Web back to the common section.
svn path=/trunk/mcs/; revision=97256
Marek Safar [Mon, 3 Mar 2008 22:54:45 +0000 (22:54 -0000)]
Copy gmcs to the output when qh-ing
svn path=/trunk/mcs/; revision=97254
Andreia Gaita [Mon, 3 Mar 2008 22:45:38 +0000 (22:45 -0000)]
* Mono.WebBrowser/Exception.cs: Fix 1.1 build. Add header.
2008-03-03 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=97253
Ivan Zlatev [Mon, 3 Mar 2008 22:22:06 +0000 (22:22 -0000)]
2008-03-03 Ivan N. Zlatev <contact@i-nz.net>
* ImageFormatConverter.cs: Perform a case insensitive comparison
instead of a case sensitive one.
[Fixes bug #366567]
svn path=/trunk/mcs/; revision=97246
Veerapuram Varadhan [Mon, 3 Mar 2008 21:47:19 +0000 (21:47 -0000)]
Build break fix.
svn path=/trunk/mcs/; revision=97244
Ivan Zlatev [Mon, 3 Mar 2008 21:46:18 +0000 (21:46 -0000)]
2008-03-03 Ivan N. Zlatev <contact@i-nz.net>
* GridEntry.cs: Do not convert not only if the types match,
but also if the property type is assigneable from the value's
type.
[Fixes bug #366566]
svn path=/trunk/mcs/; revision=97243
Ivan Zlatev [Mon, 3 Mar 2008 21:33:50 +0000 (21:33 -0000)]
2008-03-03 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridView.cs:
- Subscribe to the listbox only once and not everytime.
- Update the textbox even if SetValue fails.
- Close the listbox before calling TrySetValue just in case.
[Fixes bug #366569]
svn path=/trunk/mcs/; revision=97239
Andreia Gaita [Mon, 3 Mar 2008 21:01:48 +0000 (21:01 -0000)]
* Mono.Mozilla/Base.cs: Add service manager getter.
* Mono.Mozilla/interfaces/nsIWebBrowserStream.cs: Send basic IntPtr instead of byte array, arrays
don't work.
* Mono.Mozilla/WebBrowser.cs: Proper streaming support, and exception handling
* Mono.WebBrowser/Exception.cs, Manager.cs: exception handling
2008-03-03 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=97235
Jonathan Pobst [Mon, 3 Mar 2008 20:50:46 +0000 (20:50 -0000)]
2008-03-03 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: Hide ICollection.CopyTo from the 1.1 profile.
svn path=/trunk/mcs/; revision=97231
Veerapuram Varadhan [Mon, 3 Mar 2008 20:37:09 +0000 (20:37 -0000)]
** Fixes Bug#324025.
svn path=/trunk/mcs/; revision=97230
Veerapuram Varadhan [Mon, 3 Mar 2008 19:40:34 +0000 (19:40 -0000)]
Clean up.
svn path=/trunk/mcs/; revision=97220
Rodrigo Kumpera [Mon, 3 Mar 2008 19:39:47 +0000 (19:39 -0000)]
2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.h: Move mono_reflection_is_valid_dynamic_token to
object-internal.h
* object-internal.h: Same.
svn path=/trunk/mono/; revision=97219
Veerapuram Varadhan [Mon, 3 Mar 2008 19:34:36 +0000 (19:34 -0000)]
** Fixes #340451.
svn path=/trunk/mcs/; revision=97218
Marek Safar [Mon, 3 Mar 2008 19:21:17 +0000 (19:21 -0000)]
More new tests.
svn path=/trunk/mcs/; revision=97215
Veerapuram Varadhan [Mon, 3 Mar 2008 19:20:41 +0000 (19:20 -0000)]
Test for Bug#332809.
svn path=/trunk/mcs/; revision=97214
Rodrigo Kumpera [Mon, 3 Mar 2008 19:19:40 +0000 (19:19 -0000)]
2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.h: Fix the build I just broke.
svn path=/trunk/mono/; revision=97213
Veerapuram Varadhan [Mon, 3 Mar 2008 19:18:20 +0000 (19:18 -0000)]
Fixes from Bug#332809. Patch provided by Ernesto Carrea.
svn path=/trunk/mcs/; revision=97212
Marek Safar [Mon, 3 Mar 2008 19:15:22 +0000 (19:15 -0000)]
More tests.
svn path=/trunk/mcs/; revision=97211
Marek Safar [Mon, 3 Mar 2008 19:13:27 +0000 (19:13 -0000)]
2008-03-03 Marek Safar <marek.safar@gmail.com>
* anonymous.cs, cfold.cs, convert.cs, delegate.cs, doc.cs, ecore.cs,
expression.cs: Refactored binary operators resolve phase and improved speed.
The nullable code is still missing and won't work correctly, more fixes
required.
It also fixes #323726, #324312, #324248, and many other unreported issues.
svn path=/trunk/mcs/; revision=97210
Rodrigo Kumpera [Mon, 3 Mar 2008 19:01:53 +0000 (19:01 -0000)]
2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (mono_reflection_is_valid_dynamic_token): New function,
Test if a token is valid, this remove explicit usage of
MonoDynamicImage::tokens from the verifier code.
* reflection.h: Added mono_reflection_is_valid_dynamic_token.
* verify.c (token_bounds_check): Use mono_reflection_is_valid_dynamic_token
instead of direct access to MonoDynamicImage::tokens.
svn path=/trunk/mono/; revision=97208
Rodrigo Kumpera [Mon, 3 Mar 2008 18:21:06 +0000 (18:21 -0000)]
2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (token_bounds_check): Fix the build I just broke.
svn path=/trunk/mono/; revision=97204
Sebastien Pouliot [Mon, 3 Mar 2008 18:08:56 +0000 (18:08 -0000)]
2008-03-03 Sebastien Pouliot <sebastien@ximian.com>
* TestIcon.cs: Add test case for #366485.
svn path=/trunk/mcs/; revision=97201
Sebastien Pouliot [Mon, 3 Mar 2008 18:08:03 +0000 (18:08 -0000)]
2008-03-03 Sebastien Pouliot <sebastien@ximian.com>
* Icon.cs: Don't require icon entries when creating a new icon
(since they won't exist if we create the icon from an handle).
Also avoid a step when cloning. Fix bug #366485
svn path=/trunk/mcs/; revision=97200
Rodrigo Kumpera [Mon, 3 Mar 2008 15:34:05 +0000 (15:34 -0000)]
2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (token_bounds_check): Fix bounds check for dynamic images.
* verify.c (verifier_load_method): Fixed the errors message.
* verify.c (mono_method_verify): Fixed a debug message.
svn path=/trunk/mono/; revision=97189
Miguel de Icaza [Mon, 3 Mar 2008 14:45:42 +0000 (14:45 -0000)]
Update
svn path=/trunk/mcs/; revision=97185
Marek Safar [Mon, 3 Mar 2008 11:14:25 +0000 (11:14 -0000)]
2008-03-03 Marek Safar <marek.safar@gmail.com>
* Makefile: Moved Mono.Web to 2.0 section.
svn path=/trunk/mcs/; revision=97178
Marek Safar [Mon, 3 Mar 2008 10:54:27 +0000 (10:54 -0000)]
Moved to mainline.
svn path=/trunk/mcs/; revision=97176
Ankit Jain [Mon, 3 Mar 2008 08:04:56 +0000 (08:04 -0000)]
In class/System.Data:
* System.Data.dll.sources: Add new OleDbMetaDataCollectionNames.cs
* System.Data_test.dll.sources: Add the new OdbcMetaDataColumnNamesTest,
OleDbMetaDataCollectionNamesTest and SqlClientMetaDataCollectionNamesTest.
In class/System.Data/System.Data.Odbc:
* OdbcMetaDataCollectionNames.cs: Set the field values.
In class/System.Data/System.Data.OleDb:
* OleDbMetaDataCollectionNames.cs: New.
In class/System.Data/System.Data.SqlClient:
* SqlClientMetaDataCollectionNames.cs: Set the field values.
In class/System.Data/Test/System.Data.Odbc:
* OdbcMetaDataCollectionNamesTest.cs: New.
In class/System.Data/Test/System.Data.OleDb:
* OleDbMetaDataCollectionNamesTest.cs: New.
In class/System.Data/Test/System.Data.SqlClient:
* SqlClientMetaDataCollectionNamesTest.cs: New.
svn path=/trunk/mcs/; revision=97175
Carlos Alberto Cortez [Mon, 3 Mar 2008 07:58:02 +0000 (07:58 -0000)]
2008-03-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: Implement support for custom column width based on
Columns collection (we were previously using this collection only
with Details view).
Fixes #364484.
svn path=/trunk/mcs/; revision=97174
Zoltan Varga [Mon, 3 Mar 2008 03:32:07 +0000 (03:32 -0000)]
2008-03-03 Zoltan Varga <vargaz@gmail.com>
* System.dll.sources: Add the new regex interpreter/compiler sources, not yet
used.
* net_2_1_raw_System.dll.sources: Ditto.
svn path=/trunk/mcs/; revision=97173
Zoltan Varga [Mon, 3 Mar 2008 03:14:26 +0000 (03:14 -0000)]
2008-03-03 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_emit_prolog): Improve the first bblock optimization
a bit.
svn path=/trunk/mono/; revision=97172
Zoltan Varga [Sun, 2 Mar 2008 20:57:56 +0000 (20:57 -0000)]
2008-03-02 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Allow callvirt on static methods for compatibility
with MS.
svn path=/trunk/mono/; revision=97160
Zoltan Varga [Sun, 2 Mar 2008 20:50:07 +0000 (20:50 -0000)]
2008-03-02 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_emit_prolog): Fix tracing after the last change.
svn path=/trunk/mono/; revision=97159
Carlos Alberto Cortez [Sun, 2 Mar 2008 20:28:38 +0000 (20:28 -0000)]
2008-03-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItem.cs: For Tile view, always set bounds for the first
subitem (which is the main one), and also don't let Width be larger
than ListView.TileSize.Width. Improve code readibility also.
* ThemeWin32Classic.cs: When painting the ListViewItem instances
in Tile view, _always_ use the NoWrap flag.
Fixes #360798.
svn path=/trunk/mcs/; revision=97156
Andreia Gaita [Sun, 2 Mar 2008 19:53:24 +0000 (19:53 -0000)]
* Mono.Mozilla.dll.sources: Added yet another bunch of interfaces to
support streaming and services
* Mono.Mozilla/Base.cs: Added a ServiceManager getter to allow direct
access to all mozilla services through contract IDs
* Mono.Mozilla/WebBrowser.cs: Stream support, for sending data directly
to the embedded browser.
svn path=/trunk/mcs/; revision=97151
Andreia Gaita [Sun, 2 Mar 2008 19:48:35 +0000 (19:48 -0000)]
* xpidl2cs.pl: More type conversion. Fix const vs
[const, array] detection.
svn path=/trunk/mcs/; revision=97150
Zoltan Varga [Sun, 2 Mar 2008 19:41:28 +0000 (19:41 -0000)]
2008-03-02 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_emit_prolog): Avoid saving dead arguments.
* mini.c (mono_method_check_inlining): Avoid disabling inlining for methods
whose class has no cctor.
* liveness.c (mono_analyze_liveness): Mark dead arguments with MONO_INST_IS_DEAD.
svn path=/trunk/mono/; revision=97148
Gert Driesen [Sun, 2 Mar 2008 19:24:27 +0000 (19:24 -0000)]
* DriveInfo.cs: Removed debug code.
svn path=/trunk/mcs/; revision=97145
Ivan Zlatev [Sun, 2 Mar 2008 18:16:41 +0000 (18:16 -0000)]
2008-03-02 Ivan N. Zlatev <contact@i-nz.net>
* DesignModeSite.cs: Fix Name setter to actually set the name.
svn path=/trunk/mcs/; revision=97138
Miguel de Icaza [Sun, 2 Mar 2008 15:30:06 +0000 (15:30 -0000)]
2008-03-02 Miguel de Icaza <miguel@novell.com>
* configure.in: No need to detect mcs1, as we are going to keep
mcs as the 1.0 compiler and gmcs as the 2.0 compiler. Since
making mcs a 2.0 compiler caused too many problems.
svn path=/trunk/mono/; revision=97132
Vladimir Krasnov [Sun, 2 Mar 2008 13:05:43 +0000 (13:05 -0000)]
* ProvidersHelper.cs: fixed thread safety issue in InstantiateProvider
svn path=/trunk/mcs/; revision=97126
Roei Erez [Sun, 2 Mar 2008 06:56:47 +0000 (06:56 -0000)]
Bug #352210 fix, and add support for RoundtripKind parsing.
svn path=/trunk/mcs/; revision=97116
Ivan Zlatev [Sat, 1 Mar 2008 23:19:43 +0000 (23:19 -0000)]
2008-03-01 Ivan N. Zlatev <contact@i-nz.net>
* ControlDesigner.cs: Ignore the first WM_MOUSEMOVE after
WM_MOUSEDOWN as it is sent just after it.
* ParentControlDesigner.cs: Monitor Component Remove events
and fire ComponentChanging/ed events for the Parent of the removed
Control. Helps the UndoEngine to serialize parent changes.
* ControlDesigner.cs: Set the Control.Text to be the component name.
* FormDocumentDesigner.cs: Added.
* PanelDesigner.cs: Added.
* UISelectionService.cs: Set Parent through the TypeDescriptor, so
that component change notifications get fired.
* DefaultMenuCommands.cs: Implement Cut, Copy, Paste
* DocumentDesigner:
- Drop Form specific code.
- Add menu commands.
svn path=/trunk/mcs/; revision=97105
Ivan Zlatev [Sat, 1 Mar 2008 23:16:18 +0000 (23:16 -0000)]
2008-03-01 Ivan N. Zlatev <contact@i-nz.net>
* MenuCommandService.cs: implemeneted
* DesignerHost.cs: Do not fire ComponentChanging/ed events
when removing a component.
* DesignModeSite: Naming fixes.
* UndoEngine.cs: A lot of bugfixes.
* SelectionService: Set root component as selected if the
last remaining component from the current selection has been
removed.
svn path=/trunk/mcs/; revision=97103
Ivan Zlatev [Sat, 1 Mar 2008 23:12:56 +0000 (23:12 -0000)]
2008-03-01 Ivan N. Zlatev <contact@i-nz.net>
* CodeDomSerializerBase.cs, PropertyCodeDomSerializer.cs:
PropertySerializer shouldn't check for serialization visibility
as its duty is to serialize properies if invoked directly.
CodeDomSerializerBase.SerializeProperties should check the
visibility.
* CodeDomSerializer.cs: Fix deserialize to deserialize all
statements.
* CodeDomDesignerLoader.cs: Implement IDesignerSerializationService
using the ComponentSerializationService instead of calling
ourselves recursive.
* CodeDomComponentSerializationService.cs: A lot of bugfixes.
* DesignerSerializationManager.cs:
- Verify that we are not in session before creating a new one.
- Do not check whether we should
preserve names in GetInstance. This is only for CreateInstance.
- Fix a NRE if serialization providers are not initialized.
* CodeDomSerializationProvider.cs, CodeDomDesignerLoader.cs:
Refactor the codedom provider to a singleton, so that
CodeDomComponentSerializationService and others can share the
instance.
* SerializeAbsoluteContext.cs: ShouldSerialize should check if
the absolute context is of the same member not the opposite.
svn path=/trunk/mcs/; revision=97101
Zoltan Varga [Sat, 1 Mar 2008 22:02:36 +0000 (22:02 -0000)]
2008-03-01 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Report calling a static method using callvirt as
unverified.
svn path=/trunk/mono/; revision=97095
Ivan Zlatev [Sat, 1 Mar 2008 21:40:48 +0000 (21:40 -0000)]
2008-03-01 Ivan N. Zlatev <contact@i-nz.net>
* Component.cs: Do not set the Site to null on disposing as this
is the Containers job. Instead try to remove from Container if sited.
svn path=/trunk/mcs/; revision=97093
Miguel de Icaza [Sat, 1 Mar 2008 06:27:00 +0000 (06:27 -0000)]
Use mono.pub key
svn path=/trunk/mono/; revision=97067
Miguel de Icaza [Sat, 1 Mar 2008 06:24:19 +0000 (06:24 -0000)]
Fixed
svn path=/trunk/mcs/; revision=97065
Marek Habersack [Sat, 1 Mar 2008 02:24:56 +0000 (02:24 -0000)]
2008-03-01 Marek Habersack <mhabersack@novell.com>
* SectionInformation.cs: added an internal property -
ConfigFilePath, used when deserializing a section in
ConfigurationSection.GetRuntimeObject.
* Configuration.cs: set SectionInformation.ConfigFilePath when
getting an instance of a section.
* ConfigurationSection.cs: support the 'configSource' attribute
when section is read through GetRuntimeObject.
svn path=/trunk/mcs/; revision=97049
Marek Habersack [Sat, 1 Mar 2008 00:06:24 +0000 (00:06 -0000)]
fix
svn path=/trunk/mono/; revision=97038
Marek Habersack [Sat, 1 Mar 2008 00:04:24 +0000 (00:04 -0000)]
Update for the recent changes in SettingsMapper
svn path=/trunk/mono/; revision=97036
Marek Habersack [Fri, 29 Feb 2008 23:49:18 +0000 (23:49 -0000)]
2008-03-01 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: SettingsMappingManager has been moved to
Mono.Web.
2008-03-01 Marek Habersack <mhabersack@novell.com>
* WebConfigurationManager.cs: SettingsMappingManager has been
moved to Mono.Web.dll
2008-03-01 Marek Habersack <mhabersack@novell.com>
* Makefile: added a dependency on Mono.Web.dll
* System.Web.dll.sources: removed SystemSettingsMapper public APIs
and moved them to the Mono.Web assembly.
2008-03-01 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: added
2008-03-01 Marek Habersack <mhabersack@novell.com>
* ISectionSettingsMapper.cs, MembershipSectionMapper.cs,
RoleManagerSectionMapper.cs, SettingsMapping.cs,
SettingsMappingManager.cs, SettingsMappingWhat.cs: moved to here
from System.Web
2008-03-01 Marek Habersack <mhabersack@novell.com>
* Mono.Web.dll.sources: added
* Makefile: added
svn path=/trunk/mcs/; revision=97035