Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
AgeCommit message (Collapse)Author
2006-03-09**** Merged r57646, r57658 and r57715 from HEAD ****Martin Baulig
svn path=/branches/mono-1-1-13/mcs/; revision=57720
2006-03-092006-03-09 Martin Baulig <martin@ximian.com>Martin Baulig
* 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
2006-03-092006-03-08 Peter Dennis Bartok <pbartok@novell.com>Peter Dennis Bartok
* 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
2006-03-092006-03-08 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* SslStreamBase.cs: Re-implemented the synchronous versions of Read and Write methods so they don't use the async code. svn path=/branches/mono-1-1-13/mcs/; revision=57712
2006-03-092006-03-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>Carlos Alberto Cortez
* SerialPort.cs: * SerialPortStream.cs: Small advance/cleanups. svn path=/trunk/mcs/; revision=57711
2006-03-08In System.Web.Configuration_2.0:Chris Toshok
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
2006-03-082006-03-08 Chris Toshok <toshok@ximian.com>Chris Toshok
* SiteMapSectionTest.cs: test defaults. svn path=/trunk/mcs/; revision=57703
2006-03-08this is not an exeGonzalo Paniagua Javier
svn path=/branches/mono-1-1-13/mcs/; revision=57696
2006-03-08this is not an exeGonzalo Paniagua Javier
svn path=/trunk/mcs/; revision=57695
2006-03-08add some theme testsChris Toshok
svn path=/trunk/mcs/; revision=57694
2006-03-082006-03-08 Chris Toshok <toshok@ximian.com>Chris Toshok
* 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
2006-03-082006-03-08 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* 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
2006-03-082006-03-08 Senganal T <tsenganal@novell.com>Senganal T
* 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
2006-03-082006-03-07 Lluis Sanchez Gual <lluis@novell.com>Lluis Sanchez
* XmlReflectionImporter.cs: Ignore the element namespace if the schema form is set to Unqualified. Fixes bug #75019. svn path=/trunk/mcs/; revision=57688
2006-03-08* LinkButton.cs: fixed AddAttributesToRender, removed not needed language ↵Vladimir Krasnov
attribute svn path=/trunk/mcs/; revision=57687
2006-03-08* TextBox.cs: fixed missing value validations, Vladimir Krasnov
fixed rendering of empty value attribute svn path=/trunk/mcs/; revision=57686
2006-03-082006-03-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>Carlos Alberto Cortez
* SslStream.cs, NegotiateStream.cs: Override CanTimeout, ReadTimeout and WriteTimeout properties, to avoid warnings. svn path=/trunk/mcs/; revision=57685
2006-03-082006-03-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>Carlos Alberto Cortez
* Stream.cs: Add 2.0 members to Stream.cs (CanTimeout, ReadTimeout and WriteTimeout). svn path=/trunk/mcs/; revision=57684
2006-03-08 * gdipFunctions.cs: Rewrote the StreamSeekImpl function toJonathan Gilbert
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
2006-03-08 * PictureBox.cs: Revert line I accidently committed last week.Jackson Harper
svn path=/trunk/mcs/; revision=57680
2006-03-082006-03-07 Peter Dennis Bartok <pbartok@novell.com>Peter Dennis Bartok
* 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
2006-03-08In System.Web.UI:Chris Toshok
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
2006-03-082006-03-07 Chris Toshok <toshok@ximian.com>Chris Toshok
* 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
2006-03-082006-03-07 Chris Toshok <toshok@ximian.com>Chris Toshok
* ThemeDirectoryCompiler.cs: new file. * PageThemeCompiler.cs: new file. svn path=/trunk/mcs/; revision=57671
2006-03-082006-03-07 Chris Toshok <toshok@ximian.com>Chris Toshok
* BaseCompiler.cs: fix typo in "initialize" in multiple places. (Init): move the CreateMethods call here. svn path=/trunk/mcs/; revision=57669
2006-03-08Handle null values in result as having string typeKamil Skalski
svn path=/trunk/mcs/; revision=57667
2006-03-08- Disabled debugPeter Dennis Bartok
svn path=/trunk/mcs/; revision=57666
2006-03-082006-03-07 Peter Dennis Bartok <pbartok@novell.com>Peter Dennis Bartok
* 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
2006-03-072006-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>Gonzalo Paniagua Javier
* SslStreamBase.cs: avoid creating the ManualResetEvent whenever possible. Don't lock on an instance of an object that the user can get. svn path=/branches/mono-1-1-13/mcs/; revision=57664
2006-03-072006-03-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>Gonzalo Paniagua Javier
* 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
2006-03-072006-03-07 Lluis Sanchez Gual <lluis@novell.com>Lluis Sanchez
* System.Xml.Serialization/XmlSerializerTestClasses.cs: * System.Xml.Serialization/XmlSerializerTests.cs: Added tests for XmlSchemaForm. svn path=/trunk/mcs/; revision=57662
2006-03-072006-03-07 Martin Baulig <martin@ximian.com>Martin Baulig
* 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
2006-03-072006-03-07 Martin Baulig <martin@ximian.com>Martin Baulig
* String.cs (String.FormatHelper): Try getting an `ICustomFormatter' from the `provider' if possible. svn path=/trunk/mcs/; revision=57658
2006-03-072006-03-07 Senganal T <tsenganal@novell.com>Senganal T
* 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
2006-03-07* run-test.bat: fixed enviroment variablesVladimir Krasnov
svn path=/trunk/mcs/; revision=57652
2006-03-07* Added run-tests.bat to run tests on GrasshopperVladimir Krasnov
svn path=/trunk/mcs/; revision=57651
2006-03-07* DataList.cs: fixed CreateControlHierarchy, fixes 77693Vladimir Krasnov
svn path=/trunk/mcs/; revision=57650
2006-03-072006-03-07 Martin Baulig <martin@ximian.com>Martin Baulig
* Test/Records.cs: Temporarily disable these tests. svn path=/trunk/mcs/; revision=57649
2006-03-07New tests.Martin Baulig
svn path=/trunk/mcs/; revision=57646
2006-03-07Update the test sources.Martin Baulig
svn path=/trunk/mcs/; revision=57644
2006-03-07Fix build by updating MdiChildContext.cs as intended by previous commit.Alp Toker
svn path=/trunk/mcs/; revision=57643
2006-03-07 MdiWindowManager.cs: Don't need to ensure scrollbars hereJackson Harper
anymore. svn path=/trunk/mcs/; revision=57642
2006-03-07**** Merged r57639 from MCS ****Martin Baulig
svn path=/branches/mono-1-1-13/mcs/; revision=57641
2006-03-07**** Merged r57608 from MCS ****Martin Baulig
svn path=/branches/mono-1-1-13/mcs/; revision=57640
2006-03-072006-03-07 Martin Baulig <martin@ximian.com>Martin Baulig
* generic.cs (TypeManager.InferType): Allow infering `IEnumerable<T>' with an array of T; see gtest-251.cs. svn path=/trunk/mcs/; revision=57639
2006-03-062006-03-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>Gonzalo Paniagua Javier
* RecordProtocol.cs: avoid creating the ManualResetEvent whenever possible. Don't lock on an instance of an object that the user can get. svn path=/branches/mono-1-1-13/mcs/; revision=57633
2006-03-06 * MdiClient.cs: Redid scrolling logic a bit to create a virtualJackson Harper
box and base calculations off this. svn path=/trunk/mcs/; revision=57628
2006-03-062006-03-06 Peter Dennis Bartok <pbartok@novell.com>Peter Dennis Bartok
* 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
2006-03-062006-03-06 Peter Dennis Bartok <pbartok@novell.com>Peter Dennis Bartok
* 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
2006-03-062006-03-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>Gonzalo Paniagua Javier
* 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