mono.git
16 years ago* UITypeEditor.cs: Add a table of special editors (types that can't use
Rolf Bjarne Kvinge [Tue, 10 Jul 2007 14:15:43 +0000 (14:15 -0000)]
* UITypeEditor.cs: Add a table of special editors (types that can't use
  attributes to specify the editor) to TypeDescriptor.

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

16 years ago* TypeDescriptor.cs: Implemented AddEditorTable, and check the editor
Rolf Bjarne Kvinge [Tue, 10 Jul 2007 14:13:57 +0000 (14:13 -0000)]
* TypeDescriptor.cs: Implemented AddEditorTable, and check the editor
  table in GetEditor if no editor can be found using attributes.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Tue, 10 Jul 2007 12:31:04 +0000 (12:31 -0000)]
By   : Yonik <yonik@mainsoft.com>
Browser capabilities fixes.

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

16 years agoBy : Yonik <yonik@mainsoft.com>
Yoni Klain [Tue, 10 Jul 2007 12:27:35 +0000 (12:27 -0000)]
By   : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : EnhancingJavaScript/Enumeration.html

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

16 years ago* ObjectStateFormatter.cs: optimized loops in array formatters
Vladimir Krasnov [Tue, 10 Jul 2007 12:15:37 +0000 (12:15 -0000)]
* ObjectStateFormatter.cs: optimized loops in array formatters

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

16 years ago* ListItemCollection.cs: optimized SetDirty method
Vladimir Krasnov [Tue, 10 Jul 2007 11:58:02 +0000 (11:58 -0000)]
* ListItemCollection.cs: optimized SetDirty method

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

16 years ago* HttpUtility.cs: optimized HtmlEncode and HtmlAttributeEncode methods
Vladimir Krasnov [Tue, 10 Jul 2007 11:55:20 +0000 (11:55 -0000)]
* HttpUtility.cs: optimized HtmlEncode and HtmlAttributeEncode methods

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

16 years agoTue Jul 10 13:07:24 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Jul 2007 10:55:23 +0000 (10:55 -0000)]
Tue Jul 10 13:07:24 CEST 2007 Paolo Molaro <lupus@ximian.com>

* Makefile.am: fix svn invocation to get the svn revision to be
independent of the local language (build fix).

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

16 years ago2007-07-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 10 Jul 2007 10:08:01 +0000 (10:08 -0000)]
2007-07-10  Atsushi Enomoto  <atsushi@ximian.com>

* StringInfo.cs : implemented 2.0 members.

* StringInfoTest.cs : new test.

* corlib_test.dll.sources : added StringInfoTest.cs.

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

16 years ago2007-07-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 10 Jul 2007 10:05:58 +0000 (10:05 -0000)]
2007-07-10  Atsushi Enomoto  <atsushi@ximian.com>

* UmAlQuraCalendar.cs : forgot to implement it.

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

16 years agoNew tests for QuickStarts test suite
Yoni Klain [Tue, 10 Jul 2007 09:27:06 +0000 (09:27 -0000)]
New tests for QuickStarts test suite

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

16 years agotypo fix
Yoni Klain [Tue, 10 Jul 2007 09:25:26 +0000 (09:25 -0000)]
typo fix

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

16 years ago2007-07-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 10 Jul 2007 07:01:38 +0000 (07:01 -0000)]
2007-07-10  Atsushi Enomoto  <atsushi@ximian.com>

* HijriCalendar.cs ThaiBuddhistCalendar.cs HebrewCalendar.cs
  GregorianCalendar.cs KoreanCalendar.cs JulianCalendar.cs :
  implemented ToFourDigitYear(), actually base implementation mostly
  works as is.

* CalendarTest.cs : enabled ToFourDigitYear() test from 5 years ago.
  and added some more ToFourDigitYear() tests.

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

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

* libtest.c (mono_test_marshal_return_unicode_string_delegate):
Add a missing return.

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

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

* marshal.c (mono_marshal_string_to_utf16_copy): Fix allocation size.

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

16 years ago2007-07-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 9 Jul 2007 21:20:12 +0000 (21:20 -0000)]
2007-07-09  Jonathan Pobst  <monkey@jpobst.com>

* AccessibleObject.cs, RadioButton.cs: Fix some base classes
that changed between 1.1 and 2.0.

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

16 years agoForgot to add PowerStatus.cs in previous commit.
Jonathan Pobst [Mon, 9 Jul 2007 21:06:35 +0000 (21:06 -0000)]
Forgot to add PowerStatus.cs in previous commit.

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

