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

17 years ago * RTF.cs: When reading in chars use an int so that we can
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

17 years ago2006-10-11 Dick Porter <dick@ximian.com>
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

17 years ago * TextControl.cs: Special case for setting selection end to
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

17 years agoWed Oct 11 17:27:05 CEST 2006 Paolo Molaro <lupus@ximian.com>
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

17 years agoi suck, part two
Chris Toshok [Wed, 11 Oct 2006 15:23:46 +0000 (15:23 -0000)]
i suck, part two

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

17 years agocurse you, svn, curse youuuuuuuuu
Chris Toshok [Wed, 11 Oct 2006 15:23:02 +0000 (15:23 -0000)]
curse you, svn, curse youuuuuuuuu

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

17 years agoAdd osx specific entry for iODBC lib.
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

17 years ago * Control.cs: switch to using an "invalid_region" to track which
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

17 years ago2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
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

17 years ago2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
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

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

17 years agoRevert, the Tcl/Tk implementation has a loss of precision
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

17 years ago2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago2006-10-11 Dick Porter <dick@ximian.com>
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

17 years ago2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
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

17 years agosvn path=/trunk/mcs/; revision=66543
Merav Sudri [Wed, 11 Oct 2006 09:48:13 +0000 (09:48 -0000)]
svn path=/trunk/mcs/; revision=66543

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

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

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

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

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

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

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

17 years ago * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
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

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

17 years ago * TextBoxBase.cs: Finish off the autoscrolling stuff.
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

17 years ago* XmlSerializerTests.cs: Added a few tests. Fixed coding style.
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

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

17 years ago * TextControl.cs: use difference in old line count vs new count
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

17 years agoremove warning
Chris Toshok [Tue, 10 Oct 2006 18:40:43 +0000 (18:40 -0000)]
remove warning

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

17 years agoUndo eol-style change.
Gert Driesen [Tue, 10 Oct 2006 17:59:58 +0000 (17:59 -0000)]
Undo eol-style change.

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

17 years agoSet eol-style to native.
Gert Driesen [Tue, 10 Oct 2006 17:55:42 +0000 (17:55 -0000)]
Set eol-style to native.

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

17 years ago* DeserializeTest.cs: Added several tests.
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

17 years ago2006-10-10 Marek Sieradzki <marek.sieradzki@gmail.com>
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

17 years ago2006-10-10 Marek Sieradzki <marek.sieradzki@gmail.com>
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

17 years ago * MenuItem.cs: Make sure to put the mdi child in the hashtable,
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

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

17 years agoBaseCompareValidatorTest.cs added new tests for 2.0
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

17 years ago - Make sure that the selection_visible flag gets reset to false
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

17 years agoTue Oct 10 16:58:37 CEST 2006 Paolo Molaro <lupus@ximian.com>
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

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

17 years ago2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
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

17 years ago * TextBoxBase.cs: When we set the selection start position the
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

17 years agoEnsure DataDirectory is initialized only once
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

17 years agoSet DataDirectory substitution string (http://blogs.msdn.com/dataaccess/archive/2005...
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

17 years agoInclude System.Web.UI.WebControls\ContainedTable.cs into compilation
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

17 years agoTue Oct 10 15:39:39 CEST 2006 Paolo Molaro <lupus@ximian.com>
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

17 years agoAdd support for '|DataDirectory|' substitution string
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

17 years agoPick the correct .ctor, not the first one.
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

17 years ago2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
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

17 years ago2006-10-10 Martin Baulig <martin@ximian.com>
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

17 years ago2006-10-09 Zoltan Varga <vargaz@gmail.com>
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

17 years agosvn path=/trunk/mcs/; revision=66502
Yoni Klain [Tue, 10 Oct 2006 10:00:09 +0000 (10:00 -0000)]
svn path=/trunk/mcs/; revision=66502

17 years agoTue Oct 10 11:45:50 CEST 2006 Paolo Molaro <lupus@ximian.com>
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

17 years agoTue Oct 10 11:35:20 CEST 2006 Paolo Molaro <lupus@ximian.com>
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

17 years agoTue Oct 10 11:30:52 CEST 2006 Paolo Molaro <lupus@ximian.com>
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

17 years agoTue Oct 10 09:53:07 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Oct 2006 07:53:52 +0000 (07:53 -0000)]
Tue Oct 10 09:53:07 CEST 2006 Paolo Molaro <lupus@ximian.com>

* strtod.c: teleport to the new millennium.

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

17 years agoChange the HttpApplication pipeline to match Microsoft specs for ASP.NET 2.0
Marek Habersack [Tue, 10 Oct 2006 07:07:12 +0000 (07:07 -0000)]
Change the HttpApplication pipeline to match Microsoft specs for ASP.NET 2.0

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

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

* object-internals.h: Remove duplicate definition of mono_method_get_signature_full ().

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

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

* configure.in: Get rid of --with-nptl.

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

