mono.git
14 years agoRevert 150495 and 150496 from mini.c
Miguel de Icaza [Thu, 28 Jan 2010 20:58:26 +0000 (20:58 -0000)]
Revert 150495 and 150496 from mini.c

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

14 years agoRevert "2010-01-28 Zoltan Varga <vargaz@gmail.com>"
Zoltan Varga [Thu, 28 Jan 2010 20:53:18 +0000 (20:53 -0000)]
Revert "2010-01-28  Zoltan Varga  <vargaz@gmail.com>"

This reverts commit 1db9444081b8fa80d36fe245101d95827341f5b1.

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

14 years ago2010-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 28 Jan 2010 20:51:05 +0000 (20:51 -0000)]
2010-01-28  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_save_seq_point_info): Fix the handling of bblocks without
sequence points. Fixes #571236.

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

14 years agoAdd a missing file.
Zoltan Varga [Thu, 28 Jan 2010 20:29:18 +0000 (20:29 -0000)]
Add a missing file.

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

14 years ago2010-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 28 Jan 2010 20:02:13 +0000 (20:02 -0000)]
2010-01-28  Zoltan Varga  <vargaz@gmail.com>

* dtest.cs: Add minimal tests for assembly unloading.

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

14 years ago2010-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 28 Jan 2010 20:02:07 +0000 (20:02 -0000)]
2010-01-28  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (mono_debugger_agent_init): Call appdomain_unload at the
end of the appdomain unload process, after assemblies have been unloaded.
Fixes #574842.

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

14 years ago2010-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 28 Jan 2010 20:02:01 +0000 (20:02 -0000)]
2010-01-28  Zoltan Varga  <vargaz@gmail.com>

* domain.c (mono_domain_free): Send the END_UNLOAD profiler event before
calling the JIT domain cleanup hook.

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

14 years ago2010-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 28 Jan 2010 19:43:17 +0000 (19:43 -0000)]
2010-01-28  Zoltan Varga  <vargaz@gmail.com>

* AssemblyUnloadEvent: New file.

* VirtualMachine.cs Connection.cs: Add support for assembly unload events.

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

14 years agoBetter exception message.
Marek Safar [Thu, 28 Jan 2010 19:22:58 +0000 (19:22 -0000)]
Better exception message.

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

14 years ago2010-01-28 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 28 Jan 2010 12:05:07 +0000 (12:05 -0000)]
2010-01-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* WebClient_2_1.cs: The async events must be invoked on a threadpool
thread if the async method wasn't executed on the main thread, so save
the synchronization context when the async method is called, and post
the event to that synchronization context when done. This is also
required when the async methods are executed on the main thread, since
HttpWebRequest callbacks are now always executed on a threadpool thread.

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

14 years agoIn class/corlib/System.Reflection:
Rolf Bjarne Kvinge [Thu, 28 Jan 2010 11:57:22 +0000 (11:57 -0000)]
In class/corlib/System.Reflection:
2010-01-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Assembly.cs: GetSatelliteAssembly: Ask LoadSatellite to not throw
exceptions, since we ignore them anyway.

In class/corlib/System:
2010-01-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* AppDomain.cs: LoadSatellite: add a boolean parameter specifiying
whether we should throw on exceptions or not.

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

14 years ago2010-01-28 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 28 Jan 2010 11:57:12 +0000 (11:57 -0000)]
2010-01-28  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* TimeSpan.cs: TryParse: Handle null values to not throw ANEs.

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

14 years ago2010-01-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 28 Jan 2010 11:42:13 +0000 (11:42 -0000)]
2010-01-28  Atsushi Enomoto  <atsushi@ximian.com>

* Driver.cs, MoonlightChannelBaseExtension.cs, CommandLineOptions.cs:
  Now that ServiceContractGenerator generates both sync and async
  methods, it has to explicitly remove sync methods from moonlight
  proxies since they are not supported.
  Also now we can generate sync proxies for monotouch, so
  differentiate them again to support sync proxy generation (if you
  don't want to generate sync methods, just use -moonlight).

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

14 years ago2010-01-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 28 Jan 2010 11:41:47 +0000 (11:41 -0000)]
2010-01-28  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceContractGenerator.cs : when Options.AsynchronousMethods is
  specified, generate async methods *as well as* sync methods (i.e.
  not exclusively).

  In moonlight proxy generator (svcutil -moonlight) mode, sync
  methods will be removed at svcutil itself.
  This fix brings sync proxy methods back to monotouch.

