mono.git
11 years ago[monodoc] Add forgotten test file
Jérémie Laval [Thu, 9 May 2013 20:55:44 +0000 (16:55 -0400)]
[monodoc] Add forgotten test file

11 years agoAvoid using a different layout for the MonoAotFileInfo structure on mt.
Zoltan Varga [Thu, 9 May 2013 20:05:03 +0000 (22:05 +0200)]
Avoid using a different layout for the MonoAotFileInfo structure on mt.

11 years agogcconfig.h - Add weak attribute to avoid __data_start undefined messages on dlopen
Neale Ferguson [Thu, 9 May 2013 19:42:58 +0000 (15:42 -0400)]
gcconfig.h - Add weak attribute to avoid __data_start undefined messages on dlopen
mini-s390x.c - Add profiling support to prolog/epilog instrumentation

11 years agoDisable parallel compression in mkbundle again, it still doesn't seem to work, the...
Zoltan Varga [Thu, 9 May 2013 16:58:26 +0000 (18:58 +0200)]
Disable parallel compression in mkbundle again, it still doesn't seem to work, the resulting executable reports 'Error 2 decompressing data'.

11 years ago[monodoc] Disable usage of HtmlAgilityPack in tests since the concerned ones are...
Jérémie Laval [Thu, 9 May 2013 16:32:38 +0000 (12:32 -0400)]
[monodoc] Disable usage of HtmlAgilityPack in tests since the concerned ones are disabled. Hopefully make them run again on the bots.

11 years agoFix a typo.
Zoltan Varga [Thu, 9 May 2013 16:19:00 +0000 (18:19 +0200)]
Fix a typo.

11 years ago[monodoc] Correctly insert mixed mode XML in namespace summaries rather than wrapping...
Jérémie Laval [Thu, 9 May 2013 16:12:18 +0000 (12:12 -0400)]
[monodoc] Correctly insert mixed mode XML in namespace summaries rather than wrapping them in CDATA sections

11 years ago[monodoc] Add workaround to process CDATA backed summaries/remarks in namespaces
Jérémie Laval [Thu, 9 May 2013 16:11:13 +0000 (12:11 -0400)]
[monodoc] Add workaround to process CDATA backed summaries/remarks in namespaces

11 years agoStreamWriter async methods cannot call base TextWriter async methods. Fixes #11979
Marek Safar [Thu, 9 May 2013 15:42:28 +0000 (17:42 +0200)]
StreamWriter async methods cannot call base TextWriter async methods. Fixes #11979

11 years agoRename AddBasesForPart to SetBaseTypes
Marek Safar [Thu, 9 May 2013 12:51:41 +0000 (14:51 +0200)]
Rename AddBasesForPart to SetBaseTypes

11 years agoAbstract methods can override virtual methods. Fixes #12138
Marek Safar [Thu, 9 May 2013 11:54:59 +0000 (13:54 +0200)]
Abstract methods can override virtual methods. Fixes #12138

11 years agoFix TraceSource constructor. Fixes #12001
Marek Safar [Thu, 9 May 2013 11:54:13 +0000 (13:54 +0200)]
Fix TraceSource constructor. Fixes #12001

11 years agoNested dotted namespace can access its parent dotted namespace directly. Fixes #12165
Marek Safar [Thu, 9 May 2013 10:37:45 +0000 (12:37 +0200)]
Nested dotted namespace can access its parent dotted namespace directly. Fixes #12165

11 years ago[Rx] some more csproj generator fixes; debug and release are different. Remove extran...
Atsushi Eno [Thu, 9 May 2013 12:03:44 +0000 (21:03 +0900)]
[Rx] some more csproj generator fixes; debug and release are different. Remove extraneous xmlns.

11 years ago[Rx] update mobile project generator to hopefully generate the latest csproj files.
Atsushi Eno [Thu, 9 May 2013 09:13:28 +0000 (18:13 +0900)]
[Rx] update mobile project generator to hopefully generate the latest csproj files.

