mono.git
17 years agoWed Dec 20 18:26:36 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 20 Dec 2006 17:29:06 +0000 (17:29 -0000)]
Wed Dec 20 18:26:36 CET 2006 Paolo Molaro <lupus@ximian.com>

* AudioData.cs, AudioDevice.cs: small (alsa) audio device and
Wav file parsing implementation.
* SoundPlayer.cs, SystemSound.cs: implemented most of the methods.

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

17 years ago - PreferredHeight is a little different than i thought.
Jackson Harper [Wed, 20 Dec 2006 17:28:26 +0000 (17:28 -0000)]
    - PreferredHeight is a little different than i thought.

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

17 years agoadd ability to initialize DataDirectory from init parameter; read root folder from...
Konstantin Triger [Wed, 20 Dec 2006 17:24:30 +0000 (17:24 -0000)]
add ability to initialize DataDirectory from init parameter; read root folder from /WEB-INF/classes/appData.properties properties file

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

17 years ago2006-12-05 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 20 Dec 2006 17:22:36 +0000 (17:22 -0000)]
2006-12-05  Nagappan A  <anagappan@novell.com>

* Makefile: Modified to work with 2.0 profile.

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

17 years ago2006-12-20 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 20 Dec 2006 17:20:39 +0000 (17:20 -0000)]
2006-12-20  Nagappan A  <anagappan@novell.com>

* SqlDataAdapterTest.cs (SqlDataAdapterInheritTest): Implemented
new class to verify protected method of DbDataAdapter.
* Fixed existing test-cases to work with 2.0 profile.

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

17 years ago2006-12-20 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 20 Dec 2006 17:18:45 +0000 (17:18 -0000)]
2006-12-20  Nagappan A  <anagappan@novell.com>

* OdbcCommandBuilderTest.cs (DefaultPropertiesTest): Removed
unnecessary code.

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

17 years ago2006-12-20 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 20 Dec 2006 17:17:24 +0000 (17:17 -0000)]
2006-12-20  Nagappan A  <anagappan@novell.com>

* DataColumnMapping.cs (GetDataColumnBySchemaAction): Implemented
2.0 profile method.

* DbDataReader.cs: Removed TODO's where ever the implementation is
available.

* RowUpdatedEventArgs.cs: Removed TODO's where ever the
implementation is available.

* DataAdapter.cs (FillInternal): Moved from DbDataAdapater.cs to
here.
(BuildSchema): Moved from DbDataAdapter.cs.
(FillTable): Moved from DbDataAdapter.cs.
(OnFillErrorInternal): Implemented new internal method to raise an
event.
(SetupSchema): Moved from DbDataAdapter.cs.
(FillInterl): Moved common implementation from DbDataAdapter.cs.
Removed TODO's where ever the implementation is available.

* DbDataAdapter.cs (OnRowUpdated): Implemented protected method.
(OnRowUpdating): Implemented protected method.
(CreateFillErrorEvent): Moved to DataAdapter.cs.
(Fill): Moved common implementation to DataAdapter.cs.
(FillTable): Moved to DataAdapter.cs.
(BuildSchema): Moved to DataAdapter.cs.
(SetupSchema): Moved to DataAdapter.cs.

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

17 years ago2006-12-07 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 20 Dec 2006 17:16:37 +0000 (17:16 -0000)]
2006-12-07  Nagappan A  <anagappan@novell.com>

* Code alignment.

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

17 years ago - When backspacing, move the caret before we do the actual char
Jackson Harper [Wed, 20 Dec 2006 17:01:24 +0000 (17:01 -0000)]
    - When backspacing, move the caret before we do the actual char
        delete, because when that delete crosses a wrap boundary the
        positional information will change.

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

17 years ago - PreferredHeight is a little different than i thought.
Jackson Harper [Wed, 20 Dec 2006 16:47:16 +0000 (16:47 -0000)]
    - PreferredHeight is a little different than i thought.

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

17 years agoset WebFileSystemAccess parameter to Full by default
Konstantin Triger [Wed, 20 Dec 2006 16:32:11 +0000 (16:32 -0000)]
set WebFileSystemAccess parameter to Full by default

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

