mono.git
13 years agoilasm: Makefile: Remove dead NET_1_1 code.
XTZGZoReX [Tue, 3 May 2011 20:24:09 +0000 (22:24 +0200)]
ilasm: Makefile: Remove dead NET_1_1 code.

13 years agoAdd define to conditionally compile code using mono-context.
Rodrigo Kumpera [Tue, 3 May 2011 17:46:16 +0000 (14:46 -0300)]
Add define to conditionally compile code using mono-context.

13 years ago[sgen] Fix thread unregister deadlock race.
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.

13 years ago[691417] Set array Packing/Size values without using custom attribute
Marek Safar [Tue, 3 May 2011 12:47:49 +0000 (13:47 +0100)]
[691417] Set array Packing/Size values without using custom attribute

13 years agoAdd socket timeouts to the soft debugger.
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.

13 years agoAdd regression test for #691057
Rodrigo Kumpera [Tue, 3 May 2011 05:25:45 +0000 (02:25 -0300)]
Add regression test for #691057

13 years agoFix a couple of issues on Mono.Simd.
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

13 years agoFix the ARM build.
Zoltan Varga [Tue, 3 May 2011 01:26:04 +0000 (03:26 +0200)]
Fix the ARM build.

13 years agoImplement BSTR icalls even when COM is disabled. Fixes #690255.
Zoltan Varga [Mon, 2 May 2011 23:02:27 +0000 (01:02 +0200)]
Implement BSTR icalls even when COM is disabled. Fixes #690255.

13 years agodon't init smr twice
Rodrigo Kumpera [Mon, 2 May 2011 21:33:30 +0000 (18:33 -0300)]
don't init smr twice

13 years agoFix resume_thread_internal return type
Rodrigo Kumpera [Mon, 2 May 2011 21:20:17 +0000 (18:20 -0300)]
Fix resume_thread_internal return type

13 years agoFix thread unregistration under sgen.
Rodrigo Kumpera [Mon, 2 May 2011 20:00:00 +0000 (17:00 -0300)]
Fix thread unregistration under sgen.

* mono-threads.c (unregister_thread): The only way to
remove the current thread from the thread list without
causing troubles to sgen is to do it with the gc lock
held, so from the unregister callback.

* sgen-gc.c (sgen_unregister_thread): Call into the
new function to remove the current thread from the thread
list.

13 years agoFix parameter name for Aes.Create
Sebastien Pouliot [Mon, 2 May 2011 16:18:43 +0000 (12:18 -0400)]
Fix parameter name for Aes.Create

* Aes.cs: Fix parameter name

13 years agoAdd new 4.0 method (stub) for X509Certificate
Sebastien Pouliot [Mon, 2 May 2011 16:17:11 +0000 (12:17 -0400)]
Add new 4.0 method (stub) for X509Certificate

* X509Certificate.cs: Add stub for FormatDate (4.0)

13 years agoMatch IDisposable with 4.0 changes in System.Security.Cryptography
Sebastien Pouliot [Mon, 2 May 2011 16:14:53 +0000 (12:14 -0400)]
Match IDisposable with 4.0 changes in System.Security.Cryptography

* AsymmetricAlgorithm.cs:
* CryptoAPITransform.cs:
* DeriveBytes.cs:
* FromBase64Transform.cs:
* HashAlgorithm.cs:
* PasswordDeriveBytes.cs:
* Rfc2898DeriveBytes.cs:
* RijndaelManagedTransform.cs:
* SymmetricAlgorithm.cs:
* ToBase64Transform.cs:
Adjust changes to IDisposable wrt 4.0

13 years agoAdd some new 4.0 features in System.Security.Cryptography
Sebastien Pouliot [Mon, 2 May 2011 16:13:23 +0000 (12:13 -0400)]
Add some new 4.0 features in System.Security.Cryptography

* CspProviderFlags.cs: Add new CreateEphemeralKey (128) value
* CryptoConfig.cs: Add 4.0 AllowOnlyFipsAlgorithms (always false) and
stubs for AddAlgorithm and AddOID
* CryptoStream.cs: Remove Close override (from 1.x days) and implement
HasFlushedFinalBlock (4.0)

