mono.git
18 years ago2006-04-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 2 Apr 2006 23:32:56 +0000 (23:32 -0000)]
2006-04-03  Atsushi Enomoto <atsushi@ximian.com>

due to the request by Brian Rasumussen to report NVDL error details:
* NvdlFilteredXmlReader.cs : make it as IXmlLineInfo.
* NvdlValidationGenerator.cs :
  (NvdlValidationProvider) made validate, schemaType and config as
  publicly accessible.
  (NvdlValidatorGenerator) added new HandleError() method that can
  override error handling.
* NvdlValidator.cs : use it.
* NvdlException.cs : added new type NvdlInstanceValidationException
  that is used to "wrap" actual validation errors to provide
  NVDL script location information.
* NvdlRelaxngSupport.cs, NvdlXsdSupport.cs :
  use those new HandleError() and NvdlInstanceValidationException.

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

18 years ago2006-04-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Apr 2006 18:44:35 +0000 (18:44 -0000)]
2006-04-02  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_unlink_bblock): Fix regression caused by previous
change (#77992).

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

18 years agodelete obsolete files from the project
Andrew Skiba [Sun, 2 Apr 2006 16:28:58 +0000 (16:28 -0000)]
delete obsolete files from the project

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

18 years ago2006-04-02 Chris Toshok <toshok@ximian.com>
Chris Toshok [Sun, 2 Apr 2006 16:19:50 +0000 (16:19 -0000)]
2006-04-02  Chris Toshok  <toshok@ximian.com>

* Control.cs (DesignMode): always return false for now.  Fixes
#77991.

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

18 years agoTARGET_JVM: update build system
Konstantin Triger [Sun, 2 Apr 2006 09:37:30 +0000 (09:37 -0000)]
TARGET_JVM: update build system

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

18 years agoTARGET_JVM: update build system
Konstantin Triger [Sun, 2 Apr 2006 09:31:29 +0000 (09:31 -0000)]
TARGET_JVM: update build system

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

18 years ago2006-04-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 1 Apr 2006 21:56:36 +0000 (21:56 -0000)]
2006-04-01  Zoltan Varga  <vargaz@gmail.com>

* data/mono.supp: Add "Use of uninitialized value of size 8" too.

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

18 years ago2006-04-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 1 Apr 2006 19:20:25 +0000 (19:20 -0000)]
2006-04-01  Zoltan Varga  <vargaz@gmail.com>

* System.dll.sources: Added System.Diagnostics/Stopwatch.cs.

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

18 years ago2006-04-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 1 Apr 2006 19:20:03 +0000 (19:20 -0000)]
2006-04-01  Zoltan Varga  <vargaz@gmail.com>

* Stopwatch.cs: New file.

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

18 years agore-enable tests
Raja R Harinath [Sat, 1 Apr 2006 19:03:41 +0000 (19:03 -0000)]
re-enable tests

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

18 years ago2006-04-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 1 Apr 2006 19:02:37 +0000 (19:02 -0000)]
2006-04-01  Zoltan Varga  <vargaz@gmail.com>

* mini.c (optimize_branches): Remove the "optimizations" in
the cbranch1/cbranch2 -> branch cases which were causing several
problems in the past. Fixes #77986.

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

18 years ago2006-04-01 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 1 Apr 2006 17:45:39 +0000 (17:45 -0000)]
2006-04-01  Marek Safar  <marek.safar@seznam.cz>

* assign.cs (Assign.DoResolve): Assignment to same variable can occur
in an embedded statement too.

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

18 years agoFix #77929
Raja R Harinath [Sat, 1 Apr 2006 16:02:41 +0000 (16:02 -0000)]
Fix #77929
* gmcs/typemanager.cs (IsNestedChildOf): Drop generic arguments before testing.
* tests/gtest-266.cs: New test from #77929.

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

18 years agoFix #77958
Raja R Harinath [Sat, 1 Apr 2006 13:53:12 +0000 (13:53 -0000)]
Fix #77958
* mcs/statement.cs (Switch.EmitObjectInteger) [ulong]: Remove bad cast.
* gmcs/statement.cs: Likewise.
* tests/test-499.cs: New test from #77958.