17 years ago * TextBoxBase.cs: When changing the font across the document we
Jackson Harper [Wed, 20 Dec 2006 16:12:08 +0000 (16:12 -0000)]
    * TextBoxBase.cs: When changing the font across the document we
        can't recalculate after changing each line, since that will
cahnge
        the line count.

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

17 years ago2006-12-20 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 20 Dec 2006 15:41:34 +0000 (15:41 -0000)]
2006-12-20  Nagappan A  <anagappan@novell.com>

* Mono.Data.SybaseClient/SybaseRowUpdatedEventArgs.cs
(SybaseRowUpdatedEventArgs): Implemeneted constructor.
(Command): Implemented property.

* Mono.Data.SybaseClient/SybaseCommandBuilder.cs
(SybaseCommandBuilder): Implemented constructor.
(DataAdapter): Implemented property.
(RowUpdatingHandler): Implemented private event handler method.

* Mono.Data.SybaseClient/SybaseRowUpdatingEventArgs.cs (Command):
Implemented property

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

17 years agoadd parantheses for MONO_REGISTRY_PATH
Konstantin Triger [Wed, 20 Dec 2006 13:56:58 +0000 (13:56 -0000)]
add parantheses for MONO_REGISTRY_PATH

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

17 years agoRevert r68605, WebTest is now fixed
Konstantin Triger [Wed, 20 Dec 2006 13:38:27 +0000 (13:38 -0000)]
Revert r68605, WebTest is now fixed

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

17 years agoRun all the WebTests in one and only one TreadPool thread
Konstantin Triger [Wed, 20 Dec 2006 13:33:07 +0000 (13:33 -0000)]
Run all the WebTests in one and only one TreadPool thread

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

17 years ago2006-12-20 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Wed, 20 Dec 2006 12:08:47 +0000 (12:08 -0000)]
2006-12-20  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* MonthCalendarTest.cs:
- Enable tests again.
- Added tests for *BoldedDates.

* ControlTest.cs: Added test for BackgroundImageLayout.

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

17 years agoNew test based on #80288
Marek Safar [Wed, 20 Dec 2006 12:06:17 +0000 (12:06 -0000)]
New test based on #80288

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

17 years ago2006-12-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 20 Dec 2006 12:04:21 +0000 (12:04 -0000)]
2006-12-20  Marek Safar  <marek.safar@gmail.com>

A fix for bug #80288
* expression.cs (ResolveOperator): Consider user defined conversion for
logical and operator too.
(EmitBranchable): Optimization for logical and when full constant folding
could not be applied but one operand is constant.

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

17 years agoChanges for validations on fast request and Email validation.
Yoni Klain [Wed, 20 Dec 2006 11:56:11 +0000 (11:56 -0000)]
Changes for validations on fast request and Email validation.

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

17 years ago2006-12-19 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Wed, 20 Dec 2006 10:53:43 +0000 (10:53 -0000)]
2006-12-19  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Control.cs: Added some missing 2.0 bits:
BackgroundImageLayout, BackgroundImageLayoutChanged,
OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
add IBindableComponent and IDropTarget implementation.

* MonthCalendar.cs:
- Added all missing 2.0 features:
BackgroundImageLayout, RightToLeftLayout,
OnHandleDestroyed, RightToLeftLayoutChanged,
BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
PaddingChanged.
- Rewrote all the BoldDate code, it was completely broken.
- Fixed all the tests (the tests can now be re-enabled, the
problems were not with the tests, but with the control, it was
mostly broken).

* DateTimePicker.cs: Changed the location where the
MonthCalendar is shown.

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

17 years agoWed Dec 20 11:03:56 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 20 Dec 2006 10:29:10 +0000 (10:29 -0000)]
Wed Dec 20 11:03:56 CET 2006 Paolo Molaro <lupus@ximian.com>

* filewatcher.c: updated to use the mono-dl API instead of gmodule.

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