* ServiceContractGeneratorTest.cs : add test for async method
  generation option to generate sync methods as well.

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

14 years ago2010-01-28 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 28 Jan 2010 11:35:22 +0000 (11:35 -0000)]
2010-01-28  Marek Safar  <marek.safar@gmail.com>

* decl.cs: Use only one set of modifiers.

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

14 years ago2010-01-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 28 Jan 2010 08:36:05 +0000 (08:36 -0000)]
2010-01-28  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationCodeGenerator.cs : generate valid code for non-
  identifier names. This should fix bug #488293.

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

14 years ago2010-01-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 28 Jan 2010 07:08:19 +0000 (07:08 -0000)]
2010-01-28 Gonzalo Paniagua Javier <gonzalo@novell.com>

* zlib-helper.c: no need for sync flush when compressing.
Thanks to Hin-Tak Leung.

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

14 years ago2010-01-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 28 Jan 2010 05:54:20 +0000 (05:54 -0000)]
2010-01-28  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReaderBinarySupport.cs : eliminate possible extra buffer
  storing of zeros. Fixed bug #543332.

* XmlReaderCommonTests.cs : added test for bug #543332.

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

14 years ago2010-01-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 27 Jan 2010 22:40:18 +0000 (22:40 -0000)]
2010-01-27 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Stopwatch.cs: add new Restart().

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

14 years ago2010-01-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 27 Jan 2010 19:19:05 +0000 (19:19 -0000)]
2010-01-28  Rodrigo Kumpera  <rkumpera@novell.com>

* serial.c: Fix the OSX build.

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

14 years ago2010-01-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 27 Jan 2010 18:31:55 +0000 (18:31 -0000)]
2010-01-28 Rodrigo Kumpera  <rkumpera@novell.com>

* large-gc-bitmap.cs: Respect the 1Mb size limit for valuetype types.

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

14 years ago2010-01-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 27 Jan 2010 18:31:46 +0000 (18:31 -0000)]
2010-01-28 Rodrigo Kumpera  <rkumpera@novell.com>

* mono-error-internals.h: Add mono_error_set_not_verifiable.

* mono-error.h: Add MONO_ERROR_NOT_VERIFIABLE.

* mono-error.c: Implement mono_error_set_not_verifiable.

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

14 years ago2010-01-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 27 Jan 2010 18:31:38 +0000 (18:31 -0000)]
2010-01-28 Rodrigo Kumpera  <rkumpera@novell.com>

* Makefile, *.sh, *.il: Change status of a bunch of a tests to reflect the metadata
verifier. First pass into making the test suite works under OSX.

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

14 years ago2010-01-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 27 Jan 2010 18:26:39 +0000 (18:26 -0000)]
2010-01-28  Rodrigo Kumpera  <rkumpera@novell.com>

* pedump.c (main): Properly set the verifier mode when running the metadata
verifier.

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

14 years ago2010-01-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 27 Jan 2010 18:26:29 +0000 (18:26 -0000)]
2010-01-28  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (verify_class_for_overlapping_reference_fields): Properly verify
overlapping fields now that we're called before has_references is set.

* pedump.c (dump_verify_info): Clear any loader error before verifying another
method. Otherwise all sort of weird stuff happens.

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

14 years ago2010-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 27 Jan 2010 14:49:35 +0000 (14:49 -0000)]
2010-01-27  Zoltan Varga  <vargaz@gmail.com>

* ValueTypeTest.cs: Add a test for Equals () + nullables.

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

14 years ago2010-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 27 Jan 2010 14:43:20 +0000 (14:43 -0000)]
2010-01-27  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_field_get_value_object): Handle nullable types correctly.
Fixes #572874.

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

