Marek Safar [Tue, 17 May 2011 08:09:12 +0000 (09:09 +0100)]
[693947] Ignore delegate declaration when looking for type name
Marek Safar [Mon, 16 May 2011 15:41:39 +0000 (16:41 +0100)]
[692149] Fixed ordering of named arguments list when starting with positional argument
Marek Habersack [Mon, 16 May 2011 14:13:20 +0000 (16:13 +0200)]
[asp.net] Fix for bug #650847. Output both tagged and untagged UpdatePanel names in AJAX responses.
Also, update panels which rendered empty string are included in the output.
Marek Safar [Mon, 16 May 2011 10:57:44 +0000 (11:57 +0100)]
Initial refactoring to accommodate async
Marek Safar [Mon, 16 May 2011 08:45:07 +0000 (09:45 +0100)]
New test
Atsushi Eno [Mon, 16 May 2011 09:45:08 +0000 (18:45 +0900)]
Do not import xs:any member as XmlElement[]. Create a wrapper class instead.
Part of bugfix #670945.
Atsushi Eno [Mon, 16 May 2011 07:35:10 +0000 (00:35 -0700)]
Merge pull request #101 from occ/master
Decimal support to XmlBinaryDictionaryReader
Atsushi Eno [Mon, 16 May 2011 07:31:14 +0000 (16:31 +0900)]
Attachable property setter was not working with XamlObjectWriter.
Fixed bug #693779.
Flose Maier [Sun, 15 May 2011 11:25:38 +0000 (13:25 +0200)]
Add test for bug 686486.
Zoltan Varga [Sun, 15 May 2011 11:04:02 +0000 (13:04 +0200)]
Avoid a crash in Field:GetRawConstantValue () if the field type couldn't be loaded. Fixes #693894.
Zoltan Varga [Fri, 13 May 2011 20:16:15 +0000 (22:16 +0200)]
Fix warnings + the windows build.
Rodrigo Kumpera [Fri, 13 May 2011 20:09:57 +0000 (17:09 -0300)]
More win32 fixing
Rodrigo Kumpera [Fri, 13 May 2011 18:18:45 +0000 (15:18 -0300)]
Fix win32
Onur Can Cakmak [Fri, 13 May 2011 18:11:55 +0000 (14:11 -0400)]
Add decimal support to XmlBinaryDictionaryReader
Atsushi Eno [Fri, 13 May 2011 16:28:03 +0000 (01:28 +0900)]
Implement XmlSerializerMessageContractImporter, round 2.
This time it is XmlSerializer-based, got it somewhat working.
Rodrigo Kumpera [Thu, 12 May 2011 22:40:19 +0000 (19:40 -0300)]
Fix variant iface verification.
class.c (mono_gparam_is_reference_conversible): Short-circuit
if arguments are the same type.
* class.c (mono_class_is_variant_compatible): Ditto.
* verify.c (verifier_class_is_assignable_from): Ditto.
* verify.c (verifier_class_is_assignable_from): GTD and open
types interface expansion is not very regular, so we need
to check them more throughtly.
Fixes #693266
Zoltan Varga [Fri, 13 May 2011 15:44:56 +0000 (17:44 +0200)]
Fix the build.
Zoltan Varga [Fri, 13 May 2011 14:07:50 +0000 (07:07 -0700)]
Merge pull request #100 from Unity-Technologies/master-leak-descriptors
[Fix] Don't leak function descriptors on ia64 and ppc64.
Tak [Fri, 13 May 2011 13:45:54 +0000 (15:45 +0200)]
Don't ifdef ftnptrs_hash.
Mark Probst [Fri, 13 May 2011 13:02:02 +0000 (15:02 +0200)]
[sgen] Use critical region instead of lock in mono_gc_wbarrier_value_copy().
Since the card table is lock-free we don't need the full GC lock in
the value copy wbarrier - the critical region, which prevents the GC
from interrupting, is sufficient.
Atsushi Eno [Fri, 13 May 2011 12:52:31 +0000 (21:52 +0900)]
Do not take host part into consideration on comparing URLs.
It blocks access by different host name (e.g. localhost vs. IP).
This was part of bugfix #687580 (forgot to commit).
Atsushi Eno [Fri, 13 May 2011 12:46:24 +0000 (21:46 +0900)]
Implement WsdlContractConversionContext, and ignore message importer for now.
Tak [Fri, 13 May 2011 12:10:14 +0000 (14:10 +0200)]
[Fix] Don't leak function descriptors on ia64 and ppc64.
* metadata/domain.c:
* metadata/domain-internals.h: Cache function descriptors for domain.
* mini.c: Use cache when creating function pointer descriptors.
License: MIT/X11
Mark Probst [Thu, 12 May 2011 21:54:36 +0000 (23:54 +0200)]
Merge branch 'sgen-stage-finalize'
Mark Probst [Wed, 11 May 2011 20:54:26 +0000 (22:54 +0200)]
[sgen] Staged weak link registration.
Do the staging that we've done for finalizers for weak links as
well. Both these optimizations speed up the HttpListener test
significantly.
Mark Probst [Tue, 10 May 2011 22:40:43 +0000 (00:40 +0200)]
[sgen] Move weak link hash code to separate file.
Mark Probst [Tue, 10 May 2011 20:57:15 +0000 (22:57 +0200)]
[sgen] Staging of finalizer registrations.
Registering a finalizer required the GC lock to be taken. To remove
this need we introduce an array where finalizer registrations are
staged in a lock-free way. Only when the array (currently holding
1024 elements) is full is the GC lock taken and the finalizers are
inserted into the hash. Of course this also needs to happen when a
collection starts and when a domain is unloaded.
Mark Probst [Tue, 10 May 2011 16:27:44 +0000 (18:27 +0200)]
[sgen] Move finalization hash code to separate file.
Rodrigo Kumpera [Thu, 12 May 2011 19:01:48 +0000 (12:01 -0700)]
Merge pull request #82 from Unity-Technologies/master-gc-race
[Fix] Fix intermittent initialization race crash with boehm gc.
Rodrigo Kumpera [Thu, 12 May 2011 19:00:54 +0000 (12:00 -0700)]
Merge pull request #92 from konrad-kruczynski/master
[Fix] Patch addressing bug #688940
Rodrigo Kumpera [Thu, 12 May 2011 18:51:40 +0000 (11:51 -0700)]
Merge pull request #96 from ualtinok/master
[FIX] Addition to resolution of bug #677539
Veerapuram Varadhan [Thu, 12 May 2011 18:06:26 +0000 (11:06 -0700)]
Merge pull request #99 from IgorTkachev/master
SqlDbType missing values.
Igor Tkachev [Thu, 12 May 2011 03:09:38 +0000 (23:09 -0400)]
SqlDbType missing value.
Rodrigo Kumpera [Wed, 11 May 2011 21:20:13 +0000 (18:20 -0300)]
Properly handle compressed interface bitmaps on the array store wrapper.
* marshal.c (get_virtual_stelemref_kind): Don't emit optimized
stelemref wrapper if compressed interface bitmaps are enabled.
Rodrigo Kumpera [Wed, 11 May 2011 21:14:16 +0000 (18:14 -0300)]
Fix windows build
Rodrigo Kumpera [Wed, 11 May 2011 20:31:34 +0000 (17:31 -0300)]
Enable the new interrupt machinery on x86 + linux|mach.
* mono-threads.c (mono_thread_info_new_interrupt_enabled):
Enable it on the targets that have been ported and tested.
Igor Tkachev [Wed, 11 May 2011 20:26:15 +0000 (16:26 -0400)]
SqlDbType missing values.
Rodrigo Kumpera [Wed, 11 May 2011 20:09:55 +0000 (17:09 -0300)]
Implement thread dump using new machinery.
* gc.c: Thread dump now uses the finalizer thread
to be more reliable.
* threads.c (mono_threads_perform_thread_dump): New
function that dumps all threads using the new machinery.
* mini-posix.c (sigquit_signal_handler): Use new machinery
if available.
Rodrigo Kumpera [Wed, 11 May 2011 19:24:50 +0000 (16:24 -0300)]
Make sure the GC takes the appropriate locks during STW.
* sgen-gc.c:
* boehm-gc.c: The collector must takes the interruption
lock before starting STW to avoid deadlocks. This is specially
problematic in the case of hosts that are not signal based.
For example, say we have threads 1,2,3. Thread 1 is interrupting
thread 2 while thread 3 begins to Stop-The-World. Now given the
following ordered events:
-thread 1 suspends thread 2, which is in a gc unsafe area.
-thread 3 suspends thread 1 and 2.
-thread 3 tries to restart thread 2 since it is in a gc unsafe
area, but since its suspend count is 2, it fails to do so and
deadlock.
An alternative would be to make the suspended state not have
a counter, but that would make the STW code trickier as it would
need to restore the thread to its previous state and not simply
resume it.
This could work with sgen, but would require some surgery on
boehm, which is completely undesirable given how state it is.
Atsushi Eno [Wed, 11 May 2011 09:40:15 +0000 (18:40 +0900)]
Revert previous XmlSerializerMessageContractImporter implementation.
XsdDataContractImporter is not XmlSerializer-based, while this class is.
Atsushi Eno [Wed, 11 May 2011 07:54:52 +0000 (16:54 +0900)]
Add PipeException. fixed bug #692987 by Eberhard Beilharz.
Atsushi Eno [Wed, 11 May 2011 07:34:45 +0000 (16:34 +0900)]
Fixed orders in XmlSchemaObjectTable and got some S.R.Serialization tests working.
Rodrigo Kumpera [Tue, 10 May 2011 18:57:00 +0000 (15:57 -0300)]
Implement sync suspend based interruption
Rodrigo Kumpera [Tue, 10 May 2011 17:28:39 +0000 (14:28 -0300)]
work around full aot not working
Rodrigo Kumpera [Tue, 10 May 2011 17:28:21 +0000 (14:28 -0300)]
Remove dead variable
Neale Ferguson [Tue, 10 May 2011 18:14:22 +0000 (14:14 -0400)]
Merge branch 'master' of github.com:mono/mono
Neale Ferguson [Tue, 10 May 2011 18:13:45 +0000 (14:13 -0400)]
Add MONO_ARCH_HAVE_CONTEXT_SET_INT_REG for s390x
Rodrigo Kumpera [Tue, 10 May 2011 14:48:14 +0000 (11:48 -0300)]
Pass mono_install_handler_block_guard in the eh callback table
Atsushi Eno [Tue, 10 May 2011 13:02:20 +0000 (22:02 +0900)]
CanImport() just returns false, without throwing error.
Atsushi Eno [Tue, 10 May 2011 12:45:45 +0000 (21:45 +0900)]
support import of xs:anyType, as well as make couple of minor fixes.
Atsushi Eno [Tue, 10 May 2011 10:58:17 +0000 (19:58 +0900)]
Fix common issue in MetadataSet - call MoveToContent() while iterating nodes.
Atsushi Eno [Tue, 10 May 2011 10:33:52 +0000 (19:33 +0900)]
Add new MetadataSetTest and fix couple of minor issues.
Atsushi Eno [Tue, 10 May 2011 10:33:15 +0000 (19:33 +0900)]
Revive this test by implementing mock web server.
Atsushi Eno [Tue, 10 May 2011 10:32:25 +0000 (19:32 +0900)]
Add (not-working) callback instance context mode test and FIXME comment.
Atsushi Eno [Tue, 10 May 2011 08:40:35 +0000 (17:40 +0900)]
Update XsdDataContractImporter.CanImport and implement ImportXmlType.
Rodrigo Kumpera [Tue, 10 May 2011 01:46:52 +0000 (22:46 -0300)]
Enable async invoke on x86.
* exceptions-x86.c (mono_arch_handle_exception): Extract
mono_arch_setup_async_callback which is used to setup
async calls.
* mini-x86.h: Enable async calls on x86.
Sebastien Pouliot [Mon, 9 May 2011 17:47:35 +0000 (13:47 -0400)]
Add (disabled) unit tests for sync use of CommunicationObject
* System.ServiceModel_test.dll.sources: Add new files to the tests
* Test/NUnitMoonHelper.cs: Helper to re-use Moonlight unit tests on NUnit
* Test/System.ServiceModel.Channels/CommunicationObjectSyncTest.cs: New.
Atsushi Eno [Mon, 9 May 2011 13:58:18 +0000 (22:58 +0900)]
ongoing XmlSerializerMessageContractImporter work.
It is part of bugfix #670945.
Atsushi Eno [Mon, 9 May 2011 10:09:19 +0000 (19:09 +0900)]
Multiple schemas in wsdl could share same SourceUri, so check more identity.
Part of bugfix #670945.
Atsushi Eno [Mon, 9 May 2011 04:50:38 +0000 (13:50 +0900)]
Allow xsi:nil for void. Fixed client side of bug #687580.
Atsushi Eno [Mon, 9 May 2011 04:40:16 +0000 (13:40 +0900)]
Now our HttpListener can listen to wildcard prefix safely.
Fixed server part of bug #687580.
Flose Maier [Sun, 8 May 2011 10:59:01 +0000 (12:59 +0200)]
Avoid crash when setting the DialogResult in the FormClosing event method. Fixes bug 686486.
Mark Probst [Fri, 6 May 2011 23:39:00 +0000 (01:39 +0200)]
[utils] Fix lock-free data structures.
Hazard pointers didn't check for the third pointer.
Lots of memory barriers missing.
Small bug in LLS.
Comments and asserts.
Rodrigo Kumpera [Fri, 6 May 2011 19:43:17 +0000 (16:43 -0300)]
More win32 fixes
Neale Ferguson [Fri, 6 May 2011 16:53:12 +0000 (12:53 -0400)]
Merge branch 'master' of github.com:mono/mono
Neale Ferguson [Fri, 6 May 2011 16:52:19 +0000 (12:52 -0400)]
Implement soft debugger for s390x and fix context macro for s390x
Lluis Sanchez [Fri, 6 May 2011 16:37:19 +0000 (18:37 +0200)]
[Web Services] Fix regression caused by previous commit
Fixes a regression caused by the implementation of support
for optional parameters. GlobalIndex was not being set
when using SOAP RPC protocol.
Konrad M. Kruczynski [Fri, 6 May 2011 13:52:06 +0000 (15:52 +0200)]
Small thing reverted.
Konrad M. Kruczynski [Fri, 6 May 2011 13:47:29 +0000 (15:47 +0200)]
Merge branch 'master' of github.com:konrad-kruczynski/mono
Konrad M. Kruczynski [Fri, 6 May 2011 13:43:56 +0000 (15:43 +0200)]
Added test for bug fix #688940.
Test tries to open serial port with nonstandard baudrate,
particularly 1234. OutOfRange should be thrown. Test also
added to csproj.
Sebastien Pouliot [Fri, 6 May 2011 12:40:11 +0000 (08:40 -0400)]
Update S.X.S sources files to use S.XML sources
Sebastien Pouliot [Fri, 6 May 2011 12:02:21 +0000 (08:02 -0400)]
Make some S.X.S types compatible with the SL API (for SDK)
* XmlAnyElementAttributes.cs:
* XmlArrayItemAttributes.cs:
* XmlElementAttributes.cs:
Under Silverlight API this implement IList only (does not
inherit from CollectionBase).
* XmlCustomFormatter.cs:
* XmlSerializationWriterInterpreter.cs:
Use a Convert.ChangeType override that exists in SL API
* XmlReflectionImporter.cs: Provide an alternative for (missing in SL)
Enum.GetNames and select available (in SL) overloads for parsing and
formatting for enums
* XmlSerializationReader.cs: Fix ToEnum API to use IDictionary (in SL)
instead of Hashtable (even if the SL4 docs still states the later)
* XmlSerializationReaderInterpreter.cs:
* XmlTypeMapping.cs:
Use the default (identical to nonPublic being false) when using
Activator.CreateInstance under SL
* XmlSerializationWriter.cs: Internally use a Queue<T> instead a a Queue
(not available in SL). Also Namespaces (ArrayList) is replaced by
XmlNamespaces (IList) in SL API.
* XmlSerializer.cs: Do not use environment variables in MOONLIGHT (like
the rest of MOBILE). Use Encoding.UTF8 instead of ENcoding.Default since
the later does not exist in SL.
* XmlSerializerImplementation.cs: SL version use IDictionary instead of
Hashtable for properties.
* XmlSerializerNamespaces.cs: Internally use a generic Dictionary
* instead
of a ListDictionary (which is not available in SL)
Sebastien Pouliot [Thu, 5 May 2011 23:23:52 +0000 (19:23 -0400)]
Enable some code to be included in Moonlight's S.X.S.dll SDK assembly
* System.Collections/ArrayList.cs:
* System.Collections/Hashtable.cs:
Do not include debugger-related attributes and some interfaces
when compiled outside corlib
* System.Runtime.Serialization/ObjectIDGenerator.cs: Ensure this can be
compiled outside corlib (needed for ML S.X.S.dll where even internals
cannot be used)
Jeffrey Stedfast [Fri, 6 May 2011 01:01:33 +0000 (21:01 -0400)]
Fix the build for Windows (use int instead of ssize_t)
Rodrigo Kumpera [Fri, 6 May 2011 00:33:03 +0000 (21:33 -0300)]
Fixes for win32
Jeffrey Stedfast [Thu, 5 May 2011 21:46:15 +0000 (17:46 -0400)]
Fixed for Big Endian machines.
Rodrigo Kumpera [Thu, 5 May 2011 19:25:22 +0000 (16:25 -0300)]
Make sure that implicit variant type conversion implies in a reference conversion.
* class.c (mono_class_is_variant_compatible): Now takes an aditional
parameter to tell if reference conversion should be checked.
* verify.c (verifier_class_is_assignable_from): Check that a variant
generic type convertion has a reference conversion.
Fixes #687193
Veerapuram Varadhan [Wed, 4 May 2011 21:58:53 +0000 (03:28 +0530)]
[ado.net]bugfix:688773 - Assign default value to columns that does not
exist in the row that is being imported.
Veerapuram Varadhan [Wed, 4 May 2011 20:17:50 +0000 (01:47 +0530)]
[ado.net]bugfix:681916 - Based on patch by Scott <srfcanada@hotmail.com>
- Handle null values for parameter types varbinary(max) and/or image
Veerapuram Varadhan [Wed, 4 May 2011 18:57:42 +0000 (00:27 +0530)]
[mono]bugfix:663287 - Validate the type of value against underlyingtype
instead of nullableType.
Veerapuram Varadhan [Tue, 3 May 2011 18:04:25 +0000 (23:34 +0530)]
[ado.net]BugFix 663914 - Retain original version of a col when
(De)Serialization of DataSet and DataTables.
Marek Habersack [Wed, 4 May 2011 21:30:57 +0000 (23:30 +0200)]
[corlib] Do not cache disposed resource sets.
Marek Habersack [Wed, 4 May 2011 21:27:29 +0000 (23:27 +0200)]
[asp.net] Do not retrieve script's URL in RegisterScriptReference if script.Path is set.
ualtinok [Wed, 4 May 2011 14:44:55 +0000 (07:44 -0700)]
Made Count setter internal ->
Set Count to 0 as well as BytesTransferred when reusing a SocketAsyncEventArgs
ualtinok [Wed, 4 May 2011 14:41:44 +0000 (07:41 -0700)]
Set Count to 0 as well as BytesTransferred when reusing a SocketAsyncEventArgs.
Miguel de Icaza [Wed, 4 May 2011 14:40:03 +0000 (07:40 -0700)]
Merge pull request #95 from XTZGZoReX/master.
Fix spelling in Consts.cs.in
Konrad Kruczyński [Wed, 4 May 2011 11:51:44 +0000 (04:51 -0700)]
Edited mcs/class/System/System.IO.Ports/SerialPortStream.cs via GitHub
Marek Safar [Wed, 4 May 2011 11:18:15 +0000 (12:18 +0100)]
[691531] Variance conversion requires type parameters to be reference types
XTZGZoReX [Wed, 4 May 2011 10:49:03 +0000 (12:49 +0200)]
Fix spelling in Consts.cs.in.
Andreia Gaita [Tue, 26 Apr 2011 18:58:44 +0000 (19:58 +0100)]
[json] revert part of
382a385a8f, it regresses moon drt 983
Rodrigo Kumpera [Tue, 3 May 2011 20:40:10 +0000 (13:40 -0700)]
Merge pull request #94 from XTZGZoReX/master.
Remove dead NET_1_1 code in ILASM's Makefile
XTZGZoReX [Tue, 3 May 2011 20:24:09 +0000 (22:24 +0200)]
ilasm: Makefile: Remove dead NET_1_1 code.
Rodrigo Kumpera [Tue, 3 May 2011 17:46:16 +0000 (14:46 -0300)]
Add define to conditionally compile code using mono-context.
Mark Probst [Tue, 3 May 2011 13:54:02 +0000 (15:54 +0200)]
[sgen] Fix thread unregister deadlock race.
We had a race that happened now and then and led to a deadlock. A
thread would be dying and at the same time the GC would kick in,
acquiring the GC lock. The thread was still in the thread list, so
the GC would try to suspend it. pthreads was already in the process
of destructing the thread's TLS, however, so its thread info was no
longer available and the thread could not reply to the suspend signal.
The thread's destructor, however, tried to acquire the GC lock, so no
progress would happen anymore.
The solution is to set a flag in the thread info indicating that the
GC wants the thread to suspend. Instead of getting the GC lock in the
desctructor unconditionally we now just try to lock, and if we fail we
check the flag. If it is set, we suspend the thread from within the
thread info destructor.
Marek Safar [Tue, 3 May 2011 12:47:49 +0000 (13:47 +0100)]
[691417] Set array Packing/Size values without using custom attribute
Martin Baulig [Wed, 27 Apr 2011 15:48:10 +0000 (17:48 +0200)]
Add socket timeouts to the soft debugger.
SDB now support setting a send/receive timeout on the client's side
of the communication socket. To make this work, the server sends
a special 'keepalive' event when using receive timeouts.
There's a new method VirtualMachine.SetSocketTimeouts() to enable
this feature.
Rodrigo Kumpera [Tue, 3 May 2011 05:25:45 +0000 (02:25 -0300)]
Add regression test for #691057
Rodrigo Kumpera [Tue, 3 May 2011 03:27:20 +0000 (00:27 -0300)]
Fix a couple of issues on Mono.Simd.
* local-propagation.c (mono_local_deadce): Don't perform
reverse copyprop on simd insert ops. The backend requires
dreg and sreg1 to match.
* mini-x86.c (mono_arch_output_basic_block): Fix insert_r8_slow
for the X element.
Fixes a few bugs due to #691057
Zoltan Varga [Tue, 3 May 2011 01:26:04 +0000 (03:26 +0200)]
Fix the ARM build.
Zoltan Varga [Mon, 2 May 2011 23:02:27 +0000 (01:02 +0200)]
Implement BSTR icalls even when COM is disabled. Fixes #690255.