mono.git
16 years ago2008-02-04 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 4 Feb 2008 22:08:01 +0000 (22:08 -0000)]
2008-02-04  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Binary/CLIHeader.cs
  Mono.Cecil.Binary/ImageWriter.cs
  Mono.Cecil.Metadata/MetadataWriter.cs:
emit the proper cli header version for 1.1 and 2.0 cases.

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

16 years ago2008-02-04 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 4 Feb 2008 22:05:54 +0000 (22:05 -0000)]
2008-02-04  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Cil/CilWorker.cs: add callsite overloads.

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

16 years ago2008-02-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 4 Feb 2008 22:01:46 +0000 (22:01 -0000)]
2008-02-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: In ItemControl.ItemsMouseMove, only fire ItemDrag event
when the item in current position is different than 0. Also, save the
item index in the beginning of the operation, instead of getting the
index of the item when the event is actually performed. Lastly clean
the related fields in ItemsMouseUp if the ItemDrag operation wasn't
triggered.
[Fixes #357873]

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

16 years ago2008-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 4 Feb 2008 21:34:31 +0000 (21:34 -0000)]
2008-02-04  Zoltan Varga  <vargaz@gmail.com>

* tramp-amd64.c (mono_arch_patch_callsite): Add some diagnostics to help debug
issues where an 32 bit callsite cannot be patched by a 64 bit address.

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

16 years agosvn path=/trunk/mcs/; revision=94788
Jb Evain [Mon, 4 Feb 2008 21:29:23 +0000 (21:29 -0000)]
svn path=/trunk/mcs/; revision=94788

16 years ago2008-02-04 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 4 Feb 2008 21:28:35 +0000 (21:28 -0000)]
2008-02-04  Jb Evain  <jbevain@novell.com>

* ExpressionPrinter.cs: fix printing of MemberListBinding.

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

16 years agoadd working ToString test
Jb Evain [Mon, 4 Feb 2008 21:22:31 +0000 (21:22 -0000)]
add working ToString test

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

16 years ago2008-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 4 Feb 2008 21:22:04 +0000 (21:22 -0000)]
2008-02-04  Zoltan Varga  <vargaz@gmail.com>

* get.c (get_escaped_name): Escape the name if it begins with a dot. Fixes
#358564.

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

16 years ago2008-02-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 4 Feb 2008 20:57:31 +0000 (20:57 -0000)]
2008-02-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* CurrencyManagerTest.cs: New tests for 2.0 ListChanged event.
* ListControlTest.cs: Add a default ctor for MockItem.

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

16 years agoIn System.Windows.Forms.CarbonInternal:
Geoff Norton [Mon, 4 Feb 2008 20:50:08 +0000 (20:50 -0000)]
In System.Windows.Forms.CarbonInternal:
2008-02-04  Geoff Norton  <gnorton@novell.com>

* KeyboardHandler.cs: Control+key generates SYSKEY/SYSCHAR as well
as Alt+key.

2008-02-04  Geoff Norton  <gnorton@novell.com>

* EventHandler.cs: Expose GetEventClass internally.  Subscribe to
the unicode text events.
* KeyboardHandler.cs: Commit the new keyboard handler.  We grab
the unicode characters provided by apple and push them thru a translation
table to generate windows style keyboard events.

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

16 years agoIn .:
Geoff Norton [Mon, 4 Feb 2008 20:41:33 +0000 (20:41 -0000)]
In .:
2008-02-04  Geoff Norton  <gnorton@novell.com>

* EventHandler.cs: Expose GetEventClass internally.  Subscribe to
the unicode text events.
* KeyboardHandler.cs: Commit the new keyboard handler.  We grab
the unicode characters provided by apple and push them thru a translation
table to generate windows style keyboard events.

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

16 years ago2008-02-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Feb 2008 20:37:53 +0000 (20:37 -0000)]
2008-02-03  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Alt-Minus for MDI children system menu should work
with both the minus keys on the keyboard.
[Fixes bug #336295]

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

16 years ago2008-02-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Feb 2008 19:39:16 +0000 (19:39 -0000)]
2008-02-03  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Don't invalidate on region change.  The WM should
take care of this automagically.  Keeps us out of an infinite
paint loop if someone changes the Region in the OnPaint.
[Fixes bug #358327]

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

16 years ago2008-02-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 4 Feb 2008 19:34:09 +0000 (19:34 -0000)]
2008-02-04  Marek Habersack  <mhabersack@novell.com>