14 years ago2010-01-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 27 Jan 2010 10:39:14 +0000 (10:39 -0000)]
2010-01-27  Atsushi Enomoto  <atsushi@ximian.com>

* JsonReader.cs : oops, added previous change to wrong position.

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

14 years ago2010-01-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 27 Jan 2010 10:28:56 +0000 (10:28 -0000)]
2010-01-27  Atsushi Enomoto  <atsushi@ximian.com>

* JsonReader.cs : It seems it can either return int, long or decimal
  depending on the value. Users cannot really predict what type of
  the primitive value can be returned and casts to specific types
  very likely fail. doh.

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

14 years ago2010-01-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 27 Jan 2010 09:04:21 +0000 (09:04 -0000)]
2010-01-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* UriTest.cs: added an assertion in the IsWellFormedOriginalString
test case to test urls containing '#'.

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

14 years ago2010-01-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 27 Jan 2010 09:01:46 +0000 (09:01 -0000)]
2010-01-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Uri.cs: In IsWellFormedOriginalString(), call to our internal
EscapeString() method since we need to tell it to *not* escape '#'
(hex). Fixes #549135.

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

14 years ago2010-01-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 27 Jan 2010 06:32:59 +0000 (06:32 -0000)]
2010-01-27  Atsushi Enomoto  <atsushi@ximian.com>

* XmlAtomicValue.cs: handle Decimal here to process xs:decimal as
  a valid base type for simple types. patch by Luke Ravitch,
  Fixed bug #557452.

* XmlSchemaValidatorTests.cs : added test for bug #557452, by
  Luke Ravitch.

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

14 years ago2010-01-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 27 Jan 2010 06:17:48 +0000 (06:17 -0000)]
2010-01-27  Atsushi Enomoto  <atsushi@ximian.com>

* DataContractJsonSerializer.cs : KnownTypes does not include root
  type. Fixed bug #573689.

* DataContractJsonSerializerTest.cs :
  enable TypeIsNotPartsOfKnownTypes(), and add more related tests.

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

14 years ago2010-01-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 27 Jan 2010 06:06:21 +0000 (06:06 -0000)]
2010-01-27  Atsushi Enomoto  <atsushi@ximian.com>

* DataContractJsonSerializerTest.cs : make some tests narrow down
  possible cause of errors to detect expected errors more precisely.

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

14 years ago2010-01-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 27 Jan 2010 05:42:33 +0000 (05:42 -0000)]
2010-01-27  Atsushi Enomoto  <atsushi@ximian.com>

* JsonSerializationReader.cs : oops, wrong fix, should consume the
  reader.

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

14 years ago2010-01-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 27 Jan 2010 05:36:54 +0000 (05:36 -0000)]
2010-01-27  Atsushi Enomoto  <atsushi@ximian.com>

* JsonSerializationReader.cs : "null" for string should be read as
  null, not String.Empty. Fixed bug #573690.

* DataContractJsonSerializerTest.cs : null-string case is working.

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

14 years ago2010-01-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 27 Jan 2010 05:26:00 +0000 (05:26 -0000)]
2010-01-27  Atsushi Enomoto  <atsushi@ximian.com>

* DataContractJsonSerializerTest.cs : invalidate previous non-working
  tests.

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

14 years ago2010-01-26 U-anarquia\miguel <miguel@anarquia>
Miguel de Icaza [Wed, 27 Jan 2010 04:22:37 +0000 (04:22 -0000)]
2010-01-26  U-anarquia\miguel  <miguel@anarquia>

* mono-dl.c: Removed debugging messages for the embeddable version
of mono-dl.

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

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

* abcremoval.c (process_block): Fix the if (region) check so abcrem actually
works.

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

14 years ago2010-01-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 27 Jan 2010 01:37:27 +0000 (01:37 -0000)]
2010-01-27  Atsushi Enomoto  <atsushi@ximian.com>

* JsonReader.cs : use decimal instead of int to parse decimal part
  of numeric value. It can parse bigger value than int now (like
  tweet id).

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

14 years agoFix a typo.
Zoltan Varga [Wed, 27 Jan 2010 01:34:45 +0000 (01:34 -0000)]
Fix a typo.

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

