mono.git
16 years ago2007-07-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 9 Jul 2007 13:11:57 +0000 (13:11 -0000)]
2007-07-10  Zoltan Varga  <vargaz@gmail.com>

* RuntimeTypeHandle.cs: Fix signatures of == and != operators.

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

16 years ago2007-07-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 9 Jul 2007 13:03:29 +0000 (13:03 -0000)]
2007-07-10  Zoltan Varga  <vargaz@gmail.com>

* icall-def.h icall.c: Remove Module:get_MDStreamVersion icall and add a new
GetMDStreamVersion icall instead.

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

16 years ago2007-07-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 9 Jul 2007 13:01:30 +0000 (13:01 -0000)]
2007-07-10  Zoltan Varga  <vargaz@gmail.com>

* ModuleHandle.cs: Add missing 2.0 stuff.

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

16 years ago2007-07-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 9 Jul 2007 13:00:52 +0000 (13:00 -0000)]
2007-07-10  Zoltan Varga  <vargaz@gmail.com>

* Module.cs: Add new internal method GetMDStreamVersion ().

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

16 years ago2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 Jul 2007 12:40:54 +0000 (12:40 -0000)]
2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* CultureInfo.cs : 1.x build fix.

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

16 years agoRemove unused code that causes many tests to fail
Noam Lampert [Mon, 9 Jul 2007 12:12:05 +0000 (12:12 -0000)]
Remove unused code that causes many tests to fail

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

16 years ago2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 Jul 2007 11:32:33 +0000 (11:32 -0000)]
2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* CultureInfo.cs : implemented GetConsoleFallbackUICulture and
  CultureTypes (it is awful indeed). Fix ComVisibles.
  implemented InstalledUICulture, as what matches the best I think is
  the one for BootstrapCultureID.

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

16 years agoMon Jul 9 13:04:37 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Jul 2007 10:52:15 +0000 (10:52 -0000)]
Mon Jul 9 13:04:37 CEST 2007 Paolo Molaro <lupus@ximian.com>

* SmtpClient.cs: fixed Vladimir's refactoring that broke
loading Mono.Security.

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

16 years ago2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 Jul 2007 10:50:26 +0000 (10:50 -0000)]
2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* CultureInfo.cs : another hack, KeyboardLayoutId.

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

16 years ago2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 Jul 2007 10:31:56 +0000 (10:31 -0000)]
2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* CultureInfo.cs :
  hacked IetfLanguageTag and GetCultureInfoByIetfLanguageTag().

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

16 years ago2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 Jul 2007 10:10:35 +0000 (10:10 -0000)]
2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* CompareInfo.cs : Name.
* PersianCalendar.cs : missing members.
* NumberFormatInfo.cs HijriCalendar.cs CultureInfo.cs TextInfo.cs
  HebrewCalendar.cs ThaiBuddhistCalendar.cs GregorianCalendar.cs
  KoreanCalendar.cs JulianCalendar.cs TaiwanCalendar.cs
  JapaneseCalendar.cs DaylightTime.cs EastAsianLunisolarCalendar.cs
  RegionInfo.cs TextElementEnumerator.cs : ComVisible cleanup.

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

16 years ago2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 Jul 2007 09:37:34 +0000 (09:37 -0000)]
2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* CalendarTest.cs : added GetWeekOfYear() test.

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

16 years ago2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 Jul 2007 09:36:24 +0000 (09:36 -0000)]
2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* TextInfo.cs : ICloneable.
* GregorianCalendarTypes.cs CompareOptions.cs CultureTypes.cs
  CalendarWeekRule.cs UnicodeCategory.cs : [Serializable].
* ThaiBuddhistCalendar.cs GregorianCalendar.cs KoreanCalendar.cs
  TaiwanCalendar.cs JapaneseCalendar.cs :
  GetWeekOfYear() (base could be simply used). Removed unused code.

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

16 years agoMon Jul 9 11:34:17 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Jul 2007 09:25:27 +0000 (09:25 -0000)]
Mon Jul 9 11:34:17 CEST 2007 Paolo Molaro <lupus@ximian.com>

* filewatcher.c: patch from Thong Nguyen <tum@veridicus.com> to
not use mono_dl_build_path() with a full library name: makes
fallbacks to libgaim and libfam work.

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

