mono.git
12 years agoAdd few missing csproj files
Marek Safar [Thu, 16 Feb 2012 15:41:09 +0000 (15:41 +0000)]
Add few missing csproj files

12 years agoOptimize debugging symbols writing
Marek Safar [Thu, 16 Feb 2012 15:34:41 +0000 (15:34 +0000)]
Optimize debugging symbols writing

12 years agoMerge pull request #217 from QuickJack/master
Gonzalo Paniagua Javier [Fri, 17 Feb 2012 12:03:07 +0000 (04:03 -0800)]
Merge pull request #217 from QuickJack/master

Fixes several bugs and issues in Mono's configuration stack

12 years agoAdd warning and unit tests about RegionInfo fields ordering. Fix for #3476
Sebastien Pouliot [Fri, 17 Feb 2012 01:44:19 +0000 (20:44 -0500)]
Add warning and unit tests about RegionInfo fields ordering. Fix for #3476

12 years agoAdd an additional nop to the end of seq points so skipping the bp doesn't cause the...
Zoltan Varga [Thu, 16 Feb 2012 19:28:57 +0000 (20:28 +0100)]
Add an additional nop to the end of seq points so skipping the bp doesn't cause the ip to point to another IL offset. Fixes #3472.

12 years agoEnsure match between native/managed fields representation so we retrieve the right...
Sebastien Pouliot [Wed, 15 Feb 2012 21:55:12 +0000 (16:55 -0500)]
Ensure match between native/managed fields representation so we retrieve the right values

12 years ago[Mono.Debugger.Soft] Reverted non-working support for MethodMirror.IsGenericMethod...
Jeffrey Stedfast [Wed, 15 Feb 2012 21:19:59 +0000 (16:19 -0500)]
[Mono.Debugger.Soft] Reverted non-working support for MethodMirror.IsGenericMethod on older versions

12 years agoImplement TypeMirror/MethodMirror GetGenericArguments () method. Fixes #3482.
Zoltan Varga [Wed, 15 Feb 2012 20:31:00 +0000 (21:31 +0100)]
Implement TypeMirror/MethodMirror GetGenericArguments () method. Fixes #3482.

12 years agoFix handling of fp arguments in the LLVM backend, they were copied using OP_MOVE...
Zoltan Varga [Wed, 15 Feb 2012 19:12:34 +0000 (20:12 +0100)]
Fix handling of fp arguments in the LLVM backend, they were copied using OP_MOVE, leading to various problems.

12 years agoDon't allocate unused string buffer with path when reading file attributes
Marek Safar [Wed, 15 Feb 2012 17:11:27 +0000 (17:11 +0000)]
Don't allocate unused string buffer with path when reading file attributes

12 years agoFix sequence points for more statements
Marek Safar [Wed, 15 Feb 2012 17:00:02 +0000 (17:00 +0000)]
Fix sequence points for more statements

12 years ago[Mono.Debugger.Soft] Reverted non-working support for MethodMirror.IsGenericMethod...
Jeffrey Stedfast [Wed, 15 Feb 2012 17:03:14 +0000 (12:03 -0500)]
[Mono.Debugger.Soft] Reverted non-working support for MethodMirror.IsGenericMethod on older Monos

12 years agoAdd Microsoft.CSharp.dll to monodroid build.
Atsushi Eno [Wed, 15 Feb 2012 05:52:22 +0000 (14:52 +0900)]
Add Microsoft.CSharp.dll to monodroid build.

12 years agoAvoid putting two sequence points at the same IL offset. Fixes #3452.
Zoltan Varga [Tue, 14 Feb 2012 19:34:08 +0000 (20:34 +0100)]
Avoid putting two sequence points at the same IL offset. Fixes #3452.

12 years agoEmit sequence point at the beginning of return expression. Fixes #3420
Marek Safar [Tue, 14 Feb 2012 19:08:50 +0000 (19:08 +0000)]
Emit sequence point at the beginning of return expression. Fixes #3420

12 years agoFix recursive calls betwqeen mono_thread_get_and_clear_pending_exception () and mono_...
Zoltan Varga [Tue, 14 Feb 2012 18:19:00 +0000 (19:19 +0100)]
Fix recursive calls betwqeen mono_thread_get_and_clear_pending_exception () and mono_thread_execute_interruption ().

