mono.git
18 years agofix the 2.0 build
Gonzalo Paniagua Javier [Mon, 3 Oct 2005 04:44:39 +0000 (04:44 -0000)]
fix the 2.0 build

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

18 years ago2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 3 Oct 2005 03:25:33 +0000 (03:25 -0000)]
2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ImageButtonTest.cs: test that 'name' attribute is rendered.

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

18 years ago2005-10-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Oct 2005 01:58:50 +0000 (01:58 -0000)]
2005-10-03  Atsushi Enomoto  <atsushi@ximian.com>

* StringComparer.cs : (OrdinalIgnoreCaseComparer.Equals()) reverse.

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

18 years ago * ScrollBar.cs: Don't update position if it hasn't actually
Jackson Harper [Mon, 3 Oct 2005 00:06:42 +0000 (00:06 -0000)]
* ScrollBar.cs: Don't update position if it hasn't actually
changed. This occurs when you hold down the increment/decrement
buttons and the thumb gets to the max/min.

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

18 years ago2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 2 Oct 2005 23:28:15 +0000 (23:28 -0000)]
2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ButtonColumn.cs: it was lacking databinding, so copied most of it
from BoundColumn.

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

18 years ago2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 2 Oct 2005 23:26:01 +0000 (23:26 -0000)]
2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGridTest.cs: Test for ButtonColumn with DataTextField.

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

18 years ago2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 2 Oct 2005 22:30:45 +0000 (22:30 -0000)]
2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FontInfo.cs: removed useless ctor.
* Style.cs: keep here some commented out debugging code.
* DataGrid.cs: the Items property does not create a new arraylist if
the items_list was already initialized. Add case for Separator.
* DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
in the header columns has a special ForeColor handling.

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

18 years ago2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 2 Oct 2005 22:28:45 +0000 (22:28 -0000)]
2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGridTest.cs: new test for the style of the linkbutton in the
headers when sorting is enabled. Also test that the Items property
contains the DataGridItems.

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

18 years ago2005-10-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 2 Oct 2005 20:04:24 +0000 (20:04 -0000)]
2005-10-02  Zoltan Varga  <vargaz@freemail.hu>

* get.h get.c main.c: Fix some warnings and bugs.

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

18 years ago2005-10-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 2 Oct 2005 17:36:21 +0000 (17:36 -0000)]
2005-10-02  Zoltan Varga  <vargaz@freemail.hu>

* mini.h (OP_PCONST): Move the definition of OP_PCONST into the rest
of the OP_P definitions.

* TODO: Add a proposal for dealing with the CEE/OP mess.

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

18 years ago2005-10-02 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 2 Oct 2005 17:10:33 +0000 (17:10 -0000)]
2005-10-02  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_output_basic_block): Merge mul_imm
optimizations from the x86 port.

* cpu-amd64.md: Ditto.

* basic.cs basic-long.cs: Add tests.

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

18 years ago* CodeTypeReferenceTest.cs: Added tests for CodeTypeParameter ctor,
Gert Driesen [Sun, 2 Oct 2005 14:57:07 +0000 (14:57 -0000)]
* CodeTypeReferenceTest.cs: Added tests for CodeTypeParameter ctor,
and string (basetype) ctor.
* CodeTypeReference.cs: Added default ctor for 2.0 profile. Set
Options to CodeReferenceOptions.GenericTypeParameter when instance
is constructed using ctor taking CodeTypeParameter argument. Modified
BaseType property to return BaseType of ArrayElementType if
available. Fixed some bugs in array and typeparameter support.

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

18 years agoTARGET_J2EE compilation
Eyal Alalouf [Sun, 2 Oct 2005 14:49:32 +0000 (14:49 -0000)]
TARGET_J2EE compilation

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

18 years agoTARGET_J2EE compilation
Eyal Alalouf [Sun, 2 Oct 2005 14:48:11 +0000 (14:48 -0000)]
TARGET_J2EE compilation

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

18 years agoTARGET_J2EE compilation
Eyal Alalouf [Sun, 2 Oct 2005 14:47:55 +0000 (14:47 -0000)]
TARGET_J2EE compilation

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

