Marek Habersack [Mon, 28 Jul 2008 08:20:59 +0000 (08:20 -0000)]
2008-07-28 Marek Habersack <mhabersack@novell.com>
* MasterPage.cs: decouple processing of content templates in
CreateMasterPage from checking whether all the content place
holder ids are defined. Fixes bug #325114
2008-07-28 Marek Habersack <mhabersack@novell.com>
* StandardUrl.cs: added a new standard url -
PAGE_WITH_MASTER_INVALID_PLACE_HOLDER.
2008-07-28 Marek Habersack <mhabersack@novell.com>
* MyPageWithMasterInvalidPlaceHolder.aspx: added
2008-07-28 Marek Habersack <mhabersack@novell.com>
* MasterPageTest.cs: added a test for situations when a page tries
to use a content place holder not defined in the associated master
page (bug #325114)
2008-07-28 Marek Habersack <mhabersack@novell.com>
* NunitWeb/Makefile (NunitWeb.dll): added dependency on
NunitWeb/Resources/MyPageWithMasterInvalidPlaceHolder.aspx, it is
also included in the resources.
svn path=/trunk/mcs/; revision=108975
Gert Driesen [Mon, 28 Jul 2008 07:48:34 +0000 (07:48 -0000)]
* ConnectionManager.cs: Fixed exception message. Code formatting.
* DataProvider.cs: Code formatting.
* DBHelper.cs: Removed extra using statement.
svn path=/trunk/mcs/; revision=108974
Gert Driesen [Mon, 28 Jul 2008 07:46:52 +0000 (07:46 -0000)]
* OdbcParameterTest.cs: Fixed compilation on 1.0 profile.
svn path=/trunk/mcs/; revision=108973
Atsushi Eno [Mon, 28 Jul 2008 06:45:50 +0000 (06:45 -0000)]
2008-07-28 Atsushi Enomoto <atsushi@ximian.com>
* NtlmClient.cs : if host is not provided in NetworkCredential, get
it from WebRequest. Fixed bug #323375.
svn path=/trunk/mcs/; revision=108971
Zoltan Varga [Sun, 27 Jul 2008 22:43:54 +0000 (22:43 -0000)]
2008-07-28 Zoltan Varga <vargaz@gmail.com>
* inssel-x86.brg (stmt): Add missing OP_X86_OUTARG_ALIGN_STACK rule
which got lost in the merge.
svn path=/trunk/mono/; revision=108967
Ivan Zlatev [Sun, 27 Jul 2008 21:21:45 +0000 (21:21 -0000)]
2008-07-28 Ivan N. Zlatev <contact@i-nz.net>
* Form.cs: Remove some seems leftover code for non-TopLevel's
CreateParams, which is breaking ClientSize sizing, because it
removes the border window styles.
svn path=/trunk/mcs/; revision=108964
Ivan Zlatev [Sun, 27 Jul 2008 19:18:49 +0000 (19:18 -0000)]
2008-07-27 Ivan N. Zlatev <contact@i-nz.net>
* RootCodeDomSerializer.cs: Clear the fields as well.
svn path=/trunk/mcs/; revision=108961
Ivan Zlatev [Sun, 27 Jul 2008 19:12:52 +0000 (19:12 -0000)]
2008-07-27 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGrid.cs: Invalidate the View when the PropertyTab
changes.
svn path=/trunk/mcs/; revision=108959
Zoltan Varga [Sun, 27 Jul 2008 19:11:06 +0000 (19:11 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c: Make the helper_sig variables extern to fix the ppc
build.
svn path=/trunk/mono/; revision=108958
Andreas Färber [Sun, 27 Jul 2008 18:03:39 +0000 (18:03 -0000)]
2008-07-27 Andreas Faerber <andreas.faerber@web.de>
* object.c (CHECK_ADD_OVERFLOW_UN): Add missing bracket. Fixes #412499.
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=108956
Zoltan Varga [Sun, 27 Jul 2008 17:34:19 +0000 (17:34 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (emit_call_body): Add a no_patch case missed earlier.
svn path=/trunk/mono/; revision=108954
Zoltan Varga [Sun, 27 Jul 2008 17:25:19 +0000 (17:25 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (emit_call_body): Avoid aligning the call instruction on
icalls, since they won't be patched.
svn path=/trunk/mono/; revision=108953
Zoltan Varga [Sun, 27 Jul 2008 17:11:08 +0000 (17:11 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_get_restore_context_full): Use a slightly
different code sequence when running under valgrind to prevent some valgrind
errors.
svn path=/trunk/mono/; revision=108952
Miguel de Icaza [Sun, 27 Jul 2008 17:05:35 +0000 (17:05 -0000)]
Update man page
svn path=/trunk/mono/; revision=108951
Igor Zelmanovich [Sun, 27 Jul 2008 16:40:30 +0000 (16:40 -0000)]
merge r108947-108948
svn path=/trunk/mcs/; revision=108949
Zoltan Varga [Sun, 27 Jul 2008 16:25:45 +0000 (16:25 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* iltests.il.in: Add new regression test.
* method-to-ir.c (mono_method_to_ir2): Fix handling of inlined methods which
end with a throw.
svn path=/trunk/mono/; revision=108946
Igor Zelmanovich [Sun, 27 Jul 2008 15:14:59 +0000 (15:14 -0000)]
merge r108940-108941
svn path=/trunk/mcs/; revision=108943
Zoltan Varga [Sun, 27 Jul 2008 15:13:28 +0000 (15:13 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* scripts/patch-quiet.sh: Make the libtool --quiet flag configurable by
V=1 as well.
svn path=/trunk/mono/; revision=108942
Zoltan Varga [Sun, 27 Jul 2008 15:06:20 +0000 (15:06 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* test-runner.cs: Cleanup terminated processes on the main thread to prevent
races.
svn path=/trunk/mono/; revision=108940
Zoltan Varga [Sun, 27 Jul 2008 14:59:13 +0000 (14:59 -0000)]
Fix a typo in the last patch.
svn path=/trunk/mono/; revision=108938
Zoltan Varga [Sun, 27 Jul 2008 14:58:12 +0000 (14:58 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (unload_thread_main): Attach the unload thread to the runtime.
svn path=/trunk/mono/; revision=108937
Zoltan Varga [Sun, 27 Jul 2008 14:55:51 +0000 (14:55 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (runtest-managed): Make this depend on test-runner.exe.
svn path=/trunk/mono/; revision=108935
Zoltan Varga [Sun, 27 Jul 2008 14:37:02 +0000 (14:37 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Use get_vreg_to_inst () instead of
accessing cfg->vreg_to_inst directly to prevent a crash in LDFLD.
svn path=/trunk/mono/; revision=108934
Zoltan Varga [Sun, 27 Jul 2008 13:15:41 +0000 (13:15 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* iltests.il.in: Add new test.
svn path=/trunk/mono/; revision=108927
Zoltan Varga [Sun, 27 Jul 2008 13:14:59 +0000 (13:14 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Fix some warnings.
* decompose.c (mono_decompose_long_opts): Implement OP_ICONV_TO_OVF_I8_UN.
Fixes #412494.
svn path=/trunk/mono/; revision=108926
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