mono.git
13 years ago[666376] Implement compiler option fullpaths
Marek Safar [Sat, 22 Jan 2011 13:26:48 +0000 (13:26 +0000)]
[666376] Implement compiler option fullpaths

13 years ago[asp.net] Fixed formatting of exception message. It doesn't swallow newlines now
Marek Habersack [Mon, 24 Jan 2011 11:19:53 +0000 (12:19 +0100)]
[asp.net] Fixed formatting of exception message. It doesn't swallow newlines now

13 years agoDist finally_guard.cs.
Zoltan Varga [Mon, 24 Jan 2011 03:13:54 +0000 (04:13 +0100)]
Dist finally_guard.cs.

13 years ago[ASP.NET] Templated exception reporting and a new look for the Yellow Screen Of Death
Marek Habersack [Fri, 21 Jan 2011 21:25:01 +0000 (22:25 +0100)]
[ASP.NET] Templated exception reporting and a new look for the Yellow Screen Of Death

This commit implements the base template code along with the default Mono theme for exception/error
reporting in ASP.NET applications. Means for user to implement their own templates will be provided
at a later date.

13 years agoFix Dispose()
Gonzalo Paniagua Javier [Sat, 22 Jan 2011 18:28:43 +0000 (13:28 -0500)]
Fix Dispose()

13 years agoFix corlib compilation
Rodrigo Kumpera [Sat, 22 Jan 2011 13:29:23 +0000 (14:29 +0100)]
Fix corlib compilation

13 years ago[asp.net,routing] Fix for bug #651966. Regular expression constraints must be treated...
Marek Habersack [Sat, 22 Jan 2011 11:42:10 +0000 (12:42 +0100)]
[asp.net,routing] Fix for bug #651966. Regular expression constraints must be treated as absolute regexps.

13 years ago[sgen] Start concurrent sweep thread on GC init.
Mark Probst [Sat, 22 Jan 2011 11:03:21 +0000 (12:03 +0100)]
[sgen] Start concurrent sweep thread on GC init.

Starting the concurrent sweep thread only the first time it is needed
is potentially harmful because it happens when the world is stopped
and pthread_create() is not necessarily thread-safe.

Now we start the sweep thread on GC init which is always safe.

13 years agoFix sgen build on PPC linux.
Zoltan Varga [Sat, 22 Jan 2011 06:11:11 +0000 (07:11 +0100)]
Fix sgen build on PPC linux.

13 years ago[HttpListener] Fix incorrect 411 error
Gonzalo Paniagua Javier [Sat, 22 Jan 2011 04:51:45 +0000 (23:51 -0500)]
[HttpListener] Fix incorrect 411 error

Don't send a 411 for unknown methods without content length.
No need to assign input_stream until requested.

Fixes bug #666251.

13 years agoAdd unit test for Database
Jérémie Laval [Sat, 22 Jan 2011 02:54:52 +0000 (02:54 +0000)]
Add unit test for Database

13 years agoForce a build.
Zoltan Varga [Sat, 22 Jan 2011 02:17:43 +0000 (03:17 +0100)]
Force a build.

13 years agoAdd unit tests for DynamicRecord
Jérémie Laval [Sat, 22 Jan 2011 02:13:55 +0000 (02:13 +0000)]
Add unit tests for DynamicRecord

13 years agoJust fixup comment
Jérémie Laval [Sat, 22 Jan 2011 01:55:59 +0000 (01:55 +0000)]
Just fixup comment

13 years agoFix an assert which happens when a call is made to Nullable.Unbox from gshared code...
Zoltan Varga [Sat, 22 Jan 2011 02:07:24 +0000 (03:07 +0100)]
Fix an assert which happens when a call is made to Nullable.Unbox from gshared code in AOT.

13 years agoFix for 666225
Bassam Tabbara [Sat, 22 Jan 2011 02:00:29 +0000 (21:00 -0500)]
Fix for 666225