(test-499.cs appears to trigger a JIT bug)

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

18 years agoFix #77962
Raja R Harinath [Sat, 1 Apr 2006 12:06:20 +0000 (12:06 -0000)]
Fix #77962
* report.cs (SymbolRelatedToPreviousError): Drop generic type
arguments before checking whether a type is reflected or not.

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

18 years agoFix #77954.
Raja R Harinath [Sat, 1 Apr 2006 11:48:57 +0000 (11:48 -0000)]
Fix #77954.
* expression.cs (Invocation.IsApplicable): Ensure a generic method
definition doesn't take part in overload resolution.
(Invocation.IsParamsMethodApplicable): Likewise.
(Invocation.OverloadResolve): When replacing a reflected override
method with its base definition, ensure that type arguments are applied.

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

18 years ago2006-04-01 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 1 Apr 2006 07:56:18 +0000 (07:56 -0000)]
2006-04-01  Marek Safar  <marek.safar@seznam.cz>

A fix for #77966.

* class.cs (TypeContainer.AddPartial): Don't report an error when modifier
was not specified.

* modifiers.cs: Add DEFAULT_ACCESS_MODIFER.

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

18 years agoversion bump
Wade Berrier [Sat, 1 Apr 2006 01:56:14 +0000 (01:56 -0000)]
version bump

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

18 years ago2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sat, 1 Apr 2006 00:59:59 +0000 (00:59 -0000)]
2006-03-31  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: Enable clipping again now that the libgdiplus
  bug is fixed

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

18 years agofix type of last commit
Wade Berrier [Sat, 1 Apr 2006 00:35:43 +0000 (00:35 -0000)]
fix type of last commit

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

18 years ago2006-03-31 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 1 Apr 2006 00:14:16 +0000 (00:14 -0000)]
2006-03-31  Miguel de Icaza  <miguel@novell.com>

* icall.c
(ves_icall_System_Environment_InternalSetEnvironmentVariable): Fix
build on pre glib 2.4 systems.

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

18 years ago2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 31 Mar 2006 23:25:18 +0000 (23:25 -0000)]
2006-03-31  Peter Dennis Bartok <pbartok@novell.com>

* ControlTest.cs: Ignore Invoke test, it hangs

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

18 years ago * UpDownBase.cs: Don't CreateGraphics manually, use a
Jackson Harper [Fri, 31 Mar 2006 22:59:24 +0000 (22:59 -0000)]
    * UpDownBase.cs: Don't CreateGraphics manually, use a
        Refresh. Ideally we would invalidate the correct areas here.

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

18 years ago2006-03-31 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 31 Mar 2006 22:59:17 +0000 (22:59 -0000)]
2006-03-31  Chris Toshok  <toshok@ximian.com>

* driver.c (DEFAULT_OPTIMIZATIONS): back out the new set of
default optimizations :(

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

18 years ago * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
Jackson Harper [Fri, 31 Mar 2006 22:44:43 +0000 (22:44 -0000)]
    * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
        sometimes.

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

18 years ago2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 31 Mar 2006 22:40:47 +0000 (22:40 -0000)]
2006-03-31  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs:
  - We now track the mapping state of windows. If a window (or
    one of it's parents) is not mapped we no longer permit
    WM_PAINT messages to be generated since we'd otherwise get
    lots of BadMatch X errors. Jackson did all the work figuring
    out the problem.
  - Destroying the caret if the window it's contained in is
    destroyed. Can't use regular DestroyCaret method since it
    might fall into a drawing function (trying to remove the
    caret) and with that generate new BadMatch errors. Again,
    Jackson tracked this down.
  - Changed DestroyChildWindows to SendWMDestroyMessages, we now
    make sure we send the messages to all windows. (The old code
    would send the WM_DESTROY to the window, and then all child
    windows would be 'gone' because the WM_DESTROY handle lookup
    would no longer find the destroyed window)
* Hwnd.cs: Added Mapping property to track mapping state of hwnd
* X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow

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

18 years ago * ScrollableControl.cs: Dont recalc if we are not visible.
Jackson Harper [Fri, 31 Mar 2006 21:42:00 +0000 (21:42 -0000)]
    * ScrollableControl.cs: Dont recalc if we are not visible.

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

18 years ago2006-03-31 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 31 Mar 2006 21:37:31 +0000 (21:37 -0000)]
2006-03-31  Mike Kestner  <mkestner@novell.com>