14 years ago2010-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 27 Jan 2010 01:31:16 +0000 (01:31 -0000)]
2010-01-27  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Fix the setting of LLVM_CXXFLAGS.

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

14 years agoWrong file to install
Miguel de Icaza [Wed, 27 Jan 2010 00:45:10 +0000 (00:45 -0000)]
Wrong file to install

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

14 years agoInstall mono-dl.h header
Miguel de Icaza [Wed, 27 Jan 2010 00:40:38 +0000 (00:40 -0000)]
Install mono-dl.h header

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

14 years ago2010-01-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 26 Jan 2010 23:05:59 +0000 (23:05 -0000)]
2010-01-27  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c: Make the soft debugger work on platforms without MAP_32BIT.
Fixes #573988.

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

14 years ago2010-01-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 26 Jan 2010 22:10:34 +0000 (22:10 -0000)]
2010-01-26  Zoltan Varga  <vargaz@gmail.com>

* dwarfwriter.c (emit_type): Treat MONO_TYPE_PTR as 'I' not 'I4'.

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

14 years agonew field
Gonzalo Paniagua Javier [Tue, 26 Jan 2010 22:07:44 +0000 (22:07 -0000)]
new field

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

14 years ago2010-01-26 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 26 Jan 2010 22:02:10 +0000 (22:02 -0000)]
2010-01-26  Geoff Norton  <gnorton@novell.com>

        * aot-compiler.c: Fix a logic error introduced when guarding against enums
        with struct marshalability.

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

14 years agosignature fixes
Gonzalo Paniagua Javier [Tue, 26 Jan 2010 21:12:48 +0000 (21:12 -0000)]
signature fixes

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

14 years agonew files
Gonzalo Paniagua Javier [Tue, 26 Jan 2010 21:12:33 +0000 (21:12 -0000)]
new files

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

14 years agofix T8 method
Gonzalo Paniagua Javier [Tue, 26 Jan 2010 21:12:01 +0000 (21:12 -0000)]
fix T8 method

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

14 years ago2010-01-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 26 Jan 2010 18:32:30 +0000 (18:32 -0000)]
2010-01-26  Sebastien Pouliot  <sebastien@ximian.com>

* DataContractJsonSerializer_2_1.cs: Don't hide [Field|Method]
AccessException inside a SerializationException but in a
SecurityException.

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

14 years ago2010-01-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 26 Jan 2010 16:26:20 +0000 (16:26 -0000)]
2010-01-26  Sebastien Pouliot  <sebastien@ximian.com>

* monotouch_System.ServiceModel.Web.dll.sources: Don't inherit from
net_2_1_raw*.sources when you require a superset of moonlight API

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

14 years ago2010-01-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 26 Jan 2010 11:53:03 +0000 (11:53 -0000)]
2010-01-26  Marek Habersack  <mhabersack@novell.com>

* net_2_1_raw_corlib.dll.sources: added System.IO/SearchOption.cs
to fix the build.

2010-01-26  Marek Habersack  <mhabersack@novell.com>

* SearchOption.cs: included in 2.1 build as internal to fix
the build.

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

14 years ago2010-01-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 26 Jan 2010 09:52:57 +0000 (09:52 -0000)]
2010-01-26  Marek Safar  <marek.safar@gmail.com>

A fix for bug #573329
* eval.cs: Don't disable error reporting completely on silent mode.

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

14 years agoAdded test case
Miguel de Icaza [Tue, 26 Jan 2010 08:24:18 +0000 (08:24 -0000)]
Added test case

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

14 years ago2010-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 Jan 2010 07:06:51 +0000 (07:06 -0000)]
2010-01-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReflectionImporter.cs, SerializationCodeGenerator.cs,
  XmlSerializationWriterInterpreter.cs: XmlAnyElementAttribute can be
  still used for non-XmlNode (object) array. It only fails when it
  tries to serialize non-XmlNode object at run-time.
  Fixed bug #553032.

* XmlSerializerTests.cs : added test for bug #553032.

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

