Compare commits

..
1128 Commits
Author SHA1 Message Date
Aaron Bockover feaf598cf9 Merge branch 'master' of github.com:mono/mono into compiler-hooks 2013-11-03 12:22:31 -05:00
Zoltan Varga c574de067d [jit] Add support for generating the push/pop the LMF from the LMF stack as IR instead of hand-written assembly code in the backends. Not yet used. 2013-11-03 14:38:44 +01:00
Zoltan Varga abc18e4340 Mark some corlib tests with the LLVMNotWorking category. 2013-11-03 14:19:09 +01:00
Zoltan Varga fc169c3839 [jit] Disable the optimization added by 63eb94e451 when using LLVM, the handler bblock has no in edges, which seems to cause problems when using LLVM. 2013-11-03 01:35:50 +01:00
Zoltan Varga 762d5fb72b [jit] Add a comment. 2013-11-02 23:53:47 +01:00
Zoltan Varga 45ce641f28 [jit] Remove OP_JMP implementation from the x86 backend, its not used there. 2013-11-02 23:45:08 +01:00
Zoltan Varga 90e0dbcc17 [jit] Clean up the tail call code a bit. 2013-11-02 22:14:18 +01:00
Zoltan Varga 56fa47629f [sdb] Implement support for DebuggerStepThrough attribute. Fixes #15139. 2013-11-02 20:42:59 +01:00
Marek Safar 54ecc9c6a1 Merge pull request #798 from akoeplinger/fix-test
Fixed an issue in corlib Makefile
2013-11-02 01:20:02 -07:00
Atsushi Eno 40d5064d04 hack SettingValueElement.Unmerge(). 2013-11-02 16:54:09 +09:00
Zoltan Varga 36cf982222 [jit] Fix fbd9fd7167, a wrong version was commited. 2013-11-02 03:26:33 +01:00
Rodrigo Kumpera 0cf6982962 [fullaot] Don't use the complicated generics-heavy cache under full-aot. 2013-11-01 17:51:16 -04:00
Jonathan Pryor 55f400b644 [System] Avoid an NRE when Close() and Write() are concurrent.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=15857

Scenario (for which I couldn't easily create a testcase, but can
sketch out): Imagine using HttpClient...in a multithreaded manner:

	// shared:
	static CancellationTokenSource _cancellationTokenSource = new CancellationTokenSource ();

	// Thread 1
	var request = new HttpRequestMessage(HttpMethod.Post, "https://www.google.com/") {
		Content = new StringContent (new string('x', 1024)),
	};
	using (request)
	using (HttpClient httpClient = new HttpClient())
	using (HttpResponseMessage response = await httpClient.SendAsync(request,
			_cancellationTokenSource.Token)) {
		string responseContent = await response.Content.ReadAsStringAsync();
		Console.WriteLine ("Read {0} chars", responseContent.Length);
	}

	// Thread 2
	_cancellationTokenSource.Cancel ();

This isn't entirely farfetched; in the case of #15857, Thread 2 was
the Main thread (due to the user clicking a button), while Thread 1
was the ThreadPool (because of async/await).

