Zoltan Varga [Wed, 18 Aug 2010 15:52:07 +0000 (17:52 +0200)]
Fix building with MSVC.
Zoltan Varga [Wed, 18 Aug 2010 15:50:46 +0000 (17:50 +0200)]
Fix building with MSVC.
Zoltan Varga [Wed, 18 Aug 2010 15:47:56 +0000 (17:47 +0200)]
Fix handling of stdio in g_spawn_async_with_pipes ().
Jérémie Laval [Wed, 18 Aug 2010 13:33:22 +0000 (14:33 +0100)]
Fix cancellation tracking and reporting in Task.
Marek Habersack [Wed, 18 Aug 2010 12:28:50 +0000 (14:28 +0200)]
[asp.net] Fix for bug #621837. Rewriting a path must take path info into account.
When HttpContext.RewritePath is used, the path info of the new path must be taken
into account and the HttpRequest.Path propert must contain it.
Atsushi Eno [Wed, 18 Aug 2010 13:02:01 +0000 (22:02 +0900)]
Use correct Uri to connect in UDP client.
Zoltan Varga [Wed, 18 Aug 2010 12:34:36 +0000 (14:34 +0200)]
Bump the size of the epoll threads to 256k on 64 bit systems to avoid problems on ppc64 with 64k page sizes.
Zoltan Varga [Wed, 18 Aug 2010 12:33:53 +0000 (14:33 +0200)]
Add an assert to protect against the altstack clobbering the current stack.
Marek Safar [Wed, 18 Aug 2010 12:30:47 +0000 (13:30 +0100)]
Reduce memory footprint
Marek Safar [Wed, 18 Aug 2010 12:27:25 +0000 (13:27 +0100)]
Updated error message
Marek Safar [Wed, 18 Aug 2010 09:04:22 +0000 (10:04 +0100)]
When merging sessions error messages don't get confused by warnings.
Marek Safar [Tue, 17 Aug 2010 19:34:43 +0000 (20:34 +0100)]
Cannot skip on the first type match for multiple inheritances
Marek Safar [Tue, 17 Aug 2010 19:15:26 +0000 (20:15 +0100)]
Defer checks until all base types are ready
Atsushi Eno [Wed, 18 Aug 2010 12:00:14 +0000 (21:00 +0900)]
Several fixes to get client Via URI used correctly.
Atsushi Eno [Wed, 18 Aug 2010 11:58:16 +0000 (20:58 +0900)]
Do not overwrite Via URI on ClientRuntime after applying behaviors.
Zoltan Varga [Wed, 18 Aug 2010 10:00:20 +0000 (12:00 +0200)]
Fix running of tests under net 4.0.
Jérémie Laval [Wed, 18 Aug 2010 09:33:17 +0000 (10:33 +0100)]
[PLinq] Tune SkipWhile operator, re-enable its unit tests
Jérémie Laval [Wed, 18 Aug 2010 09:10:22 +0000 (10:10 +0100)]
[PLinq] Re-enable tests that were previously [Ignore]'ed
Atsushi Eno [Wed, 18 Aug 2010 08:40:12 +0000 (17:40 +0900)]
Implemented basic UDP transport.
Jérémie Laval [Wed, 18 Aug 2010 08:25:12 +0000 (09:25 +0100)]
[PLinq] Reflect directory hierarchy change on namespace names
Zoltan Varga [Wed, 18 Aug 2010 02:36:28 +0000 (04:36 +0200)]
Fix the corlib tests build.
Jérémie Laval [Tue, 17 Aug 2010 22:33:47 +0000 (23:33 +0100)]
Update file hierarchy change in System too
Alex Fort [Tue, 17 Aug 2010 21:22:08 +0000 (17:22 -0400)]
Discard modifier key presses from ReadKey
Modifier key presses were still being recorded by ReadKey, such as Control, Alt and Shift. This adds a method to ensure that doesn't happen anymore.
Miguel de Icaza [Tue, 17 Aug 2010 17:22:59 +0000 (13:22 -0400)]
Copyright fix: the owner is Chris, not Novell
Jb Evain [Tue, 17 Aug 2010 17:17:44 +0000 (19:17 +0200)]
Add test for dynamic methods with invalid unicode name
Jérémie Laval [Tue, 17 Aug 2010 17:04:49 +0000 (18:04 +0100)]
Flatten file hierarchy in System.Threading.Tasks
Jérémie Laval [Tue, 17 Aug 2010 17:00:17 +0000 (18:00 +0100)]
[PLinq] Move NET_4_0 define check under licence text
Jérémie Laval [Tue, 17 Aug 2010 16:52:58 +0000 (17:52 +0100)]
[PLinq] Tidy up file hierarchy in System.Linq
Atsushi Eno [Tue, 17 Aug 2010 16:12:15 +0000 (01:12 +0900)]
Add ServiceDiscoveryBehavior hosting test case.
Jérémie Laval [Tue, 17 Aug 2010 15:59:01 +0000 (16:59 +0100)]
[PLinq] Fix and improve Skip operator and use two different versions of the predicate depending on the relative order of the query.
This actually make the operator complies to the behavior described in MSDN "Order Preservation" table.
Jérémie Laval [Tue, 17 Aug 2010 15:56:09 +0000 (16:56 +0100)]
[PLinq] Fix ToArray and ToList operator to also conservatively keep order when an explicit order guard is in the query.
Jérémie Laval [Tue, 17 Aug 2010 15:53:46 +0000 (16:53 +0100)]
[PLinq] Fix ProcessAndAggregate to correctly initialize its seed with all workers when no seedFunc is supplied.
Jérémie Laval [Tue, 17 Aug 2010 15:51:08 +0000 (16:51 +0100)]
[PLinq] Add a IsOrdered internal operator that naively says if the current node is behind an ordered guard.
This is necessary for some PLinq operator that can provide a better optimized version of themselves when there is no ordering constraint whithout having to create yet another query node. Note that the method can be optimized with a more specialized version of the visitor.
Jérémie Laval [Tue, 17 Aug 2010 15:50:30 +0000 (16:50 +0100)]
[PLinq] Remove unused Process overload.
Jérémie Laval [Tue, 17 Aug 2010 15:47:43 +0000 (16:47 +0100)]
Increment Barrier's phase number before signaling to threads that they can proceed.
Jérémie Laval [Tue, 17 Aug 2010 15:45:49 +0000 (16:45 +0100)]
Move the count increment at a semantically more correct place in ConcurrentQueue
Jérémie Laval [Tue, 17 Aug 2010 15:36:45 +0000 (16:36 +0100)]
[PLinq] Add more twist to unit tests by forcing use of a standard IEnumerable.
Jérémie Laval [Tue, 17 Aug 2010 15:34:45 +0000 (16:34 +0100)]
Fix whitespace mess in ParallelEnumerable methods.
Jérémie Laval [Tue, 17 Aug 2010 15:32:19 +0000 (16:32 +0100)]
[PLinq] Fix visitor behavior when on a QueryOrderGuardNode.
Previously the case of Unordered wasn't taken in account and the control flow wasn't properly forwarded to the following nodes in the query# Please enter the commit message for your changes. Lines starting
Jérémie Laval [Tue, 17 Aug 2010 15:28:54 +0000 (16:28 +0100)]
[PLinq] Switch to the more reliable ToListOrdered operator in QueryReverseNode.
Using ToArray directly, even though incorrect, was working by a twist of fate in that the mostly-standard partitioner and ToArray operator were based on the same assumptions.
Jérémie Laval [Tue, 17 Aug 2010 15:24:05 +0000 (16:24 +0100)]
[PLinq] Terminate directly when all the necessary values have been correctly staged in OrderingEnumerator.
Jérémie Laval [Mon, 16 Aug 2010 15:57:58 +0000 (16:57 +0100)]
[PLinq] Enclose operator processing in a try/finally block so that upon Dispose'ing the iterator a cleanup path is also called.
This prevent some other operator from deadlocking by e.g. removing participant in barrier that ordered operator may use.
Jérémie Laval [Mon, 16 Aug 2010 15:55:16 +0000 (16:55 +0100)]
[PLinq] Cleanup code in QueryNodes.
Switch from manually creating result sets to creating them with a Linq query. Replaced some type with var. Split indexed and non indexed call in two different virtual method call.
Atsushi Eno [Tue, 17 Aug 2010 15:13:21 +0000 (00:13 +0900)]
Request-reply channel factory should not reject one-way operation. It should just ignore the void reply.
Jérémie Laval [Tue, 17 Aug 2010 15:03:18 +0000 (16:03 +0100)]
Avoid waiting in an endless loop in ThreadWorker.
In some rare case where a ThreadWorker have taken more than one item (and thus there are items to steal) another ThreadWorker that hadn't seen this extra work would go to sleep indefinitely and cause deadlock if the first Task executed was depending on another Task to be launched.
Miguel de Icaza [Tue, 17 Aug 2010 14:55:06 +0000 (10:55 -0400)]
Copyright: the actual owner is Chris Bacon, not Novell, fix this
Marek Safar [Tue, 17 Aug 2010 14:29:24 +0000 (15:29 +0100)]
New tests
Marek Safar [Tue, 17 Aug 2010 14:24:10 +0000 (15:24 +0100)]
Move lambda return type inference context out of BlockContext
Marek Safar [Tue, 17 Aug 2010 14:13:00 +0000 (15:13 +0100)]
[614924] Use proper best type expression for implicit array
Marek Safar [Tue, 17 Aug 2010 12:15:23 +0000 (13:15 +0100)]
Clean up unused code
Marek Safar [Tue, 17 Aug 2010 12:14:46 +0000 (13:14 +0100)]
Crash with better error message for missing references.
Jb Evain [Tue, 17 Aug 2010 12:08:37 +0000 (14:08 +0200)]
update ignore files
Atsushi Eno [Tue, 17 Aug 2010 10:58:48 +0000 (19:58 +0900)]
implement ServiceDiscoveryBehavior and EndpointDiscoveryBehavior.
Atsushi Eno [Tue, 17 Aug 2010 10:37:54 +0000 (19:37 +0900)]
Do not expect non-null ChannelDispatcherBase.Listener property.
Zoltan Varga [Tue, 17 Aug 2010 10:24:07 +0000 (12:24 +0200)]
Get rid of some #ifdef EGLIB_MAJORs.
Zoltan Varga [Tue, 17 Aug 2010 07:38:07 +0000 (09:38 +0200)]
Remove support for building with system glib.
Zoltan Varga [Tue, 17 Aug 2010 06:50:07 +0000 (08:50 +0200)]
Disable the InternalAllocateStr optimization when in shared mode.
Atsushi Eno [Tue, 17 Aug 2010 05:59:20 +0000 (14:59 +0900)]
Flush DiscoveryProxy work.
Zoltan Varga [Tue, 17 Aug 2010 05:54:26 +0000 (07:54 +0200)]
Enable support for --break-at-bb on x86 too.
Elijah Taylor [Tue, 17 Aug 2010 05:30:16 +0000 (07:30 +0200)]
Disable sockets and a few other things when using NACL.
Elijah Taylor [Tue, 17 Aug 2010 05:29:44 +0000 (07:29 +0200)]
Allow mscorlib to be loaded from disk when using NACL.
Elijah Taylor [Tue, 17 Aug 2010 05:29:25 +0000 (07:29 +0200)]
Disable sockets and locking when using NACL.
Zoltan Varga [Tue, 17 Aug 2010 05:28:37 +0000 (07:28 +0200)]
Disable building of ikvm-native and define DISABLE_SOCKETS when using NACL.
Carlos Alberto Cortez [Mon, 16 Aug 2010 14:25:39 +0000 (16:25 +0200)]
Add new file SerializationBinderTest.cs.
* SerializationBinderTest.cs: New test file.
Carlos Alberto Cortez [Mon, 16 Aug 2010 14:24:47 +0000 (16:24 +0200)]
Add SerializationBinderTest.cs to our test sources.
* corlib_test.dll.sources: Add SerializationBinderTest.cs.
Carlos Alberto Cortez [Mon, 16 Aug 2010 14:23:11 +0000 (16:23 +0200)]
Add 4.0 SerializationBinder.BindToName.
* SerializationBinder.cs: Add 4.0 BindToName.
Carlos Alberto Cortez [Mon, 16 Aug 2010 13:45:32 +0000 (15:45 +0200)]
Add SerializationInfoTest.cs to our list of test sources.
* corlib_test.dll.sources: Add SerializationInfoTest.cs.
Carlos Alberto Cortez [Mon, 16 Aug 2010 13:43:31 +0000 (15:43 +0200)]
Add new SerializationInfoTest.cs file.
* SerializationInfoTest.cs: New file, to contain some tests for
the new 4.0 properties.
Carlos Alberto Cortez [Mon, 16 Aug 2010 13:29:01 +0000 (15:29 +0200)]
Add all the new 4.0 properties of SerializationInfo.
* SerializationInfo.cs: Add 4.0 ObjectType,
IsAssemblyNameSetExplicit and IsFullTypeNameSetExplicit.
Rodrigo Kumpera [Mon, 16 Aug 2010 18:41:10 +0000 (15:41 -0300)]
Merge branch 'mono_class_field_lazy_loading'
Zoltan Varga [Mon, 16 Aug 2010 18:24:37 +0000 (20:24 +0200)]
Fix storer4/r8_memindex opcode metadata.
Rodrigo Kumpera [Mon, 16 Aug 2010 16:55:14 +0000 (13:55 -0300)]
Handle field's type lazy loading.
* icall.c (ves_icall_System_MonoMethodInfo_get_retval_marshal):
Init the class prior to accessing the type.
Rodrigo Kumpera [Mon, 16 Aug 2010 15:57:52 +0000 (12:57 -0300)]
Handle MonoClassField::type lazy loading.
* icall.c (ves_icall_System_Reflection_FieldInfo_GetTypeModifier):
Use function that handle lazy loading.
Rodrigo Kumpera [Mon, 16 Aug 2010 15:56:18 +0000 (12:56 -0300)]
Handle lazy loading of type.
* MonoField.cs: Don't access ::type directly since it might be
lazily loaded.
Rodrigo Kumpera [Mon, 16 Aug 2010 14:39:13 +0000 (11:39 -0300)]
Lazy load FIeldInfo::FieldType from the managed side.
* MonoField.cs (FieldType): Lazy load the field type if
null.
* icall.c (ves_icall_MonoField_ResolveType): New icall
to lazy resolve a field.
* icall-def.h: Ditto.
* reflection.c (mono_field_get_object): Eager load a field's
flags since this simplifies a lot the managed side that doesn't
have to handle loading it if not present.
Rodrigo Kumpera [Sun, 15 Aug 2010 19:26:47 +0000 (16:26 -0300)]
Make nested type loading lazier.
* class.c (mono_class_get_nested_types): Don't init
the class.
* icall.c (ves_icall_Type_GetNestedType): Ditto.
Rodrigo Kumpera [Sun, 15 Aug 2010 19:23:47 +0000 (16:23 -0300)]
Make MonoType::GetFields lazier.
* class-internals.h: Add mono_field_is_deleted_with_flags
which takes the flag as an argument instead of using the
value on type->attrs.
* reflection.c (mono_field_get_object): Check if field->type
is present before using it.
* icall.c (ves_icall_Type_GetFields_internal): Do things
lazier by not depending on a field's type been loaded.
Rodrigo Kumpera [Sun, 15 Aug 2010 19:22:12 +0000 (16:22 -0300)]
Add lazy variant of mono_class_get_fields.
* class.c (mono_class_get_fields_lazy): Lazy variant
of mono_class_get_fields that returns fields with only
minimal information loaded (name and parent).
Rodrigo Kumpera [Sun, 15 Aug 2010 05:42:43 +0000 (02:42 -0300)]
plit field loading. Fix some error handling.
* class.c (mono_class_setup_basic_field_info): Loads minimal
info about a field, right now just name.
* class.c (mono_class_setup_fields): Use new functions to
load everything.
* class.c (mono_field_resolve_type): Init the error struct
and set it on case of a class failure.
Rodrigo Kumpera [Sat, 14 Aug 2010 19:43:23 +0000 (16:43 -0300)]
Support lazy loading a field attributes too.
* class.c (mono_field_get_flags): Since the field type
is lazy loaded we avoid loading it here since some
reflection operations depends on flags but require lazy
loading of type.
Rodrigo Kumpera [Sat, 14 Aug 2010 19:39:11 +0000 (16:39 -0300)]
Add lazy loading of MonoClassField::type
* class.c (mono_field_get_type): Lazy load ::type.
* class (mono_field_get_type_checked): Ditto.
Rodrigo Kumpera [Sat, 14 Aug 2010 19:19:14 +0000 (16:19 -0300)]
Add mono_field_get_type_checked.
* class.c: Add trivial implementation of
mono_field_get_type_checked.
* class-internals.h: Export new function.
Marek Safar [Mon, 16 Aug 2010 16:49:35 +0000 (17:49 +0100)]
[570422] Cannot return from iterators
Zoltan Varga [Mon, 16 Aug 2010 14:02:04 +0000 (16:02 +0200)]
Call generic class init trampolines before calling gshared .ctors. Fixes
Marek Safar [Mon, 16 Aug 2010 13:51:30 +0000 (14:51 +0100)]
[472007] Add warning about obsolete security attributes
Marek Safar [Mon, 16 Aug 2010 12:52:42 +0000 (13:52 +0100)]
[408516] No implicit user conversion from or to interfaces
Marek Safar [Mon, 16 Aug 2010 11:49:50 +0000 (12:49 +0100)]
[379537] Mark fields assigned in named argumets as used.
Atsushi Eno [Mon, 16 Aug 2010 12:18:20 +0000 (21:18 +0900)]
Implement discovery contract interfaces in DiscoveryService.
Atsushi Eno [Mon, 16 Aug 2010 12:03:50 +0000 (21:03 +0900)]
ContractDescription aren't compared decently. Compare their types instead.
Marek Safar [Mon, 16 Aug 2010 10:30:03 +0000 (11:30 +0100)]
[319462] Add more call optimizations
Zoltan Varga [Mon, 16 Aug 2010 08:49:07 +0000 (10:49 +0200)]
Fix running with stock LLVM.
Atsushi Eno [Mon, 16 Aug 2010 07:19:08 +0000 (16:19 +0900)]
Add contract existence check when calling AddServiceEndpoint(ServiceEndpoint).
Atsushi Eno [Mon, 16 Aug 2010 06:09:29 +0000 (15:09 +0900)]
Add simplex Discovery contract interfaces.
Carlos Alberto Cortez [Sun, 15 Aug 2010 22:55:19 +0000 (00:55 +0200)]
[fix] #625214: Allow DataGridView navigation even if ScrollBars is None.
* DataGridView.cs: When refreshing the scrolling info,
set the values for the internal scrollbars even if we are forced
to not display them, since they are used to compute the
navigation, which should be available *always*.
Thomas Goldstein [Sun, 15 Aug 2010 19:20:04 +0000 (21:20 +0200)]
New Test for #620326.
* ListControlTest.cs: New test for #620326 - actual values being
passed in the Format event.
Thomas Goldstein [Sun, 15 Aug 2010 19:17:26 +0000 (21:17 +0200)]
[fix] #620326: Use the actual value of the items in the Format event.
* ListControl.cs: Use the actual value of the items in the
Format event, just as .net does. Fixes #620326.
Carlos Alberto Cortez [Sun, 15 Aug 2010 16:17:02 +0000 (18:17 +0200)]
Augment our ListView selection events test.
* ListViewEventTest.cs: Another test for items added using AddRange
that are already selected.
Mark Strobert [Sun, 15 Aug 2010 16:07:44 +0000 (18:07 +0200)]
New test case for #621749.
* ListViewEventTest.cs: New test case for #621749,
for already selected items being inserted to
ListViewItemCollection.
Carlos Alberto Cortez [Sun, 15 Aug 2010 15:50:08 +0000 (17:50 +0200)]
[fix] #621749: Update selection when adding/inserting a ListViewItem.
* ListViewItem.cs:
* ListView.cs: Force an update in the selection if a new
added/inserted item to ListViewItemCollection is already
selected.
Carlos Alberto Cortez [Sun, 15 Aug 2010 10:31:24 +0000 (12:31 +0200)]
Remove all NET_2_0 directives for ListViewItem.
* ListViewItem.cs: Remove all the NET_2_0 directives since
we don't need them anymore.