Jb Evain [Tue, 27 May 2008 14:07:52 +0000 (14:07 -0000)]
add tests for nullable boxing and unboxing
svn path=/trunk/mcs/; revision=104146
Jb Evain [Tue, 27 May 2008 13:40:52 +0000 (13:40 -0000)]
refactoring
svn path=/trunk/mcs/; revision=104141
Jb Evain [Tue, 27 May 2008 13:31:04 +0000 (13:31 -0000)]
2008-05-27 Jb Evain <jbevain@novell.com>
* UnaryExpression.cs (EmitConvert): implement nullable to nullable
convert.
svn path=/trunk/mcs/; revision=104139
Jb Evain [Tue, 27 May 2008 13:29:54 +0000 (13:29 -0000)]
add test for nullable to nullable convert
svn path=/trunk/mcs/; revision=104138
Eyal Alalouf [Tue, 27 May 2008 12:18:26 +0000 (12:18 -0000)]
Fix arithemtic overflow in Double.ToString exposed by Bug #383531.
svn path=/trunk/mono/; revision=104129
Eyal Alalouf [Tue, 27 May 2008 12:18:26 +0000 (12:18 -0000)]
Fix arithemtic overflow in Double.ToString exposed by Bug #383531.
svn path=/trunk/mcs/; revision=104129
Carlos Alberto Cortez [Tue, 27 May 2008 06:47:12 +0000 (06:47 -0000)]
2008-05-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListControl.cs: For the first added item PositionChanged is fired
_before_ ItemChanged, which leave us in a temporary invalid state - so
we need to set the selected index from ItemChanged handler *if* we
know that the first item has just been added *and* the items have been
actually added to the ListControl.
Fixes #369048.
svn path=/trunk/mcs/; revision=104117
Gert Driesen [Mon, 26 May 2008 20:53:21 +0000 (20:53 -0000)]
* Bitmap.cs: Changed argument names to match MS.
* CharacterRange.cs: Changed argument names to match MS.
* Color.cs: Changed argument names to match MS.
* Font.cs: Changed argument names to match MS.
* FontFamily.cs: Changed argument names to match MS.
* Graphics.cs: Changed argument names to match MS.
* Image.cs: Changed argument names to match MS.
* Icon.cs: Changed argument names to match MS.
* IconConverter.cs: Changed argument names to match MS.
* ImageAnimator.cs: Changed argument names to match MS.
* ImageConverter.cs: Changed argument names to match MS.
* ImageFormatConverter.cs: Changed argument names to match MS.
* Point.cs: Changed argument names to match MS.
* PointF.cs: Changed argument names to match MS.
* Rectangle.cs: Changed argument names to match MS.
* RectangleF.cs: Changed argument names to match MS.
* Region.cs: Changed argument names to match MS.
* Size.cs: Changed argument names to match MS.
* SizeF.cs: Changed argument names to match MS.
* StringFormat.cs: Changed argument names to match MS.
* SystemFonts.cs: Changed argument names to match MS.
* TextureBrush.cs: Changed argument names to match MS.
svn path=/trunk/mcs/; revision=104103
Stephane Delcroix [Mon, 26 May 2008 15:12:06 +0000 (15:12 -0000)]
2008-05-21 Atsushi Enomoto <atsushi@ximian.com>
* System.dll.sources :
added INotifyPropertyChanging stuff (new in 2.0 SP1).
svn path=/trunk/mcs/; revision=104072
Zoltan Varga [Mon, 26 May 2008 14:41:42 +0000 (14:41 -0000)]
2008-05-26 Zoltan Varga <vargaz@gmail.com>
* number-formatter.h: Make some tables static.
svn path=/trunk/mono/; revision=104068
Zoltan Varga [Mon, 26 May 2008 11:32:14 +0000 (11:32 -0000)]
2008-05-26 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (libmonoutils_la_SOURCES): Add mono-property-hash.{h,c}.
svn path=/trunk/mono/; revision=104060
Zoltan Varga [Mon, 26 May 2008 10:18:52 +0000 (10:18 -0000)]
2008-05-26 Zoltan Varga <vargaz@gmail.com>
* get.c: Use accessor functions for accessing method->generic_container.
svn path=/trunk/mono/; revision=104058
Zoltan Varga [Mon, 26 May 2008 10:17:59 +0000 (10:17 -0000)]
2008-05-26 Zoltan Varga <vargaz@gmail.com>
* mini.c generic-sharing.c jit-icalls.c aot-compiler.c: Use accessor functions
for accessing method->generic_container.
svn path=/trunk/mono/; revision=104057
Zoltan Varga [Mon, 26 May 2008 10:16:14 +0000 (10:16 -0000)]
2008-05-26 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_method_set_generic_container): New accessor function.
(mono_method_get_generic_container): Ditto.
* class-internals.h (struct _MonoMethod): Remove rarely used
'generic_container' field, store it in the property hash instead. Add
'is_generic' boolean field instead.
* image.c (mono_image_init): Initialize property_hash.
(mono_image_close): Destroy property_hash.
* metadata-internals.h (struct _MonoImage): Add 'property_hash' hash table to
hold rarely used fields of runtime structures belonging to this image.
* class.c loader.c verify.c icall.c reflection.c: Use the new accessor functions
to get/set method->generic_container.
svn path=/trunk/mono/; revision=104056
Zoltan Varga [Mon, 26 May 2008 10:09:23 +0000 (10:09 -0000)]
2008-05-26 Zoltan Varga <vargaz@gmail.com>
* mono-property-hash.h mono-property-hash.c: New files.
svn path=/trunk/mono/; revision=104055
Stephane Delcroix [Mon, 26 May 2008 09:39:56 +0000 (09:39 -0000)]
2008-05-26 Stephane Delcroix <sdelcroix@novell.com>
* TimezoneInfo.cs: nullity check in HasSameRules (). Fixes bnc #391011
svn path=/trunk/mcs/; revision=104052
Stephane Delcroix [Mon, 26 May 2008 09:38:22 +0000 (09:38 -0000)]
2008-05-26 Stephane Delcroix <sdelcroix@novell.com>
* Timezonetsnfo.cs: test for bnc #391011
svn path=/trunk/mcs/; revision=104051
Zoltan Varga [Mon, 26 May 2008 09:32:40 +0000 (09:32 -0000)]
2008-05-26 Zoltan Varga <vargaz@gmail.com>
* loader.c (mono_get_method_from_token): Avoid loading the method header for
generic methods.
svn path=/trunk/mono/; revision=104050
Jb Evain [Sun, 25 May 2008 23:12:11 +0000 (23:12 -0000)]
fix test
svn path=/trunk/mcs/; revision=104044
Sebastien Pouliot [Sun, 25 May 2008 23:11:32 +0000 (23:11 -0000)]
revert big, unreviewed, broken changes from r104029/30/31
svn path=/trunk/mcs/; revision=104043
Sebastien Pouliot [Sun, 25 May 2008 21:52:19 +0000 (21:52 -0000)]
2008-05-25 Sebastien Pouliot <sebastien@ximian.com>
* XmlDecryptionTransform.cs,
* XmlDsigBase64Transform.cs,
* XmlDsigC14NTransform.cs,
* XmlDsigEnvelopedSignatureTransform.cs,
* XmlDsigExcC14NTransform.cs,
* XmlDsigXPathTransform.cs,
* XmlDsigXsltTransform.cs,
* XmlLicenseTransform.cs: Don't use lock(this). In fact remove locking
since the worse that can happen is two copies of the same data.
[Found using Gendarme]
svn path=/trunk/mcs/; revision=104039
Sebastien Pouliot [Sun, 25 May 2008 21:50:08 +0000 (21:50 -0000)]
2008-05-25 Sebastien Pouliot <sebastien@ximian.com>
* XmlDsigBase64TransformTest.cs: Add test case for InputTypes
* XmlDsigExcC14NTransformTest.cs: Add test case for InputTypes
svn path=/trunk/mcs/; revision=104038
Gert Driesen [Sun, 25 May 2008 17:05:43 +0000 (17:05 -0000)]
* ColorMatrix.cs: Changed argument names to match MS. Changed spaces
to tabs, and removed extra tabs.
* EncoderParameter.cs: Changed argument names to match MS. Changed
spaces to tabs, and removed extra tabs.
* ImageAttributes.cs: Changed argument names to match MS. Changed
spaces to tabs, and removed extra tabs.
* Metafile.cs: Changed argument names to match MS. Changes spaces to
tabs, and removed extra tabs. Fixed typo in MonoLimitation text.
svn path=/trunk/mcs/; revision=104031
Gert Driesen [Sun, 25 May 2008 16:45:09 +0000 (16:45 -0000)]
* GraphicsPath.cs: Changed argument names to match MS. Changed spaces
to tabs, and removed extra tabs.
* HatchBrush.cs: Changed argument names to match MS.
svn path=/trunk/mcs/; revision=104030
Gert Driesen [Sun, 25 May 2008 16:41:48 +0000 (16:41 -0000)]
* Bitmap.cs: Changed argument names to match MS. Changed spaces to
tabs, and removed extra tabs.
* CharacterRange.cs: Changed argument names to match MS.
* Color.cs: Changed argument names to match MS.
* Font.cs: Changed argument names to match MS. Code formatting.
* FontFamily.cs: Changed argument names to match MS. Changed spaces to
tabs, and removed extra tabs.
* Graphics.cs: Changed argument names to match MS. Changed spaces to
tabs, and removed extra tabs.
* Image.cs: Changed argument names to match MS. Changed spaces to tabs
and removed extra tabs. Code formatting.
* Icon.cs: Changed argument names to match MS. Changes spaces to tabs,
and removed extra tabs.
* IconConverter.cs: Changed argument names to match MS.
* ImageAnimator.cs: Code formatting. Changed argument names to match
MS.
* ImageConverter.cs: Changed argument names to match MS. Avoid double
cast in ConvertTo. Changed spaces to tabs, and removed extra tabs.
* ImageFormatConverter.cs: Changed argument names to match MS.
* Point.cs: Changed argument names to match MS.
* PointF.cs: Changed argument names to match MS.
* Rectangle.cs: Changed argument names to match MS. Changed spaces to
tabs, and removed extra tabs.
* RectangleF.cs: Changed argument names to match MS. Changed spaces to
tabs, and removed extra tabs.
* Region.cs: Changed argument names to match MS. Changed spaces to
tabs, and removed extra tabs.
* Size.cs: Changed argument names to match MS.
* SizeF.cs: Changed argument names to match MS.
* StringFormat.cs: Changed argument names to match MS. Changed spaces
to tabs, and removed extra tabs.
* SystemFonts.cs: Changed argument names to match MS. Code formatting.
* TextureBrush.cs: Changed argument names to match MS.
svn path=/trunk/mcs/; revision=104029
Zoltan Varga [Sun, 25 May 2008 14:22:18 +0000 (14:22 -0000)]
2008-05-25 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_inflate_generic_method_full): Don't increase
mono_stats.inflated_method_count for methods found in the cache.
svn path=/trunk/mono/; revision=104025
Zoltan Varga [Sun, 25 May 2008 12:49:09 +0000 (12:49 -0000)]
2008-05-25 Zoltan Varga <vargaz@gmail.com>
* threads.c (mono_thread_request_interruption): Add a comment about
QueueUserAPC ().
svn path=/trunk/mono/; revision=104022
Zoltan Varga [Sun, 25 May 2008 12:46:40 +0000 (12:46 -0000)]
2008-05-25 Zoltan Varga <vargaz@gmail.com>
* thread-private.h (struct _WapiHandle_thread): Remove 'owner_pid' field. Reorder
fields so this struct (which is the biggest of the handle structs) takes less
space.
* threads.c (QueueUserAPC): Make this function signal safe by adding some
restrictions on its usage.
svn path=/trunk/mono/; revision=104021
Gert Driesen [Sun, 25 May 2008 07:33:26 +0000 (07:33 -0000)]
* StringTest.cs: Added/improved tests for ToLower and ToUpper.
svn path=/trunk/mcs/; revision=104011
Carlos Alberto Cortez [Sun, 25 May 2008 02:16:37 +0000 (02:16 -0000)]
* TabControl.cs: Only clicks with the left button should be
handled.
Fixes #393908.
2008-05-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=104009
Carlos Alberto Cortez [Sun, 25 May 2008 01:43:17 +0000 (01:43 -0000)]
2008-05-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ComboBox.cs:
* FIleDialog.cs:
* TextBox.cs: Expose an internal method in TextBox to restore the
original context menu, and call it from ComboBox to re-use it in the
combobox containing the file name in FileDialog.cs.
Fixes part of #393775.
svn path=/trunk/mcs/; revision=104006
Jb Evain [Sat, 24 May 2008 22:29:11 +0000 (22:29 -0000)]
get Miguel's patch back in, without cloning the serialization info
svn path=/trunk/mcs/; revision=103996
Zoltan Varga [Sat, 24 May 2008 20:05:31 +0000 (20:05 -0000)]
2008-05-24 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_check_inlining): Avoid creating vtables if possible.
svn path=/trunk/mono/; revision=103995
Gert Driesen [Sat, 24 May 2008 20:04:53 +0000 (20:04 -0000)]
* String.cs: Comment out 2.0 compatibility fix for SubString, since it
causes regressions in System.Xml.
* StringTest.cs: Comment out assert in SubString2 as corresponding
fix was reverted.
svn path=/trunk/mcs/; revision=103994
Gert Driesen [Sat, 24 May 2008 18:39:38 +0000 (18:39 -0000)]
* String.cs: Changed exception to match MS. Fixed ToCharArray to use
startindex for source. In PadLeft and PadRight, only return current
string if totalWidth is less than length.
* StringTest.cs: Improved ctor tests. Avoid use of ExpectedException.
Moved tests for argument checks to separate methods. Added tests for
EndsWith, IndexOf, IndexOfAny, Intern, IsInternet, Format, StartsWith,
SubString, ToCharArray, ToLower and Split. Use String.Empty instead of
"". Use more meaningful names for test methods. Marked failing tests
that were added by Andreas as NotWorking.
svn path=/trunk/mcs/; revision=103993
Gonzalo Paniagua Javier [Sat, 24 May 2008 17:19:57 +0000 (17:19 -0000)]
2008-05-24 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
* Enum.cs: use Array.BinarySearch on the values in IsDefined and
GetName instead of looping through the list. Made the cache in
MonoEnumInfo thread static to avoid contention.
svn path=/trunk/mcs/; revision=103992
Andreas N [Sat, 24 May 2008 16:51:00 +0000 (16:51 -0000)]
2008-05-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* StringTest.cs: Add (more) tests for (Last)IndexOf
svn path=/trunk/mcs/; revision=103991
Andreas N [Sat, 24 May 2008 15:54:36 +0000 (15:54 -0000)]
2008-05-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* StringTest.cs: Add (more) tests for (Last)IndexOf
svn path=/trunk/mcs/; revision=103990
Zoltan Varga [Sat, 24 May 2008 15:49:05 +0000 (15:49 -0000)]
2008-05-24 Zoltan Varga <vargaz@gmail.com>
* class.c (setup_interface_offsets): Use sizeof (guint16) when allocating the
interface_offsets_packed table.
svn path=/trunk/mono/; revision=103989
Marek Safar [Sat, 24 May 2008 14:20:43 +0000 (14:20 -0000)]
2008-05-24 Marek Safar <marek.safar@gmail.com>
* ecore.cs, expression.cs: Small IVariable refactoring.
svn path=/trunk/mcs/; revision=103988
Zoltan Varga [Sat, 24 May 2008 12:33:04 +0000 (12:33 -0000)]
2008-05-24 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_init): Remove some dead code.
svn path=/trunk/mono/; revision=103987
Zoltan Varga [Sat, 24 May 2008 12:24:26 +0000 (12:24 -0000)]
2008-05-24 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_Reflection_Assembly_InternalGetType): Call
mono_class_setup_vtable () when CAS is active to detect security problems.
svn path=/trunk/mono/; revision=103986
George Giolfan [Sat, 24 May 2008 06:23:39 +0000 (06:23 -0000)]
2008-05-24 George Giolfan <georgegiolfan@yahoo.com>
* SWF.csproj, SWF2k5.csproj: Updated.
svn path=/trunk/mcs/; revision=103985
George Giolfan [Sat, 24 May 2008 05:45:38 +0000 (05:45 -0000)]
2008-05-24 George Giolfan <georgegiolfan@yahoo.com>
* ThemeVisualStyles.cs: Added support for the hot ComboBox drop down button
style.
svn path=/trunk/mcs/; revision=103984
George Giolfan [Sat, 24 May 2008 05:43:13 +0000 (05:43 -0000)]
2008-05-24 George Giolfan <georgegiolfan@yahoo.com>
* ComboBox.cs, Theme.cs, ThemeWin32Classic.cs: Added support for the hot drop
down button style.
svn path=/trunk/mcs/; revision=103983
Zoltan Varga [Sat, 24 May 2008 01:49:56 +0000 (01:49 -0000)]
2008-05-24 Zoltan Varga <vargaz@gmail.com>
* mini.c (SIG_HANDLER_SIGNATURE): Fix sparc build too.
svn path=/trunk/mono/; revision=103982
Zoltan Varga [Sat, 24 May 2008 01:47:55 +0000 (01:47 -0000)]
2008-05-24 Zoltan Varga <vargaz@gmail.com>
* mini.c (SIG_HANDLER_SIGNATURE): Fix IA64 build.
svn path=/trunk/mono/; revision=103981
Zoltan Varga [Sat, 24 May 2008 01:42:28 +0000 (01:42 -0000)]
2008-05-24 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_jit_compile_method_inner): Avoid a crash if mono_class_vtable ()
fails.
svn path=/trunk/mono/; revision=103980
Carlos Alberto Cortez [Sat, 24 May 2008 00:23:42 +0000 (00:23 -0000)]
* ComboBox.cs: Minor correction to previous patch: PageDown should
also *try* to move by one item if the computed offset is negative,
just like the PageUp case.
2008-05-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=103975
Carlos Alberto Cortez [Sat, 24 May 2008 00:08:08 +0000 (00:08 -0000)]
2008-05-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ComboBox.cs: When navigating using PageDown/PageUp the navigation
should be done for at least 1 item, and not stay at the same item.
Fixes part of #374713.
svn path=/trunk/mcs/; revision=103974
Rodrigo Kumpera [Fri, 23 May 2008 22:35:45 +0000 (22:35 -0000)]
2008-05-23 Rodrigo Kumpera <rkumpera@novell.com>
* valid_contravariant_delegate_1.il
* valid_contravariant_delegate_2.il
* valid_convariant_delegate_1.il
* valid_convariant_delegate_2.il
* valid_generic_delegate_1.cs
* valid_generic_delegate_2.cs
* valid_invariant_delegate.il: Test compatibility of generic
delegates in the presence of variance.
svn path=/trunk/mono/; revision=103963
Rodrigo Kumpera [Fri, 23 May 2008 22:17:35 +0000 (22:17 -0000)]
2008-05-23 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_delegate_type_equal): Handle VAR, MVAR and GENERICINST.
* verify.c (mono_delegate_signature_equal): Don't compar number of generic
parameters as it's irrelevant for delegate checking.
svn path=/trunk/mono/; revision=103962
Jonathan Pobst [Fri, 23 May 2008 22:09:53 +0000 (22:09 -0000)]
2008-05-23 Jonathan Pobst <monkey@jpobst.com>
* FileDialog.cs: Add a FSEntryComparer, and use it to sort the
directories. [Fixes bug #393931]
svn path=/trunk/mcs/; revision=103960
Massimiliano Mantione [Fri, 23 May 2008 20:12:51 +0000 (20:12 -0000)]
Fix warnings x86 and remove debugging code.
svn path=/trunk/mono/; revision=103951
Wade Berrier [Fri, 23 May 2008 19:54:14 +0000 (19:54 -0000)]
2008-05-23 Wade Berrier <wberrier@novell.com>
* scripts/Makefile.am: remove mbas script since we don't ship it
anymore
(fixed bnc#393903)
svn path=/trunk/mono/; revision=103949
Marek Habersack [Fri, 23 May 2008 19:16:43 +0000 (19:16 -0000)]
2008-05-23 Marek Habersack <mhabersack@novell.com>
* Cache.cs: optimize lock usage
2008-05-23 Marek Habersack <mhabersack@novell.com>
* SessionInProcHandler.cs, RemoteStateServer.cs: update for
internal API change in System.Web.Caching.Cache.
svn path=/trunk/mcs/; revision=103946
Jb Evain [Fri, 23 May 2008 17:42:19 +0000 (17:42 -0000)]
reverting, somehow this breaks the linker
svn path=/trunk/mcs/; revision=103936
Miguel de Icaza [Fri, 23 May 2008 16:27:58 +0000 (16:27 -0000)]
2008-05-23 Miguel de Icaza <miguel@novell.com>
* Hashtable.cs: Implement a faster clone that does not use an
enumerator to iterate over the values, this doubles the speed of
Clone.
The use of an internal constructor that builds from a Hashtable is
done to avoid populating a Hashtable and then updating every field
and structure with new data.
svn path=/trunk/mcs/; revision=103926
Zoltan Varga [Fri, 23 May 2008 13:36:36 +0000 (13:36 -0000)]
2008-05-23 Zoltan Varga <vargaz@gmail.com>
* driver.c (mono_main): Set mono_setup_vtable_in_class_init to FALSE.
svn path=/trunk/mono/; revision=103900
Zoltan Varga [Fri, 23 May 2008 13:35:33 +0000 (13:35 -0000)]
2008-05-23 Zoltan Varga <vargaz@gmail.com>
* class-internals.h class.c: Correct the name of the 'mono_no_setup_vtable_in_class_init' variable.
svn path=/trunk/mono/; revision=103899
Zoltan Varga [Fri, 23 May 2008 13:33:18 +0000 (13:33 -0000)]
2008-05-23 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_init): Control the creation of a generic vtable using
a global which is true by default, but set to false by the runtime startup code.
svn path=/trunk/mono/; revision=103898
Zoltan Varga [Fri, 23 May 2008 13:31:49 +0000 (13:31 -0000)]
2008-05-23 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (test-generic-sharing): Exit if one of the tests fail. Run the
tests with MONO_GENERIC_SHARING=all.
svn path=/trunk/mono/; revision=103897
Massimiliano Mantione [Fri, 23 May 2008 13:26:26 +0000 (13:26 -0000)]
Fix the build on x86.
svn path=/trunk/mono/; revision=103895
Zoltan Varga [Fri, 23 May 2008 13:12:49 +0000 (13:12 -0000)]
2008-05-23 Zoltan Varga <vargaz@gmail.com>
* mini.c: Handle the case when mono_class_vtable () fails.
svn path=/trunk/mono/; revision=103893
Zoltan Varga [Fri, 23 May 2008 13:11:59 +0000 (13:11 -0000)]
2008-05-23 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_init): Avoid constructing a generic vtable in most cases.
Disabled for now since it breaks the embedding API.
Move the setup of class->methods for arrays to mono_class_setup_methods ().
(mono_class_setup_methods): Add a memory barrier.
* object.c (mono_class_create_runtime_vtable): Add code to handle the case
when mono_class_init () doesn't compute the generic vtable.
svn path=/trunk/mono/; revision=103892
Massimiliano Mantione [Fri, 23 May 2008 10:20:15 +0000 (10:20 -0000)]
Support call chains (backtrace) in the stat profiler.
svn path=/trunk/mono/; revision=103872
Massimiliano Mantione [Fri, 23 May 2008 10:20:03 +0000 (10:20 -0000)]
Support call chains (backtrace) in the stat profiler.
svn path=/trunk/mono/; revision=103871
Massimiliano Mantione [Fri, 23 May 2008 10:19:49 +0000 (10:19 -0000)]
Support call chains (backtrace) in the stat profiler.
svn path=/trunk/mono/; revision=103870
Massimiliano Mantione [Fri, 23 May 2008 10:19:45 +0000 (10:19 -0000)]
mono-profiler-oprofile.c (handle_heap_profiling): Flush all data buffers, so that objext allocation events are written before the heap description (which contains the "object free" events).
svn path=/trunk/mono/; revision=103869
Massimiliano Mantione [Fri, 23 May 2008 10:19:40 +0000 (10:19 -0000)]
Added support for a global counter of all garbage collections.
svn path=/trunk/mono/; revision=103868
Massimiliano Mantione [Fri, 23 May 2008 10:19:36 +0000 (10:19 -0000)]
Moved emitting "GC_EVENT_START" and "GC_EVENT_END" events from "GC_maybe_gc" to "GC_try_to_collect_inner".
svn path=/trunk/mono/; revision=103867
Massimiliano Mantione [Fri, 23 May 2008 10:19:28 +0000 (10:19 -0000)]
Enabled rdtsc by default.
svn path=/trunk/mono/; revision=103866
Jb Evain [Fri, 23 May 2008 08:53:12 +0000 (08:53 -0000)]
new test
svn path=/trunk/mcs/; revision=103859
Miguel de Icaza [Thu, 22 May 2008 23:28:13 +0000 (23:28 -0000)]
2008-05-22 Miguel de Icaza <miguel@novell.com>
* SerializationCallbacks.cs: This lock has a high contention rate
on ASP.NET web sites, with multiple cores we end up spending a lot
of time on this check.
Rewrite this code to have two code paths since we know that the
cache is append-only.
svn path=/trunk/mcs/; revision=103852
Miguel de Icaza [Thu, 22 May 2008 23:01:53 +0000 (23:01 -0000)]
Forgot to commit this
svn path=/trunk/mcs/; revision=103851
Andreia Gaita [Thu, 22 May 2008 22:37:28 +0000 (22:37 -0000)]
* mcs/class/Mono.WebBrowser/Makefile: Fix build target
2008-05-22 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=103849
Mark Probst [Thu, 22 May 2008 21:52:25 +0000 (21:52 -0000)]
2008-05-22 Mark Probst <mark.probst@gmail.com>
* mini.c, jit-icalls.c, jit-icalls.h: Make generic sharing work
together with domain sharing.
2008-05-22 Mark Probst <mark.probst@gmail.com>
* Makefile.am: Do generic sharing tests with domain sharing turned
on as well.
svn path=/trunk/mono/; revision=103847
Mark Probst [Thu, 22 May 2008 21:21:20 +0000 (21:21 -0000)]
2008-05-22 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c: Init generic class when a method of it is
requested via a runtime generic context.
2008-05-22 Mark Probst <mark.probst@gmail.com>
* mini.c: Treat callvirts to final methods like non-virtual calls
when doing generic sharing, i.e. look them up in the runtime
generic context.
2008-05-22 Mark Probst <mark.probst@gmail.com>
* generic-method-patching.2.cs: Test callvirt to sealed generic
methods.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=103845
Mark Probst [Thu, 22 May 2008 21:00:56 +0000 (21:00 -0000)]
2008-05-22 Mark Probst <mark.probst@gmail.com>
* inssel.brg, mini-ops.h: Added opcodes for mkrefany and refanyval
with computed types (for generic sharing).
* mini.c: Generic sharing for mkrefany and refanyval.
2008-05-22 Mark Probst <mark.probst@gmail.com>
* generic-refanyval.2.il: Test case for generic refanyval.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=103844
Andreia Gaita [Thu, 22 May 2008 20:35:27 +0000 (20:35 -0000)]
* mcs/class/Mono.WebBrowser/README: Warning about dependencies
2008-05-22 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=103843
Andreia Gaita [Thu, 22 May 2008 20:34:54 +0000 (20:34 -0000)]
* mcs/class/Managed.Windows.Forms/SWF2k5.csproj,
mcs/class/Managed.Windows.Forms/Makefile,
mcs/class/Managed.Windows.Forms/build-csproj2k5,
mcs/class/Managed.Windows.Forms/SWF2k5.sln: Long overdue rename of
Mono.Mozilla to Mono.WebBrowser. step 2 - update references
* mcs/class/Mono.WebBrowser/Assembly/AssemblyInfo.cs,
mcs/class/Mono.WebBrowser/build-csproj2k5,
mcs/class/Mono.WebBrowser/Mono.WebBrowser.dll.sources,
mcs/class/Mono.WebBrowser/Mono.WebBrowser.csproj,
mcs/class/Mono.WebBrowser/Mono.WebBrowser2K5.csproj,
mcs/class/Mono.WebBrowser/Makefile: Long overdue rename of
Mono.Mozilla to Mono.WebBrowser. step 2 - renaming the assembly,
project files, version bump
2008-05-22 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=103842
Andreia Gaita [Thu, 22 May 2008 20:02:26 +0000 (20:02 -0000)]
* mcs/class/Makefile, mcs/class/Mono.Mozilla,
mcs/class/Mono.WebBrowser, mcs/class/Mono.WebBrowser/Makefile: Long
overdue rename of Mono.Mozilla to Mono.WebBrowser. step 1 -
directory moving
2008-05-22 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=103838
Andreia Gaita [Thu, 22 May 2008 19:04:57 +0000 (19:04 -0000)]
* gluezilla/src/BrowserWindow.cpp, gluezilla/src/gluezilla.h: Add more
xpcom helper objects for OnProgress
* winforms/webbrowser/standalone/Main.cs: Generic event has been
removed
* mcs/class/Mono.Mozilla/Mono.WebBrowser/DOM/INavigation.cs:
GetHashCode is not needed here
* mcs/class/Mono.Mozilla/Mono.WebBrowser/IWebBrowser.cs,
mcs/class/Mono.Mozilla/Mono.Mozilla/WebBrowser.cs: Hide the generic
event, internal use only
* mcs/class/Mono.Mozilla/Mono.Mozilla/Callback.cs: Add more xpcom
helper objects for OnProgress. Cache the current uri for events.
* mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs:
Implement DocumentText. Implement AllowNavigation. Don't fire
events until the initial about:blank page has finished loading.
Clean up events.
2008-05-22 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=103831
Zoltan Varga [Thu, 22 May 2008 18:17:58 +0000 (18:17 -0000)]
2008-05-22 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_init): Add a comment about trying to avoid calling this.
* reflection.c (mono_type_get_object): Add a FIXME.
svn path=/trunk/mono/; revision=103821
Zoltan Varga [Thu, 22 May 2008 18:02:16 +0000 (18:02 -0000)]
2008-05-22 Zoltan Varga <vargaz@gmail.com>
* inssel.brg (mini_emit_virtual_call): Avoid constructing a generic vtable if
possible.
svn path=/trunk/mono/; revision=103819
Atsushi Eno [Thu, 22 May 2008 18:00:43 +0000 (18:00 -0000)]
2008-05-22 Atsushi Enomoto <atsushi@ximian.com>
* XplatUIX11.cs : when we call WM_SETFOCUS, call X11Keyboard
FocusIn() too. This should fix the issue on switching
scim keyboards.
svn path=/trunk/mcs/; revision=103818
Atsushi Eno [Thu, 22 May 2008 17:20:09 +0000 (17:20 -0000)]
2008-05-22 Atsushi Enomoto <atsushi@ximian.com>
* X11Keyboard.cs : set XIM font size to somewhat reasonable
number (ideally the input textbox size, but that could be
too messy).
svn path=/trunk/mcs/; revision=103809
Zoltan Varga [Thu, 22 May 2008 15:49:50 +0000 (15:49 -0000)]
2008-05-22 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_magic_trampoline): Avoid calling setup_methods () in
the generic sharing code.
svn path=/trunk/mono/; revision=103797
Jonathan Pobst [Thu, 22 May 2008 14:55:31 +0000 (14:55 -0000)]
2008-05-22 Jonathan Pobst <monkey@jpobst.com>
* ToolStripTextBox.cs: List for the TextBox's TextChanged and fire
the ToolStripItem's TextChanged. [Fixes bug #393597]
svn path=/trunk/mcs/; revision=103786
Atsushi Eno [Thu, 22 May 2008 13:45:29 +0000 (13:45 -0000)]
2008-05-22 Atsushi Enomoto <atsushi@ximian.com>
* XslCompiledTransform.cs : in XmlWriterSettings, use
ConformanceLevel.Fragment to allow fragment output.
In Transform(string,string), use TextWriter output instead of
XmlWriter to control xml declaration output.
Fixed bug #391424.
* XslTransformTests.cs : added test for bug #391424.
* 391424.xml, 391424.xsl : new test files.
* Makefile : more simplification (and I forgot the syntax again :/)
svn path=/trunk/mcs/; revision=103783
Atsushi Eno [Thu, 22 May 2008 13:39:14 +0000 (13:39 -0000)]
2008-05-22 Atsushi Enomoto <atsushi@ximian.com>
* resolveUriSchema.xsd : forgot to add.
* Makefile : EXTRA_DISTFILES is becoming messy, so simplify it.
svn path=/trunk/mcs/; revision=103780
Marek Safar [Thu, 22 May 2008 11:21:20 +0000 (11:21 -0000)]
2008-05-22 Marek Safar <marek.safar@gmail.com>
* assign.cs (LocalTemporary): Implemented CreateExpressionTree.
svn path=/trunk/mcs/; revision=103775
Marek Safar [Thu, 22 May 2008 11:03:17 +0000 (11:03 -0000)]
2008-05-22 Marek Safar <marek.safar@gmail.com>
* Makefile.am: Distribute 2.0 profile specific files.
svn path=/trunk/mono/; revision=103771
Marek Safar [Thu, 22 May 2008 11:00:44 +0000 (11:00 -0000)]
Removed broken ifeq
svn path=/trunk/mcs/; revision=103770
Marek Safar [Thu, 22 May 2008 10:41:08 +0000 (10:41 -0000)]
eol:style
svn path=/trunk/mcs/; revision=103767
Atsushi Eno [Thu, 22 May 2008 10:08:31 +0000 (10:08 -0000)]
2008-05-22 Atsushi Enomoto <atsushi@ximian.com>
* XUtil.cs : refactoring Clone(). Support XAttribute too.
* XNode.cs, XElement.cs, XContainer.cs : when adding a node that is
already attached to another node, create a clone of it and add it
to the tree instead of adding argument node. Fixed bug #392063.
in XElement .ctor(XElement), copy attributes too.
* XElementTest.cs : added test for bug #392063 and some variants.
svn path=/trunk/mcs/; revision=103766
Zoltan Varga [Thu, 22 May 2008 09:45:09 +0000 (09:45 -0000)]
2008-05-22 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_magic_trampoline): Call mono_class_setup_methods ()
when needed.
svn path=/trunk/mono/; revision=103765
Zoltan Varga [Thu, 22 May 2008 09:44:36 +0000 (09:44 -0000)]
2008-05-22 Zoltan Varga <vargaz@gmail.com>
* loader.c (find_method_in_class): Use mono_class_get_method_by_index ().
* class.c (mono_class_get_method_by_index): New helper function, returning an
entry in the class->methods array.
svn path=/trunk/mono/; revision=103764
Atsushi Eno [Thu, 22 May 2008 07:29:51 +0000 (07:29 -0000)]
2008-05-22 Atsushi Enomoto <atsushi@ximian.com>
* XmlReader.cs : some Create() overloads with baseUri argument did
not set baseUri correctly. Fixed bug #392385.
* XmlReaderSettingsTests.cs : added test for bug #392385.
svn path=/trunk/mcs/; revision=103763
Carlos Alberto Cortez [Thu, 22 May 2008 05:42:40 +0000 (05:42 -0000)]
* TabControl.cs: When invalidating in SelectedIndex and we need to
inflate to take into account the border of the tabs, make sure that
the invalidated rect doesn't overflow the control bounds, since that
would avoid updating at all.
2008-05-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=103759