The _occasional_ result: a TargetInvocationException exception:

	System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
	  at (wrapper delegate-invoke) <Module>:invoke_bool__this___HttpsClientStream (Mono.Security.Protocol.Tls.HttpsClientStream)
	  at System.Reflection.MonoProperty.GetterAdapterFrame[HttpsClientStream,Boolean] (System.Reflection.Getter`2 getter, System.Object obj)
	  at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index)
	  --- End of inner exception stack trace ---
	  at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index)
	  at System.Net.WebConnection.Write (System.Net.HttpWebRequest request, System.Byte[] buffer, Int32 offset, Int32 size, System.String& err_msg)
	  at System.Net.WebConnectionStream.WriteHeaders ()
	  at System.Net.WebConnectionStream.SetHeaders (System.Byte[] buffer)
	  at System.Net.HttpWebRequest.SendRequestHeaders (Boolean propagate_error)
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Net.Http.HttpResponseMessage].GetResult ()
	  at System.Net.Http.HttpClient+<SendAsyncWorker>c__async0.MoveNext ()
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()
	  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Net.Http.HttpResponseMessage].GetResult ()
	  at HttpClientAsyncCancellationRepro.Activity1+<AccessGoogleButton_Click>c__async0.MoveNext ()

Huh?

The reason why is because HttpClientHandler.SendAsync() registers a
Cancel handler with the CancellationTokenSource, and the registered
handler calls HttpWebRequest.Abort() (which eventually calls
WebConnection.Close()). This causes WebConnection.nstream to _change_
while WebConnection.Write() is executing, causing
WebConnection.nstream to go from non-null to null, which
WebConnection.Write() does not expect:

	# WebConnection.CreateStream; from 5 Threadpool worker
	# WebConnection.Write; from 5 Threadpool worker
	# WebConnection.Close; from 1  at    at System.Environment.get_StackTrace()
	   at System.Net.WebConnection.Close(Boolean sendNext)
	   at System.Net.WebConnection.Abort(System.Object sender, System.EventArgs args)
	   at System.Net.WebConnection+AbortHelper.Abort(System.Object sender, System.EventArgs args)
	   at System.Net.HttpWebRequest.Abort()
	   at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.<>m__0(System.Object l)
	   at System.Threading.CancellationToken+<Register>c__AnonStorey0.<>m__0()
	   at System.Threading.CancellationTokenSource.Cancel(Boolean throwOnFirstException)
	   at System.Threading.CancellationTokenSource.Cancel()
	   at System.Threading.CancellationTokenSource.SafeLinkedCancel()
	   at System.Threading.CancellationTokenSource.Cancel(Boolean throwOnFirstException)
	   at System.Threading.CancellationTokenSource.Cancel()
	   at HttpClientAsyncCancellationRepro.Activity1.CancelButton_Click(System.Object sender, System.EventArgs e)
	   at Android.Views.View+IOnClickListenerImplementor.OnClick(Android.Views.View v)
	   at Android.Views.View+IOnClickListenerInvoker.n_OnClick_Landroid_view_View_(IntPtr jnienv, IntPtr native__this, IntPtr native_v)
	   at System.Object.e7b5b870-ea0f-434f-bc31-984f665a44ad(IntPtr , IntPtr , IntPtr )
	# WebConnection.Write: checking piTrustFailure; from 5 Threadpool worker

(Yay extra logging. Notice that WebConnection creates a stream from
the ThreadPool, starts WebConnection.Write(), then before it can se
piTrustFailure the instance is Close()d, which nulls out nstream.)

Since WebConnection.Write() attempts to access the (now null)
WebConnection.nstream field, it results in a NullReferenceException,
which is wrapped into a TargetInvocationException by
System.Reflection.

The fix? As usual, "don't do that."

In this case, WebConnection.Write() has already captured
WebConnection.nstream into the local variable `s` (which thus can't be
changed by another thread). Instead of using WebConnection.nstream,
reuse the `s` local variable, which cannot be null, thus avoiding the
NullReferenceException.

(This solution could fail if HttpsClientStream ever throws e.g.
ObjectDisposedException from HttpsClientStream.TrustFailure, but at
present HttpsClientStream.TrustFailure never throws, so this is fine.)
2013-11-01 16:56:53 -04:00
Miguel de Icaza 06693aa3bb Comment style 2013-11-01 16:49:35 -04:00
Rodrigo Kumpera 63eb94e451 [jit] Avoid linking the try block with the EH block as this produces spurious BBs during inlining.
The inliner could not handle optimally when we inline code inside the try block as it would be linked
with the catch block.

Since the source block would have more than one exit, the inliner would conservatively not link them together,
which hinders further local optimizations.
2013-11-01 15:27:12 -04:00
Alexander Köplinger 9550e4ce08 Fixed an issue in corlib Makefile that would make a resource test case fail which relies on satellite assemblies.
The satellite assembly generated by the Makefile was suffixed with '.Resources.dll', but the assembly loader looks for '.resources.dll', thus the satellite assembly wasn't found.
2013-11-01 20:08:06 +01:00
Rodrigo Kumpera 11b2e3e60f [jit]Extract emit_init_local and use it with the ldloca optimization to handle any kind of types. 2013-11-01 15:05:55 -04:00
Zoltan Varga 53c777d22b [jit] Fix a gsharedvt crash on x86. 2013-11-01 18:12:50 +01:00
Zoltan Varga f3b4e40281 Revert "[sgen] Use mono_class_has_parent () instead of mono_class_has_parent_fast () in one place."
This reverts commit 2594b36363.

Revert this as its wrong.
2013-11-01 17:16:18 +01:00
Zoltan Varga 2fc3754d21 Fix warnings. 2013-11-01 16:20:09 +01:00
Zoltan Varga 2594b36363 [sgen] Use mono_class_has_parent () instead of mono_class_has_parent_fast () in one place. 2013-11-01 11:19:38 -04:00
Zoltan Varga 7f61dee23f [jit] Implement support for OP_TLS_GET_REG on amd64 linux. 2013-11-01 11:19:38 -04:00
Rodrigo Kumpera be58704339 Fix the linker script for OSX. libtool screwed up the first attempt. 2013-11-01 10:56:55 -04:00
Zoltan Varga 19be2cd66a Merge pull request #797 from ranma42/fix-log-message
[runtime] Fix AOT log message
2013-11-01 06:47:40 -07:00
Zoltan Varga daccd00b00 Fix the amd64 build. Fix a warning. 2013-11-01 14:40:54 +01:00
Zoltan Varga e4a37a7663 [sdb] Fix an assertion if a single step breakpoint is hit in a thread other than the thread the single stepping is done on. Fixes #14950. 2013-11-01 14:16:15 +01:00
Zoltan Varga fbd9fd7167 [jit] Fix the processing of LLVM compiled method frames on x86. Fixes running corlib tests with LLVM. 2013-11-01 13:14:48 +01:00
Zoltan Varga 644359eb5d [sdb] Fix tests. 2013-11-01 13:14:47 +01:00
Andrea Canciani 1bcb295fed [runtime] Fix AOT log message
In 72ca429d6c the message format was
refactored and an additional '%s' format specifier was left over.
2013-11-01 11:38:51 +01:00
Alex Rønne Petersen 7ab1185624 Fix indentation.
Oddly, we don't use tabs here...
2013-11-01 09:53:38 +01:00
Rodrigo Kumpera 382210f927 [jit] Pair of fixes from last merge. 2013-10-31 19:44:40 -04:00
Rodrigo Kumpera 98d59927c6 [jit] The AggressiveInlining hint now triggers class initialization so more stuff gets force-inlined. 2013-10-31 19:34:04 -04:00
Rodrigo Kumpera a85d5e0285 [jit] Clean up emit_init_rvar and reduce code duplication. 2013-10-31 19:30:09 -04:00
Rodrigo Kumpera d994c2ea19 [jit] Clean up usage of signature variables. 2013-10-31 18:41:18 -04:00
Rodrigo Kumpera 363b1864e8 [jit]Add an alias analysis pass to the JIT.
The alias analysis pass is capable of simplifying indirection against
local or temporary variables. It will replace a memory load or store
with direct access to the variable.

It does a local pass looking for addresses and replacing memory
ops with direct ops.

If any conversion happens, it does a DCE pass to try to kill those
LDADDR and then recalculate the indirect flag.

Finally, if the number of indirect variables is reduced, it does a
global to local vreg pass and another DCE pass to kill most spurious
copying.

Performance numbers on 32bits OSX:

Code size:
mcs: -11.366 (0.6%)
corlib: -15.397 (0.6%)

Execution time increased by less than 0.2% which is about the same
value of the test variance.

Numbers are not impressive since we don't perform store forwarding
or constant load elimination. Proper handling of value type aggregates
and longs would move us much further.
2013-10-31 17:37:13 -04:00
Rodrigo Kumpera 33e4ab9bde [jit] Add counters for alias analysis. 2013-10-31 17:37:07 -04:00
Rodrigo Kumpera 8c92a0da08 [jit] Introduce has_indirection flag in MonoCompile to signal that LDADDR was generated.
To reduce the cost of alias analysis we detect which methods can potentially profit from
the optimization.

The current detection logic is very simple, every time LDADDR is generated, we set
has_indirection to TRUE.
2013-10-31 17:37:06 -04:00
Rodrigo Kumpera cdd96589ad [jit]Replace all usages of MONO_INST_INDIRECT to force regalloc with MONO_INST_VOLATILE.
The indirect flag should only be used to signal that the address of the given variable
has been taken. This means that it should be possible to recompute that flag from the IR.

The usage of the volatile flag remains not ideal as it conflates two separate issues
and will in the future hinder efforts to implement address based alias analysis.
2013-10-31 17:37:06 -04:00
Rodrigo Kumpera e30fed93a6 [jit] Add new optimization flag for alias analysis. 2013-10-31 17:37:06 -04:00
Jeffrey Stedfast bbd3769cde [Mono.Debugger.Soft] Test the inherited Type attributes 2013-10-31 15:58:04 -04:00
Jeffrey Stedfast b79cd5abd3 [Mono.Debugger.Soft] Fixed unit test for getting custom type attributes 2013-10-31 15:02:42 -04:00
Rodrigo Kumpera d57d8ccd12 Revert "Implementation of Properties and Methods in MethodSignatureGenerator.cs"
This reverts commit 46cd052a3a.

This breaks the build.
2013-10-31 14:59:19 -04:00
Zoltan Varga 4e9f9fcf6e [runtime] Fix the ARM build. 2013-10-31 18:05:24 +01:00
Martin Baulig edbc59e9db [linker]: Fix my previous commit.
We need to resolve all the TypeReferences before we update their scopes.
After setting the scope to null, calling Resolve() on a nested child would
crash.
2013-10-31 10:34:20 -04:00
Marek Safar 96a201f7fe Merge pull request #794 from aakashapoorv/patch-1
Implementation of Properties and Methods in MethodSignatureGenerator.cs
2013-10-30 23:58:27 -07:00
aakashapoorv 46cd052a3a Implementation of Properties and Methods in MethodSignatureGenerator.cs
Implemented following properties:-

CodeProvider 
ContainerParameterType
DataSetClassName
IsGetMethod 
PagingMethod 
ParameterGenerationOption
ParameterOption 
TableClassName

and following methods:-

GenerateMethod
GenerateMethodSignature 
GenerateUpdatingMethods
SetDesignTableContent
SetMethodSourceContent
2013-10-31 11:00:22 +08:00
Zoltan Varga 724f6285a3 Dist README.md. 2013-10-31 02:31:41 +01:00
Zoltan Varga 72ca429d6c [runtime] Make an AOT log message smaller. 2013-10-31 02:31:41 +01:00
Jeffrey Stedfast e7db8e896a [Mono.Debugger.Soft] Implemented inheritance for TypeMirror.GetCustomAttributes()
Fixes bug #15320
2013-10-30 15:36:24 -04:00
Miguel de Icaza 599a21d6ae Merge pull request #795 from mono/readme2
[README] Minor update to content and use markdown formatting.
2013-10-30 11:45:21 -07:00
Therzok da6191eaeb [README] Minor update to content and use markdown formatting. 2013-10-30 20:42:27 +02:00
Miguel de Icaza 93468652f7 Rename README to README.md 2013-10-30 14:36:34 -04:00
Neale Ferguson 0c07e4a0b8 Add mono_arch_get_nullified_class_init_trampoline 2013-10-30 14:35:36 -04:00
Zoltan Varga 212e36fc3a Fix MONO_PATH for run-test-vts in corlib. 2013-10-30 14:31:00 +01:00
Zoltan Varga cbacd4801f [runtime] Fix a warning. 2013-10-30 13:04:05 +01:00
Zoltan Varga 992e3d6ace [runtime] Fix an assertion in mono_arch_context_get_int_reg () on amd64. Fixes #15786. 2013-10-30 13:03:47 +01:00
Zoltan Varga d8e44958d4 Dist the subdirs of class/Facades. 2013-10-30 11:31:26 +01:00
Rodrigo Kumpera 75165860c4 Fix skip_scan to handle proper load errors. 2013-10-29 15:25:20 -04:00
Marek Safar 01abc8bb07 Fixes build 2013-10-29 20:07:07 +01:00
Marek Safar ef722ff122 When parsing documentation cref text turn on error probing for tokenizer as well. Fixes #15511 2013-10-29 19:04:27 +01:00
Zoltan Varga 93c6b94bb0 [aot] Small AOT changes. Save some constants into the AOT image instead of duplicating them in aot-runtime.c. Emit some padding so multiple symbols do not point to the same address. 2013-10-29 17:23:33 +01:00
Zoltan Varga 4c1198f3b8 [runtime] Add mno-signal-handler.h to dist. 2013-10-29 17:05:26 +01:00
Marek Safar da82237da0 Better error message when member does not implement interface. Fixes #15369 2013-10-29 15:04:44 +01:00
Marek Safar dd1826124a Variables from diffent parameter block still need to be captures even if async block has no await. Fixes #15719 2013-10-29 11:51:39 +01:00
Sebastien Pouliot 5b56dc2ce2 The stripper does not care if some variables can't be referenced (they'll be removed) and new cecil has a similar fix [#15727] 2013-10-28 09:56:11 -04:00
Marek Safar 9209bf5634 Better error message when type inference resolves valid types but parameter types still don't match 2013-10-28 13:08:58 +01:00
Marek Safar b5bc9d75d5 Update lower/upper type inference fixing to match the latest C# standard. Fixes #15505 2013-10-27 21:37:34 +01:00
Marek Safar ee09ac3bcf Enum subtraction quirk needs to work with numeric constants only. Fixes #15520 2013-10-27 08:40:51 +01:00
Alex Rønne Petersen 0a17e9070d Silence some noisy warnings in mono/tests/. 2013-10-27 01:23:41 +02:00
Alex Rønne Petersen 05f4546a96 Add a .gitignore file to support/minizip/ to ignore *.la *.lo files. 2013-10-27 01:15:45 +02:00
Alex Rønne Petersen 6c3edfc5eb Ignore .dirstamp files. 2013-10-27 01:15:00 +02:00
Alex Rønne Petersen b37ba14801 Don't assert in Interlocked.Add () icalls on 64-bit systems.
The checks here were wrong in the first place; they should have
checked for MONO_ARCH_HAVE_ATOMIC_ADD rather than SIZEOF_VOID_P.
But regardless, these methods need to work when invoked via
reflection, which they wouldn't previously.
2013-10-27 00:52:09 +02:00
Alex Rønne Petersen 4b6494f0c6 Define WIN32_LEAN_AND_MEAN before including windows.h. 2013-10-26 21:39:39 +02:00
Marek Safar e00cbf2c42 Merge pull request #790 from akoeplinger/fixtests
Fixed a test issue where net45 methods were used in net40 profile
2013-10-26 00:11:19 -07:00
Alex Rønne Petersen d7e3f8f1bb Remove dead s390(x) code from mono-membar.h. 2013-10-26 05:08:19 +02:00
Alex Rønne Petersen 00bdbda27f Enable GCC atomics on sparc32/64. 2013-10-26 05:08:16 +02:00
Alex Rønne Petersen 481abfa4f3 Correct VFP detection in mono-hwcap-arm.
This is supposed to be the value 64, not 100.
2013-10-25 23:31:54 +02:00
Rodrigo Kumpera 6a2975513a [runtime]Add a wrapper around signal handlers to ease porting work. 2013-10-25 15:49:10 -04:00
Alexander Köplinger 40eaa78a8d Fixed a test issue where net45 methods were used in net40 profile 2013-10-25 19:52:36 +02:00
Alex Rønne Petersen c4a9aa1f8c Add LLDB support to mono_gdb_render_native_backtraces () on POSIX. 2013-10-25 18:20:44 +02:00
Rodrigo Kumpera 12cdbfceb7 [runtime] Improve the docs on reference queues a bit. 2013-10-25 11:41:08 -04:00
Rodrigo Kumpera 248c37dfa9 [runtime] Promote the reference queue API to the public. 2013-10-25 11:40:51 -04:00
Martin Baulig c8b403250f [linker]: Also reference all type-references for LinkAction.Link and Save. 2013-10-25 15:15:46 +02:00
Marek Safar 707d914007 Tests update 2013-10-25 12:25:49 +02:00
Marek Safar fcad876ef1 When looking for base implementation of generic MVAR methods use non-inflated parameter types. Fixes #15523 2013-10-25 11:59:53 +02:00
Marek Safar f4aa1c4149 Add new tests 2013-10-25 10:42:57 +02:00
Zoltan Varga 913a2d5fbd [runtime] Fix the windows build. 2013-10-24 22:47:45 +02:00
Zoltan Varga 6a9c585384 [runtime] Fix the sparc build. 2013-10-24 19:37:11 +02:00
Alex Rønne Petersen 0ab2677994 Prefix internal variables with mono_. 2013-10-24 17:28:51 +02:00
Rolf Bjarne Kvinge 8ff7f5748c Add OrderedDictionary to the mobile profile.
Requested in support case #49635.
2013-10-24 16:07:53 +02:00
Rolf Bjarne Kvinge 64c326af71 Move mono_get_optimizations_for_method to mini.c, since driver.c is only included in binaries, not libraries. 2013-10-24 16:07:43 +02:00
Zoltan Varga bc4e870d2b Add a --with-llvm=<llvm prefix> argument to configure to make the location of llvm-config explicit, instead of reading it from the PATH, which might be different on a reconfigure. 2013-10-24 01:58:34 +02:00
Rodrigo Kumpera 90690f5036 [runtime]Properly calculate the bitmap of valuetype [ThreadStatic] variables.
We must account that a valuetype field offset is relative to a boxed instance
and TLS memory stores a valuetype unboxed.
2013-10-23 18:09:40 -04:00
Alex Rønne Petersen 04a90dcbb0 Fix mono_gc_wbarrier_generic_store_atomic semantics.
It should ensure that stores are fully atomic with barriers.
2013-10-24 00:06:23 +02:00
Alex Rønne Petersen 3f6b4e4fea Fix the semantics for System.Threading.Volatile methods.
This is a bit tricky. The System.Threading.Thread.Volatile* methods
don't actually guarantee atomicity; all they guarantee is that the
runtime will insert acquire barriers for loads and release barriers
for stores. The methods in the System.Threading.Volatile class,
however, require both barriers *and* atomicity.

So, we need an entirely separate set of icalls for the Volatile
class in order to get the right semantics there.

These APIs are insane.
2013-10-24 00:06:23 +02:00
Alex Rønne Petersen 41d1358f09 Add Interlocked{Read,Write}{8,16,Pointer} functions. 2013-10-24 00:06:23 +02:00
Alex Rønne Petersen 9bcda222de Merge pull request #787 from directhex/master
Don't redeclare desc in mini_create_ftnptr on ppc64
2013-10-23 15:01:46 -07:00
Jo Shields 1a1c17d59c Don't redeclare desc in mini_create_ftnptr on ppc64 2013-10-23 22:58:41 +01:00
Sebastien Pouliot c0cbbb15d9 Merge pull request #786 from xplicit/master
fix DivideByZeroException in Random.Next()
2013-10-23 14:42:48 -07:00
Rolf Bjarne Kvinge caff055609 Provide more public API to inspect MonoTypes, MonoClasses and MonoMethodSignatures. 2013-10-23 23:25:46 +02:00
xplicit edbcf074ce fix DivideByZeroException in Random.Next() 2013-10-24 04:09:30 +07:00
Zoltan Varga 0943037e68 [runtime] Fix a warning. 2013-10-23 21:18:45 +02:00
Zoltan Varga c6994ed5fd [runtime] Fix the windows build. 2013-10-23 21:18:36 +02:00
Alex Rønne Petersen bc55637bd1 Add more missing atomic functions for MinGW. 2013-10-23 19:47:19 +02:00
Alex Rønne Petersen 93edc5e860 Add separate icall for System.Threading.VolatileRead (object&).
Previously, the icall that was used for the IntPtr overload was
used for this overload as well. Having a separate icall is less
error-prone for future modification as the two types are no longer
conflated.
2013-10-23 19:47:19 +02:00
Zoltan Varga 50d4232bbe [runtime] Fix the DISABLE_JIT build on ARM. 2013-10-23 17:46:18 +02:00
Alex Rønne Petersen 80f7e1f15b Add InterlockedExchange64 () based on GCC intrinsics for MinGW.
As with InterlockedCompareExchange64, MinGW appears to lack this
one from its Windows headers.
2013-10-23 15:06:09 +02:00
Sebastien Pouliot f9bbb7c58b Disable ClientWebSocketTest.cs (for mobile) until the type itself is added to the mobile profile (i.e. added to mobile_System.dll.sources). Fix building/running System.dll unit tests 2013-10-23 08:22:25 -04:00
Marek Safar ab93080478 Merge pull request #784 from alesliehughes/master
Support for ManagementQuery and ObjectQuery classes
2013-10-23 00:17:22 -07:00
Alistair Leslie-Hughes b1d551265a Implement ObjectQuery 2013-10-23 08:13:34 +11:00
Alistair Leslie-Hughes 13d44dbcbe Implement ManagementQuery QueryString 2013-10-23 08:13:33 +11:00
Alistair Leslie-Hughes 596921b77d Implement ManagementQuery QueryLanguage 2013-10-23 08:13:32 +11:00
Alex Rønne Petersen 3be7b103d8 Use THREAD_INFO_TYPE consistently in mono-threads.h. 2013-10-22 23:09:14 +02:00
Zoltan Varga ea4d594639 [runtime] Add a missing TLS key for LMF addr. 2013-10-22 19:44:02 +02:00
Rodrigo Kumpera 3153dec190 Fix this test to work on 2.0. 2013-10-22 13:12:05 -04:00
Zoltan Varga 6be13313df [runtime] Fix the interlocked increment/decrement/add functions. 2013-10-22 15:11:44 +02:00
Zoltan Varga 0d40321933 [runtime] Centralize the processing of MonoTrampInfo structures into the mono_tramp_info_register () function, to reduce code duplication. 2013-10-22 14:35:46 +02:00
Zoltan Varga d48b2f6a29 [runtime] Use mono_restore_context () to reduce code duplication in the back ends. 2013-10-22 14:12:38 +02:00
Zoltan Varga 9be988fc33 [runtime] Use mini_exception_id_by_name () on ARM. 2013-10-22 14:05:43 +02:00
Zoltan Varga 3ee03145ff [runtime] Use mini_get_nullified_class_init_trampoline () to reduce code duplication in the back ends. 2013-10-22 14:04:50 +02:00
Zoltan Varga f62ffb9b89 [runtime] Add a mini_get_nullified_class_init_trampoline () helper function. 2013-10-22 07:33:41 -04:00
Zoltan Varga e6f000945f [runtime] Fix gsharedvt support in mono_helper_compile_generic_method (). 2013-10-22 07:32:27 -04:00
Zoltan Varga 3b5d644f27 [runtime] Add a mono_restore_context () helper function. 2013-10-22 07:28:56 -04:00
Zoltan Varga 7226a70c87 [runtime] Avoid crashing in mini_jit_info_table_find () if the current thread is not set. 2013-10-22 07:27:35 -04:00
Zoltan Varga dde6bb81f5 [jit] Add a mini_exception_id_by_name () helper function. 2013-10-22 07:26:01 -04:00
Zoltan Varga 7994b74bc4 [jit] Add a MONO_TRAMPOLINE_TYPE_HAS_ARG macro which determines whenever a given trampoline type receives its argument directly in a register. 2013-10-22 07:22:59 -04:00
Zoltan Varga 71a7f55907 [jit] Add a 'relocation' field to MonoJumpInfo which contains an architecture specific relocation constant so mono_arm_patch_code () doesn't have to decompile the patch site to determine the type of patching to do. 2013-10-22 07:21:37 -04:00
Zoltan Varga 60c5ef5e2b [jit] Add a 'call_info' field to MonoCallInst so the OP_CALL_... opcodes have access to the calling convention information computed in mono_arch_emit_call (). 2013-10-22 07:18:28 -04:00
Zoltan Varga 16d53c2dd7 runtime] Print unwind information in the JIT debug output. 2013-10-22 07:16:02 -04:00
Zoltan Varga e833cd7669 [jit] Add a MONO_ARCH_EMULATE_LONG_MUL_OVF_OPTS define for architectures which have mul but not mul.ovf opcodes. 2013-10-22 07:14:39 -04:00
Zoltan Varga 5557499b1a [runtime] Make --regression work when a domain is not yet setup during porting. 2013-10-22 06:51:14 -04:00
Zoltan Varga 47fcf8de8c [sdb] Fix support of vtypes passed by ref. 2013-10-22 06:48:47 -04:00
Zoltan Varga e6fcd7e886 [runtime] Avoid running tests using AC_TRY_RUN () when cross-compiling. 2013-10-22 06:45:43 -04:00
Zoltan Varga fb4dd485c9 [runtime] Use a cache in mono_create_rgctx_lazy_fetch_trampoline () in the full-aot case as well. 2013-10-22 06:42:37 -04:00
Zoltan Varga 4e6c494b30 [sdb] Add an IncludeSubclasses property to ExceptionEventRequest, to control whenever to include subclasses of the exception type. Fixes #15541 2013-10-22 08:38:07 +02:00
Sebastien Pouliot 64eff753bd Merge pull request #730 from LogosBible/locale-changes
Improving the retrieval of the user's locale on Apple systems.
2013-10-21 14:19:26 -07:00
Sebastien Pouliot ba6de2d5cc Fix condition (for MOBILE) that excluded System.Xml.Schema/Extensions.cs. Removed the condition since every profile we now support includes this [#15552] 2013-10-21 17:15:53 -04:00
Jeffrey Stedfast e028273cff Fixed a some compiler warnings 2013-10-21 17:15:02 -04:00
Alex Rønne Petersen c17e2527d1 Add comment explaining the TARGET_OSX oddity in atomic.c. 2013-10-21 23:10:44 +02:00
Alex Rønne Petersen e6b5336bb9 Add a couple of casts to scan_thread_data () to shut GCC up.
This would result in the following warnings on e.g. PowerPC:

sgen-gc.c: In function 'scan_thread_data':
sgen-gc.c:4045:6: warning: passing argument 1 of 'conservatively_pin_objects_from' from incompatible pointer type [enabled by default]
sgen-gc.c:1467:1: note: expected 'void **' but argument is of type 'void * (*)[32]'
sgen-gc.c:4045:6: warning: passing argument 2 of 'conservatively_pin_objects_from' from incompatible pointer type [enabled by default]
sgen-gc.c:1467:1: note: expected 'void **' but argument is of type 'void * (*)[32]'
2013-10-21 23:10:15 +02:00
Rodrigo Kumpera cd474dc552 Bump mono to 3.2.5 2013-10-21 15:25:46 -04:00
Rodrigo Kumpera 0a4a52cb96 [mkbundle] New mkbundle options for better handling integration with native libs.
New --skip-scan flag allow us to handle resource assemblies as opaque data.
New --static-ctor flag allows us to better interop with weird C libraries requirements.
2013-10-21 15:22:47 -04:00
Miguel de Icaza 2a4a459021 Merge pull request #717 from mono/client_websockets_impl
Add implementation of ClientWebSocket
2013-10-21 11:28:04 -07:00
Alex Rønne Petersen 0b3c3126ea Merge pull request #268 from pcc/menudeactivate
Cause MenuDeactivate event to be delivered when appropriate
2013-10-21 11:21:06 -07:00
Alex Rønne Petersen e946a6cdeb Merge pull request #260 from pcc/topmost
X11: improve handling of WS_EX_TOPMOST
2013-10-21 11:19:47 -07:00
Michael Hutchinson b86af48486 Merge pull request #565 from rneatherway/master
This is a possible fix for finding xml documentation files
2013-10-21 11:09:23 -07:00
Alex Rønne Petersen 457a8453f7 Merge pull request #587 from madewokherd/gdipdllmap
Ignore the gdiplus dllmap on Windows.
2013-10-21 10:00:26 -07:00
Alex Rønne Petersen 67d6c8f685 Remove commented-out irix path from configure.in. 2013-10-21 18:17:10 +02:00
Alex Rønne Petersen e4d2cc49a0 Add mono_gc_wbarrier_generic_store_atomic () function.
This is used in place of mono_gc_wbarrier_generic_store () when
we need the store to be atomic with release semantics.
2013-10-21 18:08:16 +02:00
Alex Rønne Petersen 55d338134d Add an extension point in atomic.c. 2013-10-21 18:08:15 +02:00
Alex Rønne Petersen 1b9ca03c22 Use slow 64-bit cmpxchg for 32-bit ARM, MIPS, and PowerPC.
GCC doesn't provide a 64-bit __sync_val_compare_and_swap intrinsic
for these architectures.
2013-10-21 18:08:05 +02:00
Alex Rønne Petersen 53398c4641 Correct our implementation of Thread.VolatileRead ()/VolatileWrite ().
We have various issues:

* All of the functions assumed that doing volatile loads/stores was
  enough, when load-acquire, store-release semantics were actually
  needed. This may have worked before purely by chance. We now use
  proper memory barriers so that we don't have to hope for the
  compiler and CPU to do the right thing.
* Removes the hack for 64-bit quantities on 32-bit systems. This is
  no longer needed now that we use explicit memory barriers in
  these functions. Also, these functions are not supposed to do
  atomic reads/writes in the first place - they're purely about the
  memory barrier semantics.
* The VolatileWrite (object&, object) overload was not using the
  volatile qualifier at all, thus not getting volatile semantics
  as per: http://gcc.gnu.org/onlinedocs/gcc/Volatiles.html
2013-10-21 17:59:30 +02:00
Alex Rønne Petersen 421e1beea5 Use InterlockedAdd64 () for Interlocked.Add (long&, long). 2013-10-21 17:59:29 +02:00
Alex Rønne Petersen 89a99c2634 Use InterlockedAdd () for Interlocked.Add (int&, int). 2013-10-21 17:59:29 +02:00
Alex Rønne Petersen d785b33891 Use InterlockedExchange64 () for Interlocked.Exchange (double&, double). 2013-10-21 17:59:28 +02:00
Alex Rønne Petersen b9db6c2071 Use InterlockedExchange64 () for Interlocked.Exchange (long&, long). 2013-10-21 17:59:28 +02:00
Alex Rønne Petersen 15f9be5d03 Use InterlockedDecrement64 () for Interlocked.Decrement (long&). 2013-10-21 17:59:28 +02:00
Alex Rønne Petersen bb62cced7e Use InterlockedIncrement64 () for Interlocked.Increment (long&). 2013-10-21 17:59:27 +02:00
Alex Rønne Petersen ab90040305 Use InterlockedRead64 () for Interlocked.Read (long&). 2013-10-21 17:59:27 +02:00
Alex Rønne Petersen e02b11b708 Use __sync_sub_and_fetch () for atomic decrements for clarity. 2013-10-21 17:59:26 +02:00
Alex Rønne Petersen e48f61dc84 Move definition of NEED_64BIT_CMPXCHG_FALLBACK to top of atomic.c. 2013-10-21 17:59:26 +02:00
Alex Rønne Petersen a92cfede81 Add interlocked read/write functions to atomic.c/.h.
These are guaranteed to have sequential consistency regardless
of the bitness of the machine they run on.
2013-10-21 17:59:25 +02:00
Alex Rønne Petersen ec96b2dc22 Add implementations of various interlocked functions to atomic.c/.h.
Mainly 64-bit variants, but also InterlockedAdd ().
2013-10-21 17:59:21 +02:00
Alex Rønne Petersen e601897f3f Use mono_memory_barrier () for Thread.MemoryBarrier ().
This gets rid of the rather hacky lock-based barrier.
2013-10-21 15:57:25 +02:00
Alex Rønne Petersen 7fae16348a Kill the Cygwin hack in mono-membar.h.
We only support GCC 4.x in Cygwin now.
2013-10-21 15:57:25 +02:00
Alex Rønne Petersen 6d2008b013 Remove MONO_ARCH_SAVE_REGS from threading icalls. 2013-10-21 15:57:25 +02:00
Alex Rønne Petersen a3632c6274 Use GCC atomics on s390x. 2013-10-21 15:57:25 +02:00
Alex Rønne Petersen bf0b8a1d1a Remove unneeded ARM code from atomic.c. 2013-10-21 15:57:24 +02:00
Alex Rønne Petersen a33ce0c39f Use host preprocessor identifiers in atomic.c, not target.
Here we care about the system we run on, not the kind of
system that Mono is built to compile for.
2013-10-21 15:57:24 +02:00
Alex Rønne Petersen fd6f60245f Simplify the ifdeffery in atomic.c/.h a bit. 2013-10-21 15:57:24 +02:00
Alex Rønne Petersen 9dd59c1f13 Remove unneeded NetBSD code path from atomic.h. 2013-10-21 15:57:24 +02:00
Marek Safar 17d4130d1b Merge pull request #783 from alistair/timezoneinfo_fix_for__convert_utc_to_local
Bug 15373: Return Local DateTime instead of Unspecified for >net_4_0
2013-10-19 08:34:26 -07:00
Alistair Bush 98f1c8c584 Return Local DateTime instead of Unspecified for >net_4_0 2013-10-19 23:41:17 +13:00
Mark Probst a57f9ce8a0 [runtime] JIT debugging option to optimize only single methods.
The --single-method option run regression tests from an assembly, like
--regression.  Instead of going through a list of optimizations,
however, it takes one optimization combination, runs all tests with
all optimizations turned off, while gathering a list of which methods
were jitted.  Then, for each jitted method, it runs all tests again,
with the optimizations applied to only that one method, stopping as
soon as a test fails.  Example:

    mono --single-method=branch,peephole basic-float.exe
2013-10-18 16:19:00 -07:00
Zoltan Varga b17461cb8a Disable a corlib test assertion which is no longer true. 2013-10-18 22:24:04 +02:00
Rodrigo Kumpera 9acd6e303d Merge pull request #768 from madewokherd/gcnotdll
Define GC_NOT_DLL for included boehm on win32.
2013-10-18 11:09:11 -07:00
Zoltan Varga 930e8fe970 [sgen] Set the TLS key offsets in one place in create_allocator (). 2013-10-18 19:28:39 +02:00
Zoltan Varga 6633bf1697 [aot] Add the JIT icall wrappers later, so it can pick up the JIT icalls registered by the managed allocators. 2013-10-18 19:25:09 +02:00
Zoltan Varga 8ff186652f [runtime] Fix the build. 2013-10-18 18:32:28 +02:00
Zoltan Varga cb2e262116 [runtime] Really fix the build. 2013-10-18 18:14:25 +02:00
Zoltan Varga 88bbc34b27 [runtime] Fix the build. 2013-10-18 18:10:30 +02:00
Zoltan Varga c94acdd085 [runtime] Add a missing file. 2013-10-18 18:01:44 +02:00
Zoltan Varga 2735588c0c [runtime] Clean up the usage of the CEE_MONO_TLS opcode in wrappers. Instead of passing it the tls offset, pass one of the TLS_KEY_ constants defined in mono-tls.h, and resolve the offset in the JIT. This allows these wrappers to work with AOT. 2013-10-18 17:54:20 +02:00
Zoltan Varga dc0bf73e84 Merge pull request #781 from directhex/master
SPARC build fixes
2013-10-18 02:22:32 -07:00
Jo Shields 842b67d546 Define REG_SP on SPARC in sgen-archdep.h, if needed.
This definition is stolen from exceptions-sparc.c
2013-10-18 09:36:00 +01:00
Jonathan Lima 49017bc699 Fix MSVC build. 2013-10-18 10:19:33 +02:00
Jo Shields dd149e75e6 Add missing ; characters to mono-hwcap-sparc.c. Fixes build failure. 2013-10-18 09:07:52 +01:00
Atsushi Eno 6dae772d49 Merge pull request #762 from echampet/wsdl
[FIX] Bug 267: wsdl fails with "Argument is out of range."
2013-10-18 00:52:08 -07:00
Atsushi Eno 87f80d1139 Merge pull request #766 from remobjects/resx-delete-on-clean
When generating resources, it intends to add the .resources file to the ...
2013-10-18 00:49:51 -07:00
Atsushi Eno 0075f39215 Merge pull request #767 from ovatsus/Bug14922
Fix for #14922
2013-10-18 00:48:26 -07:00
Zoltan Varga 6934f160db Fill out AssemblyName.ProcessorArchitecture for assemblies. Fixes #15347. 2013-10-17 11:53:17 +02:00
Marek Safar 4387da1524 Better check for open generic types in probing expression. Fixes #15422 2013-10-16 20:21:18 +02:00
Marek Safar b055fa22df Fixes too early optimization of binary &&/& bool constants. Fixes part of #15392 2013-10-16 19:17:25 +02:00
Martin Baulig 346b2ee260 Dummy test commit. 2013-10-16 11:24:57 +02:00
Mark Probst 5db0301dc8 [sgen] Don't crash on nurseries of 512M or larger. 2013-10-15 16:47:18 -07:00
Martin Baulig 65aefd9749 [PCL]: Update the PCL Facade Assemblies. 2013-10-15 20:31:03 +02:00
Zoltan Varga b322a6e410 [aot] Only use an AOT shortcut in the trampoline code if its safe to do so. Fixes #15345. 2013-10-15 17:01:24 +02:00
Martin Baulig f0fe1fbd79 Makefile magic ... 2013-10-15 14:49:49 +02:00
Marek Safar 3a7e67b4c5 Fixes CodeDom regression introduced by 66d4b82a87 2013-10-14 19:17:52 +02:00
Marek Safar 394591e203 Merge pull request #779 from LogosBible/UTF8Encoding
Fixing bugs in UTF8Encoding's GetMaxByteCount and GetMaxCharCount.
2013-10-14 00:32:13 -07:00
Martin Potter 1b318701b9 Fixing bugs in UTF8Encoding's GetMaxByteCount and GetMaxCharCount.
The previous implementation of GetMaxByteCount has two bugs: it incorrectly took into account the byte order mark and it was taking the max of a byte count (3) and a character count (EncoderFallback.MaxCharCount). This could result in returning the max number of bytes required to convert a string that was less than the number bytes used when converting the string.

GetMaxCharCount did not previously take into account DecoderFallback.MaxCharCount or the fact that there may still be part of a surrogate pair left on the buffer from a previous call to convert.

I removed the #if NET_2_0 conditionals and NotWorking category since these methods now return results consistent with Microsoft's implementation. I also added two simple tests for custom EncoderFallback and DecoderFallback cases.

This commit is licensed under MIT/X11.
2013-10-13 14:37:45 -07:00
Jeffrey Stedfast 779127e0a5 Merge pull request #774 from DavidS/patch-1
Minor fix to avoid ArgumentOutOfRangeException
2013-10-12 15:07:27 -07:00
Zoltan Varga 0cbc4ad6c0 [runtime] Run the tests in mono/tests in sorted order. 2013-10-12 15:17:59 +02:00
Zoltan Varga d4741184d3 [xdebug] Avoid using a MonoDebugMethodJitInfo structure after it has been freed. Fixes #15090. 2013-10-12 02:49:10 +02:00
Sebastien Pouliot cb19547a83 [mono-api-html] Several indexer properties (Item) can have the name (with different parameters) 2013-10-11 16:44:59 -04:00
Sebastien Pouliot 24169a083e [mono-api-html] Output nested type correctly (was missing the declaring type name) 2013-10-11 11:05:17 -04:00
Marek Safar d2b121244a The first definite assignment cleanup 2013-10-11 15:35:28 +02:00
Mark Probst ace1e095ce [regalloc2] Handle sreg3. 2013-10-10 16:55:01 -07:00
Mark Probst ce6ec03e5d [regalloc2] Lazily allocate intervals. 2013-10-10 16:55:01 -07:00
Rodrigo Kumpera cb04c5a12d Merge pull request #777 from nealef/master
Remove debug message
2013-10-10 11:44:45 -07:00
Neale Ferguson d6a8d9880e Remove debug message 2013-10-10 14:37:43 -04:00
Rodrigo Kumpera 796c64439b Merge pull request #776 from nealef/master
Fix memory leaks in Oracle Client. The largest leaks come from the curso...
2013-10-10 11:26:54 -07:00
Neale Ferguson 0b26afc182 Fix memory leaks in Oracle Client. The largest leaks come from the cursors being created but never freed in OracleParameter.cs. The size of the memory used by these cursors varies from tens to thousands of bytes depending on the statement being executed. Several hours of transactions can lead to OOM errors. The other fixes are relatively minor but they do clean up other unmanaged memory not being returned. 2013-10-10 13:17:17 -04:00
Aaron Bockover d075623275 bxc#13642: MacNetworkChange: implement using managed code
The previous version used SCNetworkReachability
in C inside libMonoPosixHelper. This was less
than ideal and made it more problematic for
supporting iOS as it doesn't actually link
MPH in.

Rewrite using P/Invokes directly into the
SCNetworkReachability APIs for Mac OS X and
iOS.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=13642
for iOS and Mac OS X.
2013-10-10 12:35:47 -04:00
Marek Safar a55758d136 Compound assignment of optimized binary constant needs to decompose it first. Fixes #15315 2013-10-10 16:09:31 +02:00
Marek Safar 87d6328f2f Better debugger visualization for .net 1.1 style custom collections 2013-10-10 16:09:31 +02:00
Sebastien Pouliot 8113f9b237 [mono-api-html] Output C# 'char' instead of 'System.Char' 2013-10-10 08:12:13 -04:00
Sebastien Pouliot 93399696e0 [mono-api-html] Do not produce (near-)empty files when no (public) changes are detected 2013-10-10 08:12:13 -04:00
Marek Safar 66d4b82a87 Ensure that CodeDom generated temporary directory is always created. Fixes #12202 2013-10-10 11:54:20 +02:00
Sebastien Pouliot a812e9a24b [mono-api-html] Show 'static' fields as such 2013-10-09 20:59:21 -04:00
Sebastien Pouliot 4407f88ea6 Process/compare/output method's generic parameters [#15311] 2013-10-09 20:31:13 -04:00
Marek Safar 6e5cd4b5cf Anonymous type are shared across module hence need module counters. 2013-10-09 20:01:44 +02:00
Rodrigo Kumpera 6b71c73790 Fix net_2_0 test. 2013-10-09 12:58:44 -04:00
Jonathan Pryor 4490185a8d Merge pull request #775 from directhex/fix-gendarme-doc-generation
[monodoc] Ensure we don't try to use <Parameters/> when it might be null. Fixes Gendarme doc generation.
2013-10-09 08:07:05 -07:00
Jo Shields 0e08c1f9c2 [monodoc] Support fields that match operator naming convention 2013-10-09 16:02:35 +02:00
Jo Shields 94eb62fdb9 [monodoc] Add a test for ba222d4eb9 2013-10-09 15:57:47 +02:00
Jo Shields ba222d4eb9 [monodoc] Ensure we don't try to use <Parameters> when it might be null. Fixes Gendarme doc generation. 2013-10-09 15:31:23 +02:00
Gustavo Guerra 6c8c17c932 Adjust defines to check for 4_0 instead of 3_0 2013-10-09 13:38:35 +01:00
Marek Safar 0e040e2244 anonymous: move counters to TypeContainer
With the anonymous counters on ModuleContainer,
    anonymous method and type names will be generated
    in a way that depends on the order of the sources
    passed to mcs. This can cause undesirable API
    and IL differences.

    Moving the counters to TypeContainer instead
    avoids this issue.
2013-10-09 14:27:19 +02:00
Marek Safar e0b711beaf Enum IConvertible can convert to same enum or System.Enum. Fixes #15289 2013-10-09 14:04:47 +02:00
Marek Safar d6f05668d4 Cleanup redundant code 2013-10-09 13:52:10 +02:00
Marek Safar 5d96c0de63 Simplify work item registration for internal work items 2013-10-09 12:51:16 +02:00
Marek Safar e591a1d63c Remove redundant initialization 2013-10-09 11:39:14 +02:00
Marek Safar f410e545e2 Allow to queue multicast delegates in thread-pool 2013-10-09 11:26:34 +02:00
Marek Safar e5bd8bc98b Release continuation ancestor before running. Fixes #15036 2013-10-09 10:43:41 +02:00
David Schmitt bb3d1b7ca3 Minor fix to avoid ArgumentOutOfRangeException
When the file is empty, data[0] would throw and swallow the original exception.
2013-10-09 10:36:37 +02:00
Marek Safar f33bd8ad7f Adds async type inference of void return type. Fixes #15238 2013-10-08 19:30:32 +02:00
Marek Safar cf2ac2171b Make Task.Delay more reliable. Fixes #14585 2013-10-08 10:16:19 +02:00
Jeffrey Stedfast c82aea5fb2 [System.ComponentModel.DataAnnotations] Implemented EmailAddressAttribute.IsValid() 2013-10-07 17:51:17 -04:00
Atsushi Eno 8d401cb39d Element() and Elements() could also reduce use of extraneous iterators. 2013-10-08 01:57:17 +09:00
Jonathan Pryor a601831f63 Fallback to $LANG if $LC_ALL isn't set.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=15214

This is a regression introduced in be532638.

Xamarin.Android assumes that the $LANG environment variable can be
used to control System.Globalization.CultureInfo.CurrentCulture,
setting LANG based on the current Java locale.

This was broken in be532638 because $LANG was no longer being checked
to determine the default locale, as $LC_ALL was not set.

Fix the fallback logic so that $LANG is checked when $LC_ALL is not.
2013-10-07 12:31:06 -04:00
Atsushi Eno 5d25022423 reduce memory use on Attribute() caused by Attributes(). 2013-10-08 01:25:51 +09:00
Marek Safar 43a0a9d47f Inline more is instance checks 2013-10-07 17:04:13 +02:00
Marek Safar 3fbd4b873c Cache only resolved types not expression to report correct error location. Fixes #15035 2013-10-07 15:04:09 +02:00
Atsushi Eno 2a52ec9e36 in XLinq XObject there is no need to instantiate XObjectEventArgs every time. 2013-10-07 21:32:10 +09:00
Zoltan Varga f4ada63ae8 Merge pull request #771 from madewokherd/rvamap
For module handles, only check that rva's are within the image size.
2013-10-05 21:12:58 -07:00
Sebastien Pouliot dd197f0c5f Ignore some asserts since the validation were removed 2013-10-04 17:08:48 -04:00
Miguel de Icaza 096c647c80 FixBuild 2013-10-04 17:07:14 -04:00
Marek Safar 009d937c1d Better check for instance equality of generic types. Fixes #15100 2013-10-04 16:42:57 -04:00
Marek Safar 7585958bfd Fix some code issue warnings 2013-10-04 16:42:57 -04:00
Zoltan Varga fd7cec894d [sgen] Use gcc bitcount intrinsics where appropriate. 2013-10-04 15:54:17 -04:00
Miguel de Icaza 8f604d71f1 This regex was wrong in the first place, and second, it uses CC code from Stackoverflow 2013-10-04 15:47:22 -04:00
Miguel de Icaza 9d13d1aeb0 Remove CodeProject licensed code 2013-10-04 15:43:47 -04:00
Miguel de Icaza 58cf2e272a Add actual source 2013-10-04 15:42:49 -04:00
Miguel de Icaza a52849e336 Fix inacurrate reference 2013-10-04 15:39:09 -04:00
Vincent Povirk 7a4f59d121 For module handles, only check that rva's are within the image size.
This commit licensed as MIT/X11.
2013-10-04 13:33:56 -05:00
Rodrigo Kumpera 48266c8b04 Merge pull request #770 from abock/master
mdbrebase: fix prefix replacement, add regex & filename modes
2013-10-04 09:55:00 -07:00
Aaron Bockover b8be8f0e63 mdbrebase: fix prefix replacement, add regex & filename modes
Existing prefix replacement was incorrect as
it tested for a prefix but performed a multi
search and replace instead of just a prefix
replace. Fix that.

Add -r|--regex mode to indicate that path
replacement should be performed with regular
expressions.

Add -f|--filename mode to indicate that
replacements should be performed only on
a file name and not the full absolute path.

Add -v|--verbose mode to print the replacements
that are performed.
2013-10-04 10:26:24 -04:00
Gustavo Guerra 0fd61547a1 [xBuild] Don't set any VisualStudioVersion 2013-10-04 10:49:00 +01:00
Sebastien Pouliot 8e037f7cef [mdoc] Fix output of GenericParameter (Cecil now overrides DeclaringType since 60ce19429e9cfaa770d72c2f395fdcdf11eb0f7b) not to include namespace (and match previous, correct, output) 2013-10-03 21:59:41 -04:00
Jonathan Pryor eda41be355 Support deserializing relative Uris. Fixes #15169.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=15169
2013-10-03 11:06:21 -04:00
Marek Safar a769cce0b7 Fixes regression caused by 3912066fe1 change 2013-10-03 09:07:45 -04:00
Rodrigo Kumpera d7cc362ebd Merge pull request #769 from schani/fix-exception-throw-signal
[x86] Fix bug when getting a signal while throwing exception.
2013-10-02 14:45:09 -07:00
Marek Safar 7e01f047fa Emit better debugger attribute for stepping over state machine initialization 2013-10-02 17:29:59 -04:00
Sebastien Pouliot 7885214216 Use more detailled assert messages in some, randomly failing, Timer unit tests (to help track #14305) 2013-10-02 16:28:12 -04:00
Zoltan Varga 3e745070db [runtime] Save MonoTrampInfo structures in a list so mono_print_method_from_ip () would work on trampolines. 2013-10-02 13:20:43 -04:00
Gustavo Guerra b8a031d583 [xBuild] Add missing VisualStudioVersion propety which was introduced in VS2012 2013-10-02 16:12:29 +01:00
Mark Probst 3f587a4ec5 [x86] Fix bug when getting a signal while throwing exception. 2013-10-02 10:58:53 -04:00
Mark Probst 8828fafe29 [AMD64] Fix bug when getting a signal while throwing exception.
This is a very rarely occurring bug that's also still present on x86
and possibly other architectures, as well.
2013-10-02 10:06:50 -04:00
Atsushi Eno 2f7631188b revive XSLT standalone tests (which was broken because of dependency on too old nunit and build profiles). 2013-10-02 23:04:44 +09:00
Zoltan Varga 6622e98ec6 [runtime] Fix a runtime test which got broken by the newly added methods to the Marshal class. 2013-10-02 09:24:32 -04:00
Gustavo Guerra 92eda1e2a6 [xBuild] Fix use of properties in project references when those properties use MSBuildExtensionPath after expanded 2013-10-01 21:45:54 +01:00
Robin Neatherway 80dea22861 [xBuild] Fix compilation for Mono 2.0 2013-10-01 21:45:13 +01:00
Martin Baulig 714efcf7d1 [System]: Fix System.IO.Compression.CompressionLevel enum. 2013-10-01 12:48:57 -04:00
Sebastien Pouliot f7882be852 Relax name check when deserializing a WindowsIdentity instance as the name can be empty (e.g. iOS7 simulator will hide the user name) [#12789] 2013-09-30 20:39:14 -04:00
Sebastien Pouliot f5c5728ba6 [mono-api-html] Better handling of generic types (so they can be simplified and displayed correctly, e.g. for arrays) 2013-09-30 17:32:57 -04:00
Sebastien Pouliot 2ce488024f [mono-api-html] Fix ending quote for non-string fields 2013-09-30 17:32:56 -04:00
Marek Safar 3912066fe1 Anonymous method with this access inside an iterator needs to initialize captured this field from iterator's copy. Fixes #14926 2013-09-29 17:58:19 -04:00
Gustavo Guerra f7a787b140 [xBuild] Fix Import elements with the combination of wildcards and absolute paths
Used in the .targets files shipped with VS2013
2013-09-29 21:28:56 +01:00
Gustavo Guerra 29bb48cdc7 [xBuild] Support for ImportGroup element
Used in the .targets files shipped with VS2013
2013-09-29 21:26:00 +01:00
Gustavo Guerra ad8b4d7a4b [xBuild] Suport >= in string conditions
e.g: '$(MSBuildAssemblyVersion)' == '' and ('$(VisualStudioVersion)' != '' and '$(VisualStudioVersion)' >= '12.0'), used in the .targets files shipped with VS2013
2013-09-29 21:22:47 +01:00
Gustavo Guerra fed01f9b44 [xBuild] Support use of properties defined in Choose elements in project references
This is used by the .fsproj files generated by VS2013 which use a Choose element to set the location of the F# targets file to import
2013-09-29 21:21:34 +01:00
Gustavo Guerra b9a4200cae [xBuild] Support ToolsVersion 12
From VS2013, MSBuild is now decouple from the .NET Framework and is a separate redistributable. This means it has a new location and version numbering scheme. There are also some addition MSBuild properties because of this
2013-09-29 21:13:58 +01:00
Sebastien Pouliot 6336e516d3 Fix potential NRE and give better output for fields and some types 2013-09-28 13:07:17 -04:00
Atsushi Eno 99bcb28944 Add ConsoleLoggerTest and fixed implementation to match .NET implementation. 2013-09-28 20:58:52 +09:00
Atsushi Eno d8b8cab32a implement some "new in 4.0" build event args types. 2013-09-28 20:57:50 +09:00
Rodrigo Kumpera 44545f6cc2 Revert "Allow workitems to startup faster and reduce polling thread interval in the threadpool."
This commit is causing unbound growth in the number of threads for a series of workloads.

It's leading a sgen test to crash with 800 tp threads around, which doesn't make sense on a
4 cores system with default TP configuration.

This reverts commit 3c347d5d3a.
2013-09-27 19:51:54 -04:00
Rolf Bjarne Kvinge 28a6623aa9 [Mono.Tuner] Remove unused field. 2013-09-27 15:03:42 +02:00
Atsushi Eno 3579ae4ec7 Add some "new in 4.0" API regarding build event args. 2013-09-27 20:02:14 +09:00
Zoltan Varga 9c2e07499e [sdb] Fix decoding of nested structs. Fixes #14942. 2013-09-27 12:35:22 +02:00
Atsushi Eno 5b867d6fb7 Fix build.
I forgot to save buffer, build, then save, then committed :(
2013-09-27 19:12:54 +09:00
Sebastien Pouliot ff7b7254bc Drop the System.Enum and System.ValueType for enum and struct. 2013-09-26 16:17:15 -04:00
Sebastien Pouliot c90d23bed5 Add a new tool to produce HTML diff of assemblies similar to what Xamarin.iOS has been producing 2013-09-26 15:42:29 -04:00
Vincent Povirk bd421b40ee Define GC_NOT_DLL for included boehm on win32.
This commit licensed as MIT/X11.
2013-09-26 14:06:06 -05:00
Atsushi Eno 630cace193 implement some primary members of ConsoleLogger (and FileLogger). 2013-09-27 01:54:41 +09:00
Jeffrey Stedfast 450407d1c8 [MacProxy] Initialize err to IntPtr.Zero before calling CFNetworkCopyProxiesForAutoConfigurationScript 2013-09-26 12:27:12 -04:00
Zoltan Varga ef53ac8727 [sdb] Fix a race in the sdb tests exposed by the recent threadpool changes. 2013-09-26 13:02:30 +02:00
Mark Probst b4320bf02f [sgen] A better fix for the POSIX stop-world deadlock. 2013-09-25 18:40:21 -07:00
R. Brian Lindahl e1a1624504 When generating resources, it intends to add the .resources file to the FilesWritten list. However, it sets the ItemSpec on the wrong item, and a 'Clean' ends up deleting the .resx file. 2013-09-25 08:40:43 -07:00
Zoltan Varga 91ae2ef9aa Implement net 4.5.1 generic wrapper methods in Marshal. 2013-09-25 13:04:02 +02:00
Atsushi Eno 20716c55e7 Fix bug #14951 - there was another escape sequence 1B 24 40 to indicate "old" JIS. 2013-09-25 18:37:30 +09:00
Marek Safar 269db1075c Bump ikvm-reflect 2013-09-25 11:27:06 +02:00
Marek Safar a4a84a1325 Report less cascading errors 2013-09-25 11:20:09 +02:00
Marek Safar dd108ce0ac Don't crash when reporting invalid named argument name. Fixes #14962 2013-09-25 10:53:49 +02:00
Zoltan Varga 4a38ae76cb Fix the build. 2013-09-25 01:35:19 +02:00
Mark Probst a4f089aadb Add a section to the README on how to submit bug reports. 2013-09-24 15:17:14 -07:00
Jonathan Pryor 4672f532ea [System] Fix the CSharpCodeCompiler error parsing regex.
Use the same regex as xbuild uses for error parsing; see 7a2d2c24.
2013-09-24 17:14:55 -04:00
Jonathan Pryor 7a2d2c247c [MSBuild] Fix the ${level} and ${number} capture.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=14767

	Some people, when confronted with a problem, think
	“I know, I'll use regular expressions.”   Now they have two problems.
	- http://regex.info/blog/2006-09-15/247

ToolTask uses a regular expression to extract various bits of
information from the warning/error message. Unfortunately it was
inadequate, and didn't correctly match on some errors.

The error message in this case is:

	class1.cs(16,4): error CS0152: The label `case 1:' already occurs in this switch statement.

The problem was that while the previous regular expression would
succeed in matching the above string, it was horribly inaccurate in
what it captured:

	${file}   = "error CS0152"
	${line}   = "16"
	${column} = "4"
	${level}  = "The"
	${number} = "label `case 1"
	${message}= "' already occurs in this switch statement."

Did I mention hilariously wrong?

There were two problems with the previous pattern:

 1. It allowed filename+(line,column) to be _repeated_, which is
    clearly insane. Filename/etc. shouldn't be repeated.

 2. ${number} captured ".*\d", i.e. anything ending with a number, so
    when the message had a number embedded within it, it was captured.

For good measure, use RegexOptions.IgnorePatternWhitespace so that
we don't have a horrendously long regex pattern to compare for diffs
the next time this needs fixing, and add NUnit tests.
2013-09-24 16:29:31 -04:00
Mark Probst 8c57ebccfd [sgen] Fix a thread startup deadlock on POSIX.
If the GC stops the world and a thread is in the process of starting
up, but has not yet registered (it's not in the thread_list), it is
possible that the thread does register while the world is stopped.
When restarting the GC will then try to restart said thread, but since
it never got the suspend signal, it cannot answer the restart signal,
so a deadlock results.

This is triggered by `tests/sgen-bridge.cs`, about once every 10 runs.

We solve this by using a negative value in the `signal` field in the
thread info to indicate threads that have never been suspended.
2013-09-24 11:27:29 -07:00
Marek Safar 0d06d873f8 Better checks for inaccessible member used via dynamic proxy. Fixes #14762 2013-09-24 19:17:06 +02:00
Marek Safar b70d5e1b96 Reenable accidentally disabled test 2013-09-24 16:04:07 +02:00
Marek Safar 40fb1399c9 Fixes compilation error on Mavericks 2013-09-24 16:00:58 +02:00
Marek Safar f9ba0a1b8f Initialize cookie container for default requests. Fixes #14783 2013-09-24 16:00:57 +02:00
Marek Safar 1c89349477 Optmizes one string comparison.
Remove useless GC.SuppressFinalize
2013-09-24 16:00:57 +02:00
Paolo Molaro 3c347d5d3a Allow workitems to startup faster and reduce polling thread interval in the threadpool.
Deals with xambug #14644 and similar issues.
2013-09-24 15:30:51 +02:00
Sebastien Pouliot 6cf0c51ae3 Update cecil sources to latest 2013-09-24 08:56:51 -04:00
Sebastien Pouliot 97a9e58789 [linker] Resolve every type references if we're to save an assembly that is not linked (so the scope won't point to assemblies that were removed) 2013-09-24 08:56:51 -04:00
Marek Safar 5eb58e2e4e Check modifying members of readonly value-type field. Fixes #14802 2013-09-24 10:22:07 +02:00
Zoltan Varga a3f67badc0 Fix the windows build. 2013-09-24 06:11:50 +02:00
Rodrigo Kumpera 3734c725a4 Fix the windows build. 2013-09-23 19:14:05 -04:00
Rodrigo Kumpera 98d23141f9 Add test case for xref behavior for the sgen bridge. 2013-09-23 19:13:20 -04:00
Rodrigo Kumpera 86df16b7bc Make sure we properly account for transitive liveness when processing bridge objects. Fixes #13858
We depend on the latent liveness state of objects at the time we collect bridged objects. To
preserve this we must perform the dfs1 step right after collecting them and before we drain the
gray stack or all objects pointed by candidate bridge objects will be marked as alive.
2013-09-23 19:13:20 -04:00
Miguel de Icaza 89f10a3ba5 Wrap the code in MONO_BEGIN/END_DECLS 2013-09-23 13:03:12 -04:00
Miguel de Icaza 85841d0bbd Update message 2013-09-23 13:03:12 -04:00
Marek Safar b52c963187 Pass cancellation token to CopyAsync read block 2013-09-22 19:23:17 +02:00
Marek Safar 17a018fef8 Implements content loading cancellation. Fixes #13200 2013-09-22 19:15:08 +02:00
Marek Safar 61ab67065d Test update 2013-09-22 17:43:41 +02:00
Marek Safar b8e3beb7d3 Bump ikvm-reflection 2013-09-22 17:42:47 +02:00
Zoltan Varga 3a84cf0612 [runtime] Ignore --llvm when LLVM is not enabled in configure. 2013-09-21 14:56:58 +02:00
Vincent Povirk be23ac1a4e Add test for native thiscall methods.
Licensed under MIT/X11.
2013-09-21 05:13:10 +02:00
Vincent Povirk 437f115dcd Add support for thiscall pinvokes on x86.
Licensed under MIT/X11.
2013-09-21 05:12:26 +02:00
Zoltan Varga e0fb186df2 [aot] Pass correct architecture to llc on x86-64. 2013-09-21 05:03:48 +02:00
Zoltan Varga 767a1311ee Make the test-aot test less verbose. 2013-09-21 02:45:09 +02:00
Zoltan Varga 6244e939b8 Merge pull request #765 from knocte/runtime_fixage
[sgen] Improve fix for BXC#14834 to avoid redundant code
2013-09-20 15:51:35 -07:00
Andrés G. Aragoneses f55996d3b4 [sgen] Improve fix for BXC#14834 to avoid redundant code
Improve https://github.com/mono/mono/commit/d2cc22580898df5d4a15e0f99ab513e1570a6082
by making OBJ_BITMAP_FOREACH be less redundant thanks to new macro
GNUC_BUILTIN_CTZ
2013-09-20 22:15:42 +02:00
Marek Safar ee5939881d Fixed TaskFactory::ContinueWhenAny with func result. Fixes #14839 2013-09-20 19:41:15 +02:00
Zoltan Varga d2cc225808 [sgen] Use __builtin_ctzl () in OBJ_BITMAP_FOREACH_PTR () on 64 bit platforms. Fixes #14834. 2013-09-20 19:06:44 +02:00
Mark Probst 0a695738d8 Fix the build. 2013-09-20 09:34:44 -07:00
Marek Safar 8e78bec72e AggregateException::GetBaseException uses only 1-based inner exceptions. Fixes #14824 2013-09-20 18:01:08 +02:00
Marek Safar 8914882238 Merge pull request #760 from mayerwin/patch-2
Fix: bug https://bugzilla.xamarin.com/show_bug.cgi?id=14811 (to be reviewed)
2013-09-20 08:39:51 -07:00
Martin Baulig 90f23bfccf [xbuild]: Actually add the $(TargetFrameworkMonikerAssemblyAttributesPath) to @(Compile). 2013-09-20 16:56:17 +02:00
APS e4620ee888 [FIX] Bug 267: wsdl fails with "Argument is out of range."
This fix bug 267
https://bugzilla.xamarin.com/show_bug.cgi?id=267

Signed-off-by: Etienne CHAMPETIER <[email protected]>
2013-09-20 14:24:59 +02:00
Marek Habersack bdc4eb0085 Merge pull request #758 from echampet/capabilities
Fix crashes with browser capabilities
2013-09-20 05:21:52 -07:00
Etienne CHAMPETIER ce65812cb2 [System.Web] Re-enable AppBrowsersTest.cs tests for net_2_0
For now mcs/class/System.Web/Test/mainsoft/NunitWebResources/adapters.browser
depends on System.Web_test_net_2_0.dll

Signed-off-by: Etienne CHAMPETIER <[email protected]>
2013-09-20 14:19:41 +02:00
Etienne CHAMPETIER ae17ceeecc [Install] Add Compat.browser files for net_4_0 and net_4_5
Without that referencing browser 'Default' (parentID="Default")
in a .browser file make the app throw exceptions here
mcs/class/System.Web/System.Web.Configuration_2.0/nBrowser/Build.cs#L206

Signed-off-by: Etienne CHAMPETIER <[email protected]>
2013-09-20 14:19:40 +02:00
Frederic Mestayer 03e31732d3 [System.Web] Do not crash on duplicate keys in browser capabilities
Correct https://bugzilla.xamarin.com/show_bug.cgi?id=14720 and
probably https://bugzilla.xamarin.com/show_bug.cgi?id=13014

Signed-off-by: Etienne CHAMPETIER <[email protected]>
Signed-off-by: Frederic Mestayer <[email protected]>
2013-09-20 14:19:40 +02:00
Rolf Bjarne Kvinge db195e8e90 [System.Net] Fix CFNetworkCopyProxiesForAutoConfigurationScript signature. Fixes #7923. 2013-09-20 10:33:49 +02:00
Rolf Bjarne Kvinge e638c4d7ca [System.Net.Http] Add a way to add extra build arguments.
This is used by monotouch to add a reference to monotouch.dll.

Also add a profile-specific sources file for monotouch so the
extensions module can add even more files.
2013-09-20 01:05:57 +02:00
Rodrigo Kumpera db047c0473 Merge pull request #763 from madewokherd/mingwbuild
Fix the mingw-w64 build
2013-09-19 15:05:15 -07:00
Vincent Povirk c5635f8fa6 Fix undeclared variables in exceptions-amd64.c on win64.
This commit is licensed under MIT/X11.
2013-09-19 16:17:41 -05:00
Vincent Povirk b97629ec79 Test for InterlockedCompareExchange64 in the configure script.
mingw.org doesn't have this function but mingw-w64 does.

This commit is licensed under MIT/X11.
2013-09-19 16:17:18 -05:00
Zoltan Varga 267253b355 Disable the LLVM version check for now, it doesn't work if llvm was not compiled in a git repo. 2013-09-19 22:33:16 +02:00
Zoltan Varga 8ea61a7b5e Check the version of LLVM at configure time to make sure it has a matching version. 2013-09-19 22:05:00 +02:00
Rodrigo Kumpera 84432a62a1 Add test-aot target. 2013-09-19 16:03:23 -04:00
Rodrigo Kumpera 7d3c65c1b5 [runtime]Fix typo in detection of the need of 64bits atomic intrinsics. 2013-09-19 16:03:23 -04:00
Sebastien Pouliot 28882bd094 Change Random implementation to JKISS which is faster and has a longer period. Also match .NET 2.0 behaviour wrt calls to protected Sample. Add unit tests (and removed the commented ones). Ref: http://www0.cs.ucl.ac.uk/staff/d.jones/GoodPracticeRNG.pdf 2013-09-19 15:28:40 -04:00
Zoltan Varga 9ae3d769cb [runtime] Improve error checking for temporary file creation in the AOT compiler. 2013-09-19 21:23:24 +02:00
Rolf Bjarne Kvinge 2f60b53c8b Revert "Add System.Net.Http.dll to the monotouch build."
This reverts commit 9df6eebc34.

Not quite ready for this yet, more changes are needed.
2013-09-19 19:47:29 +02:00
Rolf Bjarne Kvinge 9df6eebc34 Add System.Net.Http.dll to the monotouch build. 2013-09-19 19:23:32 +02:00
Rodrigo Kumpera b445f447a0 [llvm] On OSX we need to search in /Libraries in addition to /lib. 2013-09-19 12:56:18 -04:00
Zoltan Varga 6bbf88d8cc [runtime] Fix a bug in the local register allocator when an fp vreg wasn't clobbered by a call if its href happened to be equal to the hreg of the call instruction. Fixes #12510. 2013-09-19 02:03:29 +02:00
Rodrigo Kumpera 920332a133 Fix the Makefile addition of a new test. 2013-09-18 16:21:49 -04:00
Rodrigo Kumpera 35e90b1af7 [runtime]Do an alignment check before using the atomic op. 2013-09-18 16:20:19 -04:00
Zoltan Varga e3bf9e84ff Fix the DISABLE_JIT build. 2013-09-18 22:09:37 +02:00
Rodrigo Kumpera 8288f81dfd Add a sgen test for threads joining/leaving at random places. 2013-09-17 19:25:27 -04:00
Rodrigo Kumpera 9dc8efe26e [sgen] Kill SgenThreadInfo::thread_is_dying in favor of the thread-info state information. 2013-09-17 19:23:50 -04:00
Rodrigo Kumpera 5942afee6f [runtime]Properly set mono-thread state as when starting/running/shutting down/dead. 2013-09-17 19:23:49 -04:00
Rodrigo Kumpera d6581bdf14 [sgen]Remove doing_handshake field since the race condition it fixes is now handled by mono-threads. 2013-09-17 19:23:49 -04:00
Rodrigo Kumpera a85ae5f10e [io-layer] Fix a warning. 2013-09-17 19:23:48 -04:00
Rodrigo Kumpera ce5327414f [runtime] Small optimizations and cleanup in ves_icall_System_Array_FastCopy. 2013-09-17 19:23:48 -04:00
Rodrigo Kumpera 8403a9ad43 [runtime]Add more fast variants of the mono_array functions as those shown up in profiling. 2013-09-17 19:23:48 -04:00
Rodrigo Kumpera 13a8893171 [sgen] Force inlining of some perf-critical functions. 2013-09-17 19:23:48 -04:00
Rodrigo Kumpera 9cae0d7361 [sgen]We no longer need joined_stw as new threads can't join once the suspend lock has been acquired.
Since no new thread can join until the collection is over, FOREACH_THREAD won't miss any thread.
2013-09-17 19:23:47 -04:00
Rodrigo Kumpera a1d20a2d53 [runtime]Provide a consistent view of registered threads during suspend operations.
We previously failed to provide a consistent view of the registered threads set. This
would should up in the following ways:

-New threads would join in between two FOREACH_THREAD passes. The recently joined threads
lead to broken invariants that one loop carried to the other.

-Existing threads would leave during a FOREACH_THREAD. The now defunct threads lead
to code waiting them to ack back and deadlock in the process.

-It was possible to witness an in-progress cleanup. This would show up by
mono_thread_info_current returning null when it should not.

To amend this we provide a a consistent view of all registered threads once the global
suspend lock is acquired. This is done by acquiring that lock when registering/unregistering.

This allows us to remove some of the work-around in the sgen thread registration
code and avoid taking the GC lock.
2013-09-17 19:23:47 -04:00
Mark Probst d836e9f05b [sgen] Don't stack overflow when there are too many binary protocol buffers.
Binary protocol buffers are linearly linked from newest to oldest, but need to be
written out from oldest to newest.  This was sloppily implemented with a recursive
call, which caused a stack overflow when there were too many buffers.  We now
allocate an array and store pointers to all the buffers in it, then iterate over it in
reverse.
2013-09-17 16:07:16 -07:00
mayerwin 5a25913631 Fix: bug https://bugzilla.xamarin.com/show_bug.cgi?id=14811 (to be reviewed) 2013-09-18 01:14:04 +08:00
Atsushi Eno 6176e0b179 Merge pull request #756 from akoeplinger/fix-xmlreader
Fixing inconsistency in XmlSchemaValidatingReader between Mono and MS.NET
2013-09-17 10:09:28 -07:00
Martin Potter c5918aef82 Improving the retrieval of the user's locale on Apple systems.
The previous behavior used the entire local identifier string that includes optional settings such as variant and calendar format. This returns locales like en_US_POSIX@calendar=buddhist which result in the user's culture being the invariant culture.

This change builds the locale from the language, country code and optional script code so that the locale returned is in the expected format.

This commit is licensed under MIT/X11.
2013-09-17 07:26:27 -07:00
Rodrigo Kumpera ab184afd66 Merge pull request #754 from blackfusion/master
[Scripts] Fix a Shebang in mono-test-install for freeBSD
2013-09-17 06:25:00 -07:00
Zoltan Varga 1a2668ce95 [runtime] Fix a regression introduced by 5503991372. Use __builtin_popcountl () on 64 bit machines. 2013-09-17 13:41:28 +02:00
Zoltan Varga 7c9b28a127 Disable a profiler test which fails on osx. 2013-09-16 23:26:24 +02:00
Zoltan Varga 248b6160be Fix the profiler tests. 2013-09-16 23:09:56 +02:00
Zoltan Varga 9aec810235 Revert "Set tls->context.valid to FALSE if a thread is suspended in native code. Fixes #1540."
This reverts commit 5ddbe31ee5.

Revert this as its incorrect, and causes a regression (#14058).
2013-09-16 20:46:04 +02:00
Larry O'Brien 9454174ee5 [mdoc] Switched from swallowing error to guarded execution
Improves a60ff0fd1e

Tests for file existence and outputs diagnostic rather than treating it as a local recoverable exception.

Leaving the question of general mdoc error-reporting for another day.
2013-09-16 07:19:00 -10:00
Zoltan Varga a88eb036a6 [runtime] Avoid constructing vtables in a few places during AOT. 2013-09-16 15:02:06 +02:00
Zoltan Varga a580cab5d6 [runtime] Avoid calling mono_resolve_patch_target () while AOTing, its not needed. 2013-09-16 01:44:02 +02:00
Zoltan Varga 3627b977d7 [runtime] Add support for constrained gsharedvt calls to normal virtual methods. 2013-09-16 01:23:15 +02:00
Zoltan Varga f160a59231 [runtime] Avoid looking up pinvoke addresses when AOT compiling. 2013-09-16 01:23:14 +02:00
Larry O'Brien a60ff0fd1e Bugzilla 14672 (mdoc namespace-level summary and remarks elements weren't being included)
commit 6ec0ddc7e5c4d5640da7420600898c10578a7974
Author: Larry O'Brien <[email protected]>
Date:   Sun Sep 15 11:03:32 2013 -1000

    Coding style

commit f034514fca8298a8ed2a167f3ab288f32bc7c74f
Author: Larry O'Brien <[email protected]>
Date:   Sun Sep 15 10:28:47 2013 -1000

    Bugzilla 14672

    Added namespace file ("ns-{namespace}.xml") summary and remarks into the nsSummaries, which results in displaying the data prior to the namespace type-list when the user searches at the namespace level.

    Appears to only be necessary for native viewer (Web viewer for some reason "knows" about the summaries).
2013-09-15 11:12:27 -10:00
Zoltan Varga bb2bc9ae42 [runtime] Fix a few more places which accessed jinfo->method directly. 2013-09-15 03:21:44 +02:00
Zoltan Varga 454a4c5de7 Fix a problem introduced by c6989ab9f9. Avoid foreach on _items since that includes empty entries too. 2013-09-15 02:42:28 +02:00
Zoltan Varga 52072b80a5 [sdb] Simplify tests. 2013-09-15 01:51:25 +02:00
Zoltan Varga 25ec53d1f1 Update AOT after changes to SeqPoint in 488888ce61. 2013-09-15 01:39:05 +02:00
Zoltan Varga 488888ce61 [sdb] Add an implicit seq point after every nonvoid call and make step over skip them. Fixes #10782. 2013-09-15 01:36:38 +02:00
Zoltan Varga eb3e8946a8 Fix the ENABLE_JIT_MAP build. Fixes #14752. 2013-09-14 21:10:02 +02:00
Zoltan Varga 9a6510ece6 [runtime] Make mono_install_handler_block_guard () async-safe. Fixes #14073. 2013-09-13 21:37:00 +02:00
Zoltan Varga 2451de6cb3 [runtime] Make the stack walking code async safe when run in an async context. 2013-09-13 21:36:59 +02:00
Zoltan Varga 1597b525b9 [runtime] Make mono_aot_find_jit_info () async-safe by allocating memory from the lock-free domain mempool, avoiding loading metadata, and caching jit info entries in a lock-free array. 2013-09-13 21:36:59 +02:00
Zoltan Varga 2b7f5921f1 [runtime] Add a 'is_async_context' property to MonoThreadInfo, allowing functions to detect whenever they are in async context without having to pass an 'async' parameter around. 2013-09-13 21:36:59 +02:00
Zoltan Varga 3ac10d3382 [runtime] Add a lock-free mempool allocator to MonoDomain. 2013-09-13 21:36:58 +02:00
Marek Safar 5c8befbe27 Move dynamic handling out of Binary::DoResolve to reduce stack size 2013-09-13 18:55:47 +02:00
Marek Safar 22fd61d3b5 Add new test 2013-09-13 18:55:46 +02:00
Zoltan Varga 197b08dbe9 Fix a warning. 2013-09-13 18:46:34 +02:00
Zoltan Varga dace44d806 [runtime] Make the address->aot module lookup in mono_jit_info_table_find () async-safe by storing the mapping in another MonoJitInfoTable. 2013-09-13 18:46:34 +02:00
Zoltan Varga f48233a1e1 Extract the jit info table code into separate functions so we it can be used in more places. 2013-09-13 18:46:34 +02:00
Zoltan Varga 5bc25b90fb [runtime] Avoid direct access to MonoJitInfo.method, use an accessor function instead. 2013-09-13 18:46:33 +02:00
Mark Probst 1bdd4a6662 [sgen] Fix a toggleref array resize bug. 2013-09-13 09:21:32 -07:00
Atsushi Eno f0478f1f51 UTF8Encoding.GetMaxByteCount() was returning too big number.
The thing is, unlike the standards describe in codepoints, .NET String
characters beyond BMP are represented as surrogate pairs and they can be
converted all in 3 bytes.

The implementation didn't take care of encoder fallbacks, or byte order
marks either, so take them into considertion too.
2013-09-14 00:56:48 +09:00
Marek Safar 43bd9a8c6d Don't crash when unreachable code contains unreachable constant switch. Fixes #14587 2013-09-13 16:53:51 +02:00
Zoltan Varga 803cf83566 Fix parallel compression in mkbundle, not enabled yet. 2013-09-13 15:12:30 +02:00
Marek Safar c6989ab9f9 Unify Array/List FindIndex/FindLastIndex handling and argument checking. Fixes #14632 2013-09-13 14:51:08 +02:00
Sebastien Pouliot 1b4d970000 Move undef HAVE_SIOCGIFCONF later so it's not defined again by other includes 2013-09-12 19:48:33 -04:00
Miguel de Icaza be532638f5 Simplify locale fetching, we have very simple needs 2013-09-12 17:21:39 -04:00
Miguel de Icaza 06dc8911a0 Add workaround for DNS garbage return 2013-09-12 16:54:18 -04:00
Rodrigo Kumpera e03314480d [bcl] Fix BlockingCollection.TakeFromAny to handle when no items are available on the first collection. Fixes #6095. 2013-09-12 16:42:53 -04:00
Marek Safar 040b028811 Bump ikvm. Fixes the build 2013-09-12 17:00:16 +02:00
Sebastien Pouliot eeff03c59c Reduce/remove the probability of having test failures wrt UdpClient.Available 2013-09-11 21:00:04 -04:00
Marek Safar cb52f180bd Bump ikvm 2013-09-11 23:17:20 +02:00
Zoltan Varga 5503991372 Use __builtin_popcount () in mono_bitset_count (). 2013-09-11 22:51:59 +02:00
Miguel de Icaza be272cb3e8 Remove comment, refer to the spec instead 2013-09-11 16:26:47 -04:00
Miguel de Icaza 47b5f3a52c Remove text from article 2013-09-11 15:47:10 -04:00
Martin Baulig 8d3b4b7ae5 Bump ikvm again to only pick-up my single commit.
I created a new 'mono-master' branch in ivkm-fork, which is based
at the previous ikvm commit, then cherry-picked my single commit.

Apparently, there are API changes in IVKM which prevent it from
being applied cleanly.
2013-09-11 21:13:10 +02:00
Miguel de Icaza 0c25f98893 Rewrite the header file, based on the internal mono-hash.c contents 2013-09-11 15:06:18 -04:00
Miguel de Icaza 17669cd166 More inline docs 2013-09-11 15:06:18 -04:00
Martin Baulig 018c4af398 Bump ikvm to pick up ce0e014ed68d052989b162f0e74524cac2199647. 2013-09-11 20:52:31 +02:00
Martin Baulig 40a8a891f7 Add comment that this must be kept in sync with ikvm. 2013-09-11 20:52:30 +02:00
Marek Safar fb3ad60837 Revert "Bump ikvm"
This reverts commit 89166a0ea7.
2013-09-11 18:31:19 +02:00
Marek Safar 89166a0ea7 Bump ikvm 2013-09-11 18:26:16 +02:00
Martin Baulig 55065d0d02 [System.Core]: Minor API fix in the Non-DLR version of System.Linq.Expressions. 2013-09-11 15:42:19 +02:00
Martin Baulig 446857eaa3 Use ecma.pub for System.Xml.Serialization. 2013-09-11 15:39:21 +02:00
Martin Baulig 1ae48f124c Use msfinal.pub for System.Net in .NET 4.0/4.5. 2013-09-11 15:37:06 +02:00
Alexander Köplinger 3dfeae598a Fixed inconsistency in XmlSchemaValidatingReader between Mono and MS.NET 2013-09-11 12:38:19 +02:00
Rodrigo Kumpera 1f0eebb35f Fix the OSX and Windows build. 2013-09-10 19:43:09 -04:00
Rodrigo Kumpera b3d80013a0 Improve the build system. 2013-09-10 18:43:22 -04:00
Marek Safar 4529532aa7 Bump ikvm 2013-09-10 15:50:01 +02:00
Marek Safar 7db34940fe Don't set sealed flag for imported static types 2013-09-10 15:44:18 +02:00
Marek Safar 78a8c012d4 Don't emit inflated type parameter constraints which can collide with special constraint types. 2013-09-10 14:56:27 +02:00
Marek Safar 8bd66dbbeb Add System.ServiceModel.Activation assembly. Fixes #14544 2013-09-10 10:14:50 +02:00
Rodrigo Kumpera 6531ed7dd7 [verifier]Check generic constraints for duplicates. Fixes #1782. 2013-09-09 14:49:27 -04:00
Marek Safar c71c7fd196 Merge pull request #755 from ondrejmyska/master
Suggestion fix for bug https://bugzilla.xamarin.com/show_bug.cgi?id=6327
2013-09-09 10:15:23 -07:00
Rodrigo Kumpera 0ef4bd5dc9 [runtime] Fix a loader leak in the aot compiler. 2013-09-09 12:08:41 -04:00
Rodrigo Kumpera a578665b8a [runtime] Make suspend work during thread cleanup. Fixes #14555
SDB does suspend/resume during thread cleanup. It used to work until I introduced
critical regions. This won't work anymore as we need to lookup the thread info object
and during cleanup it will be gone.

The fix is to introduce mono_thread_info_current_slow which is a variant of
mono_thread_info_current that does search the thread list if the TLS key
is gone.
2013-09-09 11:25:49 -04:00
Ondrej Myska 50b53c5e1c Suggestion fix for bug https://bugzilla.xamarin.com/show_bug.cgi?id=6327 2013-09-09 17:19:34 +02:00
Zoltan Varga a918a64771 [runtime] Fix a nullref when casting a null object to a complex type when using --debug=casts. Fixes #14552/#14493. 2013-09-09 17:15:39 +02:00
Marek Safar 253b7cfc3f Set empty string to TraceListeners for empty assert message. Fixes #14505 2013-09-09 09:42:53 +02:00
Marek Safar 84d93ab24f Cleanup TraceImpl 2013-09-09 09:36:03 +02:00
Marek Safar f33ed3fd4f Fixes parallel enumerable index counter. Fixes #14515 2013-09-09 09:12:41 +02:00
Raphael Boissel eaa39bd1c7 [Scripts] Fix a Shebang in mono-test-install for freeBSD 2013-09-08 22:40:30 +02:00
Zoltan Varga 0318cfae1a [runtime] Force the usage of --host=i686-pc-mingw32 when running configure on windows. 2013-09-08 11:08:22 +02:00
Marek Safar 3dec818807 Don't print empty detailed assert message 2013-09-08 10:59:28 +02:00
Zoltan Varga 94856d264c [runtime] Fix the mingw build by defining InterlockedCompareExchange64 () which is missing from mingw's winbase.h. 2013-09-08 10:52:42 +02:00
Zoltan Varga 31db4c7cb4 [sdb] Add support for invoking interface methods. Fixes #14503. 2013-09-07 06:31:07 +02:00
Martin Baulig f59fa062fb [System]: WebRequest.GetSystemProxy(): Return custom proxy for monodroid.
On ICS and newer, we can use Java.Net.ProxySelector, which supports
per-access point proxy settings.  Fixes #12640.
2013-09-07 00:06:00 +02:00
Rodrigo Kumpera 715be9e991 Add another extension point to the runtime. 2013-09-06 17:22:25 -04:00
Mark Probst 0b296662ae [runtime] Thread teardown race condition. Fixes #13813. 2013-09-06 10:46:31 -07:00
Marek Safar 0372e3cd93 Implements parsing of multi value User-Agent string. Fixes #8719 2013-09-06 13:41:20 +02:00
Zoltan Varga 81d7fec759 Fix the test added by e682eceec3. 2013-09-06 06:43:12 +02:00
Zoltan Varga 7ca581cd34 [runtime] Add more logging to a test which fails on wrench. 2013-09-06 03:29:41 +02:00
Zoltan Varga a5839c9c20 [runtime] Make a marshalling test more robust. 2013-09-06 02:22:58 +02:00
Zoltan Varga e682eceec3 Avoid the managed->copy for ref vtypes with an [In] attribute in native-to-managed wrappers. Fixes #14069. 2013-09-05 18:13:43 +02:00
Zoltan Varga 6f5f478329 Avoid printing an error message in UnixRegistryApi which can happen during normal usage when a root process has created a registry under the mono installation prefix. Fixes #14366. 2013-09-05 17:43:48 +02:00
Rodrigo Kumpera 7ac5749d3e [runtime]Fix the OSX build due to crappy compilers. 2013-09-05 11:17:38 -04:00
ProUkorNew 98246b0552 Remove repeated include 2013-09-05 17:07:19 +02:00
Zoltan Varga 38ee810a9e Clear out the ref fields from MonoDomain before calling mono_gc_clear_domain (), since they will be invalidated by that call, and a GC could try to mark the invalid objects. Fixes #14339. 2013-09-05 16:21:36 +02:00
Marek Safar 894114cdf6 Merge pull request #751 from akoeplinger/AssemblyNameReferenceMatchesDefinition
Implemented AssemblyName.ReferenceMatchesDefinition ()
2013-09-05 06:13:31 -07:00
Marek Habersack 41f7b18368 Merge pull request #752 from echampet/bug-10001-2
[FIX][v2] Do not use chunked encoding with CGI/FastCGI
2013-09-05 04:51:28 -07:00
Alexander Köplinger 4f37c78e6a Implemented AssemblyName.ReferenceMatchesDefinition () 2013-09-05 03:58:40 -07:00
Zoltan Varga 9778d252c9 Revert "Fix the windows build."
This reverts commit 71e0c38272.

Revert this as its no longer needed.
2013-09-05 07:50:58 +02:00
Miguel de Icaza e4f8a6c339 Improve inline docs 2013-09-05 00:14:32 -04:00
Zoltan Varga 71e0c38272 Fix the windows build. 2013-09-05 03:44:06 +02:00
Rodrigo Kumpera 99a8261acc Fix the windows build. 2013-09-04 20:21:40 -04:00
Miguel de Icaza 3d613f0c68 Add inline api docs 2013-09-04 17:30:21 -04:00
Rodrigo Kumpera a3b80aeccb [bcl]Replace more long fields with int to make them CAS friendly on 32 bits systems. 2013-09-04 14:59:13 -04:00
Rodrigo Kumpera 0acb81dc64 [bcl] Replace more long fields with int to make them CAS friendly on 32 bits systems. 2013-09-04 14:47:27 -04:00
Rodrigo Kumpera fa2419c9cf Perform alignment checks for CAS on 32bits systems. Fixes #14426. 2013-09-04 13:38:52 -04:00
Zoltan Varga b71ab29b8c [runtime] Remove a needless ifdef. 2013-09-04 18:53:08 +02:00
Stefan da51407be5 [FIX][v2] Do not use chunked encoding with CGI/FastCGI
it's forbiden by http://tools.ietf.org/html/rfc3875#section-6.3.4

This correct bug 10001, https://bugzilla.xamarin.com/show_bug.cgi?id=10001

Signed-off-by: Etienne CHAMPETIER <[email protected]>
2013-09-04 18:29:54 +02:00
Zoltan Varga 119df901c2 Disable a corlib test which fails on some test runners. 2013-09-04 17:32:01 +02:00
Zoltan Varga 7a7a1ff947 Optimize MonoCustomAttrs.GetCustomAttributes(): add fastpaths for common cases, add a cache for looking up AttributeUsageAttributes, clean up intendation. 2013-09-04 17:31:19 +02:00
Zoltan Varga 431248dd0a Revert "[runtime] Handle MONO_PATCH_INFO_OBJC_SELECTOR_REF in mono_patch_info_hash ()."
This reverts commit 924e2b28ce.

Revert this, its not needed.
2013-09-04 17:20:47 +02:00
Zoltan Varga 924e2b28ce [runtime] Handle MONO_PATCH_INFO_OBJC_SELECTOR_REF in mono_patch_info_hash (). 2013-09-04 17:19:19 +02:00
Marek Safar 71b463fef1 Don't resolve extension method expression when in probing mode it may fail to resolve. Fixes #14384 2013-09-04 17:06:36 +02:00
Marek Safar 8d0de999d8 Less cascading errors 2013-09-04 17:06:36 +02:00
Miguel de Icaza c9db2bb7db mono_patch_info_hash: handle the MONO_PATCH_INFO_OBJC_SELECTOR_REF case 2013-09-04 10:53:48 -04:00
Zoltan Varga ec46c85cc4 Implement an intrinsics for Selector.GetHandle (). 2013-09-04 04:34:36 +02:00
Sebastien Pouliot 11df177e10 [linker] Allow some useful methods to be reused elsewhere 2013-09-03 21:23:39 -04:00
Zoltan Varga e2128ca26e Fix the mt build. 2013-09-04 02:48:10 +02:00
Zoltan Varga 6168d7a278 Rename a test target to hopefully fix the linux wrench build. 2013-09-04 02:36:01 +02:00
Zoltan Varga 7ba82952d6 Use $(MAKE) instead of make in one place. 2013-09-04 02:14:32 +02:00
Rodrigo Kumpera 4f41e84fde [bcl]Switch BlockingCollection to do CAS over ints and not longs.
The reasoning behind doing CAS on longs was to avoid overflowing
which is not a problem because 2-completement math does the trick.

This is much more reliable than using longs on 32 bits.
2013-09-03 17:03:59 -04:00
Rodrigo Kumpera 0923ad6b26 [bcl]Switch BlockingCollection to use SequentialLayot to make sure its longs are 8 bytes aligned everywhere. 2013-09-03 16:29:32 -04:00
Rodrigo Kumpera 7e2c7665a5 Fix Thread.VolatileRead(long&) on 32bits. 2013-09-03 16:29:32 -04:00
Rodrigo Kumpera 5d903d6762 [runtime]Use InterlockedCompareExchange64 instead of local hack. 2013-09-03 16:29:32 -04:00
Rodrigo Kumpera 32615d361b [runtime]Implement InterlockedCompareExchange64 on 64bits target, x86 and arm.
The current state of ARM compilers don't allow us to use compiler intrinsics as
they ICE on us, so we suck it up and use a naked function.
2013-09-03 16:29:31 -04:00
Marek Habersack 0101c86471 Revert "Merge pull request #744 from echampet/bug-10001"
This reverts commit 5178f29c4b, reversing
changes made to fb653dc0ea.
2013-09-03 21:16:26 +02:00
Marek Habersack a970e70152 Revert "Fix typo in commit b6d634dd."
This reverts commit d5dbf35c80.
2013-09-03 21:16:05 +02:00
Duncan Mak 3a91222d39 Change the version number to 3.2.3 2013-09-03 13:04:39 -04:00
Zoltan Varga 67b5d1d51f Add 'AM_PROG_CC_C_O' to configure to hopefully fix the build on older systems. 2013-09-03 18:31:46 +02:00
Marek Safar 1ea250fbd6 Merge pull request #749 from head-thrash/master
Fixes build when running `make -k check`
2013-09-03 08:21:09 -07:00
head-thrash 5f014934ae Fixes build when running make -k check:
* Fixes Broken Test in BuildEngine for 4.0 and 3.5
* Fixes build for Mono.Debugger.Soft not in 4_5 profile
* Fixes build for NET_4_0 profile (CustomAttributes and HasDefaultValue)
2013-09-03 18:52:29 +04:00
Martin Baulig c5e7004e98 Fix mobile build of my commit 1ae87e9. 2013-09-03 15:15:43 +02:00
Zoltan Varga 6cd4ddc089 Only print the 'Assuming PLATFORM messages when running make with V=1. 2013-09-03 10:36:21 +02:00
Zoltan Varga 43679b54e6 Fix warnings. 2013-09-03 10:36:21 +02:00
Alex Rønne Petersen 67db6fd702 Merge pull request #748 from spicypixel/hotfix/mini-codegen-disable-jit
Fix build break compiling with DISABLE_JIT
2013-09-02 23:40:59 -07:00
Aaron Oneal c25510b2b9 Fix build break compiling with DISABLE_JIT
When building with DISABLE_JIT, mono_inst_name which is normally defined in helpers.c is not. But, mini-codegen.c tries to use it anyway. This fix updates mini-codegen.c to not rely on this logging feature.
2013-09-02 22:45:35 -07:00
Martin Baulig d5dbf35c80 Fix typo in commit b6d634dd. 2013-09-02 21:56:52 +02:00
Marek Safar 4f64de335d Merge pull request #747 from spicypixel/hotfix/object-disable-com
Fix build break when COM is disabled
2013-09-02 12:53:43 -07:00
Martin Baulig 1ae87e9ee9 [WCF]: Add stubs for some missing .NET 4.0/4.5 APIs. 2013-09-02 21:52:13 +02:00
Martin Baulig 4db812ca7e Add missing .NET 4.5 APIs
* System.Text.RegularExpressions.Regex.InfiniteMatchTimeout
* System.Net.HttpStatusCode.UpgradeRequired
* Add System.Reflection.TypeAttributes.WindowsRuntime
* System.Runtime.GCLatencyMode.SustainedLowLatency
* System.UriComponents.NormalizedHost
2013-09-02 21:52:13 +02:00
Aaron Oneal edf74c2289 Fix build break when COM is disabled
This removes a typo that was introduced which caused COM dependencies to be referenced.
2013-09-02 10:53:06 -07:00
Marek Habersack 5178f29c4b Merge pull request #744 from echampet/bug-10001
Do not use chunked encoding with CGI/FastCGI
2013-09-02 08:39:57 -07:00
Stefan b6d634dd24 [FIX] Do not use chunked encoding with CGI/FastCGI
it's forbiden by http://tools.ietf.org/html/rfc3875#section-6.3.4

This correct bug 10001, https://bugzilla.xamarin.com/show_bug.cgi?id=10001

Signed-off-by: Etienne CHAMPETIER <[email protected]>
2013-09-02 17:30:14 +02:00
Marek Safar fb653dc0ea Better check for hoisted this location when emitting nested lambda expressions inside async containers. Fixes #14351 2013-09-01 14:49:01 +02:00
Zoltan Varga 36dc978682 Precompile the test assemblies in tests/ in parallel to speed up wrench test runs. 2013-08-30 22:00:59 +02:00
Zoltan Varga 9d714e77f4 Fix make check in tests/. 2013-08-30 22:00:59 +02:00
Zoltan Varga 2e5994b2ae Use AC_PROG_MKDIR_P instead of AM_PROG_MKDIR_P in m4/ since the latter is obsoleted by automake. 2013-08-30 22:00:59 +02:00
Zoltan Varga 63eeec0c81 Pass 'subdir-objects' to AM_INIT_AUTOMAKE() to quiet an automake warning. 2013-08-30 22:00:58 +02:00
Marek Safar 0e31ea67b7 More thorough check for managed type parameters. Fixes #14347 2013-08-30 17:48:59 +02:00
Marek Safar 17e5901d34 Probing of generic parameter for value type generic parameter needs to check both operands. Fixes #14289 2013-08-30 11:40:28 +02:00
Zoltan Varga 3dafb861ab Remove moon support from the build system. 2013-08-30 05:36:07 +02:00
Zoltan Varga ce263fe530 Disable the running of sgen tests on windows on wrench, they fail consistently. 2013-08-30 05:28:22 +02:00
Zoltan Varga cbe03c20e3 Check the cfg exception at the start of mono_method_to_ir (), to catch failures caused by mono_compile_create_var_for_vreg (). 2013-08-30 04:08:59 +02:00
Zoltan Varga c981bb9922 Fix warnings. 2013-08-30 04:08:04 +02:00
Zoltan Varga 82128fa503 Fix an LLVM assertion on structs with unaligned size. Fixes #14217. 2013-08-30 00:49:56 +02:00
Rodrigo Kumpera 9849c0a8fc Merge pull request #746 from madewokherd/sgenbuild
Fix non-sgen builds.
2013-08-29 14:46:17 -07:00
Vincent Povirk 226ebc4bef Fix non-sgen builds.
This commit licenced as MIT/X11.
2013-08-29 16:27:31 -05:00
Lluis Sanchez 9b5bc71e76 Fixed bug #14295 - Project.Load incorrectly resets the FullFileName property 2013-08-29 10:59:13 +02:00
Rodrigo Kumpera 18baa67f72 Fix some warning. 2013-08-28 16:14:53 -04:00
Rodrigo Kumpera a9b4ca9b36 [runtime]Don't assume MonoType extends directly from System.Type 2013-08-28 16:12:31 -04:00
Marek Safar fc522a49ed Fixes parameter name 2013-08-28 17:55:53 +02:00
Marek Safar 2f639b3c78 Use IReflectType interface instead of TypeDelegator for introspection type extensions. Fixes #14168 2013-08-28 17:55:53 +02:00
Marek Safar af31330de4 Make setProperties private 2013-08-28 10:18:26 +02:00
Marek Safar abe95222de Merge pull request #743 from gvillanueva/master
Rewrote Font.GetHashCode() to improve uniqueness
2013-08-28 01:15:59 -07:00
gvillanueva 234c346b81 Rewrote Font.GetHashCode() to improve uniqueness.
Added test cases to prevent reintroduction of collision scenarios observed in Font.GetHashCode().
2013-08-27 22:22:09 -07:00
Rodrigo Kumpera be400d4fc8 Naming cleanup. 2013-08-27 14:29:41 -04:00
Miguel de Icaza b08d9c20a1 Console.iOS: Reset sb.Length in all cases, even for poor man's print 2013-08-27 12:01:50 -04:00
Marek Safar 982f710571 Invalid syntax during attribute target parsing can crash parser. Fixes #14245 2013-08-27 10:20:56 +02:00
Miguel de Icaza fd12f0b05e Console.iOS: add fallback for the case where monotouch_log is not linked in 2013-08-26 23:22:35 -04:00
Michael Hutchinson b2cc26aa81 Merge pull request #742 from remobjects/import-project-userfile
Import ".user" as if it was part of the project, this lets users overrid...
2013-08-26 12:19:28 -07:00
Carlo Kok 60fd58a157 Import ".user" as if it was part of the project, this lets users override the options without checking changes to the main project file. 2013-08-26 17:53:46 +02:00
Marek Habersack 4ec59639b7 Merge pull request #726 from pruiz/xamarin-bug-13708
Fixed xamarin bug #13708: ASP.NET routing constraints should be treated as 'convertible to string' in order to be compat with MS.NET
2013-08-26 05:20:46 -07:00
Marek Safar 8e5e7ea505 Merge pull request #741 from marcominetti/master
Clean verbose (debug) logs in mcs for MakeExpression function call
2013-08-26 04:08:55 -07:00
marcominetti 94e8ad6ef0 cleaned console logs in MakeExpression function
Cleaned verbose logs leftovers (probably debug ones) that are currently printed on every compiling that involves dynamic objects...
2013-08-26 12:47:16 +02:00
marcominetti cf0b31248a cleaned console logs in MakeExpression function
Cleaned verbose logs leftovers (probably debug ones) that are currently printed on every compiling that involves dynamic objects...
2013-08-26 12:46:34 +02:00
Marek Safar 16013bc247 Merge pull request #740 from pruiz/dataannotations-enhancements
Some enhancements and additions to DataAnnotations, incluiding implementation of a few missing pieces of Sys.ComponentModel.DataAnnotations v4.5, like:
2013-08-26 02:59:07 -07:00
Pablo Ruiz Garcia 71d6896925 Reverted string.Format(CultureInfo.CurrentCulture, ..) change. 2013-08-26 11:42:02 +02:00
Marek Safar 8c2c29d41c Add test for #12745 2013-08-26 11:13:03 +02:00
Pablo Ruiz Garcia 46e571eaf1 Set correct author on test files. 2013-08-25 17:28:59 +02:00
Pablo Ruiz Garcia eb25dfce5c Some enhancements and additions to DataAnnotations, incluiding implemented of a few missing pieces of Sys.ComponentModel.DataAnnotations v4.5, like:
- CompareAttribute
	- CreditCardAttribute
	- EmailAddressAttribute
	- FileExtensionsAttribute
	- PhoneAttribute
	- Implemented  IsValid() methods of Min/MaxLengthAttribute.
	- Fixed all existing Validation attributes so they take into account current's locale when composing ErrorMessage.
2013-08-25 03:42:30 +02:00
Sebastien Pouliot 0d864b08c0 SRE.ParameterBuilder cannot be exposed in FULL_AOT_RUNTIME 2013-08-24 11:33:42 -04:00
Rodrigo Kumpera 3b846d3d4c We have g_getenv for portability reasons, so let's use it. 2013-08-23 18:23:27 -04:00
Zoltan Varga 722ace9131 Fix yet another DISABLE_JIT bug in wrapper generation. Fixes #14194. 2013-08-23 23:17:41 +02:00
Marek Safar 20d08fd8da Annonymous method storey inside async storey has to capture this directly when the storey does not have any parents. Fixes #14126 2013-08-23 13:27:21 +02:00
Rodrigo Kumpera 29c42bf0dc Add tests for the new 4.0 behavior in ParameterInfo. 2013-08-22 16:00:15 -04:00
Rodrigo Kumpera 3673d051fb [corlib]Implement .net 4.0 ParameterInfo. 2013-08-22 16:00:14 -04:00
Marek Safar cfa7bad1d7 Fixes negative symbol definition for few locales to be simple -. Fixes #14185 2013-08-22 19:12:47 +02:00
Zoltan Varga 33bd2503de Disable two delegate tests on mobile. 2013-08-22 18:57:06 +02:00
Marek Safar 95a6979c3b Enable fixed failing test 2013-08-22 17:50:22 +02:00
Neale Ferguson 9bcd33f029 Enable INLINE support for s390x 2013-08-22 08:17:24 -04:00
Sebastien Pouliot b46b038f33 Fix test case not to assume it can write in the current directory 2013-08-21 19:54:09 -04:00
Mark Probst 7770413fac [sgen] Disable cementing for parallel mark&sweep.
Cementing isn't parallel-ready yet.
2013-08-21 16:24:03 -07:00
Sebastien Pouliot f2e7f36368 Use the invarient culture calendar if the requested one is not available. Partial fix for #13977 2013-08-21 14:15:39 -04:00
Atsushi Eno 41290d39db Fix bug #14143 - xsl:import in included stylesheet caused compilation error.
Simply ignoring xsl:import causes regression in
XslTransformTests.ImportIncorrectlyLocated so no-go. The actual error for
that case is now reported better (not just "unrecognized element").
2013-08-22 02:15:24 +09:00
Rodrigo Kumpera a700784767 [runtime] Don't allow execution of dynamic assemblies without run access. Fixes #7126 2013-08-21 12:08:11 -04:00
Rodrigo Kumpera de2efdbd0f [corlib]Fix 2.0 test suite breakage. 2013-08-21 10:52:08 -04:00
Rodrigo Kumpera d71ca46641 [verifier]Remove duplicate check. 2013-08-21 10:22:31 -04:00
Atsushi Eno 2d6335f6a7 revert default serialization: ignore non-public members. Also need to exclude backing field in non-default serialization. 2013-08-21 15:44:27 +09:00
Rodrigo Kumpera bfff327c10 [runtime]Add some error checking to custom attr parsing and plug a memory leak. Fixes #13435. 2013-08-20 19:10:45 -04:00
Zoltan Varga 8cb8add995 Make the dmcs/gmcs scripts identical to the mcs script with an extra -sdk: argument, to avoid PATH problems, and to allow the windows installer to generate .bat files for them. Hopefully fixes #8813. 2013-08-21 00:57:28 +02:00
Rodrigo Kumpera e0c4e5bf88 [runtime] Handle custom attributes with nested array of enums. Fixes #13767
When decoding a custom attribute value, an array value in an object
position can have type of an enum.
2013-08-20 18:34:08 -04:00
Zoltan Varga 0152cee92d Use i686-pc-mingw32-gcc as the mkbundle compiler on windows. 2013-08-21 00:24:26 +02:00
Zoltan Varga 7685ca6271 Merge pull request #737 from Mixaill/master
Remove deprecated -mno-cygwin flag.
2013-08-20 15:20:14 -07:00
Rodrigo Kumpera ac146cb037 [verify]Relax the restriction on global methods visibility. Fixes #13890. 2013-08-20 15:49:24 -04:00
Rodrigo Kumpera c187e5ea14 [verifier]Since 4.5 arrays now implement IReadOnlyList<T> and IReadOnlyCollection<T>. Verify this properly. Fixes #13879. 2013-08-20 14:47:55 -04:00
Zoltan Varga ba8d128834 Add support for more return types for constrained gsharedvt calls. Fixes #13030. 2013-08-20 19:50:29 +02:00
Zoltan Varga c686f20fbe Enable support for constrained gsharedvt calls to Object.GetType (). 2013-08-20 19:09:31 +02:00
Zoltan Varga 74fc821cf6 Fix a regression introduced by d84a165c8e. Unbox casts were failing for enums. Fixes #14026. 2013-08-20 16:08:32 +02:00
Paolo Molaro e50f95626b Merge pull request #739 from mono/upstream-master
Ported perf code to work on arm and adjusted to changes in the kernel th...
2013-08-20 06:10:07 -07:00
Paolo Molaro 25961ac5cf Ported perf code to work on arm and adjusted to changes in the kernel that broke mmap().
The kernel doesn't allow anymore to setup a perf fd with any cpu and the inherit flag
(to take into account threads created later on), so now we setup a fd/mmap area for each
cpu in the system.
2013-08-20 14:50:47 +02:00
Zoltan Varga f36257e03b [aot] Add support for constrained gsharedvt calls which return a reference value. Fixes #13030. 2013-08-20 01:30:10 +02:00
Marek Safar cabe0f95ed Merge pull request #738 from strawd/bug14077
Fix for #14077. HashSet no longer grows in capacity on deserialize
2013-08-19 13:05:16 -07:00
David Straw a257338394 Fix for #14077. HashSet no longer grows in capacity on deserialize
Not all necessary members were being initialized during deserialization
2013-08-19 13:48:17 -06:00
Rodrigo Kumpera 2bec46815c [runtime]Fix mono-config.h to use the mono API public types and not the glib ones. 2013-08-19 15:40:05 -04:00
Alex Rønne Petersen 4a61680549 Add an #else -> #error path to mono-membar.h. 2013-08-19 21:30:40 +02:00
Jeffrey Stedfast 7694b5dbae Only disable __thread with clang on Mac OS X 2013-08-19 11:30:31 -04:00
Marek Safar 1269b409b3 Add argument modifiers to generated base proxy when needed. Fixes #13892 2013-08-19 13:22:13 +02:00
Marek Safar cbca01b433 Add dispose checks to ReaderWriterLockSlim and fix race in currentThreadState initialization 2013-08-19 10:22:23 +02:00
Marek Safar 1fe24728bd Optimize common path 2013-08-19 10:22:22 +02:00
Atsushi Eno 88dadaaf10 Revert "Revert "Fix bug #7829 - do NOT reject ConstructorInfo in DynamicILInfo.GetTokenFor().""
This reverts commit 0ef5f49c1f.
2013-08-19 12:13:38 +09:00
Michael Pavlyshko 52a67a6219 Remove deprecated -mno-cygwin flag. 2013-08-18 21:12:14 +03:00
Atsushi Eno 0ef5f49c1f Revert "Fix bug #7829 - do NOT reject ConstructorInfo in DynamicILInfo.GetTokenFor()."
This reverts commit b43211d101.
2013-08-18 15:34:37 +09:00
Atsushi Eno b43211d101 Fix bug #7829 - do NOT reject ConstructorInfo in DynamicILInfo.GetTokenFor().
It is only one of probably many reasons that prevents Jurassic JavaScript engine.
2013-08-18 15:31:40 +09:00
Marek Safar 6508d62869 Grow underlying buffer only when necessary. Fixes #13552 2013-08-17 16:31:45 +02:00
Marek Safar 70b14ec733 Report error for name collision between property and generic method with same name. Fixes #14053 2013-08-17 11:14:33 +02:00
Marek Safar e9f871dfe4 Merge pull request #736 from wtfrank/charting
add missing ZTestResult properties
2013-08-17 01:39:41 -07:00
Francis Fisher ada7e135c9 add missing ZTestResult properties 2013-08-17 08:36:49 +01:00
Marek Safar f81e067e01 Fixes GZipStream dispose order. Fixes #14032 2013-08-16 23:16:23 +02:00
Zoltan Varga cad5315ebf Convert nan/infinity to uint 0 to match MS.NET. Fixes #13927. 2013-08-16 19:48:55 +02:00
Rodrigo Kumpera e86837b7d2 Merge pull request #725 from knocte/threadpool_init
[ThreadPool] Allow heavier initialization when using --server flag
2013-08-16 06:21:31 -07:00
Marek Safar a208b628e9 Implements lifted nullable comparison with null 2013-08-16 15:18:49 +02:00
Marek Safar 1044b36c14 Rewrites RuntimeReflectionExtensions to actually do something. Fixes #13626 2013-08-16 11:14:50 +02:00
Marek Safar f9391f934a Disable test failing due to runtime bug 2013-08-16 10:13:29 +02:00
Zoltan Varga a8cbb84a2c Simplify the caching of delegate-invoke wrappers with a bound first argument, caching can be done using just the signature. 2013-08-16 03:10:52 +02:00
Zoltan Varga 8d291a2e77 Merge pull request #734 from joncham/domain-debug-leaks
Fix domain related leaks of debug information
2013-08-15 17:53:33 -07:00
Marek Safar 0c8d56025e Remove some unused parameters 2013-08-15 18:06:36 +02:00
Marek Safar b05f24e810 Type parameter inflated interfaces needs to be marked too. Fixes #13996 2013-08-15 16:59:10 +02:00
Atsushi Eno 349c84032e Fix regression from 2cc36e3, missing BaseURI caused external schema resolution failure. 2013-08-15 22:09:49 +09:00
Marek Safar 17a8120548 Correct parsing of invalid 00000000-0000-0000-0000-000000000000 guid format. Fixes #13970 2013-08-15 12:18:36 +02:00
Marek Safar 4060edb4fa Small optimization of GuidParser 2013-08-15 11:41:05 +02:00
Marek Safar 0e9c53b052 Workaround for legacy nunit 2013-08-15 11:17:02 +02:00
Marek Safar 9d94a06e6a Inflate explicit delegate parameters using type inference context too. Fixes second part of #13969 2013-08-15 11:03:15 +02:00
Atsushi Eno 37e7f2fb50 Fix build (giconv.c) 2013-08-15 13:18:16 +09:00
Jeffrey Stedfast a81cd6dae8 [eglib] Fixed g_utf8_to_utf16_general() to handle invalid utf8 2013-08-14 19:41:38 -04:00
Rodrigo Kumpera 384f1d8af5 Add tests for the recently fixed issues with block guards. 2013-08-14 19:23:34 -04:00
Rodrigo Kumpera a385a2bac2 [runtime]Generate the proper exit code for block guard trampolines.
Finally blocks use a non-standard calling convention which means we need to take it
into account in the return address hijacking trampoline.

A finally block is called with ESP % 16 == 4. Once inside the finally block, ESP returns
to be % 16 == 0 due to the call instruction pushing the return address.

The problem comes when we want to hijack the return address. Our trampolines expect a
normal calling convention with ESP properly aligned, so we use a small thunk of code that
does that before jumping into the trampoline itself. This is required as we'll enter native.

The problem lies on the exit path as the trampoline jump to an arbitrary place instead back
to the above thunk. This leaves the stack with the thunk adjustment in, which will cause
the resulting code to misalign the stack even further.

The solution, though a big ugly, is to change the exit path of the trampoline fix the stack
to be "properly" misaligned.
2013-08-14 19:05:33 -04:00
Rodrigo Kumpera 58e8550d5c [runtime]Properly compute the end address of a finally block when it ends in a dead basic-block.
We compute the end address of a finally block by using cil_offset_to_bb, which can point to dead
basic blocks if those were killed by CFG simplification.
2013-08-14 19:05:26 -04:00
Rodrigo Kumpera 93b0f40d43 [runtime] Make sure mono_create_handler_block_trampoline is async signal safe.
We call mono_create_handler_block_trampoline when installing the block guard,
so this function must be async safe at that stage in the runtime.

Since it is eagerly called during startup, we should be fine with just
memory barriers.
2013-08-14 19:05:19 -04:00
Zoltan Varga 516c4d85f5 Add a WrapperInfo for delegate-invoke wrappers to make it possible to distinguish between normal wrappers and ones with a bound first argument. 2013-08-14 22:59:32 +02:00
Marek Safar c7a91f9309 Add test for #13969 2013-08-14 21:54:49 +02:00
Marek Safar 2b39b6a926 Fix recursive check for non dependent return types during type inference. Fixes #13969 2013-08-14 21:53:30 +02:00
Mark Probst 00f152cfc4 Fixed a few bugs that were found by Visual Studio's static code analysis. 2013-08-14 11:22:59 -07:00
Mark Probst 6a14275371 [sgen] Fix another posix handshake issue. 2013-08-14 11:04:28 -07:00
Jonathan Chambers effa6dcf44 Free domain specific sequence point information.
Conflicts:
	mono/mini/mini.c
2013-08-14 13:10:23 -04:00
Jonathan Chambers 5047a9c314 Free returned offsets and line numbers from mono_debug_symfile_get_line_numbers. 2013-08-14 13:07:38 -04:00
Marek Safar 4f021d81ca Merge pull request #733 from amoiseev-softheme/bugfix/monofix
Applying fixes to Https from Windows team to mono
2013-08-14 06:46:41 -07:00
Marek Safar 64dcc45998 Don't crash when reporting invalid case label value. Fixes #13952 2013-08-14 15:32:21 +02:00
Alexey Moiseev 26099534a0 Applying fixes to Https from Windows team to mono 2013-08-14 16:28:19 +03:00
Marek Safar 2940861c80 Merge pull request #732 from wtfrank/charting
placement of MonoTODO
2013-08-14 00:48:17 -07:00
Francis Fisher 6930f1a8ee placement of MonoTODO 2013-08-14 00:14:23 +01:00
Zoltan Varga a31b580fdc [sgen] Add a workaround for #13951. Register the jit info for GC critical methods as soon as they are loaded, and avoid lookups in the AOT images when calling mono_jit_info_table_find () during STW. 2013-08-14 00:15:16 +02:00
Zoltan Varga fd80c70838 Fix a warning. 2013-08-14 00:15:16 +02:00
Marek Safar 18068d5b4f Merge pull request #729 from wtfrank/charting-submit
Continued implementation of Charting namespace
2013-08-13 12:42:18 -07:00
Jeffrey Stedfast 2f19eee32f Fixed configure.in to fail the __thread check with clang 2013-08-13 15:34:12 -04:00
Miguel de Icaza cca57fa576 Add System.DirectoryServices.Protocols to the rpm build to fix the bots 2013-08-13 15:00:18 -04:00
Jeffrey Stedfast 9fd216db06 Fixed some compiler warnings in libgc 2013-08-13 13:12:59 -04:00
Jeffrey Stedfast b609cbb543 Replaced call to sscanf() with calls to strtoull(). Better. Faster. Stronger. 2013-08-13 12:46:50 -04:00
Jonathan Pryor bd130f3a2c [mscorlib] Support OID names in RSACryptoServiceProvider.SignData()
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=13953

MSDN documents that RSACryptoServiceProvider.SignData()'s provider
paramter may contain an OID name:

http://msdn.microsoft.com/en-us/library/y2wf1b6k.aspx
> The halg parameter can accept a String, a HashAlgorithm, or a Type.
> The string value can be one of the following:
> * The object identifier (OID) friendly name of the hash algorithm to use,
>   either a name registered in the crypto config file or one in the
>   Crypto API OID table.
> * The OID value. The OID must be one recognized by the Crypto API.
> For example, you could use SignData(new byte[5], "1.3.14.3.2.26") or
> SignData(new byte[5], "sha1"), or SignData(new byte[5], "SHA1").

Add support for this OID names as the provider.
2013-08-13 12:09:56 -04:00
Jeffrey Stedfast 91bf902e2e Improved fix for g_iconv() compiler warnings 2013-08-13 11:59:52 -04:00
Jeffrey Stedfast 82219acd3c Fixed eglib compiler warnings about g_string_truncate() and g_iconv() 2013-08-13 11:44:58 -04:00
Jeffrey Stedfast 94f12d815e Fixed some compiler warnings 2013-08-13 11:24:21 -04:00
Rolf Bjarne Kvinge 2448e73caa Revert "Fix a test to work on mobile after the async release."
This reverts commit b22667cd23.

It was a build bug in monotouch, not a buggy test.
2013-08-13 13:21:22 +02:00
Zoltan Varga 92d3a7b0b6 Fix 5d37fac7c8 yet again. 2013-08-13 12:29:45 +02:00
Zoltan Varga fad3d7f588 [msvc] Implement MONO_CONTEXT_GET_CURRENT () on the msvc build. 2013-08-13 03:34:06 +02:00
Zoltan Varga c0365e5748 Fix warnings. 2013-08-13 03:34:06 +02:00
Zoltan Varga c98df65bfa [msvc] Avoid linking against libgc in the sgen configurations. 2013-08-13 03:34:05 +02:00
Rolf Bjarne Kvinge af8e11988d Only build mscorlib in the monotouch_runtime profile. 2013-08-13 00:34:58 +02:00
Zoltan Varga 398c7fc21f [sgen] Disable freeing of OS memory on win32, it causes asserts because VirtualFree () fails. 2013-08-12 23:23:57 +02:00
Jonathan Pryor 0e7dc370e3 [System.Core/Android] Android's libc.so doesn't export getpagesize()
Partially fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=12739

Android's libc.so doesn't export getpagesize(3), resulting in an
EntryPointNotFoundException:

	System.EntryPointNotFoundException: getpagesize
	  at (wrapper managed-to-native) System.IO.MemoryMappedFiles.MemoryMapImpl.getpagesize ()
	  at System.IO.MemoryMappedFiles.MemoryMapImpl.Map (int,long,long&,System.IO.MemoryMappedFiles.MemoryMappedFileAccess,intptr&,int&)
	  at System.IO.MemoryMappedFiles.MemoryMappedViewAccessor.Create (long,long,System.IO.MemoryMappedFiles.MemoryMappedFileAccess)
	  at System.IO.MemoryMappedFiles.MemoryMappedViewAccessor..ctor (int,long,long,System.IO.MemoryMappedFiles.MemoryMappedFileAccess)
	  at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateViewAccessor (long,long,System.IO.MemoryMappedFiles.MemoryMappedFileAccess)

Android does provide getpagesize(3); it's just an inline function.

The full fix will require two parts:

 1. Update MemoryMapImpl to P/Invoke
    libmonodroid.so!monodroid_getpagesize()
 2. Add a libmonodroid.so!monodroid_getpagesize() export.

This commit implements (1).
2013-08-12 16:59:14 -04:00
Sebastien Pouliot 2ab52ceae2 [linker] Add AssemblyAction.Save to enable the linker to re-write an assembly without actually linking it. Useful to remove references to PCL assemblies that are not really used (e.g. when only type forwarders are needed) [#13488] 2013-08-12 15:31:33 -04:00
Sebastien Pouliot 27e36aef37 [linker] Small string optimizations to avoid culture aware code paths 2013-08-12 15:31:33 -04:00
Zoltan Varga f447c860f5 [aot] Align the static linking symbol. 2013-08-12 21:10:13 +02:00
Francis Fisher c529dc59df fix properties per mono guidelines 2013-08-12 19:48:20 +01:00
Zoltan Varga 56a02b9285 Merge pull request #708 from spicypixel/hotfix/mono-object-to-string
Add support for value types to mono_object_to_string
2013-08-12 11:17:07 -07:00
Jonathan Lima d0715eeb4b Fixed SGen build for MSVC
From:
https://github.com/mono/mono/pull/724
2013-08-12 19:57:02 +02:00
Jonathan Lima 0585e7cb9a Fixed incorrect pointer arithmetic on SGen for MSVC.
From:
https://github.com/mono/mono/pull/724
2013-08-12 19:53:21 +02:00
Jonathan Lima 9883ab8b8a Fixed MSVC build, ported to Visual Studio 2012.
From:

https://github.com/mono/mono/pull/724
2013-08-12 19:48:05 +02:00
Jonathan Lima d5b8fd8e6d Improved exception handling with vectored exception handling.
Now a native debugger can be used with soft debugger running without triggering any exception. Code provided by Jonathan Chambers:

* https://github.com/Unity-Technologies/mono/commit/e9f9f7170914c5caaff3e95e09f6f58ecced2a10
* https://github.com/Unity-Technologies/mono/commit/4c2e1db60ccb38e792545d595d85b12ff309a919
* https://github.com/Unity-Technologies/mono/commit/bd7e534aa7da49b89787b8c1b40e165a34c0e960
* https://github.com/Unity-Technologies/mono/commit/b885251a83969d243deabc56bb3d1495d4a971dc

From:

https://github.com/mono/mono/pull/724
2013-08-12 19:46:06 +02:00
Jeffrey Stedfast 51b648a118 Fixed build breakage from my previous commit 2013-08-12 12:12:47 -04:00
Jeffrey Stedfast b1d7375726 Fixed System.Text.Decoder.GetChars(byte*,int,char*,int,bool) to copy output into the char* buffer. 2013-08-12 08:22:49 -04:00
Zoltan Varga b5188e8b4e Get rid of the annoying 'PLATFORM is not defined.' message on every build. 2013-08-12 01:26:54 +02:00
Zoltan Varga 7839312e84 Avoid infinite logfiles if the test-process-exit test fails to terminate. 2013-08-12 01:14:13 +02:00
Zoltan Varga 529b920b35 Fix skipping of disabled runtime tests on windows. 2013-08-12 00:48:38 +02:00
Zoltan Varga 06dea0679d Clean up the win32 lmf code by using a separate variable to hold the jit_tls tls offset. Fix warnings. 2013-08-11 23:19:18 +02:00
Zoltan Varga 21e5a22980 Enable MONO_ARCH_HAS_MONO_CONTEXT on mingw. 2013-08-11 22:46:00 +02:00
Francis Fisher f436736f30 fix up some properties per mono coding guidelines 2013-08-11 18:12:58 +01:00
Francis Fisher 699ef5e948 Boilerplate implementation of Charting
Implemented enough of
System.Windows.Forms.DataVisualization.Charting to get two pieces of
software to compile: the charting examples from MSDN and the windows OSS
EVEMon.

This patch contains the majority of properties defined, and many methods
stubbed - I have avoided implementing any functionality in this patch.

All this work is under the MIT Licence.
2013-08-11 15:07:55 +01:00
Rolf Bjarne Kvinge fa0f423dc5 Fix profile values for monotouch_runtime. 2013-08-10 00:35:10 +02:00
Mark Probst 2c45af25e2 Fix #13604 - STW handshake/thread shutdown race condition. 2013-08-09 13:24:18 -07:00
Atsushi Eno b62bb260ec Fix bug #4344 - xsl:stylesheet always ignored xsl template contents. 2013-08-09 19:47:20 +09:00
Marek Safar 2f334102cd Add more implicit generic array interfaces. Fixes #8934 2013-08-09 11:56:13 +02:00
Marek Safar ded10b24e9 Update reference file 2013-08-09 11:56:13 +02:00
Atsushi Eno d21b0aa3d9 Fixed bug #4141 - XmlSchemaImporter needs to consider attributeGroupRef in some case. 2013-08-09 17:22:38 +09:00
Zoltan Varga fde407c873 Fix 5d37fac7c8 again. 2013-08-09 10:13:22 +02:00
Atsushi Eno 53a68c9e20 Fixed bug #4668 - C# compiler doesn't like decimal in custom attribute values, so use string. 2013-08-09 17:03:40 +09:00
Atsushi Eno ccab57808d Fix bug #8637 - omit xml declaration for ToString(). 2013-08-09 15:57:35 +09:00
Zoltan Varga 4c0a69874e Remove the usage of gcc-3 on mingw, the gcc-3 package no longer exists on cygwin. Mono can be built by configuring with --host=i686-pc-mingw32. Building without this will not work, since the libtool wrapper executables created by libtool will be unusable, i.e. they exit before the real runtime process exits. 2013-08-09 01:59:46 +02:00
Zoltan Varga ebfd12313e Fix mingw compilation problems. 2013-08-09 01:59:45 +02:00
Zoltan Varga 77f1fafb58 Fix monodis compilation on mingw which is missing some fp classification functions. 2013-08-09 01:59:45 +02:00
Zoltan Varga 04f533820d Make the gc descriptor tests fail consistently if python is not found. 2013-08-09 01:59:44 +02:00
Jonathan Pryor d1fcb53e15 [mdoc-validate] Allow <format/> to have ANY content.
The intent of the <format/> element is to assist encapsulating
arbitrary HTML content within an mdoc(5) container. This frequently
requires having more than _one_ element within the <format/> block.

(WTF was I thinking forgetting the maxOccurs attribute?!)
2013-08-08 16:35:51 -04:00
Atsushi Eno c65fe47d44 generate mobile csproj files too. 2013-08-08 22:45:07 +09:00
Atsushi Eno 468cb8d277 Build Ix assemblies from rx sources. 2013-08-08 22:07:29 +09:00
Atsushi Eno 2cc36e3331 Fix bug #13716 - use XmlSchemaSettings.XmlResolver to resolve schemas. 2013-08-08 21:38:47 +09:00
Marek Safar 5c55eea17e Basic optional parameters support in binder. Fixes #13817 2013-08-08 13:31:08 +02:00
Marek Safar 09139111a5 Merge pull request #728 from alesliehughes/master
Enable System.DirectoryServices.Protocols assembly
2013-08-08 02:58:22 -07:00
Alistair Leslie-Hughes 1eb75507a6 Enable System.DirectoryServices.Protocols assembly 2013-08-08 19:20:32 +10:00
Marek Safar f2524362fc Always release DeflateStream unmanaged resources. Fixes #13742 2013-08-08 10:29:05 +02:00
Atsushi Eno b5a856e716 Fix bug #11298 - in XElement.Replace*(), create snapshot of content first before removal (unlike it is documented!) 2013-08-08 16:02:03 +09:00
Zoltan Varga 0487904629 [aot] Avoid passing partially shared instances to the JIT. Fixes #13191. 2013-08-08 00:08:51 +02:00
Zoltan Varga 9c65ad34a9 Fix 5d37fac7c8. 2013-08-07 22:51:51 +02:00
Zoltan Varga 5d37fac7c8 [aot] Error out if -O=gsharedvt is used on a platform/configuration where it is not supported. 2013-08-07 21:28:55 +02:00
Marek Safar 56f98e18dd Add block scope for foreach variables with statement only 2013-08-07 20:58:35 +02:00
Marek Safar 0c22492321 Remove NIE from SetWaitNotificationRequired. Fixes #13742 2013-08-07 20:02:03 +02:00
Marek Safar 6a4c57e05b Handle partial class case when nested type of partial container dependends on parent base type from another partial container. Fixes #13731 2013-08-07 19:00:57 +02:00
Atsushi Eno 3e2f5ef8fc Fix bug #10194 - SetElementValue(nonExistentElementName, null) caused NRE. 2013-08-08 01:36:35 +09:00
Atsushi Eno 874d3b1389 Fix bug #12035 - xsi:nil='true' was ignored in some scenario.
"some scenario" I mean:

- There is a sequence with more than one elements in xsd,
- The second element is nillable and its type has content elements, and
- The corresponding XML element specifies xsi:nil='true'

Then it resulted in a validation error as if it were missing the required
content.
2013-08-08 01:00:10 +09:00
Marek Safar 155df94118 Inflate default parameter expression without type checks. Fixes #13793 2013-08-07 15:18:04 +02:00
Rolf Bjarne Kvinge b22667cd23 Fix a test to work on mobile after the async release. 2013-08-07 14:59:12 +02:00
Marek Safar 3448cab291 Update named params parameter converted result expression. Fixes #13786 2013-08-07 12:49:48 +02:00
Atsushi Eno 72d14cca36 Fix bug #12469 - add more conversion methods to XmlAtomicValue.
Since XmlAtomicValue is pretty much hidden in the implementation, there is
almost no way to verify how it should work. So the changes are all based on
assumption. Yet I added a test based on bug #12469.

There is still problem on processing *invalid* inputs. They have to be
rejected, but they pass.
2013-08-07 18:54:03 +09:00
Marek Safar b213facf8e Merge pull request #727 from alesliehughes/master
ActiveDirectory Class and enums
2013-08-06 23:35:12 -07:00
Rodrigo Kumpera b0406462f6 [build]Bring some sanity to the monotouch profiles.
monotouch is now the static profile and it does define FULL_AOT_RUNTIME globally.
2013-08-06 19:00:03 -04:00
Rodrigo Kumpera f9adf72b40 Add support for exclude files in extension modules. 2013-08-06 19:00:03 -04:00
Alistair Leslie-Hughes 72855152a6 Add class DirectoryServicesCOMException 2013-08-07 08:52:08 +10:00
Alistair Leslie-Hughes 3942cbcf71 Add class DirectoryVirtualListView 2013-08-07 08:18:31 +10:00
Alex Rønne Petersen 060669d19a Fix an unlikely case in cmd_to_string () where cmds would be accessed uninitialized. 2013-08-06 21:27:03 +02:00
Alex Rønne Petersen b0b4fdb5ee Fix another strtod warning with #if 0. 2013-08-06 21:23:03 +02:00
Alex Rønne Petersen afef0a0f59 Add two unnecessary zero initializations to shut GCC up.
The conditions are too complex for GCC to realize that these variables
are actually initialized when they're used.
2013-08-06 21:23:03 +02:00
Alex Rønne Petersen dcd27aa93f Kill another mixed-decls-and-code warning. 2013-08-06 21:23:02 +02:00
Marek Safar 1496eac3f4 Create correct flow branching for single non-default switch section. Fixes #13736 2013-08-06 21:07:16 +02:00
Alex Rønne Petersen 19d7806b73 Fix some warnings in strtod by #if 0'ing some unused functions. 2013-08-06 20:53:00 +02:00
Alex Rønne Petersen 5db03c67c1 Fix a warning in dlmalloc by #if 0'ing an unused function. 2013-08-06 20:53:00 +02:00
Alex Rønne Petersen a0bba405d1 Fix a mixed-decls-and-code warning. 2013-08-06 20:53:00 +02:00
Jonathan Pryor 82a197e41c [System.Core/Android] Support Android v4.3's timezone DB format
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=13686

Android v4.3 changed the timezone DB format described in 8a263984 and
replaced it with a single file containing version, index, data, and a
"zoneTab" (which is parsed but unused).

Port/rewrite the Java libcore.util.ZoneInfoDB type into
System.AndroidTzData so that this new file format is supported.

(Another day, another file format...)
2013-08-06 14:27:20 -04:00
Alistair Leslie-Hughes b4f1c73e83 Add class DirectoryVirtualListViewContext 2013-08-06 19:22:05 +10:00
Alistair Leslie-Hughes 261ec28e7c Add class DirectorySynchronization 2013-08-06 19:22:04 +10:00
Alistair Leslie-Hughes c5c858d823 Add enum ExtendedDN 2013-08-06 19:22:02 +10:00
Alistair Leslie-Hughes aa5da06469 Add class ExtendedRightAccessRule 2013-08-06 19:22:01 +10:00
Alistair Leslie-Hughes 6129ec4d09 Add enum DirectorySynchronizationOptions 2013-08-06 19:22:00 +10:00
Alistair Leslie-Hughes 20d02fae27 Add class ForestTrustCollisionException 2013-08-06 19:21:59 +10:00
Alistair Leslie-Hughes 67a116c863 Add class ForestTrustRelationshipCollisionCollection 2013-08-06 19:21:56 +10:00
Alistair Leslie-Hughes aa5657b7fa Add class ForestTrustRelationshipCollision 2013-08-06 19:21:54 +10:00
Alistair Leslie-Hughes f04968359d Add class ListChildrenAccessRule 2013-08-06 19:21:54 +10:00
Alistair Leslie-Hughes c234f6e2dc Add enum ForestTrustCollisionType 2013-08-06 19:21:51 +10:00
Alistair Leslie-Hughes 903d21bac7 Add class ActiveDirectoryServerDownException 2013-08-06 19:21:48 +10:00
Alistair Leslie-Hughes 8263101015 Add class DirectoryEntryConfiguration 2013-08-06 19:21:47 +10:00
Alistair Leslie-Hughes 559570da6d Add enum PasswordEncodingMethod 2013-08-06 19:21:47 +10:00
Alistair Leslie-Hughes 571444246f Add enum DomainCollisionOptions 2013-08-06 19:21:46 +10:00
Alistair Leslie-Hughes 7f50298027 Add class PropertyAccessRule 2013-08-06 19:21:45 +10:00
Alistair Leslie-Hughes 1a2de021ca Add class PropertySetAccessRule 2013-08-06 19:21:44 +10:00
Alistair Leslie-Hughes a9201c5b00 Add enm PropertyAccess 2013-08-06 19:21:42 +10:00
Alistair Leslie-Hughes a6331506cb Add class ReadOnlySiteLinkBridgeCollection 2013-08-06 19:21:42 +10:00
Alistair Leslie-Hughes 5682a6430e Add class ActiveDirectorySiteLinkBridge, ActiveDirectorySiteLinkCollection 2013-08-06 19:21:41 +10:00
Alistair Leslie-Hughes cf17ecb829 Add enum ReplicationSecurityLevel 2013-08-06 19:21:41 +10:00
Alistair Leslie-Hughes e12b9a2c61 Add enum SecurityMasks 2013-08-06 19:21:40 +10:00
Alistair Leslie-Hughes ae40175ca0 Add enum TopLevelNameCollisionOptions 2013-08-06 19:21:39 +10:00
Andrés G. Aragoneses 26d0b81c26 [ThreadPool] Allow heavier initialization when using --server flag
Create on demand up to min_threads to avoid startup penalty, avoiding
throttling of threadpool worker thread creation (for now, using
a --server flag) at initialization.

When throttling happens, operations such as parallel https requests were
slowed down significantly due to all of the threads created in order
to complete the SSL operations.

Based on @kamalaboulhosn's patch (https://github.com/mono/mono/pull/640/files)
2013-08-06 10:32:54 +02:00
Zoltan Varga ab92538d5a [llvm] Disable LLVM for async methods to work around #13734. 2013-08-06 09:28:57 +02:00
Zoltan Varga 6cca13b657 [llvm] Avoid adding methods which failed llvm compilation to 'mono.function_indexes'. 2013-08-06 09:28:32 +02:00
Zoltan Varga 1188277099 [sdb] Improve logging a bit. 2013-08-06 09:26:46 +02:00
Atsushi Eno 439046726f implement character validation methods in XmlConvert. Fix bug #11910. 2013-08-06 14:38:14 +09:00
Rodrigo Kumpera 70d411b525 Fix thinko in last commit. It's DISABLE_COM and not DISABLE_REMOTING. 2013-08-05 17:25:56 -04:00
Rodrigo Kumpera 1f6effb1e1 [sgen]GC fight club rules. NEVER poke the managed heap if you are not supposed to. 2013-08-05 17:24:57 -04:00
Rodrigo Kumpera 37ac7d16dc [sgen]Add some comments on the usage of all STW related fields. 2013-08-05 17:04:14 -04:00
Rodrigo Kumpera 300f015223 monotouch requires DISABLE_COM too. 2013-08-05 14:24:48 -04:00
Rodrigo Kumpera 809b7ed950 Fix log messge. 2013-08-05 11:41:24 -04:00
Pablo Ruiz Garcia 6128710873 Fixed xamarin bug #13708: routing constraints should be trated as 'convertible to string' in order to be compat with MS.NET 2013-08-05 15:20:31 +02:00
Marek Safar fb24aa7b1a Don't show internal error when default paramater expression cannot be converted to paramter type. Fixes #13682 2013-08-05 12:17:18 +02:00
Marek Safar 7cda2dd37c Merge pull request #723 from alesliehughes/master
Revert "Add class DnsPermission"
2013-08-05 02:07:57 -07:00
Atsushi Eno 8a10b06610 Fix bug #13485: retrieve private fields and properties in serialization. 2013-08-05 15:36:24 +09:00
Micael Dias 5a9472a254 Fix cross compilation to windows. "Windows.h" should be "windows.h". Fixes #13729. 2013-08-05 08:10:32 +02:00
Zoltan Varga 568e0bc803 Add support for constrained gsharedvt calls to IComparable<T>.CompareTo ()/IEquatable<T>.Equals (). Fixes #13704. 2013-08-04 09:18:49 +02:00
Zoltan Varga e7a9566734 Put runtime-invoke wrappers of valuetype methods into a separate cache, they have a different signature. 2013-08-04 09:17:43 +02:00
Alex Rønne Petersen 23548657e1 Fix the non-MSVC build. 2013-08-02 22:39:15 +02:00
Neale Ferguson 41a154d096 Variable has_ld was renamed 2013-08-02 15:20:47 -04:00
Rodrigo Kumpera cbbd711017 Merge pull request #681 from tritao/dll-api
Added public API visibility macros
2013-08-02 10:55:19 -07:00
Alistair Leslie-Hughes 9a1ddb9f0c Revert "Add class DnsPermission"
This reverts commit c3d818e1ba.

The class is already part of the System assembly.  I mistook the
namespace as the Assembly name.
2013-08-02 19:02:35 +10:00
Alex Rønne Petersen 09219a1459 Merge pull request #722 from JulianHamilton/master
Faster index lookup in RemoveInternal
2013-08-01 22:59:28 -07:00
JulianHamilton d4e750970c Faster index lookup in RemoveInternal 2013-08-02 09:53:17 +09:30
Alex Rønne Petersen 849fb05887 configure: Fix arch selection for s390x. 2013-08-01 23:45:16 +02:00
Miguel de Icaza 6944d48c68 FullAOT fallback: Slightly better random 2013-08-01 09:50:20 -04:00
Zoltan Varga 0721c1fb28 [sdb] Improve some sdb logging messages. 2013-08-01 06:53:52 +02:00
Zoltan Varga d84a165c8e Fix enum->int unbox casts in gsharedvt code. Fixes desk #42463. 2013-08-01 02:17:33 +02:00
Mark Probst 57224013a8 [sgen] Honor --disable-major. 2013-07-31 10:32:00 -07:00
Marek Safar 1e93b054ec Add better diagnostics for invalid properties 2013-07-31 18:00:38 +02:00
Marek Safar 316061e2dc Revert "Add null constant argument type check"
This reverts commit 01697c1f78.
2013-07-31 18:00:38 +02:00
Miguel de Icaza 8a019b64fe Not currently referenced 2013-07-31 09:42:13 -04:00
Marek Safar 01697c1f78 Add null constant argument type check 2013-07-31 13:48:00 +02:00
Marek Safar 8ffb6b1981 Workaround limitation of ancient nunit 2013-07-31 10:55:27 +02:00
Zoltan Varga b6da6da507 Fix some cases of --debug=casts, add tests. 2013-07-31 04:36:50 +02:00
Zoltan Varga c4ced34e1c Avoid tail calls which breaks the test in finalizer-exception.cs. 2013-07-31 04:07:39 +02:00
Zoltan Varga b181fa6d91 Fix a warning. 2013-07-31 03:54:17 +02:00
Zoltan Varga 2a4e1e127b Quote path arguments to opt/llc. Fixes #13603. 2013-07-31 00:26:57 +02:00
Miguel de Icaza b6d1b4492f Class libraries: introduce mobile_static profile, for MonoTouch-like static builds, but not limited to iOS (WinStore, Kumpera did the work). 2013-07-30 16:51:38 -04:00
Marek Safar 81e3a33c79 Write only import section from global namespaces before global attribute sections. Fixes #13523 2013-07-30 20:18:48 +02:00
Alex Rønne Petersen ff9f71c44e Fall back to /proc/cpuinfo when sys/auxv.h is not available.
Diagnosed and suggested by Chris Araman <[email protected]>.
2013-07-30 17:56:41 +02:00
Paolo Molaro 4ed1d92610 Merge pull request #703 from ysw/master
Fixed: send/recv race in tpool-epoll and tpool-kqueue implementations
2013-07-30 08:51:04 -07:00
Marek Safar 77d2f31ac1 Merge pull request #665 from andreas-auerswald/master
Serilaization TimeZoneInfo class
2013-07-30 06:56:54 -07:00
Marek Safar adbe98f12d Add more system assemblies remapping. Fixes #11294 2013-07-30 15:51:30 +02:00
Marek Safar 694d67d582 No type forwarders for 2.0 System.Net 2013-07-30 15:51:29 +02:00
Marek Safar d90decc417 Fixed binary serialization 2013-07-30 15:51:29 +02:00
Marek Safar fa8dc3c5e5 Merge pull request #719 from alesliehughes/master
Last of System.DirectoryServices.ActiveDirectory classes
2013-07-30 03:44:51 -07:00
Marek Safar ebff81b3d5 Fix ObservableCollection binary serialization (based on 828a6a4f45) 2013-07-30 11:14:43 +02:00
Alistair Leslie-Hughes df60ae8379 Added the following classes
ActiveDirectorySite
ActiveDirectorySiteCollection
ActiveDirectorySiteLink
ActiveDirectorySubnet
ActiveDirectorySubnetCollection
Domain
DomainCollection
DomainController
DomainControllerCollection
Forest
GlobalCatalog
GlobalCatalogCollection
ReadOnlySiteCollection
ReadOnlySiteLinkCollection

I couldn't split them up into single commits without breaking the build.
2013-07-30 17:58:54 +10:00
Alistair Leslie-Hughes 5c3ea0d668 Add class ActiveDirectorySchema 2013-07-30 17:58:53 +10:00
Alistair Leslie-Hughes 0b839ce9ea Add class ActiveDirectorySchemaClass, ActiveDirectorySchemaClassCollection, ReadOnlyActiveDirectorySchemaClassCollection 2013-07-30 17:58:52 +10:00
Alistair Leslie-Hughes dd53968422 Add class ActiveDirectorySchemaPropertyCollection, ReadOnlyActiveDirectorySchemaPropertyCollection 2013-07-30 17:58:49 +10:00
Alistair Leslie-Hughes 73caba4f68 Add class ActiveDirectorySchemaProperty 2013-07-30 17:58:48 +10:00
Alistair Leslie-Hughes eea85080a6 Add ForestTrustRelationshipInformation 2013-07-30 17:58:47 +10:00
Alistair Leslie-Hughes 77986a10be Add class ForestTrustDomainInfoCollection 2013-07-30 17:58:44 +10:00
Alistair Leslie-Hughes d673f23cad Add class ForestTrustDomainInformation 2013-07-30 17:58:42 +10:00
Alistair Leslie-Hughes e99ecebd51 Add class ApplicationPartitionCollection 2013-07-30 17:58:41 +10:00
Alistair Leslie-Hughes 76e680de20 Add class ApplicationPartition 2013-07-30 17:58:39 +10:00
Alistair Leslie-Hughes 277758cdab Add class ReadOnlyDirectoryServerCollection 2013-07-30 17:58:37 +10:00
Alistair Leslie-Hughes 0b7e53aa89 Add class DirectoryServerCollection 2013-07-30 17:58:35 +10:00
Alistair Leslie-Hughes d1711cf941 Add class DirectoryServer, ReplicationConnection, ReplicationConnectionCollection 2013-07-30 17:58:34 +10:00
Alistair Leslie-Hughes 0c1a0270bc Add class ReplicationNeighborCollection 2013-07-30 17:58:32 +10:00
Alistair Leslie-Hughes 9aa6a601e4 Add class ReplicationOperationInformation 2013-07-30 17:58:30 +10:00
Alistair Leslie-Hughes 15eed77288 Add class ReplicationOperationCollection 2013-07-30 17:58:27 +10:00
Alistair Leslie-Hughes e1107c0b30 Add class ReplicationOperation 2013-07-30 17:58:26 +10:00
Alistair Leslie-Hughes c83b58b942 Add class DirectoryContext 2013-07-30 17:58:23 +10:00
Alistair Leslie-Hughes b5e4d2de43 Add class ReplicationCursorCollection 2013-07-30 17:58:22 +10:00
Alistair Leslie-Hughes c6914fe1b1 Add class ReplicationCursor 2013-07-30 17:58:21 +10:00
Alistair Leslie-Hughes 65b50fc464 Add class ReplicationFailureCollection 2013-07-30 17:58:18 +10:00
Alistair Leslie-Hughes ce3e843793 Add class ReplicationFailure 2013-07-30 17:58:16 +10:00
Alistair Leslie-Hughes 7101724538 Add class TrustRelationshipInformationCollection 2013-07-30 17:58:15 +10:00
Alistair Leslie-Hughes 4d74cc9c57 Add class TrustRelationshipInformation 2013-07-30 17:58:14 +10:00
Alistair Leslie-Hughes 9543cd8c27 Add class TopLevelNameCollection 2013-07-30 17:58:11 +10:00
Alistair Leslie-Hughes 01536c4acf Add class TopLevelName 2013-07-30 17:58:09 +10:00
Alistair Leslie-Hughes 9fdd8bc9b2 Add delegate SyncUpdateCallback 2013-07-30 17:58:06 +10:00
Alistair Leslie-Hughes 727520fbdd Add class SyncFromAllServersOperationException 2013-07-30 17:58:04 +10:00
Alistair Leslie-Hughes c65b7e486f Add class SyncFromAllServersErrorInformation 2013-07-30 17:58:01 +10:00
Alistair Leslie-Hughes 48b37187ef Add class ActiveDirectorySecurity 2013-07-30 17:57:58 +10:00
Alistair Leslie-Hughes 8165563a4c Add class ActiveDirectoryAuditRule 2013-07-30 17:57:57 +10:00
Alistair Leslie-Hughes c676050454 Add ActiveDirectoryAccessRule 2013-07-30 17:57:57 +10:00
Alistair Leslie-Hughes 0da8d969d3 Add enum ActiveDirectoryRights 2013-07-30 17:57:56 +10:00
Alistair Leslie-Hughes 6a9e457af2 Add enum ActiveDirectorySecurityInheritance 2013-07-30 17:57:56 +10:00
Marek Safar d0cfdc22b4 Add test for bug #13509 2013-07-30 09:52:36 +02:00
Zoltan Varga a7debabcd4 Fix a Mono.Posix test to avoid failing if readlinkat() is not available. 2013-07-30 01:28:19 +02:00
Rodrigo Kumpera 000d442b50 Use a relative symlink. 2013-07-29 14:38:27 -04:00
Marek Safar 02820da410 Correctly import nested non-generic types inside generic containers used within same generic container. Fixes #13549 2013-07-29 18:08:00 +02:00
Marek Safar 90e4ae45ea Clone arguments array before modifying. 2013-07-29 16:28:18 +02:00
Marek Safar 12aa2ee3ca Correctly parse pragma headers. Fixes #13501 2013-07-29 14:36:11 +02:00
Zoltan Varga cd49ed4b02 Revert the 'Emit push/pop LMF code as IR' changes, they seem to break make test-sgen on wrench. 2013-07-29 14:27:11 +02:00
Marek Safar 01ee50f7d6 Merge pull request #718 from alesliehughes/master
More System.DirectoryServices.ActiveDirectory classes + other.
2013-07-29 04:25:40 -07:00
Alistair Leslie-Hughes e906cecb4c Add class ActiveDirectorySchedule 2013-07-29 20:57:18 +10:00
Alistair Leslie-Hughes e8f477f90a Add class ActiveDirectoryRoleCollection 2013-07-29 20:56:41 +10:00
Alistair Leslie-Hughes 0a93160fdc Add class ActiveDirectoryReplicationMetadata 2013-07-29 20:56:04 +10:00
Alistair Leslie-Hughes e338775ecd Add class ActiveDirectoryPartition 2013-07-29 20:55:27 +10:00
Alistair Leslie-Hughes 52300170c7 Add class ActiveDirectoryOperationException 2013-07-29 20:54:43 +10:00
Alistair Leslie-Hughes c732e37828 Add enum TopLevelNameStatus 2013-07-29 20:54:08 +10:00
Alistair Leslie-Hughes a157487ca7 Add enum PropertyTypes 2013-07-29 20:54:02 +10:00
Alistair Leslie-Hughes 8b9d426608 Add enum ForestTrustDomainStatus 2013-07-29 20:53:55 +10:00
Alistair Leslie-Hughes 62cd47529d Add enum ActiveDirectorySyntax 2013-07-29 20:53:42 +10:00
Alistair Leslie-Hughes 374c94876a Add enum ActiveDirectorySiteOptions 2013-07-29 20:53:15 +10:00
Alistair Leslie-Hughes c3d818e1ba Add class DnsPermission 2013-07-29 20:53:03 +10:00
Alistair Leslie-Hughes 2864dd1bad Add missed file TrustType.cs 2013-07-29 20:52:13 +10:00
Alistair Leslie-Hughes ea8e3bfa07 Add enum SchemaClassType 2013-07-29 20:51:49 +10:00
Alistair Leslie-Hughes ad32f65e9b Add missed file AttributeMetadataCollection.cs 2013-07-29 20:51:39 +10:00
Jérémie Laval 036ed3cc63 [System] Implement a first pass of ClientWebSocket. 2013-07-29 00:47:12 -04:00
Jérémie Laval 96935b19e1 [System] Add crude (for now) socket stealing of an HttpWebRequest.
HttpWebRequest is a very tricky piece of code when it comes to its socket, this patch is more like a hack to get something working out of it but it's definitely not the best option.
2013-07-29 00:47:11 -04:00
Jérémie Laval ee7a497ed4 [System] Don't overwrite custom Connection header on HttpWebRequest 2013-07-29 00:47:11 -04:00
Alex Rønne Petersen a1e5ba803f Fix a missing return statement in 16d2bcaa37. 2013-07-29 05:09:03 +02:00
Zoltan Varga 77c1ea1999 Fix overflow checking in newarray with 64 bit array lengths. Fixes part of #13544. 2013-07-29 03:08:12 +02:00
Jonathan Pryor eb13855b98 Merge pull request #701 from steffen-kiess/fix-11778
Fix Syscall.readlink() for non-ascii targets
2013-07-28 07:17:38 -07:00
Marek Safar 0a3b65804b Merge pull request #716 from alesliehughes/master
More System.DirectoryServices.ActiveDirectory classes
2013-07-28 04:24:53 -07:00
Alistair Leslie-Hughes 40546e633d Add class AttributeMetadataCollection 2013-07-28 19:22:00 +10:00
Alistair Leslie-Hughes 0d6d70b299 Add class AttributeMetadata 2013-07-28 19:20:55 +10:00
Steffen Kieß 9b824c31c8 Fix Syscall.readlink() for non-ascii targets
Syscall.readlink() currently returns an integer indicating the number of
bytes in the link. As buf contains chars, this value is useless if the
target contains non-ascii characters.

This commit creates a new overload which uses a byte array instead of a
StringBuilder and rewrites the old overload to return the number of chars
instead.

Fixes #11778 and #9611
2013-07-28 11:11:38 +02:00
Alistair Leslie-Hughes 98dec22c8f Add class ReadOnlyStringCollection 2013-07-28 18:39:04 +10:00
Zoltan Varga 7c89014866 [sdb] Fix round tripping of vtypes with boxed fields. Fixes #12354. 2013-07-28 09:40:32 +02:00
Alistair Leslie-Hughes 9036063250 Add enum TrustDirection.cs 2013-07-28 17:09:03 +10:00
Alistair Leslie-Hughes c1f4854661 Add class ReplicationNeighbor 2013-07-28 17:00:23 +10:00
Alistair Leslie-Hughes ff3f2aca0e Add enum LocatorOptions 2013-07-28 16:51:34 +10:00
Alistair Leslie-Hughes 14ac833855 Add enum ForestMode 2013-07-28 16:37:25 +10:00
Alistair Leslie-Hughes 2cde7a3eca Add enum DomainMode.cs 2013-07-28 16:21:13 +10:00
Alistair Leslie-Hughes fa60f1033b Add enum ActiveDirectoryRole 2013-07-28 16:10:17 +10:00
Zoltan Varga 76890ae042 Add error handling to calls of mono_reflection_create_custom_attr_data_args (). Fixes part of #13435. 2013-07-28 02:52:51 +02:00
Zoltan Varga e2478f0c75 Remove #ifdefs from MonoTrampolineType, to prevent cross-compilation problems where the cross compiler and the target runtime have different defines. Also do a sanity check at aot load time. 2013-07-27 23:55:29 +02:00
Zoltan Varga 02964f35a8 Fix an assert in constrained_gsharedvt_call_setup (), mono_class_interface_offset () returns a -1 on failure, not 0. 2013-07-27 23:55:28 +02:00
Marek Safar dbf1626dc0 Don't hide internal error exception when reported cannot show it. 2013-07-27 08:58:11 +02:00
Marek Safar 69d356081a Add clone for error expression. Fixes #13443 2013-07-26 23:44:40 +02:00
Marek Safar b96c455ef9 Less cascading errors 2013-07-26 23:23:50 +02:00
Marek Safar 439ef67c99 Merge pull request #714 from IDisposable/patch-2
Consistent use of ch to avoid array indexing more than once.
2013-07-26 14:15:39 -07:00
Zoltan Varga f7e2304843 Add more extensive logging to sdb. 2013-07-26 23:04:51 +02:00
Marc Brooks a667b8846d Consistent use of ch to avoid array indexing more than once.
Replace the couple places where the string character array was being indexed twice in the same block instead of the character being cached locally. Cleanup formatting of the switch statements to follow conventions.
MIT licence
2013-07-26 14:06:33 -05:00
Alex Rønne Petersen 78db50f208 Revert the use of mono_binary_search () in support/supportw.c.
This code can't depend on mono/utils and doesn't need the 'fixed'
implementation of bsearch () anyway since keys are never null.
2013-07-26 20:16:24 +02:00
Marek Safar 7a307b7068 Remove CultureInfo.CurrentCulture dependency from ordinal based string::EndsWith. Fixes #13509 2013-07-26 19:48:50 +02:00
Marek Safar 567f714b26 Lift result of enum substraction when operation is lifted due to non-nullable enum type. Fixes #13454 2013-07-26 16:30:39 +02:00
Marek Safar 6ff60ff56e Comment update 2013-07-26 16:30:38 +02:00
Alex Rønne Petersen bd54b2b72d Add a mono_binary_search () function.
This is a replacement for bsearch () because some platforms
have bogus asserts in their implementations.
2013-07-26 16:24:50 +02:00
Alex Rønne Petersen 912074c481 Fix a C# compiler error in the runtime test suite. 2013-07-26 16:23:51 +02:00
Alex Rønne Petersen 41d5852ba0 Fix a warning in appdomain.c introduced by 76e8c8ba0f. 2013-07-26 16:23:41 +02:00
Alex Rønne Petersen 79dfbe5192 Mark inline assembly in mono-hwcap-s390x.c volatile. 2013-07-26 14:26:59 +02:00
Alex Rønne Petersen 84c483ae45 Fix up memory barriers on Windows.
1. The _ReadWriteBarrier intrinsic and friends do not actually issue
   a CPU fence; they are purely for inhibiting the compiler in moving
   loads and stores across the call. So when compiling with MSVC, we
   also need to call MemoryBarrier from Windows.h to issue a fence.
   Note that _ReadWriteBarrier is *not* implied by MemoryBarrier; both
   are *really* needed.
2. On Cygwin, we only support GCC 3.x, so resort to inline assembly to
   issue memory barriers. I would have liked to avoid this, but since
   GCC 3.x doesn't provide __sync_synchronize and we aren't likely to
   upgrade to 4.x anytime soon, this is the workaround for now.
2013-07-26 14:26:55 +02:00
Marek Safar 6b55ac5530 Check promoted value type binary equality operations against null too. Fixes #13497 2013-07-26 13:51:23 +02:00
Marek Safar 4085776a67 Ignore space separators in nowarn arguments. Fixes #13476 2013-07-26 10:30:48 +02:00
Marek Safar d199de6270 Use local variable in commit 482f6c7b55 2013-07-26 09:49:56 +02:00
Marek Safar 482f6c7b55 Show more info for missing indirect assembly references 2013-07-26 09:44:53 +02:00
Zoltan Varga a3c12804f0 Update msvc project files with newly added sgen files. 2013-07-26 03:55:58 +02:00
Zoltan Varga a54d96b37e Add full-aot support for runtime invokes to array Get/Set methods. 2013-07-26 02:01:47 +02:00
Zoltan Varga 180fb9b3f9 Avoid an assert on android where seq points are not generated for wrappers. 2013-07-26 00:36:21 +02:00
Jeffrey Stedfast ff41b501ea Revert "Revert "[xbuild]: Provide a real Microsoft.Portable.CSharp.targets""
This reverts commit a4800b96b2.
2013-07-25 16:19:26 -04:00
Jeffrey Stedfast a4800b96b2 Revert "[xbuild]: Provide a real Microsoft.Portable.CSharp.targets"
This reverts commit 03011419a4.
2013-07-25 14:42:34 -04:00
Jonathan Pryor 365da8343a [System] Fix DnsTest.GetHostByName() test.
Test Case Failures:
	1) MonoTests.System.Net.DnsTest.GetHostByName : Should raise a SocketException (assuming that 'www.unlikely.novell.com' does not exist)
	  at MonoTests.System.Net.DnsTest.GetHostByName () [0x00089] in /Users/jon/Development/mono-HEAD/mono/mcs/class/System/Test/System.Net/DnsTest.cs:212
	  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
	  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00054] in /Users/jon/Development/mono-HEAD/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:230

