Compare commits

...
916 Commits
Author SHA1 Message Date
Sebastien Pouliot 313cb0f6be Do not assume AddressList[0] has the address the test wants, that's not always the case, and not what UdpClient should be testing 2013-06-20 15:46:55 -04:00
Michael Hutchinson 8f3522361b [man] document MONO_CAIRO_DEBUG_DISPOSE 2013-06-20 14:06:30 -04:00
Miguel de Icaza 60834f6475 Merge pull request #666 from mhutch/cairo-fix-3.0
Mono.Cairo improvements
2013-06-20 10:56:48 -07:00
Sebastien Pouliot 1065fe4e2b [ios] Ignore the WindowsIdentityTest.SerializeRoundTrip test on iOS (see #12789) 2013-06-20 09:32:35 -04:00
Mark Probst 9f19f605d3 [sgen] Fix a Clang warning. 2013-06-19 17:02:44 -07:00
Rodrigo Kumpera 731080c76b [sdb] Add a test case for returning the right error when a m2n frame has no information. 2013-06-19 19:42:30 -04:00
Michael Hutchinson 86b07679f7 [Mono.Cairo] Use getter methods for returning IDisposables
This makes it a bit clearer that the caller is responsible for
disposing IDisposable objects returned from any method.
2013-06-19 18:37:36 -04:00
Michael Hutchinson 7085bed36e [Mono.Cairo] Clean up Region's Dispose/ctor 2013-06-19 18:37:25 -04:00
Michael Hutchinson 0bb971d513 Make debug more robust 2013-06-19 18:37:14 -04:00
Mike Kestner 9ce4c0db33 Mono.Cairo: Add Region class for cairo_region_* API added in cairo 1.10
The Region type is needed for new API introduced by GDK 3.0.

This requires cairo 1.10 or above.
2013-06-19 18:37:03 -04:00
Bertrand Lorentz 16f4114159 Mono.Cairo: Re-order a few native methods and update API index URL 2013-06-19 18:36:54 -04:00
Bertrand Lorentz befd617058 Mono.Cairo: Fix names of native functions used in PSSurface
It seems cairo_ps_surface_begin_* functions never existed, they were
always named cairo_ps_surface_dsc_begin_*.

Conflicts:
	mcs/class/Mono.Cairo/Mono.Cairo/PSSurface.cs
2013-06-19 18:36:44 -04:00
Cameron White 461fd11d95 Mono.Cairo: Fix rectangles returned by StrokeExtents and FillExtents
The third and fourth parameters of the Rectangle constructor are width
and height, but cairo_stroke_extents and cairo_fill_extents give right
and bottom coordinates.

Signed-off-by: Bertrand Lorentz <[email protected]>

Conflicts:
	mcs/class/Mono.Cairo/Mono.Cairo/Context.cs
2013-06-19 18:36:34 -04:00
Michael Hutchinson d5b2ccb50f [Mono.Cairo] Put some classes in separate files 2013-06-19 18:36:22 -04:00
Michael Hutchinson 7fb3dc1e9f Introduce Mono.Cairo to the concept of reference ownership
Also:
  * improving naming consistency
  * obsolete old/broken stuff
  * clean up tabs/space mix

NOTE: this removes the wrapper caches for Pattern and Surface as
there was no reliable way to clear them.

Conflicts:
	mcs/class/Mono.Cairo/Mono.Cairo/Context.cs
2013-06-19 18:36:11 -04:00
Michael Hutchinson 0d1b8bed31 [Mono.Cairo] Add mechanism to debug missing Dispose calls
by setting a new MONO_CAIRO_DEBUG_DISPOSE env var
2013-06-19 18:36:00 -04:00
Michael Hutchinson abc2892889 [Mono.Cairo] Clean up dispose implementations 2013-06-19 18:35:47 -04:00
Rodrigo Kumpera eba22c4e18 [sdb] When a frame is missing it's context, report absent information instead of invalid frame.
* debugger-agent.c (frame_commands): When a thread is suspended in native code its top frame
	will be missing a context, so it's not possible to inspect it. Instead of reporting an invalid
	frame, it makes more sense to report unavailable data as this is the right clue for clients.
2013-06-19 18:05:28 -04:00
Rolf Bjarne Kvinge cf87ac832f Fix 64bit long alignment on Apple platforms when using Clang.
__alignof__ doesn't work properly with Clang (it returns 8 instead of 4)
in this case.
2013-06-19 00:19:02 +02:00
Zoltan Varga b39c8299da Fix the build. 2013-06-18 01:20:10 +02:00
Zoltan Varga 0b258fe3a2 Fetch TLS offsets from GOT slots when using AOT instead of embedding them in code, since the offsets can be different at runtime. Reorganize the OP_TLS_GET emission code. 2013-06-17 23:55:49 +02:00
Martin Baulig 691a961db7 Fix the .spec file. 2013-06-17 22:32:22 +02:00
Zoltan Varga ef5f374520 Unify the tail call handling code with the normal call handling code a bit. 2013-06-15 22:50:39 +02:00
Rodrigo Kumpera d6c5db881b Mark MonoCMethod (runtime subclass of ConstructorInfo) as serializable. Fixes #12611 2013-06-14 19:04:55 -04:00
Rodrigo Kumpera eff2914eaf Add lldb support to our thread dump capabilities. 2013-06-14 16:49:07 -04:00
Jonathan Pryor 8c7397406e [Mono.Posix] Fix time_t conversions.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=12686

Mono.Unix.UnixFileSystemInfo.LastWriteTime & co. were hilariously
wrong. Just...hilariously wrong.

	$ ls -l bxc12686.exe
	-rwxr-xr-x  1 jon  staff  4096 Jun 14 15:43 bxc12686.exe

	$ csharp -r:Mono.Posix
	csharp> new Mono.Unix.UnixFileInfo("bxc12686.exe").LastWriteTime;
	6/14/2013 7:43:12 PM

Note: I'm currently in EDT (US Eastern Daylight Time). LastWriteTime
is supposed to be in the local time; it's 4 hours off (which also
happens to be the EDT UTF offset: -4:00).

The fundamental problem was that NativeConvert.FromTimeT() was written
for pre-.NET 2.0 environments, which precluded use (or knowledge of!)
DateTimeKind. Now that .NET 1.1 is no longer supported, and 2.0 is on
the its deathbead (bring on 4.5!), we can be smarter and let DateTime
sanely handle the conversion logic for us.

After the fix:

	$ csharp -r:Mono.Posix
	csharp> new Mono.Unix.UnixFileInfo("bxc12686.exe").LastWriteTime;
	6/14/2013 3:43:12 PM
2013-06-14 16:18:47 -04:00
Zoltan Varga 0418ecd930 Small llvm+gsharedvt changes. 2013-06-14 20:48:06 +02:00
Rodrigo Kumpera a9083067da Add TLS offset probing to mach-arm in the same way it's done on x86. 2013-06-13 18:50:02 -04:00
Rodrigo Kumpera f8b3c4142f Kill some unused code that is a leftover from when TPL had a managed scheduler. 2013-06-13 18:50:01 -04:00
Rodrigo Kumpera 19bb19f699 Add TLS offset probing to mach-amd64 in the same way it's done on x86. 2013-06-13 18:49:56 -04:00
Rodrigo Kumpera 1fd343ac44 Introduce mono_runtime_init_tls to centralize all of the late runtime TLS initialization.
TLS initialization must be done as early as possible since runtime initialization
might be intermingled with 3rd party code running that sometimes create additional
slots. Those extra TLS slots do interfere with AOT compilation that might see a
different set of offsets when compiling than when running.

The current piece of problem is AOT image loading. If the AOT image is not found,
the dynamic linker in 10.9 will create a TLS slot to hold error data. AOT image
loading is triggered in between the creation of the runtime TLS slots.

Since AOT image loading never happens during compilation, the dynamic linker
would never create the slot and things would otherwise remain working.

The solution is to move all TLS initialization to before any assembly is loaded
and, transitively, AOT image loading.
2013-06-13 17:05:06 -04:00
Rodrigo Kumpera bd8cc934ed Force the runtime on OSX to use a 8Mb stack.
This change doesn't affect any of the cats that default to 8Mb.

We need a significantly big main stack because mcs is implemented
in a recursive fashion and, right now, parts of the corlib test suite
require in excess of 1Mb of stack space to compile.
2013-06-13 17:03:18 -04:00
Zoltan Varga 4bd4f91206 Make the MONO_DISABLE_SHARED_AREA env variable actually work. Fixes #12655. 2013-06-13 17:01:46 +02:00
Zoltan Varga 0ea69f7fcc Fix more warnings/unitialized memory errors. 2013-06-13 17:01:46 +02:00
Atsushi Eno 643e27947b slightly change missing monolite error message.
context: https://twitter.com/k1iguchi/status/345084575019577345
2013-06-13 17:58:34 +09:00
Marek Safar 4abd716296 Merge pull request #662 from cdrnet/fix-biginteger-gcd
[System.Numerics] BigInteger.GCD(0,x) must return abs(x) instead of x
2013-06-12 23:10:31 -07:00
Zoltan Varga 162140f81f Fix a memory overwrite in the gsharedvt jit code. 2013-06-13 00:29:44 +02:00
Christoph Ruegg c9cc1d15cd [System.Numerics] BigInteger.GCD(0,x) must return abs(x) instead of x
According to the docs and matching the behavior in .Net, BigInteger's
GreatestCommonDivisor must return the absolute value of the non-zero
parameter if one of the parameters is zero.

Contains a fix and extended unit tests to cover the case.
2013-06-13 00:06:41 +02:00
Rodrigo Kumpera 616f6d2178 Make test more robust against conservative stack scanning. 2013-06-12 16:16:49 -04:00
Rodrigo Kumpera 93430d8ffe Fix an unitialized variable bug. 2013-06-12 15:55:15 -04:00
Rodrigo Kumpera a228ea49e8 Fix configure.in detection of -Wunused-but-set-variable support under clang. 2013-06-12 15:42:50 -04:00
Rodrigo Kumpera 3be3dc5d16 Perform TLS offset detection during startup.
* mono-suppport-x86.c (mono_mach_init): Probe TLS slots using an
	unlikely canary. Right now only two offsets are known.

	* mono-threads.c (mono_threads_init): Initialize mach from here
	as remote TLS reads are required for mono-threads to work.
2013-06-12 15:42:50 -04:00
Rodrigo Kumpera 5a48d055e2 Move unload_data to the heap and it can outlive the initiator.
The unload thread stores TRUE to the done field when unloading
ends so the initiator can break out of the wait loop in case its
thread doesn't belong to the domain been unloaded but was still
aborted.

This means that the initiator could be gone when the unload
thread stores into the done field. This is now a random write
to the thread stack, which has a high chance of causing crashes.

The solution is to move the unload_data to the heap and refcount
it so we can release it safely.
2013-06-12 15:42:49 -04:00
Zoltan Varga a2dbbdcb58 Use the same code for aot alignment checks in aot-compiler.c and aot-runtime.c. 2013-06-12 20:28:16 +02:00
Gonzalo Paniagua Javier 9b2e52a86a Merge pull request #631 from kebby/master
Fix race condition in System.Net.WebConnectionStream
2013-06-12 11:14:20 -07:00
Tammo 'kb' Hinrichs 170fc3aaf7 Reverted whitespace changes 2013-06-12 19:52:14 +02:00
Zoltan Varga 650d09e319 Revert "Add beginnings of a managed IL disassembler which uses Mono.Cecil. Not yet part of the build."
This reverts commit 535e76a058.

