mono.git
12 years agoFixes a warning in System.Web..dll
QuickJack [Thu, 29 Dec 2011 11:45:22 +0000 (12:45 +0100)]
Fixes a warning in System.Web..dll

12 years agoFixes a warning in Mono.Data.Sqlite.dll
QuickJack [Thu, 29 Dec 2011 11:38:14 +0000 (12:38 +0100)]
Fixes a warning in Mono.Data.Sqlite.dll

12 years agoFixes a warning in System.Windows.Forms.dll
QuickJack [Thu, 29 Dec 2011 11:33:18 +0000 (12:33 +0100)]
Fixes a warning in System.Windows.Forms.dll

12 years agoFixes some warnings in Mono.WeBrowser.dll
QuickJack [Tue, 27 Dec 2011 18:35:53 +0000 (19:35 +0100)]
Fixes some warnings in Mono.WeBrowser.dll

12 years agoFixes some warnings in System.Data.dll
QuickJack [Tue, 27 Dec 2011 18:16:04 +0000 (19:16 +0100)]
Fixes some warnings in System.Data.dll

12 years agoFixes a warning in System.dll
QuickJack [Tue, 27 Dec 2011 18:05:28 +0000 (19:05 +0100)]
Fixes a warning in System.dll

12 years agoRemoves 2 warnings CS0168
QuickJack [Tue, 27 Dec 2011 15:33:31 +0000 (16:33 +0100)]
Removes 2 warnings CS0168

12 years agoRemoves warning CS0219.
Martin [Wed, 14 Dec 2011 20:12:14 +0000 (21:12 +0100)]
Removes warning CS0219.

12 years agoremoves warning CS0168.
Martin [Wed, 14 Dec 2011 20:09:15 +0000 (21:09 +0100)]
removes warning CS0168.

12 years agoFixes an ASP.NET postback problem.
Martin [Wed, 14 Dec 2011 11:11:29 +0000 (12:11 +0100)]
Fixes an ASP.NET postback problem.

12 years agohttp://bugzilla.xamarin.com/show_bug.cgi?id=2345
Martin [Mon, 12 Dec 2011 12:12:07 +0000 (13:12 +0100)]
http://bugzilla.xamarin.com/show_bug.cgi?id=2345

12 years agoRemoves warning CS0219 in line 1647
Martin [Fri, 2 Dec 2011 13:43:46 +0000 (14:43 +0100)]
Removes warning CS0219 in line 1647

12 years agoCode formatting fixes.
Martin [Fri, 2 Dec 2011 13:28:14 +0000 (14:28 +0100)]
Code formatting fixes.

12 years agoWebRequest.GetSystemWebProxy() throws a NullReferenceException in case the proxy...
Martin [Tue, 29 Nov 2011 13:06:19 +0000 (14:06 +0100)]
WebRequest.GetSystemWebProxy() throws a NullReferenceException in case the proxy bypass list is empty or has not been configured for the system. This is true when running MonoDevelop 2.8.2 in Linux to debug an ASP.NET application. In this case, the debugger does not have access to the no_proxy environment variable. As a result, WebClient cannot be used in such an environment.

12 years agoCommit 6a9937d2166023c370489d8e6654d01f6ec52f44 is not correct. WebClient.Proxy shoul...
Martin [Tue, 29 Nov 2011 12:44:54 +0000 (13:44 +0100)]
Commit 6a9937d2166023c370489d8e6654d01f6ec52f44 is not correct. WebClient.Proxy should return WebRequest.DefaultProxy if WebClient.Proxy has NOT been set before.

12 years agoFixes some naming conventions.
Martin [Fri, 28 Oct 2011 13:41:40 +0000 (16:41 +0300)]
Fixes some naming conventions.

12 years agoDo not throw an exception if Proxy is set to null. Compare this implementation to...
Martin [Tue, 25 Oct 2011 07:55:10 +0000 (10:55 +0300)]
Do not throw an exception if Proxy is set to null. Compare this implementation to HttpWebRequest.Proxy.

