Gert Driesen [Sat, 16 Aug 2008 12:04:13 +0000 (12:04 -0000)]
* ExceptionCas.cs: Sync with method name change in ExceptionTest.cs.
svn path=/trunk/mcs/; revision=110646
Zoltan Varga [Sat, 16 Aug 2008 11:43:18 +0000 (11:43 -0000)]
2008-08-16 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Don't disable AOT for CEE_JMP and
tail calls, it is already done by the aot code.
svn path=/trunk/mono/; revision=110645
Ivan Zlatev [Sat, 16 Aug 2008 11:18:51 +0000 (11:18 -0000)]
2008-08-16 Ivan N. Zlatev <contact@i-nz.net>
* GridEntry.cs: Leave the ICustomTypeDescriptor handling up to the
ComponentModel layer, which will properly prioritize the attributes.
Avoids wrong prioritization of duplicate attributes when retrieving
the converter and editor.
[Fixes bug #417729]
svn path=/trunk/mcs/; revision=110643
Zoltan Varga [Sat, 16 Aug 2008 11:10:56 +0000 (11:10 -0000)]
2008-08-16 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Handle CEE_JMP using the tail call
mechanism on amd64.
* iltests.il.in: Make the jmp test a bit more complex.
svn path=/trunk/mono/; revision=110642
Zoltan Varga [Sat, 16 Aug 2008 11:07:45 +0000 (11:07 -0000)]
2008-08-16 Zoltan Varga <vargaz@gmail.com>
* jmpTest.il: Removed, there is already a test for this in mini/iltests.il.
svn path=/trunk/mono/; revision=110641
Gert Driesen [Sat, 16 Aug 2008 10:49:12 +0000 (10:49 -0000)]
* ExceptonTest.cs: Added GetObjectData and deserialization ctor tests.
Added/improved tests for Source, HResult and StackTrace. Use Assert
instead of deriving from TestCase.
* Exception.cs: Fixed value of HResult to match MS. Added support for
(de)serializing Data. Use deserialized ClassName, if available, to
when name of type is used.
svn path=/trunk/mcs/; revision=110640
Gert Driesen [Sat, 16 Aug 2008 09:39:34 +0000 (09:39 -0000)]
* StreamWriterTest.cs: Only check paramname for buffersize exception on
2.0 profile.
svn path=/trunk/mcs/; revision=110639
Gert Driesen [Sat, 16 Aug 2008 09:37:01 +0000 (09:37 -0000)]
* StreamWriterTest.cs: Removed Constructor2_Path_Whitespace test, as
it only applies to Windows (and is duplicate for illegal chars test).
Only check paramname for buffersize exception on 2.0 profile.
svn path=/trunk/mcs/; revision=110638
Raja R Harinath [Sat, 16 Aug 2008 03:42:28 +0000 (03:42 -0000)]
update to changes in compiler/libraries
svn path=/trunk/mcs/; revision=110636
Zoltan Varga [Fri, 15 Aug 2008 23:50:35 +0000 (23:50 -0000)]
2008-08-16 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (encode_method_ref): Handle references to normal methods of
generic instances which doesn't have a token.
* aot-runtime.c (decode_method_ref): Ditto.
* method-to-ir.c (handle_unbox_nullable): Don't disable AOT, the aot code
can handle this case now.
(handle_box): Ditto.
svn path=/trunk/mono/; revision=110632
Gert Driesen [Fri, 15 Aug 2008 22:00:24 +0000 (22:00 -0000)]
* StreamWriter.cs: Change argument check for buffersize to require
positive number. Removed duplicate disposed check for AutoFlush.
Removed unnecessary initialization of bools.
* StreamWriterTest.cs: Added more .ctor tests. Enabled AutoFlush
test.
svn path=/trunk/mcs/; revision=110626
Gert Driesen [Fri, 15 Aug 2008 21:18:10 +0000 (21:18 -0000)]
* StreamWriter.cs: Removed duplicate argument checks from .ctor taking
path, as these checks are already done in FileStream .ctor. Removed
parameter name from ArgumentException to match MS.
* StreamWriterTest.cs: Moved ctor argument checks to separate methods.
Added and improved ctor tests. Added test for Close. Improved
(Auto)Flush tests. Use Assert class instead of Assertion.
svn path=/trunk/mcs/; revision=110610
Martin Baulig [Fri, 15 Aug 2008 18:43:33 +0000 (18:43 -0000)]
2008-07-23 Martin Baulig <martin@ximian.com>
*** Merged this from trunk revision 108527 ***
* statement.cs
(ExplicitBlock.EmitSymbolInfo): Moved to `ToplevelBlock'.
(ToplevelBlock.EmitSymbolInfo): Tell the symbol writer about the
scope variable.
svn path=/trunk/mcs/; revision=110594
Geoff Norton [Fri, 15 Aug 2008 18:13:23 +0000 (18:13 -0000)]
2008-08-15 Geoff Norton <gnorton@novell.com>
* mini-x86.c: Fix alignment on Apple x86, and re-disable the alignment
debugging check.
svn path=/trunk/mono/; revision=110591
Marek Safar [Fri, 15 Aug 2008 17:58:11 +0000 (17:58 -0000)]
New test.
svn path=/trunk/mcs/; revision=110587
Marek Safar [Fri, 15 Aug 2008 17:52:59 +0000 (17:52 -0000)]
New tests.
svn path=/trunk/mcs/; revision=110586
Marek Safar [Fri, 15 Aug 2008 17:52:43 +0000 (17:52 -0000)]
2008-08-15 Marek Safar <marek.safar@gmail.com>
* ecore.cs, linq.cs, const.cs, expression.cs, statement.cs: More robust
error checks.
svn path=/trunk/mcs/; revision=110585
Zoltan Varga [Fri, 15 Aug 2008 17:03:06 +0000 (17:03 -0000)]
2008-08-15 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Allow AOT compilation of methods
calling generic methods.
* aot-compiler.c (encode_patch): Handle MONO_PATCH_INFO_METHOD_RGCTX.
* aot-runtime.c (decode_patch_info): Ditto.
* mini.c (mono_resolve_patch_target): Ditto.
* patch-info.h: Add METHOD_RGCTX.
svn path=/trunk/mono/; revision=110580
Carlos Alberto Cortez [Fri, 15 Aug 2008 16:58:04 +0000 (16:58 -0000)]
2008-08-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* XplatUIX11.cs: Increase the interval for the Timer, to not fire our
pseudo motion HandleMouseOver method so aggresive. Also, don't call it
when the pointer is actually in motion, but only when the pointer
seems to stop (as .net does).
Fixes part of #381876.
svn path=/trunk/mcs/; revision=110578
Zoltan Varga [Fri, 15 Aug 2008 13:34:03 +0000 (13:34 -0000)]
2008-08-15 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_delegate_end_invoke): Raise an exception instead of
asserting if the ares parameter is null.
svn path=/trunk/mono/; revision=110568
Ivan Zlatev [Fri, 15 Aug 2008 12:37:46 +0000 (12:37 -0000)]
2008-08-15 Ivan N. Zlatev <contact@i-nz.net>
* GridEntry.cs: Perform stricter check for the ParentEntry's
PropertyDescriptor/PropertyOwner for the ICustomTypeDescriptor
implementation.
[Fixes bug #417567]
svn path=/trunk/mcs/; revision=110564
Marek Safar [Fri, 15 Aug 2008 11:26:22 +0000 (11:26 -0000)]
New tests.
svn path=/trunk/mcs/; revision=110562
Marek Safar [Fri, 15 Aug 2008 11:26:08 +0000 (11:26 -0000)]
2008-08-15 Marek Safar <marek.safar@gmail.com>
* delegate.cs: Fixed compiler crash when creating delegate using partial
method.
* typemanager.cs: MulticastDelegate is not a delegate.
svn path=/trunk/mcs/; revision=110561
Marek Safar [Fri, 15 Aug 2008 10:01:39 +0000 (10:01 -0000)]
Revert broken change
svn path=/trunk/mcs/; revision=110559
Atsushi Eno [Fri, 15 Aug 2008 07:29:37 +0000 (07:29 -0000)]
2008-08-15 Atsushi Enomoto <atsushi@ximian.com>
* IPInterfaceProperties.cs, UnicastIPAddressInformation.cs,
UnicastIPAddressInformationCollection.cs : fixed bug #416526, based
on the patch by Fredrik Kling. support UnicastIPAddressInformation
on win32.
svn path=/trunk/mcs/; revision=110557
Atsushi Eno [Fri, 15 Aug 2008 05:56:20 +0000 (05:56 -0000)]
2008-08-15 Atsushi Enomoto <atsushi@ximian.com>
* SmtpClient.cs : fixed bug #382670, based on the patch by Ted
Unangst. DeriveryMethod.SpecifiedPickupDirectory was not supported.
svn path=/trunk/mcs/; revision=110555
Zoltan Varga [Fri, 15 Aug 2008 01:08:21 +0000 (01:08 -0000)]
2008-08-15 Zoltan Varga <vargaz@gmail.com>
* mono-perfcounters.c: Fix warnings.
svn path=/trunk/mono/; revision=110545
Zoltan Varga [Fri, 15 Aug 2008 01:06:36 +0000 (01:06 -0000)]
2008-08-15 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_delegate_begin_invoke): Don't set save_lmf, it
is not needed, don't check for interruptions either.
(mono_marshal_get_delegate_end_invoke): Ditto.
svn path=/trunk/mono/; revision=110544
Zoltan Varga [Fri, 15 Aug 2008 00:44:21 +0000 (00:44 -0000)]
2008-08-15 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_output_basic_block): Optimize LOCALLOC_IMM.
svn path=/trunk/mono/; revision=110542
Marek Habersack [Thu, 14 Aug 2008 23:38:07 +0000 (23:38 -0000)]
2008-08-15 Marek Habersack <mhabersack@novell.com>
* mono-perfcounters.c (predef_readonly_counter): added support for
reading the ASP.NET Requests Queued counter from another process.
svn path=/trunk/mono/; revision=110541
Zoltan Varga [Thu, 14 Aug 2008 20:15:48 +0000 (20:15 -0000)]
2008-08-14 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_emit_call): Nullify call->vret_var if returning
arguments in registers.
* decompose.c (mono_decompose_vtype_opts): Create a var for the vreg in
OP_VCALL too, don't depend on OP_OUTARG_VTRETADDR doing it.
svn path=/trunk/mono/; revision=110528
Marek Safar [Thu, 14 Aug 2008 20:09:21 +0000 (20:09 -0000)]
2007-08-14 Marek Safar <marek.safar@gmail.com>
* Enumerable.cs (Cast): Simplified.
svn path=/trunk/mcs/; revision=110526
Zoltan Varga [Thu, 14 Aug 2008 19:42:02 +0000 (19:42 -0000)]
2008-08-14 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_method_compile): Abort aot compilation for generic
methods if generic sharing is disabled.
svn path=/trunk/mono/; revision=110523
Zoltan Varga [Thu, 14 Aug 2008 19:39:31 +0000 (19:39 -0000)]
2008-08-14 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Disable AOT for virtual calls requiring
an mrgctx.
svn path=/trunk/mono/; revision=110522
Zoltan Varga [Thu, 14 Aug 2008 19:36:31 +0000 (19:36 -0000)]
2008-08-14 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Disable AOT for virtual calls requiring
an mrgctx.
svn path=/trunk/mono/; revision=110521
Marek Safar [Thu, 14 Aug 2008 19:33:21 +0000 (19:33 -0000)]
Update.
svn path=/trunk/mcs/; revision=110519
Marek Habersack [Thu, 14 Aug 2008 18:50:46 +0000 (18:50 -0000)]
2008-08-14 Marek Habersack <mhabersack@novell.com>
* Makefile: allow compiling with the DEBUG, TRACE and MONO_TRACE
preprocessor symbols defined.
svn path=/trunk/mcs/; revision=110518
Marek Habersack [Thu, 14 Aug 2008 18:42:15 +0000 (18:42 -0000)]
2008-08-14 Marek Habersack <mhabersack@novell.com>
* AspGenerator.cs: do not ignore directives inside HTML comments.
svn path=/trunk/mcs/; revision=110516
Geoff Norton [Thu, 14 Aug 2008 18:38:37 +0000 (18:38 -0000)]
2008-08-14 Geoff Norton <gnorton@novell.com>
* WindowHandler.cs: Revert the change which didn't set ActiveWindow
here and fix the problem in the driver. Fully fixes #393317.
2008-08-01 Geoff Norton <gnorton@novell.com>
* CarbonCursor.cs: If the window doesn't have a cursor set, revert
to the default. Fixes #411114.
2008-07-31 Geoff Norton <gnorton@novell.com>
* WindowHandler.cs: Dont set ActiveWindow when emitting the event,
its set when the event is handled. Fixes #393317.
svn path=/trunk/mcs/; revision=110515
Geoff Norton [Thu, 14 Aug 2008 18:38:30 +0000 (18:38 -0000)]
2008-08-14 Geoff Norton <gnorton@novell.com>
* XplatUICarbon.cs: Properly implement PeekMessage and DoEvents.
Fixes #396983. Properly fix ActiveWindow trackin and do not
prematurely show POPUP windows.
svn path=/trunk/mcs/; revision=110514
Zoltan Varga [Thu, 14 Aug 2008 18:13:42 +0000 (18:13 -0000)]
2008-08-14 Zoltan Varga <vargaz@gmail.com>
* decompose.c (mono_decompose_vtype_opts): Emit the correct sized
store instructions when converting a vcall to a normal call.
svn path=/trunk/mono/; revision=110511
Marek Safar [Thu, 14 Aug 2008 17:40:42 +0000 (17:40 -0000)]
New tests.
svn path=/trunk/mcs/; revision=110508
Marek Safar [Thu, 14 Aug 2008 17:40:20 +0000 (17:40 -0000)]
2008-08-14 Marek Safar <marek.safar@gmail.com>
* expression.cs, ecore.cs, anonymous.cs, class.cs: Fixed missing error
checks.
svn path=/trunk/mcs/; revision=110507
Raja R Harinath [Thu, 14 Aug 2008 16:07:10 +0000 (16:07 -0000)]
* mcs/cs-parser.jay (type): Allow 'var' in mcs too.
(local_variable_type): Likewise.
* tests, errors: Run 'var' tests with mcs too.
svn path=/trunk/mcs/; revision=110494
Raja R Harinath [Thu, 14 Aug 2008 16:06:47 +0000 (16:06 -0000)]
* TypeBuilderTest.cs (DefineCtorUsingDefineMethod): Use a
'DefineMethod' overload that's present in the 1.1 profile.
svn path=/trunk/mcs/; revision=110493
Geoff Norton [Thu, 14 Aug 2008 15:42:49 +0000 (15:42 -0000)]
2008-08-14 Geoff Norton <gnorton@novell.com>
* WebClient_2_1.cs: A dirty hack to emit the events on the proper thread
until we can figure out exactly how to leverage Dispatcher over here.
svn path=/trunk/mcs/; revision=110489
Atsushi Eno [Thu, 14 Aug 2008 15:31:41 +0000 (15:31 -0000)]
2008-08-14 Atsushi Enomoto <atsushi@ximian.com>
* SmtpClient.cs : Patch by Ted Unangst, fixed bug #392843.
Encode emails correctly as well as join multiple emails
correctly.
* ContentType.cs : patch by Ted Unangst, fixed bug #392843.
handle RFC2047 encoding.
svn path=/trunk/mcs/; revision=110488
Zoltan Varga [Thu, 14 Aug 2008 12:06:18 +0000 (12:06 -0000)]
2008-08-14 Zoltan Varga <vargaz@gmail.com>
* mini.c (sigprof_signal_handler): Call mono_find_jit_info instead of
mono_arch_find_jit_info.
svn path=/trunk/mono/; revision=110474
Marek Safar [Thu, 14 Aug 2008 11:24:57 +0000 (11:24 -0000)]
2008-08-14 Marek Safar <marek.safar@gmail.com>
* driver.cs: Removed broken -noconfig variants.
svn path=/trunk/mcs/; revision=110473
Gert Driesen [Thu, 14 Aug 2008 11:20:20 +0000 (11:20 -0000)]
* DataViewTest2.cs (DataViewManager): Check for reference equality
instead of using Equals to avoid test regression using more recent
versions of NUnit.
svn path=/trunk/mcs/; revision=110472
Gert Driesen [Thu, 14 Aug 2008 11:12:49 +0000 (11:12 -0000)]
* SqlConnection.cs: Use constants for min/max values. When value is
zero-length string, then fallback to default value for boolean and
integer backed properties. Throw ArgumentException when min pool size
exceeds max pool size. Check whether value for 'MARS' is a bool.
The 'user instance' property is 2.0 only.
* SqlConnectionTest.cs: Enabled connection string related tests that
previously failed. Added/improved connection string tests.
svn path=/trunk/mcs/; revision=110471
Marek Safar [Thu, 14 Aug 2008 11:04:35 +0000 (11:04 -0000)]
2008-08-14 Marek Safar <marek.safar@gmail.com>
A test for bug #417078
svn path=/trunk/mcs/; revision=110470
Gert Driesen [Thu, 14 Aug 2008 11:02:54 +0000 (11:02 -0000)]
* SqlConnection.cs: Convert keywords to lowercase instead of uppercase
to avoid further case changes in exception messages.
svn path=/trunk/mcs/; revision=110468
Marek Safar [Thu, 14 Aug 2008 11:01:17 +0000 (11:01 -0000)]
2008-08-14 Marek Safar <marek.safar@gmail.com>
A fix for bug #417078
* expression.cs: Emit correctly left side pointer operators.
svn path=/trunk/mcs/; revision=110467
Atsushi Eno [Thu, 14 Aug 2008 08:45:14 +0000 (08:45 -0000)]
2008-08-14 Atsushi Enomoto <atsushi@ximian.com>
* CultureInfo.cs : applied patch by Robert Jordan,
fixed bug #402128. Create uninitialized parent culture
when required.
* CultureInfoTest.cs : added test for bug #402128.
svn path=/trunk/mcs/; revision=110466
Gert Driesen [Thu, 14 Aug 2008 07:38:43 +0000 (07:38 -0000)]
* DataTableTest2.cs: Added test for LoadDataRow with readonly columns.
svn path=/trunk/mcs/; revision=110464
Gert Driesen [Thu, 14 Aug 2008 06:19:36 +0000 (06:19 -0000)]
* KeyInfoX509DataTest.cs
* SignedInfoTest.cs
* XmlDsigC14NTransformTest.cs
* XmlDsigExcC14NTransformTest.cs
* XmlDsigC14NWithCommentsTransformTest.cs
* ReferenceTet.cs
* SignatureTest.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=110463
Gert Driesen [Thu, 14 Aug 2008 06:10:13 +0000 (06:10 -0000)]
Set eol-style to native.
svn path=/trunk/mcs/; revision=110462
Marek Habersack [Thu, 14 Aug 2008 00:35:55 +0000 (00:35 -0000)]
2008-08-14 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: .NET allows for whitespace between
the directive start (<%) and the directive type character. Added
code which copes with such situations correctly.
svn path=/trunk/mcs/; revision=110441
Marek Habersack [Wed, 13 Aug 2008 20:39:19 +0000 (20:39 -0000)]
2008-08-13 Marek Habersack <mhabersack@novell.com>
* ScriptManager.cs: always request the webform.js script to be
present. It may happen that a control during a dynamic update will
need to call one of the WebForm_* functions and the call will fail
as the script will be absent.
If debugging is enabled, send the full exception backtrace in
WriteCallbackException - helps debugging AJAX errors
svn path=/trunk/mcs/; revision=110403
Marek Habersack [Wed, 13 Aug 2008 18:17:10 +0000 (18:17 -0000)]
2008-08-13 Marek Habersack <mhabersack@novell.com>
* DataRow.cs: do not check whether a column is read-only when
importing a record.
svn path=/trunk/mcs/; revision=110389
Marek Habersack [Wed, 13 Aug 2008 17:50:53 +0000 (17:50 -0000)]
2008-08-13 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: rewrote the Bind regular expressions
to allow for single quotes and an optional second parameter to the
"call".
Added an Eval regular expression.
Both Bind and Eval calls in data expressions are now converted
into a CodeDOM method invocations, to allow support for possible
languages which use a different call format (previously code
snippets were used)
Added a method to construct the Eval invoke expression which
simplifies code in other areas.
2008-08-13 Marek Habersack <mhabersack@novell.com>
* TemplateBuilder.cs: use a generic List to store the bindings on
2.0+
2008-08-13 Marek Habersack <mhabersack@novell.com>
* HttpException.cs: do not use StringBuilder.AppendFormat when
there is no need.
svn path=/trunk/mcs/; revision=110385
Jeffrey Stedfast [Wed, 13 Aug 2008 15:55:37 +0000 (15:55 -0000)]
fixed typo in LICENSE
svn path=/trunk/mono/; revision=110366
Stephane Delcroix [Wed, 13 Aug 2008 12:39:16 +0000 (12:39 -0000)]
Uncomment some stuffs to allow compilation of Monotone
svn path=/trunk/mcs/; revision=110354
Raja R Harinath [Wed, 13 Aug 2008 12:32:51 +0000 (12:32 -0000)]
remove executable bit from {errors,tests}/*.cs
svn path=/trunk/mcs/; revision=110353
Marek Safar [Wed, 13 Aug 2008 11:55:42 +0000 (11:55 -0000)]
New tests.
svn path=/trunk/mcs/; revision=110352
Marek Safar [Wed, 13 Aug 2008 11:55:15 +0000 (11:55 -0000)]
2008-08-13 Marek Safar <marek.safar@gmail.com>
* generic.cs, lambda.cs: Inflate method generic arguments only.
svn path=/trunk/mcs/; revision=110351
Zoltan Varga [Wed, 13 Aug 2008 00:07:06 +0000 (00:07 -0000)]
2008-08-13 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (DISABLED_TESTS): Remove appdomain-unload.exe, it seems to
work now, also it is too important to stay disabled.
svn path=/trunk/mono/; revision=110329
Zoltan Varga [Wed, 13 Aug 2008 00:03:46 +0000 (00:03 -0000)]
2008-08-13 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (check_inline_called_method_name_limit): Optimize this to
avoid calling mono_method_full_name () for every method even if the
env var is not set.
(check_inline_caller_method_name_limit): Ditto.
svn path=/trunk/mono/; revision=110327
Zoltan Varga [Tue, 12 Aug 2008 21:47:13 +0000 (21:47 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* driver.c (main_thread_handler): Allow AOT compilation of multiple
assemblies in one run.
* aot-compiler.c (mono_compile_assembly): Only print out a count of
skipped methods if it is not 0.
* Makefile.am (aotcheck): AOT compile all test assemblies in one run.
svn path=/trunk/mono/; revision=110307
Carlos Alberto Cortez [Tue, 12 Aug 2008 21:00:48 +0000 (21:00 -0000)]
2008-08-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* XplatUIX11.cs: Handle the obscured regions while scrolling using
GraphicsExpose event, processing it just after we copy the scrolled
area. This ensures that the next calls to ScrollWindow will copy
regions already updated, and the scrolling will be smooth. Also remove
the code that was trying to detect the obscured regions, since we are
not using it anymore (too slow).
2008-08-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=110298
Bill Holmes [Tue, 12 Aug 2008 20:50:33 +0000 (20:50 -0000)]
2008-08-12 Bill Holmes <billholmes54@gmail.com>
* mini.c (mono_codegen): Changing a preprocessor check from WIN64 to
MONO_ARCH_HAVE_UNWIND_TABLE.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=110297
Bill Holmes [Tue, 12 Aug 2008 20:40:06 +0000 (20:40 -0000)]
2008-08-12 Bill Holmes <billholmes54@gmail.com>
* winconfig.h: Updating the config file for MSVC builds to match
the config file used when compiling with gcc in Cygwin.
* eglib.vcproj, genmdesc.vcproj, libgc.vcproj, libmono.vcproj, libtest.vcproj,
mono.vcproj, monoburg.vcproj, monodiet.vcproj, monodis.vcproj, monograph.vcproj,
pedump.vcproj, test_eglib.vcproj, teste.vcproj, test-invoke.vcproj,
test-metadata.vcproj: Updating the preprocessor definitions for MSVC builds to
match the gcc build in Cygwin.
* mini-amd64.c (mono_arch_cpu_optimizazions): Remove peephole and branch
from default optimizaton list on Winx64.
* mini-amd64.c (emit_tls_get): Added Winx64 specific implementation for GetTLS.
* mini-amd64.c (mono_arch_emit_prolog): Adding an offset on Winx64 to get
the LMF from the MonoJitTlsData structure.
* mini-amd64.c (mono_arch_setup_jit_tls_data): Added Winx64 implementation.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=110295
Zoltan Varga [Tue, 12 Aug 2008 19:40:24 +0000 (19:40 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* TypeBuilderTest.cs: Add new test for #416632.
svn path=/trunk/mcs/; revision=110290
Geoff Norton [Tue, 12 Aug 2008 19:40:15 +0000 (19:40 -0000)]
2008-08-12 Geoff Norton <gnorton@novell.com>
* pthread_support.c: GCC shipped with SLES9 ppc gets confused with our current
GC_setspecific define. Unfold the define into a static inline on all platforms
except ppc where it is a static leaf function.
svn path=/trunk/mono/; revision=110289
Zoltan Varga [Tue, 12 Aug 2008 19:39:37 +0000 (19:39 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* TypeBuilder.cs (CreateType): Avoid creating a default ctor if the
type has a constructor defined using DefineMethod. Fixes #416632.
svn path=/trunk/mcs/; revision=110288
Zoltan Varga [Tue, 12 Aug 2008 19:08:25 +0000 (19:08 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* mini.c (sigsegv_signal_handler): Fix the build.
svn path=/trunk/mono/; revision=110285
Marek Safar [Tue, 12 Aug 2008 16:52:38 +0000 (16:52 -0000)]
2008-08-12 Marek Safar <marek.safar@gmail.com>
* class.cs: Fixed struct layout check regression.
svn path=/trunk/mcs/; revision=110264
Atsushi Eno [Tue, 12 Aug 2008 16:39:56 +0000 (16:39 -0000)]
2008-08-12 Atsushi Enomoto <atsushi@ximian.com>
* SmtpClient.cs : fixed bug #392682, in the same spirit in the
patch by Ted Unangst, to assure safety on socket closing.
svn path=/trunk/mcs/; revision=110263
Marek Safar [Tue, 12 Aug 2008 15:56:44 +0000 (15:56 -0000)]
New tests.
svn path=/trunk/mcs/; revision=110256
Marek Safar [Tue, 12 Aug 2008 15:56:24 +0000 (15:56 -0000)]
2008-08-12 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay, enum.cs: Simplified enum parsing.
* decl.cs: Check all type parameters conflicts.
* expression.cs, statement.cs, attribute.cs: More expression checks.
svn path=/trunk/mcs/; revision=110255
Zoltan Varga [Tue, 12 Aug 2008 14:15:01 +0000 (14:15 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (emit_call_body): Use image->aot_module instead of
assembly->aot_module.
svn path=/trunk/mono/; revision=110236
Zoltan Varga [Tue, 12 Aug 2008 14:14:07 +0000 (14:14 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c: Use image->aot_module instead of searching in the aot_modules
hash table. This simplifies and speeds up a lot of code, and fixes support
for .netmodules.
svn path=/trunk/mono/; revision=110235
Zoltan Varga [Tue, 12 Aug 2008 14:10:52 +0000 (14:10 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* metadata-internals.h: Move the 'aot_module' field from MonoAssembly to
MonoImage to simplify the AOT code.
svn path=/trunk/mono/; revision=110233
Zoltan Varga [Tue, 12 Aug 2008 12:59:39 +0000 (12:59 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* mini.c (SIG_HANDLER_SIGNATURE): Avoid crashes if the thread is not registered
with the runtime.
* mini-exceptions.c: Ditto.
svn path=/trunk/mono/; revision=110229
Stephane Delcroix [Tue, 12 Aug 2008 09:31:27 +0000 (09:31 -0000)]
Adds an empty WebClient to the 2.1 build
svn path=/trunk/mcs/; revision=110216
Gert Driesen [Tue, 12 Aug 2008 09:04:52 +0000 (09:04 -0000)]
* corlib.dll.sources: Removed ReflectionSerializationHolder.cs.
* ReflectionSerializationHolder.cs: Removed.
* common.src: Removed.
svn path=/trunk/mcs/; revision=110212
Carlos Alberto Cortez [Tue, 12 Aug 2008 02:54:51 +0000 (02:54 -0000)]
2008-08-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: Fix the -temporary- broken selection in ListBox for
MultiExtended mode, by separating some logic between the ctrl/shift
handling. Also ignore any MouseMove events generated together with
MouseDown events - we are only interested in the real motion event.
Fixes part of #414963.
svn path=/trunk/mcs/; revision=110204
Zoltan Varga [Mon, 11 Aug 2008 22:27:00 +0000 (22:27 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* exceptions-*c.c (mono_arch_find_jit_info): Remove unused 'trace' and
'native_offset' argument, since these are computed in the
mono_find_jit_info () function.
svn path=/trunk/mono/; revision=110175
Zoltan Varga [Mon, 11 Aug 2008 22:13:10 +0000 (22:13 -0000)]
2008-08-12 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mono_find_jit_info): Make this non-static, as it
is used by exceptions-ppc.c.
* exceptions-ppc.c: Call mono_find_jit_info () instead of
mono_arch_find_jit_info ().
* mini-ppc.h exceptions-ppc.c mini-mips.h mini-mips.c exceptions-mips.c
mini-exceptions.c: Get rid of the CUSTOM_STACK_WALK stuff, use the
generic code in mini-exceptions.c.
svn path=/trunk/mono/; revision=110174
Zoltan Varga [Mon, 11 Aug 2008 21:47:04 +0000 (21:47 -0000)]
2008-08-11 Zoltan Varga <vargaz@gmail.com>
* mini-ppc.c (mono_arch_flush_register_windows): Add this for ppc.
svn path=/trunk/mono/; revision=110170
Zoltan Varga [Mon, 11 Aug 2008 20:18:46 +0000 (20:18 -0000)]
2008-08-11 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_plt_info_offset): Fix a warning.
svn path=/trunk/mono/; revision=110160
Larry Ewing [Mon, 11 Aug 2008 20:11:16 +0000 (20:11 -0000)]
2008-08-11 Larry Ewing <lewing@novell.com>
* ResourceReader.cs: fix reading/writing beyond the end of the
current resource when the resource is larger than 1024 bytes.
svn path=/trunk/mcs/; revision=110159
Zoltan Varga [Mon, 11 Aug 2008 20:06:00 +0000 (20:06 -0000)]
2008-08-11 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_method): Avoid doing all the loading inside
the aot lock, to avoid deadlocks when mono_aot_get_class_from_name () is
called while holding the loader lock. Fixes #415608.
(mono_aot_get_method_from_token_inner): Ditto.
svn path=/trunk/mono/; revision=110157
Zoltan Varga [Mon, 11 Aug 2008 20:01:21 +0000 (20:01 -0000)]
2008-08-11 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_method): Avoid doing all the loading inside
the aot lock, to avoid deadlocks when mono_aot_get_class_from_name () is
called while holding the loader lock. Fixes #415608.
svn path=/trunk/mono/; revision=110156
Marek Habersack [Mon, 11 Aug 2008 17:04:51 +0000 (17:04 -0000)]
2008-08-11 Marek Habersack <mhabersack@novell.com>
Pass onRemoveCallback along in Insert. Fixes bugs #324528 and
#382644. Patch provided by Juraj Skripsky <juraj@hotfeet.ch>,
thanks!
svn path=/trunk/mcs/; revision=110125
Marek Habersack [Mon, 11 Aug 2008 16:13:47 +0000 (16:13 -0000)]
2008-08-11 Marek Habersack <mhabersack@novell.com>
* Cache.cs: dispose item timer when removing an entry. Fixes bug
#416076. Patch provided by Adriaan van Kekem
<adriaanvk@gmail.com>, thanks!
svn path=/trunk/mcs/; revision=110121
Marek Safar [Mon, 11 Aug 2008 13:16:08 +0000 (13:16 -0000)]
New tests.
svn path=/trunk/mcs/; revision=110104
Marek Safar [Mon, 11 Aug 2008 13:15:45 +0000 (13:15 -0000)]
2008-11-08 Marek Safar <marek.safar@gmail.com>
* generic.cs: Add type inference types restriction.
* parameter.cs, class.cs, delegate.cs, iterators.cs, cs-parser.jay,
anonymous.cs, expression.cs: Allocate less accessor parameters.
svn path=/trunk/mcs/; revision=110103
Gert Driesen [Sun, 10 Aug 2008 18:17:22 +0000 (18:17 -0000)]
* IServiceProvider.cs: Added ComVisible attribute (1.0 only).
* String.cs: Fixed argument names to match MS.
svn path=/trunk/mcs/; revision=110079