mono.git
17 years ago2007-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 24 Feb 2007 04:23:49 +0000 (04:23 -0000)]
2007-02-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: I forgot to commit the changes for ListView
in my previous patch.

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

17 years ago2007-02-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 24 Feb 2007 03:50:52 +0000 (03:50 -0000)]
2007-02-23  Jonathan Pobst  <monkey@jpobst.com>

* Clipboard.cs: Partially implement an overload of SetDataObject.
* Form.cs: Implement ShowWithoutActivation.
* XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.

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

17 years ago2007-02-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 24 Feb 2007 01:11:10 +0000 (01:11 -0000)]
2007-02-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

This is a first set of changes to make the Virtual mode works,
by avoiding the retrieval of ListViewItem instances until
draw time.

* ListView.cs: Store item position in the ListView instead of the
ListViewItem, this way we don't request the Bounds property of
ListViewItem inside the ListView calculations, as well as cache the item
size in item_size field. Store indexes instead of ListViewItem
instances in the matrix used by icon view. Add a ItemMatrixLocation
struct to hold the row and col info of the matrix info.

* ListViewItem.cs: Don't store the location anymore, and only cache
the rectangles for GetBounds. Use the ListView.GetItemLocation
method to retrieve the actual location.

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

17 years ago2007-02-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 23 Feb 2007 23:25:10 +0000 (23:25 -0000)]
2007-02-23  Jonathan Pobst  <monkey@jpobst.com>

* TextRenderer.cs: Add clipping support, thanks to George.
[Fixes bug #80949]

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

17 years ago* ListViewItem.cs: Cancel label edit when item is removed from
Gert Driesen [Fri, 23 Feb 2007 19:49:03 +0000 (19:49 -0000)]
* ListViewItem.cs: Cancel label edit when item is removed from
ListView.
* ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
event before the edit textbox is displayed.  Added CancelEdit method
which is used end to editing while ignoring the value set by the
user. In EndEdit, set focus to ListView to avoid losing focus to
other controls. In ListViewItemCollection.Clear, cancel editing of
any of the items.  In Remove, cancel editing of item being removed.
Avoid udplicate code by modifing RemoveAt to invoke Remove.

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

17 years agoNew test based on #80878
Marek Safar [Fri, 23 Feb 2007 18:59:54 +0000 (18:59 -0000)]
New test based on #80878

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

17 years ago2007-02-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 23 Feb 2007 18:59:02 +0000 (18:59 -0000)]
2007-02-23  Marek Safar  <marek.safar@gmail.com>

A fix for bug #80878
* class.cs, cs-parser.jay: Event property can host anonymous methods.

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

17 years ago * RTF.cs: Pull pict groups out of opt dests. Don't handle the
Jackson Harper [Fri, 23 Feb 2007 16:41:06 +0000 (16:41 -0000)]
    * RTF.cs: Pull pict groups out of opt dests. Don't handle the
        * pict
        group unless there was data found.

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

17 years ago* FileDialog.cs: Update FSEntry when move is successful. Fixes
Gert Driesen [Fri, 23 Feb 2007 16:00:00 +0000 (16:00 -0000)]
* FileDialog.cs: Update FSEntry when move is successful. Fixes
bug #80948.

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

17 years ago2007-02-23 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 23 Feb 2007 15:50:50 +0000 (15:50 -0000)]
2007-02-23  Everaldo Canuto  <everaldo@simios.org>

* MainMenu.cs: Change Draw method to take care about MenuOrigin to be
compatible with non X11 systems. Fixes #80901.

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

17 years agoFixed typo in comment.
Gert Driesen [Fri, 23 Feb 2007 15:33:18 +0000 (15:33 -0000)]
Fixed typo in comment.

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

17 years ago* ListView.cs: Added bool argument to UpdateMultiSelection to specify
Gert Driesen [Fri, 23 Feb 2007 15:29:24 +0000 (15:29 -0000)]
* ListView.cs: Added bool argument to UpdateMultiSelection to specify
whether the item should be unselected and reselect. We do no want this
when we're starting to edit the label. Do not fire the
SelectedIndexChanged event from ListView when its already been fired
by modifying ListViewItem.Selected. Fixes bug #80943.

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

