mono.git
10 years ago[GC] Make size dependent vars use size_t instead of glong or int.
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.

10 years ago[vsbuild] Update Makefiles to not generate the VS metadata for the 'basic' profile
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

10 years ago[build] Kill OpenSystem.C from the Makefile
Miguel de Icaza [Wed, 21 May 2014 02:31:44 +0000 (22:31 -0400)]
[build] Kill OpenSystem.C from the Makefile

10 years ago[build] Revert change in Facades parellism patch, since it works great for builds...
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

10 years ago[build] Kill OpenSystem.C, nobody ever used this
Miguel de Icaza [Wed, 21 May 2014 02:17:14 +0000 (22:17 -0400)]
[build] Kill OpenSystem.C, nobody ever used this

10 years ago[build] Fix the build for NET_4_5 (and maybe other profiles) from the pull request 981
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

10 years ago[Http]: Cleanup chained async operations; bug #19161.
Martin Baulig [Wed, 21 May 2014 00:14:32 +0000 (02:14 +0200)]
[Http]: Cleanup chained async operations; bug #19161.

10 years ago[system] Add new StreamWebSocket.cs file to the mobile profile list of sources
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

10 years ago[facades] Build the facades assemblies defined for the profile being built
Sebastien Pouliot [Tue, 20 May 2014 20:56:47 +0000 (16:56 -0400)]
[facades] Build the facades assemblies defined for the profile being built

10 years ago[sdb] Make sure the ids of unloading assemblies is the same in the ASSEMBLY_UNLOAD...
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.

10 years ago[runtime] Clean up an #ifdef block.
Zoltan Varga [Tue, 20 May 2014 18:01:08 +0000 (20:01 +0200)]
[runtime] Clean up an #ifdef block.

10 years agoMerge pull request #981 from methane/websocket
Marek Safar [Tue, 20 May 2014 17:56:13 +0000 (19:56 +0200)]
Merge pull request #981 from methane/websocket

[websocket] Implement HttpListenerContext.AcceptWebSocketAsync()

10 years ago[corlib] Fix public api
Marek Safar [Tue, 20 May 2014 17:35:00 +0000 (19:35 +0200)]
[corlib] Fix public api

10 years ago[llvm] Update to the llvm backend to work with llvm a82b09c3a3efbfaf2ce39adc113f9a545...
Zoltan Varga [Tue, 20 May 2014 17:09:19 +0000 (19:09 +0200)]
[llvm] Update to the llvm backend to work with llvm a82b09c3a3efbfaf2ce39adc113f9a5458cde398.

10 years ago[System.Core][ios] Fix value for ENAMETOOLONG (typo?) internal constant in System...
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

10 years ago[corlib] Add Guid hex format parsing with whitespaces. Fixes #19915
Marek Safar [Tue, 20 May 2014 14:36:41 +0000 (16:36 +0200)]
[corlib] Add Guid hex format parsing with whitespaces. Fixes #19915

10 years ago[llvm] Detect the cpu architecture and pass it to EngineBuilder, recent llvm versions...
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.

10 years ago[mcs] Use correct parent type in partial type base context
Marek Safar [Tue, 20 May 2014 12:04:45 +0000 (14:04 +0200)]
[mcs] Use correct parent type in partial type base context

10 years agoMerge pull request #1040 from ermshiperete/bug-xamarin-19856
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)

10 years agoAdd a missing assembly name to full type specification.
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

10 years ago[MS.Build] add internal expression debugging helper strings.
Atsushi Eno [Tue, 20 May 2014 07:18:55 +0000 (16:18 +0900)]
[MS.Build] add internal expression debugging helper strings.

10 years ago[MS.Build] process Choose/When/Otherwise elements (they were left forgotten).
Atsushi Eno [Tue, 20 May 2014 07:05:41 +0000 (16:05 +0900)]
[MS.Build] process Choose/When/Otherwise elements (they were left forgotten).