17 years agoFixed with a new browscap.ini
Konstantin Triger [Wed, 20 Dec 2006 09:31:18 +0000 (09:31 -0000)]
Fixed with a new browscap.ini

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

17 years ago2006-12-19 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 20 Dec 2006 07:08:31 +0000 (07:08 -0000)]
2006-12-19  Chris Toshok  <toshok@ximian.com>

* DataGridView.cs: add IDropTarget implementation.

* ToolStripPanel.cs: add IDropTarget implementation.

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

17 years ago * TreeView.cs: Make sure we factor in the vert scrollbar when
Jackson Harper [Wed, 20 Dec 2006 03:19:22 +0000 (03:19 -0000)]
    * TreeView.cs: Make sure we factor in the vert scrollbar when
        calculating the horizontal scrollbar's maximum.

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

17 years ago * TextControl.cs: soft now means something different than what
Jackson Harper [Wed, 20 Dec 2006 02:38:38 +0000 (02:38 -0000)]
    * TextControl.cs: soft now means something different than what
        * it
        used to mean, we want to move the caret regardless of whether or
        not this break was soft (would we really have wanted the caret
        to not move with the break in the old context?)

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

17 years ago* SendKeys.cs: Fix Send() behaviour, clear keys after sending,
Andreia Gaita [Wed, 20 Dec 2006 02:26:32 +0000 (02:26 -0000)]
* SendKeys.cs: Fix Send() behaviour, clear keys after sending,
check for keywords in alternate casing, close bug #80049.

2006-12-19  Andreia Gaita  <avidigal@novell.org>

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

17 years ago * ToolStripItem.cs: add the implementation of the 4 IDropTarget
Chris Toshok [Wed, 20 Dec 2006 01:17:01 +0000 (01:17 -0000)]
* ToolStripItem.cs: add the implementation of the 4 IDropTarget
methods (which all do nothing).

* IDropTarget.cs: add the 4 missing methods.

2006-12-19  Chris Toshok  <toshok@ximian.com>

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

17 years ago2006-12-19 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 20 Dec 2006 01:11:44 +0000 (01:11 -0000)]
2006-12-19  Chris Toshok  <toshok@ximian.com>

* TableLayoutRowStyleCollection.cs: corcompare work.

* TableLayoutSettings.cs: same.

* TableLayoutStyle.cs: same.

* TableLayoutColumnStyleCollection.cs: same.

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

17 years agoIn .:
Chris Toshok [Wed, 20 Dec 2006 00:55:51 +0000 (00:55 -0000)]
In .:
2006-12-19  Chris Toshok  <toshok@ximian.com>

* System.Windows.Forms_test.dll.sources: add RowStyleTest and
ColumnStyleTest.

In Test/System.Windows.Forms:
2006-12-19  Chris Toshok  <toshok@ximian.com>

* RowStyleTest.cs: unit tests for RowStyle.

* ColumnStyleTest.cs: unit tests for ColumnStyle.

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

17 years ago2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 20 Dec 2006 00:34:45 +0000 (00:34 -0000)]
2006-12-19  Sebastien Pouliot  <sebastien@ximian.com>
* FontFamily.cs: More accurate Mono* attributes to avoid confusion.

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

17 years ago2006-12-19 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 20 Dec 2006 00:24:59 +0000 (00:24 -0000)]
2006-12-19  Jonathan Pobst  <monkey@jpobst.com>

* ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
TableLayoutPanel I've had in my local tree for way too long.

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

17 years ago2006-12-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 19 Dec 2006 23:28:23 +0000 (23:28 -0000)]
2006-12-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewCollectionsTest.cs: Added tests for the new 2.0
methods and properties (SelectedIndexCollection,
SelectedItemCollection, and ListViewSubItemCollection).
* ListViewItemTest.cs: Added test for ImageKey 2.0 property.

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

17 years ago2006-12-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 19 Dec 2006 22:54:13 +0000 (22:54 -0000)]
2006-12-19  Miguel de Icaza  <miguel@novell.com>

* TableLayoutSettings.cs: Finish the public API (still needs all
the logic to update on changes).