17 years ago2007-02-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 23 Feb 2007 15:14:37 +0000 (15:14 -0000)]
2007-02-23  Jonathan Pobst  <monkey@jpobst.com>

* TextRenderer.cs: Previos commit logic was backwards.

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

17 years ago2007-02-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 23 Feb 2007 14:56:40 +0000 (14:56 -0000)]
2007-02-23  Jonathan Pobst  <monkey@jpobst.com>

* TextRenderer.cs: Don't add padding on MeasureText if we were
sent the NoPadding flag.

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

17 years ago2007-02-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 23 Feb 2007 14:37:46 +0000 (14:37 -0000)]
2007-02-23  Sebastien Pouliot  <sebastien@ximian.com>

* PermissionSet.cs: Fix InvalidCastException on non-CAS permissions.
Fix bug #80936.

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

17 years agoAllow case-insensitive matching of windows dll names.
Paolo Molaro [Fri, 23 Feb 2007 14:14:58 +0000 (14:14 -0000)]
Allow case-insensitive matching of windows dll names.

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

17 years agoUpdated docs for dllmap case-insensitive change handling.
Paolo Molaro [Fri, 23 Feb 2007 14:12:53 +0000 (14:12 -0000)]
Updated docs for dllmap case-insensitive change handling.

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

17 years agoFri Feb 23 15:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 23 Feb 2007 14:06:41 +0000 (14:06 -0000)]
Fri Feb 23 15:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>

* loader.c: allow case-insensitive matching of the dll name
in dllmap handling when prefixed with "i:".

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

17 years agofix an off-by-one bug
Marek Habersack [Fri, 23 Feb 2007 13:27:32 +0000 (13:27 -0000)]
fix an off-by-one bug

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

17 years ago2007-02-23 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 23 Feb 2007 13:23:48 +0000 (13:23 -0000)]
2007-02-23  Nagappan A  <anagappan@novell.com>

* DataRowTest2.cs (DataRowExpressionDefaultValueTest): Added new
test-case for bug # 80505.

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

17 years ago2007-02-23 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 23 Feb 2007 13:23:13 +0000 (13:23 -0000)]
2007-02-23  Nagappan A  <anagappan@novell.com>

* DataRow.cs (Item): Checks whether this DataRow exist in the
DataRowCollection, then compute the expression. Fixes bug #
80505.

* DataRowCollection.cs (IndexOf): Modified as internal method for
1.0 profile.

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

17 years ago * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
Everaldo Canuto [Fri, 23 Feb 2007 11:15:22 +0000 (11:15 -0000)]
* ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
after DrawButton. To prevent image overlaps button borders SetClip and
ResetClip added before and after draw image. Fixes #79129.

2007-02-23  Everaldo Canuto  <everaldo@simios.org>

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

17 years agoFix compilation error
Raja R Harinath [Fri, 23 Feb 2007 08:52:48 +0000 (08:52 -0000)]
Fix compilation error
* DataGridViewRowTest.cs (System.ComponentModel): Remove unused 'using'.

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

17 years ago2007-02-23 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 23 Feb 2007 08:03:00 +0000 (08:03 -0000)]
2007-02-23  Everaldo Canuto  <everaldo@simios.org>

* FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
window size, it fix problem when you run under win32 that theres
Size diferent than ClientSize. Also fix controls size and positions
to mimic Win32. Fixes #80837.

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

17 years ago2007-02-23 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 23 Feb 2007 07:01:06 +0000 (07:01 -0000)]
2007-02-23  Nagappan A  <anagappan@novell.com>

* System.Data_test.dll.sources: Added
System.Data/TrailingSpaceTest.cs test for bug # 79695.

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

17 years ago2007-02-23 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 23 Feb 2007 06:59:51 +0000 (06:59 -0000)]
2007-02-23  Nagappan A  <anagappan@novell.com>

* TrailingSpaceTest.cs: Added new test-case for bug # 79695.

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

17 years ago2007-02-23 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 23 Feb 2007 06:59:13 +0000 (06:59 -0000)]
2007-02-23  Nagappan A  <anagappan@novell.com>

* Comparison.cs (Compare): Extra space characters issue when using
System.Data.DataTable.Select. Fixes bug # 79695.

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