* Control.cs (SetVisibleCore): move the CreateControl call up ahead of
the visibility branch.

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

18 years ago * ScrollBar.cs: Cap values when incrementing/decrementing.
Jackson Harper [Fri, 31 Mar 2006 21:05:26 +0000 (21:05 -0000)]
    * ScrollBar.cs: Cap values when incrementing/decrementing.

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

18 years ago2006-03-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 31 Mar 2006 20:42:47 +0000 (20:42 -0000)]
2006-03-31  Zoltan Varga  <vargaz@gmail.com>

* EnvironmentTest.cs: Add tests for SetEnvironmentVariable.

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

18 years ago2006-03-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 31 Mar 2006 20:32:05 +0000 (20:32 -0000)]
2006-03-31  Zoltan Varga  <vargaz@gmail.com>

* Environment.cs (SetEnvironmentVariable): Implement.

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

18 years ago2006-03-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 31 Mar 2006 20:31:08 +0000 (20:31 -0000)]
2006-03-31  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Environment_InternalSetEnvironmentVariable): New icall.

* icall.c: Fix some warnings.

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

18 years ago2006-03-31 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 31 Mar 2006 19:15:45 +0000 (19:15 -0000)]
2006-03-31  Mike Kestner  <mkestner@novell.com>

* MenuAPI.cs: setup menu.tracker for popup/context menus.
* ToolTip.cs: guard against timer expirations with no active control.
Not sure why it happened.

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

18 years ago2006-03-31 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 31 Mar 2006 18:15:51 +0000 (18:15 -0000)]
2006-03-31  Mike Kestner  <mkestner@novell.com>

* ThemeWin32Classic.cs: add some horizontal padding space for the tip
text.
* ToolTip.cs: Position the tooltip based on where the cursor is at
popup time, not at MouseEnter time.  Add a Down state so that we don't
redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
positioning offset. Lookup DisplaySize at positioning time, since it
can theoretically change during invocation.
* XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
* XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.

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

18 years ago2006-03-31 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 31 Mar 2006 17:43:52 +0000 (17:43 -0000)]
2006-03-31  Marek Safar  <marek.safar@seznam.cz>

* assign.cs (LocalTemporary): Don't require ILGenerator in the resolve
phase.

* anonymous.cs, assign.cs, ecore.cs, expression.cs: Updated after
LocalTemporary change.

* class.cs (ClassOrStruct.DefineDefaultConstructor): Moved from
TypeContainer.
(ClassOrStruct.DefineFieldInitializers): Implemented static fields
initializers optimization.
(ClassOrStruct.TypeAttr): Moved from modifiers.
(Constructor.CheckBase): Don't crash when static ctor has parameters.
(FieldBase.ResolveInitializer): Resolves initializer.
(FieldBase.HasDefaultInitializer): New property.

* cs-parser.jay: Removed message.

* expression.cs (CompilerGeneratedThis): New specialization.

* modifiers.cs (TypeAttr): Moved to ClassOrStruct.TypeAttr

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

18 years ago2006-03-31 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Fri, 31 Mar 2006 17:04:27 +0000 (17:04 -0000)]
2006-03-31  Alexander Olk  <alex.olk@googlemail.com>

* ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  Fixes behaviour when the Text property of the box is String.Empty

2006-03-31  Alexander Olk  <alex.olk@googlemail.com>
2006-03-31  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago- Fix comment
Peter Dennis Bartok [Fri, 31 Mar 2006 16:52:07 +0000 (16:52 -0000)]
- Fix comment

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

