mono.git
16 years ago2008-02-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 5 Feb 2008 19:47:33 +0000 (19:47 -0000)]
2008-02-05  Mark Probst  <mark.probst@gmail.com>

* tramp-amd64.c, tramp-x86.c, mini-trampolines.c: Added a check in
the generic class init trampoline to return quickly if the class
is already inited.

2008-02-05  Mark Probst  <mark.probst@gmail.com>

* marshal.c, marshal.h (mono_marshal_find_bitfield_offset,
mono_marshal_find_nonzero_bit_offset): Added macro and function
for finding the byte- and bit-offset of a bitfield within a
struct.

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

16 years ago2008-02-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 5 Feb 2008 19:02:13 +0000 (19:02 -0000)]
2008-02-05  Marek Habersack  <mhabersack@novell.com>

* FileUpload.cs: make sure FileContent always returns the input
stream positioned at the beginning. Fixes bug #356846

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

16 years agoforgotten the bug number
Marek Habersack [Tue, 5 Feb 2008 18:30:23 +0000 (18:30 -0000)]
forgotten the bug number

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

16 years ago2008-02-05 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 5 Feb 2008 17:28:55 +0000 (17:28 -0000)]
2008-02-05  Ivan N. Zlatev  <contact@i-nz.net>

* MutilineStringEditor.cs: Make BorderStyle, Width and Height
sensible.
[Fixes #356530]

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

16 years ago2008-02-05 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 5 Feb 2008 16:22:53 +0000 (16:22 -0000)]
2008-02-05  Ivan N. Zlatev  <contact@i-nz.net>

* ColorEditor.cs: Set the Height to match the custom colors tab
Height.
[Fixes bug #356527]

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

16 years ago2008-02-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 5 Feb 2008 15:52:25 +0000 (15:52 -0000)]
2008-02-05  Marek Habersack  <mhabersack@novell.com>

* CompilerCollection.cs: Get (string language) should not use
BaseGet as our collection is keyed on a list of language names
(e.g. "cs;csharp") and passing a single language won't match in
BaseGet correctly. Use the overriden indexer instead.
Initialize the base class with the case-insensitive comparer.
        Fixes bug #357824.

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

16 years ago * signal.c: Fix the Win32 build.
Jonathan Pryor [Tue, 5 Feb 2008 15:48:54 +0000 (15:48 -0000)]
* signal.c: Fix the Win32 build.

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

16 years ago2008-02-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 5 Feb 2008 15:46:59 +0000 (15:46 -0000)]
2008-02-05  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_ptr_to_struct): Make the signature non-pinvoke.
(mono_marshal_get_struct_to_ptr): Ditto.

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

16 years ago2008-02-05 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 5 Feb 2008 15:19:28 +0000 (15:19 -0000)]
2008-02-05  Ivan N. Zlatev  <contact@i-nz.net>

 * PropertyGridView.cs: Do not trucate custom editors' width
 and align them to the left.
 [Fixes #358353 and #358349]

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

16 years ago2008-02-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 5 Feb 2008 15:11:28 +0000 (15:11 -0000)]
2008-02-05  Marek Safar  <marek.safar@gmail.com>

A test for bug #325372

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

16 years ago2008-02-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 5 Feb 2008 15:11:11 +0000 (15:11 -0000)]
2008-02-05  Marek Safar  <marek.safar@gmail.com>

A fix for bug #325372
  * class.cs: Use generic type comparison when testing method signatures.

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

16 years ago2008-02-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 5 Feb 2008 14:47:46 +0000 (14:47 -0000)]
2008-02-05  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_runtime_invoke): Fix the signature of
cctor_signature.

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

16 years agodum de dum
Jb Evain [Tue, 5 Feb 2008 14:15:08 +0000 (14:15 -0000)]
dum de dum

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

16 years agoNew tests.
Marek Safar [Tue, 5 Feb 2008 14:03:12 +0000 (14:03 -0000)]
New tests.

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

16 years ago2008-02-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 5 Feb 2008 14:01:47 +0000 (14:01 -0000)]
2008-02-05  Marek Safar  <marek.safar@gmail.com>

A fix for bug #357047
  * ecore.cs: Applied C# 3.0 changes to better conversion.

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

16 years ago2008-02-05 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 5 Feb 2008 13:57:20 +0000 (13:57 -0000)]
2008-02-05  Dick Porter  <dick@ximian.com>

* versioninfo.c (VerLanguageName): Implement VerLanguageName.

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

16 years ago2008-02-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 5 Feb 2008 13:02:41 +0000 (13:02 -0000)]
2008-02-05  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: GetAbsoluteVirtualPath correctly converts
non-rooted relative paths to absolute ones now. Fixes bug
#357504.

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

16 years agoTARGET_J2EE:
Igor Zelmanovich [Tue, 5 Feb 2008 12:50:22 +0000 (12:50 -0000)]
TARGET_J2EE:
consider 'mainsoft.render.body.content.only'
init parameter.

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

16 years ago2008-02-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 5 Feb 2008 12:13:31 +0000 (12:13 -0000)]
2008-02-05  Marek Habersack  <mhabersack@novell.com>

* GenericBuildProvider.cs: introduced a new abstract method,
GetReferencedAssemblies, which is called on descendant builders to
get a list of assemblies referenced by the parsed file. Fixes bug
#357499.

* AssemblyBuilder.cs: added a new overload of the
AddAssemblyReference method, to be used by build providers to
register assemblies collected by the corresponding parser.

