Raja R Harinath [Fri, 10 Mar 2006 13:58:26 +0000 (13:58 -0000)]
* ecore.cs (Expression.ResolveAsTypeStep): Remove 1-argument wrapper.
(Expression.ResolveAsTypeTerminal): Likewise.
* class.cs, decl.cs, delegate.cs, ecore.cs: Update to changes.
* expression.cs, generic.cs, iterators.cs: Likewise.
* parameter.cs, statement.cs, typemanager.cs: Likewise.
svn path=/trunk/mcs/; revision=57775
Raja R Harinath [Fri, 10 Mar 2006 11:51:08 +0000 (11:51 -0000)]
In System/System.ComponentModel.Design.Serialization:
* CodeDomSerializerException.cs: Move to System.Design.dll.
In System.Design:
* System.ComponentModel.Design.Serialization/CodeDomSerializerException.cs:
Moved new-ish implementation here from System.dll.
svn path=/trunk/mcs/; revision=57774
Raja R Harinath [Fri, 10 Mar 2006 11:46:46 +0000 (11:46 -0000)]
minor readability improvements
svn path=/trunk/mcs/; revision=57773
Jackson Harper [Fri, 10 Mar 2006 09:46:27 +0000 (09:46 -0000)]
not needed anymore
svn path=/trunk/mcs/; revision=57772
Jackson Harper [Fri, 10 Mar 2006 09:45:45 +0000 (09:45 -0000)]
flush
svn path=/trunk/mcs/; revision=57771
Raja R Harinath [Fri, 10 Mar 2006 09:39:36 +0000 (09:39 -0000)]
Unbreak the build -- files weren't committed
svn path=/trunk/mcs/; revision=57770
Peter Dennis Bartok [Fri, 10 Mar 2006 09:18:38 +0000 (09:18 -0000)]
2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
* ThemeWin32Classic.cs:
- CheckBox_DrawText: Added logic to not wrap if not enough space
is available (Fix for bug #77727)
- RadioButton_DrawText: Added logic not to wrap if not enough
space is available (Fix for bug #77727). Also removed some
duplicate code, DrawString always drawing the regular text
before hitting the if statement.
svn path=/trunk/mcs/; revision=57769
Peter Dennis Bartok [Fri, 10 Mar 2006 08:30:31 +0000 (08:30 -0000)]
2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Handle an unmapped window state in SetWindowState
svn path=/trunk/mcs/; revision=57768
Peter Dennis Bartok [Fri, 10 Mar 2006 08:19:54 +0000 (08:19 -0000)]
2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
* PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
* ContainerControl.cs: Partial implementation of some 2.0 scaling
methods. Moved the new 2.0 properties into alphabetical order with
other properties and added MonoTODO tags
svn path=/trunk/mcs/; revision=57767
Peter Dennis Bartok [Fri, 10 Mar 2006 07:11:44 +0000 (07:11 -0000)]
2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
* AutoScaleMode.cs: Added. Fix build.
svn path=/trunk/mcs/; revision=57766
Peter Dennis Bartok [Fri, 10 Mar 2006 06:52:29 +0000 (06:52 -0000)]
2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
and was requiring premature handle creation for calls from above
* Form.cs, Control.cs: Removed handle arguments from calls to
CalculateClientRect()
svn path=/trunk/mcs/; revision=57765
Peter Dennis Bartok [Fri, 10 Mar 2006 06:36:27 +0000 (06:36 -0000)]
2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
* ListView.cs (HeaderMouseMove): Fix csc compilation.
drag_column.column_rect is MarshalByRef and can't be used that way
svn path=/trunk/mcs/; revision=57764
Jonathan Gilbert [Fri, 10 Mar 2006 05:36:37 +0000 (05:36 -0000)]
* System.Windows.Forms/AutoScaleMode.cs: Added new file for
the 2.0 enumeration.
* System.Windows.Forms/ContainerControl.cs: Added stub for
AutoScaleMode property; outputs a message to stderr to
encourage people familiar with its behaviour to implement
it. :-)
* System.Windows.Forms/Control.cs: Added stub for AutoScale;
outputs a message just like ContainerControl::AutoScaleMode.
* System.Windows.Forms.dll.sources: Added AutoScaleMode.cs to
the list of files to build.
svn path=/trunk/mcs/; revision=57763
Senganal T [Fri, 10 Mar 2006 05:24:51 +0000 (05:24 -0000)]
2006-03-10 Senganal T <tsenganal@novell.com>
* System.Data.OracleClient.Oci/OciStatementHandle.cs : Get StatementType as a ushort value.
* System.Data.OracleClient.Oci/OciParameterDescriptor.cs : Get DataType as a ushort value.
Fixes bug #71318.
svn path=/trunk/mcs/; revision=57762
Gert Driesen [Fri, 10 Mar 2006 04:37:54 +0000 (04:37 -0000)]
* DeserializeTests.cs: Enabled tests for bug #77530.
* XmlSerializerTests.cs: Enabled tests for bug #77530.
* XmlTypeMapping.cs: EnumMapMember now also stores value for enums.
Modified EnumMapping.GetXmlName to use XmlCustomFormatter to support
serialization of integral value to enum constant name, and made sure
the exceptions we throw match those of MSFT. In EnumMapping.GetEnumName
throw InvalidOperationException if no matching enum constant exists.
In EnumMap ctor, initialize arrays holding XML names, enum names and
enum values.
* XmlSerializationReaderInterpreter.cs: Pass full type name to
EnumMapping.GetEnumName for construction of exception message.
* XmlSerializer.cs: In Deserialize, wrap InvalidOperationException
and InvalidCastException in another InvalidOperationException to match
MSFT. In Serialize, wrap InvalidOperationException, InvalidCastException
and the inner exception for a TargetInvocationException in an
InvalidOperationException to match MSFT.
* SerializationCodeGenerator.cs: In GenerateGetXmlEnumValue, use
XmlCustomFormatter.FromEnum in order to also support serialization
integral value to enum constant name. In 2.0 profile, throw
InvalidOperationException if numeric value cannot be serialized into
an enum constant value. In GenerateSingleEnumValue, no longer attempt
to parse unknown constant value but instead report it as
InvalidOperationException. Use string.Length instead of "" comparison
to check whether a string is empty. Fixed compiler warnings in
generated code (possible empty statement).
* XmlSerializationWriterInterpreter.cs: Pass full type name to
EnumMap.GetXmlName.
* XmlSchemaImporter.cs: Pass full type name to EnumMap.GetEnumName
to allow it to be used in exception messag* XmlReflectionImporter.cs.
Use FieldInfo instead of MemberInfo for enum fields. Use IsDefined
instead of GetCustomAttributes for checking if a certain attribute
is defined. Use integral value of enum constant in EnumMapMember ctor.
* SoapReflectionImporter.cs: Use FieldInfo instead of MemberInfo for
enum fields. Use IsDefined instead of GetCustomAttributes for checking
if a certain attribute is defined. Use integral value of enum constant
in EnumMapMember ctor.
es.
svn path=/trunk/mcs/; revision=57761
Peter Dennis Bartok [Fri, 10 Mar 2006 02:34:31 +0000 (02:34 -0000)]
2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
* AxHost.cs: Added deserialization constructor for
AxHost+State (fixes 77743)
svn path=/trunk/mcs/; revision=57760
Miguel de Icaza [Fri, 10 Mar 2006 00:40:46 +0000 (00:40 -0000)]
corcompare fixes
svn path=/trunk/mcs/; revision=57759
Peter Dennis Bartok [Fri, 10 Mar 2006 00:16:27 +0000 (00:16 -0000)]
2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
* gdipFunctions.cs: Removed XCloseDisplay call from Gdi+ shutdown,
it was causing crashes in the finalizers (bug #77464)
svn path=/trunk/mcs/; revision=57758
Gonzalo Paniagua Javier [Thu, 9 Mar 2006 23:43:53 +0000 (23:43 -0000)]
2006-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Socket.cs: pass something not empty to the unixep ctor.
svn path=/trunk/mcs/; revision=57757
Gonzalo Paniagua Javier [Thu, 9 Mar 2006 23:40:42 +0000 (23:40 -0000)]
2006-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* socket-io.c:
(create_object_from_sockaddr): it was allocating 4 extra bytes
for the AF_UNIX data. Fixes bug #77747.
svn path=/trunk/mono/; revision=57756
Gonzalo Paniagua Javier [Thu, 9 Mar 2006 23:37:54 +0000 (23:37 -0000)]
2006-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UnixEndPoint.cs: synch'ed with the one in Mono.Unix.
svn path=/trunk/mcs/; revision=57755
Gonzalo Paniagua Javier [Thu, 9 Mar 2006 23:37:12 +0000 (23:37 -0000)]
2006-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* UnixEndPoint.cs: added GetHashCode/Equals.
svn path=/trunk/mcs/; revision=57754
Zoltan Varga [Thu, 9 Mar 2006 23:25:34 +0000 (23:25 -0000)]
2006-03-10 Zoltan Varga <vargaz@gmail.com>
* MonoCustomAttrs.cs (IsDefined): Avoid a runtime assert if a type
overwrites GetCustomAttributes () but not IsDefined ().
svn path=/trunk/mcs/; revision=57752
Marek Safar [Thu, 9 Mar 2006 23:11:09 +0000 (23:11 -0000)]
new test case
svn path=/trunk/mcs/; revision=57751
Marek Safar [Thu, 9 Mar 2006 23:09:45 +0000 (23:09 -0000)]
2006-03-09 Marek Safar <marek.safar@seznam.cz>
* anonymous.cs (AnonymousMethod.Compatible): Don't crash when parameters
were not resolved
* delegate.cs (Delegate.GetInvokeMethod): Use emitcontext free MemberLookup.
(DelegateCreation.ImplicitStandardConversionExists): New method for just
conversion test.
*ecore.cs (Expression.MemberLookup): Don't ask for emitcontext when it's
not needed.
* assign.cs, constant.cs, convert.cs, delegate.cs, expression.cs:
Updated after another emitcontext usage was clean up. It should help us to
synchronize with gmcs easier.
svn path=/trunk/mcs/; revision=57750
Jackson Harper [Thu, 9 Mar 2006 22:01:24 +0000 (22:01 -0000)]
* Menu.cs:
* MenuItem.cs: Cheap hack so we can add items to the list
* without
the events being raised. This allows adding mdi items during
drawing. TODO: Should probably find a better time to add the
items.
svn path=/trunk/mcs/; revision=57749
Zoltan Varga [Thu, 9 Mar 2006 21:10:14 +0000 (21:10 -0000)]
2006-03-09 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_method_to_ir): Handle large methods overflowing the
inline_costs counter. Fixes #77190.
svn path=/trunk/mono/; revision=57747
Zoltan Varga [Thu, 9 Mar 2006 19:23:21 +0000 (19:23 -0000)]
2006-03-09 Zoltan Varga <vargaz@gmail.com>
* Encoding.cs: Add stub for net 2.0 GetEncodings () method.
svn path=/trunk/mcs/; revision=57744
Zoltan Varga [Thu, 9 Mar 2006 19:10:21 +0000 (19:10 -0000)]
2006-03-09 Zoltan Varga <vargaz@gmail.com>
* CodeDomSerializerException.cs: New file.
svn path=/trunk/mcs/; revision=57742
Zoltan Varga [Thu, 9 Mar 2006 18:31:52 +0000 (18:31 -0000)]
2006-03-09 Zoltan Varga <vargaz@gmail.com>
* MethodInfoTest.cs: Add test for #77668.
svn path=/trunk/mcs/; revision=57738
Zoltan Varga [Thu, 9 Mar 2006 18:31:06 +0000 (18:31 -0000)]
2006-03-09 Zoltan Varga <vargaz@gmail.com>
* MonoMethod.cs (ReturnTypeCustomAttributes): Compute the marshalAs attribute
for the return type as well. Fixes #77668.
svn path=/trunk/mcs/; revision=57737
Zoltan Varga [Thu, 9 Mar 2006 18:28:55 +0000 (18:28 -0000)]
2006-03-09 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_MonoMethodInfo_get_retval_marshal): New icall.
svn path=/trunk/mono/; revision=57736
Vladimir Krasnov [Thu, 9 Mar 2006 17:31:40 +0000 (17:31 -0000)]
* System.Web.vmwcsproj: grasshopper project file fix, added PageParser.jvm.cs, WebServiceParser.jvm.cs
* Added System.Web.UI/PageParser.jvm.cs, System.Web.UI/WebServiceParser.jvm.cs
svn path=/trunk/mcs/; revision=57734
Vladimir Krasnov [Thu, 9 Mar 2006 17:09:45 +0000 (17:09 -0000)]
* DataList.cs: fixed DoItemInLoop method that fixes itemIndex of separator item.
fixed CreateControlStyle to set correct cellspacing of table style
fixed InitializeItem to correct applying template to selected and edit items.
svn path=/trunk/mcs/; revision=57731
Vladimir Krasnov [Thu, 9 Mar 2006 16:53:08 +0000 (16:53 -0000)]
* Added data/net_1_1/DefaultWsdlHelpGenerator.jvm.aspx with removed proxy class generation for Grasshopper
svn path=/trunk/mono/; revision=57730
Mike Kestner [Thu, 9 Mar 2006 15:01:24 +0000 (15:01 -0000)]
2006-03-09 Mike Kestner <mkestner@novell.com>
* ListView.cs:
- Added column drag reordering for details view.
- fixed behavior when mouse is dragged off column and
AllowColumnReorder is false.
* ColumnHeader.cs: clone the format too in Clone.
* Theme.cs: add DrawListViewHeaderDragDetails method.
* ThemeWin32Classic.cs:
- impl new method for drawing drag column shadows and targets.
- support column offset for details mode in DrawListViewItem.
svn path=/trunk/mcs/; revision=57729
Dick Porter [Thu, 9 Mar 2006 14:27:01 +0000 (14:27 -0000)]
2006-03-09 Dick Porter <dick@ximian.com>
* file-io.c (get_file_attributes): Use S_ISLNK not "& S_IFLNK".
Fixes bug 76966 again.
svn path=/trunk/mono/; revision=57727
Senganal T [Thu, 9 Mar 2006 13:00:43 +0000 (13:00 -0000)]
2006-03-09 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataRowCollectionTest2.cs :
* Test/System.Data/DataTableTest2.cs :
- Fixed NotWorking tests.
* System.Data.Common/Index.cs :
- Update () : Add the new record in the correct position
* System.Data/DataRow.cs :
- RejectChanges () : Add the row to index, if it was in deleted state and
Update the index if in Modified State.
- AcceptChanges () : Do not update the Indexes.
- EndEdit () : Update the indexes even if BeginLoadData has been called
on the table. Ideally, indexes should not be maintained during DataLoad,
but this needs to handled in multiple places correctly. For now, just maintain
the index to ensure correct operation.
svn path=/trunk/mcs/; revision=57725
Martin Baulig [Thu, 9 Mar 2006 12:06:22 +0000 (12:06 -0000)]
2006-03-09 Martin Baulig <martin@ximian.com>
* generic.cs (ConstraintChecker.HasDefaultConstructor): Call
TypeManager.DropGenericTypeArguments() on the `atype'; fixes #77548.
svn path=/trunk/mcs/; revision=57724
Peter Dennis Bartok [Thu, 9 Mar 2006 11:51:58 +0000 (11:51 -0000)]
2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs: Reset the char_count when the document is cleared
(Fixes bug reported on mono-winforms mailing list)
svn path=/trunk/mcs/; revision=57723
Martin Baulig [Thu, 9 Mar 2006 11:06:31 +0000 (11:06 -0000)]
Add back Mono.C5 (it was temporarily disabled by me in r56939).
svn path=/trunk/mcs/; revision=57719
Peter Dennis Bartok [Thu, 9 Mar 2006 11:00:21 +0000 (11:00 -0000)]
2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
of calling base we simply process the key ourselves, since both
DefWindowProc and the handled method would set m.Result.
(Fixes #77732)
svn path=/trunk/mcs/; revision=57717
Peter Dennis Bartok [Thu, 9 Mar 2006 10:04:23 +0000 (10:04 -0000)]
2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
* Form.cs(ScaleCore): No longer calling base.ScaleCore since that
method also moves the window; instead implemented a copy of
Control.ScaleCore (Part of fix for #77456)
* TextBoxBase.cs:
- Created new CreateGraphicsInternal method to allow providing
a graphics context when no handle is created without triggering
handle creation. (Part of fix for #77456)
- Replaced use of Control.CreateGraphics with CreateGraphicsInternal
* TextControl.cs:
- Switched Constructor to require TextBoxBase instead of Control (to
allow uncast access to CreateGraphicsInternal)
- Safeguarded use of owner.Handle property. No longer accessing it
unless the handle is already created.
- Replaced use of Control.CreateGraphics with CreateGraphicsInternal
- Now triggering a recalc when owning control becomes visible
* TextBox.cs, RichTextBox.cs: Switched to use new internal
TextBoxBase.CreateGraphicsInternal() method to avoid triggering
premature handle creation (Part of fix for #77456)
* Control.cs:
- We now only destroy our double-buffering buffers when the
control is resized or disposed, but not when visibility
changes. (The code even re-created them twice every time)
- Now requiring a redraw of the buffer on visibility changes
(fixes bug 77654 part 2)
- Not passing OnParentVisibleChanged up unless the control
is visible
- CanFocus: Fixed to match MS documentation
- Focus: Fixed to return actual focus state and to check if
setting focus is legal before setting it
svn path=/trunk/mcs/; revision=57716
Martin Baulig [Thu, 9 Mar 2006 09:54:16 +0000 (09:54 -0000)]
2006-03-09 Martin Baulig <martin@ximian.com>
* ecore.cs (FieldExpr.AddressOf): Don't emit the instance if the
`prepared' flag is set.
* generic.cs (LiftedBinaryOperator): Don't allow `||' or `&&' anymore.
(LiftedBinaryOperator, LiftedUnaryMutator): Fix a few nullable
issues; see gtest-254.cs.
svn path=/trunk/mcs/; revision=57715
Carlos Alberto Cortez [Thu, 9 Mar 2006 08:42:07 +0000 (08:42 -0000)]
2006-03-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* serial.c: Fix a pair of wrong or incomplete assignations
in set_attributes.
svn path=/trunk/mono/; revision=57714
Peter Dennis Bartok [Thu, 9 Mar 2006 00:58:31 +0000 (00:58 -0000)]
2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- We now only destroy our double-buffering buffers when the
control is resized or disposed, but not when visibility
changes. (The code even re-created them twice every time)
- Now requiring a redraw of the buffer on visibility changes
(fixes bug 77654 part 2)
- Not passing OnParentVisibleChanged up unless the control
is visible
- CanFocus: Fixed to match MS documentation
- Focus: Fixed to return actual focus state and to check if
setting focus is legal before setting it
* ThemeWin32Classic.cs: TabPages cannot have focus. Determine
when to draw focus rectangle by looking at parent focus and
selected state instead. This fixes TabPages on Linux sometimes
having none or multiple focus rectangles.
* XplatUIX11.cs (SetFocus):
- Don't set the focus if the same window already has focus
- Use SendMessage instead of PostMessage (like it's Win32
equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
to match MS behaviour
* TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
are not selectable.
svn path=/trunk/mcs/; revision=57713
Carlos Alberto Cortez [Wed, 8 Mar 2006 23:48:47 +0000 (23:48 -0000)]
2006-03-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* SerialPort.cs:
* SerialPortStream.cs: Small advance/cleanups.
svn path=/trunk/mcs/; revision=57711
Chris Toshok [Wed, 8 Mar 2006 18:23:00 +0000 (18:23 -0000)]
2006-03-08 Chris Toshok <toshok@ximian.com>
* data/net_2_0/web.config: add a default siteMap section with the
AspNetXmlSiteMapProvider provider.
* data/net_2_0/machine.config: add system.web/siteMap section
info.
svn path=/trunk/mono/; revision=57705
Chris Toshok [Wed, 8 Mar 2006 18:21:02 +0000 (18:21 -0000)]
In System.Web.Configuration_2.0:
2006-03-08 Chris Toshok <toshok@ximian.com>
* ProvidersHelper.cs: implement this static class properly.
* SiteMapSection.cs (ProvidersInternal): add internal property to
get the actual SiteMapProviderCollection from here.
In System.Web:
2006-03-08 Chris Toshok <toshok@ximian.com>
* SiteMap.cs: clean this up a bunch. use the SiteMapSection to
initialize the provider collection, and don't add a provider.
web.config handles that for us. Also, don't always return true
from get_Enabled.
svn path=/trunk/mcs/; revision=57704
Chris Toshok [Wed, 8 Mar 2006 17:29:22 +0000 (17:29 -0000)]
2006-03-08 Chris Toshok <toshok@ximian.com>
* SiteMapSectionTest.cs: test defaults.
svn path=/trunk/mcs/; revision=57703
Gonzalo Paniagua Javier [Wed, 8 Mar 2006 17:19:45 +0000 (17:19 -0000)]
2006-03-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* wait.c: speed up WaitFor* when the timeout is 0.
svn path=/trunk/mono/; revision=57702
Miguel de Icaza [Wed, 8 Mar 2006 17:09:45 +0000 (17:09 -0000)]
Update
svn path=/trunk/mono/; revision=57699
Gonzalo Paniagua Javier [Wed, 8 Mar 2006 16:45:59 +0000 (16:45 -0000)]
this is not an exe
svn path=/trunk/mcs/; revision=57695
Chris Toshok [Wed, 8 Mar 2006 16:34:59 +0000 (16:34 -0000)]
add some theme tests
svn path=/trunk/mcs/; revision=57694
Chris Toshok [Wed, 8 Mar 2006 16:12:10 +0000 (16:12 -0000)]
2006-03-08 Chris Toshok <toshok@ximian.com>
* SiteMapNodeType.cs: nuke.
* BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
ValidationCompareOperator.cs, ValidationDataType.cs,
ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
[Serializable] in 2.0.
* DayNameFormat.cs: add "Shortest".
svn path=/trunk/mcs/; revision=57693
Atsushi Eno [Wed, 8 Mar 2006 12:33:01 +0000 (12:33 -0000)]
2006-03-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlReader.cs: ReadContentAsXXX() just stops at start element,
without rejecting it as an error.
ReadElementContentAsXXX() rejects child element nodes.
* XmlReaderCommonTests.cs : Added tests for ReadContentAsString() and
ReadElementContentAsString().
svn path=/trunk/mcs/; revision=57691
Senganal T [Wed, 8 Mar 2006 11:01:37 +0000 (11:01 -0000)]
2006-03-08 Senganal T <tsenganal@novell.com>
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds70.cs :
- ProcessColumnInfo () : Set IsAutoIncrement Value for the column.
* System.Data/Test/ProviderTests/System.Data.SqlClient/SqlCommandBuilderTest.cs :
- Added testcase to verify UpdateCommand created with AutoIncrement
columns.
* System.Data/Test/ProviderTests/ProviderIndependant/DataReaderTest : Added a test to verify if AutoIncrement
value is set in the SchemaTable.
svn path=/trunk/mcs/; revision=57689
Lluis Sanchez [Wed, 8 Mar 2006 09:43:44 +0000 (09:43 -0000)]
2006-03-07 Lluis Sanchez Gual <lluis@novell.com>
* XmlReflectionImporter.cs: Ignore the element namespace if
the schema form is set to Unqualified. Fixes bug #75019.
svn path=/trunk/mcs/; revision=57688
Vladimir Krasnov [Wed, 8 Mar 2006 09:42:38 +0000 (09:42 -0000)]
* LinkButton.cs: fixed AddAttributesToRender, removed not needed language attribute
svn path=/trunk/mcs/; revision=57687
Vladimir Krasnov [Wed, 8 Mar 2006 09:27:04 +0000 (09:27 -0000)]
* TextBox.cs: fixed missing value validations,
fixed rendering of empty value attribute
svn path=/trunk/mcs/; revision=57686
Carlos Alberto Cortez [Wed, 8 Mar 2006 07:15:05 +0000 (07:15 -0000)]
2006-03-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* SslStream.cs, NegotiateStream.cs: Override CanTimeout,
ReadTimeout and WriteTimeout properties, to avoid warnings.
svn path=/trunk/mcs/; revision=57685
Carlos Alberto Cortez [Wed, 8 Mar 2006 07:03:33 +0000 (07:03 -0000)]
2006-03-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Stream.cs: Add 2.0 members to Stream.cs (CanTimeout,
ReadTimeout and WriteTimeout).
svn path=/trunk/mcs/; revision=57684
Jonathan Gilbert [Wed, 8 Mar 2006 05:08:54 +0000 (05:08 -0000)]
* gdipFunctions.cs: Rewrote the StreamSeekImpl function to
invalidate the start_buf cached bytes whenever Seek() is
actually called. If Seek is not called (an invalid 'whence'
value), then the buffer is not invalidated. This fixes a bug
with TIFF loading.
svn path=/trunk/mcs/; revision=57683
Jackson Harper [Wed, 8 Mar 2006 00:57:36 +0000 (00:57 -0000)]
* PictureBox.cs: Revert line I accidently committed last week.
svn path=/trunk/mcs/; revision=57680
Peter Dennis Bartok [Tue, 7 Mar 2006 23:29:59 +0000 (23:29 -0000)]
2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
* Environment.cs: Bumped corlib version to 48 (due to r57532)
2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
* DateTimeFormatInfo.cs: Restored original field order to allow
some automatic locale fu to happen (mono unmanaged code relies
on the field order to fill out DateTimeFormatInfo)
svn path=/trunk/mcs/; revision=57679
Peter Dennis Bartok [Tue, 7 Mar 2006 23:29:14 +0000 (23:29 -0000)]
2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
* verify.c (dtfinfo_fields): Updated to match new (serializable) field
names from r57532
* appdomain.c: Bumped corlib version to 48 (due to r57532)
svn path=/trunk/mono/; revision=57678
Chris Toshok [Tue, 7 Mar 2006 22:39:43 +0000 (22:39 -0000)]
In System.Web.UI:
2006-03-07 Chris Toshok <toshok@ximian.com>
* Page.cs (InitializeStyleSheet): load the style sheet theme using
ThemeDirectoryCompiler.
(InitializeTheme): load the page's theme using
ThemeDirectoryCompiler.
(InternalProcessRequest): call InitializeTheme after OnPreInit.
(FrameworkInitialize): call InitializeStyleSheet.
(PageTheme,StyleSheetPageTheme): new properties to get the
respective themes.
* Control.cs (ApplyStyleSheetSkin): new method. Calls ApplySkin
on the ControlSkin (if there is one) for this control in the
page's StyleSheetSkin.
(ApplyThemeRecursively): applies the page's theme recursively to
the control hierarchy. Must be done this way because the control
tree is already present when we apply the theme (it has to be,
since theme's override settings).
* PageTheme.cs (GetControlSkin): add internal call to do the
lookup for us.
* PageThemeFileParser.cs: the parser object that represents each
individual skin file.
* PageThemeParser.cs: the parser object that represents the entire
theme directory.
* PageThemeBuilder.cs: this class generates the right exception on
the right event, but it's not hooked up yet.
In System.Web.UI.WebControls:
2006-03-07 Chris Toshok <toshok@ximian.com>
* WebControl.cs (EnableTheming): leave the MonoTODO, but implement
by chaining up to base.EnableTheming.
svn path=/trunk/mcs/; revision=57676
Chris Toshok [Tue, 7 Mar 2006 22:27:51 +0000 (22:27 -0000)]
2006-03-07 Chris Toshok <toshok@ximian.com>
* AspGenerator.cs: refactor the parsing code so that we can
initiate parsing from outside this class.
* PageCompiler.cs (PrependStatementsToFrameworkInitialize): new
method, add our StyleSheetTheme assignment here.
(AppendStatementsToFrameworkInitialize): rename AddStatements* to
this.
* TemplateControlCompiler.cs (EnsureID): make protected.
(CreateAssignStatementsFromAttributes): same
(AddChildCall): same.
(CreateControlTree): same.
(CreateFrameworkInitializeMethod): change
"AddStatementsToFrameworkInitialize" to
"AppendStatementsToFrameworkInitialize", and add call to
"PrependStatementsToFrameworkInitialize" before the generation of
"base.FrameworkInitialize()."
* PageThemeCompiler.cs (CreateControlSkinMethod): remove spew.
svn path=/trunk/mcs/; revision=57674
Chris Toshok [Tue, 7 Mar 2006 22:00:21 +0000 (22:00 -0000)]
2006-03-07 Chris Toshok <toshok@ximian.com>
* ThemeDirectoryCompiler.cs: new file.
* PageThemeCompiler.cs: new file.
svn path=/trunk/mcs/; revision=57671
Chris Toshok [Tue, 7 Mar 2006 21:58:01 +0000 (21:58 -0000)]
2006-03-07 Chris Toshok <toshok@ximian.com>
* BaseCompiler.cs: fix typo in "initialize" in multiple places.
(Init): move the CreateMethods call here.
svn path=/trunk/mcs/; revision=57669
Kamil Skalski [Tue, 7 Mar 2006 21:56:49 +0000 (21:56 -0000)]
Handle null values in result as having string type
svn path=/trunk/mcs/; revision=57667
Peter Dennis Bartok [Tue, 7 Mar 2006 21:55:53 +0000 (21:55 -0000)]
- Disabled debug
svn path=/trunk/mcs/; revision=57666
Peter Dennis Bartok [Tue, 7 Mar 2006 21:21:26 +0000 (21:21 -0000)]
2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Added new IsRecreating and ParentIsRecreating properties to
allow testing if RecreateHandle has been called on ourselves
or one of our parents
- WndProc(WM_DESTROY): If our control handle is being recreated
we immediately need to create the handle when receiving the
destroy, that way our child windows find a valid parent handle
when they themselves are being recreated upon WM_DESTROY receipt
(fix for bug #77654 part 1)
* XplatUIX11.cs:
- DestroyWindow: WM_DESTROY must be sent to our own window before
notifying any child windows. MS documents that child windows
are still valid when WM_DESTROY is received. (Control now relies on
this behaviour)
- Added some fine-grain debug options
svn path=/trunk/mcs/; revision=57665
Gonzalo Paniagua Javier [Tue, 7 Mar 2006 20:09:20 +0000 (20:09 -0000)]
2006-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SslStreamBase.cs: avoid creating the ManualResetEvent whenever
possible. Don't lock on an instance of an object that the user can get.
svn path=/trunk/mcs/; revision=57663
Lluis Sanchez [Tue, 7 Mar 2006 19:25:14 +0000 (19:25 -0000)]
2006-03-07 Lluis Sanchez Gual <lluis@novell.com>
* System.Xml.Serialization/XmlSerializerTestClasses.cs:
* System.Xml.Serialization/XmlSerializerTests.cs: Added tests
for XmlSchemaForm.
svn path=/trunk/mcs/; revision=57662
Martin Baulig [Tue, 7 Mar 2006 16:45:20 +0000 (16:45 -0000)]
2006-03-07 Martin Baulig <martin@ximian.com>
* Test/hashing/HashDictionaryTests.cs: Temporarily disable some
more failing tests.
* Test/hashing/HashTableTests.cs: Likewise.
* Test/hashing/HashBagTests.cs: Likewise.
svn path=/trunk/mcs/; revision=57659
Martin Baulig [Tue, 7 Mar 2006 15:31:11 +0000 (15:31 -0000)]
2006-03-07 Martin Baulig <martin@ximian.com>
* String.cs (String.FormatHelper): Try getting an `ICustomFormatter'
from the `provider' if possible.
svn path=/trunk/mcs/; revision=57658
Senganal T [Tue, 7 Mar 2006 10:22:01 +0000 (10:22 -0000)]
2006-03-07 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataRowCollectionTest2.cs :
* Test/System.Data/DataTableTest2.cs :
- Added failing testcases as NotWorking tests.
* System.Data.Common/Key.cs :
Reverted the changes from the prev patch.
svn path=/trunk/mcs/; revision=57653
Vladimir Krasnov [Tue, 7 Mar 2006 10:04:35 +0000 (10:04 -0000)]
* run-test.bat: fixed enviroment variables
svn path=/trunk/mcs/; revision=57652
Vladimir Krasnov [Tue, 7 Mar 2006 10:03:23 +0000 (10:03 -0000)]
* Added run-tests.bat to run tests on Grasshopper
svn path=/trunk/mcs/; revision=57651
Vladimir Krasnov [Tue, 7 Mar 2006 08:30:02 +0000 (08:30 -0000)]
* DataList.cs: fixed CreateControlHierarchy, fixes 77693
svn path=/trunk/mcs/; revision=57650
Martin Baulig [Tue, 7 Mar 2006 05:46:12 +0000 (05:46 -0000)]
2006-03-07 Martin Baulig <martin@ximian.com>
* Test/Records.cs: Temporarily disable these tests.
svn path=/trunk/mcs/; revision=57649
Martin Baulig [Tue, 7 Mar 2006 05:39:52 +0000 (05:39 -0000)]
2006-03-07 Martin Baulig <martin@ximian.com>
* object.c
(mono_field_get_value_object): Add support for MONO_TYPE_GENERICINST.
svn path=/trunk/mono/; revision=57648
Martin Baulig [Tue, 7 Mar 2006 05:32:32 +0000 (05:32 -0000)]
2006-03-07 Martin Baulig <martin@ximian.com>
* class.c
(mono_class_get_full): Don't inflate TYPEDEF entries; fixes the
regression introduced in r56970; see gtest-252.cs.
* loader.c (mono_get_method_constrained): Correctly handle generic
methods; see gtest-253.cs.
svn path=/trunk/mono/; revision=57647
Martin Baulig [Tue, 7 Mar 2006 05:29:15 +0000 (05:29 -0000)]
New tests.
svn path=/trunk/mcs/; revision=57646
Martin Baulig [Tue, 7 Mar 2006 04:00:34 +0000 (04:00 -0000)]
Update the test sources.
svn path=/trunk/mcs/; revision=57644
Alp Toker [Tue, 7 Mar 2006 02:21:38 +0000 (02:21 -0000)]
Fix build by updating MdiChildContext.cs as intended by previous commit.
svn path=/trunk/mcs/; revision=57643
Jackson Harper [Tue, 7 Mar 2006 01:05:46 +0000 (01:05 -0000)]
MdiWindowManager.cs: Don't need to ensure scrollbars here
anymore.
svn path=/trunk/mcs/; revision=57642
Martin Baulig [Tue, 7 Mar 2006 00:39:56 +0000 (00:39 -0000)]
2006-03-07 Martin Baulig <martin@ximian.com>
* generic.cs (TypeManager.InferType): Allow infering
`IEnumerable<T>' with an array of T; see gtest-251.cs.
svn path=/trunk/mcs/; revision=57639
Lluis Sanchez [Mon, 6 Mar 2006 21:19:33 +0000 (21:19 -0000)]
2006-03-06 Lluis Sanchez Gual <lluis@novell.com>
* mono.1: Updated MONO_XMLSERIALIZER_THS option information.
svn path=/trunk/mono/; revision=57638
Miguel de Icaza [Mon, 6 Mar 2006 19:32:24 +0000 (19:32 -0000)]
Change the prefix/suffix for the OCI/Oracle library
svn path=/trunk/mono/; revision=57631
Jackson Harper [Mon, 6 Mar 2006 19:14:41 +0000 (19:14 -0000)]
* MdiClient.cs: Redid scrolling logic a bit to create a virtual
box and base calculations off this.
svn path=/trunk/mcs/; revision=57628
Peter Dennis Bartok [Mon, 6 Mar 2006 19:03:16 +0000 (19:03 -0000)]
2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
* Splitter.cs: In situations where the affected control is added
to the parent's control list after the splitter, we would not
populate affected. Now we try populating it on mousedown, if
it's not already set, and force it to be re-set whenever our
parent changes.
svn path=/trunk/mcs/; revision=57627
Peter Dennis Bartok [Mon, 6 Mar 2006 18:48:34 +0000 (18:48 -0000)]
2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
* Splitter.cs: In situations where the affected control is added
to the parent's control list after the splitter, we would not
populate affected. Now we try populating it on mousedown, if
it's not already set. (Maybe we should always do it, at the cost
of performance?)
svn path=/trunk/mcs/; revision=57626
Gonzalo Paniagua Javier [Mon, 6 Mar 2006 18:46:00 +0000 (18:46 -0000)]
2006-03-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* RecordProtocol.cs: avoid creating the ManualResetEvent whenever
possible. Don't lock on an instance of an object that the user can get.
svn path=/trunk/mcs/; revision=57625
Zoltan Varga [Mon, 6 Mar 2006 18:19:48 +0000 (18:19 -0000)]
2006-03-06 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c: Call mono_trace_is_enabled () before printing
trace messages. Fixes #77706.
svn path=/trunk/mono/; revision=57622
Boris Kirzner [Mon, 6 Mar 2006 16:49:59 +0000 (16:49 -0000)]
Added support for automated testing for TARGET_JVM
svn path=/trunk/mcs/; revision=57619
Konstantin Triger [Mon, 6 Mar 2006 15:33:28 +0000 (15:33 -0000)]
check for null reference
svn path=/trunk/mcs/; revision=57616
Konstantin Triger [Mon, 6 Mar 2006 15:31:09 +0000 (15:31 -0000)]
compare up to the provider name length
svn path=/trunk/mcs/; revision=57615
Vladimir Krasnov [Mon, 6 Mar 2006 15:20:21 +0000 (15:20 -0000)]
* CalendarTest.cs: refactoring, inline delegates replaced with regular ones.
* LinkButtonTest.cs: same
svn path=/trunk/mcs/; revision=57613