mono.git
12 years agoMerge pull request #249 from pcc/xgetinputfocus
Andreia Gaita [Tue, 3 Apr 2012 01:11:13 +0000 (18:11 -0700)]
Merge pull request #249 from pcc/xgetinputfocus

If the window manager does not support _NET_ACTIVE_WINDOW, fall back to ...

12 years agoMerge branch 'master' of ssh://github.com/mono/mono
Neale Ferguson [Mon, 2 Apr 2012 17:32:09 +0000 (13:32 -0400)]
Merge branch 'master' of ssh://github.com/mono/mono

12 years ago[monodoc] Try to fix some issue with URL creation in ecma provider when overloads...
Jeremie Laval [Mon, 2 Apr 2012 17:30:46 +0000 (18:30 +0100)]
[monodoc] Try to fix some issue with URL creation in ecma provider when overloads and generic types are involved

12 years ago[monodoc] For search index creation: restore .ctor processing and fix the way we...
Jeremie Laval [Mon, 2 Apr 2012 17:22:38 +0000 (18:22 +0100)]
[monodoc] For search index creation: restore .ctor processing and fix the way we create XPath expression to extract doc

Re-enabling .ctor processing uncovered a serious issue with method and constructor overload handling which could cause an incorrect Doc element to be used or not all Doc elements.

This stemmed from two factor:
  1- Overloaded .ctor XPath expression was based on their relative position inside the tree but this position isn't necessarily the same in the documentation XML resulting in mismatched Member/Doc
  2- Because methods overloads are situated one level deeper in the tree, only their summary was processed which in turn meant only the Doc of the first overload would be taken into account

This commit also fix the conversion operator handling which was similar in nature to the method overloads problem (one tree level deeper + CTS type conversion).

12 years agos390x-codegen.h - Define s390_SP and s390_BP
Neale Ferguson [Mon, 2 Apr 2012 17:30:43 +0000 (13:30 -0400)]
s390x-codegen.h - Define s390_SP and s390_BP
sgen-major-copy-object.h - Correct assertion test
sgen-os-posix.c - Prevent race condition between restarting and suspending a thread

12 years agoFix the addresses of handler clauses when using LLVM + thumb.
Zoltan Varga [Mon, 2 Apr 2012 16:23:32 +0000 (18:23 +0200)]
Fix the addresses of handler clauses when using LLVM + thumb.

12 years agoFix hoisting of method parameters when both async and lambda expression use it
Marek Safar [Mon, 2 Apr 2012 15:42:15 +0000 (16:42 +0100)]
Fix hoisting of method parameters when both async and lambda expression use it

12 years ago[monodoc] Also fixup URL of parameter-less ctor
Jeremie Laval [Mon, 2 Apr 2012 11:02:12 +0000 (12:02 +0100)]
[monodoc] Also fixup URL of parameter-less ctor

12 years ago[monodoc] Rename related sample section to 'Samples' simply
Jeremie Laval [Mon, 2 Apr 2012 11:01:30 +0000 (12:01 +0100)]
[monodoc] Rename related sample section to 'Samples' simply

12 years ago[monodoc] Open links in new window
Jeremie Laval [Mon, 2 Apr 2012 11:00:58 +0000 (12:00 +0100)]
[monodoc] Open links in new window

12 years agoFix mono_path_canonicalize to not canonicalize the root directory to an empty string
Rolf Bjarne Kvinge [Fri, 30 Mar 2012 11:53:53 +0000 (13:53 +0200)]
Fix mono_path_canonicalize to not canonicalize the root directory to an empty string

12 years agoRemove some silly dead code.
Rodrigo Kumpera [Fri, 30 Mar 2012 18:57:29 +0000 (15:57 -0300)]
Remove some silly dead code.

12 years agoExtract the fragment allocation code from the nursery allocation entrypoints.
Rodrigo Kumpera [Fri, 30 Mar 2012 18:46:23 +0000 (15:46 -0300)]
Extract the fragment allocation code from the nursery allocation entrypoints.

12 years agoAdd par_alloc_object to the major collector function table.
Rodrigo Kumpera [Thu, 29 Mar 2012 21:51:11 +0000 (18:51 -0300)]
Add par_alloc_object to the major collector function table.