18 years ago2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 2 Oct 2005 06:35:30 +0000 (06:35 -0000)]
2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: PageCount must persist in ViewState too and returns the
number of pages in the paged data source once we set that. Fix checks
for visibility of the pager: no more 2 pagers when custom paging is
enabled.

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

18 years ago * Form.cs:
Jackson Harper [Sat, 1 Oct 2005 21:00:57 +0000 (21:00 -0000)]
* Form.cs:
* MdiChildContext.cs:
* MdiClient.cs: Implement ActiveMdiChild in Form.

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

18 years agoIn Test/System.IO:
Ben Maurer [Sat, 1 Oct 2005 18:43:46 +0000 (18:43 -0000)]
In Test/System.IO:
2005-10-01  Ben Maurer  <bmaurer@ximian.com>

* BinaryReaderTest.cs: new test for long, non-ascii strings

In System.IO:
2005-10-01  Ben Maurer  <bmaurer@ximian.com>

* BinaryReader.cs: The patch below had a nasty little bug with
long strings that had non-ascii chars in it, because it was
looking at the char count, not the byte count.

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

18 years ago2005-10-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 1 Oct 2005 18:34:38 +0000 (18:34 -0000)]
2005-10-01  Atsushi Enomoto <atsushi@ximian.com>

* XmlAttribute.cs, XmlDocument.cs : check id table updates when
  XmlAttribute.set_Value() was invoked. Fixed bug #76311.

* XmlAttributeTests.cs : test for bug #76311.

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

18 years ago2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Sat, 1 Oct 2005 14:41:39 +0000 (14:41 -0000)]
2005-10-01  Jordi Mas i Hernandez <jordi@ximian.com>

* ComboBox.cs: Include ComboBoxEdit flag for the edit item

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

18 years ago2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sat, 1 Oct 2005 14:19:20 +0000 (14:19 -0000)]
2005-10-01  Peter Dennis Bartok  <pbartok@novell.com>

* X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  be found

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

18 years ago2005-10-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 1 Oct 2005 11:19:18 +0000 (11:19 -0000)]
2005-10-01  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs :
 XmlReader.Create() with string url argument are not working because
 of incorrect choice of the .ctor().

* XmlReaderCommonTests.cs : added simple Create() test.

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

18 years ago * ListBox.cs: Don't do a full refresh unless some data has
Jackson Harper [Sat, 1 Oct 2005 06:44:37 +0000 (06:44 -0000)]
* ListBox.cs: Don't do a full refresh unless some data has
actually changed.

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

18 years ago * TreeView.cs: Make sure that the checkboxes size is factored in
Jackson Harper [Sat, 1 Oct 2005 06:22:21 +0000 (06:22 -0000)]
* TreeView.cs: Make sure that the checkboxes size is factored in
even when not visible.

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

18 years ago2005-10-01 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Sat, 1 Oct 2005 05:13:02 +0000 (05:13 -0000)]
2005-10-01  Cesar Lopez Nataren  <cnataren@novell.com>

* mjs-most.tests: Add ecma/Date/15.9.1.1-1.js,
ecma/Date/15.9.5.7.js, ecma/Expressions/11.2.1-3-n.js,
ecma/Expressions/11.2.1-4-n.js, ecma/Math/15.8.1.8-3.js.

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

18 years ago2005-09-30 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 1 Oct 2005 00:13:47 +0000 (00:13 -0000)]
2005-09-30  Miguel de Icaza  <miguel@novell.com>

* Recompile the
FirebirdSql.Data.Common/Resources/isc_error_msg.resources with the
resgen so it produces 1.x resources not 2.x resources which are
unreadable in 1.x profile.

* FirebirdSql.Data.Firebird.dll.resources: Add the full name that
will be used, otherwise no resources work.

* FirebirdSql.Data.Common/Resources/isc_error_msg.txt: Fix newline.

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

