mono.git
13 years agoFix building with MSVC.
Zoltan Varga [Wed, 18 Aug 2010 15:52:07 +0000 (17:52 +0200)]
Fix building with MSVC.

13 years agoFix building with MSVC.
Zoltan Varga [Wed, 18 Aug 2010 15:50:46 +0000 (17:50 +0200)]
Fix building with MSVC.

13 years agoFix handling of stdio in g_spawn_async_with_pipes ().
Zoltan Varga [Wed, 18 Aug 2010 15:47:56 +0000 (17:47 +0200)]
Fix handling of stdio in g_spawn_async_with_pipes ().

13 years agoFix cancellation tracking and reporting in Task.
Jérémie Laval [Wed, 18 Aug 2010 13:33:22 +0000 (14:33 +0100)]
Fix cancellation tracking and reporting in Task.

13 years ago[asp.net] Fix for bug #621837. Rewriting a path must take path info into account.
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.

13 years agoUse correct Uri to connect in UDP client.
Atsushi Eno [Wed, 18 Aug 2010 13:02:01 +0000 (22:02 +0900)]
Use correct Uri to connect in UDP client.

13 years agoBump the size of the epoll threads to 256k on 64 bit systems to avoid problems on...
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.

13 years agoAdd an assert to protect against the altstack clobbering the current stack.
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.

13 years agoReduce memory footprint
Marek Safar [Wed, 18 Aug 2010 12:30:47 +0000 (13:30 +0100)]
Reduce memory footprint

13 years agoUpdated error message
Marek Safar [Wed, 18 Aug 2010 12:27:25 +0000 (13:27 +0100)]
Updated error message

13 years agoWhen merging sessions error messages don't get confused by warnings.
Marek Safar [Wed, 18 Aug 2010 09:04:22 +0000 (10:04 +0100)]
When merging sessions error messages don't get confused by warnings.

13 years agoCannot skip on the first type match for multiple inheritances
Marek Safar [Tue, 17 Aug 2010 19:34:43 +0000 (20:34 +0100)]
Cannot skip on the first type match for multiple inheritances

13 years agoDefer checks until all base types are ready
Marek Safar [Tue, 17 Aug 2010 19:15:26 +0000 (20:15 +0100)]
Defer checks until all base types are ready

13 years agoSeveral fixes to get client Via URI used correctly.
Atsushi Eno [Wed, 18 Aug 2010 12:00:14 +0000 (21:00 +0900)]
Several fixes to get client Via URI used correctly.

13 years agoDo not overwrite Via URI on ClientRuntime after applying behaviors.
Atsushi Eno [Wed, 18 Aug 2010 11:58:16 +0000 (20:58 +0900)]
Do not overwrite Via URI on ClientRuntime after applying behaviors.

13 years agoFix running of tests under net 4.0.
Zoltan Varga [Wed, 18 Aug 2010 10:00:20 +0000 (12:00 +0200)]
Fix running of tests under net 4.0.

13 years ago[PLinq] Tune SkipWhile operator, re-enable its unit tests
Jérémie Laval [Wed, 18 Aug 2010 09:33:17 +0000 (10:33 +0100)]
[PLinq] Tune SkipWhile operator, re-enable its unit tests

13 years ago[PLinq] Re-enable tests that were previously [Ignore]'ed
Jérémie Laval [Wed, 18 Aug 2010 09:10:22 +0000 (10:10 +0100)]
[PLinq] Re-enable tests that were previously [Ignore]'ed

13 years agoImplemented basic UDP transport.
Atsushi Eno [Wed, 18 Aug 2010 08:40:12 +0000 (17:40 +0900)]
Implemented basic UDP transport.

13 years ago[PLinq] Reflect directory hierarchy change on namespace names
Jérémie Laval [Wed, 18 Aug 2010 08:25:12 +0000 (09:25 +0100)]
[PLinq] Reflect directory hierarchy change on namespace names

13 years agoFix the corlib tests build.
Zoltan Varga [Wed, 18 Aug 2010 02:36:28 +0000 (04:36 +0200)]
Fix the corlib tests build.

13 years agoUpdate file hierarchy change in System too
Jérémie Laval [Tue, 17 Aug 2010 22:33:47 +0000 (23:33 +0100)]
Update file hierarchy change in System too

13 years agoDiscard modifier key presses from ReadKey
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.

13 years agoCopyright fix: the owner is Chris, not Novell
Miguel de Icaza [Tue, 17 Aug 2010 17:22:59 +0000 (13:22 -0400)]
Copyright fix: the owner is Chris, not Novell

13 years agoAdd test for dynamic methods with invalid unicode name
Jb Evain [Tue, 17 Aug 2010 17:17:44 +0000 (19:17 +0200)]
Add test for dynamic methods with invalid unicode name

13 years agoFlatten file hierarchy in System.Threading.Tasks
Jérémie Laval [Tue, 17 Aug 2010 17:04:49 +0000 (18:04 +0100)]
Flatten file hierarchy in System.Threading.Tasks

13 years ago[PLinq] Move NET_4_0 define check under licence text
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

