mono.git
17 years agoadded missing resources
Igor Zelmanovich [Wed, 2 May 2007 14:37:40 +0000 (14:37 -0000)]
added missing resources

svn path=/trunk/mcs/; revision=76568

17 years ago2007-05-02 Jonathan Chambers <joncham@gmail.com>
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

17 years ago2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
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

17 years agofix typo in WHERE close
Konstantin Triger [Wed, 2 May 2007 13:25:45 +0000 (13:25 -0000)]
fix typo in WHERE close

svn path=/trunk/mcs/; revision=76563

17 years ago* RBTree.cs (Enumerator.Current): Remove nullref.
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

17 years ago2007-05-02 Dick Porter <dick@ximian.com>
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

17 years ago2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
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

17 years ago2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
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

17 years agoDo not intercept the original exception
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

17 years ago* SortedDictionary.cs (ICollection.Contains): Use EqualityComparer
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

17 years agoIn mcs:
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

17 years ago* RBTree.cs (do_remove): Remove some redundant assignments/checks.
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

17 years agoThis feature is required to compile the Dynamic Language Runtime.
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

17 years ago2007-05-02 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-05-01 Jonathan Pobst <monkey@jpobst.com>
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

17 years ago2007-05-01 Frederik Carlier <frederik.carlier@carlier-online.be>
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

17 years ago2007-05-01 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-05-01 Jonathan Pobst <monkey@jpobst.com>
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

17 years agoUpdate copyright notice. Note that this is essentially a complete
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

17 years agoIn .:
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

17 years ago2007-05-01 Jonathan Pobst <monkey@jpobst.com>
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

17 years ago2007-05-01 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago2007-05-01 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago* corlib_test.dll.sources: Added ConstructorInfoTest.cs.
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

17 years ago2007-05-01 Dick Porter <dick@ximian.com>
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

17 years ago2007-05-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2007-05-01 Jonathan Pobst <monkey@jpobst.com>
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

17 years ago2007-05-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2007-05-01 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2007-05-01 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-05-01 Dick Porter <dick@ximian.com>
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

17 years ago2007-05-01 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-05-01 Adar Wesley <adarw@mainsoft.com>
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

17 years agoAdd nist dom tests to compilation
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

17 years ago * TextBoxBase.cs: Better preferred height, FixedSingle gets the
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

17 years ago* TypeTest.cs: Added test for Equals with null argument.
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

17 years ago2007-04-30 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2007-04-30 Zoltan Varga <vargaz@gmail.com>
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

17 years ago2007-04-30 Jonathan Pobst <monkey@jpobst.com>
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

17 years ago2007-04-30 Jonathan Pobst <monkey@jpobst.com>
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

17 years agoWhen formatting, threat empty string as null
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

17 years ago2007-04-30 Dick Porter <dick@ximian.com>
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

17 years ago2007-04-30 Igor Zelmanovich <igorz@mainsoft.com>
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

17 years ago* RBTree.cs: Refactor to reduce generics code.
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

17 years agoTARGET_JVM: include passing tests
Konstantin Triger [Mon, 30 Apr 2007 14:35:07 +0000 (14:35 -0000)]
TARGET_JVM: include passing tests

svn path=/trunk/mcs/; revision=76496

17 years ago2007-04-30 Dick Porter <dick@ximian.com>
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

17 years ago2007-04-30 Jonathan Pobst <monkey@jpobst.com>
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

17 years agoTARGET_JVM: SkipJavaOutputValidation for DataAdapter.Fill
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

17 years ago2007-04-30 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-04-30 Sebastien Pouliot <sebastien@ximian.com>
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

17 years ago2007-04-30 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-04-30 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-04-30 Marek Habersack <mhabersack@novell.com>
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

17 years ago* DataGridViewColumn.cs: Initialize value of headercell to zero-length
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

17 years agoFix typo in MergeCollections (); refactoring
Konstantin Triger [Mon, 30 Apr 2007 07:53:58 +0000 (07:53 -0000)]
Fix typo in MergeCollections (); refactoring

svn path=/trunk/mcs/; revision=76477

