Marek Safar [Wed, 30 Jun 2010 14:51:01 +0000 (14:51 -0000)]
Fixed.
svn path=/trunk/mcs/; revision=159733
Marek Safar [Wed, 30 Jun 2010 14:50:48 +0000 (14:50 -0000)]
2010-06-30 Marek Safar <marek.safar@gmail.com>
* nullable.cs, expression.cs, statement.cs, method.cs, ecore.cs,
delegate.cs, cs-parser.jay, visit.cs: Use MemberAccess to resolve
base access expression, it has all bits done correctly.
svn path=/trunk/mcs/; revision=159732
Marek Safar [Wed, 30 Jun 2010 10:32:06 +0000 (10:32 -0000)]
2010-06-30 Marek Safar <marek.safar@gmail.com>
* support.cs: Removed unused code.
* ecore.cs: Don't use memberlookup for operators.
svn path=/trunk/mcs/; revision=159723
Paolo Molaro [Wed, 30 Jun 2010 10:13:49 +0000 (10:13 -0000)]
Wed Jun 30 12:10:57 CEST 2010 Paolo Molaro <lupus@ximian.com>
* Makefile.am, mini-llvm.h, mini-unwind.h, mini.c, mini.h, xdebug.c:
implemt the option of loading the llvm backend from a module so
that we can have a single binary and the bloat from llvm is
only experienced when it is actually loaded.
svn path=/trunk/mono/; revision=159722
Paolo Molaro [Wed, 30 Jun 2010 10:07:29 +0000 (10:07 -0000)]
Wed Jun 30 12:06:33 CEST 2010 Paolo Molaro <lupus@ximian.com>
* mono-compiler.h: define MONO_LLVM_INTERNAL for internal functions
that may be needed by the llvm backend module.
svn path=/trunk/mono/; revision=159721
Marek Safar [Wed, 30 Jun 2010 10:06:04 +0000 (10:06 -0000)]
typing too much today
svn path=/trunk/mcs/; revision=159720
Paolo Molaro [Wed, 30 Jun 2010 10:05:52 +0000 (10:05 -0000)]
Wed Jun 30 12:05:21 CEST 2010 Paolo Molaro <lupus@ximian.com>
* configure.in: added option to load llvm from a module.
svn path=/trunk/mono/; revision=159719
Paolo Molaro [Wed, 30 Jun 2010 10:03:29 +0000 (10:03 -0000)]
Wed Jun 30 12:02:39 CEST 2010 Paolo Molaro <lupus@ximian.com>
* mini-llvm.c: remove direct access to mono_defaults.
svn path=/trunk/mono/; revision=159718
Marek Safar [Wed, 30 Jun 2010 09:35:47 +0000 (09:35 -0000)]
2010-06-30 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, membercache.cs, convert.cs, expression.cs,
ecore.cs: Replace remaining MethodLookup with correct user operator
lookup (to do correct deep lookup). Clean up most of outstanding
quirks in binary operator overload resolution.
svn path=/trunk/mcs/; revision=159717
Marek Habersack [Wed, 30 Jun 2010 07:14:36 +0000 (07:14 -0000)]
Fix the build
svn path=/trunk/mcs/; revision=159715
Atsushi Eno [Wed, 30 Jun 2010 07:05:11 +0000 (07:05 -0000)]
2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
* XmlDefaultWriter.cs : add state management support.
* XmlWriter.cs : use above feature for "null Settings in source
writer" case. This brings some minor .NET compatibility and
should fix bug #607697.
* XmlWriterTests.cs : remove NotWorking everywhere.
svn path=/trunk/mcs/; revision=159714
Atsushi Eno [Wed, 30 Jun 2010 06:40:47 +0000 (06:40 -0000)]
2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
* XmlDefaultWriter.cs : new source (which I once wrote for relaxng
and corcompare).
* XmlWriter.cs : in some cases XmlWriter.Create() returns a new
wrapping writer instance.
If there was no Settings specified, return null.
* System.Xml.dll.sources,
moonlight_raw_System.Xml.dll.sources,
monotouch_System.Xml.dll.sources : add DefaultXmlWriter.cs.
* XmlWriterTests.cs : add a bit more assertions.
Remove NotWorking from some tests.
svn path=/trunk/mcs/; revision=159712
Atsushi Eno [Wed, 30 Jun 2010 01:19:44 +0000 (01:19 -0000)]
2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
* XmlWriterTests.cs : more notes and assertions.
svn path=/trunk/mcs/; revision=159707
Atsushi Eno [Wed, 30 Jun 2010 00:19:44 +0000 (00:19 -0000)]
2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
* XmlWriterTests.cs : more notes and tests.
svn path=/trunk/mcs/; revision=159706
Atsushi Eno [Tue, 29 Jun 2010 23:20:44 +0000 (23:20 -0000)]
2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
* XmlWriterTests.cs : refine failure conditions.
svn path=/trunk/mcs/; revision=159705
Atsushi Eno [Tue, 29 Jun 2010 22:51:10 +0000 (22:51 -0000)]
2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
* XmlWriterTests.cs : add test matrix for understanding things.
Make those test names consistent. Mark as NotWorking.
svn path=/trunk/mcs/; revision=159704
Atsushi Eno [Tue, 29 Jun 2010 22:27:28 +0000 (22:27 -0000)]
2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
* Makefile: move back Mvc2.
svn path=/trunk/mcs/; revision=159703
Atsushi Eno [Tue, 29 Jun 2010 22:24:11 +0000 (22:24 -0000)]
2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
* Makefile: add S.R.DurableInstancing dir to 4.0.
svn path=/trunk/mcs/; revision=159702
Atsushi Eno [Tue, 29 Jun 2010 22:22:37 +0000 (22:22 -0000)]
I had some hack in this library too.
svn path=/trunk/mcs/; revision=159701
Rodrigo Kumpera [Tue, 29 Jun 2010 22:03:52 +0000 (22:03 -0000)]
2010-06-29 Rodrigo Kumpera <rkumpera@novell.com>
* assembly.c: Revert r159692 since it breaks loading 3.5
assemblies under 2.0.
svn path=/trunk/mono/; revision=159699
Rodrigo Kumpera [Tue, 29 Jun 2010 20:58:15 +0000 (20:58 -0000)]
2010-06-29 Rodrigo Kumpera <rkumpera@novell.com>
* TypeTest.cs: Add tests for #612780.
svn path=/trunk/mcs/; revision=159695
Rodrigo Kumpera [Tue, 29 Jun 2010 20:56:20 +0000 (20:56 -0000)]
2010-06-29 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (ves_icall_Type_make_array_type): Raise a TLE if a
TypedByRef is passed.
* icall.c (ves_icall_Type_make_byref_type): Ditto.
* icall.c (ves_icall_Type_MakePointerType): Ditto.
Fixes #612780.
svn path=/trunk/mono/; revision=159694
Zoltan Varga [Tue, 29 Jun 2010 20:23:45 +0000 (20:23 -0000)]
2010-06-29 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arch_get_vcall_slot): This is no longer used on ARM, so make it
a no-op.
svn path=/trunk/mono/; revision=159693
Rodrigo Kumpera [Tue, 29 Jun 2010 20:18:52 +0000 (20:18 -0000)]
2010-06-29 Rodrigo Kumpera <rkumpera@novell.com>
* assembly.c: Add a few more assemblies to the list of framework
assemblies.
Fixes #617714.
svn path=/trunk/mono/; revision=159692
Geoff Norton [Tue, 29 Jun 2010 19:54:35 +0000 (19:54 -0000)]
2010-06-29 Geoff Norton <gnorton@novell.com>
* atomics.h: Implement armv6+ variants of our atomics.
svn path=/trunk/mono/; revision=159691
Geoff Norton [Tue, 29 Jun 2010 19:53:51 +0000 (19:53 -0000)]
2010-06-29 Geoff Norton <gnorton@novell.com>
* include/private/gc_locks.h: Implement armv6+ variants of
GC_test_and_set
svn path=/trunk/mono/; revision=159690
Rodrigo Kumpera [Tue, 29 Jun 2010 19:50:49 +0000 (19:50 -0000)]
2010-06-09 Rodrigo Kumpera <rkumpera@novell.com>
* Actions.cs: Add missing v4 type forwarding.
svn path=/trunk/mcs/; revision=159689
Zoltan Varga [Tue, 29 Jun 2010 19:44:51 +0000 (19:44 -0000)]
2010-06-29 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_vcall_trampoline): Fix a warning.
* mini-x86.c (mono_arch_get_vcall_slot): Remove most cases as the only caller
is now mono_arch_nullify_class_init_trampoline ().
(mono_arch_output_basic_block): Remove the special casing from the CALL_MEMBASE
opcodes, they are no longer needed.
svn path=/trunk/mono/; revision=159688
Zoltan Varga [Tue, 29 Jun 2010 19:33:21 +0000 (19:33 -0000)]
2010-06-29 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_get_vcall_slot): Remove most cases as the only caller is
now mono_arch_nullify_class_init_trampoline ().
(mono_arch_output_basic_block): Remove the special casing from the CALL_MEMBASE
opcodes, they are no longer needed.
svn path=/trunk/mono/; revision=159687
Zoltan Varga [Tue, 29 Jun 2010 19:33:14 +0000 (19:33 -0000)]
2010-06-29 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_vcall_trampoline): Use the LLVM method of obtaining the
vtable on platforms which support it.
svn path=/trunk/mono/; revision=159686
Zoltan Varga [Tue, 29 Jun 2010 18:45:41 +0000 (18:45 -0000)]
2010-06-29 Zoltan Varga <vargaz@gmail.com>
* driver.c: Print the full LLVM version we are compiled against in --version.
svn path=/trunk/mono/; revision=159685
Zoltan Varga [Tue, 29 Jun 2010 18:45:34 +0000 (18:45 -0000)]
2010-06-29 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add a define for the full LLVM version to config.h.
svn path=/trunk/mono/; revision=159684
Marek Safar [Tue, 29 Jun 2010 17:22:49 +0000 (17:22 -0000)]
Fixed typo
svn path=/trunk/mcs/; revision=159680
Zoltan Varga [Tue, 29 Jun 2010 17:16:12 +0000 (17:16 -0000)]
2010-06-29 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (decode_exception_debug_info): Separate the LLVM and non-LLVM code
a bit better. Decode nesting information to fix eh support for llvm+aot.
* aot-compiler.c (emit_exception_debug_info): Encode nesting information for LLVM
methods.
svn path=/trunk/mono/; revision=159679
Zoltan Varga [Tue, 29 Jun 2010 16:01:39 +0000 (16:01 -0000)]
2010-06-29 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_cleanup): Dispose the aot module too.
svn path=/trunk/mono/; revision=159674
Sebastien Pouliot [Tue, 29 Jun 2010 15:05:25 +0000 (15:05 -0000)]
2010-06-29 Sebastien Pouliot <sebastien@ximian.com>
* ComplexBindingPropertiesAttribute.cs:
* DefaultBindingPropertyAttribute.cs:
* DefaultEventAttribute.cs:
* DefaultPropertyAttribute.cs:
Fix GetHashCode so that values are equals if Equals
return true
* DesignTimeVisibleAttribute.cs: Fix default value for Visible.
svn path=/trunk/mcs/; revision=159667
Sebastien Pouliot [Tue, 29 Jun 2010 15:02:14 +0000 (15:02 -0000)]
Fix Attribute.GetHashCode to match MS behavior (needed for Moonlight)
svn path=/trunk/mcs/; revision=159666
Zoltan Varga [Tue, 29 Jun 2010 14:51:59 +0000 (14:51 -0000)]
2010-06-29 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Disable bug-459094.exe it creates a very deep directory hierarchy
without cleaning it up.
svn path=/trunk/mono/; revision=159664
Sebastien Pouliot [Tue, 29 Jun 2010 14:13:01 +0000 (14:13 -0000)]
In System.Net:
2010-06-29 Sebastien Pouliot <sebastien@ximian.com>
* ServicePointManager.cs: Remove NET_2_0 defines around
RemoteCertificateValidationCallback
In System.Net.Security:
2010-06-29 Sebastien Pouliot <sebastien@ximian.com>
* RemoteCertificateValidationCallback.cs: Remove SECURITY_DEP use
svn path=/trunk/mcs/; revision=159663
Marek Safar [Tue, 29 Jun 2010 13:28:01 +0000 (13:28 -0000)]
2010-06-29 Marek Safar <marek.safar@gmail.com>
* import.cs: Operators must have between 1 and 2 parameters.
* method.cs: Switch destructor to direct membercache lookup
svn path=/trunk/mcs/; revision=159662
Marek Safar [Tue, 29 Jun 2010 11:40:51 +0000 (11:40 -0000)]
Cleanup MethodGroupExpr bits
svn path=/trunk/mcs/; revision=159660
Marek Safar [Tue, 29 Jun 2010 10:17:44 +0000 (10:17 -0000)]
2010-06-29 Marek Safar <marek.safar@gmail.com>
* driver.cs, expression.cs: Use Membercache for StringConcat when
it got all what is needed.
svn path=/trunk/mcs/; revision=159653
Raja R Harinath [Tue, 29 Jun 2010 09:10:50 +0000 (09:10 -0000)]
Use a slightly more portable way to resolve the CategoryAttribute ambiguity.
svn path=/trunk/mcs/; revision=159652
Marek Safar [Tue, 29 Jun 2010 08:29:01 +0000 (08:29 -0000)]
2010-06-29 Marek Safar <marek.safar@gmail.com>
* List.cs: Optimize IEnumerable<T> ctor.
svn path=/trunk/mcs/; revision=159651
Marek Safar [Tue, 29 Jun 2010 08:15:24 +0000 (08:15 -0000)]
Removed NET_1_x
svn path=/trunk/mcs/; revision=159650
Marek Safar [Tue, 29 Jun 2010 08:14:23 +0000 (08:14 -0000)]
New test.
svn path=/trunk/mcs/; revision=159649
Marek Safar [Tue, 29 Jun 2010 08:14:09 +0000 (08:14 -0000)]
2010-06-29 Marek Safar <marek.safar@gmail.com>
* membercache.cs, expression.cs, statement.cs, doc.cs, ecore.cs:
Changed FindMembers to allocate a new list only when a filter is
used. Saves decent chunk of memory and should save even more in the
future when the filter is not used that often.
svn path=/trunk/mcs/; revision=159648
Raja R Harinath [Tue, 29 Jun 2010 07:20:12 +0000 (07:20 -0000)]
Mitigate a possible source of unbounded memory growth
* interpreter.cs (Backtrack): Move mark_start back, and invalidate
discarded marks.
svn path=/trunk/mcs/; revision=159647
Raja R Harinath [Tue, 29 Jun 2010 07:19:50 +0000 (07:19 -0000)]
Make trace output resemble assembler listing
* compiler.cs (LinkRef.ToString) [TRACE_REGEX]: Add pretty-printer
in TRACE_REGEX mode.
(TraceRegexp): Indent the output.
(TraceRegexpLabel): New. Prints out a line label.
(EmitCount): Don't trace. All callers are traced.
(ResolveLink): Trace line labels.
svn path=/trunk/mcs/; revision=159646
Andreia Gaita [Tue, 29 Jun 2010 00:44:46 +0000 (00:44 -0000)]
2010-06-29 Andreia Gaita <avidigal@novell.com>
* XmlWriterTests.cs : added tests for bug #607967
svn path=/trunk/mcs/; revision=159643
Zoltan Varga [Tue, 29 Jun 2010 00:21:40 +0000 (00:21 -0000)]
2010-06-29 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (get_call_info): Change the managed calling convention so 'this'
is always passed as the first argument, before the vtype ret arg. This simplifies
get_this_arg_reg () and LLVM integration.
svn path=/trunk/mono/; revision=159642
Zoltan Varga [Mon, 28 Jun 2010 23:42:00 +0000 (23:42 -0000)]
2010-06-29 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (bug-81691.exe): Fix the dependencies of this test.
svn path=/trunk/mono/; revision=159641
Zoltan Varga [Mon, 28 Jun 2010 22:28:27 +0000 (22:28 -0000)]
2010-06-28 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_get_vtable_entry): Avoid a crash if mono_class_setup_vtable ()
fails.
svn path=/trunk/mono/; revision=159637
Gonzalo Paniagua Javier [Mon, 28 Jun 2010 22:15:51 +0000 (22:15 -0000)]
new address
svn path=/trunk/mcs/; revision=159636
Gonzalo Paniagua Javier [Mon, 28 Jun 2010 22:15:34 +0000 (22:15 -0000)]
2010-06-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
* IPAddress.cs: verify the last IPv4 digit too.
Fixes bug #612135.
svn path=/trunk/mcs/; revision=159635
Zoltan Varga [Mon, 28 Jun 2010 21:14:47 +0000 (21:14 -0000)]
Fix the x86 build.
svn path=/trunk/mono/; revision=159623
Chris Bacon [Mon, 28 Jun 2010 21:09:57 +0000 (21:09 -0000)]
2010-06-28 Chris Bacon <chrisbacon76@gmail.com>
* System.Diagnostics.Contracts tests added.
svn path=/trunk/mcs/; revision=159622
Zoltan Varga [Mon, 28 Jun 2010 21:04:57 +0000 (21:04 -0000)]
2010-06-28 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (patch-libtool): Fix this up after the dolt changes.
svn path=/trunk/mono/; revision=159621
Zoltan Varga [Mon, 28 Jun 2010 21:04:50 +0000 (21:04 -0000)]
2010-06-28 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c mini.c: Rework the virtual call handling code by using a separate
vtable trampoline for each vtable slot for both the LLVM and non-LLVM cases. Move
most of the vcall specific code to mono_vcall_trampoline () from
common_call_trampoline ().
svn path=/trunk/mono/; revision=159620
Gonzalo Paniagua Javier [Mon, 28 Jun 2010 21:00:00 +0000 (21:00 -0000)]
2010-06-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SmtpClient.cs: support PLAIN authentication and throw if LOGIN and
PLAIN are not supported. Fixes bug #607249.
svn path=/trunk/mcs/; revision=159619
Atsushi Eno [Mon, 28 Jun 2010 16:56:34 +0000 (16:56 -0000)]
should be !NET_2_1.
svn path=/trunk/mcs/; revision=159612
Atsushi Eno [Mon, 28 Jun 2010 15:16:08 +0000 (15:16 -0000)]
2010-06-28 Astushi Enomoto <atsushi@ximian.com>
* HTTP_listener_notes.txt : updated, things became much better.
svn path=/trunk/mcs/; revision=159608
Alan McGovern [Mon, 28 Jun 2010 14:39:05 +0000 (14:39 -0000)]
Add an ifdef for moonlight compilation
svn path=/trunk/mcs/; revision=159604
Marek Safar [Mon, 28 Jun 2010 12:48:06 +0000 (12:48 -0000)]
Clenup few checks.
svn path=/trunk/mcs/; revision=159601
Robert Jordan [Mon, 28 Jun 2010 11:27:42 +0000 (11:27 -0000)]
2010-06-28 Robert Jordan <robertj@gmx.net>
* mono.def: Add mono_free symbol (exposed by mono-publib.h).
svn path=/trunk/mono/; revision=159599
Alan McGovern [Mon, 28 Jun 2010 11:02:45 +0000 (11:02 -0000)]
2010-06-28 Alan McGovern <amcgovern@novell.com>
* UriTypeConverter.cs: Fix some regressed tests and add a new test
for when ConvertFrom is called with String.Empty.
svn path=/trunk/mcs/; revision=159598
Marek Safar [Mon, 28 Jun 2010 09:57:47 +0000 (09:57 -0000)]
2010-06-28 Marek Safar <marek.safar@gmail.com>
* field.cs, property.cs, assign.cs, const.cs, expression.cs,
ecore.cs, class.cs, cs-parser.jay, enum.cs: Don't use intermediate
structure for simple type fields (saves memory and makes few things
simpler). Clean up some hacks mostly for events.
svn path=/trunk/mcs/; revision=159595
Marek Safar [Mon, 28 Jun 2010 09:57:26 +0000 (09:57 -0000)]
New tests.
svn path=/trunk/mcs/; revision=159594
Alan McGovern [Mon, 28 Jun 2010 09:27:18 +0000 (09:27 -0000)]
2010-06-28 Alan McGovern <amcgovern@novell.com>
* UriTypeConverter.cs: Converting String.Empty should return null
instead of a Uri instance. Null values and unconvertable values
need to throw NotSupportedExceptions for moonlight too.
svn path=/trunk/mcs/; revision=159593
Alan McGovern [Mon, 28 Jun 2010 09:25:53 +0000 (09:25 -0000)]
2010-06-25 Alan McGovern <amcgovern@novell.com>
* TypeConverter_2_1.cs: Implement ConvertToString as per docs and
moonlight tests.
svn path=/trunk/mcs/; revision=159592
Raja R Harinath [Mon, 28 Jun 2010 06:39:43 +0000 (06:39 -0000)]
Revert "processed with astyle" (SVN r159583)
svn path=/trunk/mcs/; revision=159587
Zoltan Varga [Sun, 27 Jun 2010 22:34:46 +0000 (22:34 -0000)]
2010-06-28 Zoltan Varga <vargaz@gmail.com>
* mono-gdb.py: Add pretty printers for more runtime data structures.
svn path=/trunk/mono/; revision=159586
Zoltan Varga [Sun, 27 Jun 2010 22:34:40 +0000 (22:34 -0000)]
2010-06-27 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (common_call_trampoline): Remove the code which created static
rgctx trampolines when called from LLVM, they won't work for dynamic rgctx arguments
if the callsite is patched.
* mini-llvm.c (process_call): Disable calls which need an rgctx arg if not using
the llvm branch.
svn path=/trunk/mono/; revision=159585
Zoltan Varga [Sun, 27 Jun 2010 20:41:04 +0000 (20:41 -0000)]
2010-06-27 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_create_rgctx_lazy_fetch_trampoline): Fix the name of
the trampoline in the xdebug info.
svn path=/trunk/mono/; revision=159584
C.J. Adams-Collier [Sun, 27 Jun 2010 20:11:26 +0000 (20:11 -0000)]
processed with astyle
svn path=/trunk/mcs/; revision=159583
Michael Barker [Sun, 27 Jun 2010 13:33:46 +0000 (13:33 -0000)]
2010-06-27 Michael Barker <mike@middlesoft.co.uk>
* docs/specs/Makefile: Added uninstall-local
svn path=/trunk/mcs/; revision=159582
Marek Habersack [Sun, 27 Jun 2010 10:12:48 +0000 (10:12 -0000)]
2010-06-27 Marek Habersack <mhabersack@novell.com>
* HttpUtility.cs: if IHtmlString instance is passed to HtmlEncode
(object), use IHtmlString.ToHtmlString () to return the value
without encoding it.
svn path=/trunk/mcs/; revision=159581
Zoltan Varga [Sat, 26 Jun 2010 22:00:58 +0000 (22:00 -0000)]
2010-06-27 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (common_call_trampoline): Make the last change work for LLVM
as well.
svn path=/trunk/mono/; revision=159580
Zoltan Varga [Sat, 26 Jun 2010 17:46:19 +0000 (17:46 -0000)]
2010-06-26 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c: Fix a few problems exposed by make check.
svn path=/trunk/mono/; revision=159579
Mark Probst [Sat, 26 Jun 2010 17:01:45 +0000 (17:01 -0000)]
2010-06-25 Mark Probst <mark.probst@gmail.com>
* mini-trampolines.c (common_call_trampoline): An ugly hack to
work around a potentially very hard to fix problem with inflating
generic methods.
2010-06-25 Mark Probst <mark.probst@gmail.com>
* class.c (mono_class_inflate_generic_method_full_checked): Added
a comment regarding a hack in mini-trampolines.c.
2010-06-26 Mark Probst <mark.probst@gmail.com>
* bug-616463.cs: New test.
* Makefile.am: Test added to generic tests.
This is a corrected re-commit of r159532.
svn path=/trunk/mono/; revision=159578
Zoltan Varga [Sat, 26 Jun 2010 13:41:37 +0000 (13:41 -0000)]
2010-06-26 Zoltan Varga <vargaz@gmail.com>
* configure.in: Make sgen_supported default to false to fix non-x86 builds.
svn path=/trunk/mono/; revision=159577
Zoltan Varga [Sat, 26 Jun 2010 03:09:30 +0000 (03:09 -0000)]
2010-06-26 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_emit_wb_aware_memcpy): Remove the workaround as the core
problem has been fixes.
svn path=/trunk/mono/; revision=159576
Zoltan Varga [Sat, 26 Jun 2010 03:09:23 +0000 (03:09 -0000)]
2010-06-26 Zoltan Varga <vargaz@gmail.com>
* sgen-gc.c (mono_gc_wbarrier_value_copy_bitmap): Use SIZEOF_VOID_P instead of
sizeof(SIZEOF_VOID_P) which is 4.
svn path=/trunk/mono/; revision=159575
Zoltan Varga [Sat, 26 Jun 2010 02:47:53 +0000 (02:47 -0000)]
Add some comments about why some structures are allocated from GC memory.
svn path=/trunk/mono/; revision=159574
Zoltan Varga [Sat, 26 Jun 2010 00:03:49 +0000 (00:03 -0000)]
2010-06-26 Zoltan Varga <vargaz@gmail.com>
* gc.c (mono_gc_init): Move the GC disabled check to *-gc.c.
svn path=/trunk/mono/; revision=159573
Zoltan Varga [Fri, 25 Jun 2010 19:08:22 +0000 (19:08 -0000)]
2010-06-25 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Add an 'SGEN' make variable to allow tests to be run with SGEN.
svn path=/trunk/mono/; revision=159563
Zoltan Varga [Fri, 25 Jun 2010 19:08:15 +0000 (19:08 -0000)]
2010-06-25 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Add an 'SGEN' make variable to allow tests to be run with SGEN.
svn path=/trunk/mono/; revision=159562
Zoltan Varga [Fri, 25 Jun 2010 18:55:57 +0000 (18:55 -0000)]
Fix a warning.
svn path=/trunk/mono/; revision=159561
Zoltan Varga [Fri, 25 Jun 2010 18:53:09 +0000 (18:53 -0000)]
2010-06-25 Zoltan Varga <vargaz@gmail.com>
* mini-gc.c (mini_gc_init_cfg): Use mono_gc_is_moving () instead of HAVE_SGEN_GC.
It might be be better to define a MonoGCJitOptions structure later and have the
GC return that.
svn path=/trunk/mono/; revision=159560
Zoltan Varga [Fri, 25 Jun 2010 18:35:45 +0000 (18:35 -0000)]
2010-06-25 Zoltan Varga <vargaz@gmail.com>
* mini-darwin.c: Don't undefine pthread_ calls for SGEN, they are no longer defined.
svn path=/trunk/mono/; revision=159559
Zoltan Varga [Fri, 25 Jun 2010 18:35:08 +0000 (18:35 -0000)]
2010-06-25 Zoltan Varga <vargaz@gmail.com>
* gc_wrapper.h: Avoid redefining pthread_ calls for SGEN, no longer needed.
svn path=/trunk/mono/; revision=159558
Zoltan Varga [Fri, 25 Jun 2010 18:31:59 +0000 (18:31 -0000)]
2010-06-25 Zoltan Varga <vargaz@gmail.com>
* Makefile: Don't build an sgen aware version, it is no longer needed.
svn path=/trunk/mono/; revision=159557
Zoltan Varga [Fri, 25 Jun 2010 18:27:20 +0000 (18:27 -0000)]
2010-06-25 Zoltan Varga <vargaz@gmail.com>
* wait.c handles.c wthreads.c: Call the mono_gc_ wrapper functions of some pthread
apis. This breaks the compile time dependency between io-layer and the GC.
svn path=/trunk/mono/; revision=159556
Zoltan Varga [Fri, 25 Jun 2010 18:27:14 +0000 (18:27 -0000)]
2010-06-25 Zoltan Varga <vargaz@gmail.com>
* null-gc.c boehm-gc.c: Define the mono_gc_ pthread wrapper functions for these
GCs too.
svn path=/trunk/mono/; revision=159555
Zoltan Varga [Fri, 25 Jun 2010 18:27:07 +0000 (18:27 -0000)]
2010-06-25 Zoltan Varga <vargaz@gmail.com>
* gc_wrapper.h: Define the mono_gc_ wrappers for Boehm too, runtime code should
call these instead of the pthread_ variants.
svn path=/trunk/mono/; revision=159554
Zoltan Varga [Fri, 25 Jun 2010 17:33:23 +0000 (17:33 -0000)]
2010-06-25 Zoltan Varga <vargaz@gmail.com>
* Array.cs (SortImpl): Fix the 'fast path' which used 'as' to cast objects so
it never sorted the items array if it was not a object[]. Fixes #616416.
svn path=/trunk/mcs/; revision=159551
Zoltan Varga [Fri, 25 Jun 2010 17:26:03 +0000 (17:26 -0000)]
2010-06-25 Zoltan Varga <vargaz@gmail.com>
* *-gc.c (mono_gc_wbarrier_value_copy_bitmap): Implement this for all GCs.
svn path=/trunk/mono/; revision=159550
Zoltan Varga [Fri, 25 Jun 2010 17:07:16 +0000 (17:07 -0000)]
Revert "2010-06-25 Mark Probst <mark.probst@gmail.com>"
This reverts commit
e2642bcfd2edf769c190a6348a0bd7a182e31be1.
Reverted this because it breaks the build.
svn path=/trunk/mono/; revision=159548
Carlos Alberto Cortez [Fri, 25 Jun 2010 16:44:02 +0000 (16:44 -0000)]
2010-06-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControlPainter.cs: Use TabControl.Font instead of the values of
TabPage.Font.
Fixes bits of #551032.
svn path=/trunk/mcs/; revision=159547
Carlos Alberto Cortez [Fri, 25 Jun 2010 16:40:56 +0000 (16:40 -0000)]
2010-06-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControlPainter.cs: Use TabControl.Font to draw instead of
TabPage.Font values.
Fixes bits of #551032.
svn path=/trunk/mcs/; revision=159546