mono.git
9 years agoFix the mobile build.
Zoltan Varga [Wed, 12 Nov 2014 01:11:39 +0000 (20:11 -0500)]
Fix the mobile build.

9 years ago[aot] Avoid an assert when AOTing a non-mobile mscorlib in a runtime with COM disabled.
Zoltan Varga [Wed, 12 Nov 2014 01:10:20 +0000 (20:10 -0500)]
[aot] Avoid an assert when AOTing a non-mobile mscorlib in a runtime with COM disabled.

9 years ago[perfcounters,proflog,mprof-report] Add support for Performance Counters sampling...
Ludovic Henry [Tue, 11 Nov 2014 18:45:30 +0000 (13:45 -0500)]
[perfcounters,proflog,mprof-report] Add support for Performance Counters sampling in the log profiler

9 years ago[counters,proflog] Add mono_counters_on_register/delete callbacks + Use them in proflog
Ludovic Henry [Fri, 12 Sep 2014 18:38:03 +0000 (14:38 -0400)]
[counters,proflog] Add mono_counters_on_register/delete callbacks + Use them in proflog

This is used for counters that are defined after runtime initialization. It implies that TYPE_SAMPLE_COUNTERS_DESC can now be emitted at any time, and not only once.

9 years ago[counters] Make API thread safe
Ludovic Henry [Fri, 12 Sep 2014 17:45:52 +0000 (13:45 -0400)]
[counters] Make API thread safe

9 years ago[perf-counters] Fix return of the same counter even with different a counter parameter
Ludovic Henry [Fri, 22 Aug 2014 15:36:17 +0000 (11:36 -0400)]
[perf-counters] Fix return of the same counter even with different a counter parameter

The same counter instance would be returned if we use the "instance" parameter instead of the "counter"
parameter. Also it is the name of the counter that is stored in mono_perfcounter_create (mono-perfcounters.c:1488).

9 years ago[perf-counters] Declare shared data header type directly after creation
Ludovic Henry [Tue, 10 Jun 2014 14:33:04 +0000 (10:33 -0400)]
[perf-counters] Declare shared data header type directly after creation

Fix the following bug : shared_data_find_room return twice the same memory region because it was not marked as "in use" by setting the header.ftype value.
This bug is triggered when we want to create a new shared area (for example a new FTYPE_INSTANCE area) while creating another area (for example a new FTYPE_CATEGORY).

9 years ago[perf-counters] Fix bug on SharedCounter decoding
Ludovic Henry [Tue, 10 Jun 2014 14:26:34 +0000 (10:26 -0400)]
[perf-counters] Fix bug on SharedCounter decoding

The structure of the encoded SharedCounter is as follow :
 - compressed data type : 1 byte
 - index in the category : 1 byte
 - name of the counter : null terminated string
 - help of the counter : null terminated string

9 years ago[xbuild] Change default tools profile
Marek Safar [Tue, 11 Nov 2014 17:49:30 +0000 (18:49 +0100)]
[xbuild] Change default tools profile

9 years ago[corlib] Fix culture info error message. Fixes #24431
Marek Safar [Tue, 11 Nov 2014 14:53:04 +0000 (15:53 +0100)]
[corlib] Fix culture info error message. Fixes #24431

9 years ago[mcs] Extended pragma warning syntax
Marek Safar [Tue, 11 Nov 2014 14:42:05 +0000 (15:42 +0100)]
[mcs] Extended pragma warning syntax

9 years ago[mcs] Use same result bucket for extension method lookup in all types of using expression
Marek Safar [Tue, 11 Nov 2014 10:23:41 +0000 (11:23 +0100)]
[mcs] Use same result bucket for extension method lookup in all types of using expression

9 years agoAdd a test for #24419.
Zoltan Varga [Tue, 11 Nov 2014 01:54:12 +0000 (20:54 -0500)]
Add a test for #24419.

9 years ago[jit] Remove some special casing from LDTOKEN, it doesn't seem to be needed. Fixes...
Zoltan Varga [Tue, 11 Nov 2014 01:17:38 +0000 (20:17 -0500)]
[jit] Remove some special casing from LDTOKEN, it doesn't seem to be needed. Fixes #24419.

