Marek Habersack [Thu, 3 May 2007 10:39:43 +0000 (10:39 -0000)]
2007-05-03 Marek Habersack <mhabersack@novell.com>
* TreeNode.cs: correct version of the fix in r76488. Nodes
retrieved from a navigation data source which have empty URL will
not be selectable.
svn path=/trunk/mcs/; revision=76604
Konstantin Triger [Thu, 3 May 2007 10:37:39 +0000 (10:37 -0000)]
Refactoring: replace ToLower -> ToLowerInvariant
svn path=/trunk/mcs/; revision=76603
Yoni Klain [Thu, 3 May 2007 09:48:04 +0000 (09:48 -0000)]
<03.05.07 by : Yoni <Yonik@mainsoft.com >
Remove #if TARGET_JVM: TD #7164
svn path=/trunk/mcs/; revision=76601
Konstantin Triger [Thu, 3 May 2007 09:39:36 +0000 (09:39 -0000)]
Refactoring: ensure proper cleanup
svn path=/trunk/mcs/; revision=76599
Marek Habersack [Thu, 3 May 2007 09:32:27 +0000 (09:32 -0000)]
2007-05-03 Marek Habersack <mhabersack@novell.com>
* TreeViewTest.cs: revert r76541.
2007-05-03 Marek Habersack <mhabersack@novell.com>
* TreeView.cs: revert r76488, it wasn't entirely correct. I need
to investigate the special cases it solved a bit more.
svn path=/trunk/mcs/; revision=76597
Jonathan Pobst [Wed, 2 May 2007 21:15:30 +0000 (21:15 -0000)]
2007-05-02 Jonathan Pobst <monkey@jpobst.com>
corcompare work: N - Z
* NotifyIcon.cs
* ProgressBar.cs
* RadionButton.cs
* ScrollableControl.cs
* SplitContainer.cs
* SplitterPanel.cs
* StatusBar.cs
* SystemInformation.cs
* TabControl.cs
* TableLayoutControlCollection.cs
* TableLayoutPanel.cs
* TabPage.cs
* ToolBar.cs
* ToolBarButton.cs
* ToolStrip.cs
* ToolStripComboBox.cs
* ToolStripContainer.cs
* ToolStripContentPanel.cs
* ToolStripDropDown.cs
* ToolStripDropDownItem.cs
* ToolStripDropDownMenu.cs
* ToolStripItem.cs
* ToolStripItemCollection.cs
* ToolStripMenuItem.cs
* ToolStripPanel.cs
* ToolStripSplitButton.cs
* ToolTip.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeNodeMouseHoverEventArgs.cs
* TreeView.cs
svn path=/trunk/mcs/; revision=76591
Everaldo Canuto [Wed, 2 May 2007 20:51:27 +0000 (20:51 -0000)]
2007-05-01 Everaldo Canuto <everaldo@simios.org>
* ContextMenu.cs: Add public method Show with alignment property to 2.0
stuff. Thanks aatdark for the patch.
svn path=/trunk/mcs/; revision=76590
Jonathan Chambers [Wed, 2 May 2007 20:08:02 +0000 (20:08 -0000)]
2007-04-27 Jonathan Chambers <joncham@gmail.com>
* src/gstr.c: Fix off by one error in g_strdup allocation.
svn path=/trunk/mono/; revision=76589
Jonathan Chambers [Wed, 2 May 2007 19:09:09 +0000 (19:09 -0000)]
2007-05-02 Jonathan Chambers <joncham@gmail.com>
* RemotingConfiguration.cs: Added Configure overload for 2.0
with MonoTODO for security.
svn path=/trunk/mcs/; revision=76588
Sebastien Pouliot [Wed, 2 May 2007 18:30:40 +0000 (18:30 -0000)]
2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
* TestColor.cs: Under Windows ensure we're getting the same values for
the desktop colors.
svn path=/trunk/mcs/; revision=76584
Sebastien Pouliot [Wed, 2 May 2007 18:28:19 +0000 (18:28 -0000)]
2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
* gdipEnums.cs: Add GetSysColorIndex
* gdipStructs.cs: Remove GetSysColorIndex (it's an enum)
* KnownColors.cs: Fix Windows desktop colors as GetSysColor returns
values in BGR (not RGB).
svn path=/trunk/mcs/; revision=76583
Jonathan Chambers [Wed, 2 May 2007 17:53:45 +0000 (17:53 -0000)]
2007-05-02 Jonathan Chambers <joncham@gmail.com>
* ExtensibleClassFactory.cs: Don't use un-implemented overload.
svn path=/trunk/mcs/; revision=76581
Dick Porter [Wed, 2 May 2007 16:38:28 +0000 (16:38 -0000)]
2007-05-02 Dick Porter <dick@ximian.com>
* _ConstructorInfo.cs:
* _EventInfo.cs:
* _Exception.cs:
* _FieldInfo.cs:
* _MemberInfo.cs:
* _MethodBase.cs:
* _MethodInfo.cs:
* _PropertyInfo.cs:
* _Type.cs:
* UCOMIMoniker.cs:
* AutomationProxyAttribute.cs:
* BestFitMappingAttribute.cs:
* BStrWrapper.cs:
* ClassInterfaceAttribute.cs:
* CoClassAttribute.cs:
* ComAliasNameAttribute.cs:
* ComCompatibleVersionAttribute.cs:
* ComConversionLossAttribute.cs:
* ComDefaultInterfaceAttribute.cs:
* ComEventInterfaceAttribute.cs:
* COMException.cs:
* ComImportAttribute.cs:
* ComObjectInUseException.cs:
* ComRegisterFunctionAttribute.cs:
* ComUnregisterFunctionAttribute.cs:
* ComVisible.cs:
* CriticalHandle.cs:
* CurrencyWrapper.cs:
* DefaultCharSetAttribute.cs:
* DispatchWrapper.cs:
* DispIdAttribute.cs:
* ErrorWrapper.cs:
* ExtensibleClassFactory.cs:
* ExternalException.cs:
* Marshal.cs:
* SafeHandle.cs:
* StructLayoutAttribute.cs:
* TypeLibConverter.cs:
* ArrayWithOffset.cs:
* BIND_OPTS.cs:
* BINDPTR.cs:
* CONNECTDATA.cs:
* DISPPARAMS.cs:
* ELEMDESC.cs:
* EXCEPINFO.cs:
* PARAMDESC.cs:
* TYPELIBATTR.cs:
* VARDESC.cs:
* CALLCONV.cs:
* CallingConvention.cs:
* CharSet.cs:
* ClassInterfaceType.cs:
* ComInterfaceType.cs:
* ComMemberType.cs:
* DESCKIND.cs:
* ExporterEventKind.cs:
* PARAMFLAG.cs:
* RegistrationClassContext.cs:
* TYPEKIND.cs:
* TypeLibImporterFlags.cs:
* UnmanagedType.cs:
* VARFLAGS.cs: Update to 2.0 profile
svn path=/trunk/mcs/; revision=76579
Konstantin Triger [Wed, 2 May 2007 16:11:15 +0000 (16:11 -0000)]
Implement Begin/EndGetResponse asynchronously
svn path=/trunk/mcs/; revision=76576
Igor Zelmanovich [Wed, 2 May 2007 14:37:40 +0000 (14:37 -0000)]
added missing resources
svn path=/trunk/mcs/; revision=76568
Jonathan Chambers [Wed, 2 May 2007 14:13:17 +0000 (14:13 -0000)]
2007-05-02 Jonathan Chambers <joncham@gmail.com>
* Stopwatch.cs : Implement high performance stopwatch on windows.
svn path=/trunk/mcs/; revision=76567
Igor Zelmanovich [Wed, 2 May 2007 13:27:14 +0000 (13:27 -0000)]
2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs: ResolveClientUrl: optimization.
if basePath is the same as TemplateSourceDirectory
releativeUrl is returned as is.
* ControlTest.cs: added new test.
svn path=/trunk/mcs/; revision=76564
Konstantin Triger [Wed, 2 May 2007 13:25:45 +0000 (13:25 -0000)]
fix typo in WHERE close
svn path=/trunk/mcs/; revision=76563
Raja R Harinath [Wed, 2 May 2007 11:19:37 +0000 (11:19 -0000)]
* RBTree.cs (Enumerator.Current): Remove nullref.
We need to have a generic IEnumerator test harness to catch these silly mistakes.
svn path=/trunk/mcs/; revision=76562
Dick Porter [Wed, 2 May 2007 10:03:23 +0000 (10:03 -0000)]
2007-05-02 Dick Porter <dick@ximian.com>
* ReaderWriterLock.cs: ReaderWriterLock derives from
CriticalFinalizerObject in the 2.0 profile
svn path=/trunk/mcs/; revision=76561
Igor Zelmanovich [Wed, 2 May 2007 09:46:07 +0000 (09:46 -0000)]
2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
* SqlDataSourceView.cs:
make CancelSelectOnNullParameter property works.
svn path=/trunk/mcs/; revision=76559
Igor Zelmanovich [Wed, 2 May 2007 09:45:24 +0000 (09:45 -0000)]
2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
* Control.cs:
ResolveClientUrl considers TemplateSourceDirectory property.
svn path=/trunk/mcs/; revision=76558
Konstantin Triger [Wed, 2 May 2007 09:42:51 +0000 (09:42 -0000)]
Do not intercept the original exception
svn path=/trunk/mcs/; revision=76557
Raja R Harinath [Wed, 2 May 2007 09:26:21 +0000 (09:26 -0000)]
* SortedDictionary.cs (ICollection.Contains): Use EqualityComparer
for comparing the value field.
svn path=/trunk/mcs/; revision=76556
Raja R Harinath [Wed, 2 May 2007 08:34:15 +0000 (08:34 -0000)]
In mcs:
Fix regression in cs0631-3.cs
* cs-parser.jay (operator_declarator): Add opt_attributes to error
fallback. Make error fallback catch more cases.
In gmcs:
Fix regression in cs0631-3.cs
* cs-parser.jay (operator_declarator): Add opt_attributes to error
fallback. Make error fallback catch more cases.
In errors:
* cs1534-2.cs: New test. Ensure that the error handling isn't
limited to only erroneous 3-argument operators.
svn path=/trunk/mcs/; revision=76555
Raja R Harinath [Wed, 2 May 2007 07:39:08 +0000 (07:39 -0000)]
* RBTree.cs (do_remove): Remove some redundant assignments/checks.
(NodeEnumerator): Simplify. Keep track of a list of
right-pennants that need to be traversed next, rather than
comparing parent pointers.
The usual nit-picking followup
svn path=/trunk/mcs/; revision=76554
Miguel de Icaza [Wed, 2 May 2007 00:35:36 +0000 (00:35 -0000)]
This feature is required to compile the Dynamic Language Runtime.
+2007-05-01 Miguel de Icaza <miguel@novell.com>
+
+ * cs-parser.jay: Allow parameters in operator declarations to
have
+ attributes.
svn path=/trunk/mcs/; revision=76552
Marek Habersack [Tue, 1 May 2007 22:15:44 +0000 (22:15 -0000)]
2007-05-02 Marek Habersack <mhabersack@novell.com>
* FormsAuthentication.cs: user names are stored in lowercase in
the credentials database.
svn path=/trunk/mcs/; revision=76551
Jonathan Pobst [Tue, 1 May 2007 20:39:21 +0000 (20:39 -0000)]
2007-05-01 Jonathan Pobst <monkey@jpobst.com>
* GridItem.cs: Implement 2.0 Tag property.
svn path=/trunk/mcs/; revision=76549
Jonathan Pobst [Tue, 1 May 2007 20:20:25 +0000 (20:20 -0000)]
2007-05-01 Frederik Carlier <frederik.carlier@carlier-online.be>
* TreeNodeCollection.cs: Fix ContainsKey and IndexOfKey methods to use
count instead of Nodes.Length. [Fixes bug #81448]
2007-05-01 Frederik Carlier <frederik.carlier@carlier-online.be>
* TreeNodeCollectionTest.cs: Add Unit tests for ContainsKey and
IndexOfKey methods.
svn path=/trunk/mcs/; revision=76548
Marek Habersack [Tue, 1 May 2007 20:04:45 +0000 (20:04 -0000)]
2007-05-01 Marek Habersack <mhabersack@novell.com>
* TreeViewTest.cs: adjust generated HTML tests to the latest
rendering changes.
svn path=/trunk/mcs/; revision=76541
Jonathan Pobst [Tue, 1 May 2007 19:36:44 +0000 (19:36 -0000)]
2007-05-01 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Fix paramName sent to ArgumentOutOfRangeException's.
[Fixes bug #81506]
svn path=/trunk/mcs/; revision=76539
Raja R Harinath [Tue, 1 May 2007 19:17:13 +0000 (19:17 -0000)]
Update copyright notice. Note that this is essentially a complete
rewrite.
svn path=/trunk/mcs/; revision=76538
Raja R Harinath [Tue, 1 May 2007 19:07:31 +0000 (19:07 -0000)]
In .:
* System.dll.sources: Add RBTree.cs.
In System.Collections.Generic:
Make add and remove operations O(log n).
* SortedDictionary.cs: Rewrite to use the red-black tree
implementation from RBTree.cs.
* RBTree.cs: Some more refactoring. Rename Insert() to Intern(),
and modify semantics slightly. Replace Contains() with Lookup().
In Test/System.Collections.Generic:
* SortedDictionaryTest.cs (AddNullKeyNullable): Enable.
svn path=/trunk/mcs/; revision=76537
Jonathan Pobst [Tue, 1 May 2007 18:58:31 +0000 (18:58 -0000)]
2007-05-01 Jonathan Pobst <monkey@jpobst.com>
corcompare work: A - M
* BindingNavigator.cs
* Button.cs
* ButtonBase.cs
* CheckBox.cs
* Control.cs
* FlowLayoutPanel.cs
* Form.cs
* Label.cs
* LinkLabel.cs
* ListView.cs
svn path=/trunk/mcs/; revision=76536
Sebastien Pouliot [Tue, 1 May 2007 17:25:38 +0000 (17:25 -0000)]
2007-05-01 Sebastien Pouliot <sebastien@ximian.com>
* WinSerialStream.cs: Fix build due to NativeOverlapped being updated
to 2.0 definition (int to IntPtr).
svn path=/trunk/mcs/; revision=76535
Sebastien Pouliot [Tue, 1 May 2007 17:11:54 +0000 (17:11 -0000)]
2007-05-01 Sebastien Pouliot <sebastien@ximian.com>
* KnownColors.cs: Force alpha values (opaque) on Win32's GetSysColor.
svn path=/trunk/mcs/; revision=76534
Gert Driesen [Tue, 1 May 2007 16:56:28 +0000 (16:56 -0000)]
* corlib_test.dll.sources: Added ConstructorInfoTest.cs.
* ConstructorInfoTest.cs: Added tests for Invoke.
svn path=/trunk/mcs/; revision=76533
Dick Porter [Tue, 1 May 2007 15:28:29 +0000 (15:28 -0000)]
2007-05-01 Dick Porter <dick@ximian.com>
* ThreadState.cs:
* AsyncFlowControl.cs:
* Interlocked.cs:
* RegisteredWaitHandle.cs:
* TimerCallback.cs:
* ThreadStateException.cs:
* Monitor.cs:
* ThreadStart.cs:
* WaitOrTimerCallback.cs:
* LockCookie.cs:
* EventWaitHandle.cs:
* WaitHandle.cs:
* ThreadAbortException.cs:
* ThreadPriority.cs:
* ReaderWriterLock.cs:
* NativeOverlapped.cs:
* Mutex.cs:
* Overlapped.cs:
* ThreadPool.cs:
* ApartmentState.cs:
* EventResetMode.cs:
* SynchronizationLockException.cs:
* ManualResetEvent.cs:
* WaitCallback.cs:
* IOCompletionCallback.cs:
* AutoResetEvent.cs:
* AbandonedMutexException.cs:
* SendOrPostCallback.cs:
* ThreadInterruptedException.cs: Update to 2.0 profile
svn path=/trunk/mcs/; revision=76530
Zoltan Varga [Tue, 1 May 2007 15:11:29 +0000 (15:11 -0000)]
2007-05-01 Zoltan Varga <vargaz@gmail.com>
* icall.c (custom_attrs_get_by_type): Handle loading errors gracefully. Fixes
#81498.
* reflection.c (mono_reflection_get_custom_attrs_by_type): Handle loading errors
gracefully.
(mono_custom_attrs_from_index): Ditto.
svn path=/trunk/mono/; revision=76529
Jonathan Pobst [Tue, 1 May 2007 15:06:36 +0000 (15:06 -0000)]
2007-05-01 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: Give toolstrips a chance to process mnemonics.
* ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,
ToolStripMenuItem.cs, ToolStripSplitButton.cs: Implement keyboard mnemonics.
svn path=/trunk/mcs/; revision=76528
Zoltan Varga [Tue, 1 May 2007 14:27:28 +0000 (14:27 -0000)]
2007-05-01 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_InternalInvoke): Allow calling ctors of abstract classes.
Fixes #81501.
svn path=/trunk/mono/; revision=76526
Zoltan Varga [Tue, 1 May 2007 14:20:03 +0000 (14:20 -0000)]
2007-05-01 Zoltan Varga <vargaz@gmail.com>
* MethodInfoTest.cs: Reenable a NotWorking test which is working now.
svn path=/trunk/mcs/; revision=76525
Marek Habersack [Tue, 1 May 2007 11:19:27 +0000 (11:19 -0000)]
2007-05-01 Marek Habersack <mhabersack@novell.com>
* machine.config: added standard data provider factories, or
otherwise the SqlDataSource tests will fail.
svn path=/trunk/mono/; revision=76524
Dick Porter [Tue, 1 May 2007 11:08:28 +0000 (11:08 -0000)]
2007-05-01 Dick Porter <dick@ximian.com>
* File.cs:
* Stream.cs: Missed a few 2.0 methods
2007-05-01 Dick Porter <dick@ximian.com>
* RegistryKeyPermissionCheck.cs: Not serializable
svn path=/trunk/mcs/; revision=76523
Marek Habersack [Tue, 1 May 2007 11:01:22 +0000 (11:01 -0000)]
2007-05-01 Marek Habersack <mhabersack@novell.com>
* HttpCapabilitiesBase.cs: move the User-Agent code to a separate
internal method.
2007-05-01 Marek Habersack <mhabersack@novell.com>
* HtmlForm.cs: do not use User-Agent directly, we must take
ClientTarget into account.
2007-05-01 Marek Habersack <mhabersack@novell.com>
* BaseValidator.cs: do not use User-Agent directly, we must take
ClientTarget into account.
2007-05-01 Marek Habersack <mhabersack@novell.com>
* PageParser.cs: clientTarget comparisons must be case-insensitive
svn path=/trunk/mcs/; revision=76522
Adar Wesley [Tue, 1 May 2007 08:13:07 +0000 (08:13 -0000)]
2007-05-01 Adar Wesley <adarw@mainsoft.com>
* OleDbCommandBuilder.cs: Fixed typo and called base implementation
in Get[Insert|Updata|Delete]Command methods.
svn path=/trunk/mcs/; revision=76521
Konstantin Triger [Tue, 1 May 2007 06:16:49 +0000 (06:16 -0000)]
Add nist dom tests to compilation
svn path=/trunk/mcs/; revision=76515
Jackson Harper [Tue, 1 May 2007 05:27:41 +0000 (05:27 -0000)]
* TextBoxBase.cs: Better preferred height, FixedSingle gets the
wider area too.
- Don't set the BoundsSpecified
svn path=/trunk/mcs/; revision=76514
Gert Driesen [Mon, 30 Apr 2007 19:33:06 +0000 (19:33 -0000)]
* TypeTest.cs: Added test for Equals with null argument.
svn path=/trunk/mcs/; revision=76507
Zoltan Varga [Mon, 30 Apr 2007 19:10:33 +0000 (19:10 -0000)]
2007-04-30 Zoltan Varga <vargaz@gmail.com>
* cpu-amd64.md (jmp): Increase the maximum size of the jmp opcode to 128.
svn path=/trunk/mono/; revision=76506
Zoltan Varga [Mon, 30 Apr 2007 19:03:40 +0000 (19:03 -0000)]
2007-04-30 Zoltan Varga <vargaz@gmail.com>
* Type.cs (Equals): Allow a null argument.
svn path=/trunk/mcs/; revision=76505
Jonathan Pobst [Mon, 30 Apr 2007 17:43:32 +0000 (17:43 -0000)]
2007-04-30 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: When using the toolstrip shortcut mechanism, allow the
message to pass through to a regular control if it hosted by a toolstrip.
* ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
ToolStripManager.cs: Enable keyboard navigation for ToolStrips.
svn path=/trunk/mcs/; revision=76504
Jonathan Pobst [Mon, 30 Apr 2007 16:11:26 +0000 (16:11 -0000)]
2007-04-30 Jonathan Pobst <monkey@jpobst.com>
* TextRenderer.cs: Use the flags argument when using the MeasureString
fallback algorithm.
svn path=/trunk/mcs/; revision=76503
Konstantin Triger [Mon, 30 Apr 2007 15:41:36 +0000 (15:41 -0000)]
When formatting, threat empty string as null
svn path=/trunk/mcs/; revision=76501
Dick Porter [Mon, 30 Apr 2007 15:25:43 +0000 (15:25 -0000)]
2007-04-30 Dick Porter <dick@ximian.com>
* corlib.dll.sources: Added
Microsoft.Win32.RegistryKeyPermissionCheck.cs
2007-04-30 Dick Porter <dick@ximian.com>
* CriticalHandleZeroOrMinusOneIsInvalid.cs:
* CriticalHandleMinusOneIsInvalid.cs:
* SafeWaitHandle.cs:
* SafeHandleZeroOrMinusOneIsInvalid.cs:
* SafeHandleMinusOneIsInvalid.cs: Added ReliabilityContract
attributes to complete 2.0 profile
2007-04-30 Dick Porter <dick@ximian.com>
* Registry.cs:
* RegistryHive.cs:
* RegistryKey.cs:
* RegistryValueKind.cs:
* RegistryKeyPermissionCheck.cs: Updated for 2.0 profile
svn path=/trunk/mcs/; revision=76500
Igor Zelmanovich [Mon, 30 Apr 2007 15:23:30 +0000 (15:23 -0000)]
2007-04-30 Igor Zelmanovich <igorz@mainsoft.com>
* HttpApplication.cs: reverted r74717.
svn path=/trunk/mcs/; revision=76499
Raja R Harinath [Mon, 30 Apr 2007 14:40:27 +0000 (14:40 -0000)]
* RBTree.cs: Refactor to reduce generics code.
svn path=/trunk/mcs/; revision=76498
Konstantin Triger [Mon, 30 Apr 2007 14:35:07 +0000 (14:35 -0000)]
TARGET_JVM: include passing tests
svn path=/trunk/mcs/; revision=76496
Dick Porter [Mon, 30 Apr 2007 14:05:12 +0000 (14:05 -0000)]
2007-04-30 Dick Porter <dick@ximian.com>
* Directory.cs:
* FileShare.cs:
* DirectoryNotFoundException.cs:
* SeekOrigin.cs:
* FileAttributes.cs:
* IOException.cs:
* MemoryStream.cs:
* FileMode.cs:
* BinaryWriter.cs:
* TextWriter.cs:
* File.cs:
* BinaryReader.cs:
* TextReader.cs:
* UnmanagedMemoryStream.cs:
* StringWriter.cs:
* FileAccess.cs:
* FileLoadException.cs:
* BufferedStream.cs:
* Stream.cs:
* FileInfo.cs:
* FileStream.cs:
* StringReader.cs:
* StreamWriter.cs:
* EndOfStreamException.cs:
* DriveInfo.cs:
* StreamReader.cs:
* PathTooLongException.cs:
* DriveType.cs:
* FileNotFoundException.cs: 2.0 profile updates
svn path=/trunk/mcs/; revision=76495
Jonathan Pobst [Mon, 30 Apr 2007 13:53:13 +0000 (13:53 -0000)]
2007-04-30 Jonathan Pobst <monkey@jpobst.com>
* MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
the MDI menu item. [Fixes bug #81483]
svn path=/trunk/mcs/; revision=76493
Konstantin Triger [Mon, 30 Apr 2007 13:40:52 +0000 (13:40 -0000)]
TARGET_JVM: SkipJavaOutputValidation for DataAdapter.Fill
svn path=/trunk/mcs/; revision=76491
Marek Habersack [Mon, 30 Apr 2007 13:36:38 +0000 (13:36 -0000)]
2007-04-30 Marek Habersack <mhabersack@novell.com>
* SessionInProcHandler.cs: do not end session when setting and
releasing item in mid-session. Fixes bugs #81440, #81140 and
#80723
svn path=/trunk/mcs/; revision=76490
Sebastien Pouliot [Mon, 30 Apr 2007 12:37:39 +0000 (12:37 -0000)]
2007-04-30 Sebastien Pouliot <sebastien@ximian.com>
* Color.cs: Reflection didn't like the change from int to uint (thanks
to Gert for noticing again :-).
svn path=/trunk/mcs/; revision=76489
Marek Habersack [Mon, 30 Apr 2007 12:26:35 +0000 (12:26 -0000)]
2007-04-30 Marek Habersack <mhabersack@novell.com>
* TreeView.cs: bring rendering closer to the MS.NET rendering.
svn path=/trunk/mcs/; revision=76488
Marek Habersack [Mon, 30 Apr 2007 11:02:24 +0000 (11:02 -0000)]
2007-04-30 Marek Habersack <mhabersack@novell.com>
* ConnectionStringsExpressionBuilder.cs: support expressions with
suffixes .ProviderName and .ConnectionString (case-insensitie) and
generate a call to GetConnectionStringProviderName in the former
case. Fixes bug #81490
2007-04-30 Marek Habersack <mhabersack@novell.com>
* SqlDataSource.cs: do not catch the exception if ProviderName is
not null or empty (as per docs and what MS.NET does).
2007-04-30 Marek Habersack <mhabersack@novell.com>
* DbProviderFactories.cs: throw the same exception MS.NET does.
svn path=/trunk/mcs/; revision=76486
Marek Habersack [Mon, 30 Apr 2007 08:49:43 +0000 (08:49 -0000)]
2007-04-30 Marek Habersack <mhabersack@novell.com>
* AppCodeCompiler.cs: support for cases when there exists a custom
profile class but there is no App_Code directory or it's
empty. Fixes bug #81489.
svn path=/trunk/mcs/; revision=76483
Gert Driesen [Mon, 30 Apr 2007 08:48:14 +0000 (08:48 -0000)]
* DataGridViewColumn.cs: Initialize value of headercell to zero-length
string. When setting Name to null, use zero-length string instead.
* DataGridViewColumnTest.cs: Added test for bug #81464, improved
existing tests.
* DataGridViewTextBoxCellTest.cs: Added test for Value.
* RichTextBoxTest.cs: Added test for bug #80626.
* TabControlTest.cs: Added test for TabPageCollection indexer.
* TextBoxTest.cs: Enabled test for bug #80626.
* System.Windows.Forms_test.dll.sources: Added
DataGridViewTextBoxCellTest.cs
svn path=/trunk/mcs/; revision=76482
Konstantin Triger [Mon, 30 Apr 2007 07:53:58 +0000 (07:53 -0000)]
Fix typo in MergeCollections (); refactoring
svn path=/trunk/mcs/; revision=76477
Marek Habersack [Mon, 30 Apr 2007 06:44:10 +0000 (06:44 -0000)]
2007-04-30 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: fix generation of code for
declarative attribute assignments of the form Font-Size="small"
(i.e. when a font size is assigned a symbolic, relative size
value). This fixes for example rendering of the 0th level of
TreeView controls.
svn path=/trunk/mcs/; revision=76472
Zoltan Varga [Sun, 29 Apr 2007 21:58:12 +0000 (21:58 -0000)]
2007-04-30 Zoltan Varga <vargaz@gmail.com>
* metadata.c (mono_metadata_parse_type_full): Avoid an invalid free since the type
is now allocated from a mempool.
svn path=/trunk/mono/; revision=76471
Raja R Harinath [Sun, 29 Apr 2007 19:15:54 +0000 (19:15 -0000)]
* RBTree.cs: New red-black tree implementation for use with SortedDictionary.
I'll integrate it into SortedDictionary tomorrow, if no one else gets to it.
svn path=/trunk/mcs/; revision=76469
Zoltan Varga [Sun, 29 Apr 2007 18:05:17 +0000 (18:05 -0000)]
2007-04-29 Zoltan Varga <vargaz@gmail.com>
* abcremoval.c (summarize_integer_value): Handle OP_LCONV_TO_I4 to fix abcrem on
64 bit platforms.
svn path=/trunk/mono/; revision=76466
Andreia Gaita [Sun, 29 Apr 2007 16:08:03 +0000 (16:08 -0000)]
* TabControl.cs: Implement missing 2.0 methods (SelectTab,
DeselectTab). Implement missing 2.0 TabPageCollection methods
(Add, ContainsKey, RemoveByKey, IndexOfKey)
Test/System.Windows.Forms
* TabControlTest.cs: Add more 2.0 select and deselect tab tests.
2007-04-29 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=76465
Duncan Mak [Sun, 29 Apr 2007 14:51:35 +0000 (14:51 -0000)]
2007-04-29 Duncan Mak <duncan@a-chinaman.com>
* SWF.csproj:
* SWF2k5.csproj: Updated.
svn path=/trunk/mcs/; revision=76464
Igor Zelmanovich [Sun, 29 Apr 2007 13:58:11 +0000 (13:58 -0000)]
2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
* FormsAuthenticationModule.cs:
Redirect to login page doesn't cause thread abort.
svn path=/trunk/mcs/; revision=76462
Igor Zelmanovich [Sun, 29 Apr 2007 13:55:59 +0000 (13:55 -0000)]
2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
* HttpContext.jvm.cs: Response.End() must abort thread if not async.
svn path=/trunk/mcs/; revision=76461
Pedro Martínez Juliá [Sun, 29 Apr 2007 13:51:24 +0000 (13:51 -0000)]
2007-04-29 Pedro Martínez Juliá <pedromj@gmail.com>
* DataGridViewColumn.cs: Make HeaderText take preference over Name.
svn path=/trunk/mcs/; revision=76460
Konstantin Triger [Sun, 29 Apr 2007 13:27:34 +0000 (13:27 -0000)]
add support for SOAP1.2 to pass action in ContentType HTTP header. See w3.org/TR/soap12-part0/#L4697
svn path=/trunk/mcs/; revision=76459
Konstantin Triger [Sun, 29 Apr 2007 12:02:13 +0000 (12:02 -0000)]
do not throw on unknown color
svn path=/trunk/mcs/; revision=76452
Konstantin Triger [Sun, 29 Apr 2007 11:59:08 +0000 (11:59 -0000)]
Update Java profile with recent changes
svn path=/trunk/mcs/; revision=76451
Igor Zelmanovich [Sun, 29 Apr 2007 11:42:31 +0000 (11:42 -0000)]
2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
* HttpApplication.cs: doesn't cache httpHandlersSection in instance,
that allows to consider httpHandlers section in nested web.config.
svn path=/trunk/mcs/; revision=76449
Ilya Kharmatsky [Sun, 29 Apr 2007 09:08:22 +0000 (09:08 -0000)]
Proper exceptions throwing / handling under NET_2_0 target.
svn path=/trunk/mcs/; revision=76446
Gert Driesen [Sun, 29 Apr 2007 08:13:50 +0000 (08:13 -0000)]
* RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
Fixes bug #81479. Include details of exception when LoadFile fails.
svn path=/trunk/mcs/; revision=76444
Zoltan Varga [Sat, 28 Apr 2007 20:50:57 +0000 (20:50 -0000)]
2007-04-28 Zoltan Varga <vargaz@gmail.com>
* threads.c (build_wait_tids): Do not call mono_monitor_enter () here since the
caller holds threads_lock, leading to deadlocks. Fixes #81476.
svn path=/trunk/mono/; revision=76437
Gert Driesen [Sat, 28 Apr 2007 13:41:17 +0000 (13:41 -0000)]
Forgot this one.
svn path=/trunk/mcs/; revision=76430
Gert Driesen [Sat, 28 Apr 2007 13:07:30 +0000 (13:07 -0000)]
* DataBindingTest.cs: Avoid using anonymous methods to allow tests to
build using csc 1.x.
* CurrencyManagerTest.cs: Same.
svn path=/trunk/mcs/; revision=76429
Alan McGovern [Sat, 28 Apr 2007 11:37:15 +0000 (11:37 -0000)]
Added missing setter
svn path=/trunk/mcs/; revision=76427
Neale Ferguson [Sat, 28 Apr 2007 02:06:43 +0000 (02:06 -0000)]
Fix MONO_TYPE_VALUETYPE processing.
svn path=/trunk/mono/; revision=76425
Jonathan Chambers [Sat, 28 Apr 2007 01:50:11 +0000 (01:50 -0000)]
2007-04-27 Jonathan Chambers <joncham@gmail.com>
* src/eglib-config.hw: Forgot to add for msvc build.
* src/vasprintf: Forgot to add for msvc build.
svn path=/trunk/mono/; revision=76424
Miguel de Icaza [Sat, 28 Apr 2007 01:47:05 +0000 (01:47 -0000)]
2007-04-27 Miguel de Icaza <miguel@novell.com>
* statement.cs (If.CloneTo): Only clone the FalseStatement if it
exists.
* lambda.cs (ContextualReturn.Resolve): An expression is valid
inside the ContextualReturn, it does not have to be an
ExpressionStatement.
2007-04-27 Miguel de Icaza <miguel@novell.com>
* generic.cs (TypeManager.LambdaInfer): now this routine will
make only one inference from the list of lambda expression that
have not participated in inferring a type.
(TypeManager.InferTypeArguments): The logic that drives the type
inference in lambda expressions is now driven here.
svn path=/trunk/mcs/; revision=76423
Andreia Gaita [Fri, 27 Apr 2007 22:37:20 +0000 (22:37 -0000)]
* ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
Hide methods (not complete). Implement missing 2.0 OnPopup event.
2007-04-27 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=76418
Carlos Alberto Cortez [Fri, 27 Apr 2007 22:13:14 +0000 (22:13 -0000)]
2007-04-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: In ItemControl.OnMouseDown restore a pair of braces I
removed in ly last commit (it was breaking the Label edit feature).
* ThemeWin32Classic.cs: When drawing a ListViewItem use
StringAlignment.Near for LineAlignment (match .Net).
svn path=/trunk/mcs/; revision=76417
Jonathan Chambers [Fri, 27 Apr 2007 21:24:57 +0000 (21:24 -0000)]
2007-04-27 Jonathan Chambers <joncham@gmail.com>
* src/gstr.c: Fix off by one error for NULL terminator.
svn path=/trunk/mono/; revision=76411
Jonathan Chambers [Fri, 27 Apr 2007 20:12:25 +0000 (20:12 -0000)]
2007-04-27 Jonathan Chambers <joncham@gmail.com>
Combined patch from Michael Jerris <mike@jerris.com> and me.
* winconfig.h: Config file for msvc builds.
* configure.ac: Add AC_CHECK_HEADERS for getopt.h, sys/time.h,
sys/wait.h, and pwd.h.
* src/gspawn.c: Include config.h and use HAVE_* macros.
* src/eglib-config.h.in: Add inclusion guards.
* src/ghashtable.c: Fix warnings.
* src/gmisc.c: Windows implementation of g_getenv, g_setenv,
and g_unsetenv.
* src/gpath.c: Include config.h and use HAVE_* macros.
* src/gmarkup.c: Fix warnings.
* src/gptrarray.c: Fix warnings.
* src/gstr.c: Fix warnings and use HAVE_* macros.
* src/glib.h: Move macros to eglib-config.h and include it.
* src/gdate.c: Implement g_get_current_time on windows.
* src/gpattern.c: Fix warnings.
* src/gdir.c: Implement g_dir on windows.
* src/gfile.c: Implement mkstemp and g_file_test on windows.
* src/gtimer.c: Implement g_timer on windows.
* src/gmodule.c: Fix warnings.
* src/gunicode.c: Fix warnings.
* src/gutf8.c: Fix warnings.
* test/ptrarray.c: Fix warnings.
* test/string.c: Fix warnings.
* test/list.c: Fix warnings.
* test/pattern.c: Use HAVE_* macros.
* test/dir.c: Use HAVE_* macros.
* test/file.c: Use HAVE_* macros and use system specific files for tests.
* test/test.c: Fix warnings and use HAVE_* macros.
* test/timer.c: Use HAVE_* macros.
* test/string-util.c: Fix warnings.
* test/test.h: Supress warnings on msvc.
* test/module.c: Use HAVE_* macros.
* test/utf8.c: Fix warnings.
* test/spawn.c: Use HAVE_* macros.
* test/driver.c: Fix warnings and use HAVE_* macros.
* test/path.c: Use HAVE_* macros and use system specific files for tests.
* test/sizes.c: Fix warnings.
2007-04-27 Jonathan Chambers <joncham@gmail.com>
Combined patch from Michael Jerris <mike@jerris.com> and me.
* getopt.c: Added public domain implementation for Windows.
* getopt.h: Added public domain implementation for Windows.
* getopt_long.c: Added public domain implementation for Windows.
* test_eglib.vcproj: Update project.
* eglib.vcproj: Update project. Add pre-build step to copy
winconfig.h to config.h for msvc build.
svn path=/trunk/mono/; revision=76406
Andreia Gaita [Fri, 27 Apr 2007 19:48:00 +0000 (19:48 -0000)]
* TabControl.cs: Change SetTab so it adds the tabpage to the list
of controls if it isn't already there - was blowing up when doing
tabcontrol.TabPages[i]=new TabPage().
SetTab now does a replace by removing the page at the index.
Add a new InsertTab method that inserts a page in a given index
instead of replacing.
Implements TabPageCollection.Insert(int, TabPage).
2007-04-27 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=76404
Alan McGovern [Fri, 27 Apr 2007 19:44:06 +0000 (19:44 -0000)]
Added ignore for test
svn path=/trunk/mcs/; revision=76403
Wade Berrier [Fri, 27 Apr 2007 19:39:05 +0000 (19:39 -0000)]
* mini-s390x.c: Remove redeclaration of CompRelation and
CompType (defined in mini.h) to fix build on s390x.
svn path=/trunk/mono/; revision=76402
Chris Toshok [Fri, 27 Apr 2007 19:38:33 +0000 (19:38 -0000)]
2007-04-27 Chris Toshok <toshok@ximian.com>
* BindingManagerBase.cs: fill in CurrentItemChanged (and have an
internal handler that can be invoked from our subclasses.) Also,
add a comment to PushData about how we need to fix it.
* CurrencyManager.cs: tons of changes here. trying to get things
matching the behavior of .net wrt event orders (ItemChanged,
CurrentChanged, PositionChanged.) I've implemented a private .net
symbol (ChangeRecordState) that appears in stack traces because
it's actually easier to do this than to effective inline all its
various behaviors at every call site.
* RelatedPropertyManager.cs: guard against an exception here by
not using parent.Current if the position is set to -1 (if the
parent datasource is cleared, for instance).
* Binding.cs: don't parse data in PushData (this might be wrong,
but it jives with MS's behavior.) Also, don't call PushData when
we get a CurrentChanged event.
svn path=/trunk/mcs/; revision=76401
Chris Toshok [Fri, 27 Apr 2007 19:38:11 +0000 (19:38 -0000)]
2007-04-27 Chris Toshok <toshok@ximian.com>
* CurrencyManagerTest.cs, DataBindingTests.cs,
BindingManagerBaseTest.cs, BindingSourceTest.cs, BindingTest.cs:
lots of misc changes.
svn path=/trunk/mcs/; revision=76400