Jonathan Pryor [Thu, 25 Oct 2012 15:11:42 +0000 (11:11 -0400)]
[Mono.Posix] Add Syscall.getgrouplist().
Merge branch 'master' of git://github.com/alexeymoiseew/mono into alexeymoiseew-master
Sebastien Pouliot [Thu, 25 Oct 2012 14:39:21 +0000 (10:39 -0400)]
Merge back MonoTouch changes inside the linker/tuner code
Sebastien Pouliot [Thu, 25 Oct 2012 14:33:15 +0000 (10:33 -0400)]
Allow the SortedList unit tests to be built with NUnitLite (MonoTouch)
Zoltan Varga [Wed, 24 Oct 2012 23:20:38 +0000 (01:20 +0200)]
Make sgen-fin-weak-hash.c a proper module.
Zoltan Varga [Wed, 24 Oct 2012 20:51:21 +0000 (22:51 +0200)]
Reorganize libmonoruntime_la_SOURCES to make it clear which files have compile time GC dependencies.
Zoltan Varga [Wed, 24 Oct 2012 20:33:11 +0000 (22:33 +0200)]
Remove the unused HAVE_WRITE_BARRIERS define.
Zoltan Varga [Wed, 24 Oct 2012 20:32:43 +0000 (22:32 +0200)]
Remove sgen dependencies from marshal.c
Zoltan Varga [Wed, 24 Oct 2012 17:59:15 +0000 (19:59 +0200)]
Remove the last #ifdef HAVE_SGEN_GC from gc-internal.h
Zoltan Varga [Wed, 24 Oct 2012 17:56:16 +0000 (19:56 +0200)]
Remove an unused field from DebuggerTlsData.
Rodrigo Kumpera [Wed, 24 Oct 2012 17:39:59 +0000 (13:39 -0400)]
Fix the linux build as it does check even from private glib symbols.
Rodrigo Kumpera [Wed, 24 Oct 2012 17:39:42 +0000 (13:39 -0400)]
Fix the build.
Alexey Moiseev [Wed, 24 Oct 2012 15:43:10 +0000 (18:43 +0300)]
usign List except for array to prevent holes on getgrouplist results
Alexey Moiseev [Wed, 24 Oct 2012 15:30:20 +0000 (18:30 +0300)]
Added omiting not valid groups to getgrouplist
Zoltan Varga [Wed, 24 Oct 2012 15:21:50 +0000 (17:21 +0200)]
Add support for complex descriptors to mono_gc_get_bitmap_for_descr ().
Jonathan Pryor [Wed, 24 Oct 2012 14:41:05 +0000 (07:41 -0700)]
Merge pull request #483 from meebey/syslog_gcc_format-security
Disable -Werror=format-security on GCC as the input is already validated...
Mirco Bauer [Wed, 24 Oct 2012 14:28:09 +0000 (16:28 +0200)]
Disable -Werror=format-security on GCC as the input is already validated by the caller
Jonathan Pryor (jonpryor) commented on
f49164b:
The message parameter is validated in managed code:
https://github.com/mono/mono/blob/master/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs#L3200
https://github.com/mono/mono/blob/master/mcs/class/Mono.Posix/Mono.Unix/UnixMarshal.cs#L366
This change means that '%m' isn't useful in format strings to Syscall.syslog(),
as it'll be escaped instead of "passed through" unchanged.
Atsushi Eno [Wed, 24 Oct 2012 02:57:57 +0000 (11:57 +0900)]
fix bug #7957: empty dictionary should not be read siblings as content.
Zoltan Varga [Wed, 24 Oct 2012 00:17:40 +0000 (02:17 +0200)]
Fix a problem in the SSA switch elimination code.
Martin Baulig [Tue, 23 Oct 2012 23:17:38 +0000 (01:17 +0200)]
[#7258][Web]: Fix proxy authentication for non-ssl sessions
Thanks a lot to Christian Gan for this patch :-)
Martin Baulig [Tue, 23 Oct 2012 16:18:49 +0000 (18:18 +0200)]
Test, triggering buildbot run.
I disabled Winforms in the mono-mac-master build like it has
already been disabled on mono-opensuse-master. This should now
produce a green build.
Alexey Moiseev [Tue, 23 Oct 2012 15:43:27 +0000 (18:43 +0300)]
Added overload to getgrouplist with Mono.Unix.Native.Passwd instance as input parameter. Documented getgrouplist functions.
Martin Baulig [Tue, 23 Oct 2012 10:41:57 +0000 (12:41 +0200)]
Disable failing tests on the Mac.
* System.Drawing (filed #7940 about this):
GraphicsTest.DrawFillRectangle_Width_2 and
GraphicsTest.FillDrawRectangle_Width_2
* Mono.Posix (filed #7942):
UnixUserTest.NonReentrantSyscalls
* WCF (filed #7943):
CallbackBehaviorAttributeTest.CallbackExample1
CallbackBehaviorAttributeTest.CallbackExample2
UriTemplateTest.EscapedUriCandidate
UriTemplateTest.SimpleWebGet
AnnouncementClientTest.AnnonceOnlineOfflineAddressSchemeMismatch
Martin Baulig [Tue, 23 Oct 2012 05:26:42 +0000 (07:26 +0200)]
Fix CookieParserTest.TestExpires().
DateTime.MinValue.ToUniversalTime() != DateTime.MinValue
if you're living east of Greenwich.
Martin Baulig [Tue, 23 Oct 2012 03:56:16 +0000 (05:56 +0200)]
Add DateTime test to investigate the TestCookieParser.Expires() issue.
Martin Baulig [Tue, 23 Oct 2012 00:43:17 +0000 (02:43 +0200)]
Test; testing test failure on buildbot.
Martin Baulig [Mon, 22 Oct 2012 20:57:08 +0000 (22:57 +0200)]
Test; testing buildbot.
Zoltan Varga [Mon, 22 Oct 2012 21:31:20 +0000 (23:31 +0200)]
Move the sgen stop-the-world code to a separate file.
Duncan Mak [Mon, 22 Oct 2012 21:23:23 +0000 (17:23 -0400)]
Bump version number to 3.0.1
Rodrigo Kumpera [Mon, 22 Oct 2012 20:51:34 +0000 (16:51 -0400)]
Fix the eglib test suite.
Rodrigo Kumpera [Mon, 22 Oct 2012 18:22:22 +0000 (14:22 -0400)]
Degraded allocation is used for mature allocations but the memory governor ended up trying to free memory on the nursery.
* sgen-alloc.c (alloc_degraged): The free space check function assumes that we either used up all available
memory or we're in degraded mode. Degraded alloc is used to implement mature allocation, which resulted in us
doing a minor gc everything allocation.
Rodrigo Kumpera [Mon, 22 Oct 2012 16:42:29 +0000 (12:42 -0400)]
Rename new eglib functions to not use the g_ prefix.
giconv.c: Rename g_utf8_to_utf16_with_nuls to eg_utf8_to_utf16_with_nuls
to make sure we neither clashes with glib proper nor give the false impression
that it does exist there.
Jeffrey Stedfast [Mon, 22 Oct 2012 16:32:14 +0000 (12:32 -0400)]
[xbuild] PCL targets needs to load MonoAndroid targets file from MSBuildExtensionsPath
Fixes bug #7905
Marek Safar [Mon, 22 Oct 2012 14:11:22 +0000 (15:11 +0100)]
Implement optional parameters support in binder. Fixes #7912
Zoltan Varga [Mon, 22 Oct 2012 13:03:25 +0000 (15:03 +0200)]
Get rid of the mach_port field from SgenThreadInfo, its already available in the parent structure.
Zoltan Varga [Mon, 22 Oct 2012 12:48:21 +0000 (14:48 +0200)]
Store the thread context in SgenThreadInfo in all cases to reduce the amount of #ifdefs.
Zoltan Varga [Mon, 22 Oct 2012 12:43:16 +0000 (14:43 +0200)]
Reapply
d129e6a7f638dac856cdacad81539030ccb4e66b which got accidently reverted by the silent build changes.
Marek Safar [Mon, 22 Oct 2012 09:18:54 +0000 (10:18 +0100)]
Advance column on closing quote
Marek Safar [Mon, 22 Oct 2012 09:01:44 +0000 (10:01 +0100)]
Add monotouch runtime profile
Marek Safar [Sun, 21 Oct 2012 16:43:10 +0000 (17:43 +0100)]
Better build profile check
Alan McGovern [Mon, 22 Oct 2012 02:57:20 +0000 (22:57 -0400)]
[WindowsBase] Nuke a broken test
This looks like it's testing the behaviour of a stream with invalid
data which is already tested (correctly) in another test.
Martin Baulig [Sun, 21 Oct 2012 16:39:19 +0000 (18:39 +0200)]
[#7258][Web]: Check 'Connection: close' header.
When receiving a 407 in CreateTunnel(), check whether the server
asks to close the connection.
Thanks again to Christian Gan for this patch.
Martin Baulig [Sun, 21 Oct 2012 16:32:42 +0000 (18:32 +0200)]
[#7599][Web]: Use original uri to compute service point hash.
Use the original request Uri, not the proxy address, to compute
the service point hash.
Zoltan Varga [Sun, 21 Oct 2012 13:48:39 +0000 (15:48 +0200)]
Move the find_pinning_reference () function to sgen-debug.c.
Zoltan Varga [Fri, 19 Oct 2012 16:12:16 +0000 (18:12 +0200)]
Add a Makefile target to patch automake so it produces the same silent output as the old build did.
Alexey Moiseev [Fri, 19 Oct 2012 15:32:04 +0000 (18:32 +0300)]
Added new overlod of getgrouplist with Passwd object as input param. Also did some code changes and regenerated a documentation.
Zoltan Varga [Fri, 19 Oct 2012 15:08:45 +0000 (17:08 +0200)]
Make comparison of array types in mono_metadata_class_equal () go through do_mono_metadata_type_equal (), so arrays of generic parameters are handled correctly. Fixes #7848.
Marek Safar [Fri, 19 Oct 2012 12:43:25 +0000 (13:43 +0100)]
Don't print mcs directory in silent mode
Marek Safar [Fri, 19 Oct 2012 11:26:40 +0000 (12:26 +0100)]
Second try to make quiet build work reliably
Marek Safar [Fri, 19 Oct 2012 10:44:19 +0000 (11:44 +0100)]
Update (very old) dold to handle --silent argument
Atsushi Eno [Fri, 19 Oct 2012 07:11:55 +0000 (16:11 +0900)]
Revert "Use automake silent rules (work everywhere) instead of custom sed(s)"
This reverts commit
a7386ebbf60ebc533a4069b7ae9e1d4393ab567d.
Atsushi Eno [Fri, 19 Oct 2012 07:11:25 +0000 (16:11 +0900)]
Revert "Remove duplicate AM_INIT_AUTOMAKE"
This reverts commit
152f11721bdcdb79ed010817d872df29f8068483.
Martin Baulig [Fri, 19 Oct 2012 01:56:16 +0000 (03:56 +0200)]
[#7258][Web]: Support multiple proxy auth methods.
* AuthenticationManager.EnsureModules(): Swap the order of the
modules, putting the strongest ones first.
* WebConnection.CreateTunnel(): Pass the proxy's address to
AuthenticationManager to support CredentialsCache. Only attempt
one single authentication method.
I've done some extensive testing with different squid configurations
(digest only, ntlm only, digest and ntlm, ntlm and digest) and the
.NET runtime only attempts one single authentication method.
If you provide credentials like this:
var proxy = new WebProxy (proxyUrl, false);
proxy.Credentials = new NetworkCredential ("user", "pass", "domain");
then these must match the server's first authentication method.
You can also use a CredentialsCache like this:
var ntlm_cred = new NetworkCredential ("u1", "p1", "d1");
var digest_cred = new NetworkCredential ("u2", "u3", "d2");
var cc = new CredentialCache ();
cc.Add (proxy_uri, "NTLM", ntlm_cred);
cc.Add (proxy_uri, "Digest", digest_cred);
var proxy = new WebProxy (proxy_uri, false);
proxy.Credentials = cc;
Christian Gan [Thu, 18 Oct 2012 21:39:26 +0000 (23:39 +0200)]
[#7258][Web]: Implement NTLM proxy authentication.
This is mostly Christian Gan's patch for the bug report, I only
did a few minor tweaks to it. Thanks a lot for helping me out
with this. Martin.
Alexey Moiseev [Thu, 18 Oct 2012 16:22:39 +0000 (19:22 +0300)]
Fixing getgrouplist code to work on all supported systems
Marek Safar [Thu, 18 Oct 2012 14:37:01 +0000 (15:37 +0100)]
Remove duplicate AM_INIT_AUTOMAKE
Marek Safar [Thu, 18 Oct 2012 14:15:26 +0000 (15:15 +0100)]
Use automake silent rules (work everywhere) instead of custom sed(s)
Zoltan Varga [Thu, 18 Oct 2012 14:02:08 +0000 (16:02 +0200)]
Fix up class library test so they at least compile when running make check in runtime/. Add a 'test' target to compile them.
Marek Safar [Thu, 18 Oct 2012 12:44:55 +0000 (13:44 +0100)]
Be more quiet when building managed code
Marek Safar [Thu, 18 Oct 2012 12:42:09 +0000 (13:42 +0100)]
Don't ignore quiet mode on resign and verify
Marek Safar [Thu, 18 Oct 2012 10:56:29 +0000 (11:56 +0100)]
Disable all profiles when mcs build is disabled
Zoltan Varga [Thu, 18 Oct 2012 11:02:14 +0000 (13:02 +0200)]
Fix make check PROFILE=net_3_5 in Microsoft.Build.Tasks.
Zoltan Varga [Thu, 18 Oct 2012 10:54:40 +0000 (12:54 +0200)]
Fix make check PROFILE=net_2_0 in System.Runtime.Serialization.
Marek Safar [Thu, 18 Oct 2012 09:56:04 +0000 (02:56 -0700)]
Merge pull request #480 from Shabbafru/refs/heads/DataGridViewPatch
DataGridView: Fixed an ArgumentOutOfRangeException when adding rows to a DataGridView
Shabbafru [Thu, 18 Oct 2012 07:35:36 +0000 (09:35 +0200)]
DataGridView: Fixed an ArgumentOutOfRangeException when adding rows to a DataGridView
Martin Baulig [Wed, 17 Oct 2012 22:45:37 +0000 (00:45 +0200)]
[#7258][Web]: Fix proxy authentication for secure connections.
In WebConnection.CreateTunnel():
* Support multi "Proxy-Authentication" headers from the server.
* Pass a fake HttpWebRequest with method "CONNECT" to
AuthenticationManager.Authenticate(); the HTTP method is part
of the digest response.
* Add "Proxy-Connection: Keep-Alive".
Martin Baulig [Wed, 17 Oct 2012 18:56:21 +0000 (20:56 +0200)]
[#7258][Web]: Fix proxy authentication.
Add internal WebHeaderCollection.GetValues_internal() which lets
you disable splitting the results on commas.
We may get something like
Proxy-Authenticate: Digest realm="MyRealm", nonce="le1+UCAk1gLAdQAA",
qop="auth", stale=false, NTLM
from the server, which needs to be split into two headers.
Zoltan Varga [Wed, 17 Oct 2012 17:26:03 +0000 (19:26 +0200)]
Fix a problem with
9adc7023e66a04f162efa041ff2452222a85c977. Implement constrained calls to enum interface methods correctly.
Zoltan Varga [Wed, 17 Oct 2012 17:00:53 +0000 (19:00 +0200)]
Implement MonoJITMemoryManager:getPointerToNamedFunction () properly in the LLVM backend.
Bojan Rajkovic [Wed, 17 Oct 2012 16:35:38 +0000 (12:35 -0400)]
Revert "Bug 2663: Regular Expression Bug Fixes"
This reverts commit
dc6efdab2984d22b3f3d4c26f9674f8d70a94132. This
patch completely regressed performance for regexes in the same class
as the regexes it fixed. Xamarin bug #6198 details the regressions,
and I've confirmed that reverting this commit fixes the 2 order of
magnitude performance drop (with the patch, the test takes almost 7
seconds, without it, it takes .07 seconds). The bug still needs to be
fixed, but this is not the right fix.
Sebastien Pouliot [Wed, 17 Oct 2012 15:26:19 +0000 (11:26 -0400)]
Add support for 'server_name' extension in the TLS client hello message. Fix for #7664
Marek Safar [Wed, 17 Oct 2012 15:13:17 +0000 (16:13 +0100)]
Clean up for mobile profiles
Rodrigo Kumpera [Tue, 16 Oct 2012 22:27:37 +0000 (18:27 -0400)]
Bump version to 3.0.0.
Zoltan Varga [Tue, 16 Oct 2012 20:05:39 +0000 (22:05 +0200)]
Treat the 'this' parameter slot as a managed pointer for interface calls, since the unbox trampolines can transform it from a reference to an internal pointer.
Jeffrey Stedfast [Tue, 16 Oct 2012 15:36:21 +0000 (11:36 -0400)]
[Linq] Minor fixup to use elements.Length instead of indexes.Length
Mark Probst [Tue, 16 Oct 2012 15:09:53 +0000 (17:09 +0200)]
[sgen] Properly fix bridge internal memory tag.
We're using two different hash tables in the bridge code. I missed
one.
Marek Safar [Tue, 16 Oct 2012 14:09:16 +0000 (07:09 -0700)]
Merge pull request #479 from Shabbafru/upstream
DataGridView: Auto resizing of the width of row headers fails when no rows are displayed
scheibenpflug.a@gmail.com [Tue, 16 Oct 2012 13:41:44 +0000 (15:41 +0200)]
Fixed auto resizing of row headers width in the DataGridView when no rows are displayed
Marek Safar [Tue, 16 Oct 2012 10:52:02 +0000 (11:52 +0100)]
Copy all context flags from resolve context to block context. Fixes #7826
Zoltan Varga [Mon, 15 Oct 2012 21:09:57 +0000 (23:09 +0200)]
Fix a problem introduced by
63a5e6aa04e2d69b98c335be02eebcdbc6a87c7f. Scan the register locations before clearing them in the precise stack scanning code.
Zoltan Varga [Mon, 15 Oct 2012 18:32:56 +0000 (20:32 +0200)]
Fix the handling of param slots holding byref arguments on x86 when using precise stack marking. Add tests.
Zoltan Varga [Sun, 14 Oct 2012 19:52:18 +0000 (21:52 +0200)]
Fix an assert in the sgen match thread suspend code.
Zoltan Varga [Sun, 14 Oct 2012 19:49:00 +0000 (21:49 +0200)]
Add more info for collections/thread suspends to the sgen binary protocol.
Atsushi Eno [Mon, 15 Oct 2012 15:08:07 +0000 (00:08 +0900)]
Add some Microsoft.Build classes stubs.
They are used in NRefactory github master.
Zoltan Varga [Sun, 14 Oct 2012 17:41:02 +0000 (19:41 +0200)]
Fix compiling with SGEN_BINARY_PROTOCOL.
Zoltan Varga [Sun, 14 Oct 2012 14:32:21 +0000 (16:32 +0200)]
Add a debug function to sgen to do consistency checks of object pointers.
Zoltan Varga [Sun, 14 Oct 2012 14:29:43 +0000 (16:29 +0200)]
Clear the saved register locations when processing the last frame during precise stack scanning, the registers save info is not precise for the last frame.
Marek Safar [Sun, 14 Oct 2012 14:02:06 +0000 (15:02 +0100)]
Remove unreachable code
Marek Safar [Thu, 11 Oct 2012 11:48:49 +0000 (12:48 +0100)]
Don't report duplicate error when error recovery fails at eof
Marek Safar [Sat, 13 Oct 2012 08:36:20 +0000 (01:36 -0700)]
Merge pull request #476 from pruiz/xamarin-bug-2527
Fix implementation of System.IO.Packaging::GetRelativeUri(Uri,Uri) [fixes xamarin's bug #2727]
Zoltan Varga [Sat, 13 Oct 2012 08:19:40 +0000 (10:19 +0200)]
Zoltan Varga [Thu, 11 Oct 2012 18:57:30 +0000 (20:57 +0200)]
Remove some LLVM intrinsics declarations which no longer exist.
Zoltan Varga [Thu, 11 Oct 2012 17:36:45 +0000 (19:36 +0200)]
Upgrade LLVM backend to work with the latest code in the mono LLVM repo (
de7f73ea42408193b31aebbaa1f89f0e94cff96a).
Martin Baulig [Fri, 12 Oct 2012 22:39:13 +0000 (00:39 +0200)]
mono_lookup_pinvoke_call: Correctly handle full path names.
* Fix the prefix matching code: if the dllmap path is "/path/foo",
we want to look for "/path/libfoo", not "lib/path/foo".
* Check for @executable_path, @loader_path and @rpath on OS X.
(see http://stackoverflow.com/questions/
12834141/setting-path-of-the-native-library-for-dllimport-on-mono-for-mac/).
Pablo Ruiz Garcia [Fri, 12 Oct 2012 23:23:47 +0000 (01:23 +0200)]
Fix implementation of System.IO.Packaging::GetRelativeUri(Uri,Uri) [fixes xamarin's bug #2727].
Jeffrey Stedfast [Fri, 12 Oct 2012 19:59:35 +0000 (15:59 -0400)]
[Mono.Debugger.Soft] Reverted EscapeString() logic. We'll do this at a higher level.
Jeffrey Stedfast [Fri, 12 Oct 2012 19:55:31 +0000 (15:55 -0400)]
Modified the Linq Sort() to re-use the Array.Sort()
Jérémie Laval [Thu, 11 Oct 2012 15:40:26 +0000 (08:40 -0700)]
Merge pull request #440 from mono-soc-2012/garyb/resources
Bring resources implementation close to .NET 2 standard.
Mark Probst [Thu, 11 Oct 2012 15:37:39 +0000 (17:37 +0200)]
[sgen] Fix bridge code internal memory tag bug.
We need to use a different internal memory tag for each kind of data
item, otherwise we'll get an assertion.
garyb [Thu, 11 Oct 2012 15:17:54 +0000 (16:17 +0100)]
[Not Resources Related] Fixed buggy tests breaking the test build.
garyb [Thu, 11 Oct 2012 14:11:19 +0000 (15:11 +0100)]
Fix project files again after failed rebase