18 years ago2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 23:26:09 +0000 (23:26 -0000)]
2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ImageButton.cs: fix a bug reported on the list. We were triggering the
command event on every POST. And the 'name' attribute was not being
rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
and we couldn't find the values.

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

18 years ago2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 22:18:44 +0000 (22:18 -0000)]
2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: fix the links for the numeric pager.

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

18 years ago2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 30 Sep 2005 20:11:09 +0000 (20:11 -0000)]
2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>

* FileDialog.cs: Fix Jordi's build break

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

18 years ago2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 30 Sep 2005 19:30:01 +0000 (19:30 -0000)]
2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>

* FileDialog.cs:
- Use standard the Windows colours for the combobox as espected
- Dispose objects that use resouces when no longer need them

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

18 years ago2005-09-30 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Fri, 30 Sep 2005 19:12:10 +0000 (19:12 -0000)]
2005-09-30  Cesar Lopez Nataren  <cnataren@novell.com>

* expression.cs (Expression::Resolve): check if we have an
assigment in a chain of expressions and stms, it fixes
#75801, and give us 660 more successful tests.

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

18 years agoFri Sep 30 20:07:20 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 30 Sep 2005 18:16:24 +0000 (18:16 -0000)]
Fri Sep 30 20:07:20 CEST 2005 Paolo Molaro <lupus@ximian.com>

* Makefile.am, driver.c, mini-x86.c, mini.c, mini.h, branch-opts.c:
Patrik Torstensson's implementation of my exception-handling
optimization idea, when the exception object is not used
(bug #62150).

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

18 years ago2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 30 Sep 2005 17:43:25 +0000 (17:43 -0000)]
2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.sources: Added X11DesktopColors.cs
* SWF.csproj: Updated

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

18 years ago2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 30 Sep 2005 17:42:58 +0000 (17:42 -0000)]
2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>

* X11DesktopColors.cs: Initial incomplete implementation
* XplatUIX11.cs: Added call to initialize X11DesktopColors

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

18 years agoFri Sep 30 19:10:29 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 30 Sep 2005 17:16:04 +0000 (17:16 -0000)]
Fri Sep 30 19:10:29 CEST 2005 Paolo Molaro <lupus@ximian.com>

* mini-x86.c, cpu-pentium.md: Patrik Torstensson's port
of the mul_imm optimizations from the old jit.

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

18 years ago- Added annotation on how to implement proper rubber-band down the road
Peter Dennis Bartok [Fri, 30 Sep 2005 16:58:59 +0000 (16:58 -0000)]
- Added annotation on how to implement proper rubber-band down the road

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

18 years ago2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 30 Sep 2005 16:25:06 +0000 (16:25 -0000)]
2005-09-30  Peter Dennis Bartok  <pbartok@novell.com>

* Theme.cs:
  - Switched Theme color names to match the names defined in
    System.Drawing.KnownColors. Life's hard enough, no need to make
    it harder.
  - Added setters to all theme color properties so themes can set
    their color schemes. The setters also propagate the color changes
    to System.Drawing.KnownColors via reflection
* ControlPaint.cs,  Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  use the new, more logical theme color names
* XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  post-NT colors
* ThemeWin32Classic.cs:
  - Removed code to set the old classic Windows colors. Instead it
    now relies on the colors returned by System.Drawing.KnownColors
    which will be either modern static colors (Unix) or colors
    read from the user's configuration (Win32)
  - Updated to use the new, more logical theme color names
  - Switched DataGrid drawing code to use only Theme colors instead of
    a mix of System.Drawing.KnownColors and Theme colors
  - DrawFrameControl(): Removed code that fills the button area, the
    fill would overwrite any previous fill done by a control. This
    fixes bug #75338
  - Added DrawReversibleRectangle() stub
* ScrollableControl.cs: Set visible state to false when scrollbars
  are removed (pdn fix)
* XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  DrawReversibleRectangle() method to allow drawing primitive
  'rubber bands'
* XplatUIX11.cs: Implemented DrawReversibleRectangle()

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

18 years agoFri Sep 30 11:37:51 EDT 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 30 Sep 2005 15:42:52 +0000 (15:42 -0000)]
Fri Sep 30 11:37:51 EDT 2005 Paolo Molaro <lupus@ximian.com>