17 years agoRemove debug info
Everaldo Canuto [Fri, 23 Feb 2007 06:52:30 +0000 (06:52 -0000)]
Remove debug info

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

17 years agoFix source code identation problems
Everaldo Canuto [Fri, 23 Feb 2007 06:48:57 +0000 (06:48 -0000)]
Fix source code identation problems

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

17 years agoFix last commit
Everaldo Canuto [Fri, 23 Feb 2007 06:43:39 +0000 (06:43 -0000)]
Fix last commit

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

17 years agoIn System.Windows.Forms:
Everaldo Canuto [Fri, 23 Feb 2007 06:39:34 +0000 (06:39 -0000)]
In System.Windows.Forms:
2007-02-22  Everaldo Canuto  <everaldo@simios.org>

* Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
menu area to fix some problems for non X11 systems. Fixes #80613.

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

17 years ago2007-02-23 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 23 Feb 2007 06:34:23 +0000 (06:34 -0000)]
2007-02-23  Nagappan A  <anagappan@novell.com>

* System.Data_test.dll.sources: Added
System.Data/XmlDataLoaderTest.cs, System.Data/XmlDataReaderTest.cs
tests for bug # 80596.

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

17 years ago2007-02-23 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 23 Feb 2007 06:33:29 +0000 (06:33 -0000)]
2007-02-23  Nagappan A  <anagappan@novell.com>

* TestReadXml1.xml: Added new XML for bug # 80596.

* TestReadXmlSchema1.xml: Added new XML schema for bug # 80596.

* XmlDataLoaderTest.cs: Added new test-case for bug # 80596.

* XmlDataReaderTest.cs: Added new test-case for bug # 80596.

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

17 years ago2007-02-23 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Fri, 23 Feb 2007 06:32:33 +0000 (06:32 -0000)]
2007-02-23  Nagappan A  <anagappan@novell.com>

* XmlDataReader.cs (StringToObject): DataTables containing
System.Type throw exception on deserializing. Fixes bug # 80596.

* XmlDataLoader.cs (StringToObject): DataTables containing
System.Type throw exception on deserializing. Fixes bug # 80596.

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

17 years ago* Makefile: Move files from EXTRA_DISTFILES to DISTFILES so they
Wade Berrier [Fri, 23 Feb 2007 03:21:20 +0000 (03:21 -0000)]
* Makefile: Move files from EXTRA_DISTFILES to DISTFILES so they
get included in 'make dist'

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

17 years agosupport for sending mail when a new user is created
Marek Habersack [Fri, 23 Feb 2007 00:56:40 +0000 (00:56 -0000)]
support for sending mail when a new user is created

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

17 years ago* DataGridViewRowTest.cs: Added tests for Height and MinimumHeight.
Gert Driesen [Thu, 22 Feb 2007 22:15:37 +0000 (22:15 -0000)]
* DataGridViewRowTest.cs: Added tests for Height and MinimumHeight.

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

17 years agoGetGenericArguments is gmcs specific
Marek Safar [Thu, 22 Feb 2007 21:50:02 +0000 (21:50 -0000)]
GetGenericArguments is gmcs specific

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

17 years agoNew test.
Marek Safar [Thu, 22 Feb 2007 21:29:42 +0000 (21:29 -0000)]
New test.

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

17 years ago2007-02-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 22 Feb 2007 21:28:23 +0000 (21:28 -0000)]
2007-02-22  Marek Safar  <marek.safar@gmail.com>

* attribute.cs: Enable ExtensionAttribute presence test.

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

17 years agoNew test.
Marek Safar [Thu, 22 Feb 2007 21:15:19 +0000 (21:15 -0000)]
New test.

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

17 years ago2007-02-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 22 Feb 2007 21:09:35 +0000 (21:09 -0000)]
2007-02-22  Marek Safar  <marek.safar@gmail.com>

* class.cs: Warn about missing GetHashCode only when Equals is override.

* decl.cs: Check accessibility of type arguments.

* typemanager.cs: Correctly report nullable array.

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

