Hib Eris [Mon, 14 Jun 2010 16:42:20 +0000 (18:42 +0200)]
Fix build-mingw32.sh for CROSS_PKG_CONFIG_DIR without *.pc files
Hib Eris [Mon, 14 Jun 2010 16:22:57 +0000 (18:22 +0200)]
No longer include glib binaries in build-mingw32.sh builds.
By default, Mono now uses an embedded glib implementation, so there
is no need to ship external glib libraries anymore.
Hib Eris [Mon, 14 Jun 2010 15:59:50 +0000 (17:59 +0200)]
Let build-mingw32.sh script also work on dist tarballs
Marek Safar [Tue, 8 Feb 2011 13:55:53 +0000 (13:55 +0000)]
Optimize Enumerable::ToArray
Hib Eris [Mon, 7 Feb 2011 16:43:23 +0000 (17:43 +0100)]
Use winternl.h instead of ddk (when available)
These changes are nescessary for compiling with a mingw-w64 compiler.
Hib Eris [Mon, 7 Feb 2011 16:37:59 +0000 (17:37 +0100)]
Remove implementation details from public header io-layer.h
The macro HAVE_GETPROCESSID is defined in config.h and should not be
exposed in public headers.
Marek Safar [Tue, 8 Feb 2011 12:51:25 +0000 (12:51 +0000)]
[657099] Fix cloning of remapped blocks
Atsushi Eno [Tue, 8 Feb 2011 11:52:20 +0000 (20:52 +0900)]
Simple content restriction was not validated when it is in further reference.
Fixed bug #595947. It was complexType [base]-> complexType [base]-> simpleType.
Rolf Bjarne Kvinge [Tue, 8 Feb 2011 11:36:00 +0000 (12:36 +0100)]
Moonlight build: we need to create the deps dir
Marek Safar [Tue, 8 Feb 2011 11:20:54 +0000 (11:20 +0000)]
New test.
Marek Safar [Tue, 8 Feb 2011 11:15:23 +0000 (11:15 +0000)]
Fix remapping of cloned block parent when already in cloned context
Marek Safar [Tue, 8 Feb 2011 11:15:01 +0000 (11:15 +0000)]
Disable vs hosting
Atsushi Eno [Tue, 8 Feb 2011 09:31:49 +0000 (18:31 +0900)]
For complexType simpleContent restriction, fill attributes from base type.
Part of bugfix #595947.
Atsushi Eno [Tue, 8 Feb 2011 08:09:26 +0000 (17:09 +0900)]
There's a tricky namespace-mismatching deserialization in .NET implementation.
Fixed bug #666333.
Zoltan Varga [Tue, 8 Feb 2011 00:57:33 +0000 (01:57 +0100)]
Make the 4.0 profile the default if no is given on the make line in mcs/.
Rolf Bjarne Kvinge [Tue, 8 Feb 2011 00:07:42 +0000 (01:07 +0100)]
Moonlight build: use system tools to compile. This means we don't need a bootstrapping profile either
Hib Eris [Mon, 7 Feb 2011 17:22:53 +0000 (18:22 +0100)]
Do not distribute eglib-config.h
The file eglib-config.h is generated when running configure.
Distributing eglib-config.h in tarballs causes errors when building
out of the source tree.
Hib Eris [Mon, 7 Feb 2011 13:47:34 +0000 (14:47 +0100)]
Use _vscprintf() for mingw-w64 compilers
The mingw-w64 compilers implement a vsnprintf() function that do not
conform to the C99 standard (just like MSVC).
Marek Habersack [Mon, 7 Feb 2011 23:28:03 +0000 (00:28 +0100)]
[crypto] Added missing 4.0 algorithm names
Hib Eris [Sat, 3 Oct 2009 14:04:43 +0000 (16:04 +0200)]
Include config.h in mono-profiler-aot.c
This change is nescessary for compiling with a mingw-w64 compiler.
Zoltan Varga [Mon, 7 Feb 2011 22:35:57 +0000 (23:35 +0100)]
Cast the result of MONO_CONTEXT_GET_SP () to an int to fix the windows build.
Zoltan Varga [Mon, 7 Feb 2011 22:30:52 +0000 (23:30 +0100)]
Include sys/types.h for pid_t on mingw. Fixes #670076.
Jonathan Pobst [Mon, 7 Feb 2011 22:06:19 +0000 (16:06 -0600)]
Move variable declaration to top of function for msvc.
Marek Safar [Mon, 7 Feb 2011 17:19:07 +0000 (17:19 +0000)]
moonlight build fix
Larry Ewing [Mon, 7 Feb 2011 16:56:50 +0000 (10:56 -0600)]
Pinvoke symbols according to the new moonlight naming convention.
Rodrigo Kumpera [Mon, 7 Feb 2011 16:06:54 +0000 (17:06 +0100)]
Handle patching with shared opt enabled.
* mini-trampilines.c (common_call_trampoline): With
shared optimization enabled code patching doesn't work
if we are running a non root domain.c
Zoltan Varga [Mon, 7 Feb 2011 15:09:43 +0000 (16:09 +0100)]
Use mono_method_get_vtable_slot () instead of accessing method->slot directly. Fixes #669808.
Atsushi Eno [Mon, 7 Feb 2011 14:15:22 +0000 (23:15 +0900)]
Open and close client/service runtime channels in chains. Fixed bug #663278.
Atsushi Eno [Mon, 7 Feb 2011 14:14:53 +0000 (23:14 +0900)]
handle IsTerminating.
Zoltan Varga [Sun, 6 Feb 2011 21:25:32 +0000 (22:25 +0100)]
Fix a warning.
Zoltan Varga [Sun, 6 Feb 2011 19:41:47 +0000 (20:41 +0100)]
Remove a duplicate call to mini_gc_init ().
Zoltan Varga [Sun, 6 Feb 2011 19:27:02 +0000 (20:27 +0100)]
Fix a warning/bug.
Zoltan Varga [Sun, 6 Feb 2011 14:54:39 +0000 (15:54 +0100)]
Really fix the ia64 build.
Zoltan Varga [Sat, 5 Feb 2011 23:07:47 +0000 (00:07 +0100)]
Fix the ia64 build.
Rodrigo Kumpera [Sat, 5 Feb 2011 12:38:07 +0000 (13:38 +0100)]
Add regression test to #666008
Rodrigo Kumpera [Sat, 5 Feb 2011 12:30:45 +0000 (13:30 +0100)]
Fixes ldfnt to ldvtftn conversion.
* mini-trampolines.c (mono_delegate_trampoline): The ldftn
to ldvtftn conversion must check if the method is abstract,
otherwise it breaks delegate to base classes.
Fixes #666008
Zoltan Varga [Fri, 4 Feb 2011 18:44:28 +0000 (19:44 +0100)]
Applied small changes/reorganizations from the unity repo.
Zoltan Varga [Fri, 4 Feb 2011 11:55:12 +0000 (12:55 +0100)]
Print a normal stack trace even if a hard stack overflow happens in unmanaged code.
Atsushi Eno [Fri, 4 Feb 2011 03:51:02 +0000 (12:51 +0900)]
Duplex client has its own listener loop, so special care on reply is needed.
Atsushi Eno [Fri, 4 Feb 2011 03:50:25 +0000 (12:50 +0900)]
Callback contract should be distinguished from others for DispatchOperation.
Zoltan Varga [Thu, 3 Feb 2011 22:03:42 +0000 (23:03 +0100)]
Print a normal stack trace on a hard stack overflow.
Zoltan Varga [Thu, 3 Feb 2011 20:56:00 +0000 (21:56 +0100)]
Fix the handling of CompareExchange icalls in AOT, we were using the 'object' versions for everything, which broke with 64 bit types on 32 bit platforms.
Ankit Jain [Thu, 3 Feb 2011 19:23:47 +0000 (00:53 +0530)]
[webservices] Extensions can be unknown XmlElements also, fix.
* class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs:
Extensions can be XmlElement or ServiceDescriptionFormatExtension.
* class/System.Web.Services/System.Web.Services.Description/ServiceDescription.cs:
(AddExtensionNamespaces): Likewise. Also, ignore namespaces from
XmlElement, as we retain and write them out as-is.
(WriteExtension): Emit the XmlElement as-is.
* class/System.Web.Services/Test/System.Web.Services.Description/ServiceDescriptionTest.cs:
Update to write out the wsdl also.
Zoltan Varga [Thu, 3 Feb 2011 18:45:14 +0000 (19:45 +0100)]
Enable system AOT on arm.
Marek Habersack [Thu, 3 Feb 2011 16:40:00 +0000 (17:40 +0100)]
[xml] XmlReaderSettings.{DtdProcessing,MaxCharactersFromEntities,MaxCharactersInDocument} are present in 3.5+
With the exception of DtdProcessing, the properties are part of .NET 3.5+. DtdProcessing appeared in 4.0.
Marek Habersack [Thu, 3 Feb 2011 12:06:00 +0000 (13:06 +0100)]
[asp.net] HttpRuntimeSection.RequestPathInvalidCharacters default value is different
Zoltan Varga [Thu, 3 Feb 2011 16:18:34 +0000 (17:18 +0100)]
Detect VFP support automatically on arm.
Rodrigo Kumpera [Thu, 3 Feb 2011 15:40:48 +0000 (16:40 +0100)]
Avoid calling time(NULL) when not needed.
* handles.c (_wapi_handle_ref): Avoid calling
time(NULL) for the private case. Some systems implement
it using a syscall.
* handles.c (_wapi_handle_new_from_offset): Ditto.
Rodrigo Kumpera [Thu, 3 Feb 2011 01:01:26 +0000 (02:01 +0100)]
Avoid padding in some cases.
* mini-x86.c (emit_call): nether AOT or icall wrappers
needs padding.
Marek Safar [Thu, 3 Feb 2011 15:13:23 +0000 (15:13 +0000)]
Fix importing of private types under dynamic context
Zoltan Varga [Thu, 3 Feb 2011 15:04:28 +0000 (16:04 +0100)]
Fix the passing of vtype arguments for methods which return floats in soft-float mode. Fixes #668905.
Zoltan Varga [Wed, 2 Feb 2011 23:29:34 +0000 (00:29 +0100)]
Fix a warning.
Marek Safar [Thu, 3 Feb 2011 13:53:41 +0000 (13:53 +0000)]
Add new test
Marek Safar [Thu, 3 Feb 2011 13:37:41 +0000 (13:37 +0000)]
Allow any expression to be used in where clause. Some custom linq implementations use non-predicate version of where
Marek Safar [Thu, 3 Feb 2011 12:22:41 +0000 (12:22 +0000)]
Removed unused files
Marek Safar [Thu, 3 Feb 2011 12:22:12 +0000 (12:22 +0000)]
New test
Marek Safar [Thu, 3 Feb 2011 12:12:48 +0000 (12:12 +0000)]
Don't even try to import type when its context is wrong
Marek Safar [Thu, 3 Feb 2011 12:03:50 +0000 (12:03 +0000)]
Set null object for default timer
Marek Safar [Thu, 3 Feb 2011 11:42:02 +0000 (11:42 +0000)]
Add method into type container as soon the header is ready
Marek Safar [Thu, 3 Feb 2011 11:08:57 +0000 (11:08 +0000)]
Fix error message text
Marek Safar [Thu, 3 Feb 2011 10:25:47 +0000 (10:25 +0000)]
Need three valued bool logic for CLSAttribute value
Marek Habersack [Thu, 3 Feb 2011 01:20:22 +0000 (02:20 +0100)]
[reflection] Default binder's AdjustArguments method treats ParamArray parameters which are already arrays properly
Such parameters are not adjusted as it would lead to an InvalidCastException whenever an attempt to set an array
index's value would be made.
Zoltan Varga [Wed, 2 Feb 2011 23:25:29 +0000 (00:25 +0100)]
Add support for --debug=casts to Array:SetValue (). Fixes #668851.
Rodrigo Kumpera [Wed, 2 Feb 2011 20:44:27 +0000 (21:44 +0100)]
Avoid the loader lock in the common path.
* class.c (mono_generic_class_get_class): Don't take
the loader lock to check if cached_class was created.
Use full memory barriers to make sure proper visibility.
Rodrigo Kumpera [Wed, 2 Feb 2011 18:24:24 +0000 (19:24 +0100)]
Fix dynamic method cleanup at shutdown.
* gc.c (mono_gc_cleanup): Cleanup all reference
queues after regular finalization.
* reflection.c: The dynamic method ref queue is finalized
by the runtime itself.
* runtime.c: Ditto.
Miguel de Icaza [Wed, 2 Feb 2011 18:05:03 +0000 (13:05 -0500)]
[csharp] Change the signature for print
Marek Safar [Wed, 2 Feb 2011 17:23:30 +0000 (17:23 +0000)]
New test
Marek Safar [Wed, 2 Feb 2011 17:23:15 +0000 (17:23 +0000)]
Better log details for CS0281
Marek Safar [Wed, 2 Feb 2011 16:15:31 +0000 (16:15 +0000)]
Implement support for implicit user conversion for DefaultParameterValue (very odd)
Jérémie Laval [Wed, 2 Feb 2011 16:40:53 +0000 (16:40 +0000)]
Steal more agressively once we have found a potential available worker
Jérémie Laval [Wed, 2 Feb 2011 16:40:01 +0000 (16:40 +0000)]
Move call to Set a bit higher to avoid calling them to repeatdly in ThreadWorker
Jérémie Laval [Wed, 2 Feb 2011 16:39:31 +0000 (16:39 +0000)]
Adjust some ThreadWorker constants
Jérémie Laval [Wed, 2 Feb 2011 16:38:36 +0000 (16:38 +0000)]
Don't reset ThreadWorker event when it's not needed
Jérémie Laval [Wed, 2 Feb 2011 16:37:01 +0000 (16:37 +0000)]
Avoid wrapping task body given as Action into Action<object>
Atsushi Eno [Wed, 2 Feb 2011 16:07:44 +0000 (01:07 +0900)]
Now operations are collected per corresponding ContractDescription.
This fixes naming of MessageDescription Action URI from its type.
Zoltan Varga [Wed, 2 Feb 2011 15:20:16 +0000 (16:20 +0100)]
Rebuild mscorlib/mcs AOT images if the runtime changes.
Lucas Meijer [Tue, 26 Oct 2010 17:00:46 +0000 (19:00 +0200)]
make mono_print_thread_dump output to the visualstudio debugger window, for better debugger experience
Jérémie Laval [Wed, 2 Feb 2011 15:00:11 +0000 (15:00 +0000)]
Also check directly Task.IsCompleted when we are waiting
Jérémie Laval [Wed, 2 Feb 2011 14:58:13 +0000 (14:58 +0000)]
Avoid possible races in ManualResetEventSlim in case handle was already created but not with correct value
Jérémie Laval [Wed, 2 Feb 2011 14:56:03 +0000 (14:56 +0000)]
Cache ChildWorkAdder delegate object in ThreadWorker
Jérémie Laval [Wed, 2 Feb 2011 14:52:20 +0000 (14:52 +0000)]
Lazy creation of the continuation queue in Task
Jérémie Laval [Wed, 2 Feb 2011 14:50:16 +0000 (14:50 +0000)]
Inline read and write calls in CyclicDeque
Jérémie Laval [Wed, 2 Feb 2011 14:47:31 +0000 (14:47 +0000)]
Make some CyclicDeque operation faster
Ankit Jain [Wed, 2 Feb 2011 12:19:05 +0000 (17:49 +0530)]
[xbuild] Warn for unknown toolsVersion only on build.
Emit warning for unknown toolsversion only on a build, and
*not* everytime the project file is parsed.
* class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Project.cs
(GetToolsVersionToUse): Add a 'emitWarning' bool param.
(Build): Call GetToolsVersionToUse () to ensure that a warning is
emitted in case of a unknown tools version.
Marek Safar [Wed, 2 Feb 2011 12:38:44 +0000 (12:38 +0000)]
Update error tests
Marek Safar [Wed, 2 Feb 2011 12:35:37 +0000 (12:35 +0000)]
Update mono.spec with new mcs.exe location
Marek Safar [Wed, 2 Feb 2011 12:31:53 +0000 (12:31 +0000)]
Compile&Run runtime tests with 4.0 corlib
Marek Safar [Wed, 2 Feb 2011 12:14:26 +0000 (12:14 +0000)]
Move DynamicContext class into a new file
Marek Safar [Wed, 2 Feb 2011 12:07:12 +0000 (12:07 +0000)]
Add handling of broken Convert callsite from Orchard Project
Rodrigo Kumpera [Wed, 2 Feb 2011 11:30:35 +0000 (12:30 +0100)]
Align call instructions to make code patching SMP safe.
* mini-x86.c (emit_call): Align call instructions on
3 mod 4 so the address is 4 bytes aligned and can't span
two cache lines. This is required for proper SMP support
as CAS is not atomic across cache lines.
Fixes one of the crashes due to #667921.
Marek Safar [Wed, 2 Feb 2011 11:07:50 +0000 (11:07 +0000)]
Another attempt to build resgen correctly
Marek Safar [Wed, 2 Feb 2011 11:07:42 +0000 (11:07 +0000)]
New test
Marek Safar [Wed, 2 Feb 2011 10:01:51 +0000 (10:01 +0000)]
Update to the latest mcs
Marek Safar [Wed, 2 Feb 2011 09:44:00 +0000 (09:44 +0000)]
Update resgen header
Marek Safar [Wed, 2 Feb 2011 09:40:52 +0000 (09:40 +0000)]
Update to the latest mcs
Marek Safar [Wed, 2 Feb 2011 09:13:59 +0000 (09:13 +0000)]
Make resgen build profile specific
Marek Safar [Wed, 2 Feb 2011 09:09:48 +0000 (09:09 +0000)]
Clean up resource files
Atsushi Eno [Wed, 2 Feb 2011 09:18:02 +0000 (18:18 +0900)]
Implement XamlReader.ReadSubtree().
Atsushi Eno [Wed, 2 Feb 2011 09:14:24 +0000 (18:14 +0900)]
Add missing test files.
Atsushi Eno [Wed, 2 Feb 2011 07:11:58 +0000 (16:11 +0900)]
Implement GetInheritedContracts(), towards bugfix #668089.