* SimpleWebHandlerParser.cs: use WebEncoding.FileEncoding when
reading the source file.

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

* AssemblyBuilder.cs: do not use WebEncoding.FileEncoding when
generating source code files. Fixes bug #357053.

* AspGenerator.cs: set isApplication before parsing. Fixes bug
#357036.

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

16 years ago2008-02-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 4 Feb 2008 17:54:07 +0000 (17:54 -0000)]
2008-02-04  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs: set isApplication before parsing. Fixes bug
#357036.

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

16 years ago2008-02-04 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 4 Feb 2008 17:06:28 +0000 (17:06 -0000)]
2008-02-04  Ivan N. Zlatev  <contact@i-nz.net>

 * ImageIndexConverter.cs: ConvertFrom must handle "(none)".

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

16 years agoDisabled failing test.
Marek Safar [Mon, 4 Feb 2008 16:51:44 +0000 (16:51 -0000)]
Disabled failing test.

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

16 years ago2008-02-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Feb 2008 16:48:56 +0000 (16:48 -0000)]
2008-02-03  Jonathan Pobst  <monkey@jpobst.com>

* DateTimePicker.cs: Apply patch from Srikanth Madikeri so we drop
down the MonthCalendar only on F4, not Alt+F4.
* MonthCalendar.cs: If we are a popup, close ourselves on Alt+F4.
[Fixes bug #358340]

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

16 years ago * iface4.cs: Also added another "level" of inheritance...
Massimiliano Mantione [Mon, 4 Feb 2008 16:39:31 +0000 (16:39 -0000)]
* iface4.cs: Also added another "level" of inheritance...

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

16 years ago2008-02-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Feb 2008 16:14:00 +0000 (16:14 -0000)]
2008-02-03  Jonathan Pobst  <monkey@jpobst.com>

* ThemeWin32Classic.cs: For MonthCalendar, draw a dark border
if its part of a DateTimePicker, else, use the back color.
[Fixes bug #358339]

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

16 years agoFixed build.
Marek Safar [Mon, 4 Feb 2008 16:00:25 +0000 (16:00 -0000)]
Fixed build.

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

16 years ago * iface4.cs: Tested also Stop method (just to be on the safe side).
Massimiliano Mantione [Mon, 4 Feb 2008 15:27:45 +0000 (15:27 -0000)]
* iface4.cs: Tested also Stop method (just to be on the safe side).

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

16 years ago2008-02-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Feb 2008 15:18:54 +0000 (15:18 -0000)]
2008-02-03  Jonathan Pobst  <monkey@jpobst.com>

* Hwnd.cs: Use GraphicContext instead of the uninitialized bmp_g.
[Fixes bug #358342]

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

16 years ago2008-02-04 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 4 Feb 2008 15:17:44 +0000 (15:17 -0000)]
2008-02-04  Jb Evain  <jbevain@novell.com>

* Expression.cs, NewExpression.cs: make New(Type) test pass.

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

16 years agocomplete test
Jb Evain [Mon, 4 Feb 2008 15:15:16 +0000 (15:15 -0000)]
complete test

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

16 years ago2008-02-04 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 4 Feb 2008 15:10:06 +0000 (15:10 -0000)]
2008-02-04  Jb Evain  <jbevain@novell.com>

* ExpressionPrinter.cs: fix and clean printing of ElementInit.

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

16 years agofix test
Jb Evain [Mon, 4 Feb 2008 15:08:27 +0000 (15:08 -0000)]
fix test

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

16 years agoheh, got it wrong
Jb Evain [Mon, 4 Feb 2008 15:05:36 +0000 (15:05 -0000)]
heh, got it wrong

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

16 years agoadd useful assertions
Jb Evain [Mon, 4 Feb 2008 15:00:48 +0000 (15:00 -0000)]
add useful assertions

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