17 years ago * TreeNode.cs: When a node is expanded, set its is_expanded flag
Jackson Harper [Thu, 22 Feb 2007 19:55:00 +0000 (19:55 -0000)]
    * TreeNode.cs: When a node is expanded, set its is_expanded flag
        even if it doesn't have any children.

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

17 years ago * TreeView.cs: Calculate the top node 'on the fly', this
Jackson Harper [Thu, 22 Feb 2007 19:53:42 +0000 (19:53 -0000)]
    * TreeView.cs: Calculate the top node 'on the fly', this
        eliminates issues where you need to click on the tree before
        scrolling it to get the top node computed correctly.
        * TreeNodeCollection.cs: We don't need to mess with the top node
        anymore.

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

17 years ago * DataGridViewRow.cs: Fix typo so height can actually be set.
Jackson Harper [Thu, 22 Feb 2007 19:51:42 +0000 (19:51 -0000)]
    * DataGridViewRow.cs: Fix typo so height can actually be set.
        Patch by Peter Grimm.

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

17 years ago* FileDialog.cs: Fixed support for renaming files and directories.
Gert Driesen [Thu, 22 Feb 2007 19:43:48 +0000 (19:43 -0000)]
* FileDialog.cs: Fixed support for renaming files and directories.
* ListView.cs: Do not lose focus when edit is canceled. Process
Escape as regular key (to prevent closing of dialogs).

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

17 years ago* ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
Gert Driesen [Thu, 22 Feb 2007 18:09:03 +0000 (18:09 -0000)]
* ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
spaces. Changed spaces to tabs. Removed unnecessary init of bools.

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

17 years ago* FileDialog.cs: LabelEditEventArgs.Label now returns null when user
Gert Driesen [Thu, 22 Feb 2007 17:59:03 +0000 (17:59 -0000)]
* FileDialog.cs: LabelEditEventArgs.Label now returns null when user
did not modify label.
* ListView.cs: Only set LabelEditEventArgs.Label if user actually
modified the text. Reset Label when user presses Escape in edit mode.
Move focus to ListView after having cancelled or finished editing the
label.

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

17 years agoBe case-insensitive when looking up compilers
Marek Habersack [Thu, 22 Feb 2007 16:54:03 +0000 (16:54 -0000)]
Be case-insensitive when looking up compilers

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

17 years agoAdded Mono.Data.Sqlite to build. Restored the sealed classes
Marek Habersack [Thu, 22 Feb 2007 16:46:23 +0000 (16:46 -0000)]
Added Mono.Data.Sqlite to build. Restored the sealed classes

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

17 years ago2007-02-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 22 Feb 2007 16:34:28 +0000 (16:34 -0000)]
2007-02-22  Zoltan Varga  <vargaz@gmail.com>

* mini.c (type_from_op): Convert CEE_CONV_U to OP_LCONV_TO_U when the argument is
a pointer on 64 bit systems. Fixes #80190.

* iltests.il: Add new regression test.

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

17 years ago2007-02-22 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 22 Feb 2007 16:21:13 +0000 (16:21 -0000)]
2007-02-22  Dick Porter  <dick@ximian.com>

* MonoIOError.cs:
* MonoIO.cs: Handle ERROR_CANNOT_MAKE.

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

17 years ago2007-02-22 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 22 Feb 2007 16:00:12 +0000 (16:00 -0000)]
2007-02-22 Igor Zelmanovich <igorz@mainsoft.com>

* TemplateControl.cs: added missing property AppRelativeVirtualPath

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

17 years agoFix for LoginStatus
Marek Habersack [Thu, 22 Feb 2007 15:43:58 +0000 (15:43 -0000)]
Fix for LoginStatus

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

17 years agoAdd Debug_Java20/Release_Java20 configurations
Noam Lampert [Thu, 22 Feb 2007 12:55:13 +0000 (12:55 -0000)]
Add Debug_Java20/Release_Java20 configurations

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

17 years agoAdd a fake mailSettings config
Konstantin Triger [Thu, 22 Feb 2007 10:35:46 +0000 (10:35 -0000)]
Add a fake mailSettings config

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

17 years agoUse MonoNotSupported & MonoLimitation attribute to tag that DirectorySecurity is...
Eyal Alalouf [Thu, 22 Feb 2007 10:25:25 +0000 (10:25 -0000)]
Use MonoNotSupported & MonoLimitation attribute to tag that DirectorySecurity is not supported.

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

