mono.git
17 years ago2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 17 Oct 2006 16:44:51 +0000 (16:44 -0000)]
2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>

* DataBoundControl.cs: fixed: DataBind calls
CreateDataSourceSelectArguments() and stores result in  SelectArguments

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

17 years agoUpdate
Miguel de Icaza [Tue, 17 Oct 2006 16:33:46 +0000 (16:33 -0000)]
Update

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

17 years ago2006-10-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 17 Oct 2006 16:32:59 +0000 (16:32 -0000)]
2006-10-17  Miguel de Icaza  <miguel@novell.com>

* convert.cs: Fix typo, fixes the test-535.cs, we were casting to
an int32, but requesting an int64 from the conversion

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

17 years ago2006-10-17 Rolf Bjarne Kvinge <rolfkvinge@ya.com>
Rolf Bjarne Kvinge [Tue, 17 Oct 2006 15:38:29 +0000 (15:38 -0000)]
2006-10-17  Rolf Bjarne Kvinge  <rolfkvinge@ya.com>
* ThemeWin32Classic.cs: changed drawing of selected days
to make them look better.

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

17 years agoFieldInfo.cs: Added GetRawConstantValue (). Note that throwing a NotSupportedExceptio...
Kornél Pál [Tue, 17 Oct 2006 15:19:11 +0000 (15:19 -0000)]
FieldInfo.cs: Added GetRawConstantValue (). Note that throwing a NotSupportedException is the proper implementation.; ParameterInfo.cs: Use Attributes in Is... properties on profile 2.0 that is expected by subclasses.

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

17 years agoTue Oct 17 16:59:59 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 17 Oct 2006 15:00:44 +0000 (15:00 -0000)]
Tue Oct 17 16:59:59 CEST 2006 Paolo Molaro <lupus@ximian.com>

* reflection.c: small cleanup, using a function to insert a MonoString
in the string heap.

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

17 years agoTue Oct 17 16:45:27 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 17 Oct 2006 14:46:10 +0000 (14:46 -0000)]
Tue Oct 17 16:45:27 CEST 2006 Paolo Molaro <lupus@ximian.com>

* reflection.c: moving GC fixes.

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

17 years ago2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 17 Oct 2006 14:15:17 +0000 (14:15 -0000)]
2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsView.cs:
* DetailsView.js:
fixed: EnablePagingCallbacks feature.
when postback is invoked after callback control state is restored
properly.

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

17 years ago* SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
Vladimir Krasnov [Tue, 17 Oct 2006 13:20:40 +0000 (13:20 -0000)]
* SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
* added SqlDataSourceDerbyTest.cs
* run-mono-tests.bat: added Derby to tests class path

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

17 years agoEnclosed NotWorking attribute with #if !TARGET_JVM
Leszek 'skolima' Ciesielski [Tue, 17 Oct 2006 13:00:04 +0000 (13:00 -0000)]
Enclosed NotWorking attribute with #if !TARGET_JVM

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

17 years ago2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 17 Oct 2006 12:58:27 +0000 (12:58 -0000)]
2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
(corresponding test does not work because bug in ObjectDataSourceView)

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

17 years agoIntegrated the Mainsoft test suite into make run-test. Many tests still fail...
Leszek 'skolima' Ciesielski [Tue, 17 Oct 2006 08:04:07 +0000 (08:04 -0000)]
Integrated the Mainsoft test suite into make run-test. Many tests still fail...

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

17 years ago2006-10-16 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 16 Oct 2006 20:37:41 +0000 (20:37 -0000)]
2006-10-16  Chris Toshok  <toshok@ximian.com>

* Hwnd.cs: replace the user_data/client_dc/non_client_dc with
drawing_stack.  Nuke the ClientDC/NonClientDC properties.

* XplatUIX11.cs: move away from using hwnd.client_dc and
hwnd.non_client_dc and on to a stack of dc's (and in window's
case, PAINTSTRUCT's), so we can deal with nested Paint calls
without puking or not disposing of Graphics objects.

* XplatUIOSX.cs: same.

* XplatUIWin32.cs: same.

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

17 years ago2006-10-16 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 16 Oct 2006 18:04:51 +0000 (18:04 -0000)]
2006-10-16  Miguel de Icaza  <miguel@novell.com>

* src/gerror.c (g_propagate_error): Implement.

* src/gstr.c (g_strjoinv, g_ascii_strncasecmp): implement.

