mono.git
13 years ago[Socket] Fix BeginConnect
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.

13 years agoFix compilation in *BSD
Gonzalo Paniagua Javier [Tue, 26 Apr 2011 03:58:43 +0000 (23:58 -0400)]
Fix compilation in *BSD

13 years agoOptimized utf8_case_conv() by not converting strings in stages
Jeffrey Stedfast [Mon, 25 Apr 2011 21:25:42 +0000 (17:25 -0400)]
Optimized utf8_case_conv() by not converting strings in stages

13 years agoIn *AllLines use WriteLine instead of Write.
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.

13 years agoDon't unroll the loops unless told to
Jeffrey Stedfast [Mon, 25 Apr 2011 19:29:53 +0000 (15:29 -0400)]
Don't unroll the loops unless told to

13 years agoMake the signature match the header
Geoff Norton [Mon, 25 Apr 2011 19:30:29 +0000 (15:30 -0400)]
Make the signature match the header

13 years agoDon't increment inptr more than we need to
Jeffrey Stedfast [Mon, 25 Apr 2011 18:57:36 +0000 (14:57 -0400)]
Don't increment inptr more than we need to

13 years agoAdd new WP7 properties in HttpWebRequest
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

13 years agoLog net.tcp transport messages too.
Atsushi Eno [Mon, 25 Apr 2011 09:29:10 +0000 (18:29 +0900)]
Log net.tcp transport messages too.

13 years agoMake our own simple log format actually diagnostics-compatible.
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.

13 years agoDocument MONO_WCF_TRACE environment variable.
Atsushi Eno [Mon, 25 Apr 2011 07:23:59 +0000 (16:23 +0900)]
Document MONO_WCF_TRACE environment variable.

13 years agominor diagnostic log format brush up.
Atsushi Eno [Mon, 25 Apr 2011 07:13:27 +0000 (16:13 +0900)]
minor diagnostic log format brush up.

13 years agoActual source directory changes after changing namespaces.
Atsushi Eno [Mon, 25 Apr 2011 06:55:22 +0000 (15:55 +0900)]
Actual source directory changes after changing namespaces.

13 years agoMore nettcp namespace changes.
Atsushi Eno [Mon, 25 Apr 2011 06:53:17 +0000 (15:53 +0900)]
More nettcp namespace changes.

13 years agoMove NetTcp namespace to internal one.
Atsushi Eno [Mon, 25 Apr 2011 06:40:47 +0000 (15:40 +0900)]
Move NetTcp namespace to internal one.

13 years agoEnable environment-controled output on non-moon profile too. Add error logging.
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.

13 years agoMerge branch 'master' of github.com:/mono/mono
Chris Toshok [Mon, 25 Apr 2011 04:24:12 +0000 (21:24 -0700)]
Merge branch 'master' of github.com:/mono/mono

13 years ago[eglib] add printf specifiers for [u]int32
Chris Toshok [Mon, 25 Apr 2011 03:51:18 +0000 (20:51 -0700)]
[eglib] add printf specifiers for [u]int32

13 years agoDon't depend on ENOTSUP as it does not exist on Windows.
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.

13 years agoMoved all g_iconv() state updates out of encoders/decoders
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.

13 years agoUnroll the loop in encode_utf8()
Jeffrey Stedfast [Sat, 23 Apr 2011 21:48:23 +0000 (17:48 -0400)]
Unroll the loop in encode_utf8()

13 years agoUnroll the loop in decode_utf8() to improve perf
Jeffrey Stedfast [Sat, 23 Apr 2011 21:06:12 +0000 (17:06 -0400)]
Unroll the loop in decode_utf8() to improve perf

13 years agoAvoid endianness swap decisions in the inner loop
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.

13 years agoDo not go beyond our string boundaries
Miguel de Icaza [Sat, 23 Apr 2011 16:53:53 +0000 (12:53 -0400)]
Do not go beyond our string boundaries

13 years agoFixed capacity to be unsigned
Jeffrey Stedfast [Sat, 23 Apr 2011 13:09:00 +0000 (09:09 -0400)]
Fixed capacity to be unsigned

Also soptimized new_capacity calculation.

13 years agoDon't override eglib's CFLAGS to add -O0
Jeffrey Stedfast [Sat, 23 Apr 2011 02:29:50 +0000 (22:29 -0400)]
Don't override eglib's CFLAGS to add -O0

13 years agoAnother soptimization for g_convert()
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.

13 years agoSlight soptimization for utf8/latin1 decoding
Jeffrey Stedfast [Sat, 23 Apr 2011 01:54:10 +0000 (21:54 -0400)]
Slight soptimization for utf8/latin1 decoding

13 years agoFixed Makefile to set srcdir when running tests
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.