* TableLayoutPanelCellPosition.cs: new file.

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

17 years ago2006-12-19 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 19 Dec 2006 22:19:24 +0000 (22:19 -0000)]
2006-12-19  Marek Safar  <marek.safar@gmail.com>

* class.cs (GetClassBases): Write 5 times every day, will never use
FullName for error reporting.

* decl.cs (AsAccessible, CheckAccessLevel): Always unpack arrays first.

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

17 years agoNew tests.
Marek Safar [Tue, 19 Dec 2006 22:18:43 +0000 (22:18 -0000)]
New tests.

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

17 years ago2006-12-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 19 Dec 2006 22:15:43 +0000 (22:15 -0000)]
2006-12-19  Miguel de Icaza  <miguel@novell.com>

* TableLayoutRowStyleCollection.cs,
TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
TableLayoutSettings.cs: Track the final 2.0 table api.

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

17 years agoSmall fixes
Miguel de Icaza [Tue, 19 Dec 2006 21:37:34 +0000 (21:37 -0000)]
Small fixes

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

17 years agoRecover file
Miguel de Icaza [Tue, 19 Dec 2006 21:35:19 +0000 (21:35 -0000)]
Recover file

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

17 years agoNo longer in 2.0
Miguel de Icaza [Tue, 19 Dec 2006 21:11:38 +0000 (21:11 -0000)]
No longer in 2.0

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

17 years ago2006-12-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 19 Dec 2006 20:58:52 +0000 (20:58 -0000)]
2006-12-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
and Image List 2.0 members for ColummnHeader.
* ListView.cs: Add key-related 2.0 methods for
ColumnHeaderCollection.

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

17 years ago* ListViewItem.cs: Changed AddRange overloads to match MS: throw
Gert Driesen [Tue, 19 Dec 2006 20:48:44 +0000 (20:48 -0000)]
* ListViewItem.cs: Changed AddRange overloads to match MS: throw
ArgumentNullException if items argument is null. Ignore null item in
arrays. Removed extra tabs.
* ListViewItemTest.cs: Added tests for ListViewSubItemCollection's
AddRange overloads.
* TreeViewTest.cs: Fixed ExpandAll tests.

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

17 years ago* MonthCalendar.cs: Fixed InvalidCastException.
Gert Driesen [Tue, 19 Dec 2006 20:42:59 +0000 (20:42 -0000)]
* MonthCalendar.cs: Fixed InvalidCastException.

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

17 years ago - When calculating char positions only add in the line break
Jackson Harper [Tue, 19 Dec 2006 19:57:07 +0000 (19:57 -0000)]
    - When calculating char positions only add in the line break
          size
        for hard line breaks.

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

17 years ago * TextControl.cs: Don't increment the position here.
Jackson Harper [Tue, 19 Dec 2006 19:48:47 +0000 (19:48 -0000)]
    * TextControl.cs: Don't increment the position here.

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

17 years agoSendKeys X11 support.
Andreia Gaita [Tue, 19 Dec 2006 19:23:21 +0000 (19:23 -0000)]
SendKeys X11 support.

* SendKeys.cs: Changed some things to match ms.net behaviour
when parsing shifted capital letters.

* XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
Add window handle as parameter to SendInput. X11 needs the
window handle, and the handle being passed to it in the keys
queue is the active control handle (which windows needs), not
the window handle.

XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
to support SendKeys on X.

* X11Keyboard: Implement helper method to lookup a linux keycode
given the virtual keycode. Added table of keycode-2-virtualkey
values to support this.

2006-12-19  Andreia Gaita  <avidigal@novell.org>

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

17 years ago2006-12-19 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Tue, 19 Dec 2006 18:47:24 +0000 (18:47 -0000)]
2006-12-19  Daniel Nauck  <dna@mono-project.de>

* ApplicationTest.cs: Restart () test is 2.0 only.

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

17 years agoIn Test/System.ComponentModel:
Chris Toshok [Tue, 19 Dec 2006 18:42:54 +0000 (18:42 -0000)]
In Test/System.ComponentModel:
2006-12-19  Chris Toshok  <toshok@ximian.com>

