Vladimir Krasnov [Thu, 9 Aug 2007 14:00:19 +0000 (14:00 -0000)]
* CssStyleCollection.cs: used ListDictionary instead of HybridDictionary as underlaying data structure
svn path=/trunk/mcs/; revision=83754
Rolf Bjarne Kvinge [Thu, 9 Aug 2007 13:43:35 +0000 (13:43 -0000)]
* System.Windows.Forms/DataGridView.cs: BeginEdit: don't allow editing
of readonly cells.
* System.Windows.Forms/DataGridViewCell.cs: Implement ReadOnly better:
the cell is ReadOnly if the DGV, the column, the row, or the cell
itself is readonly.
* Test/System.Windows.Forms/DataGridViewCommon.cs: Added a comment.
* Test/System.Windows.Forms/DataGridViewCellTest.cs: Added
ReadOnlyTest.
svn path=/trunk/mcs/; revision=83753
Jb Evain [Thu, 9 Aug 2007 13:25:18 +0000 (13:25 -0000)]
2007-08-09 Jb Evain <jbevain@novell.com>
* XmlTextReader.cs: Avoid using 2.0 only feature in 2.1.
svn path=/trunk/mcs/; revision=83752
Marek Safar [Thu, 9 Aug 2007 13:25:00 +0000 (13:25 -0000)]
Oups, wrong file
svn path=/trunk/mcs/; revision=83751
Marek Safar [Thu, 9 Aug 2007 13:23:12 +0000 (13:23 -0000)]
New tests.
svn path=/trunk/mcs/; revision=83750
Marek Safar [Thu, 9 Aug 2007 13:21:38 +0000 (13:21 -0000)]
Added more tests.
svn path=/trunk/mcs/; revision=83749
Marek Safar [Thu, 9 Aug 2007 13:20:10 +0000 (13:20 -0000)]
2007-08-09 Marek Safar <marek.safar@gmail.com>
** C# 3.0 Anonymous Types (update to the latest standard)
* cs-parser.jay: Updated parameters and type names.
svn path=/trunk/mcs/; revision=83748
Jb Evain [Thu, 9 Aug 2007 13:19:22 +0000 (13:19 -0000)]
2007-08-04 Jb Evain <jbevain@novell.com>
* XmlConvert.cs: use 2.1 available overloads of Parse.
svn path=/trunk/mcs/; revision=83747
Marek Safar [Thu, 9 Aug 2007 13:17:58 +0000 (13:17 -0000)]
2007-08-09 Marek Safar <marek.safar@gmail.com>
** C# 3.0 Anonymous Types (update to the latest standard)
* expression.cs (Binary.ResolveOperator): Threat all null based types
same.
(AnonymousTypeDeclaration): Renamed from AnonymousType and simplified.
(AnonymousTypeParameter): Updated.
* anonymous.cs (CompilerGeneratedClass): Add custom name overload.
(AnonymousTypeClass): New anonymous type container.
* class.cs (AddField): Return operation result.
* generic.cs: Another empty TypeArguments overload.
* roottypes.cs (AddAnonymousType, GetAnonymousType): Anonymous types
are stored at top of normal hierarchy.
* typemanager.cs (CSharpName): Filter anonymous types.
svn path=/trunk/mcs/; revision=83746
Jb Evain [Thu, 9 Aug 2007 12:57:04 +0000 (12:57 -0000)]
2007-08-04 Jb Evain <jbevain@novell.com>
* XmlInputStream.cs: there's no ASCII encoding in 2.1.
svn path=/trunk/mcs/; revision=83743
Gert Driesen [Thu, 9 Aug 2007 12:21:37 +0000 (12:21 -0000)]
Matching ChangeLog entry.
svn path=/trunk/mcs/; revision=83741
Gert Driesen [Thu, 9 Aug 2007 12:15:41 +0000 (12:15 -0000)]
* ThemeNice.cs: Use XplatUI.RunningOnUnix instead of checking
OSVersion.Platform.
* FileDialog.cs: Same.
* TextRendered.cs: Same.
* FolderBrowserDialog.cs: Same.
* TextBoxBase.cs: Same.
* Application.cs: Same.
* Cursors.cs: Same.
* ThemeClearLooks.cs: Same.
svn path=/trunk/mcs/; revision=83740
Raja R Harinath [Thu, 9 Aug 2007 12:08:04 +0000 (12:08 -0000)]
* reflection.c (dup_type): Remove.
* class.c (dup_type): Remove.
(mono_metadata_signature_deep_dup): Use 'mono_metadata_type_dup'
instead of the dodgy 'dup_type'.
(inflate_generic_type): Likewise. Fix the VAR/MVAR cases to
handle the case where 'dup_type' needed the second argument.
svn path=/trunk/mono/; revision=83739
Gert Driesen [Thu, 9 Aug 2007 11:51:45 +0000 (11:51 -0000)]
* XplatUI.cs: Added RunningOnUnix property to be used by controls
instead of duplicating these checks everywhere.
* FileDialog.cs: Use case-insensitive comparison for populating the
DirComboBox when not running on unix. Fixes bug #82385.
* OpenFileDialog.cs: to match MS, change label of DirComboBox to
"Look in".
svn path=/trunk/mcs/; revision=83738
Rolf Bjarne Kvinge [Thu, 9 Aug 2007 11:25:36 +0000 (11:25 -0000)]
* System.Windows.Forms/DataGridView.cs: SelectedRows: we need to check
if selectionMode is FullRowSelect (not FullColumnSelect). Fixes
#81075. Implemented BeginEdit, EndEdit,
SetSelected<Cell|Row|Column>Core. Implemented row, cell and column
selection with ctrl and shift pressed. Call the correct
BeginEdit/EndEdit whenever we start/end editing. Move painting code
to the corresponding virtual method (PaintBackground to paint
background, etc).
* System.Windows.Forms/DataGridViewCell.cs: Implement Selected
correctly, we're selected if either the column, row or the cell
itself is selected.
* System.Windows.Forms/DataGridViewRowCollection.cs: Use
DGV.OnRowsAddedInternal instead of OnRowsAdded.
* System.Windows.Forms/DataGridViewRow.cs: Moved some of the painting
code from DataGridView here. When the row is selected, don't select
all cells. Each cell now queries the row to see if the row is
selected.
svn path=/trunk/mcs/; revision=83736
Rolf Bjarne Kvinge [Thu, 9 Aug 2007 11:18:01 +0000 (11:18 -0000)]
Fix mixed line endings.
svn path=/trunk/mcs/; revision=83735
Marek Habersack [Thu, 9 Aug 2007 10:26:46 +0000 (10:26 -0000)]
2007-08-09 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: unconditionally watch for changes
(including creation) to Global.asax, global.asax, Web.config,
web.config and Web.Config. This makes the application restart once
any of those is created. Patch from Juraj Skripsky
<juraj@hotfeet.ch>, thanks! Fixes bug #82380.
svn path=/trunk/mcs/; revision=83729
Rolf Bjarne Kvinge [Thu, 9 Aug 2007 08:43:05 +0000 (08:43 -0000)]
* System.Windows.Forms/DataGridViewColumn.cs: Throw if the SortMode
conflicts with DataGridView's SelectionMode.
* Test/System.Windows.Forms/DataGridViewColumnCollectionTest.cs: Added
AddFullColumnSelect.
svn path=/trunk/mcs/; revision=83719
Marek Safar [Thu, 9 Aug 2007 08:33:01 +0000 (08:33 -0000)]
2007-08-09 Marek Safar <marek.safar@gmail.com>
* expression.cs (StringConcat.Append): Handle 3 and more concatenation
as single Concat call. How could we miss that :-(
svn path=/trunk/mcs/; revision=83718
Atsushi Eno [Thu, 9 Aug 2007 04:15:15 +0000 (04:15 -0000)]
2007-08-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlReader.cs XmlNodeReader2.cs XmlTextReader.cs XmlTextReader2.cs
XmlNodeReaderImpl.cs EntityResolvingXmlReader.cs :
The previous attempt was wrong. Those internal-virtualized ones
could be used in System.Xml.Core classes and outside the assembly
any derived XmlReaders would have thrown throw Exception.
Now I marked them as nonexistent-in-2.1 or privatized.
* XmlWriter.cs : actually only this class is affected (if there
were DOM or XSD they would have been affected as well).
* SubtreeXmlReader.cs XmlFilterReader.cs : further dependent changes.
svn path=/trunk/mcs/; revision=83706
Carlos Alberto Cortez [Thu, 9 Aug 2007 03:57:20 +0000 (03:57 -0000)]
2007-08-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: In ListViewItemsCollection check that owner is
not null before trying to access it (this happens quite often
using Groups). Also don't duplicate calls by calling CollectionChanged
method.
svn path=/trunk/mcs/; revision=83704
Gonzalo Paniagua Javier [Thu, 9 Aug 2007 03:48:02 +0000 (03:48 -0000)]
2007-08-08 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
* Process.cs: added StandardOutputEncoding and StandardErrorEncoding
properties. Bug #82262 fixed.
svn path=/trunk/mcs/; revision=83703
Atsushi Eno [Thu, 9 Aug 2007 03:37:04 +0000 (03:37 -0000)]
2007-08-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlReader.cs : HasValue, ReadAttributeValue() and ResolveEntity()
do not exist in 2.1 profile. Hiding abstract stuff seems to cause
some issues at run time, so they are ifdef-ed out from 2.1.
* XmlNodeReader2.cs DTDValidatingReader2.cs XmlTextReader.cs
XmlTextReader2.cs XmlNodeReaderImpl.cs DTDValidatingReader.cs
EntityResolvingXmlReader.cs : hence the change above.
* SubtreeXmlReader.cs XmlFilterReader.cs : dependent changes due to
XmlReader.cs changes for 2.1 profile.
svn path=/trunk/mcs/; revision=83702
Jonathan Pobst [Wed, 8 Aug 2007 21:45:28 +0000 (21:45 -0000)]
2007-08-08 Jonathan Pobst <monkey@jpobst.com>
* ToolStrip.cs: Record if we were activated by mouse or keyboard. Redraw
when we are dismissed to clear keyboard mnemonics.
* MenuStrip.cs, ToolStripDropDown.cs, ToolStripItem.cs,
ToolStripMenuItem.cs: Record if we were activated by mouse or keyboard.
* ToolStripItemTextRenderEventArgs.cs: Draw mnemonic underlines if menu
was activated by keyboard or the OS tells us to always draw them.
* ToolStripManager.cs: Setup storage for activated by mouse or keyboard.
[Fixes bugs #82376, #82377]
svn path=/trunk/mcs/; revision=83697
Jonathan Pobst [Wed, 8 Aug 2007 17:52:14 +0000 (17:52 -0000)]
2007-08-08 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: If no one accepts a mnemonic, let the MenuStrip have a
shot at having it because Alt was pressed.
* MenuStrip.cs: When handling Alt, don't select a SystemMenuItem, select
the first real menu item.
* ToolStrip.cs: Don't crash when looking for a ToolStripItem to handle
a mnemonic if Text is null.
[Fixes bug #82374]
svn path=/trunk/mcs/; revision=83684
Zoltan Varga [Wed, 8 Aug 2007 17:35:36 +0000 (17:35 -0000)]
2007-08-08 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mono_print_thread_dump): Enable this on amd64 too.
* mini-amd64.h (MONO_INIT_CONTEXT_FROM_FUNC): Fix a warning.
svn path=/trunk/mono/; revision=83683
Zoltan Varga [Wed, 8 Aug 2007 17:02:06 +0000 (17:02 -0000)]
2007-08-08 Zoltan Varga <vargaz@gmail.com>
* Thread.cs: Add a fixme.
svn path=/trunk/mcs/; revision=83682
Carlos Alberto Cortez [Wed, 8 Aug 2007 16:56:30 +0000 (16:56 -0000)]
2007-08-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: In ListViewItemCollection.AddItem, don't do a linear
search do check whether the item is already contained in the
collection or not; instead check if the owner of the item is the same
as ours. Also, remove a redundant check in the same method.
svn path=/trunk/mcs/; revision=83681
Miguel de Icaza [Wed, 8 Aug 2007 16:40:56 +0000 (16:40 -0000)]
Add debuggin stuff
svn path=/trunk/mono/; revision=83680
Atsushi Eno [Wed, 8 Aug 2007 16:25:59 +0000 (16:25 -0000)]
another set of cosmetic 2.0 API fixes.
svn path=/trunk/mcs/; revision=83679
Zoltan Varga [Wed, 8 Aug 2007 16:17:56 +0000 (16:17 -0000)]
2007-08-08 Zoltan Varga <vargaz@gmail.com>
* domain.c: Fix a warning.
svn path=/trunk/mono/; revision=83678
Jonathan Pobst [Wed, 8 Aug 2007 14:49:16 +0000 (14:49 -0000)]
2007-08-08 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: Allow the clip region to be set back to null.
* XplatUIWin32.cs: If we are sent a null clip region, use IntPtr.Zero.
[Fixes button still showing up in bug #82370 when Show Through is turned off]
svn path=/trunk/mcs/; revision=83673
Miguel de Icaza [Wed, 8 Aug 2007 14:41:33 +0000 (14:41 -0000)]
Add test
svn path=/trunk/mcs/; revision=83671
Rolf Bjarne Kvinge [Wed, 8 Aug 2007 13:19:44 +0000 (13:19 -0000)]
Big duhh...
svn path=/trunk/mcs/; revision=83668
Dick Porter [Wed, 8 Aug 2007 13:14:21 +0000 (13:14 -0000)]
2007-06-28 Chris Howie <cdhowie@nerdshack.com>
* ServicePoint.cs: Implemented BindIPEndPointDelegate.
* FtpWebRequest.cs: Respect ServicePoint.BindIPEndPointDelegate.
* WebConnection.cs: Respect ServicePoint.BindIPEndPointDelegate.
2007-06-28 Chris Howie <cdhowie@nerdshack.com>
* ServicePointTest.cs: Add some loose tests for
ServicePoint.BindIPEndPointDelegate.
svn path=/trunk/mcs/; revision=83666
Atsushi Eno [Wed, 8 Aug 2007 12:56:29 +0000 (12:56 -0000)]
2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
* IntPtr.cs : oops, do not ignore format in ToString(string).
* IntPtrTest.cs : added test for ToString(string).
svn path=/trunk/mcs/; revision=83665
Atsushi Eno [Wed, 8 Aug 2007 12:50:35 +0000 (12:50 -0000)]
2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
* GC.cs, Exception.cs, IntPtr.cs, Enum.cs, DateTime.cs, Convert.cs
ConsoleKeyInfo.cs, String.cs, Object.cs, Attribute.cs,
Version.cs : couple of cosmetic 2.0 API fixes.
svn path=/trunk/mcs/; revision=83664
Rolf Bjarne Kvinge [Wed, 8 Aug 2007 12:44:13 +0000 (12:44 -0000)]
* System.Windows.Forms/GridEntry.cs: Add a null check.
* System.Windows.Forms/PropertyGrid.cs: When checking for existing grid
entries, ignore category entries. Fixes #82297.
svn path=/trunk/mcs/; revision=83663
Atsushi Eno [Wed, 8 Aug 2007 12:44:10 +0000 (12:44 -0000)]
2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
* SecureString.cs : commenting out internal call. It somehow seems
to cause timeout on the buildbots :(
svn path=/trunk/mcs/; revision=83662
Rolf Bjarne Kvinge [Wed, 8 Aug 2007 10:13:12 +0000 (10:13 -0000)]
* Test/System.Windows.Forms/ContainerControlTest.cs,
Test/System.Windows.Forms/ControlTest.cs,
Test/System.Windows.Forms/DefaultLayoutTest.cs,
Test/System.Windows.Forms/FormTest.cs,
Test/System.Windows.Forms/PanelTest.cs,
Test/System.Windows.Forms/TableLayoutTest.cs,
Test/System.Windows.Forms/UserControlTest.cs: Dispose of forms when
they're no longer used.
* Test/System.Windows.Forms/ListViewCollectionsTest.cs: Dispose of
listviews when they're no longer used.
svn path=/trunk/mcs/; revision=83650
Marek Safar [Wed, 8 Aug 2007 10:05:31 +0000 (10:05 -0000)]
2007-08-08 Marek Safar <marek.safar@gmail.com>
* expression.cs (ArrayCreation.CloneTo): Allocate exact size.
svn path=/trunk/mcs/; revision=83649
Marek Habersack [Wed, 8 Aug 2007 09:36:02 +0000 (09:36 -0000)]
2007-08-08 Marek Habersack <mhabersack@novell.com>
* SessionDictionary.cs: do not use lock (this), replace it
with lock (this_object), where this_object is an instance
variable. Prevents deadlocks in situation when external code locks
on the class instance.
2007-08-08 Marek Habersack <mhabersack@novell.com>
* WebConfigurationSettings.cs: do not use lock (this), replace it
with lock (this_object), where this_object is an instance
variable. Prevents deadlocks in situation when external code locks
on the class instance.
2007-08-08 Marek Habersack <mhabersack@novell.com>
* StaticSiteMapProvider.cs, HttpApplicationFactory.cs,
HttpStaticObjectsCollection.cs, SiteMapProvider.cs,
XmlSiteMapProvider.cs, HttpApplication.cs, CapabilitiesLoader.cs,
TimeoutManager.cs: do not use lock (this), replace it with lock
(this_object), where this_object is an instance variable. Prevents
deadlocks in situation when external code locks on the class
instance.
svn path=/trunk/mcs/; revision=83648
Massimiliano Mantione [Wed, 8 Aug 2007 09:12:49 +0000 (09:12 -0000)]
* bug-77127.cs: Test for bug #77127.
* Makefile.am: Added bug-77127.cs.
svn path=/trunk/mono/; revision=83647
Massimiliano Mantione [Wed, 8 Aug 2007 09:12:04 +0000 (09:12 -0000)]
* class.c (mono_class_setup_vtable_general): Fixed bug #77127,
checking that methods with the same fqname are not overridden
with a method from an ancestor.
svn path=/trunk/mono/; revision=83646
Konstantin Triger [Wed, 8 Aug 2007 08:04:57 +0000 (08:04 -0000)]
remove unneeded dep on web for web service clients
svn path=/trunk/mcs/; revision=83640
Jb Evain [Wed, 8 Aug 2007 06:48:13 +0000 (06:48 -0000)]
2007-08-08 Jb Evain <jbevain@novell.com>
* HttpWebRequest.cs: .ctor(Uri) is public in 2.1.
svn path=/trunk/mcs/; revision=83635
Atsushi Eno [Wed, 8 Aug 2007 06:27:38 +0000 (06:27 -0000)]
2007-08-08 Atsushi Enomoto <atsushi@ximian.com>
* XslCallTemplate.cs : significant whitespace should be allowed
as its content. Fixed bug #82357.
* XslTransformTests.cs : added test for bug #82357.
svn path=/trunk/mcs/; revision=83634
Jb Evain [Wed, 8 Aug 2007 05:51:03 +0000 (05:51 -0000)]
removing that as it breaks the 2.1 build
svn path=/trunk/mcs/; revision=83633
Miguel de Icaza [Wed, 8 Aug 2007 00:02:43 +0000 (00:02 -0000)]
Also needed for EmptyStatement
svn path=/trunk/mcs/; revision=83630
Miguel de Icaza [Wed, 8 Aug 2007 00:00:55 +0000 (00:00 -0000)]
Add support for Break/Continue for CloneTo
svn path=/trunk/mcs/; revision=83629
Miguel de Icaza [Tue, 7 Aug 2007 23:54:48 +0000 (23:54 -0000)]
2007-08-07 Miguel de Icaza <miguel@novell.com>
* expression.cs: Fix the previous commit, the creation of the
arguments array list needs also to be conditional on the arguments
not being null.
svn path=/trunk/mcs/; revision=83628
Miguel de Icaza [Tue, 7 Aug 2007 23:21:54 +0000 (23:21 -0000)]
2007-08-07 Miguel de Icaza <miguel@novell.com>
* class.cs: Add a little bit of help to help narrow down problems.
* expression.cs (ArrayCreation.CloneTo): Argument can be null, do
not try to copy in that case.
svn path=/trunk/mcs/; revision=83626
Miguel de Icaza [Tue, 7 Aug 2007 21:42:22 +0000 (21:42 -0000)]
replace winfx.pub that was a copy of ecma.pub with the actual winfx file from Olive; Fixes
svn path=/trunk/mcs/; revision=83625
Jonathan Pobst [Tue, 7 Aug 2007 21:30:55 +0000 (21:30 -0000)]
2007-08-07 Jonathan Pobst <monkey@jpobst.com>
* OwnerDrawPropertyBag.cs: Make the serialization constructor protected
for 2.0.
svn path=/trunk/mcs/; revision=83624
Miguel de Icaza [Tue, 7 Aug 2007 20:49:20 +0000 (20:49 -0000)]
Typo
svn path=/trunk/mcs/; revision=83623
Jonathan Pobst [Tue, 7 Aug 2007 20:41:35 +0000 (20:41 -0000)]
2007-08-07 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: Implement ScaleControl.
2007-08-07 Jonathan Pobst <monkey@jpobst.com>
* ListBoxTest.cs: Added test for ScaleControl.
svn path=/trunk/mcs/; revision=83622
Miguel de Icaza [Tue, 7 Aug 2007 20:24:27 +0000 (20:24 -0000)]
2007-08-07 Miguel de Icaza <miguel@novell.com>
* driver.cs: When building SMCS, include a new different set of
default assemblies here. Do this here so we can control whether
to include the default assemblies with /noconfig.
svn path=/trunk/mcs/; revision=83617
Miguel de Icaza [Tue, 7 Aug 2007 20:18:34 +0000 (20:18 -0000)]
Add this
svn path=/trunk/mcs/; revision=83616
Miguel de Icaza [Tue, 7 Aug 2007 20:16:20 +0000 (20:16 -0000)]
remove the -pkg line, we will do this differently
svn path=/trunk/mono/; revision=83615
Zoltan Varga [Tue, 7 Aug 2007 20:10:20 +0000 (20:10 -0000)]
2007-08-07 Zoltan Varga <vargaz@gmail.com>
* threads.c (free_thread_static_data_helper): Avoid a crash if
thread->static_data is not yet set.
svn path=/trunk/mono/; revision=83614
Rolf Bjarne Kvinge [Tue, 7 Aug 2007 19:32:50 +0000 (19:32 -0000)]
* System.Windows.Forms/Form.cs: Add a few ActiveMenu null checks.
ActiveMenu might be null if we have a menu strip.
* System.Windows.Forms/MdiWindowManager.cs: Don't create a maximized
menu if the child or it's parent has a menu strip. Fixes #81689.
svn path=/trunk/mcs/; revision=83608
Jonathan Chambers [Tue, 7 Aug 2007 18:27:59 +0000 (18:27 -0000)]
2007-08-07 Jonathan Chambers <joncham@gmail.com>
* marshal.c: Use correct image when emitting
native wrapper for COM calls.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=83601
Rolf Bjarne Kvinge [Tue, 7 Aug 2007 15:49:05 +0000 (15:49 -0000)]
* System.Windows.Forms/ToolTip.cs: We don't get mouse events on all
platforms in the exact same moments, so apply some fuzzy logic to
determine if the mouse is still inside a control or not. Fixes
#82288 (for the third time).
svn path=/trunk/mcs/; revision=83595
Gert Driesen [Tue, 7 Aug 2007 15:36:22 +0000 (15:36 -0000)]
* TypeTest.cs: Uncomment test for bug #82211.
svn path=/trunk/mcs/; revision=83594
Rolf Bjarne Kvinge [Tue, 7 Aug 2007 14:52:12 +0000 (14:52 -0000)]
* System.Windows.Forms/Control.cs: CreateControl: create implicit
children as well. Fixes #82344. Don't create the child if it has
been disposed already (may happen if the user closes the form the
Load event).
svn path=/trunk/mcs/; revision=83588
Roei Erez [Tue, 7 Aug 2007 14:48:06 +0000 (14:48 -0000)]
performance fix that eliminates stale connection checking at apache http client.
svn path=/trunk/mcs/; revision=83586
Atsushi Eno [Tue, 7 Aug 2007 12:24:37 +0000 (12:24 -0000)]
2007-08-07 Atsushi Enomoto <atsushi@ximian.com>
* SecureString.cs : adding notes that ProtectedMemory is not
implemented for non-windows environment.
svn path=/trunk/mcs/; revision=83583
Vladimir Krasnov [Tue, 7 Aug 2007 12:01:15 +0000 (12:01 -0000)]
* Menu.cs: performance refactoring, used AddAttribute overload without encoding on known attribute values, optimized DynamicMenu rendering
svn path=/trunk/mcs/; revision=83581
Vladimir Krasnov [Tue, 7 Aug 2007 11:45:27 +0000 (11:45 -0000)]
* TreeView.cs: refactoring, used AddAttribute overload without encoding on known attribute values,
used Page.ClientScript.GetWebResourceUrl call instead of AssemblyResourceLoader.GetResourceUrl
svn path=/trunk/mcs/; revision=83580
Vladimir Krasnov [Tue, 7 Aug 2007 11:34:40 +0000 (11:34 -0000)]
* Control.cs: refactoring of LookForControlByName with caching
svn path=/trunk/mcs/; revision=83578
Igor Zelmanovich [Tue, 7 Aug 2007 11:29:41 +0000 (11:29 -0000)]
fixed project file
svn path=/trunk/mcs/; revision=83577
Atsushi Eno [Tue, 7 Aug 2007 11:21:06 +0000 (11:21 -0000)]
2007-08-07 Atsushi Enomoto <atsushi@ximian.com>
* SecureString.cs : Decrypt() and Encrypt() now use icall wrapper
to ProtectedMemory in System.Security.dll.
svn path=/trunk/mcs/; revision=83576
Atsushi Eno [Tue, 7 Aug 2007 11:19:34 +0000 (11:19 -0000)]
2007-08-07 Atsushi Enomoto <atsushi@ximian.com>
* icall-def.h, security.c, security.h :
added icall wrapper to ProtectedMemory.[Unprotect|Protect]Data().
svn path=/trunk/mono/; revision=83575
Rolf Bjarne Kvinge [Tue, 7 Aug 2007 11:06:29 +0000 (11:06 -0000)]
* System.Windows.Forms/ToolTip.cs: If ReshowDelay is 0, show the
tooltip immediately. Fixes #82288.
svn path=/trunk/mcs/; revision=83574
Rolf Bjarne Kvinge [Tue, 7 Aug 2007 09:53:00 +0000 (09:53 -0000)]
* System.Windows.Forms/Control.cs: Add a null check in
OnParentBindingContextChanged. The parent might call us after we've
been destroyed, in which case our own private parent field is null.
Fixes #82326.
* Test/System.Windows.Forms/DataGridViewTest.cs: Added test for #82326
and added a few forgotten [Test] attributes.
svn path=/trunk/mcs/; revision=83572
Rolf Bjarne Kvinge [Tue, 7 Aug 2007 09:37:01 +0000 (09:37 -0000)]
* SWF.csproj, SWF2k5.csproj, SWF2k5-tests.csproj: Updated.
svn path=/trunk/mcs/; revision=83571
Atsushi Eno [Mon, 6 Aug 2007 23:46:28 +0000 (23:46 -0000)]
2007-08-06 Atsushi Enomoto <atsushi@ximian.com>
* Process.cs, ProcessStartInfo.cs : added StandardOutputEncoding
and StandardErrorEncoding.
* ProcessStartInfoTest.cs: tests for Standard[Output|Error]Encoding.
svn path=/trunk/mcs/; revision=83566
Martin Baulig [Mon, 6 Aug 2007 22:02:03 +0000 (22:02 -0000)]
2007-08-07 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.h
(MonoDebuggerEvent): Add `MONO_DEBUGGER_EVENT_DOMAIN_UNLOAD'.
* domain.c (mono_domain_free): Call
`mono_debugger_event (MONO_DEBUGGER_EVENT_DOMAIN_UNLOAD)'.
svn path=/trunk/mono/; revision=83563
Aaron Bockover [Mon, 6 Aug 2007 21:16:01 +0000 (21:16 -0000)]
2007-08-06 Aaron Bockover <abockover@novell.com>
* Environment.cs (ReadXdgUserDir): Support the changes to the
xdg-user-dirs spec that allow /home/aaron to start the path; also allows
for quotes surrounding the path (Patch ported from Banshee,
BGO #461596)
svn path=/trunk/mcs/; revision=83557
Jonathan Pobst [Mon, 6 Aug 2007 18:17:00 +0000 (18:17 -0000)]
2007-08-06 Jonathan Pobst <monkey@jpobst.com>
* ToolStripDropDown.cs: Fix a failing test on X11 by adding a null
check for setting the dropdown's owner.
svn path=/trunk/mcs/; revision=83549
Jonathan Pobst [Mon, 6 Aug 2007 17:55:44 +0000 (17:55 -0000)]
2007-08-06 Jonathan Pobst <monkey@jpobst.com>
* MdiClient.cs: Fix some failing tests on X11 by adding a null check
before removing system menu items.
svn path=/trunk/mcs/; revision=83546
Rodrigo Kumpera [Mon, 6 Aug 2007 17:19:10 +0000 (17:19 -0000)]
2007-08-06 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (check_underflow, check_overflow): error message now returns IL offset
* verify.c (in_same_block): code should test if either offset is inside the clauses
* verify.c (mono_method_verify): push the exception into the eval stack of exception
and filter blocks
svn path=/trunk/mono/; revision=83545
Jb Evain [Mon, 6 Aug 2007 16:51:52 +0000 (16:51 -0000)]
2007-08-06 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Cil/CilWorker.cs:
Fix the linked list after an InsertBefore, InsertAfter.
svn path=/trunk/mcs/; revision=83543
Igor Zelmanovich [Mon, 6 Aug 2007 15:46:33 +0000 (15:46 -0000)]
2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
* DataSourceView.cs: fixed:
view raises onchange event when datasource is chenged.
2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
* DataSourceViewTest.cs:
Added new test.
2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
* AccessDataSource.cs: does not subscribed on view changed event.
* ObjectDataSource.cs: fixed state management.
* SqlDataSource.cs: fixed state management.
svn path=/trunk/mcs/; revision=83541
Rodrigo Kumpera [Mon, 6 Aug 2007 15:20:49 +0000 (15:20 -0000)]
2007-08-06 Rodrigo Kumpera <rkumpera@novell.com>
* AssemblyResourceLoader.cs: use the right static constructor name
if SYSTEM_WEB_EXTENSIONS is defined.
svn path=/trunk/mcs/; revision=83540
Igor Zelmanovich [Mon, 6 Aug 2007 14:45:58 +0000 (14:45 -0000)]
2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: fixed: control ID management.
2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
* ControlTest.cs:
Added new tests.
2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
* DataGridTest.cs:
* DetailsViewTest.cs:
fixed tests.
svn path=/trunk/mcs/; revision=83536
Vladimir Krasnov [Mon, 6 Aug 2007 13:48:36 +0000 (13:48 -0000)]
* AssemblyResourceLoader.cs: performance optimization, caching urls for built-in resources
fixed CacheControl, should be private
added HttpException if resource is not found
svn path=/trunk/mcs/; revision=83532
Jb Evain [Mon, 6 Aug 2007 12:32:57 +0000 (12:32 -0000)]
update tests
svn path=/trunk/mcs/; revision=83530
Marek Habersack [Mon, 6 Aug 2007 07:55:46 +0000 (07:55 -0000)]
2007-08-06 Marek Habersack <mhabersack@novell.com>
* AspComponentFoundry.cs: properly add new foundry if the
corresponding entry in the foundries collection is a Queue. Patch
from Juraj Skripsky <juraj@hotfeet.ch>, thanks! Fixes bug #82285.
svn path=/trunk/mcs/; revision=83524
Atsushi Eno [Mon, 6 Aug 2007 07:48:23 +0000 (07:48 -0000)]
2007-08-06 Atsushi Enomoto <atsushi@ximian.com>
* PerformanceCounterCategory.cs PerformanceCounter.cs :
added missing 2.0 stuff (unimplemented, where things are anyways
unimplemented in 1.x layer).
svn path=/trunk/mcs/; revision=83523
Nagappan Alagappan [Mon, 6 Aug 2007 07:17:20 +0000 (07:17 -0000)]
2007-08-06 Nagappan A <anagappan@novell.com>
* SqlCommand.cs, SqlDataReader.cs, SqlConnection.cs: When the
server resets the connection, now the client code also disconnects
the session and remove the instance from pool. Fixes bug # 81933.
svn path=/trunk/mcs/; revision=83522
Igor Zelmanovich [Mon, 6 Aug 2007 07:16:55 +0000 (07:16 -0000)]
2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: refactoring: code formatting only.
svn path=/trunk/mcs/; revision=83521
Nagappan Alagappan [Mon, 6 Aug 2007 07:16:37 +0000 (07:16 -0000)]
2007-08-06 Nagappan A <anagappan@novell.com>
* TdsComm.cs (TdsComm): Now connects to the SqlServer in Async
mode. Fixes bug # 81934.
* Tds.cs (ProcessEnvironmentChange): Gets the server locale to use
them when required. Fixes bug # 82047.
When the server resets the connection, now the client code also
disconnects the session and remove the instance. Fixes bug #
81933.
Added new protected property Locale.
* TdsEnvPacketSubType.cs (Locale): Added new enumerator
entry. This gets the Locale type of SqlServer. Fixes bug # 82047.
* Tds70.cs (FormatParameter): Fixes the error when trying to add a
row with a DateTime field into an Italian SqlServer, bug # 82047.
svn path=/trunk/mcs/; revision=83520
Nagappan Alagappan [Mon, 6 Aug 2007 07:00:57 +0000 (07:00 -0000)]
2007-08-06 Nagappan A <anagappan@novell.com>
* DataTableTest.cs (Bug55978): In some cases this test case was
failing with Invalid Date format. So modified the testcase to use
invariant culture for DateTime.
svn path=/trunk/mcs/; revision=83519
Atsushi Eno [Mon, 6 Aug 2007 05:40:47 +0000 (05:40 -0000)]
2007-08-06 Atsushi Enomoto <atsushi@ximian.com>
* PerformanceCounterInstanceLifetime.cs
PerformanceCounterCategoryType.cs : new.
* ICollectData.cs ProcessStartInfo.cs
InstanceDataCollectionCollection.cs PerformanceCounter.cs
InstanceDataCollection.cs Process.cs :
cosmetic attributes cleanup.
* System.dll.sources : added PerformanceCounterInstanceLifetime.cs
and PerformanceCounterCategoryType.cs.
svn path=/trunk/mcs/; revision=83517
Miguel de Icaza [Sun, 5 Aug 2007 16:49:09 +0000 (16:49 -0000)]
2007-08-05 Miguel de Icaza <miguel@novell.com>
* data/Makefile.am (pkgconfig_DATA): Move the pc.in files to the
data directory to keep the toplevel directory clean.
svn path=/trunk/mono/; revision=83507
Miguel de Icaza [Sun, 5 Aug 2007 16:44:00 +0000 (16:44 -0000)]
up
svn path=/trunk/mono/; revision=83506
Bill Holmes [Sun, 5 Aug 2007 16:11:36 +0000 (16:11 -0000)]
2007-08-04 William Holmes <billholmes54@gmail.com>
* AppDomainTest.cs: Adding username to tempDir to avoid file access
permissions.
svn path=/trunk/mcs/; revision=83505
Vladimir Krasnov [Sun, 5 Aug 2007 14:32:16 +0000 (14:32 -0000)]
* HtmlHead.cs: refactoring, used AddAttribute overload without encoding on known attribute values
svn path=/trunk/mcs/; revision=83501
Vladimir Krasnov [Sun, 5 Aug 2007 14:30:23 +0000 (14:30 -0000)]
* Button.cs, DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs, RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs, TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs, BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs, RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs, ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs: refactoring, used AddAttribute overload without encoding on known attribute values
svn path=/trunk/mcs/; revision=83500