mono.git
16 years ago2007-09-06 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2007-09-06 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2007-09-06 Jb Evain <jbevain@novell.com>
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

16 years ago2007-09-06 Jonathan Pobst <monkey@jpobst.com>
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

16 years agoThu Sep 6 19:48:00 CEST 2007 Paolo Molaro <lupus@ximian.com>
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

16 years agoThu Sep 6 19:49:34 CEST 2007 Paolo Molaro <lupus@ximian.com>
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

16 years ago2007-09-06 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2007-09-06 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2007-09-06 Marek Habersack <mhabersack@novell.com>
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

16 years ago2007-09-06 Dick Porter <dick@ximian.com>
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

16 years ago2007-09-06 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2007-09-06 Marek Habersack <mhabersack@novell.com>
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

16 years ago2007-09-16 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years ago2007-09-06 Marek Habersack <mhabersack@novell.com>
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

16 years ago2007-09-06 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2007-09-06 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2007-09-06 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2007-09-06 Atsushi Enomoto <atsushi@ximian.com>
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

16 years ago2007-09-06 Marek Habersack <mhabersack@novell.com>
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

16 years ago2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
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

16 years ago2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
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

16 years agoTest for bug #82635.
Paolo Molaro [Thu, 6 Sep 2007 12:13:08 +0000 (12:13 -0000)]
Test for bug #82635.

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

16 years agoNew test.
Marek Safar [Thu, 6 Sep 2007 11:17:05 +0000 (11:17 -0000)]
New test.

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

16 years ago2007-09-06 Marek Safar <marek.safar@gmail.com>
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

16 years ago2007-09-06 Robert Jordan <robertj@gmx.net>
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

16 years agoThu Sep 6 12:42:14 CEST 2007 Paolo Molaro <lupus@ximian.com>
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

16 years agoA new test from #82708
Marek Safar [Thu, 6 Sep 2007 10:26:02 +0000 (10:26 -0000)]
A new test from #82708

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

16 years agoUpdate Java build system
Noam Lampert [Thu, 6 Sep 2007 10:20:49 +0000 (10:20 -0000)]
Update Java build system

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

16 years agoUpdate Java build system
Noam Lampert [Thu, 6 Sep 2007 10:20:22 +0000 (10:20 -0000)]
Update Java build system

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

16 years ago2007-09-06 Marek Safar <marek.safar@gmail.com>
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

16 years agoAdded support for TypeResolver to JavaScriptSerializer.
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

16 years agoJava build-system related files
Noam Lampert [Thu, 6 Sep 2007 08:12:34 +0000 (08:12 -0000)]
Java build-system related files

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

16 years ago2007-09-06 Atsushi Enomoto <atsushi@ximian.com>
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

16 years ago2007-09-06 Atsushi Enomoto <atsushi@ximian.com>
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

16 years ago2007-09-06 Marek Habersack <mhabersack@novell.com>
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

16 years agoConvertTo must pass the uri kind to the constructor used in
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

16 years ago2007-09-05 Marek Habersack <mhabersack@novell.com>
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

16 years ago2007-09-05 Marek Habersack <mhabersack@novell.com>
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

16 years agoNew test.
Marek Safar [Wed, 5 Sep 2007 17:43:13 +0000 (17:43 -0000)]
New test.

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

16 years ago2007-09-05 Marek Safar <marek.safar@gmail.com>
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

16 years ago* ThreadTest.cs: Added test for bug #82700. Re-enabled and fixed some
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

16 years ago2007-09-05 Marek Habersack <mhabersack@novell.com>
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

16 years ago2007-09-05 Atsushi Enomoto <atsushi@ximian.com>
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

16 years ago2007-09-05 Atsushi Enomoto <atsushi@ximian.com>
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

16 years ago* EnumConverterTest.cs: Enabled test for converting flag enum from
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

16 years agoNew test.
Marek Safar [Wed, 5 Sep 2007 14:47:37 +0000 (14:47 -0000)]
New test.

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

16 years ago2007-09-05 Marek Safar <marek.safar@gmail.com>
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

16 years ago * ComboBox.cs: Adjust combobox button state to reflect current state when
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

16 years ago* TimerTest.cs: Added NotWorking test for bug #82701. Added ctor
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

16 years ago* Timer.cs: On 2.0 profile, only allow 32-bit interval in ctor.
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

16 years ago2007-09-05 Atsushi Enomoto <atsushi@ximian.com>
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

16 years agoFixed.
Marek Safar [Wed, 5 Sep 2007 11:18:53 +0000 (11:18 -0000)]
Fixed.

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

16 years ago2007-09-05 Marek Safar <marek.safar@gmail.com>
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

16 years ago2007-09-05 Marek Safar <marek.safar@gmail.com>
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

16 years ago * Control.cs: Fix last patch regression, prevent forms to update zorder when
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

16 years ago2007-09-05 Everaldo Canuto <everaldo@simios.org>
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

