mono.git
16 years ago* System.Windows.Forms/WebBrowserBase.cs: Added WndProc, DrawToBitmap,
Andreia Gaita [Fri, 18 Apr 2008 19:32:04 +0000 (19:32 -0000)]
* System.Windows.Forms/WebBrowserBase.cs: Added WndProc, DrawToBitmap,
  CreateWebBrowserSiteBase implementations
* System.Windows.Forms/HtmlElement.cs: Add missing OuterHTML, OuterText
  setters, stubbed Style and TabIndex setters

2008-04-18  Andreia Gaita <avidigal@novell.com>

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

16 years ago* cormissing.js: Added support for argument classes.
Gert Driesen [Fri, 18 Apr 2008 18:14:00 +0000 (18:14 -0000)]
* cormissing.js: Added support for argument classes.

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

16 years ago2008-04-18 Wade Berrier <wberrier@novell.com>
Wade Berrier [Fri, 18 Apr 2008 17:14:58 +0000 (17:14 -0000)]
2008-04-18  Wade Berrier  <wberrier@novell.com>

       * scripts/mono-find-requires.in: Add env var to ignore scanning
       of .config files.
       Fix extra whitespace when no config reqs are found.

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

16 years agoNew test.
Marek Safar [Fri, 18 Apr 2008 16:54:57 +0000 (16:54 -0000)]
New test.

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

16 years ago2008-04-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 18 Apr 2008 16:54:10 +0000 (16:54 -0000)]
2008-04-18  Marek Safar  <marek.safar@gmail.com>

* generic.cs, namespace.cs, ecore.cs, class.cs, decl.cs, generic-mcs.cs,
nullable.cs, expression.cs, enum.cs, doc.cs: Cleaning up type expressions.

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

16 years ago2008-04-18 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 18 Apr 2008 15:57:18 +0000 (15:57 -0000)]
2008-04-18  Jonathan Pobst  <monkey@jpobst.com>

* propertygrid-alphabetical.png: Make icon correct size and
  add a little bit more color so it doesn't look disabled.

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

16 years ago2008-04-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 18 Apr 2008 15:06:56 +0000 (15:06 -0000)]
2008-04-18  Marek Safar  <marek.safar@gmail.com>

* parameter.cs, delegate.cs, cs-parser.jay, expression.cs: Removed unused
code.

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

16 years ago2008-04-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 18 Apr 2008 12:59:55 +0000 (12:59 -0000)]
2008-04-18  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: when any parsing error occurs during batch
building, ignore the file which caused it. If the file with
parsing error is the one requested by user, throw the parsing
exception. Fixes bug #323742

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

16 years ago * ListViewGroup.cs: When returning the actual item count, return the
Carlos Alberto Cortez [Fri, 18 Apr 2008 10:45:20 +0000 (10:45 -0000)]
* ListViewGroup.cs: When returning the actual item count, return the
proper count for default group.
Fix the tests.

2008-04-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago * ListView.cs:
Carlos Alberto Cortez [Fri, 18 Apr 2008 10:16:25 +0000 (10:16 -0000)]
* ListView.cs:
* ListViewGroup.cs: When calculating groups layout, get the actual
number of items per group, since groups added to the group BUT not
added to the ListView are just ignored, and can cause some nasty
exceptions because of the lack of synchronization. Also for
ListViewGroup don't use lazy initialization for items, since we
the common scenario is to use it always - and it helps us to  refactor
and clean the .ctor overloads.

2008-04-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2008-04-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 18 Apr 2008 09:47:19 +0000 (09:47 -0000)]
2008-04-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: When adding an item to a ListViewItemCollection
belonging to a group (ListViewGroup.Items), don't generate a redraw if
the added item hasn't beeen previously added to the ListView instance
refered by the group, since it will be ignored. This should avoid some
really nasty flickering.

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

16 years ago* FileVerionInfoTest.cs: Enabled test for bug #374600.
Gert Driesen [Fri, 18 Apr 2008 08:51:05 +0000 (08:51 -0000)]
* FileVerionInfoTest.cs: Enabled test for bug #374600.

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

16 years ago* FileWebRequestTest.cs: Now that we have proper locking for file
Gert Driesen [Fri, 18 Apr 2008 08:49:53 +0000 (08:49 -0000)]
* FileWebRequestTest.cs: Now that we have proper locking for file
deletes on unix, bug #323388 applies to unix as well.

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