As it happens, 'www.unlikely.novell.com' DOES exist:

	$ ping www.unlikely.novell.com
	PING www.unlikely.novell.com (199.101.28.20): 56 data bytes
	64 bytes from 199.101.28.20: icmp_seq=0 ttl=57 time=29.399 ms

Apparently it's due to the "www." prefix; remove "www." and the site
isn't found, as expected:

	$ ping unlikely.novell.com
	ping: cannot resolve unlikely.novell.com: Unknown host

Update DnsTest.noneExistingSite so that the DnsTest.GetHostByName()
test passes.
2013-07-25 11:38:09 -04:00
Jonathan Pryor f9d78260db [System] Support FTP download where PWD starts with '\'.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=13343

There are some Industrial Automation Hardware devices which return a
'\'-prefixed path to the FTP PWD command, which would break:

	System.UriFormatException: Invalid URI: The hostname could not be parsed.
	  at System.Uri.Parse (UriKind kind, System.String uriString)
	  at System.Uri.ParseUri (UriKind kind)
	  at System.Uri..ctor (System.String uriString, Boolean dontEscape)
	  at System.Uri..ctor (System.String uriString) [0x0000
	  at System.Net.FtpWebRequest.GetRemoteFolderPath (System.Uri uri)
	  at System.Net.FtpWebRequest.CWDAndSetFileName (System.Uri uri)
	  at System.Net.FtpWebRequest.ProcessMethod ()
	  at System.Net.FtpWebRequest.ProcessRequest ()
	There was an error connecting to the FTP Server.

The problem was this statement:

	Uri initial = new Uri ("ftp://dummy-host" + initial_path);

Since the FTP server was returning "\" to the PWD command,
`initial_path` was "\", and the above was equivalent to:

	Uri initial = new Uri (@"ftp://dummy-host\");

This results in the UriFormatException.

The solution is to not assume that `initial_path` will start with '/',
and instead use UriBuilder.
2013-07-25 11:38:09 -04:00
Marek Safar b69d833414 Add *CachePolicy to mobile profile. Fixes #13466 2013-07-25 17:23:26 +02:00
Marek Safar 0497877695 Fixed string null constant conversion to object constant 2013-07-25 17:23:25 +02:00
Marek Safar 1022c50752 Merge pull request #713 from alesliehughes/master
Add Some System.DirectoryServices.ActiveDirectory enums.
2013-07-25 03:55:53 -07:00
Zoltan Varga 75ffa3d011 Merge pull request #711 from spicypixel/hotfix/appdomain-leak
Fix string leak when loading assemblies.
2013-07-25 03:33:56 -07:00
Zoltan Varga e5942fbc7b Merge pull request #712 from spicypixel/hotfix/trampoline-name-leak
Fix generic trampoline string leak.
2013-07-25 03:31:16 -07:00
Zoltan Varga f0a95b71e3 Make some sdb tests more robust so they work again after the latest line number changes. 2013-07-25 07:31:54 +02:00
Aaron Oneal 37502a86d5 Fix additional string leaks when creating tramp_info.
A recent change modified mono_tramp_info_create to duplicate the name string passed to it, but all of the references that were previously duping the name before calling were not updated at the same time. This resulted in several memory leaks. This fix removes the now extra string duplications.
2013-07-24 16:17:26 -07:00
Aaron Oneal ad639e3e99 Fix additional string leaks when creating tramp_info.
A recent change modified mono_tramp_info_create to duplicate the name string passed to it, but all of the references that were previously duping the name before calling were not updated at the same time. This resulted in several memory leaks. This fix removes the now extra string duplications.
2013-07-24 16:13:04 -07:00
Aaron Oneal c931c463c2 Fix generic trampoline string leak.
Generic trampolines were leaking strings because:
1. The mono_arch_create_generic_trampoline function uses mono_get_generic_trampoline_name which does strdup.
2. That string was passed into mono_tramp_info_create which did strdup again.

The fix is to free the string after passing it to mono_tramp_info_create.
2013-07-24 15:47:46 -07:00
Aaron Oneal 76e8c8ba0f Fix string leak when loading assemblies.
The mono_portability_find_file method allocates a new string but the private_file_needs_copying method was not freeing it which resulted in a leaked string when loading assemblies.
2013-07-24 14:13:47 -07:00
Zoltan Varga 2c6dc87269 Continue single stepping if the same line reached in all cases. Factor out some code code. Fixes #13065. 2013-07-24 22:46:31 +02:00
Aaron Oneal 17d1c098bf Add support for value types to mono_object_to_string
The current mono_object_to_string implementation does not support value types. This patch adds support by unboxing value types prior to calling mono_runtime_invoke.
2013-07-24 11:45:10 -07:00
Sebastien Pouliot 7f8fa9a8a5 Allow running System.ServiceModel.Web unit tests on the MOBILE profiles (using the same .sources file) 2013-07-24 08:58:44 -04:00
Alistair Leslie-Hughes 883998ce2d Add enum SyncFromAllServersOptions 2013-07-24 20:20:07 +10:00
Alistair Leslie-Hughes 44690a038a Add enum SyncFromAllServersEvent 2013-07-24 20:19:11 +10:00
Alistair Leslie-Hughes e085ba9991 Add enum SyncFromAllServersErrorCategory 2013-07-24 20:17:56 +10:00
Alistair Leslie-Hughes fdc96789c4 Add enum ReplicationSpan 2013-07-24 20:15:50 +10:00
Alistair Leslie-Hughes 8ba2023998 Add enum ReplicationOperationType 2013-07-24 20:14:51 +10:00
Alistair Leslie-Hughes 7f7a747893 Add enum NotificationStatus 2013-07-24 20:14:01 +10:00
Alistair Leslie-Hughes 5d357d8bde Add enum MinuteOfHour 2013-07-24 20:11:20 +10:00
Alistair Leslie-Hughes 20f022d489 Add enum HourOfDay 2013-07-24 20:08:19 +10:00
Alistair Leslie-Hughes da42adba1d Add enum DirectoryContextType 2013-07-24 20:05:56 +10:00
Alistair Leslie-Hughes 96cf763430 Add enum ActiveDirectoryTransportType. 2013-07-24 20:04:20 +10:00
Marek Safar bb8f31f1a8 Merge pull request #709 from alesliehughes/master
Correct TrySetApartmentstate tests
2013-07-23 23:42:19 -07:00
Alistair Leslie-Hughes ccbc9e3a8f Correct TrySetApartmentstate tests
License: This patch is under the MIT/X11 license.
2013-07-24 14:27:56 +10:00
Zoltan Varga c537883799 Unify the different gsharedvt constrained call jit icalls into one. 2013-07-24 04:13:49 +02:00
Zoltan Varga bc2ace8f20 Avoid calling valuetype methods with a signature which uses an explicit this argument, the JIT passes the implicit argument differently than an explicit one, leading to problems when the method returns another valuetype. 2013-07-24 00:07:29 +02:00
Zoltan Varga d62166b91a Revert "Generate the push/pop LMF code as IR on x86."
This reverts commit 5c85e41f84.

Revert this as it breaks a lot of tests.
2013-07-23 18:08:16 +02:00
Alex Rønne Petersen 0ffa570a3a Merge pull request #697 from linquize/atom-bug
Atom bug
2013-07-23 07:10:49 -07:00
Alex Rønne Petersen 2ee134a8ea Fix the mono-hwcap module to work in the MONO_CROSS_COMPILE case.
The Mini back ends still use the hwcap variables in this case, so we
can't exclude the files they are defined in. Instead, ifdef out the
actual hwcap logic in the MONO_CROSS_COMPILE case.
2013-07-23 15:58:46 +02:00
Sebastien Pouliot 160c8d3015 Do not include tests for AssociatedMetadataTypeTypeDescriptionProvider in MOBILE since the type is not available 2013-07-23 09:03:45 -04:00
Marek Safar 94e78fd162 Fix default content buffer max size 2013-07-23 14:28:45 +02:00
Zoltan Varga a31c107f59 Avoid linking the LLVM runtime codegen libs into a cross-compiler runtime. 2013-07-23 05:30:51 +02:00
Linquize ee48fc81a9 Atom10FeedFormatter should generate subtitle tag for Description property 2013-07-23 08:12:35 +08:00
Marek Safar 53b3d6532a Merge some nrefactory changes 2013-07-22 16:05:06 +02:00
Marek Safar b269b884fa Don't crash when metadata contains private top level type. 2013-07-22 13:44:11 +02:00
Marek Safar 03c3fbe77a Adds async handling to binary:emitbranchable. Fixes #13362 2013-07-22 08:22:41 +02:00
Marek Safar 6a2d71f889 Fixes duplicate error message 2013-07-22 08:22:41 +02:00
Marek Safar 9114f339f9 Add field target for automatic properties 2013-07-22 08:22:40 +02:00
Zoltan Varga 5c85e41f84 Generate the push/pop LMF code as IR on x86. 2013-07-22 03:49:25 +02:00
Zoltan Varga ba79efb593 Fix a problem in emit_pop_lmf (), it no longer needs to change the current bblock. 2013-07-22 03:45:06 +02:00
Zoltan Varga fbdc2a7639 Get rid of the MONO_ARCH_ENABLE_LMF_IR define added by 0938c69a52, use flags in MonoCompile instead. 2013-07-22 03:06:35 +02:00
Rodrigo Kumpera 23ac11d001 Handle property with default values. Fix part of #13336. 2013-07-21 18:22:57 -04:00
Rodrigo Kumpera 89d5527369 Merge pull request #600 from tr8dr/master
Fix for bug 9250 (critical bug for embedded mono)
2013-07-21 12:21:29 -07:00
Cameron Taggart 4579fb3d43 fixes ctaggart/mono#2 cpuid() now compiles in VS 2012 2013-07-21 20:20:50 +02:00
Alex Rønne Petersen 8a9d70fabc Fix a "mixed decls and code" warning. 2013-07-21 19:56:06 +02:00
i59 2719711a51 Added mono-mutex.h & c to libmonoutils.vcxproj
Signed-off-by: Alex Rønne Petersen <[email protected]>
2013-07-21 12:46:00 +02:00
i59 5385752588 mono-mutex.c: Don't include sys/time.h on Windows;
Signed-off-by: Alex Rønne Petersen <[email protected]>
2013-07-21 12:45:33 +02:00
Alex Rønne Petersen 33ffb757d2 Merge pull request #707 from LHCGreg/12752-windows_nul_isredirected
Improve detecting if a handle is a console on Windows.
2013-07-20 23:06:41 -07:00
Alex Rønne Petersen 16d2bcaa37 libgc: Use GCC atomics on ARM.
This is to ensure that if the runtime is compiled for e.g.
ARM v4 or v5, it will use the correct atomics on v6 and v7.
2013-07-21 08:00:58 +02:00
Zoltan Varga 9691284796 Rework the x86 lmf code to use stores instead of pushes, and to be more consistent with the code on other platforms. 2013-07-20 17:32:11 +02:00
Zoltan Varga 0938c69a52 Generate the push/pop LMF code as IR on architectures which support it. Currently only used on amd64. 2013-07-20 16:05:48 +02:00
Marek Safar 5e1c9a8ffe Fix indexer member formating 2013-07-20 11:15:06 +02:00
Marek Safar b166ec8b48 Fixes failing tests 2013-07-20 09:18:58 +02:00
Marek Safar 354027fe22 Schedule internal delay task on default scheduler only. Fixes #13318 2013-07-20 09:18:58 +02:00
Marek Safar 929bdf2f1d Lazy initialization of type parameters expanded interfaces. Fixes #13324 2013-07-20 09:18:57 +02:00
Zoltan Varga f8bf28804c Another attempt at fixing mono_atomic_load_acquire() on MSVC. Fixes #13340. 2013-07-20 06:05:49 +02:00
Alex Rønne Petersen 4e54e9e05f Enable GCC atomics on mips. 2013-07-20 03:03:55 +02:00
Alex Rønne Petersen 920d873ff3 Enable GCC atomics on arm. 2013-07-20 03:03:55 +02:00
Alex Rønne Petersen 93acdb1fcc Enable GCC atomics on ppc and ppc64. 2013-07-20 03:03:55 +02:00
Alex Rønne Petersen 579148e2d6 Enable GCC atomics on x86 and amd64. 2013-07-20 03:03:55 +02:00
Alex Rønne Petersen 778fc600e0 Use GCC atomics when USE_GCC_ATOMIC_OPS is defined.
We still prefer Windows.h functions when compiling for Windows, and
MSVC intrinsics for memory barriers when compiling with MSVC.
2013-07-20 03:03:55 +02:00
Alex Rønne Petersen ca747a3a1c PowerPC build fix in mono-hwcap-ppc. 2013-07-20 03:03:55 +02:00
Alex Rønne Petersen 80b8412a11 configure: Remove obsolete FIXME comment. 2013-07-20 03:03:54 +02:00
Alex Rønne Petersen 27c3736aac Add a MONO_VERBOSE_HWCAP environment variable.
This causes detected hardware features to be printed to stdout.
2013-07-20 03:03:54 +02:00
Alex Rønne Petersen a256df77aa Remove now-unneeded mono_aot_only guard around mono_hwcap_init ().
We no longer use the code manager in any of the hwcap implementations,
so we don't need to disable the hwcap infrastructure in full-aot mode.
2013-07-20 03:03:54 +02:00
Alex Rønne Petersen 24c84e6f31 Remove the JIT-ed CPUID hack from mono-hwcap-x86.
A proper workaround for the 32-bit PIC issue exists: Using xchg to
unclobber EBX which is used by the compiler. This means we can just
use inline assembly to issue the instruction, eliminating the hack
where we JIT-compiled a function to do the CPUID.

This patch also makes it so that we use MSVC's __cpuid intrinsic
on both 32-bit and 64-bit x86 since it's available on both.
2013-07-20 03:03:54 +02:00
Alex Rønne Petersen 08d4170b8c Check for sys/auxv.h and only use it if available. 2013-07-20 03:03:54 +02:00
Alex Rønne Petersen bfefbf3460 Make all Mini back ends use mono-hwcap for CPU feature detection.
Also some related cleanup as a result of this.
2013-07-20 03:03:54 +02:00
Zoltan Varga 5e9f57b92f Remove the async hacks from the gsharedvt code, gsharedvt can now handle async methods, and the infrastructure methods they use. 2013-07-19 20:53:16 +02:00
Zoltan Varga cfb36e518a Share byref arguments in runtime invoke signatures with int&. Remove the restrictions on sharing runtime invoke wrappers of valuetype instance methods, its not longer needed. 2013-07-19 20:52:12 +02:00
Zoltan Varga 50faec743e Properly null terminate strings in mono_dwarf_escape_path (). Fixes #13050. 2013-07-19 17:55:24 +02:00
Sebastien Pouliot 0b09bfc495 Disable TestDisposeOnCallback for MONOTOUCH, the test does not really work as the state is null (and throws in a separate thread) 2013-07-19 09:38:58 -04:00
Zoltan Varga 0de54a335a Avoid calling mono_domain_free () in a cross-compiler, it causes a GC, and the unwind infrastructure is not properly set up when cross-compiling. 2013-07-18 19:52:31 +02:00
Mark Probst be1042379a Simplify emit_write_barrier().
We have two ways of passing in the value - by MonoInst* and by register.
Remove the second and always pass a MonoInst*.
2013-07-18 10:38:24 -07:00
Marek Safar bb6cd4b722 Add nested partial types inside nested partial types to AST. Fixes #13316 2013-07-18 14:42:12 +02:00
Marek Safar 37bad99b16 Nested partial type inside generic class can have base type defined later than current type inflation happens. Fixes #13289 2013-07-18 10:55:38 +02:00
Marek Safar b92bac52bf Don't try to match lifted equality operators on same reference types 2013-07-18 10:55:37 +02:00
Zoltan Varga ff23e80e3e Fix an overflow if MONO_ZERO_LEN_ARRAY is not 0. Fixes #13233. 2013-07-18 05:36:58 +02:00
Alex Rønne Petersen e19fa7926a Add a mono_hwcap_init () call to parse_optimizations ().
This is necessary because we need hardware features to be
detected by the time we call mono_arch_cpu_optimizations ().
2013-07-18 04:17:22 +02:00
Alex Rønne Petersen a3272f7b44 Make mono_hwcap_init () only perform initialization if not already done.
This moves arch-specific initialization to mono_hwcap_arch_init ().
2013-07-18 04:17:22 +02:00
Mark Probst bfd1c73b7d Weaken a race condition in object initialization.
It's still there in a different form, but it's not easy to fix.
2013-07-17 16:26:56 -07:00
Mark Probst 6cd895de20 [sgen] Binary protocol improvements.
Protocol domain unloads, and allow greping for vtable.
2013-07-17 16:26:56 -07:00
Zoltan Varga 645991d363 Add support for constrained calls with one ref parameter to gsharedvt, enought to support AsyncMethodBuilder methods. 2013-07-17 23:54:16 +02:00
Zoltan Varga d1df1729ba Fix a warning. 2013-07-17 23:10:41 +02:00
Zoltan Varga 32be89f0f2 Add support for a simple form of constrained calls to gsharedvt, enough to support AsyncMethodBuilder.Start (). 2013-07-17 23:07:42 +02:00
Zoltan Varga d64dc48f1f Fix a warning. 2013-07-17 23:07:41 +02:00
Rodrigo Kumpera beb9cee5b5 Merge pull request #706 from elijahtaylor/fixdyncode
Fix nacl_dyncode include
2013-07-17 11:09:18 -07:00
Marek Safar 442ccb9676 Merge pull request #705 from alesliehughes/master
Allow TrySetApartmentState to set the same state multiple times.
2013-07-16 23:18:55 -07:00
Alistair Leslie-Hughes 070c3abecf Allow TrySetApartmentState to set the same state multiple times.
License: This patch is under the MIT/X11 license.
2013-07-17 15:22:54 +10:00
Alex Rønne Petersen 8f9a0185b3 mono-hwcap: Add ARM version detection for iOS. 2013-07-17 04:59:23 +02:00
Zoltan Varga 9999ea4a68 Avoid printing an extra newline when printing fp results while tracing. 2013-07-16 23:45:42 +02:00
Mark Probst aef4b77ea7 Fix race conditions in finalizer/weak link staging. 2013-07-16 14:41:40 -07:00
Elijah Taylor 614f3f9049 Fix nacl_dyncode include 2013-07-16 14:14:31 -07:00
Zoltan Varga fc1145ae84 Fix MONO_GC_DEBUG=collect-before-allocs. mono_gc_alloc_obj_nolock () was not called for the majority of allocations. 2013-07-16 18:54:14 +02:00
Zoltan Varga e90505c29f Fix the dependencies of the corlib test suite so the test suite is not rebuilt every time. 2013-07-16 16:17:01 +02:00
Zoltan Varga 1eff479c71 Fix a crash in thread_suspend_func () if the thread has no tls set. 2013-07-16 16:17:01 +02:00
Marek Safar b65deac489 Remove redundant status capturing 2013-07-16 10:13:27 +02:00
Marek Safar 20aaf27c90 Fixes scheduling of non-inlined sychronous continuations. 2013-07-16 10:00:15 +02:00
Zoltan Varga 453654552e Avoid an assert in mono_save_seq_point_info () if no seq points are generated for a method, as in wrappers in android. Hopefully fixes #12995. 2013-07-15 22:15:06 +02:00
Zoltan Varga b652b273af Make wrappers whose signature is static static. 2013-07-15 20:54:09 +02:00
Zoltan Varga 61923824ce Fix synchronized_generic_cache. 2013-07-15 20:34:39 +02:00
Sebastien Pouliot 1c7fc8195f Escape the .file path name generated in the asembly code. clang does not mind, but gcc does 2013-07-15 20:24:05 +02:00
Zoltan Varga 9d719ab6d0 Put the unbox_trampolines table into the .text segment instead of .rodata on mt since it contains code. 2013-07-15 20:09:53 +02:00
Rodrigo Kumpera b7bed40197 [runtime] Add a fallback on the TLS probing code that does a range scan in the pthread structure. 2013-07-15 12:36:16 -04:00
Rodrigo Kumpera 56e1d8fca6 Bump master version to 3.3.0. 2013-07-15 12:36:13 -04:00
Alex Rønne Petersen 846d80f19e Avoid using dmb/dsb/dib instructions on ARM v6.
This only worked by accident before the HAVE_ARMV<N>
changes because __ARM_ARCH_6__ is never defined by
any compiler.
2013-07-15 16:48:59 +02:00
Zoltan Varga 8f99af4eec Remove test-sgen from make check in tests/, it takes too much time. 2013-07-15 16:36:53 +02:00
Zoltan Varga b511f6d141 Fix gshared synchronized wrappers for static methods. 2013-07-15 16:36:25 +02:00
Marek Safar 9694eb7dbd Implement webrequest cancellation. Fixes #13200 2013-07-15 14:12:25 +02:00
Yuriy Solodkyyy 946e182bd9 There was a long discussion on a mailing list about the async-socket problem
in mono. We have previously submitted a patch fixing the problem, however it
was later reverted back as causing deadlocks in some cases.

This patch is very close to the original one, but it takes into account how
tpool-thread operates and avoids deadlocks in this code. (Unfortunately, it
probably makes the code a little less readable, but it works).

So, this patch aims to fix several races in the mono code. These problems are
not relevant for a lot of applications as they can appear only if both read
and write operations are active on the socket. (I.e. RPC style communications
do not trigger the problem).

So, there are two major problems with existing mono code:

a) threadpool.c :: socket_io_add

LeaveCriticalSection (&data->io_lock);
data->modify (data->event_data, fd, state->operation, ievt, is_new);

the problem is that data modify receives ievt and is_new arguments which
may be already outdated due to the concurrent operation on the same socket
(read vs. write).

(If you look at the other part of the operation in
tpool_epoll.c :: tp_epoll_wait updates the epoll settigs under the lock.)

b) The epoll implementation uses the following code to change the epoll
settings in the data->modify handler.