12 years agoRename mono_sgen_nursery_is_object_alive to mono_sgen_is_object_alive.
Rodrigo Kumpera [Thu, 29 Mar 2012 21:20:16 +0000 (18:20 -0300)]
Rename mono_sgen_nursery_is_object_alive to mono_sgen_is_object_alive.

12 years agoFix System.Web.Razor embedded resouces namespace
Marek Safar [Fri, 30 Mar 2012 15:41:17 +0000 (16:41 +0100)]
Fix System.Web.Razor embedded resouces namespace

12 years agoFix System.Json resources to be embedded
Marek Safar [Fri, 30 Mar 2012 14:13:18 +0000 (15:13 +0100)]
Fix System.Json resources to be embedded

12 years agoConvert literals to constants when reducing literal value
Marek Safar [Fri, 30 Mar 2012 14:00:01 +0000 (15:00 +0100)]
Convert literals to constants when reducing literal value

12 years agoUse correct location when reporting constant conversion errors
Marek Safar [Fri, 30 Mar 2012 12:26:08 +0000 (13:26 +0100)]
Use correct location when reporting constant conversion errors

12 years agoFix cloning of foreach statement
Marek Safar [Fri, 30 Mar 2012 11:27:38 +0000 (12:27 +0100)]
Fix cloning of foreach statement

12 years agoAdd more literal to constant expression conversions. Fixes #4125
Marek Safar [Fri, 30 Mar 2012 10:48:21 +0000 (11:48 +0100)]
Add more literal to constant expression conversions. Fixes #4125

12 years agoFix g_strreverse to handle empty strings
Rolf Bjarne Kvinge [Fri, 30 Mar 2012 11:40:01 +0000 (13:40 +0200)]
Fix g_strreverse to handle empty strings

12 years agoDon't install Newtonsoft.Json
Marek Safar [Fri, 30 Mar 2012 08:59:22 +0000 (09:59 +0100)]
Don't install Newtonsoft.Json

12 years agoDisable wrapper generation code when DISABLE_JIT is defined.
Zoltan Varga [Fri, 30 Mar 2012 05:52:50 +0000 (07:52 +0200)]
Disable wrapper generation code when DISABLE_JIT is defined.

12 years agoLog profiler: don't ignore return values from select, in particular not EINTR.
Rolf Bjarne Kvinge [Thu, 29 Mar 2012 17:13:10 +0000 (19:13 +0200)]
Log profiler: don't ignore return values from select, in particular not EINTR.

12 years agoUpdate spec for the rest of the mvc3/razor additions
Alex Corrado [Thu, 29 Mar 2012 21:27:20 +0000 (17:27 -0400)]
Update spec for the rest of the mvc3/razor additions

12 years agoVersion mvc3 properly
Marek Habersack [Thu, 29 Mar 2012 17:30:48 +0000 (19:30 +0200)]
Version mvc3 properly

12 years agoMerge pull request #266 from joncham/bug-struct-pack-size
Zoltan Varga [Thu, 29 Mar 2012 17:13:16 +0000 (10:13 -0700)]
Merge pull request #266 from joncham/bug-struct-pack-size

Raise TypeLoadException for invalid StructLayout Pack size rather than a...

12 years agoImport Newtonsoft.Json
Marek Safar [Thu, 29 Mar 2012 17:08:57 +0000 (18:08 +0100)]
Import Newtonsoft.Json

12 years agoRaise TypeLoadException for invalid StructLayout Pack size rather than aborting.
Jonathan Chambers [Thu, 29 Mar 2012 17:00:50 +0000 (13:00 -0400)]
Raise TypeLoadException for invalid StructLayout Pack size rather than aborting.

12 years agoAdded the Newtonsoft.Json submodule
Marek Habersack [Thu, 29 Mar 2012 16:12:49 +0000 (18:12 +0200)]
Added the Newtonsoft.Json submodule

12 years agoAdd most of the Debug class (with related tracing types) to the mobile build. Fixes...
Rolf Bjarne Kvinge [Thu, 29 Mar 2012 15:30:02 +0000 (17:30 +0200)]
Add most of the Debug class (with related tracing types) to the mobile build. Fixes #3754.

