Radek Doulik [Thu, 16 May 2013 15:27:57 +0000 (17:27 +0200)]
revert my 2 last commits
Revert "add System.Net.Http.Formatting to monodroid build"
Revert "added System.Configuration and System.Security to monodroid build to fix it"
This reverts commit
85cb9e31763e14f55ab60554a68e8f8b899dd6a3 and
commit
6566273367f79b1f928a921cddfe05db4d622e1e.
Sebastien Pouliot [Wed, 15 May 2013 21:17:22 +0000 (17:17 -0400)]
Prefer using AES over Rijndael in newer profiles. SSL/TLS does not need the extra block size and some platforms (e.g. iOS) have a much better implementation for AES
Alex Rønne Petersen [Thu, 16 May 2013 11:57:08 +0000 (04:57 -0700)]
Merge pull request #637 from LogosBible/enetdown
Handle ENETDOWN error if defined.
Alex Rønne Petersen [Thu, 16 May 2013 11:56:43 +0000 (04:56 -0700)]
Merge pull request #638 from directhex/master
Ensure $(DESTDIR)$(mono_libdir)/mono/3.5 exists before installing to it
Jo Shields [Thu, 16 May 2013 11:10:55 +0000 (12:10 +0100)]
Ensure $(DESTDIR)$(mono_libdir)/mono/3.5 exists before installing to it
Prior to
38348361dadd5d9e8a1721ecd3ea31b01952d1e7, the mono/X.X folders
were created when "gacutil /i foo.dll /package X.X" was called. However,
The above commit caused a call to $(INSTALL_DATA) to be executed *before*
gacutil, which caused a copy of Microsoft.Common.targets to be installed
as a file named mono/3.5 instead of into the mono/3.5 folder, on fresh
installs (not a problem installing into an existing prefix).
This commit forces creation of the folder which could potentially not
have been created yet by gacutil.
Jo Shields [Thu, 16 May 2013 11:06:38 +0000 (12:06 +0100)]
Correct list of EXTRA_DISTFILES
EXTRA_DISTFILES is used for tarball generation, it should be a list of files which actually exist
Radek Doulik [Thu, 16 May 2013 10:16:47 +0000 (12:16 +0200)]
added System.Configuration and System.Security to monodroid build to fix it
Rodrigo Kumpera [Thu, 16 May 2013 02:28:04 +0000 (22:28 -0400)]
If the TP monitor thread is signaled, bound the number of spins when sleeping. Workaround for #8186.
Sebastien Pouliot [Wed, 15 May 2013 20:36:54 +0000 (16:36 -0400)]
For HMAC avoid using the hash names to create instances (since it bring CryptoConfig) when under FULL_AOT_RUNTIME. Also simplify the 'legacy' support for 384/512
Sebastien Pouliot [Wed, 15 May 2013 20:29:44 +0000 (16:29 -0400)]
Do not require an exception to detect if SHA1 is used.
Sebastien Pouliot [Wed, 15 May 2013 20:25:59 +0000 (16:25 -0400)]
Avoid calling TripleDES.Create(string), which calls CryptoConfig, when possible (e.g. from the default .ctor) since it makes linked applications smaller
Radek Doulik [Wed, 15 May 2013 20:17:33 +0000 (22:17 +0200)]
add System.Net.Http.Formatting to monodroid build
- changed the Create method with FileOptions to not depend on FileSecurity
to avoid dragging System.Security assembly in monodroid build as well
Rodrigo Kumpera [Wed, 15 May 2013 20:16:58 +0000 (16:16 -0400)]
Make sure we release memory for the runtime generated backtraces.
Rodrigo Kumpera [Wed, 15 May 2013 19:55:16 +0000 (15:55 -0400)]
Make sure we can properly suspend the main thread on Android. Fixes #12112.
* sgen-os-posix.c (sgen_thread_handshake): Never never never never never
use pthread_kill on Android as it doesn't work with the main thread.
This resulted in all sorts of fringe crashes in #12112.
Zoltan Varga [Wed, 15 May 2013 18:11:34 +0000 (20:11 +0200)]
Enable partial generic sharing by default.
Zoltan Varga [Wed, 15 May 2013 17:01:08 +0000 (19:01 +0200)]
Disable the gsharedvt optimizatiom in AOT if it is not supported by the platform.
Zoltan Varga [Wed, 15 May 2013 16:28:24 +0000 (18:28 +0200)]
Shorten some gshared function names.
Zoltan Varga [Wed, 15 May 2013 16:26:32 +0000 (18:26 +0200)]
Add partial sharing support to AOT.
Tom Philpot [Tue, 23 Apr 2013 21:10:06 +0000 (14:10 -0700)]
Handle ENETDOWN error if defined.
Zoltan Varga [Wed, 15 May 2013 00:46:24 +0000 (02:46 +0200)]
Disable a corlib test which can fail on some systems.
Zoltan Varga [Wed, 15 May 2013 00:11:42 +0000 (02:11 +0200)]
Clean up the partial generic sharing code a bit.
Martin Baulig [Tue, 14 May 2013 22:51:23 +0000 (00:51 +0200)]
[xbuild]: Define TargetingClr2Framework.
Martin Baulig [Tue, 14 May 2013 22:24:31 +0000 (00:24 +0200)]
[xbuild]: Fix 4.0/4.5 repo layout.
4.0/Microsoft.Common.* was not installed anywhere, so it could safely
be deleted, and 4.5/M.C.* was previously being installed into
$(prefix)/lib/mono/4.0. It's now in 4.0/M.C.* to match xbuild's
tool version.
This patch does not affect how things are installed, it simply cleans
up the source layout.
Sebastien Pouliot [Tue, 14 May 2013 12:37:31 +0000 (08:37 -0400)]
Simply logic a bit when SslClientStream is only used from inside System.dll
Sebastien Pouliot [Tue, 14 May 2013 12:23:59 +0000 (08:23 -0400)]
Space/tabs unification
Rodrigo Kumpera [Tue, 14 May 2013 18:18:28 +0000 (14:18 -0400)]
Use the native unwinder when Exception::ToString throws.
* exception.c: Add mono_exception_get_managed_backtrace so the code that
deals with unhandled exceptions can produce some stacktrace in case
Exception::ToString itself produces another exception.
This can happen under multiple situations, be it OOM, heap corruption or
bugs in ToString ().
Zoltan Varga [Tue, 14 May 2013 17:43:47 +0000 (19:43 +0200)]
Improve the size of the arm SEQ_POINT implementation a bit.
Zoltan Varga [Tue, 14 May 2013 16:27:32 +0000 (18:27 +0200)]
Enable hw division/remainder on mt in non-thumb mode as well.
Alex Rønne Petersen [Tue, 14 May 2013 01:13:48 +0000 (03:13 +0200)]
Add a missing IS_VFP check for OP_FCLT in the ARM back end.
Alex Rønne Petersen [Tue, 14 May 2013 01:10:58 +0000 (03:10 +0200)]
Remove an unused variable in verify.c.
Alex Rønne Petersen [Tue, 14 May 2013 01:10:43 +0000 (03:10 +0200)]
Kill support for the ancient FPA format on ARM.
Zoltan Varga [Tue, 14 May 2013 00:37:17 +0000 (02:37 +0200)]
Enable hw division on armv7s in ARM mode too.
Zoltan Varga [Mon, 13 May 2013 22:25:11 +0000 (00:25 +0200)]
Fix the build.
Zoltan Varga [Mon, 13 May 2013 20:06:19 +0000 (22:06 +0200)]
Zoltan Varga [Mon, 13 May 2013 18:35:19 +0000 (20:35 +0200)]
Rework the way AOT method addresses are obtained on ios. Instead of emitting direct method addresses, emit a table of branches to the methods. This is position-independent, and it is easier for the linker to handle. Hopefully fixes #12143.
Rodrigo Kumpera [Thu, 2 May 2013 11:03:26 +0000 (07:03 -0400)]
Add regression test for bug #10392.
Rodrigo Kumpera [Thu, 2 May 2013 10:59:26 +0000 (06:59 -0400)]
Don't try to merge interfaces between to non-interface types. Fixes #10392.
MCS used to emit code that would merge two stacks only by one of the interfaces
that two concrete types have.
This is not the behavior on either the SPEC or the MS implementation. It's not
a great one as the selected interface is non-deterministic, while the a parent is.
Sebastien Pouliot [Mon, 13 May 2013 15:09:35 +0000 (11:09 -0400)]
Allow compiling SSL/TLS and NTLM support directly into System.dll to avoid a dependency (on Mono.Security assembly) and avoid code duplication (with mscorlib.dll)
Sebastien Pouliot [Fri, 10 May 2013 21:49:23 +0000 (17:49 -0400)]
Reduce the number of intermediate calls to allow the linker to remove mode code
Sebastien Pouliot [Fri, 10 May 2013 14:02:01 +0000 (10:02 -0400)]
Do not bring Win32 or Linux specific code for iOS NetworkInterface
Zoltan Varga [Mon, 13 May 2013 14:28:32 +0000 (16:28 +0200)]
Make the checks done to detect unhandled exceptions in async invokes more precise so they don't trigger for other calls to mono_runtime_invoke (). Fixes #3338.
Zoltan Varga [Mon, 13 May 2013 02:29:20 +0000 (04:29 +0200)]
Update .gitignore.
Zoltan Varga [Sat, 11 May 2013 13:33:12 +0000 (15:33 +0200)]
Bump the AOT file format version because of
ad141a8b7bda47c3ce28ba210975157e19175eb2.
Sebastien Pouliot [Fri, 10 May 2013 00:15:46 +0000 (20:15 -0400)]
Use FULL_AOT_RUNTIME instead of MONOTOUCH since we only want this code when running on iOS (simulator or devices) and *not* when running tools (e.g. btouch #12179) that needs to use the mscorlib.dll shipped with Xamarin.iOS.
Zoltan Varga [Thu, 9 May 2013 21:38:39 +0000 (23:38 +0200)]
Add stubs for a remoting icall instead of removing it.
Jérémie Laval [Thu, 9 May 2013 20:56:15 +0000 (16:56 -0400)]
[monodoc] Add missing legacy GetTitle method
Jérémie Laval [Thu, 9 May 2013 20:55:44 +0000 (16:55 -0400)]
[monodoc] Add forgotten test file
Zoltan Varga [Thu, 9 May 2013 20:05:03 +0000 (22:05 +0200)]
Avoid using a different layout for the MonoAotFileInfo structure on mt.
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
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'.
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.
Zoltan Varga [Thu, 9 May 2013 16:19:00 +0000 (18:19 +0200)]
Fix a typo.
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
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
Marek Safar [Thu, 9 May 2013 15:42:28 +0000 (17:42 +0200)]
StreamWriter async methods cannot call base TextWriter async methods. Fixes #11979
Marek Safar [Thu, 9 May 2013 12:51:41 +0000 (14:51 +0200)]
Rename AddBasesForPart to SetBaseTypes
Marek Safar [Thu, 9 May 2013 11:54:59 +0000 (13:54 +0200)]
Abstract methods can override virtual methods. Fixes #12138
Marek Safar [Thu, 9 May 2013 11:54:13 +0000 (13:54 +0200)]
Fix TraceSource constructor. Fixes #12001
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
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.
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.
Marek Safar [Thu, 9 May 2013 08:33:13 +0000 (10:33 +0200)]
Fix copyright author
Marek Safar [Thu, 9 May 2013 08:08:14 +0000 (10:08 +0200)]
Populate more win32 version info values. Fixes #8578
Marek Safar [Wed, 8 May 2013 15:47:36 +0000 (17:47 +0200)]
Define internal attribute in case we missed the global initialization.
Marek Safar [Wed, 8 May 2013 15:25:56 +0000 (17:25 +0200)]
Rename parameter name
Marek Safar [Wed, 8 May 2013 15:23:10 +0000 (17:23 +0200)]
Remove extra null key check
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.
Zoltan Varga [Wed, 8 May 2013 11:04:48 +0000 (13:04 +0200)]
Fix support for ldfld/stfld wrappers in gshared code. Fixes #12086.
Neale Ferguson [Tue, 7 May 2013 22:05:53 +0000 (18:05 -0400)]
Remove unneeded call - lazy support
Zoltan Varga [Mon, 6 May 2013 15:35:10 +0000 (17:35 +0200)]
Add a missing wbarrier to the gsharedvt code.
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.
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.
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.
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
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)
Zoltan Varga [Fri, 3 May 2013 17:50:16 +0000 (19:50 +0200)]
Implement division/remainder in hardware when using armv7s+llvm+thumb.
Martin Baulig [Fri, 3 May 2013 16:36:56 +0000 (18:36 +0200)]
Add facade assemblies to the rpm spec file.
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
root [Fri, 3 May 2013 11:56:05 +0000 (11:56 +0000)]
Implemented async methods in System.Data.Common
Martin Baulig [Thu, 2 May 2013 18:56:29 +0000 (20:56 +0200)]
Hmm, 'dist-local: dist-default', maybe ...
Martin Baulig [Thu, 2 May 2013 18:37:39 +0000 (20:37 +0200)]
Fix 'make dist'.
Martin Baulig [Thu, 2 May 2013 18:13:05 +0000 (20:13 +0200)]
Fix linux build (/r:System.Xml, not System.XML).
Martin Baulig [Wed, 13 Mar 2013 22:35:25 +0000 (18:35 -0400)]
Add PCL Facade assemblies.
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.
Aaron Bockover [Wed, 1 May 2013 22:10:06 +0000 (18:10 -0400)]
mac-reachability.c: enable for TARGET_IOS
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
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
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.
Sebastien Pouliot [Wed, 1 May 2013 20:19:44 +0000 (16:19 -0400)]
[ios] throw an TimeZoneNotFoundException if the timezone name is unknown
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
Sebastien Pouliot [Wed, 1 May 2013 18:30:56 +0000 (14:30 -0400)]
Remove reflection usage to access NSTimeZone for iOS
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.
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
Zoltan Varga [Tue, 30 Apr 2013 22:51:23 +0000 (00:51 +0200)]
Fix support for reference types in unbox.any in gsharedvt code.
Jb Evain [Tue, 30 Apr 2013 22:34:09 +0000 (00:34 +0200)]
Add new net_4_5 class System.Web.MimeMapping
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.
Vincent Povirk [Mon, 29 Apr 2013 21:36:49 +0000 (16:36 -0500)]
Implement reading byref variants.
This commit is licensed under MIT/X11.
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
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
Marek Safar [Mon, 29 Apr 2013 16:02:58 +0000 (18:02 +0200)]
Run repl in unsafe mode by default