16 years ago * Mono.Posix.dll.sources: Add Mono.Unix/UnixSignal.cs.
Jonathan Pryor [Mon, 4 Feb 2008 14:02:14 +0000 (14:02 -0000)]
* Mono.Posix.dll.sources: Add Mono.Unix/UnixSignal.cs.
* Mono.Unix.Native/Stdlib.cs: Obsolete Stdlib.signal(), as it's not safe; see also:
  http://lists.ximian.com/pipermail/mono-devel-list/2008-January/026501.html
  http://lists.ximian.com/pipermail/mono-devel-list/2008-January/026503.html
  Add SetSignalAction() as a replacement.
* Mono.Unix/UnixSignal.cs: Added; Polling and blocking based Unix signal mechanism.
  http://lists.ximian.com/pipermail/mono-devel-list/2008-January/026501.html

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

16 years ago * signal.c: Provide support functions for Mono.Unix.UnixSignal, which
Jonathan Pryor [Mon, 4 Feb 2008 13:59:28 +0000 (13:59 -0000)]
* signal.c: Provide support functions for Mono.Unix.UnixSignal, which
  supports both polling and waiting on signal emission.
* map.h: Flush (adds UnixSignal-related prototypes).

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

16 years agoNew test.
Marek Safar [Mon, 4 Feb 2008 13:31:40 +0000 (13:31 -0000)]
New test.

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

16 years ago2008-02-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 4 Feb 2008 13:30:34 +0000 (13:30 -0000)]
2008-02-04  Marek Safar  <marek.safar@gmail.com>

A fix for bug #355251
  * generic.cs: Added base class constraint based type inference.

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

16 years ago2008-02-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 4 Feb 2008 10:00:27 +0000 (10:00 -0000)]
2008-02-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* CurrencyManager.cs: When we get a ListChanged event from our source,
always fire our own ListChanged event, as .Net does.

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

16 years agoFix for IXmlSerializable.ReadXml. Bug 9762.
Arina Itkes [Mon, 4 Feb 2008 09:08:00 +0000 (09:08 -0000)]
Fix for IXmlSerializable.ReadXml. Bug 9762.

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

16 years ago2008-02-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 4 Feb 2008 08:49:05 +0000 (08:49 -0000)]
2008-02-04  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaValidator.cs : added couple of null argument check.
  Do not depend on XmlSchemaInfo to retrieve attribute value (it
  could be null).
  Do not practically validate attribute when it is not in validating
  state (i.e. inside xs:any). Fixed bug #358408.

* XmlSchemaValidatorTests.cs : new. Test for bug #358408.

* 358408.xsd : new test file.

* System.Xml_test.dll.sources : added XmlSchemaValidatorTests.cs.
* Makefile : extra distfiles (358408.xsd).

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

16 years agoFix of formatting.
Arina Itkes [Mon, 4 Feb 2008 08:36:31 +0000 (08:36 -0000)]
Fix of formatting.

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

16 years agofix make dist for monobuild
Sebastien Pouliot [Sun, 3 Feb 2008 22:08:44 +0000 (22:08 -0000)]
fix make dist for monobuild

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

16 years ago2008-02-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 3 Feb 2008 19:50:09 +0000 (19:50 -0000)]
2008-02-03  Zoltan Varga  <vargaz@gmail.com>

* runtime/Makefile.am (clean-local): Use mono --wapi=semdel instead of the
nonexistent semdel utility.

* runtime/semdel-wrapper.in: Delete.

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

16 years ago2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 3 Feb 2008 18:29:17 +0000 (18:29 -0000)]
2008-02-03  Sebastien Pouliot  <sebastien@ximian.com>

* WaitHandle.cs: Ifdef out some unused code (found by Gendarme).

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

16 years ago2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 3 Feb 2008 18:07:38 +0000 (18:07 -0000)]
2008-02-03  Sebastien Pouliot  <sebastien@ximian.com>

* RSAManaged.cs: Replace "" (found by Gendarme) with more useful text.

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

16 years ago2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 3 Feb 2008 18:07:27 +0000 (18:07 -0000)]
2008-02-03  Sebastien Pouliot  <sebastien@ximian.com>

* DSAManaged.cs: Replace "" (found by Gendarme) with more useful text.
* RSAManaged.cs: Replace "" (found by Gendarme) with more useful text.

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

16 years ago2008-02-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 3 Feb 2008 17:35:30 +0000 (17:35 -0000)]
2008-02-03  Zoltan Varga  <vargaz@gmail.com>

* generics.2.cs generics-variant-types.2.il: Merge some tests from the linear IR
branch.

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

