Geoff Norton [Thu, 28 Apr 2011 22:07:17 +0000 (18:07 -0400)]
Fix a typo for Rodrigo
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.
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.
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
Rodrigo Kumpera [Thu, 28 Apr 2011 21:05:34 +0000 (18:05 -0300)]
Fix posix
Rodrigo Kumpera [Thu, 28 Apr 2011 20:39:19 +0000 (17:39 -0300)]
Fix small buglets
Rodrigo Kumpera [Thu, 28 Apr 2011 20:35:57 +0000 (17:35 -0300)]
Document the current limitations of the async call 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.
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.
Jeffrey Stedfast [Thu, 28 Apr 2011 20:04:11 +0000 (16:04 -0400)]
Fixed g_utf8_validate(), needed to break in inner switch
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.
Sebastien Pouliot [Thu, 28 Apr 2011 15:20:41 +0000 (11:20 -0400)]
Add entries for MD4 in machine.config (fix #682619)
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 :(
Atsushi Eno [Thu, 28 Apr 2011 13:08:08 +0000 (22:08 +0900)]
moonlight does not like XmlSchemaType but nasty code in KnownTypeCollection :(
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
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
Leszek 'skolima' Ciesielski [Thu, 28 Apr 2011 12:36:06 +0000 (14:36 +0200)]
fixing the build
Atsushi Eno [Thu, 28 Apr 2011 11:31:24 +0000 (20:31 +0900)]
...and do return Type for all known xs:* types in XsdDataContractImporter.
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.
Atsushi Eno [Thu, 28 Apr 2011 10:52:08 +0000 (19:52 +0900)]
support <service>-less wsdls in svcutil. Look for portTypes instead.
Alan McGovern [Thu, 28 Apr 2011 09:46:32 +0000 (10:46 +0100)]
[moonlight] Ensure we don't double-build the "build" profile now
Atsushi Eno [Thu, 28 Apr 2011 08:35:38 +0000 (17:35 +0900)]
Extend supported XmlDateTimeSerialization formats. Fixed bug #690475.
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.
Atsushi Eno [Thu, 28 Apr 2011 06:41:27 +0000 (15:41 +0900)]
XmlSerializer code generator was generating wrong char literal.
Fixed bug #673019.
Atsushi Eno [Thu, 28 Apr 2011 05:59:13 +0000 (14:59 +0900)]
Implement some properties in XamlObjectWriterSettings. Fixed bug #689548.
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.
Jeffrey Stedfast [Thu, 28 Apr 2011 00:55:02 +0000 (20:55 -0400)]
Fixed g_iconv() decoders/encoders for unaligned accesses
Chris Toshok [Wed, 27 Apr 2011 21:21:05 +0000 (14:21 -0700)]
Merge branch 'master' of github.com:mono/mono
Chris Toshok [Wed, 27 Apr 2011 21:17:15 +0000 (14:17 -0700)]
fix the moon build with -j 4
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.
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
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).
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
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.
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.
Zoltan Varga [Wed, 27 Apr 2011 17:50:42 +0000 (19:50 +0200)]
Remove a needless define.
Rodrigo Kumpera [Wed, 27 Apr 2011 15:17:37 +0000 (12:17 -0300)]
x86 pushes vararg arguments unaligned
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.
Dick Porter [Wed, 27 Apr 2011 13:35:45 +0000 (14:35 +0100)]
Merge branch 'mwf-solaris-no-utf8'
Jeffrey Stedfast [Wed, 27 Apr 2011 13:12:47 +0000 (09:12 -0400)]
Silence gcc warning about vasprintf()'s retval not being used
Jeffrey Stedfast [Wed, 27 Apr 2011 12:45:49 +0000 (08:45 -0400)]
Added config.rpath to eglib
Dick Porter [Thu, 24 Feb 2011 15:12:46 +0000 (15:12 +0000)]
Work around Solaris 10 missing the functions Xutf8LookupString() and
Xutf8ResetIC().
Atsushi Eno [Wed, 27 Apr 2011 11:56:05 +0000 (20:56 +0900)]
Handle fault messages in duplex callback channel.
Marek Safar [Wed, 27 Apr 2011 11:47:38 +0000 (12:47 +0100)]
Fixes a race when disposing iterators
Jeffrey Stedfast [Wed, 27 Apr 2011 11:05:21 +0000 (07:05 -0400)]
Don't require autoconf >= 2.62 (breaks the mac build)
Atsushi Eno [Wed, 27 Apr 2011 06:41:34 +0000 (15:41 +0900)]
Use FindCritera/ResolveCriteria Duration properties for DiscoveryEndpoint timeout.
Atsushi Eno [Wed, 27 Apr 2011 06:40:50 +0000 (15:40 +0900)]
Log UDP messages (using System.ServiceModel internals via IVT).
Gonzalo Paniagua Javier [Wed, 27 Apr 2011 03:42:00 +0000 (23:42 -0400)]
If there's a delayed exception, clear 'ares'
Jeffrey Stedfast [Wed, 27 Apr 2011 02:39:06 +0000 (22:39 -0400)]
Require autoconf >= 2.62
Gonzalo Paniagua Javier [Wed, 27 Apr 2011 02:04:49 +0000 (22:04 -0400)]
Worked on linux, failed on OSX
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().
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.
Jeffrey Stedfast [Wed, 27 Apr 2011 00:15:06 +0000 (20:15 -0400)]
I'm an idiot. Fixed g_utf8_strlen()
Jeffrey Stedfast [Tue, 26 Apr 2011 23:51:54 +0000 (19:51 -0400)]
Optimized g_utf8_strlen() and redid g_utf8_jump_table[]
Instead of always adding 1 to g_utf8_jump_table[],
simply fix the table to hav the +1 built-in.
Gonzalo Paniagua Javier [Tue, 26 Apr 2011 17:47:15 +0000 (13:47 -0400)]
[Socket] Improved ConnectAsync
ConnectAsync() now uses the improved BeginConnect.
Jeffrey Stedfast [Tue, 26 Apr 2011 22:25:10 +0000 (18:25 -0400)]
Get rid of magic UTF8 subtraction table
Jeffrey Stedfast [Tue, 26 Apr 2011 22:23:02 +0000 (18:23 -0400)]
Implemented g_utf8_get_char_validated() properly
Split out the validation code from g_utf8_validate() so that
g_utf8_get_char_validated() could share that code.
Also rewrote g_utf8_get_char() to not use such a gross hack. New
implementation also happens to be faster.
Mark Probst [Tue, 26 Apr 2011 22:19:31 +0000 (00:19 +0200)]
[utils] Fix a bug in the lock-free hazard table.
Missing write barriers in the delayed free table.
Jeffrey Stedfast [Tue, 26 Apr 2011 21:39:26 +0000 (17:39 -0400)]
Consolidated charset conversion routines
Rewrote/moved all of the charset conversion routines into
giconv.c and moved all of the other g_utf8*() functions out
of gunicode.c into gutf8.c (so that they are easier to find).
Jeffrey Stedfast [Tue, 26 Apr 2011 20:38:19 +0000 (16:38 -0400)]
Fixed g_build_path() (was failing a test)
Jeffrey Stedfast [Tue, 26 Apr 2011 20:34:49 +0000 (16:34 -0400)]
Silence gcc warning and make more robust
Alan McGovern [Tue, 26 Apr 2011 19:37:00 +0000 (20:37 +0100)]
[moonlight] Always use INTERNAL_GMCS as it's always there.
We need to use this as we can't rely on the normal mcs being available
or usable for moonlight.
Alan McGovern [Tue, 26 Apr 2011 17:05:41 +0000 (18:05 +0100)]
[moonlight] Fix up the bootstrap mcs when building
We should use the system mono as the bootstrap MCS and then the
just-built mono for everything else.
Alan McGovern [Tue, 26 Apr 2011 12:38:51 +0000 (13:38 +0100)]
[moonlight] Build mcs.exe as part of the moonlight build
Neither moonlight itself or moonlight applications can be built
with an mcs.exe older than 2.12. As such, to allow users of the moonlight
SDK to build moonlight applications without having a system mono from
git we need to build the compiler ourselves. This will be bundled in the
SDK. We also use it to build all our managed libs as part of the regular
moonlight build.
Gonzalo Paniagua Javier [Tue, 26 Apr 2011 15:01:41 +0000 (11:01 -0400)]
Reset the blocking flag as soon as possible.
Gonzalo Paniagua Javier [Tue, 26 Apr 2011 07:06:30 +0000 (03:06 -0400)]
[socket] Fixed other BeginConnect overloads
The BeginConnect overload taking an IPAddress[] was not really
asynchronous.
Jérémie Laval [Tue, 26 Apr 2011 14:50:37 +0000 (16:50 +0200)]
Fail gracefully when CancellationToken has been created uninitialized by user.
Also add corresponding unit test.
Jérémie Laval [Tue, 26 Apr 2011 14:38:36 +0000 (16:38 +0200)]
Add CancellationToken unit tests
Jérémie Laval [Tue, 26 Apr 2011 13:47:33 +0000 (15:47 +0200)]
Honors correctly canceled ctor parameter of CancellationToken
Jeffrey Stedfast [Tue, 26 Apr 2011 14:24:58 +0000 (10:24 -0400)]
Make sure everything that links with eglib also links with libiconv
Marek Safar [Tue, 26 Apr 2011 11:32:05 +0000 (12:32 +0100)]
Remove using of obsolte __TryReadTypeName
Marek Safar [Tue, 26 Apr 2011 10:48:08 +0000 (11:48 +0100)]
Update to the latest ikvm.reflection
Zoltan Varga [Tue, 26 Apr 2011 11:06:17 +0000 (13:06 +0200)]
Modify fixup_cattrs () to handle a corner case where a cattr is created using a MonoCMethod instead of a ConstructorBuilder. Fixes #689533.
Atsushi Eno [Tue, 26 Apr 2011 10:36:23 +0000 (19:36 +0900)]
Fix monodroid/monotouch build.
Marek Safar [Tue, 26 Apr 2011 09:47:49 +0000 (10:47 +0100)]
[689593] Unwrap array element type when checking return type type-inference
Gonzalo Paniagua Javier [Tue, 26 Apr 2011 04:00:44 +0000 (00:00 -0400)]
[Socket] Fix BeginConnect
Windows/Linux flagged the socket as writable even when connect() has
not been called. On *BSD and OSX, this was not the case and we waited
forever.
Now, for blocking sockets, we make them blocking and call connect()
before adding the socket to the wait pool.
Gonzalo Paniagua Javier [Tue, 26 Apr 2011 03:58:43 +0000 (23:58 -0400)]
Fix compilation in *BSD
Jeffrey Stedfast [Mon, 25 Apr 2011 21:25:42 +0000 (17:25 -0400)]
Optimized utf8_case_conv() by not converting strings in stages
Gonzalo Paniagua Javier [Mon, 25 Apr 2011 20:21:57 +0000 (16:21 -0400)]
In *AllLines use WriteLine instead of Write.
This fixes bug #689670.
Jeffrey Stedfast [Mon, 25 Apr 2011 19:29:53 +0000 (15:29 -0400)]
Don't unroll the loops unless told to
Geoff Norton [Mon, 25 Apr 2011 19:30:29 +0000 (15:30 -0400)]
Make the signature match the header
Jeffrey Stedfast [Mon, 25 Apr 2011 18:57:36 +0000 (14:57 -0400)]
Don't increment inptr more than we need to
Sebastien Pouliot [Mon, 25 Apr 2011 17:31:18 +0000 (13:31 -0400)]
Add new WP7 properties in HttpWebRequest
* HttpWebRequest_2_1.cs: Add new AllowAutoRedirect and UserAgent
properties for binary compatibility with WP7. As documented both
properties are not usable in SL4 (throws NIE) but their existance
helps writing portable code
Atsushi Eno [Mon, 25 Apr 2011 09:29:10 +0000 (18:29 +0900)]
Log net.tcp transport messages too.
Atsushi Eno [Mon, 25 Apr 2011 09:27:54 +0000 (18:27 +0900)]
Make our own simple log format actually diagnostics-compatible.
So MS ServiceTraceViewer.exe can open our log now.
Atsushi Eno [Mon, 25 Apr 2011 07:23:59 +0000 (16:23 +0900)]
Document MONO_WCF_TRACE environment variable.
Atsushi Eno [Mon, 25 Apr 2011 07:13:27 +0000 (16:13 +0900)]
minor diagnostic log format brush up.
Atsushi Eno [Mon, 25 Apr 2011 06:55:22 +0000 (15:55 +0900)]
Actual source directory changes after changing namespaces.
Atsushi Eno [Mon, 25 Apr 2011 06:53:17 +0000 (15:53 +0900)]
More nettcp namespace changes.
Atsushi Eno [Mon, 25 Apr 2011 06:40:47 +0000 (15:40 +0900)]
Move NetTcp namespace to internal one.
Atsushi Eno [Mon, 25 Apr 2011 06:35:03 +0000 (15:35 +0900)]
Enable environment-controled output on non-moon profile too. Add error logging.
Chris Toshok [Mon, 25 Apr 2011 04:24:12 +0000 (21:24 -0700)]
Merge branch 'master' of github.com:/mono/mono
Chris Toshok [Mon, 25 Apr 2011 03:51:18 +0000 (20:51 -0700)]
[eglib] add printf specifiers for [u]int32
Jeffrey Stedfast [Sun, 24 Apr 2011 11:16:56 +0000 (07:16 -0400)]
Don't depend on ENOTSUP as it does not exist on Windows.
Jeffrey Stedfast [Sat, 23 Apr 2011 22:06:08 +0000 (18:06 -0400)]
Moved all g_iconv() state updates out of encoders/decoders
This gives a HUGE performance improvement as well as
simplifying the code.
Jeffrey Stedfast [Sat, 23 Apr 2011 21:48:23 +0000 (17:48 -0400)]
Unroll the loop in encode_utf8()
Jeffrey Stedfast [Sat, 23 Apr 2011 21:06:12 +0000 (17:06 -0400)]
Unroll the loop in decode_utf8() to improve perf
Jeffrey Stedfast [Sat, 23 Apr 2011 18:54:49 +0000 (14:54 -0400)]
Avoid endianness swap decisions in the inner loop
Improves unit-test performance by a good 10%
Also modified unit tests to only load each input file once.
Miguel de Icaza [Sat, 23 Apr 2011 16:53:53 +0000 (12:53 -0400)]
Do not go beyond our string boundaries
Wolfgang Steffens [Mon, 21 Feb 2011 08:58:46 +0000 (09:58 +0100)]
added less overhead version of TerminateUtf8 for string versions
Signed-off-by: XTZGZoReX <xtzgzorex@gmail.com>