* mini.c, liveness.c: patch by Patrik Torstensson and
Zoltan Varga to improve performance in methods with
exception clauses.

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

18 years agoRemove libwapi
Miguel de Icaza [Fri, 30 Sep 2005 15:18:31 +0000 (15:18 -0000)]
Remove libwapi

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

18 years ago2005-09-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Sep 2005 15:11:02 +0000 (15:11 -0000)]
2005-09-30  Zoltan Varga  <vargaz@gmail.com>

* abort-stress-3.cs: New file.

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

18 years ago2005-09-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Sep 2005 15:04:45 +0000 (15:04 -0000)]
2005-09-30  Zoltan Varga  <vargaz@gmail.com>

* threads.c (ves_icall_System_Threading_Thread_Abort): Handle
ThreadState_Stopped as well. Fixes #76047.

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

18 years agofixed test
Marek Safar [Fri, 30 Sep 2005 14:56:56 +0000 (14:56 -0000)]
fixed test

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

18 years ago2005-09-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 Sep 2005 14:52:31 +0000 (14:52 -0000)]
2005-09-30  Zoltan Varga  <vargaz@gmail.com>

* driver.c: Remove 'Globalization' entry from --version.

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

18 years agoCreate handle.
Kornél Pál [Fri, 30 Sep 2005 14:42:57 +0000 (14:42 -0000)]
Create handle.

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

18 years ago2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Fri, 30 Sep 2005 13:57:32 +0000 (13:57 -0000)]
2005-09-30  Jordi Mas i Hernandez <jordi@ximian.com>

* ListView.cs:
* ThemeWin32Classic.cs:
- Fixes detail mode
- Sets clippings
- Issues with drawing

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

18 years agoMoved RecreateHandle back to ImageList as event source has to be the ImageList.
Kornél Pál [Fri, 30 Sep 2005 13:10:03 +0000 (13:10 -0000)]
Moved RecreateHandle back to ImageList as event source has to be the ImageList.

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

18 years agoImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
Kornél Pál [Fri, 30 Sep 2005 12:22:58 +0000 (12:22 -0000)]
ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.

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

18 years ago2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 11:56:51 +0000 (11:56 -0000)]
2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* strenc.c: don't use the UTF16 conversion with g_convert. It returns
the FF FE at the beginning, which is not what we expect. Now
MONO_EXTERNAL_ENCODINGS can roundtrip and works.

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

18 years agoImageList.cs: ReduceColorDepth: Clean up pointer operations.
Kornél Pál [Fri, 30 Sep 2005 10:38:18 +0000 (10:38 -0000)]
ImageList.cs: ReduceColorDepth: Clean up pointer operations.

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

18 years ago2005-09-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Sep 2005 06:45:04 +0000 (06:45 -0000)]
2005-09-30  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaUtil.cs: (GetParserContext) if reader is not internal
  IHasXmlParserContext, silently return null. This is for NVDL xsd
  support.

* XsdValidatingReader.cs: make ParserContext and its NamespaceManager
  optional. This is for NVDL xsd support.

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

18 years ago2005-09-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Sep 2005 06:37:56 +0000 (06:37 -0000)]
2005-09-30  Atsushi Enomoto <atsushi@ximian.com>

* XsdValidatingReader.cs: allow validation for such XmlReader whose
  ReadState is Interactive (hold different "is started" flag). This
  is a fix for nvdl support.

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

18 years ago2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 06:35:40 +0000 (06:35 -0000)]
2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponseStream.cs: remove dead code.

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

18 years ago2005-09-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Sep 2005 05:49:16 +0000 (05:49 -0000)]
2005-09-30  Atsushi Enomoto <atsushi@ximian.com>

* NvdlConfig.cs : changed mime type due to the suggestion from Makoto
  Murata.

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

18 years ago2005-09-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Sep 2005 05:46:40 +0000 (05:46 -0000)]
2005-09-30  Atsushi Enomoto <atsushi@ximian.com>