16 years ago2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 Jul 2007 07:56:54 +0000 (07:56 -0000)]
2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* LockCookie.cs, AsyncFlowControl.cs :
  added missing operator == and !=.

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

16 years ago2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 Jul 2007 07:55:18 +0000 (07:55 -0000)]
2007-07-09  Atsushi Enomoto  <atsushi@ximian.com>

* CustomAttributeNamedArgument.cs, CustomAttributeTypedArgument.cs:
  added missing operator == and !=.

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

16 years ago2007-07-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sun, 8 Jul 2007 23:44:22 +0000 (23:44 -0000)]
2007-07-08  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutPanel.cs: Add a null check so we don't NRE trying to
paint cell borders if we haven't calculated where they go yet.
[Fixes bugs #82040 and #82041]

2007-07-08  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutTest.cs: Simplify and enable Gert's test for bug
#82040.  Add a test for bug #82041.

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

16 years ago* Socket.cs: Code formatting. Marked not implemented methods as TODO.
Gert Driesen [Sun, 8 Jul 2007 18:54:13 +0000 (18:54 -0000)]
* Socket.cs: Code formatting. Marked not implemented methods as TODO.
Removed extra spaces.

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

16 years ago2007-07-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 8 Jul 2007 16:58:15 +0000 (16:58 -0000)]
2007-07-08  Zoltan Varga  <vargaz@gmail.com>

* *.cs: Add missing ComVisible attributes.

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

16 years ago2007-07-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 8 Jul 2007 16:20:45 +0000 (16:20 -0000)]
2007-07-08  Zoltan Varga  <vargaz@gmail.com>

* Delegate.cs: Add missing 2.0 CreateDelegate () methods.

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

16 years ago* Directory.cs: Renamed Move arguments to match MS. Allow Move to be
Gert Driesen [Sun, 8 Jul 2007 15:56:55 +0000 (15:56 -0000)]
* Directory.cs: Renamed Move arguments to match MS. Allow Move to be
used to move files, patch by Robert Jordan. Fixes bug #81912. Spaces
to tabs.
* DirectoryCas.cs: Changed Move to MoveDirectory to match the
method in DirectoryTest. Fixed line endings.
* DirectoryTest.cs: Added test for bug #81912. Added tests for Move
argument checks.

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

16 years ago* ThreadTest.cs: Removed tests for bug #81930, since other tests can
Gert Driesen [Sun, 8 Jul 2007 14:26:35 +0000 (14:26 -0000)]
* ThreadTest.cs: Removed tests for bug #81930, since other tests can
break these by changing the CurrentCulture or CurrentUICulture.
Instead I've added a standalone test for this (in the gert module).

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

16 years agoPorted quick start samples to the tests application
Yoni Klain [Sun, 8 Jul 2007 11:52:49 +0000 (11:52 -0000)]
Ported quick start samples to the tests application

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

16 years ago* TableLayoutTest.cs: Added test for bug #82040.
Gert Driesen [Sun, 8 Jul 2007 11:51:48 +0000 (11:51 -0000)]
* TableLayoutTest.cs: Added test for bug #82040.

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

16 years ago'theForm' must be defined at form beginning
Igor Zelmanovich [Sun, 8 Jul 2007 07:57:45 +0000 (07:57 -0000)]
'theForm' must be defined at form beginning

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

16 years ago * ListView.cs: In Details view, set the location of item_control
Carlos Alberto Cortez [Sun, 8 Jul 2007 00:56:00 +0000 (00:56 -0000)]
* ListView.cs: In Details view, set the location of item_control
in the (0,0) position (and the header_control is thus on the
item_control). This way the Bounds of the Items are relative to the
ListView control (before this, they had a Bounds value without the
header_control offset, which wasn't matching .Net). Fixes #82004.

2007-07-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2007-07-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 7 Jul 2007 23:56:07 +0000 (23:56 -0000)]
2007-07-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControl.cs: When DataSource is set to null, pass an empty
array of object to SetItemsCore. This is done to clean the items
in the ListContol children. Fixes #81788.

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

16 years agoAdd some overloads from Alp, and fix some 1.4 signatures
Miguel de Icaza [Sat, 7 Jul 2007 20:11:00 +0000 (20:11 -0000)]
Add some overloads from Alp, and fix some 1.4 signatures

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