13 years ago[runtime] Fix handling of ECMA key when parsing assembly name.
Marek Habersack [Mon, 2 May 2011 13:09:46 +0000 (15:09 +0200)]
[runtime] Fix handling of ECMA key when parsing assembly name.

This fixes mcs InternalsVisibleTo support for assemblies signed with the ECMA (ecma.pub)
key. Previously the key token would be returned as the assembly's key, which caused mcs
to fail to match friend assemblies.

13 years ago[mono-api-info] try to read local files before using the resolver
Jb Evain [Mon, 2 May 2011 13:38:16 +0000 (15:38 +0200)]
[mono-api-info] try to read local files before using the resolver

13 years agoFix the mobile build
Jb Evain [Mon, 2 May 2011 13:17:55 +0000 (15:17 +0200)]
Fix the mobile build

13 years ago[linker] Fix reading symbols of resolved assemblies
Jb Evain [Mon, 2 May 2011 11:57:36 +0000 (13:57 +0200)]
[linker] Fix reading symbols of resolved assemblies

13 years ago[linker] keep types in the module when sweeping them
Jb Evain [Mon, 2 May 2011 11:56:39 +0000 (13:56 +0200)]
[linker] keep types in the module when sweeping them

13 years agoFix non net_4_0 profiles build
Jb Evain [Mon, 2 May 2011 09:57:40 +0000 (11:57 +0200)]
Fix non net_4_0 profiles build

13 years agoProperly check the maxstacksize asked for the Thread
Jb Evain [Mon, 2 May 2011 09:39:21 +0000 (11:39 +0200)]
Properly check the maxstacksize asked for the Thread

13 years agoAdd test for Thread.ctor where the stacksize is not divisible by the system page...
Jb Evain [Mon, 2 May 2011 09:38:05 +0000 (11:38 +0200)]
Add test for Thread.ctor where the stacksize is not divisible by the system page size

13 years agoFix support for parameters with generic constraints in Type.IsAssignableFrom ()....
Zoltan Varga [Mon, 2 May 2011 07:39:49 +0000 (09:39 +0200)]
Fix support for parameters with generic constraints in Type.IsAssignableFrom (). Fixes #691119.

13 years agoMerge pull request #90 from nulltoken/patch-1.
Miguel de Icaza [Sun, 1 May 2011 21:59:29 +0000 (14:59 -0700)]
Merge pull request #90 from nulltoken/patch-1.

[XBuild) Make RemoveDir task able to recursively delete the content of a directory

13 years agoUpdate SGen sources to SGen license
Miguel de Icaza [Sun, 1 May 2011 21:18:47 +0000 (17:18 -0400)]
Update SGen sources to SGen license

13 years agoMerge branch 'sgen-lock-free-alloc'
Mark Probst [Sun, 1 May 2011 18:50:34 +0000 (20:50 +0200)]
Merge branch 'sgen-lock-free-alloc'

13 years ago[utils] Document the lock-free allocator.
Mark Probst [Sun, 1 May 2011 18:45:50 +0000 (20:45 +0200)]
[utils] Document the lock-free allocator.

13 years ago[sgen] Make sure remset clearing doesn't crash if we change thread unregistering.
Mark Probst [Sat, 23 Apr 2011 15:50:43 +0000 (17:50 +0200)]
[sgen] Make sure remset clearing doesn't crash if we change thread unregistering.

13 years ago[sgen] Attach thread info early so that hazard pointers are available.
Mark Probst [Sat, 23 Apr 2011 16:19:36 +0000 (18:19 +0200)]
[sgen] Attach thread info early so that hazard pointers are available.

13 years ago[sgen] Use the lock free allocator as the internal allocator for SGen.
Mark Probst [Sat, 23 Apr 2011 10:53:59 +0000 (12:53 +0200)]
[sgen] Use the lock free allocator as the internal allocator for SGen.

