Miguel de Icaza [Fri, 6 Apr 2012 18:03:35 +0000 (11:03 -0700)]
Merge pull request #216 from ilkerde/master
Better CS1529 Compliance for CSharp Code Generator
Marek Habersack [Fri, 6 Apr 2012 17:35:38 +0000 (19:35 +0200)]
[corlib] Correctly recurse directories in Directory.EnumerateFiles if the first entry is a directory
If the first entry in a directory happened to be another directory, the code wouldn't descend if
SearchOption.AllDirectoris was specified.
Andreia Gaita [Fri, 6 Apr 2012 00:48:47 +0000 (17:48 -0700)]
Merge pull request #270 from bholmes/COM_cctor
__ComObject.cs (Initialize) :
Marek Safar [Thu, 5 Apr 2012 22:15:36 +0000 (23:15 +0100)]
Add missing assembly references to test targets
Marek Habersack [Thu, 5 Apr 2012 20:27:19 +0000 (22:27 +0200)]
Replaced git submodules docs with a link to the wiki
William Holmes [Thu, 5 Apr 2012 19:52:28 +0000 (15:52 -0400)]
cominterop.cs : Unit test to ensure that the static ctor has been called
for the target type being instantiated. This is a problem when using
System.Activator.CreateInstance to create a COM object.
Jonathan Pryor [Thu, 5 Apr 2012 19:39:45 +0000 (15:39 -0400)]
[System] Fix MacOsNetworkInterface.ImplGetAllNetworkInterfaces()
On my (cursed?) MacBook Pro, calling
System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()
results in an exception:
System.ArgumentException: length
at System.Array.Copy (System.Array sourceArray, Int32 sourceIndex, System.Array destinationArray, Int32 destinationIndex, Int32 length) [0x00000] in <filename unknown>:0
at System.Net.NetworkInformation.MacOsNetworkInterface.ImplGetAllNetworkInterfaces () [0x00000] in <filename unknown>:0
at System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces () [0x00000] in <filename unknown>:0
Some printfs later, and we see why:
Array.Copy(array.Length=12, 3, array.Length=0, 0, 0)
Array.Copy(array.Length=12, 4, array.Length=0, 0, 0)
Array.Copy(array.Length=12, 4, array.Length=0, 0, 0)
Array.Copy(array.Length=12, 3, array.Length=6, 0, 6)
Array.Copy(array.Length=12, 3, array.Length=6, 0, 6)
Array.Copy(array.Length=12, 3, array.Length=8, 0, 4)
Array.Copy(array.Length=12, 4, array.Length=6, 0, 6)
Array.Copy(array.Length=12, 8, array.Length=6, 0, 6)
# BOOM!
(Apparently I have 8 interfaces: lo0, gif0, stf0, en0, en1, fw0, p2p0,
and vboxnet0.)
The problem is readily obvious: we're trying to read 6 bytes of data
when only 4 are available, and Array.Copy() complains appropriately.
The fix -- which looks to almost contradict
a02076ba -- is to use
`sockaddrdl.sdl_data.Length - sockaddrdl.sdl_nlen` instead of
`sockaddrdl.sdl_data.Length - macAddress.Length` (or sdl_alen).
sdl_nlen is the offset into the source sockaddrdl.sdl_data array, and
in this case sockaddrdl.sdl_alen (the length of the destination
macAddress) isn't the same as sockaddrdl.sdl_nlen, hence the breakage.
Marek Habersack [Thu, 5 Apr 2012 18:53:42 +0000 (20:53 +0200)]
Updated README with submodule maintenance instructions
Marek Safar [Thu, 5 Apr 2012 17:50:43 +0000 (18:50 +0100)]
Add missing assembly references to test targets
Marek Safar [Thu, 5 Apr 2012 17:34:30 +0000 (18:34 +0100)]
Emit callvirt for non-virtual object methods called over generic type parameter
Alan McGovern [Thu, 5 Apr 2012 16:29:23 +0000 (17:29 +0100)]
Add the update_submodules script to EXTRA_DIST
Marek Safar [Thu, 5 Apr 2012 15:46:39 +0000 (16:46 +0100)]
Be less pedantic when issuing CS0219 warning (some people write crappy code)
Marek Safar [Thu, 5 Apr 2012 14:45:30 +0000 (15:45 +0100)]
Force all test assemblies references to be explicit
Marek Safar [Thu, 5 Apr 2012 14:29:32 +0000 (15:29 +0100)]
Move System tests to System assembly
Marek Safar [Thu, 5 Apr 2012 13:24:39 +0000 (14:24 +0100)]
Update csproj files
Marek Safar [Thu, 5 Apr 2012 13:14:40 +0000 (14:14 +0100)]
Convert some old unit tests
Marek Safar [Thu, 5 Apr 2012 11:19:37 +0000 (12:19 +0100)]
Fix some API mismatch
William Holmes [Thu, 5 Apr 2012 13:33:25 +0000 (09:33 -0400)]
__ComObject.cs (Initialize) : Ensure that the static ctor has been called
for the target type being instantiated. This is a problem when using
System.Activator.CreateInstance to create a COM object.
Alan McGovern [Thu, 5 Apr 2012 13:27:20 +0000 (14:27 +0100)]
[build] Improve our git submodule update handling
This is a two pronged commit. Firstly we need to handle older versions
of git which lack support for recursively updating git submodules. In
order to handle this we try three separate git commands until one
succeeds and print warning/error messages as appropriate.
Secondly we should really update git submodules when 'make' is invoked.
Currently we only do this from the root makefile, though if we care enough
we can do it elsewhere in our build tree too. This means we no longer have
to run configure every time a submodule is updated just to get git submodule
update to execute.
Marek Safar [Wed, 4 Apr 2012 18:01:08 +0000 (19:01 +0100)]
Fix parsing of conditional expression with lambda block statement
Marek Safar [Wed, 4 Apr 2012 15:29:11 +0000 (16:29 +0100)]
Implement more Task 4.5 members
Marek Habersack [Thu, 5 Apr 2012 10:19:48 +0000 (12:19 +0200)]
aspnetwebstack update
Rodrigo Kumpera [Wed, 4 Apr 2012 18:58:59 +0000 (15:58 -0300)]
Use a single name prefix for sgen symbols. All non private symbols myst be prefixed with sgen_.
Zoltan Varga [Wed, 4 Apr 2012 19:08:33 +0000 (21:08 +0200)]
Fix debugger invokes which return pointer types. Fixes #4214.
Rodrigo Kumpera [Wed, 4 Apr 2012 15:14:52 +0000 (12:14 -0300)]
Fix x86 FP stack code to not break prev links in a BB.
Rodrigo Kumpera [Wed, 4 Apr 2012 15:14:22 +0000 (12:14 -0300)]
Fix the IR class of OP_NEWARR to be of the array type and not element's.
Rodrigo Kumpera [Wed, 4 Apr 2012 15:03:13 +0000 (12:03 -0300)]
Extend --compile-all to take a count parameter to recompile the same assembly multiple times.
Rolf Bjarne Kvinge [Wed, 4 Apr 2012 14:02:08 +0000 (16:02 +0200)]
Ensure we get the correct StartWWAN overload.
alexrp [Wed, 4 Apr 2012 08:46:36 +0000 (10:46 +0200)]
configure.in: Don't print parallel mark twice.
Marek Safar [Wed, 4 Apr 2012 09:35:19 +0000 (10:35 +0100)]
Hide internal member
Marek Safar [Wed, 4 Apr 2012 09:33:15 +0000 (10:33 +0100)]
Implement Task::WhenAll
Sebastien Pouliot [Tue, 3 Apr 2012 13:58:22 +0000 (09:58 -0400)]
Apply SHA256 optimizations (single buffer allocation, inlining and better locality) to SHA224 so their performance match
Sebastien Pouliot [Tue, 3 Apr 2012 13:57:15 +0000 (09:57 -0400)]
Ensure a default key is available, if none is set, when using ARC4Managed
Marek Safar [Tue, 3 Apr 2012 11:17:07 +0000 (12:17 +0100)]
Better handling of OperationCanceledException
Marek Safar [Tue, 3 Apr 2012 11:14:30 +0000 (12:14 +0100)]
Hide internal invoke methods in debugger
Marek Safar [Tue, 3 Apr 2012 10:06:58 +0000 (11:06 +0100)]
TaskScheduler.FromCurrentSynchronizationContext cannot be constructed from null context
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 ...
Neale Ferguson [Mon, 2 Apr 2012 17:32:09 +0000 (13:32 -0400)]
Merge branch 'master' of ssh://github.com/mono/mono
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
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).
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
Zoltan Varga [Mon, 2 Apr 2012 16:23:32 +0000 (18:23 +0200)]
Fix the addresses of handler clauses when using LLVM + thumb.
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
Jeremie Laval [Mon, 2 Apr 2012 11:02:12 +0000 (12:02 +0100)]
[monodoc] Also fixup URL of parameter-less ctor
Jeremie Laval [Mon, 2 Apr 2012 11:01:30 +0000 (12:01 +0100)]
[monodoc] Rename related sample section to 'Samples' simply
Jeremie Laval [Mon, 2 Apr 2012 11:00:58 +0000 (12:00 +0100)]
[monodoc] Open links in new window
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
Rodrigo Kumpera [Fri, 30 Mar 2012 18:57:29 +0000 (15:57 -0300)]
Remove some silly dead code.
Rodrigo Kumpera [Fri, 30 Mar 2012 18:46:23 +0000 (15:46 -0300)]
Extract the fragment allocation code from the nursery allocation entrypoints.
Rodrigo Kumpera [Thu, 29 Mar 2012 21:51:11 +0000 (18:51 -0300)]
Add par_alloc_object to the major collector function table.
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.
Marek Safar [Fri, 30 Mar 2012 15:41:17 +0000 (16:41 +0100)]
Fix System.Web.Razor embedded resouces namespace
Marek Safar [Fri, 30 Mar 2012 14:13:18 +0000 (15:13 +0100)]
Fix System.Json resources to be embedded
Marek Safar [Fri, 30 Mar 2012 14:00:01 +0000 (15:00 +0100)]
Convert literals to constants when reducing literal value
Marek Safar [Fri, 30 Mar 2012 12:26:08 +0000 (13:26 +0100)]
Use correct location when reporting constant conversion errors
Marek Safar [Fri, 30 Mar 2012 11:27:38 +0000 (12:27 +0100)]
Fix cloning of foreach statement
Marek Safar [Fri, 30 Mar 2012 10:48:21 +0000 (11:48 +0100)]
Add more literal to constant expression conversions. Fixes #4125
Rolf Bjarne Kvinge [Fri, 30 Mar 2012 11:40:01 +0000 (13:40 +0200)]
Fix g_strreverse to handle empty strings
Marek Safar [Fri, 30 Mar 2012 08:59:22 +0000 (09:59 +0100)]
Don't install Newtonsoft.Json
Zoltan Varga [Fri, 30 Mar 2012 05:52:50 +0000 (07:52 +0200)]
Disable wrapper generation code when DISABLE_JIT is defined.
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.
Alex Corrado [Thu, 29 Mar 2012 21:27:20 +0000 (17:27 -0400)]
Update spec for the rest of the mvc3/razor additions
Marek Habersack [Thu, 29 Mar 2012 17:30:48 +0000 (19:30 +0200)]
Version mvc3 properly
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...
Marek Safar [Thu, 29 Mar 2012 17:08:57 +0000 (18:08 +0100)]
Import Newtonsoft.Json
Jonathan Chambers [Thu, 29 Mar 2012 17:00:50 +0000 (13:00 -0400)]
Raise TypeLoadException for invalid StructLayout Pack size rather than aborting.
Marek Habersack [Thu, 29 Mar 2012 16:12:49 +0000 (18:12 +0200)]
Added the Newtonsoft.Json submodule
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.
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
Marek Safar [Thu, 29 Mar 2012 15:16:35 +0000 (16:16 +0100)]
Import System.Web.Http
Marek Safar [Thu, 29 Mar 2012 15:15:58 +0000 (16:15 +0100)]
Implement more of System.Net.Http
Marek Habersack [Thu, 29 Mar 2012 14:43:58 +0000 (16:43 +0200)]
Added -delaysign to mcs parameters
Marek Habersack [Thu, 29 Mar 2012 14:23:37 +0000 (16:23 +0200)]
Remove unnecessary assembly attributes
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
Marek Safar [Thu, 29 Mar 2012 14:15:00 +0000 (15:15 +0100)]
Remove unwanted assembly attributes
Marek Safar [Thu, 29 Mar 2012 14:02:10 +0000 (15:02 +0100)]
Ignore binary resouces
Marek Safar [Thu, 29 Mar 2012 14:00:46 +0000 (15:00 +0100)]
Import System.Net.Http.Formatting
Marek Safar [Thu, 29 Mar 2012 13:59:18 +0000 (14:59 +0100)]
Add System.Net.Http .net 4.5 beta members
Marek Habersack [Thu, 29 Mar 2012 13:47:20 +0000 (15:47 +0200)]
System.Web.WebPages imported
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.
Marek Habersack [Thu, 29 Mar 2012 12:58:15 +0000 (14:58 +0200)]
Use correct name for the razor assembly
Marek Habersack [Thu, 29 Mar 2012 12:46:09 +0000 (14:46 +0200)]
Remove old System.Json sources
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
Atsushi Eno [Thu, 29 Mar 2012 09:20:55 +0000 (18:20 +0900)]
(monodroid) Do not crash with LogcatTextWriter.Write(null).
Marek Safar [Thu, 29 Mar 2012 09:10:51 +0000 (10:10 +0100)]
Dist more test files
Marek Safar [Thu, 29 Mar 2012 09:05:56 +0000 (10:05 +0100)]
Add more missing files to dist
Marek Safar [Thu, 29 Mar 2012 08:50:20 +0000 (09:50 +0100)]
Fix mono path for corlib vts tests
Marek Safar [Thu, 29 Mar 2012 08:13:37 +0000 (09:13 +0100)]
Build System.Web.Razor in all 4+ profiles
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)
Marek Safar [Wed, 28 Mar 2012 11:45:33 +0000 (12:45 +0100)]
Use correct context type parameters when resolving documentation cref values
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.
Alex Corrado [Thu, 29 Mar 2012 05:50:25 +0000 (01:50 -0400)]
Add System.Web.Razor.dll to the spec file
Miguel de Icaza [Thu, 29 Mar 2012 03:21:26 +0000 (23:21 -0400)]
Update
Gonzalo Paniagua Javier [Thu, 29 Mar 2012 02:50:11 +0000 (22:50 -0400)]
Welcome to the future
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.
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
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.
Marek Habersack [Wed, 28 Mar 2012 21:32:01 +0000 (23:32 +0200)]
System.Web.Razor integrated
Marek Habersack [Wed, 28 Mar 2012 20:48:22 +0000 (22:48 +0200)]
Use more common code in System.Json
Marek Habersack [Wed, 28 Mar 2012 20:46:59 +0000 (22:46 +0200)]
Include the entire external/ directory in dist