mono.git
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

13 years agoPrevent crash on scripts that do not contain the #! line
Miguel de Icaza [Wed, 20 Apr 2011 02:52:39 +0000 (22:52 -0400)]
Prevent crash on scripts that do not contain the #! line

13 years agoActually include the m4 files in aclocal as well
Geoff Norton [Tue, 19 Apr 2011 21:22:59 +0000 (17:22 -0400)]
Actually include the m4 files in aclocal as well

13 years agoImplement g_utf8*prev_char and add the negative case to offset_to_pointer
Larry Ewing [Tue, 19 Apr 2011 21:09:14 +0000 (16:09 -0500)]
Implement g_utf8*prev_char and add the negative case to offset_to_pointer

13 years agoAllow storing managed pointers into 'native int' in the JIT, fsharp generates code...
Zoltan Varga [Tue, 19 Apr 2011 20:44:20 +0000 (22:44 +0200)]
Allow storing managed pointers into 'native int' in the JIT, fsharp generates code without a conv.i. Fixes #688008.

13 years agoDon't break on systems with older gettext versions
Jeffrey Stedfast [Tue, 19 Apr 2011 20:40:55 +0000 (16:40 -0400)]
Don't break on systems with older gettext versions

13 years agoMove the mono_ia64_context_get_... functions to mono-context.h to fix the ia64 build.
Zoltan Varga [Tue, 19 Apr 2011 20:37:01 +0000 (22:37 +0200)]
Move the mono_ia64_context_get_... functions to mono-context.h to fix the ia64 build.

13 years agoMove DOLT macro back into acinclude.m4 so it works
Jeffrey Stedfast [Tue, 19 Apr 2011 20:29:16 +0000 (16:29 -0400)]
Move DOLT macro back into acinclude.m4 so it works

13 years agoModernize eglib/libgc automake/conf fu
Jeffrey Stedfast [Tue, 19 Apr 2011 20:15:23 +0000 (16:15 -0400)]
Modernize eglib/libgc automake/conf fu

13 years agoMore auto* fixes and moved dolt macros to m4/dolt.m4
Jeffrey Stedfast [Tue, 19 Apr 2011 19:55:11 +0000 (15:55 -0400)]
More auto* fixes and moved dolt macros to m4/dolt.m4

13 years ago.m4 files no longer exist in the toplevel
Jeffrey Stedfast [Tue, 19 Apr 2011 19:17:55 +0000 (15:17 -0400)]
.m4 files no longer exist in the toplevel

13 years agoUpdated the build system
Jeffrey Stedfast [Tue, 19 Apr 2011 18:01:32 +0000 (14:01 -0400)]
Updated the build system

13 years ago[HttpListener] Fix matching directories
Gonzalo Paniagua Javier [Tue, 19 Apr 2011 17:54:27 +0000 (13:54 -0400)]
[HttpListener] Fix matching directories

/foo was not properly matched.
Fixes bug #688353.

13 years agoFixed autogen.sh and optimized some string funcs
Jeffrey Stedfast [Tue, 19 Apr 2011 16:19:00 +0000 (12:19 -0400)]
Fixed autogen.sh and optimized some string funcs

13 years agoFixed libiconv checks
Jeffrey Stedfast [Tue, 19 Apr 2011 16:05:32 +0000 (12:05 -0400)]
Fixed libiconv checks

13 years agoNew test
Marek Safar [Tue, 19 Apr 2011 12:03:50 +0000 (13:03 +0100)]
New test

13 years ago[687282] Fixes cross references of nested anonymous methods which don't start at...
Marek Safar [Tue, 19 Apr 2011 12:00:18 +0000 (13:00 +0100)]
[687282] Fixes cross references of nested anonymous methods which don't start at parameters level block

13 years agoFix ICollection.CopyTo in the Stack class
Lluis Sanchez [Tue, 19 Apr 2011 10:56:00 +0000 (12:56 +0200)]
Fix ICollection.CopyTo in the Stack class

13 years agoExplicit method implementation can have ambiguous candidates
Marek Safar [Tue, 19 Apr 2011 09:58:38 +0000 (10:58 +0100)]
Explicit method implementation can have ambiguous candidates

13 years agoDon't check interface unified parameters on parameterless methods
Marek Safar [Tue, 19 Apr 2011 07:34:53 +0000 (08:34 +0100)]
Don't check interface unified parameters on parameterless methods

13 years agoUpdate test file
Marek Safar [Mon, 18 Apr 2011 18:37:18 +0000 (19:37 +0100)]
Update test file

13 years agoadd implementation for stpcpy
Chris Toshok [Mon, 18 Apr 2011 22:15:54 +0000 (15:15 -0700)]
add implementation for stpcpy

13 years agoImplemented g_iconv*() functions w/ cache
Jeffrey Stedfast [Mon, 18 Apr 2011 23:06:09 +0000 (19:06 -0400)]
Implemented g_iconv*() functions w/ cache

13 years agoit's valid to pass NULLs to g_hash_table_lookup_extended. don't crash if the user...
Chris Toshok [Mon, 18 Apr 2011 21:17:17 +0000 (14:17 -0700)]
it's valid to pass NULLs to g_hash_table_lookup_extended. don't crash if the user does.

13 years agoImplement g_byte_array_* in terms of GArray
Chris Toshok [Mon, 18 Apr 2011 21:16:44 +0000 (14:16 -0700)]
Implement g_byte_array_* in terms of GArray

13 years agoImplement 99% of what moonlight needs to run on eglib
Chris Toshok [Mon, 18 Apr 2011 20:54:14 +0000 (13:54 -0700)]
Implement 99% of what moonlight needs to run on eglib

Add a bunch of typedefs/enums/#defines to glib.h, as well as many implementations of glib functions:

    g_array_set_size
    g_array_sized_new
    g_list_remove_all
    g_string_erase
    g_string_insert
    g_string_set_size
    g_utf8_offset_to_pointer
    g_utf8_pointer_to_offset
    g_utf8_to_ucs4_fast
    g_unichar_is_space
    g_unicode_break_type (stubbed, always returns G_UNICODE_BREAK_UNKNOWN at the moment)
    g_utf8_offset_to_pointer
    g_utf8_pointer_to_offset
    g_utf8_to_ucs4_fast

13 years agoWorkaround io-layer crashing when the runtime exit without cleaning up everything.
Rodrigo Kumpera [Mon, 18 Apr 2011 19:41:16 +0000 (16:41 -0300)]
Workaround io-layer crashing when the runtime exit without cleaning up everything.

* handles.c (handle_cleanup): When the runtime exit(), not
everything is shutdown and the main thread might be waiting
on other threads to finish. On this case, io-layer cleanup
with assert as a mutex will be in use.
The work-around is to be lenient to busy resources during
shutdown.