* test/string-util.c (test_ascii_strncasecmp): test

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

17 years agoMon Oct 16 16:53:12 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 16 Oct 2006 14:56:03 +0000 (14:56 -0000)]
Mon Oct 16 16:53:12 CEST 2006 Paolo Molaro <lupus@ximian.com>

* sgen-gc.c, gc-internal.h, gc.c: added API to collect and remove
all the objects with finalizers belonging to an unloading appdomain.

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

17 years ago2006-10-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 16 Oct 2006 14:23:25 +0000 (14:23 -0000)]
2006-10-16  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_get_method): Change this to return the native code
address instead of a MonoJitInfo* to avoid decoding the exception info for the
method.

* aot-runtime.c aot-compiler.c: Use uint16 instead of uint32 entries in the
name cache to reduce its size.

* mini.h (MONO_AOT_FILE_VERSION): Bump aot file format version.

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

17 years agoMon Oct 16 15:08:41 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 16 Oct 2006 13:09:49 +0000 (13:09 -0000)]
Mon Oct 16 15:08:41 CEST 2006 Paolo Molaro <lupus@ximian.com>

* sgen-gc.c: added ability to allocate even when the nursery is fully
pinned and fixed a couple of bugs.

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

17 years agolibmono.vcproj: Removed unicode.h and unicode.c. Changed absolute path in AdditionalL...
Kornél Pál [Mon, 16 Oct 2006 11:12:22 +0000 (11:12 -0000)]
libmono.vcproj: Removed unicode.h and unicode.c. Changed absolute path in AdditionalLibraryDirectories to relative.

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

17 years ago2006-10-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Oct 2006 18:55:36 +0000 (18:55 -0000)]
2006-10-15  Zoltan Varga  <vargaz@gmail.com>

* mini.c: Revert the last change for now.

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

17 years ago2006-10-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Oct 2006 18:54:06 +0000 (18:54 -0000)]
2006-10-15  Zoltan Varga  <vargaz@gmail.com>

* threads.h: Revert the last change for now.

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

17 years ago2006-10-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Oct 2006 17:15:48 +0000 (17:15 -0000)]
2006-10-15  Zoltan Varga  <vargaz@gmail.com>

* mini.c: Rename mono_thread_get_pending_exception () to mono_thread_get_undeniable_exception ().

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

17 years ago2006-10-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Oct 2006 17:15:04 +0000 (17:15 -0000)]
2006-10-15  Zoltan Varga  <vargaz@gmail.com>

* threads.h (mono_thread_get_pending_exception): Rename this to
mono_thread_get_undeniable_exception ().

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

17 years ago* List.cs: Fixed binary serialization compatibility with MS.NET.
Gert Driesen [Sun, 15 Oct 2006 14:17:58 +0000 (14:17 -0000)]
* List.cs: Fixed binary serialization compatibility with MS.NET.
Increment version whenever _items is modified; this fixes version
checks in Enumerator.
* ListTest.cs: Added tests for binary serialization, and Enumerator
version checks.

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

17 years ago* appdomain.c: Use mono_get_exception_bad_image_format2 to construct
Gert Driesen [Sun, 15 Oct 2006 14:13:35 +0000 (14:13 -0000)]
* appdomain.c: Use mono_get_exception_bad_image_format2 to construct
BadImageFormatException in ves_icall_System_Reflection_Assembly_LoadFrom
when fname does not refer to valid assembly. This result in a more
meaningful error message.
* exception.c: added mono_get_exception_bad_image_format2 which
constructs a BadImageFormatException using the ctor taking a custom
message and the file name. Passing in a NULL msg results in a default
message.
* exception.h: define mono_get_exception_bad_image_format2 function.
* icall.c: in InternalGetAssemblyName, throw BadImageFormatException
when file name pointed to an invalid IL image. Use
mono_get_exception_file_not_found2 to construct FileNotFoundException,
as this results in a more meaningful error message.

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

17 years ago* corlib_test.dll.sources: Added BadImageFormatExceptionTest.cs.
Gert Driesen [Sun, 15 Oct 2006 14:11:37 +0000 (14:11 -0000)]
* corlib_test.dll.sources: Added BadImageFormatExceptionTest.cs.
* BadImageFormatException.cs: Changed message for default ctor to
match MS. Use internal message field of Exception to check whether
Message is null. Match MS default messages when no message is
set. Fixed ToString to match MS.
* BadImageFormatExceptionTest.cs: Added ctors tests.
* AssemblyName.cs: No need to convert filename to absolute path before
passing it to Assembly.InternalGetAssemblyName. This allows our
exception messages to be better match those of MS.

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

