mono.git
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

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

17 years ago * DataGridTextBoxColumn.cs: only hide the textbox if it's still
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

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

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

17 years ago2006-08-31 Geoff Norton <gnorton@customerdna.com>
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

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

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

17 years agoadd a couple of datagridcolumnstyle tests
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

17 years ago2006-08-31 Robert Jordan <robertj@gmx.net>
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

17 years ago2006-08-31 Robert Jordan <robertj@gmx.net>
Robert Jordan [Thu, 31 Aug 2006 19:57:17 +0000 (19:57 -0000)]
2006-08-31 Robert Jordan  <robertj@gmx.net>

* MarshalTest.cs: Added tests for PtrToStringAuto/StringToHGlobalAuto.

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

17 years ago2006-08-31 Robert Jordan <robertj@gmx.net>
Robert Jordan [Thu, 31 Aug 2006 19:53:57 +0000 (19:53 -0000)]
2006-08-31 Robert Jordan  <robertj@gmx.net>

* Marshal.cs: Replaced the *Auto internal calls with managed
variants. Fixed SystemDefaultCharSize to return an OS dependent
value.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 Aug 2006 19:31:34 +0000 (19:31 -0000)]
2006-08-31  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_get_ldelema_ins): Fix verifier error when calling
Address on two dimensional arrays. Fixes #78729.

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

17 years ago * Form.cs: When activated select the active control, if there is
Jackson Harper [Thu, 31 Aug 2006 17:59:41 +0000 (17:59 -0000)]
    * Form.cs: When activated select the active control, if there is
        no active control, we select the first control.
        * XplatUIX11.cs: If there is no focus control when we get a
        FocusIn event, find the toplevel form and activate it.  This
        occurs when you popup a window, it becomes the focus window,
then
        you close that window, giving focus back to the main window.

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

17 years ago2006-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 31 Aug 2006 17:49:52 +0000 (17:49 -0000)]
2006-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* src/gspawn.c: small touch-ups and make read/write EINTR-proof.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 Aug 2006 17:46:53 +0000 (17:46 -0000)]
2006-08-31  Zoltan Varga  <vargaz@gmail.com>

* DynamicMethodTest.cs: Add a test for skipVisibility.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 Aug 2006 17:46:17 +0000 (17:46 -0000)]
2006-08-31  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MonoCompile): Add a 'skip_visibility' field.

* mini.c (method_to_ir): Disable visibility checks if skip_visibility is set on
a method.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 Aug 2006 17:45:15 +0000 (17:45 -0000)]
2006-08-31  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (reflection_methodbuilder_to_mono_method): Set
method->skip_visibility based up the skipVisibility parameter of DynamicMethods.

* class-internals.h (MonoMethod): Add a 'skip_visibility' field.

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

17 years ago* DataRelationTest2.cs: Added test for bug #79233, currently marked
Gert Driesen [Thu, 31 Aug 2006 17:23:44 +0000 (17:23 -0000)]
* DataRelationTest2.cs: Added test for bug #79233, currently marked
NotWorking. Set eol-style to native.

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

17 years ago* StaticPartialCachingControl.cs: added forwarding implementation for
Konstantin Triger [Thu, 31 Aug 2006 17:23:08 +0000 (17:23 -0000)]
* StaticPartialCachingControl.cs: added forwarding implementation for
2.0 version of BuildCachedControl().

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

17 years agofixed initialization
Konstantin Triger [Thu, 31 Aug 2006 17:06:10 +0000 (17:06 -0000)]
fixed initialization

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

17 years agoPatch #89.
Martin Baulig [Thu, 31 Aug 2006 17:05:17 +0000 (17:05 -0000)]
Patch #89.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 Aug 2006 16:51:29 +0000 (16:51 -0000)]
2006-08-31  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_load_type_info): Revert the last change as it can't cope
with cycles in classes.

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

17 years agoPatch #88.
Martin Baulig [Thu, 31 Aug 2006 16:42:22 +0000 (16:42 -0000)]
Patch #88.

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

17 years agooutput debug prints in DEBUG builds only
Konstantin Triger [Thu, 31 Aug 2006 16:36:46 +0000 (16:36 -0000)]
output debug prints in DEBUG builds only

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

17 years agoRevert my broken patch
Miguel de Icaza [Thu, 31 Aug 2006 16:36:19 +0000 (16:36 -0000)]
Revert my broken patch

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