13 years ago[utils] Added lock-free queue and allocator.
Mark Probst [Fri, 22 Apr 2011 19:24:28 +0000 (21:24 +0200)]
[utils] Added lock-free queue and allocator.

13 years ago[eglib] make g_mkdir_with_parents work for paths not ending in /
Chris Toshok [Sun, 1 May 2011 06:11:32 +0000 (23:11 -0700)]
[eglib] make g_mkdir_with_parents work for paths not ending in /

13 years agoAvoid doubly declaring some types in the 2.1 profile for mobile
Geoff Norton [Sat, 30 Apr 2011 15:48:44 +0000 (11:48 -0400)]
Avoid doubly declaring some types in the 2.1 profile for mobile

13 years agoFix prefix selection
Gonzalo Paniagua Javier [Sat, 30 Apr 2011 09:33:00 +0000 (11:33 +0200)]
Fix prefix selection

We were picking the wrong prefix when the URL matched the path.
Fixes bug #688860.

13 years agoSupport FTP + RETR + proxy
Gonzalo Paniagua Javier [Sat, 30 Apr 2011 09:07:56 +0000 (11:07 +0200)]
Support FTP + RETR + proxy

Fixes bug #690887.

13 years agoDon't return values in functions returning void
Jeffrey Stedfast [Sat, 30 Apr 2011 00:25:58 +0000 (20:25 -0400)]
Don't return values in functions returning void

13 years agoIntroduce a couple of functions to abstract old and new interrupt machinery.
Rodrigo Kumpera [Fri, 29 Apr 2011 20:47:24 +0000 (17:47 -0300)]
Introduce a couple of functions to abstract old and new interrupt machinery.

* threads.c: Move code around to make it easier to have both
old and new machinery around.

13 years ago[boehm] Avoid a ENOMEM when allocating across an unallocated page
Geoff Norton [Fri, 29 Apr 2011 20:23:15 +0000 (16:23 -0400)]
[boehm] Avoid a ENOMEM when allocating across an unallocated page

A very rare allocation pattern could cause the boehm free list to call
the GC_unmap_gap function, which actually calls down into munmap().
Darwins virtual memory manager will return a KERN_INVALID_ADDRESS
which is translated into a ENOMEM, if mprotect attempts to change
the protection of a range which includes an unallocated page.
We address this by just mmap() back to ANON, instead of actually
unallocating the page.

13 years agoMake SMR available during the whole registration/unregister.
Rodrigo Kumpera [Fri, 29 Apr 2011 20:01:23 +0000 (17:01 -0300)]
Make SMR available during the whole registration/unregister.

* hazard-pointer.c (mono_hazard_pointer_get): Use
mono_thread_info_get_small_id to get the small id
instead of reading it from the thread info since it
might be gone during unregister.

* mono-threads.c: Add new TLS key to to hold the small
id so we can have it available during unregister. This is
needed since pthreads cleans up the thread_info TLS before
calling it's cleanup function which, in turn, renders SMR
unavailable.

The new lock-free allocator requires it so we need to make
SMR available for all runtime callbacks.

13 years agoMake thread unregister more robust.
Rodrigo Kumpera [Fri, 29 Apr 2011 15:59:49 +0000 (12:59 -0300)]
Make thread unregister more robust.

* mono-threads.c (unregister_thread): Remove
the dying thread from the thread list before
doing the gc callback. This avoid some potential
trouble if a GC happens in the meanwhile.

13 years agoAllow external memory management of nodes.
Rodrigo Kumpera [Fri, 29 Apr 2011 15:58:25 +0000 (12:58 -0300)]
Allow external memory management of nodes.

* mono-linked-list-set.c (mono_lls_init): If
free_node_func is null, the caller of remove is reponsible
for reclaiming memory.

13 years ago[GCHandle] Refactor so == and != do not box unnecessarily.
Alan McGovern [Thu, 28 Apr 2011 10:14:55 +0000 (11:14 +0100)]
[GCHandle] Refactor so == and != do not box unnecessarily.