10 years ago[ms.build] remove unused code.
Atsushi Eno [Mon, 19 May 2014 11:06:54 +0000 (20:06 +0900)]
[ms.build] remove unused code.

10 years ago[xbuild] Add ReferenceOutputAssembly filter
Marek Safar [Mon, 19 May 2014 15:19:27 +0000 (17:19 +0200)]
[xbuild] Add ReferenceOutputAssembly filter

10 years agoRemove 2.0 defines
Marek Safar [Mon, 19 May 2014 13:58:22 +0000 (15:58 +0200)]
Remove 2.0 defines

10 years ago[build] Record extra library builds for our Visual Studio input files
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

10 years agoAdded System.IO.Compression implementation based on SharpCompress.
Joao Matos [Mon, 12 May 2014 18:16:54 +0000 (19:16 +0100)]
Added System.IO.Compression implementation based on SharpCompress.

10 years agoAdded SharpCompress Zip archive implementation.
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.

10 years ago[corlib] Fix the 2.0 testsuite.
Rodrigo Kumpera [Mon, 19 May 2014 14:19:17 +0000 (10:19 -0400)]
[corlib] Fix the 2.0 testsuite.

10 years ago[MS.Build] add "OS" _undocumented_ predefined property.
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.

10 years ago[MS.Build] now ITaskItem impl. in BuildEngine4 behaves consistent with MS.Build.Tasks.
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).

10 years ago[System.Net.Http] Parsing productinfo like headers with missing version. Fixes #19881
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

10 years ago[mcs] Add handling for special case cref types/members
Marek Safar [Sat, 17 May 2014 16:17:27 +0000 (18:17 +0200)]
[mcs] Add handling for special case cref types/members

10 years ago[xbuild] Add missing apis
Marek Safar [Sat, 17 May 2014 13:57:49 +0000 (15:57 +0200)]
[xbuild] Add missing apis

10 years ago[xbuild] Add string to char[] argument conversion
Marek Safar [Sat, 17 May 2014 09:25:54 +0000 (11:25 +0200)]
[xbuild] Add string to char[] argument conversion

10 years ago[build] System.Configuration: fix signatures.
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.

10 years agoMerge pull request #1042 from xplicit/fixdocs
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

10 years ago[docs] closing h2 tag
xplicit [Sun, 18 May 2014 00:43:13 +0000 (07:43 +0700)]
[docs] closing h2 tag

10 years agoadded closing h4 tag
xplicit [Sat, 17 May 2014 22:23:49 +0000 (05:23 +0700)]
added closing h4 tag

10 years ago[sdb] Avoid waiting for an answer for the START_BUFFERING/STOP_BUFFERING commands.
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.

10 years ago[sdb] Add support for client side packet buffering.
Zoltan Varga [Sat, 17 May 2014 21:27:46 +0000 (23:27 +0200)]
[sdb] Add support for client side packet buffering.

10 years ago[sdb] Add ability to buffer reply packets in the wire protocol when running on high...
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.

10 years ago[build/Facades] Parallelize the Facades directory build
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.

10 years ago[System] Throw IOE in more cases when dealing with an invalid Process object. Fixes...
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

10 years ago[corlib] Fix ClaimsIdentity default ctor.
Rodrigo Kumpera [Fri, 16 May 2014 20:03:59 +0000 (16:03 -0400)]
[corlib] Fix ClaimsIdentity default ctor.

10 years agoMerge pull request #1041 from mono/staged-cyclic-builds
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.