13 years ago[PLinq] Tidy up file hierarchy in System.Linq
Jérémie Laval [Tue, 17 Aug 2010 16:52:58 +0000 (17:52 +0100)]
[PLinq] Tidy up file hierarchy in System.Linq

13 years agoAdd ServiceDiscoveryBehavior hosting test case.
Atsushi Eno [Tue, 17 Aug 2010 16:12:15 +0000 (01:12 +0900)]
Add ServiceDiscoveryBehavior hosting test case.

13 years ago[PLinq] Fix and improve Skip operator and use two different versions of the predicate...
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.

13 years ago[PLinq] Fix ToArray and ToList operator to also conservatively keep order when an...
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.

13 years ago[PLinq] Fix ProcessAndAggregate to correctly initialize its seed with all workers...
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.

13 years ago[PLinq] Add a IsOrdered internal operator that naively says if the current node is...
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.

13 years ago[PLinq] Remove unused Process overload.
Jérémie Laval [Tue, 17 Aug 2010 15:50:30 +0000 (16:50 +0100)]
[PLinq] Remove unused Process overload.

13 years agoIncrement Barrier's phase number before signaling to threads that they can proceed.
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.

13 years agoMove the count increment at a semantically more correct place in ConcurrentQueue
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

13 years ago[PLinq] Add more twist to unit tests by forcing use of a standard IEnumerable.
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.

13 years agoFix whitespace mess in ParallelEnumerable methods.
Jérémie Laval [Tue, 17 Aug 2010 15:34:45 +0000 (16:34 +0100)]
Fix whitespace mess in ParallelEnumerable methods.

13 years ago[PLinq] Fix visitor behavior when on a QueryOrderGuardNode.
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

13 years ago[PLinq] Switch to the more reliable ToListOrdered operator in QueryReverseNode.
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.

13 years ago[PLinq] Terminate directly when all the necessary values have been correctly staged...
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.

13 years ago[PLinq] Enclose operator processing in a try/finally block so that upon Dispose'ing...
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.

13 years ago[PLinq] Cleanup code in QueryNodes.
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.

13 years agoRequest-reply channel factory should not reject one-way operation. It should just...
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.

13 years agoAvoid waiting in an endless loop in ThreadWorker.
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.

13 years agoCopyright: the actual owner is Chris Bacon, not Novell, fix this
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

13 years agoNew tests
Marek Safar [Tue, 17 Aug 2010 14:29:24 +0000 (15:29 +0100)]
New tests

13 years agoMove lambda return type inference context out of BlockContext
Marek Safar [Tue, 17 Aug 2010 14:24:10 +0000 (15:24 +0100)]
Move lambda return type inference context out of BlockContext

13 years ago[614924] Use proper best type expression for implicit array
Marek Safar [Tue, 17 Aug 2010 14:13:00 +0000 (15:13 +0100)]
[614924] Use proper best type expression for implicit array

13 years agoClean up unused code
Marek Safar [Tue, 17 Aug 2010 12:15:23 +0000 (13:15 +0100)]
Clean up unused code

13 years agoCrash with better error message for missing references.
Marek Safar [Tue, 17 Aug 2010 12:14:46 +0000 (13:14 +0100)]
Crash with better error message for missing references.

13 years agoupdate ignore files
Jb Evain [Tue, 17 Aug 2010 12:08:37 +0000 (14:08 +0200)]
update ignore files

13 years agoimplement ServiceDiscoveryBehavior and EndpointDiscoveryBehavior.
Atsushi Eno [Tue, 17 Aug 2010 10:58:48 +0000 (19:58 +0900)]
implement ServiceDiscoveryBehavior and EndpointDiscoveryBehavior.

13 years agoDo not expect non-null ChannelDispatcherBase.Listener property.
Atsushi Eno [Tue, 17 Aug 2010 10:37:54 +0000 (19:37 +0900)]
Do not expect non-null ChannelDispatcherBase.Listener property.

13 years agoGet rid of some #ifdef EGLIB_MAJORs.
Zoltan Varga [Tue, 17 Aug 2010 10:24:07 +0000 (12:24 +0200)]
Get rid of some #ifdef EGLIB_MAJORs.

13 years agoRemove support for building with system glib.
Zoltan Varga [Tue, 17 Aug 2010 07:38:07 +0000 (09:38 +0200)]
Remove support for building with system glib.

13 years agoDisable the InternalAllocateStr optimization when in shared mode.
Zoltan Varga [Tue, 17 Aug 2010 06:50:07 +0000 (08:50 +0200)]
Disable the InternalAllocateStr optimization when in shared mode.

13 years agoFlush DiscoveryProxy work.
Atsushi Eno [Tue, 17 Aug 2010 05:59:20 +0000 (14:59 +0900)]
Flush DiscoveryProxy work.

13 years agoEnable support for --break-at-bb on x86 too.
Zoltan Varga [Tue, 17 Aug 2010 05:54:26 +0000 (07:54 +0200)]
Enable support for --break-at-bb on x86 too.

13 years agoDisable sockets and a few other things when using NACL.
Elijah Taylor [Tue, 17 Aug 2010 05:30:16 +0000 (07:30 +0200)]
Disable sockets and a few other things when using NACL.

