Paolo Molaro [Wed, 22 Oct 2008 15:51:45 +0000 (15:51 -0000)]
Wed Oct 22 17:45:48 CEST 2008 Paolo Molaro <lupus@ximian.com>
* mono-perfcounters.c, icall-def.h, environment.c, environment.h:
use the code in mono-proclib.h to get processor information.
svn path=/trunk/mono/; revision=116753
Paolo Molaro [Wed, 22 Oct 2008 15:44:24 +0000 (15:44 -0000)]
Wed Oct 22 17:43:03 CEST 2008 Paolo Molaro <lupus@ximian.com>
* mono-proclib.c, mono-proclib.h: added functions to get info
about the processors in the system.
svn path=/trunk/mono/; revision=116751
Marek Habersack [Wed, 22 Oct 2008 15:19:50 +0000 (15:19 -0000)]
Add bug reference
svn path=/trunk/mcs/; revision=116749
Marek Habersack [Wed, 22 Oct 2008 15:17:44 +0000 (15:17 -0000)]
2008-10-22 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: use only the first matching method in
GetApplicationTypeEvents, since it will be the one coming from the
topmost type.
svn path=/trunk/mcs/; revision=116747
Paolo Molaro [Wed, 22 Oct 2008 14:47:37 +0000 (14:47 -0000)]
Wed Oct 22 16:45:20 CEST 2008 Paolo Molaro <lupus@ximian.com>
* mono-proclib.c, mono-mmap.c: basic support for OSX and
(untested) BSD systems.
svn path=/trunk/mono/; revision=116743
Gonzalo Paniagua Javier [Wed, 22 Oct 2008 03:12:27 +0000 (03:12 -0000)]
2008-10-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
* appdomain.c: fixed the logic that determines whether assemblies in a
directory are "shadow-copied" or not. Bug #433483 fixed.
svn path=/trunk/mono/; revision=116725
Rodrigo Kumpera [Wed, 22 Oct 2008 01:22:21 +0000 (01:22 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* Vector16b.cs: Added Load/StoreAligned with pointer args.
* Vector4f.cs: Added Load/StoreAligned with pointer args.
* Vector4ui.cs: Added Load/StoreAligned with pointer args.
* Vector8us.cs: Added Load/StoreAligned with pointer args.
svn path=/trunk/mcs/; revision=116722
Rodrigo Kumpera [Wed, 22 Oct 2008 01:22:19 +0000 (01:22 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4f.cs: Renamed CompareEquals to CompareEqual.
svn path=/trunk/mcs/; revision=116721
Rodrigo Kumpera [Wed, 22 Oct 2008 01:21:41 +0000 (01:21 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Fix name change in Vector4f::CompareEqual.
* simd-intrinsics.c (simd_intrinsic_emit_store_aligned): Don't use
inst_offset as this has invalid values for LDADDR.
svn path=/trunk/mono/; revision=116720
Marek Habersack [Wed, 22 Oct 2008 00:49:55 +0000 (00:49 -0000)]
Cleanup
svn path=/trunk/mcs/; revision=116714
Marek Habersack [Wed, 22 Oct 2008 00:46:42 +0000 (00:46 -0000)]
2008-10-22 Marek Habersack <mhabersack@novell.com>
* JsonDeserializer.cs: object can contain more than one unquoted
keys.
2008-10-22 Marek Habersack <mhabersack@novell.com>
* JavaScriptSerializerTest.cs: added tests for deserialization of
objects with more than one unquoted key names.
svn path=/trunk/mcs/; revision=116713
Zoltan Varga [Tue, 21 Oct 2008 23:04:18 +0000 (23:04 -0000)]
2008-10-22 Zoltan Varga <vargaz@gmail.com>
* process.c (ves_icall_System_Diagnostics_Process_GetProcessData): Fix a
warning.
svn path=/trunk/mono/; revision=116694
Zoltan Varga [Tue, 21 Oct 2008 22:39:12 +0000 (22:39 -0000)]
Fix a bug in the previous change.
svn path=/trunk/mono/; revision=116689
Zoltan Varga [Tue, 21 Oct 2008 21:58:15 +0000 (21:58 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* mini.c method-to-ir.c: Use mono_field_get_name () for accessing field->name.
svn path=/trunk/mono/; revision=116681
Zoltan Varga [Tue, 21 Oct 2008 21:56:13 +0000 (21:56 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* marshal.c (runtime_invoke_signature_equal): Don't shared wrappers
returning a vtype.
* class.c debug-helpers.c object.c class-internals.h marshal.c icall.c
reflection.c: Use mono_field_get_name () for accessing a field's name.
svn path=/trunk/mono/; revision=116680
Rodrigo Kumpera [Tue, 21 Oct 2008 21:02:23 +0000 (21:02 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Test for SignedPackWithUnsignedSaturation.
* simd-intrinsics.c (vector4ui_intrinsics): Add SignedPackWithUnsignedSaturation.
svn path=/trunk/mono/; revision=116674
Rodrigo Kumpera [Tue, 21 Oct 2008 21:02:17 +0000 (21:02 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Test for SignedPackWithUnsignedSaturation.
svn path=/trunk/mono/; revision=116673
Jonathan Pobst [Tue, 21 Oct 2008 20:29:32 +0000 (20:29 -0000)]
2008-10-21 Jonathan Pobst <monkey@jpobst.com>
* XplatUIWin32.cs: Apply patch from John Mortlock that ensures
mouse_state gets set during WM_MOUSEMOVE and WM_NCMOUSEMOVE.
[Fixes bug #436772]
svn path=/trunk/mcs/; revision=116670
Rodrigo Kumpera [Tue, 21 Oct 2008 20:26:04 +0000 (20:26 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* Vector4ui.cs: Added SignedPackWithUnsignedSaturation.
svn path=/trunk/mcs/; revision=116669
Zoltan Varga [Tue, 21 Oct 2008 20:14:03 +0000 (20:14 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (MONO_CLASS_HAS_STATIC_METADATA): Move this here from
class.c
* class.c (mono_field_get_rva): Fix crash if this is called on a dynamic
field.
svn path=/trunk/mono/; revision=116668
Marek Habersack [Tue, 21 Oct 2008 20:11:08 +0000 (20:11 -0000)]
2008-10-21 Marek Habersack <mhabersack@novell.com>
* XmlDataSource.cs: DataFile may be an URL.
svn path=/trunk/mcs/; revision=116667
Jonathan Pobst [Tue, 21 Oct 2008 19:34:36 +0000 (19:34 -0000)]
2008-10-21 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Fire SelectedIndexChanged when the user selects the
same item with the mouse as was already selected.
[Fixes bug #436789]
svn path=/trunk/mcs/; revision=116664
Marek Habersack [Tue, 21 Oct 2008 18:59:25 +0000 (18:59 -0000)]
Cosmetics - use string.Length to check for empty string
svn path=/trunk/mcs/; revision=116661
Marek Habersack [Tue, 21 Oct 2008 18:40:56 +0000 (18:40 -0000)]
Revert r116595 - the 3.5 assemblies mustn't be included in the system web.config - it breaks all 2.0 applications
svn path=/trunk/mono/; revision=116660
Zoltan Varga [Tue, 21 Oct 2008 18:14:10 +0000 (18:14 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* loader.c (find_method_in_class): Reenable the metadata optimization by
not using it for generic instances.
svn path=/trunk/mono/; revision=116657
Zoltan Varga [Tue, 21 Oct 2008 18:07:49 +0000 (18:07 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (MonoFieldDefaultValue): Extract the rarely used
data/def_type fields from MonoClassField into a separate structure.
(struct MonoClassField): Remove data/def_type fields.
(struct _MonoClass): Add a 'field_def_values' array to store the default
values/RVA for fields.
* class.c reflection.c: Update after the changes.
svn path=/trunk/mono/; revision=116656
Zoltan Varga [Tue, 21 Oct 2008 17:56:50 +0000 (17:56 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_class_create_runtime_vtable): Use mono_field_get_data ()
for accessing field->data.
* icall.c (ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_InitializeArray): Ditto.
svn path=/trunk/mono/; revision=116655
Zoltan Varga [Tue, 21 Oct 2008 17:54:54 +0000 (17:54 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (initialize_array_data): Use mono_field_get_data ()
for accessing field->data.
svn path=/trunk/mono/; revision=116654
Zoltan Varga [Tue, 21 Oct 2008 17:49:43 +0000 (17:49 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* loader.c (find_method_in_class): Revert the last change for now as
it breaks Mono.C5 unit tests.
svn path=/trunk/mono/; revision=116653
Marek Habersack [Tue, 21 Oct 2008 17:21:15 +0000 (17:21 -0000)]
2008-10-21 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: if context.Session is null in get_Session,
throw an exception. Fixes bug #437289
2008-10-21 Marek Habersack <mhabersack@novell.com>
* SessionStateModule.cs: OnAcquireState should set up a session
only if the handler requires it. Fixes bug #437289
svn path=/trunk/mcs/; revision=116640
Zoltan Varga [Tue, 21 Oct 2008 16:27:33 +0000 (16:27 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (struct _MonoDynamicGenericClass): Add fields
'field_generic_types' and 'field_objects' which contain the information
previously stored in MonoInflatedField.
(MonoInflatedField): Delete.
(struct _MonoClassField): Delete 'generic_info' field.
* reflection.c: Store the information which was previously in
field->generic_info in MonoDynamicGenericClass instead.
* metadata.c (free_generic_class): Update after MonoDynamicGenericClass/
MonoClassField changes.
svn path=/trunk/mono/; revision=116627
Atsushi Eno [Tue, 21 Oct 2008 15:52:16 +0000 (15:52 -0000)]
2008-10-21 Atsushi Enomoto <atsushi@ximian.com>
* LinqDataSource.cs : set ContextTypeName too when ContextType is set.
svn path=/trunk/mcs/; revision=116622
Zoltan Varga [Tue, 21 Oct 2008 15:19:28 +0000 (15:19 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_image_get_fieldref_token): For fields of non-dynamic
generic instances, compute the type from the generic definition instead of
looking in field->generic_info.
svn path=/trunk/mono/; revision=116618
Zoltan Varga [Tue, 21 Oct 2008 15:15:18 +0000 (15:15 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_image_get_fieldref_token): For fields of non-dynamic
generic instances, compute the type from the generic definition instead of
looking in field->generic_info.
* class.c (mono_class_setup_fields): Don't create a MonoInflatedField
for inflated fields, the only user was get_fieldref_token () which no
longer needs it.
svn path=/trunk/mono/; revision=116617
Paolo Molaro [Tue, 21 Oct 2008 15:10:55 +0000 (15:10 -0000)]
Tue Oct 21 17:07:55 CEST 2008 Paolo Molaro <lupus@ximian.com>
* marshal.c, method-builder.c: get rid of wrapper_hash and instead
store the value inside the data array of the MonoMethodWrapper.
This saves memory, is faster and fixes the lifetime issues (methods
were never removed from the hash previously). May also fix bug#436996.
svn path=/trunk/mono/; revision=116616
Zoltan Varga [Tue, 21 Oct 2008 15:04:04 +0000 (15:04 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_init): Revert the last change as it seems to cause
crashes.
svn path=/trunk/mono/; revision=116615
Brad Taylor [Tue, 21 Oct 2008 14:06:51 +0000 (14:06 -0000)]
2008-10-21 Brad Taylor <brad@getcoded.net>
* TextControl.cs: Break out code to get the visible range into
GetVisibleLineIndexes to be used in UIA code.
* Line.cs:
* TextControl.cs:
* TextBoxBase.cs: Add comments indicating that the method or property
is used via reflection from UIA code.
svn path=/trunk/mcs/; revision=116612
Rodrigo Kumpera [Tue, 21 Oct 2008 12:35:28 +0000 (12:35 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* Vector8us.cs: Added SignedPackWithUnsignedSaturation.
svn path=/trunk/mcs/; revision=116610
Rodrigo Kumpera [Tue, 21 Oct 2008 12:33:51 +0000 (12:33 -0000)]
2008-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* simd-methods.h: Add SignedPackWithUnsignedSaturation.
* simd-intrinsics.c (vector8us_intrinsics): Add SignedPackWithUnsignedSaturation.
svn path=/trunk/mono/; revision=116609
Zoltan Varga [Tue, 21 Oct 2008 12:26:09 +0000 (12:26 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* class-internals.h (struct _MonoClassField): Reorder fields to save 4
bytes on 64 bit platforms.
svn path=/trunk/mono/; revision=116608
Zoltan Varga [Tue, 21 Oct 2008 11:55:36 +0000 (11:55 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_class_create_runtime_vtable): Fix a warning.
svn path=/trunk/mono/; revision=116607
Zoltan Varga [Tue, 21 Oct 2008 11:35:31 +0000 (11:35 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_class_create_runtime_vtable): Don't initalize
field->data/field->def_type here, it is done lazily by
mono_class_get_field_default_value ().
* icall.c (ves_icall_get_enum_info): Call
mono_class_get_field_default_value () instead of directly accessing
field->data and field->def_type.
* object.c (get_default_field_value): Ditto.
* class.c (mono_field_get_data): Ditto.
svn path=/trunk/mono/; revision=116606
Atsushi Eno [Tue, 21 Oct 2008 06:42:59 +0000 (06:42 -0000)]
2008-10-21 Atsushi Enomoto <atsushi@ximian.com>
* data/dotnet35.pc.in : added sys.cm.dataannotations.dll too.
svn path=/trunk/mono/; revision=116598
Atsushi Eno [Tue, 21 Oct 2008 06:39:06 +0000 (06:39 -0000)]
2008-10-21 Atsushi Enomoto <atsushi@ximian.com>
* Malefile: ... and Sys.ComponentModel.DataAnnotations.dll.
svn path=/trunk/mcs/; revision=116596
Atsushi Eno [Tue, 21 Oct 2008 05:22:33 +0000 (05:22 -0000)]
2008-10-21 Atsushi Enomoto <atsushi@ximian.com>
* data/net_2_0/web.config : added new assemblies and namespaces in
pages and compilation sections.
svn path=/trunk/mono/; revision=116595
Atsushi Eno [Tue, 21 Oct 2008 05:21:03 +0000 (05:21 -0000)]
2008-10-21 Atsushi Enomoto <atsushi@ximian.com>
* data/dotnet35.pc.in : added new assemblies (dlinq, abstractions,
routing, dynamic data).
svn path=/trunk/mono/; revision=116594
Atsushi Eno [Tue, 21 Oct 2008 05:16:32 +0000 (05:16 -0000)]
2008-10-21 Atsushi Enomoto <atsushi@ximian.com>
* Malefile: added Sys.Web.DynamicData to the build.
svn path=/trunk/mcs/; revision=116592
Atsushi Eno [Tue, 21 Oct 2008 05:15:29 +0000 (05:15 -0000)]
2008-10-21 Atsushi Enomoto <atsushi@ximian.com>
* DynamicDataRouteTest.cs, MetaModelTest.cs : added NotWorking mark.
svn path=/trunk/mcs/; revision=116591
Atsushi Eno [Tue, 21 Oct 2008 05:06:01 +0000 (05:06 -0000)]
2008-10-21 Atsushi Enomoto <atsushi@ximian.com>
* DynamicDataRouteHandler.cs, DynamicDataRoute.cs, MetaTable.cs:
ongoing implementation; resolve to page templates.
svn path=/trunk/mcs/; revision=116590
Marek Habersack [Tue, 21 Oct 2008 01:08:23 +0000 (01:08 -0000)]
2008-10-21 Marek Habersack <mhabersack@novell.com>
* CapabilitiesChecksum.cs: implement Hex and MapToHex more efficiently.
2008-10-21 Marek Habersack <mhabersack@novell.com>
* OutputCacheModule.cs: seal the class.
Made OnRawResponseRemoved a static method.
* CachedVaryBy.cs: seal the class.
Use portable line terminators instead of literal '\n'.
* Cache.cs: seal the CacheItem and CacheItemEnumerator classes.
* CacheDependency.cs: dispose the associated dependency in the
DependencyDispose method.
* CachedRawResponse.cs: seal the class
2008-10-21 Marek Habersack <mhabersack@novell.com>
* CapabilitiesLoader.cs: seal BrowserData.
Seal CapabilitiesLoader.
Do not lock on typeof (CapabilitiesLoader) in GetCapabilities ().
svn path=/trunk/mcs/; revision=116583
Zoltan Varga [Mon, 20 Oct 2008 23:11:12 +0000 (23:11 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* dominators.c (mono_compute_natural_loops): Allocate GList enties
from the cfg mempool.
svn path=/trunk/mono/; revision=116579
Carlos Alberto Cortez [Mon, 20 Oct 2008 22:50:41 +0000 (22:50 -0000)]
2008-10-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItem.cs: Match .net serialization.
Fixes remaining part of #417520.
svn path=/trunk/mcs/; revision=116572
Zoltan Varga [Mon, 20 Oct 2008 22:27:53 +0000 (22:27 -0000)]
2008-10-21 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_init): Remove unneccesary mono_class_setup_methods ()
call for generic instances.
* loader.c (find_method_in_class): If klass != from_class, then inflate
the method with the context of from_class, since the caller assumes this.
svn path=/trunk/mono/; revision=116569
Jonathan Pobst [Mon, 20 Oct 2008 22:00:05 +0000 (22:00 -0000)]
2008-10-20 Jonathan Pobst <monkey@jpobst.com>
* ToolStripProfessionalRenderer.cs: Don't paint over a set BackgroundImage.
2008-10-20 Jonathan Pobst <monkey@jpobst.com>
* ToolStripPainter.cs: Don't paint over a set BackgroundImage.
svn path=/trunk/mcs/; revision=116565
Zoltan Varga [Mon, 20 Oct 2008 20:34:19 +0000 (20:34 -0000)]
2008-10-20 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_init): Remove unneccesary mono_class_setup_properties ()
call for generic instances.
(mono_class_setup_properties): Call setup_properties () before accessing
gklass->properties.
svn path=/trunk/mono/; revision=116555
Rodrigo Kumpera [Mon, 20 Oct 2008 20:23:44 +0000 (20:23 -0000)]
2008-10-20 Rodrigo Kumpera <rkumpera@novell.com>
* Vector16b.cs: Added casts to Vector4ui and Vector8us
* Vector4f.cs: Added casts to Vector8us and Vector16b
* Vector4ui.cs: Added casts to Vector8us and Vector16b
* Vector8us.cs: Added casts to Vector4ui and Vector16b
svn path=/trunk/mcs/; revision=116553
Rodrigo Kumpera [Mon, 20 Oct 2008 19:36:14 +0000 (19:36 -0000)]
2008-10-20 Rodrigo Kumpera <rkumpera@novell.com>
* basic-simd.cs: Tests for new methods in Vector8us.
svn path=/trunk/mono/; revision=116547
Rodrigo Kumpera [Mon, 20 Oct 2008 19:36:07 +0000 (19:36 -0000)]
2008-10-20 Rodrigo Kumpera <rkumpera@novell.com>
* mini-ops.h: Add multiply and store high.
* cpu-x86.md: Same.
* mini-x86.c (mono_arch_output_basic_block): Same.
* simd-methods.h: Same.
* simd-intrinsics.c (vector8us_intrinsics): Add MultiplyStoreHigh
and CompareEqual.
svn path=/trunk/mono/; revision=116546
Rodrigo Kumpera [Mon, 20 Oct 2008 19:36:04 +0000 (19:36 -0000)]
2008-10-20 Rodrigo Kumpera <rkumpera@novell.com>
* x86/x86-codegen.h: Add multiply and store high.
svn path=/trunk/mono/; revision=116545
Rodrigo Kumpera [Mon, 20 Oct 2008 19:32:18 +0000 (19:32 -0000)]
2008-10-20 Rodrigo Kumpera <rkumpera@novell.com>
* Vector8us.cs: Added CompareEqual and MultiplyStoreHigh.
svn path=/trunk/mcs/; revision=116544
Gonzalo Paniagua Javier [Mon, 20 Oct 2008 18:06:07 +0000 (18:06 -0000)]
remove duplicated asserts
svn path=/trunk/mono/; revision=116540
Marek Habersack [Mon, 20 Oct 2008 17:37:54 +0000 (17:37 -0000)]
Do not abuse the 'private' keyword
svn path=/trunk/mcs/; revision=116539
Zoltan Varga [Mon, 20 Oct 2008 15:54:30 +0000 (15:54 -0000)]
2008-10-20 Zoltan Varga <vargaz@gmail.com>
* loader.c (find_method_in_class): Search directly in metadata to avoid
calling mono_class_setup_methods ().
svn path=/trunk/mono/; revision=116526
Zoltan Varga [Mon, 20 Oct 2008 15:13:10 +0000 (15:13 -0000)]
2008-10-20 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_get_virtual_methods): New helper function to iterate
over the virtual methods of a class using metadata if possible, avoiding the
creation of MonoMethod's for non-virtual methods.
* class.c (mono_class_setup_vtable_general): Rewrite this to use
get_virtual_methods () to iterate over the virtual methods of classes.
svn path=/trunk/mono/; revision=116521
Zoltan Varga [Mon, 20 Oct 2008 15:05:21 +0000 (15:05 -0000)]
2008-10-20 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_method_get_vtable_index): Use mono_method_get_vtable_slot ()
for accessing method->slot.
svn path=/trunk/mono/; revision=116519
Jonathan Pryor [Mon, 20 Oct 2008 14:43:31 +0000 (14:43 -0000)]
* docs/Makefile (MONO_DIRS): Add Mono.Data.SqliteClient docs.
svn path=/trunk/mcs/; revision=116516
Jonathan Pryor [Mon, 20 Oct 2008 14:39:58 +0000 (14:39 -0000)]
* Documentation/index.xml, Documentation/Mono.Data.SqliteClient: Move
to Documentation/en.
* Documentation/Mono.Data.SqliteClient.xml: Move to
Documentation/en/ns-Mono.Data.SqliteClient.xml.
* Documentation/en/**/*: Flush (update).
svn path=/trunk/mcs/; revision=116515
Mario Carrion [Mon, 20 Oct 2008 14:33:26 +0000 (14:33 -0000)]
2008-10-20 Mario Carrion <mcarrion@novell.com>
* ErrorProvider.cs, ToolTip.cs, HelpProvider.cs: UIA internal property
added: UIAToolTipRectangle.
svn path=/trunk/mcs/; revision=116513
Jonathan Pryor [Mon, 20 Oct 2008 14:29:04 +0000 (14:29 -0000)]
* scripts/mod.in: Remove bash-isms.
svn path=/trunk/mono/; revision=116512
Gonzalo Paniagua Javier [Mon, 20 Oct 2008 12:37:55 +0000 (12:37 -0000)]
svn path=/trunk/mcs/; revision=116505
Carlos Alberto Cortez [Mon, 20 Oct 2008 05:00:34 +0000 (05:00 -0000)]
2008-10-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItem.cs: When deserializing enumerate over the data, instead
of accessing the data directly. This way we handle much better the
cases were we lack information.
Fixes #417520.
svn path=/trunk/mcs/; revision=116489
Carlos Alberto Cortez [Mon, 20 Oct 2008 00:59:55 +0000 (00:59 -0000)]
2008-10-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: When removing an item from a main ListView.Items
collection (and not a ListViewGroupCollection.Items one), remove it
also from the group, as .net does. Patch by Mario Carrion (mario at
novell dot com).
Fixes #436653.
svn path=/trunk/mcs/; revision=116488
Cedric Vivier [Mon, 20 Oct 2008 00:03:54 +0000 (00:03 -0000)]
2008-10-20 Cedric Vivier <cedricv@neonux.com>
* Debugger.cs: Implement Debugger.IsAttached
svn path=/trunk/mcs/; revision=116487
Cedric Vivier [Mon, 20 Oct 2008 00:03:15 +0000 (00:03 -0000)]
2008-10-20 Cedric Vivier <cedricv@neonux.com>
* icall-def.h, icall.c: Add icall for Debugger.IsAttached
svn path=/trunk/mono/; revision=116486
Zoltan Varga [Sun, 19 Oct 2008 21:38:23 +0000 (21:38 -0000)]
2008-10-19 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_method_get_vtable_index): Use
mono_method_get_vtable_slot () for accessing method->slot.
svn path=/trunk/mono/; revision=116481
Zoltan Varga [Sun, 19 Oct 2008 21:34:19 +0000 (21:34 -0000)]
2008-10-19 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_emit_method_call_full): Remove a needless call to
mono_class_setup_vtable ().
* mini-trampolines.c (mono_convert_imt_slot_to_vtable_slot): Use
mono_class_get_vtable_entry () for accessing klass->vtable.
* aot-runtime.c (load_method): Avoid a crash when using MONO_LOG_LEVEL.
* aot-compiler.c (add_generic_instances): Avoid a crash if a class is not
found.
svn path=/trunk/mono/; revision=116478
Zoltan Varga [Sun, 19 Oct 2008 21:31:24 +0000 (21:31 -0000)]
2008-10-19 Zoltan Varga <vargaz@gmail.com>
* object.c (build_imt_slots): Use mono_class_get_method_by_index () for
accessing klass->methods.
* class.c (mono_method_get_vtable_slot): New helper function.
(mono_class_get_vtable_entry): Ditto.
(mono_class_setup_vtable_general): Use mono_method_get_vtable_slot () for
accessing method->slot.
svn path=/trunk/mono/; revision=116475
Zoltan Varga [Sun, 19 Oct 2008 18:26:39 +0000 (18:26 -0000)]
2008-10-19 Zoltan Varga <vargaz@gmail.com>
* generic-sharing.c (mono_class_get_method_generic): Pass the declaring
method to get_inflated_method ().
svn path=/trunk/mono/; revision=116436
Gert Driesen [Sun, 19 Oct 2008 18:07:02 +0000 (18:07 -0000)]
* HttpWebRequestTest.cs: Fixed test for bug #429200.
svn path=/trunk/mcs/; revision=116431
Zoltan Varga [Sun, 19 Oct 2008 17:50:27 +0000 (17:50 -0000)]
2008-10-19 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_get_inflated_method): New helper method to obtain
a method of an inflated class without calling setup_methods ().
(mono_class_get_cctor): Use get_inflated_method.
* generic-sharing.c (mono_class_get_method_generic): Ditto.
svn path=/trunk/mono/; revision=116430
Zoltan Varga [Sun, 19 Oct 2008 14:35:22 +0000 (14:35 -0000)]
2008-10-19 Zoltan Varga <vargaz@gmail.com>
* marshal.c image.c: Lazily create all the marshal caches.
svn path=/trunk/mono/; revision=116421
Zoltan Varga [Sun, 19 Oct 2008 13:43:38 +0000 (13:43 -0000)]
2008-10-19 Zoltan Varga <vargaz@gmail.com>
* image.c (mono_image_init): Move initialization of runtime_invoke
caches to marshal.c.
* marshal.c (get_cache): New helper function to lazily initialize a
wrapper cache.
(mono_marshal_get_runtime_invoke): Share more runtime invoke wrappers.
svn path=/trunk/mono/; revision=116420
Zoltan Varga [Sun, 19 Oct 2008 12:09:32 +0000 (12:09 -0000)]
2008-10-19 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_save_token_info): Don't save references made from
wrappers.
svn path=/trunk/mono/; revision=116418
Zoltan Varga [Sun, 19 Oct 2008 11:52:18 +0000 (11:52 -0000)]
2008-10-19 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_generic_instances): Add static rgctx wrappers for cctors
of generic instances.
* aot-runtime.c (find_extra_method): Search in all loaded AOT images.
svn path=/trunk/mono/; revision=116417
Mark Probst [Sun, 19 Oct 2008 10:57:24 +0000 (10:57 -0000)]
2008-10-19 Mark Probst <mark.probst@gmail.com>
* cpu-ppc.md, mini-ppc.c: The length of the code generated for
OP_JMP depends on the method signature. Calculate it properly.
svn path=/trunk/mono/; revision=116416
Zoltan Varga [Sun, 19 Oct 2008 10:54:29 +0000 (10:54 -0000)]
2008-10-19 Zoltan Varga <vargaz@gmail.com>
* debug-helpers.c (mono_method_full_name): Include generic arguments.
svn path=/trunk/mono/; revision=116415
Zoltan Varga [Sun, 19 Oct 2008 10:42:21 +0000 (10:42 -0000)]
2008-10-19 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_find_jit_info): Handle extra methods which are
called directly.
* aot-compiler.c (emit_and_reloc_code): Allow direct calling of generic
instances.
(emit_extra_methods): Add another table mapping method indexes to
offsets in the extra_method_info table.
* mini.h: Bump AOT file format version.
* aot-runtime.c: Merge most of the code from mono_aot_get_method
and mono_aot_get_method_from_token () into one function.
svn path=/trunk/mono/; revision=116414
Mark Probst [Sun, 19 Oct 2008 10:39:45 +0000 (10:39 -0000)]
2008-10-19 Mark Probst <mark.probst@gmail.com>
* mini-ppc.c (emit_load_volatile_arguments): Inner loop needs a
separate counter.
svn path=/trunk/mono/; revision=116413
Andreia Gaita [Sun, 19 Oct 2008 02:30:23 +0000 (02:30 -0000)]
* tests2.sh: Remove extra echos
svn path=/trunk/mcs/; revision=116411
Andreia Gaita [Sun, 19 Oct 2008 02:14:26 +0000 (02:14 -0000)]
* Managed.Windows.Forms/Test/System.Windows.Forms/FormTest.cs: Fix
failing test on .NET/Win
2008-10-19 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=116410
Andreia Gaita [Sun, 19 Oct 2008 02:12:28 +0000 (02:12 -0000)]
* Managed.Windows.Forms/System.Windows.Forms/Form.cs:
* Managed.Windows.Forms/Test/System.Windows.Forms/FormTest.cs: Forms
that get closed without a handle being created are disposed in 2.0.
Fixes failing FormTest.FormClose and FormTest.FormClose2 on windows.
2008-10-19 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=116409
Carlos Alberto Cortez [Sun, 19 Oct 2008 01:32:14 +0000 (01:32 -0000)]
2008-10-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: If both scrollbars are visible, the vertical one
shouldn't extend too far down.
Fixes #435771.
svn path=/trunk/mcs/; revision=116408
Jonathan Pryor [Sat, 18 Oct 2008 23:33:00 +0000 (23:33 -0000)]
* Makefile.am (man_MANS): Remove unpackaged files.
svn path=/trunk/mono/; revision=116407
Zoltan Varga [Sat, 18 Oct 2008 22:41:09 +0000 (22:41 -0000)]
2008-10-19 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c: Merge most of the code from mono_aot_get_method
and mono_aot_get_method_from_token () into one function.
svn path=/trunk/mono/; revision=116406
Zoltan Varga [Sat, 18 Oct 2008 21:12:51 +0000 (21:12 -0000)]
2008-10-18 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c aot-runtime.c: Fix the hash function used for the extra
methods.
svn path=/trunk/mono/; revision=116399
Jonathan Pryor [Sat, 18 Oct 2008 20:35:02 +0000 (20:35 -0000)]
* configure.in: Generate data/monodoc.pc.
svn path=/trunk/mono/; revision=116398
Jonathan Pryor [Sat, 18 Oct 2008 19:37:37 +0000 (19:37 -0000)]
* Makefile $(LIBRARY_PACKAGE): Set to `monodoc`, as we historically
have had a monodoc package (and thus should preserve it).
svn path=/trunk/mcs/; revision=116393
Jonathan Pryor [Sat, 18 Oct 2008 19:35:18 +0000 (19:35 -0000)]
* data/Makefile.am: Add monodoc.pc to $(pkgconfig_DATA), $(DISTCLEANFILES).
svn path=/trunk/mono/; revision=116392
Jonathan Pryor [Sat, 18 Oct 2008 19:33:27 +0000 (19:33 -0000)]
* data/monodoc.pc.in: Fixup sourcesdir.
* data/Makefile.am (EXTRA_DIST): Add monodoc.pc.in.
svn path=/trunk/mono/; revision=116391
Jonathan Pryor [Sat, 18 Oct 2008 19:28:10 +0000 (19:28 -0000)]
Migrating from monodoc to mono/data...
svn path=/trunk/mono/; revision=116390