14 years ago2010-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 Jan 2010 06:10:41 +0000 (06:10 -0000)]
2010-01-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaValidatorTests.cs : added test for bug #502251, by
  Jonas Larsson.

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

14 years agoSome findings
Miguel de Icaza [Tue, 26 Jan 2010 06:00:49 +0000 (06:00 -0000)]
Some findings

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

14 years ago2010-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 Jan 2010 05:59:04 +0000 (05:59 -0000)]
2010-01-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaComplexType.cs : validate base type first and then
  validate particle. Patch by Jonas Larsson, fixed bug #502251.

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

14 years ago2010-01-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 Jan 2010 02:19:40 +0000 (02:19 -0000)]
2010-01-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaSet.cs : when adding a schema with "", it seems treated
  as if it were null. Fixed bug #571650.

* XmlSchemaSetTests.cs : added test for bug #571650.

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

14 years ago2010-01-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 26 Jan 2010 02:12:58 +0000 (02:12 -0000)]
2010-01-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* EnumTest.cs: New tests for the new TryParse method.

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

14 years ago2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 26 Jan 2010 00:13:15 +0000 (00:13 -0000)]
2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* DirectoryInfo.cs: new overload for GetFileSystemInfos().

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

14 years ago2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 25 Jan 2010 23:36:49 +0000 (23:36 -0000)]
2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* UnmanagedMemoryStream.cs: add the SafeBuffer overloads.

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

14 years agostatus fix
Gonzalo Paniagua Javier [Mon, 25 Jan 2010 21:33:03 +0000 (21:33 -0000)]
status fix

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

14 years ago2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 25 Jan 2010 21:07:41 +0000 (21:07 -0000)]
2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* EqualityComparer.cs: (Equals) the arguments are checked to be
the correct type.

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

14 years ago2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 25 Jan 2010 21:06:42 +0000 (21:06 -0000)]
2010-01-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Array.cs: updates to the API from beta2.
* _AppDomain.cs: no GetLifeTimeService() in 4.0

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

14 years ago2010-01-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 25 Jan 2010 21:02:41 +0000 (21:02 -0000)]
2010-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* net_2_1_raw_System.ServiceModel.Web.dll.sources: Use custom
version of DataContractJsonSerializer for Moonlight

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

14 years ago2010-01-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 25 Jan 2010 21:00:38 +0000 (21:00 -0000)]
2010-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* DataContractJsonSerializerTest.cs: Add non-working test cases
for null-string, known types and handling floating point special
values

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

14 years ago2010-01-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 25 Jan 2010 20:58:11 +0000 (20:58 -0000)]
2010-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* DataContractJsonSerializer_2_1.cs: New. Simpler version for
Moonlight since it does not inherit from the same base type nor
does it overrides any base methods.

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

14 years ago2010-01-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 25 Jan 2010 20:56:07 +0000 (20:56 -0000)]
2010-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Fix attributes for Moonlight

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

14 years agoA few more tests
Gonzalo Paniagua Javier [Mon, 25 Jan 2010 20:36:48 +0000 (20:36 -0000)]
A few more tests

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

14 years agoNew test.
Marek Safar [Mon, 25 Jan 2010 16:42:47 +0000 (16:42 -0000)]
New test.

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

14 years ago2010-01-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 25 Jan 2010 16:21:20 +0000 (16:21 -0000)]
2010-01-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #573312
* constant.cs, expression.cs, ecore.cs: Emit correct offset for
pointer index of unknown size types greater than 2.

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

14 years ago2010-01-25 Leszek Ciesielski <skolima@gmail.com>
Leszek 'skolima' Ciesielski [Mon, 25 Jan 2010 16:07:01 +0000 (16:07 -0000)]
2010-01-25  Leszek Ciesielski <skolima@gmail.com>

        * SerialPortStream.cs: Read was returning requested count instead
        of actual bytes read. Thanks to Thad Thompson for spotting this.

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

14 years ago2010-01-25 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 25 Jan 2010 15:46:31 +0000 (15:46 -0000)]
2010-01-25  Jb Evain  <jbevain@novell.com>

* QueryableTransformer.cs (ReplaceQueryableMethod): fix
exception message.

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

