Miguel de Icaza [Sun, 3 Sep 2006 16:25:37 +0000 (16:25 -0000)]
Another one
svn path=/trunk/mcs/; revision=64822
Miguel de Icaza [Sun, 3 Sep 2006 16:14:18 +0000 (16:14 -0000)]
Move to olive
svn path=/trunk/mcs/; revision=64820
Miguel de Icaza [Sun, 3 Sep 2006 15:55:31 +0000 (15:55 -0000)]
Move to olive
svn path=/trunk/mcs/; revision=64817
Miguel de Icaza [Sun, 3 Sep 2006 15:55:24 +0000 (15:55 -0000)]
Move to olive
svn path=/trunk/mcs/; revision=64816
Miguel de Icaza [Sun, 3 Sep 2006 15:55:14 +0000 (15:55 -0000)]
Move to olive
svn path=/trunk/mcs/; revision=64815
Miguel de Icaza [Sun, 3 Sep 2006 15:53:52 +0000 (15:53 -0000)]
Move
svn path=/trunk/mcs/; revision=64813
Igor Zelmanovich [Sun, 3 Sep 2006 15:50:43 +0000 (15:50 -0000)]
fixed controltocompare attribute
svn path=/trunk/mcs/; revision=64809
Igor Zelmanovich [Sun, 3 Sep 2006 14:17:44 +0000 (14:17 -0000)]
instance can be serialized
svn path=/trunk/mcs/; revision=64802
Zoltan Varga [Sun, 3 Sep 2006 13:47:39 +0000 (13:47 -0000)]
2006-09-03 Zoltan Varga <vargaz@gmail.com>
* assembly.c (mono_assembly_load_from_full): Avoid loading net 2.0 assemblies into
a net 1.0 runtime.
svn path=/trunk/mono/; revision=64801
Zoltan Varga [Sun, 3 Sep 2006 12:48:54 +0000 (12:48 -0000)]
2006-09-03 Zoltan Varga <vargaz@gmail.com>
* StringBuilder.cs (.ctor): Add a comment.
svn path=/trunk/mcs/; revision=64800
Zoltan Varga [Sun, 3 Sep 2006 12:47:14 +0000 (12:47 -0000)]
2006-09-03 Zoltan Varga <vargaz@gmail.com>
* pinvoke2.cs libtest.c: Add test for marshalling of StringBuilders created with
the default ctor.
svn path=/trunk/mono/; revision=64799
Zoltan Varga [Sun, 3 Sep 2006 12:46:26 +0000 (12:46 -0000)]
2006-09-03 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_string_builder_to_utf8): Fix marshalling of StringBuilders
created using the default ctor. Fixes #79152.
(mono_string_builder_to_utf16): Ditto.
svn path=/trunk/mono/; revision=64798
Boris Kirzner [Sun, 3 Sep 2006 12:14:16 +0000 (12:14 -0000)]
Added NET_2_0 solution and project files.
svn path=/trunk/mcs/; revision=64797
Konstantin Triger [Sun, 3 Sep 2006 11:43:49 +0000 (11:43 -0000)]
Added implementation of System.Web.UI/TemplateInstanceAttribute
svn path=/trunk/mcs/; revision=64796
Igor Zelmanovich [Sun, 3 Sep 2006 09:24:35 +0000 (09:24 -0000)]
fixed: when login attempt was not successful FailureText is shown.
svn path=/trunk/mcs/; revision=64793
Igor Zelmanovich [Sun, 3 Sep 2006 09:18:13 +0000 (09:18 -0000)]
fixed GetUser, when username is String.Empty method returns null.
svn path=/trunk/mcs/; revision=64792
Konstantin Triger [Sun, 3 Sep 2006 06:48:07 +0000 (06:48 -0000)]
prefer using newly created driver instance for opening a connection
svn path=/trunk/mcs/; revision=64790
Carlos Alberto Cortez [Sat, 2 Sep 2006 18:23:46 +0000 (18:23 -0000)]
2006-09-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MonthCalendar.cs: When Font changes, the Size should be
updated to fit the new font's space requirements.
svn path=/trunk/mcs/; revision=64774
Marek Sieradzki [Sat, 2 Sep 2006 14:40:24 +0000 (14:40 -0000)]
2006-09-02 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildEventArgsTest.cs: Small fix for TimeStamp check.
svn path=/trunk/mcs/; revision=64772
Marek Sieradzki [Sat, 2 Sep 2006 14:35:47 +0000 (14:35 -0000)]
2006-09-02 Marek Sieradzki <marek.sieradzki@gmail.com>
* TaskItemTest.cs: Fixed TestCloneCustomMetadata ().
svn path=/trunk/mcs/; revision=64771
Zoltan Varga [Sat, 2 Sep 2006 12:50:39 +0000 (12:50 -0000)]
2006-09-02 Zoltan Varga <vargaz@gmail.com>
* Enum.cs (Equals): Use the generic Equals implementation from ValueType which
is faster and avoids allocations.
svn path=/trunk/mcs/; revision=64768
Zoltan Varga [Sat, 2 Sep 2006 12:48:28 +0000 (12:48 -0000)]
2006-09-02 Zoltan Varga <vargaz@gmail.com>
* BinaryReader.cs (Read): Avoid allocating memory when reading a char.
svn path=/trunk/mcs/; revision=64767
Zoltan Varga [Sat, 2 Sep 2006 11:34:01 +0000 (11:34 -0000)]
2006-09-02 Zoltan Varga <vargaz@gmail.com>
* tramp-x86.c (mono_arch_create_specific_trampoline): Don't increase
stats.method_trampolines, it is already done by the generic trampoline code.
* tramp-amd64.c (mono_arch_create_specific_trampoline): Ditto.
svn path=/trunk/mono/; revision=64765
Alexander Olk [Sat, 2 Sep 2006 10:43:03 +0000 (10:43 -0000)]
* ListBox.cs: If the items are cleared with Items.Clear set
top_index to 0.
svn path=/trunk/mcs/; revision=64764
Zoltan Varga [Sat, 2 Sep 2006 10:25:47 +0000 (10:25 -0000)]
2006-09-02 Zoltan Varga <vargaz@gmail.com>
* MethodInfoTest.cs: Add a test for the ReturnParameter property.
svn path=/trunk/mcs/; revision=64763
Zoltan Varga [Sat, 2 Sep 2006 10:22:28 +0000 (10:22 -0000)]
2006-09-02 Zoltan Varga <vargaz@gmail.com>
* ParameterInfo.cs MethodInfo.cs MonoMethod.cs: Applied patch from
Peter Dettman (peter.dettman@iinet.net.au). Implement ReturnParameter
property.
svn path=/trunk/mcs/; revision=64762
Zoltan Varga [Sat, 2 Sep 2006 09:51:15 +0000 (09:51 -0000)]
2006-09-02 Zoltan Varga <vargaz@gmail.com>
* Binder.cs (ReorderParameters): Really fix this.
svn path=/trunk/mcs/; revision=64761
Zoltan Varga [Sat, 2 Sep 2006 09:31:38 +0000 (09:31 -0000)]
2006-09-02 Zoltan Varga <vargaz@gmail.com>
* Binder.cs (ReorderParameters): Fix this method. Fixes #79120.
svn path=/trunk/mcs/; revision=64760
Zoltan Varga [Sat, 2 Sep 2006 09:26:44 +0000 (09:26 -0000)]
2006-09-02 Zoltan Varga <vargaz@gmail.com>
* DynamicMethod.cs: Fix a warning.
svn path=/trunk/mcs/; revision=64759
Zoltan Varga [Sat, 2 Sep 2006 09:24:58 +0000 (09:24 -0000)]
2006-09-02 Zoltan Varga <vargaz@gmail.com>
* TypeBuilderTest.cs: Add a test for #79249.
svn path=/trunk/mcs/; revision=64758
Zoltan Varga [Sat, 2 Sep 2006 09:22:29 +0000 (09:22 -0000)]
2006-09-02 Zoltan Varga <vargaz@gmail.com>
* TypeBuilder.cs: Allow static methods on interfaces. Fixes #79249.
svn path=/trunk/mcs/; revision=64757
Alexander Olk [Sat, 2 Sep 2006 08:57:43 +0000 (08:57 -0000)]
2006-09-02 Alexander Olk <alex.olk@googlemail.com>
* ListBox.cs: Don't unselect an item if the selection ArrayList
is empty. This prevents a crash when the collection was cleared
before calling SelectedIndex.
svn path=/trunk/mcs/; revision=64756
Carlos Alberto Cortez [Sat, 2 Sep 2006 05:27:25 +0000 (05:27 -0000)]
* MonthCalendar.cs: Handle arrow keys as input keys. Also
fire DateChanged event instead of DateSelected event when
the date was changed by keyboard interaction.
2006-09-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=64755
Carlos Alberto Cortez [Sat, 2 Sep 2006 05:23:47 +0000 (05:23 -0000)]
2006-09-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* DateTimePicker.cs: Handle DateChanged for the associated
month_calendar control, and set month_calendar.Font from
OnFontChanged method, as well as resize the height of the
control when needed. Make PreferredHeight proportional.
svn path=/trunk/mcs/; revision=64754
Martin Baulig [Sat, 2 Sep 2006 02:52:04 +0000 (02:52 -0000)]
Patch #97.
svn path=/trunk/mcs/; revision=64749
Martin Baulig [Sat, 2 Sep 2006 02:38:20 +0000 (02:38 -0000)]
Patch #96.
svn path=/trunk/mcs/; revision=64748
Chris Toshok [Fri, 1 Sep 2006 21:17:35 +0000 (21:17 -0000)]
2006-09-01 Chris Toshok <toshok@ximian.com>
* DataGrid.cs: grr, stop overthinking the DataMember/DataSource
properties.
* BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
svn path=/trunk/mcs/; revision=64746
Peter Dennis Bartok [Fri, 1 Sep 2006 21:05:18 +0000 (21:05 -0000)]
2006-09-01 Peter Dennis Bartok <pbartok@novell.com>
* FileDialog.cs: Set ClientSize instead of window size, to allow space
for decorations (Fixes #79219)
svn path=/trunk/mcs/; revision=64745
Mike Kestner [Fri, 1 Sep 2006 20:54:35 +0000 (20:54 -0000)]
2006-09-01 Mike Kestner <mkestner@novell.com>
* ComboBox.cs: first stab at sorting plus some selection handling
fixes to bring us more in line with MS behavior. Also switches back
to index based selection. Alternative patches for index-based
selection were provided by Jackson Harper, Carlos Alberto Cortez,
and latency@gmx.de on bug 78848. I assume they were similar to this
code I've had simmering in my tree forever.
[Fixes #78848]
svn path=/trunk/mcs/; revision=64744
Chris Toshok [Fri, 1 Sep 2006 20:48:45 +0000 (20:48 -0000)]
2006-09-01 Chris Toshok <toshok@ximian.com>
* CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
when setting list position guard against ending up with a -1 index
(the other part of the fix for #78812). Should probably make sure
we don't need the analogous fix in the ItemDeleted case.
* DataGrid.cs:
- in SetDataSource, work around the fact that the way
OnBindingContextChanged is invoked will cause us to re-enter this
method. I'll remove the hack once I investigate
OnBindingContextChanged.
- fix the logic in set_DataSource and set_DataMember (basically
what to do if the other of the two is null.)
- in OnListManagerItemChanged, we need to take into account the
edit row when deciding whether or not to call RecreateDataGridRows
(part of the fix for #78812).
svn path=/trunk/mcs/; revision=64743
Miguel de Icaza [Fri, 1 Sep 2006 20:30:40 +0000 (20:30 -0000)]
2006-09-01 Miguel de Icaza <miguel@novell.com>
* src/gmarkup.c (g_markup_parse_context_parse): Add text parsing
support, and end-element support; not tested yet.
svn path=/trunk/mono/; revision=64742
Jordi Mas i Hernandez [Fri, 1 Sep 2006 19:58:48 +0000 (19:58 -0000)]
Initial work on System.Workflow.Runtime
svn path=/trunk/mcs/; revision=64741
Jordi Mas i Hernandez [Fri, 1 Sep 2006 19:53:01 +0000 (19:53 -0000)]
Initial work on System.Workflow.Activities
svn path=/trunk/mcs/; revision=64740
Jordi Mas i Hernandez [Fri, 1 Sep 2006 19:48:37 +0000 (19:48 -0000)]
Initial work on System.Workflow.ComponentModel
svn path=/trunk/mcs/; revision=64739
Jordi Mas i Hernandez [Fri, 1 Sep 2006 19:46:07 +0000 (19:46 -0000)]
Microsoft public key to be used for strongnaming assemblies
svn path=/trunk/mcs/; revision=64738
Martin Baulig [Fri, 1 Sep 2006 19:39:28 +0000 (19:39 -0000)]
Patch #94.
svn path=/trunk/mcs/; revision=64737
Sebastien Pouliot [Fri, 1 Sep 2006 19:32:48 +0000 (19:32 -0000)]
* TestBitmap.cs: A few more, well behaved, test cases for LockBits
svn path=/trunk/mcs/; revision=64736
Martin Baulig [Fri, 1 Sep 2006 19:28:55 +0000 (19:28 -0000)]
Patch #93.
svn path=/trunk/mcs/; revision=64735
Martin Baulig [Fri, 1 Sep 2006 19:13:27 +0000 (19:13 -0000)]
Patch #92.
svn path=/trunk/mcs/; revision=64734
Martin Baulig [Fri, 1 Sep 2006 18:41:16 +0000 (18:41 -0000)]
Patch #91.
svn path=/trunk/mcs/; revision=64733
Martin Baulig [Fri, 1 Sep 2006 18:31:44 +0000 (18:31 -0000)]
Patch #90.
svn path=/trunk/mcs/; revision=64732
Zoltan Varga [Fri, 1 Sep 2006 17:46:30 +0000 (17:46 -0000)]
2006-09-01 Zoltan Varga <vargaz@gmail.com>
* mini.c: Remove some references to mono_compile_aot, and use cfg->compile_aot instead.
* aot-runtime.c: Add some tweaks to the MONO_AOT_CACHE functionality.
svn path=/trunk/mono/; revision=64729
Jackson Harper [Fri, 1 Sep 2006 17:40:05 +0000 (17:40 -0000)]
* GroupBox.cs: Instead of drawing over the lines of the
* groupbox,
use clipping so they are not drawn. This fixes when the control
is set to have a transparent background, or if it was over an
image.
svn path=/trunk/mcs/; revision=64728
Martin Baulig [Fri, 1 Sep 2006 16:52:58 +0000 (16:52 -0000)]
2006-09-01 Martin Baulig <martin@ximian.com>
* gtest-284.cs: New big test for the generic array interfaces.
svn path=/trunk/mcs/; revision=64727
Martin Baulig [Fri, 1 Sep 2006 16:52:08 +0000 (16:52 -0000)]
2006-09-01 Martin Baulig <martin@ximian.com>
* generic.cs
(TypeManager.IsIList): Also handle base classes and interfaces.
svn path=/trunk/mcs/; revision=64726
Martin Baulig [Fri, 1 Sep 2006 16:50:29 +0000 (16:50 -0000)]
2006-09-01 Martin Baulig <martin@ximian.com>
* Array.cs (Array.InternalArray): Removed the helper class;
instead we use private generic methods in System.Array which are
inserted into the vtable at runtime.
svn path=/trunk/mcs/; revision=64725
Martin Baulig [Fri, 1 Sep 2006 16:49:15 +0000 (16:49 -0000)]
2006-09-01 Martin Baulig <martin@ximian.com>
Fix handling of the generic array interfaces.
* class-internals.h
(MonoDefaults): Removed `generic_array_class' and added
`generic_ilist' class.
* class.c
(mono_bounded_array_class_get): Add the new generic array interfaces.
(setup_generic_array_ifaces): New static method; create vtable
entries for each method in the generic array interfaces.
* metadata.c
(select_container): Allow "parent-less" generic methods.
* marshal.c
(mono_marshal_get_generic_array_helper): New public method.
* icall.c
(ves_icall_System_Array_InternalArray_GetGenericValueImpl):
Renamed into ves_icall_System_Array_GetGenericValueImpl() and
moved the interncall into System.Array.
svn path=/trunk/mono/; revision=64724
Jackson Harper [Fri, 1 Sep 2006 16:44:55 +0000 (16:44 -0000)]
* TreeView.cs: Bounding box for the mouse movement reverting
focus/selection back to previously selected node. This matches
MS, and makes the tree a lot more useable.
svn path=/trunk/mcs/; revision=64723
Atsushi Eno [Fri, 1 Sep 2006 16:31:06 +0000 (16:31 -0000)]
2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorReader.cs : MoveToFirstAttribute() should return
true when current node is an attribute (including namespace node).
* XPathNavigatorReaderTests.cs : added test for MoveToFirstAttribute()
which is called from several current nodes.
svn path=/trunk/mcs/; revision=64720
Jackson Harper [Fri, 1 Sep 2006 15:54:58 +0000 (15:54 -0000)]
* Splitter.cs: Don't do anything if there is no control to
* affect
(prevents us from crashing in weird tet cases).
svn path=/trunk/mcs/; revision=64715
Zoltan Varga [Fri, 1 Sep 2006 15:52:52 +0000 (15:52 -0000)]
2006-09-01 Zoltan Varga <vargaz@gmail.com>
* critical-sections.h critical-sections.c: Make Enter/LeaveCriticalSection a macro
since they are perf critical.
svn path=/trunk/mono/; revision=64714
Sebastien Pouliot [Fri, 1 Sep 2006 15:41:16 +0000 (15:41 -0000)]
2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
* Bitmap.cs: Fix exceptions for LockBits.
svn path=/trunk/mcs/; revision=64713
Sebastien Pouliot [Fri, 1 Sep 2006 15:39:56 +0000 (15:39 -0000)]
2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
* TestBitmap.cs: Add more test cases for LockBits which, on Mono,
seems to work only when the destination format is 32 bits.
svn path=/trunk/mcs/; revision=64712
Sebastien Pouliot [Fri, 1 Sep 2006 15:20:19 +0000 (15:20 -0000)]
Makefile: Add new almogaver32bits.tif file to EXTRA_DISTFILES
svn path=/trunk/mcs/; revision=64711
Sebastien Pouliot [Fri, 1 Sep 2006 15:17:06 +0000 (15:17 -0000)]
2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
* BitmapData.cs: Invert left and top fields to be in sync with gdip.h
svn path=/trunk/mcs/; revision=64710
Zoltan Varga [Fri, 1 Sep 2006 15:00:13 +0000 (15:00 -0000)]
2006-09-01 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_create_specific_trampoline): Fix a FIXME.
svn path=/trunk/mono/; revision=64709
Alexander Olk [Fri, 1 Sep 2006 13:48:45 +0000 (13:48 -0000)]
2006-09-01 Alexander Olk <alex.olk@googlemail.com>
* MimeIcon.cs: Improved handling for reading default icons when
using gnome (2.16 made it necessary). Check and read svg icons
first, then 48x48 and then 32x32 icons.
svn path=/trunk/mcs/; revision=64708
Raja R Harinath [Fri, 1 Sep 2006 13:33:10 +0000 (13:33 -0000)]
* TypeTest.cs (GenericByRef): New. Inspired by #79238.
svn path=/trunk/mcs/; revision=64707
Sebastien Pouliot [Fri, 1 Sep 2006 13:31:38 +0000 (13:31 -0000)]
System.Drawing_test.dll.sources: Added unit tests for GIF, ICON, PNG and TIFF codecs.
svn path=/trunk/mcs/; revision=64706
Raja R Harinath [Fri, 1 Sep 2006 13:31:09 +0000 (13:31 -0000)]
A few more cases of avoiding work on types with ->byref set.
Has the real fix for #79238
* icall.c (is_generic_parameter): New helper.
(ves_icall_Type_GetGenericParameterPosition): Use it.
(ves_icall_Type_GetGenericParameterAttributes): Likewise.
(ves_icall_MonoType_get_IsGenericParameter): Likewise.
(ves_icall_TypeBuilder_get_IsGenericParameter): Likewise.
(ves_icall_Type_GetGenericTypeDefinition_impl): Return NULL on
reference types.
(ves_icall_Type_get_IsGenericTypeDefinition): Return FALSE on
reference types.
(ves_icall_Type_get_IsGenericInstance): Likewise.
(ves_icall_Type_get_IsGenericType): Likewise.
svn path=/trunk/mono/; revision=64705
Sebastien Pouliot [Fri, 1 Sep 2006 13:30:24 +0000 (13:30 -0000)]
2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
* GifCodecTest.cs: New. Unit tests for GIF codec.
* IconCodecTest.cs: New. Unit tests for ICON codec (not working).
* PngCodecTest.cs: New. Unit tests for PNG codec.
* TiffCodecTest.cs: New. Unit tests for TIFF codec.
svn path=/trunk/mcs/; revision=64704
Sebastien Pouliot [Fri, 1 Sep 2006 13:27:59 +0000 (13:27 -0000)]
add a TIFF bitmap for codec tests
svn path=/trunk/mcs/; revision=64703
Raja R Harinath [Fri, 1 Sep 2006 13:25:13 +0000 (13:25 -0000)]
* MonoMethod.cs (ToString): Update to handle change in byref type names.
svn path=/trunk/mcs/; revision=64702
Raja R Harinath [Fri, 1 Sep 2006 12:56:44 +0000 (12:56 -0000)]
Add hint about running unit tests and individual fixtures in there.
svn path=/trunk/mcs/; revision=64701
Raja R Harinath [Fri, 1 Sep 2006 12:47:29 +0000 (12:47 -0000)]
Re-enable TypeTest.
* TypeTest.cs (TypeTest): Remove explicit constructor that
disabled the default empty constructor.
(Name): Use Assert.AreEqual.
(ByrefTypes): Use a nested type rather than TypeTest.
(InvokeMemberMatchPrimitiveTypeWithInterface): Likewise.
(Bug79023): Disable.
svn path=/trunk/mcs/; revision=64700
Zoltan Varga [Fri, 1 Sep 2006 12:38:43 +0000 (12:38 -0000)]
2006-09-01 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_setup_vtable_general): Share identical vtables with the parent
class if possible.
svn path=/trunk/mono/; revision=64699
Zoltan Varga [Fri, 1 Sep 2006 11:32:16 +0000 (11:32 -0000)]
2006-09-01 Zoltan Varga <vargaz@gmail.com>
* mini.c (print_jit_stats): Print mscorlib mempool size too.
svn path=/trunk/mono/; revision=64696
Zoltan Varga [Fri, 1 Sep 2006 11:31:14 +0000 (11:31 -0000)]
2006-09-01 Zoltan Varga <vargaz@gmail.com>
* mempool.h (mono_mempool_get_allocated): New helper function.
svn path=/trunk/mono/; revision=64695
Zoltan Varga [Fri, 1 Sep 2006 11:22:39 +0000 (11:22 -0000)]
2006-09-01 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_class_create_runtime_vtable): Fix problem introduced by last
change.
svn path=/trunk/mono/; revision=64694
Zoltan Varga [Fri, 1 Sep 2006 11:17:45 +0000 (11:17 -0000)]
2006-09-01 Zoltan Varga <vargaz@gmail.com>
* mempool.c: Fix warnings and the calculation of stats.
svn path=/trunk/mono/; revision=64692
Zoltan Varga [Fri, 1 Sep 2006 10:51:46 +0000 (10:51 -0000)]
2006-09-01 Zoltan Varga <vargaz@gmail.com>
* mini.c (print_jit_stats): Print new stats.
svn path=/trunk/mono/; revision=64683
Zoltan Varga [Fri, 1 Sep 2006 10:51:21 +0000 (10:51 -0000)]
2006-09-01 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_class_create_runtime_vtable): Fix the AOT optimization.
* class.c (mono_class_setup_vtable): Update generic_vtable_count stat.
* loader.c (mono_get_method_from_token): Update method_count stat.
* class-internals.h (MonoStats): Add some stats.
svn path=/trunk/mono/; revision=64682
Raja R Harinath [Fri, 1 Sep 2006 10:49:08 +0000 (10:49 -0000)]
Fix #79238
* gmcs/expression.cs (Invocation.MoreSpecific): Check for reference
types earlier.
* tests/gtest-283.cs: New test from #79238.
svn path=/trunk/mcs/; revision=64681
Zoltan Varga [Fri, 1 Sep 2006 09:51:38 +0000 (09:51 -0000)]
2006-09-01 Zoltan Varga <vargaz@gmail.com>
* *-alpha.c: More alpha port work from Sergey Tikhonov <tsv@solvo.ru>.
svn path=/trunk/mono/; revision=64680
Zoltan Varga [Fri, 1 Sep 2006 09:50:44 +0000 (09:50 -0000)]
2006-09-01 Zoltan Varga <vargaz@gmail.com>
* atomic.h: Applied patch from Jakub Boqusz <qboosh@pld-linux.org>.
Add atomic ops implementation for alpha.
svn path=/trunk/mono/; revision=64679
Zoltan Varga [Fri, 1 Sep 2006 09:50:08 +0000 (09:50 -0000)]
2006-09-01 Zoltan Varga <vargaz@gmail.com>
* configure.in: More alpha updates from Sergey Tikhonov <tsv@solvo.ru>.
svn path=/trunk/mono/; revision=64678
Atsushi Eno [Fri, 1 Sep 2006 05:21:48 +0000 (05:21 -0000)]
2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
* XmlTextWriter2.cs : expect atomized names only when it is
appropriate. Fixed bug #79047.
* XmlTextWriterTests.cs : added test for bug #79047
svn path=/trunk/mcs/; revision=64676
Atsushi Eno [Fri, 1 Sep 2006 05:02:26 +0000 (05:02 -0000)]
2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
* gutf8.c : bad allocation size. multiply sizeof
gchar/gunichar2.
svn path=/trunk/mono/; revision=64675
Atsushi Eno [Fri, 1 Sep 2006 04:48:03 +0000 (04:48 -0000)]
2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
* gutf8.c : when error is null, utf8_to_utf16_len() and
utf16_to_utf8_len() could return -1, so return NULL for those
cases in g_utf8_to_utf16() and g_utf16_to_utf8().
svn path=/trunk/mono/; revision=64674
Gonzalo Paniagua Javier [Fri, 1 Sep 2006 04:37:15 +0000 (04:37 -0000)]
fix the mess with redirection. write the correct pid
svn path=/trunk/mono/; revision=64673
Miguel de Icaza [Fri, 1 Sep 2006 04:17:36 +0000 (04:17 -0000)]
Update
svn path=/trunk/mono/; revision=64672
Miguel de Icaza [Fri, 1 Sep 2006 04:16:31 +0000 (04:16 -0000)]
2006-09-01 Miguel de Icaza <miguel@novell.com>
* src/gmarkup.c: Builds and does minimal parsing.
* test/markup.c: Sample test cases I have been using.
svn path=/trunk/mono/; revision=64671
Chris Toshok [Thu, 31 Aug 2006 22:11:53 +0000 (22:11 -0000)]
* DataGridTextBoxColumn.cs: only hide the textbox if it's still
visible.
* DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
ProcessKeyPreview. Fixes part of #77806.
* DataGrid.cs: big patch.
- revert the queueing up of DataSource/DataMember if inside
BeginInit/EndInit calls. That's not the way the datagrid achieves
its delayed databinding. Instead, call SetDataSource in
OnBindingContextChanged. This mimic's MS's behavior, and fixes
#78811.
- Also, it wasn't mentioned in #78811, but the test case exhibits
behavior that was lacking in our datagrid implementation - Columns
that have mapping names that don't exist in the datasource's
properties aren't shown. Yuck. To fix this I added the bound
field to the column style, and basically any calculation to figure
out anything about columns uses a loop to find the bound columns.
still need to investigate if I can cache an array of the bound
columns or if the indices must be the same.
- When setting CurrentCell, we no longer abort if the cell being
edited was in the add row. This fixes the other part of #77806.
- The new code also fixes #78807.
* ThemeWin32Classic.cs: perpetrate the same disgusting
column.bound field hack, and only render bound fields.
2006-08-31 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=64668
Atsushi Eno [Thu, 31 Aug 2006 20:35:20 +0000 (20:35 -0000)]
2006-08-31 Atsushi Enomoto <atsushi@ximian.com>
* src/gerror.h,
src/gerror.c : added g_set_error().
* src/gutf8.c :
g_utf8_to_utf16() and g_utf16_to_utf8() implementation.
* src/glib.h : added all above, and some dependent bits.
* src/Makefile.am : added gutf8.c.
* TODO: removed above.
* test/Makefile.am,
test/tests.h : added utf8 tests.
* test/utf8.c : test for g_utf8_to_utf16 and g_utf16_to_utf8.
It still needs more tests e.g. for multibytes.
svn path=/trunk/mono/; revision=64667
Chris Toshok [Thu, 31 Aug 2006 20:28:17 +0000 (20:28 -0000)]
2006-08-31 Chris Toshok <toshok@ximian.com>
* DataGridColumnStyle.cs: add bound field. this field is true if
the datasource has a property corresponding to the mapping name.
* DataGridTableStyle.cs: set the bound field on the column styles
depending on whether or not we have a column for that property.
svn path=/trunk/mcs/; revision=64666
Geoff Norton [Thu, 31 Aug 2006 20:16:51 +0000 (20:16 -0000)]
2006-08-31 Geoff Norton <gnorton@customerdna.com>
* macpack.1: Fix a typo for the -appname option.
svn path=/trunk/mono/; revision=64665
Peter Dennis Bartok [Thu, 31 Aug 2006 20:15:59 +0000 (20:15 -0000)]
2006-08-31 Peter Dennis Bartok <pbartok@novell.com>
* Splitter.cs (SetBoundsCore): Don't ignore width/height of the
splitter control (fixes #79228)
svn path=/trunk/mcs/; revision=64664
Chris Toshok [Thu, 31 Aug 2006 20:10:53 +0000 (20:10 -0000)]
2006-08-31 Chris Toshok <toshok@ximian.com>
* DataGridColumnStyle.cs: we need to delay the assignment of
property descriptor until the last possible moment due to the lazy
databinding stuff in the datagrid. Also, fix the exceptions
thrown by CheckValidDataSource to match MS.
svn path=/trunk/mcs/; revision=64663
Chris Toshok [Thu, 31 Aug 2006 20:06:05 +0000 (20:06 -0000)]
add a couple of datagridcolumnstyle tests
svn path=/trunk/mcs/; revision=64662
Robert Jordan [Thu, 31 Aug 2006 19:59:54 +0000 (19:59 -0000)]
2006-08-31 Robert Jordan <robertj@gmx.net>
* icall.c: Replace the PtrToStringAuto, StringToHGlobalAuto icalls
with managed variants.
All code is contributed under the MIT/X11 license.
svn path=/trunk/mono/; revision=64661