mono.git
14 years ago2010-02-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 26 Feb 2010 20:24:43 +0000 (20:24 -0000)]
2010-02-26  Robert Jordan  <robertj@gmx.net>

* ObjectReader.cs (ReadType, GetDeserializationType):
Add throwOnError parameter that specifies whether to throw an
  exception if the type/assembly is not found.

* ObjectReader.cs (ReadTypeMetadata): Ignore unresolvable
  types while reading the type info. Fixes #430583.

* ObjectReader.cs (GetDeserializationType): Rethrow caught
  exceptions as SerializationExceptions.

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

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

* class.c (mono_class_generic_sharing_enabled): Move this to
generic-sharing.c.

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

14 years ago2010-02-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 26 Feb 2010 20:01:33 +0000 (20:01 -0000)]
2010-02-26  Robert Jordan  <robertj@gmx.net>

* ObjRef.cs (GetRealObject): Refine to server type only when
necessary. Fixes #504886.

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

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

* image.c: Add an unload hook which is called before an image is unloaded.

* generic-sharing.c: Use the unload hook to unregister per-image data, to avoid
metadata.c having to depend on generic sharing.

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

14 years ago2010-01-19 Tom Hindle <tom_hindle@sil.org>
Robert Jordan [Fri, 26 Feb 2010 19:18:32 +0000 (19:18 -0000)]
2010-01-19  Tom Hindle <tom_hindle@sil.org>

* ComInteropProxy.cs: Don't add proxy if it has already been added.
Instread increment ref_count. Fixes bug #572043.

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

14 years agoFri Feb 26 19:23:18 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Feb 2010 18:50:23 +0000 (18:50 -0000)]
Fri Feb 26 19:23:18 CET 2010 Paolo Molaro <lupus@ximian.com>

* class.c: reduce size of ridiculously large cache.

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

14 years ago2010-02-26 Robert Jordan <robertj@gmx.net>
Robert Jordan [Fri, 26 Feb 2010 17:59:22 +0000 (17:59 -0000)]
2010-02-26  Robert Jordan  <robertj@gmx.net>

* tasklets.c (continuation_store): Return from an error condition
immediately.

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

14 years agoSet `vtable->init_aborted' if we hit a `ThreadAbortException' in the class .cctor.
Martin Baulig [Fri, 26 Feb 2010 17:33:31 +0000 (17:33 -0000)]
Set `vtable->init_aborted' if we hit a `ThreadAbortException' in the class .cctor.
2010-02-26  Martin Baulig  <martin@ximian.com>

* class-internals.h (MonoVTable): Added `init_aborted'.

* object.c
(mono_runtime_class_init_full): Set `vtable->init_aborted' in
addition to `vtable->init_failed' if we hit a `ThreadAbortException'
while running the class .cctor and reset `init_failed' next time
we're called.

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

14 years agoAdd runtime support to abort a mono_debugger_runtime_invoke().
Martin Baulig [Fri, 26 Feb 2010 17:33:21 +0000 (17:33 -0000)]
Add runtime support to abort a mono_debugger_runtime_invoke().
2010-02-26  Martin Baulig  <martin@ximian.com>

* debug-debugger.c (MonoDebuggerInfo): Added `abort_runtime_invoke'.

* debug-mini.c
(MonoDebuggerThreadInfo): Added `internal_flags'.
(MonoDebuggerInternalThreadFlags): New enum.
(_mono_debugger_throw_exception): Don't signal the debugger if a
type abort was requested.
(_mono_debugger_unhandled_exception): Likewise.
(mono_debugger_abort_runtime_invoke): New method to abort an invocation.
(mono_debugger_runtime_invoke): If the debugger requested a thread
abort during the invocation, reset it here.

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

14 years agoUse `MonoInternalThread *' instead of `MonoThread *'.
Martin Baulig [Fri, 26 Feb 2010 17:33:12 +0000 (17:33 -0000)]
Use `MonoInternalThread *' instead of `MonoThread *'.
2010-02-26  Martin Baulig  <martin@ximian.com>