18 years ago2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 31 Mar 2006 16:47:36 +0000 (16:47 -0000)]
2006-03-31  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: Only send mouseleave for our client windows, not
  for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  a window

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

18 years ago * FileDialog.cs: Visual enhancement for the popup buttons in
Alexander Olk [Fri, 31 Mar 2006 16:08:26 +0000 (16:08 -0000)]
* FileDialog.cs: Visual enhancement for the popup buttons in
  PopupButtonPanel

2006-03-30  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
Alexander Olk [Fri, 31 Mar 2006 14:51:23 +0000 (14:51 -0000)]
* ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  code

2006-03-30  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago2006-03-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 31 Mar 2006 14:00:45 +0000 (14:00 -0000)]
2006-03-31  Zoltan Varga  <vargaz@gmail.com>

* Debug.cs: Add net 2.0 Print methods.

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

18 years ago2006-03-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 31 Mar 2006 13:59:31 +0000 (13:59 -0000)]
2006-03-31  Zoltan Varga  <vargaz@gmail.com>

* inssel-x86.brg mini-codegen.c mini.c: Merge some changes/fixes from linear-il
branch.

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

18 years ago2006-03-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 31 Mar 2006 12:57:41 +0000 (12:57 -0000)]
2006-03-31  Sebastien Pouliot  <sebastien@ximian.com>

* LinearGradientBrush.cs: Added a [MonoTODO] to the GammaCorrection
property as this is not used anywhere inside libgdiplus.

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

18 years ago2006-03-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 31 Mar 2006 12:56:01 +0000 (12:56 -0000)]
2006-03-31  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile: Build all (4) samples and their common assembly (dll);
* README: Description of every samples;
* binary.cs: Sample to test binary operations on regions.
* binary.Designer.cs: VS2k5 generated partial class for controls.
* clippy.cs: Sample to test clipping with regions.
* clippy.Designer.cs: VS2k5 generated partial class for controls.
* flatten.cs: Sample to convert region (curves) into polygons.
* flatten.Designer.cs: VS2k5 generated partial class for controls.
* scan.cs: Sample to convert regions into rectangles.
* scan.Designer.cs: VS2k5 generated partial class for controls.
* Matrices.cs: Shared class to created different Matrix.
* Shapes.cs: Shared class to create different GraphicsPath.

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

18 years ago2006-03-31 Massimiliano Mantione <massi@ximian.com>
Massimiliano Mantione [Fri, 31 Mar 2006 07:00:46 +0000 (07:00 -0000)]
2006-03-31  Massimiliano Mantione  <massi@ximian.com>

        * local-propagation.c: Added comments to structs and removed
"Mono" prefixes from local tree mover types.

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

18 years ago2006-03-31 Massimiliano Mantione <massi@ximian.com>
Massimiliano Mantione [Fri, 31 Mar 2006 06:59:23 +0000 (06:59 -0000)]
2006-03-31  Massimiliano Mantione  <massi@ximian.com>

        * docs/tree-mover.txt: Added tree mover documentation.

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

18 years ago- Stub these for now
Peter Dennis Bartok [Fri, 31 Mar 2006 03:45:27 +0000 (03:45 -0000)]
- Stub these for now

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

18 years ago2006-03-30 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Thu, 30 Mar 2006 22:15:57 +0000 (22:15 -0000)]
2006-03-30  Alexander Olk  <alex.olk@googlemail.com>

* ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  highlighted menu items to match ms

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

18 years ago2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 30 Mar 2006 21:46:40 +0000 (21:46 -0000)]
2006-03-30  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: Don't set a clip rectangle unless it's not empty

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

18 years ago2006-03-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 30 Mar 2006 21:26:06 +0000 (21:26 -0000)]
2006-03-30  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (arch_sources): Define this for each architecture so
libmono_la_SOURCES is defined in one place.

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

18 years ago2006-03-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Mar 2006 19:08:18 +0000 (19:08 -0000)]
2006-03-30  Atsushi Enomoto  <atsushi@ximian.com>