17 years ago2007-02-22 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Thu, 22 Feb 2007 08:40:03 +0000 (08:40 -0000)]
2007-02-22  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildEngine.cs (BuildProjectFile): Don't crash on null
        globalProperties.

* Target.cs: Add Outputs property.

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

17 years agoFix compile error
Raja R Harinath [Thu, 22 Feb 2007 07:43:41 +0000 (07:43 -0000)]
Fix compile error
* ServiceDescriptionReflectorTest.cs (NullableContainer): Hide in 1.1 profile.

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

17 years ago* OleDbParameterCollectionTest.cs: Fix compile error in 1.1 profile.
Raja R Harinath [Thu, 22 Feb 2007 05:49:09 +0000 (05:49 -0000)]
* OleDbParameterCollectionTest.cs: Fix compile error in 1.1 profile.

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

17 years agoRemove writeline, again
Miguel de Icaza [Thu, 22 Feb 2007 04:40:04 +0000 (04:40 -0000)]
Remove writeline, again

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

17 years ago2007-02-21 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Thu, 22 Feb 2007 00:24:29 +0000 (00:24 -0000)]
2007-02-21  Andreia Gaita  <avidigal@novell.com>

* PrintingServicesUnix.cs: Report an error in the console if there is
a problem opening the printer.

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

17 years agoscripts/Makefile.am: Add api-info and api-diff wrappers
Wade Berrier [Thu, 22 Feb 2007 00:22:11 +0000 (00:22 -0000)]
scripts/Makefile.am: Add api-info and api-diff wrappers

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

17 years ago2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 21 Feb 2007 23:51:39 +0000 (23:51 -0000)]
2007-02-21  Sebastien Pouliot  <sebastien@ximian.com>

* ColorConverter.cs: Rename fixture to match our styleguide.
* ColorTranslator.cs: Rename fixture to match our styleguide.

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

17 years agoMove this out of the way
Miguel de Icaza [Wed, 21 Feb 2007 22:06:32 +0000 (22:06 -0000)]
Move this out of the way

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

17 years agoCopy from 72246 to trunk
Miguel de Icaza [Wed, 21 Feb 2007 22:05:48 +0000 (22:05 -0000)]
Copy from 72246 to trunk

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

17 years agoMove this out of the way
Miguel de Icaza [Wed, 21 Feb 2007 22:05:27 +0000 (22:05 -0000)]
Move this out of the way

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

17 years ago* VBCodeProviderTest.cs: Modified tests to also cover fix for bug
Gert Driesen [Wed, 21 Feb 2007 20:08:00 +0000 (20:08 -0000)]
* VBCodeProviderTest.cs: Modified tests to also cover fix for bug
#80920. No longer use Assert class in separate AppDomain since it
will only work if nunit.framework assembly is in the GAC.
* CodeGeneratorFromTypeTest.cs: Fixed tests to pass on MS.
* CSharpCodeProviderTest.cs: No longer use Assert class in separate
AppDomain since it will only work if nunit.framework assembly is in
the GAC.
* VBCodeCompiler.cs: Also generate temp filename if OutputAssembly is
zero-length string. Fixed bug #80920 for VB.
* VBCodeGenerator.cs: To match MS, do not emit empty parentheses when
calling base ctor without arguments.

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

17 years agoSqlite migration. Stage 2
Marek Habersack [Wed, 21 Feb 2007 20:06:51 +0000 (20:06 -0000)]
Sqlite migration. Stage 2

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

17 years agoSqlite migration. Stage 1
Marek Habersack [Wed, 21 Feb 2007 19:39:12 +0000 (19:39 -0000)]
Sqlite migration. Stage 1

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

17 years agoUpdate
Miguel de Icaza [Wed, 21 Feb 2007 19:12:42 +0000 (19:12 -0000)]
Update

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

17 years ago2007-02-21 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Wed, 21 Feb 2007 18:42:53 +0000 (18:42 -0000)]
2007-02-21  Andreia Gaita  <avidigal@novell.com>

* PrintingServicesUnix.cs: don't free up pointers unnecessarily (doh)

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