11 years agoFix copyright author
Marek Safar [Thu, 9 May 2013 08:33:13 +0000 (10:33 +0200)]
Fix copyright author

11 years agoPopulate more win32 version info values. Fixes #8578
Marek Safar [Thu, 9 May 2013 08:08:14 +0000 (10:08 +0200)]
Populate more win32 version info values. Fixes #8578

11 years agoDefine internal attribute in case we missed the global initialization.
Marek Safar [Wed, 8 May 2013 15:47:36 +0000 (17:47 +0200)]
Define internal attribute in case we missed the global initialization.

11 years agoRename parameter name
Marek Safar [Wed, 8 May 2013 15:25:56 +0000 (17:25 +0200)]
Rename parameter name

11 years agoRemove extra null key check
Marek Safar [Wed, 8 May 2013 15:23:10 +0000 (17:23 +0200)]
Remove extra null key check

11 years agoFix support for ldtoken in AOTed non-shared generic instance methods. Fixes #12126.
Zoltan Varga [Wed, 8 May 2013 12:20:36 +0000 (14:20 +0200)]
Fix support for ldtoken in AOTed non-shared generic instance methods. Fixes #12126.

11 years agoFix support for ldfld/stfld wrappers in gshared code. Fixes #12086.
Zoltan Varga [Wed, 8 May 2013 11:04:48 +0000 (13:04 +0200)]
Fix support for ldfld/stfld wrappers in gshared code. Fixes #12086.

11 years agoRemove unneeded call - lazy support
Neale Ferguson [Tue, 7 May 2013 22:05:53 +0000 (18:05 -0400)]
Remove unneeded call - lazy support

11 years agoAdd a missing wbarrier to the gsharedvt code.
Zoltan Varga [Mon, 6 May 2013 15:35:10 +0000 (17:35 +0200)]
Add a missing wbarrier to the gsharedvt code.

11 years agoAdd support for separating the class and method names by :: in mono_method_desc_new...
Zoltan Varga [Mon, 6 May 2013 15:06:18 +0000 (17:06 +0200)]
Add support for separating the class and method names by :: in mono_method_desc_new (). Fixes #12113.

11 years agoconfigure.in: Remove all explicit ARM_FPU_* definitions.
Alex Rønne Petersen [Sat, 4 May 2013 04:58:32 +0000 (06:58 +0200)]
configure.in: Remove all explicit ARM_FPU_* definitions.

We now properly detect this via the toolchain, so these
explicit definitions are now pointless.

11 years agoDisable a System.Core test which fails on mt because of linking.
Zoltan Varga [Sat, 4 May 2013 02:19:05 +0000 (04:19 +0200)]
Disable a System.Core test which fails on mt because of linking.

11 years agoFix build for mobile (ios and android) wrt recent pull request on System.Data
Sebastien Pouliot [Fri, 3 May 2013 18:41:02 +0000 (14:41 -0400)]
Fix build for mobile (ios and android) wrt recent pull request on System.Data

11 years agoHardcode the use of CFNetwork.GetDefaultProxy for iOS so WebProxy is not required...
Sebastien Pouliot [Fri, 3 May 2013 17:43:54 +0000 (13:43 -0400)]
Hardcode the use of  CFNetwork.GetDefaultProxy for iOS so WebProxy is not required (and can be removed by the linker)

11 years agoImplement division/remainder in hardware when using armv7s+llvm+thumb.
Zoltan Varga [Fri, 3 May 2013 17:50:16 +0000 (19:50 +0200)]
Implement division/remainder in hardware when using armv7s+llvm+thumb.

11 years agoAdd facade assemblies to the rpm spec file.
Martin Baulig [Fri, 3 May 2013 16:36:56 +0000 (18:36 +0200)]
Add facade assemblies to the rpm spec file.

11 years agoMerge pull request #628 from pdonald/master
Marek Safar [Fri, 3 May 2013 14:47:06 +0000 (07:47 -0700)]
Merge pull request #628 from pdonald/master

Implemented async methods in System.Data.Common