16 years agoImplement properly the dispose patternw where possible
Miguel de Icaza [Sat, 7 Jul 2007 20:01:40 +0000 (20:01 -0000)]
Implement properly the dispose patternw where possible

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

16 years agoRename from XLib to Xlib, to match Cairo names. We can do this, because this code...
Miguel de Icaza [Sat, 7 Jul 2007 19:36:03 +0000 (19:36 -0000)]
Rename from XLib to Xlib, to match Cairo names.   We can do this, because this code has never shipped before (1.2)

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

16 years ago2007-07-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 7 Jul 2007 19:31:11 +0000 (19:31 -0000)]
2007-07-07  Miguel de Icaza  <miguel@novell.com>

* Mono.Cairo/Context.cs: Integrate Alp's patch for looking up
Patterns and add the unmanaged to managed mapping engine (as the
various patterns can be derived, we need to ensure unique
managed instances for the same object).

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

16 years ago2007-07-07 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 7 Jul 2007 18:31:07 +0000 (18:31 -0000)]
2007-07-07  Jonathan Pobst  <monkey@jpobst.com>

* TableLayout.cs: Parenthesis out of place when centering control
in a table cell.  [Fixes bug #81936]

2007-07-07  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutTest.cs: Add test for bug #81936.

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

16 years ago2007-07-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 7 Jul 2007 17:35:32 +0000 (17:35 -0000)]
2007-07-07  Miguel de Icaza  <miguel@novell.com>

* Mono.Cairo/Gradient.cs: Made Gradient protected, although it is
an API change, there was no way any existing instances would have
ever worked.

* Mono.Cairo/Context.cs: Fix leak of the surface if set with

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

16 years ago2007-07-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 7 Jul 2007 17:30:07 +0000 (17:30 -0000)]
2007-07-07  Miguel de Icaza  <miguel@novell.com>

* Mono.Cairo/Context.cs: Fix leak of the surface if set with
Target .

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

16 years ago2007-07-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 7 Jul 2007 17:28:43 +0000 (17:28 -0000)]
2007-07-07  Miguel de Icaza  <miguel@novell.com>

* Mono.Cairo/Context.cs: From Alp Toker: new SetSourceOveload with
no x, y parameters.

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

16 years ago2007-07-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 7 Jul 2007 17:26:04 +0000 (17:26 -0000)]
2007-07-07  Miguel de Icaza  <miguel@novell.com>

* Mono.Cairo/Context.cs: From Alp Toker: Add new API call
IdentityMatrix.

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

16 years ago2007-07-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 7 Jul 2007 17:25:18 +0000 (17:25 -0000)]
2007-07-07  Miguel de Icaza  <miguel@novell.com>

* Mono.Cairo/Surface.cs: Integrate another cleanup from Alp.

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

16 years ago2007-07-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 7 Jul 2007 17:24:37 +0000 (17:24 -0000)]
2007-07-07  Miguel de Icaza  <miguel@novell.com>

* Mono.Cairo/SolidPattern.cs: Add helper APIs based on Alp's patch
based on F-Spot code.

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

16 years agoIndentation fixes
Miguel de Icaza [Sat, 7 Jul 2007 17:22:58 +0000 (17:22 -0000)]
Indentation fixes

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

16 years agoRe-enable warning
Miguel de Icaza [Sat, 7 Jul 2007 17:21:46 +0000 (17:21 -0000)]
Re-enable warning

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

16 years ago2007-07-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 7 Jul 2007 17:18:37 +0000 (17:18 -0000)]
2007-07-07  Miguel de Icaza  <miguel@novell.com>

Integrated various patches from Alp Toker:

* Mono.Cairo/FontFace.cs: Add to the build.

* Mono.Cairo/Context.cs: Add a number of methods that are
compatible with the public Cairo API, and add commented out
Obsoletes for the names that we had.

(MaskSurface): More descriptive parameters

(SetSourceRGB, SetSourceRGBA): Removed [Obsoletes] from as those
are the public Cairo names.   Use the API directly without
creating a helper Color.

(FontFace): New property.

* Mono.Cairo/FontFace.cs: Partial integration of Alp's work for
FontFace.   There are two differences: no support for owns flag,
and no automatic unreffing on the finalizer thread.   Instead we
display an error message.

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