* Encoder.cs, Decoder.cs : implemented Convert(). Also added argument
  check in some methods.

* EncoderTest.cs, DecoderTest.cs : new tests, for Convert().

* corlib_test.dll.sources: added EncoderTest.cs and DecoderTest.cs.

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

18 years ago2006-03-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Mar 2006 19:05:10 +0000 (19:05 -0000)]
2006-03-30  Atsushi Enomoto  <atsushi@ximian.com>

* ASCIIEncoding.cs : added overriden methods in NET_2_0 (maybe
  there are optimizations, but for now we need something just works).

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

18 years ago2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 30 Mar 2006 18:13:58 +0000 (18:13 -0000)]
2006-03-30  Sebastien Pouliot  <sebastien@ximian.com>

* TestGraphics.cs: Added new test cases translating matrix with
different MatrixOrder and for multiplying a non-invertible matrix.

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

18 years agoadd OracleProvider
Konstantin Triger [Thu, 30 Mar 2006 17:49:06 +0000 (17:49 -0000)]
add OracleProvider

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

18 years agoPROFILE net_1_1_java dependencies correction
Konstantin Triger [Thu, 30 Mar 2006 17:27:03 +0000 (17:27 -0000)]
PROFILE net_1_1_java dependencies correction

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

18 years agoIn System.Text.RegularExpressions:
Raja R Harinath [Thu, 30 Mar 2006 16:37:29 +0000 (16:37 -0000)]
In System.Text.RegularExpressions:
* parser.cs (Parser.ParseCharacterClass): Handle some more errors.

In Test/System.Text.RegularExpressions:
* RegexBugs.cs (HangingHyphens1): New testcase for exceptions in character ranges.

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

18 years ago2006-03-30 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 30 Mar 2006 15:25:11 +0000 (15:25 -0000)]
2006-03-30  Mike Kestner  <mkestner@novell.com>

* Menu.cs (SelectedItem): use new MenuItem.Selected prop.
* MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
go active to account for HotLight to Selected transition.
* MenuItem.cs: add internal Selected prop. Fill out the Status
property by calculating it from item info. Add HotLight,
NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.

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

18 years ago2006-03-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 30 Mar 2006 15:12:30 +0000 (15:12 -0000)]
2006-03-30  Sebastien Pouliot  <sebastien@ximian.com>

* LinearGradientBrushTest.cs: Added a bunch of test cases to check
for the "initial" matrix of the brush (which we don't set).
* TestMatrix.cs: Added test cases about matrix identity precision.

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

18 years ago2006-03-30 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 30 Mar 2006 14:59:39 +0000 (14:59 -0000)]
2006-03-30  Mike Kestner  <mkestner@novell.com>

* MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.

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

18 years agoTARGET_JVM: update build system
Konstantin Triger [Thu, 30 Mar 2006 14:52:03 +0000 (14:52 -0000)]
TARGET_JVM: update build system

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

18 years agoTARGET_JVM: update build system
Konstantin Triger [Thu, 30 Mar 2006 14:20:17 +0000 (14:20 -0000)]
TARGET_JVM: update build system

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

18 years agoIn System.Text.RegularExpressions:
Raja R Harinath [Thu, 30 Mar 2006 12:29:51 +0000 (12:29 -0000)]
In System.Text.RegularExpressions:
* parser.cs (Parser.ParseCharacterClass): Don't automatically
assume there's a range when we see '-'.  Ensure that we have seen
at least one other character, and that we aren't already parsing a
range.

In Test/System.Text.RegularExpressions:
* RegexBugs.cs (HangingHyphens): New tests from #77626, and
related bugs found by inspection.

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

18 years agoIn System.Text.RegularExpressions:
Raja R Harinath [Thu, 30 Mar 2006 10:18:44 +0000 (10:18 -0000)]
In System.Text.RegularExpressions:
Fix #77626
* parser.cs (Parser.ParseCharacterClass): Set 'last' when we find
that a '-' doesn't signify a range.