9 years ago[runtime] Remove the second signal used by profiling and now multiplex distribution...
Rodrigo Kumpera [Mon, 10 Nov 2014 23:39:25 +0000 (18:39 -0500)]
[runtime] Remove the second signal used by profiling and now multiplex distribution and sampling with the same signal.

9 years ago[runtime] Introduce new MonoThread API for signal multiplexing. It's a provisional...
Rodrigo Kumpera [Mon, 10 Nov 2014 23:36:10 +0000 (18:36 -0500)]
[runtime] Introduce new MonoThread API for signal multiplexing. It's a provisional API until we figure out more of how it's suposed to work.

9 years ago[profiler] Guard against null sbuff when serializing statistical data.
Rodrigo Kumpera [Mon, 10 Nov 2014 21:44:48 +0000 (16:44 -0500)]
[profiler] Guard against null sbuff when serializing statistical data.

9 years ago[profiler] Fix statistical backtraces to work and collect as many frames as possible.
Rodrigo Kumpera [Mon, 10 Nov 2014 20:50:57 +0000 (15:50 -0500)]
[profiler] Fix statistical backtraces to work and collect as many frames as possible.

This is a jumbo commit that addresses multiple issues with statistical backtrace collection:

1) It's not possible to reliably collect MonoMethod* so we check that they exist before
serializing to the .mlpd file and retrieve in sync context.

2) It was reporting the generic instance MonoMethod* under gsharing. Those methods are
not reported to the profiler since they are never compiled. They would turn out as unknowns.

3) Collecting IL offsets from async context is currently impossible to be done safely, so it's
now disabled. The way we'll do it in the future is by serializing the sequence point table when
JIT'ing.

4) The way we used to collect frames in statistical ignored all frames until the first LMF, which
discards a lot of them under statistical mode. We now properly pass sigcontext and have it been consumed.
In the future we should simply use the callchain mode.

9 years ago[runtime] Changes mono_stack_walk_async_safe API to be truly async safe.
Rodrigo Kumpera [Mon, 10 Nov 2014 20:00:54 +0000 (15:00 -0500)]
[runtime] Changes mono_stack_walk_async_safe API to be truly async safe.

This is a very very tricky API, so we restrict the returned data to be what's really
possible under sig context.

9 years ago[runtime] Harden the profiler signal handlers against not fully attached threads...
Rodrigo Kumpera [Mon, 10 Nov 2014 19:25:54 +0000 (14:25 -0500)]
[runtime] Harden the profiler signal handlers against not fully attached threads and HP reentrancy.

9 years agoRevert "Disable building the NET 2.0 profile by default."
Zoltan Varga [Mon, 10 Nov 2014 22:46:34 +0000 (17:46 -0500)]
Revert "Disable building the NET 2.0 profile by default."

This reverts commit 458c9456f0960d62862fcb461b503c4ed8faf9f9.

This still breaks the build.

9 years agoDisable building the NET 2.0 profile by default.
Zoltan Varga [Tue, 4 Nov 2014 22:49:18 +0000 (17:49 -0500)]
Disable building the NET 2.0 profile by default.

9 years ago[jit] Get rid of the mono_arch_sigctx_to_monoctx()/monoctx_to_sigctx () functions...
Zoltan Varga [Mon, 10 Nov 2014 19:31:29 +0000 (14:31 -0500)]
[jit] Get rid of the mono_arch_sigctx_to_monoctx()/monoctx_to_sigctx () functions, use mono_sigctx_to_monoctx()/monoctx_to_sigctx() instead.

9 years ago[jit] Use xmm5 as an fp scratch register on winx64.
Zoltan Varga [Mon, 10 Nov 2014 19:04:06 +0000 (14:04 -0500)]
[jit] Use xmm5 as an fp scratch register on winx64.

9 years agoMerge pull request #1393 from akoeplinger/refresh-mdoc-expected
Jonathan Pryor [Mon, 10 Nov 2014 18:52:11 +0000 (13:52 -0500)]
Merge pull request #1393 from akoeplinger/refresh-mdoc-expected