17 years ago2006-10-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Oct 2006 12:58:50 +0000 (12:58 -0000)]
2006-10-15  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c: Save/restore the current LMF structure more efficiently using
the mono_lmf TLS variable.

* exceptions-x86.c (mono_arch_find_jit_info): Only access lmf->method in
trampoline lmf frames.

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

17 years ago2006-10-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Oct 2006 10:20:25 +0000 (10:20 -0000)]
2006-10-15  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (encode_named_val): Implement proper encoding of arrays. Fixes
#79465.

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

17 years ago2006-10-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 15 Oct 2006 08:52:41 +0000 (08:52 -0000)]
2006-10-15  Zoltan Varga  <vargaz@gmail.com>

* mini-sparc.h (MONO_ARCH_ENABLE_EMIT_STATE_OPT): Define this on sparc as well.

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

17 years agoUpdate TODO
Miguel de Icaza [Sun, 15 Oct 2006 04:31:33 +0000 (04:31 -0000)]
Update TODO

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

17 years agoVery close, only need 3 more functions + replacing mono-hash with ours
Miguel de Icaza [Sun, 15 Oct 2006 04:31:08 +0000 (04:31 -0000)]
Very close, only need 3 more functions + replacing mono-hash with ours

2006-10-15  Miguel de Icaza  <miguel@novell.com>

* configure.in: Fix detection of platforms the [3456] stuff does
not work inside autoconf.

* src/eglib-config.h.in: Make G_BREAKPOINT into a function-macro

* src/glib.h (offsetof): Mono sources depend on this, bring this
from the standard definition.  Redefine G_STRUCT_OFFSET in terms
of this.

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

17 years ago2006-10-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 15 Oct 2006 04:08:08 +0000 (04:08 -0000)]
2006-10-15  Miguel de Icaza  <miguel@novell.com>

* src/glib.h (G_STRUCT_OFFSET): fix macro definition.
fix typo.

* src/sizes.c: Add test.

* src/gshell.c: Make it build

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

17 years agoFix typo
Miguel de Icaza [Sun, 15 Oct 2006 04:00:04 +0000 (04:00 -0000)]
Fix typo

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

17 years agostubs and GLIB_CHECK_VERSION
Miguel de Icaza [Sun, 15 Oct 2006 03:58:03 +0000 (03:58 -0000)]
stubs and GLIB_CHECK_VERSION

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

17 years ago2006-10-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 14 Oct 2006 18:05:33 +0000 (18:05 -0000)]
2006-10-14  Miguel de Icaza  <miguel@novell.com>

* src/glib.h: add various _TO_LE and _FROM_LE macros.

* test/endian.c: tests for endian conversion macros.

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

17 years ago2006-10-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Oct 2006 17:39:46 +0000 (17:39 -0000)]
2006-10-14  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c: Save/restore the current LMF structure more efficiently using
the mono_lmf TLS variable.

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

17 years ago2006-10-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Oct 2006 17:30:43 +0000 (17:30 -0000)]
2006-10-14  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c: Access the LMF structure through accessors.

* mini.c: Allow the backends the option for storing the lmf in a dedicated TLS
variable instead of in jit_tls->lmf.

* mini-x86.c mini-amd64.c: Update after lmf->lmf_addr name change.

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

17 years ago2006-10-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 14 Oct 2006 16:48:15 +0000 (16:48 -0000)]
2006-10-14  Zoltan Varga  <vargaz@gmail.com>

* exceptions-amd64.c (mono_arch_find_jit_info): Only access lmf->method in
trampoline lmf frames.

* mini-amd64.c (mono_arch_emit_prolog): Do not set lmf->method as it is not needed.

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

17 years ago2006-10-14 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sat, 14 Oct 2006 08:22:14 +0000 (08:22 -0000)]
2006-10-14  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ComponentsLocation.cs: Changed order to match MS.
        * BootstrapperBuilder.cs: Added GetOutputFolders ().
        * IProductCollection.cs, ProductCollection.cs: Changed indexer to
        method.

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

17 years ago2006-10-14 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sat, 14 Oct 2006 08:20:09 +0000 (08:20 -0000)]
2006-10-14  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Exec.cs: Added AddCommandLineCommands ().
        * GenerateBootstrapper.cs: Added missing attributes.
        * GenerateManifestBase.cs: Added missing attributes.
        * GenerateApplicationManifest.cs: Added ValidateInputs ().

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

