mono.git
13 years agoFixes mixed line ending.
Marek Safar [Tue, 14 Sep 2010 14:49:13 +0000 (15:49 +0100)]
Fixes mixed line ending.

13 years agoMerge branch 'marek'
Marek Safar [Tue, 14 Sep 2010 14:43:43 +0000 (15:43 +0100)]
Merge branch 'marek'

13 years agoRecover wrong invalid initializer syntax.
Marek Safar [Tue, 14 Sep 2010 14:41:17 +0000 (15:41 +0100)]
Recover wrong invalid initializer syntax.

13 years agoFinish predefined attributes instance access to allow compile time dynamic support...
Marek Safar [Tue, 14 Sep 2010 13:13:44 +0000 (14:13 +0100)]
Finish predefined attributes instance access to allow compile time dynamic support in repl.

13 years agoIn 4.0 the constructors of TypeConverter.SimplePropertyDescriptor are protected.
Carlos Alberto Cortez [Tue, 14 Sep 2010 08:06:38 +0000 (10:06 +0200)]
In 4.0 the constructors of TypeConverter.SimplePropertyDescriptor are protected.

* TypeConverter.cs: The constructors of SimplePropertyDescriptor
are protected in 4.0.

13 years agoAdd a new test for TypeDescriptor.InterfaceType.
Carlos Alberto Cortez [Tue, 14 Sep 2010 03:43:30 +0000 (05:43 +0200)]
Add a new test for TypeDescriptor.InterfaceType.

* TypeDescriptorTests.cs: New test for InterfaceType.

13 years agoImplement TypeDescriptor.InterfaceType.
Carlos Alberto Cortez [Tue, 14 Sep 2010 03:34:14 +0000 (05:34 +0200)]
Implement TypeDescriptor.InterfaceType.

* TypeDescriptor.cs: Implement 4.0 InterfaceType property, which
seems to be a simple dummy and empty class in .Net, internally
used to represent all interfaces.

13 years agoRemove the NET_2_0 directives from TypeDescriptor.cs
Carlos Alberto Cortez [Tue, 14 Sep 2010 00:21:11 +0000 (02:21 +0200)]
Remove the NET_2_0 directives from TypeDescriptor.cs

* TypeDescriptor.cs: Remove the NET_2_0 directives, as we don't
need them anymore.

13 years agoRemove the NET_2_0 and ONLY_1_1 directives from TypeDescriptorTests.cs
Carlos Alberto Cortez [Mon, 13 Sep 2010 23:57:38 +0000 (01:57 +0200)]
Remove the NET_2_0 and ONLY_1_1 directives from TypeDescriptorTests.cs

* TypeDescriptorTests.cs: Remove the NET_2_0 and ONLY_1_1
directives, as we don't need them anymore.

13 years agoInclude TypeDescriptionProviderTest.cs in our build.
Carlos Alberto Cortez [Mon, 13 Sep 2010 18:08:00 +0000 (20:08 +0200)]
Include TypeDescriptionProviderTest.cs in our build.

* System_test.dll.sources: Include
TypeDescriptionProviderTest.cs in our build.

13 years agoAdd new TypeDescriptionProviderTest.cs test file.
Carlos Alberto Cortez [Mon, 13 Sep 2010 18:07:03 +0000 (20:07 +0200)]
Add new TypeDescriptionProviderTest.cs test file.

* TypeDescriptionProviderTest.cs: New test file.

13 years agoImplement IsSupportedType, GetExtenderProviders and GetRuntimeType for TypeDescriptio...
Carlos Alberto Cortez [Mon, 13 Sep 2010 18:03:07 +0000 (20:03 +0200)]
Implement IsSupportedType, GetExtenderProviders and GetRuntimeType for TypeDescriptionProvider.

* TypeDescriptionProvider.cs: Implement 4.0 IsSupportedType,
GetExtenderProviders and GetRuntimeType methods.

13 years agoRemove the NET_2_0 directive from TypeDescriptionProvider.cs
Carlos Alberto Cortez [Mon, 13 Sep 2010 10:43:52 +0000 (12:43 +0200)]
Remove the NET_2_0 directive from TypeDescriptionProvider.cs

