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
Miguel de Icaza [Sat, 31 May 2014 16:52:59 +0000 (12:52 -0400)]
MemoryMappedFile fixes
This patch includes a few fixes:
* CreateNew will actually create a memory map file, the previous logic
in MemoryMapImpl.Open was wrong, and would fail if the file did not
exist. We now cope with this (bug #20052 was caused by this).
* Some exceptions were wrong, so this patch updates the
exceptions being thrown to be the right ones
* On Mobile, we inverted the logic to ensure that capacity must be
bigger or equal than the file size (which is what the API needs to do),
previously it performed the opposite test.
Added tests that match the behavior on .NET for this.
Zoltan Varga [Sat, 31 May 2014 15:11:10 +0000 (17:11 +0200)]
Merge pull request #1073 from DavidKarlas/logging
[Mono.Debugger.Soft] Using environment variable MONO_SDB_LOG as logfile path
Meai1 [Sat, 31 May 2014 10:36:50 +0000 (12:36 +0200)]
Update README.md
Add info on parallel installations which is going to be the case for 99% of people trying to compile and use mono from source.
Zoltan Varga [Fri, 30 May 2014 23:41:27 +0000 (01:41 +0200)]
[sdb] Add a lower level lock and use it in place of the loader lock in some places.
Jérémie Laval [Fri, 30 May 2014 18:50:35 +0000 (14:50 -0400)]
Merge pull request #1068 from esdrubal/bug18421
Changed ConcurrentQueue to remove last ref/value. Fixes 18421
David Karlaš [Fri, 30 May 2014 18:10:54 +0000 (20:10 +0200)]
[Mono.Debugger.Soft] Using environment variable MONO_SDB_LOG as logfile path
Rolf Bjarne Kvinge [Fri, 30 May 2014 15:59:52 +0000 (17:59 +0200)]
Merge pull request #1072 from esdrubal/bug19862
FileInfo members that rely on AccessControl are now inside a conditional block !MOBILE
marcos henrich [Fri, 30 May 2014 15:55:52 +0000 (16:55 +0100)]
FileInfo members that rely on System.Security.AccessControl are now inside a conditional block !MOBILE
Bertrand Lorentz [Fri, 30 May 2014 15:11:55 +0000 (17:11 +0200)]
Mono.Cairo: Add Context.SetSourceColor(Color) convenience method
The Color property was obsoleted, but the suggested replacement
SetSourceRGBA has 4 double parameters, which can be unconvenient.
Add a SetSourceColor that takes a Cairo.Color parameter, make the Color
property use it, and update the message on the Obsolete attribute.
Bertrand Lorentz [Fri, 30 May 2014 15:10:28 +0000 (17:10 +0200)]
Mono.Cairo: Add Context.HasCurrentPoint property
The cairo_has_current_point function was added in cairo 1.6.
Bertrand Lorentz [Fri, 30 May 2014 15:05:04 +0000 (17:05 +0200)]
Mono.Cairo: Add Context.InClip method
The cairo_in_clip function was added in cairo 1.10.
Rolf Bjarne Kvinge [Fri, 30 May 2014 14:50:05 +0000 (16:50 +0200)]
[System.Xml] Use profile-specific file names for generated files.
Otherwise parallel builds will break randomly.
Marek Safar [Fri, 30 May 2014 13:12:44 +0000 (15:12 +0200)]
[mcs] Add lang version
Timotheus Pokorra [Fri, 30 May 2014 13:04:39 +0000 (15:04 +0200)]
make sure that the subdirectories of mcs/class/Facades are included in the tarball
to avoid errors like:
MCS [net_4_5] System.Xml.Serialization.dll
/bin/sh: line 4: cd: System.Collections.Concurrent: No such file or directory
Timotheus Pokorra [Fri, 30 May 2014 13:01:48 +0000 (15:01 +0200)]
add files System.Configuration.dll and System.Security.dll to monolite directory in tarball
to avoid: error CS0006: Metadata file `System.Security.dll' could not be found
Marek Safar [Fri, 30 May 2014 11:43:02 +0000 (13:43 +0200)]
Merge pull request #1069 from esdrubal/bug16990
Changed ConcurrentDictionary.Contains(KeyValuePair) to also compare value. Fixes #16990.
marcos henrich [Fri, 30 May 2014 10:33:02 +0000 (11:33 +0100)]
Changed ConcurrentDictionary.Contains(KeyValuePair<TKey, TValue>) to also compare value. Fixes #16990.
marcos henrich [Fri, 30 May 2014 10:22:01 +0000 (11:22 +0100)]
Test ConcurrentDictionary.Contains(KeyValuePair<TKey, TValue>). Covers #16990.
Rodrigo Kumpera [Fri, 30 May 2014 01:51:29 +0000 (21:51 -0400)]
[boehm] Implement the finalization extension API.
Rodrigo Kumpera [Mon, 19 May 2014 15:00:40 +0000 (11:00 -0400)]
[gc] Add finalizer API, implemented only on sgen.
The new finalizer API allows an embedder to be notified during a collector
when an object is queued for finalization.
This is a VERY low level interface, as this is called with the world stopped, so the
code MUST be async safe. If you don't precisely know what that means, don't use it.
Zoltan Varga [Fri, 30 May 2014 00:57:48 +0000 (02:57 +0200)]
[jit] Applied patch from Vladimir Kargov <kargov@gmail.com>. Fix a local register allocation problem involving global registers and x86 register constraints.
Alexis Christoforides [Thu, 29 May 2014 22:09:05 +0000 (18:09 -0400)]
Bump 'master' branch version.
Sebastien Pouliot [Thu, 29 May 2014 19:29:52 +0000 (15:29 -0400)]
[mobile] Add support for Environment.SetEnvironmentVariable in the mobile profile (e.g. iOS)
Zoltan Varga [Thu, 29 May 2014 19:08:20 +0000 (21:08 +0200)]
[sdb] Avoid clearning event requests if they reference an assembly which is unloaded. Instead, remove the assembly reference from the event request so it stays active. Fixes #19924.
marcos henrich [Thu, 29 May 2014 16:53:32 +0000 (17:53 +0100)]
Overwrites dequeued ref/value with default. Fixes 18421.
ConcurrentQueue was keeping the last dequeued ref/value.
marcos henrich [Thu, 29 May 2014 16:42:10 +0000 (17:42 +0100)]
Test that ConcurrentQueue does not keep old references. Covers 18421.
Marek Safar [Thu, 29 May 2014 15:54:39 +0000 (17:54 +0200)]
[verifier] Set correctly stack type based on constrained type
Marek Safar [Thu, 29 May 2014 12:32:27 +0000 (14:32 +0200)]
[mcs] If the overriding property is sealed, then the overridden accessors cannot be inaccessible
Marek Safar [Thu, 29 May 2014 12:18:34 +0000 (14:18 +0200)]
Fixes build with newer mcs
Marek Safar [Thu, 29 May 2014 10:52:09 +0000 (12:52 +0200)]
[mcs] Use constrained prefix for enum calls too
Marek Safar [Thu, 29 May 2014 10:03:14 +0000 (12:03 +0200)]
[verifier] Fix constrained type unwrap for enum types. Fixes #18371
Marek Safar [Thu, 29 May 2014 07:49:09 +0000 (09:49 +0200)]
Add System.ServiceModel.Security assembly. Fixes #20108
Zoltan Varga [Thu, 29 May 2014 00:01:34 +0000 (02:01 +0200)]
Merge pull request #1067 from esdrubal/bug19862
Removed NET_2_1 conditional blocks from FileInfo. Fixes #19862.
Zoltan Varga [Wed, 28 May 2014 23:07:51 +0000 (01:07 +0200)]
[amd64] Simplify mono_arch_handle_altstack_exception () by passing a MonoContext on the stack instead of an os specific sigctx structure which required special handling and broke when _XOPEN_SOURCE was defined.
Jeffrey Stedfast [Wed, 28 May 2014 18:14:48 +0000 (14:14 -0400)]
[Mono.Debugger.Soft] minor code cleanup
Jeffrey Stedfast [Wed, 28 May 2014 17:59:27 +0000 (13:59 -0400)]
Merge pull request #1048 from DavidKarlas/cacheThreadsAndBulkFetch
[Mono.Debugger.Soft] Caching threads and bulk fetching StackFrames
marcos henrich [Wed, 28 May 2014 17:24:16 +0000 (18:24 +0100)]
Removed NET_2_1 conditional blocks from FileInfo. Fixes #19862.
Marek Safar [Wed, 28 May 2014 15:59:47 +0000 (17:59 +0200)]
[mcs] Fix betterness logic for default vs params parameters. Fixes #19754
Marek Safar [Wed, 28 May 2014 14:34:37 +0000 (16:34 +0200)]
Tests update
Sebastien Pouliot [Wed, 28 May 2014 14:33:47 +0000 (10:33 -0400)]
[System] Ensure pinvoke into OXS/iOS CFNetwork framework (for proxy support) are 64bits safe
Marek Safar [Wed, 28 May 2014 14:23:01 +0000 (16:23 +0200)]
[mcs] Flow analysis of binary expressions not using logical operators. Fixes #20086
Sebastien Pouliot [Wed, 28 May 2014 13:49:03 +0000 (09:49 -0400)]
[System] Ensure pinvoke into OXS/iOS Security framework are 64bits safe
Sebastien Pouliot [Wed, 28 May 2014 13:06:36 +0000 (09:06 -0400)]
[corlib][ios] Fix 'write' pinvoke declaration to be 64bits safe
David Karlaš [Wed, 28 May 2014 10:58:38 +0000 (12:58 +0200)]
Changed API for fetching StackFrames in bulk on multiple threads ThreadMirror.FetchFrames instead of automatically on VirtualMachine.GetThreads
Marek Safar [Wed, 28 May 2014 08:59:31 +0000 (10:59 +0200)]
[mcs] Emit unmanaged version info from AssemblyFileVersion. Fixes #20057
Zoltan Varga [Tue, 27 May 2014 22:09:47 +0000 (00:09 +0200)]
[runtime] Call mono_threads_join_threads () to prevent running out of threads when the finalizer threads becomes blocked/backlogged.
Zoltan Varga [Tue, 27 May 2014 20:36:37 +0000 (22:36 +0200)]
[llvm] Fix the loadable llvm build.
Rodrigo Kumpera [Tue, 27 May 2014 19:38:49 +0000 (15:38 -0400)]
[runtime] Add a test for the type loading changes.
Rodrigo Kumpera [Tue, 27 May 2014 19:36:42 +0000 (15:36 -0400)]
[runtime] Ensure reflection-based assembly load has a basedir set.
When loading assemblies, we must ensure that a basedir is provided otherwise
things like custom attributes and Type.GetType won't be able to load sibling
assemblies when basedir is not the same of the domain.
Miguel de Icaza [Tue, 27 May 2014 18:59:25 +0000 (14:59 -0400)]
[build] Address the System.Configuration test problem
The compiler seems to ignore reference assemblies with a full path when the
-lib: directive is passed, so things like:
-lib:FOO -r:BAR/bar.dll
Would resolve bar.dll to FOO/bar.dll, instead of BAR/bar.dll.
This is a problem with the test suite as it needs to reference the
final build of System.Configuration from $(the_libdir_base) and not
the intermediate step.
To work around this issue, we introduce "test_remove" variable that is
a piece of text that will be removed from the TEST_COMPILE variable
when this is evaluated.
This means that it gets CSCOMPILE and then it removes the bits that we
are not interested in.
Zoltan Varga [Tue, 27 May 2014 18:41:57 +0000 (20:41 +0200)]
[llvm] Fix support for native types.