17 years ago * TreeView.cs: Don't update scrollbars when we aren't visible.
Jackson Harper [Tue, 10 Oct 2006 02:53:04 +0000 (02:53 -0000)]
    * TreeView.cs: Don't update scrollbars when we aren't visible.
        * TreeNodeCollection.cs: Only need to update scrollbars if being
        added to an expanded visible node or the root node.

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

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

* strtod.c: Replace the BSD implementation which was fairly old
and complex with a cleaner version from Tcl/Tk.   Fixes the hang
that we have in the Double parsing tests in our class libraries.

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

17 years agoUpdate with bug #
Miguel de Icaza [Mon, 9 Oct 2006 23:08:26 +0000 (23:08 -0000)]
Update with bug #

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

17 years agoPatch from Robert Jordan:
Miguel de Icaza [Mon, 9 Oct 2006 23:08:07 +0000 (23:08 -0000)]
Patch from Robert Jordan:

2006-10-09  Robert Jordan <robertj@gmx.net>

* mini.c: Disable the CrashReporter on MacOS X

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

17 years ago2006-10-09 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 9 Oct 2006 23:04:12 +0000 (23:04 -0000)]
2006-10-09  Miguel de Icaza  <miguel@novell.com>

* Environment.cs: Handle SpecialFolder.MyMusic

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

17 years ago2006-10-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 9 Oct 2006 22:48:32 +0000 (22:48 -0000)]
2006-10-09  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs (SendMessage): fix NRE.

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

17 years ago2006-10-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 9 Oct 2006 22:41:14 +0000 (22:41 -0000)]
2006-10-09  Chris Toshok  <toshok@ximian.com>

* ResourceManagerTest.cs: add some (NotWorking) tests for
ResurceManager.

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

17 years ago * TextBoxBase.cs: Implement horizontal autoscrolling.
Jackson Harper [Mon, 9 Oct 2006 20:18:21 +0000 (20:18 -0000)]
    * TextBoxBase.cs: Implement horizontal autoscrolling.
        * TextControl.cs: Add a movement types that allows moving
        * forward
        and backwards without wrapping.

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

17 years ago2006-10-09 Mike Kestner <mkestner@novell.com>
Mike Kestner [Mon, 9 Oct 2006 19:01:32 +0000 (19:01 -0000)]
2006-10-09  Mike Kestner  <mkestner@novell.com>

* ListViewItem.cs : layout changes for wrapped LargeIcon labels
with focus "expansion" of labels.  Fixes #79532 and then some.
* ThemeWin32Classic.cs : add LineLimit to ListView label format
when wrapping.

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

17 years agoUpdate: remove trace methods
Miguel de Icaza [Mon, 9 Oct 2006 18:33:54 +0000 (18:33 -0000)]
Update: remove trace methods

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

17 years agoUpdate docs, removing stuff that is not exposed
Miguel de Icaza [Mon, 9 Oct 2006 18:24:06 +0000 (18:24 -0000)]
Update docs, removing stuff that is not exposed

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

17 years agoupdate lists
Miguel de Icaza [Mon, 9 Oct 2006 18:11:30 +0000 (18:11 -0000)]
update lists

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

17 years agoupdate ignore list
Miguel de Icaza [Mon, 9 Oct 2006 18:11:20 +0000 (18:11 -0000)]
update ignore list

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

17 years agoMon Oct 9 19:41:44 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Oct 2006 17:43:47 +0000 (17:43 -0000)]
Mon Oct 9 19:41:44 CEST 2006 Paolo Molaro <lupus@ximian.com>

* object-internals.h, gc-internal.h, profiler-private.h:
mark internal functions.

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

17 years agoMon Oct 9 19:28:56 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Oct 2006 17:36:31 +0000 (17:36 -0000)]
Mon Oct 9 19:28:56 CEST 2006 Paolo Molaro <lupus@ximian.com>

* reflection.c: put data in the text section.
* icall.c: recognize more types in type_from_typename ().
* process.c, marshal.c: added some GC FIXMEs.

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

17 years agoMon Oct 9 19:27:26 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Oct 2006 17:28:01 +0000 (17:28 -0000)]
Mon Oct 9 19:27:26 CEST 2006 Paolo Molaro <lupus@ximian.com>

* loader.c: check for NULL before initializing.

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

17 years agoNew test + update.
Marek Safar [Mon, 9 Oct 2006 17:00:35 +0000 (17:00 -0000)]
New test + update.

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

17 years ago2006-10-09 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 9 Oct 2006 16:59:17 +0000 (16:59 -0000)]
2006-10-09  Marek Safar  <marek.safar@seznam.cz>

A fix for bug #78568
* cs-tokenizer.cs (Deambiguate_CloseParens): Expression cannot be cast
when contains binary operators.
* cs-parser.jay: Updated.

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

17 years agoadd System.Data.SqlTypes\SqlAlreadyFilledException.cs to compilation
Konstantin Triger [Mon, 9 Oct 2006 16:47:13 +0000 (16:47 -0000)]
add System.Data.SqlTypes\SqlAlreadyFilledException.cs to compilation

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