13 years agoUpdated EXTRA_DIST for eglib test input files
Jeffrey Stedfast [Fri, 22 Apr 2011 22:33:31 +0000 (18:33 -0400)]
Updated EXTRA_DIST for eglib test input files

13 years agoFixed g_iconv() and g_convert(), improved unit test
Jeffrey Stedfast [Fri, 22 Apr 2011 22:29:44 +0000 (18:29 -0400)]
Fixed g_iconv() and g_convert(), improved unit test

13 years agoRemove unused variable
Gonzalo Paniagua Javier [Fri, 22 Apr 2011 03:29:32 +0000 (23:29 -0400)]
Remove unused variable

13 years agoFixed latin1 decoder (simple unsigned vs signed cast)
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()

13 years agoLog HTTP reply Message too. Make logging customizible on under the moon.
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.

13 years agoFix cygwin build.
Zoltan Varga [Fri, 22 Apr 2011 15:47:17 +0000 (17:47 +0200)]
Fix cygwin build.

13 years agoFix processing of double vararg arguments on 32 bit platforms.
Zoltan Varga [Fri, 22 Apr 2011 13:47:11 +0000 (15:47 +0200)]
Fix processing of double vararg arguments on 32 bit platforms.

13 years agoFix compilation
Marek Habersack [Fri, 22 Apr 2011 12:02:14 +0000 (14:02 +0200)]
Fix compilation

13 years ago[asp.net] Do nothing if null SessionStateStoreData is passed to SessionStateServerHan...
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

13 years agoTurn off warn as error for Release as well.
joncham [Fri, 22 Apr 2011 02:54:43 +0000 (22:54 -0400)]
Turn off warn as error for Release as well.

13 years agoFix AOT support for isinst_with_cache wrappers. Fixes #687865.
Zoltan Varga [Fri, 22 Apr 2011 01:40:05 +0000 (03:40 +0200)]
Fix AOT support for isinst_with_cache wrappers. Fixes #687865.

13 years agoDisable vtune profiler by default.
joncham [Fri, 22 Apr 2011 01:18:56 +0000 (21:18 -0400)]
Disable vtune profiler by default.

13 years agoUse SwitchToThread instead of sched_yield on Windows.
joncham [Fri, 22 Apr 2011 01:01:05 +0000 (21:01 -0400)]
Use SwitchToThread instead of sched_yield on Windows.

13 years agoRemove a warning and allow eglib to build with warnings.
joncham [Fri, 22 Apr 2011 00:28:19 +0000 (20:28 -0400)]
Remove a warning and allow eglib to build with warnings.

13 years agoFix a JIT crash when -v -v -v -v is used.
Zoltan Varga [Fri, 22 Apr 2011 01:23:00 +0000 (03:23 +0200)]
Fix a JIT crash when -v -v -v -v is used.

13 years agoMerge branch 'master' of github.com:/mono/mono
Chris Toshok [Fri, 22 Apr 2011 00:03:26 +0000 (17:03 -0700)]
Merge branch 'master' of github.com:/mono/mono

13 years agoImplement a simple g_utf8_get_char
Larry Ewing [Thu, 21 Apr 2011 23:50:38 +0000 (18:50 -0500)]
Implement a simple g_utf8_get_char

13 years agoMerge branch 'master' of github.com:/mono/mono
Chris Toshok [Thu, 21 Apr 2011 19:26:46 +0000 (12:26 -0700)]
Merge branch 'master' of github.com:/mono/mono

13 years ago[utils] Lock-free hazard pointers.
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.

13 years agoWe support hard breakpoints on arm, not sure why this is here at all
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

13 years agoMerge branch 'master' of github.com:/mono/mono
Chris Toshok [Thu, 21 Apr 2011 18:24:25 +0000 (11:24 -0700)]
Merge branch 'master' of github.com:/mono/mono

13 years ago[eglib] add g_ascii_strup/g_ascii_toupper
Chris Toshok [Thu, 21 Apr 2011 18:24:05 +0000 (11:24 -0700)]
[eglib] add g_ascii_strup/g_ascii_toupper

13 years agoupdate msvc build
Rodrigo Kumpera [Thu, 21 Apr 2011 17:45:16 +0000 (14:45 -0300)]
update msvc build

13 years agoAdd win32 stub backend for mono-threads
Rodrigo Kumpera [Thu, 21 Apr 2011 17:29:21 +0000 (14:29 -0300)]
Add win32 stub backend for mono-threads

13 years agoOops
Jeffrey Stedfast [Thu, 21 Apr 2011 16:06:16 +0000 (12:06 -0400)]
Oops

13 years agoAdd prototype for g_file_set_contents to glib.h
Jeffrey Stedfast [Thu, 21 Apr 2011 16:05:15 +0000 (12:05 -0400)]
Add prototype for g_file_set_contents to glib.h

13 years agoRevert "[moonlight] Build the mcs compiler as part of the moon build."
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.