In Test/System.Text.RegularExpressions:
* RegexBugs.cs (HangingHyphens): New test from #77626.

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

18 years agorefactoring: remove static modifier from session_end field
Konstantin Triger [Thu, 30 Mar 2006 08:19:49 +0000 (08:19 -0000)]
refactoring: remove static modifier from session_end field

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

18 years ago2006-03-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Mar 2006 04:19:44 +0000 (04:19 -0000)]
2006-03-30  Atsushi Enomoto  <atsushi@ximian.com>

* System.dll.sources:
  DownloadStringCompletedEventHandler.cs was missing.

* DownloadStringCompletedEventHandler.cs : missing delegate.

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

18 years ago2006-03-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Mar 2006 04:16:38 +0000 (04:16 -0000)]
2006-03-30  Atsushi Enomoto  <atsushi@ximian.com>

* Dns.cs : minor argument renaming.

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

18 years ago2006-03-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Mar 2006 04:09:04 +0000 (04:09 -0000)]
2006-03-30  Atsushi Enomoto  <atsushi@ximian.com>

* AsyncCompletedEventArgs.cs : constructor did not initialize fields.

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

18 years ago2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 29 Mar 2006 22:36:43 +0000 (22:36 -0000)]
2006-03-29  Peter Dennis Bartok  <pbartok@novell.com>

* PrintPreviewDialog.cs: Implemented missing methods and events; still
  missing proper dialog setup in the constructor

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

18 years ago2006-03-29 Robert Jordan <robertj@gmx.net>
Robert Jordan [Wed, 29 Mar 2006 21:44:04 +0000 (21:44 -0000)]
2006-03-29  Robert Jordan  <robertj@gmx.net>

* DataGrid.cs: if custom paging is enabled the persisted item count
must be the count of the rendered items, otherwise paging from the
last to a previous page won't work correctly. Fixes bug #77556.

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

18 years ago - Added Marshaller attribute for set_Font to satisfy class status
Peter Dennis Bartok [Wed, 29 Mar 2006 21:19:54 +0000 (21:19 -0000)]
  - Added Marshaller attribute for set_Font to satisfy class status

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

18 years ago2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 29 Mar 2006 20:46:49 +0000 (20:46 -0000)]
2006-03-29  Peter Dennis Bartok  <pbartok@novell.com>

* ProgressBar.cs: Added 2.0 Style property that apps seem to use
* Control.cs:
  - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  - Fixed ResetBindings and removed TODO
  - Added check for cross-thread calls to get_Handle()
* FontDialog.cs: Removed TODOs that seemed implemented
* UpDownBase.cs: Removed unneeded TODO and Fixme
* MessageBox.cs: Implemented support for Default button and removed TODO
* FileDialog.cs: Removed obsolete TODO
* DomainUpDown.cs: Removed obsolete TODO
* ButtonBase.cs: Removed obsolete TODO
* XplatUIWin32.cs: Removed obsolete TODO
* Form.cs:
  - Removed obsolete TODO
  - Calling CheckAcceptButton when the acceptbutton is changed to allow
    internal status updates
  - Making sure the active control is selected when the control is created
* CurrencyManager.cs: Removed obsolete TODO

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

18 years ago2006-03-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Mar 2006 20:45:55 +0000 (20:45 -0000)]
2006-03-29  Atsushi Enomoto  <atsushi@ximian.com>

* culture-info-table.h : regenerated.

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

18 years ago2006-03-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Mar 2006 20:44:57 +0000 (20:44 -0000)]
2006-03-29  Atsushi Enomoto  <atsushi@ximian.com>

* langs/nb.xml
  locales/nb_NO.xml : imported from CLDR 1.3 data. (I know I'm
  directly adding them here, since there seems no simple way to
  add them as data in "supp" dir).
* Driver.cs :
  Reuse XPathDocument for lcids.xml.
  For "nb-NO" we need tricky code since its parent culture is "no"
  (not "nb"), while some properties seems based on "nb".

  Maybe we need some fundamental fixes to consider lcids.xml for
  parent-child relationship, but right now, it's mostly fruitless.

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

