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
Eyal Alalouf [Sun, 2 Oct 2005 14:49:32 +0000 (14:49 -0000)]
TARGET_J2EE compilation
svn path=/trunk/mcs/; revision=51088
Eyal Alalouf [Sun, 2 Oct 2005 14:48:11 +0000 (14:48 -0000)]
TARGET_J2EE compilation
svn path=/trunk/mcs/; revision=51087
Eyal Alalouf [Sun, 2 Oct 2005 14:47:55 +0000 (14:47 -0000)]
TARGET_J2EE compilation
svn path=/trunk/mcs/; revision=51086
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Fri, 30 Sep 2005 15:18:31 +0000 (15:18 -0000)]
Remove libwapi
svn path=/trunk/mono/; revision=51050
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
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
Marek Safar [Fri, 30 Sep 2005 14:56:56 +0000 (14:56 -0000)]
fixed test
svn path=/trunk/mcs/; revision=51047
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
Kornél Pál [Fri, 30 Sep 2005 14:42:57 +0000 (14:42 -0000)]
Create handle.
svn path=/trunk/mcs/; revision=51045
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Thu, 29 Sep 2005 21:52:38 +0000 (21:52 -0000)]
Fix
svn path=/trunk/mono/; revision=51014
Miguel de Icaza [Thu, 29 Sep 2005 21:14:42 +0000 (21:14 -0000)]
Add
svn path=/trunk/mono/; revision=51013
Miguel de Icaza [Thu, 29 Sep 2005 21:13:35 +0000 (21:13 -0000)]
Does not harm
svn path=/trunk/mcs/; revision=51012
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
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
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
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
Miguel de Icaza [Thu, 29 Sep 2005 17:45:05 +0000 (17:45 -0000)]
Make this more obvious
svn path=/trunk/mono/; revision=51005
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
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
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
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
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
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
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
Marek Safar [Thu, 29 Sep 2005 14:04:06 +0000 (14:04 -0000)]
fixed test
svn path=/trunk/mcs/; revision=50993
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
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
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
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
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
Miguel de Icaza [Thu, 29 Sep 2005 03:19:43 +0000 (03:19 -0000)]
Fix this
svn path=/trunk/mcs/; revision=50981
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
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
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
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
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
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
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
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
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
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
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
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
Zoltan Varga [Wed, 28 Sep 2005 19:17:35 +0000 (19:17 -0000)]
2005-09-28 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_jit_compile_method_inner): Do not load AOT code when
there is a profiler interested in JIT events.
svn path=/trunk/mono/; revision=50968
Zoltan Varga [Wed, 28 Sep 2005 19:13:20 +0000 (19:13 -0000)]
2005-09-28 Zoltan Varga <vargaz@gmail.com>
* mono-profiler-aot.c Makefile.am: New AOT profiler.
svn path=/trunk/mono/; revision=50967
Zoltan Varga [Wed, 28 Sep 2005 19:12:02 +0000 (19:12 -0000)]
2005-09-28 Zoltan Varga <vargaz@gmail.com>
* aot.c: Load profile files produced by the AOT profiling module, and
reorder methods based on the profiling info. Add a 'method_order' table
to the AOT file to make mono_aot_find_jit_info work with the reordered
methods.
* mini.h: Bump AOT file version info.
svn path=/trunk/mono/; revision=50966
Martin Baulig [Wed, 28 Sep 2005 18:55:57 +0000 (18:55 -0000)]
2005-09-28 Martin Baulig <martin@ximian.com>
* loader.c
(method_from_memberref): Added `MonoGenericContext *class_context'
argument; this is used when parsing a MONO_MEMBERREF_PARENT_TYPESPEC.
(method_from_methodspec): If we're a memberref, use the enclosing
context when parsing its parent. Fixes #76262; see gtest-206.cs.
svn path=/trunk/mono/; revision=50965
Martin Baulig [Wed, 28 Sep 2005 18:55:39 +0000 (18:55 -0000)]
2005-09-28 Martin Baulig <martin@ximian.com>
* gtest-206.cs: New test for #76262.
svn path=/trunk/mcs/; revision=50964
Atsushi Eno [Wed, 28 Sep 2005 18:13:34 +0000 (18:13 -0000)]
2005-09-28 Atsushi Enomoto <atsushi@ximian.com>
* XmlNodeReaderImpl.cs : when the source node was not a document and
it is an empty element, Read() was incorrectly moving to the parent
of the source node. Patch by Csaba Halasz. Fixed bug #76260.
* XmlNodeReaderTests.cs : added test for bug #76260.
svn path=/trunk/mcs/; revision=50962
Kornél Pál [Wed, 28 Sep 2005 16:36:03 +0000 (16:36 -0000)]
ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
svn path=/trunk/mcs/; revision=50953
Gonzalo Paniagua Javier [Wed, 28 Sep 2005 15:39:02 +0000 (15:39 -0000)]
2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Style.cs: fix the 2.0 build.
svn path=/trunk/mcs/; revision=50950
Gonzalo Paniagua Javier [Wed, 28 Sep 2005 15:38:30 +0000 (15:38 -0000)]
2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlHead.cs: fix the 2.0 build.
svn path=/trunk/mcs/; revision=50949
Peter Dennis Bartok [Wed, 28 Sep 2005 15:23:15 +0000 (15:23 -0000)]
2005-09-28 Peter Dennis Bartok <pbartok@novell.com>
* Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
to update it.
svn path=/trunk/mcs/; revision=50948
Peter Dennis Bartok [Wed, 28 Sep 2005 15:17:47 +0000 (15:17 -0000)]
2005-09-27 Peter Dennis Bartok <pbartok@novell.com>
* SystemColor.cs:
- Changed properties to return colors from fields. This allows
updating the colors via reflection, for example from MWF themes.
- Added code to retrieve system colors via Win32 GetSysColors if
running on Win32, this makes us compatible with Microsoft instead
of returning static colors on Win32. Unix platforms still will
use the static colors
* Color.cs: Added UpdateKnownColor() method to allow updating of
the KnownColors array
svn path=/trunk/mcs/; revision=50947