Atsushi Eno [Thu, 22 May 2014 07:40:17 +0000 (16:40 +0900)]
Merge pull request #924 from marcusva/master
- Use the correct absolute path for relative paths within a rooted path
Marek Safar [Thu, 22 May 2014 07:13:56 +0000 (09:13 +0200)]
Merge pull request #164 from LogosBible/AppSettingsFileChanges
Use the configuration file path directory for AppSettings File directory
Alex Rønne Petersen [Thu, 22 May 2014 07:01:02 +0000 (09:01 +0200)]
Merge pull request #1045 from sethjackson/master
kinfo_proc2 was removed from OpenBSD. Use kinfo_proc instead.
Alex Rønne Petersen [Thu, 22 May 2014 06:59:55 +0000 (08:59 +0200)]
Merge pull request #1046 from sethjackson/null-gc
Allow building with no GC again.
Marek Safar [Thu, 22 May 2014 06:37:14 +0000 (08:37 +0200)]
[mcs] Emit better code for null coalescing operator with nullable return type. Fixes #19702
Seth Jackson [Wed, 21 May 2014 02:33:12 +0000 (22:33 -0400)]
Allow building with no GC again.
These changes are released under the MIT license.
Seth Jackson [Tue, 20 May 2014 23:31:16 +0000 (19:31 -0400)]
kinfo_proc2 was removed from OpenBSD. Use kinfo_proc instead.
This change is released under the MIT license with permission from the
original author Robert Nagy.
Alex Rønne Petersen [Wed, 21 May 2014 19:09:00 +0000 (21:09 +0200)]
Merge pull request #1049 from ranma42/fix-check-gdi-sibling
Fix checking when libgdi is configured as "sibling"
Andrea Canciani [Wed, 21 May 2014 17:28:20 +0000 (19:28 +0200)]
Fix checking when libgdi is configured as "sibling"
When libgdiplus is configured as sibling, it is available in the
libgdiplus_loc path. This path was added to runtime/mono/config, but
it was later overridden by the prefix-based path.
Using the same approach as for libMonoPosixHelper fixed the lookup of
the library (performed, for example, when testing
MonoTests.System.Drawing without installing libgdiplus).
This change is released under the MIT license.
Martin Baulig [Wed, 21 May 2014 16:45:08 +0000 (18:45 +0200)]
[Http]: Cleanup and simplify the ServicePoint's connection group list.
Alex Rønne Petersen [Wed, 21 May 2014 15:59:34 +0000 (17:59 +0200)]
Merge pull request #1032 from miguelzf/master
[Jay] Fix memory corruptions: out-of-bounds and uninitialized value.
Alex Rønne Petersen [Wed, 21 May 2014 15:10:31 +0000 (17:10 +0200)]
Merge pull request #1044 from ranma42/fix-icc-build
Fix building mono with icc
Andrea Canciani [Tue, 20 May 2014 13:32:11 +0000 (15:32 +0200)]
Fix building mono with icc
When compiling mono with icc (ICC) 14.0.0
20130728 the build fails on
CC libmonoruntimesgen_la-sgen-stw.lo
with the following error:
Assembler messages:
Error: suffix or operands invalid for `lea'
Apparently icc (or the assembler) dislikes the rip-based LEA
operation. This can be worked around by manually assembling the
instruction and replacing it with the corresponding byte sequence.
This change is released under the MIT license.
Marek Safar [Wed, 21 May 2014 10:47:59 +0000 (12:47 +0200)]
[mcs] Add explicit array conversion involving type parameters. Fixes #18474
Marek Safar [Wed, 21 May 2014 09:03:08 +0000 (11:03 +0200)]
[mcs] Undo implicit object prefix for cref interface references
Atsushi Eno [Wed, 21 May 2014 09:56:59 +0000 (18:56 +0900)]
[MS.Build] fix support for MSBuildExtensionsPath* to try more than one paths.
So, it seems that where MSBuildExtensionsPath* is evaluated should be likely
evaluated multiple times, and find actually matching files in one of those.
F# build .targets file expects that.
Since it is almost impossible to assume in which usage scenario it is going
to be evaluated multiple times (those properties can be used anywhere by
simple $(...) syntax), it limits the attempts only for Import() so far.
Old xbuild actually does so too. That way, the particular F# issue is fixed.
Atsushi Eno [Wed, 21 May 2014 09:55:06 +0000 (18:55 +0900)]
[MS.Build] Fix metadata item parsing wrong indexing.
Marek Safar [Wed, 21 May 2014 08:19:25 +0000 (10:19 +0200)]
[mcs] Explicit type parameter conversion to generic parameter
Rodrigo Kumpera [Wed, 21 May 2014 04:00:25 +0000 (00:00 -0400)]
[GC] Make size dependent vars use size_t instead of glong or int.
This opens the door for huge nurseries.
Miguel de Icaza [Wed, 21 May 2014 02:31:49 +0000 (22:31 -0400)]
[vsbuild] Update Makefiles to not generate the VS metadata for the 'basic' profile
Miguel de Icaza [Wed, 21 May 2014 02:31:44 +0000 (22:31 -0400)]
[build] Kill OpenSystem.C from the Makefile
Miguel de Icaza [Wed, 21 May 2014 02:30:29 +0000 (22:30 -0400)]
[build] Revert change in Facades parellism patch, since it works great for builds, but not for other recursive targets (ie: update-csproj, maybe others
Miguel de Icaza [Wed, 21 May 2014 02:17:14 +0000 (22:17 -0400)]
[build] Kill OpenSystem.C, nobody ever used this
Miguel de Icaza [Wed, 21 May 2014 02:04:29 +0000 (22:04 -0400)]
[build] Fix the build for NET_4_5 (and maybe other profiles) from the pull request 981
Martin Baulig [Wed, 21 May 2014 00:14:32 +0000 (02:14 +0200)]
[Http]: Cleanup chained async operations; bug #19161.
Sebastien Pouliot [Tue, 20 May 2014 21:29:12 +0000 (17:29 -0400)]
[system] Add new StreamWebSocket.cs file to the mobile profile list of sources
Sebastien Pouliot [Tue, 20 May 2014 20:56:47 +0000 (16:56 -0400)]
[facades] Build the facades assemblies defined for the profile being built
Zoltan Varga [Tue, 20 May 2014 19:28:31 +0000 (21:28 +0200)]
[sdb] Make sure the ids of unloading assemblies is the same in the ASSEMBLY_UNLOAD event as it was in the ASSEMBLY_LOAD event.
Zoltan Varga [Tue, 20 May 2014 18:01:08 +0000 (20:01 +0200)]
[runtime] Clean up an #ifdef block.
Marek Safar [Tue, 20 May 2014 17:56:13 +0000 (19:56 +0200)]
Merge pull request #981 from methane/websocket
[websocket] Implement HttpListenerContext.AcceptWebSocketAsync()
Marek Safar [Tue, 20 May 2014 17:35:00 +0000 (19:35 +0200)]
[corlib] Fix public api
Zoltan Varga [Tue, 20 May 2014 17:09:19 +0000 (19:09 +0200)]
[llvm] Update to the llvm backend to work with llvm
a82b09c3a3efbfaf2ce39adc113f9a5458cde398.
Sebastien Pouliot [Tue, 20 May 2014 15:24:40 +0000 (11:24 -0400)]
[System.Core][ios] Fix value for ENAMETOOLONG (typo?) internal constant in System.IO.MemoryMappedFiles.MemoryMappedFile
Marek Safar [Tue, 20 May 2014 14:36:41 +0000 (16:36 +0200)]
[corlib] Add Guid hex format parsing with whitespaces. Fixes #19915
Zoltan Varga [Tue, 20 May 2014 13:00:23 +0000 (15:00 +0200)]
[llvm] Detect the cpu architecture and pass it to EngineBuilder, recent llvm versions require this to be able to support sse etc.
Marek Safar [Tue, 20 May 2014 12:04:45 +0000 (14:04 +0200)]
[mcs] Use correct parent type in partial type base context
Alexis Christoforides [Tue, 20 May 2014 11:22:56 +0000 (07:22 -0400)]
Merge pull request #1040 from ermshiperete/bug-xamarin-19856
[MWF] Fix opacity of form (#19856)
Marek Habersack [Tue, 20 May 2014 08:12:52 +0000 (10:12 +0200)]
Add a missing assembly name to full type specification.
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=19839
Atsushi Eno [Tue, 20 May 2014 07:18:55 +0000 (16:18 +0900)]
[MS.Build] add internal expression debugging helper strings.
Atsushi Eno [Tue, 20 May 2014 07:05:41 +0000 (16:05 +0900)]
[MS.Build] process Choose/When/Otherwise elements (they were left forgotten).
Atsushi Eno [Mon, 19 May 2014 11:06:54 +0000 (20:06 +0900)]
[ms.build] remove unused code.
Marek Safar [Mon, 19 May 2014 15:19:27 +0000 (17:19 +0200)]
[xbuild] Add ReferenceOutputAssembly filter
Marek Safar [Mon, 19 May 2014 13:58:22 +0000 (15:58 +0200)]
Remove 2.0 defines
Miguel de Icaza [Tue, 20 May 2014 02:54:53 +0000 (22:54 -0400)]
[build] Record extra library builds for our Visual Studio input files
Added local targets (csproj-local) to all the assemblies that have
staged builds to dump their build information for the underlying
dependencies.
This information is needed to create the new Visual Studio csproj
files.
This commit also updates the collected build metadata from running:
make update-csproj
make package-inputs
As described in msvc/scripts/README
Joao Matos [Mon, 12 May 2014 18:16:54 +0000 (19:16 +0100)]
Added System.IO.Compression implementation based on SharpCompress.
Joao Matos [Mon, 12 May 2014 18:09:37 +0000 (19:09 +0100)]
Added SharpCompress Zip archive implementation.
This copy is based on our own fork at mono/sharpcompress.
Rodrigo Kumpera [Mon, 19 May 2014 14:19:17 +0000 (10:19 -0400)]
[corlib] Fix the 2.0 testsuite.
Atsushi Eno [Mon, 19 May 2014 10:33:52 +0000 (19:33 +0900)]
[MS.Build] add "OS" _undocumented_ predefined property.
It is used by Xamarin.Android to determine which compiler to use (csc or smcs)
and lack of this property simply caused Csc build task failure.
Atsushi Eno [Fri, 16 May 2014 17:52:39 +0000 (02:52 +0900)]
[MS.Build] now ITaskItem impl. in BuildEngine4 behaves consistent with MS.Build.Tasks.
To be precise, now the implementation returns ItemSpec for ToString().
WriteLinesIntoFile task writes ITaskItem[] lines into a file, without calling
ItemSpec.
Maybe it is better to fix Tasks.dll but I'm unsure about xbuild compatibility.
This missing ToString() override caused target framework monikor output
to become invalid source file (i.e. it used to write ItemSpec as code(!) but
this ITaskItem impl. in BuildEngine4 just wrote its type name as .ToString()
result).
Marek Safar [Mon, 19 May 2014 06:20:36 +0000 (08:20 +0200)]
[System.Net.Http] Parsing productinfo like headers with missing version. Fixes #19881
Marek Safar [Sat, 17 May 2014 16:17:27 +0000 (18:17 +0200)]
[mcs] Add handling for special case cref types/members
Marek Safar [Sat, 17 May 2014 13:57:49 +0000 (15:57 +0200)]
[xbuild] Add missing apis
Marek Safar [Sat, 17 May 2014 09:25:54 +0000 (11:25 +0200)]
[xbuild] Add string to char[] argument conversion
Miguel de Icaza [Mon, 19 May 2014 03:11:29 +0000 (23:11 -0400)]
[build] System.Configuration: fix signatures.
We must use the secxml library directory to reference System, not
bare.
The bare build does not contain a full signature for some interfaces
(there is a using XmlNode = object in a few interfaces that
System.Configuration depends on).
So System.Configuration must reference the System that has been
compiled with XML support.
Zoltan Varga [Sun, 18 May 2014 10:41:53 +0000 (12:41 +0200)]
Merge pull request #1042 from xplicit/fixdocs
[docs] added mising closing h4 tag
xplicit [Sun, 18 May 2014 00:43:13 +0000 (07:43 +0700)]
[docs] closing h2 tag
xplicit [Sat, 17 May 2014 22:23:49 +0000 (05:23 +0700)]
added closing h4 tag
Zoltan Varga [Sat, 17 May 2014 21:39:22 +0000 (23:39 +0200)]
[sdb] Avoid waiting for an answer for the START_BUFFERING/STOP_BUFFERING commands.
Zoltan Varga [Sat, 17 May 2014 21:27:46 +0000 (23:27 +0200)]
[sdb] Add support for client side packet buffering.
Zoltan Varga [Sat, 17 May 2014 19:44:53 +0000 (21:44 +0200)]
[sdb] Add ability to buffer reply packets in the wire protocol when running on high latency links like usb. Uses a pair of START_BUFFERING/STOP_BUFFERING protocol commands.
Miguel de Icaza [Sat, 17 May 2014 01:48:01 +0000 (21:48 -0400)]
[build/Facades] Parallelize the Facades directory build
The parallelization is done by overriding the default "all" target
and instead of using the serial subdirectory processing that goes
over the SUBDIR and xx_SUBDIR rules, we turn the list of
subdirectories into the name of the target, for example:
System.Collections.Concurrent
becomes:
../../class/lib/net_4_5/Facades/System.Collections.Concurrent.dll
Then a pattern is added to handle that rule:
$(target_dir)/%.dll:
This allows the build to be parallized.
Rodrigo Kumpera [Fri, 16 May 2014 20:30:56 +0000 (16:30 -0400)]
[System] Throw IOE in more cases when dealing with an invalid Process object. Fixes #19864
Rodrigo Kumpera [Fri, 16 May 2014 20:03:59 +0000 (16:03 -0400)]
[corlib] Fix ClaimsIdentity default ctor.
Miguel de Icaza [Fri, 16 May 2014 19:48:41 +0000 (15:48 -0400)]
Merge pull request #1041 from mono/staged-cyclic-builds
This patch introduces an infrastructure to stage the builds for the core
assemblies that have cyclic dependencies. This deals directly with
the following cycle:
System.dll requires:
System.Configuration.dll
Mono.Security.dll
System.Xml.dll
They all require System.dll to be built
System.Xml requires:
System.dll
System.Configuration.dll
System.Security.dll requires:
System.dll
Mono.Security.dll
System.Xml.dll
Principle
=========
The patch works by directing the build infrastructure to place
intermediate build steps on their own directory. For example the
first System.dll build that only takes a dependency in mscorlib.dll is
placed not under the final directory but on a subdirectory called
"bare".
The second time that System.dll is built (after Mono.Security and
System.Xml have been built) is placed on the "secxml" directory.
The third time is the final build, and that one ends in the profile
directory.
The same principle is applied to System.Xml.
Better Dependency Tracking
==========================
To handle the multiple stages, the new Makefiles for the various
parties involved in this loop are now able to build their
dependencies. This means that typing "make" on System.Security or
System.Xml or System will build all of the intermediate steps as
required, without needing the toplevel Makefile to perform multiple
build shots to incrementally build the result.
Bug fixes
=========
We must have regressed at some point the build of System.Xml as we
were only doing one build of it, one without System.Configuration
support. This patch introduces back the changes to build System.Xml
in two steps.
This patch fixes the setup where we end up rebuilding System.dll and
overwriting it two times as the build progresses as a side effect
(this is what required LIBRARY_USE_INTERMEDIATE_FILE).
Details
=======
library.make:
Introduces a new "the_libdir_base" which is the raw directory
where the final output will go. This points to the same location
that libdir_base previously pointed to.
The existing libdir_base is modified to contain an optional
"intermediate" directory, where intermediate builds can be
placed.
Eberhard Beilharz [Fri, 16 May 2014 16:11:07 +0000 (18:11 +0200)]
[MWF] Fix opacity of form (#19856)
Miguel de Icaza [Fri, 16 May 2014 16:13:53 +0000 (12:13 -0400)]
Merge pull request #1039 from joelmartinez/master
[monodoc] removed erroneous instance of 'FOO' string.
Miguel de Icaza [Fri, 16 May 2014 14:54:22 +0000 (10:54 -0400)]
Merge pull request #943 from ermshiperete/bug-novell-325669
[MWF] Implement multi-display support on Linux (Fixes #325669)
Stephen McConnel [Thu, 17 Oct 2013 16:43:42 +0000 (11:43 -0500)]
[MWF] Fix ComboBox list to not display offscreen (#15462)
The fix mimics the behavior of Windows/.NET.
Stephen McConnel [Fri, 9 Nov 2012 00:22:59 +0000 (18:22 -0600)]
[MWF] Fix Screen.FromRectangle (#8271)
The Screen.FromRectangle method was too simple minded. It did not try to
find the best match for a screen when the system has more than one screen.
The new implementation makes at least some effort to find the closest
screen with the most overlap with the rectangle.
Eberhard Beilharz [Fri, 16 May 2014 14:21:51 +0000 (16:21 +0200)]
[MWF] Implement multi-display support on Linux (Fixes #325669)
The number of displays and sizes can be retrieved with the help of
libXinerama. The implementation was done in a way that is backwards
compatible, so on non-Linux systems or when libXinerama is not
available the behavior will be the same as before.
Also fixed the implementation of FormStartPosition.CenterScreen to
bring up the form centered on the current display (with the current
display being either the screen the top left corner of the owner
form is on, or if there is no owner the screen that has the mouse
pointer). This fixes Novell bug #325669 on Linux
(https://bugzilla.novell.com/show_bug.cgi?id=325669).
Joel Martinez [Fri, 16 May 2014 13:52:14 +0000 (09:52 -0400)]
[monodoc] removed erroneous instance of 'FOO' string.
Atsushi Eno [Fri, 16 May 2014 12:58:38 +0000 (21:58 +0900)]
[MS.Build] for item metadata access expression, remove surrounding ' and ".
The test case would explain what is not desired there.
Atsushi Eno [Fri, 16 May 2014 05:50:19 +0000 (14:50 +0900)]
[MS.Build] more cleanup (remove debugging, kill extra code).
Miguel de Icaza [Thu, 15 May 2014 21:34:53 +0000 (17:34 -0400)]
Merge pull request #993 from ancailliau/fix-datacontract-json-serialization
[Fix] DataContractJsonSerializer fails serializing/deserializing collections
Miguel de Icaza [Thu, 15 May 2014 21:27:39 +0000 (17:27 -0400)]
Merge pull request #925 from ermshiperete/novell-bug-602934
[Printing] Fix for Novell bug #602934: improve values that printer settings return
Miguel de Icaza [Thu, 15 May 2014 21:26:13 +0000 (17:26 -0400)]
Merge pull request #942 from ermshiperete/MessageBoxBugs
[MWF] Improvements to MessageBox width
Miguel de Icaza [Thu, 15 May 2014 21:22:31 +0000 (17:22 -0400)]
Merge pull request #948 from ermshiperete/bug-xamarin-2394
[MWF] Fixes related to Height and MinimumHeight in DataGridView
Miguel de Icaza [Thu, 15 May 2014 21:21:55 +0000 (17:21 -0400)]
Merge pull request #926 from ermshiperete/novell-bug-674098
[MWF] Fix hang if clipboard source application closes down
Mika Aalto [Sat, 15 Mar 2014 19:31:20 +0000 (21:31 +0200)]
Removed unneeded NET_2_0 ifdefs
Mika Aalto [Sat, 15 Mar 2014 19:08:18 +0000 (21:08 +0200)]
Added implementation and unit tests for GetFieldValue, GetStream and GetTextReader methods in DbDataReader class.
Used https://github.com/matthid/mono/commit/
51e808b3836e9ba32901762ea23941ee60b2746d as reference.
Miguel de Icaza [Thu, 15 May 2014 21:13:21 +0000 (17:13 -0400)]
Merge pull request #954 from ermshiperete/bug-xamarin-8907
[MWF] Fix TableLayoutPanel layout bug (#8907)
Miguel de Icaza [Thu, 15 May 2014 21:12:51 +0000 (17:12 -0400)]
Merge pull request #952 from ermshiperete/bug-xamarin-2912
[MWF] Fix AutoSize behavior of FlowLayoutPanel (#2912)
Miguel de Icaza [Thu, 15 May 2014 21:11:46 +0000 (17:11 -0400)]
Merge pull request #951 from ermshiperete/bug-xamarin-2462
[MWF] Fix clipping of last line of dropdown (#2462)
Miguel de Icaza [Thu, 15 May 2014 21:11:14 +0000 (17:11 -0400)]
Merge pull request #950 from ermshiperete/bug-xamarin-2787
[MWF] Release capture when clicking LinkLabel (Fixes #2787)
Miguel de Icaza [Thu, 15 May 2014 21:08:54 +0000 (17:08 -0400)]
Merge pull request #949 from ermshiperete/bug-novell-463149
[MWF] Fix text position on buttons (#463149)
Miguel de Icaza [Thu, 15 May 2014 20:10:21 +0000 (16:10 -0400)]
Merge pull request #1038 from ermshiperete/bug-xamarin-19818
[MWF] Don't try to remove non-child control (#19818)
Miguel de Icaza [Thu, 15 May 2014 19:54:06 +0000 (15:54 -0400)]
Drop mono.web.pc
Rodrigo Kumpera [Thu, 15 May 2014 19:42:22 +0000 (15:42 -0400)]
[runtime] Fix hazard pointer usage in the suspend sequence.
We now have a pair of functions to match mono_thread_info_safe_suspend_sync.
They should be used instead of mono_thread_resume as they do the right thing
WRT to hazard pointers.
Rodrigo Kumpera [Wed, 14 May 2014 22:45:45 +0000 (18:45 -0400)]
[runtime] Fix a hazard pointer leakage in mono_thread_info_resume.
mono_thread_info_lookup leaves the current value on hazard pointer 1,
so all callers must clean it afterwards. This was not done in all cases
by mono_thread_info_resume.
Rodrigo Kumpera [Wed, 14 May 2014 22:40:59 +0000 (18:40 -0400)]
[runtime] Pass the MonoThreadInfo explicitly to mono_thread_state_init_from_handle to avoid nested hazzard point usage.
This function was called from code that uses hazard pointers, so their values could get overridden.
Besides that, we did not clean up the hazard pointer table afterwards, which is wrong too.
Miguel de Icaza [Thu, 15 May 2014 19:44:27 +0000 (15:44 -0400)]
[Mono.Web] Further steps to kill Mono.web, this time the pkg-config files
Alexis Christoforides [Thu, 15 May 2014 19:25:01 +0000 (15:25 -0400)]
[io-layer] Added missing handle type in _wapi_handle_struct_size...
Miguel de Icaza [Thu, 15 May 2014 18:48:07 +0000 (14:48 -0400)]
Merge pull request #1034 from joelmartinez/msdoc-import2
Second pass of Microsoft Documentation import
Marek Safar [Thu, 15 May 2014 17:43:25 +0000 (19:43 +0200)]
[System.ComponentModel.DataAnnotations] Add UrlAttribute type.
Alexis Christoforides [Thu, 15 May 2014 17:22:02 +0000 (13:22 -0400)]
[io-layer] Fixed error condition in _wapi_handle_struct_size.
Zoltan Varga [Thu, 15 May 2014 17:26:58 +0000 (19:26 +0200)]
[runtime] Fix decoding of jagged arrays in custom attributes. Fixes #19825.
Marek Safar [Thu, 15 May 2014 17:24:12 +0000 (19:24 +0200)]
Miguel de Icaza [Thu, 15 May 2014 16:54:08 +0000 (12:54 -0400)]
[System.Security.Claims] Add ClaimsPrincipal
Miguel de Icaza [Thu, 15 May 2014 15:40:08 +0000 (11:40 -0400)]
[System.Security.Claims] Add basic support for Claims
Marek Safar [Thu, 15 May 2014 15:45:39 +0000 (17:45 +0200)]
[xbuild] Property Functions implementation