* TemplateBuildProvider.cs, SimpleBuildProvider.cs: implemented
overload of the new abstract method GetReferencedAssemblies.

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

16 years agoadd bug number
Jb Evain [Tue, 5 Feb 2008 11:48:22 +0000 (11:48 -0000)]
add bug number

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

16 years ago2008-02-05 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 5 Feb 2008 11:42:35 +0000 (11:42 -0000)]
2008-02-05  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/TypeDefinition.cs:
System.Enum by itself is not a value type.

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

16 years ago2008-02-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 5 Feb 2008 11:28:34 +0000 (11:28 -0000)]
2008-02-05  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs: introduced a new overload for the Parse method
which accepts a bool indicating whether or not to initialize the
parser. The overload is used when parsing server-side
includes. Fixes bug #357498

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

16 years ago2008-02-05 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 5 Feb 2008 11:22:56 +0000 (11:22 -0000)]
2008-02-05  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Signatures/SignatureReader.cs:
Properly read fnptr local variables. Fix #358507.

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

16 years ago2008-02-05 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 5 Feb 2008 10:56:40 +0000 (10:56 -0000)]
2008-02-05  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Binary/DefaultImporter.cs:
Import modifiers and sentinels, patch from:
Andrea Carlo Ornstein <andrea.ornstein@st.com>

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

16 years ago2008-02-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 5 Feb 2008 10:51:36 +0000 (10:51 -0000)]
2008-02-05  Marek Safar  <marek.safar@gmail.com>

A test for bug #358374

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

16 years ago2008-02-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 5 Feb 2008 10:50:43 +0000 (10:50 -0000)]
2008-02-05  Marek Safar  <marek.safar@gmail.com>

A fix for bug #358374
  * cs-parser.jay: Correctly set modifiers for all constructor types.

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

16 years ago2008-02-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 5 Feb 2008 07:06:42 +0000 (07:06 -0000)]
2008-02-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* System.Windows.Forms_test.dll.sources: Added
BindingsCollectionTest.cs.

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

16 years ago * BindingsCollectionTest.cs: New file.
Carlos Alberto Cortez [Tue, 5 Feb 2008 07:04:58 +0000 (07:04 -0000)]
* BindingsCollectionTest.cs: New file.

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

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

16 years ago2008-02-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 5 Feb 2008 07:03:45 +0000 (07:03 -0000)]
2008-02-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingsCollection.cs: Implement 2.0 CollectionChanging event.
Also fix the arguments passed to CollectionChangeEventArgs in the
related methods.

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

16 years agoIn .:
Geoff Norton [Tue, 5 Feb 2008 01:00:40 +0000 (01:00 -0000)]
In .:
2008-02-04  Geoff Norton  <gnorton@novell.com>

* Hwnd.cs: The conversion to Quartz coordinates happens in
System.Drawing.  Removing this translation from here.

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

16 years agosvn path=/trunk/mcs/; revision=94822
Geoff Norton [Tue, 5 Feb 2008 00:26:57 +0000 (00:26 -0000)]
svn path=/trunk/mcs/; revision=94822

16 years agoIn System.Windows.Forms.CarbonInternal:
Geoff Norton [Mon, 4 Feb 2008 23:12:17 +0000 (23:12 -0000)]
In System.Windows.Forms.CarbonInternal:
* KeyboardHandler.cs: Filter the translate call.

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

* KeyboardHandler.cs: Commit support for the last batch of keytypes
(F1-12; Fn+modifiers; etc).

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

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

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

 * DateTimeConverter.cs: handle empty strings in ConvertFrom.
 * DateTimeConverterTests.cs: Test ConvertFrom with empty string.

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

16 years agoIn System.Windows.Forms.CarbonInternal:
Geoff Norton [Mon, 4 Feb 2008 23:00:16 +0000 (23:00 -0000)]
In System.Windows.Forms.CarbonInternal:
* KeyboardHandler.cs: Commit support for the last batch of keytypes
(F1-12; Fn+modifiers; etc).

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

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

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

 * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs,
 CategoryGridEntry.cs, RootGridEntry.cs, GridItem.cs,
 GridItemCollection.cs:
 PropertyGrid rewrite part 2. Tons of bugfixes and new features.

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

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

* X11Keyboard.cs: VK_MENU should send a KEYUP instead of
SYSKEYUP if any other key has been pressed in the mean time.
Fixes #324404

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

16 years agoIn System.Windows.Forms.CarbonInternal:
Geoff Norton [Mon, 4 Feb 2008 22:29:44 +0000 (22:29 -0000)]
In System.Windows.Forms.CarbonInternal:
* KeyboardHandler.cs: lParam should be cleared in the broken menu
filter case.

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

* KeyboardHandler.cs: Control+key does not generate SYSKEY, it prevents
SYSKEY (ctrl+alt+foo).  Also implement broken menu keyup filtering.

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

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

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

 * ColorEditor.cs: Perfom action in OnMouseUp only if in client.
 [Fixes bug #358444]

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

16 years agoIn System.Windows.Forms.CarbonInternal:
Geoff Norton [Mon, 4 Feb 2008 22:14:44 +0000 (22:14 -0000)]
In System.Windows.Forms.CarbonInternal:
* KeyboardHandler.cs: Control+key does not generate SYSKEY, it prevents
SYSKEY (ctrl+alt+foo).  Also implement broken menu keyup filtering.

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

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

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