17 years ago2006-10-14 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sat, 14 Oct 2006 08:16:03 +0000 (08:16 -0000)]
2006-10-14  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Engine.cs: Removed redundant cast.
* BuildWhen.cs:
* UsingTaskCollection.cs:
* ImportCollection:
* BuildChoose.cs:
* BuildItem.cs:
* TargetCollection.cs: Comment unused variable.
* ConditionTokenizer.cs: Simplified checking if current token is a
keyword.
* Target.cs: Removed old code.

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

17 years ago2006-10-03 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 13 Oct 2006 22:05:10 +0000 (22:05 -0000)]
2006-10-03  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: Don't call on_directory_changed inside
  OnSelectedIndexChanged (it changes the SelectedIndex too).
  Instead move it to OnSelectionChangeCommitted.

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

17 years ago * XplatUIX11.cs: more Destroy work. the current code does the
Chris Toshok [Fri, 13 Oct 2006 21:51:40 +0000 (21:51 -0000)]
* XplatUIX11.cs: more Destroy work.  the current code does the
following things, in order:

1. Enumerates all handles of all controls at or below the one
being destroyed, in pre-order.  As it is doing this, it marks the
handles as zombie and clears all references to them.

2. calls XDestroyWindow on the window passed in.

3. SendMessage's WM_DESTROY to all he handles in the accumulated
list.

2006-10-13  Chris Toshok  <toshok@ximian.com>

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

17 years ago* DataRelationTest2.cs: Enabled test for bug #79233.
Gert Driesen [Fri, 13 Oct 2006 20:52:03 +0000 (20:52 -0000)]
* DataRelationTest2.cs: Enabled test for bug #79233.

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

17 years ago2006-10-13 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 13 Oct 2006 20:15:16 +0000 (20:15 -0000)]
2006-10-13  Nagappan A  <anagappan@novell.com>

* DataTable.cs (DeserializeConstraints): Fine tuned the
serialization and deserialization of constraints.

* DataRelationCollection.cs (Contains): Fixes bug
#79233. DuplicateNameException when two relations for different
DataTables in DataSet are defined

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

17 years ago2006-10-13 Joe Shaw <joeshaw@novell.com>
Joe Shaw [Fri, 13 Oct 2006 20:10:55 +0000 (20:10 -0000)]
2006-10-13  Joe Shaw  <joeshaw@novell.com>

* samples/size/size.c: Flesh this out quite a bit more so that
its results are more accurate.
* samples/size/sample.cs: Add a few more test cases.

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

17 years ago2006-10-13 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 13 Oct 2006 19:20:59 +0000 (19:20 -0000)]
2006-10-13  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs: set hwnd.zombie to true before calling
SendMessage (WM_DESTROY).  this keeps us from marking the new
window a zombie, and also keeps us from calling sendmessage at
all.

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

17 years ago * TextControl.cs: Do not show the caret and selection at the
Jackson Harper [Fri, 13 Oct 2006 19:01:31 +0000 (19:01 -0000)]
    * TextControl.cs: Do not show the caret and selection at the
        * same
        time.  Reduces ugliness by 35%.

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

17 years ago2006-10-13 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 13 Oct 2006 18:45:52 +0000 (18:45 -0000)]
2006-10-13  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
zombie after we do the recursive call, so we actually do call
SendMessage on the children controls.
(GetMessage): if we find a pending paint event for a zombie hwnd,
remove the hwnd from the paint queue, or else it will always be
there (and we'll effectively loop infinitely)

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

17 years ago2006-10-13 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 13 Oct 2006 18:21:06 +0000 (18:21 -0000)]
2006-10-13  Mike Kestner  <mkestner@novell.com>

* MenuItem.cs : add Selected format under keynav too.
Fixes #79528.

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

17 years ago* PropertyGridTest.cs: Enabled previously not-working tests.
Gert Driesen [Fri, 13 Oct 2006 18:15:51 +0000 (18:15 -0000)]
* PropertyGridTest.cs: Enabled previously not-working tests.
* PropertyGrid.cs: Fixed some NRE's and small difference between our
implementation and that of MS.

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