11 years agoImplemented async methods in System.Data.Common
root [Fri, 3 May 2013 11:56:05 +0000 (11:56 +0000)]
Implemented async methods in System.Data.Common

11 years agoHmm, 'dist-local: dist-default', maybe ...
Martin Baulig [Thu, 2 May 2013 18:56:29 +0000 (20:56 +0200)]
Hmm, 'dist-local: dist-default', maybe ...

11 years agoFix 'make dist'.
Martin Baulig [Thu, 2 May 2013 18:37:39 +0000 (20:37 +0200)]
Fix 'make dist'.

11 years agoFix linux build (/r:System.Xml, not System.XML).
Martin Baulig [Thu, 2 May 2013 18:13:05 +0000 (20:13 +0200)]
Fix linux build (/r:System.Xml, not System.XML).

11 years agoAdd PCL Facade assemblies.
Martin Baulig [Wed, 13 Mar 2013 22:35:25 +0000 (18:35 -0400)]
Add PCL Facade assemblies.

11 years agomac-reachability.c: update for C89isms
Aaron Bockover [Thu, 2 May 2013 15:03:27 +0000 (11:03 -0400)]
mac-reachability.c: update for C89isms

In response to Rodrigo's comments on PR 629.

11 years agomac-reachability.c: enable for TARGET_IOS
Aaron Bockover [Wed, 1 May 2013 22:10:06 +0000 (18:10 -0400)]
mac-reachability.c: enable for TARGET_IOS

11 years agoMerge pull request #627 from abock/master
Miguel de Icaza [Wed, 1 May 2013 21:59:41 +0000 (14:59 -0700)]
Merge pull request #627 from abock/master

Support Mac OS X for System.Net.NetworkInformation.NetworkChange