16 years agoFix
Miguel de Icaza [Thu, 17 Apr 2008 23:55:08 +0000 (23:55 -0000)]
Fix

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

16 years agoRemove redundant timeout check, de-select, use-poll instead
Miguel de Icaza [Thu, 17 Apr 2008 23:49:58 +0000 (23:49 -0000)]
Remove redundant timeout check, de-select, use-poll instead

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

16 years ago2008-04-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 17 Apr 2008 23:34:44 +0000 (23:34 -0000)]
2008-04-17  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: When accessing an item in a specific display
position, use the helper method GetItemAtDisplayIndex, instead of
direct access to the reordered_items_indices array. When doing layout
for groups set the correct Items index for the display position (since
in groups mode items don't have the same position as in Items
collection).
* ListViewGroup.cs: Add a field to store the starting item number,
which is later used when calculating the layout.

Fixes #360805.

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

16 years ago2008-04-17 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 17 Apr 2008 22:39:29 +0000 (22:39 -0000)]
2008-04-17  Miguel de Icaza  <miguel@novell.com>

* NetworkStream.cs: Throw an IOException if the socket is not
connected, not an ArgumentException.

Fixes #371923, it is also the way its documented on MSDN.

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

16 years ago2008-04-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 17 Apr 2008 22:15:45 +0000 (22:15 -0000)]
2008-04-18  Marek Habersack  <mhabersack@novell.com>

* Makefile (OTHER_LIB_MCS_FLAGS): remove dependency on
System.Windows.Forms and define INSIDE_SYSTEM_WEB during
compilation.

* System.Web.dll.sources: include
../Managed.Windows.Forms/System.Resources/ResXResourceReader.cs
../Managed.Windows.Forms/System.Resources/ResXResourceWriter.cs
../Managed.Windows.Forms/System.Resources/ResXFileRef.cs
../Managed.Windows.Forms/System.Resources/ResXDataNode.cs
../Managed.Windows.Forms/System.Resources/ResXNullRef.cs
directly.

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

16 years ago2008-04-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 17 Apr 2008 22:13:47 +0000 (22:13 -0000)]
2008-04-18  Marek Habersack  <mhabersack@novell.com>

* ResXResourceWriter.cs, ResXResourceReader.cs, ResXDataNode.cs,
ResXFileRef.cs: if compiled as part of System.Web, make the
classes internal.

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

16 years ago2008-04-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 17 Apr 2008 21:56:04 +0000 (21:56 -0000)]
2008-04-17  Zoltan Varga  <vargaz@gmail.com>

* inssel.brg (OP_SWITCH): Use (gint64) instead of (long) to cast a large constant.

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

16 years ago* Application.cs: Fixed ProductVersion to fallback to the assembly
Gert Driesen [Thu, 17 Apr 2008 21:31:47 +0000 (21:31 -0000)]
* Application.cs: Fixed ProductVersion to fallback to the assembly
version. Fixes regression for bug #325413.

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

16 years agoUpdate copyright notices
Miguel de Icaza [Thu, 17 Apr 2008 20:36:36 +0000 (20:36 -0000)]
Update copyright notices

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

16 years ago2008-04-17 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 17 Apr 2008 19:00:05 +0000 (19:00 -0000)]
2008-04-17  Dick Porter  <dick@ximian.com>

* FileTest.cs: Test for bug 323389.

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

16 years ago2008-04-17 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 17 Apr 2008 18:58:20 +0000 (18:58 -0000)]
2008-04-17  Dick Porter  <dick@ximian.com>

* io.c (DeleteFile): Check file shares before deleting a file.
Fixes bug 323389.

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

16 years ago2008-04-17 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 17 Apr 2008 18:46:09 +0000 (18:46 -0000)]
2008-04-17  Dick Porter  <dick@ximian.com>

* FileTest.cs: Test for bug 378229.

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

16 years ago2008-04-17 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 17 Apr 2008 18:44:47 +0000 (18:44 -0000)]
2008-04-17  Dick Porter  <dick@ximian.com>

* io.c (DeleteFile): Return ERROR_ACCESS_DENIED if the file is
readonly.  Fixes bug 378229.

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

16 years ago2008-04-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 17 Apr 2008 17:49:02 +0000 (17:49 -0000)]
2008-04-17  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Enable the valgrind header check on amd64 too.

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