* TypeDescriptionProvider.cs: Remove the NET_2_0 directive.

13 years agoongoing standard endpoint configuration support work.
Atsushi Eno [Tue, 14 Sep 2010 12:14:00 +0000 (21:14 +0900)]
ongoing standard endpoint configuration support work.

13 years agoDistribute DbmlSchema.xsd so that tarball builds work.
Jonathan Pryor [Tue, 14 Sep 2010 10:39:57 +0000 (06:39 -0400)]
Distribute DbmlSchema.xsd so that tarball builds work.

13 years agoAdd new properties in 4.0.
Atsushi Eno [Tue, 14 Sep 2010 07:43:56 +0000 (16:43 +0900)]
Add new properties in 4.0.

13 years agoAvoid crash by missing config attributes.
Atsushi Eno [Tue, 14 Sep 2010 07:43:26 +0000 (16:43 +0900)]
Avoid crash by missing config attributes.

13 years agoRemove Console.WriteLine.
Atsushi Eno [Tue, 14 Sep 2010 07:32:31 +0000 (16:32 +0900)]
Remove Console.WriteLine.

13 years agoInitialize all core types
Marek Safar [Tue, 14 Sep 2010 07:28:57 +0000 (08:28 +0100)]
Initialize all core types

13 years agoAdd v4.0 beta to runtime versions list.
Rodrigo Kumpera [Tue, 14 Sep 2010 00:44:53 +0000 (21:44 -0300)]
Add v4.0 beta to runtime versions list.

13 years agoFix fallthru of EH block check.
Rodrigo Kumpera [Mon, 13 Sep 2010 23:56:07 +0000 (20:56 -0300)]
Fix fallthru of EH block check.

* verify.c (mono_method_verify): Only skip dead code
after checking for fallthru.

* unverifiable_fallout_of_finally_block.il: Regression
test for fallthru on dead code.

Fixes #597072

13 years agoAdd casts to the macros on netbsd so the caller doesn't have to reference ucontext_t...
Zoltan Varga [Tue, 14 Sep 2010 00:04:37 +0000 (02:04 +0200)]
Add casts to the macros on netbsd so the caller doesn't have to reference ucontext_t which is not available on some platforms like android.

13 years agoThe tid is passed around internally as a unsigned value.
Geoff Norton [Mon, 13 Sep 2010 22:42:27 +0000 (18:42 -0400)]
The tid is passed around internally as a unsigned value.

We were having a crash on OSX due to thread->tid not equalling the
passed tid due to a signedness issue.

13 years agoFix URi tests (and class) to be omcpatible with both 2.0 and 4.0 (and SL4)
Sebastien Pouliot [Mon, 13 Sep 2010 21:38:42 +0000 (17:38 -0400)]
Fix URi tests (and class) to be omcpatible with both 2.0 and 4.0 (and SL4)

* System/Uri.cs: Fix some "bugs" that are not part of FX4 anymore.
Change how Query/Fragment are merged to match FX4 (while keeping it
compatible with buggy FX2 under the NET_2_0 profile)

* Test/System/UriTest.cs: Adjust test cases to work with 4.0. Mark with
NotDotNet two test cases that are Mono/Unix-specific
* Test/System/UriTest2.cs: Add new test cases where a relative Uri is
merged with an absolute Uri (some changes in SL4/FX4 wrt FX2)
* Test/System/UriTest3.cs: Adjust for bugs fixed after FX 2.0.

13 years agoBump minor version to 2 to be compatible with the runtime.
Zoltan Varga [Mon, 13 Sep 2010 21:21:21 +0000 (23:21 +0200)]
Bump minor version to 2 to be compatible with the runtime.

13 years agoRemoved confusing catch error message.
Marek Safar [Mon, 13 Sep 2010 19:06:33 +0000 (20:06 +0100)]
Removed confusing catch error message.

13 years agoRename major -> major_collector and drop unguarded usage of ucontext_t.
Geoff Norton [Mon, 13 Sep 2010 18:39:41 +0000 (14:39 -0400)]
Rename major -> major_collector and drop unguarded usage of ucontext_t.

