Jb Evain [Sun, 9 Sep 2007 13:08:38 +0000 (13:08 -0000)]
2007-09-09 Jb Evain <jbevain@novell.com>
* Mono.Cecil/GenericContext.cs
Mono.Cecil/ReflectionReader.cs
Mono.Cecil/DefaultImporter.cs:
Better handling of generic instances of references, where
the number of generic parameters is not known.
svn path=/trunk/mcs/; revision=85531
Roei Erez [Sun, 9 Sep 2007 11:28:40 +0000 (11:28 -0000)]
Add support for Negotiate (Kerberose) authentication scheme
svn path=/trunk/mcs/; revision=85530
Gert Driesen [Sun, 9 Sep 2007 09:18:01 +0000 (09:18 -0000)]
* ResXResourceReaderTest.cs: Added type conversion test.
* ResXResourceReader.cs: First consider MIME type, if set, regardless
of the presence of a type attribute. Only convert from base64 string
if "mimetype" is "...bytearray.base64" and type is set. When no MIME
type is set, ignore value of resource with a type, if the type is not
byte [] or has no TypeConverter that can convert from string. On 1.0
profile, use string value if "mimetype" or "type" are set and no
conversion was done.
svn path=/trunk/mcs/; revision=85529
Robert Jordan [Sat, 8 Sep 2007 23:43:59 +0000 (23:43 -0000)]
2007-09-09 Robert Jordan <robertj@gmx.net>
* sockets.c (_wapi_setsockopt): Add support for FreeBSD multicast
sockets. Fixes #81891.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=85528
Robert Jordan [Sat, 8 Sep 2007 23:16:34 +0000 (23:16 -0000)]
2007-09-09 Robert Jordan <robertj@gmx.net>
* GenericTest.cs: Add tests for bug #78882, #81554.
svn path=/trunk/mcs/; revision=85527
Robert Jordan [Sat, 8 Sep 2007 22:36:32 +0000 (22:36 -0000)]
2007-09-09 Robert Jordan <robertj@gmx.net>
* object.c (mono_class_proxy_vtable): Don't create remoting trampolines
for generic methods.
* object.c (mono_object_get_virtual_method): Handle generic methods.
Fixes bug #78882.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=85526
Robert Jordan [Sat, 8 Sep 2007 22:28:07 +0000 (22:28 -0000)]
In System.Runtime.Remoting:
2007-08-30 Robert Jordan <robertj@gmx.net>
* RemotingServices.cs (InternalExecuteMessage): Resolve interface
methods correctly. Fixes #81554. Ditto for generic methods.
* RemotingServices.cs (GetMethodBaseFromName): Reuse already computed
FieldSetter|GetterMethods.
* RemotingServices.cs (GetMethodBaseFromName): New overload that
takes generic arguments into account.
In System.Runtime.Remoting.Messaging:
2007-09-07 Robert Jordan <robertj@gmx.net>
* MethodCall (ResolveMethod): Handle generic methods in the
code that was introduced as a fix for #82240.
Fixes #81554.
svn path=/trunk/mcs/; revision=85525
Jonathan Pryor [Sat, 8 Sep 2007 19:07:17 +0000 (19:07 -0000)]
* dirent.c: NAME_MAX isn't defined on Solaris; fix the build.
svn path=/trunk/mono/; revision=85524
Paolo Molaro [Sat, 8 Sep 2007 15:49:57 +0000 (15:49 -0000)]
Sat Sep 8 18:16:01 CEST 2007 Paolo Molaro <lupus@ximian.com>
* image.c: fix locking in mono_image_load_file_for_image ().
svn path=/trunk/mono/; revision=85523
Carlos Alberto Cortez [Sat, 8 Sep 2007 08:45:55 +0000 (08:45 -0000)]
* ColumnHeaderSample.cs: Use 5 pixels as extra height instead of 8
to match .Net.
* ThemeWin32Classic.cs: For the columns text, use 5 pixels as left padding
instead of 8, just like above. Partially fixes #82734.
2007-09-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=85515
Carlos Alberto Cortez [Sat, 8 Sep 2007 08:39:05 +0000 (08:39 -0000)]
2007-09-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Patch by Ernesto Carrea <equistango at gmail.com>. Partially
fixes #82734.
* ListView.cs: Remove extra space between rows in Details view (match
.Net).
* ThemeWin32Classic.cs: Header text should use ListView.Font, not
the DefaultFont.
svn path=/trunk/mcs/; revision=85514
Gert Driesen [Sat, 8 Sep 2007 08:28:02 +0000 (08:28 -0000)]
* DirectoryTest.cs: Added test for bug #82440.
svn path=/trunk/mcs/; revision=85513
Gert Driesen [Sat, 8 Sep 2007 07:34:19 +0000 (07:34 -0000)]
* Application.cs: Modified ProductVersion to return value of
AssemblyInformationVersion if available, and fallback to assembly
version. Fixes bug #82746. Code formatting.
* BindingSource.cs: Remove NIE from Dispose, and mark it MonoTODO
instead.
svn path=/trunk/mcs/; revision=85512
Carlos Alberto Cortez [Fri, 7 Sep 2007 21:25:29 +0000 (21:25 -0000)]
2007-09-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Control.cs: When updating ZOrder for a child control,
take into account the implicit ones (we need it in our controls
using them). Fixes #82642.
svn path=/trunk/mcs/; revision=85510
Marek Safar [Fri, 7 Sep 2007 20:26:18 +0000 (20:26 -0000)]
New test
svn path=/trunk/mcs/; revision=85506
Marek Safar [Fri, 7 Sep 2007 20:25:41 +0000 (20:25 -0000)]
2007-09-07 Marek Safar <marek.safar@gmail.com>
* ecore.cs (Expression.MemberLookupFinal): Removed unused loc parameter.
(MethodGroupExpr.ResolveGeneric): Use existing method group instance.
* expression.cs (MemberAccess.DoResolve): Uses generic resolver for
generic extension methods.
svn path=/trunk/mcs/; revision=85505
Zoltan Varga [Fri, 7 Sep 2007 17:55:02 +0000 (17:55 -0000)]
2007-09-07 Zoltan Varga <vargaz@gmail.com>
* async-exceptions.cs Makefile.am: Add a test for frames with a frame pointer.
svn path=/trunk/mono/; revision=85491
Zoltan Varga [Fri, 7 Sep 2007 16:04:02 +0000 (16:04 -0000)]
2007-09-07 Zoltan Varga <vargaz@gmail.com>
* async-exceptions.cs Makefile.am: New test case, not working yet.
svn path=/trunk/mono/; revision=85484
Zoltan Varga [Fri, 7 Sep 2007 15:56:20 +0000 (15:56 -0000)]
2007-09-07 Zoltan Varga <vargaz@gmail.com>
* driver.c mini.h mini.c: Add a new devel command line option for injecting
async exceptions into a method.
* mini-amd64.h mini-amd64.c: Implement injecting of async exceptions for the
purpose of testing whenever the unwinder works at every instruction.
svn path=/trunk/mono/; revision=85483
Paolo Molaro [Fri, 7 Sep 2007 15:04:05 +0000 (15:04 -0000)]
Don't bother checking for vfp, as the compiler may be able to compile it, but
the program will fail at runtime.
svn path=/trunk/mono/; revision=85482
Jonathan Pobst [Fri, 7 Sep 2007 14:22:41 +0000 (14:22 -0000)]
2007-09-07 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItem.cs: Add support for animated images.
[Fixes bug #82726]
svn path=/trunk/mcs/; revision=85478
Jonathan Pobst [Fri, 7 Sep 2007 14:17:58 +0000 (14:17 -0000)]
2007-09-07 Jonathan Pobst <monkey@jpobst.com>
* ToolStrip.cs: Make sure we aren't drawing anything that isn't
visible. [Fixes bug #82727]
svn path=/trunk/mcs/; revision=85477
Zoltan Varga [Fri, 7 Sep 2007 14:00:50 +0000 (14:00 -0000)]
2007-09-07 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Always distribute coreclr-security.cs.
svn path=/trunk/mono/; revision=85476
Dick Porter [Fri, 7 Sep 2007 13:27:23 +0000 (13:27 -0000)]
2007-09-07 Dick Porter <dick@ximian.com>
* Timer.cs: This calls Thread methods in the finalizer too, so use
the same workaround as in r85425.
svn path=/trunk/mcs/; revision=85474
Marek Habersack [Fri, 7 Sep 2007 12:14:26 +0000 (12:14 -0000)]
2007-09-07 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: another modification to the way
TemplateInstance.Single templates are treated. The search for
parent with this attribute set stops as soon as the first
TemplateBuilder is encountered, no matter what the value of its
TemplateInstance attribute is.
svn path=/trunk/mcs/; revision=85473
Atsushi Eno [Fri, 7 Sep 2007 05:06:15 +0000 (05:06 -0000)]
oops
svn path=/trunk/mcs/; revision=85464
Atsushi Eno [Fri, 7 Sep 2007 05:03:07 +0000 (05:03 -0000)]
2007-09-07 Atsushi Enomoto <atsushi@ximian.com>
* IPGlobalProperties.cs : implemented properties on linux.
svn path=/trunk/mcs/; revision=85463
Marek Habersack [Fri, 7 Sep 2007 00:26:12 +0000 (00:26 -0000)]
2007-09-07 Marek Habersack <mhabersack@novell.com>
* SessionInProcHandler.cs: properly clone the
ApplicationState.SessionObjects at the start of the request and
use the copy when creating new storage items. That way session
scope static objects are valid within a single session only. Fixes
bug #82709
svn path=/trunk/mcs/; revision=85460
Jonathan Pobst [Thu, 6 Sep 2007 22:26:04 +0000 (22:26 -0000)]
2007-09-06 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItem.cs: If AutoSize changes the size of our item, invalidate
so we repaint using the new size. [Fixes bug #82723]
svn path=/trunk/mcs/; revision=85459
Jonathan Pobst [Thu, 6 Sep 2007 21:48:29 +0000 (21:48 -0000)]
2007-09-06 Jonathan Pobst <monkey@jpobst.com>
* TreeView.cs: If ShowLines is true, we should ignore the FullRowSelect
option. [Fixes bug #81779]
svn path=/trunk/mcs/; revision=85458
Jonathan Pobst [Thu, 6 Sep 2007 21:35:38 +0000 (21:35 -0000)]
2007-09-06 Jonathan Pobst <monkey@jpobst.com>
* TreeView.cs: Override HandleClick because the StandardClick style is
set to false. According to MSDN (and testing), the click events should
only be raised when the click occurs on a TreeNode. [Fixes bug #81739]
svn path=/trunk/mcs/; revision=85457
Jonathan Pobst [Thu, 6 Sep 2007 20:27:10 +0000 (20:27 -0000)]
2007-09-06 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutTest.cs: Make test for bug #82605 not depend on font measurements.
svn path=/trunk/mcs/; revision=85454
Jonathan Pobst [Thu, 6 Sep 2007 19:50:41 +0000 (19:50 -0000)]
2007-09-06 Jonathan Pobst <monkey@jpobst.com>
* ToolStripTextBox.cs: Invalidate our textbox when it loses focus, so
the border will disappear. Fixes reopened #82653.
svn path=/trunk/mcs/; revision=85449
Jonathan Pobst [Thu, 6 Sep 2007 19:46:40 +0000 (19:46 -0000)]
2007-09-06 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: If the control is autosize, and its preferred size changes
when it lays out its children, tell its parent so it can be re-layed out.
Fixing some of the fallout from r85433.
svn path=/trunk/mcs/; revision=85448
Jonathan Pobst [Thu, 6 Sep 2007 19:26:34 +0000 (19:26 -0000)]
2007-09-06 Jonathan Pobst <monkey@jpobst.com>
* ThemeWin32Classic.cs: Fix a NRE caused by r85427 because RadioButton
and CheckBox share some code.
svn path=/trunk/mcs/; revision=85447
Jb Evain [Thu, 6 Sep 2007 18:02:12 +0000 (18:02 -0000)]
2007-09-06 Jb Evain <jbevain@novell.com>
* Mono.Cecil/MethodDefinition: add Is** methods for MethodImplAttributes.
svn path=/trunk/mcs/; revision=85434
Jonathan Pobst [Thu, 6 Sep 2007 17:23:45 +0000 (17:23 -0000)]
2007-09-06 Jonathan Pobst <monkey@jpobst.com>
* DefaultLayout.cs: Only LayoutAutoSizeContainer if the container is
a Form, others should be taken care of by their parent.
* TableLayout.cs: If a control is AutoSize, default to its preferred
size if possible. [Fixes bug #82605]
2007-09-06 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutTest.cs: Add test for bug #82605.
svn path=/trunk/mcs/; revision=85433
Paolo Molaro [Thu, 6 Sep 2007 17:23:30 +0000 (17:23 -0000)]
Thu Sep 6 19:48:00 CEST 2007 Paolo Molaro <lupus@ximian.com>
* reflection.c, icall.c, icall-def.h: the methodinfos name field is
used only as a cache: added an icall to fill it.
svn path=/trunk/mono/; revision=85432
Paolo Molaro [Thu, 6 Sep 2007 17:23:22 +0000 (17:23 -0000)]
Thu Sep 6 19:49:34 CEST 2007 Paolo Molaro <lupus@ximian.com>
* MonoMethod.cs: name is used as a cache: provide an icall to get the
name from the runtime.
svn path=/trunk/mcs/; revision=85431
Jonathan Pobst [Thu, 6 Sep 2007 16:17:42 +0000 (16:17 -0000)]
2007-09-06 Jonathan Pobst <monkey@jpobst.com>
* TrackBar.cs: Only call OnScroll if we actually changed the Value of
the TrackBar, not every mouse move. [Fixed bug #82718]
svn path=/trunk/mcs/; revision=85428
Jonathan Pobst [Thu, 6 Sep 2007 16:07:31 +0000 (16:07 -0000)]
2007-09-06 Jonathan Pobst <monkey@jpobst.com>
* ThemeWin32Classic.cs: Allow a CheckBox to be rendered like a Button
under 2.0 rendering. [Fixes bug #82657]
svn path=/trunk/mcs/; revision=85427
Marek Habersack [Thu, 6 Sep 2007 15:38:43 +0000 (15:38 -0000)]
2007-09-06 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: Extend the process of checking if a control is located within a
template with the TemplateInstance.Single attribute set, to all
the parents of the current builder.
svn path=/trunk/mcs/; revision=85426
Dick Porter [Thu, 6 Sep 2007 15:30:17 +0000 (15:30 -0000)]
2007-09-06 Dick Porter <dick@ximian.com>
* Timer.cs: Only hold a WeakReference to the runner thread, to
work around an issue when finalizing at shutdown or (I think)
appdomain unload. (Basically, the Thread was being finalized
first, but the Timer's finalizer was still trying to reference it
subsequently.)
svn path=/trunk/mcs/; revision=85425
Jonathan Pobst [Thu, 6 Sep 2007 15:11:01 +0000 (15:11 -0000)]
2007-09-06 Jonathan Pobst <monkey@jpobst.com>
* TreeView.cs: If we found a TreeNode to display a context menu, but
it doesn't have one to show, let the TreeView display its menu
instead. [Fixes bug #82680]
svn path=/trunk/mcs/; revision=85424
Marek Habersack [Thu, 6 Sep 2007 15:09:07 +0000 (15:09 -0000)]
2007-09-06 Marek Habersack <mhabersack@novell.com>
* DateTimeFormatInfo.cs: minimal implementation of
AbbreviatedMonthGenitiveNames, MonthGenitiveNames and
NativeCalendar name properties.
svn path=/trunk/mcs/; revision=85423
Rodrigo Kumpera [Thu, 6 Sep 2007 14:51:09 +0000 (14:51 -0000)]
2007-09-16 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.h: exposed mono_reflection_free_type_info
* reflection.c (mono_reflection_get_type_internal): type_args is always freed
since mono_reflection_bind_generic_parameters makes a copy of it.
* reflection.c (free_type_info): subinfos should be freed.
* reflection.c (free_type_info): renamed to mono_reflection_free_type_info and
made non static.
* icall.c (type_from_name and ves_icall_System_Reflection_Assembly_InternalGetType):
replaced explicit cleanup of MonoTypeNameParse struct with a call to mono_reflection_free_type_info,
this fixes #82695 and #81726.
svn path=/trunk/mono/; revision=85422
Marek Habersack [Thu, 6 Sep 2007 14:44:34 +0000 (14:44 -0000)]
2007-09-06 Marek Habersack <mhabersack@novell.com>
* HttpCachePolicy.cs: implemented setting the ETag and
Last-Modified headers from file dependencies.
* HttpResponse.cs: implemented file dependency methods.
svn path=/trunk/mcs/; revision=85421
Jonathan Pobst [Thu, 6 Sep 2007 14:42:17 +0000 (14:42 -0000)]
2007-09-06 Jonathan Pobst <monkey@jpobst.com>
* ToolStripTextBox.cs: TextBox no longer call OnPaint, we need to use
OnPaintInternal instead. Give the internal TextBox a Border property
so it can draw itself more correctly. [Fixes bug #82653]
svn path=/trunk/mcs/; revision=85420
Zoltan Varga [Thu, 6 Sep 2007 14:30:51 +0000 (14:30 -0000)]
2007-09-06 Zoltan Varga <vargaz@gmail.com>
* System.Windows.Forms.dll.sources: Add HtmlHistory.cs HtmlWindow.cs
HtmlWindowCollection.cs ListBindingHelper.cs WindowsFormsSection.cs
WindowsFormsSynchronizationContext.cs.
svn path=/trunk/mcs/; revision=85419
Zoltan Varga [Thu, 6 Sep 2007 14:29:56 +0000 (14:29 -0000)]
2007-09-06 Zoltan Varga <vargaz@gmail.com>
* HtmlHistory.cs HtmlWindow.cs HtmlWindowCollection.cs ListBindingHelper.cs WindowsFormsSection.cs WindowsFormsSynchronizationContext.cs: Stubs for missing 2.0 classes.
svn path=/trunk/mcs/; revision=85418
Atsushi Eno [Thu, 6 Sep 2007 13:56:47 +0000 (13:56 -0000)]
2007-09-06 Atsushi Enomoto <atsushi@ximian.com>
* Ping.cs, PingReply.cs, PingCompletedEventArgs.cs : implemented
in managed code.
svn path=/trunk/mcs/; revision=85416
Marek Habersack [Thu, 6 Sep 2007 13:26:08 +0000 (13:26 -0000)]
2007-09-06 Marek Habersack <mhabersack@novell.com>
* UriTypeConverterTest.cs: Mono on Windows treats /Uri.txt URIs as
relative while on Unix they are absolute.
svn path=/trunk/mcs/; revision=85412
Igor Zelmanovich [Thu, 6 Sep 2007 12:37:53 +0000 (12:37 -0000)]
2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
* ListControl.cs: partially restored r85314
whenever a property that can affect data binding
is set, make sure to set RequiresDataBinding.
svn path=/trunk/mcs/; revision=85410
Igor Zelmanovich [Thu, 6 Sep 2007 12:15:02 +0000 (12:15 -0000)]
2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
* DataBoundControl.cs: fixed DataBind flow:
prevent double binding when not necessary.
fixed bug #81146
svn path=/trunk/mcs/; revision=85409
Paolo Molaro [Thu, 6 Sep 2007 12:13:08 +0000 (12:13 -0000)]
Test for bug #82635.
svn path=/trunk/mono/; revision=85408
Marek Safar [Thu, 6 Sep 2007 11:17:05 +0000 (11:17 -0000)]
New test.
svn path=/trunk/mcs/; revision=85405
Marek Safar [Thu, 6 Sep 2007 11:14:29 +0000 (11:14 -0000)]
2007-09-06 Marek Safar <marek.safar@gmail.com>
A fix for bug #82676 (Do I get it right now?)
* convert.cs (Binary.ResolveOperator): An interface is converted to the
object before a standard conversion is applied.
svn path=/trunk/mcs/; revision=85404
Robert Jordan [Thu, 6 Sep 2007 10:30:35 +0000 (10:30 -0000)]
2007-09-06 Robert Jordan <robertj@gmx.net>
* TimerTest.cs: Factored our more test cases from bug #82701.
svn path=/trunk/mcs/; revision=85401
Paolo Molaro [Thu, 6 Sep 2007 10:28:02 +0000 (10:28 -0000)]
Thu Sep 6 12:42:14 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini.c: check accessibility of method used in ldftn (fixes
bug #82635).
svn path=/trunk/mono/; revision=85400
Marek Safar [Thu, 6 Sep 2007 10:26:02 +0000 (10:26 -0000)]
A new test from #82708
svn path=/trunk/mcs/; revision=85399
Noam Lampert [Thu, 6 Sep 2007 10:20:49 +0000 (10:20 -0000)]
Update Java build system
svn path=/trunk/mcs/; revision=85398
Noam Lampert [Thu, 6 Sep 2007 10:20:22 +0000 (10:20 -0000)]
Update Java build system
svn path=/trunk/mcs/; revision=85397
Marek Safar [Thu, 6 Sep 2007 09:56:14 +0000 (09:56 -0000)]
2007-09-06 Marek Safar <marek.safar@gmail.com>
* convert.cs (ImplicitReferenceConversionCore): Reverted wrong fix of
#82676.
svn path=/trunk/mcs/; revision=85396
Adar Wesley [Thu, 6 Sep 2007 09:32:54 +0000 (09:32 -0000)]
Added support for TypeResolver to JavaScriptSerializer.
Added relevant tests.
svn path=/trunk/mcs/; revision=85395
Noam Lampert [Thu, 6 Sep 2007 08:12:34 +0000 (08:12 -0000)]
Java build-system related files
svn path=/trunk/mcs/; revision=85393
Atsushi Eno [Thu, 6 Sep 2007 05:18:18 +0000 (05:18 -0000)]
2007-09-06 Atsushi Enomoto <atsushi@ximian.com>
* Stream.cs, BufferedStream.cs, MemoryStream.cs: in 2.0 override
Dispose(bool) rather than Close().
Stream.Dispose() is virtual in 2.0.
svn path=/trunk/mcs/; revision=85389
Atsushi Eno [Thu, 6 Sep 2007 05:16:16 +0000 (05:16 -0000)]
2007-09-06 Atsushi Enomoto <atsushi@ximian.com>
* LogicalCallContext.cs, MethodCall.cs, MethodCallMessageWrapper.cs,
IMethodMessage.cs, ReturnMessage.cs, MethodResponse.cs
MethodReturnMessageWrapper.cs : couple more of (2.0/1.1) API fixes.
svn path=/trunk/mcs/; revision=85388
Marek Habersack [Wed, 5 Sep 2007 22:12:40 +0000 (22:12 -0000)]
2007-09-06 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: ID must be assigned as soon as
possible, before any other attributes of the control are
accessed. The control code may rely on ID being set.
svn path=/trunk/mcs/; revision=85386
Marek Habersack [Wed, 5 Sep 2007 20:58:39 +0000 (20:58 -0000)]
ConvertTo must pass the uri kind to the constructor used in
InstanceDescriptor.
svn path=/trunk/mcs/; revision=85382
Marek Habersack [Wed, 5 Sep 2007 20:53:09 +0000 (20:53 -0000)]
2007-09-05 Marek Habersack <mhabersack@novell.com>
* UriTypeConverter.cs: conversion from string should be possible
for both relative and absolute URIs.
Conversion to a string or an InstanceDescriptor must not assume
that the uri is absolute.
svn path=/trunk/mcs/; revision=85381
Marek Habersack [Wed, 5 Sep 2007 20:44:15 +0000 (20:44 -0000)]
2007-09-05 Marek Habersack <mhabersack@novell.com>
* UriTypeConverterTest.cs: added a new test for conversion from
strings containing relative URIs. Currently marked as NotWorking
since cases 3 and 4 fail on Mono.
2007-09-05 Marek Habersack <mhabersack@novell.com>
* UriTypeConverter.cs: conversion from string should be possible
for both relative and absolute URIs.
svn path=/trunk/mcs/; revision=85380
Marek Safar [Wed, 5 Sep 2007 17:43:13 +0000 (17:43 -0000)]
New test.
svn path=/trunk/mcs/; revision=85376
Marek Safar [Wed, 5 Sep 2007 17:42:50 +0000 (17:42 -0000)]
2007-09-05 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay: Plug into let clause.
* linq.cs: Implemented let clause, parameters refactoring.
svn path=/trunk/mcs/; revision=85375
Gert Driesen [Wed, 5 Sep 2007 17:39:49 +0000 (17:39 -0000)]
* ThreadTest.cs: Added test for bug #82700. Re-enabled and fixed some
tests that pass on my two boxes. Shoot me if these break the buildbots.
Cleaned up some tests.
svn path=/trunk/mcs/; revision=85374
Marek Habersack [Wed, 5 Sep 2007 17:32:21 +0000 (17:32 -0000)]
2007-09-05 Marek Habersack <mhabersack@novell.com>
* RootBuilder.cs: make Foundry settable, but protect the backing
field from being set to null.
2007-09-05 Marek Habersack <mhabersack@novell.com>
* ThemeDirectoryCompiler.cs: all the skin files compiled in one
batch must share the same component foundry. Under MS.NET if any
earlier .skin file registers a control prefix any later .skin
files may use it without registering.
svn path=/trunk/mcs/; revision=85373
Atsushi Eno [Wed, 5 Sep 2007 17:18:48 +0000 (17:18 -0000)]
2007-09-05 Atsushi Enomoto <atsushi@ximian.com>
* EventLog.cs : added cosmetic 2.0 attributes on newly added members.
svn path=/trunk/mcs/; revision=85372
Atsushi Eno [Wed, 5 Sep 2007 17:17:49 +0000 (17:17 -0000)]
2007-09-05 Atsushi Enomoto <atsushi@ximian.com>
* HandleCollector.cs : new file.
* System.dll.sources : added HandleCollector.cs.
svn path=/trunk/mcs/; revision=85371
Gert Driesen [Wed, 5 Sep 2007 14:48:28 +0000 (14:48 -0000)]
* EnumConverterTest.cs: Enabled test for converting flag enum from
string. Made tests less strict.
* EnumConverter.cs: Added support for converting flag enum from
string.
* System_test.dll.sources: Added EnumConverterTest.cs.
svn path=/trunk/mcs/; revision=85365
Marek Safar [Wed, 5 Sep 2007 14:47:37 +0000 (14:47 -0000)]
New test.
svn path=/trunk/mcs/; revision=85364
Marek Safar [Wed, 5 Sep 2007 14:46:35 +0000 (14:46 -0000)]
2007-09-05 Marek Safar <marek.safar@gmail.com>
A fix for bug #82676
* convert.cs (ImplicitReferenceConversionCore): Check both sides for
non-generic interface types.
svn path=/trunk/mcs/; revision=85363
Everaldo Canuto [Wed, 5 Sep 2007 14:20:04 +0000 (14:20 -0000)]
* ComboBox.cs: Adjust combobox button state to reflect current state when
back to enabled = true. Fixes first issue of #82654.
2007-09-05 Everaldo Canuto <everaldo@simios.org>
svn path=/trunk/mcs/; revision=85362
Gert Driesen [Wed, 5 Sep 2007 13:14:24 +0000 (13:14 -0000)]
* TimerTest.cs: Added NotWorking test for bug #82701. Added ctor
and trivial property tests.
svn path=/trunk/mcs/; revision=85358
Gert Driesen [Wed, 5 Sep 2007 13:13:38 +0000 (13:13 -0000)]
* Timer.cs: On 2.0 profile, only allow 32-bit interval in ctor.
svn path=/trunk/mcs/; revision=85357
Atsushi Eno [Wed, 5 Sep 2007 12:14:59 +0000 (12:14 -0000)]
2007-09-05 Atsushi Enomoto <atsushi@ximian.com>
* machine.config : added WCF sectionGroups.
svn path=/trunk/mono/; revision=85353
Marek Safar [Wed, 5 Sep 2007 11:18:53 +0000 (11:18 -0000)]
Fixed.
svn path=/trunk/mcs/; revision=85348
Marek Safar [Wed, 5 Sep 2007 11:18:06 +0000 (11:18 -0000)]
2007-09-05 Marek Safar <marek.safar@gmail.com>
A fix for bug #82690
* ecore.cs (PropertyExpr.EmitAssign): Leave a copy does just that.
svn path=/trunk/mcs/; revision=85347
Marek Safar [Wed, 5 Sep 2007 10:16:46 +0000 (10:16 -0000)]
2007-09-05 Marek Safar <marek.safar@gmail.com>
A fix for bug #82571
* anonymous.cs (AnonymousMethod.DoCreateMethodHost): Use internal
modifier for container based methods.
svn path=/trunk/mcs/; revision=85345
Everaldo Canuto [Wed, 5 Sep 2007 09:59:12 +0000 (09:59 -0000)]
* Control.cs: Fix last patch regression, prevent forms to update zorder when
setting visible property.
2007-09-05 Everaldo Canuto <everaldo@simios.org>
svn path=/trunk/mcs/; revision=85344
Everaldo Canuto [Wed, 5 Sep 2007 09:37:09 +0000 (09:37 -0000)]
2007-09-05 Everaldo Canuto <everaldo@simios.org>
* Control.cs: Update zorder after control creation in SetVisibleCore, it
fix zorder for controls initially created as non visible. Fixes #82667.
svn path=/trunk/mcs/; revision=85342
Marek Safar [Wed, 5 Sep 2007 09:19:51 +0000 (09:19 -0000)]
Updated
svn path=/trunk/mcs/; revision=85338
Marek Safar [Wed, 5 Sep 2007 09:19:08 +0000 (09:19 -0000)]
2007-09-05 Marek Safar <marek.safar@gmail.com>
A fix for bug #82676
* convert.cs (ImplicitReferenceConversionCore): From any class-type S to
any interface-type T means to any of interface type T.
svn path=/trunk/mcs/; revision=85337
Atsushi Eno [Wed, 5 Sep 2007 08:57:02 +0000 (08:57 -0000)]
2007-09-05 Atsushi Enomoto <atsushi@ximian.com>
* EventLog.cs, EventLogImpl.cs, LocalFileEventLog.cs, NullEventLog.cs,
Win32EventLog.cs : added missing members, will be left unsupported
in non-Win32 impl and left unimplemented in Win32.
* CounterCreationDataCollection.cs : in 2.0 OnValidate() is overriden
instad of OnInsert().
* Process.cs : removed StandardErrorEncoding and
StandardOutputEncoding. They do not exist anymore.
svn path=/trunk/mcs/; revision=85336
Marek Habersack [Wed, 5 Sep 2007 08:54:41 +0000 (08:54 -0000)]
Revert r84984 and r85314
svn path=/trunk/mcs/; revision=85335
Jb Evain [Tue, 4 Sep 2007 21:54:03 +0000 (21:54 -0000)]
honor DESTDIR
svn path=/trunk/mcs/; revision=85329
Everaldo Canuto [Tue, 4 Sep 2007 21:34:12 +0000 (21:34 -0000)]
2007-09-04 Everaldo Canuto <everaldo@simios.org>
* CheckBoxPainter.cs: Adjust checkbox light color to ControlLightLight to
mimic win32 look. Fixes #82656 (2.0).
svn path=/trunk/mcs/; revision=85328
Jb Evain [Tue, 4 Sep 2007 21:33:40 +0000 (21:33 -0000)]
2007-09-04 Jb Evain <jbevain@novell.com>
* masterinfos/*.info added, so we don't have to download them.
* Makefile: use directly the .info files from the repo.
svn path=/trunk/mcs/; revision=85327
Everaldo Canuto [Tue, 4 Sep 2007 21:32:57 +0000 (21:32 -0000)]
2007-09-04 Everaldo Canuto <everaldo@simios.org>
* ThemeWin32Classic.cs: Adjust checkbox light color to ControlLightLight to
mimic win32 look. Fixes #82656.
svn path=/trunk/mcs/; revision=85326
Wade Berrier [Tue, 4 Sep 2007 21:23:03 +0000 (21:23 -0000)]
2007-09-04 Wade Berrier <wberrier@novell.com>
* removecomments.sh: New script to aid 'make dist'
Removes '#' comments (specifically for .sources files)
Had to put in a separate script because alterint IFS to
contain a newline doesn't work inside make
* Makefile: include gensources.sh, the 2_1 profile needs it.
(Should also make it possible to build the jvm profile from a
tarball)
2007-09-04 Wade Berrier <wberrier@novell.com>
* library.make: Glob for .sources for all profiles.
Use tools/removecomments.sh to account for '#include' and
comments, which are only used in the jvm profile at this point
svn path=/trunk/mcs/; revision=85325
Marek Safar [Tue, 4 Sep 2007 20:51:33 +0000 (20:51 -0000)]
2007-09-04 Marek Safar <marek.safar@gmail.com>
* namespace.cs: We have 2 versions of System.Core assembly.
svn path=/trunk/mcs/; revision=85324
Zoltan Varga [Tue, 4 Sep 2007 20:36:46 +0000 (20:36 -0000)]
2007-09-04 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_output_basic_block): Fix a warning.
* inssel.brg: Fix a warning.
svn path=/trunk/mono/; revision=85323