17 years ago2006-08-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 31 Aug 2006 16:28:49 +0000 (16:28 -0000)]
2006-08-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MonthCalendar.cs:
* ThemeWin32Classic.cs: Cache Font in bold style, as well
as StringFormat with Center alignments in MonthCalendar,
instead of creating new ones when drawing the control.
Also, draw the month name in bold style.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 31 Aug 2006 16:06:33 +0000 (16:06 -0000)]
2006-08-31  Zoltan Varga  <vargaz@freemail.hu>

* samples/embed/test-invoke.vcproj samples/embed/teste.vcproj: Fix include paths for newer glib versions.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 31 Aug 2006 16:05:44 +0000 (16:05 -0000)]
2006-08-31  Zoltan Varga  <vargaz@freemail.hu>

* genmdesc.vcproj: Fix include paths for newer glib versions.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 31 Aug 2006 16:05:01 +0000 (16:05 -0000)]
2006-08-31  Zoltan Varga  <vargaz@freemail.hu>

* monoburg.vcproj: Fix include paths for newer glib versions.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 31 Aug 2006 16:04:05 +0000 (16:04 -0000)]
2006-08-31  Zoltan Varga  <vargaz@freemail.hu>

* libmono.vcproj: Add further missing sources, fix include paths for newer glib versions.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 31 Aug 2006 16:02:53 +0000 (16:02 -0000)]
2006-08-31  Zoltan Varga  <vargaz@freemail.hu>

* libgc.vcproj: Define GC_INSIDE_DLL on VC build too.

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

17 years agoReactivate pixel test (fixed in libgdiplus r64626)
Sebastien Pouliot [Thu, 31 Aug 2006 15:49:08 +0000 (15:49 -0000)]
Reactivate pixel test (fixed in libgdiplus r64626)

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

17 years ago * DataRowTest2.cs: Added test for bug #78885. Fixed line endings.
Gert Driesen [Thu, 31 Aug 2006 15:25:42 +0000 (15:25 -0000)]
 * DataRowTest2.cs: Added test for bug #78885. Fixed line endings.
Set eol-style to native.

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

17 years agofixed: InvalidPasswordErrorMessage is formatted correct.
Igor Zelmanovich [Thu, 31 Aug 2006 14:51:10 +0000 (14:51 -0000)]
fixed: InvalidPasswordErrorMessage is formatted correct.

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

17 years agofixed CreateUser,
Igor Zelmanovich [Thu, 31 Aug 2006 14:48:03 +0000 (14:48 -0000)]
fixed CreateUser,
password is checked, properties MinRequiredPasswordLength and
MinRequiredNonAlphanumericCharacters are considered.

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

17 years agoBackport 64600 to 64607 revisions to the branch
Miguel de Icaza [Thu, 31 Aug 2006 14:28:11 +0000 (14:28 -0000)]
Backport 64600 to 64607 revisions to the branch

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

17 years agoPass parameters in correct order.
Boris Kirzner [Thu, 31 Aug 2006 14:24:34 +0000 (14:24 -0000)]
Pass parameters in correct order.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 31 Aug 2006 14:11:47 +0000 (14:11 -0000)]
2006-08-31  Zoltan Varga  <vargaz@freemail.hu>

* libmono.vcproj: Add aot-compiler.c and aot-runtime.c as source files.

* README.vcproj: Fix a typo.

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

17 years ago2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 31 Aug 2006 13:39:07 +0000 (13:39 -0000)]
2006-08-31  Sebastien Pouliot  <sebastien@ximian.com>

* TestBmpCodec.cs: Add more test cases for 1, 8 and 32 bbp bitmaps
including checks for Pixels and BitmapData.
* TestImageCodecInfo.cs: Fix namespace and class name.
* TestJpegCodec.cs: Reactivate the tests (not sure why they were
commented). Added test cases for Pixel and BitmapData (NotWorking).

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

17 years ago2006-08-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 31 Aug 2006 12:27:12 +0000 (12:27 -0000)]
2006-08-31  Sebastien Pouliot  <sebastien@ximian.com>

* TextureBrushTest.cs: Remove NotWorking from rotation test case.

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

