mono.git
10 years agoMerge pull request #822 from carlosmn/asp-pc
Michael Hutchinson [Fri, 3 Jan 2014 01:19:57 +0000 (17:19 -0800)]
Merge pull request #822 from carlosmn/asp-pc

Use full path for aspnetwebstack pkg-config file

10 years agoMerge pull request #849 from antoniusriha/pcCacheBug
Michael Hutchinson [Fri, 3 Jan 2014 00:58:37 +0000 (16:58 -0800)]
Merge pull request #849 from antoniusriha/pcCacheBug

Fix for PkgConfig cache orphaned entries bug (xam bug #11133)

10 years agoMerge pull request #838 from desdesdes/master
Rodrigo Kumpera [Thu, 2 Jan 2014 23:49:51 +0000 (15:49 -0800)]
Merge pull request #838 from desdesdes/master

Implementation of System.Reflection.ParameterInfo.HasDefaultValue

10 years agoImplementation of System.Reflection.ParameterInfo.HasDefaultValue
Bart Vries [Thu, 2 Jan 2014 23:15:52 +0000 (00:15 +0100)]
Implementation of System.Reflection.ParameterInfo.HasDefaultValue

10 years agoRemove obsolete pc infos from pc cache on Update()
Antonius Riha [Mon, 30 Dec 2013 20:27:37 +0000 (21:27 +0100)]
Remove obsolete pc infos from pc cache on Update()

The pc info file cache (~/.config/xbuild/pkgconfig-cache-2.xml) stored data
for files which don't exist anymore on the system which causes
https://bugzilla.xamarin.com/show_bug.cgi?id=11133.

This patch removes obsolete entries from the cache when
PcFileCache.Update() is called.

10 years agoRemove redundant pc info store.
Antonius Riha [Mon, 30 Dec 2013 12:44:47 +0000 (13:44 +0100)]
Remove redundant pc info store.

* PcFileCache.filesByFolders held copies of the package infos in
  PcFileCache.infos grouped by the resp. pkg config directories the pc files
  resided in.

* Rewrite GetPackages:
    - Returns a snapshot-in-time IEnumerable<PackageInfo> ordered by pkg config
      folder.
    - Noramilzes paths of pkgConfigDirs parameter

* Remove now superfluous method PcFileCache.Add(,,)

10 years agoAdd a test for PcFileCache.GetPackages()
Antonius Riha [Mon, 30 Dec 2013 12:03:31 +0000 (13:03 +0100)]
Add a test for PcFileCache.GetPackages()

10 years agoSetup PcFileCache stubs and ctor tests
Antonius Riha [Sun, 29 Dec 2013 23:23:35 +0000 (00:23 +0100)]
Setup PcFileCache stubs and ctor tests

10 years agoMove internals from Microsoft.Build.Tasks to new dll Mono.XBuild.Tasks
Antonius Riha [Mon, 30 Dec 2013 20:41:32 +0000 (21:41 +0100)]
Move internals from Microsoft.Build.Tasks to new dll Mono.XBuild.Tasks

All internal members (such as PcFileCache) have been made public to make them unit-testable.

* mcs/class/Makefile: Add Mono.XBuild.Tasks as build target

* mcs/class/Microsoft.Build.Tasks/Makefile: Add Mono.XBuild.Tasks.dll as build
  reference of Microsoft.Build.Tasks.dll

* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_2_0.csproj:
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_3_5.csproj:
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_0.csproj:
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks-net_4_5.csproj: Remove
  source files, which have been moved to Mono.XBuild.Tasks.dll and add a
  project reference to Mono.XBuild.Tasks.dll

* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks.dll.sources: Remove
  files that have been moved to Mono.XBuild.Tasks.dll from
  Microsoft.Build.Tasks.dll

* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/PcFileCache.cs:
* mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/LibraryPcFileCache.cs:
  This file was moved to Mono.XBuild.Tasks.dll

* mcs/class/Mono.XBuild.Tasks/Assembly/AssemblyInfo.cs: Moved from
  Microsoft.Build.Tasks.dll. Signing key is mono.pub.

* mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks/PcFileCache.cs:
* mcs/class/Mono.XBuild.Tasks/Mono.XBuild.Tasks/LibraryPcFileCache.cs:
  Moved from Microsoft.Build.Tasks.dll. All internal members have been made
  public.

* mcs/class/Mono.XBuild.Tasks/Test/Mono.XBuild.Tasks/PcFileCacheTest.cs: Create
  test file stub.

10 years ago[mcs] Don't wrap reference type values in explicit nullable conversion. Fixes #16900
Marek Safar [Thu, 2 Jan 2014 17:52:13 +0000 (18:52 +0100)]
[mcs] Don't wrap reference type values in explicit nullable conversion. Fixes #16900

10 years agoMerge pull request #855 from echampet/spec
Marek Safar [Thu, 2 Jan 2014 17:37:47 +0000 (09:37 -0800)]
Merge pull request #855 from echampet/spec

Fix a small typo in mono-core.spec.in breaking the build

10 years agoMerge pull request #854 from antoniusriha/sortDescription
Marek Safar [Thu, 2 Jan 2014 16:47:42 +0000 (08:47 -0800)]
Merge pull request #854 from antoniusriha/sortDescription

Make SortDescriptionCollection returned by SortDescriptionCollection.Empty read-only

10 years ago[eval] Consider base type members in tab completion
Marek Safar [Thu, 2 Jan 2014 16:40:10 +0000 (17:40 +0100)]
[eval] Consider base type members in tab completion

10 years agoMake empty SortDescriptionCollection read-only.
Antonius Riha [Thu, 2 Jan 2014 16:27:31 +0000 (17:27 +0100)]
Make empty SortDescriptionCollection read-only.

This is in accordance with the behavior of SortDescriptionCollection in .NET.

10 years agoAdd tests for empty, non-modifiable SortDesriptionCollection
Antonius Riha [Thu, 2 Jan 2014 16:24:28 +0000 (17:24 +0100)]
Add tests for empty, non-modifiable SortDesriptionCollection

10 years agoFix a small typo in mono-core.spec.in breaking the build
Etienne CHAMPETIER [Thu, 2 Jan 2014 16:02:26 +0000 (17:02 +0100)]
Fix a small typo in mono-core.spec.in breaking the build

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
10 years ago[mcs] Restore async modifiers context after nested enums declaration. Fixes #16997
Marek Safar [Thu, 2 Jan 2014 13:18:42 +0000 (14:18 +0100)]
[mcs] Restore async modifiers context after nested enums declaration. Fixes #16997

10 years ago[corlib] Promise style tasks cannot be started manually. Fixes #16857
Marek Safar [Thu, 2 Jan 2014 13:13:00 +0000 (14:13 +0100)]
[corlib] Promise style tasks cannot be started manually. Fixes #16857

10 years ago[system] Make ICommand 4.5 profile only
Marek Safar [Wed, 1 Jan 2014 14:30:06 +0000 (15:30 +0100)]
[system] Make ICommand 4.5 profile only

10 years ago[corlib] Thread.GetNamedDataSlot allocates slot on failure. Fixes #16788
Marek Safar [Wed, 1 Jan 2014 14:28:40 +0000 (15:28 +0100)]
[corlib] Thread.GetNamedDataSlot allocates slot on failure. Fixes #16788

10 years agoMerge pull request #851 from ranma42/fix_16992v2
Marek Safar [Wed, 1 Jan 2014 10:01:09 +0000 (02:01 -0800)]
Merge pull request #851 from ranma42/fix_16992v2

Fix bug #16992

10 years agoUse LIFO policy for CancellationTokenSource
Andrea Canciani [Tue, 31 Dec 2013 14:59:22 +0000 (15:59 +0100)]
Use LIFO policy for CancellationTokenSource

The .NET implementation of CancellationTokenSource invokes the
callbacks in the opposite order from that of the registration.
In order to mixamize compatibility, use the same order.

Fixes ReEntrantRegistrationTest, Cancel_Order, Cancel_ExceptionOrder
(in CancellationTokenSourceTest) and
https://bugzilla.xamarin.com/show_bug.cgi?id=16992

10 years agoAdd testcases for callback and exception ordering
Andrea Canciani [Tue, 31 Dec 2013 20:39:18 +0000 (21:39 +0100)]
Add testcases for callback and exception ordering

Translated from the F# testcases available here
https://github.com/fsharp/fsharp/blob/19507b98bc6a7995e9c19c40f044fdfeb578ef77/src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Control/Cancellation.fs#L100

10 years agoFix CancellationTokenSourceTest.ReEntrantRegistrationTest
Andrea Canciani [Tue, 31 Dec 2013 20:55:27 +0000 (21:55 +0100)]
Fix CancellationTokenSourceTest.ReEntrantRegistrationTest

This test run on .NET would result in both "unregister" and "register"
set to a "true" value. In order to ensure that the "unregister = true"
fragment is not executed, its disposal needs to be registered after,
because on .NET the CancellationTokenSource has a LIFO behavior.

This change simplifies the code and makes the expected behavior
consistent with that of .NET.

10 years agoMerge pull request #847 from ranma42/fsharp-tuple-hashing
Rodrigo Kumpera [Thu, 26 Dec 2013 18:05:41 +0000 (10:05 -0800)]
Merge pull request #847 from ranma42/fsharp-tuple-hashing

F#-compatible tuple hashing

10 years agoMake tuple hash function consistent with the F# implementation
Andrea Canciani [Thu, 26 Dec 2013 16:17:47 +0000 (17:17 +0100)]
Make tuple hash function consistent with the F# implementation

The F# compiler optimizes the hashing of tuples when it can inline
it. This is consistent with the hashing algorithm used in .NET, but it
is not with the one used in Mono, as pointed out in
https://github.com/fsharp/fsharp/issues/188

This patch modifies Tuples.cs so that the hashing algorithm is the
same as that used in F#, i.e. the XOR variant of DJB2, using a
balanced tree parenthesization.

10 years agoFix Tuples.cs code generator
Andrea Canciani [Thu, 26 Dec 2013 16:18:10 +0000 (17:18 +0100)]
Fix Tuples.cs code generator

The code generator in Tuple.cs did not build because of missing
escaping of a string.

10 years agoMerge pull request #846 from abatishchev/patch-1
Marek Safar [Tue, 24 Dec 2013 08:21:46 +0000 (00:21 -0800)]
Merge pull request #846 from abatishchev/patch-1

String.Join() calls List(IEnum) instead of looping

10 years agoString.Join() calls List(IEnum) instead of looping
Alexander M. Batishchev [Tue, 24 Dec 2013 03:57:03 +0000 (19:57 -0800)]
String.Join() calls List(IEnum) instead of looping

String.Join() instead of looping over IEnumerable<T> calls the constructor of List<T> accepting IEnumerable<T>.
According to https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Collections.Generic/List.cs#L67 it should be more efficient.

Because JoinUnchecked() accepts string[] the option #2 is to call ToArray() extension method instead.
https://github.com/mono/mono/blob/master/mcs/class/System.Core/System.Linq/Enumerable.cs#L2886

10 years agoDon't call CFNetworkCopyProxiesForAutoConfigurationScript from more than one thread...
Rolf Bjarne Kvinge [Sat, 21 Dec 2013 00:37:40 +0000 (01:37 +0100)]
Don't call CFNetworkCopyProxiesForAutoConfigurationScript from more than one thread. Fixes #7923, comment 21.

10 years agoHandle 12.00 in XBuild's SolutionParser.
Alex Rønne Petersen [Sat, 21 Dec 2013 08:57:45 +0000 (09:57 +0100)]
Handle 12.00 in XBuild's SolutionParser.

This doesn't fix support for VS 2013 projects, but it's a start...

10 years agoDo not assume the first certificate of a PKCS12 file is the one matching the key...
Sebastien Pouliot [Wed, 18 Dec 2013 19:20:38 +0000 (14:20 -0500)]
Do not assume the first certificate of a PKCS12 file is the one matching the key (even if it's the most common way). ref: desk #54722

10 years agoSwitch to File.ReadAllBytes since we do not have to support pre-2.0 code
Sebastien Pouliot [Wed, 18 Dec 2013 15:12:59 +0000 (10:12 -0500)]
Switch to File.ReadAllBytes since we do not have to support pre-2.0 code

10 years agoReplace custom Load with File.ReadAllBytes
Sebastien Pouliot [Wed, 18 Dec 2013 02:39:42 +0000 (21:39 -0500)]
Replace custom Load with File.ReadAllBytes

10 years agoMerge pull request #841 from knocte/master
Marek Safar [Wed, 18 Dec 2013 09:00:31 +0000 (01:00 -0800)]
Merge pull request #841 from knocte/master

[System] Change S.N.S.NetworkStream's param name on ctor

10 years ago[System] Change S.N.S.NetworkStream's param name on ctor
Andrés G. Aragoneses [Tue, 17 Dec 2013 22:09:22 +0000 (23:09 +0100)]
[System] Change S.N.S.NetworkStream's param name on ctor

Changed to the name that is used in MS.NET:
http://msdn.microsoft.com/en-us/library/te7e60bx%28v=vs.110%29.aspx

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=16832

10 years agoMerge pull request #839 from glinos/master
Alex Rønne Petersen [Tue, 17 Dec 2013 06:04:01 +0000 (22:04 -0800)]
Merge pull request #839 from glinos/master

Implemented System.Threading.Monitor.IsEntered

10 years agoImplemented System.Threading.Monitor.IsEntered
Harry Glinos [Tue, 17 Dec 2013 05:19:09 +0000 (23:19 -0600)]
Implemented System.Threading.Monitor.IsEntered

10 years ago[System] When starting a process with UseShellExecute=true, don't return a process...
Rodrigo Kumpera [Mon, 16 Dec 2013 21:55:50 +0000 (16:55 -0500)]
[System] When starting a process with UseShellExecute=true, don't return a process. Fixes #16119

10 years ago[io-layer] On OSX don't pass -W to open as we don't care for it waiting.
Rodrigo Kumpera [Mon, 16 Dec 2013 21:55:16 +0000 (16:55 -0500)]
[io-layer] On OSX don't pass -W to open as we don't care for it waiting.

10 years ago[runtime] Don't pass SEE_MASK_NOCLOSEPROCESS to ShellExecuteEx as we don't care for...
Rodrigo Kumpera [Mon, 16 Dec 2013 21:50:40 +0000 (16:50 -0500)]
[runtime] Don't pass SEE_MASK_NOCLOSEPROCESS to ShellExecuteEx as we don't care for the launched process. Part 1/3 of Bug #16119.

The System.Diagnostics.Process API always return a null process when starting with UseShellExecute=true.
This means we should not track the launched process and not gather information regarding it.

10 years ago[runtime] A thread without a domain set cannot be running managed code. Fixes #16794.
Rodrigo Kumpera [Mon, 16 Dec 2013 17:52:48 +0000 (12:52 -0500)]
[runtime] A thread without a domain set cannot be running managed code. Fixes #16794.

10 years agoUpdated Rx to 2.2 release.
Atsushi Eno [Mon, 16 Dec 2013 18:30:39 +0000 (03:30 +0900)]
Updated Rx to 2.2 release.

10 years ago[runtime]: Cosmetic, fix log level on diagnostic PCL remapping messages.
Martin Baulig [Mon, 16 Dec 2013 17:09:57 +0000 (18:09 +0100)]
[runtime]: Cosmetic, fix log level on diagnostic PCL remapping messages.

10 years agoUpdated documentation
Miguel de Icaza [Mon, 16 Dec 2013 15:03:18 +0000 (13:03 -0200)]
Updated documentation

10 years ago[doc] Document CurrentCultureInfo
Marek Safar [Mon, 16 Dec 2013 12:58:16 +0000 (13:58 +0100)]
[doc] Document CurrentCultureInfo

10 years ago[aot] Give the compilation unit entries in the DWARF debug info different names,...
Zoltan Varga [Mon, 16 Dec 2013 00:24:46 +0000 (01:24 +0100)]
[aot] Give the compilation unit entries in the DWARF debug info different names, the osx tools seem to need this (#15202).

10 years ago[aot] Add runtime wrappers for methods of generic classes and generic methods. Fixes...
Zoltan Varga [Sun, 15 Dec 2013 02:02:34 +0000 (03:02 +0100)]
[aot] Add runtime wrappers for methods of generic classes and generic methods. Fixes #16747.

10 years ago[gsharedvt] Add a wrapper to the mono_gsharedvt_constrained_call () icall, since...
Zoltan Varga [Sat, 14 Dec 2013 21:15:08 +0000 (22:15 +0100)]
[gsharedvt] Add a wrapper to the mono_gsharedvt_constrained_call () icall, since it calls mono_runtime_invoke () which can throw exceptions. Fixes #16439.

10 years ago[jit] Remove an extra newline from a mono_trace () call.
Zoltan Varga [Sat, 14 Dec 2013 07:10:32 +0000 (08:10 +0100)]
[jit] Remove an extra newline from a mono_trace () call.

10 years ago[jit] Fix TLS+AOT support in the monitor enter/exit trampolines.
Zoltan Varga [Sat, 14 Dec 2013 07:08:01 +0000 (08:08 +0100)]
[jit] Fix TLS+AOT support in the monitor enter/exit trampolines.

10 years ago[jit] Cache gsharedvt types in get_gsharedvt_type ().
Zoltan Varga [Sat, 14 Dec 2013 06:05:22 +0000 (07:05 +0100)]
[jit] Cache gsharedvt types in get_gsharedvt_type ().

10 years ago[jit] Fix memory leaks in get_gsharedvt_type (). Fixes #16787.
Zoltan Varga [Sat, 14 Dec 2013 05:52:11 +0000 (06:52 +0100)]
[jit] Fix memory leaks in get_gsharedvt_type (). Fixes #16787.

10 years agoDisable the bin writer on osx, it only works with xdebug, but the AOT compiler tries...
Zoltan Varga [Sat, 14 Dec 2013 05:51:21 +0000 (06:51 +0100)]
Disable the bin writer on osx, it only works with xdebug, but the AOT compiler tries to use it as well.

10 years ago[corlib] Don't inline await continuations when the context does not allow it. Fixes...
Marek Safar [Fri, 13 Dec 2013 16:07:54 +0000 (17:07 +0100)]
[corlib] Don't inline await continuations when the context does not allow it. Fixes #16548

10 years agoMerge pull request #832 from xplicit/webperf1
Rodrigo Kumpera [Fri, 13 Dec 2013 15:24:06 +0000 (07:24 -0800)]
Merge pull request #832 from xplicit/webperf1

Header names should be compared binary but not linguistic.

10 years agoRevert "[gsharedvt] Avoid using gsharedvt trampolines for calls with a non-variable...
Zoltan Varga [Thu, 12 Dec 2013 22:47:42 +0000 (23:47 +0100)]
Revert "[gsharedvt] Avoid using gsharedvt trampolines for calls with a non-variable signature."

This reverts commit 38b6a9dffdde5ffedc2a7165b87e6df579922d5a.

Revert this as it causes failures in tests.

10 years agoMerge pull request #837 from madewokherd/update-def
Zoltan Varga [Thu, 12 Dec 2013 22:35:24 +0000 (14:35 -0800)]
Merge pull request #837 from madewokherd/update-def

Update msvc .def files

10 years ago[jit]Replace usage of mini_type_get_underlying_type with first arg null with new...
Rodrigo Kumpera [Thu, 12 Dec 2013 22:04:11 +0000 (17:04 -0500)]
[jit]Replace usage of mini_type_get_underlying_type with first arg null with new function mini_replace_type.

10 years ago[jit] Properly wire the MGSC in the amd64 backend.
Rodrigo Kumpera [Thu, 12 Dec 2013 21:12:56 +0000 (16:12 -0500)]
[jit] Properly wire the MGSC in the amd64 backend.

10 years agoMerge pull request #806 from AxlPr/master
Zoltan Varga [Thu, 12 Dec 2013 21:51:14 +0000 (13:51 -0800)]
Merge pull request #806 from AxlPr/master

Fixed  g_win32_getlocale

10 years agoUpdate msvc .def files.
Vincent Povirk [Thu, 12 Dec 2013 21:09:54 +0000 (15:09 -0600)]
Update msvc .def files.

This commit licensed as MIT/X11.

10 years agoExclude some functions that aren't on win32.
Vincent Povirk [Thu, 12 Dec 2013 21:49:34 +0000 (15:49 -0600)]
Exclude some functions that aren't on win32.

This commit licensed as MIT/X11.

10 years agoMerge pull request #836 from madewokherd/buildfixes
Zoltan Varga [Thu, 12 Dec 2013 21:49:54 +0000 (13:49 -0800)]
Merge pull request #836 from madewokherd/buildfixes

various build fixes

10 years agoUpdate create-windef.pl to account for sgen/boehm compiles.
Vincent Povirk [Thu, 12 Dec 2013 21:09:22 +0000 (15:09 -0600)]
Update create-windef.pl to account for sgen/boehm compiles.

This commit licensed as MIT/X11.

10 years agoUpdate 2012 changes to sgen license
Miguel de Icaza [Thu, 12 Dec 2013 17:31:57 +0000 (12:31 -0500)]
Update 2012 changes to sgen license

10 years ago[corlib] Mark ConcurrentDictionary serializable. Fixes #16730
Marek Safar [Thu, 12 Dec 2013 10:32:00 +0000 (11:32 +0100)]
[corlib] Mark ConcurrentDictionary serializable. Fixes #16730

10 years agoMerge pull request #834 from OttoG/master
Marek Safar [Thu, 12 Dec 2013 07:44:27 +0000 (23:44 -0800)]
Merge pull request #834 from OttoG/master

Stub implementation of EndGetRequestStream overload in HttpWebRequest.cs

10 years agoAdd HAVE_DECL_INTERLOCKED* symbols to winconfig.h.
Vincent Povirk [Wed, 11 Dec 2013 23:23:26 +0000 (17:23 -0600)]
Add HAVE_DECL_INTERLOCKED* symbols to winconfig.h.

This commit licensed as MIT/X11.

10 years agoUpdate file listinigs in msvc projects.
Vincent Povirk [Wed, 11 Dec 2013 23:23:01 +0000 (17:23 -0600)]
Update file listinigs in msvc projects.

10 years agoInclude config.h in mono-tls.c.
Vincent Povirk [Wed, 11 Dec 2013 23:22:23 +0000 (17:22 -0600)]
Include config.h in mono-tls.c.

This commit licensed as MIT/X11.

10 years agoCheck for InterlockedDecrement64 in configure.
Vincent Povirk [Wed, 11 Dec 2013 23:21:26 +0000 (17:21 -0600)]
Check for InterlockedDecrement64 in configure.

We already have code looking for the corresponding symbol.

This commit licensed as MIT/X11.

10 years ago[bcl] When finalizing a Process object, don't touch the streams as they are finalized...
Rodrigo Kumpera [Wed, 11 Dec 2013 22:13:56 +0000 (17:13 -0500)]
[bcl] When finalizing a Process object, don't touch the streams as they are finalized on their own. Fixes #10883.

10 years agoChanged compiler directive according to documentation
OttoG [Wed, 11 Dec 2013 21:03:18 +0000 (22:03 +0100)]
Changed compiler directive according to documentation

EndGetRequestStream with TransportContext parameter was introduced in .NET 3.5. Also added "using" statement for System.Net (namespace for TransportContext).

10 years ago[system] Make TransportContext 3.5 api
Marek Safar [Wed, 11 Dec 2013 19:02:05 +0000 (20:02 +0100)]
[system] Make TransportContext 3.5 api

10 years ago[mcs] Clone labeled statements cache in probing mode. Fixes #16376
Marek Safar [Wed, 11 Dec 2013 16:51:16 +0000 (17:51 +0100)]
[mcs] Clone labeled statements cache in probing mode. Fixes #16376

10 years agoMake a test work in the presence of llvm optimizations.
Zoltan Varga [Wed, 11 Dec 2013 18:20:14 +0000 (19:20 +0100)]
Make a test work in the presence of llvm optimizations.

10 years ago[jit] Fix a problem in the liveness pass, where the variable which was only used...
Zoltan Varga [Wed, 11 Dec 2013 18:19:53 +0000 (19:19 +0100)]
[jit] Fix a problem in the liveness pass, where the variable which was only used in the first instruction of the first bblock was incorrectly marked as dead.

10 years ago[jit]Reenable int/long/double -> float rounding tests.
Rodrigo Kumpera [Wed, 11 Dec 2013 16:15:17 +0000 (11:15 -0500)]
[jit]Reenable int/long/double -> float rounding tests.

10 years ago[jit]Emit explicit float rounding on amd64. Fixes #15987
Rodrigo Kumpera [Wed, 11 Dec 2013 16:14:44 +0000 (11:14 -0500)]
[jit]Emit explicit float rounding on amd64. Fixes #15987

10 years ago[arch]Add cvtsi2ss to amd64 codegen.
Rodrigo Kumpera [Wed, 11 Dec 2013 16:13:14 +0000 (11:13 -0500)]
[arch]Add cvtsi2ss to amd64 codegen.

10 years agoStub implementation of EndGetRequestStream overload in HttpWebRequest.cs
OttoG [Wed, 11 Dec 2013 11:35:57 +0000 (12:35 +0100)]
Stub implementation of EndGetRequestStream overload in HttpWebRequest.cs

I am not sure if a "do-nothing" implementation like this is acceptable in the Mono code base, but it does solve the problem described in https://bugzilla.xamarin.com/show_bug.cgi?id=12875 (successfully executing simple requests using the Google API .NET client library).

10 years ago[tests] Fix some corlib unit tests to run successfully on iOS
Sebastien Pouliot [Wed, 11 Dec 2013 02:48:00 +0000 (21:48 -0500)]
[tests] Fix some corlib unit tests to run successfully on iOS

10 years ago[corlib]: Add stubs for the remaining `System.Runtime.InteropServices.WindowsRuntime...
Martin Baulig [Wed, 11 Dec 2013 00:56:00 +0000 (01:56 +0100)]
[corlib]: Add stubs for the remaining `System.Runtime.InteropServices.WindowsRuntime' APIs.

10 years ago[PCL]: Add new 'System.Runtime.InteropServices.WindowsRuntime' Facade Assembly.
Martin Baulig [Tue, 10 Dec 2013 23:59:19 +0000 (00:59 +0100)]
[PCL]: Add new 'System.Runtime.InteropServices.WindowsRuntime' Facade Assembly.

FIXME: This is only a stub, the only type currently present is
       `System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken',
       which is only a stub.

10 years ago[corlib]: Add 'System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken...
Martin Baulig [Tue, 10 Dec 2013 23:52:32 +0000 (00:52 +0100)]
[corlib]: Add 'System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken' stub.

10 years ago[PCL]: Add "System.Dynamic.Runtime.dll" Facade Assembly to MonoTouch.
Martin Baulig [Tue, 10 Dec 2013 23:36:52 +0000 (00:36 +0100)]
[PCL]: Add "System.Dynamic.Runtime.dll" Facade Assembly to MonoTouch.

Added the type-forwarder for `ConditionalWeakTable<T,V>', put all the
others inside a `!FULL_AOT_RUNTIME' conditional, then enabled this in
the MonoTouch build.

10 years ago[jit] Use mini_type_get_underlying in a few missing places in the jit.
Rodrigo Kumpera [Tue, 10 Dec 2013 20:10:35 +0000 (15:10 -0500)]
[jit] Use mini_type_get_underlying in a few missing places in the jit.

10 years ago[jit] Use mini_type_get_underlying in a few missing places in the jit.
Rodrigo Kumpera [Tue, 10 Dec 2013 16:41:56 +0000 (11:41 -0500)]
[jit] Use mini_type_get_underlying in a few missing places in the jit.

10 years ago[jit] Use mini_type_get_underlying type in a few missing places in the x86 port.
Rodrigo Kumpera [Tue, 10 Dec 2013 01:09:25 +0000 (20:09 -0500)]
[jit] Use mini_type_get_underlying type in a few missing places in the x86 port.

10 years ago[jit] Use mini_type_get_underlying type in a few missing places int the amd64 port.
Rodrigo Kumpera [Tue, 10 Dec 2013 00:39:21 +0000 (19:39 -0500)]
[jit] Use mini_type_get_underlying type in a few missing places int the amd64 port.

10 years ago[jit] Disable the optimized lmf push/pop code even if the arch specific code enables...
Zoltan Varga [Tue, 10 Dec 2013 17:33:41 +0000 (18:33 +0100)]
[jit] Disable the optimized lmf push/pop code even if the arch specific code enables if it is not supported.

10 years ago[sgen] Explain a FIXME.
Mark Probst [Tue, 10 Dec 2013 17:19:02 +0000 (18:19 +0100)]
[sgen] Explain a FIXME.

10 years ago[sgen] Our bzero()/memmove() must store “volatile”, lest LLVM screw us.
Mark Probst [Tue, 10 Dec 2013 17:18:35 +0000 (18:18 +0100)]
[sgen] Our bzero()/memmove() must store “volatile”, lest LLVM screw us.

10 years ago[sgen] Reverse the free-list after sweeping to be in address-order.
Mark Probst [Thu, 5 Dec 2013 11:50:28 +0000 (12:50 +0100)]
[sgen] Reverse the free-list after sweeping to be in address-order.

10 years ago[sgen] Only enqueue LOS objects if they contain references.
Mark Probst [Thu, 5 Dec 2013 11:49:41 +0000 (12:49 +0100)]
[sgen] Only enqueue LOS objects if they contain references.

10 years ago[mcs] Update populated member cache of dynamic containers manually for additional...
Marek Safar [Tue, 10 Dec 2013 10:11:02 +0000 (11:11 +0100)]
[mcs] Update populated member cache of dynamic containers manually for additional entries. Fixes #16659

10 years agoHeader names should be compared binary but not linguistic.
xplicit [Tue, 10 Dec 2013 05:02:09 +0000 (12:02 +0700)]
Header names should be compared binary but not linguistic.
Moreover according to RFC2616 header names are subset of ASCII chars [0-127],
so culture-aware comparison is useless and eats too many processor time
(according to my benchmarks get an item from Hashtable with OrdinalIgnoreCase
comparers more than 20x times faster compared to Hashtable with InvariantCultureIgnoreCase
comparer)

10 years ago[jit] Implement the delegate ctor optimization in AOT mode too.
Zoltan Varga [Tue, 10 Dec 2013 02:35:36 +0000 (03:35 +0100)]
[jit] Implement the delegate ctor optimization in AOT mode too.

10 years agoMerge pull request #831 from madewokherd/win64-warnings
Alex Rønne Petersen [Mon, 9 Dec 2013 23:02:27 +0000 (15:02 -0800)]
Merge pull request #831 from madewokherd/win64-warnings

fix various warnings in win64 exception code