16 years ago2008-04-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 17 Apr 2008 16:02:53 +0000 (16:02 -0000)]
2008-04-17  Atsushi Enomoto  <atsushi@ximian.com>

* XmlAttributeCollection.cs : check attribute identity only if the
  source node is in the document tree. Fixed bug #380720.

* XmlElementTests.cs : added test for bug #380720.
* XmlAttributeTests.cs : numbered some assertions.

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

16 years agoOups, I missed this one.
Marek Safar [Thu, 17 Apr 2008 15:36:42 +0000 (15:36 -0000)]
Oups, I missed this one.

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

16 years ago2008-04-17 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 17 Apr 2008 15:30:35 +0000 (15:30 -0000)]
2008-04-17  Marek Safar  <marek.safar@gmail.com>

* decl.cs, class.cs: Removed some unused code.

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

16 years ago* DirectoryInfo.cs: Added new internal ctor, which takes a bool that
Gert Driesen [Thu, 17 Apr 2008 15:04:25 +0000 (15:04 -0000)]
* DirectoryInfo.cs: Added new internal ctor, which takes a bool that
indicates whether the original path should only container the last
part of the directory. Moved logic for determining the Name and
Parent to Initialize method, to allow it to be re-used on
deserialization. Renamed argument names to fix corcompare issues.
Added missing argument checks.
* Directory.cs (CreateDirectoriesInternal): Use internal ctor for
DirectoryInfo to ensure OriginalPath only contains last part of
the directory.
* File.cs: Removed redundant checks from Create. On 2.0 profile, pass
FileOptions to FileStream. Removed redundant directory check from
Delete and modified exceptions to more closely match MS.
* FileInfo.cs: Added argument check to ctor to match MS. Added missing
deserialization ctor. Modified argument checks in MoveTo, and removed
redundant checks. Added missing argument checks in CopyTo. Code
formatting.
* FileSystemInfo.cs: Modified argument checks in CheckPath to more
closely match MS.
* MonoIO.cs: Added msg that does not disclose filename for
ERROR_FILE_EXISTS.
* Path.cs: Use String.Length instead of comparing with String.Empty.
Removed exceptions argument names to match MS.
* File.cs: Added/improved tests for Create and Move.
* DirectoryInfoTest.cs: No longer derive from deprecated Assertion
class. Improved tests for ctor, Create, Name, Parent, ...
* FileInfoTest.cs: No longer derive from deprecated Assertion class.
Improved/added tests,
* PathTest.cs: Added tests for IsPathRooted and GetFullPath.
* FileSystemInfoTest.cs: Fixed test. Now passes on both Mono and MS.

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

16 years ago2008-04-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 17 Apr 2008 14:59:25 +0000 (14:59 -0000)]
2008-04-17  Sebastien Pouliot  <sebastien@ximian.com>

* DSATest.cs: Add valid test cases with invalid xml. Update to
NUnit 2 syntax.
* HashAlgorithmTest.cs: Fix compiler warnings.
* RSATest.cs: Add valid test cases with invalid xml. Update to
NUnit 2 syntax.
* SHA256Test.cs, SHA384Test.cs, SHA512Test.cs: Flush

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

16 years ago2008-04-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 17 Apr 2008 14:56:26 +0000 (14:56 -0000)]
2008-04-17  Sebastien Pouliot  <sebastien@ximian.com>

* AsymmetricAlgorithm.cs: Add shared GetNamedParam helper method.
* DSA.cs, RSA.cs: Rework FromXmlString to be more "careless" like
MS implementation. Fix #355464

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

16 years agoNew tests.
Marek Safar [Thu, 17 Apr 2008 14:12:04 +0000 (14:12 -0000)]
New tests.

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

16 years ago2008-04-17 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 17 Apr 2008 14:11:16 +0000 (14:11 -0000)]
2008-04-17  Marek Safar  <marek.safar@gmail.com>

* decl.cs, class.cs, generic.cs: Verify partial parts type parameters and
constraints.

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

16 years ago2008-04-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 17 Apr 2008 12:35:17 +0000 (12:35 -0000)]
2008-04-17  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (NEW_INS): Set cil_code.

* mini.c (mini_method_compile): Move the disabling of fp elimination to here
from mini-amd64.c so all debugger related logic is in one place.

* mini.c: Set cfg->ip to NULL after passes which set it so instructions created
later won't have a random ip assigned to them.

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