* debug-mini.c (MonoDebuggerThreadInfo): Use `MonoInternalThread *'
instead of `MonoThread *'.

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

14 years agoadd credits where due
Jb Evain [Fri, 26 Feb 2010 16:11:26 +0000 (16:11 -0000)]
add credits where due

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

14 years ago2010-02-13 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 26 Feb 2010 16:10:38 +0000 (16:10 -0000)]
2010-02-13  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ReflectionReader.cs: don't cache everything
that is context dependent.

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

14 years ago2010-02-13 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 26 Feb 2010 14:43:05 +0000 (14:43 -0000)]
2010-02-13  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/MethodReturnType.cs: avoid creating an
inner parameter if not necessary.

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

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

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

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

14 years ago2010-02-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Feb 2010 05:42:18 +0000 (05:42 -0000)]
2010-02-26 Rodrigo Kumpera  <rkumpera@novell.com>

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

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

14 years ago2010-02-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Feb 2010 05:41:56 +0000 (05:41 -0000)]
2010-02-24 Rodrigo Kumpera  <rkumpera@novell.com>

* TaskContinuationOptions.cs: Use RC values.

* TaskCreationOptions.cs: Ditto.

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

14 years ago2010-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Feb 2010 05:12:22 +0000 (05:12 -0000)]
2010-02-26  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceRuntimeChannel.cs, ServiceProxyGenerator.cs:
  make them public and add Contract property for service callback
  proxies too for the same reason.

* InputOrReplyRequestProcessor.cs : now ServiceRuntimeChannel is
  moved to fake public namespace.

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

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

* class.c (get_implicit_generic_array_interfaces): Call
mono_class_setup_interface_offsets () before accessing
eclass->interface_offsets_count. This only shows up on platforms without IMT for
some reason.

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

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

* ClientProxyGenerator.cs : type cache should be like this
  (by kumpera).

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

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

* ClientRuntimeChannel.cs, ClientProxyGenerator.cs:
  Add disabled code, enabled by -d:USE_OD_REFERENCE_IN_PROXY:

  In generated proxy, avoid using GetCurrentMethod() and pass
  interface methods to the base ClientRuntimeChannel.

  (Disabled by default for breakage at
   CallbackBehaviorAttributeTest.CallbackExample1.)

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

14 years ago2010-02-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Feb 2010 00:38:35 +0000 (00:38 -0000)]
2010-02-26  Zoltan Varga  <vargaz@gmail.com>

* Connection.cs: Throw a NotSupportedException if the protocol version doesn't
support the caught/uncaught flags in an exception modifier.

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

14 years ago2010-02-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Feb 2010 23:32:14 +0000 (23:32 -0000)]
2010-02-26  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceRuntimeChannel.cs, DuplexChannelFactory.cs,
  DuplexClientRuntimeChannel.cs, ClientRuntimeChannel.cs,
  ClientProxyGenerator.cs, ClientBase.cs : add workaround fix for
  bug #571907, making [Duplex]ClientRuntimeChannel public.

  Generated proxy type must be stored to not get GCed.

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

14 years ago2010-02-25 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 25 Feb 2010 23:24:31 +0000 (23:24 -0000)]
2010-02-25  Geoff Norton  <gnorton@novell.com>

        * wait.c: If any of our handles are shared, we need to do
        a polling wait so we're notified of the signal change.

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

14 years agoFix monodis on darwin
Geoff Norton [Thu, 25 Feb 2010 23:24:28 +0000 (23:24 -0000)]
Fix monodis on darwin

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

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

In class/System/System.Threading/:
   * Barrier.cs: Fix NRE with postPhaseAction delegate
   Fix possible deadlock when removing participant(s)

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