* PropertyDescriptorTests.cs: add some tests here because we were
generating an NRE for a missing type converter type.  MS doesn't -
it instead falls back to the converter for the property type.

In System.ComponentModel:
2006-12-19  Chris Toshok  <toshok@ximian.com>

* PropertyDescriptor.cs: stop crashing on a missing type
converter.

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

17 years agoTue Dec 19 19:17:06 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 19 Dec 2006 18:32:50 +0000 (18:32 -0000)]
Tue Dec 19 19:17:06 CET 2006 Paolo Molaro <lupus@ximian.com>

* SoundPlayer.cs, SystemSound.cs, SystemSounds.cs: first stubs
and partial implementation.

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

17 years ago2006-12-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 19 Dec 2006 18:31:17 +0000 (18:31 -0000)]
2006-12-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Add support for SelectedIndexCollection
and SelectedItemCollection 2.0 methods. Implement support
for ImageKey too.
* ListViewItem.cs: Add support for ListViewSubItemCollection
2.0 methods. Also, fix an incorrect behavior of AddRange method
(it shouldn't call Clear).
* ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.

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

17 years ago - We need to invalidate the selection area when we replace the
Jackson Harper [Tue, 19 Dec 2006 18:10:31 +0000 (18:10 -0000)]
    - We need to invalidate the selection area when we replace the
        selection.

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

17 years ago flush
Jackson Harper [Tue, 19 Dec 2006 18:05:21 +0000 (18:05 -0000)]
    flush

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

17 years ago * RichTextBox.cs:
Jackson Harper [Tue, 19 Dec 2006 17:57:16 +0000 (17:57 -0000)]
    * RichTextBox.cs:
        * TextBoxBase.cs: New args for FormatText
        * TextControl.cs: Rewrote the main drawing method, this version
        feels a little easier to understand and debug to me.  Hopefully
it
        does to others also
        - Fix FormatText to OR in the new formating values.  Added
        FormatSpecified param, basically this works in the same way as
        BoundsSpecified in Control.
        - Set the caret properties when the caret is positioned.
        - When wrapping text make sure that we calculate the width of
          the
        last character
        - when calculating alignments we might have wrapped down to the
        next line, so don't search for an individual tag, search for the
        end of the line

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

17 years ago2006-12-19 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Tue, 19 Dec 2006 17:47:21 +0000 (17:47 -0000)]
2006-12-19  Daniel Nauck  <dna@mono-project.de>

* Application.cs: add Restart () 2.0 support

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

17 years agofix typo
Chris Toshok [Tue, 19 Dec 2006 17:28:46 +0000 (17:28 -0000)]
fix typo

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

17 years agoIn .:
Chris Toshok [Tue, 19 Dec 2006 17:28:39 +0000 (17:28 -0000)]
In .:
* System.Design.dll.sources: add DataSourceConverter.cs and
DataMemberFieldConverter.
In System.Windows.Forms.Design:
* DataMemberFieldConverter.cs: another empty stub class.

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

17 years agoIn .:
Chris Toshok [Tue, 19 Dec 2006 17:25:03 +0000 (17:25 -0000)]
In .:
2006-12-19  Chris Toshok  <toshok@ximian.com>

* System.Design.dll.sources: add DataSourceConverter.cs

In System.Windows.Forms.Design:
2006-12-19  Chris Toshok  <toshok@ximian.com>

* DataSourceConverter.cs: new empty stub class to keep
ControlInspector from crashing.

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

17 years ago2006-12-19 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 19 Dec 2006 17:19:37 +0000 (17:19 -0000)]
2006-12-19  Jonathan Chambers  <joncham@gmail.com>

* marshal.c (ves_icall_System_Runtime_InteropServices_Marshal_AllocHGlobal,
ves_icall_System_Runtime_InteropServices_Marshal_FreeHGlobal): Use GlobalAlloc
and GlobalFree on Windows. Remove FIXME.

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