13 years ago[getline] Fix history search in the cmdline editor
Miguel de Icaza [Sat, 22 Jan 2011 01:48:41 +0000 (20:48 -0500)]
[getline] Fix history search in the cmdline editor

13 years agoAdd GetLastInsertId
Jérémie Laval [Fri, 21 Jan 2011 15:40:43 +0000 (15:40 +0000)]
Add GetLastInsertId

13 years agoFoobar trigger connection
Jérémie Laval [Fri, 21 Jan 2011 15:39:22 +0000 (15:39 +0000)]
Foobar trigger connection

13 years agoAdd Close method
Jérémie Laval [Fri, 21 Jan 2011 15:28:29 +0000 (15:28 +0000)]
Add Close method

13 years agoAdd ConnectionOpened event to Database
Jérémie Laval [Fri, 21 Jan 2011 15:26:57 +0000 (15:26 +0000)]
Add ConnectionOpened event to Database

13 years agoFix up compilation of Database and DynamicRecord
Jérémie Laval [Fri, 21 Jan 2011 15:23:11 +0000 (15:23 +0000)]
Fix up compilation of Database and DynamicRecord

13 years agoAdd Dispose calls to Database
Jérémie Laval [Fri, 21 Jan 2011 15:13:59 +0000 (15:13 +0000)]
Add Dispose calls to Database

13 years agoAdd Database type
Jérémie Laval [Fri, 21 Jan 2011 15:10:49 +0000 (15:10 +0000)]
Add Database type

13 years agoComplete base DynamicRecord API
Jérémie Laval [Fri, 21 Jan 2011 15:10:29 +0000 (15:10 +0000)]
Complete base DynamicRecord API

13 years agoStub DynamicRecord
Jérémie Laval [Fri, 21 Jan 2011 13:55:55 +0000 (13:55 +0000)]
Stub DynamicRecord

13 years agoAdd WebMatrix.Data assembly skeleton
Jérémie Laval [Fri, 21 Jan 2011 13:34:48 +0000 (13:34 +0000)]
Add WebMatrix.Data assembly skeleton

13 years ago[Mono.CSharp] Fix bug where overwriting variables cleared the wrong value
Miguel de Icaza [Sat, 22 Jan 2011 01:14:57 +0000 (20:14 -0500)]
[Mono.CSharp] Fix bug where overwriting variables cleared the wrong value

This fixes #641910

13 years ago[csharp] repl using statement fix + support for --fatal
Miguel de Icaza [Sat, 22 Jan 2011 00:55:30 +0000 (19:55 -0500)]
[csharp] repl using statement fix + support for --fatal

Fixes #638585 which kept reporting the same error on the using statements over and over
Added support for the --fatal flag to the REPL

13 years agoForce a build.
Zoltan Varga [Fri, 21 Jan 2011 23:32:35 +0000 (00:32 +0100)]
Force a build.

13 years agoFix broken v4 metadata setting
Marek Safar [Fri, 21 Jan 2011 21:57:40 +0000 (21:57 +0000)]
Fix broken v4 metadata setting

13 years agoTransition non perf-critical users of klass->has_finalize over to mono_class_has_fina...
Zoltan Varga [Fri, 21 Jan 2011 21:30:36 +0000 (22:30 +0100)]
Transition non perf-critical users of klass->has_finalize over to mono_class_has_finalizer ().

13 years agoInitialize klass->has_finalizer lazily. This allows us to remove the find_method_in_m...
Zoltan Varga [Fri, 21 Jan 2011 20:51:26 +0000 (21:51 +0100)]
Initialize klass->has_finalizer lazily. This allows us to remove the find_method_in_metadata () optimization without a perf cost which is broken in the presence of overrides. Fixes #665769.

13 years agoObsolete VirtualMachine.GetNextEvent () as it is impossible to determine when to...
Zoltan Varga [Fri, 21 Jan 2011 20:50:18 +0000 (21:50 +0100)]
Obsolete VirtualMachine.GetNextEvent () as it is impossible to determine when to resume after an event, since the debuggee suspends only once per event-set.