Android defines a variable called "major" in its headers, lets rename
major -> major_collector to work around the conflict.

Not every architecture/platform has ucontext_t, so lets not strongly
type our contexts to that and let the macros do their job.

13 years agoFix the build when compiling without shared handle support entirely
Geoff Norton [Mon, 13 Sep 2010 18:38:39 +0000 (14:38 -0400)]
Fix the build when compiling without shared handle support entirely

The wapi init functions call this even when shared is compiled out,
lets just return FALSE to get into the right codepaths.

13 years agoAdd a test for arrays with dynamic elements.
Marek Safar [Mon, 13 Sep 2010 18:25:40 +0000 (19:25 +0100)]
Add a test for arrays with dynamic elements.

13 years agoImplement foreach over nullable values.
Marek Safar [Mon, 13 Sep 2010 18:02:48 +0000 (19:02 +0100)]
Implement foreach over nullable values.

13 years agoCompiledContext is no longer needed.
Rodrigo Kumpera [Mon, 13 Sep 2010 17:51:59 +0000 (14:51 -0300)]
CompiledContext is no longer needed.

* MethodBuilder.cs (GetGenericArguments): No need to
check for compiler context. It's gone.

13 years ago[sqlmetal] Fix /code from DBML file.
Jonathan Pryor [Mon, 13 Sep 2010 17:34:36 +0000 (13:34 -0400)]
[sqlmetal] Fix /code from DBML file.

sqlmetal.exe is supposed to allow generating source code from a .dbml file:

sqlmetal /code:foo.cs foo.dbml

However, this failed because the DbmlSchema.xsd file couldn't be found (so
that the DBML file could be validated).

Embed the DbmlSchema.xsd file so that the above `sqlmetal` command works.

13 years agoMethodBuilder should return null for generic arguments of non generic method.
Rodrigo Kumpera [Mon, 13 Sep 2010 17:24:45 +0000 (14:24 -0300)]
MethodBuilder should return null for generic arguments of non generic method.

* MethodBuilder.cs (GetGenericArguments): Return null if not
generic.

* MethodBuilderTest.cs: Add test for #384127.

Fixes bug #384127.

13 years agoKeep only 1 using implementation and handle all nullable and dynamic cases there.
Marek Safar [Mon, 13 Sep 2010 16:52:35 +0000 (17:52 +0100)]
Keep only 1 using implementation and handle all nullable and dynamic cases there.

13 years agoBetter error reporting for missing identifiers.
Marek Safar [Mon, 13 Sep 2010 08:46:59 +0000 (09:46 +0100)]
Better error reporting for missing identifiers.

13 years ago[Embedding] Make mono-dl-fallback.h public-safe
Michael Hutchinson [Mon, 13 Sep 2010 15:00:26 +0000 (11:00 -0400)]
[Embedding] Make mono-dl-fallback.h public-safe

13 years agoFix a problem in mono_arch_get_argument_info () introduced by the last change.
Zoltan Varga [Mon, 13 Sep 2010 13:56:40 +0000 (15:56 +0200)]
Fix a problem in mono_arch_get_argument_info () introduced by the last change.

13 years agoFix a warning.
Zoltan Varga [Mon, 13 Sep 2010 13:45:35 +0000 (15:45 +0200)]
Fix a warning.

13 years agoimplemented large parts of WCF standard endpoints and configuration support.
Atsushi Eno [Mon, 13 Sep 2010 13:36:37 +0000 (22:36 +0900)]
implemented large parts of WCF standard endpoints and configuration support.

13 years ago[asp.net] Menu 4.0 List rendering mode JavaScript fixes
Marek Habersack [Mon, 13 Sep 2010 12:32:16 +0000 (14:32 +0200)]
[asp.net] Menu 4.0 List rendering mode JavaScript fixes

This makes the new script work correctly with IE, which has a different way of
hooking up of events and cancelling of their bubling. Previously the mouse-over
handler would be called for each and every submenu causing the leaf menus not
to appear. With this fix the handler is called only once.