13 years ago[webclient] Process uri.UserInfo when present
Gonzalo Paniagua Javier [Fri, 29 Apr 2011 09:53:19 +0000 (11:53 +0200)]
[webclient] Process uri.UserInfo when present

If there are no crendetials, the Uri might have them.
Based on a patch by QuickJack.
Fixes bug #688007.

13 years agoAvoid a needless buffer copy that is susceptible to overflow
Geoff Norton [Fri, 29 Apr 2011 03:05:15 +0000 (23:05 -0400)]
Avoid a needless buffer copy that is susceptible to overflow

13 years ago[eglib] add some more MAX/MIN macros
Chris Toshok [Thu, 28 Apr 2011 22:07:51 +0000 (15:07 -0700)]
[eglib] add some more MAX/MIN macros

13 years agoFix a typo for Rodrigo
Geoff Norton [Thu, 28 Apr 2011 22:07:17 +0000 (18:07 -0400)]
Fix a typo for Rodrigo

13 years agoFix loading from volatile base addresses in the LLVM backend. Fixes #690020.
Zoltan Varga [Thu, 28 Apr 2011 21:45:43 +0000 (23:45 +0200)]
Fix loading from volatile base addresses in the LLVM backend. Fixes #690020.

13 years agoFix remaining moon-unit failures wrt Sockets changes
Sebastien Pouliot [Thu, 28 Apr 2011 20:33:12 +0000 (16:33 -0400)]
Fix remaining moon-unit failures wrt Sockets changes

* System.Net.Sockets/Socket_2_1.cs: Ensure RemoteEndPoint is always
available after ConnectAsync (connected or not, allowed or not).
Ensure the Connect event is fired even if denied by policy.

13 years agoFix copy-paste error in git 17085447
Sebastien Pouliot [Thu, 28 Apr 2011 20:28:34 +0000 (16:28 -0400)]
Fix copy-paste error in git 17085447

* System.Net.Sockets/Socket_2_1.cs: Fix some moved code (from
SocketAsyncEventArgs.cs) so should the references to RemoteEndPoint
still point to the SocketAsyncEventArgs instance. Fix some moon-unit
test failures

13 years agoFix posix
Rodrigo Kumpera [Thu, 28 Apr 2011 21:05:34 +0000 (18:05 -0300)]
Fix posix

13 years agoFix small buglets
Rodrigo Kumpera [Thu, 28 Apr 2011 20:39:19 +0000 (17:39 -0300)]
Fix small buglets

13 years agoDocument the current limitations of the async call API
Rodrigo Kumpera [Thu, 28 Apr 2011 20:35:57 +0000 (17:35 -0300)]
Document the current limitations of the async call API

13 years agoImplement async invocation API.
Rodrigo Kumpera [Thu, 28 Apr 2011 20:19:28 +0000 (17:19 -0300)]
Implement async invocation API.

* mono-threads.c: Add mono_thread_info_setup_async_call
which allows to inject an async call into a suspended thread.
It only works reliably when a managed frame is the tos.

* mono-threads-mach.c:
* mono-threads-posix.c: Implement async call injection.

13 years agoRevert "Modify fixup_cattrs () to handle a corner case where a cattr is created using...
Zoltan Varga [Thu, 28 Apr 2011 20:26:53 +0000 (22:26 +0200)]
Revert "Modify fixup_cattrs () to handle a corner case where a cattr is created using a MonoCMethod instead of a ConstructorBuilder. Fixes #689533."

This reverts commit 6bd851a7a3d0f9cf5c0e991397432a17a6cf4526.

This seems to break smcs.

13 years agoFixed g_utf8_validate(), needed to break in inner switch
Jeffrey Stedfast [Thu, 28 Apr 2011 20:04:11 +0000 (16:04 -0400)]
Fixed g_utf8_validate(), needed to break in inner switch

13 years ago[Web.Services] Add support for optional parameters
Lluis Sanchez [Thu, 28 Apr 2011 16:28:11 +0000 (18:28 +0200)]
[Web.Services] Add support for optional parameters