13 years agoNew test
Marek Safar [Fri, 21 Jan 2011 20:24:28 +0000 (20:24 +0000)]
New test

13 years agoUse byte array as underlying storage for AttributeEncoder
Marek Safar [Fri, 21 Jan 2011 20:23:40 +0000 (20:23 +0000)]
Use byte array as underlying storage for AttributeEncoder

13 years agoOops, Microsoft.Web.Infrastructure, not System.
Andrew Jorgensen [Fri, 21 Jan 2011 19:52:54 +0000 (12:52 -0700)]
Oops, Microsoft.Web.Infrastructure, not System.

13 years agoAdd Microsoft.Web.Infrastructure and Mono.Parrallel to spec
Andrew Jorgensen [Fri, 21 Jan 2011 18:15:19 +0000 (11:15 -0700)]
Add Microsoft.Web.Infrastructure and Mono.Parrallel to spec

13 years agoFix for building with csc. All fields in a struct must be set before the constructor...
Jonathan Pobst [Fri, 21 Jan 2011 17:52:10 +0000 (11:52 -0600)]
Fix for building with csc.  All fields in a struct must be set before the constructor can return.

13 years agoManage opened proxy channels and close them when ChannelFactory is closed.
Atsushi Eno [Fri, 21 Jan 2011 15:23:03 +0000 (00:23 +0900)]
Manage opened proxy channels and close them when ChannelFactory is closed.

13 years ago[321020] Implemented compilation of forwarded type references
Marek Safar [Fri, 21 Jan 2011 14:44:45 +0000 (14:44 +0000)]
[321020] Implemented compilation of forwarded type references

13 years agoFix monodroid build
Marek Safar [Fri, 21 Jan 2011 11:34:49 +0000 (11:34 +0000)]
Fix monodroid build

13 years agoMake type creation the first step in the pipeline to deal with forward referencing...
Marek Safar [Fri, 21 Jan 2011 11:33:06 +0000 (11:33 +0000)]
Make type creation the first step in the pipeline to deal with forward referencing types

13 years agoUpdate to the latest ikvm.reflection
Marek Safar [Fri, 21 Jan 2011 11:32:03 +0000 (11:32 +0000)]
Update to the latest ikvm.reflection

13 years agoImplemented a couple of async methods in InstanceContext as well as disposing.
Atsushi Eno [Fri, 21 Jan 2011 14:37:45 +0000 (23:37 +0900)]
Implemented a couple of async methods in InstanceContext as well as disposing.

13 years agoRestore test to its original state
Jérémie Laval [Fri, 21 Jan 2011 12:47:47 +0000 (12:47 +0000)]
Restore test to its original state

13 years agoAdd a last resort mode to ThreadWorker participative waiting to prevent some deadlock...
Jérémie Laval [Fri, 21 Jan 2011 12:46:48 +0000 (12:46 +0000)]
Add a last resort mode to ThreadWorker participative waiting to prevent some deadlock for now

13 years agoAllow multiple invocation of Task Execute method to allow short-circuiting without...
Jérémie Laval [Fri, 21 Jan 2011 12:45:48 +0000 (12:45 +0000)]
Allow multiple invocation of Task Execute method to allow short-circuiting without breaking deque ordering

13 years agoThrow when trying to ExecuteSynchronously a task that is already scheduled/completed
Jérémie Laval [Fri, 21 Jan 2011 12:44:46 +0000 (12:44 +0000)]
Throw when trying to ExecuteSynchronously a task that is already scheduled/completed

13 years agoAvoid possible list modification error during close process.
Atsushi Eno [Fri, 21 Jan 2011 11:25:23 +0000 (20:25 +0900)]
Avoid possible list modification error during close process.

13 years agoMake sure to close session once the client opened one.
Atsushi Eno [Fri, 21 Jan 2011 11:24:58 +0000 (20:24 +0900)]
Make sure to close session once the client opened one.

13 years agoFix regression, avoid null key.
Atsushi Eno [Fri, 21 Jan 2011 11:24:30 +0000 (20:24 +0900)]
Fix regression, avoid null key.