12 years agoBehaviour of using proxies in WebClient is different compared to .NET
Martin [Tue, 25 Oct 2011 07:51:58 +0000 (10:51 +0300)]
Behaviour of using proxies in WebClient is different compared to .NET

(1) Consider the following example code:

WebClient client=new WebClient();

If you examine the client.Proxy property when running this code in .NET you will see, that the Proxy property reflects the current system proxy settings. However, Mono initializes the Proxy property in OpenRead()

(2) Mono's implementation of the WebClient.Proxy property described in (1) has a disadvantage. To understand that, consider der following example code:

WebClient client=new WebClient();

client.Proxy=null;

Explicitely setting the Proxy property to null ensures that .NET does not use any proxies when calling further methods of the client object. My patch provides exactly this functionality for Mono's WebClient when using the http or ftp protocol. This functionality can be very interesting for a lot of scenarios.

12 years agoFixes an Exception that is beeing thrown in Linux when the no_proxy environment varia...
Martin [Tue, 25 Oct 2011 07:36:37 +0000 (10:36 +0300)]
Fixes an Exception that is beeing thrown in Linux when the no_proxy environment variable is empty.

12 years agoUpdate mcs/class/System/System.Net/WebRequest.cs
Martin [Mon, 17 Oct 2011 07:08:06 +0000 (10:08 +0300)]
Update mcs/class/System/System.Net/WebRequest.cs

12 years agoProvide proxy support for Windows; completes https://bugzilla.novell.com/show_bug...
Martin [Sun, 16 Oct 2011 12:53:26 +0000 (15:53 +0300)]
Provide proxy support for Windows; completes https://bugzilla.novell.com/show_bug.cgi?id=691291

12 years agoProvide proxy support for Windows; completes https://bugzilla.novell.com/show_bug...
Martin [Sun, 16 Oct 2011 12:50:50 +0000 (15:50 +0300)]
Provide proxy support for Windows; completes https://bugzilla.novell.com/show_bug.cgi?id=691291

12 years agorespect BypassOnLocal attribute in GetSystemWebProxy(); completes https://bugzilla...
Martin [Sun, 16 Oct 2011 11:17:10 +0000 (14:17 +0300)]
respect BypassOnLocal attribute in GetSystemWebProxy(); completes https://bugzilla.novell.com/show_bug.cgi?id=691291

12 years agoEdited mcs/class/System/System.Net/WebRequest.cs via GitHub
QuickJack [Tue, 11 Oct 2011 11:39:40 +0000 (14:39 +0300)]
Edited mcs/class/System/System.Net/WebRequest.cs via GitHub

12 years agoEdited mcs/class/System/System.Net/WebRequest.cs via GitHub
QuickJack [Tue, 11 Oct 2011 11:27:32 +0000 (14:27 +0300)]
Edited mcs/class/System/System.Net/WebRequest.cs via GitHub

12 years agoEdited mcs/class/System/System.Net.Configuration/BypassElement.cs via GitHub
QuickJack [Tue, 11 Oct 2011 11:24:44 +0000 (14:24 +0300)]
Edited mcs/class/System/System.Net.Configuration/BypassElement.cs via GitHub

12 years agoEdited mcs/class/System/System.Net.Configuration/ProxyElement.cs via GitHub
QuickJack [Tue, 11 Oct 2011 11:23:12 +0000 (14:23 +0300)]
Edited mcs/class/System/System.Net.Configuration/ProxyElement.cs via GitHub

12 years agoFix crash when resolving base type without being defined. Fixes #1388
Marek Safar [Tue, 11 Oct 2011 11:06:15 +0000 (12:06 +0100)]
Fix crash when resolving base type without being defined. Fixes #1388

12 years agoAvoid asserts in sdb if a single step operation is started immediately after the...
Zoltan Varga [Tue, 11 Oct 2011 08:54:31 +0000 (10:54 +0200)]
Avoid asserts in sdb if a single step operation is started immediately after the VMStart event

12 years agoImplement registration of new transports in the debugger agent.
Zoltan Varga [Tue, 11 Oct 2011 01:49:41 +0000 (03:49 +0200)]
Implement registration of new transports in the debugger agent.

