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

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

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

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

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

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

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

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

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

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

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

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

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

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

2. calls XDestroyWindow on the window passed in.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* PropertyGridView.cs:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        Patch from Hubert FONGARNAND

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* atomic.h: Fix atomic decrement.

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

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

* Started work on using global registers

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

* Code clean up

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

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

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

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

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

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

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

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

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

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