14 years agoInclude Makefile in the tarball
Marek Habersack [Thu, 25 Feb 2010 17:23:28 +0000 (17:23 -0000)]
Include Makefile in the tarball

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

14 years ago2010-02-25 Ivan Zlatev <ivan@ivanz.com>
Ivan Zlatev [Thu, 25 Feb 2010 16:20:41 +0000 (16:20 -0000)]
2010-02-25  Ivan Zlatev  <ivan@ivanz.com>

* Control.cs: ControllCollaction IList implementation wasn't calling the
Add implementation causing ParentChanged and all sorts of other events not to
get fired.
[Fixes bug #580042]

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

14 years ago2010-02-25 Ivan Zlatev <ivan@ivanz.com>
Ivan Zlatev [Thu, 25 Feb 2010 15:30:15 +0000 (15:30 -0000)]
2010-02-25  Ivan Zlatev  <ivan@ivanz.com>

* DataGridView.cs: If we are setting a new data source and it is
data bindable clear DataMember before binding.
[Fixes bug #554296]

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

14 years ago2010-02-25 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 25 Feb 2010 15:08:33 +0000 (15:08 -0000)]
2010-02-25  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* WebClient_2_1.cs: Emit DownloadProgressChanged events on the correct
thread too.

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

14 years ago2010-02-25 Ivan Zlatev <ivan@ivanz.com>
Ivan Zlatev [Thu, 25 Feb 2010 14:49:44 +0000 (14:49 -0000)]
2010-02-25  Ivan Zlatev  <ivan@ivanz.com>

* DataGridViewCheckBoxCell.cs: Toggle the checkbox on Space key press.
[Fixes bug #574259]

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

14 years agoRemoved unused mono_setup_vtable_in_class_init.
Paolo Molaro [Thu, 25 Feb 2010 11:28:49 +0000 (11:28 -0000)]
Removed unused mono_setup_vtable_in_class_init.

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

14 years agoThu Feb 25 12:12:44 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 25 Feb 2010 11:13:52 +0000 (11:13 -0000)]
Thu Feb 25 12:12:44 CET 2010 Paolo Molaro <lupus@ximian.com>

* environment.c, environment.h, icall.c: make the GetOSVersionString()
icall internal.

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

14 years agoThu Feb 25 11:59:22 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 25 Feb 2010 11:03:46 +0000 (11:03 -0000)]
Thu Feb 25 11:59:22 CET 2010 Paolo Molaro <lupus@ximian.com>

* mono-logger.h, Makefile.am: expose in the API the ability to
set trace mask and level.
* mono-logger-internal.h: new header for mono internal use.
* mono-logger.c: fixed mono_trace_set_mask_string() to not change
the passed string argument.

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

14 years agoThu Feb 25 11:37:50 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 25 Feb 2010 10:38:58 +0000 (10:38 -0000)]
Thu Feb 25 11:37:50 CET 2010 Paolo Molaro <lupus@ximian.com>

* metadata.c, metadata.h: make MONO_TYPE_IS* functional without
direct access to the MonoType fields.

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

14 years ago2010-02-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Feb 2010 03:32:20 +0000 (03:32 -0000)]
2010-02-25  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_find_jit_info): Use a merge sort for sorting the
code offsets table, as it is mostly sorted.

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

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

* MethodBody.cs: Add v4 bits.

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

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

* threads.h: Move some internal functions which were added to this header by
mistake to threads-types.h.

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

14 years agoAdd a test.
Zoltan Varga [Thu, 25 Feb 2010 01:09:07 +0000 (01:09 -0000)]
Add a test.

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

14 years ago2010-02-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Feb 2010 01:09:00 +0000 (01:09 -0000)]
2010-02-25  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (do_invoke_method): Fix invoking of static methods on vtypes.
Fixes #582991.

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

14 years ago2010-02-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Feb 2010 00:40:28 +0000 (00:40 -0000)]
2010-02-25  Zoltan Varga  <vargaz@gmail.com>