13 years ago[moonlight] Build the mcs compiler as part of the moon build.
Alan McGovern [Thu, 21 Apr 2011 12:49:16 +0000 (13:49 +0100)]
[moonlight] Build the mcs compiler as part of the moon build.

13 years agoFixed g_strjoin*() and g_stpcpy()
Jeffrey Stedfast [Thu, 21 Apr 2011 13:53:23 +0000 (09:53 -0400)]
Fixed g_strjoin*() and g_stpcpy()

13 years ago[asp.net] Inform user about all exceptions thrown during HttpRuntime static initializ...
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

13 years agoUse XPathNavigator output in WCF diagnostics. Got sorta-valid message trace.
Atsushi Eno [Thu, 21 Apr 2011 12:11:34 +0000 (21:11 +0900)]
Use XPathNavigator output in WCF diagnostics. Got sorta-valid message trace.

13 years agoFix wrapper elements. It should be <TraceData><DataItem>...
Atsushi Eno [Thu, 21 Apr 2011 12:08:36 +0000 (21:08 +0900)]
Fix wrapper elements. It should be <TraceData><DataItem>...

13 years agoXmlWriterTraceListener supports XPathNavigator as non-escaped xml output.
Atsushi Eno [Thu, 21 Apr 2011 11:54:40 +0000 (20:54 +0900)]
XmlWriterTraceListener supports XPathNavigator as non-escaped xml output.

13 years agoDon't warn about uninitialized struct fields
Marek Safar [Thu, 21 Apr 2011 11:40:01 +0000 (12:40 +0100)]
Don't warn about uninitialized struct fields

13 years agoFix WindowsBase test build under 2.0 profile
Marek Safar [Thu, 21 Apr 2011 09:26:58 +0000 (10:26 +0100)]
Fix WindowsBase test build under 2.0 profile

13 years agoUse correct namespace name when adding it to completion list
Marek Safar [Thu, 21 Apr 2011 09:21:22 +0000 (10:21 +0100)]
Use correct namespace name when adding it to completion list

13 years agoRemove support for older LLVM versions.
Zoltan Varga [Thu, 21 Apr 2011 11:00:47 +0000 (13:00 +0200)]
Remove support for older LLVM versions.

13 years agoAdd new test
Marek Safar [Thu, 21 Apr 2011 09:03:42 +0000 (10:03 +0100)]
Add new test

13 years ago[688891] Copy type parameters for base proxy method
Marek Safar [Thu, 21 Apr 2011 08:55:49 +0000 (09:55 +0100)]
[688891] Copy type parameters for base proxy method

13 years agoAdd async keywords
Marek Safar [Thu, 21 Apr 2011 08:55:06 +0000 (09:55 +0100)]
Add async keywords

13 years agoUse xmlns-ignoring XmlDocument derivation for config files. Fixed bug #641935.
Atsushi Eno [Thu, 21 Apr 2011 08:45:35 +0000 (17:45 +0900)]
Use xmlns-ignoring XmlDocument derivation for config files. Fixed bug #641935.

13 years agoRooArray types were rejected as unknown when it is at root. Fixed bug #688414.
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.

13 years agoDon't allow compiling with stock LLVM versions, only the Mono LLVM repo at https...
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.

13 years ago[asp.net] Implemented composite scripts support in System.Web.Extensions
Marek Habersack [Thu, 21 Apr 2011 00:23:33 +0000 (02:23 +0200)]
[asp.net] Implemented composite scripts support in System.Web.Extensions

13 years agoadd crlupdate to spec
Andrew Jorgensen [Wed, 20 Apr 2011 23:04:59 +0000 (17:04 -0600)]
add crlupdate to spec

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

13 years ago[eglib] add g_hash_table_get_keys/values
Chris Toshok [Wed, 20 Apr 2011 21:30:26 +0000 (14:30 -0700)]
[eglib] add g_hash_table_get_keys/values

13 years agoUse g_rename() instead of rename()
Jeffrey Stedfast [Wed, 20 Apr 2011 21:19:29 +0000 (17:19 -0400)]
Use g_rename() instead of rename()

13 years agoImplemented g_file_set_contents() in eglib
Jeffrey Stedfast [Wed, 20 Apr 2011 21:15:44 +0000 (17:15 -0400)]
Implemented g_file_set_contents() in eglib

13 years agoInclude the m4 dir in the subdirs for `make dist`
Jeffrey Stedfast [Wed, 20 Apr 2011 20:24:35 +0000 (16:24 -0400)]
Include the m4 dir in the subdirs for `make dist`

13 years agoAdded Latin1 support to giconv
Jeffrey Stedfast [Wed, 20 Apr 2011 19:59:12 +0000 (15:59 -0400)]
Added Latin1 support to giconv