14 years agoUpdated compiler check error message.
Marek Safar [Mon, 25 Jan 2010 14:04:15 +0000 (14:04 -0000)]
Updated compiler check error message.

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

14 years ago2010-01-25 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 25 Jan 2010 14:02:18 +0000 (14:02 -0000)]
2010-01-25  Marek Habersack  <mhabersack@novell.com>

* SqlCacheDependency.cs: added parameter checks to the
constructors.
Partially implemented 4.0 method CreateOutputCacheDependency

* CacheItemUpdateReason.cs, CacheItemUpdateCallback.cs: added

* CacheItem.cs: added OnUpdateCallback field

* Cache.cs: implemented support for cache item update callback
(3.5+)

* AggregateCacheDependency.cs: added undocumented
DependencyDispose method override

2010-01-25  Marek Habersack  <mhabersack@novell.com>

* SqlCacheDependencyTest.cs: added

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

14 years agoIn .:
Sebastien Pouliot [Mon, 25 Jan 2010 13:21:52 +0000 (13:21 -0000)]
In .:
2010-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* System.Net.dll.sources: Add UdpAnySourceMulticastClient and
UdpSingleSourceMulticastClient stubs (with some validations)
for SL4 (required to compile tests)

In System.Net:
2010-01-25  Sebastien Pouliot  <sebastien@ximian.com>

* UdpAnySourceMulticastClient.cs: New. Stub for SL4
* UdpSingleSourceMulticastClient.cs: New. Stub for SL4

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

14 years ago2010-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 25 Jan 2010 12:46:41 +0000 (12:46 -0000)]
2010-01-25  Zoltan Varga  <vargaz@gmail.com>

* ArrayTest.cs: Add a test for SetValue () + nullables.

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

14 years ago2010-01-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 25 Jan 2010 12:42:30 +0000 (12:42 -0000)]
2010-01-25  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Array_SetValueImpl): Handle nullable types correctly.
Fixes #573322.

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

14 years ago2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jan 2010 12:10:51 +0000 (12:10 -0000)]
2010-01-25  Atsushi Enomoto <atsushi@ximian.com>

* XPathEditableDocument.cs : add support for WriteRaw().
  Patch by Adriaan van Kekem, closing bug #560838.

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

14 years ago2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jan 2010 12:06:39 +0000 (12:06 -0000)]
2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationMap.cs : allow readonly field as data member.
  Fixed bug #560155.

* XmlObjectSerializerTest.cs : added test for bug #560155.

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

14 years ago2010-01-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 25 Jan 2010 10:53:33 +0000 (10:53 -0000)]
2010-01-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Enum.cs: Implement TryParse and do the required refactoring of our
Parse method to support it.

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

14 years ago2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jan 2010 09:02:48 +0000 (09:02 -0000)]
2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : finally System.ServiceModel.dll is on the centum tests.

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

14 years ago2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jan 2010 09:01:04 +0000 (09:01 -0000)]
2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : actually instance context provider could be
  null through the entire service run.

  Fixed all current nunit failures!

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

14 years ago2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jan 2010 08:47:46 +0000 (08:47 -0000)]
2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelFactory_1.cs, ChannelFactory.cs : fix default constructor
  handling and ensure service endpoint at opening the factory.

* ChannelFactory_1Test.cs : added a couple of error check tests for
  constructors and CreateChannel() overloads.

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

14 years ago2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jan 2010 05:08:29 +0000 (05:08 -0000)]
2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>

Parse float and TimeSpan max/min values correctly.
Patch by Tiaan Geldenhuys.

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

14 years ago2010-01-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 Jan 2010 03:38:42 +0000 (03:38 -0000)]
2010-01-25  Atsushi Enomoto  <atsushi@ximian.com>

some number ConvertTo() compatibility fixes (that are reported as
!CanConvertTo()), patch by Alexandre Gomes.

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

14 years ago2010-01-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 24 Jan 2010 21:44:56 +0000 (21:44 -0000)]
2010-01-24  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_method_compile): Improve the processing MONO_VERBOSE_METHOD so
it supports class names as well.