16 years agoUpdated
Marek Safar [Wed, 5 Sep 2007 09:19:51 +0000 (09:19 -0000)]
Updated

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

16 years ago2007-09-05 Marek Safar <marek.safar@gmail.com>
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

16 years ago2007-09-05 Atsushi Enomoto <atsushi@ximian.com>
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

16 years agoRevert r84984 and r85314
Marek Habersack [Wed, 5 Sep 2007 08:54:41 +0000 (08:54 -0000)]
Revert r84984 and r85314

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

16 years agohonor DESTDIR
Jb Evain [Tue, 4 Sep 2007 21:54:03 +0000 (21:54 -0000)]
honor DESTDIR

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

16 years ago2007-09-04 Everaldo Canuto <everaldo@simios.org>
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

16 years ago2007-09-04 Jb Evain <jbevain@novell.com>
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

16 years ago2007-09-04 Everaldo Canuto <everaldo@simios.org>
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

16 years ago2007-09-04 Wade Berrier <wberrier@novell.com>
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

16 years ago2007-09-04 Marek Safar <marek.safar@gmail.com>
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

16 years ago2007-09-04 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2007-09-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 4 Sep 2007 20:28:25 +0000 (20:28 -0000)]
2007-09-04  Marek Habersack  <mhabersack@novell.com>

            * TemplateParser.cs: don't optimize for case when 'name' is a full
            assembly name in AddAssemblyByName. Assembly.Load triggers the
            AssemblyResolve event on the current AppDomain if an assembly
            isn't found and we use this mechanism to map names like "App_Code"
            or "App_GlobalResources" to the real names of those dynamic
            assemblies.

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

16 years ago2007-09-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 4 Sep 2007 19:11:39 +0000 (19:11 -0000)]
2007-09-04  Marek Habersack  <mhabersack@novell.com>

            * machine.config: added an entry to ignore the <system.webServer>
            section. Fixes bug #82535

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

16 years ago* test-583.cs: test for bug #82676.
Gert Driesen [Tue, 4 Sep 2007 19:08:28 +0000 (19:08 -0000)]
* test-583.cs: test for bug #82676.
* test-584.cs: test for bug #82690.
* known-issues-gmcs: added test-583.cs and test-584.cs.
* known-issues-mcs: added test-583.cs and test-584.cs.

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

16 years ago2007-09-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 4 Sep 2007 18:48:11 +0000 (18:48 -0000)]
2007-09-04  Marek Habersack  <mhabersack@novell.com>

            * DataBoundControl.cs: make sure no data binding is done after
            OnPagePreload has executed.

            * ListControl.cs: whenever a property that can affect data binding
            is set, make sure to set RequiresDataBinding.

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

16 years agoA test for #82652
Marek Safar [Tue, 4 Sep 2007 14:57:14 +0000 (14:57 -0000)]
A test for #82652

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

16 years ago2007-09-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 4 Sep 2007 14:56:37 +0000 (14:56 -0000)]
2007-09-04  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82652
* class.cs (Class.GetClassBases): Compare types and not expressions.

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

16 years agoA new test based on #82620
Marek Safar [Tue, 4 Sep 2007 14:28:35 +0000 (14:28 -0000)]
A new test based on #82620

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

16 years ago2007-09-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 4 Sep 2007 14:25:16 +0000 (14:25 -0000)]
2007-09-04  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82620
* expression.cs (Invocation.EmitArguments): Duplicate params arguments
actually never worked before.
(IndexerAccess): Emit prepared arguments before they are modified.

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

16 years ago * dirent.c: Fix `struct dirent' overflow on Solaris. See #82678.
Jonathan Pryor [Tue, 4 Sep 2007 12:32:25 +0000 (12:32 -0000)]
* dirent.c: Fix `struct dirent' overflow on Solaris.  See #82678.

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

16 years agoremoved dos style line endigs, set svn-eol: native property
Marek Habersack [Tue, 4 Sep 2007 12:12:59 +0000 (12:12 -0000)]
removed dos style line endigs, set svn-eol: native property

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

16 years ago2007-09-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 4 Sep 2007 12:03:37 +0000 (12:03 -0000)]
2007-09-04  Marek Habersack  <mhabersack@novell.com>

            When generating code for a property or field, use the name
            retrieved from the metadata by reflection instead of the one
            parsed from html. Fixes bug #82687. Patch from SunHo Kim
            <zsunno@gmail.com>, thanks

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

16 years agoAdd mote tests, bug #82563
Marek Safar [Tue, 4 Sep 2007 09:42:17 +0000 (09:42 -0000)]
Add mote tests, bug #82563

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

16 years ago2007-09-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 4 Sep 2007 09:41:17 +0000 (09:41 -0000)]
2007-09-04  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82563
* assign.cs: Revert wrong fix.

* expression.cs (VariableReference.EmitAssign): Handle ref reference
correctly.
(ArrayAccess): Changed the way we emit compound (prepared) assignments.
Instead of ldelema/stdind we have to use temporary variables to handle
cases like String.Concat (params string[]).

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

