Noam Lampert [Tue, 13 May 2008 10:42:24 +0000 (10:42 -0000)]
Fix run-tests script to copy run logs.
svn path=/trunk/mcs/; revision=103067
Roei Erez [Tue, 13 May 2008 10:25:43 +0000 (10:25 -0000)]
fix JAVAEE tests script
svn path=/trunk/mcs/; revision=103066
Marek Safar [Tue, 13 May 2008 08:42:50 +0000 (08:42 -0000)]
New tests.
svn path=/trunk/mcs/; revision=103064
Marek Safar [Tue, 13 May 2008 08:40:35 +0000 (08:40 -0000)]
2008-05-13 Marek Safar <marek.safar@gmail.com>
A fix for bug #378419
* namespace.cs: Inspect also parent namespaces not only namespace entries.
svn path=/trunk/mcs/; revision=103063
Atsushi Eno [Tue, 13 May 2008 08:32:34 +0000 (08:32 -0000)]
2008-05-13 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : make it build under net_2_0 build profile.
* DataRowComparer.cs, DataRowComparer_1.cs, DataRowExtensions.cs,
DataTableExtensions.cs, EnumerableRowCollection.cs,
EnumerableRowCollectionExtensions.cs, EnumerableRowCollection_1.cs,
OrderedEnumerableRowCollection.cs, TypedTableBase.cs,
TypedTableBaseExtensions.cs : stubbed all.
svn path=/trunk/mcs/; revision=103062
Atsushi Eno [Tue, 13 May 2008 07:23:20 +0000 (07:23 -0000)]
2008-05-13 Atsushi Enomoto <atsushi@ximian.com>
* XplatUIX11.cs, X11Keyboard.cs :
Significant refactoring on XIM support. Now IM engine UI
should show up, at mostly-correct preedit position.
- Eliminated use of FocusWindow, as it is never mapped
and hence blocks correct preedit position. XIC is now
created per window, and it must be destroyed too when
the window is destroyed.
- WM_QUIT messages should not be filtered even when hwnd
is zombie. Filtering it could cause endless loop.
- Preedit position must move only when the window is alive.
- Make it IDisposable and make sure to release XIM/XICs.
svn path=/trunk/mcs/; revision=103060
Atsushi Eno [Tue, 13 May 2008 06:49:06 +0000 (06:49 -0000)]
2008-05-13 Atsushi Enomoto <atsushi@ximian.com>
* Timer.cs, Control.cs, Form.cs, ApplicationContext.cs,
XplatUIX11.cs, XplatUIWin32.cs :
fix for bug #325033 and #387693;
- WM_QUIT should not be sent when no running application
exists.
- SetTimer/KillTimer (especially on win32) should be
invoked for the window that the timer is/will_be attached.
- There could be unattached timers to a window when it's
started. For those timers, hold pending timers and when
a window is mapped, attach them to it.
- WaitForHwndMessage() could run into loop when
WM_SHOWWINDOW is handled before this method is called.
So, strictly check wm_showwindow state.
- Tick handler should not be invoked while one Tick handler
call is still running (introduced Busy state).
* TimerTest.cs : added test for bug #325033.
svn path=/trunk/mcs/; revision=103059
Jonathan Pobst [Tue, 13 May 2008 01:36:16 +0000 (01:36 -0000)]
2008-05-12 Jonathan Pobst <monkey@jpobst.com>
* ApplicationTest.cs: Disable test that I am tired of seeing
false positives on the buildbot.
svn path=/trunk/mcs/; revision=103054
Andreia Gaita [Tue, 13 May 2008 01:35:34 +0000 (01:35 -0000)]
* System.Windows.Forms/WebBrowserBase.cs: Override Internal alternative
methods for SetBoundsCore and OnResize instead of the protected
ones.
* System.Windows.Forms/Control.cs: Move SetBoundsCore and OnResize
implementations to SetBoundsCoreInternal and OnResizeInternal, so
they can be overriden internally (WebBrowserBase needs to catch
them but can't override the protected methods without api compat
problems)
2008-05-13 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=103053
Andreia Gaita [Tue, 13 May 2008 00:43:22 +0000 (00:43 -0000)]
* System.Windows.Forms/WebBrowserBase.cs: Hiding away non-public
overrides for api compat
2008-05-13 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=103052
Carlos Alberto Cortez [Tue, 13 May 2008 00:02:36 +0000 (00:02 -0000)]
2009-05-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Binding.cs:
* ListView.cs: Remove debug messages.
svn path=/trunk/mcs/; revision=103051
Carlos Alberto Cortez [Mon, 12 May 2008 23:57:57 +0000 (23:57 -0000)]
2008-05-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ComboBox.cs: Don't do any calculation for simple mode if the listbox
area is empty. Also calculate scrollbars in Simple mode based in area
height and total number of items, not in MaxDropDownItems.
Fixes part of #371991.
svn path=/trunk/mcs/; revision=103050
Zoltan Varga [Mon, 12 May 2008 23:57:35 +0000 (23:57 -0000)]
2008-05-13 Zoltan Varga <vargaz@gmail.com>
* exit-stress.cs: New stress test program for testing Environment.Exit () and
threads.
* stress-runner.cs: Add 'exit-stress', add a few new /proc/pid/status entries.
svn path=/trunk/mono/; revision=103049
Zoltan Varga [Mon, 12 May 2008 23:39:43 +0000 (23:39 -0000)]
2008-05-13 Zoltan Varga <vargaz@gmail.com>
* threads.c (remove_and_abort_threads): Stop and wait for threads which are
aborting or aborted as well. Fixes #376391.
svn path=/trunk/mono/; revision=103048
Zoltan Varga [Mon, 12 May 2008 22:19:08 +0000 (22:19 -0000)]
2008-05-13 Zoltan Varga <vargaz@gmail.com>
* threads.c (mono_thread_execute_interruption): Avoid depending on no longer
existing runtime state in the Suspend handler during shutdown.
svn path=/trunk/mono/; revision=103042
Jb Evain [Mon, 12 May 2008 21:46:01 +0000 (21:46 -0000)]
2008-05-12 Jb Evain <jbevain@novell.com>
* Makefile.am: fix compilation of 2.1 tests.
svn path=/trunk/mono/; revision=103038
Jonathan Pobst [Mon, 12 May 2008 21:18:45 +0000 (21:18 -0000)]
2008-05-12 Jonathan Pobst <monkey@jpobst.com>
* PictureBox.cs: Always invalidate on resize. Fixes an app for jhill.
svn path=/trunk/mcs/; revision=103035
Jonathan Pobst [Mon, 12 May 2008 19:34:54 +0000 (19:34 -0000)]
2008-05-12 Jonathan Pobst <monkey@jpobst.com>
* BindingSource.cs: GetListSortDescription is not public.
svn path=/trunk/mcs/; revision=103029
Jonathan Pobst [Mon, 12 May 2008 19:29:13 +0000 (19:29 -0000)]
2008-05-12 Jonathan Pobst <monkey@jpobst.com>
* WebBrowser.cs, WebBrowserBase.cs, WebBrowserSiteBase.cs: corcompare.
svn path=/trunk/mcs/; revision=103028
Jonathan Pobst [Mon, 12 May 2008 19:11:43 +0000 (19:11 -0000)]
2008-05-12 Jonathan Pobst <monkey@jpobst.com>
* HtmlElement.cs: Fix parameter names to match MS.
* HtmlWindowCollection.cs: Should not be sealed.
svn path=/trunk/mcs/; revision=103024
Jonathan Pobst [Mon, 12 May 2008 17:25:23 +0000 (17:25 -0000)]
2008-05-12 Jonathan Pobst <monkey@jpobst.com>
* ThemeWin32Classic.cs: Always draw the scrollbar area under the thumb
button, because the thumb button will not get drawn if the scrollbar
is disabled. [Fixes bug #389262]
svn path=/trunk/mcs/; revision=103018
Jonathan Pobst [Mon, 12 May 2008 17:10:10 +0000 (17:10 -0000)]
2008-05-12 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: Handle End key for multi-column listboxen.
[Fixes bug #389266]
svn path=/trunk/mcs/; revision=103016
Jonathan Pobst [Mon, 12 May 2008 16:39:19 +0000 (16:39 -0000)]
2008-05-12 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: Fix algorithm to determine which column our item is in.
[Fixes bug #389265]
svn path=/trunk/mcs/; revision=103015
Jonathan Pobst [Mon, 12 May 2008 16:23:01 +0000 (16:23 -0000)]
2008-05-12 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: Invalidate when the listbox is resized.
[Fixes bug #389256]
svn path=/trunk/mcs/; revision=103014
Jonathan Pobst [Mon, 12 May 2008 16:17:28 +0000 (16:17 -0000)]
2008-05-12 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: There is always at least one row in the ListBox (if
we are doing these calculations.) [Fixes bug #389253]
svn path=/trunk/mcs/; revision=103013
Jonathan Pobst [Mon, 12 May 2008 16:07:18 +0000 (16:07 -0000)]
2008-05-12 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: There is always at least one column in the ListBox.
[Fixes bug #389250]
svn path=/trunk/mcs/; revision=103012
Jonathan Pobst [Mon, 12 May 2008 15:37:29 +0000 (15:37 -0000)]
2008-05-12 Jonathan Pobst <monkey@jpobst.com>
* errorProvider.ico, mono.ico: Slightly better icons.
svn path=/trunk/mcs/; revision=103010
Atsushi Eno [Mon, 12 May 2008 15:19:48 +0000 (15:19 -0000)]
2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
* XNode.cs, XElement.cs, XUtil.cs, XDocument.cs, XContainer.cs:
Add[Before|After]Self() now also checks argument node and joins
concatenating strings.
* XElementTest.cs, XDocumentTest.cs : fixed tests; do now allow
XDeclaration addition to XElement, while allow it being added
to XDocument.
Added test for AddAfterSelf() for concatenating string arguments.
svn path=/trunk/mcs/; revision=103008
Ivan Zlatev [Mon, 12 May 2008 14:53:39 +0000 (14:53 -0000)]
2008-05-12 Ivan N. Zlatev <contact@i-nz.net>
* StringCollectionEditor.cs: Handle String.Empty as a valid
edited value.
[Fixes bug #389268]
svn path=/trunk/mcs/; revision=103007
Marek Safar [Mon, 12 May 2008 14:00:34 +0000 (14:00 -0000)]
2008-05-12 Marek Safar <marek.safar@gmail.com>
* class.cs (Constructor): Added IsCompilerGenerated.
svn path=/trunk/mcs/; revision=103003
Marek Safar [Mon, 12 May 2008 13:53:40 +0000 (13:53 -0000)]
Fixed.
svn path=/trunk/mcs/; revision=103002
Zoltan Varga [Mon, 12 May 2008 13:21:51 +0000 (13:21 -0000)]
2008-05-12 Zoltan Varga <vargaz@gmail.com>
* threads.c (mono_thread_request_interruption): Add some FIXMEs.
* threads.c (mono_thread_suspend_all_other_threads): Add support for threads
which are starting up or shutting down.
* threads.c (mono_threads_set_shutting_down): Don't return a value since
this function never returns if the runtime is already shutting down.
* icall.c (ves_icall_System_Environment_Exit): Update after
mono_threads_set_shutting_down () signature change.
svn path=/trunk/mono/; revision=103000
Marek Safar [Mon, 12 May 2008 13:02:47 +0000 (13:02 -0000)]
Updated.
svn path=/trunk/mcs/; revision=102999
Marek Safar [Mon, 12 May 2008 13:01:44 +0000 (13:01 -0000)]
2008-05-12 Marek Safar <marek.safar@gmail.com>
* expression.cs: Enum binary operators can accept non-enum operand only when
is implicitly convertible to underlying type.
svn path=/trunk/mcs/; revision=102998
Noam Lampert [Mon, 12 May 2008 12:45:51 +0000 (12:45 -0000)]
2008-05-12 Noam Lampert <noaml@mainsoft.com>
* HttpApplication.cs: Fix regressions introduced by latest commit
svn path=/trunk/mcs/; revision=102997
Marek Safar [Mon, 12 May 2008 11:44:49 +0000 (11:44 -0000)]
Fixed.
svn path=/trunk/mcs/; revision=102996
Marek Safar [Mon, 12 May 2008 11:37:39 +0000 (11:37 -0000)]
2008-05-12 Marek Safar <marek.safar@gmail.com>
A fix for bug #389272
* support.cs: Workaround System.InvalidOperationException for enums.
svn path=/trunk/mcs/; revision=102995
Atsushi Eno [Mon, 12 May 2008 11:11:26 +0000 (11:11 -0000)]
2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
* XNode.cs : fixed AddAfterSelf() to process order of inserted
collection correctly (it could have resulted in reverse order).
* XElement.cs : added AddAfterSelfCollection().
svn path=/trunk/mcs/; revision=102994
Gert Driesen [Mon, 12 May 2008 10:50:40 +0000 (10:50 -0000)]
* corlib_test.dll.sources: Addd MethodBaseTest.cs.
* TypeTest.cs: Added GetType, GetTypeArray and GetTypeFromHandle tests
for argument checks.
* Type.cs: Modifies exceptions to match MS. Changed GetTypeFromHandle
on 1.0 profile to throw ArgumentException when handle is invalid,
* FieldInfoTest.cs: Added tests for GetFieldFromHandle.
* MethodBaseTest.cs: Added tests for GetMethodFromHandle.
svn path=/trunk/mcs/; revision=102993
Atsushi Eno [Mon, 12 May 2008 10:16:06 +0000 (10:16 -0000)]
2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
* XContainer.cs, XElement.cs, XNode.cs, XUtil.cs :
made several refactoring on handling "content" items in couple of
Add*() methods. Attributes should be allowed in XElement.Add(),
while they should be rejected in XNode.Add*Self().
Similarly, Add() and SetValue() should reject any invalid content
items.
Add() should also append string content to the last node when the
last node is text.
* XDocumentTest.cs, XElementTest.cs :
Added couple of tests for Add() and AddBeforeSelf().
svn path=/trunk/mcs/; revision=102990
Marek Safar [Mon, 12 May 2008 09:51:15 +0000 (09:51 -0000)]
Fixed test.
svn path=/trunk/mcs/; revision=102989
Atsushi Eno [Mon, 12 May 2008 09:21:29 +0000 (09:21 -0000)]
oops, forgot to commit.
svn path=/trunk/mcs/; revision=102988
Atsushi Eno [Mon, 12 May 2008 09:01:12 +0000 (09:01 -0000)]
2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
* XUtil.cs : added ExpandArray() and marked some members as wrong.
* XStreamingElement.cs : removed use of ToNodes().
svn path=/trunk/mcs/; revision=102987
Atsushi Eno [Mon, 12 May 2008 08:48:54 +0000 (08:48 -0000)]
2008-05-12 Atsushi Enomoto <atsushi@ximian.com>
* XStreamingElement.cs : couple of fixes:
- object[] args are params.
- Fixed WriteContents(object[],XmlWriter) wrong iteration.
- do not write xmldecl when it does not exist (OmitXmlDeclaration).
* XStreamingElementTest.cs : new test.
* System.Xml.Linq_test.dll.sources : added XStreamingElementTest.cs.
svn path=/trunk/mcs/; revision=102986
Noam Lampert [Mon, 12 May 2008 08:47:05 +0000 (08:47 -0000)]
Fix test execution script
svn path=/trunk/mcs/; revision=102985
Marek Safar [Mon, 12 May 2008 08:25:55 +0000 (08:25 -0000)]
2008-05-12 Marek Safar <marek.safar@gmail.com>
A fix for bug #389073
* convert.cs: More undocumented explicit IntPtr/UIntPtr conversions.
svn path=/trunk/mcs/; revision=102984
Marek Safar [Mon, 12 May 2008 08:22:38 +0000 (08:22 -0000)]
New test.
svn path=/trunk/mcs/; revision=102983
Noam Lampert [Mon, 12 May 2008 08:16:20 +0000 (08:16 -0000)]
Add testcase for pre-escaped strings preceded by non-english characters.
svn path=/trunk/mcs/; revision=102982
Raja R Harinath [Mon, 12 May 2008 05:03:35 +0000 (05:03 -0000)]
* scripts/mono-service.in: Undo 2008-05-08. '2>&1' is not a bash-ism.
FWIW, it's in Unix V7 sh -- it's even used as an example in sh(1).
svn path=/trunk/mono/; revision=102980
Carlos Alberto Cortez [Mon, 12 May 2008 00:25:08 +0000 (00:25 -0000)]
* ComboBox.cs: When handle is created call UpdateComboBoxBounds to
ensure in Simple mode that the height is exactly the requested one.
Also add the ComboBoxListControl to the controls collection in Simple
mode even if handle hasn't been created.
Fixes part of #371991.
2008-05-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=102979
Carlos Alberto Cortez [Sun, 11 May 2008 21:13:32 +0000 (21:13 -0000)]
2008-05-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ComboBox.cs: For ComboListBox control -specially in Simple mode-, give focus to
our ComboBox owner instead of giving it back to the previous control (
as done in other controls). Also remove the empty override of Select
method, since we want to be selected *and* give focus to our owner.
This should let the user do keys-navigation in Simple mode.
svn path=/trunk/mcs/; revision=102974
Gert Driesen [Sun, 11 May 2008 20:03:52 +0000 (20:03 -0000)]
* FieldBuilder.cs: Added null check for type.
* TypeBuilder.cs: For enums, construct UnderlyingSystemType when
first instance field is defined instead of having to lookup it up on
demand. Avoid cast in IsCompilerContext.
* TypeBuilderTest.cs: Added test for type null check in DefineField.
svn path=/trunk/mcs/; revision=102973
Miguel de Icaza [Sun, 11 May 2008 19:23:52 +0000 (19:23 -0000)]
Fix: smcs can now reference System.Core properly
svn path=/trunk/mcs/; revision=102971
Gert Driesen [Sun, 11 May 2008 19:13:51 +0000 (19:13 -0000)]
* TypeBuilderTest.cs: Renamed tests and updated bug number. Enabled
test for UnderlyingSystemType, and improved it. Improved test for
null parent.
* ConstructorOnTypeBuilderInstTest.cs: Enabled test for GetParameters.
* ConstructorBuilderTest.cs: Enabled test for GetParameters. Renamed
test for SetCustomAttribute, and added new tests.
* ModuleBuilderTest.cs: Added tests for bug #387404.
* TypeBuilder.cs: Use Assembly.FullName instead of AssemblyName.
In UnderlyingSystemType, return UnderlyingSystemType of created type
when available. For an enum, UnderlyingSystemType is the type of the
first instance field. If no instance field is available, throw an
InvalidOperationException. Retain original behavior when operating in
compiler context.
* ConstructorBuilder.cs: Moved implementation of GetParameters to
GetParametersInternal to allow it to be used internally when type is
not yet created.
* CustomAttributeBuilder.cs: Added GetParameters method that uses
GetParametersInternal on ConstructorBuilder, and use it where
necessary.
svn path=/trunk/mcs/; revision=102970
Roei Erez [Sun, 11 May 2008 15:45:57 +0000 (15:45 -0000)]
fix loading a SectionGroup without any section child.
svn path=/trunk/mcs/; revision=102968
Marek Safar [Sun, 11 May 2008 09:30:14 +0000 (09:30 -0000)]
Flush
svn path=/trunk/mcs/; revision=102962
Sebastien Pouliot [Sun, 11 May 2008 02:50:24 +0000 (02:50 -0000)]
Makefile: Include silverlight.pub in dist so monobuild goes on...
svn path=/trunk/mcs/; revision=102961
Geoff Norton [Sat, 10 May 2008 21:10:01 +0000 (21:10 -0000)]
2008-05-10 Geoff Norton <gnorton@novell.com>
* MouseHandler.cs: Remove some accidentally commited Console.WriteLine's
svn path=/trunk/mcs/; revision=102946
Geoff Norton [Sat, 10 May 2008 20:01:24 +0000 (20:01 -0000)]
2008-05-10 Geoff Norton <gnorton@novell.com>
* MouseHandler.cs: Fix the generation of msg.wParam for mouse up/down
events. Fixes #368041
svn path=/trunk/mcs/; revision=102945
Geoff Norton [Sat, 10 May 2008 19:29:32 +0000 (19:29 -0000)]
2008-05-10 Geoff Norton <gnorton@novell.com>
* WindowHandler.cs: Send ENTER/EXITSIZEMOVE when doing minimize/maximize
events as well as resize events. Fixes #346529
svn path=/trunk/mcs/; revision=102943
Geoff Norton [Sat, 10 May 2008 18:41:32 +0000 (18:41 -0000)]
2008-05-10 Geoff Norton <gnorton@novell.com>
* EventHandler.cs: Subscribe to Collapsed/Expanded.
* WindowHandler.cs: Send WINDOWPOSCHANGED with Collapsed/Expanded. Fixes
#325122
svn path=/trunk/mcs/; revision=102939
Geoff Norton [Sat, 10 May 2008 18:33:47 +0000 (18:33 -0000)]
2008-05-10 Geoff Norton <gnorton@novell.com>
* XplatUICarbon.cs: Fix a typo with the last commit
svn path=/trunk/mcs/; revision=102937
Geoff Norton [Sat, 10 May 2008 18:27:22 +0000 (18:27 -0000)]
2008-05-10 Geoff Norton <gnorton@novell.com>
* XplatUICarbon.cs: Dont use HIViewScrollRect as it's causing painting
problems with rapid scrolling of treeviews. Fixes #381084
svn path=/trunk/mcs/; revision=102936
Geoff Norton [Sat, 10 May 2008 17:36:44 +0000 (17:36 -0000)]
2008-05-10 Geoff Norton <gnorton@novell.com>
* MouseHandler.cs: For some reason carbon gives us kEventMouseDown
in the grow box, but not kEventMouseUp. If a form has a managed resize
grow box under our unmanaged one, it can get confused into thinking the
mouse is permanantly down. Lets just not report grow box events.
Fixes #381097
svn path=/trunk/mcs/; revision=102935
Geoff Norton [Sat, 10 May 2008 17:07:26 +0000 (17:07 -0000)]
2008-05-10 Geoff Norton <gnorton@novell.com>
* XplatUICarbon.cs: Deactivate the active window before
activating the desired window. Completes fixing #386504
svn path=/trunk/mcs/; revision=102934
Geoff Norton [Sat, 10 May 2008 17:07:20 +0000 (17:07 -0000)]
2008-05-10 Geoff Norton <gnorton@novell.com>
* WindowHandler.cs: Properly raise inactiate/activate events
Partially fixes #386504
svn path=/trunk/mcs/; revision=102933
Marek Safar [Sat, 10 May 2008 15:42:15 +0000 (15:42 -0000)]
2008-05-10 Marek Safar <marek.safar@gmail.com>
* driver.cs: Split Parse.
* location.cs (LookupFile): Uses string.Empty.
svn path=/trunk/mcs/; revision=102928
Gonzalo Paniagua Javier [Sat, 10 May 2008 04:25:25 +0000 (04:25 -0000)]
2008-05-07 Gonzalo Panigua Javier <gonzalo.mono@gmail.com>
* HttpApplication.cs: create a fake context while loading the
modules on the first request so that the modules don't mess up
with the actual output of that request.
svn path=/trunk/mcs/; revision=102912
Carlos Alberto Cortez [Sat, 10 May 2008 01:28:55 +0000 (01:28 -0000)]
* ListView.cs: When calculating scrollbars, set horizontal scroll bar
SmallChange to the item size width plus the padding, to match .net.
2008-05-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=102909
Carlos Alberto Cortez [Fri, 9 May 2008 23:58:33 +0000 (23:58 -0000)]
* FileDialog.cs: Apply the custom filter typed by the user in the file
name combobox as much as possible while navigating in the file dialog.
Fixes #385261.
2008-05-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=102907
Rodrigo Kumpera [Fri, 9 May 2008 23:57:08 +0000 (23:57 -0000)]
2008-05-09 Rodrigo Kumpera <rkumpera@novell.com>
* class.c: Added can_access_instantiation to verify if the instantiation
is visible. Fix access check for nested types as they returned TRUE
before doing type and generic instantiation visibility checks.
svn path=/trunk/mono/; revision=102906
Rodrigo Kumpera [Fri, 9 May 2008 23:50:03 +0000 (23:50 -0000)]
2008-05-09 Rodrigo Kumpera <rkumpera@novell.com>
* make_type_visibility_test.sh: New test
generator for visibility tests of generic
method and type arguments.
* make_tests.sh: Added tests using using
the new generator.
svn path=/trunk/mono/; revision=102905
Carlos Alberto Cortez [Fri, 9 May 2008 22:51:07 +0000 (22:51 -0000)]
2008-05-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingTest.cs: Activate a pair of previously not working 2.0 tests.
svn path=/trunk/mcs/; revision=102901
Carlos Alberto Cortez [Fri, 9 May 2008 22:48:29 +0000 (22:48 -0000)]
2008-05-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Binding.cs: Actually use NullValue if the retrieved value of
data source is null or DBNull. Makes a test pass.
svn path=/trunk/mcs/; revision=102900
Miguel de Icaza [Fri, 9 May 2008 22:26:16 +0000 (22:26 -0000)]
Update version number for Silverlight 2.0 assemblies
svn path=/trunk/mcs/; revision=102893
Miguel de Icaza [Fri, 9 May 2008 22:25:28 +0000 (22:25 -0000)]
Add silverlight.pub here too
svn path=/trunk/mcs/; revision=102892
Miguel de Icaza [Fri, 9 May 2008 21:38:15 +0000 (21:38 -0000)]
Add test I forgot to checkin the other day
svn path=/trunk/mcs/; revision=102888
Rodrigo Kumpera [Fri, 9 May 2008 21:28:07 +0000 (21:28 -0000)]
2008-05-09 Rodrigo Kumpera <rkumpera@novell.com>
* make_tests.sh: Changed one test from unverifiable
to valid as it only fails on MS runtime due to a bug
on its implementation.
svn path=/trunk/mono/; revision=102886
Gert Driesen [Fri, 9 May 2008 20:49:59 +0000 (20:49 -0000)]
* CSharpCodeGenerator.cs: On 2.0 profile, add support for params
keyword when System.ParamArrayAttribute custom attribute is added.
Fixes bug #387877.
* CodeGeneratorFromTypeTestBase.cs: Added tests for
System.ParamArrayAttribute custom attribute.
* CodeGeneratorFromTypeTest.cs: Added tests for
System.ParamArrayAttribute custom attribute.
svn path=/trunk/mcs/; revision=102885
Marek Habersack [Fri, 9 May 2008 20:11:09 +0000 (20:11 -0000)]
2008-05-09 Marek Habersack <mhabersack@novell.com>
* SocketAsyncEventArgs.cs: implemented support for executing
asynchronous socket actions, called from the new xxxxAsync methods
in Socket. The asynchronous operations do not use the ThreadPool
as I can't get the sample applications to work (send/receive
callbacks don't work) - it may change in the future.
* Socket.cs: implemented several xxxxAsync 2.0sp1 methods. The
ones not implemented for now are: ReceiveMessageFromAsync and
SendPacketsAsync. AcceptAsync doesn't perform the check for the
buffer size for now - need to implement runtime support for that.
Made several methods internal, so that they can be accessed from
SocketAsyncEventArgs code.
svn path=/trunk/mcs/; revision=102884
Jonathan Pobst [Fri, 9 May 2008 19:21:24 +0000 (19:21 -0000)]
2008-05-09 Jonathan Pobst <monkey@jpobst.com>
* Makefile: Add .ico's to IMAGE_RESOURCES. Remove old .resources
files from RESX_RESOURCES.
* System.Windows.Forms.dll.resources: Remove old .resources files,
add .ico's.
2008-05-09 Jonathan Pobst <monkey@jpobst.com>
* Added mono.ico, errorProvider.ico.
2008-05-09 Jonathan Pobst <monkey@jpobst.com>
* Locale.cs: Comment out everything but GetText, modify GetText
to just return the parameter.
2008-05-09 Jonathan Pobst <monkey@jpobst.com>
* ErrorProvider.cs, Form.cs: Get icons from ResourceImageLoader.
* MimeIcon.cs: Provide a way to get icons from resources.
svn path=/trunk/mcs/; revision=102881
Zoltan Varga [Fri, 9 May 2008 15:18:41 +0000 (15:18 -0000)]
2008-05-09 Zoltan Varga <zovarga@debian.chello.hu>
* Makefile.am (get-monolite-latest): Create mcs/lib if not existing.
svn path=/trunk/mono/; revision=102871
Jb Evain [Fri, 9 May 2008 13:28:39 +0000 (13:28 -0000)]
fix AsQueryable signature
svn path=/trunk/mcs/; revision=102866
Jb Evain [Fri, 9 May 2008 13:28:21 +0000 (13:28 -0000)]
small cleanup
svn path=/trunk/mcs/; revision=102865
Marek Habersack [Fri, 9 May 2008 12:19:38 +0000 (12:19 -0000)]
added the files from r102790 to the sources list
svn path=/trunk/mcs/; revision=102862
Kornél Pál [Fri, 9 May 2008 12:13:12 +0000 (12:13 -0000)]
mixed-mode: Added mixed-mode assembly tests.
svn path=/trunk/mono/; revision=102861
Jb Evain [Fri, 9 May 2008 07:27:10 +0000 (07:27 -0000)]
refactor Average
svn path=/trunk/mcs/; revision=102855
Carlos Alberto Cortez [Fri, 9 May 2008 06:26:54 +0000 (06:26 -0000)]
2008-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Binding.cs: When the value retrieved from the control to be assigned
to the data source is null, actually use the 2.0 DataSourceNullValue
value. Make pass a data binding test.
svn path=/trunk/mcs/; revision=102854
Jonathan Pobst [Fri, 9 May 2008 00:15:12 +0000 (00:15 -0000)]
2008-05-08 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: We need to invalidate implicit children even when
invalidate is called with invalidatechildren = false. (Implicit
children are really part of the parent.)
* ListView.cs: Double-buffer internal child controls for less
flicker.
* ThemeWin32Classic.cs: Remove an extra nested loop in drawing
owner ListView subitems for greatly increased performance.
[Fixes bug #388477]
svn path=/trunk/mcs/; revision=102851
Carlos Alberto Cortez [Thu, 8 May 2008 23:11:58 +0000 (23:11 -0000)]
2008-05-08 Carlos Alberto Cortez <calebrto.cortez@gmail.com>
* FileDialog.cs: When the user types a wildcard character in the
filename combobox, update the contents of the folder using the text as
a filter.
Fixes part of #385261.
svn path=/trunk/mcs/; revision=102847
Rodrigo Kumpera [Thu, 8 May 2008 22:41:57 +0000 (22:41 -0000)]
2008-05-08 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest.cs: Added regression tests for #354047.
svn path=/trunk/mcs/; revision=102845
Rodrigo Kumpera [Thu, 8 May 2008 22:40:38 +0000 (22:40 -0000)]
2008-05-08 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (mono_reflection_create_generic_class): The created type
must have a different container from its TypeBuilder. Otherwise they
will end sharing generic arguments, which is wrong.
Due to the sharing, making a generic instance of the created type using
the TypeBuider generic arguments resulted in the generic type definition
been returned, which is wrong as well.
As a bonus the code was leaking the type_params array. This memory should
be allocated from the image mempool.
This fixes bug #354047.
svn path=/trunk/mono/; revision=102844
Miguel de Icaza [Thu, 8 May 2008 22:23:54 +0000 (22:23 -0000)]
Add another qh to the culture of qh's
svn path=/trunk/mcs/; revision=102842
Miguel de Icaza [Thu, 8 May 2008 22:20:07 +0000 (22:20 -0000)]
2008-05-08 Miguel de Icaza <miguel@novell.com>
* ResourceSet.cs: Pass the ignoreCase argument, needed to
implement ResourceManager.IgnoreCase.
Silverlight 2.0 applications store "page.xaml" as the key in the
resource keys, but request Page.xaml ones.
* ResourceManager.cs: Avoid exception throwing and catching.
* RutimeResourceSet.cs: Add a constructor that is required to
deserialize Silverlight 2.0 applications when deserializing the
resources that contains the XAML files in assemblies.
We do not take advantage of this new constructor that uses an
IntPtrStream, instead we stick to the Stream API.
svn path=/trunk/mcs/; revision=102841
Robert Jordan [Thu, 8 May 2008 21:27:19 +0000 (21:27 -0000)]
2008-05-08 Robert Jordan <robertjj@gmx.net>
* scripts/mono-service.in: Replace bash-ism with `sh' syntax.
svn path=/trunk/mono/; revision=102837
Jb Evain [Thu, 8 May 2008 21:25:28 +0000 (21:25 -0000)]
optimize ToArray a bit
svn path=/trunk/mcs/; revision=102836
Jb Evain [Thu, 8 May 2008 21:19:18 +0000 (21:19 -0000)]
refactoring
svn path=/trunk/mcs/; revision=102834
Rodrigo Kumpera [Thu, 8 May 2008 21:18:06 +0000 (21:18 -0000)]
2008-05-08 Rodrigo Kumpera <rkumpera@novell.com>
* Activator.cs (CreateInstance): Check for null types when creating
the error message.
svn path=/trunk/mcs/; revision=102833
Robert Jordan [Thu, 8 May 2008 20:57:15 +0000 (20:57 -0000)]
In System.Collections:
2008-05-08 Robert Jordan <robertj@gmx.net>
* DictionaryEntry.cs: Rename fields for serialization
compatibility with MS. Accept null keys on 2.0 profile.
Fixes #381922.
In Test/System.Collections:
2008-05-08 Robert Jordan <robertj@gmx.net>
* DictionaryEntryTest.cs: Add tests for key's argument validation.
svn path=/trunk/mcs/; revision=102831
Jonathan Pobst [Thu, 8 May 2008 20:33:35 +0000 (20:33 -0000)]
2008-05-08 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: Various fixes for MultiColumn listboxen.
[Fixes bug #388114]
svn path=/trunk/mcs/; revision=102830