16 years ago2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 3 Feb 2008 17:17:54 +0000 (17:17 -0000)]
2008-02-03  Sebastien Pouliot  <sebastien@ximian.com>

* MemoryStream.cs: Remove unused code found by Gendarme.

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

16 years ago2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 3 Feb 2008 15:29:18 +0000 (15:29 -0000)]
2008-02-03  Sebastien Pouliot  <sebastien@ximian.com>

* Environment.cs: Remove unused method found with Gendarme.

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

16 years ago2008-02-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 3 Feb 2008 15:10:10 +0000 (15:10 -0000)]
2008-02-03  Sebastien Pouliot  <sebastien@ximian.com>

* COMException.cs: Fix new-line literal and use of "" detected by
Gendarme.

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

16 years ago2008-02-03 Luke Page <luke.a.page@gmail.com>
Luke Page [Sun, 3 Feb 2008 14:12:47 +0000 (14:12 -0000)]
2008-02-03  Luke Page   <luke.a.page@gmail.com>

* RichTextBoxTest.cs: Restored property test with failing tests
commented so that it tests the fix to bug 358379 that AutoSize
defaults to false.

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

16 years ago2008-02-03 Luke Page <luke.a.page@gmail.com>
Luke Page [Sun, 3 Feb 2008 14:06:30 +0000 (14:06 -0000)]
2008-02-03  Luke Page  <luke.a.page@gmail.com>

* RichTextBox.cs: AutoSize now defaults to false. Fixes Bug
#358379.

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

16 years agoFix for bug 9751. Regression on regular expressions should not be happened.
Arina Itkes [Sun, 3 Feb 2008 13:21:12 +0000 (13:21 -0000)]
Fix for bug 9751. Regression on regular expressions should not be happened.

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

16 years agogenerate dynamic method's names
Jb Evain [Sun, 3 Feb 2008 12:56:17 +0000 (12:56 -0000)]
generate dynamic method's names

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

16 years agorevert r94450
Konstantin Triger [Sun, 3 Feb 2008 12:31:00 +0000 (12:31 -0000)]
revert r94450

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

16 years agofix GetFilePath.
Igor Zelmanovich [Sun, 3 Feb 2008 12:21:17 +0000 (12:21 -0000)]
fix GetFilePath.

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

16 years ago2008-02-03 Luke Page <luke.a.page@gmail.com>
Luke Page [Sun, 3 Feb 2008 12:12:24 +0000 (12:12 -0000)]
2008-02-03  Luke Page  <luke.a.page@gmail.com>

* TextBoxBase.cs, RichTextBox.cs, TextControl.cs: Sets richtext
property. Removed if for richtext property that was always true.
PgUp/PgDn at top/bottom fixed for RTB. Fixes bug #358237.

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

16 years ago2008-02-03 Luke Page <luke.a.page@gmail.com>
Luke Page [Sun, 3 Feb 2008 11:17:19 +0000 (11:17 -0000)]
2008-02-03  Luke Page   <luke.a.page@gmail.com>

* TextBoxTest.cs: Added test from James Purcell for bug #358229 to
test FixedHeight control style when multiline changed.

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

16 years ago2008-02-03 Luke Page <luke.a.page@gmail.com>
Luke Page [Sun, 3 Feb 2008 10:40:39 +0000 (10:40 -0000)]
2008-02-03  Luke Page  <luke.a.page@gmail.com>
* TextBoxBase.cs - commited patch from James Purcell that
correctly sets the FixedHeight control style when the MultiLine
property is changed on a TextBox control. Fixes bug 358229.

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

16 years agoAdded test for exporting of a generated typed DataSet and DataTable by a same XmlExpo...
Arina Itkes [Sun, 3 Feb 2008 10:24:49 +0000 (10:24 -0000)]
Added test for exporting of a generated typed DataSet and DataTable by a same XmlExporter.

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

16 years agoAdded test for exporting of a generated typed DataSet and DataTable by a same XmlExpo...
Arina Itkes [Sun, 3 Feb 2008 10:19:59 +0000 (10:19 -0000)]
Added test for exporting of a generated typed DataSet and DataTable by a same XmlExporter.

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