* NvdlXsdSupport.cs : related fix to r51030; XmlSchema.Read() now does
  not consume EndElement.

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

18 years ago2005-09-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Sep 2005 05:42:17 +0000 (05:42 -0000)]
2005-09-30  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs : XmlReader position after Read() is the end of the
  schema element.

* XmlSchemaTests.cs : test for reader position after Read().

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

18 years ago2005-09-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 30 Sep 2005 05:41:51 +0000 (05:41 -0000)]
2005-09-30  Atsushi Enomoto  <atsushi@ximian.com>

* xsdtest.cs : noResolver option.

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

18 years ago2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 04:37:22 +0000 (04:37 -0000)]
2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: when paging is enable, the actual number of items is not
the number of items rendered before the postback, but that number times
the number of pages. Now we store the page count in the viewstate. Also,
as the number might be big, don't allocate an array of objects to fake
the collection for the PagedDataSource, but use the new NCollection
class instead, which provides cheap (memory wise) enumerator for an
arbitrary number of items. Thanks to "Adriano" for the test case.

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

18 years ago2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 30 Sep 2005 03:39:03 +0000 (03:39 -0000)]
2005-09-29  Sebastien Pouliot  <sebastien@ximian.com>

* HttpBrowserCapabilitiesCas.cs: Fixed tests case to work with both
values returned by Mono and MS runtimes.
* HttpContextCas.cs: Ignore the Application_Deny_UnmanagedCode test
case. This check was removed in 2.0 and seems to be inconsistent in
previous versions (i.e. depends on the execution order which triggers
the initialization of the HttpRuntime).

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

18 years ago2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 02:50:50 +0000 (02:50 -0000)]
2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Xml.cs: the show must go on. Removed a few NotImplemented.

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

18 years agoImageList.cs: ImageCollection: Removed owner field as it is no more used.
Kornél Pál [Fri, 30 Sep 2005 02:36:31 +0000 (02:36 -0000)]
ImageList.cs: ImageCollection: Removed owner field as it is no more used.

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

18 years ago2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
Jonathan Chambers [Fri, 30 Sep 2005 02:33:13 +0000 (02:33 -0000)]
2005-09-29  Jonathan Chambers <jonathan.chambers@ansys.com>
        * GridItem.cs: Fixed TODOs
        * GridItemCollection.cs: Added ICollection interface

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

18 years ago2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 02:22:33 +0000 (02:22 -0000)]
2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/DesignerDataBoundLiteralControl.cs: changed autoid api.
* System.Web.UI/DataBoundLiteralControl.cs: changed autoid api.

* System.Web.UI/Control.cs: fixlet for UniqueID and weird test case.
Removed PreventAutoID and only use the property to set that value.

* System.Web.UI/LiteralControl.cs: changed autoid api.

* System.Web.UI.WebControls/Button.cs: implemented 2.0
RaisePostBackEvent in terms of the existing code in 1.1 (or viceversa).
RenderContents() does nothing.

* System.Web.UI.WebControls/DataGrid.cs: changed autoid api.

* System.Web.UI.WebControls/EditCommandColumn.cs: only 'Update' causes
validation.

* System.Web.UI.WebControls/TableCell.cs: changed autoid api.
RenderContents checks the number of controls to decide what to do, not
the value of Text in the viewstate.

* System.Web.UI.WebControls/TableRow.cs: changed autoid api.

* System.Web.UI.WebControls/BoundColumn.cs: SelectedItem was missing
when attaching a DataBind event. When we get an EditItem, we need a
TextBox to be created and this one will be the one that gets the event.
Changed ItemDataBinding to deal with a TextBox too.

All tests pass now in the default profile (2 not run).

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

18 years ago2005-09-29 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 30 Sep 2005 02:15:04 +0000 (02:15 -0000)]
2005-09-29  Miguel de Icaza  <miguel@novell.com>

* Add ComVisible(true) to all the classes that needed it.

* Removed documentation from DictionaryBase.cs and moved it to
Monodoc.

* ArrayList.cs: Fixed signature for constructor, parameter names
are normative.

