mono.git
14 years agoWed Feb 24 15:47:16 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Feb 2010 15:19:21 +0000 (15:19 -0000)]
Wed Feb 24 15:47:16 CET 2010 Paolo Molaro <lupus@ximian.com>

* confiure.in, data/mono-2.pc.in, data/Makefile.am,
samples/embed/*: increase the API version.

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

14 years agoWed Feb 24 15:50:55 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Feb 2010 15:16:04 +0000 (15:16 -0000)]
Wed Feb 24 15:50:55 CET 2010 Paolo Molaro <lupus@ximian.com>

* mono-publib.h, mono-publib.c: new public header file to allow
the removal of gli from the other public headers.
* Makefile.am: install only the public header mono-publib.h.

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

14 years agoWed Feb 24 16:01:37 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Feb 2010 15:15:03 +0000 (15:15 -0000)]
Wed Feb 24 16:01:37 CET 2010 Paolo Molaro <lupus@ximian.com>

* Makefile.am: don't install the headers anymore, they are private.

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

14 years agoNew test.
Marek Safar [Wed, 24 Feb 2010 10:45:41 +0000 (10:45 -0000)]
New test.

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

14 years ago2010-02-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 24 Feb 2010 10:45:00 +0000 (10:45 -0000)]
2010-02-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #582579
* decl.cs (IsExposedFromAssembly): Use PartialContainer for parent
modifiers.

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

14 years agoNew test.
Marek Safar [Wed, 24 Feb 2010 10:13:24 +0000 (10:13 -0000)]
New test.

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

14 years ago2010-02-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 24 Feb 2010 10:12:44 +0000 (10:12 -0000)]
2010-02-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #581804
* ecore.cs: Fixed type comparison.

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

14 years ago2010-02-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Feb 2010 09:46:11 +0000 (09:46 -0000)]
2010-02-24  Atsushi Enomoto  <atsushi@ximian.com>

* JsonWriter.cs : write NaN, INF, -INF as JSON string, not JSON number.
  Fixed bug #573691.

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

14 years ago2010-02-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Feb 2010 08:19:48 +0000 (08:19 -0000)]
2010-02-24  Atsushi Enomoto  <atsushi@ximian.com>

* culture-info-table.h : regenerated.

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

14 years ago2010-02-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 24 Feb 2010 08:18:51 +0000 (08:18 -0000)]
2010-02-24  Atsushi Enomoto  <atsushi@ximian.com>

* supp/ns_BE.xml : add number format. Fixed bug #324019.

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

14 years ago2010-02-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 24 Feb 2010 05:01:27 +0000 (05:01 -0000)]
2010-02-24  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir): Implement AOT support for fast TLS access.

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

14 years ago2010-02-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 24 Feb 2010 04:16:26 +0000 (04:16 -0000)]
2010-02-24  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir): Implement support for fast access to
ThreadStatic variables.

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

14 years ago2010-02-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 24 Feb 2010 02:19:41 +0000 (02:19 -0000)]
2010-02-24  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (notify_thread): Skip terminated threads, since their tls
data is not freed yet. Fixes #582460.

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

14 years agofix the build on osx
Geoff Norton [Wed, 24 Feb 2010 00:56:09 +0000 (00:56 -0000)]
fix the build on osx

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

14 years ago2010-02-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 23 Feb 2010 22:12:06 +0000 (22:12 -0000)]
2010-02-23 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ResXResourceReader.cs: handle resource file comments.
Patch by Jeffrey Alvarez. Bug #582440 fixed.

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

14 years ago2010-02-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 23 Feb 2010 20:44:58 +0000 (20:44 -0000)]
2010-02-23 Rodrigo Kumpera  <rkumpera@novell.com>

* Type.cs: Use the right kind of annotations.

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

14 years ago2010-02-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 23 Feb 2010 20:17:54 +0000 (20:17 -0000)]
2010-02-23 Rodrigo Kumpera  <rkumpera@novell.com>

* TaskTest.cs: Disable this since it deadlock corlib suite 100%
* of the times.

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

14 years ago2010-02-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 23 Feb 2010 20:17:45 +0000 (20:17 -0000)]
2010-02-23 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeTest.cs: Test new v4 GetEnumNames ().

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

14 years ago2010-02-23 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 23 Feb 2010 20:17:36 +0000 (20:17 -0000)]
2010-02-23 Rodrigo Kumpera  <rkumpera@novell.com>

* Type.cs:  Implement new v4 GetEnumNames ().

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

14 years ago2010-02-23 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Tue, 23 Feb 2010 19:58:25 +0000 (19:58 -0000)]
2010-02-23  Jérémie Laval  <jeremie.laval@gmail.com>

In class/corlib/System.Threading.Tasks/:
   * Task.cs: Fix for continuation processing not happening
   in case of Faulted or Canceled.

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

14 years ago2010-02-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 23 Feb 2010 19:48:06 +0000 (19:48 -0000)]
2010-02-23  Marek Habersack  <mhabersack@novell.com>

* CachedVaryBy.cs: made serializable for 4.0+ (necessary for
extensible output caching)

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

14 years ago2010-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 23 Feb 2010 16:25:29 +0000 (16:25 -0000)]
2010-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* HttpWebRequest_2_1.cs: Accept and ContentType properties do not
behave like Silverlight 2.0 (not related to browser/client stacks)
* WebHeaderCollection_2_1.cs: Range is now accepted in SL3 (not
related to browser/client stacks)
* WebRequest_2_1.cs: Fix registration to work on domains (new)
and scheme (more correctly wrt new unit tests).

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

14 years ago2010-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 23 Feb 2010 11:48:41 +0000 (11:48 -0000)]
2010-02-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* serial.cs: Add 921600 to the list of possible baud rates, and
use it only if defined, as is not available in all the unix systems.
Fixes #445520.

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

14 years agoZip tests.
Marek Safar [Tue, 23 Feb 2010 10:44:18 +0000 (10:44 -0000)]
Zip tests.

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

14 years ago2010-02-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 23 Feb 2010 10:43:41 +0000 (10:43 -0000)]
2010-02-23  Marek Safar  <marek.safar@gmail.com>

* Enumerable.cs: Implement Zip.

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

14 years ago2010-02-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Feb 2010 10:31:31 +0000 (10:31 -0000)]
2010-02-23  Atsushi Enomoto  <atsushi@ximian.com>

* MetadataResolver.cs : fix BeginResolve() overloads and use
  arguments as expected in Resolve().

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

14 years ago2010-02-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Feb 2010 09:55:20 +0000 (09:55 -0000)]
2010-02-23  Atsushi Enomoto  <atsushi@ximian.com>

* MetadataExchangeClient.cs : add missing members and implement some.

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

14 years ago2010-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 23 Feb 2010 09:33:40 +0000 (09:33 -0000)]
2010-02-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* System_test.dll.sources: Add System.IO.Ports/SerialPortTest.cs.

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

14 years agoIn .:
Carlos Alberto Cortez [Tue, 23 Feb 2010 09:30:31 +0000 (09:30 -0000)]
In .:
2010-02-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* System.IO.Ports: New test directory.

In System.IO.Ports:
2010-02-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialPortTest.cs: New file.

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

14 years ago2010-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 23 Feb 2010 09:25:50 +0000 (09:25 -0000)]
2010-02-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialPort.cs: DiscardNull should *not* report any error if the port
is not open. We haven't implemented it yet, but added the needed
comment in case we forget when actually implementing it.
Fixes #512244.

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

14 years ago2010-02-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 23 Feb 2010 01:30:42 +0000 (01:30 -0000)]
2010-02-23  Atsushi Enomoto  <atsushi@ximian.com>

* WsdlImporter.cs : handle soapAction in operation binding too.
  Now it successfully generates proxy generation for Twitterlight:
  http://twitterlight.claritycon.com/TwitterWebService.asmx?WSDL

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

14 years ago2010-02-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 23 Feb 2010 01:01:28 +0000 (01:01 -0000)]
2010-02-22 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeTest.cs:  Test new v4 GetEnumUnderlyingType ().

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

14 years ago2010-02-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 23 Feb 2010 01:01:19 +0000 (01:01 -0000)]
2010-02-22 Rodrigo Kumpera  <rkumpera@novell.com>

* Type.cs:  Implement new v4 GetEnumUnderlyingType ().

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

14 years ago2010-02-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 23 Feb 2010 00:23:56 +0000 (00:23 -0000)]
2010-02-23  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c: Add support for the caught/uncaught flags on exception
event requests. Bump protocol minor version.

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

14 years ago2010-02-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 22 Feb 2010 23:29:07 +0000 (23:29 -0000)]
2010-02-23  Atsushi Enomoto  <atsushi@ximian.com>

* DataContractSerializerMessageContractImporter.cs :
  consider schemas in wsdl documents.

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

14 years ago2010-02-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 22 Feb 2010 22:26:42 +0000 (22:26 -0000)]
2010-02-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MemoryStreamTest.cs: Add a new test for Capacity.

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

14 years ago2010-02-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 22 Feb 2010 22:24:46 +0000 (22:24 -0000)]
2010-02-22 Rodrigo Kumpera  <rkumpera@novell.com>

* Type.cs: Implement new v4 GetTypeCodeImpl ().

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

14 years ago2010-02-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 22 Feb 2010 22:23:49 +0000 (22:23 -0000)]
2010-02-22  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MemoryStream.cs: When setting Capacity, don't create a new buffer if
the new expected value is the same as the current one.

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

14 years ago2010-02-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 22 Feb 2010 22:16:34 +0000 (22:16 -0000)]
2010-02-22  Zoltan Varga  <vargaz@gmail.com>

* decompose.c (mono_decompose_long_opts): Handle OP_LCONV_TO_OVF_I8 here too.

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

14 years ago2010-02-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 22 Feb 2010 22:16:28 +0000 (22:16 -0000)]
2010-02-22  Zoltan Varga  <vargaz@gmail.com>

* decompose.c (mono_decompose_opcode): Handle OP_LCONV_TO_OVF_I8. Fixes
#581950.

* iltests.il.in: Add a test.

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

14 years ago2010-02-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 22 Feb 2010 21:18:01 +0000 (21:18 -0000)]
2010-02-22  Rodrigo Kumpera  <rkumpera@novell.com>

* mini.c (mono_method_check_inlining): Use
* !mono_method_get_header_summary
instead of mono_method_get_header as it doesn't decode locals
so the called method can have unresolved dependencies that will
only be satisfied after the current method is JIT'd.

Fixes #550968.

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

14 years ago2010-02-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 22 Feb 2010 21:17:53 +0000 (21:17 -0000)]
2010-02-22  Rodrigo Kumpera  <rkumpera@novell.com>

* metadata.c: Add mono_method_get_header_summary which returns
* minimal
information about the header of a method. This is the
information used
by the inline oracle to reject methods.

This method doesn't decode local variables and doesn't cache
it's result,
so it should cause a minimal reduction in memory usage.

* metadata-internals.h: Add MonoMethodHeaderSummary structure
* and
mono_method_get_header_summary.

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

14 years ago2010-02-22 Jeffrey Stedfast <fejj@novell.com>
Jeffrey Stedfast [Mon, 22 Feb 2010 20:17:23 +0000 (20:17 -0000)]
2010-02-22  Jeffrey Stedfast  <fejj@novell.com>

* threads.c (mono_thread_exit): Make sure that the main thread is
non-null before dereferencing it.

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

14 years agoavoid warning when building with sgen enabled
Gonzalo Paniagua Javier [Mon, 22 Feb 2010 18:42:59 +0000 (18:42 -0000)]
avoid warning when building with sgen enabled

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

14 years agoavoid warning when building with sgen enabled
Gonzalo Paniagua Javier [Mon, 22 Feb 2010 18:42:21 +0000 (18:42 -0000)]
avoid warning when building with sgen enabled

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

14 years ago2010-02-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 22 Feb 2010 09:46:36 +0000 (09:46 -0000)]
2010-02-22  Atsushi Enomoto  <atsushi@ximian.com>

* MetadataExchangeClient.cs, MetadataExchangeBindings.cs:
  support https.

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

14 years ago2010-02-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 22 Feb 2010 08:03:58 +0000 (08:03 -0000)]
2010-02-22  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceContractGenerator.cs : fix duplicate output.

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

14 years ago2010-02-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 22 Feb 2010 01:19:53 +0000 (01:19 -0000)]
2010-02-22  Zoltan Varga  <vargaz@gmail.com>

* obj_map.c (GC_add_map_entry): Speed this up for the common case where
GC_register_displacement () was never called.

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

14 years ago2010-02-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 22 Feb 2010 01:19:46 +0000 (01:19 -0000)]
2010-02-22  Zoltan Varga  <vargaz@gmail.com>

* basic.cs (test_0_div_opt): Speed this up a bit.

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

14 years ago2010-02-21 Geoff Norton <gnorton@novell.com>
Geoff Norton [Sun, 21 Feb 2010 22:11:11 +0000 (22:11 -0000)]
2010-02-21  Geoff Norton  <gnorton@novell.com>

        * Makefile.am: Add CoreFoundation linkage on darwin to properly get the current
        locale.
        * locaes.c: When running on darwin, try to get the local from CoreFoundation
        before falling back to the posix lookup.

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

14 years agoRemove Info.plist from trunk since SDB is the recommended debugging solution, add...
Geoff Norton [Sun, 21 Feb 2010 22:11:07 +0000 (22:11 -0000)]
Remove Info.plist from trunk since SDB is the recommended debugging solution, add CoreFoundation linkage for the new locale patch

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

14 years agoLets ensure we generate some types in AOT when using these valuetypes for MonoTouch
Geoff Norton [Sun, 21 Feb 2010 21:00:25 +0000 (21:00 -0000)]
Lets ensure we generate some types in AOT when using these valuetypes for MonoTouch

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

14 years agoFix arm build.
Zoltan Varga [Sun, 21 Feb 2010 19:47:28 +0000 (19:47 -0000)]
Fix arm build.

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

14 years ago2010-02-20 Geoff Norton <gnorton@novell.com>
Geoff Norton [Sat, 20 Feb 2010 20:27:04 +0000 (20:27 -0000)]
2010-02-20  Geoff Norton  <gnorton@novell.com>

        * XmlInputStream.cs: Disable this codepath on monotouch.  Fixes
        #562155

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

14 years ago2010-02-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 20 Feb 2010 19:12:47 +0000 (19:12 -0000)]
2010-02-20  Zoltan Varga  <vargaz@gmail.com>

* versioninfo.c (VerLanguageName): Remove code duplication a bit.

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

14 years ago2010-02-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 20 Feb 2010 19:09:59 +0000 (19:09 -0000)]
2010-02-20  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c: Fix DISABLE_JIT support after the latest changes.

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

14 years agoReally add cairo to the monotouch build
Geoff Norton [Sat, 20 Feb 2010 19:03:55 +0000 (19:03 -0000)]
Really add cairo to the monotouch build

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

14 years agoremove some spew
Geoff Norton [Sat, 20 Feb 2010 19:03:51 +0000 (19:03 -0000)]
remove some spew

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

14 years agoAdd Mono.Cairo to monotouch
Geoff Norton [Sat, 20 Feb 2010 19:03:47 +0000 (19:03 -0000)]
Add Mono.Cairo to monotouch

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

14 years agoDisable entry points that are not available on the iphone
Geoff Norton [Sat, 20 Feb 2010 19:03:43 +0000 (19:03 -0000)]
Disable entry points that are not available on the iphone

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

14 years agoEnsure we start the WWAN for web connections in MonoTouch
Geoff Norton [Sat, 20 Feb 2010 19:03:39 +0000 (19:03 -0000)]
Ensure we start the WWAN for web connections in MonoTouch

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

14 years agoFix the MonoTouch build on trunk
Geoff Norton [Sat, 20 Feb 2010 19:03:27 +0000 (19:03 -0000)]
Fix the MonoTouch build on trunk

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

14 years agoFix previous change.
Zoltan Varga [Sat, 20 Feb 2010 18:42:42 +0000 (18:42 -0000)]
Fix previous change.

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

14 years ago2010-02-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 20 Feb 2010 18:41:18 +0000 (18:41 -0000)]
2010-02-20  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_jit_create_remoting_trampoline): Call
mono_create_specific_trampoline () instead of
mono_arch_create_specific_trampoline ().

* mini-trampolines.c tramp-arm.c: Disable more stuff when DISABLE_JIT is set.

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

14 years ago2010-02-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 20 Feb 2010 17:43:53 +0000 (17:43 -0000)]
2010-02-20  Zoltan Varga  <vargaz@gmail.com>

* unwind.c (mono_unwind_get_cie_program): New function, moved here from
aot-compiler.c, so it can be found even if DISABLE_JIT is set.

* aot-compiler.c xdebug.c: Update callers of mono_arch_unwind_get_cie_program ().

* mini-amd64.c: Fix DISABLE_JIT support.

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

14 years ago2010-02-20 Geoff Norton <gnorton@novell.com>
Geoff Norton [Sat, 20 Feb 2010 17:35:30 +0000 (17:35 -0000)]
2010-02-20  Geoff Norton  <gnorton@novell.com>

        * aot-runtime.c: Ensure we dont leak a held lock when unwinding exceptions.

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

14 years ago4.0
Gonzalo Paniagua Javier [Sat, 20 Feb 2010 07:35:54 +0000 (07:35 -0000)]
4.0

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

14 years agoUpdate
Miguel de Icaza [Sat, 20 Feb 2010 06:44:44 +0000 (06:44 -0000)]
Update

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

14 years ago2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 20 Feb 2010 03:53:54 +0000 (03:53 -0000)]
2010-02-19 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeTest.cs: Test new v4 behavior for Equals.

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

14 years ago2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 20 Feb 2010 03:53:45 +0000 (03:53 -0000)]
2010-02-19 Rodrigo Kumpera  <rkumpera@novell.com>

* Type.cs: Implement new v4 behavior for Equals.

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

14 years agoAdd
Miguel de Icaza [Sat, 20 Feb 2010 01:25:50 +0000 (01:25 -0000)]
Add

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

14 years ago2010-02-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 19 Feb 2010 23:54:26 +0000 (23:54 -0000)]
2010-02-20  Zoltan Varga  <vargaz@gmail.com>

* VirtualMachine.cs (CreateExceptionRequest): Add an overload taking two
booleans which specify whenever to report caught/uncaught exceptions.

* ExceptionRequest.cs: Add public properties for them.

* Connections.cs: Pass the caught/uncaught flags to the debuggee. Bump protocol
minor version.

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

14 years ago2010-02-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 19 Feb 2010 23:25:10 +0000 (23:25 -0000)]
2010-02-20  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (mono_debugger_agent_handle_exception): Receive two contexts,
one for the throw and one for the catch. Mark uncaught exceptions by a NULL
CATCH_TXT. Send normal exception events for unhandled exceptions too.
(mono_debugger_agent_handle_unhandled_exception): Remove this, merged into
handle_exception.

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

14 years ago2010-02-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 19 Feb 2010 22:58:37 +0000 (22:58 -0000)]
2010-02-19  Zoltan Varga  <vargaz@gmail.com>

* threads.c (mono_thread_suspend_all_other_threads): Ignore threads which have
the DONT_MANAGE flag set.

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

14 years agofix mac build
Gonzalo Paniagua Javier [Fri, 19 Feb 2010 22:45:36 +0000 (22:45 -0000)]
fix mac build

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

14 years ago2010-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 19 Feb 2010 22:03:53 +0000 (22:03 -0000)]
2010-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>

* mono-semaphore.h: enable the #defines when io-layer is in use.
* Makefile.am: added new file.
* mono-semaphore.c: new mono_sem_timedwait() function.

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

14 years agoDistribute autogen.sh
Miguel de Icaza [Fri, 19 Feb 2010 21:49:42 +0000 (21:49 -0000)]
Distribute autogen.sh

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

14 years ago2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 19 Feb 2010 21:45:52 +0000 (21:45 -0000)]
2010-02-19  Rodrigo Kumpera  <rkumpera@novell.com>

* domain.c: Remove old v1 version strings. Let the runtime
default to 2.0 instead of failing because it can't find a
working 1.0 instalation.

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

14 years ago2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 19 Feb 2010 21:15:16 +0000 (21:15 -0000)]
2010-02-19  Rodrigo Kumpera  <rkumpera@novell.com>

* domain.c: Add v4 RC version string.

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

14 years ago * cs-parser.jay: Bubble completions after "from x in ?" and "from x
Miguel de Icaza [Fri, 19 Feb 2010 20:51:28 +0000 (20:51 -0000)]
* cs-parser.jay: Bubble completions after "from x in ?" and "from x
... let ?"

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

14 years ago2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 19 Feb 2010 19:29:28 +0000 (19:29 -0000)]
2010-02-19  Rodrigo Kumpera  <rkumpera@novell.com>

* mono-basic-block.c (mono_opcode_value_and_size): Use pointer
variant of overflow checking function.

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

14 years ago2010-02-19 Astushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Feb 2010 15:52:21 +0000 (15:52 -0000)]
2010-02-19  Astushi Enomoto  <atsushi@ximian.com>

* Makefile: enable USE_DATA_CONTRACT_IMPORTER as
  memorabilia.hardrock now works. (Will be removed when I remove
  relevant code.)

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

14 years ago2010-02-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Feb 2010 15:46:55 +0000 (15:46 -0000)]
2010-02-19  Atsushi Enomoto  <atsushi@ximian.com>

* DataContractSerializerMessageContractImporter.cs :
  Pick correct elements to import. Not wrapper elements but each
  parameter and return value elements.

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

14 years ago2010-02-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Feb 2010 15:34:43 +0000 (15:34 -0000)]
2010-02-19  Atsushi Enomoto  <atsushi@ximian.com>

* DataContractSerializerMessageContractImporter.cs :
  remove extra parameter passing.

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

14 years ago2010-02-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Feb 2010 14:53:13 +0000 (14:53 -0000)]
2010-02-19  Atsushi Enomoto  <atsushi@ximian.com>

* XsdDataContractImporter.cs : fix extension type name (and comment).

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

14 years ago2010-02-19 Alan McGovern <amcgovern@novell.com>
Alan McGovern [Fri, 19 Feb 2010 13:48:31 +0000 (13:48 -0000)]
2010-02-19  Alan McGovern  <amcgovern@novell.com>

        * System.IO.Packaging/PackUriHelper.cs: Commit a fix for #570648
        that PackUris can be combined properly.

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

14 years ago2010-02-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Feb 2010 13:33:48 +0000 (13:33 -0000)]
2010-02-19  Atsushi Enomoto  <atsushi@ximian.com>

* XsdDataContractImporter.cs : added dictionary support.

* ns28.xsd ... ns31.xsd : new test files.
* ns-readme.txt : added above.

* XsdDataContractImporterTest.cs : added Dictionary export tests.

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

14 years ago* SolutionParser.cs (GetAllProjectFileNames): New.
Ankit Jain [Fri, 19 Feb 2010 12:30:49 +0000 (12:30 -0000)]
* SolutionParser.cs (GetAllProjectFileNames): New.
* Parameters.cs (ParseArguments): When no project file is specified,
if the cur dir has a single sln and >1 project files, and all the
project files are referenced by the sln, the pick the sln.

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

14 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Fri, 19 Feb 2010 11:51:19 +0000 (11:51 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
* BuildItem.cs: Track api changes.
(SetMetadata): Allow RecursiveDir to be set, this is set by
DirectoryScanner.
* DirectoryScanner.cs (ProcessInclude): Set RecursiveDir metadata.

In class/Microsoft.Build.Engine/Test/various:

* Items.cs (TestItemsWithWildcards): Check for RecursiveDir metadata also.

In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
* TaskItem.cs: Track api changes.

In class/Microsoft.Build.Utilities/Mono.XBuild.Utilities:

* ReservedNameUtils.cs (GetReservedMetadata): Add dictionary param
@metadata. Use this to check for existing value of "RecursiveDir"
metadata, use that if present.

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

14 years agoIn class/Microsoft.Build.Engine:
Ankit Jain [Fri, 19 Feb 2010 11:50:28 +0000 (11:50 -0000)]
In class/Microsoft.Build.Engine:

* Microsoft.Build.Engine.dll.sources: Add ProjectLoadSettings.cs .

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* Import.cs (Evaluate): Add param @ignoreMissingImports.
* Project.cs (Load*): Add overloads with param @projectLoadSettings.
(Log*): Mark internal.
* ProjectLoadSettings.cs: New.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:

* ImportTest.cs (TestMissingImport*): Add new tests for missing
import projects.

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

14 years ago2010-02-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 19 Feb 2010 11:17:06 +0000 (11:17 -0000)]
2010-02-19  Marek Habersack  <mhabersack@novell.com>

* SqlDataSourceTest.cs: added test for bug #572781

2010-02-19  Marek Habersack  <mhabersack@novell.com>

* SqlDataSource.cs: call base.OnInit in OnInit. Fixes bug #572781

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

14 years agomissed one F
Gonzalo Paniagua Javier [Fri, 19 Feb 2010 08:44:29 +0000 (08:44 -0000)]
missed one F

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

14 years ago2010-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 19 Feb 2010 08:43:56 +0000 (08:43 -0000)]
2010-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>

* mono-semaphore.h: set maximum count to 0x7fffffff.

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

14 years agoFri Feb 19 09:05:36 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 19 Feb 2010 08:07:22 +0000 (08:07 -0000)]
Fri Feb 19 09:05:36 CET 2010 Paolo Molaro <lupus@ximian.com>

* Decimal.cs: fixed Remainder (bug #576341).

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

14 years ago2010-02-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Feb 2010 07:27:18 +0000 (07:27 -0000)]
2010-02-19  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceContractGenerator.cs : add missing #ifs.

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

14 years ago2010-02-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 19 Feb 2010 04:50:07 +0000 (04:50 -0000)]
2010-02-19  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceContractGenerator.cs, MessagePartDescription.cs,
  DataContractSerializerMessageContractImporter.cs :
  add alternative implementation to use XsdDataContractImporter
  instead of XmlSchemaImporter hack.

  It requires -d:USE_DATA_CONTRACT_IMPORTER and not enabled yet, as
  it breaks some WSDL imports (such as memorabilia.hardrock.com).

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

14 years ago2010-02-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 19 Feb 2010 03:02:58 +0000 (03:02 -0000)]
2010-02-19  Marek Habersack  <mhabersack@novell.com>

* ButtonTest.cs: added test for bug #325489

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

14 years ago2010-02-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 19 Feb 2010 01:51:06 +0000 (01:51 -0000)]
2010-02-19  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: GetConverterForMember now completely
relies on TypeDescriptor and description providers to retrieve
converter for a property. Fixes bug #578586
If UrlPropertyAttribute is found for a member,
GetExpressionFromString uses the preconverted value, if any, as
parameter to HandleUrlProperty.

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

14 years ago2010-02-18 Gabriel Burt <gabriel.burt@gmail.com>
Gabriel Burt [Fri, 19 Feb 2010 00:37:09 +0000 (00:37 -0000)]
2010-02-18  Gabriel Burt  <gabriel.burt@gmail.com>

* Normalization.cs: Implement algorithmic Hangul decomposition; Calling
string.Normalize on Korean characters now works properly (bnc#480152).
This reduces the number of errors in 'make test' from 27k to 4.8k.

* StringNormalizationTestSource.cs:
* Makefile: Use the local, working copy of Normalization etc,so as to make
modifying Normalization.cs and then testing your changes with 'make test'
possible.  Also, fix building/running of tests, patch by Alexander
Kojevnikov.

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

14 years ago2010-02-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 18 Feb 2010 22:56:31 +0000 (22:56 -0000)]
2010-02-18  Zoltan Varga  <vargaz@gmail.com>

* exceptions-x86.c (mono_arch_get_restore_context): Changes this so it restores
edx/ecx too. This is needed to support OP_SEQ_POINT.

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