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.
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.
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
Marek Safar [Thu, 11 Oct 2012 11:03:26 +0000 (12:03 +0100)]
Bump bootstrap compiler support to include default parameters
Marek Safar [Thu, 11 Oct 2012 10:55:45 +0000 (11:55 +0100)]
Implement PropertyInfo simple Get/SetValue. Fixes #7725
Marek Safar [Thu, 11 Oct 2012 09:49:59 +0000 (10:49 +0100)]
Remove extra attributes
Marek Safar [Thu, 11 Oct 2012 09:49:09 +0000 (10:49 +0100)]
Add more incomplete expressions to ast.
Marek Safar [Wed, 10 Oct 2012 18:47:37 +0000 (19:47 +0100)]
Make block field readonly
Marek Safar [Wed, 10 Oct 2012 18:47:13 +0000 (19:47 +0100)]
Add new test
garyb [Wed, 10 Oct 2012 22:18:17 +0000 (23:18 +0100)]
Managed.Windows.Forms relies on System.Runtime.Serialization.Formatters.Soap
garyb [Thu, 13 Sep 2012 22:15:50 +0000 (23:15 +0100)]
Test solution added to Test folder, some project file updates
garyb [Fri, 14 Sep 2012 15:46:14 +0000 (16:46 +0100)]
Fix System.Web build
garyb [Thu, 13 Sep 2012 20:27:54 +0000 (21:27 +0100)]
Tidy after feedback
garyb [Thu, 13 Sep 2012 20:26:33 +0000 (21:26 +0100)]
Tidy after feedback
garyb [Tue, 21 Aug 2012 19:38:56 +0000 (20:38 +0100)]
Mark test NotWorking
garyb [Mon, 20 Aug 2012 16:31:15 +0000 (17:31 +0100)]
System.Resources: Tidy file headers
garyb [Mon, 20 Aug 2012 14:52:20 +0000 (15:52 +0100)]
System.Design: Tidy file headers and add test files to projects
garyb [Sat, 18 Aug 2012 20:59:11 +0000 (21:59 +0100)]
Support for ResXResourceWriter.BasePath being deeper than actual filepath
garyb [Fri, 17 Aug 2012 20:32:53 +0000 (21:32 +0100)]
Implement Basepath on ResXResourceWriter
garyb [Fri, 27 Jul 2012 15:43:54 +0000 (16:43 +0100)]
Fixed bug where using ResXResourceWriter filename ctor caused corrupted output
garyb [Wed, 18 Jul 2012 12:58:53 +0000 (13:58 +0100)]
Refactored, cleaned up
garyb [Wed, 18 Jul 2012 11:31:24 +0000 (12:31 +0100)]
Remove reliance on 2.0 profile test assembly
garyb [Wed, 18 Jul 2012 10:09:57 +0000 (11:09 +0100)]
Fixed comment writing. Ref to serialized obj no longer kept. Refactoring.
garyb [Tue, 17 Jul 2012 17:01:04 +0000 (18:01 +0100)]
More tests, more tidying, all present currently pass
garyb [Tue, 17 Jul 2012 10:23:53 +0000 (11:23 +0100)]
Fixes RE failing tests
garyb [Mon, 16 Jul 2012 15:34:22 +0000 (16:34 +0100)]
ResXDataNode based resx handling nearly complete. More tests added.
garyb [Thu, 12 Jul 2012 16:56:39 +0000 (17:56 +0100)]
ResXDataNode test refactoring, few more member tests.
garyb [Wed, 11 Jul 2012 11:19:14 +0000 (12:19 +0100)]
Added File Headers
garyb [Wed, 11 Jul 2012 10:24:48 +0000 (11:24 +0100)]
Draft Tests and Implementation of ResXDataNode Based ResX Handling
garyb [Tue, 19 Jun 2012 17:55:25 +0000 (18:55 +0100)]
StronglyTypedResourceBuilder implementation and tests.
Rodrigo Kumpera [Wed, 10 Oct 2012 22:01:21 +0000 (18:01 -0400)]
Merge remote-tracking branch 'joncham/sgen-msvc2'
Conflicts:
mono/metadata/sgen-copy-object.h
mono/metadata/sgen-gc.c
Rodrigo Kumpera [Wed, 10 Oct 2012 20:32:58 +0000 (13:32 -0700)]
Merge pull request #438 from mattleibow/master
UInt32 is too large for Int32
Andrew Wilson [Mon, 3 Sep 2012 20:13:28 +0000 (21:13 +0100)]
Add test for g_utf8_to_utf16_with_nuls.
Andrew Wilson [Mon, 3 Sep 2012 20:06:50 +0000 (21:06 +0100)]
Fix bug 5732, nuls in attribute strings.
Andrew Wilson [Mon, 3 Sep 2012 20:12:47 +0000 (21:12 +0100)]
Add g_utf8_to_utf16_with_nuls for strings containing nul.
Rodrigo Kumpera [Wed, 3 Oct 2012 16:26:28 +0000 (12:26 -0400)]
Make sure that the unsafe array store intrinsics emit a write barrier.
* method-to-ir.c: Array.UnsafeStore and Array.SetGenericValueImpl must
emit a write barrier for reference types.
Marek Safar [Wed, 10 Oct 2012 07:47:44 +0000 (08:47 +0100)]
Add catch variable to ast when block is missing
Sebastien Pouliot [Tue, 9 Oct 2012 23:45:36 +0000 (19:45 -0400)]
[OSX][iOS] Ensure 'sectrust' is released even if we deny the request
Sebastien Pouliot [Tue, 9 Oct 2012 23:43:52 +0000 (19:43 -0400)]
Provide a non-null X509Chain in the callback for MonoTouch (useful for custom validations) but we are not fully building it (since we do not use the output) and this can be done if customization is required
Martin Baulig [Tue, 9 Oct 2012 19:49:05 +0000 (21:49 +0200)]
[WCF,Serialization] Improve and fully implement support for collection types.
* System.Runtime.Serialization/XsdDataContractImporter:
Check ImportOptions.ReferencedCollectionTypes to determine the proxy type.
* System.ServiceModel.Description/MetadataImporter.cs:
Very simply implementation of the 'State' property.
* System.ServiceModel.Description/DataContractSerializerMessageContractImporter.cs:
Use it here.
* Test/Resources/WSDL: Added some sample .wsdl files for the new tests; adding
these as resources to the test dll.
* Test/System.Runtime.Serialization: Added WsdlHelper.cs,
XsdDataContractImporterTest2.cs and XsdDataContractExportTest2.cs
Zoltan Varga [Tue, 9 Oct 2012 19:36:26 +0000 (21:36 +0200)]
Clean up some cross-compilation issues on osx. Add a TARGET_MACH define instead of using __MACH__.
Marek Safar [Tue, 9 Oct 2012 07:49:36 +0000 (08:49 +0100)]
Don't include prepared catch block in ast when it's unfinished