17 years ago* PropertyGridTest.cs: Added tests for PropertyGrid.
Gert Driesen [Fri, 13 Oct 2006 17:42:14 +0000 (17:42 -0000)]
* PropertyGridTest.cs: Added tests for PropertyGrid.
* System.Windows.Forms_test.dll.sources: Added PropertyGridTest.cs.

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

17 years ago * Control.cs (OnInvalidated) only futz with the invalid_region if
Chris Toshok [Fri, 13 Oct 2006 16:31:17 +0000 (16:31 -0000)]
* Control.cs (OnInvalidated) only futz with the invalid_region if
the control is double buffered.  this fixes the apparent hang in
the ListView unit tests.  Someone needs to make the
BeginEndUpdateTest not call OnInvalidated 15004 times, though..

2006-10-13  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-10-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 13 Oct 2006 16:28:04 +0000 (16:28 -0000)]
2006-10-13  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigurationSettings.cs :
  Handle <section> inside <section> as expected.
  Fixed some ReadSections() consumers that it does _not_ consume
  the surrounding EndElement. For now all issues I found are gone.

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

17 years ago2006-10-13 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 13 Oct 2006 16:27:54 +0000 (16:27 -0000)]
2006-10-13  Chris Toshok  <toshok@ximian.com>

* PropertyGridView.cs:

- do a little refactoring so that only one place calls
dropdown_form.Hide, and that is CloseDropDown.  make everywhere
else call that.  Also make it Refresh, since there are redraw bugs
otherwise (we should take a look at that...)

- do a little more refactoring work to share the body of code
involved with the drop down.  it was duplicated in the code
dealing with the listbox handling and in the code dealing with the
UITypeEditors.

- add a Capture to the dropdown form's control once it's
displayed, and add a MouseDown handler that checks to make sure
the position is inside the control.  If it's not, close the
dropdown.  This fixes #78190.

- in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
if the value is different than the initial value.

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

17 years ago * ColorEditor.cs: we also need to make sure we set selected_color
Chris Toshok [Fri, 13 Oct 2006 15:59:18 +0000 (15:59 -0000)]
* ColorEditor.cs: we also need to make sure we set selected_color
and color_chosen initially.

2006-10-13  Chris Toshok  <toshok@ximian.com>

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

17 years agoPatch from Hubert FONGARNAND to insert fields in the appropriate order
Miguel de Icaza [Fri, 13 Oct 2006 15:58:16 +0000 (15:58 -0000)]
Patch from Hubert FONGARNAND to insert fields in the appropriate order

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

17 years ago2006-10-13 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 13 Oct 2006 15:47:06 +0000 (15:47 -0000)]
2006-10-13  Chris Toshok  <toshok@ximian.com>

* ColorEditor.cs: windows allows a null to be passed in to
EditValue (indeed, the property grid when showing a merged view
requires it).  Also, if no change is made we need to return the
initial value (so, if you pass null in, and don't make a change,
null should be returned.

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

17 years agoUpdate
Miguel de Icaza [Fri, 13 Oct 2006 15:46:41 +0000 (15:46 -0000)]
Update

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

17 years ago2006-10-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 13 Oct 2006 15:13:38 +0000 (15:13 -0000)]
2006-10-13  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigurationSettings.cs : another MoveToNextElement() elimination.
  When there is another section group after "system.drawing"
  section in the existing machine.config, it borked as if there were
  no "system.diagnostics" section.

  It is still buggy; prepended sectionGroup still causes the above.

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

17 years ago2006-10-13 Andreia Gaita <shana.ufie@gmail.com>
Andreia Gaita [Fri, 13 Oct 2006 14:48:00 +0000 (14:48 -0000)]
2006-10-13  Andreia Gaita  <shana.ufie@gmail.com>
* Control.cs: see #78650
- Fixed GetNextControl for several cases:
- Changed FindFlatForward to return
correct sibling control when more than one
control has same TabIndex as the currently
focused one.
- Changed FindFlatBackward to loop children
from last to first and apply same logic as in
FindFlatForward
- Changed FindControlForward to search for
children when control is not a container
but has children, or search for siblings if
control is a container...
- Changed FindControlBackward to continue
searching for child controls when hitting
Panel-like parents

- Fixed Focus method to update ActiveControl
(FocusTest.FocusSetsActive failure)

* TabControl.cs:
- Focus rectangle now refreshes when gaining
or losing focus
- Removed grab for Tab key on IsInputKey that
was keeping tab navigation from working (#78650)

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

17 years ago2006-10-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 13 Oct 2006 12:57:22 +0000 (12:57 -0000)]
2006-10-13  Atsushi Enomoto  <atsushi@ximian.com>