16 years ago2007-07-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 7 Jul 2007 16:28:24 +0000 (16:28 -0000)]
2007-07-07  Miguel de Icaza  <miguel@novell.com>

* NativeMethods.cs: Split the native methods into its own file.

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

16 years ago * Mono.Cairo/Context.cs: Integrate Alp's patch to not use ref in
Miguel de Icaza [Sat, 7 Jul 2007 16:26:07 +0000 (16:26 -0000)]
* Mono.Cairo/Context.cs: Integrate Alp's patch to not use ref in
the call to cairo_font_extents, but use out instead.

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

16 years ago2007-07-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 7 Jul 2007 16:23:16 +0000 (16:23 -0000)]
2007-07-07  Miguel de Icaza  <miguel@novell.com>

* Integrate Alp's patch to rename CairoAPI NativeMethod, in
accordance to 2.7.1 framework guidelines.

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

16 years ago2007-07-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 7 Jul 2007 16:18:18 +0000 (16:18 -0000)]
2007-07-07  Miguel de Icaza  <miguel@novell.com>

* Removed the ifdef CAIRO_1_2, the documentation already reflects
that things are only available on Cairo 1.2.

* Add new API calls to query Cairo for its version

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

16 years ago* MethodBuilder.cs: Code formatting. Spaces to tabs.
Gert Driesen [Sat, 7 Jul 2007 14:31:09 +0000 (14:31 -0000)]
* MethodBuilder.cs: Code formatting. Spaces to tabs.
* TypeBuilder.cs: Same.

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

16 years ago* DateTime.cs: In ParseExact, throw ArgumentNullException if format
Gert Driesen [Sat, 7 Jul 2007 12:37:14 +0000 (12:37 -0000)]
* DateTime.cs: In ParseExact, throw ArgumentNullException if format
is null; throw FormatException if formats array is empty or if one of
items is null or a zero-length string.
* DateTimeTest.cs: Added test for bug #81778. Enabled test for bug
#47720. Added tests for ParseExact argument checks. No longer derive
from deprecated Assertion class. Code formatting.

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

16 years agoMore tests.
Marek Safar [Sat, 7 Jul 2007 07:07:42 +0000 (07:07 -0000)]
More tests.

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

16 years ago2007-07-06 William Holmes <billholmes54@gmail.com>
Bill Holmes [Sat, 7 Jul 2007 00:50:17 +0000 (00:50 -0000)]
2007-07-06  William Holmes  <billholmes54@gmail.com>

        * assembly.c: Added a continue statement in
        * probe_for_partial_name when
         parse_assembly_directory_name fails.  Fixes : 82002

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

16 years agoPatch for bug 81867
Alan McGovern [Fri, 6 Jul 2007 21:11:28 +0000 (21:11 -0000)]
Patch for bug 81867

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

16 years ago2007-07-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 6 Jul 2007 20:59:59 +0000 (20:59 -0000)]
2007-07-06  Jonathan Pobst  <monkey@jpobst.com>

* ListControl.cs: Add 2.0 stuffs.

2007-07-06  Jonathan Pobst  <monkey@jpobst.com>

* ListControl.cs: Add test for Formatting behavior.

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

16 years ago2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 6 Jul 2007 19:51:47 +0000 (19:51 -0000)]
2007-07-06  Rodrigo Kumpera  <rkumpera@novell.com>

* DoubleTest.cs : Added test Parse_TrailingGarbage, for strings with garbage at the end

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

16 years ago2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 6 Jul 2007 19:48:37 +0000 (19:48 -0000)]
2007-07-06  Rodrigo Kumpera  <rkumpera@novell.com>

* Double.cs (Parse): Fix for string ending in garbaga, it was just ignoring it
instead of throwing FormatException. Fixes #81777

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

16 years ago2007-07-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 6 Jul 2007 17:52:37 +0000 (17:52 -0000)]
2007-07-06  Jonathan Pobst  <monkey@jpobst.com>

* Label.cs: Finish up 2.0 stuffs.  Replace calls to Refresh with Invalidate,
Refresh is overkill for just about every repaint request.

2007-07-06  Jonathan Pobst  <monkey@jpobst.com>

* LabelTest.cs: Add test for Image[List|Index|Key].

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

16 years ago2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 6 Jul 2007 17:51:57 +0000 (17:51 -0000)]
2007-07-06  Rodrigo Kumpera  <rkumpera@novell.com>