18 years agoWed, 29 Mar 2006 20:54:05 +0200 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Mar 2006 20:16:38 +0000 (20:16 -0000)]
Wed, 29 Mar 2006 20:54:05 +0200 Paolo Molaro <lupus@ximian.com>

* configure.in, mono/Makefile.am: remove the now unused handles dir
from the build.

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

18 years agoSpelling fixes.
Paolo Molaro [Wed, 29 Mar 2006 19:58:37 +0000 (19:58 -0000)]
Spelling fixes.

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

18 years ago Implement TODO.
Jackson Harper [Wed, 29 Mar 2006 19:44:17 +0000 (19:44 -0000)]
    Implement TODO.

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

18 years ago2006-03-29 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 29 Mar 2006 19:27:46 +0000 (19:27 -0000)]
2006-03-29  Chris Toshok  <toshok@ximian.com>

* SqlRoleProvider.cs: do the LOWER's in SQL, not in C#.

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

18 years agoUpdated for --wapi option.
Paolo Molaro [Wed, 29 Mar 2006 19:03:14 +0000 (19:03 -0000)]
Updated for --wapi option.

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

18 years agoWed Mar 29 20:51:14 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Mar 2006 18:52:12 +0000 (18:52 -0000)]
Wed Mar 29 20:51:14 CEST 2006 Paolo Molaro <lupus@ximian.com>

* driver.c, wapihandles.c, Makefile.am: integrate the io-layer utils
from handles/.

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

18 years agoremove redundand HttpApplication usage
Konstantin Triger [Wed, 29 Mar 2006 17:08:41 +0000 (17:08 -0000)]
remove redundand HttpApplication usage

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

18 years agoUse standard mechanism for session_end handling
Konstantin Triger [Wed, 29 Mar 2006 17:08:29 +0000 (17:08 -0000)]
Use standard mechanism for session_end handling

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

18 years ago2006-03-29 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 29 Mar 2006 17:07:10 +0000 (17:07 -0000)]
2006-03-29  Mike Kestner  <mkestner@novell.com>

* *.cs: fix remaining corcompare issues for 1.1 API with the exception
of PrintPreviewDialog and RichTextBox.

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

18 years agofix ctor name
Konstantin Triger [Wed, 29 Mar 2006 17:00:06 +0000 (17:00 -0000)]
fix ctor name

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

18 years agoWed Mar 29 18:29:55 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Mar 2006 16:30:54 +0000 (16:30 -0000)]
Wed Mar 29 18:29:55 CEST 2006 Paolo Molaro <lupus@ximian.com>

* Thread.cs: update for the runtime changes to culture caching.

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

18 years agoWed Mar 29 18:24:42 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Mar 2006 16:27:48 +0000 (16:27 -0000)]
Wed Mar 29 18:24:42 CEST 2006 Paolo Molaro <lupus@ximian.com>

* threads.c, object-internals.h, verify.c: changed the culture caching
code to use a normal MonoArray for storage so the GC can keep track of
them easily. Fixed bits of the cache logic, too and simplified the
code.

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

18 years agoWed Mar 29 17:18:16 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Mar 2006 15:22:30 +0000 (15:22 -0000)]
Wed Mar 29 17:18:16 CEST 2006 Paolo Molaro <lupus@ximian.com>

* gc-internal.h, null-gc.c, boehm-gc.c, gc.c: enable the finalizer
thread for non-Boehm GCs.

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

18 years agoWed Mar 29 17:16:57 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Mar 2006 15:17:48 +0000 (15:17 -0000)]
Wed Mar 29 17:16:57 CEST 2006 Paolo Molaro <lupus@ximian.com>

* driver.c: print the GC name supplied by configure.

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

18 years agoSome updates to the GC selection.
Paolo Molaro [Wed, 29 Mar 2006 15:16:12 +0000 (15:16 -0000)]
Some updates to the GC selection.

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

