mono.git
15 years ago2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2008-12-04 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2008-12-04 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-12-04 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-12-04 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-12-04 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-12-04 Mark Mason <mmason@upwardaccess.com>
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

15 years agoMinor typo in last commit.
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

15 years ago2008-12-04 Mark Mason <mmason@upwardaccess.com>
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

15 years ago2008-12-04 Bill Holmes <billholmes54@gmail.com>
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

15 years ago2008-12-04 Jb Evain <jbevain@novell.com>
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

15 years ago2008-12-04 Jb Evain <jbevain@novell.com>
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

15 years agocleanup
Jb Evain [Thu, 4 Dec 2008 15:00:35 +0000 (15:00 -0000)]
cleanup

svn path=/trunk/mcs/; revision=120702

15 years ago2008-12-04 Jb Evain <jbevain@novell.com>
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

15 years ago2008-12-04 Mark Probst <mark.probst@gmail.com>
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

15 years agoremove svn:executable
Jb Evain [Thu, 4 Dec 2008 13:35:55 +0000 (13:35 -0000)]
remove svn:executable

svn path=/trunk/mcs/; revision=120689

15 years agoIndentation
Miguel de Icaza [Thu, 4 Dec 2008 00:58:08 +0000 (00:58 -0000)]
Indentation

svn path=/trunk/mono/; revision=120653

15 years ago2008-12-03 Mark Probst <mark.probst@gmail.com>
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

15 years ago* NoParamsInvoker.cs:
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

15 years ago2008-12-03 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2008-12-03 Zoltan Varga <vargaz@gmail.com>
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

15 years agoNew test.
Marek Safar [Wed, 3 Dec 2008 15:43:00 +0000 (15:43 -0000)]
New test.

svn path=/trunk/mcs/; revision=120609

15 years ago2008-12-03 Marek Safar <marek.safar@gmail.com>
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

15 years ago2008-12-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

15 years ago2008-12-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

15 years ago2008-12-03 Marek Safar <marek.safar@gmail.com>
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

15 years ago2008-12-02 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-12-03 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-12-03 Mark Probst <mark.probst@gmail.com>
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

15 years ago2008-12-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

15 years ago2008-12-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

15 years ago2008-12-03 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-12-03 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-12-02 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2008-12-02 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years agoNew test.
Marek Safar [Tue, 2 Dec 2008 17:59:28 +0000 (17:59 -0000)]
New test.

svn path=/trunk/mcs/; revision=120511

15 years agoShow full name
Marek Safar [Tue, 2 Dec 2008 17:58:37 +0000 (17:58 -0000)]
Show full name

svn path=/trunk/mcs/; revision=120510

15 years ago2008-12-02 Jonathan Pobst <monkey@jpobst.com>
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

15 years ago * Makefile: Add --exceptions to `mdoc update` invocations to test
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

15 years ago2008-12-02 Mark Probst <mark.probst@gmail.com>
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

15 years ago2008-12-02 Marek Safar <marek.safar@gmail.com>
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

15 years ago2008-12-02 Mark Probst <mark.probst@gmail.com>
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

15 years ago2008-12-02 Marek Habersack <mhabersack@novell.com>
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

15 years ago * docs/Makefile: Build additional directories (Npgsql,
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

15 years agoremove unecessary path entry
Jb Evain [Tue, 2 Dec 2008 11:37:10 +0000 (11:37 -0000)]
remove unecessary path entry

svn path=/trunk/mcs/; revision=120475

15 years agoadd missing targets
Jb Evain [Tue, 2 Dec 2008 10:21:29 +0000 (10:21 -0000)]
add missing targets

svn path=/trunk/mcs/; revision=120472

15 years agofix the build, hopefully
Jb Evain [Tue, 2 Dec 2008 09:49:02 +0000 (09:49 -0000)]
fix the build, hopefully

svn path=/trunk/mcs/; revision=120469

15 years agoremove unecessary target
Jb Evain [Tue, 2 Dec 2008 09:45:56 +0000 (09:45 -0000)]
remove unecessary target

svn path=/trunk/mcs/; revision=120467

15 years agocleanup trailing /
Jb Evain [Tue, 2 Dec 2008 09:45:34 +0000 (09:45 -0000)]
cleanup trailing /

svn path=/trunk/mcs/; revision=120466

15 years ago2008-12-01 Mark Mason <mmason@upwardaccess.com>
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

15 years ago2008-12-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

15 years ago2008-12-01 Mark Mason <mmason@upwardaccess.com>
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

15 years ago2008-12-02 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-12-02 Martin Baulig <martin@ximian.com>
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

15 years ago2008-12-02 Marek Habersack <mhabersack@novell.com>
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

15 years agoAdd initial implementation of ReaderWriterLockSlim, it is missing support for recursi...
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

15 years agoin mcs/tools/tuner:
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

15 years ago2008-12-02 Martin Baulig <martin@ximian.com>
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

15 years ago2008-12-01 Rodrigo Kumpera <kumpera@gmail.com>
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

15 years ago2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
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

15 years ago2008-12-02 Jb Evain <jbevain@novell.com>
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

15 years ago2008-12-01 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
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

15 years agoFix the non-ELF build.
Zoltan Varga [Mon, 1 Dec 2008 22:24:21 +0000 (22:24 -0000)]
Fix the non-ELF build.

svn path=/trunk/mono/; revision=120405

15 years ago2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
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

15 years ago2008-12-01 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-12-01 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-12-01 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-12-01 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2008-12-01 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2008-12-01 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
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

15 years ago2008-12-01 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
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

15 years ago2008-12-01 Mark Mason <mmason@upwardaccess.com>
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

15 years agoAdded a replay of the whole call stack at the beginning of each event block.
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

15 years ago2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
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

15 years agoCrossAppDomainChannel.cs: Make _ContextID an object that fixes bug #422491.
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

15 years ago2008-12-01 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-12-01 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-12-01 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2008-12-01 Marek Habersack <mhabersack@novell.com>
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

15 years ago2008-12-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 1 Dec 2008 11:50:48 +0000 (11:50 -0000)]
2008-12-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #448560
* expression.cs (As): Box any generic type arguments to be
verifiable.