Revert this as we will be using something else.
2013-06-12 18:33:33 +02:00
Zoltan Varga 042b86c024 Add support for nullables to box/unbox in gsharedvt code. 2013-06-12 17:31:41 +02:00
Martin Baulig c016756546 Bump ikvm to 10b8312c8024111780ee382688cd4c8754b1f1ac. 2013-06-12 04:17:37 +02:00
Martin Baulig 27872586c0 Add System.Net to runtime remapping list. 2013-06-12 04:05:35 +02:00
Zoltan Varga 84be0c5e8b Fix the arm build. 2013-06-11 23:33:49 +02:00
Zoltan Varga d902cd4d21 Allow Nullable.Box/Unbox to be compiled as gsharedvt methods. 2013-06-11 23:32:51 +02:00
Rodrigo Kumpera 043b9d2025 Fix new BigInteger().GetHashCode() to not throw. 2013-06-11 15:55:48 -04:00
Rodrigo Kumpera c9b90f8f5b Fix delegate combine when left side has already been invoked. 2013-06-11 15:08:59 -04:00
Rodrigo Kumpera f9dac2ef19 Better handle default value BigInteger. Fixes #11945 2013-06-11 15:08:59 -04:00
Martin Baulig f4a11f47a3 [PCL]: System.Windows and System.Xml.Serialization are no Facade Assemblies. 2013-06-11 20:58:54 +02:00
Zoltan Varga 8dd12eab7f Allow the gsharedvt info/local vars to be register allocated. 2013-06-11 12:01:47 +02:00
Zoltan Varga 42a5695cc8 Optimize generated gsharedvt code: Load information from the gsharedvt_info variable instead of using an rgctx fetch trampoline, use optimized memcpy/bzero methods. 2013-06-11 11:27:06 +02:00
Rodrigo Kumpera 8480455584 Handle shifts by multiple of 32 correctly. Fixes #10887. 2013-06-10 18:31:46 -04:00
Zoltan Varga 31bf37d6d4 Add specialized memcpy/bzero methods to String which are called from gsharedvt code. 2013-06-10 23:10:34 +02:00
Zoltan Varga 23171bc457 Eliminate the use of localloc in gsharedvt methods which have no gsharedvt locals. 2013-06-10 16:09:50 +02:00
Alex Rønne Petersen f605c6478e Fix a couple of warnings in appdomain.c and threads.c. 2013-06-10 12:47:40 +02:00
Zoltan Varga 249c70882f Fix a typo in e5c45f1161. 2013-06-10 11:20:22 +02:00
Zoltan Varga c6c4b895ba Disable gc-altstack.exe on wrench until it is fixed (#12610). 2013-06-09 23:38:36 +02:00
Zoltan Varga adcaf49915 Rework the gsharedvt code to add support for vtypes with arbitrary size. 2013-06-09 23:17:12 +02:00
Marek Safar 2c02ea78df Merge pull request #658 from cdrnet/fix-bad-formatstring-forwarding
Complex.ToString must not pass format string to string.Format
2013-06-09 07:28:32 -07:00
Christoph Ruegg 9f43b4c822 Complex.ToString must not pass format string to string.Format
Type: System.Numerics.Complex

IFormattable format strings and string.Format formats are different
and incompatible. For example, `x.ToString("G")` and `x.ToString(null)`
must be equivalent to `x.ToString()`, but they behave very differently
with string.Format, where the former just returns "G" and the latter
throws an ArgumentNullException.

Changes System.Numerics.Complex.ToString to pass the format string to
double.ToString instead of string.Format.

Adds UnitTests for the changes in new ComplexTest.cs file
2013-06-09 16:19:43 +02:00
Marek Safar e4a5774ba8 Merge pull request #657 from jbevain-forks/thread-safe-cs-code-generator
Prevent multiple threads to populate the keyword table
2013-06-07 14:58:09 -07:00
Jb Evain 53e77d3628 Prevent multiple threads to populate the keyword table 2013-06-07 23:51:47 +02:00
Marek Safar 896975c58e Resolve switch cases without look aheah look-up. Fixes #12583 2013-06-07 18:40:37 +02:00
Sebastien Pouliot 50ab3fadd1 [ios] Remove code path using UseMachineKeyStore since it's not available (and bring extra code inside applications) 2013-06-07 11:10:59 -04:00
Rodrigo Kumpera 7d5f81f04d Fix the desktop test suite. 2013-06-07 10:42:28 -04:00
Martin Baulig 43dff8bd0a [System.ComponentModel.Composition]: Disable RefEmit classes on MonoTouch. 2013-06-07 03:39:55 +02:00
Rodrigo Kumpera e37d1d6103 Add regression test for wrench bug where an appdomain unload would race with shutdown and deadlock. 2013-06-06 19:04:49 -04:00
Rodrigo Kumpera 41a6f4267b Fix race condition between a domain unload and a runtime shutdown.
When a regular runtime shutdown and a domain unload starts mostly in parallel
it might happen that the unload initiator will deadlock waiting on the unload thread
for two reasons:

The unload thread will block when attaching as the runtime believe it's better
to not finish it as it's going down. To fix this we now use mono_thread_attach_full
and force it to be attached.

The unload initiator might deadlock on the wait loop if the shutdown initiator aborts
it instead of the unload thread. This happens if the unload was done from outside of
the domain been teared down.

The fix here is to add a variable that the initiation test on every loop, which is the
right thing to do when using wait loops on handles. This might degrade into a busy
loop when the above race condition happens. It's rare enough that it's not worth
fixing it now.
2013-06-06 19:00:06 -04:00
Rodrigo Kumpera 523648de78 Add mono_thread_attach_full function that can forces a thread to be attached during shutdown.
A thread must be forcibly attached during shutdown if the runtime needs it to run and needs it
to be functional.
2013-06-06 19:00:06 -04:00
Rodrigo Kumpera 1ab5169f9c Make threadpool_clear_queue resistant to concurrent runtime shutdown.
If threadpool_clear_queue is called while the runtime is been shutdown
it might crash since the queue will have been cleaned.

So now we guard against null queues and bail out from appending
the existing jobs if shutdown was initiated.
2013-06-06 19:00:06 -04:00
Rodrigo Kumpera 9b24f8c58b Run more runtime tests on wrench. 2013-06-06 19:00:06 -04:00
Zoltan Varga b31bb33f5f Rename the JIT test classes so they can be run on MT too. 2013-06-06 21:51:36 +02:00
Marek Habersack 07d97ab605 Merge pull request #655 from zgramana/master
Adds MemoryCacheEntryPriorityQueue heap index checks
2013-06-06 09:32:29 -07:00
Zachary Gramana f8d1e1c791 [Caching] Adds some checks for overflow and valid bounds on heap indexes. 2013-06-06 11:41:04 -04:00
Zoltan Varga 2424b67a3b Fix a regression introduced by 6285a057a2: Use the proper value to calculate whenever to do a near call on amd64. Fixes #12541. 2013-06-06 17:23:42 +02:00
Jérémie Laval 04618c1810 [monodoc] Cache assembly loaded with MonoImpInfo. Patch by Aaron Oneal. 2013-06-06 10:51:37 -04:00
Jérémie Laval 9c4ee21732 [monodoc] Use CLEAN_FILES rather than overriding clean-local 2013-06-06 10:51:10 -04:00
Jérémie Laval 05ea21e6e2 [monodoc] Remove .config file when cleaning 2013-06-06 10:39:28 -04:00
Marek Safar fed54ce181 Check class level type parameters used in explicit delegate parameters conversion. Fixes #12568 2013-06-06 14:30:51 +02:00
Marek Safar a4fdd2cf6e Correct encoding transformation flags for type arguments arrays without dynamic element. Fixes #12572 2013-06-06 11:54:20 +02:00
Marek Safar 8d89242edb Keep hoisted this when lambda parent is async lambda. Fixes #12549 2013-06-06 10:51:55 +02:00
Jérémie Laval 58131c2ee0 [mdoc] Pass the right HelpSource as a hint to the renderer to avoid generating system-provided doc. 2013-06-05 19:55:04 -04:00
Rodrigo Kumpera 26da5bd22a Rework the shutdown sequence so two initiations don't race each other.
This fixes a race condition where two threads could perform runtime shutdown
	at the same time and either crash or hang. Now each initiation checks if they
	won and take the proper action in such case.

	A recurring problem was with the debugger, that would hang on shutdown if the
	main thread started shutdown earlier. In this case the agent thread would
	call into mono_threads_set_shutting_down, which in turn would do an ExitThread
	since shutdown was in progress.

	The agent thread would exit without signaling that it did complete, causing
	the main thread to block waiting for it to do so.

	* runtime.c (mono_runtime_shutdown): Rename it to mono_runtime_try_shutdown
	and move threadpool cleanup to here. Some cleanup of the rest of the sequence
	still left to do.

	* icall.c (Environment.Exit): If we fail to start shutdown, just exit
	the thread as someone else will finish the job. We can't suspend because if
	this is called by regular shutdown we would be resumed and return to user code.

	An alternative would be to detach and then suspend. Not sure on the merits.

	* threads.c (mono_thread_manage): If we fail to start shutdown, suspend
	as this is what the winner initiator wants us to do as it must be for
	forced exit.

	* debugger-agent.c (vm_commands): If we fail to start shutdown, return
	from the function and let the agent thread finish and clean up.

	* debugger-agent.c (debugger_thread): VM_EXIT commands now can return
	if shutdown was externaly initiated and in such case we should break
	the main loop and let the agent thread finish.
2013-06-05 19:43:32 -04:00
Rodrigo Kumpera 56c238dd85 Move mono_runtime_set_shutting_down and mono_runtime_is_shutting_down to runtime.c 2013-06-05 19:43:32 -04:00
Rodrigo Kumpera 70720724e1 Don't set shutting_down here as it is now done much earlier in the shutdown sequence. 2013-06-05 19:43:31 -04:00
Rodrigo Kumpera 47a4a0b343 Kill unused func mono_threads_is_shutting_down. 2013-06-05 19:43:31 -04:00
Rodrigo Kumpera 17ea95e5e3 Detach the current thread as soon as possible when mono_gc_pthread_exit is called.
* sgen-gc.c (mono_gc_pthread_exit): Given the current thread is doomed, explicitly
	detach before calling pthread_exit and thus reducing the chance of TLS cleanup issues.
2013-06-05 19:43:31 -04:00
Jérémie Laval b857932b57 [monodoc] Ditto for fetching type node parents of subnodes. 2013-06-05 19:41:07 -04:00
Jérémie Laval ff817916b8 [monodoc] Fix ecma traversal with unattached tree.
Previously the code expected to stop at upper level node using the fact that their element starts with `root:/'. This element is attributed by RootNode when loading a complete tree. However tool like mdoc also loads tree unattached which doesn't create a standard `root:/` top-level root node hence causing the issue.
2013-06-05 19:04:04 -04:00
Martin Baulig a84dee6d10 Build System.Net on mobile (type-forwarders for PCL). 2013-06-05 23:09:08 +02:00
Sebastien Pouliot a60aa8fb41 Exclude the new System.IO.Directory unit test for iOS (no Mono.Unix) 2013-06-05 15:00:33 -04:00
Sebastien Pouliot 7e6673ce04 Add monotouch_corlib.dll.sources (to simply include corlib.dll.sources) since library.make change it's processing with its presence 2013-06-05 13:44:55 -04:00
Rodrigo Kumpera c21b959408 Fix 2.0 build. 2013-06-05 12:44:34 -04:00
Jonathan Pryor 322d5bd38f [System.Core] Add AesCryptoServiceProvider to the MONODROID profile.
Context: System.Security.Cryptography/AesCryptoServiceProvider.cs

Add System.Security.Cryptography.AesCryptoServiceProvider to the
MONODROID profile.

This is needed so that Aes.Create() can work.
2013-06-04 19:40:16 -04:00
Rodrigo Kumpera d6fd0cde05 Make sure the behavior between GetFiles and EnumerateFiles are the same regarding symlinks. Fixes BXC #12461
* Directory.cs: Only ignore symlinks when traversing subdirectories. This is the only case that it can result
	in loops.
2013-06-04 18:49:34 -04:00
Rodrigo Kumpera e16eacc268 Fix a loader leak in mono_class_create_from_typedef. 2013-06-04 17:41:57 -04:00
Sebastien Pouliot f39dc2adcd [ios] Remove the need to use reflection to call the StartWWAN method (by moving it into libmonotouch) 2013-06-04 14:42:44 -04:00
Martin Baulig 25dbd0829e [PCL]: Set Facade Assemblies' version number to "4.0.0.0". 2013-06-04 18:14:53 +02:00
Sebastien Pouliot f9ebdc5615 Re-enable a test for the MOBILE profile (by ensuring the required method is not removed by the linker) 2013-06-04 10:58:40 -04:00
Zoltan Varga 013a38cfba Implement MethodMirror.MakeGenericMethod (). 2013-06-04 08:01:32 +02:00
Jonathan Pryor b1f4d6dfcc [corlib] Don't throw UnauthorizedAccessException from Path.GetTempFileName
The problem is sporadic mdoc test failures on Wrench/OS X:

	Updating: Mono.DocTest.Widget/NestedClass/Double/Triple/Quadruple
	mdoc: System.UnauthorizedAccessException: Access to the path '/var/folders/_g/y9v720_90l914yylrk7m903c0000gn/T/tmp20f71445.tmp' is denied.
	  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
	  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool,System.IO.FileOptions)
	  at System.IO.Path.GetTempFileName () [0x00000] in <filename unknown>:0
	  at Mono.Documentation.MdocFile.UpdateFile (System.String file, System.Action`1 creator) [0x00000] in <filename unknown>:0
	  at Mono.Documentation.MDocUpdater.WriteFile (System.String filename, FileMode mode, System.Action`1 action) [0x00000] in <filename unknown>:0
	  at Mono.Documentation.MDocUpdater.DoUpdateType2 (System.String message, System.Xml.XmlDocument basefile, Mono.Cecil.TypeDefinition type, System.String output, Boolean insertSince) [0x00000] in <filename unknown>:0
	  at Mono.Documentation.MDocUpdater.DoUpdateType (Mono.Cecil.TypeDefinition type, System.String basepath, System.String dest) [0x00000] in <filename unknown>:0
	  at Mono.Documentation.MDocUpdater.DoUpdateAssembly (Mono.Cecil.AssemblyDefinition assembly, System.Xml.XmlElement index_types, System.String source, System.String dest, System.Collections.Generic.HashSet`1 goodfiles) [0x00000] in <filename unknown>:0
	  at Mono.Documentation.MDocUpdater.DoUpdateAssemblies (System.String source, System.String dest) [0x00000] in <filename unknown>:0
	  at Mono.Documentation.MDocUpdater.Run (IEnumerable`1 args) [0x00000] in <filename unknown>:0
	  at Mono.Documentation.MDoc.Run (System.String[] args) [0x00000] in <filename unknown>:0
	  at Mono.Documentation.MDoc.Main (System.String[] args) [0x00000] in <filename unknown>:0

I'm not sure why we're getting UnauthorizedAccessException exceptions,
nor do I particularly care; Path.GetTempFileName() should not be
throwing UnauthorizedAccessException; only IOException is documented:

	http://msdn.microsoft.com/en-us/library/system.io.path.gettempfilename.aspx

Update behavior to skip files that generate
UnauthorizedAccessException, and if we swallow short.MaxValue
exceptions wrap the UnauthorizedAccessException in an IOException so
that we conform to documented exceptional behavior.
2013-06-03 16:57:31 -04:00
Marek Safar c3bd60f842 Merge pull request #653 from LogosBible/TimeSpan-TryParseExact
TimeSpan.TryParseExact should not try to parse null input.
2013-06-03 09:12:47 -07:00
Martin Potter 822184746f TimeSpan.TryParseExact should not try to parse null input.
TimeSpan.TryParseExact would previously throw a NullReferenceException constructing the Parser when it accesses the Length property of the input string. Microsoft's implementation returns false when null is passed as the input string to parse.
2013-06-03 07:32:10 -07:00
Zoltan Varga 1479e24be5 Disable partial sharing for now, it breaks some tests on mt. 2013-06-03 15:56:43 +02:00
Atsushi Eno c72d1b7f0b a few more nunit test modernization. 2013-06-03 17:00:21 +09:00
Atsushi Eno 5aaa3ce00b convert some unit tests to modern style. (not really modern, just killing Assertion!) 2013-06-03 16:51:22 +09:00
Alex Rønne Petersen c01342d8d1 Use /proc/self/auxv for ARM feature detection when possible.
This is generally preferable because it works in QEMU chroots and
the information is significantly easier to process.

We still need to keep the /proc/cpuinfo code around, however, as
Android does not always allow access to /proc/self/auxv...

This patch also enhances the MONO_CPU_ARCH environment variable
to support the various new features we support.
2013-06-03 07:34:43 +02:00
Zoltan Varga db9c0bacde Use MonoBoolean instead of gboolean as an icall return type. 2013-06-03 07:33:18 +02:00
Alex Rønne Petersen f6f485f61c Ignore all cpu-*.h files in mono/mini. 2013-06-02 19:39:24 +02:00
Marek Safar 3fa714d922 Merge pull request #651 from JoostK/patch-1
Shortcut open paren recognition for switch statements
2013-06-02 09:53:20 -07:00
Zoltan Varga 968bd783b6 Fix constrained gsharedvt calls on enums. 2013-06-02 11:49:59 +02:00
Zoltan Varga 4bb1ab7dec [sdb] Clear ss_invoke_addr when stopping single stepping so runtime invokes don't stop single stepping. Fixes #12509. 2013-06-02 06:36:29 +02:00
Zoltan Varga 7a2bc28ed9 Get rid of the NESTED_LIBGC_FLAGS configure variable, use the already existing CPPFLAGS_FOR_LIBGC instead. 2013-06-01 09:18:51 +02:00
Zoltan Varga 5535c13577 Pass some defines in config.h instead of on the command line. 2013-06-01 09:14:29 +02:00
Zoltan Varga 8170bf67b1 [sdb] Keep the exception object alive during debugger suspensions. Fixes #12494. 2013-06-01 07:05:05 +02:00
Joost Koehoorn 9287b2354e Shortcut open parent recognition for switch 2013-06-01 03:48:15 +02:00
Sebastien Pouliot fa6625a8e7 Fix random unit test failures on the bots [#12493] 2013-05-31 15:44:39 -04:00
Jeffrey Stedfast f55bb35832 [Mono.Debugger.Soft] Updated closed/disconnected state when connection is force-closed 2013-05-31 14:27:30 -04:00
Atsushi Eno 6d153cd581 [mkbundle] do not require dos2unix (and sh) on Windows. Skip it if it does not exist. 2013-05-31 18:08:20 +09:00
Rolf Bjarne Kvinge ad85fd1fb5 Make all symbols visible for MonoTouch.
MonoTouch may use a shared libmono with AOT-compiled assemblies,
and the AOT-compiled assemblies need to access internal symbols
from libmono. The monotouch runtime also uses a few internal
API.

So the easiest way to fix both these cases is to make everything
public for MonoTouch. The libmono used will always be in sync
with the AOT-compiled code, so ABI-breakage is not a concern.
2013-05-30 23:48:49 +02:00
Rolf Bjarne Kvinge 142b670dae [System] Don't use System.Reflection.Emit if we're in a FullAOT runtime. 2013-05-30 23:48:48 +02:00
Rodrigo Kumpera 9015a7f609 Improve the reliability and error reporting of the TPL Dataflow test suite. 2013-05-30 15:43:25 -04:00
Zoltan Varga dbbb5ff89b Revert "Pass more defines in config.h instead of on the command line. Pass libgc defines to libgc only."
This reverts commit cff0ecb816.

Revert this as boehm-gc.c depends on the libgc defines.
2013-05-30 18:11:47 +02:00
Zoltan Varga cff0ecb816 Pass more defines in config.h instead of on the command line. Pass libgc defines to libgc only. 2013-05-30 10:59:05 +02:00
Zoltan Varga ff166ea8dd Disable locking around archive accesses in libtool on darwin, it doesn't seem to be necessary and it slows down parallel builds. 2013-05-30 07:58:27 +02:00
Zoltan Varga 8a7e0c825e Enable dolt on ios builds. 2013-05-30 07:57:04 +02:00
Zoltan Varga 655afb183b Remove the #ifdef HAVE_SGEN_GC dependency from main.c by using a separate main-sgen.c file for sgen. 2013-05-30 05:15:18 +02:00
Zoltan Varga dbc3713dcd Fix a warning. 2013-05-30 05:13:43 +02:00
Zoltan Varga c43c9f5b26 Avoid putting a duplicate -arch i386 into CPPFLAGS, it prevents ccache from working. 2013-05-30 05:13:33 +02:00
Zoltan Varga edd0b3a153 Use gsharedvt for some generic instances in full-aot mode to avoid code blowup. 2013-05-30 03:34:56 +02:00
Zoltan Varga fa885472fa Move the adding of unbox trampolines to mini_add_method_trampoline (). 2013-05-30 02:48:52 +02:00
Sebastien Pouliot 8bb86180f6 [ios] Allow some level of configuration when CryptoConfig is used (as a last resort fallback) 2013-05-29 16:52:50 -04:00
Sebastien Pouliot 3be80a930d Remove MOBILE defines inside X509Chain tests 2013-05-29 14:55:08 -04:00
Jonathan Pryor 574dbc8ec4 [mdoc] Fix unit tests.
3d3fe6af (among other commits...) "broke" the `mdoc` unit tests, as it
did two things:

 1. It added a new codepath calling string.Format(), thus introducing
    a new set of exceptions.
 2. Due to an `mdoc` bug, (1) resulted in a stack overflow on OS X.

(1) demonstrates that the mdoc unit tests might be too brittle.

(2) was fixed in 04bf9ad.

The problem with 04bf9ad, though, is that it resulted in a gigantic
~212MB diff, because while the recursion was "fixed", we could still
process the same method multiple times, resulting in _lots_ of
duplication, e.g. System.String.get_Chars() would be repeated hundreds
of times for a given exception.

Improve the source reporting mechanism so that instead of a
List<MemberReference> we use a HashSet<MemberReference>, listing each
source location _once_ instead of repeating them.

The _formatting_ of the <exception/> element is also changed so that
each source location is on its own line, making it easier to read and
review the locations.
2013-05-29 12:03:52 -04:00
Zoltan Varga 4e7ae2dd80 Use a different function for emitting write barriers for gsharedvt types which can handle reference types too. Fixes #12429. 2013-05-29 16:26:56 +02:00
Zoltan Varga 4ffdf1cd94 Avoid calling alloc wrappers directly, sgen does some initialization when the wrapper method is created. 2013-05-29 16:26:02 +02:00
Jonathan Pryor 9f216160f8 [mdoc] Fix export-msxdoc regression, updated expected output.
Commit 44b2b4a8 completely broke `mdoc export-msxdoc` because
EcmaDoc.GetCref() was removed. Expected:

	<member name="C:Mono.DocTest.DocAttribute(System.String)">

Actual:

	<member name="Mono.DocTest.DocAttribute..ctor">

i.e. useless.

The fix: bring back GetCref(), this time within monodocs2slashdoc.cs.

Commit 0ad6ffde changed the HTML-generating stylesheet and moved some
@id attributes around, thus breaking the mdoc unit tests (expected
output likewise changed). Fix the monodoc XSLTs so that we don't emit
id="" attributes (id's with no value).

Update mdoc's expected output so that tests pass[*].

[*]: tests will NOT actually pass, as 04bf9add -- attempted fix for
an OS X stackoverflow caused by 3d3fe6af -- results in a gigantic
216MB diff because String.get_Chars() is repeated over and over and
over... The updated expected output in this commit is the "ideal"
update needed after locally reverting 3d3fe6af and 04bf9add.)
2013-05-29 06:52:53 -04:00
Marek Safar 773aaf7ac7 Enable fixed tests 2013-05-29 11:04:17 +02:00
Marek Safar 02a3f41adf Run YieldAwaitable tests on default synchronization context. Fixes #12446 2013-05-29 11:02:53 +02:00
Zoltan Varga dcfebb9e96 Revert "Use gsharedvt for some generic instances in full-aot mode to avoid code blowup."
This reverts commit 9f36e10b1b.

Revert this as it breaks some mt tests.
2013-05-29 10:51:12 +02:00
Zoltan Varga 9f36e10b1b Use gsharedvt for some generic instances in full-aot mode to avoid code blowup. 2013-05-29 10:12:37 +02:00
Zoltan Varga 33746303e9 Add support for constrained calls to Object.Equals to gsharedvt. 2013-05-29 09:53:42 +02:00
Zoltan Varga 8da1402c8b Disable some YieldAwaitable tests on MT. 2013-05-29 06:41:23 +02:00
Sebastien Pouliot 4bc0c9dfe8 Change code to more linker friendly ways to create MD5 and X509Chain and allow, for iOS, the creation of X509Chain without requiring CryptoConfig 2013-05-28 21:09:06 -04:00
Sebastien Pouliot 48961ea967 Refactor the Mono.Security code to use more linker friendly ways to create hash algorithms 2013-05-28 20:12:15 -04:00
Rodrigo Kumpera 04bf9add68 Avoid direct recursion when computing the exceptions of a method.
* exceptions.cs: When Filling the exceptions of a method make sure
	to not recurse on the methods itself as this can lead to a stackoverflow.
2013-05-28 20:05:37 -04:00
Sebastien Pouliot 5c9cedd328 [ios] Add, as a last resort, the creation of the hash based on it's type name. Needed for some API (which provides it) and the associated unit tests 2013-05-28 19:35:27 -04:00
Marek Safar ec5a3f09b3 Update failing mobile test 2013-05-28 20:34:53 +02:00
Rodrigo Kumpera 7745e11b76 Fix 2.0 corlib test suite. 2013-05-28 14:00:09 -04:00
Rodrigo Kumpera 10bcb9cf69 Older versions of iOS don't have pthread_mutexattr_setpolicy_np so dynamically look up the function and fallback on failure. Fixes #12394 2013-05-28 13:40:29 -04:00
Zoltan Varga 8f1ba93ba3 Fix support for dynamic methods in collect_method_images (). Fixes #12412. 2013-05-28 18:15:19 +02:00
Marek Safar 8cabf341f7 Keep cancellation token for all running requests. Fixes #12349 2013-05-28 11:13:24 +02:00
Marek Safar 50bf3e8d59 Updated CryptoConvert.cs path 2013-05-28 11:13:24 +02:00
Marek Safar 06390644e6 Resolve unreachable block with correct flow settings. Fixes #12361 2013-05-28 11:13:23 +02:00
Zoltan Varga 437c3af12e Fix a reading of invalid memory error introduced by 3f3092b477. 2013-05-28 04:23:33 +02:00
Marek Habersack ada85c64ad Merge pull request #647 from knocte/aspnet_lru
[WebConfigurationManager] Fix memleak by using a LruCache (BXC#5598)
2013-05-27 13:36:05 -07:00
Andres G. Aragoneses 7fe883d9c5 [System.Web] Improve locking logic for WebConfigManager's sectionCache
As suggested by Marek Habersack, instead of catching
SynchronizationLockException in the case that the lock wasn't
acquired, we now have a boolean that indicates if it was
acquired or not, so we can act on it on the finally{} block.
2013-05-27 21:27:33 +01:00
Martin Baulig 7cf71acde0 Bump ikvm to f66ae58 to recognize PCL Facade Assemblies. 2013-05-27 20:03:31 +02:00
Martin Baulig aa3f9d85bb [xbuild]: Remove duplicates from 'TargetFrameworkDirectory'. 2013-05-27 17:41:13 +02:00
Martin Baulig eda8f9416a [WebConnection]: Fix incorrect end-of-stream with null callback.
This fixes #12355/#12395/#5904.

When EndRead() is called with a null "inner" IAsyncResult, then
we should not consider this as an end-of-stream condition.

This happens sometimes when using SSL and chunked encoding.
2013-05-27 15:52:13 +02:00
Marek Safar c48573e1c5 Add more argument checks to RegisterWaitForSingleObject 2013-05-25 10:23:12 +02:00
Marek Safar a53f8f558e Merge pull request #648 from DavidKarlas/defaultDependcyObject
DependencyObject default value
2013-05-24 23:57:57 -07:00
Atsushi Eno 54d8ffe881 forgot to add new source to .sources. 2013-05-25 08:02:46 +09:00
Martin Baulig 5f23d60b1d [xbuild]: Fix conditions for <ItemGroup> inside <Target>. 2013-05-25 00:42:48 +02:00
Atsushi Eno 9aff2b49e8 Use IKVM.Reflection to fully avoid reflection+mscorlib issues. 2013-05-25 07:09:05 +09:00
Zoltan Varga bab31bcb58 Merge some Nacl/ARM changes from https://github.com/igotti-google/mono/commit/65d8d68e8c81cf6adb1076de7a9425c84cab86a3. 2013-05-24 23:41:50 +02:00
Martin Baulig a6d12819a7 [PCL]: Add missing type-forwarder for System.String to System.Runtime. 2013-05-24 23:21:10 +02:00
Rodrigo Kumpera 9151d0e236 [sdb] Fix race condition on test program that would cause a hang when running on wrench. 2013-05-24 15:48:09 -04:00
Atsushi Eno 33da4c0957 the previous change was #fail, the string constants were regarded as preprocessor directives. 2013-05-25 04:31:19 +09:00
Atsushi Eno 1d775b6bd7 add include-less build for XamAndroid. 2013-05-25 04:28:19 +09:00
Miguel de Icaza c1c9dbb538 Put back the tests, we were trying to track down the regressions 2013-05-24 15:20:50 -04:00
Miguel de Icaza f918d5bd4e Document --break with generic methods 2013-05-24 15:18:57 -04:00
David Karlaš 91d3a70571 DependencyProperty of DependencyObject was trowing KeyNotFound exception instead of default value 2013-05-24 20:53:17 +02:00
Martin Baulig 7d92f4652d [System.Drawing]: Disable more broken tests. 2013-05-24 20:16:29 +02:00
Sebastien Pouliot 01c8c99e7b Refactor the [D|R]SACryptoServiceProvider constructors so it's possible for the linker to remove the dependency on the XML parser when CspParameters are not used (saves 42KB) 2013-05-24 10:31:41 -04:00
Atsushi Eno 2e22b9b666 Add some missing MSBuild project model evaluation members. 2013-05-24 11:54:40 +09:00
Atsushi Eno bf17a43b31 Add missing MSBuild Framework interface. 2013-05-24 11:24:26 +09:00
Martin Baulig d97c1a2236 [System.Drawing]: Disable broken tests. 2013-05-24 02:28:24 +02:00
Martin Baulig 5acf92937c Add Microsoft.Portable.CSharp.targets to the .spec file. 2013-05-24 01:59:10 +02:00
Martin Baulig 4d0df722e9 [xbuild]: Implicitly expand PCL2 facade assemblies.
* GetReferenceAssemblyPaths: return the reference assemblies for the
  requested PCL profile.

* ResolveAssemblyReference: always include System.Runtime as a
  dependency; the .targets check for this to determine whether
  we're a PCL2 library.
2013-05-23 21:32:24 +02:00
Martin Baulig 03011419a4 [xbuild]: Provide a real Microsoft.Portable.CSharp.targets 2013-05-23 21:32:24 +02:00
Martin Baulig 2f9542fb1c [xbuild]: Fix reference assembly path. 2013-05-23 21:32:23 +02:00
Sebastien Pouliot 5a00ed32ae Share a bit more code wrt OID/hash so X.509 CRL can use any of them (like the certificates) and make the code a little bit more linker friendly 2013-05-23 15:19:29 -04:00
Martin Baulig 98cdb70bb6 Ooops, variance is not available in 3.5. 2013-05-23 21:16:59 +02:00
Martin Baulig 885e69fc3c [make]: Build Facade assemblies in mcs/class/lib/$(PROFILE)/Facades. 2013-05-23 21:04:32 +02:00
Martin Baulig 934a44f286 [xbuild]: Fix task batching for <ItemGroup> inside <Target>.
This fixes

	<Target Name="Simple">
		<ItemGroup>
			<Foo Include="A;B" />
			<All Include="%(Foo.Identity)" />
		</ItemGroup>
		<Message Text="ALL: @(All)" />
	</Target>
2013-05-23 21:03:26 +02:00
Martin Baulig 091929ac27 [xbuild]: Fix 'make test'. 2013-05-23 21:02:37 +02:00
Rodrigo Kumpera d4018a0b34 Add the hostname into the exception message when doing dns lookups. 2013-05-23 11:24:15 -04:00
Marek Safar 8b7cf63dd3 Implement Task::AsyncWaitHandle. Fixes #12342 2013-05-23 11:11:25 +02:00
Zoltan Varga b07771c53a Avoid the class name check in is_async_state_machine_class (), csc seems to generate a different name. Fixes #12329. 2013-05-22 21:11:02 +02:00
Duncan Mak 21e670b850 Update to 3.0.12 2013-05-22 13:58:06 -04:00
Martin Baulig 42688558b1 [xbuild]: Rename @(_ResolvedDependencyFiles) -> @(ReferenceDependencyPaths) 2013-05-22 19:52:21 +02:00
Martin Baulig 98e84304c5 [xbuild]: Add empty "BuildOnlySettings" target. 2013-05-22 19:51:00 +02:00
Alex Rønne Petersen 6df55cf92a Fix the check in bf9c7dcc5e.
The C preprocessor sucks.
2013-05-22 07:49:03 +03:00
Miguel de Icaza aaf6c21139 Merge pull request #629 from pruiz/syswebrouting-fixes2
[Sys.Web.Routing] Refactor of Route's GetVirtualPath implementation based on System.Web.Http.Routing code in order to fix a few incompatibilities between our implementation and the one at ms.net
2013-05-21 19:36:02 -07:00
Miguel de Icaza 4958a276a6 Merge pull request #644 from knocte/connstrings
[System.Configuration] Remove a misleading MonoTODO in ConnectionStrings
2013-05-21 19:24:36 -07:00
Zoltan Varga f8e4a2b276 Enable partial sharing only in full-aot mode, it slows done generics heavy code like fsharp too much (see the fsharp test in the GC benchmark module). 2013-05-21 23:09:15 +02:00
Sebastien Pouliot b9ca2e5f41 Add support for certificates using RIPEMD160 and add test for them and SHA256/512. Fix bug #11703 2013-05-21 16:33:43 -04:00
Martin Baulig 1fb5b0481b Look for facade assemblies in $(mono_libdir)/4.5/Facades/ 2013-05-21 21:26:41 +02:00
Sebastien Pouliot 067f089518 Additional crypto support needs to be in mscorlib.dll (not System.dll) to be usable for X509Certificate and PKCS#1 2013-05-21 14:59:08 -04:00
Martin Baulig f596da9f38 [xbuild]: Generate [TargetFramework] attribute. 2013-05-21 18:33:30 +02:00
Sebastien Pouliot 4d08e81840 Point sources to Mono.Security versions of the files= (duplicates were removed) 2013-05-21 09:53:07 -04:00
Sebastien Pouliot b6f454e349 Remove duplicate files (cvs-time artefact) 2013-05-21 09:53:06 -04:00
Marek Safar 46286930e7 Merge pull request #645 from knocte/nitpicks
Fix couple of nitpicks in mono-service and HttpWebRequest-Tests
2013-05-21 00:13:24 -07:00
Jonathan Pryor 377f6a6ce8 [Mono.Posix] Fix INTL.DLL CallingConvention.
INTL.DLL on Windows uses the `__cdecl` calling convention.

Let's not corrupt the stack on Windows...
2013-05-20 20:35:47 -04:00
Andres G. Aragoneses 7c6681afd0 [Sys.Configuration] Remove unneeded NET_2_0 ifdefs 2013-05-20 17:55:09 +01:00
Andres G. Aragoneses b0801115fc [Sys.Configuration] Remove a misleading MonoTODO in ConnectionStrings
The ConnectionStrings property of System.Configuration.ConfigurationManager
works perfectly, so this MonoTODO is not needed.

A unit test is also added to demonstrate that it's fully working and to
prevent it failing in the future.
2013-05-20 17:36:24 +01:00
Alex Rønne Petersen bf9c7dcc5e Add a sanity check to catch things like -DARM_FPU_NONE -DARM_FPU_VFP. 2013-05-20 15:37:06 +02:00
Alex Rønne Petersen 67142699ca Generalize the ARM pattern match in configure.
The previous one would only work if the 'vendor'
part of the target triple equals "unknown" which
is a bit of an arbitrary limitation.
2013-05-18 00:10:11 +02:00
Alex Rønne Petersen f956a83b65 Always define __ARM_EABI__ when compiling for ARM.
We don't actually support any non-AAPCS ABI.
2013-05-18 00:04:34 +02:00
Alex Rønne Petersen 0b372c8338 Do not define HAVE_ARMV6 unconditionally when cross-compiling for ARM.
This is simply an invalid assumption and certainly not a sane default.

Reverts part of 8f7a7a74.
2013-05-18 00:04:34 +02:00
Rodrigo Kumpera 078245b883 Add a function to convert from a MonoError to a loader error. Use it with callers of mono_class_create_from_typedef. 2013-05-17 17:54:06 -04:00
Rodrigo Kumpera 6fbb5f96a4 Move mono_class_create_from_typedef to use MonoError.
* class.c (mono_class_create_from_typedef): Do error handling using MonoError
	instead of the loader error for this one.
2013-05-17 17:54:05 -04:00
Rodrigo Kumpera 8258beb448 Add mono_class_set_failure_from_loader_error and use it in a few spots. 2013-05-17 17:54:05 -04:00
Michael Hutchinson b813bb46d5 [Mono.Data.Sqlite] Stop DataAdapter.Fill exploding when using Sqlite built w/o column metadata support
Fixes Bug 327 - Mono.Data.Sqlite doesn't work without SQLITE_ENABLE_COLUMN_METADATA

Essentially, if sqlite3_column_origin_name is not found, omit the metadata, instead of
exploding.  This is the fallback that's already used on MonoTouch.

A better fix would be load the column metadata from other sources, as proposed in
https://bugzilla.xamarin.com/show_bug.cgi?id=2128
2013-05-17 17:16:23 -04:00
Michael Hutchinson f38e6bb39e [monodoc] Return null from GetHelpXml if node not found
Instead of exploding the XML parser by trying to parse null.
2013-05-17 17:16:23 -04:00
Michael Hutchinson 30705ec34e [monodoc] Throw exception on unparseable URL
Instead of logging error with no useful context/content.
2013-05-17 17:16:22 -04:00
Zoltan Varga cce72fe840 Clear entries referencing the domain in reference_queue_clear_for_domain () even if the object is already null. Fixes #4595. 2013-05-17 22:08:12 +02:00
Sebastien Pouliot 11b973e9bc Use the source files from ../Mono.Security/ to avoid duplicate (and different files) 2013-05-17 11:10:13 -04:00
Sebastien Pouliot 977c27c262 Merge changes, that were only made in corlib, back into Mono.Security 2013-05-17 11:10:13 -04:00
Sebastien Pouliot b176adcc0e Do not bring (linking-wise) most of ToBase64Transform when Convert.ToBase64String is used 2013-05-17 11:10:13 -04:00
Rodrigo Kumpera e5c45f1161 Add regression test for #11362. 2013-05-17 11:03:40 -04:00
Rodrigo Kumpera e6d5285516 Fail with an exception when loading the value of field of a broken class. Fixes #11362
* object.c (mono_field_get_value_object): If the field belongs to a class with a broken
	vtable, lets raise an exception instead of printing a message and returning NULL.

	Fixes #11362
2013-05-17 11:03:39 -04:00
Andres G. Aragoneses 84202a68bb [HttpWebRequest] Assertion message nitpicks in new timeout tests
The timeout tests I added recently* had a missing assertion message and
one with a couple of typos.

* https://github.com/mono/mono/commit/96be7828510a1fb14dab07eed1e93dc1a3a7dd84
2013-05-17 00:48:10 +01:00
Andres G. Aragoneses e1c7d996f0 [mono-service] log service name when reporting ExitCode != 0
This nitpick was forgotten in this commit:
https://github.com/mono/mono/commit/4b3e9b3874334a55a9de3534f298ddbe891d94bd
2013-05-17 00:27:55 +01:00
Alex Rønne Petersen 872be6349b Remap printf to g_print in the Mini code on Android. 2013-05-17 00:01:50 +02:00
Alex Rønne Petersen 16b1af4dc3 Revert "Replace (f)printf with g_print(err) in method-to-ir.c, mini-arm.c, mini.c"
This reverts commit 26ffc615bf.
2013-05-16 23:59:09 +02:00
Alex Rønne Petersen 26ffc615bf Replace (f)printf with g_print(err) in method-to-ir.c, mini-arm.c, mini.c 2013-05-16 22:52:58 +02:00
Sebastien Pouliot 93fb13c44a Fix copy-paste typo (encryptionAlgorithm vs decryptionAlgorithm) in my last CipherSuite.cs change 2013-05-16 16:06:55 -04:00
Radek Doulik 50dacc2e31 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 85cb9e3176 and
                     commit 6566273367.
2013-05-16 17:29:26 +02:00
Sebastien Pouliot 0bf408eec0 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 2013-05-16 08:56:43 -04:00
Alex Rønne Petersen 457c9722a4 Merge pull request #637 from LogosBible/enetdown
Handle ENETDOWN error if defined.
2013-05-16 04:57:08 -07:00
Alex Rønne Petersen 70dfbbf95a Merge pull request #638 from directhex/master
Ensure $(DESTDIR)$(mono_libdir)/mono/3.5 exists before installing to it
2013-05-16 04:56:43 -07:00
Jo Shields 4f9e5ec31c Ensure $(DESTDIR)$(mono_libdir)/mono/3.5 exists before installing to it
Prior to 38348361da, 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.
2013-05-16 12:55:07 +01:00
Jo Shields 38e2f40925 Correct list of EXTRA_DISTFILES
EXTRA_DISTFILES is used for tarball generation, it should be a list of files which actually exist
2013-05-16 12:06:38 +01:00
Radek Doulik 6566273367 added System.Configuration and System.Security to monodroid build to fix it 2013-05-16 12:17:48 +02:00
Rodrigo Kumpera abc9ea35c2 If the TP monitor thread is signaled, bound the number of spins when sleeping. Workaround for #8186. 2013-05-15 22:32:32 -04:00
Sebastien Pouliot 4526c6c27b 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 2013-05-15 16:37:27 -04:00
Sebastien Pouliot 473fbfd3e1 Do not require an exception to detect if SHA1 is used. 2013-05-15 16:32:19 -04:00
Sebastien Pouliot 240c354baa Avoid calling TripleDES.Create(string), which calls CryptoConfig, when possible (e.g. from the default .ctor) since it makes linked applications smaller 2013-05-15 16:32:18 -04:00
Radek Doulik 85cb9e3176 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
2013-05-15 22:26:32 +02:00
Rodrigo Kumpera 235eefff05 Make sure we release memory for the runtime generated backtraces. 2013-05-15 16:22:04 -04:00
Rodrigo Kumpera 751fc004b9 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.
2013-05-15 16:22:04 -04:00
Zoltan Varga c8101826e3 Enable partial generic sharing by default. 2013-05-15 20:11:34 +02:00
Zoltan Varga ff4639b8f0 Disable the gsharedvt optimizatiom in AOT if it is not supported by the platform. 2013-05-15 19:01:08 +02:00
Zoltan Varga 8e63a86ff9 Shorten some gshared function names. 2013-05-15 18:28:24 +02:00
Zoltan Varga c810c9db87 Add partial sharing support to AOT. 2013-05-15 18:26:32 +02:00
Tom Philpot 694af2390a Handle ENETDOWN error if defined. 2013-05-15 09:19:41 -07:00
Zoltan Varga 591c688c15 Disable a corlib test which can fail on some systems. 2013-05-15 02:46:24 +02:00
Zoltan Varga fe6a522c0c Clean up the partial generic sharing code a bit. 2013-05-15 02:11:56 +02:00
Martin Baulig 0c736cf74e [xbuild]: Define TargetingClr2Framework. 2013-05-15 00:51:23 +02:00
Martin Baulig 38348361da [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.
2013-05-15 00:24:31 +02:00
Sebastien Pouliot aaea1f82e4 Simply logic a bit when SslClientStream is only used from inside System.dll 2013-05-14 15:16:43 -04:00
Sebastien Pouliot 56c12942cd Space/tabs unification 2013-05-14 15:16:43 -04:00
Rodrigo Kumpera 171c218f75 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 ().
2013-05-14 14:21:53 -04:00
Zoltan Varga f12bb0f8f3 Improve the size of the arm SEQ_POINT implementation a bit. 2013-05-14 19:43:47 +02:00
Andres G. Aragoneses 7d75358e6c [WebConfigurationManager] Fix memleak by using a LruCache (BXC#5598)
System.Web.ConfigurationManager had a cache which didn't have any max limit,
therefore when using Restful URIs in ASP.NET (like having some variable
parameter in the virtual path, i.e. /user/{userId}/tracks, where {userId}
is a variable Integer) this was very likely to cause a leak which would
end up causing troubles, like an InvalidCastException thrown by
HttpApplication::PreStart()

(Read operations in the cache now cause a write operation on the cache
object, so all sectionCache lock-read usages are converted to lock-write.)

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=5598
2013-05-14 17:47:40 +01:00
Zoltan Varga 6797928cbe Enable hw division/remainder on mt in non-thumb mode as well. 2013-05-14 18:27:32 +02:00
Andres G. Aragoneses e0b603fcce [man] update Mono version from "2.11" to "3.0" 2013-05-14 17:06:39 +01:00
Alex Rønne Petersen 0c3b528747 Add a missing IS_VFP check for OP_FCLT in the ARM back end. 2013-05-14 13:06:26 +02:00
Alex Rønne Petersen a84f79b541 Remove an unused variable in verify.c. 2013-05-14 13:06:19 +02:00
Alex Rønne Petersen 766bf95e66 Kill support for the ancient FPA format on ARM. 2013-05-14 13:05:33 +02:00
Zoltan Varga a97e686783 Enable hw division on armv7s in ARM mode too. 2013-05-14 02:37:17 +02:00
Zoltan Varga 46c9e877c1 Fix the build. 2013-05-14 00:25:11 +02:00
Zoltan Varga 4b4e8ed3b9 Fix thumb support in 36b9052157. 2013-05-13 22:06:19 +02:00
Zoltan Varga 36b9052157 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. 2013-05-13 20:35:19 +02:00
Rodrigo Kumpera fec0e98bd3 Add regression test for bug #10392. 2013-05-13 12:34:11 -04:00
Rodrigo Kumpera 7b0b8011b1 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.
2013-05-13 12:34:11 -04:00
Sebastien Pouliot 5805a2c597 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) 2013-05-13 11:10:12 -04:00
Sebastien Pouliot 9df16e5e7b Reduce the number of intermediate calls to allow the linker to remove mode code 2013-05-13 11:10:12 -04:00
Sebastien Pouliot d8bdd1f209 Do not bring Win32 or Linux specific code for iOS NetworkInterface 2013-05-13 11:10:11 -04:00
Zoltan Varga 35421ffb43 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. 2013-05-13 16:28:32 +02:00
Zoltan Varga f932ab6ac7 Update .gitignore. 2013-05-13 04:29:20 +02:00
Zoltan Varga 06afd312a2 Bump the AOT file format version because of ad141a8b7b. 2013-05-11 15:33:12 +02:00
Sebastien Pouliot 0ed2c07f1c 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. 2013-05-09 20:15:46 -04:00
Zoltan Varga 5c7014772d Add stubs for a remoting icall instead of removing it. 2013-05-09 23:38:48 +02:00
Jérémie Laval 226cb96174 [monodoc] Add missing legacy GetTitle method 2013-05-09 16:56:46 -04:00
Jérémie Laval 468d8b9e7e [monodoc] Add forgotten test file 2013-05-09 16:56:46 -04:00
Zoltan Varga ad141a8b7b Avoid using a different layout for the MonoAotFileInfo structure on mt. 2013-05-09 22:05:12 +02:00
Neale Ferguson fc0560fb47 gcconfig.h - Add weak attribute to avoid __data_start undefined messages on dlopen
mini-s390x.c - Add profiling support to prolog/epilog instrumentation
2013-05-09 15:42:58 -04:00
Zoltan Varga 1dcbbaaedd Disable parallel compression in mkbundle again, it still doesn't seem to work, the resulting executable reports 'Error 2 decompressing data'. 2013-05-09 18:58:35 +02:00
Jérémie Laval f926625030 [monodoc] Disable usage of HtmlAgilityPack in tests since the concerned ones are disabled. Hopefully make them run again on the bots. 2013-05-09 12:33:35 -04:00
Zoltan Varga 658f6fd2d4 Fix a typo. 2013-05-09 18:19:10 +02:00
Jérémie Laval 245dee3799 [monodoc] Correctly insert mixed mode XML in namespace summaries rather than wrapping them in CDATA sections 2013-05-09 12:14:00 -04:00
Jérémie Laval 3f361e1a26 [monodoc] Add workaround to process CDATA backed summaries/remarks in namespaces 2013-05-09 12:13:11 -04:00
Marek Safar ad8e0f742e StreamWriter async methods cannot call base TextWriter async methods. Fixes #11979 2013-05-09 17:42:28 +02:00
Marek Safar 7bc0d12c4a Rename AddBasesForPart to SetBaseTypes 2013-05-09 14:52:37 +02:00
Marek Safar 32cc8a558e Abstract methods can override virtual methods. Fixes #12138 2013-05-09 14:52:36 +02:00
Marek Safar ff876e0389 Fix TraceSource constructor. Fixes #12001 2013-05-09 14:52:36 +02:00
Marek Safar 52ba2fff6f Nested dotted namespace can access its parent dotted namespace directly. Fixes #12165 2013-05-09 14:52:35 +02:00
Atsushi Eno 78d65dbced [Rx] some more csproj generator fixes; debug and release are different. Remove extraneous xmlns. 2013-05-09 21:03:44 +09:00
Atsushi Eno ea4a11da91 [Rx] update mobile project generator to hopefully generate the latest csproj files. 2013-05-09 18:13:28 +09:00
Marek Safar 5ad94bd33e Fix copyright author 2013-05-09 10:33:13 +02:00
Marek Safar cfbd05ca34 Populate more win32 version info values. Fixes #8578 2013-05-09 10:09:32 +02:00
Marek Safar 9cc8fdfc5b Define internal attribute in case we missed the global initialization. 2013-05-09 10:09:32 +02:00
Marek Safar 873866b4db Rename parameter name 2013-05-09 10:09:32 +02:00
Marek Safar 726fb74ac0 Remove extra null key check 2013-05-09 10:09:31 +02:00
Tammo 'kb' Hinrichs 907b13aa04 Fix race condition in WebConnectionStream
See https://bugzilla.xamarin.com/show_bug.cgi?id=1553
2013-05-08 16:34:17 +02:00
Zoltan Varga 420ba5e998 Fix support for ldtoken in AOTed non-shared generic instance methods. Fixes #12126. 2013-05-08 14:20:36 +02:00
Zoltan Varga f76a2f7b0b Fix support for ldfld/stfld wrappers in gshared code. Fixes #12086. 2013-05-08 13:06:04 +02:00
Neale Ferguson 89cbc62dee Remove unneeded call - lazy support 2013-05-07 18:06:42 -04:00
Pablo Ruiz Garcia 106c059d9f Fixed @grendello's comments regarding styling and a few other gotchas by my side. 2013-05-07 17:49:26 +02:00
Zoltan Varga 59c840be5a Add a missing wbarrier to the gsharedvt code. 2013-05-06 17:35:10 +02:00
Zoltan Varga 3f3092b477 Add support for separating the class and method names by :: in mono_method_desc_new (). Fixes #12113. 2013-05-06 17:06:18 +02:00
Pablo Ruiz Garcia 6c70b38e17 Refactor of Route's GetVirtualPath implementation based on System.Web.Http.Routing code in order to fix a few incompatibilities between our implementation and the one at ms.net 2013-05-06 00:31:44 +02:00
Alex Rønne Petersen 89c3c44dbc configure.in: Remove all explicit ARM_FPU_* definitions.
We now properly detect this via the toolchain, so these
explicit definitions are now pointless.
2013-05-04 06:58:32 +02:00
Zoltan Varga 3ac08cbb1b Disable a System.Core test which fails on mt because of linking. 2013-05-04 04:19:23 +02:00
Sebastien Pouliot 1d4118c51f Fix build for mobile (ios and android) wrt recent pull request on System.Data 2013-05-03 14:41:02 -04:00
Sebastien Pouliot 73a0051ead Hardcode the use of CFNetwork.GetDefaultProxy for iOS so WebProxy is not required (and can be removed by the linker) 2013-05-03 14:04:09 -04:00
Zoltan Varga f96c0fa9ac Implement division/remainder in hardware when using armv7s+llvm+thumb. 2013-05-03 19:50:16 +02:00
Martin Baulig 612fdf492f Add facade assemblies to the rpm spec file. 2013-05-03 18:36:56 +02:00
Marek Safar dac3465e80 Merge pull request #628 from pdonald/master
Implemented async methods in System.Data.Common
2013-05-03 07:47:06 -07:00
root 11471bc5a6 Implemented async methods in System.Data.Common 2013-05-03 11:56:05 +00:00
Martin Baulig 40fd7050e3 Hmm, 'dist-local: dist-default', maybe ... 2013-05-02 20:56:29 +02:00
Martin Baulig 1d0ea4510d Fix 'make dist'. 2013-05-02 20:37:39 +02:00
Martin Baulig 1ee4d7f23c Fix linux build (/r:System.Xml, not System.XML). 2013-05-02 20:20:47 +02:00
Martin Baulig e52dd7a130 Add PCL Facade assemblies. 2013-05-02 17:34:48 +02:00
Aaron Bockover d4630d000b mac-reachability.c: update for C89isms
In response to Rodrigo's comments on PR 629.
2013-05-02 11:03:27 -04:00
Aaron Bockover 1ddafd7997 mac-reachability.c: enable for TARGET_IOS 2013-05-01 18:10:06 -04:00
Miguel de Icaza d9f6f07701 Merge pull request #627 from abock/master
Support Mac OS X for System.Net.NetworkInformation.NetworkChange
2013-05-01 14:59:41 -07:00
Aaron Bockover ed5d39b1d7 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
2013-05-01 17:49:44 -04:00
Bojan Rajkovic db8f33718a Revert "Merge pull request #618 from knocte/aspnet_lru"
This reverts commit 675328ef16, reversing
changes made to edc181c514.
2013-05-01 17:05:12 -04:00
Sebastien Pouliot 059406396d [ios] throw an TimeZoneNotFoundException if the timezone name is unknown 2013-05-01 16:19:44 -04:00
Sebastien Pouliot 28fa0cebd8 Fix compilation of Variant for iOS: Marshal.GetObjectForIUnknown, like a lot of COM specific methods, is not available for iOS 2013-05-01 14:48:13 -04:00
Sebastien Pouliot 14b607cf6e Remove reflection usage to access NSTimeZone for iOS 2013-05-01 14:31:05 -04:00
Atsushi Eno 5c228f3dd0 remove wrong EOLs after Libs: in reactive.pc.in. Third attempt to fix bug #10002. 2013-05-01 13:21:45 +09:00
Alex Rønne Petersen 724739a15f Merge pull request #624 from jbevain-forks/mimemapping
Add new net_4_5 class System.Web.MimeMapping
2013-04-30 16:18:26 -07:00
Zoltan Varga c8db8dd5ec Fix support for reference types in unbox.any in gsharedvt code. 2013-05-01 00:51:36 +02:00
Jb Evain aed919ea18 Add new net_4_5 class System.Web.MimeMapping 2013-05-01 00:34:09 +02:00
Alex Rønne Petersen 852051425d Merge pull request #623 from madewokherd/byrefvariants
Implement reading byref variants.
2013-04-30 12:32:58 -07:00
Vincent Povirk 865a59b0cd Implement reading byref variants.
This commit is licensed under MIT/X11.
2013-04-30 10:40:51 -05:00
Sebastien Pouliot 7cd961939c Avoid potential NRE is the UserCAStore could not be created. ref: desk #33432 2013-04-29 17:44:39 -04:00
Jonathan Pryor 5543285e68 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
2013-04-29 14:38:53 -04:00
Marek Safar 2b36c5edd9 Run repl in unsafe mode by default 2013-04-29 18:02:58 +02:00
Marek Safar 2c20b020af Allow parsing compiler arguments with user specified defaults 2013-04-29 18:00:09 +02:00
Marek Safar 9fda7494ff Make LocatedToken top level type 2013-04-29 17:38:59 +02:00
Marek Safar 0772c59897 Make reusing few expressions easier 2013-04-29 17:31:19 +02:00
Marek Safar 22dc235289 Don't throw when trying to parse leading sign number only. Fixes #12008 2013-04-29 16:51:34 +02:00
Marek Safar e139ef1302 Don't try to inflate nested types of missing type. Fixes #11996 2013-04-29 15:02:01 +02:00
Marek Safar 3fe85ac027 Revert "Merge pull request #615 from nealef/master"
This reverts commit ce6acbe4db, reversing
changes made to 7f0328f12a.
2013-04-29 11:25:17 +02:00
Marek Safar 80bf01e52f Add anonymous type evaluator test 2013-04-29 11:18:41 +02:00
Rodrigo Kumpera da030feef9 [verifier] Add regression test for the case where the function being used in a delegate returns a variant interface. 2013-04-28 21:34:26 -04:00
Rodrigo Kumpera 289414ca32 [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.
2013-04-28 21:34:08 -04:00
Rodrigo Kumpera 55edf4cd8e [verifier] Add regression test for stack merge of boxed valuetypes. 2013-04-27 18:50:05 -04:00
Rodrigo Kumpera 83fe128c8c [verifier] Properly merge stacks when both ends have the same boxed valuetype.
Fixes System.Data.Services.Client.dll failure on wrench.
2013-04-27 18:48:58 -04:00
Rodrigo Kumpera 9b1e0ae3d5 [verifier]Add test case for #11263. 2013-04-27 16:27:01 -04:00
Rodrigo Kumpera faa92da186 [verifier]A type constraint must be visible to the generic type definition. Fixes #11263. 2013-04-27 16:25:07 -04:00
Rodrigo Kumpera 1bfabe5860 [verifier]Fill in the assembly name so checks for InternalsVisibleTo don't crash. 2013-04-27 16:24:10 -04:00
Rodrigo Kumpera 99aad5797e Add mono_class_can_access_class so the verifier can check if one type can access another. 2013-04-27 16:23:58 -04:00
Sebastien Pouliot 2a0e2e6d68 Avoid using reflection to redirect Console.Write* to NSLog 2013-04-27 11:03:34 -04:00
Sebastien Pouliot b46553c20a Avoid using reflection to initialize RegionInfo from iOS current NSLocale 2013-04-27 11:03:34 -04:00
Zoltan Varga 56d72721dc Ignore requests to set breakpoints at il offsets belonging to dead code. Fixes #11880. 2013-04-27 16:18:17 +02:00
Zoltan Varga b0a35629e0 Fix a warning. 2013-04-27 16:18:17 +02:00
Jonathan Pryor f417a1f0cd 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
2013-04-27 09:32:21 -04:00
Rodrigo Kumpera 0542f8af71 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 6fb1b1fa55.

All our bots are now running on Lion or Mountain Lion so we can now happily enjoy this fix.
2013-04-26 19:41:40 -04:00
Marek Safar d68fd48e88 Merge pull request #621 from andreazevedo/master
Using existing contants
2013-04-26 15:21:27 -07:00
andreazevedo 898d9d6ccf Using existing constant instead of number literal 2013-04-26 18:49:24 -03:00
Miguel de Icaza ce6acbe4db Merge pull request #615 from nealef/master
Fix incompatibility with .NET's serialization of ObservableCollection
2013-04-26 09:55:22 -07:00
Miguel de Icaza 7f0328f12a Merge pull request #620 from knocte/monoservice_playground
Little improvements to mono-service land.
2013-04-26 09:48:29 -07:00
Miguel de Icaza 675328ef16 Merge pull request #618 from knocte/aspnet_lru
[WebConfigurationManager] Fix memleak by using a LruCache (BXC#5598)
2013-04-26 09:47:07 -07:00
Andres G. Aragoneses 126d079b84 [System.Web] Use STDERR instead of STDOUT in LRUcache
As suggested by Marek Habersack
2013-04-26 17:03:54 +01:00
Andres G. Aragoneses e072c0ec34 [System.Web] Move MONO_ASPNET_WEBCONFIG_CACHESIZE parsing out of LRUcache 2013-04-26 16:58:50 +01:00
Zoltan Varga edc181c514 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. 2013-04-26 01:34:53 +02:00
Rodrigo Kumpera 3ac548855b When attaching a foreigh thread, make sure we initialize MOnoInternalThread::thread_info. 2013-04-25 18:38:22 -04:00
Duncan Mak 51cd39b462 Bump version number to 3.0.11 2013-04-25 18:19:32 -04:00
Mark Probst a2e6cb9d61 [profiler] Fix sampling timestamp output. 2013-04-25 14:32:24 -07:00
Neale Ferguson efa707b468 Correct call parameter processing for GENERICINST types 2013-04-25 17:19:28 -04:00
Neale Ferguson 3cbc51a820 Add lazy rgctx support to s390x 2013-04-25 17:19:28 -04:00
Rodrigo Kumpera 5491848f2e Document the new function and fix a typo on other. 2013-04-25 15:56:45 -04:00
Rodrigo Kumpera 255af30e1d 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.
2013-04-25 15:56:45 -04:00
Rodrigo Kumpera 830f402047 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.
2013-04-25 15:56:45 -04:00
Rodrigo Kumpera 42970c1299 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.
2013-04-25 15:56:45 -04:00
Rodrigo Kumpera 65aa1e5048 Don't emit thread event twice when explicitly detaching a thread. 2013-04-25 15:56:44 -04:00
Sebastien Pouliot fabfdd075e [linker] Move the special marking of serializable types in a virtual method 2013-04-25 15:24:56 -04:00
Sebastien Pouliot bdf97e53b7 Use field for GetObjectData and this (instead of base) for .ctor in SecurityException to help linker remove more code 2013-04-25 15:23:56 -04:00
Marek Safar 690ad3ce8a Better error message 2013-04-25 17:11:31 +02:00
Andres G. Aragoneses 3654ed4da0 [System.ServiceProcess.ServiceController] Remove NET_2_0 ifdefs
Also dropping ONLY_1_1.
2013-04-25 14:23:41 +01:00
Andres G. Aragoneses 4b3e9b3874 [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.
2013-04-25 14:22:23 +01:00
Andres G. Aragoneses 0ca3f6ddff [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.
2013-04-25 14:20:33 +01:00
Martin Baulig 32bdc7a90c Trying to fix the opensuse build. 2013-04-25 05:55:21 +02:00
Andres G. Aragoneses d198187591 [WebConfigurationManager] Reset LRUcache eviction count in Clear() 2013-04-25 00:10:50 +01:00
Andres G. Aragoneses d94839c493 [WebConfigurationManager] Make the max LRUcache size configurable
Using the env var MONO_ASPNET_WEBCONFIG_CACHESIZE, as discussed in BXC#5598
2013-04-25 00:01:08 +01:00
Martin Baulig 1cdeca43bb [monodoc]: Use shell script for jay to support parallel builds. 2013-04-25 00:35:56 +02:00
Zoltan Varga e65c8b1ca0 Fix gsharedvt support for gsharedvt methods on shared classes. Fixes #11933. 2013-04-24 17:01:33 +02:00
Andres G. Aragoneses 6d32796668 [man] Update mono version 2.11->3.0 2013-04-24 15:04:26 +01:00
Andres G. Aragoneses 4f9bdfab16 [System.Web] Coding style nits in LruCache 2013-04-24 12:35:26 +01:00
Alex Rønne Petersen c018aea7e9 Merge pull request #610 from metanest/tests_gc_descriptors_vpath_build_2013Mar_spike
modify for VPATH builds
2013-04-24 02:18:10 -07:00
Marek Safar 77b1b54d32 Don't check public token on missing references. Fixes #11796 2013-04-24 10:29:47 +02:00
Marek Safar 71a77b33c2 Task.Yield needs to continue on synchronization context if there is any. Fixes #11908 2013-04-24 10:29:46 +02:00
Marek Safar b013a778a2 Remove double verification checks 2013-04-24 10:29:46 +02:00
Marek Safar 262c9e227c Don't catch aggregate exception handle predicate exceptions. Fixes #11867 2013-04-24 10:29:45 +02:00
Marek Safar 1fd6e9a4ff Fix quoted values parsing for custom tostring formats. Fixes #11739 2013-04-24 10:29:45 +02:00
Rodrigo Kumpera e2f8c21767 Another try in fixing the windows build. 2013-04-23 17:43:28 -04:00
Rodrigo Kumpera ef3f9a6e80 Fix the build. 2013-04-23 17:29:16 -04:00
Rodrigo Kumpera 9c0b418df9 [sgen] Fix bridge interop missing some xrefs due to improve registration.
* sgen-bridge.c: Split the registration and dfs1 steps so we avoid issues
	where an earlier entry that points to a later one would not have a xref
	created between them.

	First we insert all bridges into the hash table and then we do dfs1.

	It must be done in 2 steps since the bridge arrays doesn't come in reverse topological order,
	which means that we can have entry N pointing to entry N + 1.

	If we dfs1 entry N before N + 1 is registered we'll not consider N + 1 for this bridge
	pass and not create the required xref between the two.
2013-04-23 17:08:08 -04:00
Atsushi Eno 44f3d6379a quick nullref fix for part of bugfix #11916. 2013-04-24 05:46:48 +09:00
Zoltan Varga bf14c4630a Clean the domain tls var on all code paths in thread_cleanup (). 2013-04-23 20:29:29 +02:00
Rodrigo Kumpera 176a3cd8f7 Fix windows build. 2013-04-23 12:30:53 -04:00
Andres G. Aragoneses 96bbdc60bf [WebConfigurationManager] Fix memleak by using a LruCache (BXC#5598)
System.Web.ConfigurationManager had a cache which didn't have any max limit,
therefore when using Restful URIs in ASP.NET (like having some variable
parameter in the virtual path, i.e. /user/{userId}/tracks, where {userId}
is a variable Integer) this was very likely to cause a leak which would
end up causing troubles, like an InvalidCastException thrown by
HttpApplication::PreStart()

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=5598
2013-04-23 16:36:42 +01:00
Zoltan Varga 11661568de Disable an sdb test which is not deterministic. 2013-04-23 13:41:19 +02:00
Marek Safar 6f2a8c52e2 Update failing test 2013-04-23 10:28:50 +02:00
Rodrigo Kumpera 6fb1b1fa55 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. 2013-04-22 18:18:43 -04:00
Rolf Bjarne Kvinge c5bb3a92a8 Rework MulticastDelegate.Equals to use a loop instead of recursion.
This should aid in tracking down bugs such as #11871 (or possibly even
fixing them) - if the problem still exists the process will run into
an infinite loop, which is a lot easier to debug (at least on iOS, and
likely other platforms too) than a stackoverflow.
2013-04-22 23:58:31 +02:00
Rodrigo Kumpera c00c3f1482 Introduce a new kind of mutex, the suspension safe one.
* mono-mutex.c: Add mono_mutex_init_suspend_safe so special targets
	like OSX that have broken implementations of suspend for pthread mutex
	will hang less.

	A suspension safe mutex means one that can handle this scenario:

	mutex M

	thread 1:
	1)lock M
	2)suspend thread 2
	3)unlock M
	4)lock M

	thread 2:
	5)lock M

	Say (1) happens before (5) and (5) happens before (2).
	This means that thread 2 was suspended by the kernel because
	it's waiting on mutext M.

	Thread 1 then proceed to suspend thread 2 and unlock/lock the
	mutex.

	If the kernel implements mutexes with FIFO wait lists, this means
	that thread 1 will be blocked waiting for thread 2 acquire the lock.
	Since thread 2 is suspended, we have a deadlock.

	A suspend safe mutex is an unfair lock but will schedule any runable
	thread that is waiting for a the lock.

	This problem was witnessed on OSX in mono/tests/thread-exit.cs.
2013-04-22 17:20:02 -04:00
Rodrigo Kumpera b30bdb8e57 Remove some dead defines from mono-mutex.h 2013-04-22 17:20:02 -04:00
Rodrigo Kumpera c9bd28d0f9 Remove static initializers as they are not portable under windows. 2013-04-22 17:20:01 -04:00
Rodrigo Kumpera 12dfc34fc3 Remove the now unused mono_mutexattr family of functions. 2013-04-22 17:20:01 -04:00
Rodrigo Kumpera 375cbf369c Cleanup the interface of mono_mutex_init.
* mono-mutex.h: mono_mutex_init no longer takes a mutexattr,
	it's always non-recursive and returns zero on success.

	* mono-mutex.h: Add mono_mutex_init_recursive for those that need
	one. This makes the API much much nicer for win32 consumers. Caching
	the mutexattr on posix is really a waste of time. Mutexes are heavyweight
	objects such that their creating will never be on the fast path.
2013-04-22 17:20:01 -04:00
Rodrigo Kumpera 437f07777f Remove support for for pthread implementations that lack recursive mutexes.
* configure.in: Don't define USE_MONO_MUTEX. No sane posix system from this
	millennium lacks recursive mutexes. Given that, let's just fail mono on them
	and drop a bunch of dead code.
2013-04-22 17:20:01 -04:00
Rodrigo Kumpera 9d79602cca Move mono-mutex.c from io-layer to utils. Killing the io-layer, softly. 2013-04-22 17:20:00 -04:00
Zoltan Varga a57d7282c8 Revert "Fix the win64 build."
This reverts commit 2975c3c9b5.

Revert this as it seems to break the windows build.
2013-04-22 21:47:04 +02:00
Zoltan Varga 0d2cac122c Remove 32-bit s390 support from configure.in as well. 2013-04-22 18:05:36 +02:00
Alex Rønne Petersen f87a4f127d Support a MONO_ARCH_HAVE_TLS_INIT variable.
Setting this on an architecture makes Mini call
mono_arch_tls_init () on thread attach.

This is primarily useful for architectures that have not
had their LMF code ported to the new infrastructure due to
a general lack of maintenance or hardware to do it on.
2013-04-22 18:01:54 +02:00
Zoltan Varga c6a6afcaa1 Remove obsolete 32 bit s390 backend. 2013-04-22 17:54:48 +02:00
Atsushi Eno af4eafc963 now we (can) build Rx assemblies for mobile by *.sln in our mono/rx.git, so remove them from Makefile. 2013-04-23 00:50:53 +09:00
Marek Safar 6dc50c6d61 Always restore extension methods candidates after each run 2013-04-22 16:32:11 +02:00
Alex Rønne Petersen 64256c0d6a [configure] Use the preprocessor to determine the target FPU on ARM.
This is needed for a number of reasons:

1. Runtime detection of the target FPU is very hostile towards
   cross-compiling. We'd previously only pick up an FPU if we're
   compiling directly on the target device.
2. The runtime detection logic would attempt to use FP instructions
   regardless of whether the toolchain is actually configured for
   it. That means we could end up detecting an and using an FPU
   when the entire system is actually soft float, i.e. P/Invoke
   blows up.
3. The previous detection logic is never what distro packagers
   want because one build server could just happen to have an FPU
   even though the package is being built for soft float (armel).
4. We previously invoked 'gcc' explicitly, which is of course wrong
   when a non-GCC compiler is being used, or the compiler has a
   completely different executable name.

We now check preprocessor definitions to detect the FPU in use. This
works with cross-compilation, respects the toolchain's configuration,
and works when non-GCC compilers are being used. It also means distro
packagers can eliminate some downstream patches they previously used
to sanitize the FPU detection logic.
2013-04-22 16:02:17 +02:00
Marek Safar 0e5dd1f51a Merge pull request #617 from knocte/httpwebrequest_playground
[HttpWebRequest] Add timeout tests that cover BNC#317553 (ximian#74177)
2013-04-22 01:23:44 -07:00
Zoltan Varga 839539518c Add a freelist around the code chunk allocator to avoid mmap failures when a lot of appdomains are created and destroyed. Hopefully fixes #3311. 2013-04-21 21:36:17 +02:00
Andres G. Aragoneses 96be782851 [HttpWebRequest] Add timeout tests that cover BNC#317553 (ximian #74177)
The pull-request that was merged [1] intending to fix BXC#1183 [2] was
later reverted [3] because it broke a scenario that wasn't covered by tests.

This commits creates a couple of tests that cover this scenario (which was
implemented back in 2005 [4]) so that we are sure that any further proposed
fixes for bug 1183 [2] don't cause any regression in this area.

[1] https://github.com/mono/mono/commit/8c2167d52cb9acf9582647ebb5f99c92d9127fbd
[2] https://bugzilla.xamarin.com/show_bug.cgi?id=11833
[3] https://github.com/mono/mono/commit/14f0405443693ec2586e73e4b3746134046210d5
[4] https://bugzilla.novell.com/show_bug.cgi?id=317553
2013-04-20 14:29:37 +01:00
Zoltan Varga f3842235be Fix the map of bool and char in runtime invoke signatures. Fixes #11862. 2013-04-19 20:37:00 +02:00
Zoltan Varga d5cc160ab2 Fix previous commit. 2013-04-19 18:54:24 +02:00
Zoltan Varga 0256a8f672 Fix a warning. 2013-04-19 18:52:41 +02:00
Zoltan Varga a88fe76a03 Fix the msvc build. 2013-04-19 10:23:11 +02:00
Alex Rønne Petersen 3f3ef7225c Merge pull request #555 from jack-pappas/sigaltstack-patch
Fix sigaltstack on BSD
2013-04-19 01:16:18 -07:00
Zoltan Varga d0818307a1 Make the mkbundle output more dense to speed up assembly. 2013-04-18 22:27:17 +02:00
Zoltan Varga f1374e49d6 Parallelize the compression in mkbundle. 2013-04-18 22:26:44 +02:00
Zoltan Varga 1c94cd3849 Avoid sharing signed/unsigned types in runtime invoke wrappers since they are need to be loaded differently, leading to problems if the argument is register allocated in the called method. Fixes #11750. 2013-04-18 21:40:49 +02:00
Steffen Kieß f7b355721a Fix a crash in Mono.Posix.Syscall.getpwuid_r () on some systems when a uid is not found. Fixes #11770. 2013-04-18 20:35:30 +02:00
Zoltan Varga 78d9c2ce12 Disable an sdb test which is not deterministic. 2013-04-18 20:26:51 +02:00
Neale 191db41b36 Reverse previous changes 2013-04-18 11:31:47 -04:00
Neale 828a6a4f45 Fix incompatibility with .NET's serialization of ObservableCollection - part of bug 11294 2013-04-18 11:25:03 -04:00
Neale 425521a868 Merge branch 'master' of https://github.com/mono/mono 2013-04-18 11:24:04 -04:00
Neale 61b6b3f0b6 Reverse patches that should have gone to my fork rather than to head 2013-04-18 11:23:35 -04:00
Alex Rønne Petersen fdf5de3b26 Merge pull request #614 from directhex/master
Remove duplicated definition of mini_gc_enable_gc_maps_for_aot
2013-04-18 03:23:55 -07:00
Jo Shields 998373afb6 Remove duplicated definition of mini_gc_enable_gc_maps_for_aot - fixed build on PowerPC, Itanium, SPARC 2013-04-18 10:28:17 +01:00
Neale 66c4520fa2 Correct marshalling of size variables used in CharSetToUnicode (and vice-versa). They were specified as integers but for these calls they are, in C parlance, size_t so use SysUInt instead. 2013-04-16 22:48:58 -04:00
Neale 777336db71 Part of fix of 11294 - matching names to .NET and turning off serialization attributes for variables not required in serialization 2013-04-16 22:42:30 -04:00
Neale 3b6058791c Merge branch 'master' of https://github.com/mono/mono 2013-04-16 22:32:39 -04:00
Neale f19a364025 When .NET serializes it will use the TypeForwardedFrom information when
writing Assembly information but Mono does not. This means that
serialized objects created on one platform are not able to be
deserialized on the other, thus preventing interoperability between .NET
and mono applications. Fixes the ObservableCollection part of bugzilla
11294.
2013-04-16 22:27:47 -04:00
Zoltan Varga 2975c3c9b5 Fix the win64 build. 2013-04-15 22:24:22 +02:00
Zoltan Varga eff4cb5af8 Clear the domain on thread exit after the profile thread end hook, since it might need it to be set. 2013-04-13 22:07:37 +02:00
Zoltan Varga add2135688 Fix a test. 2013-04-11 17:25:33 +02:00
Zoltan Varga a7ba26f942 Disable some System.Data tests which are expected to fail in the mobile profile. 2013-04-11 16:56:18 +02:00
Zoltan Varga c94730c32f Disable some System tests which are expected to fail in the mobile profile. 2013-04-11 16:37:02 +02:00
Marek Safar 0d3f3eb27f Fix cascading errors for invalid out arguments 2013-04-11 12:03:58 +02:00
Marek Safar 9275b2d11b Check interface implementation using all base types members. Fixes #11694 2013-04-11 12:03:57 +02:00
Duncan Mak 205724650b Bump version to 3.0.10 2013-04-10 13:22:34 -04:00
Marek Safar a8eadf8b75 Don't emit symbol file entry for partial method declarations. Fixes #11704 2013-04-10 18:45:11 +02:00
Marek Safar a67b91692b Remove System.Net.Http from MT mobile build 2013-04-10 09:49:51 +02:00
Marek Safar 8f36e5c16e Fix duplicate metadata override entry. 2013-04-10 09:49:02 +02:00
Marek Safar 237740ca53 Add missing prepare phase to eval 2013-04-10 09:49:02 +02:00
Zoltan Varga 7a7fb32f01 Revert "Parallelize the compression in mkbundle."
This reverts commit d168c95182.

Revert this as it breaks mtouch.
2013-04-10 09:28:53 +02:00
Rodrigo Kumpera 75e4bbbb30 Revert "Remove System.Net.Http from MT mobile build"
This reverts commit a00ab04a64.
2013-04-09 19:20:44 -04:00
Zoltan Varga bf74036b44 Move some boehm specific code in gc.c to boehm-gc.c. 2013-04-10 00:46:19 +02:00
Zoltan Varga 3b7a9534bb Don't abort the process using g_abort () when a breakpoint cannot be inserted. 2013-04-09 22:36:35 +02:00
Zoltan Varga 5bae54197a Clear the domain TLS variable earlier in start_wrapper_internal () so async signal handlers don't run concurrently with thread cleanup. Hopefully fixes #11102. 2013-04-09 17:34:11 +02:00
Zoltan Varga 9db419c35c Don't leave the thread suspended in mono_threads_core_suspend () if thread_state_init_from_handle () fails. 2013-04-09 17:30:44 +02:00
Zoltan Varga d0fd942ab9 Fix alignment of unbox trampolines when using LLVM+thumb on ARM. Fixes #11594. 2013-04-09 14:26:09 +02:00
Marek Safar a00ab04a64 Remove System.Net.Http from MT mobile build 2013-04-09 14:14:10 +02:00
Marek Safar aa6cbe44bf Try to recover expressions aftern named argument 2013-04-09 14:14:10 +02:00
Alex Rønne Petersen 566e77925d Support disabling of the security subsystem (CAS/CoreCLR).
This could still use some future work. For example, we could get
rid of lots of security code in the class libs. There are also some
functions in the runtime that don't get removed because we don't
use the stub macro approach for all public security functions.

Based on Sebastien's patch.
2013-04-09 11:14:45 +02:00
Zoltan Varga 88bd84a855 Hopefully fix the windows build. 2013-04-09 09:26:18 +02:00
Duncan Mak 8f776d77c2 Bump version number to 3.0.9 2013-04-08 17:14:32 -04:00
Rodrigo Kumpera 87b9278607 Fix llvm loading when calling through a symlink.
mini-llvm.h: When trying to load mono from ./.libs or ../lib we did not
	resolve the current binary for symlinks. This failed on OSX since
	everyone calls /usr/bin/mono while libmono-llvm was on
	/Library/Frameworks/Mono.framework/Versions/Current/lib.

	This make mono --llvm work on release mono.
2013-04-08 15:32:20 -04:00
Rodrigo Kumpera 60f89d99fb Guard against another possible crash that has been seen on wrench. 2013-04-08 15:32:19 -04:00
Marek Safar 60979ce4a4 Merge pull request #601 from knocte/sock_improvements
[System.Net.Sockets] Specify 'timeout' in the exception msg of the Receive(buf) overload
2013-04-08 03:00:28 -07:00
Andres G. Aragoneses 3e401381fe [io-layer] add URLs for some ximian bug numbers in sockets.cs
Not everybody knows that a ximian bug 123 can be accessed this way:
https://bugzilla.novell.com/show_bug.cgi?id=MONO123
2013-04-08 10:43:38 +01:00
Andres G. Aragoneses 67f528d7bb [Socket] Improve exception message when timing out in Socket.cs
This uses now the same exception message as MS.NET.
2013-04-08 10:42:42 +01:00
Andres G. Aragoneses 2ee016a7a6 [Socket] Refactor Socket to make Receive(_) call Receive(_,_)
After previous commit, two Receive() overloads are basically the same, so
we can remove some duplicated code here by making one call the other one.
2013-04-08 10:41:56 +01:00
Andres G. Aragoneses 55c7e30b1e [Socket] Specify 'timeout' in the exception msg of Receive(buf)
In the same way the overload Receive (buf, flags) already does, mention
"time out" in the exception message when the socketError is WOULDBLOCK and
the socket is not non-blocking (otherwise it would throw with the reason
"Operation on non-blocking socket would block", which doesn't make sense
for a socket that is not non-blocking).
2013-04-08 10:41:18 +01:00
Elijah Taylor ab39b74267 NaCl ARM work, first pass 2013-04-07 09:47:16 +02:00
Elijah Taylor 1e726ce7a3 NaCl runtime fixes
- fix compile/runtime issues caused by upstream changes
- add NaCl glibc support
- various changes to support running tests in NaCl glibc
  from 'make check'
2013-04-07 09:45:45 +02:00
Marek Safar 28c53a39a4 Implement partial generic methods 2013-04-07 09:39:53 +02:00
Zoltan Varga 66acbc75aa Implement the calculation of stack bounds on windows. Fixes #11624. 2013-04-06 10:05:28 +02:00
Zoltan Varga d13a010ac0 Fix the windows build. 2013-04-06 10:04:27 +02:00
Zoltan Varga 1f53c672a5 Fix support for custom attribute classes in CustomAttributeDataMirror which indirectly inherit from Attribute. Fixes #11564. 2013-04-05 18:32:55 +02:00
Martin Baulig a3c14d7686 [xbuild]: Support <PropertyGroup/ItemGroup> inside <Target>. 2013-04-05 13:07:02 +02:00
Marek Safar 3b058f0680 Redirect more duplicate security types to Mono.Security 2013-04-05 11:15:25 +02:00
Atsushi Eno 2edeeb60e7 rx: Add -d:HAS_AWAIT options to 4.5 and 2.1 builds. 2013-04-05 00:02:29 +09:00
Jeffrey Stedfast 0bf20c9542 [Mono.Debugger.Soft] Make CommandException public 2013-04-03 17:23:54 -04:00
Mark Probst caf5fc0152 Merge remote-tracking branch 'origin/fix-los-cardtable-overlap' 2013-04-03 12:29:05 -07:00
Mark Probst 7cb476758c [sgen] Use unified cardtable-update code in M&S, too.
The bug where objects crossed the cardtable overlap boundary cannot
happen with M&S because blocks are naturally aligned.  It can't hurt
to use the same code for updating them, too, though.
2013-04-03 12:25:58 -07:00
Mark Probst b347b88255 [sgen] Fix 64-bit bug occurring when LOS object crosses cardtable overlap boundary. 2013-04-03 12:01:51 -07:00
Marek Safar 8e1f3725a5 Fix arguments location 2013-04-03 18:59:47 +02:00
Marek Safar f02f3e5249 Add new test 2013-04-03 13:21:11 +02:00
Marek Safar 1a922652b4 Fix reported warning location 2013-04-03 13:21:10 +02:00
Marek Safar cb7a435f96 Error reporting improvements 2013-04-03 13:21:10 +02:00
Marek Safar 0ef6ca75c0 Report missing type definition dependency only once per type. 2013-04-03 13:21:09 +02:00
Alex Rønne Petersen cfcd953716 Fix another cast warning in sgen-debug.c. 2013-04-02 22:51:13 +02:00
Alex Rønne Petersen 10db9da681 Fix an #if in System.Delegate.IsTransparentProxy () to use DISABLE_REMOTING. 2013-04-02 22:43:49 +02:00
Alex Rønne Petersen 1eed6ec431 #ifndef some variables out to silence warnings in builds with COM/remoting disabled. 2013-04-02 22:36:13 +02:00
Alex Rønne Petersen 7023da15d3 Remove an unneeded inner #ifndef DISABLE_COM. 2013-04-02 22:36:13 +02:00
Alex Rønne Petersen 6e1636eebe Only define get_local_interface_id () on Apple platforms. 2013-04-02 22:36:12 +02:00
Alex Rønne Petersen 15b57de655 Explicitly ignore some return values with a G_GNUC_UNUSED variable. 2013-04-02 22:36:12 +02:00
Alex Rønne Petersen b8b46cb346 Fix the tramp_names table when remoting is disabled. 2013-04-02 22:36:12 +02:00
Alex Rønne Petersen 0b1f35561b Silence a couple of unused variable warnings with G_GNUC_UNUSED. 2013-04-02 22:36:12 +02:00
Alex Rønne Petersen 949a0bf462 Fix some warnings caused by casts. 2013-04-02 22:36:12 +02:00
Alex Rønne Petersen 7b302355df Unbreak the build when Boehm is enabled and remoting is disabled. 2013-04-02 22:36:12 +02:00
Mark Probst 03f7df287a Merge remote-tracking branch 'origin/fix-concurrent-wbarrier' 2013-04-02 12:32:52 -07:00
Mark Probst 6732f0e127 [sgen] Fix binary protocol concurrent crashes. 2013-04-02 12:31:33 -07:00
Mark Probst 5868efd369 [sgen] Mark major->major references in unmanaged wbarrier, too. 2013-04-02 10:39:38 -07:00
Mark Probst 9d9ffd1a44 [sgen] Update mod-union with regular, not shadow cardtable. 2013-04-02 10:39:37 -07:00
Mark Probst 49a81d8774 [sgen] Mod-union consistency check MONO_GC_DEBUG option. 2013-04-02 10:39:37 -07:00
Mark Probst 2f707e5d52 [sgen] Cmdline option to print all entries in sgen-grep-binprot. 2013-04-02 10:39:36 -07:00
Mark Probst 359f977e79 [sgen] Binary protocol entry for user-forced GCs. 2013-04-02 10:39:30 -07:00
Miguel de Icaza dbb4fd4700 Merge pull request #606 from sesef/master
Fix .NET incompatibility in UpDownBase
2013-04-01 18:28:03 -07:00
Jeffrey Stedfast 57cbcf93a5 [Mono.Debugger.Soft] fixed the build 2013-04-01 16:34:01 -04:00
Jeffrey Stedfast b06106a311 [Mono.Debugger.Soft] Throw AbsentInformationException, not ArgumentException which makes no sense 2013-04-01 16:31:23 -04:00
Zoltan Varga c29511f2e6 Don't disable sharing for open generic async methods, since the JIT can't compile these without sharing. 2013-03-31 13:42:08 +02:00
Marek Safar 10ef8870ef Set async block flag also for partial methods 2013-03-30 10:44:49 +01:00
Marek Safar dbdab197a7 Make table name comparison dataset locale specific. Fixes #7899 2013-03-29 18:36:55 +01:00
Zoltan Varga 1f739060e5 Hopefully fix the windows build. 2013-03-29 06:56:19 +01:00
Zoltan Varga 2bae3cf88d Hopefully fix the windows build. 2013-03-29 04:24:16 +01:00
Sebastien Pouliot 8cb68371fd Have the linker skip mixed-mode assemblies since it won't be able to save them later 2013-03-28 17:07:15 -04:00
Zoltan Varga a268679986 Remove some debug printfs. 2013-03-28 10:48:03 +01:00
Zoltan Varga 7485205bb3 Fix the build. 2013-03-28 10:46:58 +01:00
Zoltan Varga e70d60d39d Fix the build. 2013-03-28 06:24:09 +01:00
Jonathan Pryor 7a30dcccb9 Fix build break.
5329fab3 requires <sys/uio.h>, which wasn't being included.
2013-03-27 23:29:50 -04:00
Zoltan Varga 7547f6f2f1 Move atomic.h/atomic.h to utils/. 2013-03-28 04:08:13 +01:00
Zoltan Varga 2a2f1cf5b1 Add implementations of atomic functions using gcc atomic ops. Not yet used. 2013-03-28 03:44:57 +01:00
Jonathan Pryor 772fa304a2 [mkbundle] Remove Mono.Posix, ICSharpCode.SharpZipLib deps
I want to make execution of mkbundle possible under .NET, and as such
I want to remove unnecessary dependencies.

Mono.Posix is only used for UnixMarshal heap methods; there's NO need
to use these when Marshal can be used.

That leaves DeflaterOutputStream, and it's possible to configure zlib
to accept deflate streams, allowing us to use GZipStream:

	http://stackoverflow.com/a/1838702/83444

Update template_z.c accordingly so that the compressed data works.

Two side results of this:

 1. Increased compression; my (really stupid) test app went from a
    compression ration of 31.39% to 32%

 2. This MAY make things WORSE when running on .NET < 4.5. This is
    fixed in .NET 4.5:

	http://msdn.microsoft.com/en-us/library/system.io.compression.deflatestream.aspx

	Starting with the .NET Framework 4.5, the DeflateStream class
	uses the zlib library. As a result, it provides a better
	compression algorithm and, in most cases, a smaller compressed
	file than it provides in earlier versions of the .NET
	Framework.
2013-03-27 18:12:07 -04:00
Jonathan Pryor 6fc3d4f268 Merge pull request #609 from steffen-kiess/stat-st_atim
Add nanosecond resolution times to struct Stat
2013-03-27 06:38:11 -07:00
Steffen Kieß 28e16142fa Add nanosecond resolution times to struct Stat 2013-03-27 13:45:50 +01:00
KISHIMOTO, Makoto 2945762bc0 modify for VPATH builds 2013-03-27 16:45:18 +09:00
Zoltan Varga 3a29f718c5 Fix sdb asserts when seq-points are not found for a method because its assembly was AOTed without the 'soft-debug' option. Fixes #11435. 2013-03-27 02:00:44 +01:00
Jonathan Pryor f3b1d7e5eb Merge pull request #221 from steffen-kiess/master
Add various methods and flags to Syscall
2013-03-26 14:42:30 -07:00
Steffen Kieß 5329fab38b Add various methods and flags to Syscall
* Add OpenFlags.O_CLOEXEC and OpenFlags.O_PATH

    * Add AtFlags for AT_* values

    * Add fdopendir, mkdtemp, futimens

    * Add readv, writev, preadv, pwritev

    * Add *at methods: openat, renameat, fchmodat, fstatat, utimensat,
      mkdirat, mknodat, mkfifoat, faccessat, fchownat, linkat, readlinkat,
      symlinkat, unlinkat

    * Add constants AT_FDCWD, UTIME_NOW, UTIME_OMIT
2013-03-26 21:26:09 +01:00
Zoltan Varga f85afc4d55 Export a few more symbols for LLVM. 2013-03-26 20:15:20 +01:00
Miguel de Icaza ad1327fad5 [corlib] Marshal: fine-tune the pointer Read/Write operations.
This patch reworks the Marshal's Read and Write pointer operations
to avoid performing a modulo operation to choose the fast path, as
in some platforms the modulo operation is implemented as a C subroutine.

Instead we use bit operations which always run in constant time.

It also avoids the IntPtr.XXX method calls, factors out "unsafe", only
ever performs one IntPtr->pointer conversion, and makes the source
code uniform.
2013-03-26 15:05:02 -04:00
Zoltan Varga cbdf471ff5 Remove a redundant null check. 2013-03-26 20:01:41 +01:00
Zoltan Varga 9cdddca7ec Return null when null was passed to Marshal.PtrToStructure () instead of throwing an exception. Fixes #11417. 2013-03-26 19:59:09 +01:00
Steffen Kieß 6ceccd8cd2 Set errno to 0 before calling readdir in Syscall.readdir().
This will allow the caller to distinguish between errors and end-of-directory.
2013-03-26 19:53:00 +01:00
Marek Safar 888e9acdbb Update number separators for mexican and similar locales. Fixes #8084 2013-03-26 19:18:55 +01:00
Marek Safar 0b62a137ab Set invariant DateTimeFormatInfo for all invariant format specifiers. Fixes #11364 2013-03-26 19:18:55 +01:00
Marek Safar bbc5b610d0 Populate AbbreviatedMonthNames values. Fixes #11361 2013-03-26 19:18:54 +01:00
Atsushi Eno 3f19e47979 update cecil rev.
We cannot fully update cecil to the latest master which seems to break
some existing code, so use specific branch so far.
2013-03-27 01:56:13 +09:00
Paolo Molaro 477124f771 Export a few functions needed by llvm. 2013-03-26 16:35:28 +01:00
Marek Safar 76da0ed16c Fix quoting of some date time patters. Fixes #11363 2013-03-26 11:35:55 +01:00
Marek Safar 2002e45778 Add zh-CHT parent lcid handling. Fixes #11375 2013-03-26 11:07:31 +01:00
Alex Rønne Petersen 778c86d341 Merge pull request #608 from metanest/bin_bash_spike
#!/bin/bash -> #!/usr/bin/env bash
2013-03-26 00:46:16 -07:00
KISHIMOTO, Makoto 1e896532e7 #!/bin/bash -> #!/usr/bin/env bash 2013-03-26 12:56:22 +09:00
Zoltan Varga aa8abd1f58 Don't emulate idiv.un/irem.un on ARM in cases where it can be optimized away. 2013-03-26 04:31:07 +01:00
Zoltan Varga bd4c5c3651 Fix a typo in bc149a3814. 2013-03-26 01:32:33 +01:00
Marek Safar 947a45caec Add configure await 2013-03-25 16:01:53 +01:00
Marek Safar 7a345a73f5 Merge pull request #607 from maksimenko/master
use await GetRequestStreamAsync on System.Net.Http.HttpClientHandler SendAsync to avoid blocking
2013-03-25 07:44:13 -07:00
Rodrigo Kumpera 4b294019c6 Change mono_gc_get_managed_array_allocator to receive a MonoClass instead of a vtable, rank pair.
* method-to-ir.c: Given mono_gc_get_managed_array_allocator now takes a class and not an vtable,
	we can now use it for shared code allocating arrays.
2013-03-25 10:42:01 -04:00
Rodrigo Kumpera 4189fe3f95 Fast path Array::Resize with small arrays. 2013-03-25 10:42:01 -04:00
Marek Safar 694f00b66f Don't capture any variables when block yield only breaks 2013-03-25 15:11:50 +01:00
Marek Safar f94c224b85 Don't create interator parameters copies for unmodified parameters 2013-03-25 14:22:16 +01:00
Marek Safar f0af91e211 Apply 9dc360146f to all where methods 2013-03-25 14:16:35 +01:00
Marek Safar b26a3411e5 Don't copy hoisted iterator parameters when not needed 2013-03-25 11:05:42 +01:00
Zoltan Varga ec5503773f Fix the hashing of MonoJumpInfo structures, previously many had the same hash code. 2013-03-25 02:54:39 +01:00
Zoltan Varga b354c6268d Add a mono_print_ji () helper function to print a MonoJumpInfo structure. 2013-03-25 02:54:39 +01:00
Miguel de Icaza 77e58567c1 Add a test for the WebUtility.HtmlEncode bits 2013-03-24 19:18:51 -04:00
Zoltan Varga f90a274d80 Move the 'Created object count' stat to the GC section when using --stats. 2013-03-24 23:28:18 +01:00
Zoltan Varga b831ead5a9 Avoid using an rgctx when making delegate invokes from shared code, the delegate trampoline code already handles this. 2013-03-24 22:55:08 +01:00
Marek Safar 9dc360146f Add optimized where iterator for arrays 2013-03-24 15:03:22 +01:00
Marek Safar 7bcf833b78 Optimize entity conversion 2013-03-24 11:34:51 +01:00
Marek Safar dfaeb0c361 Try to recover incomplete ternary expression. Fixes #5195 2013-03-24 11:34:50 +01:00
Marek Safar cd14fdd614 Better error message for not matching overload when expanded params conversion fails. 2013-03-24 11:34:50 +01:00
Zoltan Varga 0681cc0f83 Fix the build. 2013-03-24 09:39:46 +01:00
Zoltan Varga 4c9075429a Avoid AOTing PtrToStructure/StructureToPtr() wrappers for the compiler generated '-...' structs. 2013-03-24 08:46:00 +01:00
Zoltan Varga adc5d247ef Use (uint) casts in the Marshal.Read/WriteXXX () methods to speed up the alignment checks. 2013-03-24 03:33:24 +01:00
Zoltan Varga 6dbaf9b671 Put back a cattr removed by mistake by 70141dc9f5. 2013-03-24 02:46:16 +01:00
Zoltan Varga 70141dc9f5 Implement the Marshal.Read/WriteXXX methods using unsafe code instead of icalls. 2013-03-24 02:43:27 +01:00
Victor H. Maksimenko 1a6f502f56 use the GetRequestStreamAsync method to avoid blocking on HttpClientHandler SendAsync 2013-03-23 15:59:48 -04:30
Jérémie Laval 605e4d6313 [monodoc] Remove previous horrible generic backtick notation hack and properly handle them in node search. 2013-03-23 15:11:49 +00:00
Jérémie Laval ab79cb82bc [monodoc] Add a simple stack-based generic argument count method. 2013-03-23 15:05:46 +00:00
Jérémie Laval 3e05c18093 [IDesigner] Add cref reachability checker unit test though disabled for now.
Mono documentation has a lot of syntax error in its crefs so it's not good material for a reliable unit test until we can do better on that front.
2013-03-23 15:02:19 +00:00
Jérémie Laval ba43a5ae56 [monodoc] Add utility property Generic*IsNumeric to distinguish between types using full generic notation (e.g. Foo<T1, T2>) or just backtick notation (e.g. Foo`2) 2013-03-23 15:01:03 +00:00
Jérémie Laval 75faf4d897 [monodoc] Add reachability unit test for ASP.NET style URLs 2013-03-23 14:58:01 +00:00
Jérémie Laval e2b584c2af [monodoc] Parse correctly '{' and '}' as '<' and '>' (generic params) in ECMA url.
These characters are used in place of normal bracket in some part of the xsl generation code, mostly to prevent ASP.NET default code injection policy to kick in.
2013-03-23 13:59:34 +00:00
Sesef ad381fc414 tabs 2013-03-23 11:52:12 +01:00
Sesef 2515e22514 Fix NET incompatibility 2013-03-23 11:43:33 +01:00
Sebastien Pouliot 71d027fb55 Open test files in read-only mode (so it will work on devices where permissions won't allow read/write) 2013-03-22 17:20:41 -04:00
Marek Safar e816267243 Maintain more tokens locations. 2013-03-22 16:30:33 +01:00
Marek Safar 0873dd811f Don't report error for incomplete member type 2013-03-22 15:49:27 +01:00
Marek Safar 19e7a81b9b Try to recover incomplete initializers. Fixes #4964 2013-03-22 15:28:03 +01:00
Marek Safar 2ae9fc18eb Avoid extra space when reporting error for compiler modifiers 2013-03-22 13:36:14 +01:00
Marek Safar 19c8282257 Maintain more locations values 2013-03-22 10:06:10 +01:00
Marek Safar 8209756fd0 Try to recover incomplete member declaration which looks like field. Fixes #7521 2013-03-22 10:06:10 +01:00
Marek Safar 12f8dd310a Merge pull request #605 from AerisG222/system.web.http.webhost
system.web.http.webhost
2013-03-22 00:43:08 -07:00
Atsushi Eno 32455dbbe9 remove extra printf. 2013-03-22 16:23:45 +09:00
Zoltan Varga 05b20fe484 Fix the checks in is_async_method (). 2013-03-22 04:19:29 +01:00
Martin Baulig d64187a447 [WCF]: Disable WsdlExporterTest.ExportMessageContract(). 2013-03-22 04:08:10 +01:00
Martin Baulig 97d52b2237 [WCF]: Implement cookie support in .NET 4.0. 2013-03-22 04:08:10 +01:00
Mike Morano 13c77a1629 making the build system aware of system.web.http.webhost that is a component of the aspnetwebstack 2013-03-21 21:31:55 -04:00
Zoltan Varga dc721e3c8a Fix deadlock in CreateProcess () if fork () fails. Fixes #11315. 2013-03-22 02:22:09 +01:00
Martin Baulig d2d903f1d2 [WCF]: 2nd part of bug #5827, set CheckCharacters = false in TextMessageEncoder. 2013-03-22 01:57:37 +01:00
Zoltan Varga e711081984 Fix an LLVM crash when a method ending with a throw is inlined into a catch clause. Fixes #11297. 2013-03-22 01:27:10 +01:00
Martin Baulig 91f11b20d7 Bug #5829: DataContractSerializer should not check for invalid characters. 2013-03-22 01:00:56 +01:00
Martin Baulig bf6d00c9b9 [System.ServiceModel.Web]: Fix 'make dist'. 2013-03-22 00:14:52 +01:00
Marek Safar 04403c39d2 Try to recover from invalid attribute. Fixes #8590 2013-03-21 19:02:01 +01:00
Rodrigo Kumpera 9c15b24100 Fix the System.Runtime.Serialization test suite to compile. 2013-03-21 13:18:16 -04:00
Marek Safar 9dd1781f8b Try to recover from incomplete group section. Fixes #10228 2013-03-21 10:28:16 +01:00
Elijah Taylor 26bc82731d Test for divide by zero for NaCl in software 2013-03-21 05:16:57 +01:00
Elijah Taylor b2de5b898d Add explicit laddcc/lsubcc IR opcodes
This allows ladd/lsub to decompose into CC instructions
that correctly maintain the width of the operands.  This
was a problem on NaCl amd64 specifically which has 32-bit
longs and ints, but 8 byte registers.
2013-03-21 05:16:57 +01:00
Elijah Taylor 9ae0e35f95 NaCl x86 codegen fixes 2013-03-21 05:16:56 +01:00
Elijah Taylor bc149a3814 NaCl amd64 codegen fixes
- mostly more code fixes to deal with a 64-bit ILP32 machine
2013-03-21 05:16:56 +01:00
Elijah Taylor b46a770869 NaCl GC improvements
- inline managed code implementation
  (add x86 test mem imm8 codegen macro for this as well)
- clean up libgc NaCl code
- centralize mono_nacl_gc into mini.c
2013-03-21 05:16:56 +01:00
Elijah Taylor 99f40ae5bb Add NaCl build scripts 2013-03-21 05:16:55 +01:00
Zoltan Varga 391e857c5b Disable the async test in generics.cs as it doesn't work with --regression. 2013-03-21 05:16:41 +01:00
Zoltan Varga 48b90276c2 Fix full-aot support for generic async methods by treating them as non-sharable. Fixes #11096. 2013-03-21 03:30:59 +01:00
Rodrigo Kumpera 02b64abba2 Fix multiple issues with System.Data.DataRow::SetParentRow. Fixes #7900.
* DataRow.cs: There is a total of issues been addressed here:

	1) SetParentRow (null) would crash instead of setting all relation
	columns to DBNull.

	2)SetParentRow (parentRow, relation) did not check if both row and relation
	belong to the same table.

	3)SetParentRow(parentRow) when the child table has multiple relations to different
	tables, we should only process those that belong to the table of parentRow.
