Atsushi Eno [Fri, 18 Feb 2011 07:23:15 +0000 (16:23 +0900)]
Do not try to serialize null header item.
Atsushi Eno [Fri, 18 Feb 2011 07:13:23 +0000 (16:13 +0900)]
Fix wrong element name (AppSequenceType->AppSequence).
Atsushi Eno [Fri, 18 Feb 2011 07:10:11 +0000 (16:10 +0900)]
Almost eliminate wrong use of Constants.WsaNamespace.
They should be addressing-version-aware.
Atsushi Eno [Fri, 18 Feb 2011 06:53:09 +0000 (15:53 +0900)]
EndpointAddressAugust2004 was not serialized correctly.
Well, Actually unified the implementation with 10.
Gonzalo Paniagua Javier [Thu, 17 Feb 2011 16:21:41 +0000 (11:21 -0500)]
[threadpool] Split the socket code in separate files.
Rodrigo Kumpera [Thu, 17 Feb 2011 20:56:38 +0000 (21:56 +0100)]
Make sure we keep a root for the delegates when calling them.
* method-to-ir.c (mono_emit_method_call_full): Make sure
we keep a root for delegates when calling them using the
fast delegate dispatch.
Fixes #667921
Marek Safar [Thu, 17 Feb 2011 21:06:35 +0000 (21:06 +0000)]
Fix repl using declaration after type declaration
Marek Safar [Thu, 17 Feb 2011 20:58:17 +0000 (20:58 +0000)]
Load default references after user references so they can rely on corlib
Marek Safar [Thu, 17 Feb 2011 19:28:20 +0000 (19:28 +0000)]
Even more 4.0 profile mcs update
Marek Safar [Thu, 17 Feb 2011 19:18:57 +0000 (19:18 +0000)]
Cleanup repl from most of static stuff and fix many hidden issues
Marek Habersack [Thu, 17 Feb 2011 18:34:24 +0000 (19:34 +0100)]
[asp.net,mvc3] Fix for bug #668655. Implemented a few more NameValueCollection method overloads.
Marek Safar [Thu, 17 Feb 2011 18:33:24 +0000 (18:33 +0000)]
Don't use runtime flag for basic compiler (it still lives in old world)
Jeffrey Stedfast [Thu, 17 Feb 2011 18:00:50 +0000 (13:00 -0500)]
Fixed exception string (spaces between words = good)
Marek Habersack [Thu, 17 Feb 2011 00:04:41 +0000 (01:04 +0100)]
[mcs] Fix builds which use full file paths on the command line
Passing /tmp/source.cs to mcs would result in "error CS2007: Unrecognized command-line option: /tmp/source.cs"
this patch fixes it.
Marek Safar [Thu, 17 Feb 2011 16:31:14 +0000 (16:31 +0000)]
Set correct runtime version for corlib now when mcs defaults to 4.
Marek Safar [Thu, 17 Feb 2011 15:18:39 +0000 (15:18 +0000)]
Correctly set underlying type of reduced side-effect constant expression
Jérémie Laval [Thu, 17 Feb 2011 15:36:27 +0000 (15:36 +0000)]
Allow people to optionally fallback to the old scheduler with an environment variable
Jérémie Laval [Thu, 17 Feb 2011 15:35:32 +0000 (15:35 +0000)]
Remove ctors in TpScheduler
This also remove the capping of the ThreadPool, problem needs to be fixed in the pool itself.
Jérémie Laval [Thu, 17 Feb 2011 15:35:02 +0000 (15:35 +0000)]
Make TryExecuteTaskInline a bit smarter
Jérémie Laval [Thu, 17 Feb 2011 15:34:11 +0000 (15:34 +0000)]
Refactor common code block of TpScheduler and SyncContextScheduler in SchedulerProxy
Jérémie Laval [Thu, 17 Feb 2011 14:40:08 +0000 (14:40 +0000)]
Kill old IScheduler interface.
We still use the ParticipateUntil facility of IScheduler internally and provide a default implementation for pure TaskScheduler
Jérémie Laval [Thu, 17 Feb 2011 14:03:10 +0000 (14:03 +0000)]
When finding best worker number in Parallel loops use current TaskScheduler instead of default TaskScheduler
Jérémie Laval [Thu, 17 Feb 2011 13:34:04 +0000 (13:34 +0000)]
Adapt TpScheduler to the new API in TaskScheduler
Jérémie Laval [Thu, 17 Feb 2011 13:33:19 +0000 (13:33 +0000)]
Cache callback delegate in TpScheduler when passing Task to QueueUserWorkItem
Jérémie Laval [Mon, 14 Feb 2011 17:58:38 +0000 (17:58 +0000)]
Don't create a new lambda everytime when queuing Task via ThreadPool QueueUserWorkItem
Jérémie Laval [Mon, 14 Feb 2011 11:04:52 +0000 (11:04 +0000)]
Try to execute task inline when they are ready to run and we wait on them with no timeout
Jérémie Laval [Wed, 2 Feb 2011 16:44:43 +0000 (16:44 +0000)]
Threadpool Task scheduler
Marek Safar [Thu, 17 Feb 2011 14:45:24 +0000 (14:45 +0000)]
Merge few more changes from MD
Marek Safar [Thu, 17 Feb 2011 14:00:43 +0000 (14:00 +0000)]
Remove install hack from mcs/mcs
Marek Safar [Thu, 17 Feb 2011 13:52:42 +0000 (13:52 +0000)]
Fix Location to have reasonable limits when running under MD
Rodrigo Kumpera [Thu, 17 Feb 2011 13:44:28 +0000 (14:44 +0100)]
Handle gsharing and marshal by ref.
* method-to-ir.c (mono_emit_method_call_full): Non virtual
marshal by ref methods with gsharing context must always
be called using indirect calls.
Fixes #665893
Atsushi Eno [Thu, 17 Feb 2011 13:20:15 +0000 (22:20 +0900)]
get out from NET_4_0.
Atsushi Eno [Thu, 17 Feb 2011 12:07:13 +0000 (21:07 +0900)]
Couple of corcompare fixes.
Atsushi Eno [Thu, 17 Feb 2011 12:06:12 +0000 (21:06 +0900)]
Only use non-null values in ServiceAuthorizationBehavior.
Atsushi Eno [Thu, 17 Feb 2011 12:05:32 +0000 (21:05 +0900)]
Fill a couple of missing ServiceAuthorizationElement implementation.
Atsushi Eno [Thu, 17 Feb 2011 12:04:34 +0000 (21:04 +0900)]
HTTP authentication in HttpListener had dropped during refactoring. Now it's back.
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>