13 years agoFix a warning.
Rodrigo Kumpera [Mon, 13 Sep 2010 11:28:15 +0000 (08:28 -0300)]
Fix a warning.

* glib.h: Fix propotype.

13 years agoFix a sgen shutdown crash.
Rodrigo Kumpera [Mon, 13 Sep 2010 11:09:01 +0000 (08:09 -0300)]
Fix a sgen shutdown crash.

* threads.c (mono_thread_suspend_all_other_threads): wait_data
must not be malloc'd since it holds managed pointers. Alloc
it on stack since the struct is about 512/1024 bytes long.

* threads.c (mono_thread_manage): Ditto.

* threads.c (mono_threads_request_thread_dump): Ditto.

13 years agoImplement GByteArray, g_hash_table_remove_all, g_queue_foreach and some missing bytes...
Geoff Norton [Sun, 12 Sep 2010 02:38:35 +0000 (22:38 -0400)]
Implement GByteArray, g_hash_table_remove_all, g_queue_foreach and some missing byteswap macros.

13 years agoDo not install sample header, add to EXTRA_DIST
Miguel de Icaza [Sat, 11 Sep 2010 19:32:15 +0000 (15:32 -0400)]
Do not install sample header, add to EXTRA_DIST

13 years ago[xbuild] Fix ConsoleLogger's output, extra blank lines etc.
Ankit Jain [Sat, 11 Sep 2010 19:17:27 +0000 (00:47 +0530)]
[xbuild] Fix ConsoleLogger's output, extra blank lines etc.

13 years agoRemove -Werror from the eglib tests too.
Zoltan Varga [Sat, 11 Sep 2010 19:16:05 +0000 (21:16 +0200)]
Remove -Werror from the eglib tests too.

13 years ago[xbuild] Reduce ConsoleLogger's unnecessary output.
Ankit Jain [Sat, 11 Sep 2010 18:15:20 +0000 (23:45 +0530)]
[xbuild] Reduce ConsoleLogger's unnecessary output.

ConsoleLogger was emitting target names, even if they didn't have
any useful output, which resulted in lots of "Target foo:" in the
output, with no other related msgs.

 Target Foo:
 Target Bar:
 Target Xyz:

Emit project/target/task headers only if they result in a message,
error or warning. This results in much cleaner output.

13 years ago[xbuild] Log default msg for TargetSkipped if @reason is null or empty.
Ankit Jain [Sat, 11 Sep 2010 18:14:36 +0000 (23:44 +0530)]
[xbuild] Log default msg for TargetSkipped if @reason is null or empty.

13 years agoUpdate mono.sln for 2010
joncham [Sat, 11 Sep 2010 02:38:36 +0000 (22:38 -0400)]
Update mono.sln for 2010

13 years agoAdd vcxproj files
joncham [Fri, 10 Sep 2010 21:28:29 +0000 (17:28 -0400)]
Add vcxproj files

13 years agoMigrate vcproj files to VS2010
joncham [Wed, 8 Sep 2010 00:06:01 +0000 (20:06 -0400)]
Migrate vcproj files to VS2010

13 years ago[windows] Update Mono.def
unknown [Sat, 11 Sep 2010 01:58:44 +0000 (21:58 -0400)]
[windows] Update Mono.def

13 years agoFix the windows build
Gonzalo Paniagua Javier [Sat, 11 Sep 2010 00:51:13 +0000 (20:51 -0400)]
Fix the windows build

Avoid warnings in windows.

13 years agoAlways compare original block for cloned versions.
Marek Safar [Fri, 10 Sep 2010 21:43:56 +0000 (22:43 +0100)]
Always compare original block for cloned versions.

13 years agoTweak few error reports
Marek Safar [Fri, 10 Sep 2010 18:45:07 +0000 (19:45 +0100)]
Tweak few error reports

13 years agoLog the clearing of nursery fragments, avoid clearing small fragments twice.
Zoltan Varga [Fri, 10 Sep 2010 21:38:37 +0000 (23:38 +0200)]
Log the clearing of nursery fragments, avoid clearing small fragments twice.