2013-03-20 17:49:59 -04:00
Marek Safar 2e6a2a4454 define/undefine position errros are not reported when excluded from compiletion. Fixes #11292 2013-03-20 19:27:43 +01:00
Marek Safar 85639aee6d Use 4.0 path when configured with disabled 4.5 profile. Fixes #11233 2013-03-20 11:33:38 +01:00
Marek Safar a562752c01 Advance column on escaped string characters. Fixes #8097 2013-03-20 11:03:47 +01:00
Marek Safar 3868900a87 Copy type parameter constraint interfaces before its base type is expanded. 2013-03-20 09:11:13 +01:00
Marek Safar d5c315e803 Fix wrong assembly name hint 2013-03-20 09:11:12 +01:00
Zoltan Varga 2498a51c51 Fix an infinite loop in decode_llvm_mono_eh_frame () when the last method in an AOT image is processed on ios. Fixes #11212. 2013-03-20 04:53:56 +01:00
Marek Habersack c802ea53a3 Added CreateNLSocket stub for non-linux platforms 2013-03-20 01:38:07 +01:00
Sebastien Pouliot 325ed45145 Do not assume the unit tests can write in the application directory (e.g. iOS devices). 2013-03-19 15:04:49 -04:00
Sebastien Pouliot be0ecab083 Disable CAS permission tests for MOBILE profile 2013-03-19 15:04:09 -04:00
Sebastien Pouliot 32c4b50508 Ensure the linker does not remove some types needed (thru reflection) for some test cases to work 2013-03-19 14:07:17 -04:00
Marek Safar db4800320e Fix expansion of imported generic interfaces implementing imported types. Fixes #11241 2013-03-19 18:28:54 +01:00
Mark Probst 176363d37b Merge branch 'feature-free-32' 2013-03-19 10:09:55 -07:00
Mark Probst 3575b3a6c2 [sgen] Statistics for 32 bit freeing. 2013-03-19 10:09:41 -07:00
Mark Probst bed6bbf8f4 [sgen] While iterating over empty block array, compact it. 2013-03-19 10:09:41 -07:00
Mark Probst 29c9126e13 [sgen] Try allocating M&S blocks in smaller contingents in case of failure.
This might happen when the address space fragments.  If it happens due to
OOM, we're probably lost anyway.
2013-03-19 10:09:40 -07:00
Mark Probst 4ce22525e0 [sgen] Free contiguous blocks on 32 bit archs. 2013-03-19 10:09:40 -07:00
Marek Safar 6a51733812 Fix parsing decimal values used with integral numbers. Fixes #9090 2013-03-19 12:27:06 +01:00
alexrp b1d30c53c5 Use /bin/bash instead of /bin/sh in autogen.sh. 2013-03-19 05:17:54 +01:00
Sebastien Pouliot b43764a214 Do not assume the unit tests can write in the application directory (e.g. iOS devices) 2013-03-18 21:30:47 -04:00
Sebastien Pouliot 105f2bd164 Disable CAS permission tests for MOBILE profile 2013-03-18 21:30:29 -04:00
Sebastien Pouliot c3b782f4ec Do not assume the unit tests can write in the application directory (e.g. iOS devices). Use the temporary directory and open files in read-only 2013-03-18 17:38:28 -04:00
Zoltan Varga d168c95182 Parallelize the compression in mkbundle. 2013-03-18 19:54:38 +01:00
Sebastien Pouliot 2c945ffb26 Return null for AppDomain.Evidence so API accepting this type won't fail (as the type is linked away) when using AppDomain.CurrentDomain.Evidence as an argument. Fix more than 20 System.Xml unit tests on iOS devices 2013-03-18 14:08:53 -04:00
Marek Safar f52f10ef4f Add localized infinity symbols. Fixes #9052 2013-03-18 14:57:57 +01:00
Marek Safar eeac621f70 Use curl instead of wget 2013-03-18 14:57:25 +01:00
Marek Safar a583280e64 Fully resolve extension method argument. Fixes #11213 2013-03-18 10:57:04 +01:00
Marek Safar 46fc054c3f Remove internal continuations from unfinished tasks used in WhenAny, Fixes #11008 2013-03-18 09:33:06 +01:00
Martin Baulig efda0d4c62 Revert "Fixes make dist"
This reverts commit 87e95b46ed.