12 years agoFix 055255aa5575b3eb6edb9a43fafbdabc76249bce. attr_klass can be NULL.
Zoltan Varga [Tue, 11 Oct 2011 01:47:09 +0000 (03:47 +0200)]
Fix 055255aa5575b3eb6edb9a43fafbdabc76249bce. attr_klass can be NULL.

12 years agoIgnore some corlib tests which fail on linux
Zoltan Varga [Sat, 8 Oct 2011 04:57:12 +0000 (06:57 +0200)]
Ignore some corlib tests which fail on linux

12 years agoPopulate already inflated type instances with defined interfaces. Fixes #1389
Marek Safar [Mon, 10 Oct 2011 17:39:42 +0000 (18:39 +0100)]
Populate already inflated type instances with defined interfaces. Fixes #1389

12 years ago[sgen] Don't assert that we can't suspend a thread on Win32.
Mark Probst [Mon, 10 Oct 2011 16:46:34 +0000 (18:46 +0200)]
[sgen] Don't assert that we can't suspend a thread on Win32.

A thread might die while we're stopping the world.

12 years agoMore changes needed for 4.5 profile
Marek Safar [Sun, 9 Oct 2011 13:04:04 +0000 (14:04 +0100)]
More changes needed for 4.5 profile

12 years agoMerge branch 'sgen-windows'
Mark Probst [Sun, 9 Oct 2011 13:01:12 +0000 (15:01 +0200)]
Merge branch 'sgen-windows'

12 years ago[win32] Query the start of a memory region in mono_vfree().
Mark Probst [Sat, 8 Oct 2011 15:46:35 +0000 (17:46 +0200)]
[win32] Query the start of a memory region in mono_vfree().

Since mono_valloc_aligned() doesn't necessarily return the start of
a region as alloced by VirtualAlloc(), we need to determine the start
via VirtualQuery() to pass to VirtualFree().

The VirtualQuery() is obviously not necessary when freeing a region
returned by mono_valloc(), but we do it anyway.  If this ever becomes
a performance issue we might want a separate mono_vfree_aligned().

12 years ago[sgen] Managed allocator and wbarrier for Win32 by enabling TLS.
Mark Probst [Wed, 5 Oct 2011 22:33:40 +0000 (00:33 +0200)]
[sgen] Managed allocator and wbarrier for Win32 by enabling TLS.

12 years ago[sgen] Get the thread's domain via a callback, not via TLS.
Mark Probst [Wed, 5 Oct 2011 21:42:31 +0000 (23:42 +0200)]
[sgen] Get the thread's domain via a callback, not via TLS.

12 years agoFix a windows warning
Zoltan Varga [Sun, 9 Oct 2011 07:54:50 +0000 (09:54 +0200)]
Fix a windows warning

12 years agoUse HOST_WIN32 in one place
Zoltan Varga [Sun, 9 Oct 2011 05:43:20 +0000 (07:43 +0200)]
Use HOST_WIN32 in one place

12 years agoDon't define TARGET_WIN32 in cross compilers running on windows
Zoltan Varga [Sun, 9 Oct 2011 05:42:51 +0000 (07:42 +0200)]
Don't define TARGET_WIN32 in cross compilers running on windows

12 years agoRevert previous quick fix.
Gonzalo Paniagua Javier [Sat, 8 Oct 2011 15:09:17 +0000 (11:09 -0400)]
Revert previous quick fix.

12 years agoRename namespace to Mono.Net.Dns
Gonzalo Paniagua Javier [Sat, 8 Oct 2011 15:07:03 +0000 (11:07 -0400)]
Rename namespace to Mono.Net.Dns

12 years agoAllocate non-code memory using mono_domain_alloc0 in mono_create_jit_trampoline_from_...
Zoltan Varga [Sun, 9 Oct 2011 02:45:26 +0000 (04:45 +0200)]
Allocate non-code memory using mono_domain_alloc0 in mono_create_jit_trampoline_from_token ().