* DoubleTest.cs (Parse): Added test for whitespace only

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

16 years ago2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 6 Jul 2007 17:49:49 +0000 (17:49 -0000)]
2007-07-06  Rodrigo Kumpera  <rkumpera@novell.com>

* Double.cs (Parse): Fix for whitespace only strings, it was returning zero
instead of throwing FormatException. Fixes #81630

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

16 years agoFix for bug 81778
Alan McGovern [Fri, 6 Jul 2007 17:21:02 +0000 (17:21 -0000)]
Fix for bug 81778

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

16 years ago2007-07-06 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 6 Jul 2007 16:44:09 +0000 (16:44 -0000)]
2007-07-06  Jonathan Chambers  <joncham@gmail.com>

* ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
* __ComObject.cs: Support ExtensibleClassFactory.

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

16 years agoFix signature, fixes bug 82019, patch from Jason Madden
Miguel de Icaza [Fri, 6 Jul 2007 16:26:20 +0000 (16:26 -0000)]
Fix signature, fixes bug 82019, patch from Jason Madden

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

16 years agoFix
Miguel de Icaza [Fri, 6 Jul 2007 16:24:57 +0000 (16:24 -0000)]
Fix

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

16 years agoHow did this get there?
Miguel de Icaza [Fri, 6 Jul 2007 16:20:33 +0000 (16:20 -0000)]
How did this get there?

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

16 years agoAdd support for building 2.1 as well
Miguel de Icaza [Fri, 6 Jul 2007 16:13:20 +0000 (16:13 -0000)]
Add support for building 2.1 as well

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

16 years agoAdd flag for 2.1
Miguel de Icaza [Fri, 6 Jul 2007 16:11:10 +0000 (16:11 -0000)]
Add flag for 2.1

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

16 years agoCommitted patch for 81732
Alan McGovern [Fri, 6 Jul 2007 16:10:16 +0000 (16:10 -0000)]
Committed patch for 81732

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

16 years ago2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 6 Jul 2007 15:25:05 +0000 (15:25 -0000)]
2007-07-06  Atsushi Enomoto  <atsushi@ximian.com>

* UriIdnScope.cs : new file (for net_2_1 profile).

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

16 years ago2007-05-26 John Luke <john.luke@gmail.com>
Miguel de Icaza [Fri, 6 Jul 2007 15:04:40 +0000 (15:04 -0000)]
2007-05-26  John Luke  <john.luke@gmail.com>

* Mono.Cairo/Cairo.cs:
* Mono.Cairo/Context.cs: fix call to cairo_get_font_matrix,
reported by patperry@stanford.edu (Patrick Perry) in bug#81626

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

16 years ago2007-07-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 6 Jul 2007 14:42:46 +0000 (14:42 -0000)]
2007-07-06  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutTest.cs: I had marked CellBorderTest as WM dependent when it
failed on the buildbots.  I just realized it was actually failing due to
a Label change I hadn't committed, which has now been committed.

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

16 years ago* TypeBuilder.cs: Throw InvalidOperationException when attempting to
Gert Driesen [Fri, 6 Jul 2007 14:38:44 +0000 (14:38 -0000)]
* TypeBuilder.cs: Throw InvalidOperationException when attempting to
construct non-abstract interface without base type. Modified SetParent
to match MS: in 2.0 profile, throw InvalidOperationException when
parent is null and TypeBuilder is non-abstract interface. When
parent is null and TypeBuilder is not an interface, then set object
as parent. In 1.0 profile, throw ArgumentNullException when parent is
null.
* TypeBuilderTest.cs: Improved tests for SetParent.
* ModuleBuilderTest.cs: Added test for creating non-abstract
interface.

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

16 years ago2007-07-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 6 Jul 2007 14:31:05 +0000 (14:31 -0000)]
2007-07-06  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItem.cs: TextDirection getter handles looking up Inherit for us,
so remove my custom Get method and fix the property getter.

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

16 years ago2007-07-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 6 Jul 2007 14:27:41 +0000 (14:27 -0000)]
2007-07-06  Jonathan Pobst  <monkey@jpobst.com>

* Label.cs: DefaultMargin for 2.0.

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