12 years agoFix last commit unwanted char change
Marek Safar [Tue, 14 Feb 2012 17:48:52 +0000 (17:48 +0000)]
Fix last commit unwanted char change

12 years agoUse correct type when setting UnattachedAttributes. Fix the error message not to...
Marek Safar [Tue, 14 Feb 2012 17:44:14 +0000 (17:44 +0000)]
Use correct type when setting UnattachedAttributes. Fix the error message not to display {0}

12 years agoAllow make in mcs/ by calling make -C ../runtime.
Zoltan Varga [Tue, 14 Feb 2012 17:04:08 +0000 (18:04 +0100)]
Allow make in mcs/ by calling make -C ../runtime.

12 years agoMake mono_set_pending_exception () work on all platforms. Fixes #3399.
Zoltan Varga [Tue, 14 Feb 2012 16:54:43 +0000 (17:54 +0100)]
Make mono_set_pending_exception () work on all platforms. Fixes #3399.

12 years agoGet rid of the if (IS_LLVM_MONO_BRANCH) conditionals.
Zoltan Varga [Tue, 14 Feb 2012 16:28:56 +0000 (17:28 +0100)]
Get rid of the if (IS_LLVM_MONO_BRANCH) conditionals.

12 years agoMake string::Trim .net 4 compatible. Fixes #3408
Marek Safar [Tue, 14 Feb 2012 16:03:54 +0000 (16:03 +0000)]
Make string::Trim .net 4 compatible. Fixes #3408

12 years agoMake string::Split .net 4 compatible
Marek Safar [Tue, 14 Feb 2012 15:06:33 +0000 (15:06 +0000)]
Make string::Split .net 4 compatible

12 years agoSpeedup Char::IsWhiteSpace
Marek Safar [Tue, 14 Feb 2012 14:34:10 +0000 (14:34 +0000)]
Speedup Char::IsWhiteSpace

12 years agoAdd more char tests
Marek Safar [Mon, 13 Feb 2012 20:07:02 +0000 (20:07 +0000)]
Add more char tests

12 years agoCompletes commit https://github.com/QuickJack/mono/commit/1daeb920c64e47b4671e6ce4ea8...
Martin [Tue, 14 Feb 2012 15:46:13 +0000 (16:46 +0100)]
Completes commit https://github.com/QuickJack/mono/commit/1daeb920c64e47b4671e6ce4ea8c83158e6e7e6e

12 years agoImplements Grendello's suggestions to WebConfigurationManager class
Martin [Tue, 14 Feb 2012 15:42:50 +0000 (16:42 +0100)]
Implements Grendello's suggestions to WebConfigurationManager class

12 years agoforgot to add new sources files for my previous change.
Atsushi Eno [Tue, 14 Feb 2012 03:48:39 +0000 (12:48 +0900)]
forgot to add new sources files for my previous change.

12 years agoadd dlr to monodroid build.
Atsushi Eno [Tue, 14 Feb 2012 03:21:46 +0000 (12:21 +0900)]
add dlr to monodroid build.

12 years agoUse 1518 and be more precise
Miguel de Icaza [Tue, 14 Feb 2012 03:05:11 +0000 (22:05 -0500)]
Use 1518 and be more precise

12 years ago[mcs] The parser can now track in FULL_AST mode dangling attributes at the end of...
Miguel de Icaza [Tue, 14 Feb 2012 03:01:48 +0000 (22:01 -0500)]
[mcs] The parser can now track in FULL_AST mode dangling attributes at the end of a namespace, fixes #3377

12 years ago[mcs] The parser can now track in FULL_AST mode dangling attributes at the end of...
Miguel de Icaza [Tue, 14 Feb 2012 02:55:25 +0000 (21:55 -0500)]
[mcs] The parser can now track in FULL_AST mode dangling attributes at the end of a type definition, fixes #3377

12 years agoAllow an open generic method instance to match its instantiations when setting breakp...
Zoltan Varga [Mon, 13 Feb 2012 18:30:01 +0000 (19:30 +0100)]
Allow an open generic method instance to match its instantiations when setting breakpoints. Fixes #3422.

12 years agoFix sequence points for more statements
Marek Safar [Mon, 13 Feb 2012 17:25:48 +0000 (17:25 +0000)]
Fix sequence points for more statements