13 years agoRework major cardtable scan to have less active vars.
Rodrigo Kumpera [Fri, 10 Sep 2010 15:59:39 +0000 (12:59 -0300)]
Rework major cardtable scan to have less active vars.

        * sgen-marksweep.c (major_scan_card_table): Rework the small
        object size loop to have a single induction variable.
        In adition to that, add a fast initial card skip code.

13 years agoLook for marked cards while copying them.
Rodrigo Kumpera [Thu, 9 Sep 2010 21:01:11 +0000 (18:01 -0300)]
Look for marked cards while copying them.

* sgen-cardtable.c (sgen_card_table_get_card_data): Check
if any card is marked and return it.

* sgen-marksweep.c (major_scan_card_table): Don't waste time
scanning a block if no card was marked.

13 years agoManually hoist card lookup out of scan loops.
Rodrigo Kumpera [Thu, 9 Sep 2010 20:09:35 +0000 (17:09 -0300)]
Manually hoist card lookup out of scan loops.

* sgen-cardtable.c (sgen_cardtable_scan_object): Lookup
the card once and then bump over it. This saves a bunch
of stores and opens up for later improvements.

* sgen-marksweep.c (major_scan_card_table): Ditto.

* sgen-cardtable.h: Add new inline function to return the
card scan pointer of a given adddress.

13 years ago[Embedded] Add new fallback API to allow hooking up to the P/Invoke lookup system
Miguel de Icaza [Fri, 10 Sep 2010 21:01:48 +0000 (17:01 -0400)]
[Embedded] Add new fallback API to allow hooking up to the P/Invoke lookup system

This patch allows a developer to register a fallback for P/Invoke when
embedding Mono.   Typically this is done when you statically link all of your
libraries in some embedded systems and you need to dynamically resolve symbol
names.

There is a *sample* API included (but not compiled into Mono itself) called
mono-embed.c that shows a layman use of the API.   A full implementation would
mandate sorted tables, and would use a bsearch or a hashtable instead of having
linear searches.

13 years agoForward port this change for MonoVS
Geoff Norton [Fri, 10 Sep 2010 20:50:13 +0000 (16:50 -0400)]
Forward port this change for MonoVS

13 years agofix typo
Geoff Norton [Tue, 22 Dec 2009 19:16:36 +0000 (19:16 +0000)]
fix typo

svn path=/branches/mono-2-6/mono/; revision=148851

13 years ago2009-12-14 Geoff Norton <gnorton@novell.com>
Geoff Norton [Mon, 14 Dec 2009 21:57:44 +0000 (21:57 +0000)]
2009-12-14  Geoff Norton  <gnorton@novell.com>

        * debugger-agent.c: The end_runtime_invoke guard isn't working
        on AMD64 as __builtin_frame_address (1) returns NULL.  Disable the
        behaviour by default, and make it runtime configurable.

svn path=/branches/mono-2-6/mono/; revision=148421

13 years agoAdd comments.
Marek Safar [Fri, 10 Sep 2010 17:25:37 +0000 (18:25 +0100)]
Add comments.

13 years agoNew test.
Marek Safar [Fri, 10 Sep 2010 17:25:17 +0000 (18:25 +0100)]
New test.

13 years agoConverting the switch statement into normal statement (the block part).
Marek Safar [Fri, 10 Sep 2010 17:18:20 +0000 (18:18 +0100)]
Converting the switch statement into normal statement (the block part).

13 years agoDist the 2.0 resource files also
Andrew Jorgensen [Fri, 10 Sep 2010 16:55:20 +0000 (10:55 -0600)]
Dist the 2.0 resource files also

13 years agoDist sgen-cardtable.h
Andrew Jorgensen [Fri, 10 Sep 2010 15:51:44 +0000 (09:51 -0600)]
Dist sgen-cardtable.h

13 years agoUpdate to the latest dmcs
Marek Safar [Fri, 10 Sep 2010 15:43:20 +0000 (16:43 +0100)]
Update to the latest dmcs

13 years agoAdd test for #636939
Jb Evain [Fri, 10 Sep 2010 14:18:35 +0000 (16:18 +0200)]
Add test for #636939