11 years agoNetworkChange: Support Mac OS X (bcx#12038)
Aaron Bockover [Wed, 1 May 2013 21:49:44 +0000 (17:49 -0400)]
NetworkChange: Support Mac OS X (bcx#12038)

Refactor System.Net.NetworkingInformation in order
to support multiple "providers"; previously only
Linux was ever supported for this API.

This patch provides basic support for Mac OS X
via the SystemConfiguration framework's
SCNetworkReachability API.

bxc#12038

11 years agoRevert "Merge pull request #618 from knocte/aspnet_lru"
Bojan Rajkovic [Wed, 1 May 2013 21:05:12 +0000 (17:05 -0400)]
Revert "Merge pull request #618 from knocte/aspnet_lru"

This reverts commit 675328ef1686ce884326df89f8c570943e2d20d2, reversing
changes made to edc181c514ddc082ce44cde69f2272a12e942b88.

11 years ago[ios] throw an TimeZoneNotFoundException if the timezone name is unknown
Sebastien Pouliot [Wed, 1 May 2013 20:19:44 +0000 (16:19 -0400)]
[ios] throw an TimeZoneNotFoundException if the timezone name is unknown

11 years agoFix compilation of Variant for iOS: Marshal.GetObjectForIUnknown, like a lot of COM...
Sebastien Pouliot [Wed, 1 May 2013 18:48:13 +0000 (14:48 -0400)]
Fix compilation of Variant for iOS: Marshal.GetObjectForIUnknown, like a lot of COM specific methods, is not available for iOS

11 years agoRemove reflection usage to access NSTimeZone for iOS
Sebastien Pouliot [Wed, 1 May 2013 18:30:56 +0000 (14:30 -0400)]
Remove reflection usage to access NSTimeZone for iOS

11 years agoremove wrong EOLs after Libs: in reactive.pc.in. Third attempt to fix bug #10002.
Atsushi Eno [Wed, 1 May 2013 04:21:45 +0000 (13:21 +0900)]
remove wrong EOLs after Libs: in reactive.pc.in. Third attempt to fix bug #10002.

11 years agoMerge pull request #624 from jbevain-forks/mimemapping
Alex Rønne Petersen [Tue, 30 Apr 2013 23:18:26 +0000 (16:18 -0700)]
Merge pull request #624 from jbevain-forks/mimemapping

Add new net_4_5 class System.Web.MimeMapping

11 years agoFix support for reference types in unbox.any in gsharedvt code.
Zoltan Varga [Tue, 30 Apr 2013 22:51:23 +0000 (00:51 +0200)]
Fix support for reference types in unbox.any in gsharedvt code.

11 years agoAdd new net_4_5 class System.Web.MimeMapping
Jb Evain [Tue, 30 Apr 2013 22:34:09 +0000 (00:34 +0200)]
Add new net_4_5 class System.Web.MimeMapping

11 years agoMerge pull request #623 from madewokherd/byrefvariants
Alex Rønne Petersen [Tue, 30 Apr 2013 19:32:58 +0000 (12:32 -0700)]
Merge pull request #623 from madewokherd/byrefvariants

Implement reading byref variants.

11 years agoImplement reading byref variants.
Vincent Povirk [Mon, 29 Apr 2013 21:36:49 +0000 (16:36 -0500)]
Implement reading byref variants.

This commit is licensed under MIT/X11.

11 years agoAvoid potential NRE is the UserCAStore could not be created. ref: desk #33432
Sebastien Pouliot [Mon, 29 Apr 2013 21:44:07 +0000 (17:44 -0400)]
Avoid potential NRE is the UserCAStore could not be created. ref: desk #33432

11 years agoAdd System.Diagnostics.Switch/etc. to the MOBILE profile.
Jonathan Pryor [Mon, 29 Apr 2013 18:31:57 +0000 (14:31 -0400)]
Add System.Diagnostics.Switch/etc. to the MOBILE profile.

Followup to:

http://forums.xamarin.com/discussion/comment/11823/#Comment_11823

These are Switches with a labotomy: the MOBILE profile does not
support System.Configuration.dll, so there is no support for
.exe.config files or
System.Diagnostics.DiagnosticsConfigurationHandler.

Consequently these Switches are largely a compatibility/portability
aid: they DO NOT have the full functionality that the desktop
profile affords. Specifically, there is no way to provide an XML
config file that contains the Switch values to use. If you need to set
the Switch values, this MUST be done manually, e.g. through a Switch
constructor's `defaultSwitchValue` parameter or through a property,
e.g. for SourceSwitch:

http://msdn.microsoft.com/en-us/library/w65awck1.aspx
http://msdn.microsoft.com/en-us/library/system.diagnostics.sourceswitch.level.aspx

11 years agoRun repl in unsafe mode by default
Marek Safar [Mon, 29 Apr 2013 16:02:58 +0000 (18:02 +0200)]
Run repl in unsafe mode by default

11 years agoAllow parsing compiler arguments with user specified defaults
Marek Safar [Mon, 29 Apr 2013 16:00:09 +0000 (18:00 +0200)]
Allow parsing compiler arguments with user specified defaults

11 years agoMake LocatedToken top level type
Marek Safar [Mon, 29 Apr 2013 15:38:59 +0000 (17:38 +0200)]
Make LocatedToken top level type

11 years agoMake reusing few expressions easier
Marek Safar [Mon, 29 Apr 2013 15:31:19 +0000 (17:31 +0200)]
Make reusing few expressions easier

11 years agoDon't throw when trying to parse leading sign number only. Fixes #12008
Marek Safar [Mon, 29 Apr 2013 14:51:34 +0000 (16:51 +0200)]
Don't throw when trying to parse leading sign number only. Fixes #12008

11 years agoDon't try to inflate nested types of missing type. Fixes #11996
Marek Safar [Mon, 29 Apr 2013 13:02:01 +0000 (15:02 +0200)]
Don't try to inflate nested types of missing type. Fixes #11996

11 years agoRevert "Merge pull request #615 from nealef/master"
Marek Safar [Mon, 29 Apr 2013 09:25:17 +0000 (11:25 +0200)]
Revert "Merge pull request #615 from nealef/master"

This reverts commit ce6acbe4db3caca1d54f08f9758a88a7768ff236, reversing
changes made to 7f0328f12ae9b91c9adc5dd0c9ce0fc770f81a06.

11 years agoAdd anonymous type evaluator test
Marek Safar [Fri, 26 Apr 2013 08:25:28 +0000 (10:25 +0200)]
Add anonymous type evaluator test

11 years ago[verifier] Add regression test for the case where the function being used in a delega...
Rodrigo Kumpera [Mon, 29 Apr 2013 01:34:26 +0000 (21:34 -0400)]
[verifier] Add regression test for the case where the function being used in a delegate returns a variant interface.

11 years ago[verifier]Handle variance correcty when checking delegate parameters.
Rodrigo Kumpera [Mon, 29 Apr 2013 01:28:55 +0000 (21:28 -0400)]
[verifier]Handle variance correcty when checking delegate parameters.

* verify.c (verifier_class_is_assignable_from): If the target
is a variant interface, check if the candidate is one too that
is a direct match.

11 years ago[verifier] Add regression test for stack merge of boxed valuetypes.
Rodrigo Kumpera [Sat, 27 Apr 2013 22:50:05 +0000 (18:50 -0400)]
[verifier] Add regression test for stack merge of boxed valuetypes.

11 years ago[verifier] Properly merge stacks when both ends have the same boxed valuetype.
Rodrigo Kumpera [Sat, 27 Apr 2013 22:48:58 +0000 (18:48 -0400)]
[verifier] Properly merge stacks when both ends have the same boxed valuetype.

Fixes System.Data.Services.Client.dll failure on wrench.

11 years ago[verifier]Add test case for #11263.
Rodrigo Kumpera [Sat, 27 Apr 2013 20:27:01 +0000 (16:27 -0400)]
[verifier]Add test case for #11263.

11 years ago[verifier]A type constraint must be visible to the generic type definition. Fixes...
Rodrigo Kumpera [Sat, 27 Apr 2013 20:25:07 +0000 (16:25 -0400)]
[verifier]A type constraint must be visible to the generic type definition. Fixes #11263.

11 years ago[verifier]Fill in the assembly name so checks for InternalsVisibleTo don't crash.
Rodrigo Kumpera [Sat, 27 Apr 2013 20:24:10 +0000 (16:24 -0400)]
[verifier]Fill in the assembly name so checks for InternalsVisibleTo don't crash.

11 years agoAdd mono_class_can_access_class so the verifier can check if one type can access...
Rodrigo Kumpera [Sat, 27 Apr 2013 20:23:29 +0000 (16:23 -0400)]
Add mono_class_can_access_class so the verifier can check if one type can access another.

11 years agoAvoid using reflection to redirect Console.Write* to NSLog
Sebastien Pouliot [Sat, 27 Apr 2013 15:03:16 +0000 (11:03 -0400)]
Avoid using reflection to redirect Console.Write* to NSLog

11 years agoAvoid using reflection to initialize RegionInfo from iOS current NSLocale
Sebastien Pouliot [Sat, 27 Apr 2013 15:02:00 +0000 (11:02 -0400)]
Avoid using reflection to initialize RegionInfo from iOS current NSLocale

11 years agoIgnore requests to set breakpoints at il offsets belonging to dead code. Fixes #11880.
Zoltan Varga [Sat, 27 Apr 2013 14:18:07 +0000 (16:18 +0200)]
Ignore requests to set breakpoints at il offsets belonging to dead code. Fixes #11880.

11 years agoFix a warning.
Zoltan Varga [Sat, 27 Apr 2013 13:28:19 +0000 (15:28 +0200)]
Fix a warning.

11 years agoAdd System.Diagnostics.Trace to the MOBILE profile.
Jonathan Pryor [Sat, 27 Apr 2013 13:30:04 +0000 (09:30 -0400)]
Add System.Diagnostics.Trace to the MOBILE profile.

Requested here:

http://forums.xamarin.com/discussion/3300/rationale-behind-removal-of-system-diagnostics-trace-in-xa-and-xi

11 years agoRevert "The build bots run on Snow Leopard that doesn't have pthread_spis.h. Let...
Rodrigo Kumpera [Fri, 26 Apr 2013 23:41:40 +0000 (19:41 -0400)]
Revert "The build bots run on Snow Leopard that doesn't have pthread_spis.h. Let's revert this for now until the bots are switched to lion."

This reverts commit 6fb1b1fa551bd4c58fcabbbd22fdc9f7b6685192.

All our bots are now running on Lion or Mountain Lion so we can now happily enjoy this fix.

11 years agoMerge pull request #621 from andreazevedo/master
Marek Safar [Fri, 26 Apr 2013 22:21:27 +0000 (15:21 -0700)]
Merge pull request #621 from andreazevedo/master

Using existing contants

11 years agoUsing existing constant instead of number literal
andreazevedo [Fri, 26 Apr 2013 21:49:24 +0000 (18:49 -0300)]
Using existing constant instead of number literal

11 years agoMerge pull request #615 from nealef/master
Miguel de Icaza [Fri, 26 Apr 2013 16:55:22 +0000 (09:55 -0700)]
Merge pull request #615 from nealef/master

Fix incompatibility with .NET's serialization of ObservableCollection

11 years agoMerge pull request #620 from knocte/monoservice_playground
Miguel de Icaza [Fri, 26 Apr 2013 16:48:29 +0000 (09:48 -0700)]
Merge pull request #620 from knocte/monoservice_playground

Little improvements to mono-service land.

11 years agoMerge pull request #618 from knocte/aspnet_lru
Miguel de Icaza [Fri, 26 Apr 2013 16:47:07 +0000 (09:47 -0700)]
Merge pull request #618 from knocte/aspnet_lru

[WebConfigurationManager] Fix memleak by using a LruCache (BXC#5598)

11 years ago[System.Web] Use STDERR instead of STDOUT in LRUcache
Andres G. Aragoneses [Fri, 26 Apr 2013 16:03:54 +0000 (17:03 +0100)]
[System.Web] Use STDERR instead of STDOUT in LRUcache

As suggested by Marek Habersack

11 years ago[System.Web] Move MONO_ASPNET_WEBCONFIG_CACHESIZE parsing out of LRUcache
Andres G. Aragoneses [Fri, 26 Apr 2013 15:58:50 +0000 (16:58 +0100)]
[System.Web] Move MONO_ASPNET_WEBCONFIG_CACHESIZE parsing out of LRUcache

11 years agoAvoid creating any new threadpool threads while the runtime is suspended by sdb,...
Zoltan Varga [Thu, 25 Apr 2013 23:34:43 +0000 (01:34 +0200)]
Avoid creating any new threadpool threads while the runtime is suspended by sdb, since they cannot do any work, causing the code in monitor_thread () to spawn new ones indefinitely. Fixes #6452/11940.

11 years agoWhen attaching a foreigh thread, make sure we initialize MOnoInternalThread::thread_info.
Rodrigo Kumpera [Thu, 25 Apr 2013 22:38:10 +0000 (18:38 -0400)]
When attaching a foreigh thread, make sure we initialize MOnoInternalThread::thread_info.

11 years agoBump version number to 3.0.11
Duncan Mak [Thu, 25 Apr 2013 22:19:32 +0000 (18:19 -0400)]
Bump version number to 3.0.11

11 years ago[profiler] Fix sampling timestamp output.
Mark Probst [Thu, 25 Apr 2013 21:32:02 +0000 (14:32 -0700)]
[profiler] Fix sampling timestamp output.

11 years agoCorrect call parameter processing for GENERICINST types
Neale Ferguson [Thu, 25 Apr 2013 21:18:53 +0000 (17:18 -0400)]
Correct call parameter processing for GENERICINST types

11 years agoAdd lazy rgctx support to s390x
Neale Ferguson [Thu, 25 Apr 2013 14:01:14 +0000 (10:01 -0400)]
Add lazy rgctx support to s390x

11 years agoDocument the new function and fix a typo on other.
Rodrigo Kumpera [Thu, 25 Apr 2013 19:56:37 +0000 (15:56 -0400)]
Document the new function and fix a typo on other.

11 years agoAdd MonoThreadInfo::runtime_thread so we can know if this thread is managed by the...
Rodrigo Kumpera [Thu, 25 Apr 2013 19:51:49 +0000 (15:51 -0400)]
Add MonoThreadInfo::runtime_thread so we can know if this thread is managed by the runtime or not.

* mono-threads.h: Add new field to MonoThreadInfo.

* threads.c: New API function mono_thread_is_foreign that allows one to query if a given thread
is foreign or not.

11 years agoOn windows, Register/unregister runtime-managed threads from our wrapper.
Rodrigo Kumpera [Thu, 25 Apr 2013 18:49:45 +0000 (14:49 -0400)]
On windows, Register/unregister runtime-managed threads from our wrapper.

* driver.c: Don't auto attach all threads, this is the same behavior of
posix and mach. We still auto-detach so we can catch foreign threads that
forgot to do it.

* mono-threads-windows.c: Detach the thread after the thread fun has run to
completion, this ensures we cleanup runtime-managed threads in a saner fashion.

11 years agoUnregister runtime-managed threads before OS cleanup kicks in.
Rodrigo Kumpera [Thu, 25 Apr 2013 18:49:13 +0000 (14:49 -0400)]
Unregister runtime-managed threads before OS cleanup kicks in.

* mono-threads.c:
* mono-threads-posix.c: Explicitly detach a thread from the wrapper
instead of relying on the TLS destructor. This gives a good environment
most of the time for other parts of the runtime to work with.

11 years agoDon't emit thread event twice when explicitly detaching a thread.
Rodrigo Kumpera [Thu, 25 Apr 2013 17:59:18 +0000 (13:59 -0400)]
Don't emit thread event twice when explicitly detaching a thread.

11 years ago[linker] Move the special marking of serializable types in a virtual method
Sebastien Pouliot [Thu, 25 Apr 2013 19:24:56 +0000 (15:24 -0400)]
[linker] Move the special marking of serializable types in a virtual method

11 years agoUse field for GetObjectData and this (instead of base) for .ctor in SecurityException...
Sebastien Pouliot [Thu, 25 Apr 2013 19:23:56 +0000 (15:23 -0400)]
Use field for GetObjectData and this (instead of base) for .ctor in SecurityException to help linker remove more code

11 years agoBetter error message
Marek Safar [Thu, 25 Apr 2013 15:11:06 +0000 (17:11 +0200)]
Better error message

11 years ago[System.ServiceProcess.ServiceController] Remove NET_2_0 ifdefs
Andres G. Aragoneses [Thu, 25 Apr 2013 13:23:41 +0000 (14:23 +0100)]
[System.ServiceProcess.ServiceController] Remove NET_2_0 ifdefs

Also dropping ONLY_1_1.

11 years ago[mono-service] Report to syslog if ExitCode ended up != 0 after Stop()
Andres G. Aragoneses [Thu, 25 Apr 2013 13:22:23 +0000 (14:22 +0100)]
[mono-service] Report to syslog if ExitCode ended up != 0 after Stop()

In the previous commit, ExitCode was implemented, so we can query it now.
This is useful because many Windows Services nowadays use this variable
to notify about a problem at stop time.

11 years ago[System.ServiceProcess.ServiceBase]: Implement Stop() and ExitCode
Andres G. Aragoneses [Thu, 25 Apr 2013 13:20:33 +0000 (14:20 +0100)]
[System.ServiceProcess.ServiceBase]: Implement Stop() and ExitCode

Stop() wasn't calling OnStop, so a unit test was added, its basic
functionality was implemented, and MonoTODO is removed.

ExitCode now also stops throwing NIE. A unit test is added to confirm
that ServiceBase class doesn't modify it across runs. This property will
be useful for my next commit in mono-service.cs.

11 years agoTrying to fix the opensuse build.
Martin Baulig [Thu, 25 Apr 2013 03:55:21 +0000 (05:55 +0200)]
Trying to fix the opensuse build.