if (epoll_ctl (data->epollfd, epoll_op, fd, &evt) == -1) {
  int err = errno;
  if (epoll_op == EPOLL_CTL_ADD && err == EEXIST) {
    epoll_op = EPOLL_CTL_MOD;
    if (epoll_ctl (data->epollfd, epoll_op, fd, &evt) == -1) {
      g_message ("epoll_ctl(MOD): %d %s", err, g_strerror (err));
    }
  }
}

Here we have the same problem. If concurrent operation updates epoll between
first epoll_ctl and the second epoll_ctl the second will override concurrent
update.

These problems result in missing callbacks on async socket send or receive
completion

The original idea was as simple as just move the data->modify under the lock.
(NOTE: both internal associated list and epoll are updated under the lock in
case of data->wait (see tp_epoll_wait).

As i already noted it causes a problem for tpool_poll.c implementation as it
uses different approach than epoll/kqueue.

This patch still invokes data->modify under the lock, but allow implementation
to release lock at the point where it is appropriate for the given
implementation.

The tpool-poll.c releases lock immediately and thus its behavior remains
unchanged (and it still has a problem of missing send/receive callbacks)

The tpool-epoll/kqueue implementations update their internal structures and
corresponding OS level structures under the locks (as _wait does). This change
makes them reliable in simultaneous socket read/write scenarios.

The following code demonstrates the problem. See readme inside.

https://github.com/ysw/mono-socket-problem/tree/master/SocketTest

NOTE: you need at least 4 coresto reliably reproduce the problem.

It is quite hard to reproduce on OSX, but it is easy reproducible in LINUX.

This commit is licensed under MIT/X11.
2013-07-15 00:16:23 +03:00
Alex Rønne Petersen bf6a13bcb4 Merge pull request #700 from jack-pappas/patch-1
Call 'awk' instead of 'gawk' for cross-platform compatibility.
2013-07-14 13:56:16 -07:00
Atsushi Eno 132a16ca07 Revert "Merge pull request #622 from killabytenow/master"
This reverts commit 392bae3c45, reversing
changes made to 61cd9ee8b6.
2013-07-13 23:56:59 +09:00
Jack Pappas 5e497f0de4 Call 'awk' instead of 'gawk' for cross-platform compatibility.
Call `awk` instead of `gawk` for cross-platform compatibility. Linux systems normally have a symbolic link from `awk` to `gawk`, so there should be no difference in the functionality on those systems.
2013-07-13 07:56:24 -04:00
Alex Rønne Petersen fab9077c17 configure: Also consider __ARM_ARCH_7S__ when checking for ARM v7.
This is defined by Apple's iOS gcc with -arch armv7s.
2013-07-12 20:39:02 +02:00
Jeffrey Stedfast fb2546951c Prevent potential integer overflows in SortedList's binary search midpoint calculation 2013-07-12 14:05:55 -04:00
Marek Safar 238785a3e3 Don't eat exception from timer handler (this is system timer not SWF timer) 2013-07-12 17:44:53 +02:00
Marek Safar 479cfc6980 Prefer user operators over predefined operators for binary enum operations too. Fixes #13202 2013-07-12 16:23:01 +02:00
Marek Safar 035214bee1 Allow async for explicitly implemented interface methods. Fixes #13197 2013-07-12 15:13:42 +02:00
Martin Baulig 5b8a026a06 .spec file, again. 2013-07-12 10:43:53 +02:00
Atsushi Eno 392bae3c45 Merge pull request #622 from killabytenow/master
UTF8 encoding/decoding improvements
2013-07-11 22:17:05 -07:00
Alex Rønne Petersen 61cd9ee8b6 Replace more __ARM_ARCH_... checks with HAVE_ARMV<N>. 2013-07-12 00:03:02 +02:00
Gerardo García Peña 2e6266606a Reverted changes of commit 6ad7f75a37 2013-07-11 23:52:35 +02:00
Gerardo García Peña 22892bc401 Better and more homogeneous error handling. 2013-07-11 23:49:47 +02:00
Alex Rønne Petersen f99f84a429 Add ARM version detection to configure and use the resulting macros.
This defines ARM_VERSION_{5,6,7}. Several of these can be
defined at once. For example ARM_VERSION_5 and ARM_VERSION_6
will both be defined if the target is an ARM v6 CPU.

Previously, we defined HAVE_ARMV6 based on running a program.
This obviously didn't work for cross-compilation. This new
approach does, and detects more cases (v5, v6, v7) than the
previous check (v6).
2013-07-11 22:11:29 +02:00
Alex Rønne Petersen 718ceb8601 Add a mono-hwcap module to utils.
This is an attempt to unify all the ad-hoc CPU feature
detection we do all over the codebase (mostly in Mini
back ends). It will also be used to detect and use SMP
instructions on older ARM devices (we need this info in
utils/, not just in mini/).

Each architecture has a mono-hwcap-$TARGET.h header if
it has specified one. So for example, if you want to
find out if a VFP unit is available on ARM, you would
include mono-hwcap-arm.h and read mono_hwcap_arm_has_vfp.
Remember to guard inclusions of these files with a check
along the lines of:

    #ifdef TARGET_ARM
    #include "mono/utils/mono-hwcap-arm.h"
    /* ... */
    #endif

Architectures that don't specify a file simply get an
empty implementation with no feature variables. This
empty implementation is also used if Mono itself is
compiled as a cross compiler.

Initialization of the mono-hwcap module is done in the
mini_init () function in mini/mini.c, very early in the
startup process. So in general, calling it is not needed.
2013-07-11 20:12:01 +02:00
Alex Rønne Petersen de60d57559 Fix the tests makefile. 2013-07-11 19:56:06 +02:00
Gerardo García Peña 54f3f6ae21 If 'flush' flag is enabled when calling decoding/encoding function, flush buffer when input run out (satisfies test 'SufficientByteArray'). 2013-07-11 18:54:11 +02:00
Alex Rønne Petersen 5de235b376 Fix (hopefully) the last architecture casing inconsistency. 2013-07-11 18:43:22 +02:00
Alex Rønne Petersen 233e828938 Remove an m68k check from configure. 2013-07-11 18:43:21 +02:00
Alex Rønne Petersen 4ce97be553 Fix an s390x check broken by faff4654c8. 2013-07-11 18:43:21 +02:00
Alex Rønne Petersen fa69e58cc6 Add missing TARGET_* defines for SPARC and Itanium. 2013-07-11 18:43:20 +02:00
Martin Baulig cee5749a81 Oops, remove extra %endif in .spec file. 2013-07-10 18:09:14 +02:00
Martin Baulig 1f337115cd [PCL]: Add System.Linq.Expressions type-forwarders. 2013-07-10 17:00:14 +02:00
Martin Baulig 83ed15e19d Add libmonoboehm package to the spec file. 2013-07-10 16:46:53 +02:00
Marek Safar 24f08876a8 Ignore only local Makefile 2013-07-10 16:26:26 +02:00
Gerardo García Peña 9d55be425d An #if has been negated (bugfix) 2013-07-10 11:26:26 +02:00
Alex Rønne Petersen 9645cd9249 Add atomic.c/.h to libmonoutils.vcxproj. 2013-07-10 06:56:52 +02:00
Alex Rønne Petersen faff4654c8 configure: Set TARGET=S390X instead of S390x for consistency. 2013-07-10 06:56:51 +02:00
Alex Rønne Petersen 938d3fa4cb Merge pull request #695 from jack-pappas/patch-4
Fix preprocessor/compiler warning due to unbalanced apostophe (') character
2013-07-09 21:27:40 -07:00
Jack Pappas 208d5648fe Fix preprocessor/compiler warning due to unbalanced apostophe (') character
Reworded the warning message to be displayed when the fall-through case is taken by the preprocessor in `mono_thread_get_stack_bounds()`.
2013-07-09 21:44:19 -04:00
Sebastien Pouliot de00f9d473 Ensure the new FileStream unit tests does not throw in the non-main thread (which nunit-console won't report but other tools, like Touch.Unit, will) 2013-07-09 20:17:37 -04:00
Rodrigo Kumpera 29cb82c254 Use a non rooted symlink and make it point to the right mono. 2013-07-09 18:28:58 -04:00
Rodrigo Kumpera 2e6f26e1a8 [runtime]Revert the fast tls check as we always need it on mach. Add another iOS 7 offset. 2013-07-09 18:22:01 -04:00
Martin Baulig 5fd4d99fe8 Bump libmonosgen version in the .spec file. 2013-07-10 00:05:28 +02:00
Martin Baulig 66fb7ce67e [build]: Use a relative symlink from mono to mono-sgen. 2013-07-09 22:48:19 +02:00
Rodrigo Kumpera 2172220087 Merge pull request #694 from madewokherd/pthreadinclude
Don't include pthread.h when it's not needed.
2013-07-09 13:19:54 -07:00
Alex Rønne Petersen 35aec39910 Fix a #define style issue in mini.c.
Introduced in d401698972.
2013-07-09 22:17:12 +02:00
Alex Rønne Petersen 251c170d3f Only require mono_arch_is_soft_float () to be defined when needed.
Now, only ports that define MONO_ARCH_SOFT_FLOAT_FALLBACK have to
provide this function. For ports that don't define this, a default
function is provided that returns FALSE.
2013-07-09 22:17:12 +02:00
Alex Rønne Petersen f0ae724eaf Add an MSVC branch to MONO_ALWAYS_INLINE. 2013-07-09 22:17:12 +02:00
Rodrigo Kumpera 1a552aefd4 [runtime] On mach-arm don't probe for tls offsets if the runtime was not built with support for fast tls. 2013-07-09 15:49:51 -04:00
Alex Rønne Petersen d401698972 Change the way we do soft float to a fallback mechanism.
MONO_ARCH_SOFT_FLOAT previously meant that a back end was using
soft float unconditionally. It's now MONO_ARCH_SOFT_FLOAT_FALLBACK
and actually indicates whether the back end has a soft float
fallback compiled in - not necessarily that it's used.

A new port function has been added:

    gboolean mono_arch_is_soft_float (void) MONO_INTERNAL;

This function is what actually tells Mini whether the back end is
going to use soft float. If MONO_ARCH_SOFT_FLOAT_FALLBACK is not
defined, it must return FALSE. Otherwise, it should return TRUE or
FALSE depending on whether the back end determines that the hardware
supports floating point. Once mono_arch_init () has been called,
the value returned from this function must be constant for the rest
of the VM's lifetime.

For example, on ARM, we now try to detect VFP via /proc/self/auxv
or /proc/cpuinfo and, if found, return FALSE from the function. This
only applies to Linux and Android as iOS always has VFP.

It's important to note that if the runtime is built with the 'softfp'
or 'hard' ABIs, the soft float fallback is not compiled in, as the
runtime is assumed to only be executed on VFP-capable systems.

Finally, the ARM feature detection code has been moved from the
mono_arch_cpu_optimizations () function to mono_arch_init () so that
FPU detection/initialization is done in one place.
2013-07-09 19:27:57 +02:00
Rodrigo Kumpera 4bed597229 [build] Add dep tracking between Makefile.am.in and Makefile.am when the extension module is disabled. 2013-07-09 13:22:01 -04:00
Rodrigo Kumpera 66ce1e4960 [runtime]On install, symlink mono to the right binary. 2013-07-09 13:22:00 -04:00
Martin Baulig 77dc2ebb66 Fix the spec file; we don't create any .mdb's for the PCL Facades anymore. 2013-07-09 18:37:34 +02:00
Vincent Povirk 6f54e4a2fc Don't include pthread.h when it's not needed.
Fixes mingw-w64 build.

This commit is licensed under MIT/X11.
2013-07-09 11:30:06 -05:00
Alex Rønne Petersen ec3513c3fd Merge pull request #692 from jack-pappas/patch-2
Use the NI_MAXHOST constant to initialize the size of the hostname buffer.
2013-07-09 08:49:58 -07:00
Alex Rønne Petersen 0e67acba31 MIPS: Set USE_MUL to 0 by default (for now).
Setting it to 1 breaks on Loongson CPUs which are the most common
desktop MIPS CPUs supported by e.g. Debian.

This change can be reverted when more investigation is done to find
out why exactly this breaks.

Thanks to Jo Shields (@directhex) for lots of testing and debugging
and spotting this define that turned out to be the culprit.
2013-07-09 16:48:15 +02:00
Gerardo García Peña 04ffec1684 Added new test for checking EncoderFallbackException exception behaviour. 2013-07-09 16:22:37 +02:00
Marek Safar c7e874a982 Merge pull request #693 from jack-pappas/patch-3
Print diagnostic messages for platform detection
2013-07-09 05:42:18 -07:00
Jack Pappas 24ac85a90f Print diagnostic messages for platform detection
Print some diagnostic messages when running 'make' on this file, so it's clear when a platform has not been explicitly specified and we're going to compile with a platform value which has been automatically selected.
2013-07-09 08:35:26 -04:00
Jack Pappas cf1f9138eb Use the NI_MAXHOST constant to initialize the size of the hostname buffer.
The NI_MAXHOST constant should be used when creating the hostname buffer to avoid potential buffer overflows.
2013-07-09 08:12:41 -04:00
Marek Safar 871a24a580 Update test name 2013-07-09 11:14:56 +02:00
Marek Safar 4ce0e7e848 Equality structural comparer needs to do recursive comparisons. Fixes #13110 2013-07-09 11:12:33 +02:00
Marek Safar d7fe5b8a89 Update failing test 2013-07-09 10:47:29 +02:00
Marek Safar 2ab53f953f Update member access completion after e40775d0dc 2013-07-09 10:44:15 +02:00
Rodrigo Kumpera 5dd394c77c [runtime] Don't return success on invalid parameters, raise an exception instead. 2013-07-08 19:47:45 -04:00
Zoltan Varga fb9400fd06 Place the method_addresses symbol into the .text segment on mt, not rodata, since it is actually code. 2013-07-09 00:26:49 +02:00
Rodrigo Kumpera 7ff2a90ad5 Bump mono to 3.1.1 2013-07-08 18:15:01 -04:00
Gerardo García Peña ef205e5df2 Added new test for checking DecoderFallbackException exception behaviour. 2013-07-08 23:31:06 +02:00
Marek Safar 0ec1a19ac7 Update after newline update 2013-07-08 23:11:50 +02:00
Zoltan Varga fc7ceab083 Remove the constraint checks from get_shared_inst (), it is no longer needed since we replace gsharedvt arguments with a vtype now. Fixes #12727. 2013-07-08 22:30:16 +02:00
Zoltan Varga a872ebb614 Make the synchronized wrappers static if the original method was static. Fixes shared-generic-synchronized.2.exe. 2013-07-08 18:24:51 +02:00
Marek Safar 71739e6420 Updated gitignore 2013-07-08 18:13:21 +02:00
Zoltan Varga 9e8e9a6d36 Add a test for #12110. 2013-07-08 17:13:52 +02:00
Marek Safar 75f4e90d4b Revert "Revert "Revert "Merge"""
This reverts commit 5705602f1b.
2013-07-08 17:01:47 +02:00
Marek Safar 5705602f1b Revert "Revert "Merge""
This reverts commit ed1838b4e7.
2013-07-08 17:00:36 +02:00
Marek Safar ed1838b4e7 Revert "Merge"
This reverts commit cbe746f29f.
2013-07-08 16:58:33 +02:00
Marek Safar cbe746f29f Merge 2013-07-08 16:49:13 +02:00
Andreas Auerswald a4edd897b5 Add TimeZoneInfo Serialization
Add serialization for the TimeZoneInfo, TimeZoneInfo.AdjustmentRule and TimeZoneInfo.TransitionTime class. It is compatible with the serialization in .Net for cross serialization/deserialization from Mono to .Net and vice versa.

The code in this commit is released under the terms of the MIT/X11 license.
2013-07-08 10:39:51 +02:00
Marek Safar d51dc95fb9 Add test 2013-07-08 09:17:18 +02:00
Marek Safar 6c54381300 Merge pull request #686 from LHCGreg/12971-IsRedirectedAfterSet
Fix behavior of Console.Is*Redirected.
2013-07-07 23:58:15 -07:00
Zoltan Varga f3cc3bf544 Remove some gcc-ism from mono_atomic_load_acquire/release, so it can be compiled by msvc. 2013-07-07 03:47:36 +02:00
Marek Safar 924c7c5514 Merge pull request #690 from akoeplinger/httpruntime-net45
Added handling of 'targetFramework' attribute to HttpRuntime
2013-07-06 08:44:45 -07:00
Alexander Köplinger 9ccd495f33 Added handling of 'targetFramework' attribute (new in .NET 4.5) to HttpRuntime and HttpRuntimeSection 2013-07-06 16:53:22 +02:00
Marek Safar 5c4b348e80 Fixes build 2013-07-06 12:13:18 +02:00
Marek Safar a5ba6ad54d Merge pull request #687 from miniBill/master
Add IISVersion property to HttpRuntime
2013-07-06 00:16:29 -07:00
Leonardo Taglialegne b9cbade24a Add IISVersion property to HttpRuntime 2013-07-06 09:02:20 +02:00
Greg Najda 94660dd77f Improve detecting if a handle is a console on Windows.
Use GetConsoleMode. If it succeeds (returns non-zero) then the handle is a
console. If it fails (returns zero) then the handle is not a console.

The old check, (GetFileType (handle) == FILE_TYPE_CHAR) assumes that a handle
of type FILE_TYPE_CHAR is a console. This falsely reports a handle directed to
NUL as a console.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=12752
2013-07-06 01:10:13 -04:00
Marek Safar be2e73c7e8 Correctly reset buffer for nested asynchronous file stream writes. Fixes #12777 2013-07-05 18:47:22 +02:00
Marek Safar 2d868f3690 Emit additional sequence points for call entry when needed. Fixes #10782 and similars 2013-07-05 14:15:01 +02:00
Marek Safar e40775d0dc Check expression type of resolved expressions too 2013-07-05 14:15:00 +02:00
Greg Najda b5e9e3a965 Fix behavior of Console.Is*Redirected.
Setting Console.Out to a custom stream should not affect the value
of Console.IsOutputRedirected. This is how Microsoft's implementation
behaves.
2013-07-04 21:06:13 -04:00
Zoltan Varga e779592fb6 Make synchronized wrappers of generic methods generic the same way it is done with delegate invokes. 2013-07-05 01:02:10 +02:00
Zoltan Varga 18a3253788 Avoid passing class pointers to some marshal icalls since its not aot compatible. Fixes #12595. 2013-07-04 23:42:07 +02:00
Marek Safar ca1529df5b Interface members are hidden by class members if a type parameter has an effective base other than object 2013-07-04 14:52:25 +02:00
Alex Rønne Petersen 5a161c7d2d Merge pull request #684 from jack-pappas/patch-7
Clean up preprocessor ifdefs in mono_thread_get_stack_bounds and fix the way thread stack information is retrieved on BSD
2013-07-03 18:03:55 -07:00
Zoltan Varga 9bb552dcc0 Disable a failing System.Core test for mt (#12987). 2013-07-04 01:23:33 +02:00
tritao 4beada2892 Added MONO_API macro to annotate and control visibility of public (exported) APIs.
This is especially useful for Windows since this way there is no need to maintain a separate .def file with exports which is usually out-of-sync with the latest revisions. This could also be used to control visibility with GCC/Clang so there would be no need for MONO_INTERNAL (could be removed while changing the default visibility to hidden).
2013-07-04 00:16:31 +01:00
Jack Pappas d63cedf256 Clean up preprocessor ifdefs in mono_thread_get_stack_bounds and fix the way thread stack information is retrieved on BSD
Cleaned up the heavily-nested preprocessor ifdefs. The code within the function was extremely difficult to understand because of the nested preprocessor directives, which has led to a number of avoidable configuration-related bugs. I've de-nested the ifdefs into a mostly-flat style, where we check for each platform just once and the entirety of the code for that platform falls under that single check. This improves the readability of the code and should fix the configuration-related issues on some platforms.

This code also fixes an issue where thread-stack information wasn't retrieved correctly on BSD-based systems; now the platform is detected correctly and the `pthread_attr_get_np` function used to retrieve the information.

This subsumes pull-request #553, which couldn't be merged with the current master branch due to several changes which were made to the `mono_thread_get_stack_bounds` function since that pull request was submitted. This commit also keeps the OpenBSD-related code for auditing purposes, though it may be removed later if testing shows the "generic" BSD handler works for OpenBSD.
2013-07-03 18:51:53 -04:00
Martin Baulig ffe8719327 [xbuild] / [PCL]: Report an error for unsupported / missing PCL Profiles.
We previously only reported a warning, then failed later with tons of
"The predefined type `System.Object' is not defined or imported", which
was very confusing to the user.

We now distinguish between missing Reference Assemblies (ie. none of
them are installed) and the requested profile not being available, reporting
a meaningful error message.
2013-07-03 21:32:14 +02:00
Zoltan Varga 432633827b Update the Mono LLVM EH Frame reading code to match llvm 5f3329c6d97bb765dc54592367087d9ce8cd0040. 2013-07-03 19:45:26 +02:00
Aaron Bockover 42830053e9 Merge branch 'master' into compiler-hooks 2013-07-03 13:42:28 -04:00
Marek Safar 5d36460657 Update ast visitor 2013-07-03 18:38:18 +02:00
Marek Safar e147105e52 Loading of nested type of missing type needs to create another missing type. Fixes #12989 2013-07-03 17:39:50 +02:00
Alex Rønne Petersen 2c5cf355d8 Rename the POSIX MonoThreadInfo::suspend_semaphore field to begin_suspend_semaphore.
Unbreaks the Linux build.
2013-07-03 16:21:35 +02:00
Rodrigo Kumpera 45d70b772a Revert "Remove a duplicate field in mono-threads.h breaking the build on some systems."
This reverts commit 3600480ced.

This the wrong fix.
2013-07-03 09:33:52 -04:00
Marek Safar 0f05bb55f4 Add await support in to evaluator and REPL 2013-07-03 14:57:41 +02:00
Marek Safar b84ad279fb Better exception for unmarked labels 2013-07-03 14:57:40 +02:00
Alex Rønne Petersen 3600480ced Remove a duplicate field in mono-threads.h breaking the build on some systems. 2013-07-03 14:49:13 +02:00
Zoltan Varga 2bc6e4b228 Fix the implementation of sext.i4/zext.i4 for LLVM. Fixes test_0_regress_11058 () on amd64. 2013-07-03 03:44:44 +02:00
Rodrigo Kumpera 51c7b8892d Add regression tests for the last 3 fixes. 2013-07-02 18:50:36 -04:00
Rodrigo Kumpera e2ac2a9e45 [runtime]Replace suspend safe locks with semaphores as darwin's implementation is not reliable.
* mono-threads.c: On OSX, suspend safe locks are subject to a race condition
	where the lock is unlocked but a thread is blocked waiting for it.

	Semaphores are significantly slower as they always transition to the kernel, but given
	the two affected locks are taken very sporadically, there's nothing to worry here.
2013-07-02 18:42:26 -04:00
Rodrigo Kumpera 576dfed659 Introduce MonoThreadInfo::inside_critical_region to avoid suspending threads that are
dealing with suspended threads. One cannot reliably suspend a thread in the middle
of inspecting another one without the risk of deadlocking.

It usually goes like this:

thread 2:
	suspend thread 3, thread 3 is in the middle of some critical code.

thread 1:
	suspend thread 2 while probing for state of 3;
	try to suspend thread 3, fail to resume since it's on critical code.
2013-07-02 18:42:26 -04:00
Rodrigo Kumpera 2fa83f0a8c Suspend the world when cleaning up a domain as it's unsafe to walk the nursery with the world running. 2013-07-02 18:42:26 -04:00
Robin Neatherway c26a40eef7 Fix Bug 4811, xbuild should find xml documentation 2013-07-02 17:26:15 +01:00
Aaron Bockover 96eb32c659 mcs: support for compiler plugins
This patch provides a number of "hooks" for
plugins to use at various phases of compilation
inside the main driver.
2013-07-01 16:14:05 -04:00
Gerardo García Peña 72ed65fdd8 Added counter mode in InternalGetChars.
Added methods InternalGetCharsCount and InternalGetCharsEncode for improving readability.
Accept zero-length input buffer in 'InternalGetBytesDecode/Count' for processing void char buffers.
Removed a redundant 'unsafe' keyword.
2013-05-23 17:12:02 +02:00
Gerardo García Peña bf9b74f05a bugfix: accept zero-length input buffer in 'InternalGetChars' for building void strings. 2013-05-23 15:57:38 +02:00
Gerardo García Peña c22ce0e053 Reverted all changes in 'System.Text/Encoding.cs' and disabled the emitIdentifier feature in the new 'System.Text/UTF8Encoding.cs'. 2013-05-23 15:43:27 +02:00
Gerardo García Peña 34aa103a3c Added counter mode in InternalGetBytes.
Added methods InternalGetBytesCount and InternalGetBytesEncode for improving readability.
2013-05-23 15:39:12 +02:00
Gerardo García Peña ade6a99d9e By default return an 'UTF8Unmarked' object. Removed unused 'utf8EncodingWithMarkers' attribute. 2013-05-23 12:53:15 +02:00
Gerardo García Peña 6ad7f75a37 in test SufficientByteArray() when !NET_2_0 unexpected exceptions should be forwarded. 2013-05-23 08:43:13 +02:00
Gerardo García Peña ce246f6a5b - improved flush handling in encoder/decoder for fixing regression bug #565129
- fixed some checks to satisfy test 'ConvertZeroCharacters'.
2013-05-22 18:53:13 +02:00
Gerardo García Peña 062dfd03eb Accept a null input/output buffer in InternalGetBytes()/InternalGetChars() if its length is zero.
Throw ArgumentException in GetBytes()/GetChars() if no enough output buffer space.
2013-05-21 15:51:18 +02:00
Gerardo García Peña d624211706 MS.NET implementation returns 1000 not 625. 2013-05-21 13:43:23 +02:00
Gerardo García Peña b87ca2196c bugfixed returned charsUsed counter 2013-05-21 13:41:13 +02:00
Gerardo García Peña 05643bef22 MS.NET implementation returns 1000 not 625. 2013-05-21 12:26:49 +02:00
Gerardo García Peña 34222916bf Merge branch 'master' of https://github.com/mono/mono 2013-04-29 13:02:18 +02:00
Gerardo García Peña 4c7bcaaca3 some minor code style changes 2013-04-29 08:30:55 +02:00
Gerardo García Peña c9e3b37bb8 Disable BOM preamble in UTF8 by default (following best practices). 2013-04-29 08:09:23 +02:00
Gerardo García Peña b07a494bb6 Merge remote-tracking branch 'upstream/master' 2013-04-25 08:40:45 +02:00
Gerardo García Peña a93fa79df7 Rewrite of core coder & decoder functions to fix several bugs and limitations, and improve error handling. 2013-04-25 07:58:49 +02:00
Gerardo García Peña 1eb5cd8654 removed index check because (1) it cannot be checked in this context and (2) it
only explains when a bad sequence started in the current or past buffer (in
this case it would take a negative value).
2013-04-12 00:12:29 +02:00
Gerardo García Peña 026a80eea2 removed index check because (1) it cannot be checked in this context and (2) it
only explains when a bad sequence started in the current or past buffer (in
this case it would take a negative value).
2013-04-12 00:06:16 +02:00
Gerardo García Peña e62924259a Implemented method 'IsUnknownSurrogate()'. 2013-04-03 17:26:14 +02:00
Gerardo García Peña 8f6a053b80 Refactorized Convert(char[], int, ...) to use the pointer version. 2013-04-03 17:24:35 +02:00
Gerardo García Peña a0a12c128d Refactorized convert(byte[], int, ...), now uses the pointer version. 2013-04-03 17:21:58 +02:00
Jonathan Shore e6b8be8cba minor fix for bug 9520:
- socket configuration attempts to determine if system supports ipv6
- checks app configuration, but configuration throws exception if called from embedded context
- solution is to put a try/catch guard and fall to an alternative test for ipv6
2013-03-16 11:34:59 -04:00
Vincent Povirk 3a44c65b03 Ignore the gdiplus dllmap on Windows. 2013-03-02 13:54:47 -06:00
Peter Collingbourne 6c620c74f3 X11: improve handling of WS_EX_TOPMOST
Currently, WS_EX_TOPMOST is handled by making the window transient-for
the root window.  I was unable to find any documentation that indicated
that this would have the desired effect.  Instead, use SetTopmost to
set _NET_WM_STATE to _NET_WM_STATE_ABOVE, per EWMH.

Also, use XMapRaised to raise topmost windows to the top of the stack
when mapped, as a last ditch effort to support window managers that
do not respect _NET_WM_STATE, such as xmonad.

This fixes an issue I encountered when running a winforms application
in xmonad, whereby drop down menus would fail to re-open if windows
had been re-arranged after the menu was first opened (in reality,
the menu was hiding behind the form).
2012-04-09 02:22:37 +01:00
Peter Collingbourne 2f04977242 Cause MenuDeactivate event to be delivered when appropriate
This is achieved by moving the FireMenuDeactivate call to
MenuStrip.Dismiss and causing it to be called in a couple of places
where it ought to be.
2012-04-02 05:52:21 +01:00
1329 changed files with 42197 additions and 13893 deletions

No files matched your search

+2 -1
View File
@@ -55,7 +55,7 @@ _ReSharper*/
~$*
# Autotools-generated files
Makefile
/Makefile
Makefile.in
aclocal.m4
autom4te.cache
@@ -112,6 +112,7 @@ GTAGS
# Mono-specific patterns
##############################################################################
.dirstamp
compile
mono.h
mono-*.tar.*
+7 -30
View File
@@ -1,6 +1,5 @@
ACLOCAL_AMFLAGS = -I m4
MOONLIGHT_SUBDIRS = $(libgc_dir) eglib/src mono
MONOTOUCH_SUBDIRS = $(libgc_dir) eglib/src mono
if CROSS_COMPILING
@@ -12,16 +11,12 @@ else
if ONLY_MONOTOUCH
SUBDIRS = $(MONOTOUCH_SUBDIRS) runtime
else
if ONLY_MOONLIGHT
SUBDIRS = $(MOONLIGHT_SUBDIRS) runtime
else
SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) support data runtime scripts man samples msvc $(docs_dir)
# Keep in sync with SUBDIRS
## 'tools' is not normally built
DIST_SUBDIRS = m4 po libgc eglib mono ikvm-native support data runtime scripts man samples tools msvc docs
endif
endif
endif
all: update_submodules
@@ -32,6 +27,7 @@ update_submodules:
.PHONY: update_submodules
EXTRA_DIST= \
README.md \
LICENSE \
autogen.sh \
build-mingw32.sh \
@@ -92,31 +88,6 @@ mcs-do-compiler-tests:
bootstrap-world: compiler-tests
$(MAKE) install
if MOONLIGHT
moon-do-build: config.h
@list='$(MOONLIGHT_SUBDIRS)'; for subdir in $$list; do \
case "x$$subdir" in \
xmono ) target="moon-do-build";; \
* ) target="all";; \
esac; \
echo "Making $$target in $$subdir"; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \
done;
(cd runtime && $(MAKE) $(AM_MAKEFLAGS) moon-do-build)
moon-do-clean:
@list='$(MOONLIGHT_SUBDIRS)'; for subdir in $$list; do \
case "x$$subdir" in \
xmono ) target="moon-do-clean";; \
* ) target="clean";; \
esac; \
echo "Making $$target in $$subdir"; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \
done;
(cd runtime && $(MAKE) $(AM_MAKEFLAGS) moon-do-clean)
endif
if INSTALL_MONOTOUCH
monotouch-do-build: config.h
@list='$(MONOTOUCH_SUBDIRS)'; for subdir in $$list; do \
@@ -185,3 +156,9 @@ package-inputs:
done
echo "</root>" >> msvc/scripts/order.xml
# Update llvm version in configure.in to the output of $LLVM_DIR/bin/llvm-config --version
update-llvm-version:
if test "x$$LLVM_DIR" = "x"; then echo "Set the make variable LLVM_DIR to the directory containing the LLVM installation."; exit 1; fi
REV=`$(LLVM_DIR)/bin/llvm-config --version` && sed -e "s,expected_llvm_version=.*,expected_llvm_version=\"$$REV\"," < configure.in > tmp && mv tmp configure.in && echo "Version set to $$REV."
-592
View File
@@ -1,592 +0,0 @@
This is Mono.
1. Installation
2. Using Mono
3. Directory Roadmap
4. git submodules maintenance
1. Compilation and Installation
===============================
a. Build Requirements
---------------------
On Itanium, you must obtain libunwind:
http://www.hpl.hp.com/research/linux/libunwind/download.php4
On Solaris, make sure that you used GNU tar to unpack this package, as
Solaris tar will not unpack this correctly, and you will get strange errors.
On Solaris, make sure that you use the GNU toolchain to build the software.
Optional dependencies:
* libgdiplus
If you want to get support for System.Drawing, you will need to get
Libgdiplus. This library in turn requires glib and pkg-config:
* pkg-config
Available from: http://www.freedesktop.org/Software/pkgconfig
* glib 2.4
Available from: http://www.gtk.org/
* libzlib
This library and the development headers are required for compression
file support in the 2.0 profile.
b. Building the Software
------------------------
If you obtained this package as an officially released tarball,
this is very simple, use configure and make:
./configure --prefix=/usr/local
make
make install
Mono supports a JIT engine on x86, SPARC, SPARCv9, S/390,
S/390x, AMD64, ARM and PowerPC systems.
If you obtained this as a snapshot, you will need an existing
Mono installation. To upgrade your installation, unpack both
mono and mcs:
tar xzf mcs-XXXX.tar.gz
tar xzf mono-XXXX.tar.gz
mv mono-XXX mono
mv mcs-XXX mcs
cd mono
./autogen.sh --prefix=/usr/local
make
The Mono build system is silent for most compilation commands.
To enable a more verbose compile (for example, to pinpoint
problems in your makefiles or your system) pass the V=1 flag to make, like this:
make V=1
c. Building the software from GIT
---------------------------------
If you are building the software from GIT, make sure that you
have up-to-date mcs and mono sources:
If you are an anonymous user:
git clone git://github.com/mono/mono.git
If you are a Mono contributors with read/write privileges:
git clone [email protected]:mono/mono.git
Then, go into the mono directory, and configure:
cd mono
./autogen.sh --prefix=/usr/local
make
For people with non-standard installations of the auto* utils and of
pkg-config (common on misconfigured OSX and windows boxes), you could get
an error like this:
./configure: line 19176: syntax error near unexpected token `PKG_CHECK_MODULES(BASE_DEPENDENCIES,' ...
This means that you need to set the ACLOCAL_FLAGS environment var
when invoking autogen.sh, like this:
ACLOCAL_FLAGS="-I $acprefix/share/aclocal" ./autogen.sh --prefix=/usr/loca
where $acprefix is the prefix where aclocal has been installed.
This will automatically go into the mcs/ tree and build the
binaries there.
This assumes that you have a working mono installation, and that
there's a C# compiler named 'mcs', and a corresponding IL
runtime called 'mono'. You can use two make variables
EXTERNAL_MCS and EXTERNAL_RUNTIME to override these. e.g., you
can say
make EXTERNAL_MCS=/foo/bar/mcs EXTERNAL_RUNTIME=/somewhere/else/mono
If you don't have a working Mono installation
---------------------------------------------
If you don't have a working Mono installation, an obvious choice
is to install the latest released packages of 'mono' for your
distribution and running autogen.sh; make; make install in the
mono module directory.
You can also try a slightly more risky approach: this may not work,
so start from the released tarball as detailed above.
This works by first getting the latest version of the 'monolite'
distribution, which contains just enough to run the 'mcs'
compiler. You do this with:
# Run the following line after ./autogen.sh
make get-monolite-latest
This will download and automatically gunzip and untar the
tarball, and place the files appropriately so that you can then
just run:
make EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/gmcs.exe
And that will use the files downloaded by 'make get-monolite-latest.
Testing and Installation
------------------------
You can run (part of) the mono and mcs testsuites with the command:
make check
All tests should pass.
If you want more extensive tests, including those that test the
class libraries, you need to re-run 'configure' with the
'--enable-nunit-tests' flag, and try
make -k check
Expect to find a few testsuite failures. As a sanity check, you
can compare the failures you got with
https://wrench.mono-project.com/Wrench/
You can now install mono with:
make install
You can verify your installation by using the mono-test-install
script, it can diagnose some common problems with Mono's install.
Failure to follow these steps may result in a broken installation.
d. Configuration Options
------------------------
The following are the configuration options that someone
building Mono might want to use:
--with-sgen=yes,no
Generational GC support: Used to enable or disable the
compilation of a Mono runtime with the SGen garbage collector.
On platforms that support it, after building Mono, you
will have both a mono binary and a mono-sgen binary.
Mono uses Boehm, while mono-sgen uses the Simple
Generational GC.
--with-gc=[boehm, included, sgen, none]
Selects the default Boehm garbage collector engine to
use, the default is the "included" value.
included:
This is the default value, and its
the most feature complete, it will allow Mono
to use typed allocations and support the
debugger.
It is essentially a slightly modified Boehm GC
boehm:
This is used to use a system-install Boehm GC,
it is useful to test new features available in
Boehm GC, but we do not recommend that people
use this, as it disables a few features.
none:
Disables the inclusion of a garbage
collector.
--with-tls=__thread,pthread
Controls how Mono should access thread local storage,
pthread forces Mono to use the pthread APIs, while
__thread uses compiler-optimized access to it.
Although __thread is faster, it requires support from
the compiler, kernel and libc. Old Linux systems do
not support with __thread.
This value is typically pre-configured and there is no
need to set it, unless you are trying to debug a
problem.
--with-sigaltstack=yes,no
Experimental: Use at your own risk, it is known to
cause problems with garbage collection and is hard to
reproduce those bugs.
This controls whether Mono will install a special
signal handler to handle stack overflows. If set to
"yes", it will turn stack overflows into the
StackOverflowException. Otherwise when a stack
overflow happens, your program will receive a
segmentation fault.
The configure script will try to detect if your
operating system supports this. Some older Linux
systems do not support this feature, or you might want
to override the auto-detection.
--with-static_mono=yes,no
This controls whether `mono' should link against a
static library (libmono.a) or a shared library
(libmono.so).
This defaults to yes, and will improve the performance
of the `mono' program.
This only affects the `mono' binary, the shared
library libmono.so will always be produced for
developers that want to embed the runtime in their
application.
--with-xen-opt=yes,no
The default value for this is `yes', and it makes Mono
generate code which might be slightly slower on
average systems, but the resulting executable will run
faster under the Xen virtualization system.
--with-large-heap=yes,no
Enable support for GC heaps larger than 3GB.
This value is set to `no' by default.
--enable-small-config=yes,no
Enable some tweaks to reduce memory usage and disk footprint at
the expense of some capabilities. Typically this means that the
number of threads that can be created is limited (256), that the
maxmimum heap size is also reduced (256 MB) and other such limitations
that still make mono useful, but more suitable to embedded devices
(like mobile phones).
This value is set to `no' by default.
--with-ikvm-native=yes,no
Controls whether the IKVM JNI interface library is
built or not. This is used if you are planning on
using the IKVM Java Virtual machine with Mono.
This defaults to `yes'.
--with-profile4=yes,no
Whether you want to build the 4.x profile libraries
and runtime.
It defaults to `yes'.
--with-moonlight=yes,no
Whether you want to generate the Silverlight/Moonlight
libraries and toolchain in addition to the default
(1.1 and 2.0 APIs).
This will produce the `smcs' compiler which will reference
the Silverlight modified assemblies (mscorlib.dll,
System.dll, System.Code.dll and System.Xml.Core.dll) and turn
on the LINQ extensions for the compiler.
--with-moon-gc=boehm,sgen
Select the GC to use for Moonlight.
boehm:
Selects the Boehm Garbage Collector, with the same flags
as the regular Mono build. This is the default.
sgen:
Selects the new SGen Garbage Collector, which provides
Generational GC support, using the same flags as the
mono-sgen build.
This defaults to `boehm'.
--with-libgdiplus=installed,sibling,<path>
This is used to configure where should Mono look for
libgdiplus when running the System.Drawing tests.
It defaults to `installed', which means that the
library is available to Mono through the regular
system setup.
`sibling' can be used to specify that a libgdiplus
that resides as a sibling of this directory (mono)
should be used.
Or you can specify a path to a libgdiplus.
--disable-shared-memory
Use this option to disable the use of shared memory in
Mono (this is equivalent to setting the MONO_DISABLE_SHM
environment variable, although this removes the feature
completely).
Disabling the shared memory support will disable certain
features like cross-process named mutexes.
--enable-minimal=LIST
Use this feature to specify optional runtime
components that you might not want to include. This
is only useful for developers embedding Mono that
require a subset of Mono functionality.
The list is a comma-separated list of components that
should be removed, these are:
aot:
Disables support for the Ahead of Time
compilation.
attach:
Support for the Mono.Management assembly and the
VMAttach API (allowing code to be injected into
a target VM)
com:
Disables COM support.
debug:
Drop debugging support.
decimal:
Disables support for System.Decimal.
full_messages:
By default Mono comes with a full table
of messages for error codes. This feature
turns off uncommon error messages and reduces
the runtime size.
generics:
Generics support. Disabling this will not
allow Mono to run any 2.0 libraries or
code that contains generics.
jit:
Removes the JIT engine from the build, this reduces
the executable size, and requires that all code
executed by the virtual machine be compiled with
Full AOT before execution.
large_code:
Disables support for large assemblies.
logging:
Disables support for debug logging.
pinvoke:
Support for Platform Invocation services,
disabling this will drop support for any
libraries using DllImport.
portability:
Removes support for MONO_IOMAP, the environment
variables for simplifying porting applications that
are case-insensitive and that mix the Unix and Windows path separators.
profiler:
Disables support for the default profiler.
reflection_emit:
Drop System.Reflection.Emit support
reflection_emit_save:
Drop support for saving dynamically created
assemblies (AssemblyBuilderAccess.Save) in
System.Reflection.Emit.
shadow_copy:
Disables support for AppDomain's shadow copies
(you can disable this if you do not plan on
using appdomains).
simd:
Disables support for the Mono.SIMD intrinsics
library.
ssa:
Disables compilation for the SSA optimization
framework, and the various SSA-based
optimizations.
--enable-llvm
--enable-loadedllvm
This enables the use of LLVM as a code generation engine
for Mono. The LLVM code generator and optimizer will be
used instead of Mono's built-in code generator for both
Just in Time and Ahead of Time compilations.
See the http://www.mono-project.com/Mono_LLVM for the
full details and up-to-date information on this feature.
You will need to have an LLVM built that Mono can link
against,
The --enable-loadedllvm variant will make the llvm backend
into a runtime-loadable module instead of linking it directly
into the main mono binary.
--enable-big-arrays
This enables the use arrays whose indexes are larger
than Int32.MaxValue.
By default Mono has the same limitation as .NET on
Win32 and Win64 and limits array indexes to 32-bit
values (even on 64-bit systems).
In certain scenarios where large arrays are required,
you can pass this flag and Mono will be built to
support 64-bit arrays.
This is not the default as it breaks the C embedding
ABI that we have exposed through the Mono development
cycle.
--enable-parallel-mark
Use this option to enable the garbage collector to use
multiple CPUs to do its work. This helps performance
on multi-CPU machines as the work is divided across CPUS.
This option is not currently the default as we have
not done much testing with Mono.
--enable-dtrace
On Solaris and MacOS X builds a version of the Mono
runtime that contains DTrace probes and can
participate in the system profiling using DTrace.
--disable-dev-random
Mono uses /dev/random to obtain good random data for
any source that requires random numbers. If your
system does not support this, you might want to
disable it.
There are a number of runtime options to control this
also, see the man page.
--enable-nacl
This configures the Mono compiler to generate code
suitable to be used by Google's Native Client:
http://code.google.com/p/nativeclient/
Currently this is used with Mono's AOT engine as
Native Client does not support JIT engines yet.
2. Using Mono
=============
Once you have installed the software, you can run a few programs:
* runtime engine
mono program.exe
* C# compiler
mcs program.cs
* CIL Disassembler
monodis program.exe
See the man pages for mono(1), mint(1), monodis(1) and mcs(2)
for further details.
3. Directory Roadmap
====================
docs/
Technical documents about the Mono runtime.
data/
Configuration files installed as part of the Mono runtime.
mono/
The core of the Mono Runtime.
metadata/
The object system and metadata reader.
mini/
The Just in Time Compiler.
dis/
CIL executable Disassembler
cli/
Common code for the JIT and the interpreter.
io-layer/
The I/O layer and system abstraction for
emulating the .NET IO model.
cil/
Common Intermediate Representation, XML
definition of the CIL bytecodes.
interp/
Interpreter for CLI executables (obsolete).
arch/
Architecture specific portions.
man/
Manual pages for the various Mono commands and programs.
samples/
Some simple sample programs on uses of the Mono
runtime as an embedded library.
scripts/
Scripts used to invoke Mono and the corresponding program.
runtime/
A directory that contains the Makefiles that link the
mono/ and mcs/ build systems.
../olive/
If the directory ../olive is present (as an
independent checkout) from the Mono module, that
directory is automatically configured to share the
same prefix than this module gets.
4. Git submodules maintenance
=============================
Read documentation at http://mono-project.com/Git_Submodule_Maintenance
+535
View File
@@ -0,0 +1,535 @@
Mono is a software platform designed to allow developers to easily create cross platform applications.
Mono is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime.
1. [Installation](#compilation-and-installation)
2. [Using Mono](#using-mono)
3. [Directory Roadmap](#directory-roadmap)
4. [Git submodules maintenance](#git-submodules-maintenance)
5. [Reporting bugs](#reporting-bugs)
Compilation and Installation
============================
a. Build Requirements
---------------------
* On Itanium, you must obtain libunwind: http://www.hpl.hp.com/research/linux/libunwind/download.php4
* On Solaris
1. Make sure that you used GNU tar to unpack this package, as
Solaris tar will not unpack this correctly, and you will get strange errors.
2. Make sure that you use the GNU toolchain to build the software.
3. Optional dependencies
* libgdiplus - Required for System.Drawing. This library in turn requires glib and pkg-config
* pkg-config - Available at: http://www.freedesktop.org/Software/pkgconfig
* glib 2.4 - Available at: http://www.gtk.org/
* libzlib - This library and the development headers are required for compression
file support in the 2.0 profile.
b. Building the Software
------------------------
If you obtained this package as an officially released tarball,
this is very simple, use configure and make:
`./configure --prefix=/usr/local ; make ; make install`
Mono supports a JIT engine on x86, SPARC, SPARCv9, S/390,
S/390x, AMD64, ARM and PowerPC systems.
If you obtained this as a snapshot, you will need an existing
Mono installation. To upgrade your installation, unpack both
mono and mcs:
tar xzf mcs-XXXX.tar.gz
tar xzf mono-XXXX.tar.gz
mv mono-XXX mono
mv mcs-XXX mcs
cd mono
./autogen.sh --prefix=/usr/local
make
The Mono build system is silent for most compilation commands.
To enable a more verbose compile (for example, to pinpoint
problems in your makefiles or your system) pass the V=1 flag to make, like this:
` make V=1`
c. Building the software from GIT
---------------------------------
If you are building the software from GIT, make sure that you
have up-to-date mcs and mono sources:
* If you are an anonymous user: `git clone git://github.com/mono/mono.git`
* If you are a Mono contributor with read/write privileges: `git clone [email protected]:mono/mono.git`
Then, go into the mono directory, and configure:
cd mono
./autogen.sh --prefix=/usr/local
make
For people with non-standard installations of the auto* utils and of
pkg-config (common on misconfigured OSX and windows boxes), you could get
an error like this:
`./configure: line 19176: syntax error near unexpected token 'PKG_CHECK_MODULES(BASE_DEPENDENCIES,' ...`
This means that you need to set the ACLOCAL_FLAGS environment variable
when invoking autogen.sh, like this: `ACLOCAL_FLAGS="-I $acprefix/share/aclocal" ./autogen.sh --prefix=/usr/local`
where $acprefix is the prefix where aclocal has been installed.
This will automatically go into the mcs/ tree and build the
binaries there.
This assumes that you have a working mono installation, and that
there's a C# compiler named 'mcs', and a corresponding IL
runtime called 'mono'. You can use two make variables
EXTERNAL_MCS and EXTERNAL_RUNTIME to override these. e.g., you
can say:
`make EXTERNAL_MCS=/foo/bar/mcs EXTERNAL_RUNTIME=/somewhere/else/mono`
If you don't have a working Mono installation
---------------------------------------------
If you don't have a working Mono installation, an obvious choice
is to install the latest released packages of 'mono' for your
distribution and running `autogen.sh; make; make install` in the
mono module directory.
You can also try a slightly more risky approach: this may not work,
so start from the released tarball as detailed above.
This works by first getting the latest version of the 'monolite'
distribution, which contains just enough to run the 'mcs'
compiler. You do this with:
# Run the following line after ./autogen.sh
make get-monolite-latest
This will download and automatically gunzip and untar the
tarball, and place the files appropriately so that you can then
just run: `make EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/gmcs.exe`
That will use the files downloaded by 'make get-monolite-latest.
Testing and Installation
------------------------
You can run *(part of)* the mono and mcs test suites with the command: `make check`.
All tests should pass.
If you want more *extensive* tests, including those that test the
class libraries, you need to re-run 'configure' with the
'--enable-nunit-tests' flag, and try: `make -k check`
Expect to find a few test suite failures. As a sanity check, you
can compare the failures you got with
`https://wrench.mono-project.com/Wrench/`
You can now install mono with: `make install`
You can verify your installation by using the mono-test-install
script, it can diagnose some common problems with Mono's install.
Failure to follow these steps may result in a broken installation.
d. Configuration Options
------------------------
The following are the configuration options that someone
building Mono might want to use:
* `--with-sgen=yes,no` - Generational GC support: Used to enable or disable the
compilation of a Mono runtime with the SGen garbage collector.
* On platforms that support it, after building Mono, you
will have both a mono binary and a mono-sgen binary.
Mono uses Boehm, while mono-sgen uses the Simple
Generational GC.
* `--with-gc=[boehm, included, sgen, none]` - Selects the default Boehm garbage
collector engine to use.
* *included*: (*slighty modified Boehm GC*)
This is the default value, and its
the most feature complete, it will allow Mono
to use typed allocations and support the
debugger.
* *boehm*:
This is used to use a system-install Boehm GC,
it is useful to test new features available in
Boehm GC, but we do not recommend that people
use this, as it disables a few features.
* *none*:
Disables the inclusion of a garbage collector.
* This defaults to `included`.
* `--with-tls=__thread,pthread`
* Controls how Mono should access thread local storage,
pthread forces Mono to use the pthread APIs, while
__thread uses compiler-optimized access to it.
* Although __thread is faster, it requires support from
the compiler, kernel and libc. Old Linux systems do
not support with __thread.
* This value is typically pre-configured and there is no
need to set it, unless you are trying to debug a problem.
* `--with-sigaltstack=yes,no`
* **Experimental**: Use at your own risk, it is known to
cause problems with garbage collection and is hard to
reproduce those bugs.
* This controls whether Mono will install a special
signal handler to handle stack overflows. If set to
`yes`, it will turn stack overflows into the
StackOverflowException. Otherwise when a stack
overflow happens, your program will receive a
segmentation fault.
* The configure script will try to detect if your
operating system supports this. Some older Linux
systems do not support this feature, or you might want
to override the auto-detection.
* `--with-static_mono=yes,no`
* This controls whether `mono` should link against a
static library (libmono.a) or a shared library
(libmono.so).
* This defaults to `yes`, and will improve the performance
of the `mono` program.
* This only affects the `mono' binary, the shared
library libmono.so will always be produced for
developers that want to embed the runtime in their
application.
* `--with-xen-opt=yes,no` - Optimize code for Xen virtualization.
* It makes Mono generate code which might be slightly
slower on average systems, but the resulting executable will run
faster under the Xen virtualization system.
* This defaults to `yes`.
* `--with-large-heap=yes,no` - Enable support for GC heaps larger than 3GB.
* This defaults to `no`.
* `--enable-small-config=yes,no` - Enable some tweaks to reduce memory usage
and disk footprint at the expense of some capabilities.
* Typically this means that the number of threads that can be created
is limited (256), that the maximum heap size is also reduced (256 MB)
and other such limitations that still make mono useful, but more suitable
to embedded devices (like mobile phones).
* This defaults to `no`.
* `--with-ikvm-native=yes,no` - Controls whether the IKVM JNI interface library is
built or not.
* This is used if you are planning on
using the IKVM Java Virtual machine with Mono.
* This defaults to `yes`.
* `--with-profile4=yes,no` - Whether you want to build the 4.x profile libraries
and runtime.
* This defaults to `yes`.
* `--with-moonlight=yes,no`
* Whether you want to generate the Silverlight/Moonlight
libraries and toolchain in addition to the default
(1.1 and 2.0 APIs).
* This will produce the `smcs` compiler which will reference
the Silverlight modified assemblies (mscorlib.dll,
System.dll, System.Code.dll and System.Xml.Core.dll) and turn
on the LINQ extensions for the compiler.
* `--with-moon-gc=boehm,sgen` - Select the GC to use for Moonlight.
* *boehm*:
Selects the Boehm Garbage Collector, with the same flags
as the regular Mono build. This is the default.
* *sgen*:
Selects the new SGen Garbage Collector, which provides
Generational GC support, using the same flags as the
mono-sgen build.
* This defaults to `boehm`.
* `--with-libgdiplus=installed,sibling,<path>` - Configure where Mono
searches for libgdiplus when running System.Drawing tests.
* It defaults to `installed`, which means that the
library is available to Mono through the regular
system setup.
* `sibling' can be used to specify that a libgdiplus
that resides as a sibling of this directory (mono)
should be used.
* Or you can specify a path to a libgdiplus.
* `--disable-shared-memory`
* Use this option to disable the use of shared memory in
Mono (this is equivalent to setting the MONO_DISABLE_SHM
environment variable, although this removes the feature
completely).
* Disabling the shared memory support will disable certain
features like cross-process named mutexes.
* `--enable-minimal=LIST`
* Use this feature to specify optional runtime
components that you might not want to include. This
is only useful for developers embedding Mono that
require a subset of Mono functionality.
* The list is a comma-separated list of components that
should be removed, these are:
* `aot`:
Disables support for the Ahead of Time compilation.
* `attach`:
Support for the Mono.Management assembly and the
VMAttach API (allowing code to be injected into
a target VM)
* `com`:
Disables COM support.
* `debug`:
Drop debugging support.
* `decimal`:
Disables support for System.Decimal.
* `full_messages`:
By default Mono comes with a full table
of messages for error codes. This feature
turns off uncommon error messages and reduces
the runtime size.
* `generics`:
Generics support. Disabling this will not
allow Mono to run any 2.0 libraries or
code that contains generics.
* `jit`:
Removes the JIT engine from the build, this reduces
the executable size, and requires that all code
executed by the virtual machine be compiled with
Full AOT before execution.
* `large_code`:
Disables support for large assemblies.
* `logging`:
Disables support for debug logging.
* `pinvoke`:
Support for Platform Invocation services,
disabling this will drop support for any
libraries using DllImport.
* `portability`:
Removes support for MONO_IOMAP, the environment
variables for simplifying porting applications that
are case-insensitive and that mix the Unix and Windows path separators.
* `profiler`:
Disables support for the default profiler.
* `reflection_emit`:
Drop System.Reflection.Emit support
* `reflection_emit_save`:
Drop support for saving dynamically created
assemblies (AssemblyBuilderAccess.Save) in
System.Reflection.Emit.
* `shadow_copy`:
Disables support for AppDomain's shadow copies
(you can disable this if you do not plan on
using appdomains).
* `simd`:
Disables support for the Mono.SIMD intrinsics
library.
* `ssa`:
Disables compilation for the SSA optimization
framework, and the various SSA-based optimizations.
* `--enable-llvm`
* `--enable-loadedllvm`
* This enables the use of LLVM as a code generation engine
for Mono. The LLVM code generator and optimizer will be
used instead of Mono's built-in code generator for both
Just in Time and Ahead of Time compilations.
* See the http://www.mono-project.com/Mono_LLVM for the
full details and up-to-date information on this feature.
* You will need to have an LLVM built that Mono can link
against.
* The --enable-loadedllvm variant will make the LLVM backend
into a runtime-loadable module instead of linking it directly
into the main mono binary.
* `--enable-big-arrays` - Enable use of arrays with indexes larger
than Int32.MaxValue.
* By default Mono has the same limitation as .NET on
Win32 and Win64 and limits array indexes to 32-bit
values (even on 64-bit systems).
* In certain scenarios where large arrays are required,
you can pass this flag and Mono will be built to
support 64-bit arrays.
* This is not the default as it breaks the C embedding
ABI that we have exposed through the Mono development
cycle.
* `--enable-parallel-mark`
* Use this option to enable the garbage collector to use
multiple CPUs to do its work. This helps performance
on multi-CPU machines as the work is divided across CPUS.
* This option is not currently the default as we have
not done much testing with Mono.
* `--enable-dtrace`
* On Solaris and MacOS X builds a version of the Mono
runtime that contains DTrace probes and can
participate in the system profiling using DTrace.
* `--disable-dev-random`
* Mono uses /dev/random to obtain good random data for
any source that requires random numbers. If your
system does not support this, you might want to
disable it.
* There are a number of runtime options to control this
also, see the man page.
* `--enable-nacl`
* This configures the Mono compiler to generate code
suitable to be used by Google's Native Client:
http://code.google.com/p/nativeclient/
* Currently this is used with Mono's AOT engine as
Native Client does not support JIT engines yet.
Using Mono
==========
Once you have installed the software, you can run a few programs:
* `mono program.exe` runtime engine
* `mcs program.cs` C# compiler
* `monodis program.exe` CIL Disassembler
See the man pages for mono(1), mint(1), monodis(1) and mcs(2)
for further details.
Directory Roadmap
=================
* `docs/` - Technical documents about the Mono runtime.
* `data/` - Configuration files installed as part of the Mono runtime.
* `mono/` - The core of the Mono Runtime.
* `metadata/` - The object system and metadata reader.
* `mini/` - The Just in Time Compiler.
* `dis/` - CIL executable Disassembler
* `cli/` - Common code for the JIT and the interpreter.
* `io-layer/` - The I/O layer and system abstraction for
emulating the .NET IO model.
* `cil/` - Common Intermediate Representation, XML
definition of the CIL bytecodes.
* `interp/` - Interpreter for CLI executables (obsolete).
* `arch/` - Architecture specific portions.
* `man/` - Manual pages for the various Mono commands and programs.
* `samples/` -Some simple sample programs on uses of the Mono
runtime as an embedded library.
* `scripts/` - Scripts used to invoke Mono and the corresponding program.
* `runtime/` - A directory that contains the Makefiles that link the
mono/ and mcs/ build systems.
* `../olive/`
* If the directory ../olive is present (as an
independent checkout) from the Mono module, that
directory is automatically configured to share the
same prefix than this module gets.
Git submodules maintenance
==========================
Read documentation at http://mono-project.com/Git_Submodule_Maintenance
Reporting bugs
==============
To submit bug reports, please use Xamarin's Bugzilla:
https://bugzilla.xamarin.com/
Please use the search facility to ensure the same bug hasn't already
been submitted and follow our guidelines on how to make a good bug
report:
http://mono-project.com/Bugs#How_to_make_a_good_bug_report
Executable → Regular
+165 -63
View File
@@ -1,10 +1,10 @@
# Process this file with autoconf to produce a configure script.
#AC_PREREQ([2.62])
AC_INIT(mono, [3.2.2],
AC_INIT(mono, [3.2.5],
[http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono])
AC_CONFIG_SRCDIR([README])
AC_CONFIG_SRCDIR([README.md])
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_SYSTEM
AC_CANONICAL_HOST
@@ -13,7 +13,7 @@ AC_CANONICAL_HOST
# The extra brackets are to foil regex-based scans.
m4_ifdef([_A][M_PROG_TAR],[_A][M_SET_OPTION([tar-ustar])])
AM_INIT_AUTOMAKE([1.9 dist-bzip2 tar-ustar no-dist-gzip foreign])
AM_INIT_AUTOMAKE([1.9 dist-bzip2 tar-ustar no-dist-gzip foreign subdir-objects])
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE
@@ -24,6 +24,12 @@ AC_PROG_LN_S
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
case $host_os in
*cygwin* )
echo "Run configure using ./configure --host=i686-pc-mingw32"
exit 1
esac
# In case of cygwin, override LN_S, irrespective of what it determines.
# The build uses cygwin, but the actual runtime doesn't.
case $host_os in
@@ -114,8 +120,8 @@ case "$host" in
# Windows 2000 is required that includes Internet Explorer 5.01
CPPFLAGS="$CPPFLAGS -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0501 -D_UNICODE -DUNICODE -DWIN32_THREADS -DFD_SETSIZE=1024"
LDFLAGS="$LDFLAGS -lmswsock -lws2_32 -lole32 -loleaut32 -lpsapi -lversion -ladvapi32 -lwinmm -lkernel32"
libmono_cflags="-mno-cygwin -mms-bitfields -mwindows"
libmono_ldflags="-mno-cygwin -mms-bitfields -mwindows"
libmono_cflags="-mms-bitfields -mwindows"
libmono_ldflags="-mms-bitfields -mwindows"
libdl=
libgc_threads=win32
gc_default=included
@@ -309,10 +315,10 @@ case "$host" in
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC $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"
extra_runtime_ldflags="-Xlinker -stack_size -Xlinker 0x800000"
;;
x*64-*-darwin*)
extra_runtime_ldflags="-stack_size,0x800000"
extra_runtime_ldflags="-Xlinker -stack_size -Xlinker 0x800000"
;;
arm*-darwin*)
has_dtrace=no
@@ -357,6 +363,7 @@ AC_PROG_CXX
AM_PROG_AS
AC_PROG_INSTALL
AC_PROG_AWK
AM_PROG_CC_C_O
dnl We should use AM_PROG_AS, but it's not available on automake/aclocal 1.4
: ${CCAS='$(CC)'}
# Set ASFLAGS if not already set.
@@ -1027,6 +1034,11 @@ case "x$gc" in
BOEHM_DEFINES="-DHAVE_BOEHM_GC -DHAVE_GC_H -DUSE_INCLUDED_LIBGC -DHAVE_GC_GCJ_MALLOC -DHAVE_GC_ENABLE"
if test x$target_win32 = xyes; then
BOEHM_DEFINES="$BOEHM_DEFINES -DGC_NOT_DLL"
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DGC_BUILD -DGC_NOT_DLL"
fi
gc_msg="bundled Boehm GC with typed GC"
if test x$enable_parallel_mark = xyes; then
AC_DEFINE_UNQUOTED(DEFAULT_GC_NAME, "Included Boehm (with typed GC and Parallel Mark)", [GC description])
@@ -1140,6 +1152,8 @@ if test x$target_win32 = xno; then
AC_CHECK_HEADERS(execinfo.h)
AC_CHECK_HEADERS(sys/auxv.h)
AC_CHECK_FUNCS(getgrgid_r)
AC_CHECK_FUNCS(getgrnam_r)
AC_CHECK_FUNCS(getpwnam_r)
@@ -1571,10 +1585,12 @@ if test x$target_win32 = xno; then
AC_MSG_CHECKING(for working __thread)
if test "x$with_tls" != "x__thread"; then
AC_MSG_RESULT(disabled)
elif test "x$cross_compiling" = "xyes"; then
AC_MSG_RESULT(cross compiling, assuming yes)
else
AC_TRY_RUN([
#ifdef __clang__
#error "__thread does not currently work with clang"
#if defined(__APPLE__) && defined(__clang__)
#error "__thread does not currently work with clang on Mac OS X"
#endif
#include <pthread.h>
@@ -1618,6 +1634,8 @@ if test x$target_win32 = xno; then
AC_MSG_CHECKING(for working sigaltstack)
if test "x$with_sigaltstack" != "xyes"; then
AC_MSG_RESULT(disabled)
elif test "x$cross_compiling" = "xyes"; then
AC_MSG_RESULT(cross compiling, assuming yes)
else
AC_TRY_RUN([
#include <stdio.h>
@@ -2113,6 +2131,11 @@ else
])
])
AC_CHECK_FUNCS(GetProcessId)
AC_CHECK_DECLS(InterlockedExchange64, [], [], [[#include <windows.h>]])
AC_CHECK_DECLS(InterlockedCompareExchange64, [], [], [[#include <windows.h>]])
AC_CHECK_DECLS(InterlockedIncrement64, [], [], [[#include <windows.h>]])
AC_CHECK_DECLS(InterlockedAdd, [], [], [[#include <windows.h>]])
AC_CHECK_DECLS(InterlockedAdd64, [], [], [[#include <windows.h>]])
fi
dnl socklen_t check
@@ -2355,11 +2378,21 @@ dnl **************
AC_ARG_ENABLE(llvm,[ --enable-llvm Enable the LLVM back-end], enable_llvm=$enableval, enable_llvm=no)
AC_ARG_ENABLE(loadedllvm,[ --enable-loadedllvm Load the LLVM back-end dynamically], enable_llvm=$enableval && enable_loadedllvm=$enableval, enable_loadedllvm=no)
AC_ARG_ENABLE(llvm-version-check,[ --enable-llvm-version-check Check that the LLVM matches the version expected by mono], enable_llvm_version_check=$enableval, enable_llvm_version_check=no)
AC_ARG_WITH(llvm, [ --with-llvm=<llvm prefix> Enable the LLVM back-end], enable_llvm=yes,)
if test "x$enable_llvm" = "xyes"; then
AC_PATH_PROG(LLVM_CONFIG, llvm-config, no)
if test "x$LLVM_CONFIG" = "xno"; then
AC_MSG_ERROR([llvm-config not found.])
if test "x$with_llvm" != "x"; then
LLVM_CONFIG=$with_llvm/bin/llvm-config
if test ! -x $LLVM_CONFIG; then
AC_MSG_ERROR([LLVM executable $LLVM_CONFIG not found.])
fi
else
AC_PATH_PROG(LLVM_CONFIG, llvm-config, no)
if test "x$LLVM_CONFIG" = "xno"; then
AC_MSG_ERROR([llvm-config not found.])
fi
fi
llvm_codegen="x86codegen"
@@ -2369,16 +2402,22 @@ if test "x$enable_llvm" = "xyes"; then
;;
esac
# The output of --cflags seems to include optimizations flags too
LLVM_CFLAGS=`$LLVM_CONFIG --cflags | sed -e 's/-O2//g' | sed -e 's/-O0//g' | sed -e 's/-fomit-frame-pointer//g' | sed -e 's/-fPIC//g'`
# LLVM is compiled with -fno-rtti, so we need this too, since our classes inherit
# from LLVM classes.
LLVM_CXXFLAGS="`$LLVM_CONFIG --cxxflags` -fno-rtti"
LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
LLVM_LIBS=`$LLVM_CONFIG --libs core bitwriter jit mcjit $llvm_codegen`
if test "x$host" != "x$target"; then
# No need for jit libs
LLVM_LIBS=`$LLVM_CONFIG --libs core bitwriter`
else
LLVM_LIBS=`$LLVM_CONFIG --libs core bitwriter jit mcjit $llvm_codegen`
fi
LLVM_LIBS="$LLVM_LDFLAGS $LLVM_LIBS -lstdc++"
expected_llvm_version="3.3svn-mono/2c9642d"
# Should be something like '2.6' or '2.7svn'
llvm_version=`$LLVM_CONFIG --version`
major_version=`echo $llvm_version | cut -c 1`
@@ -2388,6 +2427,11 @@ if test "x$enable_llvm" = "xyes"; then
if echo $llvm_version | grep -q 'mono'; then
AC_DEFINE(LLVM_MONO_BRANCH, 1, [Whenever we are using the mono branch of LLVM])
LLVM_CXXFLAGS="$LLVM_CXXFLAGS -DLLVM_MONO_BRANCH"
if test "x$enable_llvm_version_check" == "xyes"; then
if test "$llvm_version" != "$expected_llvm_version"; then
AC_MSG_ERROR([Expected llvm version $expected_llvm_version, but llvm-config --version returned $llvm_version"])
fi
fi
else
AC_MSG_ERROR([Compiling with stock LLVM is not supported, please use the Mono LLVM repo at https://github.com/mono/llvm, with the GIT branch which matches this version of mono, i.e. 'mono-2-10' for Mono 2.10.])
fi
@@ -2430,10 +2474,6 @@ jit_wanted=true
interp_wanted=false
sgen_supported=false
case "$host" in
# mips-sgi-irix5.* | mips-sgi-irix6.*)
# TARGET=MIPS;
# ACCESS_UNALIGNED="no"
# ;;
mips*)
TARGET=MIPS;
arch_target=mips;
@@ -2586,9 +2626,9 @@ case "$host" in
arch_target=arm;
ACCESS_UNALIGNED="no"
JIT_SUPPORTED=yes
CPPFLAGS="$CPPFLAGS -D__ARM_EABI__ -DHAVE_ARMV6=1"
CPPFLAGS="$CPPFLAGS -D__ARM_EABI__"
# libgc's gc_locks.h depends on this
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DHAVE_ARMV6"
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC"
sgen_supported=true
;;
arm*-linux*)
@@ -2610,7 +2650,7 @@ case "$host" in
# AOT_SUPPORTED="no"
# ;;
s390x-*-linux*)
TARGET=S390x;
TARGET=S390X;
arch_target=s390x;
ACCESS_UNALIGNED="yes"
JIT_SUPPORTED=yes
@@ -2630,7 +2670,7 @@ if test "x$host" != "x$target"; then
arch_target=arm;
ACCESS_UNALIGNED="no"
JIT_SUPPORTED=yes
CPPFLAGS="$CPPFLAGS -D__ARM_EABI__ -DHAVE_ARMV6=1"
CPPFLAGS="$CPPFLAGS -D__ARM_EABI__"
jit_wanted=true
# Can't use tls, since it depends on the runtime detection of tls offsets
# in mono-compiler.h
@@ -2719,7 +2759,6 @@ if test "x$host" != "x$target"; then
esac
fi
# FIXME: Define the others as well
case "$TARGET" in
X86)
AC_DEFINE(TARGET_X86, 1, [...])
@@ -2737,14 +2776,32 @@ POWERPC64)
AC_DEFINE(TARGET_POWERPC, 1, [...])
AC_DEFINE(TARGET_POWERPC64, 1, [...])
;;
S390x)
S390X)
AC_DEFINE(TARGET_S390X, 1, [...])
;;
MIPS)
AC_DEFINE(TARGET_MIPS, 1, [...])
;;
IA64)
AC_DEFINE(TARGET_IA64, 1, [...])
;;
SPARC)
AC_DEFINE(TARGET_SPARC, 1, [...])
;;
SPARC64)
AC_DEFINE(TARGET_SPARC64, 1, [...])
;;
esac
dnl Use GCC atomic ops if they work on the target.
if test x$GCC = "xyes"; then
case $TARGET in
X86 | AMD64 | ARM | POWERPC | POWERPC64 | MIPS | S390X | SPARC | SPARC64)
AC_DEFINE(USE_GCC_ATOMIC_OPS, 1, [...])
;;
esac
fi
if test "x$target_mach" = "xyes"; then
if test "x$TARGET" = "xARM"; then
AC_DEFINE(TARGET_IOS,1,[The JIT/AOT targets iOS])
@@ -3029,18 +3086,54 @@ if test ${TARGET} = ARM; then
CPPFLAGS="$CPPFLAGS -DARM_FPU_$fpu=1"
unset fpu
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)
dnl *********************************************
dnl *** Check which ARM version(s) we can use ***
dnl *********************************************
AC_MSG_CHECKING(which ARM version to use)
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
AC_TRY_COMPILE([], [
#if !defined(__ARM_ARCH_5T__) && !defined(__ARM_ARCH_5TE__) && !defined(__ARM_ARCH_5TEJ__)
#error Not on ARM v5.
#endif
return 0;
], [
arm_v5=yes
], [])
AC_TRY_COMPILE([], [
#if !defined(__ARM_ARCH_6J__) && !defined(__ARM_ARCH_6ZK__) && !defined(__ARM_ARCH_6K__) && !defined(__ARM_ARCH_6T2__) && !defined(__ARM_ARCH_6M__)
#error Not on ARM v6.
#endif
return 0;
], [
arm_v5=yes
arm_v6=yes
], [])
AC_TRY_COMPILE([], [
#if !defined(__ARM_ARCH_7A__) && !defined(__ARM_ARCH_7R__) && !defined(__ARM_ARCH_7EM__) && !defined(__ARM_ARCH_7M__) && !defined(__ARM_ARCH_7S__)
#error Not on ARM v7.
#endif
return 0;
], [
arm_v5=yes
arm_v6=yes
arm_v7=yes
], [])
if test x$arm_v5 = xyes; then
AC_DEFINE(HAVE_ARMV5, 1, [ARM v5])
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DHAVE_ARMV5=1"
fi
if test x$arm_v6 = xyes; then
AC_DEFINE(HAVE_ARMV6, 1, [ARM v6])
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DHAVE_ARMV6=1"
fi
if test x$arm_v7 = xyes; then
AC_DEFINE(HAVE_ARMV7, 1, [ARM v7])
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DHAVE_ARMV7=1"
fi
fi
@@ -3121,20 +3214,6 @@ if test x$with_profile4 != xyes; then
DISABLE_MCS_DOCS=yes
fi
MOONLIGHT_DEFINES=
AC_ARG_WITH(moonlight, [ --with-moonlight=yes|no|only If you want to build Mono for Moonlight (defaults to no)],[
if test x$with_moonlight != xno; then
MOONLIGHT_DEFINES="-DMOONLIGHT -DDISABLE_ASSEMBLY_REMAPPING "
fi
], [with_moonlight=no])
AC_SUBST(MOONLIGHT_DEFINES)
AC_ARG_WITH(moon_gc, [ --with-moon-gc=boehm,sgen Select the gc to use with Moonlight (defaults to boehm)],[
if test "x$with_moon_gc" != "xsgen"; then
with_moon_gc=boehm
fi
], [with_moon_gc=boehm])
AC_ARG_WITH(lazy_gc_thread_creation, [ --with-lazy-gc-thread-creation=yes|no Enable lazy runtime thread creation, embedding host must do it explicitly (defaults to no)],[
if test x$with_lazy_gc_thread_creation != xno ; then
AC_DEFINE(LAZY_GC_THREAD_CREATION,1,[Enable lazy gc thread creation by the embedding host.])
@@ -3158,7 +3237,11 @@ fi
if test "x$enable_shared" = "xno" -a "x$enable_executables" = "xyes"; then
LIBMONO_LA=libmini-static.la
else
LIBMONO_LA=libmonosgen-$API_VER.la
if test x$buildsgen = xyes; then
LIBMONO_LA=libmonosgen-$API_VER.la
else
LIBMONO_LA=libmonoboehm-$API_VER.la
fi
fi
AC_SUBST(LIBMONO_LA)
@@ -3190,12 +3273,6 @@ AC_SUBST(OPROFILE_LIBS)
libmono_ldflags="$libmono_ldflags $LIBS"
AM_CONDITIONAL(MOONLIGHT, [test "x$with_moonlight" != "xno"])
AM_CONDITIONAL(ONLY_MOONLIGHT, [test "x$with_moonlight" = "xonly"])
AM_CONDITIONAL(MOONLIGHT_BOEHM, [test "x$with_moon_gc" = "xboehm"])
AM_CONDITIONAL(MOONLIGHT_SGEN, [test "x$with_moon_gc" = "xsgen"])
AM_CONDITIONAL(INSTALL_2_0, [test "x$with_profile2" = xyes])
AM_CONDITIONAL(INSTALL_4_0, [test "x$with_profile4" = xyes])
AM_CONDITIONAL(INSTALL_4_5, [test "x$with_profile4_5" = xyes])
@@ -3211,12 +3288,11 @@ AM_CONDITIONAL(SPARC64, test x$TARGET = xSPARC64)
AM_CONDITIONAL(X86, test x$TARGET = xX86)
AM_CONDITIONAL(AMD64, test x$TARGET = xAMD64)
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(S390x, test x$TARGET = xS390x)
AM_CONDITIONAL(S390X, test x$TARGET = xS390X)
AM_CONDITIONAL(HOST_X86, test x$HOST = xX86)
AM_CONDITIONAL(HOST_AMD64, test x$HOST = xAMD64)
AM_CONDITIONAL(HOST_ARM, test x$HOST = xARM)
@@ -3330,7 +3406,35 @@ AC_CONFIG_COMMANDS([runtime/etc/mono/2.0/Browsers/Compat.browser],
$ac_aux_dir/install-sh -d runtime/etc/mono/2.0/Browsers/
cd runtime/etc/mono/2.0/Browsers
rm -f Compat.browser
$LN_S $reldir/data/net_2_0/Browsers/Compat.browser Compat.browser
$LN_S $reldir/data/Browsers/Compat.browser Compat.browser
cd $depth
],[LN_S='$LN_S'])
AC_CONFIG_COMMANDS([runtime/etc/mono/4.0/Browsers/Compat.browser],
[ depth=../../../../..
case $srcdir in
[[\\/$]]* | ?:[[\\/]]* ) reldir=$srcdir ;;
.) reldir=$depth ;;
*) reldir=$depth/$srcdir ;;
esac
$ac_aux_dir/install-sh -d runtime/etc/mono/4.0/Browsers/
cd runtime/etc/mono/4.0/Browsers
rm -f Compat.browser
$LN_S $reldir/data/Browsers/Compat.browser Compat.browser
cd $depth
],[LN_S='$LN_S'])
AC_CONFIG_COMMANDS([runtime/etc/mono/4.5/Browsers/Compat.browser],
[ depth=../../../../..
case $srcdir in
[[\\/$]]* | ?:[[\\/]]* ) reldir=$srcdir ;;
.) reldir=$depth ;;
*) reldir=$depth/$srcdir ;;
esac
$ac_aux_dir/install-sh -d runtime/etc/mono/4.5/Browsers/
cd runtime/etc/mono/4.5/Browsers
rm -f Compat.browser
$LN_S $reldir/data/Browsers/Compat.browser Compat.browser
cd $depth
],[LN_S='$LN_S'])
@@ -3438,6 +3542,8 @@ data/net_2_0/Makefile
data/net_4_0/Makefile
data/net_4_5/Makefile
data/net_2_0/Browsers/Makefile
data/net_4_0/Browsers/Makefile
data/net_4_5/Browsers/Makefile
data/mint.pc
data/mono-2.pc
data/monosgen-2.pc
@@ -3552,10 +3658,6 @@ fi
echo "DISABLE_MCS_DOCS = yes" >> $mcs_topdir/build/config.make
fi
if test x$with_moonlight != xno; then
echo "MOONLIGHT = 1" >> $srcdir/$mcsdir/build/config.make
fi
if test x$has_extension_module != xno; then
echo "EXTENSION_MODULE = 1" >> $srcdir/$mcsdir/build/config.make
fi
File renamed without changes.
File renamed without changes.
File renamed without changes.
+2 -2
View File
@@ -26,6 +26,6 @@
<dllentry dll="__Internal" name="MoveMemory" target="mono_win32_compat_MoveMemory"/>
<dllentry dll="__Internal" name="ZeroMemory" target="mono_win32_compat_ZeroMemory"/>
</dllmap>
<dllmap dll="gdiplus" target="@prefix@/lib/libgdiplus@libsuffix@" />
<dllmap dll="gdiplus.dll" target="@prefix@/lib/libgdiplus@libsuffix@" />
<dllmap dll="gdiplus" target="@prefix@/lib/libgdiplus@libsuffix@" os="!windows"/>
<dllmap dll="gdiplus.dll" target="@prefix@/lib/libgdiplus@libsuffix@" os="!windows"/>
</configuration>
+2 -2
View File
@@ -1,6 +1,6 @@
monodir = $(sysconfdir)/mono/2.0/Browsers
EXTRA_DIST = Compat.browser
EXTRA_DIST = ../../Browsers/Compat.browser
mono_DATA = Compat.browser
mono_DATA = ../../Browsers/Compat.browser
+2
View File
@@ -0,0 +1,2 @@
/Makefile
/Makefile.in
+6
View File
@@ -0,0 +1,6 @@
monodir = $(sysconfdir)/mono/4.0/Browsers
EXTRA_DIST = ../../Browsers/Compat.browser
mono_DATA = ../../Browsers/Compat.browser
+1 -1
View File
@@ -1,4 +1,4 @@
SUBDIRS =
SUBDIRS = Browsers
monodir = $(sysconfdir)/mono/4.0
+2
View File
@@ -0,0 +1,2 @@
/Makefile
/Makefile.in
+6
View File
@@ -0,0 +1,6 @@
monodir = $(sysconfdir)/mono/4.5/Browsers
EXTRA_DIST = ../../Browsers/Compat.browser
mono_DATA = ../../Browsers/Compat.browser
+1 -1
View File
@@ -1,4 +1,4 @@
SUBDIRS =
SUBDIRS = Browsers
monodir = $(sysconfdir)/mono/4.5
+1
View File
@@ -307,6 +307,7 @@ mono_gc_out_of_memory
mono_gc_wbarrier_arrayref_copy
mono_gc_wbarrier_generic_nostore
mono_gc_wbarrier_generic_store
mono_gc_wbarrier_generic_store_atomic
mono_gc_wbarrier_object_copy
mono_gc_wbarrier_set_arrayref
mono_gc_wbarrier_set_field
+1
View File
@@ -307,6 +307,7 @@ mono_gc_out_of_memory
mono_gc_wbarrier_arrayref_copy
mono_gc_wbarrier_generic_nostore
mono_gc_wbarrier_generic_store
mono_gc_wbarrier_generic_store_atomic
mono_gc_wbarrier_object_copy
mono_gc_wbarrier_set_arrayref
mono_gc_wbarrier_set_field
+1 -1
View File
@@ -156,7 +156,7 @@ g_get_current_dir (void)
{
#ifdef __native_client__
char *buffer;
if ((buffer = getenv("NACL_PWD"))) {
if ((buffer = g_getenv("NACL_PWD"))) {
buffer = g_strdup(buffer);
} else {
buffer = g_strdup(".");
+1
View File
@@ -61,6 +61,7 @@ int mkstemp (char *tmp_template)
fd = _wopen( utf16_template, _O_BINARY | _O_CREAT /*| _O_TEMPORARY*/ | _O_EXCL, _S_IREAD | _S_IWRITE);
}
/* FIXME: this will crash if utf16_template == NULL */
sprintf (tmp_template + strlen (tmp_template) - 6, "%S", utf16_template + wcslen (utf16_template) - 6);
g_free (utf16_template);
+1
View File
@@ -141,6 +141,7 @@ g_module_error (void)
TCHAR* buf = NULL;
DWORD code = GetLastError ();
/* FIXME: buf must not be NULL! */
FormatMessage (FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER, NULL,
code, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), buf, 0, NULL);
+1 -1
+1 -1
+3 -37
View File
@@ -231,46 +231,12 @@
# 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"
: "=&r" (ret), "=&r" (tmp)
: "r" (1), "r" (addr)
: "memory", "cc");
return ret;
#else
int oldval;
/* SWP on ARM is very similar to XCHG on x86. Doesn't lock the
* 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__(MASK_REGISTER("%2", "al")
"swp %0, %1, [%2]"
: "=&r"(oldval)
: "r"(1), "r"(addr)
: "memory");
return oldval;
#endif
return (int) __sync_lock_test_and_set (addr, 1);
}
# define GC_TEST_AND_SET_DEFINED
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
__sync_synchronize ();
*(addr) = 0;
}
# define GC_CLEAR_DEFINED
+1 -1
View File
@@ -24,7 +24,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
[
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
AC_REQUIRE([AM_NLS])dnl
dnl Release version of the gettext macros. This is used to ensure that
+1 -1
View File
@@ -124,7 +124,7 @@ gcc-mingw and as packages.
Assembler command. The default is "as".
.TP
.I "CC"
C compiler command. The default is "cc" under Linux and "gcc -mno-cygwin"
C compiler command. The default is "cc" under Linux and "gcc"
under Windows.
.TP
.I "MONO_BUNDLED_OPTIONS"
+5 -1
View File
@@ -418,7 +418,7 @@ the global assembly cache is always trusted.
.TP
\fB--server\fR
Configures the virtual machine to be better suited for server
operations (currently, a no-op).
operations (currently, allows a heavier threadpool initialization).
.TP
\fB--verify-all\fR
Verifies mscorlib and assemblies in the global
@@ -1628,6 +1628,10 @@ for example, to see managed frame names on gdb backtraces.
Enables the maximum JIT verbosity for the specified method. This is
very helpfull to diagnose a miscompilation problems of a specific
method.
.TP
\fBMONO_VERBOSE_HWCAP\fR
If set, makes the JIT output information about detected CPU features
(such as SSE, CMOV, FCMOV, etc) to stdout.
.SH VALGRIND
If you want to use Valgrind, you will find the file `mono.supp'
useful, it contains the suppressions for the GC which trigger
+1
View File
@@ -120,6 +120,7 @@ static class Consts
public const string AssemblyWindowsBase = "WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
public const string AssemblyPresentationCore_3_5 = "PresentationCore, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
public const string AssemblyPresentationFramework_3_5 = "PresentationFramework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
public const string AssemblySystemServiceModel_3_0 = "System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
#elif NET_2_1
public const string AssemblySystem_Core = "System.Core, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b77a5c561934e089";
#elif NET_2_0
+14 -5
View File
@@ -4,6 +4,7 @@ outfile=$1
incfile=$2
excfile=$3
extfile=$4
extexcfile=$5
process_includes_1() {
sed -e '/^[ \t]*$/d' -e '/^[ \t]*#/d' $1 > $2
@@ -39,16 +40,24 @@ fi
sort -u $outfile.inc > $outfile.inc_s
rm -f $outfile.inc
if test -z "$excfile"; then
mv $outfile.inc_s $outfile
else
if test -n "$excfile"; then
process_includes $excfile $outfile.exc
fi
sort -u $outfile.exc > $outfile.exc_s
rm -f $outfile.exc
if test -n "$extexcfile"; then
process_includes $extexcfile $outfile.ext_exc
cat $outfile.ext_exc >> $outfile.exc
rm -f $outfile.ext_exc
fi
if test -f $outfile.exc; then
sort -u $outfile.exc > $outfile.exc_s
rm -f $outfile.exc
sort -m $outfile.inc_s $outfile.exc_s | uniq -u > $outfile
rm -f $outfile.inc_s $outfile.exc_s
else
mv $outfile.inc_s $outfile
fi
+8 -1
View File
@@ -23,11 +23,18 @@ else
EXTENSION_include = $(wildcard $(PROFILE)_opt_$(LIBRARY).sources)
endif
ifdef EXTENSION_MODULE
EXTENSION_exclude = $(wildcard $(topdir)/../../mono-extensions/mcs/$(thisdir)/$(PROFILE)_$(LIBRARY).exclude.sources)
else
EXTENSION_exclude = $(wildcard $(PROFILE)_opt_$(LIBRARY).exclude.sources)
endif
# Note, gensources.sh can create a $(sourcefile).makefrag if it sees any '#include's
# We don't include it in the dependencies since it isn't always created
$(sourcefile): $(PROFILE_sources) $(PROFILE_excludes) $(topdir)/build/gensources.sh $(EXTENSION_include)
@echo Creating the per profile list $@ ...
$(SHELL) $(topdir)/build/gensources.sh $@ '$(PROFILE_sources)' '$(PROFILE_excludes)' '$(EXTENSION_include)'
$(SHELL) $(topdir)/build/gensources.sh $@ '$(PROFILE_sources)' '$(PROFILE_excludes)' '$(EXTENSION_include)' '$(EXTENSION_exclude)'
endif
PLATFORM_excludes := $(wildcard $(LIBRARY).$(PLATFORM)-excludes)
+20
View File
@@ -0,0 +1,20 @@
#! -*- makefile -*-
BOOTSTRAP_PROFILE = build
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
# Use system resgen as we don't want local System.Windows.Forms dependency
RESGEN = resgen2
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:FULL_AOT_RUNTIME -d:DISABLE_REMOTING -d:DISABLE_COM -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
FRAMEWORK_VERSION = 2.1
NO_TEST = yes
# the tuner takes care of the install
NO_INSTALL = yes
+2 -2
View File
@@ -12,9 +12,9 @@ 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 -d:DISABLE_REMOTING -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 -d:DISABLE_COM -d:FULL_AOT_RUNTIME -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
FRAMEWORK_VERSION = 2.1
NO_TEST = yes
# the tuner takes care of the install
NO_INSTALL = yes
NO_INSTALL = yes
+2 -2
View File
@@ -14,9 +14,9 @@ profile-check:
@:
DEFAULT_REFERENCES = -r:mscorlib.dll
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:NET_3_0 -d:NET_3_5 -d:NET_4_0 -d:NET_4_5 -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 -nowarn:1699 -nostdlib -lib:$(topdir)/class/lib/$(PROFILE) $(DEFAULT_REFERENCES) $(PLATFORM_DEBUG_FLAGS)
FRAMEWORK_VERSION = 4.5
FRAMEWORK_VERSION = 2.1
# This is utility build only
NO_INSTALL = yes
+6
View File
@@ -81,8 +81,14 @@ include $(topdir)/build/config-default.make
ifndef PLATFORM
ifeq ($(OS),Windows_NT)
ifneq ($(V),)
$(info *** Assuming PLATFORM is 'win32'.)
endif
PLATFORM = win32
else
ifneq ($(V),)
$(info *** Assuming PLATFORM is 'linux'.)
endif
PLATFORM = linux
endif
endif
+10 -16
View File
@@ -1,23 +1,17 @@
MCS_BUILD_DIR = ../../build
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
monotouch_SUBDIRS = System.Collections.Concurrent System.Collections System.ComponentModel.Annotations System.ComponentModel.EventBasedAsync System.ComponentModel System.Diagnostics.Contracts System.Diagnostics.Debug System.Diagnostics.Tools System.Globalization System.IO System.Linq.Expressions System.Linq.Parallel System.Linq.Queryable System.Linq System.Net.NetworkInformation System.Net.Primitives System.Net.Requests System.ObjectModel System.Reflection.Extensions System.Reflection.Primitives System.Reflection System.Resources.ResourceManager System.Runtime.Extensions System.Runtime.InteropServices System.Runtime.Numerics System.Runtime.Serialization.Json System.Runtime.Serialization.Primitives System.Runtime.Serialization.Xml System.Runtime System.Security.Principal System.ServiceModel.Http System.ServiceModel.Primitives System.Text.Encoding.Extensions System.Text.Encoding System.Text.RegularExpressions System.Threading.Tasks.Parallel System.Threading.Tasks System.Threading System.Xml.ReaderWriter System.Xml.XDocument System.Xml.XmlSerializer
net_4_5_SUBDIRS = $(monotouch_SUBDIRS) System.Dynamic.Runtime System.Reflection.Emit.ILGeneration System.Reflection.Emit.Lightweight System.Reflection.Emit
monodroid_SUBDIRS = $(net_4_5_SUBDIRS)
SUBDIRS = $(net_4_5_SUBDIRS)
include ../../build/rules.make
include $(MCS_BUILD_DIR)/rules.make
dist-local: dist-default
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Collections.Concurrent
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Collections.Concurrent.dll
LIB_MCS_FLAGS = /r:System
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib /r:System
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,15 +18,16 @@
// 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.EnumerablePartitionerOptions))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Concurrent.IProducerConsumerCollection<>))]
[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))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Concurrent.Partitioner<>))]
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
+10 -3
View File
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Collections
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/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
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib /r:System /r:System.Core
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,18 +18,19 @@
// 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.LinkedList<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Generic.LinkedListNode<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Generic.List<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.Generic.Queue<>))]
[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.Generic.Stack<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Collections.StructuralComparisons))]
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.ComponentModel.Annotations
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/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
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib /r:System.ComponentModel.DataAnnotations
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,10 +18,10 @@
// 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))]
@@ -40,13 +35,14 @@
[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.Schema.DatabaseGeneratedAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption))]
[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.ValidationAttribute))]
[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))]
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.ComponentModel.EventBasedAsync
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.ComponentModel.EventBasedAsync.dll
LIB_MCS_FLAGS = /r:System
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib /r:System
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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))]
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.ComponentModel
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.ComponentModel.dll
LIB_MCS_FLAGS = /r:System
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib /r:System
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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))]
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Diagnostics.Contracts
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Diagnostics.Contracts.dll
LIB_MCS_FLAGS =
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,20 +18,21 @@
// 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.ContractAbbreviatorAttribute))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Diagnostics.Contracts.ContractArgumentValidatorAttribute))]
[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.ContractFailedEventArgs))]
[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.ContractOptionAttribute))]
[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))]
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Diagnostics.Debug
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Diagnostics.Debug.dll
LIB_MCS_FLAGS = /r:System
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib /r:System
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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))]
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Diagnostics.Tools
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Diagnostics.Tools.dll
LIB_MCS_FLAGS = /r:System
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib /r:System
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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))]
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Dynamic.Runtime
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Dynamic.Runtime.dll
LIB_MCS_FLAGS =
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib /r:System.Core /r:System
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,32 @@
// 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<,>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.BinaryOperationBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.BindingRestrictions))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.CallInfo))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.ConvertBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.CreateInstanceBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.DeleteIndexBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.DeleteMemberBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.DynamicMetaObject))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.DynamicMetaObjectBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.DynamicObject))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.ExpandoObject))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.GetIndexBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.GetMemberBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.IDynamicMetaObjectProvider))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.IInvokeOnGetBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.InvokeBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.InvokeMemberBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.SetIndexBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.SetMemberBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Dynamic.UnaryOperationBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.DynamicExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.CallSite))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.CallSite<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.CallSiteBinder))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.CallSiteHelpers))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Runtime.CompilerServices.DynamicAttribute))]
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Globalization
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Globalization.dll
LIB_MCS_FLAGS =
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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))]
@@ -30,6 +26,7 @@
[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.CultureNotFoundException))]
[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))]
@@ -37,5 +34,4 @@
[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))]
+10 -13
View File
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
+10 -3
View File
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.IO
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.IO.dll
LIB_MCS_FLAGS = /r:System
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib /r:System
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
+10 -14
View File
@@ -1,21 +1,16 @@
//
// 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
@@ -23,20 +18,21 @@
// 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.InvalidDataException))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.IOException))]
[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.Stream))]
[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))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.TextReader))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.IO.TextWriter))]
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Linq.Expressions
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/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
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib /r:System.Core
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,10 +18,52 @@
// 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))]
#if !MONOTOUCH
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.BlockExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.CatchBlock))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.DebugInfoExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.DefaultExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.GotoExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.GotoExpressionKind))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.IndexExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.LabelExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.LabelTarget))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.LoopExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.RuntimeVariablesExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.SwitchCase))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.SwitchExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.SymbolDocumentInfo))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.TryExpression))]
#endif
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.BinaryExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.ConditionalExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.ConstantExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.ElementInit))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.Expression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.Expression<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.ExpressionType))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.ExpressionVisitor))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.InvocationExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.LambdaExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.ListInitExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.MemberAssignment))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.MemberBinding))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.MemberBindingType))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.MemberExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.MemberInitExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.MemberListBinding))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.MemberMemberBinding))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.MethodCallExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.NewArrayExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.NewExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.ParameterExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.TypeBinaryExpression))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.Expressions.UnaryExpression))]
[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.IQueryable))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.IQueryable<>))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.IQueryProvider))]
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Linq.Parallel
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/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
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib /r:System.Core
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,11 +18,12 @@
// 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))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.ParallelQuery))]
[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Linq.ParallelQuery<>))]
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Linq.Queryable
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/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
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib /r:System.Core
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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<>))]
+10 -13
View File
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
+10 -3
View File
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Linq
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/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
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib /r:System.Core
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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<,>))]
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
@@ -1,15 +1,22 @@
MCS_BUILD_DIR = ../../../build
thisdir = class/Facades/System.Net.NetworkInformation
SUBDIRS =
include ../../../build/rules.make
include $(MCS_BUILD_DIR)/rules.make
LIBRARY_SUBDIR = Facades
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)/Facades
LIBRARY = System.Net.NetworkInformation.dll
LIB_MCS_FLAGS = /r:System
KEY_FILE = ../../msfinal.pub
SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
LIB_MCS_FLAGS = $(SIGN_FLAGS) /r:mscorlib /r:System
PLATFORM_DEBUG_FLAGS =
NO_TEST = yes
include ../../../build/library.make
include $(MCS_BUILD_DIR)/library.make
@@ -1,3 +1,3 @@
AssemblyInfo.cs
TypeForwarders.cs
../../../build/common/Consts.cs
AssemblyInfo.cs
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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))]
@@ -1,21 +1,16 @@
//
// 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
@@ -23,6 +18,7 @@
// 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;
@@ -31,10 +27,9 @@ 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: AssemblyCompany ("Xamarin, Inc.")]
[assembly: AssemblyProduct ("Mono Common Language Infrastructure")]
[assembly: AssemblyCopyright ("Copyright (c) 2013 Xamarin Inc. (http://www.xamarin.com)")]
[assembly: AssemblyVersion ("4.0.0.0")]
[assembly: AssemblyInformationalVersion ("4.0.0.0")]
[assembly: AssemblyFileVersion ("4.0.0.0")]
@@ -42,3 +37,5 @@ using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("../../msfinal.pub")]
[assembly: ReferenceAssembly]
Loaded 100 of 1329 files, more files were not shown because too many files have changed in this diff. Show more