12 years agoMVC3 integrated, with some changes to make it compile on Mono and with Razor2
Marek Habersack [Thu, 29 Mar 2012 15:50:23 +0000 (17:50 +0200)]
MVC3 integrated, with some changes to make it compile on Mono and with Razor2

12 years agoImport System.Web.Http
Marek Safar [Thu, 29 Mar 2012 15:16:35 +0000 (16:16 +0100)]
Import System.Web.Http

12 years agoImplement more of System.Net.Http
Marek Safar [Thu, 29 Mar 2012 15:15:58 +0000 (16:15 +0100)]
Implement more of System.Net.Http

12 years agoAdded -delaysign to mcs parameters
Marek Habersack [Thu, 29 Mar 2012 14:43:58 +0000 (16:43 +0200)]
Added -delaysign to mcs parameters

12 years agoRemove unnecessary assembly attributes
Marek Habersack [Thu, 29 Mar 2012 14:23:37 +0000 (16:23 +0200)]
Remove unnecessary assembly attributes

12 years agoSystem.Web.WebPages, System.Web.WebPages.Deployment, System.Web.WebPages.Razor integrated
Marek Habersack [Thu, 29 Mar 2012 14:21:56 +0000 (16:21 +0200)]
System.Web.WebPages, System.Web.WebPages.Deployment, System.Web.WebPages.Razor integrated

12 years agoRemove unwanted assembly attributes
Marek Safar [Thu, 29 Mar 2012 14:15:00 +0000 (15:15 +0100)]
Remove unwanted assembly attributes

12 years agoIgnore binary resouces
Marek Safar [Thu, 29 Mar 2012 14:02:10 +0000 (15:02 +0100)]
Ignore binary resouces

12 years agoImport System.Net.Http.Formatting
Marek Safar [Thu, 29 Mar 2012 14:00:46 +0000 (15:00 +0100)]
Import System.Net.Http.Formatting

12 years agoAdd System.Net.Http .net 4.5 beta members
Marek Safar [Thu, 29 Mar 2012 13:59:18 +0000 (14:59 +0100)]
Add System.Net.Http .net 4.5 beta members

12 years agoSystem.Web.WebPages imported
Marek Habersack [Thu, 29 Mar 2012 13:47:20 +0000 (15:47 +0200)]
System.Web.WebPages imported