13 years agoFixed MSVC to build giconv.c
Jeffrey Stedfast [Wed, 20 Apr 2011 19:15:32 +0000 (15:15 -0400)]
Fixed MSVC to build giconv.c

13 years agoIgnore generated files
Jeffrey Stedfast [Wed, 20 Apr 2011 19:10:22 +0000 (15:10 -0400)]
Ignore generated files

13 years agoImplemented g_iconv() w/ needing libiconv
Jeffrey Stedfast [Wed, 20 Apr 2011 19:08:20 +0000 (15:08 -0400)]
Implemented g_iconv() w/ needing libiconv

13 years agoHelp ajorg dist
Jeffrey Stedfast [Wed, 20 Apr 2011 18:51:11 +0000 (14:51 -0400)]
Help ajorg dist

13 years agoDist fixes
Andrew Jorgensen [Wed, 20 Apr 2011 18:11:59 +0000 (12:11 -0600)]
Dist fixes

13 years agoHaving a type constraint to a valuetype satisfies .ctor.
Rodrigo Kumpera [Wed, 20 Apr 2011 14:17:58 +0000 (11:17 -0300)]
Having a type constraint to a valuetype satisfies .ctor.

* class.c:
* verify.c: If a gparam has a valuetype type constraint it
can satisfy the .ctor constraint from other gparam.

Fixes #687841

13 years agopublish the same events as pthread_stop_world
Rodrigo Kumpera [Tue, 19 Apr 2011 18:59:16 +0000 (15:59 -0300)]
publish the same events as pthread_stop_world

13 years agoFixed g_utf8_to_ucs4_fast()
Jeffrey Stedfast [Wed, 20 Apr 2011 14:08:02 +0000 (10:08 -0400)]
Fixed g_utf8_to_ucs4_fast()

13 years agoDon't forget to link with libiconv
Jeffrey Stedfast [Wed, 20 Apr 2011 13:53:32 +0000 (09:53 -0400)]
Don't forget to link with libiconv

13 years agoVarious parts of mono use g_convert() which rely on iconv
Jeffrey Stedfast [Wed, 20 Apr 2011 13:31:24 +0000 (09:31 -0400)]
Various parts of mono use g_convert() which rely on iconv

13 years agoFixed g_unichar_to_utf8()
Jeffrey Stedfast [Wed, 20 Apr 2011 13:15:28 +0000 (09:15 -0400)]
Fixed g_unichar_to_utf8()

13 years agoAdd missing 4.0 api
Marek Safar [Wed, 20 Apr 2011 11:41:29 +0000 (12:41 +0100)]
Add missing 4.0 api

13 years agoUse correct local variable when interating parameter modifiers
Marek Safar [Wed, 20 Apr 2011 11:02:14 +0000 (12:02 +0100)]
Use correct local variable when interating parameter modifiers

13 years agoGet real fix for bug #687902. Revert request processor IDisposable.
Atsushi Eno [Wed, 20 Apr 2011 10:11:34 +0000 (19:11 +0900)]
Get real fix for bug #687902. Revert request processor IDisposable.

and handle session shutdown when creating InstanceContext.
Also add note on DisposeInstance(), which got me stuck.

13 years ago[688651] Fix nullable enum values used with probing operator
Marek Safar [Wed, 20 Apr 2011 09:20:14 +0000 (10:20 +0100)]
[688651] Fix nullable enum values used with probing operator

13 years agoOngoing service channel closing fix and session management in ChannelDispatcher.
Atsushi Eno [Wed, 20 Apr 2011 07:52:36 +0000 (16:52 +0900)]
Ongoing service channel closing fix and session management in ChannelDispatcher.

It is part of bugfix 687902.

To get the bug fixed, the new "using" sections in ChannelDispatcher.cs to
explicitly dispose channels. But this causes regression in PerSession-based
tests. So some new session management code is (likely) required as well.

It will also alter "mixed" MaxConcurrentCalls and MaxConcurrentSessions with
correct management code.

13 years agoDefer interface unification check until all interface are setup
Marek Safar [Wed, 20 Apr 2011 06:58:05 +0000 (07:58 +0100)]
Defer interface unification check until all interface are setup

13 years agoFix effective base class for value types
Marek Safar [Tue, 19 Apr 2011 16:20:55 +0000 (17:20 +0100)]
Fix effective base class for value types

13 years agoDon't use type parameter effective base class when checking accessibility
Marek Safar [Tue, 19 Apr 2011 13:38:31 +0000 (14:38 +0100)]
Don't use type parameter effective base class when checking accessibility

13 years agoRestore the functionality to the REPL that allowed us to pass
Miguel de Icaza [Wed, 20 Apr 2011 03:47:24 +0000 (23:47 -0400)]
Restore the functionality to the REPL that allowed us to pass
files to be parsed on the command line as if they were typed on the
standard input