[mdoc] Refreshed the en.expected.importecmadoc files to fix errors after the recent XML changes

Output was generated on .NET, and thus is canonical.

9 years ago[mcs] Encode more win32 version info attributes. Fixes #23981
Marek Safar [Mon, 10 Nov 2014 15:08:24 +0000 (16:08 +0100)]
[mcs] Encode more win32 version info attributes. Fixes #23981

9 years agoMerge pull request #1334 from ztone/delegate
Marek Safar [Mon, 10 Nov 2014 11:03:23 +0000 (12:03 +0100)]
Merge pull request #1334 from ztone/delegate

Fix PrepareEmit error when evaluating delegates

9 years ago[jit] Move the ppc sigctx<->monoctx conversion code to mono-context.c.
Zoltan Varga [Mon, 10 Nov 2014 10:22:04 +0000 (05:22 -0500)]
[jit] Move the ppc sigctx<->monoctx conversion code to mono-context.c.

9 years agoRemove some dead code.
Zoltan Varga [Mon, 10 Nov 2014 10:06:51 +0000 (05:06 -0500)]
Remove some dead code.

9 years agoFix the android build.
Zoltan Varga [Mon, 10 Nov 2014 02:41:43 +0000 (21:41 -0500)]
Fix the android build.

9 years agoMerge pull request #1390 from woodsb02/FreeBSDMacNetworkInterfaces
Miguel de Icaza [Mon, 10 Nov 2014 01:17:50 +0000 (20:17 -0500)]
Merge pull request #1390 from woodsb02/FreeBSDMacNetworkInterfaces

Freebsd to use Mac NetworkInterface code instead of Linux NetworkInterface code

9 years agoMerge pull request #1392 from ludovic-henry/pr34-proflog-counters-sample-shutdown
Zoltan Varga [Sun, 9 Nov 2014 23:30:15 +0000 (18:30 -0500)]
Merge pull request #1392 from ludovic-henry/pr34-proflog-counters-sample-shutdown

[proflog] Add counters sampling on profiler shutdown and startup

9 years agoMerge pull request #1395 from ludovic-henry/pr38-proflog-only-counters
Zoltan Varga [Sat, 8 Nov 2014 18:27:28 +0000 (13:27 -0500)]
Merge pull request #1395 from ludovic-henry/pr38-proflog-only-counters

[proflog] Add onlycounters parameters which disable event dumping

9 years ago[proflog] Add countersonly parameters which disable event dumping
Ludovic Henry [Fri, 7 Nov 2014 21:07:31 +0000 (16:07 -0500)]
[proflog] Add countersonly parameters which disable event dumping

This is useful in the case of the benchmarking suite because we are only interested in the counters, and they represent a minimal part of the output file size.

9 years agoFix a uninitialized variable warning.
Zoltan Varga [Fri, 7 Nov 2014 23:50:26 +0000 (18:50 -0500)]
Fix a uninitialized variable warning.

9 years agoFix a problem introduced by e19f539121e0b78b778aa8cf5711ccc1876eb443.
Zoltan Varga [Fri, 7 Nov 2014 21:53:22 +0000 (16:53 -0500)]
Fix a problem introduced by e19f539121e0b78b778aa8cf5711ccc1876eb443.

9 years ago[amd64] Make xmm6:xmm15 callee saved on winx64 as required by the ABI.
Zoltan Varga [Fri, 7 Nov 2014 20:33:48 +0000 (15:33 -0500)]
[amd64] Make xmm6:xmm15 callee saved on winx64 as required by the ABI.

9 years agoMerge pull request #1385 from BrzVlad/fin-hash
Mark Probst [Fri, 7 Nov 2014 20:14:48 +0000 (12:14 -0800)]
Merge pull request #1385 from BrzVlad/fin-hash

[sgen] Use hash based on current address for finalization hashes.

9 years ago[System] Fixed formatting of new ClientWebSocket test and disabled it
Alexander Köplinger [Fri, 7 Nov 2014 18:50:16 +0000 (19:50 +0100)]
[System] Fixed formatting of new ClientWebSocket test and disabled it

We need to have an implementation for HttpListenerContext.AcceptWebSocketAsync () first before it works.