16 years ago2007-07-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 6 Jul 2007 14:23:16 +0000 (14:23 -0000)]
2007-07-06  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: Override IsInputCharInternal and return true.  Fixes
reported issue where other controls with mnemonics would steal strokes
from a selected ComboBox.

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

16 years ago2007-07-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 6 Jul 2007 13:19:34 +0000 (13:19 -0000)]
2007-07-06  Jonathan Pobst  <monkey@jpobst.com>

* ScrollOrientation.cs: Make internal for 1.1.
* ScrollEventArgs.cs: Add 2.0 stuffs.

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

16 years ago2007-07-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 6 Jul 2007 12:57:59 +0000 (12:57 -0000)]
2007-07-06  Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (check_unmanaged_pointer_type): renamed to check_unverifiable_type
and added a verification  for TYPEDBYREF.
* verify.c (verify_stack_type_compatibility): fix handling of byref types,
make native int interchangeable with int32 and some small cleanup and formating.
* verify.c (push_arg): only ldarg on invalid argument is valid (but not verifiable) and
handle byref of byref.
* verify.c (push_local): handle byref of byref.
* verify.c (do_binop): invalid mix of values is unverifiable
* verify.c (do_invoke_method): fixed the handling of bad params on stack and
added visibility checks
* verify.c (field related method): added visibility checks
* verify.c (do_push_field): cannot take the address of a temporary valuetype field

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

16 years ago* TypeBuilder.cs: Implemented IsCOMObjectImpl.
Gert Driesen [Fri, 6 Jul 2007 12:10:23 +0000 (12:10 -0000)]
* TypeBuilder.cs: Implemented IsCOMObjectImpl.
* TypeBuilderTest.cs: Enabled test for IsCOMObject. Improved test
for IsImport.
* TypeTest.cs: Added tests for IsAbstract, IsCOMObject, IsImport,
IsInterface, IsPrimitive and IsValueType.

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

16 years ago* DecoderReplacementFallbackTest.cs: Fixed DontChangeReadOnlyCodePage-
Gert Driesen [Fri, 6 Jul 2007 11:46:57 +0000 (11:46 -0000)]
* DecoderReplacementFallbackTest.cs: Fixed DontChangeReadOnlyCodePage-
DecoderFallback test to pass on systems where codepage 932 is valid.
Assert that exception is thrown by DecoderFallback property.
* EncoderReplacementFallbackTest.cs: Fixed DontChangeReadOnlyCodePage-
EncoderFallback test to pass on systems where codepage 932 is valid.
Assert that exception is thrown by EncoderFallback property.

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

16 years ago* TypeBuilderTest.cs: Added tests for bug #82018. Added tests for
Gert Driesen [Fri, 6 Jul 2007 09:52:25 +0000 (09:52 -0000)]
* TypeBuilderTest.cs: Added tests for bug #82018. Added tests for
MakeArrayType (2.0).

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

16 years ago2007-07-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 6 Jul 2007 07:27:14 +0000 (07:27 -0000)]
2007-07-06  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_string_to_utf16_copy): Null terminate the
string.

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

16 years ago* scripts/mono-find-requires.in: add special 64bit case for ia64.
Wade Berrier [Fri, 6 Jul 2007 01:48:18 +0000 (01:48 -0000)]
* scripts/mono-find-requires.in: add special 64bit case for ia64.
(rpm used to provide libname as well as libname()(64bit) on ia64, but
now it only provides the first.)

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

16 years ago * AssemblyRunner.cs: bug fix: handles missing fields corrently
Rodrigo Kumpera [Thu, 5 Jul 2007 22:54:40 +0000 (22:54 -0000)]
* AssemblyRunner.cs: bug fix: handles missing fields corrently
* make_test.sh: correct some tests based on fixed AssemblyRunner

2007-07-05 Rodrigo Kumpera <rkumpera@novell.com>

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

16 years ago2007-07-05 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 5 Jul 2007 22:05:52 +0000 (22:05 -0000)]
2007-07-05  Miguel de Icaza  <miguel@novell.com>

* HttpApplication.cs (AsyncRequestState.Complete): Add the
try/catch for the callback here to ensure that we only call
complete_event.Set once.

(PipelineDone): This is where the core of the bug fix is: do not
call Complete() or call done.Set() (depending on the invocation
case) until we are actually done cleaning up the request.