Non-nullable web service parameters can be made optional by
adding an additional parameter with the same name and a
'Specified' suffix. This was supported when serializing
classes, but not when serializing web service parameters.
This might fix bug 688496.

13 years agoAdd entries for MD4 in machine.config (fix #682619)
Sebastien Pouliot [Thu, 28 Apr 2011 15:20:41 +0000 (11:20 -0400)]
Add entries for MD4 in machine.config (fix #682619)

13 years agoLooks like xs:any is allowed under certain condition in XsdDataContractImporter.
Atsushi Eno [Thu, 28 Apr 2011 14:40:00 +0000 (23:40 +0900)]
Looks like xs:any is allowed under certain condition in XsdDataContractImporter.

But I don't understand why :(

13 years agomoonlight does not like XmlSchemaType but nasty code in KnownTypeCollection :(
Atsushi Eno [Thu, 28 Apr 2011 13:08:08 +0000 (22:08 +0900)]
moonlight does not like XmlSchemaType but nasty code in KnownTypeCollection :(

13 years ago[system.data.services] Stubs for a few 4.0 types + some implementation + some tests
Marek Habersack [Thu, 28 Apr 2011 12:25:59 +0000 (14:25 +0200)]
[system.data.services] Stubs for a few 4.0 types + some implementation + some tests

13 years agoMerged pull request #91 from skolima/master.
Marek Habersack [Thu, 28 Apr 2011 12:52:01 +0000 (05:52 -0700)]
Merged pull request #91 from skolima/master.

Fix the build that I broke

13 years agofixing the build
Leszek 'skolima' Ciesielski [Thu, 28 Apr 2011 12:36:06 +0000 (14:36 +0200)]
fixing the build

13 years ago...and do return Type for all known xs:* types in XsdDataContractImporter.
Atsushi Eno [Thu, 28 Apr 2011 11:31:24 +0000 (20:31 +0900)]
...and do return Type for all known xs:* types in XsdDataContractImporter.

13 years agoDo not reject xsd:* types that are not listed in KnownTypeCollection.
Atsushi Eno [Thu, 28 Apr 2011 11:06:14 +0000 (20:06 +0900)]
Do not reject xsd:* types that are not listed in KnownTypeCollection.

e.g. xs:token.

13 years agosupport <service>-less wsdls in svcutil. Look for portTypes instead.
Atsushi Eno [Thu, 28 Apr 2011 10:52:08 +0000 (19:52 +0900)]
support <service>-less wsdls in svcutil. Look for portTypes instead.

13 years ago[moonlight] Ensure we don't double-build the "build" profile now
Alan McGovern [Thu, 28 Apr 2011 09:46:32 +0000 (10:46 +0100)]
[moonlight] Ensure we don't double-build the "build" profile now

13 years agoExtend supported XmlDateTimeSerialization formats. Fixed bug #690475.
Atsushi Eno [Thu, 28 Apr 2011 08:35:38 +0000 (17:35 +0900)]
Extend supported XmlDateTimeSerialization formats. Fixed bug #690475.

13 years agoNew mach support code to support setting thread context.
Rodrigo Kumpera [Thu, 28 Apr 2011 06:51:37 +0000 (03:51 -0300)]
New mach support code to support setting thread context.

* mach-support.h: Add mono_mach_arch_mcontext_to_thread_state
and mono_mach_arch_set_thread_state.

* mach-support-x86.c:
* mach-support-amd64.c:
* mach-support-arm.c: Implement arch specific versions of those
new functions.

13 years agoXmlSerializer code generator was generating wrong char literal.
Atsushi Eno [Thu, 28 Apr 2011 06:41:27 +0000 (15:41 +0900)]
XmlSerializer code generator was generating wrong char literal.

Fixed bug #673019.

13 years agoImplement some properties in XamlObjectWriterSettings. Fixed bug #689548.
Atsushi Eno [Thu, 28 Apr 2011 05:59:13 +0000 (14:59 +0900)]
Implement some properties in XamlObjectWriterSettings. Fixed bug #689548.

13 years ago[socket] More BeginConnect (IPAddress []) work
Gonzalo Paniagua Javier [Thu, 28 Apr 2011 04:01:10 +0000 (00:01 -0400)]
[socket] More BeginConnect (IPAddress []) work

When trying multiple addresses, the second and sucessive calls to
BeginConnect(IPAddress) will cause an error which we would have to
ignore and then retry. Since this behavior is not documented, we just
close the socket and open a new one for retries is there is already a
pending connect attempt.

13 years agoFixed g_iconv() decoders/encoders for unaligned accesses
Jeffrey Stedfast [Thu, 28 Apr 2011 00:55:02 +0000 (20:55 -0400)]
Fixed g_iconv() decoders/encoders for unaligned accesses

13 years agoMerge branch 'master' of github.com:mono/mono
Chris Toshok [Wed, 27 Apr 2011 21:21:05 +0000 (14:21 -0700)]
Merge branch 'master' of github.com:mono/mono

13 years agofix the moon build with -j 4
Chris Toshok [Wed, 27 Apr 2011 21:17:15 +0000 (14:17 -0700)]
fix the moon build with -j 4

13 years ago[utils] Make delayed free table not wait to truly make it lock-free.
Mark Probst [Wed, 27 Apr 2011 21:07:43 +0000 (23:07 +0200)]
[utils] Make delayed free table not wait to truly make it lock-free.

Waiting for another thread is really just a custom lock
implementation, so it suffers from the same problems, among them that
an interrupted thread can deadlock the system.

13 years agoMerged pull request #88 from skolima/msbuild-merge.
Marek Habersack [Wed, 27 Apr 2011 20:24:36 +0000 (13:24 -0700)]
Merged pull request #88 from skolima/msbuild-merge.

[MSBuild] Add Microsoft.Build for 4.0 profile

13 years ago[MSBuild] Add Microsoft.Build for 4.0 profile
Leszek 'skolima' Ciesielski [Sun, 13 Feb 2011 14:32:05 +0000 (15:32 +0100)]
[MSBuild] Add Microsoft.Build for 4.0 profile

Namespace Microsoft.Build.Construction partiallly implemented,
enought to construct and save a valid project file. Some
tests present (work on .Net).

13 years agoMerged pull request #58 from XTZGZoReX/master.
Rodrigo Kumpera [Wed, 27 Apr 2011 20:21:43 +0000 (13:21 -0700)]
Merged pull request #58 from XTZGZoReX/master.

Set Mono.Cairo calling conventions to Cdecl explicitly

13 years agoMake mono_install_handler_block_guard work with an arbritrary thread.
Rodrigo Kumpera [Wed, 27 Apr 2011 18:44:59 +0000 (15:44 -0300)]
Make mono_install_handler_block_guard work with an arbritrary thread.

* mini-exceptions.c (mono_install_handler_block_guard):
Use a MonoThreadUnwindState to hold all state needed to
install the guard.

* mini-posix.c (sigusr1_signal_handler): Do wapi interruption
cleanup here.

13 years agoImplement new function to raise an exception using a context.
Rodrigo Kumpera [Wed, 27 Apr 2011 18:11:24 +0000 (15:11 -0300)]
Implement new function to raise an exception using a context.

object.c (mono_raise_exception_with_context): Raise an exception
using a MonoContext as starting point for unwinding.

13 years agoRemove a needless define.
Zoltan Varga [Wed, 27 Apr 2011 17:50:42 +0000 (19:50 +0200)]
Remove a needless define.

13 years agox86 pushes vararg arguments unaligned
Rodrigo Kumpera [Wed, 27 Apr 2011 15:17:37 +0000 (12:17 -0300)]
x86 pushes vararg arguments unaligned

13 years agoMake the wake socket non-blocking, so it doesn't deadlock if the wake-receive
Dick Porter [Thu, 24 Feb 2011 15:10:39 +0000 (15:10 +0000)]
Make the wake socket non-blocking, so it doesn't deadlock if the wake-receive
socket isn't polled in time.  This can easily happen on Solaris if more than
10 wakes are buffered up, while the XEvent loop is busy processing.

13 years agoMerge branch 'mwf-solaris-no-utf8'
Dick Porter [Wed, 27 Apr 2011 13:35:45 +0000 (14:35 +0100)]
Merge branch 'mwf-solaris-no-utf8'

13 years agoSilence gcc warning about vasprintf()'s retval not being used
Jeffrey Stedfast [Wed, 27 Apr 2011 13:12:47 +0000 (09:12 -0400)]
Silence gcc warning about vasprintf()'s retval not being used

13 years agoAdded config.rpath to eglib
Jeffrey Stedfast [Wed, 27 Apr 2011 12:45:49 +0000 (08:45 -0400)]
Added config.rpath to eglib

13 years agoWork around Solaris 10 missing the functions Xutf8LookupString() and
Dick Porter [Thu, 24 Feb 2011 15:12:46 +0000 (15:12 +0000)]
Work around Solaris 10 missing the functions Xutf8LookupString() and
Xutf8ResetIC().

13 years agoHandle fault messages in duplex callback channel.
Atsushi Eno [Wed, 27 Apr 2011 11:56:05 +0000 (20:56 +0900)]
Handle fault messages in duplex callback channel.

13 years agoFixes a race when disposing iterators
Marek Safar [Wed, 27 Apr 2011 11:47:38 +0000 (12:47 +0100)]
Fixes a race when disposing iterators

13 years agoMake RemoveDir task able to recursively delete the content of a directory
Em. [Wed, 27 Apr 2011 11:46:40 +0000 (04:46 -0700)]
Make RemoveDir task able to recursively delete the content of a directory

According to [MSDN](http://msdn.microsoft.com/en-us/library/xyfz6ddb.aspx), RemoveDir task "Removes the specified directories and all of its files and subdirectories."

13 years agoDon't require autoconf >= 2.62 (breaks the mac build)
Jeffrey Stedfast [Wed, 27 Apr 2011 11:05:21 +0000 (07:05 -0400)]
Don't require autoconf >= 2.62 (breaks the mac build)

13 years agoUse FindCritera/ResolveCriteria Duration properties for DiscoveryEndpoint timeout.
Atsushi Eno [Wed, 27 Apr 2011 06:41:34 +0000 (15:41 +0900)]
Use FindCritera/ResolveCriteria Duration properties for DiscoveryEndpoint timeout.

13 years agoLog UDP messages (using System.ServiceModel internals via IVT).
Atsushi Eno [Wed, 27 Apr 2011 06:40:50 +0000 (15:40 +0900)]
Log UDP messages (using System.ServiceModel internals via IVT).

13 years agoIf there's a delayed exception, clear 'ares'
Gonzalo Paniagua Javier [Wed, 27 Apr 2011 03:42:00 +0000 (23:42 -0400)]
If there's a delayed exception, clear 'ares'

13 years agoRequire autoconf >= 2.62
Jeffrey Stedfast [Wed, 27 Apr 2011 02:39:06 +0000 (22:39 -0400)]
Require autoconf >= 2.62

13 years agoWorked on linux, failed on OSX
Gonzalo Paniagua Javier [Wed, 27 Apr 2011 02:04:49 +0000 (22:04 -0400)]
Worked on linux, failed on OSX

13 years agoOptimize utf8_case_conv()
Jeffrey Stedfast [Wed, 27 Apr 2011 00:46:39 +0000 (20:46 -0400)]
Optimize utf8_case_conv()

Seems like g_utf8_strdown/up expect valid utf8, so it
should be safe for us to use g_utf8_to_ucs4_fast().

13 years agoValidate in the decoders so encoders don't have to
Jeffrey Stedfast [Wed, 27 Apr 2011 00:36:46 +0000 (20:36 -0400)]
Validate in the decoders so encoders don't have to

Fixed decode_utf32*() to validate their input properly
so that encode_utf16*() and encode_utf8() don't have to.

Was hoping this would improve performance but it doesn't
seem to make much difference. Still, it's worth doing.