Jérémie Laval [Wed, 16 Feb 2011 13:46:01 +0000 (13:46 +0000)]
Return a new object in ObjectPool when too much time is spent spinning in Take
Marek Safar [Thu, 17 Feb 2011 09:30:11 +0000 (09:30 +0000)]
Remove duplicate Mono.Softdebugger
Marek Safar [Thu, 17 Feb 2011 09:28:56 +0000 (09:28 +0000)]
Fix full path file names parsing
Geoff Norton [Wed, 16 Feb 2011 21:10:11 +0000 (16:10 -0500)]
Fix ARCH_STORE_REGS on arm to save r0->r12 properly
Geoff Norton [Wed, 16 Feb 2011 20:04:23 +0000 (15:04 -0500)]
Remove dead code
Marek Safar [Wed, 16 Feb 2011 19:07:44 +0000 (19:07 +0000)]
Another make dist fix
Atsushi Eno [Wed, 16 Feb 2011 15:55:15 +0000 (00:55 +0900)]
MakXsdDataContractExporter refactoring to generally use SerializationMap.XmlName.
Fixed bug #670539.
Jb Evain [Wed, 16 Feb 2011 15:35:38 +0000 (16:35 +0100)]
fix the mobile build
Marek Safar [Wed, 16 Feb 2011 15:31:05 +0000 (15:31 +0000)]
Keep monolite in line with mono 2.4 corlib as I cannot handle two different versions
Marek Safar [Wed, 16 Feb 2011 14:47:23 +0000 (14:47 +0000)]
Fix mcs exit code for informative arguments
Marek Safar [Wed, 16 Feb 2011 14:12:42 +0000 (14:12 +0000)]
Make all arrays module specific
Hib Eris [Fri, 11 Feb 2011 14:29:09 +0000 (15:29 +0100)]
Decorate _image_base__ with __MINGW_LSYMBOL
This fix is needed in compiling for x86_x64.
Jérémie Laval [Wed, 16 Feb 2011 13:12:28 +0000 (13:12 +0000)]
Track what task is currently executed by a ThreadWorker and add the case for "parent waiting on children task it created" in CheckTaskFitness predicate.
This fixup PLinq processing when it's launched from a Task.
Jérémie Laval [Wed, 16 Feb 2011 13:11:42 +0000 (13:11 +0000)]
Create PLinq query tasks attached to their eventual task parent by default
Jérémie Laval [Wed, 16 Feb 2011 12:59:22 +0000 (12:59 +0000)]
When choosing the number of Task to create for a PLinq query, check if we are already in a running Task
Jérémie Laval [Wed, 16 Feb 2011 12:53:27 +0000 (12:53 +0000)]
Implement properly TaskScheduler's FromCurrentSynchronizationContext
Marek Safar [Wed, 16 Feb 2011 12:23:36 +0000 (12:23 +0000)]
Less static is good for my health
Atsushi Eno [Wed, 16 Feb 2011 09:48:06 +0000 (18:48 +0900)]
Don't reject serialization map for existing different (but same-purpose) type.
Atsushi Eno [Wed, 16 Feb 2011 09:17:09 +0000 (18:17 +0900)]
To header seems mandatory in April2005, so fill it.
Atsushi Eno [Wed, 16 Feb 2011 09:15:53 +0000 (18:15 +0900)]
April2005 AppSequence needs default constructor for deserialization.
Atsushi Eno [Wed, 16 Feb 2011 09:02:28 +0000 (18:02 +0900)]
xsi:type parsing is wrong in default namespace resolution.
Fixed case #3 in bug #652331.
Atsushi Eno [Wed, 16 Feb 2011 08:07:10 +0000 (17:07 +0900)]
Operation interface methods also have ServiceKnownType attributes.
Atsushi Eno [Wed, 16 Feb 2011 07:04:15 +0000 (16:04 +0900)]
KnownTypeCollection; recursively registered type was not added to the collection while it is "registered" state.
Gonzalo Paniagua Javier [Wed, 16 Feb 2011 01:23:14 +0000 (20:23 -0500)]
Fixes
Gonzalo Paniagua Javier [Wed, 16 Feb 2011 00:58:08 +0000 (19:58 -0500)]
Remove a bunch of warnings.
Martin Baulig [Tue, 15 Feb 2011 23:39:16 +0000 (00:39 +0100)]
Make pdb2mdb work with files in other directories.
Also added a public static method, so we can also use this as a library.
Andrew Jorgensen [Thu, 10 Feb 2011 14:36:52 +0000 (07:36 -0700)]
Mono.Debugger.Soft.dll is installed for 4.0 also.
Ankit Jain [Tue, 15 Feb 2011 14:38:05 +0000 (20:08 +0530)]
[xbuild] Fix bug #671700, resource naming in presence of "Link".
AssignTargetPath.cs: If 'Link' metadata is present, then use that
as the target path.
Add relevant test.
Marek Safar [Tue, 15 Feb 2011 14:30:07 +0000 (14:30 +0000)]
New test
Marek Safar [Tue, 15 Feb 2011 14:29:07 +0000 (14:29 +0000)]
[671878] Fixes IKVM ordering of catch clauses
Marek Safar [Tue, 15 Feb 2011 14:08:06 +0000 (14:08 +0000)]
Fix few warnings
Atsushi Eno [Tue, 15 Feb 2011 14:24:01 +0000 (23:24 +0900)]
Async MessageContract pattern needs more sophisticated contract validity check.
It totally killed discovery.
Atsushi Eno [Tue, 15 Feb 2011 14:14:27 +0000 (23:14 +0900)]
Message headers are now serialized and deserialized for MessageHeaderDescription.
Sebastien Pouliot [Tue, 15 Feb 2011 13:35:14 +0000 (08:35 -0500)]
Fix parameters names inside System.Net.dll for 2.1 profile
* System.Net/System.Net.Sockets/SocketException_2_1.cs:
* System.Net/System.Net/WebClient_2_1.cs:
* System.Net/System.Net/WebRequest_2_1.cs:
* System/System.Net.Sockets/Socket_2_1.cs:
* System/System.Net/Cookie.cs:
* System/System.Net/DnsEndPoint.cs:
* System/System.Net/EndPoint.cs:
* System/System.Net/IPAddress.cs:
* System/System.Net/IPEndPoint.cs:
* System/System.Net/SocketAddress.cs:
Remove all red ! from corcompare in System.Net.dll (Silverlight
4 profile) to make it easier to pinpoint other errors/warnings.
Atsushi Eno [Tue, 15 Feb 2011 13:37:28 +0000 (22:37 +0900)]
ServiceDescription.cs does not exist in moonlight, so move TypeExtension.
Jérémie Laval [Tue, 15 Feb 2011 13:36:27 +0000 (13:36 +0000)]
Fix test failure in SplitOrderedList
Jérémie Laval [Tue, 15 Feb 2011 13:25:25 +0000 (13:25 +0000)]
Implement TaskFactory.FromAsync
Marek Safar [Tue, 15 Feb 2011 13:16:06 +0000 (13:16 +0000)]
Hide boostrap compiler for people looking for mcs.exe
Marek Safar [Tue, 15 Feb 2011 13:15:31 +0000 (13:15 +0000)]
Update mcs translations
Marek Safar [Tue, 15 Feb 2011 13:14:03 +0000 (13:14 +0000)]
Fix monolite make dist
Atsushi Eno [Tue, 15 Feb 2011 13:11:22 +0000 (22:11 +0900)]
MessageHeaderDescription were not filled in message contract. Reject wrong contracts.
Atsushi Eno [Tue, 15 Feb 2011 13:10:09 +0000 (22:10 +0900)]
implement some ServiceHostBase public methods that already existed internally.
Marek Safar [Tue, 15 Feb 2011 12:11:28 +0000 (12:11 +0000)]
Add Mono.Debugger.Soft.dll to spec
Marek Safar [Tue, 15 Feb 2011 12:08:36 +0000 (12:08 +0000)]
Build monolite from correct location
Marek Safar [Mon, 14 Feb 2011 15:36:12 +0000 (15:36 +0000)]
Merge some useful changes from MD
Gonzalo Paniagua Javier [Tue, 15 Feb 2011 06:48:42 +0000 (01:48 -0500)]
[HttpListener] Close idle connections on Stop()
Idle connections that never received any data or had ever been
associated to a listener are properly closed now when the endpoint is
closed or the last listener they used is closed.
Fixes a bunch of tests in System.ServiceModel.
Atsushi Eno [Tue, 15 Feb 2011 06:47:46 +0000 (15:47 +0900)]
When the callback contract type is the same as the contract, do not block replies.
Atsushi Eno [Tue, 15 Feb 2011 06:47:22 +0000 (15:47 +0900)]
EndpointAddress could be empty on opening the factory.
Atsushi Eno [Tue, 15 Feb 2011 06:46:41 +0000 (15:46 +0900)]
PeeDuplex ChannelFactory must be opened in prior to create channels.
Atsushi Eno [Tue, 15 Feb 2011 06:45:58 +0000 (15:45 +0900)]
add private setter for message serialization.
Not sure if it is hack or required-to-do though.
Neale Ferguson [Mon, 14 Feb 2011 20:17:07 +0000 (15:17 -0500)]
Merge branch 'master' of github.com:mono/mono
Veerapuram Varadhan [Mon, 14 Feb 2011 19:51:28 +0000 (01:21 +0530)]
[bugfix]667855 - Fix handling of oracle raw data types sanely.
Gonzalo Paniagua Javier [Mon, 14 Feb 2011 19:36:14 +0000 (14:36 -0500)]
[HttpWebRequest] EndGetResponse already does this.
Gonzalo Paniagua Javier [Mon, 14 Feb 2011 19:34:47 +0000 (14:34 -0500)]
[HttpListener] UserHostName includes the port.
Jérémie Laval [Mon, 14 Feb 2011 18:16:51 +0000 (18:16 +0000)]
Correctly add ObjectPool to the build
Jérémie Laval [Mon, 14 Feb 2011 18:12:13 +0000 (18:12 +0000)]
Use ObjectPool in SplitOrderedList
Jérémie Laval [Mon, 14 Feb 2011 18:11:42 +0000 (18:11 +0000)]
Fix wrong CAS check in SplitOrderedList
Jérémie Laval [Mon, 14 Feb 2011 18:10:42 +0000 (18:10 +0000)]
Use ObjectPool in ConcurrentStack
Jérémie Laval [Mon, 14 Feb 2011 18:10:21 +0000 (18:10 +0000)]
Use ObjectPool in ConcurrentQueue
Jérémie Laval [Mon, 14 Feb 2011 18:09:38 +0000 (18:09 +0000)]
Add concurrent implementation of an ObjectPool to reuse small objects like Node instances
Gonzalo Paniagua Javier [Mon, 14 Feb 2011 17:29:26 +0000 (12:29 -0500)]
[HttpListener] These lines were not supposed to be there.
Atsushi Eno [Mon, 14 Feb 2011 16:54:13 +0000 (01:54 +0900)]
support UdpTranspoerSettings.MulticastInterfaceId. This should fix bug #669328.
Carsten Schlote [Fri, 12 Nov 2010 15:56:46 +0000 (16:56 +0100)]
Extended CloneCopy() test with ReadOnly field
- It is recommended to set auto-increment fields to ReadOnly. When
calling Copy() the check for ReadOnly must be omitted, otherwise
you get an exception.
The RadOnly attribute is set for the parent "Id" field to test
proper handling of read-only fields.
- Source reindention and cleanups.
Signed-off-by: Carsten Schlote <schlote@vahanus.net>
Carsten Schlote [Thu, 11 Nov 2010 16:35:41 +0000 (17:35 +0100)]
Fixes for broken RO check
- When calling GetChanges() the ReadOnly check for DataCalumns must be
turned off, as otherwise data of readonly columns can't be cloned
into new rows for the new created DataSet/dataTable
Signed-off-by: Carsten Schlote <schlote@vahanus.net>
Miguel de Icaza [Mon, 14 Feb 2011 15:03:45 +0000 (10:03 -0500)]
Remove
Miguel de Icaza [Mon, 14 Feb 2011 14:38:02 +0000 (09:38 -0500)]
[670974] Use the underlying BaseStream to read bytes instead of trying to peek a character.
Peeking a character as it turns out is a really bad idea as it involves the encoder
to pull characters. If the PeekChar happens to read a byte that is part of a
UTF8 string that needs more characters to process we would end up with the reported
crash.
Atsushi Enomoto tracked this down, and the fix is to use the binaryreader.BaseStream
to directly call into ReadByte and Read without ever probing with PeekChar (). It
is not really possible to use BinaryReader.ReadByte since this one can throw on
end-of-buffer conditions instead of returning -1
Neale Ferguson [Mon, 14 Feb 2011 14:31:38 +0000 (09:31 -0500)]
Merge branch 'master' of github.com:mono/mono
Neale Ferguson [Mon, 14 Feb 2011 14:31:00 +0000 (09:31 -0500)]
Add unwind support to s390x and fix stack unwinding so that exception17 now passes
Marek Safar [Mon, 14 Feb 2011 13:15:59 +0000 (13:15 +0000)]
New test
Marek Safar [Mon, 14 Feb 2011 12:42:22 +0000 (12:42 +0000)]
[671552] Use correct emit method for stobj type
Miguel de Icaza [Mon, 14 Feb 2011 13:17:25 +0000 (08:17 -0500)]
Do not build in parallel
Marek Safar [Mon, 14 Feb 2011 12:18:58 +0000 (12:18 +0000)]
Update to the latest IKVM
Gonzalo Paniagua Javier [Mon, 14 Feb 2011 00:51:23 +0000 (19:51 -0500)]
Comment out test that does not work on linux.
Gonzalo Paniagua Javier [Sun, 13 Feb 2011 20:01:29 +0000 (15:01 -0500)]
[HttpWebRequest] Use the timeout in GetResponse()
The timeout was not being used in GetResponse.
Fixes bug #603794.
Gonzalo Paniagua Javier [Sun, 13 Feb 2011 19:53:08 +0000 (14:53 -0500)]
[HttpWebRequest] Avoid nullref on empty cookie header.
If the Set-Cookie header is empty, the cookie instance is not created.
Fixes bug #670189.
Rodrigo Kumpera [Sun, 13 Feb 2011 18:52:02 +0000 (19:52 +0100)]
Don't assert on broken DM names.
* reflection.c (reflection_methodbuilder_to_mono_method):
Avoid asserting if the method name has invalid surrogates.
Fixes #643372.
Rodrigo Kumpera [Sun, 13 Feb 2011 18:50:28 +0000 (19:50 +0100)]
Add bad string resistent utf16-utf8 conversions.
* object.c: Add _ignore versions of the mono_string_to_utf8
family of functions that work with broken strings by
encoding them on a best effort basis.
Rodrigo Kumpera [Sun, 13 Feb 2011 18:48:01 +0000 (19:48 +0100)]
Avoid an infinite loop on broken utf16.
* gutf8.c (g_utf16_to_utf8): Increase the input counter
when encountering broken surrogates head or tails to
make sure we don't end in an infinite loop.
Rodrigo Kumpera [Sun, 13 Feb 2011 18:33:35 +0000 (19:33 +0100)]
Make Int32.Parse respect current culture.
* Int32.cs (Parse): Repect current culture for
positive and negative signs.
Fixes #586085
Alexandre Mutel [Sun, 13 Feb 2011 15:14:55 +0000 (16:14 +0100)]
Fix sizeof(T) in non-gshared code. Fixes #580189.
Mark Probst [Sun, 13 Feb 2011 15:10:10 +0000 (16:10 +0100)]
Merge branch 'bugfix-main-thread-root'
Zoltan Varga [Sun, 13 Feb 2011 15:03:54 +0000 (16:03 +0100)]
Add an assembly version to Mono.Debugger.Soft. Fixes #671536.
Mark Probst [Sun, 13 Feb 2011 14:47:50 +0000 (15:47 +0100)]
[sgen] Register the main_thread as a GC root. Fixes shutdown crashes.
Gonzalo Paniagua Javier [Sun, 13 Feb 2011 13:13:13 +0000 (08:13 -0500)]
[HttpListener] Small improvements
Less allocations in managed and unmanaged code.
Gonzalo Paniagua Javier [Sun, 13 Feb 2011 12:06:55 +0000 (07:06 -0500)]
[HttpListenre] Avoid multiple calls to Close()
HttpListenerResponse could be calling HttpConnection.Close() more than
once.
Zoltan Varga [Sun, 13 Feb 2011 03:23:20 +0000 (04:23 +0100)]
Fix reading of cattr arguments of type Type[]. Fixes #670331.
Miguel de Icaza [Sun, 13 Feb 2011 03:09:49 +0000 (22:09 -0500)]
Add solution files
Miguel de Icaza [Sun, 13 Feb 2011 03:07:05 +0000 (22:07 -0500)]
Various updates
Miguel de Icaza [Sat, 12 Feb 2011 21:30:18 +0000 (16:30 -0500)]
Pass warnings
Miguel de Icaza [Sat, 12 Feb 2011 06:31:20 +0000 (01:31 -0500)]
Visual Studio build support: updated the scripts that generate csproj files.
With the new C# compiler, the build complexity is vastly reduced, the new setup
is able to produce many of the csproj files.
The next step is to generate a couple of solutions:
* BootstrapSolution: to build the basic assemblies used to
build the rest of Mono from a set of basic assemblies.
This should be run to prepare a tree.
* 2.0 solution: builds the various 2.0 libraries and executables
* 4.0 solution: builds the various 4.0 libraries and executables
Installation: where should the resulting assemblies go once they are built?
Where should the assemblies go after the build is complete?
How do we turn a build into an redistributable package?
Gonzalo Paniagua Javier [Sat, 12 Feb 2011 05:03:33 +0000 (00:03 -0500)]
[gzip] Allow partial flush
When Flush() is called explicitly, do a Z_PARTIAL_FLUSH to force gzip
into giving us whatever is available. Less efficient, but compatible
with MS.
Miguel de Icaza [Fri, 11 Feb 2011 23:47:49 +0000 (18:47 -0500)]
Update the csproj generator targets
Gonzalo Paniagua Javier [Fri, 11 Feb 2011 23:35:29 +0000 (18:35 -0500)]
[Socket] Fix invalid cast
Fix invalid cast when canceling pending operations due to socket.Close.
Thomas Goldstein [Fri, 11 Feb 2011 23:12:54 +0000 (00:12 +0100)]
TabControlPainter.cs: Move up the Text / Image of the selected tab, matching .NET.
Thomas Goldstein [Fri, 11 Feb 2011 23:08:01 +0000 (00:08 +0100)]
TabControlPainter.cs: Horizontally center Text and Image when SizeMode = Fixed.
Zoltan Varga [Fri, 11 Feb 2011 23:14:44 +0000 (00:14 +0100)]
Fix token generation for TypeBuilder's in another assembly. Fixes #671245.
Miguel de Icaza [Fri, 11 Feb 2011 22:34:23 +0000 (17:34 -0500)]
[fix] changing Form.Enabled sometimes can change the list of OpenForms, fixes 671098
Andrius Bentkus [Sat, 29 Jan 2011 15:35:46 +0000 (16:35 +0100)]
Check filename of assemblies before installing with gacutil.
gacutil just used the filename (which can be different compared to
the assembly name) in order to install assemblies, though afterwards
entirely relied on the filename to be equal to the assembly name.
In other words, installing assemblies where the filename differed
from the assembly name resulted in an incorrect install: the
files were not visible in the GAC.
Example: gacutil -i mysql.data.dll
Wouldn't return any errors, but the assembly (which is called MySql.Data)
still couldn't be reached.
This patch will check for filename compliance and return an error
if it does not comply, which will look like this:
Failure adding assembly v4/mysql.data.dll to the cache: the filename "mysql.data.dll" doesn't match the assembly name "MySql.Data"
A warning is not sufficient, since it will be impossible to remove
the installed junk with gacutil.
Zoltan Varga [Fri, 11 Feb 2011 20:57:25 +0000 (21:57 +0100)]
Add Mono.XBuild.Utilities/MSBuildUtils.cs to the build.
Zoltan Varga [Fri, 11 Feb 2011 20:48:42 +0000 (21:48 +0100)]
Pretty print MonoString* too in xdb.