16 years agoFix for exporting of a generated typed DataTable and typed DataSet. Bug 8894
Arina Itkes [Sun, 3 Feb 2008 10:05:06 +0000 (10:05 -0000)]
Fix for exporting of a generated typed DataTable and typed DataSet. Bug 8894

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

16 years agoTARGET_JVM:
Igor Zelmanovich [Sun, 3 Feb 2008 08:59:57 +0000 (08:59 -0000)]
TARGET_JVM:
flush stream correctly.

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

16 years ago2008-02-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 3 Feb 2008 00:34:51 +0000 (00:34 -0000)]
2008-02-02  Sebastien Pouliot  <sebastien@ximian.com>

* Evidence.cs: Fix missing assignement (thanks to Gendarme :)

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

16 years ago2008-02-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 2 Feb 2008 23:09:32 +0000 (23:09 -0000)]
2008-02-03  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_runtime_invoke): Fix sharing of runtime wrappers
between methods for non-corlib types.

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

16 years agoSet eol-style to native.
Gert Driesen [Sat, 2 Feb 2008 19:30:39 +0000 (19:30 -0000)]
Set eol-style to native.

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

16 years agoSet eol-style to CRLF.
Gert Driesen [Sat, 2 Feb 2008 19:26:55 +0000 (19:26 -0000)]
Set eol-style to CRLF.

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

16 years ago* CharCategoryTest.cs: Fixed line endings.
Gert Driesen [Sat, 2 Feb 2008 19:24:56 +0000 (19:24 -0000)]
* CharCategoryTest.cs: Fixed line endings.
* CharTest.cs: Fixed line endings.
* MulticasrDelegate.cs: Fixed line endings.
* ExceptionTest.cs: Fixed line endings.

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

16 years ago* TypeTest.cs (InvokeMember_WithoutDefaultValue): Fixed assert to
Gert Driesen [Sat, 2 Feb 2008 19:21:06 +0000 (19:21 -0000)]
* TypeTest.cs (InvokeMember_WithoutDefaultValue): Fixed assert to
allow test to pass on MS too.

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

16 years ago * Variant.cs: Fixed line endings.
Gert Driesen [Sat, 2 Feb 2008 19:20:43 +0000 (19:20 -0000)]
 * Variant.cs: Fixed line endings.
* MonoType.cs: Fixed parameter name for ArgumentException to match MS.

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

16 years ago* MethodInfoTest.cs: Numbered tests. Improved existing tests.
Gert Driesen [Sat, 2 Feb 2008 18:31:00 +0000 (18:31 -0000)]
* MethodInfoTest.cs: Numbered tests. Improved existing tests.
* ParameterInfoTest.cs: Added test for bug #342536.
* MonoMethod.cs (MakeGenericMethod): Modified argument name to match
MS. When one of the types is null, throw ArgumentNullException instead
of ArgumentException.
* MethodInfo.cs (MakeGenericMethod): Modified argument name to match
MS.

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

16 years agoIn .:
Geoff Norton [Sat, 2 Feb 2008 15:34:30 +0000 (15:34 -0000)]
In .:
2008-02-02  Geoff Norton  <gnorton@novell.com>

* loader.c (mono_method_get_param_names): Populate the parameter name for
generic parameters as well. (Fixes #342536)

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

16 years agoupdate
Jb Evain [Sat, 2 Feb 2008 13:49:57 +0000 (13:49 -0000)]
update

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

16 years agoclean
Jb Evain [Sat, 2 Feb 2008 13:49:37 +0000 (13:49 -0000)]
clean

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

16 years ago2008-02-02 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 2 Feb 2008 13:43:10 +0000 (13:43 -0000)]
2008-02-02  Jb Evain  <jbevain@novell.com>

* Expression.cs: fix ListBind(MemberInfo,IEnumerable<ElementInit>).

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

16 years agofix
Jb Evain [Sat, 2 Feb 2008 13:42:33 +0000 (13:42 -0000)]
fix

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

16 years agotypo
Jb Evain [Sat, 2 Feb 2008 13:29:30 +0000 (13:29 -0000)]
typo

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

16 years ago2008-02-02 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 2 Feb 2008 13:28:55 +0000 (13:28 -0000)]
2008-02-02  Jb Evain  <jbevain@novell.com>

* Expression.cs: fix ListInit(MethodInfo,IEnumerable<ElementInit>).

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