12 years agoUse proper ABI alignment rules for fields in structs (xambug# 4123).
Paolo Molaro [Thu, 29 Mar 2012 13:36:31 +0000 (15:36 +0200)]
Use proper ABI alignment rules for fields in structs (xambug# 4123).
* mono/metadata.c: __alignof__ doesn't provide the ABI value which
is needed when interoperating with C code, but a compiler-assumed
optimal value. Always use the ABI value from now on.
Hopefully not too many programs depended on the invalid values.
* tests/libtest.c: remove workaround for the same bug.

12 years agoUse correct name for the razor assembly
Marek Habersack [Thu, 29 Mar 2012 12:58:15 +0000 (14:58 +0200)]
Use correct name for the razor assembly

12 years agoRemove old System.Json sources
Marek Habersack [Thu, 29 Mar 2012 12:46:09 +0000 (14:46 +0200)]
Remove old System.Json sources

12 years agoFix resource compilation for imported modules so that they don't put results in the...
Marek Habersack [Thu, 29 Mar 2012 11:44:11 +0000 (13:44 +0200)]
Fix resource compilation for imported modules so that they don't put results in the submodule directory

12 years ago(monodroid) Do not crash with LogcatTextWriter.Write(null).
Atsushi Eno [Thu, 29 Mar 2012 09:20:55 +0000 (18:20 +0900)]
(monodroid) Do not crash with LogcatTextWriter.Write(null).

12 years agoDist more test files
Marek Safar [Thu, 29 Mar 2012 09:10:51 +0000 (10:10 +0100)]
Dist more test files

12 years agoAdd more missing files to dist
Marek Safar [Thu, 29 Mar 2012 09:05:56 +0000 (10:05 +0100)]
Add more missing files to dist

12 years agoFix mono path for corlib vts tests
Marek Safar [Thu, 29 Mar 2012 08:50:20 +0000 (09:50 +0100)]
Fix mono path for corlib vts tests

12 years agoBuild System.Web.Razor in all 4+ profiles
Marek Safar [Thu, 29 Mar 2012 08:13:37 +0000 (09:13 +0100)]
Build System.Web.Razor in all 4+ profiles

12 years agoChange async host type to struct to run on .net (broken for reference types)
Marek Safar [Thu, 29 Mar 2012 07:58:46 +0000 (08:58 +0100)]
Change async host type to struct to run on .net (broken for reference types)

12 years agoUse correct context type parameters when resolving documentation cref values
Marek Safar [Wed, 28 Mar 2012 11:45:33 +0000 (12:45 +0100)]
Use correct context type parameters when resolving documentation cref values

12 years agoRegister vtables in runtime data structures after they have been completely initializ...
Zoltan Varga [Thu, 29 Mar 2012 06:51:00 +0000 (08:51 +0200)]
Register vtables in runtime data structures after they have been completely initialized, since other threads can access them without locking. Fixes #3676.

12 years agoAdd System.Web.Razor.dll to the spec file
Alex Corrado [Thu, 29 Mar 2012 05:50:25 +0000 (01:50 -0400)]
Add System.Web.Razor.dll to the spec file

12 years agoUpdate
Miguel de Icaza [Thu, 29 Mar 2012 03:21:26 +0000 (23:21 -0400)]
Update

12 years agoWelcome to the future
Gonzalo Paniagua Javier [Thu, 29 Mar 2012 02:50:11 +0000 (22:50 -0400)]
Welcome to the future

12 years agoOnly try to check the submodule out if we have a git checkout.
Alan McGovern [Thu, 29 Mar 2012 02:00:38 +0000 (03:00 +0100)]
Only try to check the submodule out if we have a git checkout.

We also should execute this every time so that if the submodule has
been updated on the remote, the users checkout reflects that change
too.

12 years agoUse the readonly git url (non-ssh form) for the aspnetwebstack submodule
Alan McGovern [Thu, 29 Mar 2012 01:42:25 +0000 (02:42 +0100)]
Use the readonly git url (non-ssh form) for the aspnetwebstack submodule

12 years agonew System.Json is now coming from submodule (and already merged my changes), so...
Atsushi Eno [Thu, 29 Mar 2012 01:11:49 +0000 (10:11 +0900)]
new System.Json is now coming from submodule (and already merged my changes), so remove this.

12 years agoSystem.Web.Razor integrated
Marek Habersack [Wed, 28 Mar 2012 21:32:01 +0000 (23:32 +0200)]
System.Web.Razor integrated

12 years agoUse more common code in System.Json
Marek Habersack [Wed, 28 Mar 2012 20:48:22 +0000 (22:48 +0200)]
Use more common code in System.Json

12 years agoInclude the entire external/ directory in dist
Marek Habersack [Wed, 28 Mar 2012 20:46:59 +0000 (22:46 +0200)]
Include the entire external/ directory in dist

12 years agoUpdated the aspnetwebstack module
Marek Habersack [Wed, 28 Mar 2012 20:30:49 +0000 (22:30 +0200)]
Updated the aspnetwebstack module

12 years agoCleanu thep fragment allocation mess by putting alloc and region heads in a struct.
Rodrigo Kumpera [Wed, 28 Mar 2012 18:44:05 +0000 (15:44 -0300)]
Cleanu thep fragment allocation mess by putting alloc and region heads in a struct.

* sgen-nursery-allocator.c: Due to how we release fragments, we must keep
both allocator and region head in sync when manipulating them. Doing it
in an adhoc way after each call to the relevant functions was messy and
bug prone.

Introduce the FragmentAllocator struct that holds both heads and pass it around
so all functions that change one can do it to the other.

This eases the transition to multiple heads.

12 years agoAdd a comment to code that needs cleanup.
Rodrigo Kumpera [Tue, 27 Mar 2012 00:03:25 +0000 (21:03 -0300)]
Add a comment to code that needs cleanup.

12 years agoClean up liveness functions to be easier to understand.
Rodrigo Kumpera [Mon, 26 Mar 2012 23:17:46 +0000 (20:17 -0300)]
Clean up liveness functions to be easier to understand.

* sgen-gc.c: Kill object_is_fin_ready in favor of properly named functions
that depends on a single function that tells if an object survived.

12 years agoCompile System.Json using the upstream sources
Marek Habersack [Wed, 28 Mar 2012 19:09:11 +0000 (21:09 +0200)]
Compile System.Json using the upstream sources

12 years agoUpdated aspnetwebstack to include System.Json changes
Marek Habersack [Wed, 28 Mar 2012 17:56:08 +0000 (19:56 +0200)]
Updated aspnetwebstack to include System.Json changes

12 years agoIf external/aspnetwebstack is not found, init and update the submodule
Marek Habersack [Wed, 28 Mar 2012 17:24:28 +0000 (19:24 +0200)]
If external/aspnetwebstack is not found, init and update the submodule

12 years agoAdjust unit tests wrt Gonzalo fix for NTLM - commit 214741630f96ddd3e847ff4050182674f...
Sebastien Pouliot [Wed, 28 Mar 2012 17:20:29 +0000 (13:20 -0400)]
Adjust unit tests wrt Gonzalo fix for NTLM - commit 214741630f96ddd3e847ff4050182674fe2d1602

12 years agoFix tests where a DSA CA certificate expired at the end of 2011
Sebastien Pouliot [Wed, 28 Mar 2012 17:18:55 +0000 (13:18 -0400)]
Fix tests where a DSA CA certificate expired at the end of 2011

12 years agoAdded aspnetwebstack submodule
Marek Habersack [Wed, 28 Mar 2012 17:06:25 +0000 (19:06 +0200)]
Added aspnetwebstack submodule

12 years agoMerge pull request #262 from joncham/bug-fail-multi-invocation
Zoltan Varga [Wed, 28 Mar 2012 16:37:54 +0000 (09:37 -0700)]
Merge pull request #262 from joncham/bug-fail-multi-invocation

Fail the invocation instead of aborting the runtime when there are overl...

12 years agoFail the invocation instead of aborting the runtime when there are overlapping debugg...
Tak [Mon, 21 Nov 2011 11:40:08 +0000 (12:40 +0100)]
Fail the invocation instead of aborting the runtime when there are overlapping debugger invocations.

12 years agoAdd new System.Json assembly sources based on http://aspnetwebstack.codeplex.com/
Atsushi Eno [Wed, 28 Mar 2012 12:12:54 +0000 (21:12 +0900)]
Add new System.Json assembly sources based on aspnetwebstack.codeplex.com/

12 years agoFix JsonReaderWriterFactory parameters names
Marek Safar [Wed, 28 Mar 2012 10:24:12 +0000 (11:24 +0100)]
Fix JsonReaderWriterFactory parameters names

12 years agoCheck whether mcs output name is valid
Marek Safar [Wed, 28 Mar 2012 10:22:27 +0000 (11:22 +0100)]
Check whether mcs output name is valid

12 years agoUpdate hoisted this variable to anonymous methods/state machine split
Marek Safar [Wed, 28 Mar 2012 08:32:01 +0000 (09:32 +0100)]
Update hoisted this variable to anonymous methods/state machine split

12 years agoFix a memory overwrite in mono_gc_bzero (). Fixes #4095.
Zoltan Varga [Wed, 28 Mar 2012 10:06:43 +0000 (12:06 +0200)]
Fix a memory overwrite in mono_gc_bzero (). Fixes #4095.

12 years agoMerge pull request #259 from joncham/bug-profiler-thread-detach
Zoltan Varga [Wed, 28 Mar 2012 03:59:48 +0000 (20:59 -0700)]
Merge pull request #259 from joncham/bug-profiler-thread-detach

Send thread end profiler message on thread detach.

12 years agoMerge pull request #261 from joncham/bug-null-interface-bitset
Zoltan Varga [Wed, 28 Mar 2012 03:59:11 +0000 (20:59 -0700)]
Merge pull request #261 from joncham/bug-null-interface-bitset

NULL global interface bitset on deletion.

12 years agoDefault COM visilibity to true.
Jonathan Chambers [Wed, 28 Mar 2012 01:49:31 +0000 (21:49 -0400)]
Default COM visilibity to true.

12 years agoNULL global interface bitset on deletion.
Tak [Thu, 18 Aug 2011 11:13:50 +0000 (13:13 +0200)]
NULL global interface bitset on deletion.
Fixes runtime crash on shutdown.

MIT/X11 License

12 years agoUpdate the LLVM EH frame reader code to the latest llvm code.
Zoltan Varga [Tue, 27 Mar 2012 20:02:28 +0000 (22:02 +0200)]
Update the LLVM EH frame reader code to the latest llvm code.

12 years agoFix the --disable-executables change.
Zoltan Varga [Tue, 27 Mar 2012 20:00:01 +0000 (22:00 +0200)]
Fix the --disable-executables change.

12 years agoMerge pull request #258 from joncham/bug-debugger-tls-verify
Zoltan Varga [Tue, 27 Mar 2012 19:55:00 +0000 (12:55 -0700)]
Merge pull request #258 from joncham/bug-debugger-tls-verify

[Debugger] Verify TLS lookup.

12 years agoAdd a --disable-executables configure option to disable the generation of runtime...
Zoltan Varga [Tue, 27 Mar 2012 19:51:38 +0000 (21:51 +0200)]
Add a --disable-executables configure option to disable the generation of runtime executables and the libraries required by them, to speed up builds in embedding scenarios.

12 years ago[Debugger] Verify TLS lookup.
Tak [Fri, 4 Feb 2011 17:06:29 +0000 (18:06 +0100)]
[Debugger] Verify TLS lookup.

 * debugger-agent.c: Verify TLS lookup in thread_end callback.

License: MIT/X11

12 years agoSend thread end profiler message on thread detach.
Jonathan Chambers [Tue, 27 Mar 2012 19:08:15 +0000 (15:08 -0400)]
Send thread end profiler message on thread detach.

Contributed under MIT/X11 License

12 years agoUse g_error instead of fpritnf so target like android see it.
Rodrigo Kumpera [Tue, 27 Mar 2012 18:34:41 +0000 (15:34 -0300)]
Use g_error instead of fpritnf so target like android see it.

12 years agoCheck lmf_addr_tls_offset for size greater than 64 like other tls offsets.
Jonathan Chambers [Tue, 27 Mar 2012 18:27:56 +0000 (14:27 -0400)]
Check lmf_addr_tls_offset for size greater than 64 like other tls offsets.

12 years agoFix bug #4101 when using a deep hierarchy of directories in isolated storage.
Sebastien Pouliot [Tue, 27 Mar 2012 12:34:04 +0000 (08:34 -0400)]
Fix bug #4101 when using a deep hierarchy of directories in isolated storage.

12 years agoMake monodoc 4.0 lib when mdoc is 4.0 app
Marek Safar [Tue, 27 Mar 2012 11:25:51 +0000 (12:25 +0100)]
Make monodoc 4.0 lib when mdoc is 4.0 app

12 years agoAdd missing dist for test file
Marek Safar [Tue, 27 Mar 2012 11:18:42 +0000 (12:18 +0100)]
Add missing dist for test file

12 years agoFix wrong WindowsBase method signatures
Marek Safar [Tue, 27 Mar 2012 11:06:34 +0000 (12:06 +0100)]
Fix wrong WindowsBase method signatures

12 years agoDon't throw when loading expressions wrongly marked as constants. Fixes #4105
Marek Safar [Tue, 27 Mar 2012 10:35:30 +0000 (11:35 +0100)]
Don't throw when loading expressions wrongly marked as constants. Fixes #4105

12 years agoEmit smaller iterator dispose method
Marek Safar [Tue, 27 Mar 2012 08:35:32 +0000 (09:35 +0100)]
Emit smaller iterator dispose method

12 years agoEmit iterators finally block only once. Fixes #4052.
Marek Safar [Mon, 26 Mar 2012 16:30:03 +0000 (17:30 +0100)]
Emit iterators finally block only once. Fixes #4052.