* ConfigurationSettings.cs : when there is no content in
  sectionGroup, all the following contents were incorrectly read
  as the empty group's subsection.

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

17 years ago2006-10-13 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 13 Oct 2006 04:44:02 +0000 (04:44 -0000)]
2006-10-13  Chris Toshok  <toshok@ximian.com>

* PropertyGridView.cs:
- Rewrite SetPropertyValue to loop over SelectedGridItem's
SelectedObjects.

- Deal with GridItem.Value == null a few places.

* PropertyGrid.cs:
- replace the PopulateGridItemCollection with a pair of methods
which compute the intersection of all the properties in the
SelectedObjects array.  Fixes #79615.

- Throw ArgumentException from set_SelectedObjects if there's a
null in the array.

- Add GetTarget method which can be used to traverse up the
GridItem.Parent chain.  It depends on the assumption that
selected_objects for different GridEntries are always in the same
order (a safe assumption).  Use this method and loop over all the
selected objects in the entry when calling RemoveValueChanged and
AddValueChanged.

* GridEntry.cs: Make this handle multiple selected objects.
.Value returns null if not all the selected objects share the same
value.

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

17 years ago2006-10-12 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 13 Oct 2006 02:32:38 +0000 (02:32 -0000)]
2006-10-12  Jonathan Pobst  <monkey@jpobst.com>
* ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  ToolStripTextBox.cs: Add accessibility, fix attributes/API and
add additional functionality.

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

17 years ago2006-10-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 13 Oct 2006 00:58:50 +0000 (00:58 -0000)]
2006-10-12  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConfig.cs: Use SmallXmlParser with a custom handler to reduce
memory requirements to process machine.config. Fix #79653 (beagle).

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

17 years ago2006-10-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 12 Oct 2006 22:36:24 +0000 (22:36 -0000)]
2006-10-13  Atsushi Enomoto  <atsushi@ximian.com>

        * DiagnosticsConfigurationHandler.cs : be more skeptic on
          broken configuration file.

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

17 years agoSet eol style
Miguel de Icaza [Thu, 12 Oct 2006 19:22:37 +0000 (19:22 -0000)]
Set eol style

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

17 years ago2006-10-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 Oct 2006 19:18:20 +0000 (19:18 -0000)]
2006-10-12  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Disable visibility("hidden") on cygwin as well.

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

17 years agoAnother batch
Miguel de Icaza [Thu, 12 Oct 2006 19:03:06 +0000 (19:03 -0000)]
Another batch

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

17 years agoRemove marker
Miguel de Icaza [Thu, 12 Oct 2006 19:02:09 +0000 (19:02 -0000)]
Remove marker

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

17 years agoUpdate this
Miguel de Icaza [Thu, 12 Oct 2006 18:59:21 +0000 (18:59 -0000)]
Update this

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

17 years agoDistribute
Miguel de Icaza [Thu, 12 Oct 2006 18:42:38 +0000 (18:42 -0000)]
Distribute

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

17 years agoUpdate docs
Miguel de Icaza [Thu, 12 Oct 2006 18:42:10 +0000 (18:42 -0000)]
Update docs

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

17 years ago2006-10-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 12 Oct 2006 18:04:57 +0000 (18:04 -0000)]
2006-10-12  Martin Baulig  <martin@ximian.com>