17 years agofixed siteMap for aspnetdb config tool
Vladimir Krasnov [Tue, 19 Dec 2006 17:00:10 +0000 (17:00 -0000)]
fixed siteMap for aspnetdb config tool

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

17 years ago2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 19 Dec 2006 16:34:32 +0000 (16:34 -0000)]
2006-12-19  Sebastien Pouliot  <sebastien@ximian.com>

* TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.

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

17 years ago2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 19 Dec 2006 16:31:42 +0000 (16:31 -0000)]
2006-12-19  Sebastien Pouliot  <sebastien@ximian.com>

* Icon.cs: Dummy implementation of ExtractAssociatedIcon to always
return SystemIcons.WinLogo (which is better than throwing an NIE).
Updated MonoTODO, to a MonoLimitation, to reflect the change.

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

17 years agoavoid using multiple appdomains in NunitWeb; have only the default and target AppDomains
Konstantin Triger [Tue, 19 Dec 2006 16:16:20 +0000 (16:16 -0000)]
avoid using multiple appdomains in NunitWeb; have only the default and target AppDomains

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

17 years agoAdded Web.config
Noam Lampert [Tue, 19 Dec 2006 16:14:48 +0000 (16:14 -0000)]
Added Web.config

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

17 years agoremove web.config to rename in one sec
Noam Lampert [Tue, 19 Dec 2006 16:14:21 +0000 (16:14 -0000)]
remove web.config to rename in one sec

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

17 years agoAdd NotWorking category for failing NunitWeb tests
Konstantin Triger [Tue, 19 Dec 2006 16:00:35 +0000 (16:00 -0000)]
Add NotWorking category for failing NunitWeb tests

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

17 years agoTue Dec 19 16:18:16 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 19 Dec 2006 15:22:17 +0000 (15:22 -0000)]
Tue Dec 19 16:18:16 CET 2006 Paolo Molaro <lupus@ximian.com>

* mono-mlist.h, mono-mlist.c, Makefile.am: linked list
implementation for managed objects.

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

17 years agoTue Dec 19 15:31:39 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 19 Dec 2006 14:32:51 +0000 (14:32 -0000)]
Tue Dec 19 15:31:39 CET 2006 Paolo Molaro <lupus@ximian.com>

* corlib.dll.sources: added System/MonoListItem.cs for use
as a runtime internal linked list.

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

17 years ago2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 19 Dec 2006 14:14:34 +0000 (14:14 -0000)]
2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>

* Menu.cs: fixed: ResolveClientUrl used with src and href attributes

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

17 years agoTue Dec 19 14:28:03 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 19 Dec 2006 13:29:23 +0000 (13:29 -0000)]
Tue Dec 19 14:28:03 CET 2006 Paolo Molaro <lupus@ximian.com>

* object.c: implemented code to be used for checking
that no reference field overlaps with non-references.

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

17 years ago2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 19 Dec 2006 13:22:19 +0000 (13:22 -0000)]
2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>

* TreeView.cs:
* TreeNode.cs:
TreeNodeCollapsed is not raised for leaf node.

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

17 years agoTue Dec 19 14:10:37 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 19 Dec 2006 13:11:29 +0000 (13:11 -0000)]
Tue Dec 19 14:10:37 CET 2006 Paolo Molaro <lupus@ximian.com>

* threadpool.c: fix queue code to be compatible with the
moving GC.

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

17 years ago2006-12-19 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 19 Dec 2006 12:31:35 +0000 (12:31 -0000)]
2006-12-19  Robert Jordan  <robertj@gmx.net>

* mini-x86: enable the code to return small structures in
registers for FreeBSD as well. Fixes bug #80278.
* aot-runtime.c: Include sys/wait.h for WEXITSTATUS/WIFEXITED.

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

17 years ago2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Tue, 19 Dec 2006 12:22:19 +0000 (12:22 -0000)]
2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>

* ServletWorkerRequest.cs: fixed:
Path.Combine is used in GetFilePathTranslated to consider
platform-depended PathSeparator char.

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

17 years agofixed tests
Igor Zelmanovich [Tue, 19 Dec 2006 12:18:42 +0000 (12:18 -0000)]
fixed tests

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