18 years agoWed Mar 29 17:10:05 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Mar 2006 15:12:02 +0000 (15:12 -0000)]
Wed Mar 29 17:10:05 CEST 2006 Paolo Molaro <lupus@ximian.com>

* domain.c, object.c, domain-internals.h: reduce the amount of memory
needed to keep track of the data for static fields.

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

18 years agoWed Mar 29 16:39:14 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Mar 2006 14:39:47 +0000 (14:39 -0000)]
Wed Mar 29 16:39:14 CEST 2006 Paolo Molaro <lupus@ximian.com>

* mono-counters.c: initialize the next pointer.

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

18 years agoIn metadata:
Raja R Harinath [Wed, 29 Mar 2006 14:15:18 +0000 (14:15 -0000)]
In metadata:
Fix #75172
* icall.c (ves_icall_Type_GetMethodsByName): Don't use vtable_size
for interface classes.  Use 'num_methods' instead.
(ves_icall_Type_GetPropertiesByName): Likewise.  Setup vtable
before using '->vtable_size' field.

In tests:
* iface-large.cs: New test based on #75172.

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

18 years ago * Theme.cs: Added a little helper to SystemResPool to get the Dark,
Alexander Olk [Wed, 29 Mar 2006 14:07:40 +0000 (14:07 -0000)]
* Theme.cs: Added a little helper to SystemResPool to get the Dark,
  DarkDark, Light and LightLight colors for a specific color
* ThemeWin32Classic.cs:
  - Use Button drawing code to draw RadioButtons and CheckBoxes with
    Appearance = Button
  - Make use of the new ResPool helper CPColor
  - Draw ProgressBar and StatusBar with correct 3D borders

2006-03-29  Alexander Olk  <alex.olk@googlemail.com>

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

18 years ago2006-03-29 Massimiliano Mantione <massi@ximian.com>
Massimiliano Mantione [Wed, 29 Mar 2006 14:05:43 +0000 (14:05 -0000)]
2006-03-29  Massimiliano Mantione  <massi@ximian.com>

        * local-propagation.c: Added tree mover, and moved here all the
local propagation code from mini.c
        * mini.c: Added support for treeprop, and moved all the local
propagation code to local-propagation.c
        * mini.h: Added support for treeprop
        * driver.c: Added support for treeprop, enabled consprop, copyprop,
treeprop, inline and deadce by default
        * Makefile.am: Added local-propagation.c

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

18 years ago2006-03-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 29 Mar 2006 13:39:10 +0000 (13:39 -0000)]
2006-03-29  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPathTest.cs: Add test cases for every Add* method to check
their (different) behaviour wrt starting and closing figures in the
path they are added.

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

18 years ago2006-03-29 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Wed, 29 Mar 2006 13:01:32 +0000 (13:01 -0000)]
2006-03-29  Alexander Olk  <alex.olk@googlemail.com>

* ColorDialog.cs: Return selected color. Fixes bug #77940.

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

18 years ago2006-03-29 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Wed, 29 Mar 2006 12:38:45 +0000 (12:38 -0000)]
2006-03-29  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildItem.cs, BuildItemGroup.cs: Coding style fixes.

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

18 years ago2006-03-29 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Wed, 29 Mar 2006 12:37:15 +0000 (12:37 -0000)]
2006-03-29  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * TaskItem.cs: Coding style changes.

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

18 years agoMissing changelog entry.
Paolo Molaro [Wed, 29 Mar 2006 10:57:31 +0000 (10:57 -0000)]
Missing changelog entry.

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

18 years agoWed Mar 29 12:53:28 CEST 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 29 Mar 2006 10:55:36 +0000 (10:55 -0000)]
Wed Mar 29 12:53:28 CEST 2006 Paolo Molaro <lupus@ximian.com>

* domain.c, object.c, domain-internals.h: proxy_vtable_hash
doesn't contain managed pointers, so use a normal hashtable.

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

18 years agomsbuild: Fix typo
Crestez Dan Leonard [Wed, 29 Mar 2006 10:34:01 +0000 (10:34 -0000)]
msbuild: Fix typo

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