mono.git
11 years agoMerge pull request #485 from mtausig/master
Marek Safar [Mon, 29 Oct 2012 16:49:43 +0000 (09:49 -0700)]
Merge pull request #485 from mtausig/master

Bugfix for DirectoryInfo.GetDirectories()

11 years agoFix: Removed wrong increment
mtausig [Mon, 29 Oct 2012 15:50:35 +0000 (16:50 +0100)]
Fix: Removed wrong increment

11 years agoAdd missing 3rd System reference
Marek Safar [Mon, 29 Oct 2012 15:34:16 +0000 (16:34 +0100)]
Add missing 3rd System reference

11 years ago[#7637][Web]: This is supposed to fail prior to .NET 4.0.
Martin Baulig [Mon, 29 Oct 2012 14:47:49 +0000 (15:47 +0100)]
[#7637][Web]: This is supposed to fail prior to .NET 4.0.

Fixes my previous commit 1ccb01e.

11 years agoRemoved null check of parameter (done in Directory.GetDirectories)
mtausig [Mon, 29 Oct 2012 12:29:24 +0000 (13:29 +0100)]
Removed null check of parameter (done in Directory.GetDirectories)
Changed foreach loop to for loop
Added some comments

11 years agoLabel inside implicit switch block is accessible from any switch case. Fixes #8036
Marek Safar [Mon, 29 Oct 2012 12:09:22 +0000 (13:09 +0100)]
Label inside implicit switch block is accessible from any switch case. Fixes #8036

11 years agoReject incomplete conversion unary user operators. Fixes #7935.
Marek Safar [Mon, 29 Oct 2012 10:23:03 +0000 (11:23 +0100)]
Reject incomplete conversion unary user operators. Fixes #7935.

11 years agoAdded Testcase for DirectoryInfo.GetDirectories with parameter
mtausig [Mon, 29 Oct 2012 10:06:41 +0000 (11:06 +0100)]
Added Testcase for DirectoryInfo.GetDirectories with parameter
SearchOption.AlLDirectories

11 years agoRemoved extra-brace
mtausig [Mon, 29 Oct 2012 10:06:14 +0000 (11:06 +0100)]
Removed extra-brace

11 years agoDisable the build of libmini.la when libraries are disabled.
Zoltan Varga [Sat, 27 Oct 2012 01:10:26 +0000 (03:10 +0200)]
Disable the build of libmini.la when libraries are disabled.

11 years agoAdd a --disable-libraries command line option to disable the build of libmono.
Zoltan Varga [Sat, 27 Oct 2012 01:03:51 +0000 (03:03 +0200)]
Add a --disable-libraries command line option to disable the build of libmono.

11 years ago[#7637][Web]: Support empty write streams.
Martin Baulig [Fri, 26 Oct 2012 23:15:21 +0000 (01:15 +0200)]
[#7637][Web]: Support empty write streams.

11 years ago[6329][Web]: Fixed abort race condition in WebConnection.ReadDone().
Martin Baulig [Fri, 26 Oct 2012 22:50:10 +0000 (00:50 +0200)]
[6329][Web]: Fixed abort race condition in WebConnection.ReadDone().

ReadDone() now passes the 'WebConnectionData' instance to GetResponse()
and 'readState' has been moved into 'WebConnectionData'.

Abort() can now reset 'Data' while ReadDone() still uses the old
instance, but learns about the abort request from 'data.ReadState'.

11 years agoHandle external protocols correctly in sdb.
Rodrigo Kumpera [Fri, 26 Oct 2012 21:15:48 +0000 (17:15 -0400)]
Handle external protocols correctly in sdb.

* debugger-agent.c: Handle deferred attach in sdb correctly when
an external protocol is used.

11 years agoMerge pull request #484 from roji/transactions_pspe
Marek Safar [Fri, 26 Oct 2012 20:26:43 +0000 (13:26 -0700)]
Merge pull request #484 from roji/transactions_pspe

Transaction now has limited support for PromotableSinglePhaseEnlistment

11 years agoMerge pull request #486 from fvalette/master
Marek Safar [Fri, 26 Oct 2012 20:24:03 +0000 (13:24 -0700)]
Merge pull request #486 from fvalette/master

Fix System.Media.SoundPlayer on Linux

11 years agoDisable LLVM for methods with clauses on darwin, current LLVM versions don't support it.
Zoltan Varga [Fri, 26 Oct 2012 20:13:27 +0000 (22:13 +0200)]
Disable LLVM for methods with clauses on darwin, current LLVM versions don't support it.

11 years agoAlign the trampoline stack size on MIPS.
Zoltan Varga [Fri, 26 Oct 2012 18:10:38 +0000 (20:10 +0200)]
Align the trampoline stack size on MIPS.

11 years agoClear sb->cached_str in mono_string_utf8_to_builder () so if the same stringbuilder...
Zoltan Varga [Fri, 26 Oct 2012 02:12:17 +0000 (04:12 +0200)]
Clear sb->cached_str in mono_string_utf8_to_builder () so if the same stringbuilder is passed to two pinvoke calls, the modifications made by the second are visible in the result of sb.ToString (). Fixes #7980.

11 years agoQuiet some automake warnings.
Zoltan Varga [Fri, 26 Oct 2012 00:52:05 +0000 (02:52 +0200)]
Quiet some automake warnings.

11 years agoEmit WebAsyncResult's callback on same thread on sync completion.
Martin Baulig [Thu, 25 Oct 2012 22:57:25 +0000 (00:57 +0200)]
Emit WebAsyncResult's callback on same thread on sync completion.

This fixes System.Net.Http.HttpClientTest.Send_Content_Put ().

11 years agoFix TaskFactory::FromAsync for methods that completed synchronously.
Martin Baulig [Thu, 25 Oct 2012 19:48:17 +0000 (21:48 +0200)]
Fix TaskFactory::FromAsync for methods that completed synchronously.

Don't call InnerInvoke() a 2nd time if the 'Begin' method that
completed synchronously already invoked the callback.

11 years ago[Fix] AudioData(wav) play performing badly under Linux
Florent Valette [Thu, 25 Oct 2012 15:46:28 +0000 (17:46 +0200)]
[Fix] AudioData(wav) play performing badly under Linux

Fix bug and improve performance of audio data play methode :
- Read only wave/Au raw data from Stream unstead of the whole file
- Play Sound chunk by chunk (chunk size compute at AudioDevice.setFormat call)
this is the best size compute by alsa for the hardware (better than the 4kB arbitrary size)
- Fix the chunk size to play. For Alsa, this size is in fragment, a fragment is one sample per channel
- count the data which are really play by alsa (snd_pcm_writei return a fragment size) and the next
chunk from that count.

Signed-off-by: Florent Valette <florent.valette@gmail.com>
11 years ago[Mono.Posix] Fix whitespace.
Jonathan Pryor [Thu, 25 Oct 2012 15:28:12 +0000 (11:28 -0400)]
[Mono.Posix] Fix whitespace.

Reduce whitespace changes from master.

11 years agoRevert "Increased waiting time for the certificate authentication from 100 ms to...
Jonathan Pryor [Thu, 25 Oct 2012 15:27:26 +0000 (11:27 -0400)]
Revert "Increased waiting time for the certificate authentication from 100 ms to 1000 ms. Because it was not enough for some kind of requests."

This reverts commit 592cdb463ba89cef6943962df5409177710d62d9.

This isn't required for Syscall.getgrouplist(), and should be part of
a separate pull request.

11 years ago[Fix] Advanced Linux Sound Architecture (ALSA) configuration in class AudioDevice.cs
Florent Valette [Thu, 25 Oct 2012 15:27:08 +0000 (17:27 +0200)]
[Fix] Advanced Linux Sound Architecture (ALSA) configuration in class AudioDevice.cs

Improve the configuration of the Alsa hardware parameters.
The buffer and chunk size are set to the best suitable size according to wave file
caracteristic, i.e., format, channel and sampling rate.

Add Alsa software parameter.
Alsa becomes in Ready State as soon as there is a data chunk in its ring buffer.
Alsa starts playing data as soon as its buffer is full.

Add a UnderRun recovery method while playing a sound. When a underRun occurs, Alsa
layer need to be re set to Ready State (by calling snd_pcm_prepare) and the data chunk
is re send to Alsa.

Signed-off-by: Florent Valette <florent.valette@gmail.com>
11 years ago[Mono.Posix] Add Syscall.getgrouplist().
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

11 years ago[Fix] Support to wave sound file under linux
Florent Valette [Thu, 25 Oct 2012 14:53:03 +0000 (16:53 +0200)]
[Fix] Support to wave sound file under linux

Some wave file had a 'fact' chunk in header's data.
This is specified for non-PCM format but some PCM wave sound file could have one.
These kind of file are played well by System.Media.SoundPlay on win32 system but no
sound is played at all on unix system because the 'data' chunk is not found. This
patch adds support for wave file which have this optional 'fact' chunk in header's data.
It's also read chunk data according to the chunk size.

Signed-off-by: Florent Valette <florent.valette@gmail.com>
11 years agoMerge back MonoTouch changes inside the linker/tuner code
Sebastien Pouliot [Thu, 25 Oct 2012 14:39:21 +0000 (10:39 -0400)]
Merge back MonoTouch changes inside the linker/tuner code

11 years agoAllow the SortedList unit tests to be built with NUnitLite (MonoTouch)
Sebastien Pouliot [Thu, 25 Oct 2012 14:33:15 +0000 (10:33 -0400)]
Allow the SortedList unit tests to be built with NUnitLite (MonoTouch)

11 years agoMake sgen-fin-weak-hash.c a proper module.
Zoltan Varga [Wed, 24 Oct 2012 23:20:38 +0000 (01:20 +0200)]
Make sgen-fin-weak-hash.c a proper module.

11 years agoReorganize libmonoruntime_la_SOURCES to make it clear which files have compile time...
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.

11 years agoRemove the unused HAVE_WRITE_BARRIERS define.
Zoltan Varga [Wed, 24 Oct 2012 20:33:11 +0000 (22:33 +0200)]
Remove the unused HAVE_WRITE_BARRIERS define.

11 years agoRemove sgen dependencies from marshal.c
Zoltan Varga [Wed, 24 Oct 2012 20:32:43 +0000 (22:32 +0200)]
Remove sgen dependencies from marshal.c

11 years agoRemove the last #ifdef HAVE_SGEN_GC from gc-internal.h
Zoltan Varga [Wed, 24 Oct 2012 17:59:15 +0000 (19:59 +0200)]
Remove the last #ifdef HAVE_SGEN_GC from gc-internal.h

11 years agoRemove an unused field from DebuggerTlsData.
Zoltan Varga [Wed, 24 Oct 2012 17:56:16 +0000 (19:56 +0200)]
Remove an unused field from DebuggerTlsData.

11 years agoFix the linux build as it does check even from private glib symbols.
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.

11 years agoFix the build.
Rodrigo Kumpera [Wed, 24 Oct 2012 17:39:42 +0000 (13:39 -0400)]
Fix the build.

11 years agoTransaction now has limited support for PromotableSinglePhaseEnlistment
Shay Rojansky [Tue, 23 Oct 2012 00:17:41 +0000 (02:17 +0200)]
Transaction now has limited support for PromotableSinglePhaseEnlistment

System.Transactions.Transaction is only partially implemented, and was lacking support for enlistments of type PromotableSinglePhaseEnlistment.
Specifically, this prevented usage of Npgsql with the ambient transactions feature (TransactionScope).

11 years agousign List except for array to prevent holes on getgrouplist results
Alexey Moiseev [Wed, 24 Oct 2012 15:43:10 +0000 (18:43 +0300)]
usign List except for array to prevent holes on getgrouplist results

11 years agoAdded omiting not valid groups to getgrouplist
Alexey Moiseev [Wed, 24 Oct 2012 15:30:20 +0000 (18:30 +0300)]
Added omiting not valid groups to getgrouplist

11 years agoAdd support for complex descriptors to mono_gc_get_bitmap_for_descr ().
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 ().

11 years agoMerge pull request #483 from meebey/syslog_gcc_format-security
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...

11 years agoDisable -Werror=format-security on GCC as the input is already validated by the caller
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.

11 years agofix bug #7957: empty dictionary should not be read siblings as content.
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.

11 years agoFix a problem in the SSA switch elimination code.
Zoltan Varga [Wed, 24 Oct 2012 00:17:40 +0000 (02:17 +0200)]
Fix a problem in the SSA switch elimination code.

11 years ago[#7258][Web]: Fix proxy authentication for non-ssl sessions
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 :-)

11 years agoTest, triggering buildbot run.
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.

11 years agoAdded overload to getgrouplist with Mono.Unix.Native.Passwd instance as input paramet...
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.

11 years agoDisable failing tests on the Mac.
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

11 years agoFix CookieParserTest.TestExpires().
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.

11 years agoAdd DateTime test to investigate the TestCookieParser.Expires() issue.
Martin Baulig [Tue, 23 Oct 2012 03:56:16 +0000 (05:56 +0200)]
Add DateTime test to investigate the TestCookieParser.Expires() issue.

11 years agoTest; testing test failure on buildbot.
Martin Baulig [Tue, 23 Oct 2012 00:43:17 +0000 (02:43 +0200)]
Test; testing test failure on buildbot.

11 years agoTest; testing buildbot.
Martin Baulig [Mon, 22 Oct 2012 20:57:08 +0000 (22:57 +0200)]
Test; testing buildbot.

11 years agoMove the sgen stop-the-world code to a separate file.
Zoltan Varga [Mon, 22 Oct 2012 21:31:20 +0000 (23:31 +0200)]
Move the sgen stop-the-world code to a separate file.

11 years agoBump version number to 3.0.1
Duncan Mak [Mon, 22 Oct 2012 21:23:23 +0000 (17:23 -0400)]
Bump version number to 3.0.1

11 years agoFix the eglib test suite.
Rodrigo Kumpera [Mon, 22 Oct 2012 20:51:34 +0000 (16:51 -0400)]
Fix the eglib test suite.

11 years agoDegraded allocation is used for mature allocations but the memory governor ended...
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.

11 years agoRename new eglib functions to not use the g_ prefix.
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.

11 years ago[xbuild] PCL targets needs to load MonoAndroid targets file from MSBuildExtensionsPath
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

11 years agoImplement optional parameters support in binder. Fixes #7912
Marek Safar [Mon, 22 Oct 2012 14:11:22 +0000 (15:11 +0100)]
Implement optional  parameters support in binder. Fixes #7912

11 years agoGet rid of the mach_port field from SgenThreadInfo, its already available in the...
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.

11 years agoStore the thread context in SgenThreadInfo in all cases to reduce the amount of ...
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.

11 years agoReapply d129e6a7f638dac856cdacad81539030ccb4e66b which got accidently reverted by...
Zoltan Varga [Mon, 22 Oct 2012 12:43:16 +0000 (14:43 +0200)]
Reapply d129e6a7f638dac856cdacad81539030ccb4e66b which got accidently reverted by the silent build changes.

11 years agoAdvance column on closing quote
Marek Safar [Mon, 22 Oct 2012 09:18:54 +0000 (10:18 +0100)]
Advance column on closing quote

11 years agoAdd monotouch runtime profile
Marek Safar [Mon, 22 Oct 2012 09:01:44 +0000 (10:01 +0100)]
Add monotouch runtime profile

11 years agoBetter build profile check
Marek Safar [Sun, 21 Oct 2012 16:43:10 +0000 (17:43 +0100)]
Better build profile check

11 years ago[WindowsBase] Nuke a broken test
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.

11 years ago[#7258][Web]: Check 'Connection: close' header.
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.

11 years ago[#7599][Web]: Use original uri to compute service point hash.
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.

11 years agoMove the find_pinning_reference () function to sgen-debug.c.
Zoltan Varga [Sun, 21 Oct 2012 13:48:39 +0000 (15:48 +0200)]
Move the find_pinning_reference () function to sgen-debug.c.

11 years agoAdd a Makefile target to patch automake so it produces the same silent output as...
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.

11 years agoAdded new overlod of getgrouplist with Passwd object as input param. Also did some...
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.

11 years agoMake comparison of array types in mono_metadata_class_equal () go through do_mono_met...
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.

11 years agoDon't print mcs directory in silent mode
Marek Safar [Fri, 19 Oct 2012 12:43:25 +0000 (13:43 +0100)]
Don't print mcs directory in silent mode

11 years agoSecond try to make quiet build work reliably
Marek Safar [Fri, 19 Oct 2012 11:26:40 +0000 (12:26 +0100)]
Second try to make quiet build work reliably

11 years agoUpdate (very old) dold to handle --silent argument
Marek Safar [Fri, 19 Oct 2012 10:44:19 +0000 (11:44 +0100)]
Update (very old) dold to handle --silent argument

11 years agoRevert "Use automake silent rules (work everywhere) instead of custom sed(s)"
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.

11 years agoRevert "Remove duplicate AM_INIT_AUTOMAKE"
Atsushi Eno [Fri, 19 Oct 2012 07:11:25 +0000 (16:11 +0900)]
Revert "Remove duplicate AM_INIT_AUTOMAKE"

This reverts commit 152f11721bdcdb79ed010817d872df29f8068483.

11 years ago[#7258][Web]: Support multiple proxy auth methods.
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;

11 years ago[#7258][Web]: Implement NTLM proxy authentication.
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.

11 years agoFixing getgrouplist code to work on all supported systems
Alexey Moiseev [Thu, 18 Oct 2012 16:22:39 +0000 (19:22 +0300)]
Fixing getgrouplist code to work on all supported systems

11 years agoRemove duplicate AM_INIT_AUTOMAKE
Marek Safar [Thu, 18 Oct 2012 14:37:01 +0000 (15:37 +0100)]
Remove duplicate AM_INIT_AUTOMAKE

11 years agoUse automake silent rules (work everywhere) instead of custom sed(s)
Marek Safar [Thu, 18 Oct 2012 14:15:26 +0000 (15:15 +0100)]
Use automake silent rules (work everywhere) instead of custom sed(s)

11 years agoFix up class library test so they at least compile when running make check in runtime...
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.

11 years agoBe more quiet when building managed code
Marek Safar [Thu, 18 Oct 2012 12:44:55 +0000 (13:44 +0100)]
Be more quiet when building managed code

11 years agoDon't ignore quiet mode on resign and verify
Marek Safar [Thu, 18 Oct 2012 12:42:09 +0000 (13:42 +0100)]
Don't ignore quiet mode on resign and verify

11 years agoDisable all profiles when mcs build is disabled
Marek Safar [Thu, 18 Oct 2012 10:56:29 +0000 (11:56 +0100)]
Disable all profiles when mcs build is disabled

11 years agoFix make check PROFILE=net_3_5 in Microsoft.Build.Tasks.
Zoltan Varga [Thu, 18 Oct 2012 11:02:14 +0000 (13:02 +0200)]
Fix make check PROFILE=net_3_5 in Microsoft.Build.Tasks.

11 years agoFix make check PROFILE=net_2_0 in System.Runtime.Serialization.
Zoltan Varga [Thu, 18 Oct 2012 10:54:40 +0000 (12:54 +0200)]
Fix make check PROFILE=net_2_0 in System.Runtime.Serialization.

11 years agoMerge pull request #480 from Shabbafru/refs/heads/DataGridViewPatch
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

11 years agoDataGridView: 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

11 years ago[#7258][Web]: Fix proxy authentication for secure connections.
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".

11 years ago[#7258][Web]: Fix proxy authentication.
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.

11 years agoFix a problem with 9adc7023e66a04f162efa041ff2452222a85c977. Implement constrained...
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.

11 years agoImplement MonoJITMemoryManager:getPointerToNamedFunction () properly in the LLVM...
Zoltan Varga [Wed, 17 Oct 2012 17:00:53 +0000 (19:00 +0200)]
Implement MonoJITMemoryManager:getPointerToNamedFunction () properly in the LLVM backend.

11 years agoRevert "Bug 2663: Regular Expression Bug Fixes"
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.

11 years agoAdd support for 'server_name' extension in the TLS client hello message. Fix for...
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

11 years agoClean up for mobile profiles
Marek Safar [Wed, 17 Oct 2012 15:13:17 +0000 (16:13 +0100)]
Clean up for mobile profiles

11 years agoBump version to 3.0.0.
Rodrigo Kumpera [Tue, 16 Oct 2012 22:27:37 +0000 (18:27 -0400)]
Bump version to 3.0.0.