10 years ago[MWF] Fix opacity of form (#19856)
Eberhard Beilharz [Fri, 16 May 2014 16:11:07 +0000 (18:11 +0200)]
[MWF] Fix opacity of form (#19856)

10 years agoMerge pull request #1039 from joelmartinez/master
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.

10 years agoMerge pull request #943 from ermshiperete/bug-novell-325669
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)

10 years ago[MWF] Fix ComboBox list to not display offscreen (#15462)
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.

10 years ago[MWF] Fix Screen.FromRectangle (#8271)
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.

10 years ago[MWF] Implement multi-display support on Linux (Fixes #325669)
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).

10 years ago[monodoc] removed erroneous instance of 'FOO' string.
Joel Martinez [Fri, 16 May 2014 13:52:14 +0000 (09:52 -0400)]
[monodoc] removed erroneous instance of 'FOO' string.

10 years ago[MS.Build] for item metadata access expression, remove surrounding ' and ".
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.

10 years ago[MS.Build] more cleanup (remove debugging, kill extra code).
Atsushi Eno [Fri, 16 May 2014 05:50:19 +0000 (14:50 +0900)]
[MS.Build] more cleanup (remove debugging, kill extra code).

10 years agoMerge pull request #993 from ancailliau/fix-datacontract-json-serialization
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

10 years agoMerge pull request #925 from ermshiperete/novell-bug-602934
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

10 years agoMerge pull request #942 from ermshiperete/MessageBoxBugs
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

10 years agoMerge pull request #948 from ermshiperete/bug-xamarin-2394
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

10 years agoMerge pull request #926 from ermshiperete/novell-bug-674098
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

10 years agoRemoved unneeded NET_2_0 ifdefs
Mika Aalto [Sat, 15 Mar 2014 19:31:20 +0000 (21:31 +0200)]
Removed unneeded NET_2_0 ifdefs

10 years agoAdded implementation and unit tests for GetFieldValue, GetStream and GetTextReader...
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.

10 years agoMerge pull request #954 from ermshiperete/bug-xamarin-8907
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)

10 years agoMerge pull request #952 from ermshiperete/bug-xamarin-2912
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)

10 years agoMerge pull request #951 from ermshiperete/bug-xamarin-2462
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)

10 years agoMerge pull request #950 from ermshiperete/bug-xamarin-2787
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)

10 years agoMerge pull request #949 from ermshiperete/bug-novell-463149
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)

10 years agoMerge pull request #1038 from ermshiperete/bug-xamarin-19818
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)

10 years agoDrop mono.web.pc
Miguel de Icaza [Thu, 15 May 2014 19:54:06 +0000 (15:54 -0400)]
Drop mono.web.pc

10 years ago[runtime] Fix hazard pointer usage in the suspend sequence.
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.

10 years ago[runtime] Fix a hazard pointer leakage in mono_thread_info_resume.
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.

10 years ago[runtime] Pass the MonoThreadInfo explicitly to mono_thread_state_init_from_handle...
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.

10 years ago[Mono.Web] Further steps to kill Mono.web, this time the pkg-config files
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

10 years ago[io-layer] Added missing handle type in _wapi_handle_struct_size...
Alexis Christoforides [Thu, 15 May 2014 19:25:01 +0000 (15:25 -0400)]
[io-layer] Added missing handle type in _wapi_handle_struct_size...

10 years agoMerge pull request #1034 from joelmartinez/msdoc-import2
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

10 years ago[System.ComponentModel.DataAnnotations] Add UrlAttribute type.
Marek Safar [Thu, 15 May 2014 17:43:25 +0000 (19:43 +0200)]
[System.ComponentModel.DataAnnotations] Add UrlAttribute type.

10 years ago[io-layer] Fixed error condition in _wapi_handle_struct_size.
Alexis Christoforides [Thu, 15 May 2014 17:22:02 +0000 (13:22 -0400)]
[io-layer] Fixed error condition in _wapi_handle_struct_size.

10 years ago[runtime] Fix decoding of jagged arrays in custom attributes. Fixes #19825.
Zoltan Varga [Thu, 15 May 2014 17:26:58 +0000 (19:26 +0200)]
[runtime] Fix decoding of jagged arrays in custom attributes. Fixes #19825.

10 years agoFixes 60d7997e0233d8aee833dab5c7b5c14df124dd16 commit
Marek Safar [Thu, 15 May 2014 17:24:12 +0000 (19:24 +0200)]
Fixes 60d7997e0233d8aee833dab5c7b5c14df124dd16 commit