This puts DataContractJsonSerializerSettings.cs back into
mcs/class/System.ServiceModel.Web/System.Runtime.Serialization.Json.

Let's please not have a single file from this namespace in another
directory, either move the entire System.Runtime.Serialization.Json
stuff into System.Runtime.Serialization or leave it here.
2013-03-15 18:14:44 -04:00
Rodrigo Kumpera 9f438cd066 Properly bzero unaligned small blocks. Fixes #11184. 2013-03-15 16:30:15 -04:00
Marek Safar 23e7149069 Cache implicitly created static delegates 2013-03-15 18:37:59 +01:00
Atsushi Eno 1190937dc1 part of fix bug #10160 - give innerException for some rethrown exception. 2013-03-16 01:19:16 +09:00
Zoltan Varga 9baa7b89b4 Avoid an assert in sdb for compiler generated byref locals. Fixes #11115. 2013-03-15 16:43:41 +01:00
Marek Safar 267f405394 Add new tests 2013-03-15 15:28:50 +01:00
Marek Safar 78fe562f82 Update locations 2013-03-15 15:28:50 +01:00
Marek Safar 663861741f Implement optimization where lambdas can be replaced by direct method-group they are wrapping. Fixes #10663 2013-03-15 15:28:49 +01:00
Marek Safar f2f0ea3f3b Fix column info for symbol file expressions 2013-03-15 15:28:49 +01:00
Jeremie Laval f40da03909 [monodoc] Handle summaries for transient root nodes better. Add unit-tests. 2013-03-15 11:19:03 +00:00
Mark Probst 0d5756714a [sgen] Remove some dead #defines. 2013-03-14 14:46:30 -07:00
Marek Safar d61cc11225 Add new assemblies 2013-03-14 19:09:53 +01:00
Martin Baulig f6fcd8bcd9 Temporarily revert "Add PCL type-forwarders."
This reverts commit 62559a75df.
2013-03-14 13:37:57 -04:00
Martin Baulig 62559a75df Add PCL type-forwarders. 2013-03-14 12:58:36 -04:00
Marek Safar 715d5a5450 Remove redundant lambda wrapper 2013-03-14 17:43:16 +01:00
Marek Safar 87e95b46ed Fixes make dist 2013-03-14 17:42:45 +01:00
Mark Probst 0d3d43f1dd [sgen] Don't call sgen_scan_togglerefs() twice.
In the case where they are called twice, the first call must already have
processed the whole heap.
2013-03-13 16:04:20 -07:00
Mark Probst 792f319464 [sgen] Remove superfluous arguments to finish_gray_stack(). 2013-03-13 16:02:01 -07:00
Martin Baulig 8ea5b572f9 Add type-forwarders for existing assemblies. 2013-03-13 18:07:44 -04:00
Martin Baulig 1abdc24adc Merge pull request #599 from knocte/ntlm_fixes
[Mono.Data.Tds] Stop using Obsoleted NTLM APIs (partial fix for BXC#11122)
2013-03-13 14:35:32 -07:00
Mark Probst 5d4ff596a7 [semaphore] Fix mono_sem_wait() for Darwin, clean up mono_sem_post().
semaphore_wait() never returns -1, but returns KERN_ABORTED if the
call needs to be repeated.  This caused a semaphore wait to sometimes
return in the SGen workers code when it shouldn't, which caused a
mysterious assertion failure.
2013-03-13 13:40:30 -07:00
Martin Baulig eefc9d8998 Implement MonoType.IsConstructedGenericType. 2013-03-13 15:51:34 -04:00
Martin Baulig d6eac67800 Implement IntrospectionExtensions.GetTypeInfo(). 2013-03-13 15:38:18 -04:00
Andres G. Aragoneses 05600e8114 [Mono.Data.Tds] Stop using Obsoleted NTLM APIs (partial fix for BXC#11122)
New NTLM APIs have been pushed recently[1], which made Mono.Data.Tds break
with IOE: Refusing to use legacy-mode LM/NTLM authentication unless
explicitly enabled using DefaultAuthLevel.

This doesn't fix the bug completely, but at least reverts the situation
to the same exception being thrown before the NTLM changes took place.

[1] https://github.com/mono/mono/commit/45745e5123267e8530b87b8dada9a89c6269b383
2013-03-13 19:00:50 +00:00
Miguel de Icaza e0e560630a Progress<T> (ActioN<T>) constructor now also initializes the context 2013-03-13 14:48:39 -04:00
Martin Baulig 8c2389d8d0 Put back MethodInfo.CreateDelegate() and fix DynamicMethod. 2013-03-13 14:19:05 -04:00
Zoltan Varga 9efd73982c Don't set the visibility of the type_info_ symbols in the LLVM backend. Fixes #11076. 2013-03-13 18:02:50 +01:00
Zoltan Varga 73bef43451 Revert part of 9ec4d6984f since it breaks DynamicMethods. 2013-03-13 17:44:44 +01:00
Marek Safar 4dc3ba8eba Try to fix statement expression location. Fixes #10306 2013-03-13 16:50:28 +01:00
Jérémie Laval 112da01bdc [monodoc] Handle global `root:' url 2013-03-13 14:25:46 +00:00
Marek Safar 046b7a22c8 Resolve switch block without fake sections blocks. Fixes #10781 2013-03-13 12:08:13 +01:00
Martin Baulig 988f522b36 Put back unsupported EventWaitHandle and Mutex constructors. 2013-03-12 22:13:39 -04:00
Martin Baulig 2c8d10572e Oops, fix the mobile build. 2013-03-12 21:42:27 -04:00
Mark Probst d27cd5f56f [sgen] Gather a histogram of layouts of scanned objects.
With this information we can implement more efficient GC descriptors.
2013-03-12 18:33:26 -07:00
Martin Baulig 54f7c82d2b DataContractSerializer changes for .NET 4.5.
* Move System.Runtime.Serialization.Json from System.ServiceModel.Web.dll
  into System.Runtime.Serialization.dll on the mobile profile.

* Add DataContractJsonSerializerSettings and DataContractSerializerSettings..
2013-03-12 21:15:56 -04:00
Martin Baulig d54fac4349 Minor .NET 4.5 API fixes. 2013-03-12 21:15:56 -04:00
Martin Baulig 67cdf2848c Add System.WeakReference<T>. 2013-03-12 21:15:56 -04:00
Martin Baulig b53cdf8749 System.Threading.SemaphoreSlim.WaitAsync(). 2013-03-12 21:15:56 -04:00
Martin Baulig 03bb7b498a System.Threading.{Semaphore|EventWaitHandle|Mutex}.TryOpenExisiting(). 2013-03-12 21:15:55 -04:00
Martin Baulig 9cdbbbd234 Update aspnetwebstack to e77b12e.
This is just the single commit:
https://github.com/mono/aspnetwebstack/commit/e77b12e6cc5ed260a98447f609e887337e44e299
2013-03-12 21:14:41 -04:00
Zoltan Varga 7906336bdc Fix some DISABLE_JIT problems. 2013-03-13 01:52:34 +01:00
Jonathan Pryor 35390cd03a [mdoc] Build with -platform:x86
Works around: http://connect.microsoft.com/VisualStudio/feedback/details/635365

The problem is that 64-bit .NET has a bug:
RuntimeHelpers.InitializeArray() throws ArgumentException for certain
array creation constructs that mcs likes to emit. Cecil uses
RuntimeHelpers.InitializeArray() to get the data, which throws, and
everyone becomes very sad:

	Running mdoc "update" "--debug" ...
	mdoc: System.TypeInitializationException: The type initializer for 'Mono.Cecil.Metadata.TableHeap' threw an exception. ---> System.ArgumentException: Value does not fall within the expected range.
	   at System.Runtime.CompilerServices.RuntimeHelpers.InitializeArray(Array array, RuntimeFieldHandle fldHandle)
	   at Mono.Cecil.Metadata.TableHeap..cctor()
	   --- End of inner exception stack trace ---
	   at Mono.Cecil.Metadata.TableHeap..ctor(Section section, UInt32 start, UInt32 size)
	   at Mono.Cecil.PE.ImageReader.ReadMetadataStream(Section section)
	   at Mono.Cecil.PE.ImageReader.ReadMetadata()
	   at Mono.Cecil.PE.ImageReader.ReadImage()
	   at Mono.Cecil.PE.ImageReader.ReadImageFrom(Stream stream)
	   at Mono.Cecil.ModuleDefinition.ReadModule(Stream stream, ReaderParameters parameters)
	   at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
	   at Mono.Cecil.AssemblyDefinition.ReadAssembly(String fileName, ReaderParameters parameters)
	   at Mono.Documentation.MDocUpdater.LoadAssembly(String name)
	   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
	   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
	   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
	   at Mono.Documentation.MDocUpdater.Run(IEnumerable`1 args)
	   at Mono.Documentation.MDoc.Run(String[] args)
	   at Mono.Documentation.MDoc.Main(String[] args)

The "fix" is to not use the 64-bit runtime, and instead explicitly
require the 32-bit runtime by using -platform:x86.
2013-03-12 20:07:40 -04:00
Zoltan Varga 26068dd156 Enable ContextTest on mt. 2013-03-12 23:30:51 +01:00
Rodrigo Kumpera 54ab0bf56c Wrap MonoVTable::remote into a pair of accessors to make it easy to have code linked out. 2013-03-12 18:22:08 -04:00
Rodrigo Kumpera 143d99ea98 Wrap MonoClass::is_com_object into a pair of accessors to make it easy to have code linked out. 2013-03-12 18:22:07 -04:00
Martin Baulig 9ec4d6984f Implement new .NET 4.5 Reflection APIs. 2013-03-12 18:07:53 -04:00
Martin Baulig 9f1535ea23 Add System.ComponentModel.Composition.4.5 to the mobile build. 2013-03-12 18:07:53 -04:00
Martin Baulig 804acc091c Fix System.ComponentModel.DataErrorsChangedEventArgs API. 2013-03-12 18:07:53 -04:00
Martin Baulig f86e2a1025 Add System.ComponentModel.DataAnnotations to the mobile build. 2013-03-12 18:07:52 -04:00
Rodrigo Kumpera 3dcc728b8c Small cleanup on runtime shutdown to move more code to the same spot and reduce duplication. 2013-03-12 17:43:57 -04:00
Rodrigo Kumpera 4df4b7a47a Merge pull request #505 from roji/shutdown_flow
Fixed threadpool+ProcessExit problem in shutdown flow
2013-03-12 14:25:47 -07:00
Martin Baulig dfc1434f41 Add stubs for some new .NET 4.0/4.5 WCF APIs. 2013-03-12 17:23:01 -04:00
Martin Baulig 35992e86c7 System.Runtime.Serialization.DateTimeFormat 2013-03-12 17:23:00 -04:00
Martin Baulig b38fcbcf2a BigInteger.Parse/TryParse() overloads for .NET 4.0. 2013-03-12 17:23:00 -04:00
Martin Baulig 55b8eda927 System.Progress 2013-03-12 17:23:00 -04:00
Martin Baulig dc4eae8d17 Add System.Text.RegularExpressions.Regex timeout APIs. 2013-03-12 17:23:00 -04:00
Martin Baulig 3fee2dd792 Trivial API additions. 2013-03-12 17:22:59 -04:00
Martin Baulig 7a5d090d7d Missing WebUtility methods. 2013-03-12 17:22:59 -04:00
Martin Baulig 3016218856 HttpWebRequest/Response API fixes for .NET 4.5. 2013-03-12 17:22:59 -04:00
Martin Baulig 171c946ecd Add System.IO.Compression.FileSystem stubs. 2013-03-12 17:22:59 -04:00
Martin Baulig 77df2f0865 Misc .NET 4.5 / PCL APIs. 2013-03-12 17:22:58 -04:00
Michael Hutchinson 9aee5e22ba [xbuild] It's safe to pass /debug:pdbonly to mcs now 2013-03-12 16:43:07 -04:00
Zoltan Varga 392632ff30 Implement OP_LCONV_TO_I4 using OP_SEXT_I4 instead of OP_LSHR_IMM(0). Fixes #11058. 2013-03-12 21:32:09 +01:00
Sebastien Pouliot 68ebec2787 Remove MonoTouch specific code that is now handled without reflection 2013-03-12 16:04:43 -04:00
Marek Safar 42d7bdbea4 Remove dependency on generated file 2013-03-12 15:43:13 +01:00
Jeremie Laval 2785b65688 [monodoc] Parse and display mastersummary.xml on root:/ ECMA urls 2013-03-12 13:42:40 +00:00
Jeremie Laval e9a5cb19b1 [monodoc] Cleanups 2013-03-12 13:42:12 +00:00
Mark Probst 06b2ab0a7c [tests] In GC descriptor tests script, optionally generate huge nested if. 2013-03-11 16:51:01 -07:00
Rodrigo Kumpera 8a6a647e00 Optimize mono_gc_bzero and mono_gc_memmove to closely match native performance.
* gc.c (mono_gc_memmove): Doing naive word copy turned out to be several times
	slower than optimized memmove.Doing optimized memmove is a hellbent problem
	because each target (x86, amd64, arm, etc) have multiple implementations based
	on which CPU you're currently running on.

	Given we're not ready to suck in ten thousand lines of assembly for the benefit
	of a few targets a better solution is needed.

	The problem we face is due to implementations that don't perform word stores
	on the word aligned parts of the destination. This does break things for us
	as the CLI environment disallows word tearing for normal operations.

	The solution is then to work around the silliness of the known implementations
	that basically handle any sorts of misalignment badly. To do so we ensure that
	we only call memmove with a word aligned destination and a word multiple size.

	This should be enough for OSX, Android, linux and iOS on x86, amd64 and ARM.
2013-03-11 18:45:55 -04:00
Zoltan Varga dde2c39880 Re-enable some tests on mt which seem to work now. 2013-03-11 22:16:46 +01:00
Zoltan Varga db4e50a08d Export inst_is_gsharedvt_sharable () so it is usable by other parts of the JIT. 2013-03-11 21:07:34 +01:00
Duncan Mak 35d3a47008 Bump version to 3.0.8 2013-03-11 14:56:25 -04:00
Zoltan Varga 1a441364a6 Add a 'dwarfdebug' AOT option to emit DWARF debug info even if the 'nodebug' AOT option is used. 2013-03-11 15:29:33 +01:00
Miguel de Icaza 9e3e69451a Merge pull request #597 from kamalaboulhosn/master
Translate errno for EHOSTDOWN to WSAEHOSTDOWN
2013-03-11 07:18:40 -07:00
Kamal Aboul-Hosn d046ae0b30 Added translation for EHOSTDOWN errno 2013-03-09 18:10:39 -05:00
Zoltan Varga 6fc1c8daee Disable some tests failing on mt due to #10539/#10552. 2013-03-09 01:13:24 +01:00
Marek Safar c198db637b Correctly type fixed buffer wrapper type. Fixes #10803 2013-03-08 23:46:27 +01:00
Marek Safar 92a6488c89 Clone shared members list before operators merging. Fixes #10967 2013-03-08 23:46:26 +01:00
Miguel de Icaza e133d105a8 Merge pull request #469 from symform/symform-better-drive-type-check
When detecting drive type it is possible that a path might be mounted mo...
2013-03-08 17:09:36 -05:00
Miguel de Icaza be4686b9d9 Merge pull request #594 from Adeath56/patch-1
System.Web.dll : NullReferenceException on GetItemInternal() after a Session.Abandon()
2013-03-08 16:37:28 -05:00
Miguel de Icaza e7758ec891 Merge pull request #595 from UCIS/master
Fixed handling of modifier keys in KeyEventArgs constructor (bug #6707)
2013-03-08 13:25:47 -08:00
Marek Safar 7c704df8ae Move rarely used NamedDataSlot to its own type to cut few dependencies 2013-03-08 17:40:03 +01:00
Marek Safar a10f7b72ac Fix failing test 2013-03-08 15:56:58 +01:00
Marek Safar 23918afbec Fix constant folding fox null string constants. Fixes #10821 2013-03-08 15:47:44 +01:00
Marek Safar 64f2ea441a Use faster string comparers 2013-03-08 15:47:44 +01:00
Marek Safar e7006d8e39 Use faster invariant conversion 2013-03-08 15:47:44 +01:00
Marek Safar 6643562a1e Use generics list 2013-03-08 15:47:43 +01:00
Marek Safar 292b757ede Use faster string checks 2013-03-08 15:47:43 +01:00
Marek Safar dbbd71c5e5 Remove Collection dependency from ReadOnlyCollection 2013-03-08 15:47:43 +01:00
Jb Evain 37fe2b7e43 Add generated Makefile.am to gitignore 2013-03-08 15:25:19 +01:00
Jb Evain 3e7d7a37f4 Add mdbrebase generated script to gitignore 2013-03-08 15:25:19 +01:00
Sebastien Pouliot 54099c8732 TypeFromCLSID is not available when build with FULL_AOT_RUNTIME (e..g iOS) 2013-03-08 09:17:57 -05:00
Sebastien Pouliot 5422c5a9d3 Adjust OptionalCalendars test so it will work when the linker is enabled 2013-03-08 09:16:33 -05:00
Zoltan Varga 0889f6af72 Avoid loading AOT modules for ref-only assemblies. 2013-03-08 03:02:58 +01:00
Zoltan Varga 514fcd7920 Fix the mobile build. 2013-03-08 02:36:04 +01:00
Zoltan Varga c1466ee2ff Fix the mobile mscorlib build. 2013-03-08 02:33:29 +01:00
Zoltan Varga 565e78a45c Avoid a crash if the Volatile class is linked away. 2013-03-08 02:33:28 +01:00
Zoltan Varga d33e025bde Add full-aot support for Volatile.Read<T>/Write<T> (). 2013-03-08 02:33:28 +01:00
Zoltan Varga a1aa0ca2cb Fix the encoding of runtime-invoke wrappers in AOT. Add support for gsharedvt delegate begin/end-invoke wrappers to full AOT. 2013-03-08 02:33:27 +01:00
Zoltan Varga 7c47e18e66 Remove an inexistent icall added by mistake by 0ff40ae70a. 2013-03-08 02:33:27 +01:00
Rodrigo Kumpera 690b080504 Make the build .gitignore rule absolute. It didn't like mcs/build/. 2013-03-07 18:06:26 -05:00
Rodrigo Kumpera 861811b3fb Move some MOBILE bits under DISABLE_REMOTING as a remoting enabled runtime will need them for
basic functionality.
2013-03-07 17:46:04 -05:00
Rodrigo Kumpera e46ddbb3fc Monotouch has builds with -DISABLE_REMOTING. 2013-03-07 17:44:28 -05:00
Rodrigo Kumpera 46b4beca67 Add a bunch of dummy fields to Assembly under MOBILE to match the native layout. 2013-03-07 16:09:35 -05:00
Rodrigo Kumpera ce100e6f5a Replace a useless g_assert with a g_error that actually gives us some information. 2013-03-07 16:09:35 -05:00
Rodrigo Kumpera c3fd562d4e Make sure to unlock InternalThread::synch_cs when we fail to suspend the thread during shutdown.
This should fix both crashes seen during Environment.Exit by xbuild and possibly deadlocks.
2013-03-07 16:09:34 -05:00
Rodrigo Kumpera 7b4a395f24 Make sure all functions in the hot path of eg_utf8_to_utf16_general are inlined.
This gives a 33% performance boost on a micro benchmark just triggering a call
to mono_string_new.
2013-03-07 16:09:34 -05:00
Marek Safar 2082ed2247 Fixes mobile build 2013-03-07 18:30:58 +01:00
Marek Safar a4915d561e Update mobile tests 2013-03-07 16:34:24 +01:00
Marek Safar 93e31cbc63 Ignore SynchronizationAttribute on MT 2013-03-07 16:34:23 +01:00
Marek Safar 02482bef43 Fix binary serialization on mobile 2013-03-07 16:34:23 +01:00
Zoltan Varga 96cf539ade Fix a typo introduced by c808ced1e2. 2013-03-07 16:26:30 +01:00
Zoltan Varga dea604078b Make begin-invoke/end-invoke wrappers for generic delegates like Func/Action generic, similarly to 8eae1a7d72. 2013-03-07 16:26:30 +01:00
Marek Safar 4f0f577826 Remove confusing trailing dot 2013-03-07 09:31:48 +01:00
Marek Safar 686160f09d Actually iterate returned array 2013-03-07 09:31:48 +01:00
Marek Safar 6d132a7c23 Remove generated file dependency to make fresh checkout tests work out of box 2013-03-07 09:31:47 +01:00
Marek Safar c461f2fafa Merge pull request #596 from madewokherd/typefromclsid
corlib: Implement System.Type.GetTypeFromCLSID.
2013-03-06 23:44:40 -08:00
Jonathan Pryor 2d37d81770 [xbuild] Replace string.ToLower() comparison with OrdinalIgnoreCase comparison
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=10946

The scenario is the "turkish-i problem": Have an MSBuild Task Assembly
which calls ITaskItem.GetMetadata("Identity") (like, oh, the
Xamarin.Android build system...). Run in a Turkish locale (tr-TR), and
things fail badly:

	Error executing task AndroidComputeResPaths: System.ArgumentException: Invalid reserved metadata name
	  at Mono.XBuild.Utilities.ReservedNameUtils.GetReservedMetadata (System.String itemSpec, System.String metadataName, IDictionary metadata) [0x00000] in <filename unknown>:0
	  at Microsoft.Build.Utilities.TaskItem.GetMetadata (System.String metadataName) [0x00000] in <filename unknown>:0
	  at Xamarin.Android.Tasks.AndroidComputeResPaths.Execute () [0x00000] in <filename unknown>:0
	  at Microsoft.Build.BuildEngine.TaskEngine.Execute () [0x00000] in <filename unknown>:0
	  at Microsoft.Build.BuildEngine.BuildTask.Execute () [0x00000] in <filename unknown>:0

Wat? Well, in tr-TR, "Identity".ToLower() is "ıdentity", which
doesn't match match anything in GetReservedMetadata()'s `switch`
statement, so it throws an ArgumentException. *BOOM*.

So, if you need a culture-invariant comparison, USE IT.

Related: We could have just s/ToLower/ToLowerInvariant/g, which would
have fixed the problem, but would still result in lots of string
temporaries that aren't really necessary. Use the appropriate
string.Compare() or string.Equals() methods instead to avoid the
string temporary as well.
2013-03-06 22:42:08 -05:00
Zoltan Varga 0ff40ae70a Implement Volatile.Read/Write<T> and Interlocked.MemoryBarrier (). 2013-03-07 02:41:46 +01:00
Zoltan Varga 3127206654 Add stubs for some NET 4.5 ThreadLocal ctors/methods. 2013-03-07 02:14:11 +01:00
Zoltan Varga c808ced1e2 Clean up the code which handles prepending _ to global symbol names on MACH by doing it in aot-compiler.c instead of the image writer. 2013-03-07 02:00:51 +01:00
Mark Probst 18d7a36fdd [sgen] Just warn, don't abort, on invalid MONO_GC_PARAM or MONO_GC_DEBUG options. 2013-03-06 15:41:35 -08:00
Vincent Povirk a164fda839 corlib: Implement System.Type.GetTypeFromCLSID.
This commit is licensed as MIT/X11.
2013-03-06 16:13:25 -06:00
Jeffrey Stedfast d9ae8c5b02 [Mono.Debugger.Soft] Made the receiver thread a background thread and gave it a name 2013-03-06 16:00:07 -05:00
Mark Probst 8ae1296fef [sgen] Allow empty parameters in MONO_GC_PARAMS and MONO_GC_DEBUG.
This allows easy appending/prepending, like so:

    export MONO_GC_PARAMS="major=marksweep-conc,$MONO_GC_PARAMS"
2013-03-06 11:28:03 -08:00
Zoltan Varga bdeb52e8f5 Fix some ARM assembly in MONO_CONTEXT_GET_CURRENT (). 2013-03-06 20:20:13 +01:00
Zoltan Varga 2ed4fd9690 Make the JIT icall wrappers for opcode emulation jit icalls call the C icall function directly on MT. 2013-03-06 19:32:00 +01:00
Zoltan Varga 6285a057a2 Modify the way calls to icalls are made from the icall wrappers. Previously, the address to call was encoded in an OP_PCONST, and various pieces of code looked up the value in the jit icall table to see if it was an icall address. With the new approach, the fact that this is an icall address is explicit through the JIT. 2013-03-06 19:32:00 +01:00
Zoltan Varga 6bf5817d5a Fix AOT on osx+amd64. 2013-03-06 19:32:00 +01:00
Ivo Smits ceaa9a7fd7 Fixed handling of modifier keys in KeyEventArgs constructor (bug #6707) 2013-03-06 17:32:54 +01:00
Mark Probst 583e8679de Merge pull request #593 from Cynede/master
Python 3 compatibility in gen-descriptor-tests.py
2013-03-06 08:16:28 -08:00
Marek Safar 0526659302 Disable more security context tests on mobile 2013-03-06 15:50:22 +01:00
Marek Safar 683e97e66e Use more specific types 2013-03-06 15:49:46 +01:00
Heather fbc8ec4829 use floor division // instead of / because in python 3 / returns float, // works in python 2 too 2013-03-06 15:19:52 +04:00
Heather 199cc4f8c7 python 3 compatibility in gen-descriptor-tests.py 2013-03-06 15:19:52 +04:00
Marek Safar 8deca1782e Optimize Activator path used by new() constraint to run less code 2013-03-06 11:18:04 +01:00
Marek Safar 69daa56ade Fix exception test text 2013-03-06 11:18:04 +01:00
Marek Safar 80d342ff75 Add test from Jb Evain to test biner with user method types 2013-03-06 11:18:04 +01:00
Marek Safar 4687d8e1e9 Activator cannot be used to create default instances of user types 2013-03-06 11:18:03 +01:00
Mark Probst fbf13e8dab [sgen] Unify non-concurrent and concurrent M&S. 2013-03-05 14:08:42 -08:00
Mark Probst 8a1eca2e78 [tests] Init Random with defined value in GC descriptor tests.
So we can reproduce bugs and compare time/space if we want.
2013-03-05 12:55:42 -08:00
Duncan Mak 333f692e26 Bump version number to 3.0.7. 2013-03-05 13:15:04 -05:00
Zoltan Varga ddc2a6234f Change the linkage of the type_info symbols generated by the LLVM backend, since using LLVMPrivateLinkage causes LLVM to generate assembly which is not allowed by clang. Fixes #10811. 2013-03-05 17:34:58 +01:00
Marek Safar 77c429eeba Don't mark unused interface methods. Fixes #10866 2013-03-05 17:05:32 +01:00
Marek Safar 768c9e65de Remove redundant culture info from string concatenations 2013-03-05 17:05:31 +01:00
Atsushi Eno 7890e1e824 [rx] Add missing AssemblyInfos. 2013-03-06 00:56:35 +09:00
Atsushi Eno cd6dc32e0b Add Assembly version attributes to hopefully fix bug #10002. 2013-03-05 23:57:39 +09:00
Marek Safar 7950d8b97d Update binder primitive conversion to match .net 2013-03-05 15:03:38 +01:00
Marek Safar 4e095429f9 Tweaks to Enum::FormatName to make it faster/smaller 2013-03-05 15:03:38 +01:00
Marek Safar bc53976c90 Type.FilterAttribute accepts int criteria only 2013-03-05 15:03:38 +01:00
Jeremie Laval 3445a890ea [monodoc] Make the help source test pass since the current errors are due to known limitations. 2013-03-05 10:54:01 +00:00
Jeremie Laval b01c154588 [monodoc] Cache intermediary result for legacy Nodes property. Add test. 2013-03-05 10:37:40 +00:00
Jeremie Laval 0dfa3ba87e [monodoc] Change new API for Nodes to be IList for future-proofing 2013-03-05 10:27:07 +00:00
Marek Safar f8d9023673 Fixes build 2013-03-05 09:25:50 +01:00
Marek Safar 3234d835a4 Fix wrong usage of ConstructoInfo::Invoke 2013-03-05 09:18:22 +01:00
Martin Baulig 4e88ebd997 Add to EXTRA_DIST. 2013-03-04 19:21:32 -05:00
Duncan Mak 629258db07 Add gc-descriptors to SUBDIRS. 2013-03-04 18:03:41 -05:00
Rodrigo Kumpera 1c359f9d1d Fix cominterop. 2013-03-04 17:52:01 -05:00
Rodrigo Kumpera d64a99e420 Fix marshal.c DISABLE_JIT on device. 2013-03-04 16:08:22 -05:00
Miguel de Icaza a8ab27270a Merge pull request #577 from UCIS/patch-2
Fix serialization of DateTime struct for MS compatibility
2013-03-04 13:01:39 -08:00
Marek Safar c0c48eb810 Make internal abstract methods virtual to fix MethodBase subclassing. 2013-03-04 21:52:22 +01:00
Martin Baulig a2c70a3d89 Runtime assembly mapping for PCL. 2013-03-04 14:57:08 -05:00
Zoltan Varga 1cd10c9d51 Dist the Makefile.am.in files. Fixes #10874. 2013-03-04 20:46:21 +01:00
Mark Probst 3bc4723971 [sgen] Disable parallel M&S in combination with split nursery.
It crashes at least sgen-weakref-test.exe, and there's more important stuff to
attend to.
2013-03-04 11:23:16 -08:00
Mark Probst a43535af4b Merge branch 'feature-descriptor-tests' 2013-03-04 10:47:49 -08:00
Mark Probst f78581ec95 [tests] Test valuetype GC descriptors, too. 2013-03-04 10:47:29 -08:00
Mark Probst a4f864a34c [tests] Optional big-switch version of GC descriptor test.
This takes ages to compile with mcs.  See bug #10781.
2013-03-04 10:47:29 -08:00
Mark Probst e5c6a4bd25 [tests] Test for GC descriptors - first draft.
This runs for a long time and potentially uses lots of memory.  It's not integrated
in the test suite and must be run manually.
2013-03-04 10:47:28 -08:00
Martin Baulig 879250e505 Misc PCL-related API fixes. 2013-03-04 12:40:21 -05:00
Mark Probst 3a87e57712 Merge pull request #586 from awinters-fvs/awinters/sgen-los-sizeof-fix
[sgen] marksweep-conc 64-bit pointer arithmetic fix for segfault
2013-03-04 08:39:48 -08:00
Rodrigo Kumpera 6963d216c5 Merge pull request #589 from qhalid/master
Xamarin Bug 10879: Use of mono-sgen causes mono path detection fallback
2013-03-04 08:32:21 -08:00
Chris Ball 444146bc86 Prevent path fallback for mono-sgen and pedump
Test updated to allow "mono-sgen" and "pedump" binaries to "walk" the parent
directory to discover the install location of the mono runtime in the same
manner as the "mono" binary.
2013-03-04 17:16:42 +01:00
Miguel de Icaza e8be3702fc Merge pull request #585 from mk8/master
Bug 10233 fix proposal for Socket.BeginSendFIle
2013-03-04 08:13:10 -08:00
Miguel de Icaza 3f0709d1e3 Merge pull request #588 from Daniel15/bug-10872
Fix bug #10872 (Expires and Last-Modified headers should use two-digit days)
2013-03-04 08:12:23 -08:00
Daniel Lo Nigro 94fda9450f Use standard RFC1123 ("R") format specifier for Expires and Last-Modified headers. Fixes Xamarin bug #10872 2013-03-04 22:13:10 +11:00
Marek Safar c36e553fa0 Add missing target checks to ConstructorInfo::Invoke 2013-03-04 11:29:24 +01:00
Marek Safar 998e88ce1a Use Activator instead of InvokeMember with incomplete target value 2013-03-04 11:27:22 +01:00
Marek Safar b5fe12cbc3 Remove unused icall 2013-03-04 10:06:25 +01:00
Marek Safar b26fc714dd Manually remove code which is disabled but compiler cannot remove automatically. 2013-03-04 09:14:08 +01:00
Marek Safar 65d96594f5 Use local invoke method instead of doing double virtual call dispatch 2013-03-03 22:23:48 +01:00
Marek Safar 57735a0aba Use faster array cloning 2013-03-03 22:22:21 +01:00
Marek Safar ea8879d7bf Maintain only single version of ordinal string comparers 2013-03-02 22:24:26 +01:00
Marek Safar a08a39ffe6 Don't clone internally used era values 2013-03-02 18:56:31 +01:00
Marek Safar 6c083808ce Use faster/smaller versions for some string comparisons 2013-03-02 18:56:31 +01:00
Alex Rønne Petersen 12a0479340 metadata/gc.c: Fix a warning when casting MonoInternalThread->tid. 2013-03-02 10:40:22 +01:00
Torello Querci 8691f6d8d1 Client Socket close added 2013-03-02 08:31:14 +01:00
awinters-fvs d83533bc78 Subtract sizeof LOSObject instead of LOSObject*
On 64-bit mono with marksweep-conc enabled, sgen_los_pin_object()
would mistakenly set the cardtable_mod_union pointer field to 1
due to the incorrect pointer math in sgen_los_header_for_object()
2013-03-01 17:13:14 -08:00
Zoltan Varga 348755d3b1 Fix the generation of stelemref wrappers in full-aot mode. Some wrappers were not generated with the previous approach. Fixes #10826. 2013-03-02 01:27:46 +01:00
Rodrigo Kumpera c8b1c2b3a7 Erase the type of more fields so we can link away a few more types. 2013-03-01 18:58:35 -05:00
Rodrigo Kumpera 07a220c61c Mobile should not have the COM types set. 2013-03-01 18:58:35 -05:00
Zoltan Varga 616f8f6604 Fix the protocol version check in the TypeMirror.IsInitialized property. 2013-03-02 00:55:42 +01:00
Zoltan Varga 703dcd84c6 Add an IsInitialized property to TypeMirror which returns whenever the type initializer has ran. 2013-03-02 00:53:06 +01:00
Sebastien Pouliot be43ee1da2 Reduce XML processing time (GetAttribute was returning String.Empty, not null) 2013-03-01 16:38:42 -05:00
Zoltan Varga f25263db7a Fix the lookup of some ctors in exception.c. Fixes #10774. 2013-03-01 22:33:17 +01:00
Marek Safar 1d8669c5c5 Clean up test encoding 2013-03-01 22:08:56 +01:00
Marek Safar c0790868bc Throw exception instead of creating invalid object when remoting is disabled 2013-03-01 22:06:34 +01:00
Zoltan Varga d6b05a8304 Remove the unmaintained and incomplete alpha backend. 2013-03-01 20:27:07 +01:00
Marek Safar 28ddbf1429 Build correct version of System.Net for non-mobile profile 2013-03-01 18:55:49 +01:00
Marek Safar 256ac6135d Default to expression contextual keywords for repl 2013-03-01 18:39:52 +01:00
Rodrigo Kumpera b078850ed0 Fix cross compilation under DISABLE_REMOTING 2013-03-01 12:25:58 -05:00
Rodrigo Kumpera 8b1a6afc56 Don't check for TransparentProxies on mobile as they don't work. 2013-03-01 11:32:34 -05:00
Rodrigo Kumpera e2d2459f30 RemotingServices::IsTransparentProxy doesn't work on mobile. 2013-03-01 11:32:12 -05:00
Marek Safar 7a1ad27ff0 Disable failing socket test 2013-03-01 17:13:24 +01:00
Rodrigo Kumpera c8e286a93b Bring back ActivationServices::AllocateUninitializedClassInstance as this is used by the serialization machinery and we need it to work on mobile. 2013-03-01 11:11:26 -05:00
Rodrigo Kumpera b492a88007 Fix again object::GetType () 2013-03-01 10:55:25 -05:00
Rodrigo Kumpera abe9dc6206 Revert "Fix object::GetType when remoting is enabled."
This reverts commit 93e2d1dc48.
2013-03-01 10:54:09 -05:00
Rodrigo Kumpera 93e2d1dc48 Fix object::GetType when remoting is enabled. 2013-03-01 10:52:03 -05:00
Marek Safar a4c61d97f6 Fix ReadOnlyDictionary public api 2013-03-01 16:10:34 +01:00
Marek Safar dd4cc7ca66 Tests update for mobile profile 2013-03-01 15:31:25 +01:00
Torello Querci 0624fa42f1 Fix for bug 10233 about Socket.BeginSendFile 2013-03-01 14:30:04 +01:00
Marek Safar 59af20df27 Merge pull request #584 from LogosBible/bug10789-resubmit
System.Text.Decoder throws ArgumentOutOfRangeException when it should no...
2013-03-01 05:11:23 -08:00
Martin Potter 643d8b8b3a System.Text.Decoder throws ArgumentOutOfRangeException when it should not. Fixes Bug #10789
Similar to previously reported bug #6404, according to the documentation at http://msdn.microsoft.com/en-us/library/h6w985hz.aspx, System.Text.Encoder throws ArgumentOutOfRangeExceptions when it should not. From the documentation, an ArgumentOutOfRangeException should be thrown when:

charIndex, charCount, byteIndex, or byteCount is less than zero.
-or-
The length of chars - charIndex is less than charCount.
-or-
The length of bytes - byteIndex is less than byteCount.

To reproduce, run the following code:

int charsUsed, bytesUsed;
bool completed;
byte[] bytes = new byte[4096];
char[] chars = new char[4096];
System.Text.Encoding.UTF8.GetDecoder().Convert(bytes, 0, 0, chars, 4096, 0, false, out bytesUsed, out charsUsed, out completed);

Expected:

The code runs, charsUsed equals zero, bytesUsed equals zero and completed is true.

Actual:

Mono throws an ArgumentOutOfRangeException for charIndex.

There are also other behavioral differences between Mono and Microsoft's implementation for the GetChars(Byte[], Int32, Int32, Char[], Int32, Boolean) method, such as:

byte[] bytes = new byte[4096];
char[] chars = new char[10];
int charactersWritten = System.Text.Encoding.UTF8.GetDecoder().GetChars(bytes, 0, 0, chars, 10, false);

On Mono, this results in an ArgumentOutOfRangeException for charIndex, where for Microsoft charactersWritten = 0.

Similarly:

byte[] bytes = new byte[4096];
char[] chars = new char[10];
int charactersWritten = System.Text.Encoding.UTF8.GetDecoder().GetChars(bytes, 0, 4096, chars, 10, false);

On Mono, this results in the same ArgumentOutOfRangeException for charIndex, where Microsoft throws and ArgumentException. since "chars does not have enough capacity from charIndex to the end of the array to accommodate the resulting characters."
2013-03-01 05:05:34 -08:00
Marek Safar d47a9f2655 Merge pull request #583 from TalAloni/master
Make x64 compilation work out of the box
2013-03-01 01:18:38 -08:00
TalAloni 1df6dc98e5 Make x64 compilation work out of the box
Change the default projects that are compiled for x64
2013-03-01 11:13:38 +02:00
Marek Safar 5aa7859bd6 Merge pull request #581 from TalAloni/master
System.IO.Path bugfix
2013-02-28 23:31:03 -08:00
Marek Safar 971be4d9b3 Merge pull request #579 from LogosBible/bug10788
UTF8Decoder.GetChars(Byte[], Int32, Int32, Char[], Int32, Boolean) can w...
2013-02-28 23:27:31 -08:00
TalAloni 9a59023366 Added tests to PathTest.cs 2013-03-01 09:04:11 +02:00
Miguel de Icaza 311684d140 When serializing floats and doubles, use the InvariantCulture, so that floats are always stored in Json format, not the locale-specific format; As reported on irc 2013-02-28 23:09:50 -05:00
Zoltan Varga 8575b06a0e Implement a fast version of mono_get_lmf_addr () on ARM by inlining the call to pthread_getspecific () into the managed to native wrappers. 2013-03-01 05:01:19 +01:00
Zoltan Varga 53d6f3c150 Add some support for calling JIT icalls directly in full-aot mode. 2013-03-01 04:09:03 +01:00
TalAloni 19baf6c162 Update Path.cs
Fixed Path.GetDirectoryName() bug when path is in the following form: 'C:filename'
2013-03-01 02:47:07 +02:00
Martin Potter 7ca2aa01d7 UTF8Decoder.GetChars(Byte[], Int32, Int32, Char[], Int32, Boolean) can write past end of char[]. Fixes Bug#10788
UTF8Decoder.GetChars(Byte[], Int32, Int32, Char[], Int32, Boolean) eventually calls into UTF8Encoding.InternalGetChars, which does not perform any bounds checking on the passed in char* until after the first byte > 0x80 is encountered. For instance:

byte[] bytes = new byte[4096];
char[] chars = new char[10];
int charactersWritten = System.Text.Encoding.UTF8.GetDecoder().GetChars(bytes,
0, 4096, chars, 9, false);

will result in no errors and charactersWritten = 4096.
2013-02-28 16:26:02 -08:00
Zoltan Varga 0b96436216 Fix the handling of unresolved pinvoke methods in full-aot mode. 2013-03-01 00:23:10 +01:00
Martin Baulig 6717d6a6e3 Add System.Collections.ObjectModel.ReadOnlyDictionary. 2013-02-28 18:04:12 -05:00
Zoltan Varga cba753f832 Avoid the str pc,[r0]! instruction in MONO_CONTEXT_GET_CURRENT () which is not allowed by recent gcc versions. 2013-02-28 23:42:44 +01:00
Martin Baulig 670abe568d Really fix the build :-) 2013-02-28 17:30:46 -05:00
Zoltan Varga e972e43e83 Fix the build. 2013-02-28 23:28:27 +01:00
Zoltan Varga dc94b16c6e Fix MONO_CONTEXT_GET_CURRENT () clobbering a register before using it on ARM. 2013-02-28 23:27:43 +01:00
Duncan Mak 0135862f84 Try to fix the build.
Include the MonoTrampoline definition inside the DISABLE_REMOTING block.
2013-02-28 17:20:59 -05:00
Zoltan Varga d3a017fba7 Emit an explicit null check for some calls made out from gshared code. 2013-02-28 23:19:57 +01:00
Rodrigo Kumpera 8a9fe55822 Merge branch 'mono-disable-remoting' 2013-02-28 15:07:37 -05:00
Zoltan Varga 9c9f9687f5 Remove an unused argument from mini_add_method_trampoline (). 2013-02-28 21:06:24 +01:00
Rodrigo Kumpera 4a59194ee0 The runtime no longer need the remoting types under DISABLE_REMOTING. 2013-02-28 15:00:00 -05:00
Rodrigo Kumpera b36302a275 Rework castclass and isinst OPs to ignore transparent proxies under DISABLE_REMOTING. 2013-02-28 15:00:00 -05:00
Rodrigo Kumpera 839bed6b85 Disable most remoting code under DISABLE_REMOTING.
When remoting is disabled we don't export most of the code needed for it.
	This includes JIT suppport, marshalling support (no remoting related wrappers),
	transparent proxies won't proxy and, finally, ContextBound/MarshalByRef objects
	will no longer be special.
2013-02-28 15:00:00 -05:00
Rodrigo Kumpera 33c4f54a02 Hide marshalbyref and contextbound properties under accessors so we can easily configure them out. 2013-02-28 14:55:18 -05:00
Rodrigo Kumpera 2641b95392 Add configure option to disable remoting.
Disabling remoting includes type proxies, x-domain communication and makes COM unusable.
2013-02-28 14:55:18 -05:00
Zoltan Varga a7599c836b Fix gsharedvt delegate invokes from gsharedvt code. 2013-02-28 20:54:35 +01:00
Rodrigo Kumpera 0146859e63 Merge pull request #537 from madewokherd/ccwmarshal
cominterop: Free IMarshal interface with the CCW.
2013-02-28 11:49:46 -08:00
Atsushi Eno 79d5d39dae [mkbundle] add explicit --style option to specify output style for as. 2013-03-01 03:40:58 +09:00
Marek Safar 1d453c29e2 Remove ArrayList dependency 2013-02-28 16:59:09 +01:00
Marek Safar e93bb32168 Use generic comparer 2013-02-28 16:58:40 +01:00
Marek Safar a336b58fdc Use faster versions of string comparers 2013-02-28 15:42:55 +01:00
Marek Safar 277f4d7ab3 Remove culture info from simple string concatenation formating 2013-02-28 15:42:55 +01:00
Marek Safar ad5ed89038 Remove static constructor from HashSet 2013-02-28 15:42:55 +01:00
Zoltan Varga d669e4e8fc Add static rgctx trampolines in calls from gshared to gsharedvt code if needed. 2013-02-28 15:01:28 +01:00
Rodrigo Kumpera f91630e1a2 Ignore activationAttributes and never try to create a proxy under MOBILE. 2013-02-28 08:35:42 -05:00
Marek Safar e75e3a0a48 Don't build windows code paths on mobile profiles 2013-02-28 10:56:02 +01:00
Marek Safar 13d9a0f334 Fix compiler warnings 2013-02-28 09:19:47 +01:00
Marek Safar e25fa38a28 Don't add Array::BinarySearch dependency for unreachable code 2013-02-28 09:19:47 +01:00
Marek Safar 788e0e94af Use faster running on windows check 2013-02-28 09:19:46 +01:00
Marek Safar 1d2e9b0359 Merge pull request #576 from UCIS/patch-1
Fix ISerializable implementation in mcs/class/corlib/System/OperatingSystem.cs
2013-02-27 23:48:52 -08:00
Ivo Smits 5d2b57474e Fix serialization of DateTime struct for MS compatibility
Microsoft uses the UInt64 for the serialized dateData field.
Microsoft also uses Convert.ToUInt64 to convert the serialized
value to UInt64, which results in an overflow exception when
deserializing a DateTime serialized by mono.

Suggested change may break compatibility with previous versions
of mono, but should work with the Microsoft implementation.
2013-02-28 02:27:40 +01:00
Ivo Smits aefeb5f8fa Update mcs/class/corlib/System/OperatingSystem.cs
"The ISerializable interface implies a constructor with the signature constructor (SerializationInfo information, StreamingContext context)."
from http://msdn.microsoft.com/en-us/library/system.runtime.serialization.iserializable.aspx
2013-02-28 02:18:42 +01:00
Sebastien Pouliot 42c8d96762 Refactor to make it possible for the linker to remove, by default, less used Calendar types from applications 2013-02-27 20:11:10 -05:00
Sebastien Pouliot 36ce2f7982 Fix typo in test name (confusing) 2013-02-27 20:11:10 -05:00
Mark Probst 872cff99fd [sgen] Remove SCAN_OBJECT_ACTION - dead code. 2013-02-27 15:24:07 -08:00
Mark Probst de4d1effb3 Merge branch 'feature-remove-ssb' 2013-02-27 15:14:15 -08:00
Mark Probst d0ee020c47 [sgen] Remove unnecessary entries from remembered set function table. 2013-02-27 15:04:56 -08:00
Mark Probst a3371764a9 [sgen] Remove SSB write barrier. 2013-02-27 15:04:56 -08:00
Mark Probst 00b951e0e1 [tests] Make finalizer-wait.cs less prone to pinning. 2013-02-27 15:03:57 -08:00
Marek Safar 173ddd23a1 Add missing file 2013-02-27 23:21:04 +01:00
Rolf Bjarne Kvinge 2158f57208 Change g_log (and friends) to print to stderr. Fixes #10577.
Stdout is block buffered somewhere (and fflushing 'stdout' doesn't
fix it, only fflushing all streams works), and takes forever to
show up in any output.
2013-02-27 23:06:40 +01:00
Marek Safar bb05074a9f Replace some hashtables with dictionaries 2013-02-27 22:58:32 +01:00
Marek Safar a157be7bcb Fix Type and Module name filters to match 2013-02-27 22:58:32 +01:00
Marek Safar cfe97bf3a5 Share more common code 2013-02-27 22:58:31 +01:00
Mark Probst 8708924702 [sgen] Cementing bugfix for concurrent M&S.
We have to pin cemented objects at the finishing collection pause, too.  If we don't,
we don't scan them, and if they reference major objects that aren't referenced
elsewhere, we don't mark those major objects, and we break.
2013-02-27 13:29:51 -08:00
Mark Probst b36d7ed735 [sgen] Fix names of descriptor types in describe_ptr(). 2013-02-27 13:29:51 -08:00
Mark Probst 246d0e2b96 [sgen] Fix build of sgen-grep-binprot. 2013-02-27 13:29:51 -08:00
Mark Probst c649666953 [sgen] Binary protocol entries for scanning objects and vtypes. 2013-02-27 13:29:50 -08:00
Zoltan Varga 1406545a9f Fix the build. 2013-02-27 20:36:47 +01:00
Zoltan Varga 4756cbdd1c Fix the calculation of TARGET_IOS/OSX in configure. Fixes #10726. 2013-02-27 19:53:53 +01:00
Jack Pappas 2a42e4b294 Remove #ifdefs so ss_flags is always set to zero.
Removed the #ifdefs which used a different value for 'ss_flags' on Linux.
According to the POSIX standard, the SS_ONSTACK flag can never be used as input to the 'sigaltstack' function -- it can only be set by the 'sigaltstack' function itself, and tested after the function returns.
2013-02-22 21:06:25 -05:00
Jack Pappas cc991feac7 Swap the condition -- instead of checking for OS X and assuming anything else uses the Linux behavior, check for Linux and let other platforms use the default POSIX behavior. This allows sigaltstack to be used on BSD variants.
This change has been tested (with the standard test suite) on FreeBSD 9.1 (i386, amd64) and Ubuntu 12.04.1 (i386).
2013-02-09 19:38:08 -05:00
Vincent Povirk d25a61eebd cominterop: Free IMarshal interface with the CCW.
This commit is licensed under MIT/X11.
2013-01-23 14:15:39 -06:00
Shay Rojansky 850f2f4124 Fixes threadpool+ProcessExit problem
The threadpool was being shutdown too early, before the ProcessExit event was fired.
This led to bugs such as NLog not shutting down
(http://nlog-project.org/2011/10/30/using-nlog-with-mono.html).
2012-11-18 22:14:00 +02:00
Shay Rojansky a2e54923bb Runtime test to reproduce threadpool+ProcessExit issue
Do make test-process-exit to run
2012-11-18 22:13:42 +02:00
1505 changed files with 40520 additions and 55206 deletions

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ Makefile
Makefile.in
aclocal.m4
autom4te.cache
build
/build/
config.cache
config.guess
config.h
+1 -1
View File
@@ -29,7 +29,7 @@ i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux*|powerpc64-*-linux* \
?86-pc-cygwin*|i?86-pc-cygwin*)
pic_options='-DDLL_EXPORT'
;;
i?86-apple-darwin*)
i?86-apple-darwin*|arm-apple-darwin*)
pic_options='-fno-common'
;;
*)
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
# Run this to generate all the initial makefiles, etc.
# Ripped off from GNOME macros version
+192 -94
View File
@@ -1,7 +1,7 @@
# Process this file with autoconf to produce a configure script.
#AC_PREREQ([2.62])
AC_INIT(mono, [3.0.6],
AC_INIT(mono, [3.0.12],
[http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono])
AC_CONFIG_SRCDIR([README])
@@ -72,6 +72,9 @@ no_version_script=no
# Set to yes if Unix sockets cannot be created in an anonymous namespace
need_link_unlink=no
#Set to extra linker flags to be passed to the runtime binaries (mono /mono-sgen)
extra_runtime_ldflags=""
# Thread configuration inspired by sleepycat's db
AC_MSG_CHECKING([host platform characteristics])
libgc_threads=no
@@ -314,14 +317,19 @@ case "$host" in
dnl Snow Leopard and newer config.guess reports as this
i*86-*-darwin*)
BROKEN_DARWIN_FLAGS="-arch i386 -D_XOPEN_SOURCE"
CPPFLAGS="$CPPFLAGS $BROKEN_DARWIN_FLAGS"
BROKEN_DARWIN_CPPFLAGS="-D_XOPEN_SOURCE"
CPPFLAGS="$CPPFLAGS $BROKEN_DARWIN_CPPFLAGS"
CFLAGS="$CFLAGS $BROKEN_DARWIN_FLAGS"
CXXFLAGS="$CXXFLAGS $BROKEN_DARWIN_FLAGS"
CCASFLAGS="$CCASFLAGS $BROKEN_DARWIN_FLAGS"
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC $BROKEN_DARWIN_FLAGS"
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC $BROKEN_DARWIN_CPPFLAGS"
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC $BROKEN_DARWIN_FLAGS"
CPPFLAGS_FOR_EGLIB="$CPPFLAGS_FOR_EGLIB $BROKEN_DARWIN_FLAGS"
CPPFLAGS_FOR_EGLIB="$CPPFLAGS_FOR_EGLIB $BROKEN_DARWIN_CPPFLAGS"
CFLAGS_FOR_EGLIB="$CFLAGS_FOR_EGLIB $BROKEN_DARWIN_FLAGS"
extra_runtime_ldflags="-stack_size,0x800000"
;;
x*64-*-darwin*)
extra_runtime_ldflags="-stack_size,0x800000"
;;
arm*-darwin*)
has_dtrace=no
@@ -351,6 +359,7 @@ if test x$need_link_unlink = xyes; then
AC_DEFINE(NEED_LINK_UNLINK, 1, [Define if Unix sockets cannot be created in an anonymous namespace])
fi
AC_SUBST(extra_runtime_ldflags)
AM_CONDITIONAL(HOST_WIN32, test x$host_win32 = xyes)
AM_CONDITIONAL(TARGET_WIN32, test x$target_win32 = xyes)
AM_CONDITIONAL(PLATFORM_LINUX, echo x$target_os | grep -q linux)
@@ -510,7 +519,7 @@ if test x"$GCC" = xyes; then
ORIG_CFLAGS=$CFLAGS
# Check for the normal version, since gcc ignores unknown -Wno options
CFLAGS="$CFLAGS -Wunused-but-set-variable"
CFLAGS="$CFLAGS -Wunused-but-set-variable -Werror"
AC_MSG_CHECKING(for -Wno-unused-but-set-variable option to gcc)
AC_TRY_COMPILE([],[
return 0;
@@ -742,8 +751,8 @@ DISABLED_FEATURES=none
AC_ARG_ENABLE(minimal, [ --enable-minimal=LIST drop support for LIST subsystems.
LIST is a comma-separated list from: aot, profiler, decimal, pinvoke, debug, appdomains, verifier,
reflection_emit, reflection_emit_save, large_code, logging, com, ssa, generics, attach, jit, simd, soft_debug, perfcounters, normalization, assembly_remapping, shared_perfcounters,
sgen_remset, sgen_marksweep_par, sgen_marksweep_fixed, sgen_marksweep_fixed_par, sgen_copying.],
reflection_emit, reflection_emit_save, large_code, logging, com, ssa, generics, attach, jit, simd, soft_debug, perfcounters, normalization, assembly_remapping, shared_perfcounters, remoting,
security, sgen_remset, sgen_marksweep_par, sgen_marksweep_fixed, sgen_marksweep_fixed_par, sgen_copying.],
[
for feature in `echo "$enable_minimal" | sed -e "s/,/ /g"`; do
eval "mono_feature_disable_$feature='yes'"
@@ -882,6 +891,16 @@ if test "x$mono_feature_disable_appdomains" = "xyes"; then
AC_MSG_NOTICE([Disabled support for multiple appdomains.])
fi
if test "x$mono_feature_disable_remoting" = "xyes"; then
AC_DEFINE(DISABLE_REMOTING, 1, [Disable remoting support (This disables type proxies and make com non-functional)])
AC_MSG_NOTICE([Disabled remoting])
fi
if test "x$mono_feature_disable_security" = "xyes"; then
AC_DEFINE(DISABLE_SECURITY, 1, [Disable CAS/CoreCLR security])
AC_MSG_NOTICE([Disabled CAS/CoreCLR security manager (used e.g. for Moonlight)])
fi
if test "x$mono_feature_disable_sgen_remset" = "xyes"; then
AC_DEFINE(DISABLE_SGEN_REMSET, 1, [Disable wbarrier=remset support in SGEN.])
AC_MSG_NOTICE([Disabled wbarrier=remset support in SGEN.])
@@ -1069,6 +1088,8 @@ AC_TRY_COMPILE([
AC_DEFINE_UNQUOTED(MONO_ZERO_LEN_ARRAY, 1, [Length of zero length arrays])
])
AC_CHECK_HEADERS(nacl/nacl_dyncode.h)
if test x$target_win32 = xno; then
dnl hires monotonic clock support
@@ -1537,8 +1558,7 @@ if test x$target_win32 = xno; then
AC_MSG_RESULT(ok)
], [
AC_MSG_RESULT(no)
AC_MSG_WARN(Using mono_mutex_t for recursive mutexes)
AC_DEFINE(USE_MONO_MUTEX, 1, [Use mono_mutex_t])
AC_ERROR(Posix system lacks support for recursive mutexes)
])
AC_CHECK_FUNCS(pthread_attr_setstacksize)
AC_CHECK_FUNCS(pthread_attr_getstack pthread_attr_getstacksize)
@@ -1779,11 +1799,13 @@ if test x$target_win32 = xno; then
dnl **********************************
dnl *** epoll ***
dnl **********************************
AC_CHECK_HEADERS(sys/epoll.h)
haveepoll=no
AC_CHECK_FUNCS(epoll_ctl, [haveepoll=yes], )
if test "x$haveepoll" = "xyes" -a "x$ac_cv_header_sys_epoll_h" = "xyes" ; then
AC_DEFINE(HAVE_EPOLL, 1, [epoll supported])
if test "x$ac_cv_header_nacl_nacl_dyncode_h" = "xno"; then
AC_CHECK_HEADERS(sys/epoll.h)
haveepoll=no
AC_CHECK_FUNCS(epoll_ctl, [haveepoll=yes], )
if test "x$haveepoll" = "xyes" -a "x$ac_cv_header_sys_epoll_h" = "xyes"; then
AC_DEFINE(HAVE_EPOLL, 1, [epoll supported])
fi
fi
havekqueue=no
@@ -1954,6 +1976,9 @@ if test x$target_win32 = xno; then
AC_CHECK_FUNCS(lockf)
AC_CHECK_FUNCS(swab)
AC_CHECK_FUNCS(setusershell endusershell)
AC_CHECK_FUNCS(futimens utimensat)
AC_CHECK_FUNCS(fstatat mknodat readlinkat)
AC_CHECK_FUNCS(readv writev preadv pwritev)
AC_CHECK_SIZEOF(size_t)
AC_CHECK_TYPES([blksize_t], [AC_DEFINE(HAVE_BLKSIZE_T)], ,
[#include <sys/types.h>
@@ -1968,6 +1993,8 @@ if test x$target_win32 = xno; then
AC_CHECK_TYPES([struct flock], [AC_DEFINE(HAVE_STRUCT_FLOCK)], ,
[#include <unistd.h>
#include <fcntl.h>])
AC_CHECK_TYPES([struct iovec], [AC_DEFINE(HAVE_STRUCT_IOVEC)], ,
[#include <sys/uio.h>])
AC_CHECK_TYPES([struct pollfd], [AC_DEFINE(HAVE_STRUCT_POLLFD)], ,
[#include <sys/poll.h>])
AC_CHECK_TYPES([struct stat], [AC_DEFINE(HAVE_STRUCT_STAT)], ,
@@ -1997,6 +2024,11 @@ if test x$target_win32 = xno; then
[struct statfs.f_flags],,,
[#include <sys/types.h>
#include <sys/vfs.h>])
AC_CHECK_MEMBERS(
[struct stat.st_atim, struct stat.st_mtim, struct stat.st_ctim],,,
[#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>])
dnl Favour xattr through glibc, but use libattr if we have to
AC_CHECK_FUNC(lsetxattr, ,
@@ -2289,16 +2321,32 @@ AC_ARG_ENABLE(nacl_codegen, [ --enable-nacl-codegen Enable Native Client c
AC_ARG_ENABLE(nacl_gc, [ --enable-nacl-gc Enable Native Client garbage collection], enable_nacl_gc=$enableval, enable_nacl_gc=no)
AM_CONDITIONAL(NACL_CODEGEN, test x$enable_nacl_codegen != xno)
dnl
dnl Hack to use system mono for operations in build/install not allowed in NaCl.
dnl
nacl_self_host=""
if test "x$ac_cv_header_nacl_nacl_dyncode_h" = "xyes"; then
nacl_self_host="nacl_self_host"
fi
AC_SUBST(nacl_self_host)
if test "x$enable_nacl_codegen" = "xyes"; then
MONO_NACL_ALIGN_MASK_OFF=1
CPPFLAGS="$CPPFLAGS -D__native_client_codegen__"
AC_DEFINE(TARGET_NACL, 1, [...])
AC_DEFINE(__native_client_codegen__, 1, [...])
else
MONO_NACL_ALIGN_MASK_OFF=0
CPPFLAGS="$CPPFLAGS -D__default_codegen__"
AC_DEFINE(__default_codegen__, 1, [...])
fi
if test "x$enable_nacl_gc" = "xyes"; then
CPPFLAGS="$CPPFLAGS -finstrument-for-thread-suspension -D__native_client_gc__"
if test "x$TARGET" = "xAMD64" -o "x$TARGET" = "xX86"; then
INSTRUMENT_CFLAG="-finstrument-for-thread-suspension"
else
# Not yet implemented
INSTRUMENT_CFLAG=""
fi
CPPFLAGS="$CPPFLAGS $INSTRUMENT_CFLAG -D__native_client_gc__"
fi
AC_SUBST(MONO_NACL_ALIGN_MASK_OFF)
@@ -2457,6 +2505,10 @@ case "$host" in
TARGET=AMD64;
arch_target=amd64;
JIT_SUPPORTED=yes
if test "x$ac_cv_sizeof_void_p" = "x4"; then
AC_DEFINE(__mono_ilp32__, 1, [64 bit mode with 4 byte longs and pointers])
sizeof_register=8
fi
case $host_os in
linux*)
sgen_supported=true
@@ -2507,18 +2559,6 @@ case "$host" in
fi
sgen_supported=true
;;
alpha*-*-linux* | alpha*-*-osf*)
TARGET=ALPHA;
ACCESS_UNALIGNED="no"
JIT_SUPPORTED=yes
arch_target=alpha;
CFLAGS="$CFLAGS -mieee -O0"
case $host_os in
linux*)
LIBC="libc.so.6.1"
INTL="libc.so.6.1"
esac
;;
*-mingw*|*-*-cygwin*)
# When this is enabled, it leads to very strange crashes at runtime (gcc-3.4.4)
have_visibility_hidden=no
@@ -2547,9 +2587,9 @@ case "$host" in
arch_target=arm;
ACCESS_UNALIGNED="no"
JIT_SUPPORTED=yes
CPPFLAGS="$CPPFLAGS -DARM_FPU_VFP=1 -D__ARM_EABI__ -DHAVE_ARMV6=1"
CPPFLAGS="$CPPFLAGS -D__ARM_EABI__ -DHAVE_ARMV6=1"
# libgc's gc_locks.h depends on this
NESTED_LIBGC_FLAGS="$NESTED_LIBGC_FLAGS -DHAVE_ARMV6"
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DHAVE_ARMV6"
sgen_supported=true
;;
arm*-linux*)
@@ -2559,21 +2599,17 @@ case "$host" in
JIT_SUPPORTED=yes
sgen_supported=true
AOT_SUPPORTED="yes"
if test "x$cross_compiling" != "xno"; then
# Provide sane defaults when cross-compiling
CPPFLAGS="$CPPFLAGS -DARM_FPU_VFP=1 -D__ARM_EABI__ -DHAVE_ARMV6=1"
NESTED_LIBGC_FLAGS="$NESTED_LIBGC_FLAGS -DHAVE_ARMV6"
fi
;;
s390-*-linux*)
TARGET=S390;
arch_target=s390;
ACCESS_UNALIGNED="yes"
JIT_SUPPORTED=yes
sgen_supported=true
# Required CFLAGS for s390[x]. USE_STRING_INLINES is automatic with gcc 4.1
CFLAGS="$CFLAGS -mbackchain -D__USE_STRING_INLINES"
CPPFLAGS="$CPPFLAGS -D__ARM_EABI__"
;;
# TODO: make proper support for NaCl host.
# arm*-*nacl)
# TARGET=ARM;
# arch_target=arm;
# ACCESS_UNALIGNED="no"
# JIT_SUPPORTED=yes
# sgen_supported=true
# AOT_SUPPORTED="no"
# ;;
s390x-*-linux*)
TARGET=S390x;
arch_target=s390x;
@@ -2595,7 +2631,7 @@ if test "x$host" != "x$target"; then
arch_target=arm;
ACCESS_UNALIGNED="no"
JIT_SUPPORTED=yes
CPPFLAGS="$CPPFLAGS -DARM_FPU_VFP=1 -D__ARM_EABI__ -DHAVE_ARMV6=1"
CPPFLAGS="$CPPFLAGS -D__ARM_EABI__ -DHAVE_ARMV6=1"
jit_wanted=true
# Can't use tls, since it depends on the runtime detection of tls offsets
# in mono-compiler.h
@@ -2629,13 +2665,34 @@ if test "x$host" != "x$target"; then
AC_DEFINE(__mono_ilp32__, 1, [64 bit mode with 4 byte longs and pointers])
sizeof_register=8
;;
*-*-nacl)
# TODO: make proper support for NaCl target.
# arm*-*nacl)
# TARGET=ARM
# arch_target=arm
# AC_DEFINE(TARGET_ARM, 1, [...])
# ACCESS_UNALIGNED="no"
# JIT_SUPPORTED=yes
# sizeof_register=4
# CPPFLAGS="$CPPFLAGS \
# -D__ARM_EABI__ \
# -D__arm__ \
# -D__portable_native_client__ \
# -Dtimezone=_timezone \
# -DDISABLE_SOCKETS \
# -DDISABLE_ATTACH \
# -DUSE_NEWLIB"
# jit_wanted=true
# Can't use tls, since it depends on the runtime detection of tls offsets
# in mono-compiler.h
# with_tls=pthread
# ;;
i686-*-nacl)
TARGET=X86
arch_target=x86
AC_DEFINE(TARGET_X86, 1, [...])
sizeof_register=4
;;
arm*-unknown-linux-*)
arm*-linux-*)
TARGET=ARM;
arch_target=arm;
AC_DEFINE(TARGET_ARM, 1, [...])
@@ -2650,11 +2707,11 @@ if test "x$host" != "x$target"; then
case "$target" in
armv7l-unknown-linux-gnueabi*)
# TEGRA
CPPFLAGS="$CPPFLAGS -DARM_FPU_VFP=1"
CPPFLAGS="$CPPFLAGS"
;;
armv5-*-linux-androideabi*)
AC_DEFINE(TARGET_ANDROID, 1, [...])
CPPFLAGS="$CPPFLAGS -DARM_FPU_NONE"
CPPFLAGS="$CPPFLAGS"
;;
esac
;;
@@ -2690,21 +2747,26 @@ MIPS)
esac
if test "x$target_mach" = "xyes"; then
AC_TRY_COMPILE([#include "TargetConditionals.h"],[
#if TARGET_IPHONE_SIMULATOR == 1 || TARGET_OS_IPHONE == 1
#error fail this for ios
#endif
return 0;
], [
AC_DEFINE(TARGET_OSX,1,[The JIT/AOT targets OSX])
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DTARGET_OSX"
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DTARGET_OSX"
], [
AC_DEFINE(TARGET_IOS,1,[The JIT/AOT targets iOS])
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DTARGET_IOS"
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DTARGET_IOS"
])
if test "x$TARGET" = "xARM"; then
AC_DEFINE(TARGET_IOS,1,[The JIT/AOT targets iOS])
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DTARGET_IOS"
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DTARGET_IOS"
else
AC_TRY_COMPILE([#include "TargetConditionals.h"],[
#if TARGET_IPHONE_SIMULATOR == 1 || TARGET_OS_IPHONE == 1
#error fail this for ios
#endif
return 0;
], [
AC_DEFINE(TARGET_OSX,1,[The JIT/AOT targets OSX])
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DTARGET_OSX"
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DTARGET_OSX"
], [
AC_DEFINE(TARGET_IOS,1,[The JIT/AOT targets iOS])
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DTARGET_IOS"
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DTARGET_IOS"
])
fi
AC_DEFINE(TARGET_MACH,1,[The JIT/AOT targets Apple platforms])
fi
@@ -2847,7 +2909,7 @@ fi
mono_debugger_supported=no
AC_ARG_ENABLE(mono-debugger, [ --disable-mono-debugger disable support for the mdb debugger], try_mono_debugger=$enableval, try_mono_debugger=yes)
if test "x$try_mono_debugger" = "xyes"; then
if test "x$TARGET" = "xAMD64" -o "x$TARGET" = "xX86" -o "x$TARGET" = "xALPHA" -o "x$TARGET" = "xS390x"; then
if test "x$TARGET" = "xAMD64" -o "x$TARGET" = "xX86" -o "x$TARGET" = "xS390x"; then
if test x$use_included_gc = xyes; then
case "$host" in
*-*-*linux*)
@@ -2872,7 +2934,7 @@ mono_debugger_supported=no
AC_MSG_CHECKING(if the Mono Debugger is supported on this platform)
if test "x$mono_debugger_supported" = "xyes"; then
BOEHM_DEFINES="$BOEHM_DEFINES -DMONO_DEBUGGER_SUPPORTED"
NESTED_LIBGC_FLAGS="-DMONO_DEBUGGER_SUPPORTED"
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DMONO_DEBUGGER_SUPPORTED"
fi
AM_CONDITIONAL(MONO_DEBUGGER_SUPPORTED, test x$mono_debugger_supported = xyes)
AC_MSG_RESULT($mono_debugger_supported)
@@ -2914,46 +2976,80 @@ if test "x$with_tls" = "x__thread"; then
])
fi
if test ${TARGET} = ARM && test x$cross_compiling = xno && test x$enable_mcs_build != xno; then
if test ${TARGET} = ARM; then
dnl ******************************************
dnl *** Check to see what FPU is available ***
dnl ******************************************
AC_MSG_CHECKING(which FPU to use)
#
# This is a bit tricky:
#
# if (__ARM_PCS_VFP) {
# /* mfloat-abi=hard == VFP with hard ABI */
# } elif (!__SOFTFP__) {
# /* mfloat-abi=softfp == VFP with soft ABI */
# } else {
# /* mfloat-abi=soft == no VFP */
# }
#
# The exception is iOS (w/ GCC) where none of the above
# are defined (but iOS always uses the 'softfp' ABI).
#
# No support for FPA.
#
fpu=NONE
if gcc -v 2>&1 | grep -q -- '--with-float=hard'; then
fpu=VFP_HARD
fi
if test x$fpu = xNONE; then
ORIG_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -mfpu=vfp -mfloat-abi=softfp"
AC_TRY_RUN([
int main () { __asm__ ("faddd d7, d6, d7"); return 0; }
], fpu=VFP, fpu=NONE)
CFLAGS=$ORIG_CFLAGS
# iOS GCC always uses the 'softfp' ABI.
if test x"$GCC" = xyes && test x$platform_darwin = xyes; then
fpu=VFP
fi
# Are we using the 'hard' ABI?
if test x$fpu = xNONE; then
AC_TRY_COMPILE([], [
__asm__ ("ldfd f0, [r0]");
], fpu=FPA, fpu=NONE)
#ifndef __ARM_PCS_VFP
#error "Float ABI is not 'hard'"
#endif
return 0;
], [
fpu=VFP_HARD
], [
fpu=NONE
])
fi
# No 'hard' ABI. 'soft' or 'softfp'?
if test x$fpu = xNONE; then
AC_TRY_COMPILE([], [
#ifdef __SOFTFP__
#error "Float ABI is not 'softfp'"
#endif
return 0;
], [
fpu=VFP
], [
fpu=NONE
])
fi
AC_MSG_RESULT($fpu)
CPPFLAGS="$CPPFLAGS -DARM_FPU_$fpu=1"
unset fpu
AC_MSG_CHECKING(for ARMV6)
AC_TRY_RUN([
int main () { __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" : : "r" (0) : "memory"); return 0; }
], armv6=yes, armv6=no)
if test x$cross_compiling = xno; then
AC_MSG_CHECKING(for ARMV6)
AC_TRY_RUN([
int main () { __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" : : "r" (0) : "memory"); return 0; }
], armv6=yes, armv6=no)
AC_MSG_RESULT($armv6)
if test ${armv6} = yes; then
AC_DEFINE(HAVE_ARMV6, 1, "Host supports ARMV6 instructions")
# libgc's gc_locks.h depends on this
NESTED_LIBGC_FLAGS="$NESTED_LIBGC_FLAGS -DHAVE_ARMV6"
AC_MSG_RESULT($armv6)
if test ${armv6} = yes; then
AC_DEFINE(HAVE_ARMV6, 1, "Host supports ARMV6 instructions")
# libgc's gc_locks.h depends on this
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DHAVE_ARMV6"
fi
fi
fi
@@ -2981,7 +3077,7 @@ case "x$gc" in
# The problem with this approach, is that during a reconfigure, the main
# configure scripts gets invoked with these arguments, so we use separate
# variables understood by libgc's configure to pass CPPFLAGS and CFLAGS.
TMP_CPPFLAGS="$CPPFLAGS $NESTED_LIBGC_FLAGS"
TMP_CPPFLAGS="$CPPFLAGS $CPPFLAGS_FOR_LIBGC"
if test x$TARGET = xSPARC -o x$TARGET = xSPARC64; then
TMP_CPPFLAGS=`echo $TMP_CPPFLAGS | sed -e 's/-D_FILE_OFFSET_BITS=64//g'`
fi
@@ -3123,14 +3219,12 @@ AM_CONDITIONAL(SPARC, test x$TARGET = xSPARC)
AM_CONDITIONAL(SPARC64, test x$TARGET = xSPARC64)
AM_CONDITIONAL(X86, test x$TARGET = xX86)
AM_CONDITIONAL(AMD64, test x$TARGET = xAMD64)
AM_CONDITIONAL(ALPHA, test x$TARGET = xALPHA)
AM_CONDITIONAL(IA64, test x$TARGET = xIA64)
AM_CONDITIONAL(M68K, test x$TARGET = xM68K)
AM_CONDITIONAL(MIPS, test x$TARGET = xMIPS)
AM_CONDITIONAL(POWERPC, test x$TARGET = xPOWERPC)
AM_CONDITIONAL(POWERPC64, test x$TARGET = xPOWERPC64)
AM_CONDITIONAL(ARM, test x$TARGET = xARM)
AM_CONDITIONAL(S390, test x$TARGET = xS390)
AM_CONDITIONAL(S390x, test x$TARGET = xS390x)
AM_CONDITIONAL(HOST_X86, test x$HOST = xX86)
AM_CONDITIONAL(HOST_AMD64, test x$HOST = xAMD64)
@@ -3323,10 +3417,8 @@ mono/arch/x86/Makefile
mono/arch/amd64/Makefile
mono/arch/ppc/Makefile
mono/arch/sparc/Makefile
mono/arch/s390/Makefile
mono/arch/s390x/Makefile
mono/arch/arm/Makefile
mono/arch/alpha/Makefile
mono/arch/ia64/Makefile
mono/arch/mips/Makefile
mono/interpreter/Makefile
@@ -3339,6 +3431,7 @@ mono/tests/cas/demand/Makefile
mono/tests/cas/inheritance/Makefile
mono/tests/cas/linkdemand/Makefile
mono/tests/cas/threads/Makefile
mono/tests/gc-descriptors/Makefile
mono/benchmark/Makefile
mono/monograph/Makefile
mono/io-layer/Makefile
@@ -3398,6 +3491,11 @@ if test x$host_win32 = xyes; then
sed -e "s,-mno-cygwin,,g" libtool > libtool.new; mv libtool.new libtool; chmod 755 libtool
fi
if test x$platform_darwin = xyes; then
# This doesn't seem to be required and it slows down parallel builds
sed -e 's,lock_old_archive_extraction=yes,lock_old_archive_extraction=no,g' < libtool > libtool.new && mv libtool.new libtool && chmod +x libtool
fi
(
case $prefix in
NONE) prefix=$ac_default_prefix ;;
+1 -9
View File
@@ -1,12 +1,4 @@
Name: Reactive Extensions
Description: Reactive Extensions
Version: @VERSION@
Libs:
-r:@prefix@/lib/mono/4.5/System.Reactive.Interfaces.dll
-r:@prefix@/lib/mono/4.5/System.Reactive.Core.dll
-r:@prefix@/lib/mono/4.5/System.Reactive.Linq.dll
-r:@prefix@/lib/mono/4.5/System.Reactive.PlatformServices.dll
-r:@prefix@/lib/mono/4.5/System.Reactive.Providers.dll
-r:@prefix@/lib/mono/4.5/System.Reactive.Debugger.dll
-r:@prefix@/lib/mono/4.5/System.Reactive.Experimental.dll
-r:@prefix@/lib/mono/4.5/System.Reactive.Runtime.Remoting.dll
Libs: -r:@prefix@/lib/mono/4.5/System.Reactive.Interfaces.dll -r:@prefix@/lib/mono/4.5/System.Reactive.Core.dll -r:@prefix@/lib/mono/4.5/System.Reactive.Linq.dll -r:@prefix@/lib/mono/4.5/System.Reactive.PlatformServices.dll -r:@prefix@/lib/mono/4.5/System.Reactive.Providers.dll -r:@prefix@/lib/mono/4.5/System.Reactive.Debugger.dll -r:@prefix@/lib/mono/4.5/System.Reactive.Experimental.dll -r:@prefix@/lib/mono/4.5/System.Reactive.Runtime.Remoting.dll
+1 -1
View File
@@ -29,7 +29,7 @@ i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux*|powerpc64-*-linux* \
?86-pc-cygwin*|i?86-pc-cygwin*)
pic_options='-DDLL_EXPORT'
;;
i?86-apple-darwin*)
i?86-apple-darwin*|arm-apple-darwin*)
pic_options='-fno-common'
;;
*)
-3
View File
@@ -37,9 +37,6 @@ typedef signed @GSIZE@ gssize;
#endif
#if defined (__native_client__)
#define sem_trywait(x) sem_wait(x)
#define sem_timedwait(x,y) sem_wait(x)
#define getdtablesize() (32768)
#undef G_BREAKPOINT
#define G_BREAKPOINT()
#endif
+10
View File
@@ -154,6 +154,15 @@ g_file_open_tmp (const gchar *tmpl, gchar **name_used, GError **error)
gchar *
g_get_current_dir (void)
{
#ifdef __native_client__
char *buffer;
if ((buffer = getenv("NACL_PWD"))) {
buffer = g_strdup(buffer);
} else {
buffer = g_strdup(".");
}
return buffer;
#else
int s = 32;
char *buffer = NULL, *r;
gboolean fail;
@@ -172,4 +181,5 @@ g_get_current_dir (void)
* so we return the buffer here since it has a pointer to the valid string
*/
return buffer;
#endif
}
+10 -3
View File
@@ -34,6 +34,13 @@
#endif
#include <errno.h>
#ifdef _MSC_VER
#define FORCE_INLINE(RET_TYPE) __forceinline RET_TYPE
#else
#define FORCE_INLINE(RET_TYPE) inline RET_TYPE __attribute__((always_inline))
#endif
#define UNROLL_DECODE_UTF8 0
#define UNROLL_ENCODE_UTF8 0
@@ -61,7 +68,7 @@ static int encode_utf16be (gunichar c, char *outbuf, size_t outleft);
static int decode_utf16le (char *inbuf, size_t inleft, gunichar *outchar);
static int encode_utf16le (gunichar c, char *outbuf, size_t outleft);
static int decode_utf8 (char *inbuf, size_t inleft, gunichar *outchar);
static FORCE_INLINE (int) decode_utf8 (char *inbuf, size_t inleft, gunichar *outchar);
static int encode_utf8 (gunichar c, char *outbuf, size_t outleft);
static int decode_latin1 (char *inbuf, size_t inleft, gunichar *outchar);
@@ -480,7 +487,7 @@ encode_utf16le (gunichar c, char *outbuf, size_t outleft)
}
}
static int
static FORCE_INLINE (int)
decode_utf8 (char *inbuf, size_t inleft, gunichar *outchar)
{
unsigned char *inptr = (unsigned char *) inbuf;
@@ -828,7 +835,7 @@ g_unichar_to_utf8 (gunichar c, gchar *outbuf)
return n;
}
static int
static FORCE_INLINE (int)
g_unichar_to_utf16 (gunichar c, gunichar2 *outbuf)
{
gunichar c2;
+3 -39
View File
@@ -28,46 +28,12 @@
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <config.h>
#include <glib.h>
#include <gmodule.h>
#if defined(__native_client__)
GModule *
g_module_open (const gchar *file, GModuleFlags flags)
{
printf("dlopen() not supported on Native Client.\n");
return NULL;
}
gboolean
g_module_symbol (GModule *module, const gchar *symbol_name, gpointer *symbol)
{
return FALSE;
}
const gchar*
g_module_error(void)
{
return "dlopen not supported on Native Client.";
}
gboolean
g_module_close (GModule *module)
{
return FALSE;
}
gchar*
g_module_build_path (const gchar *directory, const gchar *module_name)
{
return NULL;
}
#else
#ifdef G_OS_UNIX
#if defined(G_OS_UNIX) && defined(HAVE_DLFCN_H)
#include <dlfcn.h>
/* For Linux and Solaris, need to add others as we port this */
@@ -322,5 +288,3 @@ g_module_build_path (const gchar *directory, const gchar *module_name)
return g_strdup_printf ("%s%s" LIBSUFFIX, lib_prefix, module_name);
}
#endif /* __native_client__ */
+14 -1
View File
@@ -147,11 +147,24 @@ g_logv (const gchar *log_domain, GLogLevelFlags log_level, const gchar *format,
if (vasprintf (&msg, format, args) < 0)
return;
#ifdef G_OS_WIN32
printf ("%s%s%s\n",
log_domain != NULL ? log_domain : "",
log_domain != NULL ? ": " : "",
msg);
#else
#if MONOTOUCH
FILE *target = stderr;
#else
FILE *target = stdout;
#endif
fprintf (target, "%s%s%s\n",
log_domain != NULL ? log_domain : "",
log_domain != NULL ? ": " : "",
msg);
#endif
free (msg);
if (log_level & fatal){
fflush (stdout);
+1 -1
+5
View File
@@ -95,6 +95,11 @@
JNIEXPORT int JNICALL ikvm_msync(void* address, jint size)
{
#if defined(__native_client__) && defined(USE_NEWLIB)
g_assert_not_reached ();
return -1;
#else
return msync(address, size, MS_SYNC);
#endif
}
#endif
+1 -1
View File
@@ -29,7 +29,7 @@ i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux*|powerpc64-*-linux* \
?86-pc-cygwin*|i?86-pc-cygwin*)
pic_options='-DDLL_EXPORT'
;;
i?86-apple-darwin*)
i?86-apple-darwin*|arm-apple-darwin*)
pic_options='-fno-common'
;;
*)
+5 -5
View File
@@ -26,7 +26,7 @@
* None of this is safe with dlclose and incremental collection.
* But then not much of anything is safe in the presence of dlclose.
*/
#if defined(__linux__) && !defined(_GNU_SOURCE)
#if (defined(__linux__) || defined(__native_client__)) && !defined(_GNU_SOURCE)
/* Can't test LINUX, since this must be define before other includes */
# define _GNU_SOURCE
#endif
@@ -54,7 +54,7 @@
#if !defined(SUNOS4) && !defined(SUNOS5DL) && !defined(IRIX5) && \
!defined(MSWIN32) && !defined(MSWINCE) && \
!(defined(ALPHA) && defined(OSF1)) && \
!defined(HPUX) && !(defined(LINUX) && defined(__ELF__)) && \
!defined(HPUX) && !((defined(LINUX) || defined(NACL)) && defined(__ELF__)) && \
!defined(RS6000) && !defined(SCO_ELF) && !defined(DGUX) && \
!(defined(FREEBSD) && defined(__ELF__)) && \
!(defined(OPENBSD) && (defined(__ELF__) || defined(M68K))) && \
@@ -91,7 +91,7 @@
# define ELFSIZE ARCH_ELFSIZE
#endif
#if defined(LINUX) && defined(__ELF__) || defined(SCO_ELF) || \
#if (defined(LINUX) || defined(NACL)) && defined(__ELF__) || defined(SCO_ELF) || \
(defined(FREEBSD) && defined(__ELF__)) || defined(DGUX) || \
(defined(OPENBSD) && defined(__ELF__)) || \
(defined(NETBSD) && defined(__ELF__)) || defined(HURD)
@@ -297,7 +297,7 @@ void GC_register_dynamic_libraries()
# endif /* !USE_PROC ... */
# endif /* SUNOS */
#if defined(LINUX) && defined(__ELF__) || defined(SCO_ELF) || \
#if (defined(LINUX) || defined(NACL)) && defined(__ELF__) || defined(SCO_ELF) || \
(defined(FREEBSD) && defined(__ELF__)) || defined(DGUX) || \
(defined(OPENBSD) && defined(__ELF__)) || \
(defined(NETBSD) && defined(__ELF__)) || defined(HURD)
@@ -394,7 +394,7 @@ GC_bool GC_register_main_static_data()
/* For glibc 2.2.4+. Unfortunately, it doesn't work for older */
/* versions. Thanks to Jakub Jelinek for most of the code. */
# if defined(LINUX) /* Are others OK here, too? */ \
# if (defined(LINUX) || defined(NACL)) /* Are others OK here, too? */ \
&& (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) \
|| (__GLIBC__ == 2 && __GLIBC_MINOR__ == 2 && defined(DT_CONFIG)))
+19 -1
View File
@@ -223,12 +223,22 @@
# define GC_CLEAR_DEFINED
# endif /* ALPHA */
# ifdef ARM32
# ifdef __native_client__
# define MASK_REGISTER(reg, cond) "bic" cond " " reg ", " reg ", #0xc0000000\n"
# define NACL_ALIGN() ".align 4\n"
# else
# define MASK_REGISTER(reg, cond)
# define NACL_ALIGN()
# endif
inline static int GC_test_and_set(volatile unsigned int *addr) {
#if defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7__)
int ret, tmp;
__asm__ __volatile__ (
"1:\n"
NACL_ALIGN()
MASK_REGISTER("%3", "al")
"ldrex %0, [%3]\n"
MASK_REGISTER("%3", "al")
"strex %1, %2, [%3]\n"
"teq %1, #0\n"
"bne 1b\n"
@@ -242,7 +252,8 @@
* bus because there are no SMP ARM machines. If/when there are,
* this code will likely need to be updated. */
/* See linuxthreads/sysdeps/arm/pt-machine.h in glibc-2.1 */
__asm__ __volatile__("swp %0, %1, [%2]"
__asm__ __volatile__(MASK_REGISTER("%2", "al")
"swp %0, %1, [%2]"
: "=&r"(oldval)
: "r"(1), "r"(addr)
: "memory");
@@ -253,11 +264,18 @@
inline static void GC_clear(volatile unsigned int *addr) {
#ifdef HAVE_ARMV6
/* Memory barrier */
#ifdef __native_client__
/* NaCl requires ARMv7 CPUs. */
__asm__ __volatile__("dsb" : : : "memory");
#else
__asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" : : "r" (0) : "memory");
#endif
#endif
*(addr) = 0;
}
# define GC_CLEAR_DEFINED
# undef NACL_ALIGN
# undef MASK_REGISTER
# endif /* ARM32 */
# ifdef CRIS
inline static int GC_test_and_set(volatile unsigned int *addr) {
+43 -36
View File
@@ -67,12 +67,18 @@
/* Determine the machine type: */
# if defined(__native_client__)
# define NACL
# define I386
# define mach_type_known
# if !defined(__portable_native_client__) && !defined(__arm__)
# define I386
# define mach_type_known
# else
/* Here we will rely upon arch-specific defines. */
# endif
# endif
# if defined(__arm__) || defined(__thumb__)
# define ARM32
# if !defined(LINUX) && !defined(NETBSD) && !defined(DARWIN)
# if defined(NACL)
# define mach_type_known
# elif !defined(LINUX) && !defined(NETBSD) && !defined(DARWIN)
# define NOSYS
# define mach_type_known
# endif
@@ -928,6 +934,30 @@
# endif
# endif
# ifdef NACL
# define OS_TYPE "NACL"
# if defined(__GLIBC__)
# define DYNAMIC_LOADING
# endif
# define DATASTART ((ptr_t)0x10020000)
extern int _end[];
# define DATAEND (_end)
# ifdef STACK_GRAN
# undef STACK_GRAN
# endif /* STACK_GRAN */
# define STACK_GRAN 0x10000
# define HEURISTIC1
# define USE_MMAP
# define USE_MUNMAP
# define USE_MMAP_ANON
# ifdef USE_MMAP_FIXED
# undef USE_MMAP_FIXED
# endif
# define GETPAGESIZE() 65536
# define MAX_NACL_GC_THREADS 1024
# endif
# ifdef VAX
# define MACH_TYPE "VAX"
# define ALIGNMENT 4 /* Pointers are longword aligned by 4.2 C compiler */
@@ -1204,33 +1234,6 @@
# define HEAP_START DATAEND
# endif /* USE_MMAP */
# endif /* DGUX */
# ifdef NACL
# define OS_TYPE "NACL"
extern int etext[];
//# define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff))
# define DATASTART ((ptr_t)0x10000000)
extern int _end[];
# define DATAEND (_end)
# ifdef STACK_GRAN
# undef STACK_GRAN
# endif /* STACK_GRAN */
# define STACK_GRAN 0x10000
# define HEURISTIC1
# ifdef USE_MMAP
# undef USE_MMAP
# endif
# ifdef USE_MUNMAP
# undef USE_MUNMAP
# endif
# ifdef USE_MMAP_ANON
# undef USE_MMAP_ANON
# endif
# ifdef USE_MMAP_FIXED
# undef USE_MMAP_FIXED
# endif
# define GETPAGESIZE() 65536
# define MAX_NACL_GC_THREADS 1024
# endif
# ifdef LINUX
# ifndef __GNUC__
/* The Intel compiler doesn't like inline assembly */
@@ -1908,12 +1911,12 @@
# define OS_TYPE "LINUX"
# define LINUX_STACKBOTTOM
# define DYNAMIC_LOADING
extern int __data_start[];
extern int __data_start[] __attribute__((weak));
# define DATASTART ((ptr_t)(__data_start))
extern int _end[];
# define DATAEND (_end)
# define CACHE_LINE_SIZE 256
# define GETPAGESIZE() 4096
extern int _end[] __attribute__((weak));
# define DATAEND (_end)
# define CACHE_LINE_SIZE 256
# define GETPAGESIZE() 4096
# endif
# endif
@@ -1925,8 +1928,12 @@
# endif
# ifdef ARM32
# define CPP_WORDSZ 32
# if defined( NACL )
# define MACH_TYPE "NACL"
# else
# define MACH_TYPE "ARM32"
# endif
# define CPP_WORDSZ 32
# define ALIGNMENT 4
# ifdef NETBSD
# define OS_TYPE "NETBSD"
@@ -13,7 +13,12 @@ struct thread_stop_info {
/* the instrumented function uses any callee saved registers, they may */
/* be pushed to the stack much earlier. Also, on amd64 'push' puts 8 */
/* bytes on the stack even though our pointers are 4 bytes. */
#ifdef __arm__
/* For ARM we save r4-r8, r10-r12, r14 */
#define NACL_GC_REG_STORAGE_SIZE 9
#else
#define NACL_GC_REG_STORAGE_SIZE 20
#endif
ptr_t reg_storage[NACL_GC_REG_STORAGE_SIZE];
#endif
};
+12
View File
@@ -1003,7 +1003,11 @@ long a, b, c, d, e, f;
buf[1024] = 0x15;
(void) sprintf(buf, format, a, b, c, d, e, f);
if (buf[1024] != 0x15) ABORT("GC_printf clobbered stack");
#ifdef NACL
WRITE(GC_stdout, buf, strlen(buf));
#else
if (WRITE(GC_stdout, buf, strlen(buf)) < 0) ABORT("write to stdout failed");
#endif
}
void GC_err_printf(format, a, b, c, d, e, f)
@@ -1015,13 +1019,21 @@ long a, b, c, d, e, f;
buf[1024] = 0x15;
(void) sprintf(buf, format, a, b, c, d, e, f);
if (buf[1024] != 0x15) ABORT("GC_err_printf clobbered stack");
#ifdef NACL
WRITE(GC_stderr, buf, strlen(buf));
#else
if (WRITE(GC_stderr, buf, strlen(buf)) < 0) ABORT("write to stderr failed");
#endif
}
void GC_err_puts(s)
GC_CONST char *s;
{
#ifdef NACL
WRITE(GC_stderr, s, strlen(s));
#else
if (WRITE(GC_stderr, s, strlen(s)) < 0) ABORT("write to stderr failed");
#endif
}
#if defined(LINUX) && !defined(SMALL_CONFIG)
+44 -24
View File
@@ -24,13 +24,13 @@
#endif
#ifdef NACL
int nacl_park_threads_now = 0;
volatile int __nacl_thread_suspension_needed = 0;
pthread_t nacl_thread_parker = -1;
int nacl_thread_parked[MAX_NACL_GC_THREADS];
int nacl_thread_used[MAX_NACL_GC_THREADS];
int nacl_thread_parking_inited = 0;
int nacl_num_gc_threads = 0;
volatile int nacl_thread_parked[MAX_NACL_GC_THREADS];
volatile int nacl_thread_used[MAX_NACL_GC_THREADS];
volatile int nacl_thread_parking_inited = 0;
volatile int nacl_num_gc_threads = 0;
pthread_mutex_t nacl_thread_alloc_lock = PTHREAD_MUTEX_INITIALIZER;
__thread int nacl_thread_idx = -1;
__thread GC_thread nacl_gc_thread_self = NULL;
@@ -471,7 +471,7 @@ static void pthread_stop_world()
GC_printf1("pthread_stop_world: num_threads %d\n", nacl_num_gc_threads - 1);
#endif
nacl_thread_parker = pthread_self();
nacl_park_threads_now = 1;
__nacl_thread_suspension_needed = 1;
while (1) {
#define NACL_PARK_WAIT_NANOSECONDS 100000
@@ -513,31 +513,49 @@ static void pthread_stop_world()
#define NACL_STORE_REGS() \
do { \
asm("push %rbx");\
asm("push %rbp");\
asm("push %r12");\
asm("push %r13");\
asm("push %r14");\
asm("push %r15");\
asm("mov %%esp, %0" : "=m" (nacl_gc_thread_self->stop_info.stack_ptr));\
__asm__ __volatile__ ("push %rbx");\
__asm__ __volatile__ ("push %rbp");\
__asm__ __volatile__ ("push %r12");\
__asm__ __volatile__ ("push %r13");\
__asm__ __volatile__ ("push %r14");\
__asm__ __volatile__ ("push %r15");\
__asm__ __volatile__ ("mov %%esp, %0" : "=m" (nacl_gc_thread_self->stop_info.stack_ptr));\
memcpy(nacl_gc_thread_self->stop_info.reg_storage, nacl_gc_thread_self->stop_info.stack_ptr, NACL_GC_REG_STORAGE_SIZE * sizeof(ptr_t));\
asm("add $48, %esp");\
asm("add %r15, %rsp");\
__asm__ __volatile__ ("naclasp $48, %r15");\
} while (0)
#elif __i386__
#define NACL_STORE_REGS() \
do { \
asm("push %ebx");\
asm("push %ebp");\
asm("push %esi");\
asm("push %edi");\
asm("mov %%esp, %0" : "=m" (nacl_gc_thread_self->stop_info.stack_ptr));\
__asm__ __volatile__ ("push %ebx");\
__asm__ __volatile__ ("push %ebp");\
__asm__ __volatile__ ("push %esi");\
__asm__ __volatile__ ("push %edi");\
__asm__ __volatile__ ("mov %%esp, %0" : "=m" (nacl_gc_thread_self->stop_info.stack_ptr));\
memcpy(nacl_gc_thread_self->stop_info.reg_storage, nacl_gc_thread_self->stop_info.stack_ptr, NACL_GC_REG_STORAGE_SIZE * sizeof(ptr_t));\
asm("add $16, %esp");\
__asm__ __volatile__ ("add $16, %esp");\
} while (0)
#elif __arm__
#define NACL_STORE_REGS() \
do { \
__asm__ __volatile__ ( \
".align 4\n\t" \
"bic %0, %0, #0xc0000000\n\t" \
"str sp, [%0]\n\t" \
"bic %1, %1, #0xc0000000\n\t" \
"stm %1, {r4-r8,r10-r12,lr}\n\t" \
: \
: "r" (&nacl_gc_thread_self->stop_info.stack_ptr), \
"r"(nacl_gc_thread_self->stop_info.reg_storage) \
: "memory"); \
} while (0)
#else
#error "Please port NACL_STORE_REGS"
#endif
void nacl_pre_syscall_hook()
@@ -550,6 +568,8 @@ void nacl_pre_syscall_hook()
}
}
void __nacl_suspend_thread_if_needed();
void nacl_post_syscall_hook()
{
/* Calling __nacl_suspend_thread_if_needed() right away should guarantee we don't mutate the GC set. */
@@ -560,7 +580,7 @@ void nacl_post_syscall_hook()
}
void __nacl_suspend_thread_if_needed() {
if (nacl_park_threads_now) {
if (__nacl_thread_suspension_needed) {
pthread_t self = pthread_self();
int local_dummy = 0;
/* Don't try to park the thread parker. */
@@ -579,7 +599,7 @@ void __nacl_suspend_thread_if_needed() {
nacl_gc_thread_self->stop_info.stack_ptr = (ptr_t)(&local_dummy);
}
nacl_thread_parked[nacl_thread_idx] = 1;
while (nacl_park_threads_now)
while (__nacl_thread_suspension_needed)
; /* spin */
nacl_thread_parked[nacl_thread_idx] = 0;
@@ -689,7 +709,7 @@ static void pthread_start_world()
# if DEBUG_THREADS
GC_printf0("World starting\n");
# endif
nacl_park_threads_now = 0;
__nacl_thread_suspension_needed = 0;
if (GC_notify_event)
GC_notify_event (GC_EVENT_POST_START_WORLD);
#endif /* NACL */
+24 -8
View File
@@ -687,10 +687,10 @@ void GC_mark_thread_local_free_lists(void)
static struct GC_Thread_Rep first_thread;
#ifdef NACL
extern int nacl_thread_parked[MAX_NACL_GC_THREADS];
extern int nacl_thread_used[MAX_NACL_GC_THREADS];
extern int nacl_thread_parking_inited;
extern int nacl_num_gc_threads;
extern volatile int nacl_thread_parked[MAX_NACL_GC_THREADS];
extern volatile int nacl_thread_used[MAX_NACL_GC_THREADS];
extern volatile int nacl_thread_parking_inited;
extern volatile int nacl_num_gc_threads;
extern pthread_mutex_t nacl_thread_alloc_lock;
extern __thread int nacl_thread_idx;
extern __thread GC_thread nacl_gc_thread_self;
@@ -699,10 +699,20 @@ extern void nacl_pre_syscall_hook();
extern void nacl_post_syscall_hook();
extern void nacl_register_gc_hooks(void (*pre)(), void (*post)());
#include <stdio.h>
struct nacl_irt_blockhook {
int (*register_block_hooks)(void (*pre)(void), void (*post)(void));
};
extern size_t nacl_interface_query(const char *interface_ident,
void *table, size_t tablesize);
void nacl_initialize_gc_thread()
{
int i;
nacl_register_gc_hooks(nacl_pre_syscall_hook, nacl_post_syscall_hook);
static struct nacl_irt_blockhook gc_hook;
pthread_mutex_lock(&nacl_thread_alloc_lock);
if (!nacl_thread_parking_inited)
{
@@ -710,6 +720,10 @@ void nacl_initialize_gc_thread()
nacl_thread_used[i] = 0;
nacl_thread_parked[i] = 0;
}
// TODO: replace with public 'register hook' function when
// available from glibc
nacl_interface_query("nacl-irt-blockhook-0.1", &gc_hook, sizeof(gc_hook));
gc_hook.register_block_hooks(nacl_pre_syscall_hook, nacl_post_syscall_hook);
nacl_thread_parking_inited = 1;
}
GC_ASSERT(nacl_num_gc_threads <= MAX_NACL_GC_THREADS);
@@ -942,6 +956,7 @@ int GC_segment_is_thread_stack(ptr_t lo, ptr_t hi)
/* Return the number of processors, or i<= 0 if it can't be determined. */
int GC_get_nprocs()
{
#ifndef NACL
/* Should be "return sysconf(_SC_NPROCESSORS_ONLN);" but that */
/* appears to be buggy in many cases. */
/* We look for lines "cpu<n>" in /proc/stat. */
@@ -971,6 +986,9 @@ int GC_get_nprocs()
}
close(f);
return result;
#else /* NACL */
return sysconf(_SC_NPROCESSORS_ONLN);
#endif
}
#endif /* GC_LINUX_THREADS */
@@ -1362,12 +1380,10 @@ int WRAP_FUNC(pthread_join)(pthread_t thread, void **retval)
}
#ifdef NACL
/* Native Client doesn't support pthread cleanup functions, */
/* so wrap pthread_exit and manually cleanup the thread. */
/* TODO: remove, NaCl glibc now supports pthread cleanup functions. */
void
WRAP_FUNC(pthread_exit)(void *status)
{
GC_thread_exit_proc(0);
REAL_FUNC(pthread_exit)(status);
}
#endif
+27 -11
View File
@@ -3,10 +3,11 @@
.\" Copyright 2003 Ximian, Inc.
.\" Copyright 2004-2011 Novell, Inc.
.\" Copyright 2011-2012 Xamarin Inc
.\" Copyright 2013 7digital Media Ltd.
.\" Author:
.\" Miguel de Icaza ([email protected])
.\"
.TH Mono "Mono 2.11"
.TH Mono "Mono 3.0"
.SH NAME
mono \- Mono's ECMA-CLI native code generator (Just-in-Time and Ahead-of-Time)
.SH SYNOPSIS
@@ -144,6 +145,12 @@ Defaults to 128.
.I nodebug
Instructs the AOT compiler to not output any debugging information.
.TP
.I dwarfdebug
Instructs the AOT compiler to emit DWARF debugging information. When
used together with the nodebug option, only DWARF debugging
information is emitted, but not the information that can be used at
runtime.
.TP
.I nrgctx-trampolines=[number]
When compiling in full aot mode, the generic sharing trampolines must be precreated
in the AOT image. You can add additional method trampolines with this argument.
@@ -564,7 +571,8 @@ itself, and not typically of interest to runtime users or developers.
\fB--break method\fR
Inserts a breakpoint before the method whose name is `method'
(namespace.class:methodname). Use `Main' as method name to insert a
breakpoint on the application's main method.
breakpoint on the application's main method. You can use it also with
generics, for example "System.Collections.Generic.Queue`1:Peek"
.TP
\fB--breakonex\fR
Inserts a breakpoint on exceptions. This allows you to debug your
@@ -891,6 +899,18 @@ above locations. If you don't want the mapping to be performed you can set this
variable in your environment before starting the application and no action will
be taken.
.TP
\fBMONO_ASPNET_WEBCONFIG_CACHESIZE\fR
Mono has a cache of ConfigSection objects for speeding up WebConfigurationManager
queries. Its default size is 100 items, and when more items are needed, cache
evictions start happening. If evictions are too frequent this could impose
unnecessary overhead, which could be avoided by using this environment variable
to set up a higher cache size (or to lower memory requirements by decreasing it).
.TP
\fBMONO_CAIRO_DEBUG_DISPOSE\fR
If set, causes Mono.Cairo to collect stack traces when objects are allocated,
so that the finalization/Dispose warnings include information about the
instance's origin.
.TP
\fBMONO_CFG_DIR\fR
If set, this variable overrides the default system configuration directory
($PREFIX/etc). It's used to locate machine.config file.
@@ -1068,15 +1088,6 @@ Once the heap size gets larger than this size, ignore what the default
major collection trigger metric says and only allow four nursery size's
of major heap growth between major collections.
.TP
\fBwbarrier=\fIwbarrier\fR
Specifies which write barrier to use. Options are `cardtable' and
`remset'. The card table barrier is faster but less precise, and only
supported for the Mark&Sweep major collector on 32 bit platforms. The
default is `cardtable' if it is supported, otherwise `remset'. The cardtable
write barrier is faster and has a more stable and usually smaller
memory footprint. If the program causes too much pinning during
thread scan, it might be faster to enable remset.
.TP
\fBevacuation-threshold=\fIthreshold\fR
Sets the evacuation threshold in percent. This option is only available
on the Mark&Sweep major collectors. The value must be an
@@ -1179,6 +1190,11 @@ are allocated (clear-at-gc). The consistency check ensures that
there are no major to minor references that are not on the remembered
sets.
.TP
\fBmod-union-consistency-check\fR
Checks that the mod-union cardtable is consistent before each
finishing major collection pause. This check is only applicable to
concurrent major collectors.
.TP
\fBcheck-mark-bits\fR
Checks that mark bits in the major heap are consistent at the end of
each major collection. Consistent mark bits mean that if an object is
+4
View File
@@ -53,7 +53,11 @@ else
lib_dir = lib
endif
ifdef LIBRARY_SUBDIR
the_libdir = $(topdir)/class/$(lib_dir)/$(PROFILE)/$(LIBRARY_SUBDIR)/
else
the_libdir = $(topdir)/class/$(lib_dir)/$(PROFILE)/
endif
ifdef LIBRARY_NEEDS_POSTPROCESSING
build_libdir = fixup/$(PROFILE)/
else
+1 -1
View File
@@ -66,7 +66,7 @@ do-profile-check: $(depsdir)/.stamp
else \
echo "*** The compiler '$(BOOTSTRAP_MCS)' doesn't appear to be usable." 1>&2; \
echo "*** You need Mono version 2.4 or better installed to build MCS" 1>&2 ; \
echo "*** Read INSTALL.txt for information on how to bootstrap a Mono installation." 1>&2 ; \
echo "*** Check mono README for information on how to bootstrap a Mono installation." 1>&2 ; \
exit 1; fi; fi
+1 -1
View File
@@ -12,7 +12,7 @@ profile-check:
@:
DEFAULT_REFERENCES = -r:mscorlib.dll
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_2_1 -d:NET_3_5 -d:NET_4_0 -d:NET_4_5 -d:MOBILE -d:MONOTOUCH -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_2_1 -d:NET_3_5 -d:NET_4_0 -d:NET_4_5 -d:MOBILE -d:MONOTOUCH -d:DISABLE_REMOTING -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
FRAMEWORK_VERSION = 2.1
NO_TEST = yes
+23
View File
@@ -0,0 +1,23 @@
thisdir = class/Facades
net_4_5_SUBDIRS = System.Runtime System.Linq System.Xml.XmlSerializer \
System.ServiceModel.Primitives System.Xml.ReaderWriter System.Diagnostics.Debug \
System.Runtime.Extensions System.Diagnostics.Tools System.Collections \
System.ComponentModel.EventBasedAsync System.ComponentModel System.ObjectModel \
System.Text.RegularExpressions System.Threading System.Runtime.InteropServices \
System.Reflection System.Globalization System.IO System.Reflection.Primitives \
System.Resources.ResourceManager System.Security.Principal System.Text.Encoding \
System.Text.Encoding.Extensions System.Linq.Queryable System.Linq.Expressions \
System.Net.Primitives System.Net.Requests System.Net.NetworkInformation \
System.Runtime.Serialization.Primitives System.Runtime.Serialization.Xml \
System.Runtime.Serialization.Json System.ServiceModel.Http \
System.Xml.XDocument System.Threading.Tasks System.Diagnostics.Contracts \
System.Dynamic.Runtime System.ComponentModel.Annotations System.Runtime.Numerics \
System.Linq.Parallel System.Collections.Concurrent System.Threading.Tasks.Parallel \
System.Reflection.Extensions
SUBDIRS = $(net_4_5_SUBDIRS)
include ../../build/rules.make
dist-local: dist-default
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Collections.Concurrent.dll")]
[assembly: AssemblyDescription ("System.Collections.Concurrent.dll")]
[assembly: AssemblyDefaultAlias ("System.Collections.Concurrent.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.Collections.Concurrent
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Collections.Concurrent.dll
LIB_MCS_FLAGS = /r:System
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,37 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Concurrent.BlockingCollection<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Concurrent.ConcurrentBag<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Concurrent.ConcurrentDictionary<,>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Concurrent.IProducerConsumerCollection<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Concurrent.ConcurrentQueue<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Concurrent.ConcurrentStack<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Concurrent.Partitioner<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Concurrent.OrderablePartitioner<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Concurrent.Partitioner))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Concurrent.EnumerablePartitionerOptions))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Collections.dll")]
[assembly: AssemblyDescription ("System.Collections.dll")]
[assembly: AssemblyDefaultAlias ("System.Collections.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.Collections
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Collections.dll
LIB_MCS_FLAGS = /r:System /r:System.Core
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,40 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Generic.LinkedList<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Generic.LinkedListNode<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Generic.Queue<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Generic.Stack<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.BitArray))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Generic.Comparer<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Generic.Dictionary<,>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Generic.EqualityComparer<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Generic.List<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Generic.HashSet<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Generic.SortedDictionary<,>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Generic.SortedSet<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.StructuralComparisons))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.ComponentModel.Annotations.dll")]
[assembly: AssemblyDescription ("System.ComponentModel.Annotations.dll")]
[assembly: AssemblyDefaultAlias ("System.ComponentModel.Annotations.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.ComponentModel.Annotations
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.ComponentModel.Annotations.dll
LIB_MCS_FLAGS = /r:System.ComponentModel.DataAnnotations
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,52 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.AssociationAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.ConcurrencyCheckAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.ValidationAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.CustomValidationAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.DataType))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.DataTypeAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.DisplayAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.DisplayColumnAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.DisplayFormatAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.EditableAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.EnumDataTypeAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.FilterUIHintAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.KeyAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.RangeAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.RegularExpressionAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.RequiredAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.StringLengthAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.TimestampAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.UIHintAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.ValidationContext))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.ValidationException))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.ValidationResult))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.Validator))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.ComponentModel.EventBasedAsync.dll")]
[assembly: AssemblyDescription ("System.ComponentModel.EventBasedAsync.dll")]
[assembly: AssemblyDefaultAlias ("System.ComponentModel.EventBasedAsync.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.ComponentModel.EventBasedAsync
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.ComponentModel.EventBasedAsync.dll
LIB_MCS_FLAGS = /r:System
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,31 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.AsyncCompletedEventArgs))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.AsyncCompletedEventHandler))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.ProgressChangedEventArgs))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.ProgressChangedEventHandler))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.ComponentModel.dll")]
[assembly: AssemblyDescription ("System.ComponentModel.dll")]
[assembly: AssemblyDefaultAlias ("System.ComponentModel.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.ComponentModel
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.ComponentModel.dll
LIB_MCS_FLAGS = /r:System
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,32 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.CancelEventArgs))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.IChangeTracking))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.IEditableObject))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.IRevertibleChangeTracking))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IServiceProvider))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Diagnostics.Contracts.dll")]
[assembly: AssemblyDescription ("System.Diagnostics.Contracts.dll")]
[assembly: AssemblyDefaultAlias ("System.Diagnostics.Contracts.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.Diagnostics.Contracts
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Diagnostics.Contracts.dll
LIB_MCS_FLAGS =
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,42 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.Contract))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.ContractClassAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.ContractClassForAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.ContractFailureKind))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.ContractInvariantMethodAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.ContractPublicPropertyNameAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.ContractReferenceAssemblyAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.ContractRuntimeIgnoredAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.ContractVerificationAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.PureAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.ContractFailedEventArgs))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.ContractAbbreviatorAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.ContractArgumentValidatorAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.ContractOptionAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.ContractHelper))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Diagnostics.Debug.dll")]
[assembly: AssemblyDescription ("System.Diagnostics.Debug.dll")]
[assembly: AssemblyDefaultAlias ("System.Diagnostics.Debug.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.Diagnostics.Debug
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Diagnostics.Debug.dll
LIB_MCS_FLAGS = /r:System
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,36 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Debug))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Debugger))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.DebuggerBrowsableAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.DebuggerBrowsableState))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.DebuggerDisplayAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.DebuggerHiddenAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.DebuggerNonUserCodeAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.DebuggerStepThroughAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.DebuggerTypeProxyAttribute))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Diagnostics.Tools.dll")]
[assembly: AssemblyDescription ("System.Diagnostics.Tools.dll")]
[assembly: AssemblyDefaultAlias ("System.Diagnostics.Tools.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.Diagnostics.Tools
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Diagnostics.Tools.dll
LIB_MCS_FLAGS = /r:System
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,29 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.CodeDom.Compiler.GeneratedCodeAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.CodeAnalysis.SuppressMessageAttribute))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Dynamic.Runtime.dll")]
[assembly: AssemblyDescription ("System.Dynamic.Runtime.dll")]
[assembly: AssemblyDefaultAlias ("System.Dynamic.Runtime.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.Dynamic.Runtime
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Dynamic.Runtime.dll
LIB_MCS_FLAGS =
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,28 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.ConditionalWeakTable<,>))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Globalization.dll")]
[assembly: AssemblyDescription ("System.Globalization.dll")]
[assembly: AssemblyDefaultAlias ("System.Globalization.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.Globalization
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Globalization.dll
LIB_MCS_FLAGS =
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,41 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Globalization.Calendar))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Globalization.CalendarWeekRule))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Globalization.CharUnicodeInfo))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Globalization.CompareInfo))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Globalization.CompareOptions))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Globalization.CultureInfo))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Globalization.DateTimeFormatInfo))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Globalization.NumberFormatInfo))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Globalization.RegionInfo))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Globalization.StringInfo))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Globalization.TextElementEnumerator))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Globalization.TextInfo))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Globalization.UnicodeCategory))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Globalization.CultureNotFoundException))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.IO.dll")]
[assembly: AssemblyDescription ("System.IO.dll")]
[assembly: AssemblyDefaultAlias ("System.IO.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
+13
View File
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.IO
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.IO.dll
LIB_MCS_FLAGS = /r:System
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,42 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.BinaryReader))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.BinaryWriter))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.IOException))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.EndOfStreamException))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.FileNotFoundException))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.Stream))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.MemoryStream))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.SeekOrigin))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.TextReader))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.StreamReader))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.TextWriter))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.StreamWriter))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.StringReader))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.StringWriter))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.InvalidDataException))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Linq.Expressions.dll")]
[assembly: AssemblyDescription ("System.Linq.Expressions.dll")]
[assembly: AssemblyDefaultAlias ("System.Linq.Expressions.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.Linq.Expressions
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Linq.Expressions.dll
LIB_MCS_FLAGS = /r:System.Core /r:System
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,32 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.IQueryable))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.IOrderedQueryable))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.IQueryable<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.IOrderedQueryable<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.IQueryProvider))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Linq.Parallel.dll")]
[assembly: AssemblyDescription ("System.Linq.Parallel.dll")]
[assembly: AssemblyDefaultAlias ("System.Linq.Parallel.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.Linq.Parallel
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Linq.Parallel.dll
LIB_MCS_FLAGS = /r:System.Core /r:System
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,33 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.ParallelQuery))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.ParallelQuery<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.OrderedParallelQuery<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.ParallelEnumerable))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.ParallelExecutionMode))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.ParallelMergeOptions))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Linq.Queryable.dll")]
[assembly: AssemblyDescription ("System.Linq.Queryable.dll")]
[assembly: AssemblyDefaultAlias ("System.Linq.Queryable.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.Linq.Queryable
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Linq.Queryable.dll
LIB_MCS_FLAGS = /r:System.Core /r:System
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,32 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.EnumerableExecutor))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.EnumerableExecutor<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.EnumerableQuery))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.EnumerableQuery<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Queryable))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Linq.dll")]
[assembly: AssemblyDescription ("System.Linq.dll")]
[assembly: AssemblyDefaultAlias ("System.Linq.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
+13
View File
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.Linq
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Linq.dll
LIB_MCS_FLAGS = /r:System.Core /r:System
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,32 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Enumerable))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.IGrouping<,>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.ILookup<,>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.IOrderedEnumerable<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Lookup<,>))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Net.NetworkInformation.dll")]
[assembly: AssemblyDescription ("System.Net.NetworkInformation.dll")]
[assembly: AssemblyDefaultAlias ("System.Net.NetworkInformation.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.Net.NetworkInformation
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Net.NetworkInformation.dll
LIB_MCS_FLAGS = /r:System
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,30 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.NetworkInformation.NetworkAddressChangedEventHandler))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.NetworkInformation.NetworkChange))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.NetworkInformation.NetworkInterface))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Net.Primitives.dll")]
[assembly: AssemblyDescription ("System.Net.Primitives.dll")]
[assembly: AssemblyDefaultAlias ("System.Net.Primitives.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.Net.Primitives
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Net.Primitives.dll
LIB_MCS_FLAGS = /r:System
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,40 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.Cookie))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.CookieCollection))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.CookieContainer))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.CookieException))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.HttpStatusCode))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.ICredentials))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.NetworkCredential))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.AuthenticationSchemes))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.ICredentialsByHost))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.CredentialCache))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.DecompressionMethods))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.IWebProxy))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.TransportContext))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.Net.Requests.dll")]
[assembly: AssemblyDescription ("System.Net.Requests.dll")]
[assembly: AssemblyDefaultAlias ("System.Net.Requests.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -0,0 +1,13 @@
thisdir = class/Facades/System.Net.Requests
SUBDIRS =
include ../../../build/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Net.Requests.dll
LIB_MCS_FLAGS = /r:System
NO_TEST = yes
include ../../../build/library.make
@@ -0,0 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
@@ -0,0 +1,37 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.HttpRequestHeader))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.WebRequest))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.HttpWebRequest))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.WebResponse))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.HttpWebResponse))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.IWebRequestCreate))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.ProtocolViolationException))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.WebException))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.WebExceptionStatus))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Net.WebHeaderCollection))]
@@ -0,0 +1,44 @@
//
// TypeForwarders.cs
//
// Author:
// Martin Baulig <[email protected]>
//
// Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle ("System.ObjectModel.dll")]
[assembly: AssemblyDescription ("System.ObjectModel.dll")]
[assembly: AssemblyDefaultAlias ("System.ObjectModel.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
Loaded 100 of 1505 files, more files were not shown because too many files have changed in this diff. Show more