* anonymous.cs
(AnonymousContainer.Resolve): Inflate the `ReturnType'.  Fixes #79592.

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

17 years ago2006-10-12 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 12 Oct 2006 17:30:27 +0000 (17:30 -0000)]
2006-10-12  Dick Porter  <dick@ximian.com>

        * processes.c (_wapi_process_reap): Unref a process handle if we
        reaped it, found by Zoltan.  Fixes bug 79286.
        (process_wait): Don't wait again if we've already waited for a
        process.

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

17 years ago2006-10-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 12 Oct 2006 17:21:41 +0000 (17:21 -0000)]
2006-10-12  Zoltan Varga  <vargaz@gmail.com>

       * mini.c trace.c mini-x86.c: Revert these too.

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

17 years ago2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 12 Oct 2006 16:52:49 +0000 (16:52 -0000)]
2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>

* GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
when postback is invoked after callback control state is restored
properly.

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

17 years ago2006-10-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 12 Oct 2006 16:29:39 +0000 (16:29 -0000)]
2006-10-12  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (mono_type_stack_size): Revert this at Paolo's request.

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

17 years ago2006-10-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 12 Oct 2006 15:43:23 +0000 (15:43 -0000)]
2006-10-12  Martin Baulig  <martin@ximian.com>

* statement.cs
(Using.EmitLocalVariableDeclFinally): Small fix for iterators.

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

17 years ago2006-10-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 12 Oct 2006 15:43:01 +0000 (15:43 -0000)]
2006-10-12  Zoltan Varga  <vargaz@gmail.com>

* mini.c trace.c mini-x86.c: Remove warning workarounds after the mono_type_size ()
signature change.

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

17 years ago2006-10-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 12 Oct 2006 15:41:25 +0000 (15:41 -0000)]
2006-10-12  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (mono_type_size): Change the align parameter to guint32 for
consistency with the other _size functions.
(mono_type_stack_size): Ditto.

* class.c object.c icall.c: Fix warnings caused by the above change.

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

17 years ago2006-10-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 12 Oct 2006 15:23:59 +0000 (15:23 -0000)]
2006-10-12  Zoltan Varga  <vargaz@gmail.com>

* image.c (load_metadata_ptrs): Reenable loading of modules with uncompressed metadata.

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

17 years ago2006-10-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 12 Oct 2006 15:18:58 +0000 (15:18 -0000)]
2006-10-12  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_get_method_from_name_flags): Fix a typo.

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

17 years ago2006-10-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 12 Oct 2006 15:18:21 +0000 (15:18 -0000)]
2006-10-12  Zoltan Varga  <vargaz@gmail.com>

* image.c (load_metadata_ptrs): Reenable loading of modules with uncompressed metadata.

* metadata.c class.c loader.c: Add proper support for uncompressed metadata.

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

17 years ago2006-10-12 Rolf Bjarne Kvinge <rolfkvinge@ya.com>
Rolf Bjarne Kvinge [Thu, 12 Oct 2006 14:57:06 +0000 (14:57 -0000)]
2006-10-12  Rolf Bjarne Kvinge  <rolfkvinge@ya.com>

* ComboBox.cs: move the events in set_SelectedIndex to
after the call to HighlightIndex in order to avoid
possible recursion and subsequent problems with the call
to HighlightIndex and include a range check in
set_HighlightIndex. Fixes #79588

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

17 years ago2006-10-12 Hubert FONGARNAND <informatique.internet@fiducial.fr>
Miguel de Icaza [Thu, 12 Oct 2006 14:48:21 +0000 (14:48 -0000)]
2006-10-12 Hubert FONGARNAND <informatique.internet@fiducial.fr>

        Patch from Hubert FONGARNAND

        * SessionSQLServerHandler.cs (selectCommand): Instead of using
        SELECT * for pulling the data out of the ASPStateTempSessions,
use
        the explicit column names.  This allows users to change the
table
        and not have any undesired side effects for our code.

        (ReadBytes): This patch corrects a bug too in ReadBytes. The
index parameter
        was not properly used when calculating the size of the data.

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

17 years ago2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 12 Oct 2006 14:40:14 +0000 (14:40 -0000)]
2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs: fixed: for 2.0 only
When Page processes Callback IsPostBack = false, but it still needs
LoadViewState/ControlState and ProcessPostData

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

17 years ago2006-10-12 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 12 Oct 2006 14:22:55 +0000 (14:22 -0000)]
2006-10-12  Mike Kestner  <mkestner@novell.com>

* ErrorProvider.cs : new ToolTipWindow ctor sig.
* HelpProvider.cs : new ToolTipWindow ctor sig.
* ToolTip.cs : remove ToolTip param from Window sig since it is
not used.
* ToolBar.cs : add tooltip support.  Fixes #79565.

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

17 years ago2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 12 Oct 2006 12:22:09 +0000 (12:22 -0000)]
2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>

* GridView.cs: fixed: Sorting feature.
When sorting EditIndex and PageIndex are reseted

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

17 years agoadded load tests to DataTableTest.cs and to DataSetTest.cs.
Hagit Yidov [Thu, 12 Oct 2006 11:49:50 +0000 (11:49 -0000)]
added load tests to DataTableTest.cs and to DataSetTest.cs.

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

17 years ago2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 12 Oct 2006 10:33:06 +0000 (10:33 -0000)]
2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>

* GridView.cs: fixed: Sorting feature.
CreateDataSourceSelectArguments considers SortExpression and SortDirection.
(corresponding test does not work because bug in ObjectDataSourceView)

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

17 years ago2006-10-12 Rolf Bjarne Kvinge <rolfkvinge@ya.com>
Rolf Bjarne Kvinge [Thu, 12 Oct 2006 10:00:44 +0000 (10:00 -0000)]
2006-10-12  Rolf Bjarne Kvinge  <rolfkvinge@ya.com>

* MonthCalendar.cs: When FirstDayOfWeek is default set firstday
to ui thread's settings instead of sunday.
* ThemeWin32Classic.cs: Localize the day string. Fixes #79563

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

17 years ago2006-10-12 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Thu, 12 Oct 2006 09:45:56 +0000 (09:45 -0000)]
2006-10-12  Marek Sieradzki  <marek.sieradzki@gmail.com>

* IProductBuilderCollection.cs
* IBuildMessage.cs
* ComponentsLocation.cs
* BuildSettings.cs
* BuildResults.cs
* ProductBuilder.cs
* IProduct.cs
* IBuildSettings.cs
* IBuildResults.cs
* BootstrapperBuilder.cs
* ProductCollection.cs
* BuildMessageSeverity.cs
* IProductBuilder.cs
* ProductBuilderCollection.cs
* IBootstrapperBuilder.cs
* BuildMessage.cs
* IProductCollection.cs: Added stubs needed for generating docs.

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

17 years ago2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 12 Oct 2006 02:01:34 +0000 (02:01 -0000)]
2006-10-11  Sebastien Pouliot  <sebastien@ximian.com>

* TestGraphics.cs: Added test case to measure strings, some aren't yet
working. Modified some to get better checks (e.g. Int32.MaxValue for
#79643).

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

17 years ago2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 12 Oct 2006 02:01:10 +0000 (02:01 -0000)]
2006-10-11  Sebastien Pouliot  <sebastien@ximian.com>

* Graphics.cs: In MeasureCharacterRanges throw an ArgumentException if
StringFormat is null and return an empty region array if no range exists
(avoid GDI+ error/exeception). In MeasureString (2 overloads) replace
999999 by Int32.MaxValue (now that the real bug is fixed).
* StringFormat.cs: Ensure we are clearing the handle before throwing
any exception.

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

17 years ago2006-12-10 Rolf Bjarne Kvinge <rolfkvinge@ya.com>
Rolf Bjarne Kvinge [Thu, 12 Oct 2006 01:09:01 +0000 (01:09 -0000)]
2006-12-10  Rolf Bjarne Kvinge  <rolfkvinge@ya.com>

* DateTimePicker.cs
* MonthCalendar.cs
* ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
and implement missing functionality (selecting different parts
of the date and edit them individually with the keyboard).

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

17 years agoversion bump
Wade Berrier [Wed, 11 Oct 2006 23:21:18 +0000 (23:21 -0000)]
version bump

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

17 years ago2006-10-11 Sergey Tikhonov <tsv@solvo.ru>
Miguel de Icaza [Wed, 11 Oct 2006 21:34:24 +0000 (21:34 -0000)]
2006-10-11  Sergey Tikhonov <tsv@solvo.ru>

* atomic.h: Fix atomic decrement.

* mini/cpu-alpha.md: Use native long shift insts

* mono/mono/mini/tramp-alpha.c: Implemented
mono_arch_patch_delegate_trampoline method

* Started work on using global registers

* Use byte/word memory load/store insts if cpu supports it

* Code clean up

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

17 years ago * Control.cs (OnInvalidated): fix NRE relating to last change.
Chris Toshok [Wed, 11 Oct 2006 20:43:14 +0000 (20:43 -0000)]
* Control.cs (OnInvalidated): fix NRE relating to last change.

2006-10-11  Chris Toshok  <toshok@ximian.com>

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

17 years agonuke PropertyGridEntry.cs
Chris Toshok [Wed, 11 Oct 2006 20:38:36 +0000 (20:38 -0000)]
nuke PropertyGridEntry.cs

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

17 years ago2006-10-11 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 11 Oct 2006 20:26:29 +0000 (20:26 -0000)]
2006-10-11  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
atoms in _NET_WM_STATE here if the window is maximized.  We need
to do this because we're *replacing* the existing _NET_WM_STATE
property, so those atoms will be lost otherwise, and any further
call to GetWindowState will return Normal for a window which is
actually maximized.  Fixes #79338.

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