mono.git
17 years ago2006-09-04 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 4 Sep 2006 04:58:01 +0000 (04:58 -0000)]
2006-09-04  Miguel de Icaza  <miguel@novell.com>

* Temporarily remove the patch to assemly.c that checks the
assembly versions as it breaks our gacutil.

svn path=/trunk/mono/; revision=64842

17 years agoMove Atlas too
Miguel de Icaza [Mon, 4 Sep 2006 04:02:41 +0000 (04:02 -0000)]
Move Atlas too

svn path=/trunk/mcs/; revision=64839

17 years agoMove some more deprecated code
Miguel de Icaza [Mon, 4 Sep 2006 04:01:58 +0000 (04:01 -0000)]
Move some more deprecated code

svn path=/trunk/mcs/; revision=64838

17 years agoMove xamlc too
Miguel de Icaza [Mon, 4 Sep 2006 03:21:21 +0000 (03:21 -0000)]
Move xamlc too

svn path=/trunk/mcs/; revision=64834

17 years agoMove WindowsBase
Miguel de Icaza [Mon, 4 Sep 2006 03:19:06 +0000 (03:19 -0000)]
Move WindowsBase

svn path=/trunk/mcs/; revision=64832

17 years agoMove PresentationFramework
Miguel de Icaza [Mon, 4 Sep 2006 03:18:55 +0000 (03:18 -0000)]
Move PresentationFramework

svn path=/trunk/mcs/; revision=64831

17 years agoIn .:
Robert Jordan [Sun, 3 Sep 2006 19:19:22 +0000 (19:19 -0000)]
In .:
2006-09-03  Robert Jordan  <robertj@gmx.net>

* SessionSQLServerHandler.cs: persist and handle the "timeout" and
"expire" properties of the session. Fixes bug #78281.
Patch by Boris Dores <babal@via.ecp.fr>.

svn path=/trunk/mcs/; revision=64830

17 years ago2006-09-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 3 Sep 2006 17:58:34 +0000 (17:58 -0000)]
2006-09-03  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_plt_resolve): Add an assert.

svn path=/trunk/mono/; revision=64829

17 years ago2006-09-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 3 Sep 2006 17:19:38 +0000 (17:19 -0000)]
2006-09-03  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (mono_metadata_parse_mh_full): Fix an invalid free.

svn path=/trunk/mono/; revision=64828

17 years agoAnother one
Miguel de Icaza [Sun, 3 Sep 2006 16:25:37 +0000 (16:25 -0000)]
Another one

svn path=/trunk/mcs/; revision=64822

17 years agoMove to olive
Miguel de Icaza [Sun, 3 Sep 2006 16:14:18 +0000 (16:14 -0000)]
Move to olive

svn path=/trunk/mcs/; revision=64820

17 years agoMove to olive
Miguel de Icaza [Sun, 3 Sep 2006 15:55:31 +0000 (15:55 -0000)]
Move to olive

svn path=/trunk/mcs/; revision=64817

17 years agoMove to olive
Miguel de Icaza [Sun, 3 Sep 2006 15:55:24 +0000 (15:55 -0000)]
Move to olive

svn path=/trunk/mcs/; revision=64816

17 years agoMove to olive
Miguel de Icaza [Sun, 3 Sep 2006 15:55:14 +0000 (15:55 -0000)]
Move to olive

svn path=/trunk/mcs/; revision=64815

17 years agoMove
Miguel de Icaza [Sun, 3 Sep 2006 15:53:52 +0000 (15:53 -0000)]
Move

svn path=/trunk/mcs/; revision=64813

17 years agofixed controltocompare attribute
Igor Zelmanovich [Sun, 3 Sep 2006 15:50:43 +0000 (15:50 -0000)]
fixed controltocompare attribute

svn path=/trunk/mcs/; revision=64809

17 years agoinstance can be serialized
Igor Zelmanovich [Sun, 3 Sep 2006 14:17:44 +0000 (14:17 -0000)]
instance can be serialized

svn path=/trunk/mcs/; revision=64802

17 years ago2006-09-03 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-03 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-03 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-03 Zoltan Varga <vargaz@gmail.com>
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

17 years agoAdded NET_2_0 solution and project files.
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

17 years agoAdded implementation of System.Web.UI/TemplateInstanceAttribute
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

17 years agofixed: when login attempt was not successful FailureText is shown.
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

17 years agofixed GetUser, when username is String.Empty method returns null.
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

17 years agoprefer using newly created driver instance for opening a connection
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

17 years ago2006-09-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

17 years ago2006-09-02 Marek Sieradzki <marek.sieradzki@gmail.com>
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

17 years ago2006-09-02 Marek Sieradzki <marek.sieradzki@gmail.com>
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