12 years agoDisable a single step to speed up an sdb testcase
Zoltan Varga [Fri, 7 Oct 2011 23:03:56 +0000 (01:03 +0200)]
Disable a single step to speed up an sdb testcase

12 years agoMerge pull request #176 from jordan0day/master
Gonzalo Paniagua Javier [Sat, 8 Oct 2011 22:58:51 +0000 (15:58 -0700)]
Merge pull request #176 from jordan0day/master

Fix for typo in wsdl tool error message

12 years agoFixed typo in wsdl tool error message.
Jordan Day [Sat, 8 Oct 2011 21:37:35 +0000 (16:37 -0500)]
Fixed typo in wsdl tool error message.

12 years agoUnbreak, take 3
Gonzalo Paniagua Javier [Sat, 8 Oct 2011 11:36:38 +0000 (07:36 -0400)]
Unbreak, take 3

12 years agoUnbreak, take 2
Gonzalo Paniagua Javier [Sat, 8 Oct 2011 11:22:57 +0000 (07:22 -0400)]
Unbreak, take 2

12 years agoUnbreak the build
Gonzalo Paniagua Javier [Sat, 8 Oct 2011 11:17:58 +0000 (07:17 -0400)]
Unbreak the build

12 years agoAdd info to the manual page on MONO_DNS
Gonzalo Paniagua Javier [Sat, 8 Oct 2011 04:55:38 +0000 (00:55 -0400)]
Add info to the manual page on MONO_DNS

12 years agoAdd support for an alternative managed DNS resolver
Gonzalo Paniagua Javier [Thu, 17 Mar 2011 23:45:32 +0000 (19:45 -0400)]
Add support for an alternative managed DNS resolver

The System.Net.Dns class will now use a fully managed implementation of
a DNS resolver which is much better when doing multiple queries at a
time.

12 years agoFix named parameter support in the Binder. Fixes #1321
Zoltan Varga [Sat, 8 Oct 2011 04:28:20 +0000 (06:28 +0200)]
Fix named parameter support in the Binder. Fixes #1321

12 years agoAdd a missing arg check to the sdb protocol code
Zoltan Varga [Fri, 7 Oct 2011 22:37:12 +0000 (00:37 +0200)]
Add a missing arg check to the sdb protocol code

12 years agoAdd the fallback to MonoDoc
Miguel de Icaza [Fri, 7 Oct 2011 20:36:28 +0000 (16:36 -0400)]
Add the fallback to MonoDoc

12 years agoAvoid loading the same documentation file twice
Miguel de Icaza [Fri, 7 Oct 2011 20:22:41 +0000 (16:22 -0400)]
Avoid loading the same documentation file twice

12 years agoFix cancelation with task start (only for most trivial cases)
Marek Safar [Fri, 7 Oct 2011 16:17:35 +0000 (17:17 +0100)]
Fix cancelation with task start (only for most trivial cases)

12 years agoContinuation task cannot be started. Fixes #996
Marek Safar [Fri, 7 Oct 2011 14:43:51 +0000 (15:43 +0100)]
Continuation task cannot be started. Fixes #996

12 years agoFix unit test
Marek Safar [Fri, 7 Oct 2011 10:37:55 +0000 (11:37 +0100)]
Fix unit test

12 years agoMark System.Data.Services.Client CLS-compliant
Marek Safar [Fri, 7 Oct 2011 10:10:42 +0000 (11:10 +0100)]
Mark System.Data.Services.Client CLS-compliant

12 years agoRemove some obsolete methods
Marek Safar [Fri, 7 Oct 2011 09:07:33 +0000 (10:07 +0100)]
Remove some obsolete methods

12 years agoAdd better diagnostics for tracking crashes in nested types importer
Marek Safar [Fri, 7 Oct 2011 08:47:41 +0000 (09:47 +0100)]
Add better diagnostics for tracking crashes in nested types importer

12 years agoRemove Mono.Async
Marek Safar [Thu, 6 Oct 2011 17:31:33 +0000 (18:31 +0100)]
Remove Mono.Async