16 years ago2007-07-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 9 Jul 2007 21:06:02 +0000 (21:06 -0000)]
2007-07-09  Jonathan Pobst  <monkey@jpobst.com>

* PowerStatus.cs: Added.  This is just a data class, it is filled
in by SystemInformation.

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

* System.Windows.Forms.dll.sources: Add PowerStatus.cs.

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

16 years ago2007-07-09 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 9 Jul 2007 21:04:59 +0000 (21:04 -0000)]
2007-07-09  Mark Probst  <mark.probst@gmail.com>

* AssemblyTest.cs: Enabled test for bug 78465.

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

16 years ago2007-07-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 9 Jul 2007 20:49:15 +0000 (20:49 -0000)]
2007-07-09  Jonathan Pobst  <monkey@jpobst.com>

* Message.cs: Add op_Equality and op_Inequality.

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

* MessageTest.cs: Add tests for op_Equality and op_Inequality.

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

16 years ago2007-07-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 9 Jul 2007 20:38:05 +0000 (20:38 -0000)]
2007-07-09  Jonathan Pobst  <monkey@jpobst.com>

* MenuStrip.cs: Finish corcompare work.

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

16 years ago2007-07-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 9 Jul 2007 19:09:46 +0000 (19:09 -0000)]
2007-07-09  Jonathan Pobst  <monkey@jpobst.com>

* LinkArea.cs: Add op_Equality and op_Inequality.

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

* LinkAreaTest.cs: Add tests for op_Equality and op_Inequality.

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

16 years ago2007-07-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 9 Jul 2007 18:56:39 +0000 (18:56 -0000)]
2007-07-09  Jonathan Pobst  <monkey@jpobst.com>

* Application.cs: Add MessageLoopCallback delegate.

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

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

* ListBox.cs: First set of 2.0 stuffs.

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

16 years agoAdded test and fix for #81960
Alan McGovern [Mon, 9 Jul 2007 18:21:20 +0000 (18:21 -0000)]
Added test and fix for #81960

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

16 years ago2007-07-09 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 9 Jul 2007 17:40:36 +0000 (17:40 -0000)]
2007-07-09  Mark Probst  <mark.probst@gmail.com>

* mini.c (inline_method): Reset cfg->exception_type if the
inlining is aborted.  Fixes: 82049.

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

16 years ago2007-07-09 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 9 Jul 2007 16:43:42 +0000 (16:43 -0000)]
2007-07-09  Mark Probst  <mark.probst@gmail.com>

* class.c (mono_class_init): If a class is already inited but has
an exception_type set, return FALSE, not TRUE.  Fixes: 82050.

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

16 years agofix for bug 81958
Alan McGovern [Mon, 9 Jul 2007 16:01:46 +0000 (16:01 -0000)]
fix for bug 81958

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

16 years agoTest and fix for bug 81673.
Mark Probst [Mon, 9 Jul 2007 15:29:45 +0000 (15:29 -0000)]
Test and fix for bug 81673.

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

16 years agoMon Jul 9 17:26:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Jul 2007 15:14:41 +0000 (15:14 -0000)]
Mon Jul 9 17:26:47 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini.c: remove assert from exception handling code when exception_ptr
is not set.

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

16 years ago2007-07-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 9 Jul 2007 14:21:26 +0000 (14:21 -0000)]
2007-07-09  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Make an internal Height property we can override
without messing up the public API.
* ListBox.cs: Override HeightInternal to always return the size
the user set.  [Fixes bug #80466]

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

* ListBoxTest.cs: Add test for bug #80466.

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

16 years agoMon Jul 9 16:21:43 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Jul 2007 14:10:00 +0000 (14:10 -0000)]
Mon Jul 9 16:21:43 CEST 2007 Paolo Molaro <lupus@ximian.com>

* class-internals.h, object.c: cleanup patch from massi: use
MonoVTable->interface_bitmap since the vtable interfaces offset array
is going away.

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

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

* OpCodeType.cs EventToken.cs FieldToken.cs SignatureToken.cs PackingSize.cs
StringToken.cs AssemblyBuilderAccess.cs FlowControl.cs MethodToken.cs
ParameterToken.cs TypeToken.cs PropertyToken.cs OperandType.cs PEFileKinds.cs
StackBehaviour.cs: 2.0 updates.

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

16 years agofixed project files
Igor Zelmanovich [Mon, 9 Jul 2007 13:12:22 +0000 (13:12 -0000)]
fixed project files

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

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

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

17 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

17 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

17 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

17 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

17 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

17 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