13 years agoMake NestedFuture test faster
Jérémie Laval [Fri, 21 Jan 2011 10:52:17 +0000 (10:52 +0000)]
Make NestedFuture test faster

13 years agoMWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 13).
Thomas Goldstein [Fri, 21 Jan 2011 07:16:28 +0000 (08:16 +0100)]
MWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 13).

13 years agoAnd rename source file name.
Atsushi Eno [Fri, 21 Jan 2011 07:20:23 +0000 (16:20 +0900)]
And rename source file name.

13 years agoRename InstanceBhavior, too ambiguous among IXxxBehavior interfaces.
Atsushi Eno [Fri, 21 Jan 2011 07:18:54 +0000 (16:18 +0900)]
Rename InstanceBhavior, too ambiguous among IXxxBehavior interfaces.

13 years agoSessions should not be keyed by MessageId but be done by channel SessionId.
Atsushi Eno [Fri, 21 Jan 2011 07:17:59 +0000 (16:17 +0900)]
Sessions should not be keyed by MessageId but be done by channel SessionId.

13 years agoAdd NET 4.0 Assembly.UnsafeLoadFrom () method.
Zoltan Varga [Fri, 21 Jan 2011 06:26:56 +0000 (07:26 +0100)]
Add NET 4.0 Assembly.UnsafeLoadFrom () method.

13 years agoFix the previous aot fix.
Zoltan Varga [Fri, 21 Jan 2011 04:57:37 +0000 (05:57 +0100)]
Fix the previous aot fix.

13 years agoDo not build the Socket passing on Mobile systems
Miguel de Icaza [Fri, 21 Jan 2011 03:44:16 +0000 (22:44 -0500)]
Do not build the Socket passing on Mobile systems

13 years agoFix bogus encoding detection in JavaScriptObjectDeserializer.
Atsushi Eno [Fri, 21 Jan 2011 03:09:42 +0000 (12:09 +0900)]
Fix bogus encoding detection in JavaScriptObjectDeserializer.

13 years ago[System.Web] Razor works now (modulo DB)
Gonzalo Paniagua Javier [Fri, 21 Jan 2011 02:27:30 +0000 (21:27 -0500)]
[System.Web] Razor works now (modulo DB)

13 years agoAdd a test for infinite generic recursion + AOT.
Zoltan Varga [Fri, 21 Jan 2011 01:07:24 +0000 (02:07 +0100)]
Add a test for infinite generic recursion + AOT.

13 years agoOnly add imt items whose is_equal flag is set to the array passed to the full-aot...
Zoltan Varga [Fri, 21 Jan 2011 01:06:03 +0000 (02:06 +0100)]
Only add imt items whose is_equal flag is set to the array passed to the full-aot imt thunk.

13 years agoAvoid emitting .note.GNU-stack on arm.
Zoltan Varga [Fri, 21 Jan 2011 00:51:19 +0000 (01:51 +0100)]
Avoid emitting .note.GNU-stack on arm.

13 years agoDetect inifinite generic recursion differently in the AOT compiler.
Zoltan Varga [Fri, 21 Jan 2011 00:49:37 +0000 (01:49 +0100)]
Detect inifinite generic recursion differently in the AOT compiler.

13 years agoFix misaligned loads when loading small structures on ARM.
Zoltan Varga [Thu, 20 Jan 2011 22:06:04 +0000 (23:06 +0100)]
Fix misaligned loads when loading small structures on ARM.

13 years agoFix the DISABLE_JIT build.
Zoltan Varga [Thu, 20 Jan 2011 05:48:51 +0000 (06:48 +0100)]
Fix the DISABLE_JIT build.

13 years agoSpeedup LOS scanning.
Rodrigo Kumpera [Thu, 20 Jan 2011 22:39:13 +0000 (23:39 +0100)]
Speedup LOS scanning.