10 years ago[System.Security.Claims] Add ClaimsPrincipal
Miguel de Icaza [Thu, 15 May 2014 16:54:08 +0000 (12:54 -0400)]
[System.Security.Claims] Add ClaimsPrincipal

10 years ago[System.Security.Claims] Add basic support for Claims
Miguel de Icaza [Thu, 15 May 2014 15:40:08 +0000 (11:40 -0400)]
[System.Security.Claims] Add basic support for Claims

10 years ago[xbuild] Property Functions implementation
Marek Safar [Thu, 15 May 2014 15:45:39 +0000 (17:45 +0200)]
[xbuild] Property Functions implementation

10 years ago[MWF] Don't try to remove non-child control (#19818)
Eberhard Beilharz [Thu, 15 May 2014 15:28:57 +0000 (17:28 +0200)]
[MWF] Don't try to remove non-child control (#19818)

When removing a control from a controls collection we have to
check that the control is part of the collection. Otherwise
we shouldn't do anything.

10 years ago[MWF] Add unit test for #19818
Eberhard Beilharz [Thu, 15 May 2014 15:21:08 +0000 (17:21 +0200)]
[MWF] Add unit test for #19818

10 years ago[io-layer] Precise memcpy of handle structs.
Alexis Christoforides [Thu, 15 May 2014 14:57:11 +0000 (10:57 -0400)]
[io-layer] Precise memcpy of handle structs.
First issue found by AddressSanitizer.

10 years ago[MS.Build] cleanup ITaskItem evaluation related old code.
Atsushi Eno [Thu, 15 May 2014 14:40:07 +0000 (23:40 +0900)]
[MS.Build] cleanup ITaskItem evaluation related old code.

10 years ago[MS.Build] now ITaskItems are collected while evaluating expression and metadata...
Atsushi Eno [Thu, 15 May 2014 14:13:06 +0000 (23:13 +0900)]
[MS.Build] now ITaskItems are collected while evaluating expression and metadata is filled later.

It is kind of reverting previous implementation of item metadata for expression.
Code cleanup should follow.

10 years ago[MS.Build] skip null string entry as input to string.Join().
Atsushi Eno [Wed, 14 May 2014 09:21:05 +0000 (18:21 +0900)]
[MS.Build] skip null string entry as input to string.Join().

10 years ago[msbuild] ongoing ITaskItem input parameter handling improvements.
Atsushi Eno [Wed, 14 May 2014 08:26:13 +0000 (17:26 +0900)]
[msbuild] ongoing ITaskItem input parameter handling improvements.

Right now all the input parameters are computed based on string, and any
metadata items are simply chopped out when it is passed to a Task.
To fix this, we need to replace ExpandString() use with more complicated
evaluator that takes ITaskItem into consideration.

(It is not complete as of now; evaluation method needs to be replaced and
any regressions need to be fixed.)

10 years ago[MS.Build] more of the same (remove obsolete comment).
Atsushi Eno [Mon, 12 May 2014 08:38:37 +0000 (17:38 +0900)]
[MS.Build] more of the same (remove obsolete comment).

10 years ago[MS.Build] remove extraneous expression evaluation code.
Atsushi Eno [Mon, 12 May 2014 08:23:03 +0000 (17:23 +0900)]
[MS.Build] remove extraneous expression evaluation code.

10 years ago[MS.Build] add another expression expansion test.
Atsushi Eno [Mon, 12 May 2014 08:22:35 +0000 (17:22 +0900)]
[MS.Build] add another expression expansion test.

10 years ago[MS.Build] output item was dropping metadata after running task.
Atsushi Eno [Mon, 12 May 2014 07:10:46 +0000 (16:10 +0900)]
[MS.Build] output item was dropping metadata after running task.

10 years ago[mprof-report] Add counter filter when not in verbose mode
Ludovic Henry [Wed, 14 May 2014 14:20:38 +0000 (10:20 -0400)]
[mprof-report] Add counter filter when not in verbose mode