12 years agoUpdate few constant values
Marek Safar [Thu, 6 Oct 2011 17:30:13 +0000 (18:30 +0100)]
Update few constant values

12 years agoAdd async methods to SslStream
Marek Safar [Thu, 6 Oct 2011 16:57:04 +0000 (17:57 +0100)]
Add async methods to SslStream

12 years agoFix parameter names
Marek Safar [Thu, 6 Oct 2011 16:29:50 +0000 (17:29 +0100)]
Fix parameter names

12 years agoAdd async methods to System.Net
Marek Safar [Thu, 6 Oct 2011 16:11:38 +0000 (17:11 +0100)]
Add async methods to System.Net

12 years agoRemove few ifdefs
Marek Safar [Thu, 6 Oct 2011 15:31:53 +0000 (16:31 +0100)]
Remove few ifdefs

12 years agoFix parameter names
Marek Safar [Thu, 6 Oct 2011 15:24:27 +0000 (16:24 +0100)]
Fix parameter names

12 years agoAdd async methods to System.Net.Sockets
Marek Safar [Thu, 6 Oct 2011 15:09:37 +0000 (16:09 +0100)]
Add async methods to System.Net.Sockets

12 years agoRemove ifdefs and fix argument names
Marek Safar [Thu, 6 Oct 2011 14:00:56 +0000 (15:00 +0100)]
Remove ifdefs and fix argument names

12 years agoRemove redundant check introduced in previous commit
Marek Safar [Thu, 6 Oct 2011 11:00:11 +0000 (12:00 +0100)]
Remove redundant check introduced in previous commit

12 years agoDon't reference WindowsBase in the mobile profiles.
Paolo Molaro [Fri, 7 Oct 2011 08:59:24 +0000 (10:59 +0200)]
Don't reference WindowsBase in the mobile profiles.

12 years ago[System] Added NetworkCredential.SecurePassword.
Rolf Bjarne Kvinge [Fri, 23 Sep 2011 11:42:58 +0000 (13:42 +0200)]
[System] Added NetworkCredential.SecurePassword.

12 years ago[Microsoft.Build] Stub out a lot of classes to make NuGet build with mono.
Rolf Bjarne Kvinge [Fri, 23 Sep 2011 11:41:10 +0000 (13:41 +0200)]
[Microsoft.Build] Stub out a lot of classes to make NuGet build with mono.

12 years agoIgnore headers generated by dtrace.
Rolf Bjarne Kvinge [Fri, 23 Sep 2011 11:35:57 +0000 (13:35 +0200)]
Ignore headers generated by dtrace.

12 years ago[System.Data] Clean up temporary file when done generating the parser.
Rolf Bjarne Kvinge [Fri, 23 Sep 2011 11:32:08 +0000 (13:32 +0200)]
[System.Data] Clean up temporary file when done generating the parser.

12 years agoUpdated .gitignore to ignore local files MonoDevelop creates.
Rolf Bjarne Kvinge [Fri, 23 Sep 2011 11:29:57 +0000 (13:29 +0200)]
Updated .gitignore to ignore local files MonoDevelop creates.

12 years ago[Microsoft.Build.Framework] Add a couple of 4.0 interfaces.
Rolf Bjarne Kvinge [Fri, 23 Sep 2011 11:28:35 +0000 (13:28 +0200)]
[Microsoft.Build.Framework] Add a couple of 4.0 interfaces.

12 years ago[WindowsBase] Relationship ids must be valid XML identifiers.
Rolf Bjarne Kvinge [Fri, 23 Sep 2011 11:21:39 +0000 (13:21 +0200)]
[WindowsBase] Relationship ids must be valid XML identifiers.

12 years agoFix the OSX build
Zoltan Varga [Thu, 6 Oct 2011 23:33:43 +0000 (01:33 +0200)]
Fix the OSX build

12 years agoMake the mono_native_thread functions real functions on all platforms
Zoltan Varga [Thu, 6 Oct 2011 17:11:46 +0000 (19:11 +0200)]
Make the mono_native_thread functions real functions on all platforms