17 years ago2006-09-02 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-02 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-02 Zoltan Varga <vargaz@gmail.com>
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

17 years ago * ListBox.cs: If the items are cleared with Items.Clear set
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

17 years ago2006-09-02 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-02 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-02 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-02 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-02 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-02 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-02 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-02 Alexander Olk <alex.olk@googlemail.com>
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

17 years ago * MonthCalendar.cs: Handle arrow keys as input keys. Also
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

17 years ago2006-09-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

17 years agoPatch #97.
Martin Baulig [Sat, 2 Sep 2006 02:52:04 +0000 (02:52 -0000)]
Patch #97.

svn path=/trunk/mcs/; revision=64749

17 years agoPatch #96.
Martin Baulig [Sat, 2 Sep 2006 02:38:20 +0000 (02:38 -0000)]
Patch #96.

svn path=/trunk/mcs/; revision=64748

17 years ago2006-09-01 Chris Toshok <toshok@ximian.com>
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

17 years ago2006-09-01 Peter Dennis Bartok <pbartok@novell.com>
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

17 years ago2006-09-01 Mike Kestner <mkestner@novell.com>
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

17 years ago2006-09-01 Chris Toshok <toshok@ximian.com>
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

17 years ago2006-09-01 Miguel de Icaza <miguel@novell.com>
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

17 years agoInitial work on System.Workflow.Runtime
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

17 years agoInitial work on System.Workflow.Activities
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

17 years agoInitial work on System.Workflow.ComponentModel
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

17 years agoMicrosoft public key to be used for strongnaming assemblies
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

17 years agoPatch #94.
Martin Baulig [Fri, 1 Sep 2006 19:39:28 +0000 (19:39 -0000)]
Patch #94.

svn path=/trunk/mcs/; revision=64737

17 years ago* TestBitmap.cs: A few more, well behaved, test cases for LockBits
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

17 years agoPatch #93.
Martin Baulig [Fri, 1 Sep 2006 19:28:55 +0000 (19:28 -0000)]
Patch #93.

svn path=/trunk/mcs/; revision=64735

17 years agoPatch #92.
Martin Baulig [Fri, 1 Sep 2006 19:13:27 +0000 (19:13 -0000)]
Patch #92.

svn path=/trunk/mcs/; revision=64734

17 years agoPatch #91.
Martin Baulig [Fri, 1 Sep 2006 18:41:16 +0000 (18:41 -0000)]
Patch #91.

svn path=/trunk/mcs/; revision=64733

17 years agoPatch #90.
Martin Baulig [Fri, 1 Sep 2006 18:31:44 +0000 (18:31 -0000)]
Patch #90.

svn path=/trunk/mcs/; revision=64732

17 years ago2006-09-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago * GroupBox.cs: Instead of drawing over the lines of the
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

17 years ago2006-09-01 Martin Baulig <martin@ximian.com>
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

17 years ago2006-09-01 Martin Baulig <martin@ximian.com>
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

17 years ago2006-09-01 Martin Baulig <martin@ximian.com>
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

17 years ago2006-09-01 Martin Baulig <martin@ximian.com>
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

17 years ago * TreeView.cs: Bounding box for the mouse movement reverting
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

17 years ago2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
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

17 years ago * Splitter.cs: Don't do anything if there is no control to
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

17 years ago2006-09-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
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

17 years agoMakefile: Add new almogaver32bits.tif file to EXTRA_DISTFILES
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

17 years ago2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago2006-09-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-01 Alexander Olk <alex.olk@googlemail.com>
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

17 years ago* TypeTest.cs (GenericByRef): New. Inspired by #79238.
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

17 years agoSystem.Drawing_test.dll.sources: Added unit tests for GIF, ICON, PNG and TIFF codecs.
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

17 years agoA few more cases of avoiding work on types with ->byref set.
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

17 years ago2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
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

17 years agoadd a TIFF bitmap for codec tests
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

17 years ago* MonoMethod.cs (ToString): Update to handle change in byref type names.
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

17 years agoAdd hint about running unit tests and individual fixtures in there.
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

17 years agoRe-enable TypeTest.
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

17 years ago2006-09-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-01 Zoltan Varga <vargaz@gmail.com>
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

17 years agoFix #79238
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

17 years ago2006-09-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
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

17 years ago2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
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

17 years ago2006-09-01 Atsushi Enomoto <atsushi@ximian.com>
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

17 years agofix the mess with redirection. write the correct pid
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

17 years agoUpdate
Miguel de Icaza [Fri, 1 Sep 2006 04:17:36 +0000 (04:17 -0000)]
Update

svn path=/trunk/mono/; revision=64672