Jonathan Pryor [Fri, 5 Dec 2008 15:23:20 +0000 (15:23 -0000)]
* man/mdoc-update.1: Document new parameters such as --exceptions.
svn path=/trunk/mono/; revision=120841
Mark Probst [Fri, 5 Dec 2008 15:07:32 +0000 (15:07 -0000)]
2008-12-05 Mark Probst <mark.probst@gmail.com>
* mini-ppc.h: Merged mini-ppc64.h with mini-ppc.h.
* exceptions-ppc64.c, tramp-ppc64.c, mini-arch.h, Makefile.am: Use
mini-ppc.h instead of mini-ppc64.h.
* mini-ppc64.h: Removed.
svn path=/trunk/mono/; revision=120840
Mark Mason [Fri, 5 Dec 2008 15:03:40 +0000 (15:03 -0000)]
2008-12-04 Mark Mason <mmason@upwardaccess.com>
* mini-mips.c: introduce USE_LDC_SDC: use ldc1/sdc1 to load/store doubles, disabled by default
* mini-mips.c (mono_arch_emit_outarg_vt): fix offset calculation for memcpy in structure passing.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120838
Mark Probst [Fri, 5 Dec 2008 14:33:41 +0000 (14:33 -0000)]
2008-12-05 Mark Probst <mark.probst@gmail.com>
* mini-ppc64.c, mini-ppc64.h, exceptions-ppc64.c, tramp-ppc64.c:
Removed FIRST/LAST_[GF]REG macros, to make merging PPC64 with PPC
code easier.
svn path=/trunk/mono/; revision=120834
Jb Evain [Fri, 5 Dec 2008 14:20:05 +0000 (14:20 -0000)]
2008-12-05 Jb Evain <jbevain@novell.com>
* tuner/Mono.Tuner/RemoveSerialization.cs
* tuner/Mono.Tuner/PrintStatus.cs
* tuner/Mono.Tuner/AdjustVisibility.cs
* tuner/Mono.Tuner/InjectAttributes.cs
* tuner/Mono.Tuner/CheckVisibility.cs:
do not tune the assemblies that the linker doesn't
consider for actual linking.
svn path=/trunk/mcs/; revision=120832
Rodrigo Kumpera [Fri, 5 Dec 2008 12:51:45 +0000 (12:51 -0000)]
2008-12-05 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4f.cs: Add operator == and !=.
svn path=/trunk/mcs/; revision=120831
Rodrigo Kumpera [Fri, 5 Dec 2008 12:51:40 +0000 (12:51 -0000)]
2008-12-05 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Tests for operator == and != on Vector4f.
svn path=/trunk/mono/; revision=120830
Rodrigo Kumpera [Fri, 5 Dec 2008 12:51:44 +0000 (12:51 -0000)]
2008-12-05 Rodrigo Kumpera <rkumpera@novell.com>
* Documentation/en/Mono.Simd/Vector*.xml: Removed references to
ExtractByteMask.
svn path=/trunk/mcs/; revision=120829
Rodrigo Kumpera [Fri, 5 Dec 2008 12:51:34 +0000 (12:51 -0000)]
2008-12-05 Rodrigo Kumpera <rkumpera@novell.com>
* simd-intrinsics.c (simd_intrinsic_emit_equality): Adapt to support Vector4f.
* simd-intrinsics.c: Kill useless enum.
svn path=/trunk/mono/; revision=120828
Marek Habersack [Fri, 5 Dec 2008 11:43:42 +0000 (11:43 -0000)]
2008-12-05 Marek Habersack <mhabersack@novell.com>
* JsonSerializer.cs: StringBuilder extension methods aren't used
anymore, changed to calls to static methods in
StringBuilderExtensions.
* StringBuilderExtensions.cs: cannot use extension methods here
because this file is also used in the version 1.0 build which
doesn't reference System.Core
svn path=/trunk/mcs/; revision=120823
Marek Habersack [Fri, 5 Dec 2008 11:00:56 +0000 (11:00 -0000)]
2008-12-05 Marek Habersack <mhabersack@novell.com>
* Makefile (LIB_MCS_FLAGS): do not reference System.Core
svn path=/trunk/mcs/; revision=120822
Mark Mason [Fri, 5 Dec 2008 07:00:23 +0000 (07:00 -0000)]
2008-12-04 Mark Mason <mmason@upwardaccess.com>
* cpu-mips.md: add long_conv_to_ovf_i4_2
* mini-mips.c: update/add various _OVF_ opcodes to fix test failures
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120819
Mark Mason [Fri, 5 Dec 2008 02:01:15 +0000 (02:01 -0000)]
2008-12-04 Mark Mason <mmason@upwardaccess.com>
* mini-mips.c: ifdef protect automatic promotions of R4 to R8.
* mini-mips.c (mono_arch_emit_setret): handle R4 case with FCONV_TO_R4 instead of FMOVE
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120803
Mark Mason [Fri, 5 Dec 2008 01:21:29 +0000 (01:21 -0000)]
2008-12-04 Mark Mason <mmason@upwardaccess.com>
* mini-mips.c (mono_arch_output_basic_block): fix codegen for OP_OR_IMM/OP_IOR_IMM
svn path=/trunk/mono/; revision=120800
Jonathan Pryor [Fri, 5 Dec 2008 01:07:32 +0000 (01:07 -0000)]
* Makefile: Specify --exceptions=all in mdoc-update invocations.
* exceptions.cs: Add support for documenting a *subset* of all
possible exceptions. Subsets include: the member itself, the member
and methods it calls that are in the same assembly, and all possible
methods across all assemblies.
* monodocer.cs: Allow --exceptions to take a SOURCES argument, to
control which location sources will be searched for exceptions.
svn path=/trunk/mcs/; revision=120798
Rodrigo Kumpera [Thu, 4 Dec 2008 23:12:57 +0000 (23:12 -0000)]
2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Add tests for new methods.
svn path=/trunk/mono/; revision=120789
Rodrigo Kumpera [Thu, 4 Dec 2008 23:12:52 +0000 (23:12 -0000)]
2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
* simd-intrinsics.c: Add support for operator == and !=
on Vector4(u)i.
* simd-methods.h: Add SN_op_Inequality and SN_op_Equality.
svn path=/trunk/mono/; revision=120788
Rodrigo Kumpera [Thu, 4 Dec 2008 23:12:47 +0000 (23:12 -0000)]
2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
* simd-intrinsics.c: Remove ExtractByteMask intrinsics.
svn path=/trunk/mono/; revision=120787
Rodrigo Kumpera [Thu, 4 Dec 2008 22:28:28 +0000 (22:28 -0000)]
2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4(u)i.cs: Add operator == and !=.
svn path=/trunk/mcs/; revision=120775
Rodrigo Kumpera [Thu, 4 Dec 2008 22:28:27 +0000 (22:28 -0000)]
2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
* Vector2/4/8*.cs: Remove ExtractByteMask.
svn path=/trunk/mcs/; revision=120774
Zoltan Varga [Thu, 4 Dec 2008 20:58:43 +0000 (20:58 -0000)]
2008-12-04 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_wrappers): Add pinvoke wrappers.
* mini.c (mono_resolve_patch_target): Allow pinvoke methods in
MONO_PATCH_INFO_ICALL_ADDR.
svn path=/trunk/mono/; revision=120756
Zoltan Varga [Thu, 4 Dec 2008 20:57:40 +0000 (20:57 -0000)]
2008-12-04 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (MonoAotFileInfo): Correct order of fields.
svn path=/trunk/mono/; revision=120754
Zoltan Varga [Thu, 4 Dec 2008 20:56:54 +0000 (20:56 -0000)]
2008-12-04 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Resurrect full-aot support.
svn path=/trunk/mono/; revision=120753
Zoltan Varga [Thu, 4 Dec 2008 20:46:42 +0000 (20:46 -0000)]
2008-12-04 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_emit_native_wrapper): Add AOT support for pinvoke
wrappers by emitting the function address using a CEE_MONO_ICALL_ADDR
instruction instead of a pointer constant.
svn path=/trunk/mono/; revision=120749
Mark Mason [Thu, 4 Dec 2008 20:02:43 +0000 (20:02 -0000)]
2008-12-04 Mark Mason <mmason@upwardaccess.com>
* mini-mips.c (mono_arch_lowering_pass): handle OP_COMPARE and OP_ICOMPARE
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120745
Mark Mason [Thu, 4 Dec 2008 18:39:07 +0000 (18:39 -0000)]
Minor typo in last commit.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120733
Mark Mason [Thu, 4 Dec 2008 18:35:48 +0000 (18:35 -0000)]
2008-12-04 Mark Mason <mmason@upwardaccess.com>
* mini-mips.c (mono_arch_output_basic_block): fix OP_IREM_UN code generation
svn path=/trunk/mono/; revision=120732
Bill Holmes [Thu, 4 Dec 2008 16:40:21 +0000 (16:40 -0000)]
2008-12-04 Bill Holmes <billholmes54@gmail.com>
* mono.sln : Removing monoburg from the solution.
* libmono.vcproj : Removing files deleted from svn.
* mono.def : Removing mono_burg* exports that no longer exist.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=120725
Jb Evain [Thu, 4 Dec 2008 15:17:40 +0000 (15:17 -0000)]
2008-12-04 Jb Evain <jbevain@novell.com>
* Remove CorCompare.exe sources.
svn path=/trunk/mcs/; revision=120706
Jb Evain [Thu, 4 Dec 2008 15:08:29 +0000 (15:08 -0000)]
2008-12-04 Jb Evain <jbevain@novell.com>
* Makefile: don't build CorCompare.exe anymore as it's not even
used.
svn path=/trunk/mcs/; revision=120703
Jb Evain [Thu, 4 Dec 2008 15:00:35 +0000 (15:00 -0000)]
cleanup
svn path=/trunk/mcs/; revision=120702
Jb Evain [Thu, 4 Dec 2008 14:06:11 +0000 (14:06 -0000)]
2008-12-04 Jb Evain <jbevain@novell.com>
* mono-api-diff.cs: update mono-api-diff wrt to the format changes.
svn path=/trunk/mcs/; revision=120699
Mark Probst [Thu, 4 Dec 2008 13:59:46 +0000 (13:59 -0000)]
2008-12-04 Mark Probst <mark.probst@gmail.com>
* configure.in: Disabling the sibling call optimization doesn't
work, so we're using -mminimal-toc.
svn path=/trunk/mono/; revision=120697
Jb Evain [Thu, 4 Dec 2008 13:35:55 +0000 (13:35 -0000)]
remove svn:executable
svn path=/trunk/mcs/; revision=120689
Miguel de Icaza [Thu, 4 Dec 2008 00:58:08 +0000 (00:58 -0000)]
Indentation
svn path=/trunk/mono/; revision=120653
Mark Probst [Wed, 3 Dec 2008 21:22:41 +0000 (21:22 -0000)]
2008-12-03 Mark Probst <mark.probst@gmail.com>
* configure.in: Disable sibling call optimization on PPC64 as it
seems to trip up GCC on the build bot.
svn path=/trunk/mono/; revision=120643
Gert Driesen [Wed, 3 Dec 2008 18:29:27 +0000 (18:29 -0000)]
* NoParamsInvoker.cs:
* HttpApplicationFactory.cs: Fixed support for static eventhandlers.
svn path=/trunk/mcs/; revision=120623
Rodrigo Kumpera [Wed, 3 Dec 2008 18:05:41 +0000 (18:05 -0000)]
2008-12-03 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Fix tests to work under ppc.
Remove tests for methods that will be removed.
svn path=/trunk/mono/; revision=120620
Zoltan Varga [Wed, 3 Dec 2008 16:11:32 +0000 (16:11 -0000)]
2008-12-03 Zoltan Varga <vargaz@gmail.com>
* loader.c (mono_method_get_header): Do most of the work outside the
loader lock, to avoid assembly load hook deadlocks.
* metadata.c (mono_metadata_parse_mh_full): Use finer-grained locking.
(mono_metadata_parse_type_full): Ditto.
svn path=/trunk/mono/; revision=120611
Marek Safar [Wed, 3 Dec 2008 15:43:00 +0000 (15:43 -0000)]
New test.
svn path=/trunk/mcs/; revision=120609
Marek Safar [Wed, 3 Dec 2008 15:42:45 +0000 (15:42 -0000)]
2008-12-03 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, namespace.cs, driver.cs: Allow ExtensionAttribute
to be imported from any assembly.
svn path=/trunk/mcs/; revision=120608
Gonzalo Paniagua Javier [Wed, 3 Dec 2008 15:34:37 +0000 (15:34 -0000)]
2008-12-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
* UdpClientTest.cs: test closing a UDP socket while receiving.
svn path=/trunk/mcs/; revision=120603
Gonzalo Paniagua Javier [Wed, 3 Dec 2008 15:33:16 +0000 (15:33 -0000)]
2008-12-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
* UdpClient.cs: don't Poll() in Receive(), the call to ReceiveFrom
will block anyway. Fixes bug #455894.
svn path=/trunk/mcs/; revision=120601
Marek Safar [Wed, 3 Dec 2008 14:12:12 +0000 (14:12 -0000)]
2008-12-03 Marek Safar <marek.safar@gmail.com>
* parameter.cs, lambda.cs, linq.cs, iterators.cs, anonymous.cs
statement.cs, class.cs, cs-parser.jay: Removed duplicate parameters
storage from anonymous method and lambda expression
svn path=/trunk/mcs/; revision=120594
Marek Habersack [Wed, 3 Dec 2008 13:54:57 +0000 (13:54 -0000)]
2008-12-02 Marek Habersack <mhabersack@novell.com>
* System.Data.DataSetExtensions_test.dll.sources: added
System.Data/DataRowExtensionsTest.cs
2008-12-02 Marek Habersack <mhabersack@novell.com>
* DataRowExtensionsTest.cs: added
2008-12-02 Marek Habersack <mhabersack@novell.com>
* DataRowExtensions.cs: when Field <T> is specialized on a
nullable type (either a reference or an instance of Nullable <T>)
do not throw exception for column value being DBNull but return
null instead.
svn path=/trunk/mcs/; revision=120592
Marek Habersack [Wed, 3 Dec 2008 13:33:05 +0000 (13:33 -0000)]
2008-12-03 Marek Habersack <mhabersack@novell.com>
* System.Web_test.dll.sources: added System.Web.UI/DataBinderTest.cs
2008-12-03 Marek Habersack <mhabersack@novell.com>
* DataBinderTest.cs: added
2008-12-03 Marek Habersack <mhabersack@novell.com>
* DataBinder.cs: clean up Eval for good this time.
GetIndexedPropertyValue should throw an exception when a string
indexer expression is used and the container is an IList.
svn path=/trunk/mcs/; revision=120590
Mark Probst [Wed, 3 Dec 2008 13:20:28 +0000 (13:20 -0000)]
2008-12-03 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (mono_method_to_ir): Handle ldtoken of an open
generic type (via a typedef or typeref) correctly.
2008-12-03 Mark Probst <mark.probst@gmail.com>
* generic-typedef.2.cs: New test for ldtoken of open generic
types.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=120589
Gonzalo Paniagua Javier [Wed, 3 Dec 2008 00:06:23 +0000 (00:06 -0000)]
2008-12-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Page.cs: make sure we don't return null in Title.
svn path=/trunk/mcs/; revision=120550
Gonzalo Paniagua Javier [Tue, 2 Dec 2008 23:53:50 +0000 (23:53 -0000)]
2008-12-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
* AspParser.cs: reset to the next character in a partial match in case
of failure. Fixes bug #314688.
svn path=/trunk/mcs/; revision=120549
Marek Habersack [Tue, 2 Dec 2008 23:13:08 +0000 (23:13 -0000)]
2008-12-03 Marek Habersack <mhabersack@novell.com>
* machine.config: rename serviceModelHostingEnvironment to
serviceHostingEnvironment.
svn path=/trunk/mono/; revision=120545
Zoltan Varga [Tue, 2 Dec 2008 23:03:26 +0000 (23:03 -0000)]
2008-12-03 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_magic_trampoline): Add some debugging code to help
diagnose an assertion failure.
svn path=/trunk/mono/; revision=120543
Rodrigo Kumpera [Tue, 2 Dec 2008 19:15:10 +0000 (19:15 -0000)]
2008-12-02 Rodrigo Kumpera <rkumpera@novell.com>
* mempool.c (mono_backtrace): Take the number of allocated bytes as argument.
Make the stack depth fixed. Ensure proper argument passing to the backtrace
funtions. Finally, use a lock to produce well ordered output.
The lock looks silly, as all calls to the corlib mempool should be guarded
with the loader lock, but for some reason this fact doesn't help.
* mempool.c (mono_mempool_alloc0): Add support for TRACE_ALLOCATIONS.
svn path=/trunk/mono/; revision=120519
Rodrigo Kumpera [Tue, 2 Dec 2008 19:15:07 +0000 (19:15 -0000)]
2008-12-02 Rodrigo Kumpera <rkumpera@novell.com>
* mono-property-hash.c (mono_property_hash_destroy): Release
the root hashtable as well.
svn path=/trunk/mono/; revision=120518
Marek Safar [Tue, 2 Dec 2008 17:59:28 +0000 (17:59 -0000)]
New test.
svn path=/trunk/mcs/; revision=120511
Marek Safar [Tue, 2 Dec 2008 17:58:37 +0000 (17:58 -0000)]
Show full name
svn path=/trunk/mcs/; revision=120510
Jonathan Pobst [Tue, 2 Dec 2008 17:30:39 +0000 (17:30 -0000)]
2008-12-02 Jonathan Pobst <monkey@jpobst.com>
* PaintEventArgsTest.cs: Tests were failing due to being dependent
on the order in which the tests were running, which changed when we
did nunit 2.2->2.4. Modified tests to not use global Graphics contexts,
and to dispose the Graphics like they were relying on the
GraphicsDispose () test to do.
svn path=/trunk/mcs/; revision=120504
Jonathan Pryor [Tue, 2 Dec 2008 16:59:33 +0000 (16:59 -0000)]
* Makefile: Add --exceptions to `mdoc update` invocations to test
<exception/> generation.
* mdoc.exe.sources: Add Mono.Documentation/exceptions.cs to the build.
* Mono.Documentation/exceptions.cs: Added; searches through the
callgraph of an IMemberReference, recording which exception types
are created (and where they're created from).
* Mono.Documentation/monodocer.cs: Generate <exception/> elements.
* Test/DocTest-v1.cs: Modify some methods so that exceptions are
emitted (thus testing <exception/> generation).
* Test/DocTest-v2.patch: Update (so patch(1) doesn't complain).
* Test/en.expected.importecmadoc/System/Array.xml,
Test/en.expected.importecmadoc/System/Environment.xml,
Test/en.expected.importslashdoc/Mono.DocTest.Generic/GenericBase`1.xml,
Test/en.expected.importslashdoc/Mono.DocTest/DocAttribute.xml,
Test/en.expected.importslashdoc/Mono.DocTest/DocValueType.xml,
Test/en.expected.importslashdoc/Mono.DocTest/UseLists.xml,
Test/en.expected.importslashdoc/Mono.DocTest/Widget.xml,
Test/en.expected.importslashdoc/System/Array.xml,
Test/en.expected.importslashdoc/System/Environment.xml,
Test/en.expected.since/Mono.DocTest.Generic/GenericBase`1.xml,
Test/en.expected.since/Mono.DocTest/DocAttribute.xml,
Test/en.expected.since/Mono.DocTest/DocValueType.xml,
Test/en.expected.since/Mono.DocTest/UseLists.xml,
Test/en.expected.since/Mono.DocTest/Widget.xml,
Test/en.expected.since/System/Array.xml,
Test/en.expected.since/System/Environment.xml,
Test/en.expected/Mono.DocTest.Generic/GenericBase`1.xml,
Test/en.expected/Mono.DocTest/DocAttribute.xml,
Test/en.expected/Mono.DocTest/DocValueType.xml,
Test/en.expected/Mono.DocTest/UseLists.xml,
Test/en.expected/Mono.DocTest/Widget.xml,
Test/en.expected/System/Array.xml,
Test/en.expected/System/Environment.xml,
Test/html.expected/Mono.DocTest.Generic/GenericBase`1.html,
Test/html.expected/Mono.DocTest/DocAttribute.html,
Test/html.expected/Mono.DocTest/DocValueType.html,
Test/html.expected/Mono.DocTest/UseLists.html,
Test/html.expected/Mono.DocTest/Widget.html,
Test/html.expected/System/Array.html,
Test/html.expected/System/Environment.html,
Test/msxdoc-expected.importslashdoc.xml: Flush; adds <exception/>
elements (and/or HTML-rendered output of <exception/> elements).
svn path=/trunk/mcs/; revision=120501
Mark Probst [Tue, 2 Dec 2008 16:27:47 +0000 (16:27 -0000)]
2008-12-02 Mark Probst <mark.probst@gmail.com>
* socket-io.c: 64 bit big-endian fixes.
svn path=/trunk/mono/; revision=120498
Marek Safar [Tue, 2 Dec 2008 16:25:32 +0000 (16:25 -0000)]
2008-12-02 Marek Safar <marek.safar@gmail.com>
* ReaderWriterLockSlim.cs: Initial merge.
svn path=/trunk/mcs/; revision=120496
Mark Probst [Tue, 2 Dec 2008 16:03:45 +0000 (16:03 -0000)]
2008-12-02 Mark Probst <mark.probst@gmail.com>
* tramp-ppc64.c (mono_arch_create_rgctx_lazy_fetch_trampoline):
Fix trampoline size.
* mini-ppc64.c, mini-ppc64.h, cpu-ppc64.md: A few floating point
conversion opcodes are implemented natively instead via emulation.
2008-12-02 Mark Probst <mark.probst@gmail.com>
* ppc/ppc-codegen.h: Opcodes for floating point conversions from
64 bit integers.
Code submitted by andreas.faerber@web.de at
https://bugzilla.novell.com/show_bug.cgi?id=324134 under the
X11/MIT license.
svn path=/trunk/mono/; revision=120492
Marek Habersack [Tue, 2 Dec 2008 14:28:05 +0000 (14:28 -0000)]
2008-12-02 Marek Habersack <mhabersack@novell.com>
* DataBinder.cs: when Eval attempts to find Items [] in the
container, catch and ignore all exceptions - the null returned
from GetPropertyValue may be a legitimate return value.
svn path=/trunk/mcs/; revision=120485
Jonathan Pryor [Tue, 2 Dec 2008 14:15:07 +0000 (14:15 -0000)]
* docs/Makefile: Build additional directories (Npgsql,
System.Configuration.Install, System.Design, System.Runtime.Remoting,
System.Runtime.Serialization.Formatters.Soap); shorten entries.
svn path=/trunk/mcs/; revision=120483
Jb Evain [Tue, 2 Dec 2008 11:37:10 +0000 (11:37 -0000)]
remove unecessary path entry
svn path=/trunk/mcs/; revision=120475
Jb Evain [Tue, 2 Dec 2008 10:21:29 +0000 (10:21 -0000)]
add missing targets
svn path=/trunk/mcs/; revision=120472
Jb Evain [Tue, 2 Dec 2008 09:49:02 +0000 (09:49 -0000)]
fix the build, hopefully
svn path=/trunk/mcs/; revision=120469
Jb Evain [Tue, 2 Dec 2008 09:45:56 +0000 (09:45 -0000)]
remove unecessary target
svn path=/trunk/mcs/; revision=120467
Jb Evain [Tue, 2 Dec 2008 09:45:34 +0000 (09:45 -0000)]
cleanup trailing /
svn path=/trunk/mcs/; revision=120466
Mark Mason [Tue, 2 Dec 2008 09:22:13 +0000 (09:22 -0000)]
2008-12-01 Mark Mason <mmason@upwardaccess.com>
* cpu-mips.md: remove mips_xori
* mini-ops.h: remove mips_xori
* mini-mips.h: replace OP_MIPS_XORI with OP_IXOR
* mini-mips.c (mono_arch_decompose_long_opts): Add ladd_imm, lsub, lsub_imm, lneg, lsub_ovf, lsub_ovf_un.
* mini-mips.c (mono_arch_lowering_pass, mono_arch_output_basic_block): fix IXOR handling
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120465
Carlos Alberto Cortez [Tue, 2 Dec 2008 06:20:41 +0000 (06:20 -0000)]
2008-12-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* XplatUIX11.cs: Add support to RichTextFormat by reading it as ascii
text and then let the underneath users of IDataObject interpret and
parse by themselves.
Fixes #439251.
svn path=/trunk/mcs/; revision=120461
Mark Mason [Tue, 2 Dec 2008 01:31:55 +0000 (01:31 -0000)]
2008-12-01 Mark Mason <mmason@upwardaccess.com>
* cpu-mips.md: fix instruction lengths.
* mini-mips.h: define MONO_ARCH_NO_IOV_CHECK
* mini-mips.c: move most instruction rewriting into decompose_ops. Implement conditional branches and exceptions. Fix jump table patch handling. Implement add/sub OVF.
* mini-ops.h: fix slti / sltiu op profiles.
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120443
Marek Habersack [Tue, 2 Dec 2008 01:31:10 +0000 (01:31 -0000)]
2008-12-02 Marek Habersack <mhabersack@novell.com>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWeb/NunitWeb/Resources/Web.mono.config.1.1
2008-12-02 Marek Habersack <mhabersack@novell.com>
* WebTest.cs: for 1.1, copy the Web.mono.config.1.1 resource
2008-12-02 Marek Habersack <mhabersack@novell.com>
* Web.config: added ASP.NET AJAX 1.0 configuration entries
* Web.config.1.1: copied from the last revision before the above
changes, so that 1.1 tests don't fail.
* Web.mono.config.1.1: copied from revision before the AJAX
changes below, so that 1.1 tests don't fail.
svn path=/trunk/mcs/; revision=120442
Martin Baulig [Tue, 2 Dec 2008 01:15:11 +0000 (01:15 -0000)]
2008-12-02 Martin Baulig <martin@ximian.com>
* method-to-ir.c (mono_method_to_ir): Disable debugging
information for the init locals block to make the debugger stop
after all locals have been initalized.
svn path=/trunk/mono/; revision=120438
Marek Habersack [Tue, 2 Dec 2008 01:07:39 +0000 (01:07 -0000)]
2008-12-02 Marek Habersack <mhabersack@novell.com>
* StateManagedCollection.cs: adding an item to the collection does
not call SetDirty as an item is added, thus not affecting the
indexes of its predecessors. Fixes bug #443100
Insert doesn't call SetDirtyObject as all objects are made dirty
in SetDirty which is called from here. Same applies to this [int]
indexer.
svn path=/trunk/mcs/; revision=120436
Miguel de Icaza [Tue, 2 Dec 2008 00:55:07 +0000 (00:55 -0000)]
Add initial implementation of ReaderWriterLockSlim, it is missing support for recursive locks, and support for flagging errors
svn path=/trunk/mcs/; revision=120435
Jb Evain [Tue, 2 Dec 2008 00:47:17 +0000 (00:47 -0000)]
in mcs/tools/tuner:
2008-12-01 Jb Evain <jbevain@novell.com>
* Makefile: move tuning logic inside ../moon. We now simply build
the tuner as a simple library.
in mcs/tools/moon:
2008-12-01 Jb Evain <jbevain@novell.com>
* Makefile: re-use the tuning logic that previously was defined
in mcs/tools/tuner. We're now building the net_2_1 tuned libraries
from here exclusively.
in mcs/tools:
2008-12-01 Jb Evain <jbevain@novell.com>
* Makefile: build the tuner library during the net_1_1 profile. The
tuning of the net_2_1 assemblies now takes place in moon.
svn path=/trunk/mcs/; revision=120432
Martin Baulig [Mon, 1 Dec 2008 23:40:06 +0000 (23:40 -0000)]
2008-12-02 Martin Baulig <martin@ximian.com>
* mini.c (mini_method_compile): Disable MONO_OPT_DEADCE when
running inside the debugger.
svn path=/trunk/mono/; revision=120419
Rodrigo Kumpera [Mon, 1 Dec 2008 23:24:58 +0000 (23:24 -0000)]
2008-12-01 Rodrigo Kumpera <kumpera@gmail.com>
* main.c (get_uninitialized_data_type): Make crappy static analyzers happy.
svn path=/trunk/mono/; revision=120414
Ivan Zlatev [Mon, 1 Dec 2008 23:16:07 +0000 (23:16 -0000)]
2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Fix my previous commit to actually update what it
was supposed to.
svn path=/trunk/mcs/; revision=120412
Jb Evain [Mon, 1 Dec 2008 23:10:10 +0000 (23:10 -0000)]
2008-12-02 Jb Evain <jbevain@novell.com>
* Mono.Linker/AssemblyResolver.cs (AreSame(TypeReference,TypeReference):
fix the case where we compare two GenericInstanceType of the same
element type with different generic arguments.
svn path=/trunk/mcs/; revision=120410
Zoltan Varga [Mon, 1 Dec 2008 22:52:12 +0000 (22:52 -0000)]
2008-12-01 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_method_compile): Only run local deadce if MONO_OPT_DEADCE
is enabled.
* method-to-ir.c (mono_method_to_ir): Fix invalid code generated by the
alu->alu imm optimization which only shows if deadce is disabled.
svn path=/trunk/mono/; revision=120407
Ivan Zlatev [Mon, 1 Dec 2008 22:40:33 +0000 (22:40 -0000)]
2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Ensure that when a row is removed the all the
current row/column/cell get updated. Fixes multiple exceptions.
svn path=/trunk/mcs/; revision=120406
Zoltan Varga [Mon, 1 Dec 2008 22:24:21 +0000 (22:24 -0000)]
Fix the non-ELF build.
svn path=/trunk/mono/; revision=120405
Ivan Zlatev [Mon, 1 Dec 2008 22:23:55 +0000 (22:23 -0000)]
2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Fix scrolling to the current cell when key navigation
is used.
[Fixes bug #443560]
svn path=/trunk/mcs/; revision=120404
Zoltan Varga [Mon, 1 Dec 2008 21:48:30 +0000 (21:48 -0000)]
2008-12-01 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Rename the function names for the binary and asm writers
so they can coexist in the same process. Rework the xdebug code to use the
asm writer. This avoids the need to call into the runtime to dump the
debugging info. Add more debugging info for types.
svn path=/trunk/mono/; revision=120394
Zoltan Varga [Mon, 1 Dec 2008 21:46:35 +0000 (21:46 -0000)]
2008-12-01 Zoltan Varga <vargaz@gmail.com>
* mini-<ARCH>.h: Kill MONO_ARCH_HAVE_NORMALIZE_OPCODES define.
svn path=/trunk/mono/; revision=120393
Zoltan Varga [Mon, 1 Dec 2008 21:44:33 +0000 (21:44 -0000)]
2008-12-01 Zoltan Varga <vargaz@gmail.com>
* genmdesc.c genmdesc.pl mini.h: Don't put the CEE_ opcodes into the
cpu description tables, they can't occur in cpu-<ARCH>.md.
svn path=/trunk/mono/; revision=120391
Zoltan Varga [Mon, 1 Dec 2008 21:27:52 +0000 (21:27 -0000)]
2008-12-01 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Set the type of the value pushed on
the stack in CEE_LDFLDA. Fixes #450542.
* generics.cs: Add a new test.
svn path=/trunk/mono/; revision=120389
Rodrigo Kumpera [Mon, 1 Dec 2008 20:57:35 +0000 (20:57 -0000)]
2008-12-01 Rodrigo Kumpera <rkumpera@novell.com>
* unverifiable_boxed_type_not_compatible_with_string.il:
* unverifiable_boxed_type_not_compatible_with_valuetype.il:
* unverifiable_ret_with_boxed_value_on_stack.il: Regression tests
for #448560.
svn path=/trunk/mono/; revision=120386
Rodrigo Kumpera [Mon, 1 Dec 2008 20:57:26 +0000 (20:57 -0000)]
2008-12-01 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (is_compatible_boxed_valuetype): Rewrite function to work properly with
targets that require strict compatibility between the types.
* verify.c (verify_stack_type_compatibility_full): Boxed values are not compatible
to unboxed types. All cases that this is true are checked by is_compatible_boxed_valuetype.
Kill the strict argument and create a new one valuetype_must_be_boxed.
* verify.c (verify_delegate_compatibility): Use verify_stack_type_compatibility_full to
state that all valuetypes must be boxed.
Fixes #448560.
svn path=/trunk/mono/; revision=120385
Ivan Zlatev [Mon, 1 Dec 2008 19:55:38 +0000 (19:55 -0000)]
2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs, DataGridViewCell.cs: Fire CellStateChanged events.
* DataGridViewCell.cs: Set the cell as selected prior to setting the
new state.
[Fixes issue 1 in bug #443560]
svn path=/trunk/mcs/; revision=120379
Marek Habersack [Mon, 1 Dec 2008 19:33:35 +0000 (19:33 -0000)]
2008-12-01 Marek Habersack <mhabersack@novell.com>
* NunitWebResources/ContentPlaceHolderInTemplate.master: added
* NunitWebResources/ContentPlaceHolderInTemplate.aspx: added
2008-12-01 Marek Habersack <mhabersack@novell.com>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/ContentPlaceHolderInTemplate.aspx
Test/mainsoft/NunitWebResources/ContentPlaceHolderInTemplate.master
(TEST_MCS_FLAGS): added reference to System.Web.Extensions
2008-12-01 Marek Habersack <mhabersack@novell.com>
* Web.mono.config: added ASP.NET AJAX 1.0 configuration entries
2008-12-01 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompilerTest.cs: Added test for bug #449970
svn path=/trunk/mcs/; revision=120376
Ivan Zlatev [Mon, 1 Dec 2008 19:21:54 +0000 (19:21 -0000)]
2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Invalidate after the current row/column seletion
changes.
[Fixes bug #438434]
svn path=/trunk/mcs/; revision=120374
Mark Mason [Mon, 1 Dec 2008 18:39:43 +0000 (18:39 -0000)]
2008-12-01 Mark Mason <mmason@upwardaccess.com>
* mini-ops.h: updated MIPS opcodes
* mini-mips.c: decompose long opts
* mini-mips.h: decompose long opts
Contributed under the MIT X11 license.
svn path=/trunk/mono/; revision=120372
Massimiliano Mantione [Mon, 1 Dec 2008 18:23:43 +0000 (18:23 -0000)]
Added a replay of the whole call stack at the beginning of each event block.
svn path=/trunk/mono/; revision=120369
Ivan Zlatev [Mon, 1 Dec 2008 17:05:48 +0000 (17:05 -0000)]
2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Refresh the data if the data list is reset, etc.
svn path=/trunk/mcs/; revision=120365
Kornél Pál [Mon, 1 Dec 2008 14:52:19 +0000 (14:52 -0000)]
CrossAppDomainChannel.cs: Make _ContextID an object that fixes bug #422491.
svn path=/trunk/mcs/; revision=120355
Marek Habersack [Mon, 1 Dec 2008 14:45:16 +0000 (14:45 -0000)]
2008-12-01 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: instead of adding ContentPlaceHolder
instances to the ContentPlaceHolders collection when the
placeholder is instantiated in the control build method, collect
the ids and store them in ContentPlaceHolders inside the
constructor. Fixes bug #449970
For each content placeholder generate a public virtual property
named "Template_PLACEHOLDERID", this is compatible with what .NET
does.
* BaseCompiler.cs: added new virtual method,
AddStatementsToConstructor, which is called just before
CreateConstructor returns.
2008-12-01 Marek Habersack <mhabersack@novell.com>
* MasterPage.cs: use List <string> for ContentPlaceHolders instead
of ArrayList.
CreateMasterPage now directly accesses the ContentPlaceHolders as
it is now a list of strings
svn path=/trunk/mcs/; revision=120353
Sebastien Pouliot [Mon, 1 Dec 2008 12:45:52 +0000 (12:45 -0000)]
2008-12-01 Sebastien Pouliot <sebastien@ximian.com>
* Mono.Cecil.Signatures/CustomAttrib.cs: Define reusable Empty
arrays for both FixedArg and NamedArg.
* Mono.Cecil.Signatures/SignatureReader.cs: Avoid creating empty
ParameterDefinitionCollection on constructors. Use the new Empty
arrays when possible.
svn path=/trunk/mcs/; revision=120348
Sebastien Pouliot [Mon, 1 Dec 2008 12:44:56 +0000 (12:44 -0000)]
2008-12-01 Sebastien Pouliot <sebastien@ximian.com>
* Mono.Cecil/MethodReference.cs: Make HasParameters virtual
* Mono.Cecil/MethodSpecification.cs: Override HasParameters to make
sure we're tracking the same object as the Parameters property does.
* Mono.Cecil/PropertyDefinition.cs: Implement HasParameters based on
the GetMethod, SetMethod or its own parameter collection.
* Mono.Cecil/PropertyReference.cs: Add abstract HasParameters property
svn path=/trunk/mcs/; revision=120347
Marek Habersack [Mon, 1 Dec 2008 12:34:45 +0000 (12:34 -0000)]
2008-12-01 Marek Habersack <mhabersack@novell.com>
* Style.cs: WriteStyleAttributes must not use the fontinfo field
directly, it has to be done via the Font property. Fixes bug
#449793
svn path=/trunk/mcs/; revision=120345