svn path=/trunk/mcs/; revision=120342

15 years ago2008-12-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 1 Dec 2008 11:50:34 +0000 (11:50 -0000)]
2008-12-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #448560
* expression.cs (As): Box any generic type arguments to be
verifiable.

svn path=/trunk/mcs/; revision=120341

15 years ago2008-12-01 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 1 Dec 2008 01:53:58 +0000 (01:53 -0000)]
2008-12-01  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Handle datasource state changes:
   - IBindingList - list changes
   - BindingSource - list changed and datasource changes

svn path=/trunk/mcs/; revision=120324

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 22:52:53 +0000 (22:52 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Select the first cell when databound.
Visually select when CurrentCell is set.

svn path=/trunk/mcs/; revision=120312

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 22:49:28 +0000 (22:49 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Set the current cell before raising CellClick.

svn path=/trunk/mcs/; revision=120311

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 22:43:06 +0000 (22:43 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Cleanup MoveCurrentCell to not fire any CellEnter,
CellLeave events as this is already done in SetCurrentCellAddressCore.

svn path=/trunk/mcs/; revision=120310

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 20:16:29 +0000 (20:16 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Set the minimum size for the columns to be the
width of their header, so that the columns don't get squashed
all together.

svn path=/trunk/mcs/; revision=120306

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 20:05:38 +0000 (20:05 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: After the data is bound PerformLayout, so that
the columns get autosized.

svn path=/trunk/mcs/; revision=120305

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 19:10:55 +0000 (19:10 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Move all currentCell setting code into
one central place - SetCurrentCellAddressCore. That way the
current cell is properly updated when programatically set.
Fire RowEnter/Leave events.

svn path=/trunk/mcs/; revision=120304

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 18:33:03 +0000 (18:33 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Update the CurrencyManager.Position, so that
when a BindingSource is used BindingSource.Current will be correct.

svn path=/trunk/mcs/; revision=120303

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 17:52:26 +0000 (17:52 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* GroupBoxRenderer.cs: Fix when VisualStyles disabled:
   - No caption text is drawn because Color.Empty is used.
   - Fix top and height off by 1.

svn path=/trunk/mcs/; revision=120302

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 17:05:08 +0000 (17:05 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewRow.cs: Implement DataBoundItem.

svn path=/trunk/mcs/; revision=120300

15 years ago2008-11-30 Jordi Mas i Hernandez <jordimash@gmail.com>
Jordi Mas i Hernandez [Sun, 30 Nov 2008 16:13:29 +0000 (16:13 -0000)]
2008-11-30 Jordi Mas i Hernandez <jordimash@gmail.com>

* Mono.Cairo/ImageSurface.cs: Fixes ImageSurface constructor signature.
        Data param should not be ref since the data is not modified.

svn path=/trunk/mcs/; revision=120299

15 years ago2008-11-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 30 Nov 2008 12:28:00 +0000 (12:28 -0000)]
2008-11-30  Ivan N. Zlatev  <contact@i-nz.net>

* BindingSource.cs: Return null for Current if there is no data present.

svn path=/trunk/mcs/; revision=120298

15 years ago2008-11-29 Mark Mason <mmason@upwardaccess.com>
Mark Mason [Sun, 30 Nov 2008 05:16:46 +0000 (05:16 -0000)]
2008-11-29  Mark Mason   <mmason@upwardaccess.com>

        * cpu-mips.md: fix length on int_rem_un
        * mini-mips.c (mips_stackframe_adjust): fix insertion of spillvars region in MIPS stackframes.

Contributed under the MIT X11 license.

svn path=/trunk/mono/; revision=120297