16 years agoNew test.
Marek Safar [Thu, 17 Apr 2008 11:14:05 +0000 (11:14 -0000)]
New test.

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

16 years agoFixed wrong bug number
Marek Safar [Thu, 17 Apr 2008 11:13:09 +0000 (11:13 -0000)]
Fixed wrong bug number

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

16 years agoNew tests, msg updates.
Marek Safar [Thu, 17 Apr 2008 11:11:29 +0000 (11:11 -0000)]
New tests, msg updates.

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

16 years ago2008-04-17 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 17 Apr 2008 11:10:59 +0000 (11:10 -0000)]
2008-04-17  Marek Safar  <marek.safar@gmail.com>

* decl.cs, class.cs, cs-parser.jay, ecore.cs, expression.cs: Unify all type
name expressions.
Also fixes #321794.

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

16 years agoFix Java compilation
Noam Lampert [Thu, 17 Apr 2008 09:21:42 +0000 (09:21 -0000)]
Fix Java compilation

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

16 years ago2008-04-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 17 Apr 2008 03:46:45 +0000 (03:46 -0000)]
2008-04-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: New helper method to retrieve an item in a _specific
display_ position (the items can be displayed in a different order
than one of Items collection).
* ThemeWin32Classic.cs: When drawing, instead of iterating over Items
collection, use ListView.GetItemAtDisplayIndex, to get an item in a
specific display position (again remember that items can be sorted
different than Items).

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

16 years ago2008-04-17 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 16 Apr 2008 22:36:18 +0000 (22:36 -0000)]
2008-04-17  Marek Habersack  <mhabersack@novell.com>

* mono.1: add description of the new NullFileWatcher to the
documentation of the MONO_MANAGED_WATCHER envvar.

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

16 years ago2008-04-17 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 16 Apr 2008 22:31:33 +0000 (22:31 -0000)]
2008-04-17  Marek Habersack  <mhabersack@novell.com>

* FileSystemWatcher.cs: added support for NullFileWatcher. Fixes
bug #354701

* NullFileWatcher.cs: added an IFileWatcher implementation which
does nothing. Selected only by setting the MONO_MANAGED_WATCHER
environment variable to 'disabled'. Fixes bug #354701

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

16 years ago2008-04-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 16 Apr 2008 21:52:54 +0000 (21:52 -0000)]
2008-04-16  Marek Habersack  <mhabersack@novell.com>

* ReferenceConverter.cs: fix ConvertFrom and ConvertTo when
converting from/to string - base must be called only if the
conversion target type is NOT string, otherwise the result of the
conversion will be the value type name.
2008-04-16  Marek Habersack  <mhabersack@novell.com>

* ComponentConverterTests.cs: added tests for
{Component, Reference}Converter ConvertFrom/ConvertTo changes.
2008-04-16  Marek Habersack  <mhabersack@novell.com>

* System_test.dll.sources: added
System.ComponentModel/ComponentConverterTests.cs

* Makefile (TEST_MCS_FLAGS): reference -r:System.Data for new
tests.

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

16 years ago2008-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Apr 2008 21:22:35 +0000 (21:22 -0000)]
2008-04-16  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_create_jump_trampoline): Add an assert to check that
the arch specific function initializes code_size.
(mono_create_delegate_trampoline): Ditto.

* mini-mips.h mini-mips.c inssel-mips.brg inssel-long32-mips.brg cpu-mips.md
tramp-mips.c: Resurrect MIPS port and also fix the issues on little-endian
platforms.

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

16 years ago2008-04-16 Wade Berrier <wberrier@novell.com>
Wade Berrier [Wed, 16 Apr 2008 21:06:56 +0000 (21:06 -0000)]
2008-04-16  Wade Berrier  <wberrier@novell.com>

       * scripts/mono-find-requires.in: Fix extraneous whitespace that
makes
       some reqs from .config be on the same line as the monodis reqs.

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

16 years agoHook up 'EmitSideEffect'
Raja R Harinath [Wed, 16 Apr 2008 19:46:03 +0000 (19:46 -0000)]
Hook up 'EmitSideEffect'