17 years ago* VBCodeProviderTest.cs: Mark tests that rely on vbnc as NotWorking,
Gert Driesen [Wed, 21 Feb 2007 18:21:10 +0000 (18:21 -0000)]
* VBCodeProviderTest.cs: Mark tests that rely on vbnc as NotWorking,
and remove comment about mbas.

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

17 years ago2007-02-21 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Wed, 21 Feb 2007 18:08:29 +0000 (18:08 -0000)]
2007-02-21  Andreia Gaita  <avidigal@novell.com>

* PrintingServicesUnix.cs: add checks and try blocks to make sure
things don't blow up if we try to double free anything (not that
we're trying to do anything like that :p )

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

17 years ago2007-02-20 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Wed, 21 Feb 2007 17:36:43 +0000 (17:36 -0000)]
2007-02-20  Andreia Gaita  <avidigal@novell.com>

* PrintingServicesUnix.cs: fix a double-free bug

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

17 years ago* CSharpCodeCompiler.cs: Also generate temp filename for OutputAssembly
Gert Driesen [Wed, 21 Feb 2007 17:28:22 +0000 (17:28 -0000)]
* CSharpCodeCompiler.cs: Also generate temp filename for OutputAssembly
if its a zero-length string. Fixed bug #80920. Set extension to exe or
dll depending on whether we're generating an executable or not.
* CSharpCodeProviderTest.cs: Added test for generating executable.
Modified existing test to use zero-length OutputAssembly, and verify
expected OutputAssembly after generating assembly.

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

17 years agoFix
Miguel de Icaza [Wed, 21 Feb 2007 16:52:02 +0000 (16:52 -0000)]
Fix

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

17 years ago* DerbyProfileProvider.cs: fixed Initialize, CreateConnection throw exception if...
Vladimir Krasnov [Wed, 21 Feb 2007 16:32:28 +0000 (16:32 -0000)]
* DerbyProfileProvider.cs: fixed Initialize, CreateConnection throw exception if no connection string present
* DerbyMembershipProvider.cs: fixed Initialize, throw exception if no connection string present

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

17 years ago* ComboBox.cs: Removed unnecessary initializations. Marked items field
Gert Driesen [Wed, 21 Feb 2007 16:28:30 +0000 (16:28 -0000)]
* ComboBox.cs: Removed unnecessary initializations. Marked items field
private. Clear textbox when Text is set to null and SelectedIndex is
already -1.
* FileDialog.cs: Removed unnecessary initializations. Removed
workarounds for ComboBox bugs that are now fixed. Modified
DefaultExt, InitialDirectory and Title property to change null to
zero-length string in getters. Avoid directly accessing fields.
* ComboBoxTest.cs: Added test for setting Text to null if SelecedIndex
is already -1.

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

17 years ago2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 21 Feb 2007 16:17:45 +0000 (16:17 -0000)]
2007-02-21  Sebastien Pouliot  <sebastien@ximian.com>

* Image.cs: Fix Metefile.ctor usage (to avoid creating, and leaking,
an unmanaged metafile object);

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

17 years ago2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 21 Feb 2007 16:16:38 +0000 (16:16 -0000)]
2007-02-21  Sebastien Pouliot  <sebastien@ximian.com>

* Metafile.cs: Implement a few cases required to playback metafiles.
* MetafileHeader.cs: Implemented.
* MetaHeader.cs: Implemented.
* WmfPlaceableFileHeader.cs: Adjust packing.

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

17 years agoFixed methods GetUser, when the parameter username is null - should return 'current...
Ilya Kharmatsky [Wed, 21 Feb 2007 14:26:42 +0000 (14:26 -0000)]
Fixed methods GetUser, when the parameter username is null - should return 'current user'.

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

17 years agocorrect message compare pattern
Konstantin Triger [Wed, 21 Feb 2007 14:16:32 +0000 (14:16 -0000)]
correct message compare pattern

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

17 years agoAdd System.ComponentModel\DataObjectFieldAttribute.cs for compilation
Konstantin Triger [Wed, 21 Feb 2007 13:51:23 +0000 (13:51 -0000)]
Add System.ComponentModel\DataObjectFieldAttribute.cs for compilation

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