12 years agoEmit correct sequence info for iterators
Marek Safar [Mon, 13 Feb 2012 12:50:20 +0000 (12:50 +0000)]
Emit correct sequence info for iterators

12 years ago[monodoc] Add BaseFilePath property to HelpSource to determine the full folder path...
Jeremie Laval [Mon, 13 Feb 2012 16:39:20 +0000 (17:39 +0100)]
[monodoc] Add BaseFilePath property to HelpSource to determine the full folder path in which they are

This module is really one of the most ugly looking code you will ever find in the Mono tree. A savory mix of all .NET idioms since 1.1, totally anarchic class layout, helpers and hacks everywhere make your eyes bleed continously.

12 years agoJust like Flush catch more than IOException on Write overloads, e.g. UnauthorizedAcce...
Sebastien Pouliot [Mon, 13 Feb 2012 15:44:40 +0000 (10:44 -0500)]
Just like Flush catch more than IOException on Write overloads, e.g. UnauthorizedAccessException can occur too (ref: assistly #7431)

12 years agoMerge pull request #225 from mistoll/master
Marek Safar [Sun, 12 Feb 2012 17:14:39 +0000 (09:14 -0800)]
Merge pull request #225 from mistoll/master

bug 3412 unit test

12 years agoAdded unit test for bug #3412
Michael Stoll [Sun, 12 Feb 2012 17:08:49 +0000 (18:08 +0100)]
Added unit test for bug #3412

12 years agoMerge pull request #224 from ewxrjk/unixstream
Gonzalo Paniagua Javier [Sun, 12 Feb 2012 00:19:50 +0000 (16:19 -0800)]
Merge pull request #224 from ewxrjk/unixstream

Stop UnixStream.Dispose() throwing if the stream is already closed.

12 years agoStop UnixStream.Dispose() throwing if the stream is already closed.
Richard Kettlewell [Sat, 11 Feb 2012 23:03:49 +0000 (23:03 +0000)]
Stop UnixStream.Dispose() throwing if the stream is already closed.

This (re-)establishes the invariant that once the object has been
constructed it can be disposed, making it suitable for use in 'using'
statements; and allows it to be used with a StreamReader in the same
way as other stream classes.

12 years agoFix AggregateException.GetBaseException behavior
Jérémie Laval [Sat, 11 Feb 2012 21:13:25 +0000 (22:13 +0100)]
Fix AggregateException.GetBaseException behavior

12 years agoAdd VS project files for test project
Marek Safar [Fri, 10 Feb 2012 12:27:26 +0000 (12:27 +0000)]
Add VS project files for test project

12 years agoMove ConcurrentBag tests to System assembly
Marek Safar [Fri, 10 Feb 2012 11:10:07 +0000 (11:10 +0000)]
Move ConcurrentBag tests to System assembly

12 years agoChunked read error reporting improvement
Gonzalo Paniagua Javier [Fri, 10 Feb 2012 07:14:36 +0000 (02:14 -0500)]
Chunked read error reporting improvement

Reset the chunked read variables before reading the chunk size and
provide a better error in case of a protocol problem.

12 years agoUpdate class library csproj files
Marek Safar [Thu, 9 Feb 2012 11:25:18 +0000 (11:25 +0000)]
Update class library csproj files

12 years agoFixes cloning of DateTimeFormatInfo, added more arguments checks. Fixes #3279
Marek Safar [Thu, 9 Feb 2012 10:55:58 +0000 (10:55 +0000)]
Fixes cloning of DateTimeFormatInfo, added more arguments checks. Fixes #3279

12 years agoInvalidate the context as well at the end of ss_start (). Fixes #3272.
Zoltan Varga [Thu, 9 Feb 2012 00:46:53 +0000 (01:46 +0100)]
Invalidate the context as well at the end of ss_start (). Fixes #3272.

12 years agoGet rid of the <foo>-static libraries, libtool doesn't know that they need to be...
Zoltan Varga [Wed, 8 Feb 2012 20:04:20 +0000 (21:04 +0100)]
Get rid of the <foo>-static libraries, libtool doesn't know that they need to be compiled only in static mode, so each source file was compiled up to 8 times. Pass -static in the _LDFLAGS for the mono executables instead.

12 years agoAdd test reference file
Marek Safar [Wed, 8 Feb 2012 19:09:19 +0000 (19:09 +0000)]
Add test reference file

12 years agoFix sequence points for foreach/for statements
Marek Safar [Wed, 8 Feb 2012 18:57:36 +0000 (18:57 +0000)]
Fix sequence points for foreach/for statements

12 years agoFix implicit conversion from dynamic array to underlying array interfaces
Marek Safar [Wed, 8 Feb 2012 14:47:13 +0000 (14:47 +0000)]
Fix implicit conversion from dynamic array to underlying array interfaces

12 years agoEmit correct sequence points for more statements
Marek Safar [Wed, 8 Feb 2012 14:19:25 +0000 (14:19 +0000)]
Emit correct sequence points for more statements

12 years agoCleanup the mess that ptr_in_nursery became with all file split going on.
Rodrigo Kumpera [Wed, 8 Feb 2012 17:24:28 +0000 (15:24 -0200)]
Cleanup the mess that ptr_in_nursery became with all file split going on.

* sgen-gc.c: Move all nursery bounds information to sgen-nursery-alloc.c,
rename to something with proper scoping and visibility. YAY!

* sgen-gc.h: Move some defines to here so everyone can enough fast
ptr_to_nursery.

* sgen-conf.h: Move another configuration knob to here.

12 years agoPrecise stack mark remains broken on OSX. Disable again till we fix the whole thing.
Rodrigo Kumpera [Tue, 7 Feb 2012 18:08:49 +0000 (16:08 -0200)]
Precise stack mark remains broken on OSX. Disable again till we fix the whole thing.

12 years agoFix the previous commit.
Zoltan Varga [Wed, 8 Feb 2012 14:11:18 +0000 (15:11 +0100)]
Fix the previous commit.

12 years agoAvoid compiling libmonoruntime and libmono when --disable-boehm is used.
Zoltan Varga [Wed, 8 Feb 2012 14:02:26 +0000 (15:02 +0100)]
Avoid compiling libmonoruntime and libmono when --disable-boehm is used.

12 years agoInsert sequence points for CIL nop instructions. Fixes #3237.
Zoltan Varga [Wed, 8 Feb 2012 11:42:16 +0000 (12:42 +0100)]
Insert sequence points for CIL nop instructions. Fixes #3237.

12 years agoFix the length of seq_point on amd64.
Zoltan Varga [Wed, 8 Feb 2012 11:41:44 +0000 (12:41 +0100)]
Fix the length of seq_point on amd64.

12 years agoFix the quiet build code so it works with a separate build dir too.
Zoltan Varga [Wed, 8 Feb 2012 10:04:06 +0000 (11:04 +0100)]
Fix the quiet build code so it works with a separate build dir too.

12 years ago[monodoc] Add missing source-id parameter feeding when XSLT-ing namespaces
Jeremie Laval [Wed, 8 Feb 2012 11:41:23 +0000 (12:41 +0100)]
[monodoc] Add missing source-id parameter feeding when XSLT-ing namespaces

12 years agoRevert part of 62b8512f2b21f3d1381fb4e7ad2e6f3915996aa3. Profiler modules can use...
Zoltan Varga [Wed, 8 Feb 2012 00:43:29 +0000 (01:43 +0100)]
Revert part of 62b8512f2b21f3d1381fb4e7ad2e6f3915996aa3. Profiler modules can use libmono-2.0.la.

12 years agoRevert "Disable profiler modules when --disable-shared is used."
Zoltan Varga [Wed, 8 Feb 2012 00:20:29 +0000 (01:20 +0100)]
Revert "Disable profiler modules when --disable-shared is used."

This reverts commit 1d73043451669014659c2b4d1164a4ad6623a5ae.

12 years agoAdd an explicit ctor reference to a ctor used by reflection for MonoTouch.
Rolf Bjarne Kvinge [Tue, 7 Feb 2012 23:56:36 +0000 (00:56 +0100)]
Add an explicit ctor reference to a ctor used by reflection for MonoTouch.

12 years agoDisable profiler modules when --disable-shared is used.
Zoltan Varga [Tue, 7 Feb 2012 23:55:06 +0000 (00:55 +0100)]
Disable profiler modules when --disable-shared is used.

12 years agoFix the --disable-shared build.
Zoltan Varga [Tue, 7 Feb 2012 23:05:46 +0000 (00:05 +0100)]
Fix the --disable-shared build.

12 years agoEnable system AOT on darwin.
Zoltan Varga [Tue, 7 Feb 2012 22:03:18 +0000 (23:03 +0100)]
Enable system AOT on darwin.

12 years agoMark more blocks as compiler generated
Marek Safar [Tue, 7 Feb 2012 17:40:18 +0000 (17:40 +0000)]
Mark more blocks as compiler generated

12 years agoAllow setting a breakpoint on automatically implemented properties
Marek Safar [Tue, 7 Feb 2012 16:51:30 +0000 (16:51 +0000)]
Allow setting a breakpoint on automatically implemented properties

12 years agoEmit anonymous types with dynamic arguments without dispatch call
Marek Safar [Tue, 7 Feb 2012 15:40:46 +0000 (15:40 +0000)]
Emit anonymous types with dynamic arguments without dispatch call

12 years agoFix debug symbols for try/catch/finally
Marek Safar [Tue, 7 Feb 2012 10:41:35 +0000 (10:41 +0000)]
Fix debug symbols for try/catch/finally

12 years ago"tree.SetSelectedNode (null, false)" will cause the OnSelectedNodeChanged event to...
Martin [Tue, 7 Feb 2012 15:36:40 +0000 (16:36 +0100)]
"tree.SetSelectedNode (null, false)" will cause the OnSelectedNodeChanged event to be fired. The problem is, that e.Node is null which is not allowed. e.Node must contain the newly selected node.

12 years ago[monodoc] Try at a more comprehensive full search
Jeremie Laval [Wed, 1 Feb 2012 10:55:49 +0000 (11:55 +0100)]
[monodoc] Try at a more comprehensive full search

12 years ago[monodoc] MonoTouch/MonoMac export should be at same boost level than type member
Jeremie Laval [Wed, 1 Feb 2012 10:55:00 +0000 (11:55 +0100)]
[monodoc] MonoTouch/MonoMac export should be at same boost level than type member

12 years agoDo not call WriteString() for whitespace XText.
Atsushi Eno [Tue, 7 Feb 2012 06:24:03 +0000 (15:24 +0900)]
Do not call WriteString() for whitespace XText.

12 years agoImplement support for file checksums in sdb.
Zoltan Varga [Mon, 6 Feb 2012 21:58:41 +0000 (22:58 +0100)]
Implement support for file checksums in sdb.

12 years agoAdd support for returning source file checksum information to the internal runtime...
Zoltan Varga [Mon, 6 Feb 2012 21:29:02 +0000 (22:29 +0100)]
Add support for returning source file checksum information to the internal runtime debugger apis.

12 years agoEmit better debug info for explicit blocks
Marek Safar [Mon, 6 Feb 2012 17:26:25 +0000 (17:26 +0000)]
Emit better debug info for explicit blocks

12 years agoAllow codegen optimizations only when specified to enable better debugging experience
Marek Safar [Mon, 6 Feb 2012 12:26:21 +0000 (12:26 +0000)]
Allow codegen optimizations only when specified to enable better debugging experience

12 years agoCheck arguments of -debug options
Marek Safar [Mon, 6 Feb 2012 12:01:34 +0000 (12:01 +0000)]
Check arguments of -debug options

12 years agoAdd WebClient.Proxy unit test
Sebastien Pouliot [Sun, 5 Feb 2012 16:55:36 +0000 (11:55 -0500)]
Add WebClient.Proxy unit test

12 years agoExtents #217 by brackets according to gonzalo's suggestion.
Martin [Sun, 5 Feb 2012 12:35:21 +0000 (13:35 +0100)]
Extents #217 by brackets according to gonzalo's suggestion.

12 years agoRemoves unnecessary whitespace which was added in #217
Martin [Sun, 5 Feb 2012 12:30:44 +0000 (13:30 +0100)]
Removes unnecessary whitespace which was added in #217

12 years agoRework Parallel.Invoke and add tests
Jérémie Laval [Sun, 5 Feb 2012 11:36:18 +0000 (12:36 +0100)]
Rework Parallel.Invoke and add tests

12 years agoAdd test case for bug #2513.
Jérémie Laval [Fri, 3 Feb 2012 15:26:06 +0000 (16:26 +0100)]
Add test case for bug #2513.

12 years agoFix Parallel.Invoke () with only one action. Fixes #3225.
Zoltan Varga [Sat, 4 Feb 2012 22:20:15 +0000 (23:20 +0100)]
Fix Parallel.Invoke () with only one action. Fixes #3225.

12 years agoAvoid NullReferenceException in Mono.Unix.UnixDriveInfo.GetDrives () when fs_file...
Michal Srb [Sat, 4 Feb 2012 14:09:10 +0000 (15:09 +0100)]
Avoid NullReferenceException in Mono.Unix.UnixDriveInfo.GetDrives () when fs_file is null. Fixes #3219.

12 years agoAdd support for the #line directive to sdb. Fixes part of #3217.
Zoltan Varga [Sat, 4 Feb 2012 11:35:30 +0000 (12:35 +0100)]
Add support for the #line directive to sdb. Fixes part of #3217.

12 years agoSystem.ServiceModel: Make FaultContractInfos available (and therefore deserialized...
Rolf Bjarne Kvinge [Wed, 1 Feb 2012 12:14:12 +0000 (13:14 +0100)]
System.ServiceModel: Make FaultContractInfos available (and therefore deserialized correctly) in mobile profiles. Fixes #1437 and 2859.

12 years agoSimple block does not create scope barrier. Update local names check to reflect that...
Marek Safar [Fri, 3 Feb 2012 14:47:59 +0000 (14:47 +0000)]
Simple block does not create scope barrier. Update local names check to reflect that. Fixes #3187

12 years agoFix RunSynchronously behavior with children Task. Fix bug #2777 part 2.
Jérémie Laval [Fri, 3 Feb 2012 14:37:01 +0000 (15:37 +0100)]
Fix RunSynchronously behavior with children Task. Fix bug #2777 part 2.

12 years agoAvoid returning a one element line number table from mono_debug_symfile_get_line_numb...
Zoltan Varga [Fri, 3 Feb 2012 12:25:05 +0000 (13:25 +0100)]
Avoid returning a one element line number table from mono_debug_symfile_get_line_numbers () for methods with no line number table. Fixes #3181.

12 years agoWhen dispatching dynamic method calls over value types check the instance is actually...
Marek Safar [Fri, 3 Feb 2012 11:02:30 +0000 (11:02 +0000)]
When dispatching dynamic method calls over value types check the instance is actually available. Fixes #3215

12 years agoUpdate test files checksum
Marek Safar [Fri, 3 Feb 2012 10:40:44 +0000 (10:40 +0000)]
Update test files checksum

12 years agoReuse existing code for parsing numeric value
Marek Safar [Fri, 3 Feb 2012 10:36:11 +0000 (10:36 +0000)]
Reuse existing code for parsing numeric value

12 years agoCompute an initial sequence point for step into as well. Fixes #3181.
Zoltan Varga [Fri, 3 Feb 2012 10:24:47 +0000 (11:24 +0100)]
Compute an initial sequence point for step into as well. Fixes #3181.

12 years agoAdd first sequence point tests. Correctly implement #line hidden directive
Marek Safar [Fri, 3 Feb 2012 09:30:27 +0000 (09:30 +0000)]
Add first sequence point tests. Correctly implement #line hidden directive

12 years agoWrite file checksum to symbol file tests
Marek Safar [Fri, 3 Feb 2012 09:25:38 +0000 (09:25 +0000)]
Write file checksum to symbol file tests

12 years agoFix Task AttachedToParent behavior. Fix bug #2777 part1.
Jérémie Laval [Thu, 2 Feb 2012 22:54:23 +0000 (23:54 +0100)]
Fix Task AttachedToParent behavior. Fix bug #2777 part1.

The problem was two folds. First, a parent task wasn't correctly waiting on the inner task continuations that were setup. Second, the way the Task parent field was re-used with a continuation collided with the parenting behavior of AttachedToParent (if the continuation was also created that way), the fix is to have two Task fields to differentiate between the two cases.

12 years agoMake test more reliable under virtualized setups with high thread startup time.
Rodrigo Kumpera [Fri, 3 Feb 2012 01:45:47 +0000 (23:45 -0200)]
Make test more reliable under virtualized setups with high thread startup time.