* driver.c (mono_main): Get rid of mono_setup_vtable_in_class_init.

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

14 years ago2010-02-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Feb 2010 00:40:21 +0000 (00:40 -0000)]
2010-02-25  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_init): Get rid of mono_setup_vtable_in_class_init.

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

14 years ago2010-02-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 25 Feb 2010 00:33:56 +0000 (00:33 -0000)]
2010-02-24 Rodrigo Kumpera  <rkumpera@novell.com>

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

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

14 years ago2010-02-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 25 Feb 2010 00:33:48 +0000 (00:33 -0000)]
2010-02-24 Rodrigo Kumpera  <rkumpera@novell.com>

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

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

14 years ago2010-02-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 25 Feb 2010 00:33:39 +0000 (00:33 -0000)]
2010-02-24 Rodrigo Kumpera  <rkumpera@novell.com>

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

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

14 years ago2010-02-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 25 Feb 2010 00:33:31 +0000 (00:33 -0000)]
2010-02-24 Rodrigo Kumpera  <rkumpera@novell.com>

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

* MonoType.cs: Ditto.

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

14 years agoFix the build
Marek Habersack [Wed, 24 Feb 2010 18:32:15 +0000 (18:32 -0000)]
Fix the build

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

14 years ago2010-02-24 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 24 Feb 2010 17:33:54 +0000 (17:33 -0000)]
2010-02-24  Marek Habersack  <mhabersack@novell.com>

     * SessionStateServerHandler.cs: added support for session state
     compression (4.0)

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

     * SessionStateSection.cs: implemented 4.0 properties -
     CompressionEnabled and SqlConnectionRetryInterval

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

14 years agoAdd
Miguel de Icaza [Wed, 24 Feb 2010 17:20:32 +0000 (17:20 -0000)]
Add

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

14 years agoWed Feb 24 17:45:27 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Feb 2010 16:46:41 +0000 (16:46 -0000)]
Wed Feb 24 17:45:27 CET 2010 Paolo Molaro <lupus@ximian.com>

* class-internals.h, class.h, object.h: make MonoRemoteClass
and mono_remote_class() internal.

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

14 years agoNo need to use -release.
Paolo Molaro [Wed, 24 Feb 2010 16:25:18 +0000 (16:25 -0000)]
No need to use -release.

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

14 years agoWed Feb 24 17:05:18 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Feb 2010 16:06:38 +0000 (16:06 -0000)]
Wed Feb 24 17:05:18 CET 2010 Paolo Molaro <lupus@ximian.com>

* metadata-internals.h, class-internals.h, metadata.h: make the
MonoType guts internal as well.

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

14 years agoFix warnings after API changes.
Paolo Molaro [Wed, 24 Feb 2010 16:00:15 +0000 (16:00 -0000)]
Fix warnings after API changes.

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

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

* Makefile.am, mono-cov.c, mono-profiler-logging.c,
mono-profiler-aot.c: update to the new API/ABI.

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

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

* Makefile.am: build the new ABI version of the libmono library.
* debugger-agent.c, mini.c: fix warnings with the new API.
* jit.h: don't depend on glib.h being included.

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

14 years agoWed Feb 24 15:56:52 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 24 Feb 2010 15:20:02 +0000 (15:20 -0000)]
Wed Feb 24 15:56:52 CET 2010 Paolo Molaro <lupus@ximian.com>

* Makefile.am, monograph.c: update to the new API/ABI.

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

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

* Makefile.am: link to the new libmono version.

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

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

* reflection.h: the MonoTypeNameParse guts are internal now.
* assembly.c, assembly.h, image.h: the MonoAssemblyName guts
are internal now, provide accessors as needed.
* metadata.h, metadata-internals.h: the MonoMethodSignature
guts are internal now.
* Makefile.am: mempool.h is an internal header now.
* *.h, *.c: remove glib.h usage from the public headers.

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

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