17 years agoTARGET_JVM: add project files for tests and batch for running the suite
Konstantin Triger [Wed, 21 Feb 2007 13:22:48 +0000 (13:22 -0000)]
TARGET_JVM: add project files for tests and batch for running the suite

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

17 years agoImplement support for Bin directory
Marek Habersack [Wed, 21 Feb 2007 12:39:08 +0000 (12:39 -0000)]
Implement support for Bin directory

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

17 years ago2007-02-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 21 Feb 2007 11:22:37 +0000 (11:22 -0000)]
2007-02-21  Nagappan A  <anagappan@novell.com>

        * System.Data.dll.sources: Added
        System.Data.Odbc/OdbcConnectionStringBuilder.cs,
        System.Data.Odbc/OdbcMetaDataCollectionNames.cs,
        System.Data.Odbc/OdbcMetaDataColumnNames.cs

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

17 years ago2006-12-05 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 21 Feb 2007 11:20:59 +0000 (11:20 -0000)]
2006-12-05  Nagappan A  <anagappan@novell.com>

* OdbcConnectionStringBuilderTest.cs, OdbcInfoMessageEventArgsTest.cs,
  OdbcMetaDataCollectionNamesTest.cs, OdbcMetaDataColumnNamesTest.cs:
  Removed files under System.Data.Odbc directory.

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

17 years agotemporarily removed WPSMembershipProvider configuration - till the whole integration...
Ilya Kharmatsky [Wed, 21 Feb 2007 10:48:32 +0000 (10:48 -0000)]
temporarily removed WPSMembershipProvider configuration - till the whole integration of this feature.

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

17 years ago2006-12-20 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 21 Feb 2007 10:31:43 +0000 (10:31 -0000)]
2006-12-20  Nagappan A  <anagappan@novell.com>

* OdbcDataReaderTest.cs, OdbcParameterCollectionTest.cs,
  OdbcConnectionStringBuilderTest.cs, OdbcInfoMessageEventArgsTest.cs,
  OdbcMetaDataCollectionNamesTest.cs, OdbcMetaDataColumnNamesTest.cs:
  Reverted the changes.

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

17 years ago2007-02-09 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 21 Feb 2007 10:28:03 +0000 (10:28 -0000)]
2007-02-09  Nagappan A  <anagappan@novell.com>

* OdbcDataReader.cs, libodbc.cs, OdbcParameterCollection.cs,
  OdbcConnectionStringBuilder.cs, OdbcFactory.cs, OdbcInfoMessageEventArgs.cs,
  OdbcMetaDataCollectionNames.cs, OdbcMetaDataColumnNames.cs: Reverted the patches.

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

17 years agobe compatible with dev edition
Konstantin Triger [Wed, 21 Feb 2007 09:32:09 +0000 (09:32 -0000)]
be compatible with dev edition

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

17 years agoremove CodeGenerator.IsValidLanguageIndependentIdentifier check from Global.asax...
Konstantin Triger [Wed, 21 Feb 2007 09:27:25 +0000 (09:27 -0000)]
remove CodeGenerator.IsValidLanguageIndependentIdentifier check from Global.asax inherits attribute to let inherits='A.B' construct

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

17 years ago2007-02-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 21 Feb 2007 09:26:46 +0000 (09:26 -0000)]
2007-02-21  Nagappan A  <anagappan@novell.com>

* System.Data_test.dll.sources: Added
System.Data.OleDb/OleDbParameterCollectionTest.cs

* System.Data.dll.sources: Added
System.Data.Odbc/OdbcConnectionStringBuilder.cs,
System.Data.Odbc/OdbcMetaDataCollectionNames.cs,
System.Data.Odbc/OdbcMetaDataColumnNames.cs

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

17 years ago2007-02-21 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 21 Feb 2007 09:26:13 +0000 (09:26 -0000)]
2007-02-21  Nagappan A  <anagappan@novell.com>

* System.Data.Connected.Tests.dll.sources: Added
System.Data.Odbc/OdbcConnectionStringBuilderTest.cs,
System.Data.Odbc/OdbcInfoMessageEventArgsTest.cs,
System.Data.Odbc/OdbcMetaDataCollectionNamesTest.cs,
System.Data.Odbc/OdbcMetaDataColumnNamesTest.cs.

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