9 years agoMerge branch 'patch-1' of https://github.com/ReubenBond/mono into ReubenBond-patch-1
Alexander Köplinger [Fri, 7 Nov 2014 18:34:27 +0000 (19:34 +0100)]
Merge branch 'patch-1' of https://github.com/ReubenBond/mono into ReubenBond-patch-1

9 years agoMerge pull request #1394 from kjpou1/master
Miguel de Icaza [Fri, 7 Nov 2014 17:20:29 +0000 (12:20 -0500)]
Merge pull request #1394 from kjpou1/master

Fix GetUsing to output the using name instead of -> using Mono.CSharp.Na...

9 years agoAdd space
Kenneth Pouncey [Fri, 7 Nov 2014 15:59:42 +0000 (16:59 +0100)]
Add space

9 years agoAdd space
Kenneth Pouncey [Fri, 7 Nov 2014 15:57:41 +0000 (16:57 +0100)]
Add space

9 years agoFix GetUsing to output the using name instead of -> using Mono.CSharp.NamespaceExpres...
Kenneth Pouncey [Fri, 7 Nov 2014 15:41:05 +0000 (16:41 +0100)]
Fix GetUsing to output the using name instead of -> using Mono.CSharp.NamespaceExpression; <- for every using statement that was set
+ Fix NRE when source_file or source_file.Usings is null. This will now return back an empty string or empty List
+ **Note** that we are returning the ToString() value of NamespaceExpression which is the full resolved namespace of "System.Drawing" instead of "Drawing".
+ Add ToString override for NamespaceExpression to return the full resolved name of the namespace.

9 years ago[Mono.Posix] consider nano time info in UnixFileSystemInfo.Last*Time.
Atsushi Eno [Fri, 7 Nov 2014 12:42:25 +0000 (20:42 +0800)]
[Mono.Posix] consider nano time info in UnixFileSystemInfo.Last*Time.

Before this change, those Last*Time properties returned only based on
seconds (truncated), which could cause inaccurate time comparison.
Consider code like this:

var fileUpdated = DateTime.Now;
...
File.WriteAllText (path, "foobar");
...
if (fileUpdated > new UnixFileInfo (path).LastWriteTime)
   OnUpdatedFile (path);

This could always result in raising update event, even if there was
no update after writing.

Last*Time With milliseconds makes it very unlikely to happen.

9 years ago[mdoc] Refreshed the en.expected.importecmadoc files to fix errors after the recent...
Alexander Köplinger [Fri, 7 Nov 2014 11:34:26 +0000 (12:34 +0100)]
[mdoc] Refreshed the en.expected.importecmadoc files to fix errors after the recent XML changes

The XML work in 661430fd1f052c5589bcd5d116f37b9ee4e27210 and bf39f5aec034800abcfe5e73a63ddd1414cb8078 changed the whitespace handling, so the mdoc test suite failed.
Refreshing the files makes them identical to what MS.NET produces and fixes the mdoc tests.

9 years ago[xml] XmlElement.InnserXml seems to preserve whitespaces.
Atsushi Eno [Fri, 7 Nov 2014 07:35:40 +0000 (15:35 +0800)]
[xml] XmlElement.InnserXml seems to preserve whitespaces.