17 years ago2006-12-19 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 19 Dec 2006 11:30:52 +0000 (11:30 -0000)]
2006-12-19  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Target.cs (ctor): Added ImportedProject argument and removed
        set_IsImported.
        (AddNewTask): Implemented.

        * TargetCollection.cs (AddNewTarget): Implemented.

        * Project.cs: Track API changes.

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

17 years ago2006-12-19 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 19 Dec 2006 11:27:53 +0000 (11:27 -0000)]
2006-12-19  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * TargetTest.cs, TargetCollectionTest.cs: Enabled all tests.

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

17 years agoEnable TestRaceCondition ().
Robert Jordan [Tue, 19 Dec 2006 11:24:44 +0000 (11:24 -0000)]
Enable TestRaceCondition ().

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

17 years ago2006-12-19 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 19 Dec 2006 11:23:23 +0000 (11:23 -0000)]
2006-12-19  Robert Jordan  <robertj@gmx.net>

* Timer.cs: Apply the latest patch at attached to bug #77847.

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

17 years ago2006-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 19 Dec 2006 10:40:55 +0000 (10:40 -0000)]
2006-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Timer.cs: Fixes race condition (bug #77847). Patch from Robert Jordan.

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

17 years ago2006-12-19 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 19 Dec 2006 10:33:22 +0000 (10:33 -0000)]
2006-12-19  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Build.cs: Added.

        * Condition.cs, ProjectElement.cs: More tests.

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

17 years ago006-12-19 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 19 Dec 2006 10:31:48 +0000 (10:31 -0000)]
006-12-19  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildItemTest.cs, BuildPropertyGroupTest.cs,
        UsingTaskCollectionTest.cs, TargetTest.cs, BuildItemGroupTest.cs,
        BuildPropertyGroupCollectionTest.cs, TargetCollectionTest.cs,
        BuildPropertyTest.cs, EngineTest.cs, ProjectTest.cs,
        BuildItemGroupCollectionTest.cs: Added more tests.

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

17 years agoForgot this in changelog
Marek Sieradzki [Tue, 19 Dec 2006 10:25:39 +0000 (10:25 -0000)]
Forgot this in changelog

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

17 years ago2006-12-19 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 19 Dec 2006 10:22:35 +0000 (10:22 -0000)]
2006-12-19  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Target.cs (Build): Don't throw anything in case of error, just
        return false.

        * BuildItemGroup.cs (set_Condition): Throw an exception if group is
        not from XML.

        * BuildItem.cs: More meaningfull messages in RemoveMetadata () and
        SetMetadata ().

        * BuildProperty.cs (ToString): Throw an exception if property is not
        from XML.
        (op_Explicit): Added a null check.

        * Engine.cs: Better error message.

        * BuildItemGroupCollection.cs (CopyTo): Changed ArgumentException to
        IndexOutOfRangeException.

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

17 years ago006-12-19 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 19 Dec 2006 10:16:54 +0000 (10:16 -0000)]
006-12-19  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Main.cs: Catch InvalidProjectFileException and
        InternalLoggerException.

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

17 years ago2006-12-19 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 19 Dec 2006 10:14:07 +0000 (10:14 -0000)]
2006-12-19  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * CommandLineBuilderTest.cs, TaskItemTest.cs: More tests.

        * LoggerTest.cs: Added.

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

17 years ago2006-12-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 19 Dec 2006 10:12:08 +0000 (10:12 -0000)]
2006-12-19  Martin Baulig  <martin@ximian.com>

* statement.cs (LocalInfo.EmitSymbolInfo): New public method; emit
the symbol file info here.

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

17 years ago2006-12-19 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 19 Dec 2006 10:11:14 +0000 (10:11 -0000)]
2006-12-19  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Logger.cs (FormatErrorEvent, FormatWarningEvent): Write only (a) or
        (a,b) or (a,b,c,d).

        * CommandLineBuilder.cs: Added null checks.

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