13 years ago[Fix] Fix the default binder when selecting params methods.
Jb Evain [Fri, 10 Sep 2010 14:16:47 +0000 (16:16 +0200)]
[Fix] Fix the default binder when selecting params methods.

Use full assignability check instead of type equality
when selecting methods with a params array parameter.
Fixes #636939.

13 years ago[asp.net] Onobtrusive JavaScript for the 4.0 Menu control List mode
Marek Habersack [Wed, 8 Sep 2010 08:29:08 +0000 (10:29 +0200)]
[asp.net] Onobtrusive JavaScript for the 4.0 Menu control List mode

13 years ago[asp.net] Menu 4.0 List mode rendering
Marek Habersack [Thu, 19 Aug 2010 21:20:03 +0000 (23:20 +0200)]
[asp.net] Menu 4.0 List mode rendering

13 years ago[asp.net] Made GetExtension static and internal, so that it can be used from code...
Marek Habersack [Sat, 4 Sep 2010 01:15:00 +0000 (03:15 +0200)]
[asp.net] Made GetExtension static and internal, so that it can be used from code outsude Unit

13 years ago[asp.net] Added first test for Menu list rendering in 4.0
Marek Habersack [Thu, 2 Sep 2010 23:46:13 +0000 (01:46 +0200)]
[asp.net] Added first test for Menu list rendering in 4.0

13 years ago[asp.net] Standalone runner helper method to remove WebResource.axd from HTML now...
Marek Habersack [Thu, 2 Sep 2010 23:47:44 +0000 (01:47 +0200)]
[asp.net] Standalone runner helper method to remove WebResource.axd from HTML now uses regexps

13 years agoRemove USE_DATA_CONTRACT_IMPORTER conditional compilation flag.
Atsushi Eno [Fri, 10 Sep 2010 13:26:44 +0000 (22:26 +0900)]
Remove USE_DATA_CONTRACT_IMPORTER conditional compilation flag.

13 years agoFlush ongoing WCF Discovery configuration work.
Atsushi Eno [Fri, 10 Sep 2010 13:12:44 +0000 (22:12 +0900)]
Flush ongoing WCF Discovery configuration work.

13 years agoXmlFormatterDeserializer: handle ReflectionTypeLoadExceptions better
Rolf Bjarne Kvinge [Fri, 10 Sep 2010 09:04:10 +0000 (11:04 +0200)]
XmlFormatterDeserializer: handle ReflectionTypeLoadExceptions better

13 years agoWhen doing member access left side lookup the arity value is actually the exact value.
Marek Safar [Fri, 10 Sep 2010 10:36:24 +0000 (11:36 +0100)]
When doing member access left side lookup the arity value is actually the exact value.

13 years agoReject varianly implemented interface members.
Marek Safar [Fri, 10 Sep 2010 09:58:20 +0000 (10:58 +0100)]
Reject varianly implemented interface members.

13 years agoAdd missing members and implement most of it.
Atsushi Eno [Fri, 10 Sep 2010 10:28:20 +0000 (19:28 +0900)]
Add missing members and implement most of it.

13 years agoCosmetic warning cleanups.
Atsushi Eno [Fri, 10 Sep 2010 09:49:35 +0000 (18:49 +0900)]
Cosmetic warning cleanups.

13 years agoImplement discovery version converter.
Atsushi Eno [Fri, 10 Sep 2010 09:48:14 +0000 (18:48 +0900)]
Implement discovery version converter.

13 years agoAdd lacking property initializer.
Atsushi Eno [Fri, 10 Sep 2010 09:46:46 +0000 (18:46 +0900)]
Add lacking property initializer.

13 years agoRemove unnecessary common types (as they are imported from internal-visible ones).
Atsushi Eno [Fri, 10 Sep 2010 09:44:07 +0000 (18:44 +0900)]
Remove unnecessary common types (as they are imported from internal-visible ones).

13 years agoAdd another stub for the compatibility with the SL SDK
Jb Evain [Fri, 10 Sep 2010 09:40:50 +0000 (11:40 +0200)]
Add another stub for the compatibility with the SL SDK