17 years ago2007-04-30 Marek Habersack <mhabersack@novell.com>
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

17 years ago2007-04-30 Zoltan Varga <vargaz@gmail.com>
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

17 years ago* RBTree.cs: New red-black tree implementation for use with SortedDictionary.
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

17 years ago2007-04-29 Zoltan Varga <vargaz@gmail.com>
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

17 years ago* TabControl.cs: Implement missing 2.0 methods (SelectTab,
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

17 years ago2007-04-29 Duncan Mak <duncan@a-chinaman.com>
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

17 years ago2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
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

17 years ago2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
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

17 years ago2007-04-29 Pedro Martínez Juliá <pedromj@gmail.com>
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

17 years agoadd support for SOAP1.2 to pass action in ContentType HTTP header. See http://www...
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

17 years agodo not throw on unknown color
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

17 years agoUpdate Java profile with recent changes
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

17 years ago2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
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

17 years agoProper exceptions throwing / handling under NET_2_0 target.
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

17 years ago* RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
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

17 years ago2007-04-28 Zoltan Varga <vargaz@gmail.com>
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

17 years agoForgot this one.
Gert Driesen [Sat, 28 Apr 2007 13:41:17 +0000 (13:41 -0000)]
Forgot this one.

svn path=/trunk/mcs/; revision=76430

17 years ago* DataBindingTest.cs: Avoid using anonymous methods to allow tests to
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

17 years agoAdded missing setter
Alan McGovern [Sat, 28 Apr 2007 11:37:15 +0000 (11:37 -0000)]
Added missing setter

svn path=/trunk/mcs/; revision=76427

17 years agoFix MONO_TYPE_VALUETYPE processing.
Neale Ferguson [Sat, 28 Apr 2007 02:06:43 +0000 (02:06 -0000)]
Fix MONO_TYPE_VALUETYPE processing.

svn path=/trunk/mono/; revision=76425

17 years ago2007-04-27 Jonathan Chambers <joncham@gmail.com>
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

17 years ago2007-04-27 Miguel de Icaza <miguel@novell.com>
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

17 years ago* ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
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

17 years ago2007-04-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

17 years ago2007-04-27 Jonathan Chambers <joncham@gmail.com>
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

17 years ago2007-04-27 Jonathan Chambers <joncham@gmail.com>
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

17 years ago* TabControl.cs: Change SetTab so it adds the tabpage to the list
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

17 years agoAdded ignore for test
Alan McGovern [Fri, 27 Apr 2007 19:44:06 +0000 (19:44 -0000)]
Added ignore for test

svn path=/trunk/mcs/; revision=76403

17 years ago* mini-s390x.c: Remove redeclaration of CompRelation and
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

17 years ago2007-04-27 Chris Toshok <toshok@ximian.com>
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

17 years ago2007-04-27 Chris Toshok <toshok@ximian.com>
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

17 years ago* WebBrowser.cs,
Andreia Gaita [Fri, 27 Apr 2007 18:31:21 +0000 (18:31 -0000)]
* WebBrowser.cs,
  WebBrowserBase.cs,
  WebBrowserSiteBase.cs,
  HtmlDocument.cs: Stubbed out classes, no real implementations
  yet.

2007-04-27  Andreia Gaita  <avidigal@novell.com>

svn path=/trunk/mcs/; revision=76399

17 years ago2007-04-27 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 27 Apr 2007 16:52:08 +0000 (16:52 -0000)]
2007-04-27  Everaldo Canuto  <everaldo@simios.org>

* MainMenu.cs: In draw method without parameters call draw method with
PaintEvent, another one (just rect) adjust rectangle and we dont need it
as Rect property is already adjusted. Fixes #80694.

svn path=/trunk/mcs/; revision=76393

17 years ago2007-04-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 27 Apr 2007 16:49:44 +0000 (16:49 -0000)]
2007-04-27  Jonathan Pobst  <monkey@jpobst.com>

* Application.cs: Need to handle keyboard menu deselection here.
* Control.cs: Use WM_SYSKEYUP instead of WM_SYSCOMMAND to start menu keyboard
navigation, allowing keyboard to work on X11.
* ToolStrip.cs: Don't worry about handling the Menu key here anymore.