17 years agoFix typo
Konstantin Triger [Wed, 21 Feb 2007 07:54:52 +0000 (07:54 -0000)]
Fix typo

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

17 years ago2007-02-02 Amit Biswas <amit@amitbiswas.com>
Nagappan Alagappan [Wed, 21 Feb 2007 07:53:16 +0000 (07:53 -0000)]
2007-02-02  Amit Biswas <amit@amitbiswas.com>

* OdbcDataReaderTest.cs (GetDataTypeNameTest)
(GetDataTypeNameIndexOutOfRangeExceptionTest, GetOrdinalTest)
(GetOrdinalTest, GetFieldTypeTest, GetNameTest)
(GetFieldTypeIndexOutOfRangeExceptionTest)
(GetNameIndexOutOfRangeExceptionTest): Added new tests

* OdbcInfoMessageEventArgsTest.cs: Created new test case file
Added test ToStringTest()

* OdbcMetaDataCollectionNamesTest.cs: Created new test case file
Added test EqualsTest()

* OdbcParameterCollectionTest.cs (InsertTest, AddRangeTest)
(ContainsTest, InsertArgumentGreaterThanCountTest, CopyToTest)
(InsertNegetiveArgumentTest, CopyToArgumentExceptionTest)
(AddRangeParameterAlreadyContainedTest, CopyToLowerBoundCheckTest)
(AddRangeArgumentNullExceptionTest, AddRangeMultiDimensionalArrayTest)
(CopyToMultiDimensionalArrayTest): Added new tests.

2007-02-02  Nidhi Rawal  <rawalnidhi_rawal@yahoo.com>

* OdbcConnectionStringBuilderTest.cs: Created test cases for all
the methods that are implemented.

* OdbcMetaDataColumnNamesTest.cs: Implemented test cases for this
class.

* OdbcParameterCollectionTest.cs (IndexOfTest): Implemented test
case for the method.

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

17 years ago2007-02-02 Amit Biswas <amit@amitbiswas.com>
Nagappan Alagappan [Wed, 21 Feb 2007 07:52:20 +0000 (07:52 -0000)]
2007-02-02  Amit Biswas <amit@amitbiswas.com>

* OdbcInfoMessageEventArgs.cs (ToString): Implemented new method.

* OdbcParameterCollection.cs (AddRange, Insert, AddWithValue)
(Remove, Contains, CopyTo): Implemented missing .NET 2.0 methods.

* OdbcMetaDataCollectionNames.cs: Added new class for .NET 2.0
profile.

* OdbcMetaDataCollectionNames.cs (Equals): Implemented overloads
methods.

2007-02-02  Nidhi Rawal  <rawalnidhi_rawal@yahoo.com>

* libodbc.cs: Imported a dll file for char datatype.

* OdbcDataReader.cs (GetChar): Implemented the method and wrote
a switch case for char data type in GetValue method..
(GetDecimal): Implemented the method.

* OdbcConnectionStringBuilder.cs: Written the new class.

* OdbcMetaDataColumnNames.cs: Written the new class.

* OdbcFactory.cs (CreateConnectionStringBuilder): Implemented the method.

* OdbcParameterCollection.cs (IndexOf): Implemented the method.

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

17 years ago2007-02-02 Amit Biswas <amit@amitbiswas.com>
Nagappan Alagappan [Wed, 21 Feb 2007 07:46:38 +0000 (07:46 -0000)]
2007-02-02 Amit Biswas  <amit@amitbiswas.com>

* MySQL_5.sql: Added this new sql script. This sql script performs
the same operations as the existing "mysql.sql" but some sql
commands have been changed either to fix bugs or to comply with
MySQL Server 5.0.

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

17 years ago2007-02-20 Frederik Carlier <frederik.carlier@carlier-online.be>
Nagappan Alagappan [Wed, 21 Feb 2007 07:45:43 +0000 (07:45 -0000)]
2007-02-20  Frederik Carlier <frederik.carlier@carlier-online.be>

* OleDbParameterCollectionTest.cs: New. Unit tests for OleDbParameterCollection.

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