13 years agoAllow mscorlib to be loaded from disk 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.

13 years agoDisable sockets and locking when using NACL.
Elijah Taylor [Tue, 17 Aug 2010 05:29:25 +0000 (07:29 +0200)]
Disable sockets and locking when using NACL.

13 years agoDisable building of ikvm-native and define DISABLE_SOCKETS 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.

13 years agoAdd new file SerializationBinderTest.cs.
Carlos Alberto Cortez [Mon, 16 Aug 2010 14:25:39 +0000 (16:25 +0200)]
Add new file SerializationBinderTest.cs.

* SerializationBinderTest.cs: New test file.

13 years agoAdd SerializationBinderTest.cs to our test sources.
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.

13 years agoAdd 4.0 SerializationBinder.BindToName.
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.

13 years agoAdd SerializationInfoTest.cs to our list of test sources.
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.

13 years agoAdd new SerializationInfoTest.cs file.
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.

13 years agoAdd all the new 4.0 properties of SerializationInfo.
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.

13 years agoMerge branch 'mono_class_field_lazy_loading'
Rodrigo Kumpera [Mon, 16 Aug 2010 18:41:10 +0000 (15:41 -0300)]
Merge branch 'mono_class_field_lazy_loading'

13 years agoFix storer4/r8_memindex opcode metadata.
Zoltan Varga [Mon, 16 Aug 2010 18:24:37 +0000 (20:24 +0200)]
Fix storer4/r8_memindex opcode metadata.

13 years agoHandle field's type lazy loading.
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.

13 years agoHandle MonoClassField::type lazy loading.
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.

13 years agoHandle lazy loading of type.
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.

13 years agoLazy load FIeldInfo::FieldType from the managed side.
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.

13 years agoMake nested type loading lazier.
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.

13 years agoMake MonoType::GetFields lazier.
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.

13 years agoAdd lazy variant of mono_class_get_fields.
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).

13 years agoplit field loading. Fix some error handling.
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.

13 years agoSupport lazy loading a field attributes too.
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.

13 years agoAdd lazy loading of MonoClassField::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.

13 years agoAdd mono_field_get_type_checked.
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.

13 years ago[570422] Cannot return from iterators
Marek Safar [Mon, 16 Aug 2010 16:49:35 +0000 (17:49 +0100)]
[570422] Cannot return from iterators

13 years agoCall generic class init trampolines before calling gshared .ctors. Fixes
Zoltan Varga [Mon, 16 Aug 2010 14:02:04 +0000 (16:02 +0200)]
Call generic class init trampolines before calling gshared .ctors. Fixes

13 years ago[472007] Add warning about obsolete security attributes
Marek Safar [Mon, 16 Aug 2010 13:51:30 +0000 (14:51 +0100)]
[472007] Add warning about obsolete security attributes

13 years ago[408516] No implicit user conversion from or to interfaces
Marek Safar [Mon, 16 Aug 2010 12:52:42 +0000 (13:52 +0100)]
[408516] No implicit user conversion from or to interfaces

13 years ago[379537] Mark fields assigned in named argumets as used.
Marek Safar [Mon, 16 Aug 2010 11:49:50 +0000 (12:49 +0100)]
[379537] Mark fields assigned in named argumets as used.

13 years agoImplement discovery contract interfaces in DiscoveryService.
Atsushi Eno [Mon, 16 Aug 2010 12:18:20 +0000 (21:18 +0900)]
Implement discovery contract interfaces in DiscoveryService.

13 years agoContractDescription aren't compared decently. Compare their types instead.
Atsushi Eno [Mon, 16 Aug 2010 12:03:50 +0000 (21:03 +0900)]
ContractDescription aren't compared decently. Compare their types instead.

13 years ago[319462] Add more call optimizations
Marek Safar [Mon, 16 Aug 2010 10:30:03 +0000 (11:30 +0100)]
[319462] Add more call optimizations

13 years agoFix running with stock LLVM.
Zoltan Varga [Mon, 16 Aug 2010 08:49:07 +0000 (10:49 +0200)]
Fix running with stock LLVM.

13 years agoAdd contract existence check when calling AddServiceEndpoint(ServiceEndpoint).
Atsushi Eno [Mon, 16 Aug 2010 07:19:08 +0000 (16:19 +0900)]
Add contract existence check when calling AddServiceEndpoint(ServiceEndpoint).

13 years agoAdd simplex Discovery contract interfaces.
Atsushi Eno [Mon, 16 Aug 2010 06:09:29 +0000 (15:09 +0900)]
Add simplex Discovery contract interfaces.

13 years ago[fix] #625214: Allow DataGridView navigation even if ScrollBars is None.
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*.

13 years agoNew Test for #620326.
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.

13 years ago[fix] #620326: Use the actual value of the items 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.

13 years agoAugment our ListView selection events test.
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.

13 years agoNew test case for #621749.
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.

13 years ago[fix] #621749: Update selection when adding/inserting a ListViewItem.
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.

13 years agoRemove all NET_2_0 directives for ListViewItem.
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.