The problem was that we signaled that we were done, but we had not
completed the shut down, so another thread could have been
scheduled on the same HttpApplication and had its variables be
modified as we completed the shutdown on the first thread.

This fixes #81400 which was a very long standing bug.

(Tick): Remove the pipeline check against null, this is not
necessary and it will help us find problems like this one in the
future.

Reverts patch r66072 which was a described as:

band-aid patch to help debugging hang running 2.0
tests.

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

16 years ago2007-07-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 5 Jul 2007 21:54:52 +0000 (21:54 -0000)]
2007-07-05  Jonathan Pobst  <monkey@jpobst.com>

[Various tests from my local tree]
* ButtonBaseTest.cs: Test for default Accessibility.State.
* LabelTest.cs: Test for default Margin.
* MenuStripTest.cs: Test for CanSelect.
* ScrollBarTest.cs: Test for 2.0 ScrollBarEventArgs.
* SplitContainerTests.cs: Uncomment some Dock and Location asserts.
* StatusStripTest.cs: Tests for default RenderMode and AccessibilityObject.
* ToolStripDropDownTest.cs: Tests for default TextDirection and AccessibilityObject.
* ToolStripItemTest.cs: Test for default TextDirection, ProcessMnemonic.
* ToolStripMenuItemTest.cs: Test for default ForeColor and AccessibilityObject.
* UserControlTest.cs: Test for AutoSize behavior.

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

16 years ago2007-07-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 5 Jul 2007 21:36:46 +0000 (21:36 -0000)]
2007-07-05  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_codegen): Add an assert.

* mini-x86.c (mono_arch_emit_prolog): Allocate space for the profiler method enter/
leave code.
* mini-amd64.c (mono_arch_emit_prolog): Likewise.

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

16 years ago2007-07-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 5 Jul 2007 21:15:20 +0000 (21:15 -0000)]
2007-07-05  Zoltan Varga  <vargaz@gmail.com>

* profiler.c (mono_profiler_load): Fix an off-by-one error.

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

16 years ago2007-07-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 5 Jul 2007 20:32:23 +0000 (20:32 -0000)]
2007-07-05  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
ToolStripItem.cs, ToolStripItem.cs, ToolStripItemTextRenderEventArgs.cs,
ToolStripRenderer.cs, ToolStripSeparator.cs: Implement TextDirection.

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

16 years ago2007-07-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 5 Jul 2007 20:23:08 +0000 (20:23 -0000)]
2007-07-05  Zoltan Varga  <vargaz@gmail.com>

* pinvoke3.cs libtest.c: Add new test for returning unicode strings from a delegate.

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

16 years ago2007-07-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 5 Jul 2007 20:14:13 +0000 (20:14 -0000)]
2007-07-05  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_marshal_string): When returning a string from managed code,
allways make a copy even for unicode strings. Fixes #81990.

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

16 years ago * ListViewItem.cs: Implement the small 2.0 GetSubItemAt method.
Carlos Alberto Cortez [Thu, 5 Jul 2007 20:02:04 +0000 (20:02 -0000)]
* ListViewItem.cs: Implement the small 2.0 GetSubItemAt method.

2007-07-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Jul 2007 19:59:05 +0000 (19:59 -0000)]
2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPathTest.cs: Added more test cases for Reverse, the complex
ones don't work yet (see #81859).

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

16 years ago2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Jul 2007 19:43:54 +0000 (19:43 -0000)]
2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>

* TestImageAttributes.cs: More complete test for small versus big
alpha uses in matrices.

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

16 years ago2007-07-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 5 Jul 2007 18:48:23 +0000 (18:48 -0000)]
2007-07-05 Rodrigo Kumpera <rkumpera@novell.com>

