Carlos Alberto Cortez [Mon, 14 Jul 2008 12:30:55 +0000 (12:30 -0000)]
2008-07-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControl.cs: When doing the layout and need to call FillRow -using
FillToRight size mode-, use the overload receiving a bool param
indicating whether we need to do a vertical or horizontal calculation.
Fixes part of #399583.
svn path=/trunk/mcs/; revision=107875
Marek Habersack [Mon, 14 Jul 2008 10:16:46 +0000 (10:16 -0000)]
2008-07-14 Marek Habersack <mhabersack@novell.com>
* Ping.cs: Use /bin/ping when running as non-root user
(implementation by Jackson Harper <jaharper@novell.com>) or use
raw sockets if running as root or if the current process has the
CAP_NET_RAW Linux capability set while running as an unprivileged
user.
svn path=/trunk/mcs/; revision=107871
Marek Safar [Mon, 14 Jul 2008 09:00:47 +0000 (09:00 -0000)]
2008-07-14 Marek Safar <marek.safar@gmail.com>
* Makefile: Added IL verification for 1.1 profile.
svn path=/trunk/mcs/; revision=107863
Zoltan Varga [Mon, 14 Jul 2008 00:33:18 +0000 (00:33 -0000)]
2008-07-14 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Disable aot for code using CCASTCLASS on x86 as
it has too much register pressure.
svn path=/trunk/mono/; revision=107841
Zoltan Varga [Sun, 13 Jul 2008 23:49:58 +0000 (23:49 -0000)]
Fix a typo.
svn path=/trunk/mono/; revision=107838
Carlos Alberto Cortez [Sun, 13 Jul 2008 22:45:13 +0000 (22:45 -0000)]
2008-07-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TextBox.cs: When painting, use the value returned by
GetLastVisibleItem instead of using the cached last_item field, since
there could be a desynchronization between the layout and the
painting. Fixes a AOOR exception in auto complete mode.
svn path=/trunk/mcs/; revision=107835
Néstor Salceda [Sun, 13 Jul 2008 21:34:20 +0000 (21:34 -0000)]
2008-07-13 Nestor Salceda <nestor.salceda@gmail.com>
* RSAPKCS1KeyExchangeFormatter.cs: Throw an ArgumentNullException if the
key is null in SetKey, and also in the constructor with the key
as parameter. Fixes the bug #408738.
svn path=/trunk/mcs/; revision=107830
Néstor Salceda [Sun, 13 Jul 2008 21:33:39 +0000 (21:33 -0000)]
2008-07-13 Nestor Salceda <nestor.salceda@gmail.com>
* RSAPKCS1KeyExchangeFormatterTest.cs: Add test case where you are
passing null parameters to SetKey method and constructor with
the key as parameter. Fixes the bug #408738.
svn path=/trunk/mcs/; revision=107829
Zoltan Varga [Sun, 13 Jul 2008 20:02:20 +0000 (20:02 -0000)]
2008-07-13 Zoltan Varga <vargaz@gmail.com>
* docs/aot-compiler.txt: Update docs.
svn path=/trunk/mono/; revision=107828
Roei Erez [Sun, 13 Jul 2008 11:55:35 +0000 (11:55 -0000)]
When the RowDataBound event is invoked, the value of GridView1.DataKeys should contains all the keys up untill the current row, and not be empty
svn path=/trunk/mcs/; revision=107820
Roei Erez [Sun, 13 Jul 2008 11:27:47 +0000 (11:27 -0000)]
Bug in javacript code, using window instead of document for checking if the script is already defined.
svn path=/trunk/mcs/; revision=107818
Zoltan Varga [Sun, 13 Jul 2008 10:12:57 +0000 (10:12 -0000)]
2008-07-13 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_generic_sharing_enabled): Always disable generic sharing
on platforms which do not support it.
svn path=/trunk/mono/; revision=107816
Zoltan Varga [Sun, 13 Jul 2008 09:58:10 +0000 (09:58 -0000)]
2008-07-13 Zoltan Varga <vargaz@gmail.com>
* inssel.brg (CEE_CASTCLASS): Remove some dead code.
svn path=/trunk/mono/; revision=107815
Roei Erez [Sun, 13 Jul 2008 09:30:15 +0000 (09:30 -0000)]
In case of multiple tree nodes bindings with the same key, select the first one and not the last one.
svn path=/trunk/mcs/; revision=107814
Roei Erez [Sun, 13 Jul 2008 08:49:13 +0000 (08:49 -0000)]
bug 10916
svn path=/trunk/mcs/; revision=107812
Roei Erez [Sun, 13 Jul 2008 08:48:14 +0000 (08:48 -0000)]
bug 10916
svn path=/trunk/mcs/; revision=107811
Miguel de Icaza [Sat, 12 Jul 2008 23:48:47 +0000 (23:48 -0000)]
Update
svn path=/trunk/mono/; revision=107802
Zoltan Varga [Sat, 12 Jul 2008 17:44:09 +0000 (17:44 -0000)]
2008-07-12 Zoltan Varga <vargaz@gmail.com>
* mini-x86.h aot-compiler.c aot-runtime.c: Store the plt info offset inline
on x86.
svn path=/trunk/mono/; revision=107797
Raja R Harinath [Sat, 12 Jul 2008 17:28:22 +0000 (17:28 -0000)]
update to new tests
svn path=/trunk/mcs/; revision=107796
Zoltan Varga [Sat, 12 Jul 2008 17:24:58 +0000 (17:24 -0000)]
2008-07-12 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.h aot-compiler.c aot-runtime.c: Store the plt info offset inline
on amd64 similar to the way it is done on arm.
svn path=/trunk/mono/; revision=107795
Zoltan Varga [Sat, 12 Jul 2008 14:26:43 +0000 (14:26 -0000)]
2008-07-12 Zoltan Varga <vargaz@gmail.com>
* mini.h (MONO_AOT_FILE_VERSION): Bump AOT file format version.
* aot-runtime.c (load_aot_module): Rename 'info' to 'amodule' for
consistency, normalize error messages, avoid loading aot-only modules in
normal mode.
* driver.c (mono_main): Rename --aot-only command line option to --full-aot
for consistency.
svn path=/trunk/mono/; revision=107794
Zoltan Varga [Sat, 12 Jul 2008 14:12:03 +0000 (14:12 -0000)]
2008-07-12 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c aot-runtime.c tramp-arm.c: Implement aot-only support.
svn path=/trunk/mono/; revision=107793
Zoltan Varga [Sat, 12 Jul 2008 14:08:44 +0000 (14:08 -0000)]
2008-07-12 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_signature_to_name): Encode sig->hasthis as well.
svn path=/trunk/mono/; revision=107792
Gert Driesen [Sat, 12 Jul 2008 13:28:23 +0000 (13:28 -0000)]
* PictureBoxTest.cs: Split up ImageLocation test in sync and async
tests. Added tests for Load argument checks.
svn path=/trunk/mcs/; revision=107791
George Giolfan [Sat, 12 Jul 2008 12:52:25 +0000 (12:52 -0000)]
2008-07-12 George Giolfan <georgegiolfan@yahoo.com>
* ThemeVisualStyles.cs: Disabled when Application.VisualStyleState is
NonClientAreaEnabled until our VisualStyles is modified to allow it.
svn path=/trunk/mcs/; revision=107790
Gert Driesen [Sat, 12 Jul 2008 11:29:41 +0000 (11:29 -0000)]
* TextBox.cs: Fixed NRE in LostFocus. Avoid unnecessary initialization.
svn path=/trunk/mcs/; revision=107787
Martin Baulig [Sat, 12 Jul 2008 00:13:00 +0000 (00:13 -0000)]
2008-07-11 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.h
(MonoDebuggerEvent): Add `MONO_DEBUGGER_EVENT_INTERRUPTION_REQUEST'.
* mono-debug-debugger.c
(_mono_debugger_interruption_request): New global volatile variable.
(mono_debugger_check_interruption): New public function.
* threads.c
(mono_thread_current_check_pending_interrupt): Call
mono_debugger_check_interruption().
(mono_thread_interruption_checkpoint_request): Likewise.
svn path=/trunk/mono/; revision=107773
Rodrigo Kumpera [Sat, 12 Jul 2008 00:07:12 +0000 (00:07 -0000)]
* invalid_ldtoken_field.il
* invalid_ldtoken_method.il
* invalid_ldtoken_type_2.il
* invalid_ldtoken_type_3.il
* invalid_ldtoken_type.il: Tests for bad tokens for
the ldtoken opcode.
2008-07-11 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=107772
Rodrigo Kumpera [Fri, 11 Jul 2008 23:49:53 +0000 (23:49 -0000)]
* verify.c: Add more type checks for loaded types. Verify the result
handle from ldtoken.
2008-07-11 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=107771
Zoltan Varga [Fri, 11 Jul 2008 22:37:16 +0000 (22:37 -0000)]
2008-07-12 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_plt): Remove some dead code.
svn path=/trunk/mono/; revision=107765
Zoltan Varga [Fri, 11 Jul 2008 22:20:41 +0000 (22:20 -0000)]
2008-07-12 Zoltan Varga <vargaz@gmail.com>
* exceptions-arm.c (mono_arch_get_call_filter_full): Initialize ji.
* aot-runtime.c (mono_aot_get_plt_info_offset): New helper function to
return the plt info offset belonging to a given plt entry.
* mini-trampolines.c (mono_aot_plt_trampoline): Use
mono_aot_get_plt_info_offset.
* aot-runtime.c aot-compiler.c tramp-arm.c: Change the arm plt code to be
similar to the amd64 code by makeing jumps through a separate jump table
instead of embedding the jump addresses into the code.
svn path=/trunk/mono/; revision=107764
Rodrigo Kumpera [Fri, 11 Jul 2008 21:14:41 +0000 (21:14 -0000)]
2008-07-11 Rodrigo Kumpera <rkumpera@novell.com>
* loader.c (field_from_memberref): Don't crash if the field
wasn't found.
svn path=/trunk/mono/; revision=107763
Gert Driesen [Fri, 11 Jul 2008 20:44:52 +0000 (20:44 -0000)]
* PictureBoxTest.cs: Added (notworking) test for ImageLocation.
svn path=/trunk/mcs/; revision=107760
Carlos Alberto Cortez [Fri, 11 Jul 2008 20:09:17 +0000 (20:09 -0000)]
2008-07-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TextBox.cs: When focus is lost, if the auto complete listbox is
visible, hide it.
svn path=/trunk/mcs/; revision=107757
George Giolfan [Fri, 11 Jul 2008 19:09:04 +0000 (19:09 -0000)]
2008-07-11 George Giolfan <georgegiolfan@yahoo.com>
* InternalWindowManager.cs: HandleSizing: Implemented a better minimum
tracking size for tool windows.
* Theme.cs, ThemeWin32Classic.cs : Extracted
ManagedWindowSpacingAfterLastTitleButton.
svn path=/trunk/mcs/; revision=107750
Rodrigo Kumpera [Fri, 11 Jul 2008 18:43:57 +0000 (18:43 -0000)]
2008-07-11 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Verify if type and method instantiations
don't have invalid VAR or MVAR arguments.
svn path=/trunk/mono/; revision=107747
Rodrigo Kumpera [Fri, 11 Jul 2008 17:14:10 +0000 (17:14 -0000)]
2008-07-11 Rodrigo Kumpera <rkumpera@novell.com>
* invalid_bad_method_instantiation.il: Test for
instantiations using VAR or MVAR that are invalid
in the current context.
svn path=/trunk/mono/; revision=107738
Jonathan Pobst [Fri, 11 Jul 2008 16:44:10 +0000 (16:44 -0000)]
2008-07-11 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms.dll.sources: Remove the clearlooks, nice,
and old gtk themes. They are bit-rotted and have always been listed
as "unsupported".
2008-07-11 Jonathan Pobst <monkey@jpobst.com>
* ThemeEngine.cs: Remove the clearlooks, nice, and old gtk themes.
They are bit-rotted and have always been listed as "unsupported".
svn path=/trunk/mcs/; revision=107735
Atsushi Eno [Fri, 11 Jul 2008 16:03:55 +0000 (16:03 -0000)]
2008-07-11 Atsushi Enomoto <atsushi@ximian.com>
* CP1252.cs : continue after fallback was missing.
Fixed bug #408381, patch by Jonathan Gagnon.
* I18N.West.Test.cs : added test for bug #408381, by Jonathan Gagnon.
svn path=/trunk/mcs/; revision=107733
Jonathan Pobst [Fri, 11 Jul 2008 15:48:35 +0000 (15:48 -0000)]
2008-07-11 Jonathan Pobst <monkey@jpobst.com>
* PictureBox.cs: Don't crash if ImageLocation is set to "" or null.
svn path=/trunk/mcs/; revision=107729
Rodrigo Kumpera [Fri, 11 Jul 2008 15:41:44 +0000 (15:41 -0000)]
2008-07-11 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Fix double free of function pointer list.
svn path=/trunk/mono/; revision=107728
Rodrigo Kumpera [Fri, 11 Jul 2008 15:41:01 +0000 (15:41 -0000)]
2008-07-11 Rodrigo Kumpera <rkumpera@novell.com>
* unverifiable_funptr_double_free_regression.il: Regression
test for double free of funptrs.
svn path=/trunk/mono/; revision=107727
George Giolfan [Fri, 11 Jul 2008 14:46:00 +0000 (14:46 -0000)]
2008-07-11 George Giolfan <georgegiolfan@yahoo.com>
* ThemeVisualStyles.cs: Fixed minimized window height adjustment.
svn path=/trunk/mcs/; revision=107719
Rodrigo Kumpera [Fri, 11 Jul 2008 13:49:37 +0000 (13:49 -0000)]
2008-07-11 Rodrigo Kumpera <rkumpera@novell.com>
* object.c (mono_string_to_utf8): Comment the new code as it
breaks under eglib.
svn path=/trunk/mono/; revision=107716
Marek Safar [Fri, 11 Jul 2008 12:11:12 +0000 (12:11 -0000)]
2008-07-11 Marek Safar <marek.safar@gmail.com>
* linq.cs: Reset tranparent parameter counter in probing mode.
svn path=/trunk/mcs/; revision=107713
Marek Safar [Fri, 11 Jul 2008 11:13:24 +0000 (11:13 -0000)]
2008-07-11 Marek Safar <marek.safar@gmail.com>
* anonymous.cs: Mutate anonymous method type.
svn path=/trunk/mcs/; revision=107710
Marek Safar [Fri, 11 Jul 2008 11:10:03 +0000 (11:10 -0000)]
2008-07-11 Marek Safar <marek.safar@gmail.com>
* ModuleBuilder.cs: Couple of micro optimizations.
svn path=/trunk/mcs/; revision=107709
Marek Habersack [Fri, 11 Jul 2008 10:09:48 +0000 (10:09 -0000)]
2008-07-11 Marek Habersack <mhabersack@novell.com>
* Control.cs: if adapter exists for the given control, use it for
rendering. Patch from Christian Hergert
<christian.hergert@gmail.com>, thanks!
svn path=/trunk/mcs/; revision=107708
Marek Safar [Fri, 11 Jul 2008 08:42:47 +0000 (08:42 -0000)]
Warnings cleanup.
svn path=/trunk/mcs/; revision=107705
Marek Safar [Fri, 11 Jul 2008 08:33:25 +0000 (08:33 -0000)]
New test.
svn path=/trunk/mcs/; revision=107704
Marek Safar [Fri, 11 Jul 2008 08:33:00 +0000 (08:33 -0000)]
2008-07-11 Marek Safar <marek.safar@gmail.com>
* ecore.cs, anonymous.cs: Mutate field expressions.
svn path=/trunk/mcs/; revision=107703
Marek Safar [Fri, 11 Jul 2008 08:26:01 +0000 (08:26 -0000)]
2008-07-11 Marek Safar <marek.safar@gmail.com>
* MonoGenericClass.cs (GetField): Put back removed code.
svn path=/trunk/mcs/; revision=107702
Zoltan Varga [Fri, 11 Jul 2008 02:51:12 +0000 (02:51 -0000)]
2008-07-11 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Disable aot for calling ldtoken in a generic
method.
svn path=/trunk/mono/; revision=107698
Martin Baulig [Thu, 10 Jul 2008 23:11:31 +0000 (23:11 -0000)]
2008-07-10 Martin Baulig <martin@ximian.com>
* mini.c (mini_method_compile): Disable generics sharing when
running in the debugger.
svn path=/trunk/mono/; revision=107683
Jonathan Pobst [Thu, 10 Jul 2008 22:06:58 +0000 (22:06 -0000)]
2008-07-10 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: Make sure last_item_visible gets reset before we try
to do a layout due to scrollbars appearing or disappearing.
[Fixes bug #408139]
svn path=/trunk/mcs/; revision=107679
Zoltan Varga [Thu, 10 Jul 2008 21:56:57 +0000 (21:56 -0000)]
2008-07-10 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Create the got var in CEE_REFANYVAL.
* inssel.brg (CEE_CASTCLASS): Avoid reusing temporary registers to prevent
the local register allocator from running out of registers on x86 when
using aot.
svn path=/trunk/mono/; revision=107678
Jonathan Pobst [Thu, 10 Jul 2008 21:42:39 +0000 (21:42 -0000)]
2008-07-10 Jonathan Pobst <monkey@jpobst.com>
* XPlatUIWin32.cs: Change GetMenuOrigin to calculate borders better
for different window themes. [Fixes bug #339140]
svn path=/trunk/mcs/; revision=107677
Bill Holmes [Thu, 10 Jul 2008 21:09:57 +0000 (21:09 -0000)]
2008-07-10 Bill Holmes <billholmes54@gmail.com>
* inssel-long.brg For OP_LCONV_TO_OVF_I4 an int cast is needed when expressing
IntMin for the VS Compiler. See Compiler Warning (level 2) C4146.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=107676
Raja R Harinath [Thu, 10 Jul 2008 17:23:58 +0000 (17:23 -0000)]
* Makefile.am (testaot): Set MONO_PATH when running the AOT compiler.
Don't set LD_LIBRARY_PATH, we're already using LIBTOOL to run the program.
svn path=/trunk/mono/; revision=107669
George Giolfan [Thu, 10 Jul 2008 16:51:47 +0000 (16:51 -0000)]
2008-07-10 George Giolfan <georgegiolfan@yahoo.com>
* ThemeWin32Classic.cs: Implemented minimized window border width properly,
in ManagedWindowBorderWidth.
svn path=/trunk/mcs/; revision=107668
Veerapuram Varadhan [Thu, 10 Jul 2008 16:46:48 +0000 (16:46 -0000)]
Fixes #326182
svn path=/trunk/mcs/; revision=107667
Jonathan Pobst [Thu, 10 Jul 2008 15:46:21 +0000 (15:46 -0000)]
2008-07-10 Jonathan Pobst <monkey@jpobst.com>
* InternalWindowManager.cs: Change MouseMove to take a point, so
we can use the same point later on.
* MdiWindowManager.cs: Store point sent to MouseMove so we can
later reset to it. On Windows, the Cursor.Position had already
changed by the time we were resetting to it.
[Fixes bug #363239]
svn path=/trunk/mcs/; revision=107659
Jonathan Pobst [Thu, 10 Jul 2008 15:18:49 +0000 (15:18 -0000)]
2008-07-10 Jonathan Pobst <monkey@jpobst.com>
* InternalWindowManager.cs: Ignore mouse actions on TitleButtons that
are inactive.
* ThemeWin32Classic.cs: Disable or hide MinimizeBox/MaximizeBox if
user requested it.
[Fixes bug #398686]
svn path=/trunk/mcs/; revision=107657
Jonathan Pobst [Thu, 10 Jul 2008 15:13:54 +0000 (15:13 -0000)]
2008-07-10 Jonathan Pobst <monkey@jpobst.com>
* MdiWindowManager.cs: Double-clicking on the title bar should not
maximize a MDI form if MaximizeBox = false.
svn path=/trunk/mcs/; revision=107652
George Giolfan [Thu, 10 Jul 2008 14:56:52 +0000 (14:56 -0000)]
2008-07-10 George Giolfan <georgegiolfan@yahoo.com>
* ThemeVisualStyles.cs: Fixed a warning.
svn path=/trunk/mcs/; revision=107651
Marek Safar [Thu, 10 Jul 2008 14:48:26 +0000 (14:48 -0000)]
New test.
svn path=/trunk/mcs/; revision=107650
George Giolfan [Thu, 10 Jul 2008 14:46:36 +0000 (14:46 -0000)]
2008-07-10 George Giolfan <georgegiolfan@yahoo.com>
* ThemeVisualStyles.cs: Fixed warnings and formatted.
* GtkPlus.cs: Fixed warnings and formatted.
svn path=/trunk/mcs/; revision=107649
Marek Safar [Thu, 10 Jul 2008 14:45:59 +0000 (14:45 -0000)]
New tests.
svn path=/trunk/mcs/; revision=107648
Marek Safar [Thu, 10 Jul 2008 14:45:43 +0000 (14:45 -0000)]
2008-07-10 Marek Safar <marek.safar@gmail.com>
A fix for bug #369670
* linq.cs, statement.cs: Use explicit block for query expressions variables.
svn path=/trunk/mcs/; revision=107647
Marek Safar [Thu, 10 Jul 2008 14:38:47 +0000 (14:38 -0000)]
2008-07-10 Marek Safar <marek.safar@gmail.com>
* report.cs, ecore.cs: Flush recorder only when silent mode is off.
svn path=/trunk/mcs/; revision=107646
Atsushi Eno [Thu, 10 Jul 2008 14:32:47 +0000 (14:32 -0000)]
2008-07-10 Atsushi Enomoto <atsushi@ximian.com>
* XmlSerializationWriter.cs : more helpful error message.
svn path=/trunk/mcs/; revision=107645
George Giolfan [Thu, 10 Jul 2008 14:11:55 +0000 (14:11 -0000)]
2008-07-10 George Giolfan <georgegiolfan@yahoo.com>
* FormTest.cs: Enabled the MinimizedWindowSize test and made it "NotWorking".
svn path=/trunk/mcs/; revision=107639
Raja R Harinath [Thu, 10 Jul 2008 13:33:49 +0000 (13:33 -0000)]
Fix bug #314902
* mcs/cs-tokenizer.cs (is_punct): If a generic lookahead is looking
only one '>', and finds a '>>', abort the generic lookahead.
* tests/gtest-402.cs: New test from #314903.
svn path=/trunk/mcs/; revision=107638
Roei Erez [Thu, 10 Jul 2008 13:14:58 +0000 (13:14 -0000)]
Change behavior of HyperLinkField bound field key should be case insensitive.
svn path=/trunk/mcs/; revision=107637
George Giolfan [Thu, 10 Jul 2008 12:56:32 +0000 (12:56 -0000)]
2008-07-10 George Giolfan <georgegiolfan@yahoo.com>
* ThemeVisualStyles.cs: Removed ManagedWindowGetMenuButtonSize. The base
implementation produces a better result.
svn path=/trunk/mcs/; revision=107635
George Giolfan [Thu, 10 Jul 2008 12:41:57 +0000 (12:41 -0000)]
2008-07-10 George Giolfan <georgegiolfan@yahoo.com>
* ThemeVisualStyles.cs: Adjusted height and border rendering for minimized
windows.
svn path=/trunk/mcs/; revision=107634
Marek Safar [Thu, 10 Jul 2008 11:27:23 +0000 (11:27 -0000)]
New tests.
svn path=/trunk/mcs/; revision=107633
Marek Safar [Thu, 10 Jul 2008 11:25:54 +0000 (11:25 -0000)]
2008-07-10 Marek Safar <marek.safar@gmail.com>
A fix for bug #319902
* cs-tokenizer.cs: Always look-ahed for `>=' when tokenizing `>'.
svn path=/trunk/mcs/; revision=107632
Roei Erez [Thu, 10 Jul 2008 11:17:42 +0000 (11:17 -0000)]
Differentiate between IPostBackEventHandler that was registered by the user, and one that was given as post parameter, so that in case ther post data may trigger both IPostBackEventHandler and IPostBackDataHandler, only the IPostBackDataHandler is actually triggered
svn path=/trunk/mcs/; revision=107631
Marek Safar [Thu, 10 Jul 2008 10:25:17 +0000 (10:25 -0000)]
2008-07-10 Marek Safar <marek.safar@gmail.com>
A fix for bug #406371
* statement.cs: Moved EmitSymbolInfo to Block.
svn path=/trunk/mcs/; revision=107628
George Giolfan [Thu, 10 Jul 2008 07:53:11 +0000 (07:53 -0000)]
2008-07-10 George Giolfan <georgegiolfan@yahoo.com>
* Application.cs: Added VisualStylesEnabled because XplatUI.ThemesEnabled
cannot be used from the ThemeEngine constructor.
* ThemeEngine.cs: Changed the XplatUI.ThemesEnabled check to
Application.VisualStylesEnabled because it does not work on X11.
* ThemeElements.cs: Changed the XplatUI.ThemesEnabled check to
Application.VisualStylesEnabled because it does not work on X11.
* GtkPlus.cs, VisualStylesGtkPlus.cs: Implemented check box
size. Extended check box painting to allow all cases.
* VisualStyleElement.cs: Added some constants.
* VisualStylesEngine.cs: Now requires environment variable
MONO_VISUAL_STYLES to be set to GtkPlus in order to select the GTK+
implementation.
svn path=/trunk/mcs/; revision=107627
Rodrigo Kumpera [Thu, 10 Jul 2008 01:53:17 +0000 (01:53 -0000)]
* DataBinder.cs (GetDataItem): Commited stupid code.
2008-07-09 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mcs/; revision=107618
Rodrigo Kumpera [Thu, 10 Jul 2008 01:52:47 +0000 (01:52 -0000)]
2008-07-09 Rodrigo Kumpera <rkumpera@novell.com>
* DataBinder.cs (GetDataItem): Use a per-thread cache for
property lookup.
svn path=/trunk/mcs/; revision=107617
Zoltan Varga [Thu, 10 Jul 2008 00:53:32 +0000 (00:53 -0000)]
2008-07-10 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Get rid of whitespace in the generated assembly file to
speed up the assembler.
svn path=/trunk/mono/; revision=107610
Zoltan Varga [Wed, 9 Jul 2008 21:56:15 +0000 (21:56 -0000)]
2008-07-09 Zoltan Varga <vargaz@gmail.com>
* mini-arm.h tramp-arm.c exceptions-arm.c aot-compiler.c: Beginnings of aot-only
support.
svn path=/trunk/mono/; revision=107605
Zoltan Varga [Wed, 9 Jul 2008 21:47:16 +0000 (21:47 -0000)]
2008-07-09 Zoltan Varga <vargaz@gmail.com>
* scripts/patch-quiet.sh: Another try to fix this on osx.
svn path=/trunk/mono/; revision=107604
Zoltan Varga [Wed, 9 Jul 2008 21:38:44 +0000 (21:38 -0000)]
2008-07-09 Zoltan Varga <vargaz@gmail.com>
* mini.c: Move the soft float handling macros a bit earlier, add
NEW_TEMPSTORE_SOFT_FLOAT macro, fix warnings, add soft-float support in one
place.
svn path=/trunk/mono/; revision=107603
Zoltan Varga [Wed, 9 Jul 2008 20:28:26 +0000 (20:28 -0000)]
2008-07-09 Zoltan Varga <vargaz@gmail.com>
* mini.h: Add prototype for mono_arch_fixup_jinfo.
svn path=/trunk/mono/; revision=107595
Zoltan Varga [Wed, 9 Jul 2008 20:22:43 +0000 (20:22 -0000)]
2008-07-09 Zoltan Varga <vargaz@gmail.com>
* scripts/patch-quiet.sh: Use \\t to encode \t.
svn path=/trunk/mono/; revision=107594
Zoltan Varga [Wed, 9 Jul 2008 19:57:29 +0000 (19:57 -0000)]
2008-07-09 Zoltan Varga <vargaz@gmail.com>
* scripts/patch-quiet.sh: Remove a stray \t.
svn path=/trunk/mono/; revision=107590
Zoltan Varga [Wed, 9 Jul 2008 19:31:58 +0000 (19:31 -0000)]
2008-07-09 Zoltan Varga <vargaz@gmail.com>
* mono-codeman.c (mono_code_manager_new): Initialize the read-only field.
svn path=/trunk/mono/; revision=107586
Raja R Harinath [Wed, 9 Jul 2008 18:49:40 +0000 (18:49 -0000)]
* configure.in (mono_cv_sizeof_sunpath): Rename cacheval from
'cv_mono_sizeof_sunpath' to placate autoconf.
svn path=/trunk/mono/; revision=107582
Zoltan Varga [Wed, 9 Jul 2008 18:37:38 +0000 (18:37 -0000)]
2008-07-09 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_init): In aot-only mode, set the root domain code manager to
read-only to help catch code allocation requests.
svn path=/trunk/mono/; revision=107580
Jonathan Pobst [Wed, 9 Jul 2008 18:36:32 +0000 (18:36 -0000)]
2008-07-09 Jonathan Pobst <monkey@jpobst.com>
* StatusBar.cs: Apply patch from Andy Hume to remove lazy instantiation
that we did not always check for, as well as fixes to the IList
implementations. [Fixes bug #402703]
2008-07-09 Jonathan Pobst <monkey@jpobst.com>
* StatusBarTest.cs: Tests from Andy Hume for StatusBarPanelCollection.
svn path=/trunk/mcs/; revision=107578
Zoltan Varga [Wed, 9 Jul 2008 18:36:10 +0000 (18:36 -0000)]
2008-07-09 Zoltan Varga <vargaz@gmail.com>
* mono-codeman.c (mono_code_manager_set_read_only): New helper function to
set the code manager to read-only status.
(mono_code_manager_reserve_align): Assert if the code manager is read only.
svn path=/trunk/mono/; revision=107577
Raja R Harinath [Wed, 9 Jul 2008 18:35:13 +0000 (18:35 -0000)]
* configure.in (enable_quiet_build): Work better on a non-srcdir build.
svn path=/trunk/mono/; revision=107576
Zoltan Varga [Wed, 9 Jul 2008 18:26:06 +0000 (18:26 -0000)]
2008-07-09 Zoltan Varga <vargaz@gmail.com>
* mini.c inssel.brg aot-compiler.c: Make the use of IMT runtime configurable,
and turn it off when using --aot-only or when compiling with --aot=full.
svn path=/trunk/mono/; revision=107574
Marek Habersack [Wed, 9 Jul 2008 17:20:29 +0000 (17:20 -0000)]
2008-07-09 Marek Habersack <mhabersack@novell.com>
* ConfigurationManager.cs: implemented a work-around for
OpenExeConfiguration ("") not working with ASP.NET apps properly.
svn path=/trunk/mcs/; revision=107569
Zoltan Varga [Wed, 9 Jul 2008 16:21:11 +0000 (16:21 -0000)]
2008-07-09 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_resolve_patch_target): In aot-only mode, allocate the
jump table for switches from the normal domain mempool, not the code
manager.
svn path=/trunk/mono/; revision=107564
Zoltan Varga [Wed, 9 Jul 2008 16:08:38 +0000 (16:08 -0000)]
2008-07-09 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (get_unbox_trampoline): New function to return an
unbox trampoline which handles aot-only mode too.
* aot-runtime.c (mono_aot_get_unbox_trampoline): New function to lookup
an AOTed unbox trampoline.
* aot-compiler.c (emit_trampolines): Emit unbox trampolines.
svn path=/trunk/mono/; revision=107559