16 years agosvn path=/trunk/mcs/; revision=94612
Luke Page [Sat, 2 Feb 2008 11:37:37 +0000 (11:37 -0000)]
svn path=/trunk/mcs/; revision=94612

16 years agoIn System.Windows.Forms:
Geoff Norton [Fri, 1 Feb 2008 22:36:33 +0000 (22:36 -0000)]
In System.Windows.Forms:
2008-02-01  Geoff Norton  <gnorton@novell.com>

* Hwnd.cs: Ensure that windows moved into -'ve coordinate space
get that region removed from the paint event.
* XplatUICarbon.cs: Remove the window mapping after disposing of
window.  Prevents a crash with handle reuse.  Optimize exposes
only onto visible windows (rare; but possible).

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

16 years ago2008-02-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 1 Feb 2008 22:36:15 +0000 (22:36 -0000)]
2008-02-01  Jonathan Pobst  <monkey@jpobst.com>

* ListBoxTest.cs: Disable test that is default font dependent.

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

16 years agoremove some debugging spew
Jonathan Pobst [Fri, 1 Feb 2008 22:29:21 +0000 (22:29 -0000)]
remove some debugging spew

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

16 years ago2008-02-01 Olivier Dufour <olivier.duff@gmail.com>
Olivier Dufour [Fri, 1 Feb 2008 21:19:34 +0000 (21:19 -0000)]
2008-02-01  Olivier Dufour  <olivier.duff@gmail.com>

* ExpressionTest_ListBind.cs:Add test for ListBind

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

16 years ago2008-02-01 Olivier Dufour <olivier.duff@gmail.com>
Olivier Dufour [Fri, 1 Feb 2008 21:18:52 +0000 (21:18 -0000)]
2008-02-01  Olivier Dufour  <olivier.duff@gmail.com>

* ExpressionTest_ListBind.cs:Add test for ListBind

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

16 years ago2008-02-01 Olivier Dufour <olivier.duff@gmail.com>
Olivier Dufour [Fri, 1 Feb 2008 21:17:39 +0000 (21:17 -0000)]
2008-02-01  Olivier Dufour  <olivier.duff@gmail.com>

* Expression.cs, ExpressionPrinter.cs:Add ListBind

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

16 years ago2008-02-01 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 1 Feb 2008 21:12:59 +0000 (21:12 -0000)]
2008-02-01  Jb Evain  <jbevain@novell.com>

* Funcs.cs: gross hack for SL 1.1a.
I hate myself, I hate myself.

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

16 years ago2008-02-01 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 1 Feb 2008 21:12:20 +0000 (21:12 -0000)]
2008-02-01  Jb Evain  <jbevain@novell.com>

* Queryable.cs, Check.cs: integrate GHOP work from
Andreas Noever <andreas.noever@gmail.com>.

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

16 years ago* RegistryKey.cs: Added missing checks on length of subkey and value
Gert Driesen [Fri, 1 Feb 2008 21:05:50 +0000 (21:05 -0000)]
* RegistryKey.cs: Added missing checks on length of subkey and value
names. On 2.0 profile, allow subkey <= 255 characters. Modified
ArgumentNullException argument names to match MS.
* UnixRegistryApi.cs: In SetValue (string, object, RegistryValueKind),
use a zero-length string for name if it is null. In OpenSubKey,
respect value of writable argument when creating well-known subkey.
Fixes bug #357883. Removed argument names for ArgumentException's to
match MS.
* RegistryKeyTest.cs: Added tests for max length of subkey and value
names. Improved existing argument check tests. Renamed existing
SetValue tests, and added simple tests for overload introduced in
.NET 2.0.

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

16 years agorevert, I was on crack
Jb Evain [Fri, 1 Feb 2008 20:39:02 +0000 (20:39 -0000)]
revert, I was on crack

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

16 years agoIn System.Drawing:
Geoff Norton [Fri, 1 Feb 2008 20:38:39 +0000 (20:38 -0000)]
In System.Drawing:
* carbonFunction.cs: More clipping fixes.  Include a variable to
help debug future clipping problems by showing us the clipped mask.

2008-02-01  Geoff Norton  <gnorton@novell.com>

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

16 years ago2008-02-01 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 1 Feb 2008 19:51:30 +0000 (19:51 -0000)]
2008-02-01  Jb Evain  <jbevain@novell.com>