* constant.cs (Constant.EmitSideEffect): New.
(SideEffectConstant.Emit): Simplify.  Use EmitSideEffect.
(SideEffectConstant.EmitSideEffect): New.
* ecore.cs (BoxedCast.EmitBranchable): Remove.  We can't use an
unconditional branch in EmitBranchable.
(FieldExpr.EmitBranchable): New.
* expression.cs (Unary.EmitSideEffect): New.
(Binary.EmitSideEffect): New.
(VariableReference.EmitSideEffect): New.  Do nothing.

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

16 years agoIntroduce 'EmitSideEffect'
Raja R Harinath [Wed, 16 Apr 2008 19:45:04 +0000 (19:45 -0000)]
Introduce 'EmitSideEffect'
* ecore.cs (Expression.EmitSideEffect): New.
(TypeCast): Rename from EmptyCast.
(EmptyCast): New.
(EmptyCast.EmitBranchable, EmptyCast.EmitSideEffect): Implement.
(BoxedCast.EmitBranchable, BoxedCast.EmitSideEffect): Implement.
* convert.cs, nullable.cs: Update to changes.

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

16 years agowhat about adding the files for real
Jb Evain [Wed, 16 Apr 2008 19:44:31 +0000 (19:44 -0000)]
what about adding the files for real

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

16 years ago2008-04-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 16 Apr 2008 19:43:02 +0000 (19:43 -0000)]
2008-04-16  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewColumnCollection.cs: Create a cached copy of our sorted
list and update it when the collection changes.  We were recreating
this several times per row paint and for every pixel the mouse moved
across the grid.
* DataGridViewColumn.cs: Regenerate cached sorted list when DisplayIndex
changes.

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

16 years ago2008-04-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 16 Apr 2008 19:28:00 +0000 (19:28 -0000)]
2008-04-16  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewColumnCollection.cs: Convert our internal sorted columns
list to use generics.
* DataGridView.cs, DataGridViewRow.cs: Use generic sorted column list
and remove unneccessay casts.

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

16 years ago2008-04-16 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 16 Apr 2008 19:20:13 +0000 (19:20 -0000)]
2008-04-16  Jb Evain  <jbevain@novell.com>

* configure.in, data/Makefile.am: add a smcs.pc file,
that moonlight can use to locate smcs.exe.

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

16 years ago2008-04-16 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 16 Apr 2008 18:57:53 +0000 (18:57 -0000)]
2008-04-16  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewBand.cs: Add internal way to set displayed variable.
* DataGridViewRow.cs: Don't paint cells in non-displayed columns.
* DataGridView.cs: Make sure we always keep track of Displayed
rows and columns, and only draw things that are displayed.

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

16 years agoNew test, update.
Marek Safar [Wed, 16 Apr 2008 18:29:39 +0000 (18:29 -0000)]
New test, update.

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

16 years ago2008-04-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Apr 2008 18:29:16 +0000 (18:29 -0000)]
2008-04-16  Marek Safar  <marek.safar@gmail.com>

* class.cs, cs-parser.jay: Early check for base types expression.

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

16 years agoRemove over-eager Obsolete attribute -- we need to fix uses of
Raja R Harinath [Wed, 16 Apr 2008 16:31:00 +0000 (16:31 -0000)]
Remove over-eager Obsolete attribute -- we need to fix uses of
MemberName.MethodName

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

16 years ago2008-04-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Apr 2008 16:09:31 +0000 (16:09 -0000)]
2008-04-16  Marek Safar  <marek.safar@gmail.com>

* decl.cs (MemberName): Declare PrettyName as obsolete.

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

16 years agoNew test.
Marek Safar [Wed, 16 Apr 2008 16:05:22 +0000 (16:05 -0000)]
New test.

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

16 years ago2008-04-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Apr 2008 16:04:45 +0000 (16:04 -0000)]
2008-04-16  Marek Safar  <marek.safar@gmail.com>

* namespace.cs: Use MemberName comparison.

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

16 years agoSpread the dissatisfaction
Raja R Harinath [Wed, 16 Apr 2008 15:35:36 +0000 (15:35 -0000)]
Spread the dissatisfaction

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

16 years agoFix build break
Raja R Harinath [Wed, 16 Apr 2008 15:29:40 +0000 (15:29 -0000)]
Fix build break

* decl.cs (MemberName.PrettyName): New.  Replaces the misnamed FullName.
(MemberName.MethodName, MemberName.GetSignatureForError): Improve.
(MemberName.FullyQualifiedName): New.  Provides the functionality
that users assume FullName would have.
* ecore.cs, namespace.cs: Update to changes.

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