svn path=/trunk/mcs/; revision=76392

17 years ago * MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
Everaldo Canuto [Fri, 27 Apr 2007 16:20:34 +0000 (16:20 -0000)]
* MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
menu bar. It fixes some drawing issues in menu bar.

2007-04-27  Everaldo Canuto  <everaldo@simios.org>

svn path=/trunk/mcs/; revision=76391

17 years ago2007-04-27 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 27 Apr 2007 15:27:15 +0000 (15:27 -0000)]
2007-04-27  Everaldo Canuto  <everaldo@simios.org>

* MenuAPI.cs: Remove unneeded "keynav_state = KeyNavState.Idle" before
Deactivate calls, Deactivate method already do it. Also ser ActiveTracker
when <alt> key is pressed.

svn path=/trunk/mcs/; revision=76389

17 years ago2007-04-26 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 27 Apr 2007 13:16:11 +0000 (13:16 -0000)]
2007-04-26  Everaldo Canuto  <everaldo@simios.org>

* XplatUIX11.cs: Simplify SystrayRemove to be like other libraries, Gtk as
example just set visible to false and make this prevent from other problems.
In SystrayAdd always remove pending expose. Fixes #81072.

svn path=/trunk/mcs/; revision=76385

17 years ago2007-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Apr 2007 12:35:21 +0000 (12:35 -0000)]
2007-04-27  Zoltan Varga  <vargaz@gmail.com>

* Environment.cs (StackTrace): Avoid skipping a frame to be compatible with MS.

svn path=/trunk/mcs/; revision=76383

17 years ago2007-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Apr 2007 12:33:48 +0000 (12:33 -0000)]
2007-04-27  Zoltan Varga  <vargaz@gmail.com>

* StackTrace.cs: Fix ToString () to be compatible with MS. Fixes #81207.

svn path=/trunk/mcs/; revision=76382

17 years ago2007-04-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 27 Apr 2007 09:43:14 +0000 (09:43 -0000)]
2007-04-27  Marek Habersack  <mhabersack@novell.com>

* data/net_2_0/web.config: use fully qualified assembly names in
<compilation><assemblies>.

svn path=/trunk/mono/; revision=76379

17 years ago2007-04-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 27 Apr 2007 09:41:49 +0000 (09:41 -0000)]
2007-04-27  Marek Habersack  <mhabersack@novell.com>

* AppCodeCompiler.cs: Resolve assembly names from the global web.config to their
locations before passing them to the compiler provider.

svn path=/trunk/mcs/; revision=76378

17 years ago2007-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Apr 2007 09:28:14 +0000 (09:28 -0000)]
2007-04-27  Atsushi Enomoto  <atsushi@ximian.com>

* DefaultWsdlHelpGenerator.aspx :
  ProfileViolations could be null, when there is no Binding. So,
  don't omit null check.

  Stop your bad habit of missing ChangeLog. Former changes (as long
  as logged) can be seen in ../../ChangeLog.

svn path=/trunk/mono/; revision=76377

17 years ago2007-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Apr 2007 08:50:19 +0000 (08:50 -0000)]
2007-04-27  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaValidatingReader.cs : nsResolver field must be initialized.
  Fixed bug #81460.

* XsdValidatingReaderTests.cs : added test for bug #81460.

svn path=/trunk/mcs/; revision=76376

17 years ago2007-04-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 27 Apr 2007 08:44:00 +0000 (08:44 -0000)]
2007-04-27  Marek Habersack  <mhabersack@novell.com>

* AppCodeCompiler.cs: do not look at the number of errors, check
the compiler return code instead.

* AssemblyBuilder.cs: as above

* AppResourcesCompiler.cs: as above

svn path=/trunk/mcs/; revision=76375

17 years ago2007-04-27 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 27 Apr 2007 08:41:17 +0000 (08:41 -0000)]
2007-04-27  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* VBCodeCompiler.cs: In CompileFromFileBatch don't create error messages if compilation succeeded.

svn path=/trunk/mcs/; revision=76374