* AssemblyRunner.cs: Allow running the test suite from the same VM instance
* make_tests.sh: improved the test-suite, now it works running under a VM, not just the verifier
* unverifiable_ldflda_other_class_on_simple_method.il: same
* unverifiable_ptr_nop.il: same
* unverifiable_ldsflda_other_class_field_on_cctor.il: same
* make_load_test.sh: same
* make_stack_0_test.sh: same
* make_obj_store_test.sh: same
* unverifiable_m_ptr_ldloc.il: same
* make_ret_test.sh: same
* make_store_test.sh: same
* unverifiable_ldsflda_other_class_on_simple_method.il: same
* make_access_test.sh: same
* unverifiable_ptr_ldloc.il: same
* invalid_call_no_method.il: same
* unverifiable_ldsfld_no_fld.il: same
* unverifiable_ldflda_owner_class_on_simple_method.il: same
* unverifiable_m_ptr_ldarg.il: same
* make_stack_merge_test.sh: same
* unverifiable_stack_2_ret.il: same
* unverifiable_ldflda_other_class_field_on_ctor.il: same
* unverifiable_ldflda_other_class_field_on_cctor.il: same
* make_field_store_test.sh: same
* invalid_backward_branch.il: same
* unverifiable_ldfld_initonly.il: same
* make_nested_access_test.sh: same
* invalid_stack_2_ret.il: same
* unverifiable_ldsflda_owner_class_on_simple_method.il: same
* unverifiable_ptr_ldarg.il: same
* valid_fld_initonly.il: same
* make_bin_test.sh: same
* make_field_valuetype_test.sh: new tests

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

16 years ago* MethodInfoTest.cs: Added test for bug #81997. Code formatting.
Gert Driesen [Thu, 5 Jul 2007 18:41:41 +0000 (18:41 -0000)]
* MethodInfoTest.cs: Added test for bug #81997. Code formatting.

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

16 years agoThu Jul 5 20:12:52 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 5 Jul 2007 18:01:50 +0000 (18:01 -0000)]
Thu Jul 5 20:12:52 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: fixed memory corruption for localloc(0)
(bug #81852).

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

16 years ago* CaseInsensitiveHashCodeProvider.cs: Lazy init Default instance and
Gert Driesen [Thu, 5 Jul 2007 17:39:44 +0000 (17:39 -0000)]
* CaseInsensitiveHashCodeProvider.cs: Lazy init Default instance and
reconstruct it if CurrentCulture changes.
* CaseInsensitiveHashCodeProviderTest.cs: Reworked test for Default
instance to pass on both Mono and MS. Added separate tests that
verify the specific Mono and MS behavior.

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

16 years ago* CaseInsensitiveHashCodeProvider.cs: In default ctor, do not save
Gert Driesen [Thu, 5 Jul 2007 16:40:03 +0000 (16:40 -0000)]
* CaseInsensitiveHashCodeProvider.cs: In default ctor, do not save
TextInfo if current culture is invariant. Remoted private ctor.
In Default, always construct new instance since the current culture
may change.
* CaseInsensitiveHashCodeProviderTest.cs: Improved test for
Default property to show the a new intance is constructed. Added test
for DefaultInvariant. Improved serialization tests. Added ctor test
for null CultureInfo. Code formatting.
* CultureInfoTest.cs: Fixed UseUserOverride tests to pass on systems
where invariant culture is default locale.

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

16 years ago2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Jul 2007 15:44:01 +0000 (15:44 -0000)]
2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>

* PrimalityTests.cs: Last attempt half-failed. For the time being we
need the initial workaround :(

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

16 years ago2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Jul 2007 15:22:51 +0000 (15:22 -0000)]
2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: Call PrimalityTests.Test instead of the Rabin-Miller
test. This will select the best algorithm to use based on the prime
candidate. Applied #69999 optimization (even if this code is commented
right now) so this old issue can be closed.

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

16 years ago2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Jul 2007 15:21:01 +0000 (15:21 -0000)]
2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>

* PrimalityTests.cs: Added Test method that select which algorithm,
SPP or RabinMillerTest, to use based on the prime-candidate size.
Removed previous workaround (as this is both a workaround and a good
fix ;-).

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

16 years agoprepare selenium test environment
Igor Zelmanovich [Thu, 5 Jul 2007 14:52:14 +0000 (14:52 -0000)]
prepare selenium test environment

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

16 years ago* ListControl.cs:
Vladimir Krasnov [Thu, 5 Jul 2007 14:43:44 +0000 (14:43 -0000)]
* ListControl.cs:
* ListItem.cs:
* ListItemCollection.cs: controls based on ListControl should not save view state before than TrackViewState called

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

16 years ago2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 5 Jul 2007 14:38:05 +0000 (14:38 -0000)]
2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>

* PrimeTestingTest.cs: Re-enable failing 20 digits primes (now that
we have a workaround for them).

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