mono.git
14 years agoMon Feb 1 14:29:43 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Feb 2010 13:31:14 +0000 (13:31 -0000)]
Mon Feb 1 14:29:43 CET 2010 Paolo Molaro <lupus@ximian.com>

* genmdesc.c, genmdesc.pl, cpu-x86.md: introduced templates to make
it easier to group instructions and reduce duplication.

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

14 years ago2010-02-01 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 1 Feb 2010 13:25:52 +0000 (13:25 -0000)]
2010-02-01  Jb Evain  <jbevain@novell.com>

* MarkStep.cs: SoapHeader can either take a field or a property.

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

14 years ago2010-02-01 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 1 Feb 2010 13:15:02 +0000 (13:15 -0000)]
2010-02-01  Jb Evain  <jbevain@novell.com>

* SoapProtocolImporter.cs: properly generate the SoapHeader
attribute on NET_2_0.

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

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

* ComboBox.cs: When creating DrawItemEventArgs pass the fore color and
back color arguments depending on the higlight/focus state, just like
.net.
Fixes #572643.

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

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

* decompose.c: Move the array/soft float decompose routines here from
method-to-ir.c.

* method-to-ir.c: Export a few functions so they can be used from decompose.c.

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

14 years agoRemove a debugging aid.
Zoltan Varga [Sun, 31 Jan 2010 23:23:47 +0000 (23:23 -0000)]
Remove a debugging aid.

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

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

* MonoGenericClass.cs: Fix a warning.

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

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

* Directory.cs (Exists): Never throw an exception. Fixes #565152.

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

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

* Enum.cs: Fix a warning.

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

14 years ago2010-01-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 31 Jan 2010 04:19:26 +0000 (04:19 -0000)]
2010-01-31  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Add a call to llvm.invariant.start
to tell LLVM that the got is constant, not used yet.

* aot-compiler.c: Pass more optimization flags to llvm's 'opt'.

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

14 years ago2010-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 30 Jan 2010 19:58:45 +0000 (19:58 -0000)]
2010-01-30  Zoltan Varga  <vargaz@gmail.com>

* CustomAttributeBuilderTest.cs: Add a test for #574353.

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

14 years ago2010-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 30 Jan 2010 19:58:35 +0000 (19:58 -0000)]
2010-01-30  Zoltan Varga  <vargaz@gmail.com>

* CustomAttributeBuilder.cs (Initialize): Add more argument checking to avoid
assertions in the runtime. Fixes #574353.

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

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

* NetworkStream.cs: Our explicit impl of IDisposable.Dispose belongs
to 1.0/1.1 only. Also move the call to GC.SupressFinalize to
Dispose(bool), as expected and as done by other Stream children
implementing a destructor.
Fixes #564637.

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

14 years ago2010-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 30 Jan 2010 02:19:35 +0000 (02:19 -0000)]
2010-01-30  Zoltan Varga  <vargaz@gmail.com>

* mini-ppc.c (mono_arch_emit_prolog): Fix full aot support for native to
managed wrappers.

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

14 years ago2010-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 30 Jan 2010 02:17:21 +0000 (02:17 -0000)]
2010-01-30  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (add_wrappers): Commit the hack which generates
native-to-managed wrappers for methods decorated with the MonoPInvokeCallback
custom attribute.

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

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

* marshal.c (mono_marshal_get_managed_wrapper): Avoid constructing the
custom attr so this function works in cross-compiling mode.

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

14 years ago2010-01-29 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 29 Jan 2010 20:44:06 +0000 (20:44 -0000)]
2010-01-29  Mike Kestner <mkestner@novell.com>

* System.dll.sources: add System.Net/WebUtility.cs.
* System_test.dll.sources: add WebUtilityTest.cs to tests.

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

14 years ago2010-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 29 Jan 2010 20:18:56 +0000 (20:18 -0000)]
2010-01-29  Zoltan Varga  <vargaz@gmail.com>

* Int32Test.cs: Fix a copy-paste error.

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

14 years ago2010-01-29 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 29 Jan 2010 18:58:53 +0000 (18:58 -0000)]
2010-01-29  Geoff Norton  <gnorton@novell.com>

        * include/private/gcconfig.h: Don't define NO_PTHREAD_TRYLOCK on darwin-x86
        Patch from Tom Philpot (tom.philpot@gmail.com)

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

14 years ago2010-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 29 Jan 2010 17:42:38 +0000 (17:42 -0000)]
2010-01-29  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add a test for #574819.

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

14 years ago2010-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 29 Jan 2010 17:41:53 +0000 (17:41 -0000)]
2010-01-29  Zoltan Varga  <vargaz@gmail.com>

* class.c (make_generic_param_class): Initialize interface offsets since we
set klass->inited. Fixes #574819.

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

14 years ago2010-01-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 29 Jan 2010 06:15:38 +0000 (06:15 -0000)]
2010-01-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* VersionTest.cs: New tests for Parse and TryParse.

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

14 years ago2010-01-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 29 Jan 2010 06:13:45 +0000 (06:13 -0000)]
2010-01-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Version.cs: Implement Parse and TryParse.

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

14 years ago2010-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 29 Jan 2010 03:12:31 +0000 (03:12 -0000)]
2010-01-29  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MONO_INST_FAULT): New instruction flag for loads which can cause
a fault, only used by the LLVM backend.

* ir-emit.h: Add _FAULT variants of the LOAD_MEMBASE macros. Mark
OP_CHECK_THIS with OP_IMPLICIT_EXCEPTION.

* method-to-ir.c: Use the new LOAD_MEMBASE_FAULT opcodes, get rid of the
calls to MONO_EMIT_NULL_CHECK which is automatically done by the new macros.

* mini-llvm.c: Only generate volatile loads from load instructions which have
the MONO_INST_FAULT flag set.

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

14 years ago2010-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 29 Jan 2010 03:12:24 +0000 (03:12 -0000)]
2010-01-29  Zoltan Varga  <vargaz@gmail.com>

* unwind.c (mono_unwind_decode_fde): Fix the decoding of the LSDA offset on
64 bit platforms.

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

14 years ago2010-01-29 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 28 Jan 2010 23:22:13 +0000 (23:22 -0000)]
2010-01-29  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* WebClient_2_1.cs: Ensure the WriteStreamClosed event is emitted on
the correct thread (by using the stored SynchronizationContext).

* InternalWebRequestStreamWrapper.cs: Add a WebClientData field which
is passed to the WriteStreamClosedCallback.

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

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

* UnmanagedMemoryStream.cs: fix a regression from my previous patch.

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

14 years agoFix the build
Marek Habersack [Thu, 28 Jan 2010 21:11:49 +0000 (21:11 -0000)]
Fix the build

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

14 years agoRemove a debug printf.
Zoltan Varga [Thu, 28 Jan 2010 21:02:30 +0000 (21:02 -0000)]
Remove a debug printf.

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

14 years ago2010-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 28 Jan 2010 20:59:58 +0000 (20:59 -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=150498

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