13 years agoFix the moonlight build
Jb Evain [Fri, 10 Sep 2010 09:21:53 +0000 (11:21 +0200)]
Fix the moonlight build

13 years agoOngoing WCF discovery configuration implementation.
Atsushi Eno [Fri, 10 Sep 2010 08:54:50 +0000 (17:54 +0900)]
Ongoing WCF discovery configuration implementation.

13 years agoAvoid holding WebRequest. This should fix part of bug #636500.
Atsushi Eno [Fri, 10 Sep 2010 08:51:30 +0000 (17:51 +0900)]
Avoid holding WebRequest. This should fix part of bug #636500.

13 years agoMerge branch 'marek'
Marek Safar [Fri, 10 Sep 2010 08:25:27 +0000 (09:25 +0100)]
Merge branch 'marek'

13 years agoTry to speep up the GetLocation by a bit.
Marek Safar [Fri, 10 Sep 2010 08:24:24 +0000 (09:24 +0100)]
Try to speep up the GetLocation by a bit.

13 years agoAdd a test case for DateTimeOffsetConverter converting to InstanceDescriptor.
Carlos Alberto Cortez [Fri, 10 Sep 2010 02:53:45 +0000 (04:53 +0200)]
Add a test case for DateTimeOffsetConverter converting to InstanceDescriptor.

* DateTimeOffsetConverterTests.cs: New test for conversions to
InstanceDescriptor.

13 years agoUse the DateTimeOffset .ctor that .net uses when converting it to InstanceDescriptor.
Carlos Alberto Cortez [Fri, 10 Sep 2010 02:49:24 +0000 (04:49 +0200)]
Use the DateTimeOffset .ctor that .net uses when converting it to InstanceDescriptor.

* DateTimeOffsetConverter.cs: Use the same DateTimeOffset .ctor
that .net uses when converting to a InstanceDescriptor.

13 years agoAdd FileStream.Flush(bool) to the moonlight profile
Jb Evain [Fri, 10 Sep 2010 06:20:48 +0000 (08:20 +0200)]
Add FileStream.Flush(bool) to the moonlight profile

13 years ago[Fix] Correct fix for the g_shell_parse_argv bug
Miguel de Icaza [Fri, 10 Sep 2010 05:00:10 +0000 (01:00 -0400)]
[Fix] Correct fix for the g_shell_parse_argv bug

Simplifies the code a little bit by eliminating the in_quote variable,
but also fixes the rules to follow the requirements from the
"Shell Command Language" specification on the Unix03 site:

http://opengroup.org/onlinepubs/007908775/xcu/chap2.html#tag_001_002

In particular, the interpretation of the backslash inside double quotes
is limited to a handful of characters.   Notice that this differs from
the glib implementation which is not correct either.

13 years ago[Fix] Allow escape characters inside quoted text, and do not let nested quote reset...
Miguel de Icaza [Thu, 9 Sep 2010 23:46:25 +0000 (19:46 -0400)]
[Fix] Allow escape characters inside quoted text, and do not let nested quote reset the quoting state

This should fix #637680

13 years agoFix x86 trace support after the callconv changes.
Zoltan Varga [Thu, 9 Sep 2010 22:37:18 +0000 (00:37 +0200)]
Fix x86 trace support after the callconv changes.

13 years agoRecover from broken single parameter
Marek Safar [Thu, 9 Sep 2010 19:14:54 +0000 (20:14 +0100)]
Recover from broken single parameter

13 years agomove the call to mono_gc_base_init into mono_debug_init
Chris Toshok [Thu, 9 Sep 2010 17:08:59 +0000 (10:08 -0700)]
move the call to mono_gc_base_init into mono_debug_init

mono_debug_init is a public embedding interface and calls into
mono_debugger_initialize, which registers a GC root.  driver.c calls
mono_gc_base_init before calling mono_debug_init for this reason, but
that's not an option for embedding (as mono_gc_base_init is internal.)

since mono_gc_base_init is idempotent, just add a call to
mono_debug_init (and remove the driver.c call).  Document (in sgen-gc
and sgen-gc.h) the fact that although mono_gc_base_init is idempotent,
changing LOCK_INIT to something non-idempotent will break this.