Robert Jordan [Sun, 27 Jul 2008 10:26:42 +0000 (10:26 -0000)]
2008-07-27 Robert Jordan <robertj@gmx.net>
* class.c (mono_class_init): Don't compute class.has_finalize for
valuetypes. Fixes #412477.
svn path=/trunk/mono/; revision=108917
Zoltan Varga [Sun, 27 Jul 2008 03:09:38 +0000 (03:09 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* driver.c (mono_main): Fix the --gc=none build. Fixes #412482.
(mini_usage_jitdeveloper): Add a missing --wapi option.
svn path=/trunk/mono/; revision=108899
Zoltan Varga [Sun, 27 Jul 2008 01:49:28 +0000 (01:49 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Make most tests which had a separate execution rule use the
normal test runner, make the output less verbose.
svn path=/trunk/mono/; revision=108896
Zoltan Varga [Sun, 27 Jul 2008 00:56:18 +0000 (00:56 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (runtest-managed): New experimental target which uses the
new test runner.
* test-runner.cs: New managed test driver with support for parallel
execution.
svn path=/trunk/mono/; revision=108890
Zoltan Varga [Sun, 27 Jul 2008 00:08:08 +0000 (00:08 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* Process.cs (SetExitCallbackIfNeeded): Avoid a race condition by not
checking for HashExited.
svn path=/trunk/mcs/; revision=108887
Zoltan Varga [Sat, 26 Jul 2008 18:41:05 +0000 (18:41 -0000)]
2008-07-25 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c: Simplify the is_fp macros.
(free_up_ireg): Remove, use free_up_reg instead.
(free_up_reg): Fix the fp case.
svn path=/trunk/mono/; revision=108873
Zoltan Varga [Sat, 26 Jul 2008 18:33:28 +0000 (18:33 -0000)]
2008-07-26 Zoltan Varga <vargaz@gmail.com>
* appdomain-unload.cs: Disable the timeout test as there is no timeout in
the runtime any more.
* Makefile.am: Unify the different 'test' targets somewhat.
svn path=/trunk/mono/; revision=108872
Marek Safar [Sat, 26 Jul 2008 18:06:45 +0000 (18:06 -0000)]
Put back lost changes
svn path=/trunk/mcs/; revision=108871
Gert Driesen [Sat, 26 Jul 2008 17:54:28 +0000 (17:54 -0000)]
* HttpCachePolicy.cs: Removed extra tabs and regions. Code formatting.
svn path=/trunk/mcs/; revision=108870
Gert Driesen [Sat, 26 Jul 2008 17:52:42 +0000 (17:52 -0000)]
* HttpCachePolicy.cs: Only add Expires header if expire date is
actually set.
svn path=/trunk/mcs/; revision=108869
Zoltan Varga [Sat, 26 Jul 2008 17:45:20 +0000 (17:45 -0000)]
2008-07-26 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Unify the different 'test' targets somewhat.
svn path=/trunk/mono/; revision=108868
Miguel de Icaza [Sat, 26 Jul 2008 17:38:42 +0000 (17:38 -0000)]
Revert the proper one
svn path=/trunk/mcs/; revision=108867
Miguel de Icaza [Sat, 26 Jul 2008 17:15:03 +0000 (17:15 -0000)]
Revert driver changes
svn path=/trunk/mcs/; revision=108864
Dean Brettle [Sat, 26 Jul 2008 16:50:00 +0000 (16:50 -0000)]
++ Test/mainsoft/ChangeLog (working copy)
* NunitWebResources/adapters.browser: added capabilities with
multiple substitutions and $ and % characters not associated
with substitutions.
++ Test/System.Web/ChangeLog (working copy)
* AppBrowsersTest.cs: Added tests for bug where capabilities
containing literal $ or % were dropped. Added test for bug
where capabilities with multiple $ substitutions only
had one applied.
++ System.Web.Configuration_2.0/ChangeLog (working copy)
* nBrowser/Node.cs nBrowser/Build.cs nBrowser/Identification.cs:
Fixed race condition in Node.Process() by removing mutating
functions from Identification and changing Node.Process() and
Node.BrowserIdentification() to maintain state in a List<Match>
instead of a List<Identification>.
* nBrowser/Node.cs: Fixed race condition associated with lookup of
adapter types.
* nBrowser/Node.cs: Removed duplicate call to
Node.BrowserIdentification() from Node.Process().
* nBrowser/Node.cs: Removed duplicate call to Result.AddAdaper()
from Node.Process().
* nBrowser/Node.cs: Fixed bug where capabilities containing literal
$ or % were dropped.
* nBrowser/Node.cs: Fixed bug where capabilities with multiple $
substitutions only had one applied.
svn path=/trunk/mcs/; revision=108861
Gert Driesen [Sat, 26 Jul 2008 16:40:34 +0000 (16:40 -0000)]
* X509CertificateTest.cs: Added asserts for Subject and Issuer.
svn path=/trunk/mcs/; revision=108859
Zoltan Varga [Sat, 26 Jul 2008 13:14:40 +0000 (13:14 -0000)]
2008-07-26 Zoltan Varga <vargaz@gmail.com>
* cpu-arm.md (loadr8_membase): Increase the length of this as this is not
lowered earlier.
svn path=/trunk/mono/; revision=108856
Zoltan Varga [Sat, 26 Jul 2008 13:11:26 +0000 (13:11 -0000)]
2008-07-26 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c: Fix the sparc build after the merge.
svn path=/trunk/mono/; revision=108855
Zoltan Varga [Sat, 26 Jul 2008 12:56:03 +0000 (12:56 -0000)]
2008-07-26 Zoltan Varga <vargaz@gmail.com>
* exceptions-x86.c: Merge some changes which seemed to have got lost
in the linear-ir merge.
svn path=/trunk/mono/; revision=108854
Zoltan Varga [Sat, 26 Jul 2008 10:50:45 +0000 (10:50 -0000)]
2008-07-26 Zoltan Varga <vargaz@gmail.com>
* liveness.c: Disable the liveness2 pass on 32 bit platforms.
* method-to-ir.c (mono_handle_global_vregs): Make the component vregs of a
long vreg volatile even if the variable was already created.
* liveness.c (update_liveness2): Avoid eliminating dead definitions of
volatile variables.
svn path=/trunk/mono/; revision=108853
Marek Safar [Sat, 26 Jul 2008 10:17:52 +0000 (10:17 -0000)]
New test.
svn path=/trunk/mcs/; revision=108852
Marek Safar [Sat, 26 Jul 2008 10:15:13 +0000 (10:15 -0000)]
2008-07-26 Marek Safar <marek.safar@gmail.com>
* driver.cs: Replaced outdated UnixParseOption with CSCParseOption.
svn path=/trunk/mcs/; revision=108851
Zoltan Varga [Sat, 26 Jul 2008 00:01:17 +0000 (00:01 -0000)]
2008-07-26 Zoltan Varga <vargaz@gmail.com>
* cpu-x86.md (fcall_membase): Increase the size of the fcall opcodes.
svn path=/trunk/mono/; revision=108840
Rodrigo Kumpera [Fri, 25 Jul 2008 23:59:32 +0000 (23:59 -0000)]
2008-07-25 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (GetMethod): Allow created TypeBuilders
to be used.
svn path=/trunk/mcs/; revision=108839
Zoltan Varga [Fri, 25 Jul 2008 23:57:55 +0000 (23:57 -0000)]
2008-07-26 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_jit_compile_method_inner): Add support for
MONO_EXCEPTION_BAD_IMAGE.
svn path=/trunk/mono/; revision=108838
Zoltan Varga [Fri, 25 Jul 2008 23:36:41 +0000 (23:36 -0000)]
2008-07-26 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Avoid a crash if
mini_method_get_context () returns NULL. Fixes #356531.
* mini.c (mono_method_to_ir): Ditto.
svn path=/trunk/mono/; revision=108836
Rodrigo Kumpera [Fri, 25 Jul 2008 23:26:31 +0000 (23:26 -0000)]
2008-07-25 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest.cs: New test for the regression found by
bug-333798-tb.2.cs.
* MethodOnTypeBuilderInstTest.cs: Renable some CompilerContext
tests.
svn path=/trunk/mcs/; revision=108835
Zoltan Varga [Fri, 25 Jul 2008 23:22:44 +0000 (23:22 -0000)]
2008-07-26 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Create a variable if needed when
accessing a field of a valuetype in LDFLD/STFLD. Fixes #412399.
svn path=/trunk/mono/; revision=108834
Gert Driesen [Fri, 25 Jul 2008 22:08:15 +0000 (22:08 -0000)]
* WebBrowser.cs: Removed debug output.
svn path=/trunk/mcs/; revision=108830
Ivan Zlatev [Fri, 25 Jul 2008 21:17:22 +0000 (21:17 -0000)]
2008-07-26 Ivan N. Zlatev <contact@i-nz.net>
* TableLayout.cs: Perform layout even if they are no child controls, so
that cell sizes are updated properly for the cell border painting.
svn path=/trunk/mcs/; revision=108824
Ivan Zlatev [Fri, 25 Jul 2008 21:11:33 +0000 (21:11 -0000)]
2008-07-25 Ivan N. Zlatev <contact@i-nz.net>
* TableLayout.cs: For newly created cells for controls without a
specifically assinged such enforce AddRows if ColumnCount == 0 else
AddColumns if RowCount == 0.
[Fixes bug #412163]
svn path=/trunk/mcs/; revision=108822
Jonathan Pobst [Fri, 25 Jul 2008 20:14:50 +0000 (20:14 -0000)]
2008-07-25 Jonathan Pobst <monkey@jpobst.com>
* FileDialog.cs: Apply patch from Ernesto to clean up some
dialog messages.
svn path=/trunk/mcs/; revision=108818
Ivan Zlatev [Fri, 25 Jul 2008 19:59:23 +0000 (19:59 -0000)]
2008-07-25 Ivan N. Zlatev <contact@i-nz.net>
* TableLayoutPanel.cs: Perform layout on GrowStyle change, so
that the change has an immediate effect.
svn path=/trunk/mcs/; revision=108816
Ivan Zlatev [Fri, 25 Jul 2008 19:55:35 +0000 (19:55 -0000)]
2008-07-25 Ivan N. Zlatev <contact@i-nz.net>
* TableLayout.cs: Automagically add the required number of columns/rows
if the control is added at non-existent such. Note that ColumnCount and
RowCount do not change in LayoutSettings.
* TableLayoutTest.cs: Add test for bug #412161
[Fixes bug #412161]
svn path=/trunk/mcs/; revision=108814
Rodrigo Kumpera [Fri, 25 Jul 2008 19:20:55 +0000 (19:20 -0000)]
2008-07-25 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest.cs: Disable the special behavior of GetMethod
under compiler behavior as mcs has been fixed.
svn path=/trunk/mcs/; revision=108811
Zoltan Varga [Fri, 25 Jul 2008 19:17:10 +0000 (19:17 -0000)]
2008-07-25 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Initialize an uninitialized variable
in the LDFTN implementation.
svn path=/trunk/mono/; revision=108810
Rodrigo Kumpera [Fri, 25 Jul 2008 19:11:47 +0000 (19:11 -0000)]
2008-07-25 Rodrigo Kumpera <rkumpera@novell.com>
* make_generic_argument_constraints_test.sh: New test
generator for constraint compatibility of generic arguments.
* make_tests.sh: Added tests using using
the new generator.
* invalid_generic_argument_violate_type_constraint.il:
Test for constraints compatibility between types.
svn path=/trunk/mono/; revision=108809
Gert Driesen [Fri, 25 Jul 2008 18:42:53 +0000 (18:42 -0000)]
* HttpWebResponse.cs: Initialize contentLength in ctor, as it must
remain accessible after the response is disposed (and the headers are
no longer available). Adding missing disposed checks in properties
(except for StatusCode) and GetResponseHeader. On the 2.0 profile,
headers must remain accessible after the HttpWebResponse is disposed.
* System_test.dll.sources: Added HttpWebResponseTest.cs.
* HttpWebResponseTest.cs: Enabled tests.
svn path=/trunk/mcs/; revision=108804
Zoltan Varga [Fri, 25 Jul 2008 18:42:20 +0000 (18:42 -0000)]
2008-07-25 Zoltan Varga <vargaz@gmail.com>
* cpu-x86.md: Increase the length of the fcall opcodes.
* mini-x86.c (emit_move_return_value): Avoid some precision issues for
calls returning floats.
svn path=/trunk/mono/; revision=108803
Marek Safar [Fri, 25 Jul 2008 18:15:22 +0000 (18:15 -0000)]
New test, update.
svn path=/trunk/mcs/; revision=108801
Marek Safar [Fri, 25 Jul 2008 18:14:54 +0000 (18:14 -0000)]
2008-07-25 Marek Safar <marek.safar@gmail.com>
* flowanalysis.cs (StructInfo): Fixed detection of dynamic types.
* class.cs: Removed $PRIVATE$ field hack which caused problems during
flow analysis.
svn path=/trunk/mcs/; revision=108800
Rodrigo Kumpera [Fri, 25 Jul 2008 17:35:26 +0000 (17:35 -0000)]
2008-07-25 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Implement constraint equivalence checking.
This is required when a generic parameter is used as
argument to a constrained one.
Fixes #410637.
svn path=/trunk/mono/; revision=108796
Mark Probst [Fri, 25 Jul 2008 16:08:09 +0000 (16:08 -0000)]
2008-07-25 Mark Probst <mark.probst@gmail.com>
* mini-trampolines.c (mono_magic_trampoline): When sharing generic
code, patch calls to icalls, too, even if they're not in the
shared generic code hash. Fixes #411962.
svn path=/trunk/mono/; revision=108790
Marek Safar [Fri, 25 Jul 2008 15:00:20 +0000 (15:00 -0000)]
New tests.
svn path=/trunk/mcs/; revision=108787
Marek Safar [Fri, 25 Jul 2008 14:58:40 +0000 (14:58 -0000)]
2008-07-25 Marek Safar <marek.safar@gmail.com>
A fix for bug #412217
* assign.cs: Mutate also assignment type.
svn path=/trunk/mcs/; revision=108785
Marek Safar [Fri, 25 Jul 2008 14:39:12 +0000 (14:39 -0000)]
2008-07-25 Marek Safar <marek.safar@gmail.com>
A test for bug #323644
svn path=/trunk/mcs/; revision=108779
Marek Safar [Fri, 25 Jul 2008 14:38:58 +0000 (14:38 -0000)]
2008-07-25 Marek Safar <marek.safar@gmail.com>
A fix for bug #323644
* typemanager.cs (IsValidProperty): Verify DefaultMemberName when checking
indexers.
svn path=/trunk/mcs/; revision=108778
Marek Safar [Fri, 25 Jul 2008 14:35:54 +0000 (14:35 -0000)]
New test.
svn path=/trunk/mcs/; revision=108777
Ivan Zlatev [Fri, 25 Jul 2008 13:20:50 +0000 (13:20 -0000)]
2008-07-25 Ivan N. Zlatev <contact@i-nz.net>
* ScrollableControl.cs: Update PerformLayout calls to include
provide the name of the property that changed.
svn path=/trunk/mcs/; revision=108775
Ivan Zlatev [Fri, 25 Jul 2008 12:58:07 +0000 (12:58 -0000)]
2008-07-25 Ivan N. Zlatev <contact@i-nz.net>
* TableLayoutPanel.cs: Draw relative to the DisplayRectangle
location. Fixes drawing of border and cell borders if scrollable.
svn path=/trunk/mcs/; revision=108770
Ivan Zlatev [Fri, 25 Jul 2008 12:53:08 +0000 (12:53 -0000)]
2008-07-25 Ivan N. Zlatev <contact@i-nz.net>
* ScrollableControl.cs: Perform layouting after the AutoScroll
properties have changed, so that the changes have immediate
effect.
[Fixes bug #409090]
svn path=/trunk/mcs/; revision=108768
Zoltan Varga [Fri, 25 Jul 2008 12:50:02 +0000 (12:50 -0000)]
2008-07-25 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Remove the generic sharing restrictions
on NEWARR.
svn path=/trunk/mono/; revision=108767
Zoltan Varga [Fri, 25 Jul 2008 11:36:56 +0000 (11:36 -0000)]
2008-07-25 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Merge some LDFTN gsharing changes
missed earlier.
svn path=/trunk/mono/; revision=108764
Zoltan Varga [Fri, 25 Jul 2008 11:27:55 +0000 (11:27 -0000)]
2008-07-25 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (handle_delegate_ctor): Avoid putting dynamic methods
into the domain->method_code_hash.
svn path=/trunk/mono/; revision=108763
Marek Safar [Fri, 25 Jul 2008 11:19:12 +0000 (11:19 -0000)]
2008-07-25 Marek Safar <marek.safar@gmail.com>
A test for bug #412134
svn path=/trunk/mcs/; revision=108761
Marek Safar [Fri, 25 Jul 2008 11:18:30 +0000 (11:18 -0000)]
2008-07-25 Marek Safar <marek.safar@gmail.com>
A fix for bug #412134
* expression.cs (ResolveOperatorEnum): Do implicit conversion of
non-enumerable operands when overloading equality or bitwise operators.
svn path=/trunk/mcs/; revision=108760
Zoltan Varga [Fri, 25 Jul 2008 11:13:31 +0000 (11:13 -0000)]
2008-07-25 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Fix win32 build.
svn path=/trunk/mono/; revision=108759
Zoltan Varga [Fri, 25 Jul 2008 11:08:33 +0000 (11:08 -0000)]
2008-07-25 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (EMIT_GET_RGCTX): Call EMIT_NEW_LDARG in emit_get_rgctx ().
svn path=/trunk/mono/; revision=108758
Zoltan Varga [Fri, 25 Jul 2008 11:04:57 +0000 (11:04 -0000)]
2008-07-25 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Use mono_array_new_specific in the
gshared NEWARR implementation.
svn path=/trunk/mono/; revision=108757
Ivan Zlatev [Fri, 25 Jul 2008 10:31:02 +0000 (10:31 -0000)]
2008-07-25 Ivan N. Zlatev <contact@i-nz.net>
* XplatUIX11.cs: Non Client area is actually Client such in the
case of NotifyIcon, so double check WholeWindow == ClientWindow
when adding an expose.
[Fixes bugs #324237 and #357022]
svn path=/trunk/mcs/; revision=108755
Ivan Zlatev [Fri, 25 Jul 2008 10:21:04 +0000 (10:21 -0000)]
2008-07-25 Ivan N. Zlatev <contact@i-nz.net>
* TableLayout.cs: Initialize columns and rows as empty array, so that we
can drop the null check when drawing and always draw the control border,
but void for the cell borders if there aren't any.
[Fixes bug #411858]
svn path=/trunk/mcs/; revision=108753
Ivan Zlatev [Fri, 25 Jul 2008 10:19:21 +0000 (10:19 -0000)]
2008-07-25 Ivan N. Zlatev <contact@i-nz.net>
* TableLayout.cs: Initialize columns and rows as empty array, so that we
can drop the null check when drawing and always draw the control border,
but void for the cell borders if there aren't any.
[Fixes bug #411858]
svn path=/trunk/mcs/; revision=108751
Ivan Zlatev [Fri, 25 Jul 2008 09:59:30 +0000 (09:59 -0000)]
2008-07-25 Ivan N. Zlatev <contact@i-nz.net>
* TableLayoutPanel.cs: Invalidate after layouting, so that we
repaint the cell borders.
[Fix bug #411860]
svn path=/trunk/mcs/; revision=108748
Marek Safar [Fri, 25 Jul 2008 09:53:58 +0000 (09:53 -0000)]
New test.
svn path=/trunk/mcs/; revision=108747
Marek Safar [Fri, 25 Jul 2008 09:53:30 +0000 (09:53 -0000)]
2008-07-25 Marek Safar <marek.safar@gmail.com>
* anonymous.cs: Cache closed generic anonymous method delegates.
svn path=/trunk/mcs/; revision=108745
Zoltan Varga [Fri, 25 Jul 2008 00:59:43 +0000 (00:59 -0000)]
2008-07-25 Zoltan Varga <vargaz@gmail.com>
* cpu-sparc.md: Remove duplicate localloc_imm opcode.
svn path=/trunk/mono/; revision=108740
Zoltan Varga [Fri, 25 Jul 2008 00:43:34 +0000 (00:43 -0000)]
2008-07-25 Zoltan Varga <vargaz@gmail.com>
* ir-emit.h (NEW_ARGLOAD): Use cfg->args and cfg->arg_types so this macro
can be used outside of method_to_ir.
* mini.h (MonoCompile): Add arg_types field.
* method-to-ir.c (inline_method): Save/Restore cfg->args and cfg->arg_types.
* method-to-ir.c (mono_method_to_ir2): Set cfg->args and cfg->arg_types to
the values of the local arg_array and param_types array.
svn path=/trunk/mono/; revision=108739
Zoltan Varga [Thu, 24 Jul 2008 23:51:49 +0000 (23:51 -0000)]
Revert the previous change as it breaks the generic sharing tests.
svn path=/trunk/mono/; revision=108738
Marek Safar [Thu, 24 Jul 2008 22:29:12 +0000 (22:29 -0000)]
2008-07-24 Marek Safar <marek.safar@gmail.com>
* Makefile: Added IL verification for 2.0 profile.
svn path=/trunk/mcs/; revision=108733
Ivan Zlatev [Thu, 24 Jul 2008 21:11:24 +0000 (21:11 -0000)]
2008-07-25 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridTextBox.cs: Stop filtering messages prior to our
disposal to avoid unexpected ObjectDisposedExceptions.
svn path=/trunk/mcs/; revision=108722
Zoltan Varga [Thu, 24 Jul 2008 20:58:23 +0000 (20:58 -0000)]
2008-07-24 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Call mono_array_new_specific in the
gshared version of NEWARR.
svn path=/trunk/mono/; revision=108720
Zoltan Varga [Thu, 24 Jul 2008 20:38:34 +0000 (20:38 -0000)]
2008-07-24 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Allocate a GOT var for NEWOBJ, since
got accesses might only get generated later when NEWOBJ is decomposed.
svn path=/trunk/mono/; revision=108715
Zoltan Varga [Thu, 24 Jul 2008 20:18:43 +0000 (20:18 -0000)]
2008-07-24 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (handle_delegate_ctor): Add an optimization to avoid
looking up the native code of the target method when a delegate is called
for the first time.
* mini-trampolines.c (mono_delegate_trampoline): Add the other half of the
optimization.
svn path=/trunk/mono/; revision=108709
Zoltan Varga [Thu, 24 Jul 2008 20:16:08 +0000 (20:16 -0000)]
2008-07-24 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.
* domain-internals.h (struct _MonoDomain): Add 'method_code_hash' field.
* object-internals.h (struct _MonoDelegate): Add 'method_code' field,
synch with managed object layout.
svn path=/trunk/mono/; revision=108707
Zoltan Varga [Thu, 24 Jul 2008 20:14:48 +0000 (20:14 -0000)]
2008-07-24 Zoltan Varga <vargaz@gmail.com>
* Delegate.cs: Move the rarely used fields to a separate object, add
'method_code' field.
* Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=108706
Ivan Zlatev [Thu, 24 Jul 2008 20:06:47 +0000 (20:06 -0000)]
2008-07-24 Ivan N. Zlatev <contact@i-nz.net>
* TableLayoutPanel.cs: Layout on Row/Column count change.
[Fixes bug #411891]
svn path=/trunk/mcs/; revision=108705
Gert Driesen [Thu, 24 Jul 2008 19:04:26 +0000 (19:04 -0000)]
* Consts.cs.in; Update FxFileVersion and VsFileVersion for 2.0 SP1.
svn path=/trunk/mcs/; revision=108696
Zoltan Varga [Thu, 24 Jul 2008 18:37:32 +0000 (18:37 -0000)]
2008-07-24 Zoltan Varga <vargaz@gmail.com>
* configure.in: Patch libtool to avoid the
'copying selected object files ...' messages.
svn path=/trunk/mono/; revision=108691
Zoltan Varga [Thu, 24 Jul 2008 18:24:44 +0000 (18:24 -0000)]
2008-07-24 Zoltan Varga <vargaz@gmail.com>
* debug-debugger.c (MONO_DEBUGGER__debugger_info): Fix a warning.
svn path=/trunk/mono/; revision=108687
Gert Driesen [Thu, 24 Jul 2008 18:15:37 +0000 (18:15 -0000)]
Set eol-style to native.
svn path=/trunk/mcs/; revision=108686
Zoltan Varga [Thu, 24 Jul 2008 17:07:22 +0000 (17:07 -0000)]
2008-07-24 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c aot-compiler.c: Add a new option 'no-dlsym' which makes
AOT work on platforms without a working dlsym implementation.
* mini.h: Bump AOT image format version.
svn path=/trunk/mono/; revision=108676
Rodrigo Kumpera [Thu, 24 Jul 2008 16:43:42 +0000 (16:43 -0000)]
Forgot to mention the bug number.
svn path=/trunk/mono/; revision=108673
Rodrigo Kumpera [Thu, 24 Jul 2008 16:40:40 +0000 (16:40 -0000)]
2008-07-24 Rodrigo Kumpera <rkumpera@novell.com>
* unverifiable_binary_compare_with_generic_argument.il:
* unverifiable_binary_compare_with_valuetype.il:
* unverifiable_ceq_with_generic_argument.il:
* unverifiable_ceq_with_valuetype.il:
Tests for valuetypes and generic arguments with
bne.un and ceq.
svn path=/trunk/mono/; revision=108672
Rodrigo Kumpera [Thu, 24 Jul 2008 16:38:39 +0000 (16:38 -0000)]
2008-07-24 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_branch_op): Handle valuetypes and generic
arguments properly.
* verify.c (do_cmp_op): Same.
svn path=/trunk/mono/; revision=108671
Mark Probst [Thu, 24 Jul 2008 16:24:48 +0000 (16:24 -0000)]
2008-07-24 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c: Fix memory leaks.
* class.c, class-internals.h: Make
mono_class_inflate_generic_type_with_mempool() non-static.
svn path=/trunk/mono/; revision=108669
Mark Probst [Thu, 24 Jul 2008 16:15:08 +0000 (16:15 -0000)]
2008-07-24 Mark Probst <mark.probst@gmail.com>
* mini-exceptions.c: Free a MonoType with
mono_metadata_free_type() instead of g_free().
* aot-runtime.c: Free a MonoType.
svn path=/trunk/mono/; revision=108666
Zoltan Varga [Thu, 24 Jul 2008 16:12:59 +0000 (16:12 -0000)]
2008-07-24 Zoltan Varga <vargaz@gmail.com>
* System.Design_test.dll.sources: Fix CRLFs.
svn path=/trunk/mcs/; revision=108665
Zoltan Varga [Thu, 24 Jul 2008 16:05:37 +0000 (16:05 -0000)]
2008-07-24 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Add a comment for the box+brtrue
optimization.
* mini-codegen.c (mono_local_regalloc): Remove the remaining items from the
fp stack on x86.
svn path=/trunk/mono/; revision=108663
Rodrigo Kumpera [Thu, 24 Jul 2008 15:55:06 +0000 (15:55 -0000)]
2008-07-24 Rodrigo Kumpera <rkumpera@novell.com>
* configure.in: Change USED_GC_NAME to show if parallel mark is used.
This is shown in mono --version.
svn path=/trunk/mono/; revision=108660
Gert Driesen [Thu, 24 Jul 2008 15:42:09 +0000 (15:42 -0000)]
* AssemblyInstaller.cs: Fixed argument name to match MS.
* EventLogInstaller.cs: API compatibility fixes for issues reported
by corcompare.
svn path=/trunk/mcs/; revision=108655
Gert Driesen [Thu, 24 Jul 2008 15:24:17 +0000 (15:24 -0000)]
* StringValueConverterTest.cs: Added test for StringValueConverter.
* System.Design.dll.sources: Added StringValueConverter.cs.
* System.Design_test.dll.sources: Added StringValueConverterTest.cs.
* StringValueConverter.cs: Implemented internal class used as
TypeConverter for several properties.
svn path=/trunk/mcs/; revision=108653
Rodrigo Kumpera [Thu, 24 Jul 2008 14:28:12 +0000 (14:28 -0000)]
2008-07-24 Rodrigo Kumpera <rkumpera@novell.com>
* pedump.c (dump_verify_info): Dump full class name.
svn path=/trunk/mono/; revision=108652
Marek Safar [Thu, 24 Jul 2008 12:59:39 +0000 (12:59 -0000)]
Updated after another AM optimizations.
svn path=/trunk/mcs/; revision=108649
Marek Safar [Thu, 24 Jul 2008 12:58:57 +0000 (12:58 -0000)]
2008-07-24 Marek Safar <marek.safar@gmail.com>
* lambda.cs, linq.cs, class.cs, iterators.cs, cs-parser.jay, assign.cs,
anonymous.cs, statement.cs: Always emit anonymous method as static method
when is instance free. Use nesting for nested anynomous methods blocks.
svn path=/trunk/mcs/; revision=108648
Zoltan Varga [Thu, 24 Jul 2008 10:45:04 +0000 (10:45 -0000)]
2008-07-24 Zoltan Varga <vargaz@gmail.com>
* ConsoleDriver.cs: Remove unused Suspend icall.
svn path=/trunk/mcs/; revision=108643
Mark Probst [Thu, 24 Jul 2008 10:10:59 +0000 (10:10 -0000)]
2008-07-24 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c: Removed some old code that didn't do anything.
svn path=/trunk/mono/; revision=108641
Marek Safar [Thu, 24 Jul 2008 10:01:27 +0000 (10:01 -0000)]
2008-07-24 Marek Safar <marek.safar@gmail.com>
* Enumerable.cs (First): Optimized.
svn path=/trunk/mcs/; revision=108640
Marek Habersack [Thu, 24 Jul 2008 09:55:45 +0000 (09:55 -0000)]
2008-07-24 Marek Habersack <mhabersack@novell.com>
* DataGrid.cs: removed the private class TableID and moved its
code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
with the owner parameter now. Fixes bug #400377
* ChildTable.cs: refactoring - moved code from TableID previously
defined in DataGrid.cs to here and made the class available under
different names for both 1.x and 2.x profiles. Fixes bug #400377
svn path=/trunk/mcs/; revision=108638
Marek Habersack [Thu, 24 Jul 2008 09:20:29 +0000 (09:20 -0000)]
2008-07-24 Marek Habersack <mhabersack@novell.com>
* MailDefinition.cs: look for the mail body file in the correct
path. Patch from Jackson Harper <jaharper@novell.com>,
thanks! Fixes bug #408699
* PasswordRecovery.cs: do not ask password recovery question if
it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
thanks! Fixes bug #408696
svn path=/trunk/mcs/; revision=108636
Marek Safar [Thu, 24 Jul 2008 09:14:56 +0000 (09:14 -0000)]
2008-07-24 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: Always exercise symbol writer.
svn path=/trunk/mcs/; revision=108635
Massimiliano Mantione [Thu, 24 Jul 2008 08:24:52 +0000 (08:24 -0000)]
Emit full type names for loaded classes (patch by Rodrigo Kumpera).
svn path=/trunk/mono/; revision=108633