* CollectionBase.cs: Add a couple of missing methods.

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

18 years ago2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 02:03:33 +0000 (02:03 -0000)]
2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ControlTest.cs: a few more tests for UniqueID, as the datagrid and
related tests showed a problem with this.

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

18 years ago2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 30 Sep 2005 02:02:35 +0000 (02:02 -0000)]
2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TableCellTest.cs: the "Text" viewstate value does not control whether
we render the children or not.

* EditCommandColumnTest.cs: some tests do not pass on MS rutime for me,
so I've made them NotDotNet and fixed all the problems. Also added tests
to ensure that the TextBox's form the BoundColumns are present in the
hierarchy, as before we did nothing there.

* ButtonTest.cs: test to show that a Button's children are not rendered.

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

18 years agoImageList.cs: Resize icons when needed.
Kornél Pál [Fri, 30 Sep 2005 02:02:26 +0000 (02:02 -0000)]
ImageList.cs: Resize icons when needed.

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

18 years agoFix
Miguel de Icaza [Thu, 29 Sep 2005 21:52:38 +0000 (21:52 -0000)]
Fix

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

18 years agoAdd
Miguel de Icaza [Thu, 29 Sep 2005 21:14:42 +0000 (21:14 -0000)]
Add

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

18 years agoDoes not harm
Miguel de Icaza [Thu, 29 Sep 2005 21:13:35 +0000 (21:13 -0000)]
Does not harm

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

18 years ago2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 29 Sep 2005 21:04:29 +0000 (21:04 -0000)]
2005-09-29  Sebastien Pouliot  <sebastien@ximian.com>

* HMACSHA1Test.cs: Use the new ctor(byte[],bool) introduced in 2.0 RC
in some of the existing tests (under 2.0).

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

18 years ago2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 29 Sep 2005 21:04:21 +0000 (21:04 -0000)]
2005-09-29  Sebastien Pouliot  <sebastien@ximian.com>

* HMACSHA1.cs: Added the new 2.0 ctor that let the programmer choose
between the managed and unmanaged SHA1 algorithm used in the HMAC
(that doesn't change much thing in the default config for Mono).
* PasswordDeriveBytes.cs: Added [Obsolete] on GetBytes (2.0) as new
applications should be using Rfc2898DeriveBytes to get PKCS#5 v2
support.

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

18 years agoImplement the heap stuff, move it to a separate file
Miguel de Icaza [Thu, 29 Sep 2005 20:26:16 +0000 (20:26 -0000)]
Implement the heap stuff, move it to a separate file

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

18 years ago* mcs/support.cs (SeekableStreamReader): Simplify drastically. Don't
Raja R Harinath [Thu, 29 Sep 2005 19:48:42 +0000 (19:48 -0000)]
* mcs/support.cs (SeekableStreamReader): Simplify drastically.  Don't
try to keep in sync with the byte count of the underlying Stream.
However, this limits us to a window size of 2048 characters: i.e.,
the maximum lookahead of our lexer/parser can be 2048 characters.
* gmcs/support.cs (SeekableStreamReader): Likewise.

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

18 years agoMake this more obvious
Miguel de Icaza [Thu, 29 Sep 2005 17:45:05 +0000 (17:45 -0000)]
Make this more obvious

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

18 years ago2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 29 Sep 2005 17:40:33 +0000 (17:40 -0000)]
2005-09-29  Peter Dennis Bartok  <pbartok@novell.com>

* SystemColor.cs: Added code used to generate properties, updated with
  Windows XP colors

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

18 years ago2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 29 Sep 2005 17:03:02 +0000 (17:03 -0000)]
2005-09-29  Sebastien Pouliot  <sebastien@ximian.com>

* HttpClientCertificate.cs: Remove last TODO on IsValid. This now
works when using XSP. Now use flags to determine valid/presence.

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

18 years ago2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 29 Sep 2005 16:46:17 +0000 (16:46 -0000)]
2005-09-29  Peter Dennis Bartok  <pbartok@novell.com>