16 years ago* statement.cs (Using.assign): Make into ExpressionStatement.
Raja R Harinath [Wed, 16 Apr 2008 14:29:02 +0000 (14:29 -0000)]
* statement.cs (Using.assign): Make into ExpressionStatement.
(Using.EmitPreTryBody): Simplify.

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

16 years ago2008-04-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Apr 2008 14:03:32 +0000 (14:03 -0000)]
2008-04-16  Marek Safar  <marek.safar@gmail.com>

* report.cs: ColorFormat is protected.

* rootcontext.cs: Unused fields clean-up.

* namespace.cs: Made UsingEntry name private.

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

16 years ago* File.cs: Changed argument names and thrown exception to better match
Gert Driesen [Wed, 16 Apr 2008 14:01:25 +0000 (14:01 -0000)]
* File.cs: Changed argument names and thrown exception to better match
.NET. Use String.Length instead of comparison with empty string.
* DirectoryInfo.cs: Added missing deserialization ctor.
* FileTest.cs: Renamed and improved existing tests. Avoid use of
ExpectedException.
* FileSystemInfoTest.cs: No longer derive from deprecated Assertion
class. Added (de)serialization tests.

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

16 years ago2008-04-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 16 Apr 2008 13:34:17 +0000 (13:34 -0000)]
2008-04-16  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs, location.cs: Removed unused field.

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

16 years ago2008-04-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 16 Apr 2008 13:19:47 +0000 (13:19 -0000)]
2008-04-16  Atsushi Enomoto  <atsushi@ximian.com>

        * X11Keyboard.cs, XplatUIX11.cs : manage key state regardless of
          whether the key events are filtered or not. Introduced
          PreFilter() process for this purpose. This fixes atokx3/iiimx
          shift state issue.

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

16 years ago2008-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Apr 2008 12:59:39 +0000 (12:59 -0000)]
2008-04-16  Zoltan Varga  <vargaz@gmail.com>

* DateTimeOffsetTest.cs (ToStringWithFormatAndCulture): Avoid dependency on
invariant culture. Fixes #380345.

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

16 years ago* System.Windows.Forms/HtmlHistory.cs: Implement Length property
Andreia Gaita [Wed, 16 Apr 2008 12:57:11 +0000 (12:57 -0000)]
* System.Windows.Forms/HtmlHistory.cs: Implement Length property

2008-04-16  Andreia Gaita <avidigal@novell.com>

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

16 years ago2008-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Apr 2008 12:53:54 +0000 (12:53 -0000)]
2008-04-16  Zoltan Varga  <vargaz@gmail.com>

* BinderTests.cs: Applied patch from Yves Bastide (doc.formatique@gmail.com). Add
tests for converting integers to enums.

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

16 years ago* Mono.Mozilla/DOM/Navigation.cs, Mono.WebBrowser/DOM/INavigation.cs:
Andreia Gaita [Wed, 16 Apr 2008 12:53:01 +0000 (12:53 -0000)]
* Mono.Mozilla/DOM/Navigation.cs, Mono.WebBrowser/DOM/INavigation.cs:
  Add history count getter

2008-04-16  Andreia Gaita <avidigal@novell.com>

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

16 years ago2008-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Apr 2008 12:52:51 +0000 (12:52 -0000)]
2008-04-16  Zoltan Varga  <vargaz@gmail.com>

* Binder.cs: Applied patch from Yves Bastide (doc.formatique@gmail.com). Add
support for converting integers to enums. Fixes #380361.

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

16 years ago2008-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Apr 2008 12:46:37 +0000 (12:46 -0000)]
2008-04-16  Zoltan Varga  <vargaz@gmail.com>

* liveness.c (mono_analyze_liveness): Disable the initlocals optimization if
running under the debugger.

* linear-scan.c (mono_linear_scan): Avoid sharing registers if running under the
debugger.

* mini.c (mini_method_compile): Set a few flags in cfg if running under the
debugger. Also move the disabling of optimizations here from driver.c.
(mono_allocate_stack_slots_full): Avoid sharing stack slots if running under the
debugger.

* mini.h (MonoCompile): Add a few new flags.

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

16 years ago2008-04-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 16 Apr 2008 12:39:22 +0000 (12:39 -0000)]
2008-04-16  Zoltan Varga  <vargaz@gmail.com>