17 years ago2006-12-19 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Tue, 19 Dec 2006 10:08:44 +0000 (10:08 -0000)]
2006-12-19  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ProjectStartedEventArgsTest.cs: Added check for Properties and
        Items.

        * TaskCommandLineEventArgsTest.cs: Added.

        * LoggerExceptionTest.cs: Check for serialization names.

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

17 years ago2006-12-19 Marek Sieradzki <marek.sieradzi@gmail.com>
Marek Sieradzki [Tue, 19 Dec 2006 10:06:44 +0000 (10:06 -0000)]
2006-12-19  Marek Sieradzki  <marek.sieradzi@gmail.com>

        * LoggerException.cs: Changed serialization names.

        * TaskCommandLineEventArgs.cs: Message is now equal to CommandLine.

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

17 years agofixed NunitWeb tests
Igor Zelmanovich [Tue, 19 Dec 2006 09:23:04 +0000 (09:23 -0000)]
fixed NunitWeb tests

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

17 years ago2006-12-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 19 Dec 2006 07:44:46 +0000 (07:44 -0000)]
2006-12-19  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs : Fixed ReadChars() to consume child elements,
  including such cases that it breaks tags in the middle of multiple
  ReadChars() calls.

* XmlTextReaderTests.cs : added test for bug #80308.

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

17 years ago2006-12-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 19 Dec 2006 06:42:52 +0000 (06:42 -0000)]
2006-12-19  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs : ReadChars() does not have to store characters,
  so avoid extra storing. Patch by Csaba Halasz, fixed bug #80306.

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

17 years ago2006-12-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 19 Dec 2006 03:20:47 +0000 (03:20 -0000)]
2006-12-18  Miguel de Icaza  <miguel@novell.com>

* marshal.c (emit_object_to_ptr_conv): Handle null safehandles
in structures by throwing ArgumentNullException.

(emit_marshal_safehandle): Also when they are null parameters.

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

17 years ago2006-12-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 19 Dec 2006 02:41:58 +0000 (02:41 -0000)]
2006-12-18  Miguel de Icaza  <miguel@novell.com>

* marshal.c (emit_marshal_safehandle): Add support for ref
SafeHandles.

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

17 years ago2006-12-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 19 Dec 2006 01:19:01 +0000 (01:19 -0000)]
2006-12-18  Lluis Sanchez Gual  <lluis@novell.com>

* UnixBinaryCore.cs: Added some null checks.
* UnixServerChannel.cs: Remoting does not call StartListening anymore
  (for MS.NET compatibility), so it has to be explicitely called here.

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

17 years ago2006-12-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 19 Dec 2006 01:18:22 +0000 (01:18 -0000)]
2006-12-18  Lluis Sanchez Gual  <lluis@novell.com>

* TcpChannel.cs: The remoting infrastructure does not call
  StartListening() anymore, so it has to be called by the channel.

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

17 years ago2006-12-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 19 Dec 2006 01:18:02 +0000 (01:18 -0000)]
2006-12-18  Lluis Sanchez Gual  <lluis@novell.com>

* HttpServerChannel.cs: The remoting infrastructure does not call
  StartListening() anymore, so it has to be called by the channel.

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

17 years ago2006-12-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 19 Dec 2006 01:17:33 +0000 (01:17 -0000)]
2006-12-18  Lluis Sanchez Gual  <lluis@novell.com>

* ChannelServices.cs: Don't call StartListening for registered
  channels (MS.NET doesn't do it).

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

17 years ago2006-12-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 19 Dec 2006 01:16:19 +0000 (01:16 -0000)]
2006-12-18  Lluis Sanchez Gual <lluis@novell.com>

* StackBuilderSink.cs: Avoid unneeded cast that was causing some
  cast exceptions.

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

17 years ago * MenuItem.cs: Invalidate menu item rectangle after change Enable
Everaldo Canuto [Tue, 19 Dec 2006 00:46:26 +0000 (00:46 -0000)]
* MenuItem.cs: Invalidate menu item rectangle after change Enable
property. Fixes #80268.

2006-12-18  Everaldo Canuto  <everaldo@simios.org>

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