Miguel de Icaza [Fri, 13 Oct 2006 15:46:41 +0000 (15:46 -0000)]
Update
svn path=/trunk/mono/; revision=66645
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
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
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
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
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
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
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
Miguel de Icaza [Thu, 12 Oct 2006 19:22:37 +0000 (19:22 -0000)]
Set eol style
svn path=/trunk/mcs/; revision=66635
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
Miguel de Icaza [Thu, 12 Oct 2006 19:03:06 +0000 (19:03 -0000)]
Another batch
svn path=/trunk/mcs/; revision=66633
Miguel de Icaza [Thu, 12 Oct 2006 19:02:09 +0000 (19:02 -0000)]
Remove marker
svn path=/trunk/mcs/; revision=66632
Miguel de Icaza [Thu, 12 Oct 2006 18:59:21 +0000 (18:59 -0000)]
Update this
svn path=/trunk/mcs/; revision=66631
Miguel de Icaza [Thu, 12 Oct 2006 18:42:38 +0000 (18:42 -0000)]
Distribute
svn path=/trunk/mcs/; revision=66630
Miguel de Icaza [Thu, 12 Oct 2006 18:42:10 +0000 (18:42 -0000)]
Update docs
svn path=/trunk/mcs/; revision=66629
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Wade Berrier [Wed, 11 Oct 2006 23:21:18 +0000 (23:21 -0000)]
version bump
svn path=/trunk/mono/; revision=66574
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
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
Chris Toshok [Wed, 11 Oct 2006 20:38:36 +0000 (20:38 -0000)]
nuke PropertyGridEntry.cs
svn path=/trunk/mcs/; revision=66569
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
Jackson Harper [Wed, 11 Oct 2006 19:51:14 +0000 (19:51 -0000)]
* RTF.cs: When reading in chars use an int so that we can
correctly detect EOF.
svn path=/trunk/mcs/; revision=66567
Dick Porter [Wed, 11 Oct 2006 17:33:14 +0000 (17:33 -0000)]
2006-10-11 Dick Porter <dick@ximian.com>
* FileStream.cs: Cope with 2.0 FileShare.Delete values. Patch by
Peter Dettman <peter.dettman@iinet.net.au> fixing bug 79250.
svn path=/trunk/mcs/; revision=66563
Jackson Harper [Wed, 11 Oct 2006 16:06:58 +0000 (16:06 -0000)]
* TextControl.cs: Special case for setting selection end to
selection start, we basically kill the anchor.
- some todo comments.
svn path=/trunk/mcs/; revision=66560
Paolo Molaro [Wed, 11 Oct 2006 15:33:01 +0000 (15:33 -0000)]
Wed Oct 11 17:27:05 CEST 2006 Paolo Molaro <lupus@ximian.com>
* console-io.h, filewatcher.h, locales.h, marshal.h, monitor.h,
process.h, rand.h, rawbuffer.h, security-manager.h, security.h,
socket-io.h, string-icalls.h, sysmath.h, threadpool-internals.h,
threadpool.h, threads-types.h: mark more internal functions.
svn path=/trunk/mono/; revision=66559
Chris Toshok [Wed, 11 Oct 2006 15:23:46 +0000 (15:23 -0000)]
i suck, part two
svn path=/trunk/mcs/; revision=66558
Chris Toshok [Wed, 11 Oct 2006 15:23:02 +0000 (15:23 -0000)]
curse you, svn, curse youuuuuuuuu
svn path=/trunk/mcs/; revision=66557
Paolo Molaro [Wed, 11 Oct 2006 15:21:32 +0000 (15:21 -0000)]
Add osx specific entry for iODBC lib.
svn path=/trunk/mono/; revision=66556
Chris Toshok [Wed, 11 Oct 2006 14:40:04 +0000 (14:40 -0000)]
* Control.cs: switch to using an "invalid_region" to track which
parts of the image buffer need updating. This is more code than
the simple fix from r66532. That version just attempted to always
fill the entire buffer on redraw, which turns out to be
inefficient when invalidating small rectangles. This version
simply adds the invalid rectangle to the invalid region. When we
get any WM_PAINT message we see if it can be filled using the
image buffer, and if it can't (if the paint event's clip rectangle
is visible in the invalid region) we first fill the image buffer.
So, the image buffer is still a cache, we just fill it lazily.
* PaintEventArgs.cs: remove the SetClipRectangle method, we don't
need it any longer.
2006-10-11 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=66554
Igor Zelmanovich [Wed, 11 Oct 2006 14:15:06 +0000 (14:15 -0000)]
2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
* GridView.cs: fixed:
CreateDataSourceSelectArguments works according to MSDN.
(corresponding test does not work because bug in ObjectDataSourceView)
svn path=/trunk/mcs/; revision=66553
Igor Zelmanovich [Wed, 11 Oct 2006 14:04:34 +0000 (14:04 -0000)]
2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
* DataSourceSelectArguments.cs: fixed:
SortExpression not returns null,
Empty property returns new instance each time
svn path=/trunk/mcs/; revision=66552
Miguel de Icaza [Wed, 11 Oct 2006 13:06:25 +0000 (13:06 -0000)]
2006-10-11 Miguel de Icaza <miguel@novell.com>
* convert.cs: Remove broken code: I was doing the "Existance"
tests for Implicit conversions.
svn path=/trunk/mcs/; revision=66550
Miguel de Icaza [Wed, 11 Oct 2006 12:57:06 +0000 (12:57 -0000)]
Revert, the Tcl/Tk implementation has a loss of precision
svn path=/trunk/mono/; revision=66549
Sebastien Pouliot [Wed, 11 Oct 2006 12:45:03 +0000 (12:45 -0000)]
2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConfigTest.cs: Added test cases to ensure lower/mixed-case of
algorithm names are supported by CreateFromName and MapNameToOID (fix
bug #79641). Updated some OID that were changed (well nulled) in the
final 2.0 release of MS framework.
svn path=/trunk/mcs/; revision=66548
Sebastien Pouliot [Wed, 11 Oct 2006 12:44:43 +0000 (12:44 -0000)]
2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConfig.cs: Accept lower/mixed-case algorithm names in
CreateFromName and MapNameToOID methods (fix bug #79641). Removed OID
mappings in 2.0 for DSA and 3DES (they were part of the betas but not
in the final 2.0 release of the framework).
svn path=/trunk/mcs/; revision=66547
Dick Porter [Wed, 11 Oct 2006 12:37:01 +0000 (12:37 -0000)]
2006-10-11 Dick Porter <dick@ximian.com>
* socket-io.c (ves_icall_System_Net_Sockets_Socket_Poll_internal):
Fix typo spotted by Robert Jordan in bug 79352 (though I can't
reproduce the bug even before applying the fix.)
svn path=/trunk/mono/; revision=66546
Igor Zelmanovich [Wed, 11 Oct 2006 11:32:11 +0000 (11:32 -0000)]
2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
* ObjectDataSourceView.cs: fixed:
CanRetrieveTotalRowCount returns true if EnablePaging = false
svn path=/trunk/mcs/; revision=66544
Merav Sudri [Wed, 11 Oct 2006 09:48:13 +0000 (09:48 -0000)]
svn path=/trunk/mcs/; revision=66543
Chris Toshok [Wed, 11 Oct 2006 06:01:07 +0000 (06:01 -0000)]
2006-10-11 Chris Toshok <toshok@ximian.com>
* XplatUIX11.cs (SetWindowPos): we need to update both position as
well as size after calling XMoveResizeWindow. This keeps us from
ignoring future SetWindowPos calls. Fixes the disappearing
DateTimePicker in the ToolBarDockExample from bug #72499.
2006-10-11 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=66541
Chris Toshok [Wed, 11 Oct 2006 05:55:18 +0000 (05:55 -0000)]
2006-10-10 Chris Toshok <toshok@ximian.com>
* TextBoxBase.cs: reorder things a bit when it comes to
resizing-causing-recalculation. we were recalculating the
document when our position was changed, which shouldn't happen.
We only care about size changes. Clear up some more redundant
recalculation calls while I'm at it. This makes the toolbar dock
example snappy when you're just dragging toolbars around (since it
causes a relayout whenever you move one.)
svn path=/trunk/mcs/; revision=66540
Chris Toshok [Wed, 11 Oct 2006 05:54:19 +0000 (05:54 -0000)]
2006-10-11 Chris Toshok <toshok@ximian.com>
* ToolBarButton.cs (get_Rectangle): this only returns
Rectangle.Empty if Visible == false, or Parent == null.
Parent.Visible doesn't matter.
svn path=/trunk/mcs/; revision=66539
Chris Toshok [Wed, 11 Oct 2006 05:52:57 +0000 (05:52 -0000)]
2006-10-11 Chris Toshok <toshok@ximian.com>
* ToolBarTest.cs: add test for ToolBarButton rectangles.
svn path=/trunk/mcs/; revision=66538
Miguel de Icaza [Wed, 11 Oct 2006 02:46:58 +0000 (02:46 -0000)]
2006-10-10 Miguel de Icaza <miguel@novell.com>
* convert.cs: Added one missing case in
ImplicitStandardConversionExists uint64 to intptr.
svn path=/trunk/mcs/; revision=66537
Atsushi Eno [Tue, 10 Oct 2006 23:11:22 +0000 (23:11 -0000)]
2006-10-11 Atsushi Enomoto <atsushi@ximian.com>
* SignedXml.cs : when SigningMethod does not match the algorithm that
the key actually supports, it raises an error.
* SignedXmlTest.cs : added a test for signature method mismatch.
svn path=/trunk/mcs/; revision=66535
Miguel de Icaza [Tue, 10 Oct 2006 23:00:25 +0000 (23:00 -0000)]
2006-10-10 Miguel de Icaza <miguel@novell.com>
Fixes #59800
* typemanager.cs (uintptr_type): another core known type.
* ecore.cs (OperatorCast): routine used to do cast operations that
depend on op_Explicit. We could change some of the Decimal
conversions to use this.
This one has a probe mechanism that checks both types for an op_
which it coudl be used to eliminate two classes: CastToDecimal
and CastFromDecimal.
* convert.cs: Implement the conversions documented in #59800
svn path=/trunk/mcs/; revision=66534
Chris Toshok [Tue, 10 Oct 2006 22:42:05 +0000 (22:42 -0000)]
* Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
by .net 1.1, so switch to an internal method instead.
2006-10-10 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=66533
Chris Toshok [Tue, 10 Oct 2006 21:51:36 +0000 (21:51 -0000)]
2006-10-10 Chris Toshok <toshok@ximian.com>
* Control.cs (WM_PAINT): when a control is double buffered we draw
initially to the ImageBuffer and then copy from there. But when a
parent control which has child controls is double buffered, the
initial drawing doesn't encompass the entire ClientRectangle of
the parent control, so we end up with uninitialized bits (this is
easily seen by dragging the top toolbar in
wf-apps/ToolBarDockExample to the right, quickly). The fix is to
manually set the ClipRectangle of the paint_event (only the one we
use to populate the ImageBuffer) to ClientRectangle. Fixes more
of the nastiness in bug #72499.
* PaintEventArgs.cs: Add an internal setter for ClipRectangle,
which we use in Control.cs's WM_PAINT handling.
svn path=/trunk/mcs/; revision=66532
Jackson Harper [Tue, 10 Oct 2006 20:52:50 +0000 (20:52 -0000)]
* TextBoxBase.cs: Finish off the autoscrolling stuff.
svn path=/trunk/mcs/; revision=66531
Gert Driesen [Tue, 10 Oct 2006 19:54:54 +0000 (19:54 -0000)]
* XmlSerializerTests.cs: Added a few tests. Fixed coding style.
* XmlSerializer.cs: Output namespace declarations in same order as MS.
svn path=/trunk/mcs/; revision=66530
Chris Toshok [Tue, 10 Oct 2006 19:20:03 +0000 (19:20 -0000)]
2006-10-10 Chris Toshok <toshok@ximian.com>
* Cursor.cs: Apply a slightly different patch to the one suggested
in #79609.
svn path=/trunk/mcs/; revision=66529
Jackson Harper [Tue, 10 Oct 2006 18:42:05 +0000 (18:42 -0000)]
* TextControl.cs: use difference in old line count vs new count
* to
calculate how many lines were added, this takes into account
soft
line breaks properly.
svn path=/trunk/mcs/; revision=66528
Chris Toshok [Tue, 10 Oct 2006 18:40:43 +0000 (18:40 -0000)]
remove warning
svn path=/trunk/mcs/; revision=66527
Gert Driesen [Tue, 10 Oct 2006 17:59:58 +0000 (17:59 -0000)]
Undo eol-style change.
svn path=/trunk/mcs/; revision=66526
Gert Driesen [Tue, 10 Oct 2006 17:55:42 +0000 (17:55 -0000)]
Set eol-style to native.
svn path=/trunk/mcs/; revision=66525
Gert Driesen [Tue, 10 Oct 2006 17:53:49 +0000 (17:53 -0000)]
* DeserializeTest.cs: Added several tests.
* XmlSerializerTestClasses.cs: Added test classes for encoded SOAP.
* XmlSerializerTests.cs: Added new tests and fixed existing test.
* XmlReflectionImporterTests.cs: Added test for invalid default
values.
* SoapReflectionImporterTests.cs: Fixed numbering of tests.
* XmlSerializer.cs: Corrected exception message when deserialization
fails.
* SerializationCodeGenerator.cs: Added support for flag enums.
* XmlReflectionImporter.cs: Use InvalidOperationException wrapper for
all exceptions that occur while reflecting member. Validate default
values to match MS.
* SoapReflectionImporter.cs: Revert small part of previous patch as
XmlSerializer expects enum value.
svn path=/trunk/mcs/; revision=66524
Marek Sieradzki [Tue, 10 Oct 2006 17:44:22 +0000 (17:44 -0000)]
2006-10-10 Marek Sieradzki <marek.sieradzki@gmail.com>
* xbuild/Microsoft.CSharp.targets: Added empty SearchPaths to Csc.
svn path=/trunk/mcs/; revision=66523
Marek Sieradzki [Tue, 10 Oct 2006 17:41:05 +0000 (17:41 -0000)]
2006-10-10 Marek Sieradzki <marek.sieradzki@gmail.com>
* FormatUrl.cs
* ResolveAssemblyReference.cs
* ResolveProjectBase.cs
* AssignTargetPath.cs
* CallTarget.cs
* AssignCulture.cs
* FormatVersion.cs
* AssignProjectConfiguration.cs
* CreateManifestResourceName.cs: Added missing [Output] and
[Required].
svn path=/trunk/mcs/; revision=66522
Jackson Harper [Tue, 10 Oct 2006 17:01:57 +0000 (17:01 -0000)]
* MenuItem.cs: Make sure to put the mdi child in the hashtable,
not the parent form.
svn path=/trunk/mcs/; revision=66521
Chris Toshok [Tue, 10 Oct 2006 17:00:17 +0000 (17:00 -0000)]
2006-10-10 Chris Toshok <toshok@ximian.com>
* LinkLabel.cs: don't call MeasureCharacterRanges against a
rectangle located at 0,0 and the size of the text. Use
ClientRectangle instead. This fixes rendering of non-left aligned
link labels.
svn path=/trunk/mcs/; revision=66520
Yoni Klain [Tue, 10 Oct 2006 15:30:44 +0000 (15:30 -0000)]
BaseCompareValidatorTest.cs added new tests for 2.0
svn path=/trunk/mcs/; revision=66519
Jackson Harper [Tue, 10 Oct 2006 15:20:47 +0000 (15:20 -0000)]
- Make sure that the selection_visible flag gets reset to false
if
the selection isn't visible. Before this you could get it set
to
visible by changing the selection start, then changing the end
to
equal the start.
svn path=/trunk/mcs/; revision=66518
Paolo Molaro [Tue, 10 Oct 2006 15:01:25 +0000 (15:01 -0000)]
Tue Oct 10 16:58:37 CEST 2006 Paolo Molaro <lupus@ximian.com>
* darwin_stop_world.c: patch from Allan Hsu <allan@counterpop.net>
to avoid using memory just after freeing it.
svn path=/trunk/mono/; revision=66517
Atsushi Eno [Tue, 10 Oct 2006 14:59:48 +0000 (14:59 -0000)]
2006-10-11 Atsushi Enomoto <atsushi@ximian.com>
* XPathEditableDocument.cs : (XmlDocumentEditableNavigator)
implement CanEdit to return true.
* XPathEditableNavigatorTests.cs : added test for CanEdit, based on
the patch by Konstantin Triger.
svn path=/trunk/mcs/; revision=66516
Igor Zelmanovich [Tue, 10 Oct 2006 14:58:46 +0000 (14:58 -0000)]
2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
* DataSourceSelectArguments.cs:
fixed: RaiseUnsupportedCapabilitiesError method.
svn path=/trunk/mcs/; revision=66515
Jackson Harper [Tue, 10 Oct 2006 14:55:50 +0000 (14:55 -0000)]
* TextBoxBase.cs: When we set the selection start position the
caret.
* TextControl.cs: Need to update the caret when we decrement it
* to
zero.
svn path=/trunk/mcs/; revision=66514
Konstantin Triger [Tue, 10 Oct 2006 14:32:13 +0000 (14:32 -0000)]
Ensure DataDirectory is initialized only once
svn path=/trunk/mcs/; revision=66513
Konstantin Triger [Tue, 10 Oct 2006 13:47:24 +0000 (13:47 -0000)]
Set DataDirectory substitution string (blogs.msdn.com/dataaccess/archive/2005/10/28/486273.aspx)
svn path=/trunk/mcs/; revision=66512
Konstantin Triger [Tue, 10 Oct 2006 13:43:52 +0000 (13:43 -0000)]
Include System.Web.UI.WebControls\ContainedTable.cs into compilation
svn path=/trunk/mcs/; revision=66511
Paolo Molaro [Tue, 10 Oct 2006 13:41:45 +0000 (13:41 -0000)]
Tue Oct 10 15:39:39 CEST 2006 Paolo Molaro <lupus@ximian.com>
* reflection.c: allow retrieving attributes for arguments in generic
methods (bug #79241).
svn path=/trunk/mono/; revision=66510
Konstantin Triger [Tue, 10 Oct 2006 13:24:31 +0000 (13:24 -0000)]
Add support for '|DataDirectory|' substitution string
svn path=/trunk/mcs/; revision=66509
Martin Baulig [Tue, 10 Oct 2006 11:59:39 +0000 (11:59 -0000)]
Pick the correct .ctor, not the first one.
svn path=/trunk/mcs/; revision=66506
Igor Zelmanovich [Tue, 10 Oct 2006 11:53:29 +0000 (11:53 -0000)]
2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
* DataBoundControl.cs: fixed: DataBind flow
CreateDataSourceSelectArguments() is called
each time as DataBind() is called
svn path=/trunk/mcs/; revision=66505
Martin Baulig [Tue, 10 Oct 2006 11:38:54 +0000 (11:38 -0000)]
2006-10-10 Martin Baulig <martin@ximian.com>
* iterators.cs (Iterator.Resolve): Call RootScope.ResolveType()
before RootScope.ResolveMembers().
* anonymous.cs (ScopeInfo.CapturedScope.ctor): Use the child's
`CurrentType' if appropriate.
svn path=/trunk/mcs/; revision=66504
Zoltan Varga [Tue, 10 Oct 2006 10:10:10 +0000 (10:10 -0000)]
2006-10-09 Zoltan Varga <vargaz@gmail.com>
* handles.c (timedwait_signal_poll_cond): Add an alertable parameter, and if it
is FALSE, avoid busy waiting.
* wait.c: Add an alertable parameter to the wait routines.
svn path=/trunk/mono/; revision=66503
Yoni Klain [Tue, 10 Oct 2006 10:00:09 +0000 (10:00 -0000)]
svn path=/trunk/mcs/; revision=66502
Paolo Molaro [Tue, 10 Oct 2006 09:48:53 +0000 (09:48 -0000)]
Tue Oct 10 11:45:50 CEST 2006 Paolo Molaro <lupus@ximian.com>
* debug-mono-symfile.c: properly check fopen () result (found by
coverity).
svn path=/trunk/mono/; revision=66501
Paolo Molaro [Tue, 10 Oct 2006 09:36:07 +0000 (09:36 -0000)]
Tue Oct 10 11:35:20 CEST 2006 Paolo Molaro <lupus@ximian.com>
* genmdesc.c: removed now dead code.
svn path=/trunk/mono/; revision=66499
Paolo Molaro [Tue, 10 Oct 2006 09:34:18 +0000 (09:34 -0000)]
Tue Oct 10 11:30:52 CEST 2006 Paolo Molaro <lupus@ximian.com>
* reflection.c: make error message clearer and fixed two
issuelets found by Coverity.
svn path=/trunk/mono/; revision=66498