This will reduce the amount of printed counters in non verbose mode.

10 years ago[mprof-report] Extract the counter key prefix of dump_counters_value
Ludovic Henry [Wed, 14 May 2014 14:19:40 +0000 (10:19 -0400)]
[mprof-report] Extract the counter key prefix of dump_counters_value

10 years ago[runtime] Avoid calling mono_thread_current () in sgen_thread_detach (), since it...
Zoltan Varga [Thu, 15 May 2014 12:05:03 +0000 (14:05 +0200)]
[runtime] Avoid calling mono_thread_current () in sgen_thread_detach (), since it can construct objects. Fixes #19755.

10 years agoAdjust the path for Mono.Security
Miguel de Icaza [Thu, 15 May 2014 03:25:28 +0000 (23:25 -0400)]
Adjust the path for Mono.Security

10 years agoLast of the cycles is gone
Miguel de Icaza [Thu, 15 May 2014 03:06:19 +0000 (23:06 -0400)]
Last of the cycles is gone

10 years ago[mdoc] Fix NullReferenceException when importing @name attribute.
Jonathan Pryor [Wed, 14 May 2014 20:04:05 +0000 (16:04 -0400)]
[mdoc] Fix NullReferenceException when importing @name attribute.

(Reported by directhex on #mono 2014-05-14 at 14:28 EDT.)

When importing Microsoft XML Documentation, if a //altmember/@name,
//exception/@name, or //permission/@name attribute is encountered then
mdoc will die with a NullReferenceException:

mdoc: System.NullReferenceException: Object reference not set to an instance of an object
  at Mono.Documentation.MsxdocDocumentationImporter.ImportDocumentation (Mono.Documentation.DocsNodeInfo info)
  at Mono.Documentation.MDocUpdater.MakeDocNode (Mono.Documentation.DocsNodeInfo info)
  at Mono.Documentation.MDocUpdater.UpdateMember (Mono.Documentation.DocsNodeInfo info)
  at Mono.Documentation.MDocUpdater.MakeMember (System.Xml.XmlDocument doc, Mono.Documentation.DocsNodeInfo info)
  at Mono.Documentation.MDocUpdater.DoUpdateType2 (System.String message, System.Xml.XmlDocument basefile, Mono.Cecil.TypeDefinition type, System.String output, Boolean insertSince)
  at Mono.Documentation.MDocUpdater.StubType (Mono.Cecil.TypeDefinition type, System.String output)
  at Mono.Documentation.MDocUpdater.DoUpdateType (Mono.Cecil.TypeDefinition type, System.String basepath, System.String dest)
  at Mono.Documentation.MDocUpdater.DoUpdateAssembly (Mono.Cecil.AssemblyDefinition assembly, System.Xml.XmlElement index_types, System.String source, System.String dest, System.Collections.Generic.HashSet`1 goodfiles)
  at Mono.Documentation.MDocUpdater.DoUpdateAssemblies (System.String source, System.String dest)
  at Mono.Documentation.MDocUpdater.Run (IEnumerable`1 args)
  at Mono.Documentation.MDoc.Run (System.String[] args)
  at Mono.Documentation.MDoc.Main (System.String[] args)

The cause of the NullReferenceException is due to inconsistent
checking: we check that _either_ `child.Attributes["cref"]` OR
`child.Attributes["name"]` is not null, and if one of them IS non-null
then we just grab `child.Attributes["cref"].Value`, which will throw a
NullReferenceException if the @name attribute was present but not the
@cref attribute.

The fix is to be consistent: once we grab an XmlAttribute, use the
already looked up XmlAttribute, don't re-look it up.

10 years ago[runtime] Avoid passing commands to lldb using the python api, it doesn't seem to...
Zoltan Varga [Wed, 14 May 2014 19:23:37 +0000 (21:23 +0200)]
[runtime] Avoid passing commands to lldb using the python api, it doesn't seem to work well in script files. Fixes #19732.