* mini.h (MonoCompile): Add a few flags to control JIT behavior which are
needed by the GC map code.

* mini.c (mini_method_compile): Call a function in mini-gc.c to set the new
flags if needed.

* method-to-ir.c (mono_method_to_ir): Emit initialization code for ref variables
if cfg->init_ref_vars is set.

* liveness.c (optimize_initlocals): Disable the initlocals opt for ref vars if
cfg->disable_initlocals_op_refs is set.

* method-to-ir.c (mono_spill_global_vars): Compute more precise live ranges
using liveness info if cfg->compute_precise_live_ranges is set.

* mini-gc.c: Ongoing work. Improve logging and debugging support. Handle
volatile variables correctly. Add comments about the live ranges. Not enabled
yet.

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

14 years ago2010-01-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 24 Jan 2010 04:07:46 +0000 (04:07 -0000)]
2010-01-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* StreamReaderTest.cs: New test for encoding detection.

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

14 years ago2010-01-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 24 Jan 2010 04:07:35 +0000 (04:07 -0000)]
2010-01-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* StreamReader.cs: When detecting the encoding we usually check the
four first bytes looking for either UTF32 or UTF8 BOM, since they share
the first two bytes, but if we happen to have less than 4 bytes at
detection time, just check for Unicode and use it as the current
encoding - this is exactly what .Net does, and it is specially visible
with NetworkStream.
Fixes #534137.

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

14 years agoIn System.Collections.Generic:
Robert Jordan [Sun, 24 Jan 2010 01:04:18 +0000 (01:04 -0000)]
In System.Collections.Generic:
2010-01-24  Robert Jordan  <robertj@gmx.net>

* Dictionary.cs: Fix deserialization compatibility with MS.NET.
Fixes bug #474009.

In Test/System.Collections.Generic:
2010-01-24  Robert Jordan  <robertj@gmx.net>

* DictionaryTest.cs: Add test case for bug #474009.

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

14 years ago2010-01-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 23 Jan 2010 23:40:54 +0000 (23:40 -0000)]
2010-01-24  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MonoDebugOptions): Add an option to init stack frames by writing
0x2a into them in method prologs.

* mini-amd64.c (mono_arch_emit_prolog): Implement it.

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

14 years agoUpdate doc tools
Miguel de Icaza [Sat, 23 Jan 2010 06:51:32 +0000 (06:51 -0000)]
Update doc tools

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

14 years ago2010-01-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 23 Jan 2010 00:19:29 +0000 (00:19 -0000)]
2010-01-23  Mark Probst  <mark.probst@gmail.com>

        * sgen-pinning.c (evacuate_pin_staging_area): Don't assume
        pin_staging_area_index is greater than 0.

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

14 years ago2010-01-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 22 Jan 2010 22:26:06 +0000 (22:26 -0000)]
2010-01-22  Marek Habersack  <mhabersack@novell.com>

* SubstitutionResponseElement.cs: implemented correct
(de)serialization of the Callback delegate.

* OutputCache.cs: implemented Serialize, Deserialize,
DefaultProviderName and Providers.

2010-01-22  Marek Habersack  <mhabersack@novell.com>

* AssertExtensions.cs: added AreEqual method for comparing byte
arrays.

2010-01-22  Marek Habersack  <mhabersack@novell.com>

* OutputCacheTest.cs: added

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

14 years ago* configure.in: Improve r150055 by checking for CXX=g++ as well, according to
Andrés G. Aragoneses [Fri, 22 Jan 2010 21:42:14 +0000 (21:42 -0000)]
* configure.in: Improve r150055 by checking for CXX=g++ as well, according to
http://lists.gnu.org/archive/html/bug-autoconf/2002-04/msg00077.html

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

14 years agoFix crash introduced by the previous change.
Zoltan Varga [Fri, 22 Jan 2010 20:50:55 +0000 (20:50 -0000)]
Fix crash introduced by the previous change.

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

14 years agoUniform use of the return error from mono_dl
Miguel de Icaza [Fri, 22 Jan 2010 19:19:43 +0000 (19:19 -0000)]
Uniform use of the return error from mono_dl

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