* liveness.c (mono_analyze_liveness): Disable the initlocals optimization if
running under the debugger.

* linear-scan.c (mono_linear_scan): Avoid sharing registers if running under the
debugger.

* mini.c (mini_method_compile): Set a few flags in cfg if running under the
debugger. Also move the disabling of optimizations here from driver.c.
(mono_allocate_stack_slots_full): Avoid sharing stack slots if running under the
debugger.

* mini.h (MonoCompile): Add a few new flags.

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

16 years agoChangelog for the last commit.
Veerapuram Varadhan [Wed, 16 Apr 2008 11:36:42 +0000 (11:36 -0000)]
Changelog for the last commit.

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

16 years ago * XmlDataInferenceLoader.cs (ReadXml): Make sure the name of
Veerapuram Varadhan [Wed, 16 Apr 2008 11:36:24 +0000 (11:36 -0000)]
    * XmlDataInferenceLoader.cs (ReadXml): Make sure the name of
        reference key column(s) in child tables are unique.

        * XmlSchemaWriter.cs (WriteSchema, WriteDataSetElement,
        WriteTableType, WriteChildRelations): Handle the scenario
wherein
        we have a relation and only one table.  This can occur when we
        have an XML with same parent/child table names.

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

16 years agoAdded tests for same parent/child table name and Id columns.
Veerapuram Varadhan [Wed, 16 Apr 2008 11:34:25 +0000 (11:34 -0000)]
Added tests for same parent/child table name and Id columns.

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

16 years agoFix #379822
Raja R Harinath [Wed, 16 Apr 2008 06:20:10 +0000 (06:20 -0000)]
Fix #379822

* constant.cs (SideEffectConstant.value): Rename from 'left'.
(SideEffectConstant.side_effect): Rename from 'right'.
(SideEffectConstant..ctor): Normalize 'side_effect'.
(SideEffectConstant.Emit): Emit 'value', not 'side_effect' as the
value of this constant.
* cfold.cs: Update to changes.

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

16 years ago2008-04-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 16 Apr 2008 02:13:32 +0000 (02:13 -0000)]
2008-04-16  Marek Habersack  <mhabersack@novell.com>

* ObjectDataSourceView.cs: ExecuteSelect should return an empty
aray when no data has been retrieved from the specified source
type. Fixes bug #380106

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

16 years ago2008-04-16 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 16 Apr 2008 02:12:41 +0000 (02:12 -0000)]
2008-04-16  Jonathan Chambers  <joncham@gmail.com>
* monobitset.c (find_first_unset): Use gsize instead of gulong for platform
  dependent size; fixes Win64.
* mono-member.h: Implement mono_memory_barrier, mono_memory_read_barrier, and
  mono_memory_write_barrier for Win64.

Contributed under MIT/X11 license.

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

16 years ago2008-04-15 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 16 Apr 2008 01:58:42 +0000 (01:58 -0000)]
2008-04-15  Jonathan Chambers  <joncham@gmail.com>
* mono.sln, libmono.vcproj, monoburg.vcproj, genmdesc.vcproj: Flush Win64
  and eglib changes.

Contributed under MIT/X11 license.

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

16 years ago2008-04-15 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 16 Apr 2008 01:07:58 +0000 (01:07 -0000)]
2008-04-15  Jonathan Chambers  <joncham@gmail.com>
* include/private/gcconfig.h: Backport GC7 code to support Win64.
* win32_threads.c: Backport GC7 code to support Win64.

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

16 years ago2008-04-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 Apr 2008 23:35:35 +0000 (23:35 -0000)]
2008-04-16  Marek Habersack  <mhabersack@novell.com>

* HttpWebRequest.cs: fix an off-by-one bug - the number of
redirects must not exceed the value of
MaximumAutomaticRedirections. Fixes bug #380131

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

16 years ago2008-04-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 Apr 2008 22:27:01 +0000 (22:27 -0000)]
2008-04-16  Marek Habersack  <mhabersack@novell.com>

* mono-io-portability.c (mono_portability_find_file): properly
process unrooted entries with a trailing slash.

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

16 years ago2008-04-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Apr 2008 21:22:40 +0000 (21:22 -0000)]
2008-04-15  Zoltan Varga  <vargaz@gmail.com>

* main.c (disassemble_file): Do not use mono_assembly_open () to load an image,
since it does not allow loading a different mscorlib. Fixes #379866.

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

