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
Jeffrey Stedfast [Sat, 23 Apr 2011 13:09:00 +0000 (09:09 -0400)]
Fixed capacity to be unsigned
Also soptimized new_capacity calculation.
Jeffrey Stedfast [Sat, 23 Apr 2011 02:29:50 +0000 (22:29 -0400)]
Don't override eglib's CFLAGS to add -O0
Jeffrey Stedfast [Sat, 23 Apr 2011 02:26:18 +0000 (22:26 -0400)]
Another soptimization for g_convert()
If we need to grow our buffer, instead of growing by 'inleft'
bytes, grow by 2 * inleft bytes.
Jeffrey Stedfast [Sat, 23 Apr 2011 01:54:10 +0000 (21:54 -0400)]
Slight soptimization for utf8/latin1 decoding
Jeffrey Stedfast [Sat, 23 Apr 2011 01:34:58 +0000 (21:34 -0400)]
Fixed Makefile to set srcdir when running tests
Also modified the test to fallback to PWD if srcdir is unset.
Jeffrey Stedfast [Fri, 22 Apr 2011 22:33:31 +0000 (18:33 -0400)]
Updated EXTRA_DIST for eglib test input files
Jeffrey Stedfast [Fri, 22 Apr 2011 22:29:44 +0000 (18:29 -0400)]
Fixed g_iconv() and g_convert(), improved unit test
Gonzalo Paniagua Javier [Fri, 22 Apr 2011 03:29:32 +0000 (23:29 -0400)]
Remove unused variable
Jeffrey Stedfast [Fri, 22 Apr 2011 17:11:19 +0000 (13:11 -0400)]
Fixed latin1 decoder (simple unsigned vs signed cast)
eglib unit tests now pass for g_convert()
Atsushi Eno [Fri, 22 Apr 2011 17:05:35 +0000 (02:05 +0900)]
Log HTTP reply Message too. Make logging customizible on under the moon.
Logging is done only when requested by MOON_WCF_TRACE=[stdout|stderr]
environment variable.
Zoltan Varga [Fri, 22 Apr 2011 15:47:17 +0000 (17:47 +0200)]
Fix cygwin build.
Zoltan Varga [Fri, 22 Apr 2011 13:47:11 +0000 (15:47 +0200)]
Fix processing of double vararg arguments on 32 bit platforms.
Marek Habersack [Fri, 22 Apr 2011 12:02:14 +0000 (14:02 +0200)]
Fix compilation
Marek Habersack [Fri, 22 Apr 2011 10:34:03 +0000 (12:34 +0200)]
[asp.net] Do nothing if null SessionStateStoreData is passed to SessionStateServerHandler.SetAndReleaseItemExclusive
joncham [Fri, 22 Apr 2011 02:54:43 +0000 (22:54 -0400)]
Turn off warn as error for Release as well.
Zoltan Varga [Fri, 22 Apr 2011 01:40:05 +0000 (03:40 +0200)]
Fix AOT support for isinst_with_cache wrappers. Fixes #687865.
joncham [Fri, 22 Apr 2011 01:18:56 +0000 (21:18 -0400)]
Disable vtune profiler by default.
joncham [Fri, 22 Apr 2011 01:01:05 +0000 (21:01 -0400)]
Use SwitchToThread instead of sched_yield on Windows.
joncham [Fri, 22 Apr 2011 00:28:19 +0000 (20:28 -0400)]
Remove a warning and allow eglib to build with warnings.
Zoltan Varga [Fri, 22 Apr 2011 01:23:00 +0000 (03:23 +0200)]
Fix a JIT crash when -v -v -v -v is used.
Chris Toshok [Fri, 22 Apr 2011 00:03:26 +0000 (17:03 -0700)]
Merge branch 'master' of github.com:/mono/mono
Larry Ewing [Thu, 21 Apr 2011 23:50:38 +0000 (18:50 -0500)]
Implement a simple g_utf8_get_char
Chris Toshok [Thu, 21 Apr 2011 19:26:46 +0000 (12:26 -0700)]
Merge branch 'master' of github.com:/mono/mono
Mark Probst [Thu, 21 Apr 2011 19:06:49 +0000 (21:06 +0200)]
[utils] Lock-free hazard pointers.
By making hazard pointers lock-free we can use them in the garbage
collector.
Geoff Norton [Thu, 21 Apr 2011 19:00:42 +0000 (15:00 -0400)]
We support hard breakpoints on arm, not sure why this is here at all
Chris Toshok [Thu, 21 Apr 2011 18:24:25 +0000 (11:24 -0700)]
Merge branch 'master' of github.com:/mono/mono
Chris Toshok [Thu, 21 Apr 2011 18:24:05 +0000 (11:24 -0700)]
[eglib] add g_ascii_strup/g_ascii_toupper
Rodrigo Kumpera [Thu, 21 Apr 2011 17:45:16 +0000 (14:45 -0300)]
update msvc build
Rodrigo Kumpera [Thu, 21 Apr 2011 17:29:21 +0000 (14:29 -0300)]
Add win32 stub backend for mono-threads
Jeffrey Stedfast [Thu, 21 Apr 2011 16:06:16 +0000 (12:06 -0400)]
Oops
Jeffrey Stedfast [Thu, 21 Apr 2011 16:05:15 +0000 (12:05 -0400)]
Add prototype for g_file_set_contents to glib.h
Alan McGovern [Thu, 21 Apr 2011 15:13:24 +0000 (16:13 +0100)]
Revert "[moonlight] Build the mcs compiler as part of the moon build."
This is broken, it needs to be done right.
Alan McGovern [Thu, 21 Apr 2011 12:49:16 +0000 (13:49 +0100)]
[moonlight] Build the mcs compiler as part of the moon build.
Jeffrey Stedfast [Thu, 21 Apr 2011 13:53:23 +0000 (09:53 -0400)]
Fixed g_strjoin*() and g_stpcpy()
Marek Habersack [Thu, 21 Apr 2011 13:13:52 +0000 (15:13 +0200)]
[asp.net] Inform user about all exceptions thrown during HttpRuntime static initialization
Atsushi Eno [Thu, 21 Apr 2011 12:11:34 +0000 (21:11 +0900)]
Use XPathNavigator output in WCF diagnostics. Got sorta-valid message trace.
Atsushi Eno [Thu, 21 Apr 2011 12:08:36 +0000 (21:08 +0900)]
Fix wrapper elements. It should be <TraceData><DataItem>...
Atsushi Eno [Thu, 21 Apr 2011 11:54:40 +0000 (20:54 +0900)]
XmlWriterTraceListener supports XPathNavigator as non-escaped xml output.
Marek Safar [Thu, 21 Apr 2011 11:40:01 +0000 (12:40 +0100)]
Don't warn about uninitialized struct fields
Marek Safar [Thu, 21 Apr 2011 09:26:58 +0000 (10:26 +0100)]
Fix WindowsBase test build under 2.0 profile
Marek Safar [Thu, 21 Apr 2011 09:21:22 +0000 (10:21 +0100)]
Use correct namespace name when adding it to completion list
Zoltan Varga [Thu, 21 Apr 2011 11:00:47 +0000 (13:00 +0200)]
Remove support for older LLVM versions.
Marek Safar [Thu, 21 Apr 2011 09:03:42 +0000 (10:03 +0100)]
Add new test
Marek Safar [Thu, 21 Apr 2011 08:55:49 +0000 (09:55 +0100)]
[688891] Copy type parameters for base proxy method
Marek Safar [Thu, 21 Apr 2011 08:55:06 +0000 (09:55 +0100)]
Add async keywords
Atsushi Eno [Thu, 21 Apr 2011 08:45:35 +0000 (17:45 +0900)]
Use xmlns-ignoring XmlDocument derivation for config files. Fixed bug #641935.
Atsushi Eno [Thu, 21 Apr 2011 07:19:15 +0000 (16:19 +0900)]
RooArray types were rejected as unknown when it is at root. Fixed bug #688414.
Zoltan Varga [Thu, 21 Apr 2011 00:55:22 +0000 (02:55 +0200)]
Don't allow compiling with stock LLVM versions, only the Mono LLVM repo at https://github.com/mono/llvm is supported.
Marek Habersack [Thu, 21 Apr 2011 00:23:33 +0000 (02:23 +0200)]
[asp.net] Implemented composite scripts support in System.Web.Extensions
Andrew Jorgensen [Wed, 20 Apr 2011 23:04:59 +0000 (17:04 -0600)]
add crlupdate to spec
Chris Toshok [Wed, 20 Apr 2011 21:34:25 +0000 (14:34 -0700)]
Merge branch 'master' of github.com:/mono/mono
Chris Toshok [Wed, 20 Apr 2011 21:30:26 +0000 (14:30 -0700)]
[eglib] add g_hash_table_get_keys/values
Jeffrey Stedfast [Wed, 20 Apr 2011 21:19:29 +0000 (17:19 -0400)]
Use g_rename() instead of rename()
Jeffrey Stedfast [Wed, 20 Apr 2011 21:15:44 +0000 (17:15 -0400)]
Implemented g_file_set_contents() in eglib
Jeffrey Stedfast [Wed, 20 Apr 2011 20:24:35 +0000 (16:24 -0400)]
Include the m4 dir in the subdirs for `make dist`