* Makefile: remove System.Core temporary hack.

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

16 years agofitch glitch
Jb Evain [Fri, 1 Feb 2008 19:50:06 +0000 (19:50 -0000)]
fitch glitch

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

16 years ago2008-02-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 1 Feb 2008 19:33:18 +0000 (19:33 -0000)]
2008-02-01  Jonathan Pobst  <monkey@jpobst.com>

* UpDownBase.cs: Make sure the internal textbox calls the base's
OnMouseDown and OnMouseUp so the textbox will function correctly.
There were notes saying it doesn't chain up, but its an internal
class, so our implementation may differ.
[Fixes bug #357482]

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

16 years ago2008-02-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 1 Feb 2008 19:11:22 +0000 (19:11 -0000)]
2008-02-01  Jonathan Pobst  <monkey@jpobst.com>

* ListBox.cs: Fix a logic error and don't process MouseDown
for mouse buttons other than Left.

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

16 years ago2008-02-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 1 Feb 2008 18:04:34 +0000 (18:04 -0000)]
2008-02-01  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Remove HeightInternal.
* ListBox.cs: Commit patch from James Purcell that correctly
calculates heights for ListBoxen.
[Fixes bug #357152]

2008-02-01  Jonathan Pobst  <monkey@jpobst.com>

* ListBoxTest.cs: Commit some tests for bug #357152 from James
Purcell.

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

16 years agoMore tests.
Marek Safar [Fri, 1 Feb 2008 17:47:58 +0000 (17:47 -0000)]
More tests.

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

16 years ago2008-02-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 1 Feb 2008 17:47:35 +0000 (17:47 -0000)]
2008-02-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #357255
  * decl.cs: One more missing visibility check.

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

16 years agoIn .:
Geoff Norton [Fri, 1 Feb 2008 17:41:24 +0000 (17:41 -0000)]
In .:
2008-02-01  Geoff Norton  <gnorton@novell.com>

* carbonFunctions.cs: Ensure we save/restore the GState before
modifying the clipping path as QD contexts can be reused.

2008-02-01  Geoff Norton  <gnorton@novell.com>

* carbonFunction.cs:  Rework the clipping interaction with
CoreGraphics.  Our old method was buggy in certain cases causing
improper / inefficient clip handling.

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

16 years agoIn .:
Geoff Norton [Fri, 1 Feb 2008 17:37:42 +0000 (17:37 -0000)]
In .:
2008-02-01  Geoff Norton  <gnorton@novell.com>

* carbonFunction.cs:  Rework the clipping interaction with
CoreGraphics.  Our old method was buggy in certain cases causing
improper / inefficient clip handling.

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

16 years ago2008-02-01 Olivier Dufour <olivier.duff@gmail.com>
Olivier Dufour [Fri, 1 Feb 2008 17:34:29 +0000 (17:34 -0000)]
2008-02-01  Olivier Dufour  <olivier.duff@gmail.com>

* ExpressionTest_ElementInit.cs:Add test for ElementInit

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

16 years ago2008-02-01 Olivier Dufour <olivier.duff@gmail.com>
Olivier Dufour [Fri, 1 Feb 2008 17:33:44 +0000 (17:33 -0000)]
2008-02-01  Olivier Dufour  <olivier.duff@gmail.com>

* ExpressionTest_ElementInit.cs:Add test for ElementInit

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

16 years ago2008-02-01 Olivier Dufour <olivier.duff@gmail.com>
Olivier Dufour [Fri, 1 Feb 2008 17:32:21 +0000 (17:32 -0000)]
2008-02-01  Olivier Dufour  <olivier.duff@gmail.com>

* Expression.cs, ExpressionPrinter.cs:Add Elementinit

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

16 years ago2008-02-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 1 Feb 2008 17:32:20 +0000 (17:32 -0000)]
2008-02-01  Jonathan Pobst  <monkey@jpobst.com>

* Label.cs: Apply patch from James Purcell that corrects the
signature of the AutoSize property.
[Fixes bug #357605]

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

16 years ago2008-02-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 1 Feb 2008 17:27:24 +0000 (17:27 -0000)]
2008-02-01  Jonathan Pobst  <monkey@jpobst.com>

* ListBox.cs: Don't throw [Mouse]Click events for buttons
other than the left mouse button.

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