16 years ago2007-09-04 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 4 Sep 2007 08:56:03 +0000 (08:56 -0000)]
2007-09-04  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ReflectionWriter.cs:
Adapt a patch by Ewout Prangsma <ewout@tallapplications.com>.
Cache the typespec tokens instead of the typespec themselves
because GenericParameters are somethimes considered as typespecs.

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

16 years agoBuild fix
Marek Safar [Tue, 4 Sep 2007 08:48:03 +0000 (08:48 -0000)]
Build fix

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

16 years ago * dirent.c: Fix logic to determine if readdir_r() succeeded.
Jonathan Pryor [Mon, 3 Sep 2007 23:27:59 +0000 (23:27 -0000)]
* dirent.c: Fix logic to determine if readdir_r() succeeded.
  Thanks to Albert Lee for the patch; see #82678.

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

16 years ago2007-09-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 3 Sep 2007 21:55:25 +0000 (21:55 -0000)]
2007-09-04  Marek Habersack  <mhabersack@novell.com>

            * TemplateControlCompiler.cs: make sure that base class doesn't
            contain a field of the same name which is accessible from the
            current control if we're within a singleton template.

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

16 years ago2007-09-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Sep 2007 19:27:27 +0000 (19:27 -0000)]
2007-09-03  Zoltan Varga  <vargaz@gmail.com>

* thread6.cs: Increase a timeout.

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 17:42:06 +0000 (17:42 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* ProcessStartInfo.cs : Implemented Verbs. It is done.

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

16 years agoFix
Miguel de Icaza [Mon, 3 Sep 2007 16:01:34 +0000 (16:01 -0000)]
Fix

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

16 years ago2007-09-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 3 Sep 2007 14:31:24 +0000 (14:31 -0000)]
2007-09-03  Martin Baulig  <martin@ximian.com>

* debug-debugger.c: `MONO_DEBUGGER_EVENT_INITIALIZE_MANAGED_CODE'
now takes the `main_method' as argument.

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 09:31:28 +0000 (09:31 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* processes.h, processes.c : ok, they are simple string.

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 09:19:42 +0000 (09:19 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* processes.h : sigh, I really hate fixing them on windows :(

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 09:14:51 +0000 (09:14 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* processes.c : fix build again.

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

16 years agothere was a wrong and confusing description.
Atsushi Eno [Mon, 3 Sep 2007 09:13:12 +0000 (09:13 -0000)]
there was a wrong and confusing description.

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 09:05:59 +0000 (09:05 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* processes.h : removed extra parameters from CreateProcessWithLogonW.

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 08:51:17 +0000 (08:51 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* Process.cs, ProcessStartInfo.cs : user info support (on windows).
 Removed encoding_stderr, encoding_stdout which are not needed and
 do not match icall.

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 08:50:24 +0000 (08:50 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* configure.in : On windows, require advapi32.dll.

* process.h, process.c:  added support for user profile/info in
  ProcessStartInfo. For now only Windows works.

* processes.c, processes.h: added CreateProcessWithLogonW(). For now
  it just calls CreateProcess().
* io-layer.h : CreateProcessWithLogonW() requires WINVER 0x0500
  on Windows.

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

16 years ago2007-09-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 3 Sep 2007 08:29:38 +0000 (08:29 -0000)]
2007-09-03  Atsushi Enomoto  <atsushi@ximian.com>

* IPGlobalStatistics.cs : Mib-* class is nonpublic.
* Win32NetworkInterfaceMarshal.cs IPv4InterfaceProperties.cs
  IPGlobalProperties.cs IPInterfaceProperties.cs
  NetworkInterface.cs : move Win32NetworkInterfaceMarshal.FixedInfo to
  Win32_FIXED_INFO.Instance and share it with Win32IPGlobalProperties.
  Fixed GetUdp[6]Table() / GetTcp[6]Table() marshalling issue.

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

16 years agoFix build system
Noam Lampert [Mon, 3 Sep 2007 07:13:39 +0000 (07:13 -0000)]
Fix build system

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

16 years ago2007-09-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Sep 2007 20:49:41 +0000 (20:49 -0000)]
2007-09-02  Zoltan Varga  <vargaz@gmail.com>

* cpu-sparc.md (endfilter): Add missing src1:i argument.

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

16 years ago* TypeBuilderTest.cs: Split up and improved ignored GetField(s) tests
Gert Driesen [Sun, 2 Sep 2007 18:29:28 +0000 (18:29 -0000)]
* TypeBuilderTest.cs: Split up and improved ignored GetField(s) tests
into MS and Mono tests. Added (NotWorking) test for bug #82625.

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

16 years agoadded support for multi form environment
Igor Zelmanovich [Sun, 2 Sep 2007 14:49:53 +0000 (14:49 -0000)]
added support for multi form environment

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