17 years agofixed: ContinueButtonClick occurs when the user clicks
Igor Zelmanovich [Thu, 31 Aug 2006 11:59:13 +0000 (11:59 -0000)]
fixed: ContinueButtonClick occurs when the user clicks
the Continue button in the final user account creation step.
ContinueDestinationPageUrl - redirected after clicking
the Continue button on the success page.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 Aug 2006 11:54:43 +0000 (11:54 -0000)]
2006-08-31  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_emit_exceptions): Fix assertion introduced by the last change.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 Aug 2006 11:46:37 +0000 (11:46 -0000)]
2006-08-31  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_MonoType_get_Name): Add a '&' for byref types. Fixes #79110.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 Aug 2006 11:44:31 +0000 (11:44 -0000)]
2006-08-31  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add a test for #79110.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 Aug 2006 11:26:29 +0000 (11:26 -0000)]
2006-08-31  Zoltan Varga  <vargaz@gmail.com>

* configure.in (PLATFORM_WIN32): Add -mno-cygwin to libmono_cflags/ldflags. Fixes
#79180.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 Aug 2006 11:22:11 +0000 (11:22 -0000)]
2006-08-31  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_runtime_cleanup_handlers): Clean up signal handlers on unix. Fixes
#79130.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 Aug 2006 11:07:29 +0000 (11:07 -0000)]
2006-08-31  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_marshal_array): Avoid crash when a parameter with type array is
missing a [MarshalAs] directive. Fixes #79203.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 Aug 2006 10:56:38 +0000 (10:56 -0000)]
2006-08-31  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_load_type_info): Fix a race in initializing
klass->marshal_info. Fixes #79217.

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

17 years ago2006-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 Aug 2006 10:23:08 +0000 (10:23 -0000)]
2006-08-31  Zoltan Varga  <vargaz@gmail.com>

* mini.c (handle_array_new): Applied patch from "briaeros007". Fix
a race condition.
(mini_get_ldelema_ins): Ditto.

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

17 years agosvn path=/trunk/mono/; revision=64595
Gonzalo Paniagua Javier [Thu, 31 Aug 2006 07:44:02 +0000 (07:44 -0000)]
svn path=/trunk/mono/; revision=64595

17 years ago2006-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 31 Aug 2006 07:43:33 +0000 (07:43 -0000)]
2006-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* test/file.c: remove useless test.

* test/spawn.c: new g_spawn_async_with_pipes test.
* src/glib.h: Modified file.
* src/gspawn.c: implemented g_spawn_async_with_pipes. Needs fine tuning.

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

17 years agoAdd missing file
Miguel de Icaza [Thu, 31 Aug 2006 04:36:20 +0000 (04:36 -0000)]
Add missing file

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

17 years agoCommit non-working, work-in-progress
Miguel de Icaza [Thu, 31 Aug 2006 04:23:17 +0000 (04:23 -0000)]
Commit non-working, work-in-progress

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

17 years agoquick notes.
Atsushi Eno [Thu, 31 Aug 2006 03:50:25 +0000 (03:50 -0000)]
quick notes.

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

17 years agoPatch #87.
Martin Baulig [Thu, 31 Aug 2006 03:05:55 +0000 (03:05 -0000)]
Patch #87.

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

17 years agoPatch #86.
Martin Baulig [Thu, 31 Aug 2006 02:34:16 +0000 (02:34 -0000)]
Patch #86.

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

17 years ago2006-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 31 Aug 2006 01:05:42 +0000 (01:05 -0000)]
2006-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpListener2Test.cs: new tests for headers sent separate from body
and together.

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

17 years agoPatch #85.
Martin Baulig [Thu, 31 Aug 2006 00:52:10 +0000 (00:52 -0000)]
Patch #85.

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

17 years agoPatch #84; minor cleanups.
Martin Baulig [Thu, 31 Aug 2006 00:18:40 +0000 (00:18 -0000)]
Patch #84; minor cleanups.

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

17 years ago2006-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 31 Aug 2006 00:04:30 +0000 (00:04 -0000)]
2006-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpConnection.cs: when the content length is available, keep it
updated after synchronous read. Renamed 'available' to 'remaining_body'.
* RequestStream.cs: when creating the stream, pass the remaining length
starting from the offset in the buffer.

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

17 years agoPatch #83.
Martin Baulig [Wed, 30 Aug 2006 23:57:09 +0000 (23:57 -0000)]
Patch #83.

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