12 years agoFix a windows warning
Zoltan Varga [Thu, 6 Oct 2011 17:10:41 +0000 (19:10 +0200)]
Fix a windows warning

12 years agoAvoid calling mono_monitor_get_fast_path () for the net 2.0 Enter
Zoltan Varga [Thu, 6 Oct 2011 17:10:15 +0000 (19:10 +0200)]
Avoid calling mono_monitor_get_fast_path () for the net 2.0 Enter

12 years ago[RabbitMQ.Client] Add spec files for 4.5 profile.
alexrp [Thu, 6 Oct 2011 12:27:15 +0000 (07:27 -0500)]
[RabbitMQ.Client] Add spec files for 4.5 profile.

12 years agoFix predefined SetResult parameters filter, so it can be used inside mscorlib
Marek Safar [Thu, 6 Oct 2011 10:50:39 +0000 (11:50 +0100)]
Fix predefined SetResult parameters filter, so it can be used inside mscorlib

12 years agoFix a warning
Marek Safar [Wed, 5 Oct 2011 15:31:07 +0000 (16:31 +0100)]
Fix a warning

12 years agoUse functions instead of macros from the mono_native_thread_... functions, add comments.
Zoltan Varga [Thu, 6 Oct 2011 01:01:06 +0000 (03:01 +0200)]
Use functions instead of macros from the mono_native_thread_... functions, add comments.

12 years agoEmit precise GC maps for vtypes passed as parameters, improve debug logging
Zoltan Varga [Thu, 6 Oct 2011 00:21:50 +0000 (02:21 +0200)]
Emit precise GC maps for vtypes passed as parameters, improve debug logging

12 years agoEnsure consistency when 'emitContext == true' is used in MONOTOUCH profile (since...
Sebastien Pouliot [Wed, 5 Oct 2011 21:30:02 +0000 (17:30 -0400)]
Ensure consistency when 'emitContext == true' is used in MONOTOUCH profile (since it won't work when the linker is enabled). Fix bug #1144

12 years agoInternalize [ComImport] in MONOTOUCH profile since it can make the (unlinked) applica...
Sebastien Pouliot [Wed, 5 Oct 2011 01:14:15 +0000 (21:14 -0400)]
Internalize [ComImport] in MONOTOUCH profile since it can make the (unlinked) application code crash (and we better spot this at compile time). Fix assistly #2357

12 years ago[System.ServiceModel] Write EndPointAddress properly in the 2.1 profile. Fixes #1244
Rolf Bjarne Kvinge [Wed, 5 Oct 2011 14:04:05 +0000 (16:04 +0200)]
[System.ServiceModel] Write EndPointAddress properly in the 2.1 profile. Fixes #1244

12 years agoReport better error for misused await operator
Marek Safar [Wed, 5 Oct 2011 14:41:01 +0000 (15:41 +0100)]
Report better error for misused await operator

12 years agoMake C#5 default lang version for mcs compiler
Marek Safar [Wed, 5 Oct 2011 09:48:31 +0000 (10:48 +0100)]
Make C#5 default lang version for mcs compiler

12 years agoFix a warning
Zoltan Varga [Tue, 4 Oct 2011 23:55:03 +0000 (01:55 +0200)]
Fix a warning

12 years agoFix the build
Zoltan Varga [Tue, 4 Oct 2011 22:29:27 +0000 (00:29 +0200)]
Fix the build

12 years agoAdd runtime support for the .NET Portable Libraries profile, by remapping assembly...
Zoltan Varga [Tue, 4 Oct 2011 21:54:02 +0000 (23:54 +0200)]
Add runtime support for the .NET Portable Libraries profile, by remapping assembly names with the 'retargettable' flag set to the current framework versions, and remapping System.Net to System

12 years agoFix a warning
Zoltan Varga [Tue, 4 Oct 2011 21:05:24 +0000 (23:05 +0200)]
Fix a warning

12 years agoFix MSVC build
Zoltan Varga [Tue, 4 Oct 2011 21:05:01 +0000 (23:05 +0200)]
Fix MSVC build