* SystemColor.cs: Make internal names predictable to allow scripted
  generation of color table

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

18 years ago2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Thu, 29 Sep 2005 16:28:03 +0000 (16:28 -0000)]
2005-09-29  Jordi Mas i Hernandez <jordi@ximian.com>

* ListViewItem.cs
- Fixes GetBounds and returns on screen rects
* ListView.cs:
- Fixes vertical and horzintal scrolling of items
* ThemeWin32Classic.cs:
- Fixes drawing

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

18 years ago* DateTimeConverterTests.cs (ConvertTo_MaxValue): Disable tests
Raja R Harinath [Thu, 29 Sep 2005 15:40:09 +0000 (15:40 -0000)]
* DateTimeConverterTests.cs (ConvertTo_MaxValue): Disable tests
that require CurrentCulture _not_ to be InvariantCulture.
(ConvertToString_MaxValue): Likewise.

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

18 years ago* configure.host: Fix syntax error.
Raja R Harinath [Thu, 29 Sep 2005 14:40:48 +0000 (14:40 -0000)]
* configure.host: Fix syntax error.

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

18 years ago* ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
Raja R Harinath [Thu, 29 Sep 2005 14:28:51 +0000 (14:28 -0000)]
* ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.

Needed to make it compile.

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

18 years agofixed test
Marek Safar [Thu, 29 Sep 2005 14:04:06 +0000 (14:04 -0000)]
fixed test

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

18 years agoImageList.cs: Added comments about handle creation. Moved Handle, HandleCreated and...
Kornél Pál [Thu, 29 Sep 2005 09:52:21 +0000 (09:52 -0000)]
ImageList.cs: Added comments about handle creation. Moved Handle, HandleCreated and OnRecreateHandle implementations to ImageCollection. Handle is created in Add methods.

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

18 years ago2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 29 Sep 2005 05:51:06 +0000 (05:51 -0000)]
2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlForm.cs: register the form and require viewstate hidden field to
be rendered in Render() even if OnInit is not called.

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

18 years ago2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 29 Sep 2005 05:49:06 +0000 (05:49 -0000)]
2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlFormTest.cs: Trim() the rendered form when comparing (\n vs \r\n).

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

18 years ago2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 29 Sep 2005 05:23:34 +0000 (05:23 -0000)]
2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* PagedDataSource.cs: fix IsLastPage. All tests pass.
* DataGrid.cs: InitializePager always add a cell and it's brand new. No
need to keep the old one in a field. Now all tests pass here too.

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

18 years ago2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 29 Sep 2005 05:21:50 +0000 (05:21 -0000)]
2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* PagedDataSourceTest.cs: more tests.

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

18 years agoFix this
Miguel de Icaza [Thu, 29 Sep 2005 03:19:43 +0000 (03:19 -0000)]
Fix this

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

18 years ago* Common.cs : Add common things here.
Hisham Mardam Bey [Thu, 29 Sep 2005 01:49:42 +0000 (01:49 -0000)]
* Common.cs : Add common things here.
* LabelTest.cs : Remove common declarations to Common.cs
* ScrollBarTest.cs : Remove common declarations to Common.cs
                     Add more propery range / exception tests
                     Add more event order tests
                     Fix Mouse tests.
     Add event arg tests.

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

18 years ago2005-09-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Sep 2005 00:28:10 +0000 (00:28 -0000)]
2005-09-29  Martin Baulig  <martin@ximian.com>

* class.c
(inflate_generic_context): If the new context has a `gmethod', set
its `container' that that gmethod's `container'.

* metadata.c
(mono_metadata_parse_generic_param): Simplify things;
`generic_container = generic_context->container;' is just fine.

* loader.c (method_from_methodspec): Code cleanups.

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

18 years agoadd test for a <clear /> element with an illegal property
Chris Toshok [Wed, 28 Sep 2005 22:52:53 +0000 (22:52 -0000)]
add test for a <clear /> element with an illegal property

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

18 years ago2005-09-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 28 Sep 2005 22:48:41 +0000 (22:48 -0000)]
2005-09-28  Chris Toshok  <toshok@ximian.com>