* sgen-cardtable.c (sgen_cardtable_scan_object): Speedup
card scanning doing it a word at a time. When scanning
arrays of references, do a nursery check before calling
into major.

This speeds up ms-biology some tests by 3% while lowering
cardtable scanning time by 1/3.

13 years agoBetter cardtable stats.
Rodrigo Kumpera [Thu, 20 Jan 2011 22:21:38 +0000 (23:21 +0100)]
Better cardtable stats.

* sgen-cardtable.c: Add separate timing for major and
los scanning. Added some counters to better understand
wb behavior.

13 years agoFix typo in error message
Rodrigo Kumpera [Wed, 19 Jan 2011 14:54:53 +0000 (15:54 +0100)]
Fix typo in error message

13 years agoFix thread-exit race under sgen.
Rodrigo Kumpera [Wed, 19 Jan 2011 14:51:53 +0000 (15:51 +0100)]
Fix thread-exit race under sgen.

* threads.c (mono_threads_set_shutting_down): Clean the current
domain before calling ExitThread otherwise sgen asserts.

13 years ago[asp.net] Don't throw NREX when a cache item to be removed is null
Marek Habersack [Thu, 20 Jan 2011 22:37:49 +0000 (23:37 +0100)]
[asp.net] Don't throw NREX when a cache item to be removed is null

13 years agoAdd an helper function to deal with NULL MonoMethod pointers
Sebastien Pouliot [Thu, 20 Jan 2011 21:56:50 +0000 (16:56 -0500)]
Add an helper function to deal with NULL MonoMethod pointers

* security-core-clr.c: Use new helper function to get the method names
or, when NULL, a not found string.

13 years agoFix Mono.CSharp dist build
Marek Safar [Thu, 20 Jan 2011 22:30:44 +0000 (22:30 +0000)]
Fix Mono.CSharp dist build

13 years ago[sockets] Implement DuplicateAndClose and Socket (SocketInformation) constructor...
Miguel de Icaza [Thu, 20 Jan 2011 21:49:13 +0000 (16:49 -0500)]
[sockets] Implement DuplicateAndClose and Socket (SocketInformation) constructor for in-process socket passing (AppDomains)

13 years ago[xbuild] Correctly set CscToolExe if TargetFrameworkVersion is not set.
Ankit Jain [Thu, 20 Jan 2011 21:23:19 +0000 (02:53 +0530)]
[xbuild] Correctly set CscToolExe if TargetFrameworkVersion is not set.

* tools/xbuild/xbuild/Microsoft.CSharp.targets: $(CscToolExe)
is set depending on the value of $(TargetFrameworkVersion).
Since, $(TargetFrameworkVersion)'s default value is set
by MS.Common.targets, set $(CscToolExe) *after* importing
MS.Common.targets .

13 years agoBackport stealing fixups to Parallel.For
Jérémie Laval [Thu, 20 Jan 2011 16:48:56 +0000 (16:48 +0000)]
Backport stealing fixups to Parallel.For

13 years ago[ListPartitioner] Borrow stealing algorithm from Parallel.For and distribute indexes...
Jérémie Laval [Thu, 20 Jan 2011 16:24:41 +0000 (16:24 +0000)]
[ListPartitioner] Borrow stealing algorithm from Parallel.For and distribute indexes more evenly

13 years agoPut back accidentally removed PROGRAM_COMPILE
Marek Safar [Thu, 20 Jan 2011 15:56:13 +0000 (15:56 +0000)]
Put back accidentally removed PROGRAM_COMPILE

13 years ago[bug] Prevent a GetMethodBody call on a dynamic method. Fixes 665788
Jb Evain [Thu, 20 Jan 2011 15:37:21 +0000 (16:37 +0100)]
[bug] Prevent a GetMethodBody call on a dynamic method. Fixes 665788

13 years agoAdd test for bug 665788
Jb Evain [Thu, 20 Jan 2011 15:36:37 +0000 (16:36 +0100)]
Add test for bug 665788