Fix for mdoc test regression (see commit comments on #661430f).

9 years ago[runtime] Use a separate signal with the SA_RESTART flag set for suspending/resuming...
Zoltan Varga [Fri, 7 Nov 2014 00:44:57 +0000 (19:44 -0500)]
[runtime] Use a separate signal with the SA_RESTART flag set for suspending/resuming threads during debugging on android, since lots of android native code cannot handle the interruptions caused by the normal abort signal. Fixes #22968/#23987.

9 years ago[proflog] Add counters sampling on runtime initialized
Ludovic Henry [Thu, 6 Nov 2014 20:25:04 +0000 (15:25 -0500)]
[proflog] Add counters sampling on runtime initialized

9 years ago[proflog] Add counters sampling on profiler shutdown
Ludovic Henry [Thu, 6 Nov 2014 20:17:08 +0000 (15:17 -0500)]
[proflog] Add counters sampling on profiler shutdown

9 years agoFreebsd to use Mac NetworkInterface code instead of Linux NetworkInterface code
Ben Woods [Thu, 6 Nov 2014 09:27:36 +0000 (17:27 +0800)]
Freebsd to use Mac NetworkInterface code instead of Linux NetworkInterface code

9 years agoInstall Mono.Cecil in the net 4.5 profile.
Zoltan Varga [Wed, 5 Nov 2014 22:31:48 +0000 (17:31 -0500)]
Install Mono.Cecil in the net 4.5 profile.

9 years agoRevert "Disable building the NET 2.0 profile by default."
Zoltan Varga [Wed, 5 Nov 2014 21:56:38 +0000 (16:56 -0500)]
Revert "Disable building the NET 2.0 profile by default."

This reverts commit fe265502cc517e8374ce2988f31e88d4f3554d8a.

Revert this for now as it breaks too much stuff.

9 years agoChanged script DateTime.Now_Test.sh to use the compiled csharp.exe.
Marcos Henrich [Wed, 5 Nov 2014 16:38:39 +0000 (16:38 +0000)]
Changed script DateTime.Now_Test.sh to use the compiled csharp.exe.

9 years agoTZ display name changes no longer reset adjustment rules.
Marcos Henrich [Wed, 5 Nov 2014 16:30:13 +0000 (16:30 +0000)]
TZ display name changes no longer reset adjustment rules.
Reset of adjustment rules is mandatory when the base offset is changed because the rules are relative to the base offset.
Adjustment rules are now kept until the base offset changes.

9 years ago[linker] blacklist System.Net.Sockets.MulticastOption fields
Radek Doulik [Wed, 5 Nov 2014 12:00:37 +0000 (13:00 +0100)]
[linker] blacklist System.Net.Sockets.MulticastOption fields

 - merge fix for https://bugzilla.xamarin.com/show_bug.cgi?id=21578
   the MulticastOption's 'private IPAddress local' field was
   removed by linker and the app crashed later at runtime.
 - when System.Net.Sockets.MulticastOption object
   is passed to System.Net.Sockets.Socket.SetSocketOption
   and thru it to System.Net.Sockets.Socket.SetSocketOption_internal
   it accesses passed object fields
   (thru few more native calls).

9 years agoMerge pull request #1387 from akoeplinger/improve-bug652331_2
Zoltan Varga [Wed, 5 Nov 2014 04:18:11 +0000 (23:18 -0500)]
Merge pull request #1387 from akoeplinger/improve-bug652331_2

[System.ServiceModel] Fixed Bug652331_2 test that failed on Jenkins by increasing timeout

9 years ago[arm] Fix OP_LOCALLOC on arm so it correctly adjusts sp with the param area size...
Zoltan Varga [Wed, 5 Nov 2014 03:45:14 +0000 (22:45 -0500)]
[arm] Fix OP_LOCALLOC on arm so it correctly adjusts sp with the param area size even if the size is large. Fixes #24221.

9 years ago[profiler] Expose new profiling modes and allow sampling rate to be set when using...
Rodrigo Kumpera [Wed, 5 Nov 2014 00:29:45 +0000 (19:29 -0500)]
[profiler] Expose new profiling modes and allow sampling rate to be set when using signal-based sampling.

9 years ago[profiler] Add new profiler API mono_profiler_set_statistical_mode that gives control...
Rodrigo Kumpera [Wed, 5 Nov 2014 00:27:20 +0000 (19:27 -0500)]
[profiler] Add new profiler API mono_profiler_set_statistical_mode that gives control to statistical mode and sampling rate.

9 years ago[profiler] Fix signal based profiling to sample all registered threads.
Rodrigo Kumpera [Wed, 5 Nov 2014 00:06:27 +0000 (19:06 -0500)]
[profiler] Fix signal based profiling to sample all registered threads.

The current signal profiling code depended on invalid linux behavior of setitimer
allowing multiple threads to register for the same timer. Linux kernel 2.6.12 fixed
this and only the main thread gets the signal. Always.

The correct POSIX behavior happens on OSX/iOS.

On Linux we could use timer_create and SIGEV_THREAD_ID but that would not work on iOS/OSX
since it's specific to it. Given that little detail, I'll leave implementing it as an
exercise to the reader.

The solution, which aims to be as portable as possible, is to use a pair of signals and
have the first one fire the second one against all other threads.

We use a pair of signals since it's not well defined which thread will receive the signal
so detecting this from the signal is non-trivial.

9 years agoMake mono_threads_pthread_kill available to mach targets.
Rodrigo Kumpera [Wed, 5 Nov 2014 00:02:15 +0000 (19:02 -0500)]
Make mono_threads_pthread_kill available to mach targets.

9 years agoMake the build in docs/ uses the net 4.5 profile.
Zoltan Varga [Tue, 4 Nov 2014 23:24:27 +0000 (18:24 -0500)]
Make the build in docs/ uses the net 4.5 profile.

9 years agoDisable building the NET 2.0 profile by default.
Zoltan Varga [Tue, 4 Nov 2014 22:49:18 +0000 (17:49 -0500)]
Disable building the NET 2.0 profile by default.

9 years agoFix the loadable llvm build.
Zoltan Varga [Tue, 4 Nov 2014 21:44:39 +0000 (16:44 -0500)]
Fix the loadable llvm build.

9 years ago[llvm] Add beginnings of support for emitting dwarf debug info for LLVM code. Not...
Zoltan Varga [Tue, 4 Nov 2014 21:19:57 +0000 (16:19 -0500)]
[llvm] Add beginnings of support for emitting dwarf debug info for LLVM code. Not enabled yet, since it would clash with the dwarf info emitted by the AOT compiler for JITted code.

9 years ago[System.ServiceModel] Fixed Bug652331_2 test that failed on Jenkins by increasing...
Alexander Köplinger [Tue, 4 Nov 2014 10:38:01 +0000 (11:38 +0100)]
[System.ServiceModel] Fixed Bug652331_2 test that failed on Jenkins by increasing timeout

Looks like the test takes quite a while so 10 seconds was just too short. Increasing the timeout to 20s seems to fix it.

9 years ago[mscorlib] Marshal.GetExceptionForHR() takes an `errorInfo` parameter.
Jonathan Pryor [Tue, 4 Nov 2014 19:26:32 +0000 (14:26 -0500)]
[mscorlib] Marshal.GetExceptionForHR() takes an `errorInfo` parameter.

Parameter names are part of the ABI because of C#4 named parameter.
Consequently, they *must* be consistent with .NET, and .NET a
parameter name of "errorInfo", *not* "errorInfoPtr" [0]:

public static Exception GetExceptionForHR(
int errorCode,
IntPtr errorInfo
)

Change the parameter name from `errorCodeInfo` to `errorCode` so that
the parameter name is consistent with .NET.

[0]: http://msdn.microsoft.com/en-us/library/3xade62s(v=vs.100).aspx

9 years agoFix NET_2_0 build
Alexander Köplinger [Tue, 4 Nov 2014 09:49:57 +0000 (10:49 +0100)]
Fix NET_2_0 build

9 years agoMerge pull request #1363 from martinjt/AddMembershipPasswordAttribute
Miguel de Icaza [Tue, 4 Nov 2014 17:51:53 +0000 (12:51 -0500)]
Merge pull request #1363 from martinjt/AddMembershipPasswordAttribute

Added the MembershipPasswordAttribute class and associated unit tests

9 years ago[sgen] Use hash based on current address for finalization hashes.
Vlad Brezae [Thu, 30 Oct 2014 22:04:48 +0000 (15:04 -0700)]
[sgen] Use hash based on current address for finalization hashes.

Extend functionality of SgenPointerQueue.

The purpose of this commit is to avoid dependency between GC code and the obtaining of the hash from the object's synchronisation field, which might require additional processing.

9 years ago[jit] Factor out duplicate code from the castclass/unbox.any opcode implementation.
Zoltan Varga [Mon, 3 Nov 2014 22:53:21 +0000 (17:53 -0500)]
[jit] Factor out duplicate code from the castclass/unbox.any opcode implementation.

9 years agoAdded the MembershipPasswordAttribute class and associated unit tests
Martin Thwaites [Fri, 24 Oct 2014 21:42:49 +0000 (22:42 +0100)]
Added the MembershipPasswordAttribute class and associated unit tests

9 years ago[jit] Reenable the more efficient cast code in gshared methods.
Zoltan Varga [Mon, 3 Nov 2014 21:06:46 +0000 (16:06 -0500)]
[jit] Reenable the more efficient cast code in gshared methods.

9 years agoMerge pull request #1185 from esdrubal/http-reuse
Marcos Henrich [Mon, 3 Nov 2014 11:41:13 +0000 (11:41 +0000)]
Merge pull request #1185 from esdrubal/http-reuse

Allow stream reuse when InputStream has been disposed.

9 years agoMerge pull request #1347 from ermshiperete/ImproveEllipsisHandling
Miguel de Icaza [Sun, 2 Nov 2014 17:36:49 +0000 (12:36 -0500)]
Merge pull request #1347 from ermshiperete/ImproveEllipsisHandling

[MWF] Improve ellipsis handling

9 years agoAdd missing newline in .sources file, should fix build
Alexander Köplinger [Fri, 31 Oct 2014 22:07:28 +0000 (23:07 +0100)]
Add missing newline in .sources file, should fix build

9 years ago[asp.net] Implement the EventHandlerTaskAsyncHelper and HttpTaskAsyncHandler classes...
Miguel de Icaza [Sun, 2 Nov 2014 01:23:05 +0000 (21:23 -0400)]
[asp.net] Implement the EventHandlerTaskAsyncHelper and HttpTaskAsyncHandler classes;  Manually bring Pull Request 1365 from Kornel Pal

9 years agoMerge pull request #1371 from martinjt/AddClientDisconnectedToken
Miguel de Icaza [Sun, 2 Nov 2014 00:50:48 +0000 (20:50 -0400)]
Merge pull request #1371 from martinjt/AddClientDisconnectedToken

Add ClientDisconnectedToken property to HttpResponseBase and Wrapper as ...

9 years agoSet ReadEntityBodyMode default to Classic to force clients to use the old method
Miguel de Icaza [Sun, 2 Nov 2014 00:49:10 +0000 (20:49 -0400)]
Set ReadEntityBodyMode default to Classic to force clients to use the old method
for reading the input stream.

According to the MSDN docs, if ReadEntityBodyMode returns "Classic" the code should use
the old method to read the input stream (HttpRequestBase.InputStream) which is fully
implemented in mono.

Manually applied patch from martinjt

9 years ago[asp.net] Implement the EventHandlerTaskAsyncHelper and HttpTaskAsyncHandler classes...
Miguel de Icaza [Sun, 2 Nov 2014 00:48:12 +0000 (20:48 -0400)]
[asp.net] Implement the EventHandlerTaskAsyncHelper and HttpTaskAsyncHandler classes;  Manually bring Pull Request 1365 from Kornel Pal

9 years agoMerge pull request #1163 from AerisG222/more_mvc_fixes
Miguel de Icaza [Sun, 2 Nov 2014 00:36:49 +0000 (20:36 -0400)]
Merge pull request #1163 from AerisG222/more_mvc_fixes

Add missing elements to allow MVC5.2 site to run

9 years ago[xml] XmlDocument.ReadNode() should not special case XmlTextReader.
Atsushi Eno [Fri, 31 Oct 2014 16:06:05 +0000 (00:06 +0800)]
[xml] XmlDocument.ReadNode() should not special case XmlTextReader.

Added test case that proves this change (by baulig).

9 years agoMerge pull request #960 from ermshiperete/ShowHelp
Miguel de Icaza [Fri, 31 Oct 2014 15:20:20 +0000 (11:20 -0400)]
Merge pull request #960 from ermshiperete/ShowHelp

[MWF] Partially implement Help.ShowHelp

9 years agoMerge pull request #1360 from madewokherd/winuncpath
João Matos [Fri, 31 Oct 2014 13:52:33 +0000 (13:52 +0000)]
Merge pull request #1360 from madewokherd/winuncpath

File URI's without a host are not UNC paths on Windows.

9 years ago[sgen] Add an explanatory comment about OOM.
Mark Probst [Thu, 30 Oct 2014 23:28:03 +0000 (16:28 -0700)]
[sgen] Add an explanatory comment about OOM.

9 years ago[runtime] Fix the android build with ndk r10c.
Zoltan Varga [Thu, 30 Oct 2014 22:44:01 +0000 (18:44 -0400)]
[runtime] Fix the android build with ndk r10c.

9 years agoMerge pull request #1381 from schani/fix-23401
Rodrigo Kumpera [Thu, 30 Oct 2014 22:43:36 +0000 (18:43 -0400)]
Merge pull request #1381 from schani/fix-23401

Fix 23401

9 years ago[aot] Remove some obsolete TODOs.
Zoltan Varga [Thu, 30 Oct 2014 21:56:19 +0000 (17:56 -0400)]
[aot] Remove some obsolete TODOs.

9 years ago[aot] Use the info->tramp_page_code_offsets array on arm as well.
Zoltan Varga [Thu, 30 Oct 2014 21:52:33 +0000 (17:52 -0400)]
[aot] Use the info->tramp_page_code_offsets array on arm as well.

9 years agoFix a warning.
Zoltan Varga [Thu, 30 Oct 2014 21:28:31 +0000 (17:28 -0400)]
Fix a warning.

9 years agoAdd the -Qunused-arguments warning to CPPFLAGS too.
Zoltan Varga [Thu, 30 Oct 2014 21:28:22 +0000 (17:28 -0400)]
Add the -Qunused-arguments warning to CPPFLAGS too.

9 years ago[llvm] Remove the unused LLVM_MAJOR_VERSION/LLVM_MINOR_VERSION defines.
Zoltan Varga [Thu, 30 Oct 2014 21:23:13 +0000 (17:23 -0400)]
[llvm] Remove the unused LLVM_MAJOR_VERSION/LLVM_MINOR_VERSION defines.

9 years agoAdd files that were forgotten in 6af798962810054fcf68f8e597de56b6490271a2, which...
Alexander Köplinger [Thu, 30 Oct 2014 21:16:20 +0000 (22:16 +0100)]
Add files that were forgotten in 6af798962810054fcf68f8e597de56b6490271a2, which is the re-apply of 950d9c8a567273c3363f43cee454f2b95a9f5da7

9 years ago[sgen] Don't store pin queue addresses, only indexes. Fixes #24084.
Mark Probst [Wed, 29 Oct 2014 23:36:02 +0000 (16:36 -0700)]
[sgen] Don't store pin queue addresses, only indexes.  Fixes #24084.

The pin queue can get relocated as a side-effect of resizing when late
pinning happens, so we can't count on pointers into it to remain valid.

9 years ago[sgen] Fix crash in late pinning.
Mark Probst [Wed, 29 Oct 2014 18:50:51 +0000 (11:50 -0700)]
[sgen] Fix crash in late pinning.

Our code assumed that late-pinned objects don't have a tag, but they
obviously have the pin tag, so use the safe function.

9 years ago[sgen] Don't loop endlessly when out of memory.
Mark Probst [Wed, 29 Oct 2014 18:48:09 +0000 (11:48 -0700)]
[sgen] Don't loop endlessly when out of memory.

9 years agoRevert incorrect changes from commit 950d9c8a567273c3363f43cee454f2b95a9f5da7
Ryan J. Melena [Thu, 30 Oct 2014 16:47:56 +0000 (11:47 -0500)]
Revert incorrect changes from commit 950d9c8a567273c3363f43cee454f2b95a9f5da7

Correctly handle null value deserialization in non-generic Deserialize(string, Type) method.

9 years agoRe-apply the patch, there isa fix for it
Miguel de Icaza [Thu, 30 Oct 2014 20:18:59 +0000 (16:18 -0400)]
Re-apply the patch, there isa  fix for it

9 years ago[Mono.Data.Tds] Allow sending of text data longer than 4000 characters by using a...
Zoltan Varga [Thu, 30 Oct 2014 18:39:38 +0000 (14:39 -0400)]
[Mono.Data.Tds] Allow sending of text data longer than 4000 characters by using a different column type. Fixes #21172.