* ConfigurationElementCollection.cs: more work on the "<clear />"
handling - just skip the element for now.  this causes a failure
in one test ('<clear hi="bye" />' doesn't throw an exception when
it should), but it succeeds for collections that have required
attributes.

* ConnectionStringSettings.cs: providerName isn't a required
attribute.

* AppSettingsSection.cs (.cctor): initialize our "file" Property.
(File): implement.
(Properties): fix.
(GetRuntimeObject): call the base class method instead of just
returning "this".

* ConnectionStringsSection.cs: Add a hacky DeserializeElement
method here (that isn't in MS's) for the time being so we actually
deserialize our collection.

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

18 years ago2005-09-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 28 Sep 2005 22:38:57 +0000 (22:38 -0000)]
2005-09-28  Chris Toshok  <toshok@ximian.com>

* System.Configuration.dll.sources: add
KeyValueInternalCollection.cs and IgnoreSection.cs.  Remove
RuntimeOnlySection.cs

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

18 years ago2005-09-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 28 Sep 2005 22:38:38 +0000 (22:38 -0000)]
2005-09-28  Chris Toshok  <toshok@ximian.com>

* KeyValueInternalCollection.cs: found this by way of a stack
trace in one of the tests.  A NameValueCollection that wraps a
KeyValueConfigurationCollection.

* Configuration.cs (Init): save off configPath.
(EvaluationContext): new, mostly implemented.
(GetSectionInstance): use IgnoreSection instead of
RuntimeOnlySection.
(Load): don't fail when we can't load a file.

* IgnoreSection.cs: replace RuntimeOnlySection with this new
public type.

* RuntimeOnlySection.cs: nuke.

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

18 years ago2005-09-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 28 Sep 2005 22:33:20 +0000 (22:33 -0000)]
2005-09-28  Chris Toshok  <toshok@ximian.com>

* KeyValueInternalCollection.cs: found this by way of a stack
trace in one of the tests.  A NameValueCollection that wraps a
KeyValueConfigurationCollection.

* Configuration.cs (Init): save off configPath.
(EvaluationContext): new, mostly implemented.
(GetSectionInstance): use IgnoreSection instead of
RuntimeOnlySection.
(Load): don't fail when we can't load a file.

* IgnoreSection.cs: replace RuntimeOnlySection with this new
public type.

* RuntimeOnlySection.cs: nuke.

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

18 years agoadd a couple of tests for manipulating the collections we get back from Configuration...
Chris Toshok [Wed, 28 Sep 2005 21:50:10 +0000 (21:50 -0000)]
add a couple of tests for manipulating the collections we get back from ConfigurationManager.AppSettings and ConfigurationManager.ConnectionStrings

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

18 years ago2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 28 Sep 2005 21:42:00 +0000 (21:42 -0000)]
2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* PagedDataSource.cs: don't use the properties when they just return a
field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
before ICollection (otherwise, an IList will always fall under the
ICollection case). The enumerator for lists will be empty if 'start'
is beyond the list size. All existing tests pass, but one in
DataGridTest that fails because of some problem with the paging.

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

18 years ago2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 28 Sep 2005 21:38:38 +0000 (21:38 -0000)]
2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* PagedDataSourceTest.cs: more tests.

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

18 years ago2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 28 Sep 2005 21:04:16 +0000 (21:04 -0000)]
2005-09-28  Jordi Mas i Hernandez <jordi@ximian.com>

* DataGridDrawingLogic.cs:
- Takes rows into account on Colum calculations
- Returns the column when clickig
* DataGrid.cs:
- Fixes default HitTestInfo values
- Fixes HitTestInfo.ToString
- Fixes ResetBackColor

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

18 years ago * MdiChildContext.cs: Obey rules for fixed sized windows (no
Jackson Harper [Wed, 28 Sep 2005 19:33:19 +0000 (19:33 -0000)]
    * MdiChildContext.cs: Obey rules for fixed sized windows (no
sizing or cursor changes). Also added some temp code to draw the
titlebars text (Makes dev a little easier).

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