13 years ago[linker] fix reading of symbols for assemblies loaded with -a
Jb Evain [Thu, 20 Jan 2011 15:22:53 +0000 (16:22 +0100)]
[linker] fix reading of symbols for assemblies loaded with -a

13 years ago[asp.net] Avoid passing duplicate assemblies on mcs command line.
Marek Habersack [Thu, 20 Jan 2011 13:30:33 +0000 (14:30 +0100)]
[asp.net] Avoid passing duplicate assemblies on mcs command line.

13 years ago[asp.net,mvc] Make unobtrustive request validation in MVC v3 possible
Marek Habersack [Wed, 19 Jan 2011 13:03:11 +0000 (14:03 +0100)]
[asp.net,mvc] Make unobtrustive request validation in MVC v3 possible

Validation is enabled early in the pipeline during request. ValidationUtility makes sure that validation is indeed enabled and
replaces the default form and query string collections with a lazy version which will validate values only when an existing key
is found and requested.

13 years ago[asp.net] Do not throw NREX when firstError is null in ErrorMessage getter
Marek Habersack [Thu, 20 Jan 2011 10:38:03 +0000 (11:38 +0100)]
[asp.net] Do not throw NREX when firstError is null in ErrorMessage getter

13 years agoFix errors dist
Marek Safar [Thu, 20 Jan 2011 13:26:40 +0000 (13:26 +0000)]
Fix errors dist

13 years agoFix mcs dist
Marek Safar [Thu, 20 Jan 2011 13:13:30 +0000 (13:13 +0000)]
Fix mcs dist

13 years agoRemove SMCS define and related files
Marek Safar [Thu, 20 Jan 2011 12:40:55 +0000 (12:40 +0000)]
Remove SMCS define and related files

13 years agoRemove unused ?mcs files
Marek Safar [Thu, 20 Jan 2011 12:09:49 +0000 (12:09 +0000)]
Remove unused ?mcs files

13 years agoAllow referencing multiple versions of same framework assembly
Marek Safar [Thu, 20 Jan 2011 11:43:17 +0000 (11:43 +0000)]
Allow referencing multiple versions of same framework assembly

13 years agoFix CodeDom mcs path
Marek Safar [Thu, 20 Jan 2011 11:38:50 +0000 (11:38 +0000)]
Fix CodeDom mcs path

13 years agoUpdated IKVM to the latest version
Marek Safar [Thu, 20 Jan 2011 11:28:25 +0000 (11:28 +0000)]
Updated IKVM to the latest version

13 years agoCSharpCodeCompiler NET_2_0 cleanup
Marek Safar [Thu, 20 Jan 2011 11:27:48 +0000 (11:27 +0000)]
CSharpCodeCompiler NET_2_0 cleanup

13 years agoRemove more *mcs.exe references
Marek Safar [Thu, 20 Jan 2011 09:30:18 +0000 (09:30 +0000)]
Remove more *mcs.exe references

13 years agoImplement XamlMemberInvoker.UnknownInvoker too.
Atsushi Eno [Thu, 20 Jan 2011 09:28:19 +0000 (18:28 +0900)]
Implement XamlMemberInvoker.UnknownInvoker too.

13 years agoImplement XamlTypeInvoker.UnknownInvoker.
Atsushi Eno [Thu, 20 Jan 2011 09:20:08 +0000 (18:20 +0900)]
Implement XamlTypeInvoker.UnknownInvoker.

13 years agoImplement some XamlTypeInvoker methods (mostly unused yet).
Atsushi Eno [Thu, 20 Jan 2011 08:55:53 +0000 (17:55 +0900)]
Implement some XamlTypeInvoker methods (mostly unused yet).

13 years agoUpdate mcs location
Marek Safar [Thu, 20 Jan 2011 08:31:20 +0000 (08:31 +0000)]
Update mcs location

13 years agoSupport IXamlLineInfo in XamlNodeQueue.
Atsushi Eno [Thu, 20 Jan 2011 08:21:11 +0000 (17:21 +0900)]
Support IXamlLineInfo in XamlNodeQueue.