Atsushi Eno [Sat, 13 May 2006 17:56:04 +0000 (17:56 -0000)]
2006-05-12 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationSettings.cs : another System.Orgy insanity.
svn path=/trunk/mcs/; revision=60678
Joshua Tauberer [Sat, 13 May 2006 11:20:21 +0000 (11:20 -0000)]
Sqlite's sqlite3_last_insert_rowid binding had the wrong return type (int vs long).
svn path=/trunk/mcs/; revision=60676
Atsushi Eno [Sat, 13 May 2006 10:35:14 +0000 (10:35 -0000)]
2006-05-13 Atsushi Enomoto <atsushi@ximian.com>
* Uri.cs : sometimes OriginalString was null. Fixed bug #78374.
Actually this property is LAMESPEC. Never use it.
* UriTest3.cs : added tests for lame OriginalString property.
svn path=/trunk/mcs/; revision=60675
Chris Toshok [Sat, 13 May 2006 01:46:34 +0000 (01:46 -0000)]
2006-05-12 Chris Toshok <toshok@ximian.com>
* ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
thumb, instead use MoveThumb. This has the side effect of making
most of the other thumb moving machinery use MoveThumb as well.
(OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
need to actually invalidate the rectangle where the new thumb will
go.
(MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
We force an Update() after, so it's not as fast as it could be,
but at least there's zero flicker and no droppings.
(OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
(UpdateThumbPos): add another argument (dirty), which says whether
or not to calculate/add dirty regions which we later invalidate.
For cases where we know we're going to use MoveThumb, we pass
false for this. Otherwise, pass true.
svn path=/trunk/mcs/; revision=60674
Jackson Harper [Fri, 12 May 2006 22:41:38 +0000 (22:41 -0000)]
* ThemeWin32Class.cs: Fixes for alignment and icon rendering in
the status bar.
svn path=/trunk/mcs/; revision=60671
Chris Toshok [Fri, 12 May 2006 21:58:21 +0000 (21:58 -0000)]
(OnMouseUpSB): remove the call to refresh when releasing the
thumb. We shouldn't need it.
svn path=/trunk/mcs/; revision=60670
Peter Dennis Bartok [Fri, 12 May 2006 21:45:04 +0000 (21:45 -0000)]
2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
and GetClipRegion methods and UserClipWontExposeParent property.
* XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
overriding UserClipWontExposeParent property, setting to false, since
Win32 handles the required expose messages to draw our clipped parent
areas internally
* XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
PaintEventStart to set the user clip region if set.
* Control.cs:
- Now internally tracking the Region for the control since we need to
store it if the handle is not yet created and only set it when it
becomes created. Before setting the region forced handle creation
- Added code to draw the parents underneath a user-clipped region
* Hwnd.cs: Added UserClip property
svn path=/trunk/mcs/; revision=60669
Chris Toshok [Fri, 12 May 2006 21:43:51 +0000 (21:43 -0000)]
2006-05-12 Chris Toshok <toshok@ximian.com>
* ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
(set_Maximum): same.
(set_Minimum): same.
(set_SmallChange): same.
svn path=/trunk/mcs/; revision=60668
Miguel de Icaza [Fri, 12 May 2006 20:38:50 +0000 (20:38 -0000)]
Flush
svn path=/trunk/mcs/; revision=60667
Miguel de Icaza [Fri, 12 May 2006 20:36:38 +0000 (20:36 -0000)]
2006-05-12 Miguel de Icaza <miguel@novell.com>
* StatusBar.cs (UpdatePanel): If the panel being refreshes has the
AutoSize set to None, we do not need to relayout everything, we
just need to invalidate the current region.
(Draw): Do not draw the entire ClientArea, just redraw the
clip area being passed.
svn path=/trunk/mcs/; revision=60666
Jackson Harper [Fri, 12 May 2006 20:29:29 +0000 (20:29 -0000)]
Remove extra icon draw.
svn path=/trunk/mcs/; revision=60665
Jackson Harper [Fri, 12 May 2006 20:23:40 +0000 (20:23 -0000)]
Draw the icon correctly (broke right before checking in).
svn path=/trunk/mcs/; revision=60664
Carlos Alberto Cortez [Fri, 12 May 2006 20:18:55 +0000 (20:18 -0000)]
2005-05-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ISerialStream.cs: Add support for break state.
* SerialPort.cs: Likewise.
* WinSerialStream.cs: Add support for break state and
some other bits (BytesToRead, BytesToWrite, DsrHolding,
CDHolding, CtsHolding, DiscardIn, DiscardOut).
* SerialPortStream.cs: Add a SetBreak function to
implement the updated ISerialStream interface (not implemented
by now).
svn path=/trunk/mcs/; revision=60663
Sebastien Pouliot [Fri, 12 May 2006 19:58:22 +0000 (19:58 -0000)]
2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPath.cs: Fix misnamed GdipAdd*Path*String[I] API (#78383)
svn path=/trunk/mcs/; revision=60662
Sebastien Pouliot [Fri, 12 May 2006 19:57:41 +0000 (19:57 -0000)]
2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
* gdipFunctions.c: Fix misnamed GdipAdd*Path*String[I] API (#78383)
svn path=/trunk/mcs/; revision=60661
Sebastien Pouliot [Fri, 12 May 2006 19:39:34 +0000 (19:39 -0000)]
2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
* TestRegion.cs: Added a new test case for unioning a rectangle with
infinity and a new test case for GetRegionScans.
svn path=/trunk/mcs/; revision=60658
Miguel de Icaza [Fri, 12 May 2006 19:34:28 +0000 (19:34 -0000)]
2006-05-12 Miguel de Icaza <miguel@novell.com>
* MdiClient.cs: Make MdiClient constructor with the Form argument
internal.
svn path=/trunk/mcs/; revision=60657
Jackson Harper [Fri, 12 May 2006 19:21:19 +0000 (19:21 -0000)]
* ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
parents background image, but strangely not their own.
- (DrawStatusBarPanel): Take into account horizontal alignment
when drawing the strings and icons.
svn path=/trunk/mcs/; revision=60655
Atsushi Eno [Fri, 12 May 2006 18:19:29 +0000 (18:19 -0000)]
2006-05-12 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationSettings.cs : ok, now I correctly understand the
problem. Since appSettings section handlers are different between
1.x and 2.0 AppSettings property implementation should also be
different. It should really fix bug #78372.
svn path=/trunk/mcs/; revision=60654
Wade Berrier [Fri, 12 May 2006 17:05:06 +0000 (17:05 -0000)]
* threads.c: Define G_GSIZE_FORMAT for systems with glib < 2.6
svn path=/trunk/mono/; revision=60649
Mike Kestner [Fri, 12 May 2006 16:57:58 +0000 (16:57 -0000)]
remove cwl, damnit
svn path=/trunk/mcs/; revision=60647
Mike Kestner [Fri, 12 May 2006 16:34:49 +0000 (16:34 -0000)]
2006-05-12 Mike Kestner <mkestner@novell.com>
* ListBox.cs: avoid invalidations for focus when the collection is
empty.
svn path=/trunk/mcs/; revision=60644
Chris Toshok [Fri, 12 May 2006 16:07:25 +0000 (16:07 -0000)]
* ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
invalidate the entire thumb area. Call InvalidateDirty which
limits the redraw to the thumb itself and surrounding pixels.
svn path=/trunk/mcs/; revision=60642
Zoltan Varga [Fri, 12 May 2006 15:46:33 +0000 (15:46 -0000)]
2006-05-12 Zoltan Varga <vargaz@gmail.com>
* make_store_test.sh make_obj_store_test.sh make_stack_merge_test.sh: Make
valuetypes sealed to fix ilasm warnings.
svn path=/trunk/mono/; revision=60639
Chris Toshok [Fri, 12 May 2006 15:11:23 +0000 (15:11 -0000)]
* XplatUIX11.cs (ScrollWindow): optimize copying.
2006-05-12 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=60635
Chris Toshok [Fri, 12 May 2006 15:02:30 +0000 (15:02 -0000)]
2006-05-12 Chris Toshok <toshok@ximian.com>
* DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
Figure out the positioning/layout in a single pass instead of
multiple recursive invocations. Speeds up the initial display of
the data grid. Also, make many things private that were
originally public but unused outside this class.
svn path=/trunk/mcs/; revision=60634
Zoltan Varga [Fri, 12 May 2006 15:01:42 +0000 (15:01 -0000)]
2006-05-12 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_fnptr_class_get): Set class->image to corlib for now, since other
functions try to allocate from the image mempool.
svn path=/trunk/mono/; revision=60633
Dick Porter [Fri, 12 May 2006 10:38:20 +0000 (10:38 -0000)]
2006-05-12 Dick Porter <dick@ximian.com>
* threads.c: Implement pseudo handles, making GetCurrentThread()
match MS behaviour. Notice when attached threads exit, and unref
the handle. Fix usage of GetCurrentThread() in other places.
* handles.c (DuplicateHandle): Implement a basic form of
DuplicateHandle().
* wait.c: Fix usage of GetCurrentThread() throughout, and cope
with pseudo handles.
2006-05-12 Dick Porter <dick@ximian.com>
* threads.c (mono_thread_attach): Fix usage of GetCurrentThread().
svn path=/trunk/mono/; revision=60618
Lluis Sanchez [Fri, 12 May 2006 10:07:28 +0000 (10:07 -0000)]
2006-05-12 Lluis Sanchez <lluis@ximian.com>
* object.c: The FieldGetter and FieldSetter methods require the full
name of the class, not only the name. Fixes bug #78277.
svn path=/trunk/mono/; revision=60617
Atsushi Eno [Fri, 12 May 2006 09:54:22 +0000 (09:54 -0000)]
2006-05-12 Atsushi Enomoto <atsushi@ximian.com>
* Configuration.cs : configPath is null for machine.config, so don't
use it. Use streamName instead. To my understanding, this should
fix bug #78372.
* ConfigurationManagerTest.cs :
added test for OpenMachineConfiguration().
svn path=/trunk/mcs/; revision=60616
Jackson Harper [Thu, 11 May 2006 23:24:57 +0000 (23:24 -0000)]
* MdiClient.cs: Improved layout code.
svn path=/trunk/mcs/; revision=60612
Jonathan Chambers [Thu, 11 May 2006 22:50:39 +0000 (22:50 -0000)]
2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
* PropertyGrid.cs : Only check GetPropertiesSupported for properties,
not SelectedObject.
svn path=/trunk/mcs/; revision=60609
Peter Dennis Bartok [Thu, 11 May 2006 21:34:46 +0000 (21:34 -0000)]
2006-05-11 Peter Dennis Bartok <pbartok@novell.com>
* Icon.cs: Don't require width/height to be non-0 when creating from
serialized data, just require them to be square
svn path=/trunk/mcs/; revision=60608
Chris Toshok [Thu, 11 May 2006 20:10:00 +0000 (20:10 -0000)]
we still need a guard here, for invalid_list.Count == 0
svn path=/trunk/mcs/; revision=60605
Chris Toshok [Thu, 11 May 2006 20:01:30 +0000 (20:01 -0000)]
2006-05-11 Chris Toshok <toshok@ximian.com>
* Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
union of that will always be {0,0,width,height}.
svn path=/trunk/mcs/; revision=60604
Jackson Harper [Thu, 11 May 2006 19:12:46 +0000 (19:12 -0000)]
* Form.cs: Match MS's DefaultSize for forms (they must have
changed the size in sp2).
svn path=/trunk/mcs/; revision=60603
Atsushi Eno [Thu, 11 May 2006 17:25:29 +0000 (17:25 -0000)]
2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
* ReflectionPropertyDescriptor.cs,
DerivedPropertyDescriptor.cs : invoke OnValueChanged() when
the value was successfully changed. It is needed to have
MWF PropertyGrid change properties successfully.
svn path=/trunk/mcs/; revision=60601
Atsushi Eno [Thu, 11 May 2006 15:59:23 +0000 (15:59 -0000)]
2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
* TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
svn path=/trunk/mcs/; revision=60598
Atsushi Eno [Thu, 11 May 2006 15:57:17 +0000 (15:57 -0000)]
2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
* TextControl.cs : Fixed bug #78109. This incorrect position
comparison caused crash on automatic line split.
* TextBoxBase.cs : reduce duplicate code.
svn path=/trunk/mcs/; revision=60597
Ankit Jain [Thu, 11 May 2006 14:36:04 +0000 (14:36 -0000)]
* get.c (get_custom_mod): Fix printing of custom modifiers.
(dis_stringify_type): Likewise.
(get_field_signature): Likewise.
(get_ret_type): Likewise.
(get_param): Likewise.
svn path=/trunk/mono/; revision=60595
Ankit Jain [Thu, 11 May 2006 13:45:29 +0000 (13:45 -0000)]
In ilasm/tests:
* test-modifiers.il: New. Test for custom modifiers, modreq & modopt.
In ilasm/parser:
* ILParser.jay (type |type MODREQ ..): Use CustomModifier.modreq .
svn path=/trunk/mcs/; revision=60592
Andrew Skiba [Thu, 11 May 2006 13:22:12 +0000 (13:22 -0000)]
This check is unnecessary
svn path=/trunk/mcs/; revision=60591
Zoltan Varga [Thu, 11 May 2006 11:44:48 +0000 (11:44 -0000)]
2006-05-11 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_init): Call pthread_attr_destroy () to fix a small memory leak.
svn path=/trunk/mono/; revision=60590
Zoltan Varga [Thu, 11 May 2006 11:44:25 +0000 (11:44 -0000)]
2006-05-11 Zoltan Varga <vargaz@gmail.com>
* assembly.c (mono_assembly_load_from_full): Fix a bunch of warnings.
(mono_assembly_close): Null out assembly->image->references after freeing it.
* image.c (mono_image_close): Free image->references.
svn path=/trunk/mono/; revision=60589
Zoltan Varga [Thu, 11 May 2006 11:36:01 +0000 (11:36 -0000)]
2006-05-11 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_image_basic_init): Fix a small memory leak.
svn path=/trunk/mono/; revision=60588
Ankit Jain [Thu, 11 May 2006 11:32:20 +0000 (11:32 -0000)]
In ilasm/codegen:
* CodeGen.cs (CodeGen.AddDataDef): Use Report.Error for consistent error
reporting.
* MethodDef.cs (MethodDef.AddLabel): Likewise.
In ilasm:
* Report.cs (Report.Error): Add 2 new overloads.
(ILAsmException.ctor): Add 2 new overloads, with location and file_path
params.
(ILAsmException.Location):
(ILAsmException.FilePath): New properties.
(ILAsmException.ToString): Return formatted error message.
* Driver.cs (DriverMain.ProcessFile): Improve error message display.
(DriverMain.Run): Use ILAsmException.ToString ().
In ilasm/scanner:
* ILTokenizingExpcetion.cs (Location): Remove. Already inherited from
ILAsmException.
svn path=/trunk/mcs/; revision=60586
Andrew Skiba [Thu, 11 May 2006 11:24:47 +0000 (11:24 -0000)]
Load all referenced asseblies in parent domain before copying assemblies to new domain.
svn path=/trunk/mcs/; revision=60585
Raja R Harinath [Thu, 11 May 2006 10:47:15 +0000 (10:47 -0000)]
In mcs:
* flowanalysis.cs (UsageVector.MergeJumpOrigins): Kill.
(FlowBranchingBlock.Label): Use UsageVector.MergeOrigins.
(FlowBranchingException.Label): Likewise.
In gmcs:
* flowanalysis.cs (UsageVector.MergeJumpOrigins): Kill.
(FlowBranchingBlock.Label): Use UsageVector.MergeOrigins.
(FlowBranchingException.Label): Likewise.
In tests:
* test-154.cs (test39): Move buggy testcase to errors/cs0177-7.cs.
Fix it and move ...
* test-510.cs: ... here.
In errors:
* cs0177-7.cs: Taken from erroneous sub-test in tests/test-154.cs.
svn path=/trunk/mcs/; revision=60584
Raja R Harinath [Thu, 11 May 2006 09:26:07 +0000 (09:26 -0000)]
* mcs/flowanalysis.cs (MyBitVector.SetAll): New. Sets all bits to the
given value.
(MyBitVector.Or): Use it to avoid losing information (Count).
(FlowBranching.MergeOrigins): Likewise.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=60582
Raja R Harinath [Thu, 11 May 2006 09:12:09 +0000 (09:12 -0000)]
* mcs/flowanalysis.cs (UsageVector.IsDirty): Remove.
(UsageVector.Parameters, UsageVector.ParameterVector): Likewise.
(UsageVector.Locals, UsageVector.LocalVector): Likewise.
(UsageVector.ToString): Simplify.
(UsageVector.MergeSiblings): Move here from ...
(FlowBranching.Merge): ... here.
(FlowBranchingToplevel.CheckOutParameters): Take an UsageVector,
not a MyBitVector.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=60581
Andrew Skiba [Thu, 11 May 2006 08:42:50 +0000 (08:42 -0000)]
refactory CopyAssembly, make Helper accessible from web context, fallback for user exceptions
svn path=/trunk/mcs/; revision=60580
Ankit Jain [Thu, 11 May 2006 08:32:47 +0000 (08:32 -0000)]
* MethodDef.cs (MethodDef.AddLabel): Fix exception message.
svn path=/trunk/mcs/; revision=60578
Andrew Skiba [Thu, 11 May 2006 07:11:37 +0000 (07:11 -0000)]
use LinkedStyleSheets from the PageTheme and from StyleSheetPageTheme to insert links in page header.
svn path=/trunk/mcs/; revision=60577
Ankit Jain [Thu, 11 May 2006 07:06:08 +0000 (07:06 -0000)]
* get.c (dis_stringify_method_signature): Rename to ..
(dis_stringify_method_signature_full): .. this. Add 'with_marshal_info'
param.
* get.h (dis_stringify_method_signature_full): Add new function.
* main.c (dis_property_methods): Update to use
dis_stringify_method_signature_full.
(dis_event_methods): Likewise.
svn path=/trunk/mono/; revision=60575
Jackson Harper [Thu, 11 May 2006 05:19:42 +0000 (05:19 -0000)]
* MdiClient.cs: Active form is only sent to the back when using
the Next form functionality, when a form is clicked the current
active shouldn't be sent to the back.
- Layout the mdi windows when the container is first made
visible.
* Form.cs: Give the MdiClient a ref to the containing form when
* we
create it.
svn path=/trunk/mcs/; revision=60574
Raja R Harinath [Thu, 11 May 2006 03:28:37 +0000 (03:28 -0000)]
* mcs/flowanalysis.cs (UsageVector.MergeOrigins): Simplify, now that a
null bitvector is treated as all-true.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=60573
Atsushi Eno [Wed, 10 May 2006 21:54:02 +0000 (21:54 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* LinkLabel.cs : link_font could be uninitialized, so populate one
before actual use. Fixed bug #78340.
svn path=/trunk/mcs/; revision=60559
Atsushi Eno [Wed, 10 May 2006 21:05:50 +0000 (21:05 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* XplatUIX11.cs : clipboard format native value is IntPtr.
Fixed bug #78283.
svn path=/trunk/mcs/; revision=60557
Peter Dennis Bartok [Wed, 10 May 2006 20:57:01 +0000 (20:57 -0000)]
2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Instead of showing context menus directly we send WM_CONTEXTMENU,
which is passed up the parent chain by DefWndProc
- We now handle WM_CONTEXTMENU to display any menu, or pass it
to DefWndProc (#77956)
* XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
svn path=/trunk/mcs/; revision=60556
Jackson Harper [Wed, 10 May 2006 20:23:39 +0000 (20:23 -0000)]
* MdiClient.cs: We need to remove the controls from the mdi
collection, when we close the window.
* MdiWindowManager.cs: Special handling of closing mdi windows.
* InternalWindowManager.cs: Make the close method virtual so the
mdi window manager can handle it specially.
svn path=/trunk/mcs/; revision=60554
Jordi Mas i Hernandez [Wed, 10 May 2006 20:16:44 +0000 (20:16 -0000)]
2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
* DataGrid.cs:
- Recalculate grid when the data source has changed
- Matches styles provided by user from all data sources types
* DataGridTableStyle.cs: For columns that provided by the user set the
with the preferred value is there was unassigned.
* CurrencyManager.cs: throw OnItemChanged event
svn path=/trunk/mcs/; revision=60553
Peter Dennis Bartok [Wed, 10 May 2006 19:52:29 +0000 (19:52 -0000)]
2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
* PictureBox.cs: Don't animate until handle is created. Start animation
when handle is created.
svn path=/trunk/mcs/; revision=60551
Peter Dennis Bartok [Wed, 10 May 2006 19:47:48 +0000 (19:47 -0000)]
* XEventQueue.cs: We don't need to provide the extra info
svn path=/trunk/mcs/; revision=60550
Peter Dennis Bartok [Wed, 10 May 2006 19:42:38 +0000 (19:42 -0000)]
2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
current codebase.
svn path=/trunk/mcs/; revision=60549
Chris Toshok [Wed, 10 May 2006 19:34:58 +0000 (19:34 -0000)]
add test for LinkedStyleSheet support with themes
svn path=/trunk/mcs/; revision=60548
Jackson Harper [Wed, 10 May 2006 19:19:30 +0000 (19:19 -0000)]
* MdiClient.cs: If the mdi clients parent form has a background
image set, we draw that background image for the mdi area's
background.
svn path=/trunk/mcs/; revision=60545
Mike Kestner [Wed, 10 May 2006 19:08:37 +0000 (19:08 -0000)]
2006-05-10 Mike Kestner <mkestner@novell.com>
* ToolBar.cs: fix some text padding issues with ButtonSize
calculation. Update the default size to match MS documentation.
* ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
button size. Fixes #78296.
svn path=/trunk/mcs/; revision=60542
Peter Dennis Bartok [Wed, 10 May 2006 18:57:03 +0000 (18:57 -0000)]
2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs: Set IBeam cursor (#78347)
svn path=/trunk/mcs/; revision=60541
Mike Kestner [Wed, 10 May 2006 18:45:26 +0000 (18:45 -0000)]
2006-05-10 Mike Kestner <mkestner@novell.com>
* ListBox.cs: use is_visible for scrollbar positioning in case the
control isn't on screen yet. Fix off by one with Right vs Width
usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
svn path=/trunk/mcs/; revision=60540
Sebastien Pouliot [Wed, 10 May 2006 18:31:15 +0000 (18:31 -0000)]
2006-05-10 Sebastien Pouliot <sebastien@ximian.com>
* marshal.c: In function mono_mb_add_local don't use the mb pointer
before checking if it's NULL (g_assert).
svn path=/trunk/mono/; revision=60539
Jackson Harper [Wed, 10 May 2006 18:00:56 +0000 (18:00 -0000)]
* X11Dnd.cs: Drop to a control with another control on top of
* it.
* ToolBar.cs: Work on a copy of the buttons list, so that it can
be modified in click handlers. TODO: Look for similar problems
in
other controls.
svn path=/trunk/mcs/; revision=60537
Zoltan Varga [Wed, 10 May 2006 17:54:09 +0000 (17:54 -0000)]
2006-05-10 Zoltan Varga <vargaz@gmail.com>
* MonoType.cs (GetMethodImpl): Fix a warning.
svn path=/trunk/mcs/; revision=60536
Zoltan Varga [Wed, 10 May 2006 17:53:39 +0000 (17:53 -0000)]
2006-05-10 Zoltan Varga <vargaz@gmail.com>
* Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
svn path=/trunk/mcs/; revision=60535
Martin Baulig [Wed, 10 May 2006 17:52:35 +0000 (17:52 -0000)]
New test.
svn path=/trunk/mcs/; revision=60534
Martin Baulig [Wed, 10 May 2006 17:47:30 +0000 (17:47 -0000)]
2006-05-10 Martin Baulig <martin@ximian.com>
* metadata.c (mono_type_size): Kill the g_assert() in MONO_TYPE_GENERICINST;
I thought I already killed that two months ago, but now it somehow reappeared.
svn path=/trunk/mono/; revision=60533
Sebastien Pouliot [Wed, 10 May 2006 17:29:28 +0000 (17:29 -0000)]
2006-05-10 Sebastien Pouliot <sebastien@ximian.com>
* PathGradientBrush.cs: Added MonoTODO to warn about the lack of
support, for most cases, when using libgdiplus.
svn path=/trunk/mcs/; revision=60532
Jackson Harper [Wed, 10 May 2006 17:29:05 +0000 (17:29 -0000)]
* X11Dnd.cs: Drop to a control with another control on top of
* it.
svn path=/trunk/mcs/; revision=60531
Zoltan Varga [Wed, 10 May 2006 17:22:42 +0000 (17:22 -0000)]
2006-05-10 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c (mono_arch_instrument_epilog): Fix handling of
MONO_TYPE_GENERICINST.
svn path=/trunk/mono/; revision=60528
Martin Baulig [Wed, 10 May 2006 17:14:48 +0000 (17:14 -0000)]
2006-05-10 Martin Baulig <martin@ximian.com>
* mono-debug.c (mono_debug_add_method): Allow instantiated generic methods.
svn path=/trunk/mono/; revision=60522
Zoltan Varga [Wed, 10 May 2006 16:32:25 +0000 (16:32 -0000)]
2006-05-10 Zoltan Varga <vargaz@gmail.com>
* reflection.c: Allocate memory for dynamically created methods in the image
mempools.
svn path=/trunk/mono/; revision=60520
Sebastien Pouliot [Wed, 10 May 2006 15:39:48 +0000 (15:39 -0000)]
2006-05-10 Sebastien Pouliot <sebastien@ximian.com>
* appdomain.c: In ves_icall_System_AppDomain_[Get|Set]Data functions,
don't use the ad pointer before checking if it's NULL (g_assert).
svn path=/trunk/mono/; revision=60517
Atsushi Eno [Wed, 10 May 2006 15:10:54 +0000 (15:10 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* ConnectionStringSettings.cs : it seems that "name" property
could be null i.e. there is no StringValidator.
* StringValidator.cs : allow null.
* StringValidatorTest.cs : added NullZero().
svn path=/trunk/mcs/; revision=60516
Gonzalo Paniagua Javier [Wed, 10 May 2006 14:52:19 +0000 (14:52 -0000)]
2006-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: get rid of TryParseHexa.
svn path=/trunk/mcs/; revision=60515
Atsushi Eno [Wed, 10 May 2006 14:50:31 +0000 (14:50 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationManager.cs : use GetCallingAssembly() instead of
GetEntryAssembly() which possibly returns null (e.g. nunit) in
OpenExeConfiguration(). Several nunit test failures are gone.
svn path=/trunk/mcs/; revision=60514
Atsushi Eno [Wed, 10 May 2006 14:48:14 +0000 (14:48 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* t36.cs, t36-lib.cs, t36.exe.config, t36.exe.expected :
new test for bug #77236.
* Makefile : added a trick for building this test.
svn path=/trunk/mcs/; revision=60513
Atsushi Eno [Wed, 10 May 2006 12:28:59 +0000 (12:28 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* ConnectionStringSettings.cs : oops, this API fix broke standalone
test.
svn path=/trunk/mcs/; revision=60505
Atsushi Eno [Wed, 10 May 2006 12:14:14 +0000 (12:14 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* ObjectType.cs :
getObjTstToInt64() always returned 0. Fixed bug #75386.
svn path=/trunk/mcs/; revision=60504
Atsushi Eno [Wed, 10 May 2006 11:49:53 +0000 (11:49 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationElement.cs,
ConfigurationErrorsException.cs,
ConfigurationUserLevel.cs,
ConfigurationPropertyOptions.cs,
ConnectionStringSettings.cs : assorted minor corcompare fixes.
svn path=/trunk/mcs/; revision=60503
Raja R Harinath [Wed, 10 May 2006 11:35:01 +0000 (11:35 -0000)]
* mcs/flowanalysis.cs (MyBitVector.And, MyBitVector.Or): Make lazier.
(MyBitVector): Rationalize invariants. 'vector != null' implies
that we have our own copy of the bitvector. Otherwise,
'InheritsFrom == null' implies all inherited bits are true.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=60502
Ankit Jain [Wed, 10 May 2006 11:32:59 +0000 (11:32 -0000)]
In ilasm/parser:
* ILParser.jay (native_type | K_ERROR): Use NativeType.Error for the
value.
(native_type | K_LPSTRUCT): Likewise for K_LPSTRUCT.
In class/PEAPI:
* Metadata.cs (NativeType): Add LPStruct and Error.
svn path=/trunk/mcs/; revision=60500
Atsushi Eno [Wed, 10 May 2006 11:29:13 +0000 (11:29 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* Configuration.cs : some kind of refactoring is absolutely needed
here. Reuse RawXml from parentSection when data was not available
on current section. This should fix bug #78353.
svn path=/trunk/mcs/; revision=60499
Ankit Jain [Wed, 10 May 2006 11:19:49 +0000 (11:19 -0000)]
* get.c (init_key_table): Add keyword 'switch'.
svn path=/trunk/mono/; revision=60497
Ankit Jain [Wed, 10 May 2006 08:41:07 +0000 (08:41 -0000)]
* get.c (init_key_table): Add keyword 'property'.
svn path=/trunk/mono/; revision=60494
Ankit Jain [Wed, 10 May 2006 07:56:36 +0000 (07:56 -0000)]
In ilasm/scanner:
* ILTables.cs (keywords): Add 'property' for NET_2_0.
In ilasm/parser:
* ILParser.jay: Add K_PROPERTY.
svn path=/trunk/mcs/; revision=60492
Andrew Skiba [Wed, 10 May 2006 06:18:58 +0000 (06:18 -0000)]
surround file name with quotes
svn path=/trunk/mcs/; revision=60491
Andrew Skiba [Wed, 10 May 2006 06:04:54 +0000 (06:04 -0000)]
keep the internal exception
svn path=/trunk/mcs/; revision=60490
Atsushi Eno [Wed, 10 May 2006 05:26:19 +0000 (05:26 -0000)]
and let new status pages show up.
svn path=/trunk/mono/; revision=60488
Atsushi Eno [Wed, 10 May 2006 05:25:40 +0000 (05:25 -0000)]
handle 2.0 with simply "make PROFILE=net_2_0".
svn path=/trunk/mono/; revision=60487
Atsushi Eno [Wed, 10 May 2006 05:00:13 +0000 (05:00 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* test-enum-indstoreil.il : removed duplicate label.
Fixed test-runtime.
svn path=/trunk/mono/; revision=60486
Atsushi Eno [Wed, 10 May 2006 03:43:30 +0000 (03:43 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* data/net_2_0/machine.config : updated webRequestModules,
defaultProxy and connectionManagement handlers.
svn path=/trunk/mono/; revision=60485