16 years ago2008-04-15 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 15 Apr 2008 20:57:30 +0000 (20:57 -0000)]
2008-04-15  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Call EndEdit when a sort is performed so we take
away the edit textbox.  Refactor to reuse column sort code.

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

16 years ago2008-04-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Apr 2008 19:32:04 +0000 (19:32 -0000)]
2008-04-15  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_method_to_ir): Set cfg->ip before processing an IL instruction
so the cil_code field of created MonoInst's is properly set.
(mini_select_instructions): Ditto.

* mini.h (MONO_INST_NEW): Initialize the cil_code field using cfg->ip.
(MONO_INST_NEW_CALL): Ditto.

* mini.c inssel.brg inssel-x86.brg inssel-amd64.brg: Use MONO_INST_NEW ()
in many places so the ins->cil_code field is properly initialized.

* mini.c (mono_bblock_add_inst): Call MONO_ADD_INS () so the logic is in one
place.

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

16 years agoRevert 100737, it's not needed anymore.
Marek Habersack [Tue, 15 Apr 2008 18:57:20 +0000 (18:57 -0000)]
Revert 100737, it's not needed anymore.

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

16 years ago2008-04-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 Apr 2008 18:49:06 +0000 (18:49 -0000)]
2008-04-15  Marek Habersack  <mhabersack@novell.com>

* appdomain.c (try_load_from): if IOMAP is in effect, call the
portability API to look up the assembly file. Fixes behavior in
situations when the application has a bin/ directory, but the
assembly search patch refers to Bin/ (and thus the requested file
name is Bin/SomeLibrary.dll). Fixes bug #379888

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

16 years ago2008-04-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 15 Apr 2008 18:29:27 +0000 (18:29 -0000)]
2008-04-15  Marek Safar  <marek.safar@gmail.com>

* cs-paser.jay: Removed unused variable.

* driver.cs: Made Compile instance method.

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

16 years ago2008-04-15 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 15 Apr 2008 17:22:10 +0000 (17:22 -0000)]
2008-04-15 Rodrigo Kumpera  <rkumpera@novell.com>

verify.c (mono_type_is_generic_argument): Extracted this check
from a dozen places to here.

verify.c: Fixed all issues related to boxing generic arguments
and their constraints.

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

16 years ago2008-04-15 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 15 Apr 2008 17:14:16 +0000 (17:14 -0000)]
2008-04-15 Rodrigo Kumpera <rkumpera@novell.com>

* make_boxed_genarg_test.sh: New test generator
for boxed generic arguments.

* make_test.sh: Added tests using the new generator
for the interaction between boxed generic arguments
and its constraint types.

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

16 years agoHttpRuntime.cs: Don't add Date header for error pages either. Fixes bug #363404.
Kornél Pál [Tue, 15 Apr 2008 16:36:56 +0000 (16:36 -0000)]
HttpRuntime.cs: Don't add Date header for error pages either. Fixes bug #363404.

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

16 years ago2008-04-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 15 Apr 2008 16:08:33 +0000 (16:08 -0000)]
2008-04-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 Apr 2008 15:53:34 +0000 (15:53 -0000)]
2008-04-15  Marek Habersack  <mhabersack@novell.com>

* ApplicationHostTest.cs: test update for the PrivateBinPath
change in ApplicationHost (a work-around for an IOMAP bug).

2008-04-15  Marek Habersack  <mhabersack@novell.com>

* ApplicationHost.cs: restore Bin;bin to PrivateBinPath, as a
work-around for an IOMAP bug. Fixes bugs #379890 and #379888

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

16 years ago2008-04-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 15 Apr 2008 15:45:52 +0000 (15:45 -0000)]
2008-04-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing Attributes

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

16 years ago2008-04-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 15 Apr 2008 15:44:13 +0000 (15:44 -0000)]
2008-04-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 15 Apr 2008 15:43:08 +0000 (15:43 -0000)]
2008-04-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Use existing consts where possible

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

16 years ago* flowanalysis.cs (FlowBranching.MergeChild): Simplify.
Raja R Harinath [Tue, 15 Apr 2008 15:42:15 +0000 (15:42 -0000)]
* flowanalysis.cs (FlowBranching.MergeChild): Simplify.

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

16 years ago2008-04-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Tue, 15 Apr 2008 15:41:23 +0000 (15:41 -0000)]
2008-04-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing Attributes

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