Joao Matos [Thu, 5 Jun 2014 14:09:01 +0000 (15:09 +0100)]
Fixed warning in MSVC by prefixing the macros, MEM_FREE is already defined in winnt.h.
Zoltan Varga [Thu, 5 Jun 2014 13:05:42 +0000 (15:05 +0200)]
Merge pull request #1083 from christianhuening/NetworkInterfaceFix
- ADDED: Support to read out Interface flags on OS X
Christian Hüning [Thu, 5 Jun 2014 12:09:11 +0000 (14:09 +0200)]
- ADDED: Support to read out Interface flags on OS X
- ADDED: Implemented NetworkInterface property "OperationalStatus" to be UP, in case the IFF_UP flag is set
- ADDED: Implemented NetworkInterface property "SupportsMulticast" to be true, in case the IFF_MULTICAST flag is set
This change is released under the MIT license.
Atsushi Eno [Thu, 5 Jun 2014 04:02:50 +0000 (13:02 +0900)]
[msbuild] fix some weird local result variable initialization issue.
I cannot explain why, but this affects building solution that has more than
one projects for MS.Build.dll. <MSBuild/> task returns false for successful
builds without this change.
Most likely codegen or runtime issue, but a bit too high level to drill down.
Atsushi Eno [Thu, 5 Jun 2014 04:01:00 +0000 (13:01 +0900)]
[MS.Build] disable failing test.
It somehow passes on my dev. environment so I cannot reproduce...
Atsushi Eno [Wed, 4 Jun 2014 09:41:03 +0000 (18:41 +0900)]
[MS.Build] metadata is also replaced its windows path separators.
Zoltan Varga [Wed, 4 Jun 2014 23:56:12 +0000 (01:56 +0200)]
[jit] Avoid licm for volatile variables, ssa ignores them so we can't detect whenever they are loop invariant by looking at phi nodes.
Joao Matos [Wed, 4 Jun 2014 18:39:38 +0000 (19:39 +0100)]
Fixed unreachable methods in mono-thread-windows to use g_assert_not_reached.
This fixes a couple warnings.
Joao Matos [Wed, 4 Jun 2014 18:38:13 +0000 (19:38 +0100)]
Modified g_assert_not_reached to use g_unreachable.
Joao Matos [Wed, 4 Jun 2014 18:37:17 +0000 (19:37 +0100)]
Added g_unreachable to explicitly notify the compiler of unreachable code.
Rodrigo Kumpera [Wed, 4 Jun 2014 18:35:59 +0000 (14:35 -0400)]
[sgen] Fix logging due to changes in a lot of size types.
Zoltan Varga [Wed, 4 Jun 2014 18:32:59 +0000 (20:32 +0200)]
[runtime] Add another test for passing many small arguments.
Rodrigo Kumpera [Wed, 4 Jun 2014 18:30:29 +0000 (14:30 -0400)]
[sgen] Fix clang compilation.
Rodrigo Kumpera [Wed, 4 Jun 2014 17:24:44 +0000 (13:24 -0400)]
[sgen] Fix a few warnings related to lossy conversion of size_t to int on 64bits.
Rodrigo Kumpera [Wed, 4 Jun 2014 17:24:24 +0000 (13:24 -0400)]
[sgen] Fix nursery size calculation and the managed write barrier to be 64bits clean.
Rodrigo Kumpera [Wed, 4 Jun 2014 17:21:58 +0000 (13:21 -0400)]
[sgen] Fix the object size functions to be 64bits clean.
Rodrigo Kumpera [Wed, 4 Jun 2014 17:17:26 +0000 (13:17 -0400)]
[sgen] Ensure the cardtable code is 64bits clean.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:41:32 +0000 (12:41 -0400)]
[sgen] Use size_t for all heap limits.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:36:00 +0000 (12:36 -0400)]
[sgen] Fix size warnings in the descriptor code.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:33:54 +0000 (12:33 -0400)]
[sgen] Silence warnings when big arrays are not in use on 64bits.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:32:15 +0000 (12:32 -0400)]
[sgen] Make degrated_mode a size_t.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:27:22 +0000 (12:27 -0400)]
[sgen] Make los usage of size_t cosnsitent.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:15:54 +0000 (12:15 -0400)]
[sgen] Use size_t consistently in the major collector for object sizes and number of memory blocks.
Rodrigo Kumpera [Wed, 4 Jun 2014 16:10:01 +0000 (12:10 -0400)]
[sgen] Use size_t consistently in the nursery code.
Rodrigo Kumpera [Wed, 4 Jun 2014 14:58:15 +0000 (10:58 -0400)]
[sgen] Move the pinning code to use size_t internally. This makes this code 64bits clean.
Rodrigo Kumpera [Tue, 3 Jun 2014 22:02:19 +0000 (18:02 -0400)]
[sgen] Fix small localized warnings.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:45:50 +0000 (17:45 -0400)]
[sgen] Fix win64 issues with longs and inline assembly.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:39:33 +0000 (17:39 -0400)]
[runtime] Fix a bunch of warnings in threads.c related to int64 -> int32 lossy casts.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:35:22 +0000 (17:35 -0400)]
[verifier] Silence a size mismatch warning in the verifier.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:34:36 +0000 (17:34 -0400)]
[runtime] Replace gulong with size_t to fix counter sizes in win64.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:31:18 +0000 (17:31 -0400)]
[win64] Windows64 MSVC compiler dropped support for inline assembly. Move that code into a .asm file.
Rodrigo Kumpera [Tue, 3 Jun 2014 21:28:01 +0000 (17:28 -0400)]
[VS] Fix the solutions to work with win64. Update the file list to include some new sgen files.
Rodrigo Kumpera [Tue, 3 Jun 2014 20:53:22 +0000 (16:53 -0400)]
[runtime] Fix warnings in mono-threads.
Rodrigo Kumpera [Tue, 3 Jun 2014 20:52:14 +0000 (16:52 -0400)]
[runtime] Replace gulong with size_t so it works on win64.
Rodrigo Kumpera [Fri, 30 May 2014 18:11:46 +0000 (14:11 -0400)]
fix win thread size calc.
Marek Safar [Wed, 4 Jun 2014 17:06:59 +0000 (19:06 +0200)]
Marek Safar [Wed, 4 Jun 2014 17:02:18 +0000 (19:02 +0200)]
Fixes build
Marek Safar [Wed, 4 Jun 2014 16:26:54 +0000 (18:26 +0200)]
[mcs] Better error message for attribute value used for unsupported parameter type
Marek Safar [Wed, 4 Jun 2014 16:24:28 +0000 (18:24 +0200)]
[mcs] Emit result type conversion for null coalescing operator on nullable type
Neale Ferguson [Wed, 4 Jun 2014 14:50:03 +0000 (10:50 -0400)]
Correct op_seqpoint length
Neale Ferguson [Wed, 4 Jun 2014 14:47:37 +0000 (10:47 -0400)]
Fix s390x soft debug
Neale Ferguson [Tue, 3 Jun 2014 15:52:00 +0000 (11:52 -0400)]
Architectural level set to z10 instruction set
Marek Safar [Wed, 4 Jun 2014 12:40:16 +0000 (14:40 +0200)]
[mcs] Add more checks to dynamic logical operations when lhs is not of dynamic type
Marek Safar [Wed, 4 Jun 2014 12:30:03 +0000 (14:30 +0200)]
[mcs] Don't wrap enum constants during folding when result is reduced
Marek Safar [Wed, 4 Jun 2014 11:02:04 +0000 (13:02 +0200)]
Merge pull request #1082 from esdrubal/bug19287
Improved JavaScriptSerializer.ConvertToType Nullable handling. Fixes #19287.
marcos henrich [Wed, 4 Jun 2014 10:11:36 +0000 (11:11 +0100)]
Improved JavaScriptSerializer.ConvertToType Nullable handling. Fixes #19287. ConvertToType was returning null even when the object was not a string. When the target type is Nullable, ConvertToType returns null if the object is an empty string, if the object is not a string and the target type is obtainable from a string then the object is converted to a string and the string to the target type.
marcos henrich [Wed, 4 Jun 2014 09:18:43 +0000 (10:18 +0100)]
Test JavaScriptSerializer.Deserialize with nullable enums. Covers #19287.
Marek Safar [Wed, 4 Jun 2014 09:24:34 +0000 (11:24 +0200)]
[mcs] null coalescing operator cannot reduce constants
Marek Safar [Wed, 4 Jun 2014 09:23:13 +0000 (11:23 +0200)]
[msbuild] Implemented instance members on static property evaluation
Alex Rønne Petersen [Tue, 3 Jun 2014 21:33:30 +0000 (23:33 +0200)]
[System] Fix WebClientTest build in net_2_0.
CancellationTokenSource is a 4.0 thing.
Marek Safar [Tue, 3 Jun 2014 20:29:12 +0000 (22:29 +0200)]
[System.ServiceModel.Security] Exclude security forwarders from mobile builds
Alex Rønne Petersen [Tue, 3 Jun 2014 18:27:58 +0000 (20:27 +0200)]
Merge pull request #1079 from esdrubal/webclient_cancel
UploadStringAsync cancel
Zoltan Varga [Tue, 3 Jun 2014 18:19:33 +0000 (20:19 +0200)]
[runtime] Add an EXTRA_DISABLED_TESTS make variable to disable tests on the command line.
Zoltan Varga [Tue, 3 Jun 2014 17:30:49 +0000 (19:30 +0200)]
[bcl] Disable a test added by
3cf55e6016811ce115ef47fbb9636f10d4b62789, it depends on precise gc behaviour.
marcos henrich [Tue, 3 Jun 2014 15:23:22 +0000 (16:23 +0100)]
Changed UploadStringAsync to handle UploadString encapsulated exceptions.
UploadString call UploadData that encapsulates all exceptions in a WebException. ThreadInterruptedException were encapsulated into a WebException, so UploadStringAsync now uses e.InnerException is ThreadInterruptedException instead of trying to catch it.
Marek Safar [Tue, 3 Jun 2014 14:52:04 +0000 (16:52 +0200)]
[mcs] Update new error codes
Zoltan Varga [Tue, 3 Jun 2014 14:07:40 +0000 (16:07 +0200)]
[runtime] Applied patch from Kyle Edwards <kyleedwardsny@gmail.com>. Fix isinf () check with clang. Fixes #20244.
Marek Safar [Tue, 3 Jun 2014 09:56:47 +0000 (11:56 +0200)]
[corlib] Add CreateTypeInfo method
Marek Safar [Tue, 3 Jun 2014 09:31:24 +0000 (11:31 +0200)]
[mcs] Better error reporting for incorrect async lambdas
Alex Rønne Petersen [Mon, 2 Jun 2014 22:42:57 +0000 (00:42 +0200)]
Merge pull request #1080 from chillitom/patch-1
Add missing definitions to ClaimTypes
Tom Rathbone [Mon, 2 Jun 2014 22:12:54 +0000 (23:12 +0100)]
Add new missing ClaimTypes entries
Added 2008 and 2009 definitions and fixed Email definition
marcos henrich [Mon, 2 Jun 2014 18:04:43 +0000 (19:04 +0100)]
Test WebClient asynchronous uploads cancellation.
Tests that UploadStringAsync triggers UploadStringCompleted with Cancelled == true.
Tests that UploadDataAsync triggers UploadDataCompleted with Cancelled == true.
Tests that UploadValuesAsync triggers UploadValuesCompleted with Cancelled == true.
Tests that UploadFileAsync triggers UploadFileCompleted with Cancelled == true.
Zoltan Varga [Mon, 2 Jun 2014 18:02:15 +0000 (20:02 +0200)]
[llvm] Fix a native types problem.
Zoltan Varga [Mon, 2 Jun 2014 17:51:34 +0000 (19:51 +0200)]
Merge pull request #1070 from tpokorra/FixTarball
Fix tarball for master
Atsushi Eno [Mon, 2 Jun 2014 16:18:21 +0000 (01:18 +0900)]
[xbuild/msbuild] fix previous ItemGroup definition (should be in <ItemGroup>).
Marek Safar [Mon, 2 Jun 2014 15:19:51 +0000 (17:19 +0200)]
[mcs] Remove wrong comment
Marek Safar [Mon, 2 Jun 2014 15:13:10 +0000 (17:13 +0200)]
[mcs] Add more warnings for caller attributes
Atsushi Eno [Mon, 2 Jun 2014 13:39:43 +0000 (22:39 +0900)]
[xbuild/msbuild] fix build: fix Exists() argument.
Marek Safar [Mon, 2 Jun 2014 12:53:12 +0000 (14:53 +0200)]
[mcs] Add support for await in catch clause
Marek Safar [Mon, 2 Jun 2014 11:15:22 +0000 (13:15 +0200)]
Fixes build
Marek Safar [Fri, 30 May 2014 15:08:08 +0000 (17:08 +0200)]
[mcs] Extend possible unintended reference comparison check
Atsushi Eno [Mon, 2 Jun 2014 10:26:14 +0000 (19:26 +0900)]
[msbuild/xbuild] use ToolLocationHelper.GetPathToStandardLibraries() to get corlib path, for new build engine.
This is enabled only with Microsoft.Build.dll because property function
support is not fully implemented in MS.Build.Engine.dll and simply fails.
Since the targets files are shared between xbuild and msbuild, I added
some well-known property for msbuild and used it in the targets file.
Atsushi Eno [Mon, 2 Jun 2014 10:21:48 +0000 (19:21 +0900)]
[MS.Build] add MS.Build.dll-specific well-known property, to differentiate from MS.Build.Engine.
Atsushi Eno [Mon, 2 Jun 2014 10:25:17 +0000 (19:25 +0900)]
[xbuild] fix 4.0-only test condition.
Atsushi Eno [Fri, 30 May 2014 11:17:05 +0000 (20:17 +0900)]
[msbuild] build the projects via MSBuild task with appropriate configuration, not the entire projects in the solution.
Atsushi Eno [Mon, 2 Jun 2014 08:48:00 +0000 (17:48 +0900)]
[MS.Build] ProjectOnErrorInstance should not cause build failure.
Atsushi Eno [Mon, 2 Jun 2014 07:47:38 +0000 (16:47 +0900)]
[MS.Build] added test for ToolLocationHelper.GetPathToStandardLibraries() to add target item.
It should be used in Microsoft.CSharp.targets to pass the path to mscorlib.dll
but it's not working yet, so I'm making it to work step by step.
Atsushi Eno [Mon, 2 Jun 2014 07:45:37 +0000 (16:45 +0900)]
[MS.Build] when evaluated as object, do not add extra quotes.
When the object is passed as argument to property function, it gets extra
" or ' and could result in unexpected value.
Atsushi Eno [Mon, 2 Jun 2014 07:44:30 +0000 (16:44 +0900)]
[xbuild] ToolLocationHelper.GetPathToStandardLibraries() skips "" too.
Test is added too, but since it requires some environment setup, I didn't
enable it so far.
Atsushi Eno [Fri, 30 May 2014 11:20:32 +0000 (20:20 +0900)]
[MS.Build] fix some issues around quoted string handling.
Since the parser didn't really detect those quotation chars unless they are
top of the next tokeniation, it was always starting from wrong position.
Atsushi Eno [Fri, 30 May 2014 08:25:20 +0000 (17:25 +0900)]
[MS.Build] add function call releated tests.
Atsushi Eno [Fri, 30 May 2014 08:24:34 +0000 (17:24 +0900)]
[MS.Build] '\\' is also escaped syntax, so parse it carefully too.
Atsushi Eno [Fri, 30 May 2014 07:32:28 +0000 (16:32 +0900)]
[MS.Build] fix function call expression parsing wrt nested refs: $(X('$(Y)','$(Z)'))
Nested references inside quoted strings are not parsed correctly.
To resolve this issue, parse quoted expressions in more complicated way.
Atsushi Eno [Fri, 30 May 2014 05:05:34 +0000 (14:05 +0900)]
[ms.build] make sure that we don't skip any other kind of child under target element.
Atsushi Eno [Thu, 29 May 2014 10:27:12 +0000 (19:27 +0900)]
[MS.Build] simplify IBuildEngine.Build() implementation, and build the argument project, not the project that is being built by the BuildManager.
That was wrong recursion.
Atsushi Eno [Thu, 29 May 2014 10:26:26 +0000 (19:26 +0900)]
[MS.Build] make env. properties are read only, and show initial properties in different manner.
Now it's easier to see project properties and other properties.
Atsushi Eno [Thu, 29 May 2014 10:07:54 +0000 (19:07 +0900)]
[MS.Build] revise previous fix; only Items are in reverse order.
The previous change regressed at order of property evaluation. Now this fix
does not regress as well as F# project still builds.
Atsushi Eno [Thu, 29 May 2014 09:29:00 +0000 (18:29 +0900)]
[MS.Build] ProjectInstance needs ChildrenReversed to evaluate items.
This behavioral difference between ProjectRootElement, Project and
ProjectInstance was discovered while trying to get F# project working
(where item order significantly matters).
Atsushi Eno [Wed, 28 May 2014 17:17:39 +0000 (02:17 +0900)]
[MS.Build] load ImportGroup in root.
Atsushi Eno [Wed, 28 May 2014 05:44:00 +0000 (14:44 +0900)]
[ms.build] several fixes in BuildEngine4.
- InitialTargets also need to be executed.
- toolsVersion must be filled.
- HostServices object is also passed from the parent build.
Atsushi Eno [Wed, 28 May 2014 05:40:35 +0000 (14:40 +0900)]
[ms.build] pass DefaultToolsVersion from ProjectInstance to build request data.
Marek Safar [Mon, 2 Jun 2014 06:42:50 +0000 (08:42 +0200)]
Merge pull request #1078 from LRFalk01/master
Null Exception in System.Security.Claims
Lucas [Sun, 1 Jun 2014 20:50:38 +0000 (16:50 -0400)]
Null Exception in System.Security.Claims
This fixed a runtime exception when trying to get a ClaimsPrincipal from an IIdentity.
Noticed this work working with aspnet Identity in a Web Api 2 controller.
Exception fired when running User.Identity.IsAuthenticated.
Exception detail:
http://falk.pw:7777/tocehuhemo.xml
Alex Rønne Petersen [Sun, 1 Jun 2014 19:52:18 +0000 (21:52 +0200)]
Merge pull request #1071 from bl8/cairo-additions
Cairo API additions in Context class
Alex Rønne Petersen [Sun, 1 Jun 2014 19:51:14 +0000 (21:51 +0200)]
Merge pull request #1075 from Meai1/patch-1
Update README.md
Alex Rønne Petersen [Sun, 1 Jun 2014 19:50:47 +0000 (21:50 +0200)]
Merge pull request #1077 from sethjackson/null-gc-sgen
Allow building with null-gc and sgen.
Alex Rønne Petersen [Sun, 1 Jun 2014 19:48:30 +0000 (21:48 +0200)]
Merge pull request #1076 from sethjackson/null-gc-msg
Print the correct GC type if compiling using --with-gc=none.
Seth Jackson [Sun, 1 Jun 2014 15:08:32 +0000 (11:08 -0400)]
Allow building with null-gc and sgen.
Previously if --with-gc=none --with-sgen=yes was specified the sgen runtime
would include the null GC and the sgen GC which would confuse the linker.
This change released uner the MIT license.
Seth Jackson [Sun, 1 Jun 2014 14:46:56 +0000 (10:46 -0400)]
Print the correct GC type if compiling using --with-gc=none.
This change released under the MIT license.
Meai1 [Sat, 31 May 2014 18:25:33 +0000 (20:25 +0200)]
Update README.md