mono.git
16 years agoRemove ancient todo item (there might be others)
Miguel de Icaza [Tue, 4 Mar 2008 10:12:34 +0000 (10:12 -0000)]
Remove ancient todo item (there might be others)

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

16 years agoRefreshed
Marek Safar [Tue, 4 Mar 2008 09:42:17 +0000 (09:42 -0000)]
Refreshed

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

16 years agomerge r97270:97272
Igor Zelmanovich [Tue, 4 Mar 2008 09:33:47 +0000 (09:33 -0000)]
merge r97270:97272

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

16 years ago2008-03-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 4 Mar 2008 09:27:02 +0000 (09:27 -0000)]
2008-03-04  Marek Safar  <marek.safar@gmail.com>

* generic.cs, typemanager.cs, literal.cs, convert.cs, cfold.cs, constant.cs,
expression.cs, statement.cs: Unififed null literal representation.

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

16 years ago2008-03-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Mar 2008 07:01:18 +0000 (07:01 -0000)]
2008-03-04  Atsushi Enomoto  <atsushi@ximian.com>

* mono-api.xsl : add support for parameters.

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

16 years ago2008-03-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Mar 2008 01:08:48 +0000 (01:08 -0000)]
2008-03-04  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (regtests): Run the bench.exe tests last.

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

16 years ago2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 4 Mar 2008 00:01:18 +0000 (00:01 -0000)]
2008-03-03  Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest.cs: Added CreateTypeFailsWithInvalidMethodOverride.
Test for bug #361689.

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

16 years ago2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 3 Mar 2008 23:58:56 +0000 (23:58 -0000)]
2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>

* MethodBuilder.cs (check_override): Added, verify if this method has explicit
override set and doesn't follow virtual settings of overriden method.

* TypeBuilder.cs (CreateType): Call MethodBuilder::check_override before
creating the type.

Fixes #361689.

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

16 years ago2008-03-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 3 Mar 2008 23:26:01 +0000 (23:26 -0000)]
2008-03-03  Marek Habersack  <mhabersack@novell.com>

* Makefile: Move Mono.Web back to the common section.

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

16 years agoCopy gmcs to the output when qh-ing
Marek Safar [Mon, 3 Mar 2008 22:54:45 +0000 (22:54 -0000)]
Copy gmcs to the output when qh-ing

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

16 years ago* Mono.WebBrowser/Exception.cs: Fix 1.1 build. Add header.
Andreia Gaita [Mon, 3 Mar 2008 22:45:38 +0000 (22:45 -0000)]
* Mono.WebBrowser/Exception.cs: Fix 1.1 build. Add header.

2008-03-03  Andreia Gaita <avidigal@novell.com>

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

16 years ago2008-03-03 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 3 Mar 2008 22:22:06 +0000 (22:22 -0000)]
2008-03-03  Ivan N. Zlatev  <contact@i-nz.net>

* ImageFormatConverter.cs: Perform a case insensitive comparison
instead of a case sensitive one.
[Fixes bug #366567]

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

16 years agoBuild break fix.
Veerapuram Varadhan [Mon, 3 Mar 2008 21:47:19 +0000 (21:47 -0000)]
Build break fix.

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

16 years ago2008-03-03 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 3 Mar 2008 21:46:18 +0000 (21:46 -0000)]
2008-03-03  Ivan N. Zlatev  <contact@i-nz.net>

* GridEntry.cs: Do not convert not only if the types match,
but also if the property type is assigneable from the value's
type.
[Fixes bug #366566]

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

16 years ago2008-03-03 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 3 Mar 2008 21:33:50 +0000 (21:33 -0000)]
2008-03-03  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGridView.cs:
 - Subscribe to the listbox only once and not everytime.
 - Update the textbox even if SetValue fails.
 - Close the listbox before calling TrySetValue just in case.
 [Fixes bug #366569]

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

16 years ago* Mono.Mozilla/Base.cs: Add service manager getter.
Andreia Gaita [Mon, 3 Mar 2008 21:01:48 +0000 (21:01 -0000)]
* Mono.Mozilla/Base.cs: Add service manager getter.
* Mono.Mozilla/interfaces/nsIWebBrowserStream.cs: Send basic IntPtr instead of byte array, arrays
  don't work.
* Mono.Mozilla/WebBrowser.cs: Proper streaming support, and exception handling
* Mono.WebBrowser/Exception.cs, Manager.cs: exception handling

2008-03-03  Andreia Gaita <avidigal@novell.com>

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

16 years ago2008-03-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 3 Mar 2008 20:50:46 +0000 (20:50 -0000)]
2008-03-03  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Hide ICollection.CopyTo from the 1.1 profile.

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

16 years ago** Fixes Bug#324025.
Veerapuram Varadhan [Mon, 3 Mar 2008 20:37:09 +0000 (20:37 -0000)]
** Fixes Bug#324025.

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

16 years agoClean up.
Veerapuram Varadhan [Mon, 3 Mar 2008 19:40:34 +0000 (19:40 -0000)]
Clean up.

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

16 years ago2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 3 Mar 2008 19:39:47 +0000 (19:39 -0000)]
2008-03-03 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.h: Move mono_reflection_is_valid_dynamic_token to
object-internal.h

* object-internal.h: Same.

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

16 years ago** Fixes #340451.
Veerapuram Varadhan [Mon, 3 Mar 2008 19:34:36 +0000 (19:34 -0000)]
** Fixes #340451.

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

16 years agoMore new tests.
Marek Safar [Mon, 3 Mar 2008 19:21:17 +0000 (19:21 -0000)]
More new tests.

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

16 years agoTest for Bug#332809.
Veerapuram Varadhan [Mon, 3 Mar 2008 19:20:41 +0000 (19:20 -0000)]
Test for Bug#332809.

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

16 years ago2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 3 Mar 2008 19:19:40 +0000 (19:19 -0000)]
2008-03-03 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.h: Fix the build I just broke.

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

16 years agoFixes from Bug#332809. Patch provided by Ernesto Carrea.
Veerapuram Varadhan [Mon, 3 Mar 2008 19:18:20 +0000 (19:18 -0000)]
Fixes from Bug#332809.  Patch provided by Ernesto Carrea.

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

16 years agoMore tests.
Marek Safar [Mon, 3 Mar 2008 19:15:22 +0000 (19:15 -0000)]
More tests.

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

16 years ago2008-03-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 3 Mar 2008 19:13:27 +0000 (19:13 -0000)]
2008-03-03  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs, cfold.cs, convert.cs, delegate.cs, doc.cs, ecore.cs,
expression.cs: Refactored binary operators resolve phase and improved speed.
The nullable code is still missing and won't work correctly, more fixes
required.

It also fixes #323726, #324312, #324248, and many other unreported issues.

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

16 years ago2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 3 Mar 2008 19:01:53 +0000 (19:01 -0000)]
2008-03-03 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (mono_reflection_is_valid_dynamic_token): New function,
Test if a token is valid, this remove explicit usage of
MonoDynamicImage::tokens from the verifier code.

* reflection.h: Added mono_reflection_is_valid_dynamic_token.

* verify.c (token_bounds_check): Use mono_reflection_is_valid_dynamic_token
instead of direct access to MonoDynamicImage::tokens.

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

16 years ago2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 3 Mar 2008 18:21:06 +0000 (18:21 -0000)]
2008-03-03 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (token_bounds_check): Fix the build I just broke.

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

16 years ago2008-03-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 3 Mar 2008 18:08:56 +0000 (18:08 -0000)]
2008-03-03  Sebastien Pouliot  <sebastien@ximian.com>

* TestIcon.cs: Add test case for #366485.

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

16 years ago2008-03-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 3 Mar 2008 18:08:03 +0000 (18:08 -0000)]
2008-03-03  Sebastien Pouliot  <sebastien@ximian.com>

* Icon.cs: Don't require icon entries when creating a new icon
(since they won't exist if we create the icon from an handle).
Also avoid a step when cloning. Fix bug #366485

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

16 years ago2008-03-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 3 Mar 2008 15:34:05 +0000 (15:34 -0000)]
2008-03-03 Rodrigo Kumpera  <rkumpera@novell.com>
* verify.c (token_bounds_check): Fix bounds check for dynamic images.

* verify.c (verifier_load_method): Fixed the errors message.

* verify.c (mono_method_verify): Fixed a debug message.

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

16 years agoUpdate
Miguel de Icaza [Mon, 3 Mar 2008 14:45:42 +0000 (14:45 -0000)]
Update

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

16 years ago2008-03-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 3 Mar 2008 11:14:25 +0000 (11:14 -0000)]
2008-03-03  Marek Safar  <marek.safar@gmail.com>

* Makefile: Moved Mono.Web to 2.0 section.

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

16 years agoMoved to mainline.
Marek Safar [Mon, 3 Mar 2008 10:54:27 +0000 (10:54 -0000)]
Moved to mainline.

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

16 years agoIn class/System.Data:
Ankit Jain [Mon, 3 Mar 2008 08:04:56 +0000 (08:04 -0000)]
In class/System.Data:

* System.Data.dll.sources: Add new OleDbMetaDataCollectionNames.cs
* System.Data_test.dll.sources: Add the new OdbcMetaDataColumnNamesTest,
OleDbMetaDataCollectionNamesTest and SqlClientMetaDataCollectionNamesTest.

In class/System.Data/System.Data.Odbc:

* OdbcMetaDataCollectionNames.cs: Set the field values.

In class/System.Data/System.Data.OleDb:

* OleDbMetaDataCollectionNames.cs: New.

In class/System.Data/System.Data.SqlClient:

* SqlClientMetaDataCollectionNames.cs: Set the field values.

In class/System.Data/Test/System.Data.Odbc:

* OdbcMetaDataCollectionNamesTest.cs: New.

In class/System.Data/Test/System.Data.OleDb:

* OleDbMetaDataCollectionNamesTest.cs: New.

In class/System.Data/Test/System.Data.SqlClient:

* SqlClientMetaDataCollectionNamesTest.cs: New.

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

16 years ago2008-03-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 3 Mar 2008 07:58:02 +0000 (07:58 -0000)]
2008-03-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Implement support for custom column width based on
Columns collection (we were previously using this collection only
with Details view).
Fixes #364484.

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

16 years ago2008-03-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Mar 2008 03:32:07 +0000 (03:32 -0000)]
2008-03-03  Zoltan Varga  <vargaz@gmail.com>

* System.dll.sources: Add the new regex interpreter/compiler sources, not yet
used.

* net_2_1_raw_System.dll.sources: Ditto.

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

16 years ago2008-03-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 3 Mar 2008 03:14:26 +0000 (03:14 -0000)]
2008-03-03  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_emit_prolog): Improve the first bblock optimization
a bit.

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

16 years ago2008-03-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Mar 2008 20:57:56 +0000 (20:57 -0000)]
2008-03-02  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_method_to_ir): Allow callvirt on static methods for compatibility
with MS.

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

16 years ago2008-03-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Mar 2008 20:50:07 +0000 (20:50 -0000)]
2008-03-02  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_emit_prolog): Fix tracing after the last change.

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

16 years ago2008-03-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 2 Mar 2008 20:28:38 +0000 (20:28 -0000)]
2008-03-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: For Tile view, always set bounds for the first
subitem (which is the main one), and also don't let Width be larger
than ListView.TileSize.Width. Improve code readibility also.
* ThemeWin32Classic.cs: When painting the ListViewItem instances
in Tile view, _always_ use the NoWrap flag.
Fixes #360798.

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

16 years ago* Mono.Mozilla.dll.sources: Added yet another bunch of interfaces to
Andreia Gaita [Sun, 2 Mar 2008 19:53:24 +0000 (19:53 -0000)]
* Mono.Mozilla.dll.sources: Added yet another bunch of interfaces to
  support streaming and services
* Mono.Mozilla/Base.cs: Added a ServiceManager getter to allow direct
  access to all mozilla services through contract IDs
* Mono.Mozilla/WebBrowser.cs: Stream support, for sending data directly
  to the embedded browser.

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

16 years ago* xpidl2cs.pl: More type conversion. Fix const vs
Andreia Gaita [Sun, 2 Mar 2008 19:48:35 +0000 (19:48 -0000)]
* xpidl2cs.pl: More type conversion. Fix const vs
  [const, array] detection.

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

16 years ago2008-03-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 2 Mar 2008 19:41:28 +0000 (19:41 -0000)]
2008-03-02  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_emit_prolog): Avoid saving dead arguments.

* mini.c (mono_method_check_inlining): Avoid disabling inlining for methods
whose class has no cctor.

* liveness.c (mono_analyze_liveness): Mark dead arguments with MONO_INST_IS_DEAD.

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

16 years ago* DriveInfo.cs: Removed debug code.
Gert Driesen [Sun, 2 Mar 2008 19:24:27 +0000 (19:24 -0000)]
* DriveInfo.cs: Removed debug code.

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

16 years ago2008-03-02 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 2 Mar 2008 18:16:41 +0000 (18:16 -0000)]
2008-03-02  Ivan N. Zlatev  <contact@i-nz.net>

* DesignModeSite.cs: Fix Name setter to actually set the name.

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

16 years ago2008-03-02 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 2 Mar 2008 15:30:06 +0000 (15:30 -0000)]
2008-03-02  Miguel de Icaza  <miguel@novell.com>

* configure.in: No need to detect mcs1, as we are going to keep
mcs as the 1.0 compiler and gmcs as the 2.0 compiler.  Since
making mcs a 2.0 compiler caused too many problems.

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

16 years ago* ProvidersHelper.cs: fixed thread safety issue in InstantiateProvider
Vladimir Krasnov [Sun, 2 Mar 2008 13:05:43 +0000 (13:05 -0000)]
* ProvidersHelper.cs: fixed thread safety issue in InstantiateProvider

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

16 years agoBug #352210 fix, and add support for RoundtripKind parsing.
Roei Erez [Sun, 2 Mar 2008 06:56:47 +0000 (06:56 -0000)]
Bug #352210 fix, and add support for RoundtripKind parsing.

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

16 years ago2008-03-01 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 1 Mar 2008 23:19:43 +0000 (23:19 -0000)]
2008-03-01  Ivan N. Zlatev  <contact@i-nz.net>

* ControlDesigner.cs: Ignore the first WM_MOUSEMOVE after
WM_MOUSEDOWN as it is sent just after it.
* ParentControlDesigner.cs: Monitor Component Remove events
and fire ComponentChanging/ed events for the Parent of the removed
Control. Helps the UndoEngine to serialize parent changes.
* ControlDesigner.cs: Set the Control.Text to be the component name.
* FormDocumentDesigner.cs: Added.
* PanelDesigner.cs: Added.
* UISelectionService.cs: Set Parent through the TypeDescriptor, so
that component change notifications get fired.
* DefaultMenuCommands.cs: Implement Cut, Copy, Paste
* DocumentDesigner:
 - Drop Form specific code.
 - Add menu commands.

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

16 years ago2008-03-01 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 1 Mar 2008 23:16:18 +0000 (23:16 -0000)]
2008-03-01  Ivan N. Zlatev  <contact@i-nz.net>

* MenuCommandService.cs: implemeneted
* DesignerHost.cs: Do not fire ComponentChanging/ed events
when removing a component.
* DesignModeSite: Naming fixes.
* UndoEngine.cs: A lot of bugfixes.
* SelectionService: Set root component as selected if the
last remaining component from the current selection has been
removed.

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

16 years ago2008-03-01 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 1 Mar 2008 23:12:56 +0000 (23:12 -0000)]
2008-03-01  Ivan N. Zlatev  <contact@i-nz.net>

* CodeDomSerializerBase.cs, PropertyCodeDomSerializer.cs:
PropertySerializer shouldn't check for serialization visibility
as its duty is to serialize properies if invoked directly.
CodeDomSerializerBase.SerializeProperties should check the
visibility.
* CodeDomSerializer.cs: Fix deserialize to deserialize all
statements.
* CodeDomDesignerLoader.cs: Implement IDesignerSerializationService
using the ComponentSerializationService instead of calling
ourselves recursive.
* CodeDomComponentSerializationService.cs: A lot of bugfixes.
* DesignerSerializationManager.cs:
 - Verify that we are not in session before creating a new one.
 - Do not check whether we should
 preserve names in GetInstance. This is only for CreateInstance.
 - Fix a NRE if serialization providers are not initialized.
* CodeDomSerializationProvider.cs, CodeDomDesignerLoader.cs:
Refactor the codedom provider to a singleton, so that
CodeDomComponentSerializationService and others can share the
instance.
* SerializeAbsoluteContext.cs: ShouldSerialize should check if
the absolute context is of the same member not the opposite.

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

16 years ago2008-03-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 1 Mar 2008 22:02:36 +0000 (22:02 -0000)]
2008-03-01  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_method_to_ir): Report calling a static method using callvirt as
unverified.

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

16 years ago2008-03-01 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 1 Mar 2008 21:40:48 +0000 (21:40 -0000)]
2008-03-01  Ivan N. Zlatev  <contact@i-nz.net>

        * Component.cs: Do not set the Site to null on disposing as this
        is the Containers job. Instead try to remove from Container if sited.

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

16 years agoUse mono.pub key
Miguel de Icaza [Sat, 1 Mar 2008 06:27:00 +0000 (06:27 -0000)]
Use mono.pub key

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

16 years agoFixed
Miguel de Icaza [Sat, 1 Mar 2008 06:24:19 +0000 (06:24 -0000)]
Fixed

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

16 years ago2008-03-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 1 Mar 2008 02:24:56 +0000 (02:24 -0000)]
2008-03-01  Marek Habersack  <mhabersack@novell.com>

* SectionInformation.cs: added an internal property -
ConfigFilePath, used when deserializing a section in
ConfigurationSection.GetRuntimeObject.

* Configuration.cs: set SectionInformation.ConfigFilePath when
getting an instance of a section.

* ConfigurationSection.cs: support the 'configSource' attribute
when section is read through GetRuntimeObject.

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

16 years agofix
Marek Habersack [Sat, 1 Mar 2008 00:06:24 +0000 (00:06 -0000)]
fix

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

16 years agoUpdate for the recent changes in SettingsMapper
Marek Habersack [Sat, 1 Mar 2008 00:04:24 +0000 (00:04 -0000)]
Update for the recent changes in SettingsMapper

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

16 years ago2008-03-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 29 Feb 2008 23:49:18 +0000 (23:49 -0000)]
2008-03-01  Marek Habersack  <mhabersack@novell.com>

* HttpRuntime.cs: SettingsMappingManager has been moved to
Mono.Web.
2008-03-01  Marek Habersack  <mhabersack@novell.com>

* WebConfigurationManager.cs: SettingsMappingManager has been
moved to Mono.Web.dll
2008-03-01  Marek Habersack  <mhabersack@novell.com>

* Makefile: added a dependency on Mono.Web.dll

* System.Web.dll.sources: removed SystemSettingsMapper public APIs
and moved them to the Mono.Web assembly.
2008-03-01  Marek Habersack  <mhabersack@novell.com>

* AssemblyInfo.cs: added
2008-03-01  Marek Habersack  <mhabersack@novell.com>

* ISectionSettingsMapper.cs, MembershipSectionMapper.cs,
RoleManagerSectionMapper.cs, SettingsMapping.cs,
SettingsMappingManager.cs, SettingsMappingWhat.cs: moved to here
from System.Web
2008-03-01  Marek Habersack  <mhabersack@novell.com>

* Mono.Web.dll.sources: added

* Makefile: added

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

16 years agoRevert the mcs switch, we will keep the old settings for now
Miguel de Icaza [Fri, 29 Feb 2008 22:35:41 +0000 (22:35 -0000)]
Revert the mcs switch, we will keep the old settings for now

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

16 years agosvn path=/trunk/mono/; revision=97024
Miguel de Icaza [Fri, 29 Feb 2008 22:26:33 +0000 (22:26 -0000)]
svn path=/trunk/mono/; revision=97024

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

        * StringCollectionEditor.cs:
         - Split the lines not based on Environment.NewLine as this is
         not what is used by MWF on Windows.
         - Ignore last empty line.
        [Fixes bug #365948]

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

16 years ago2008-02-29 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 29 Feb 2008 20:28:44 +0000 (20:28 -0000)]
2008-02-29  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGrid.cs: Fix wrong array size initialization.
* GridEntry.cs: For MS compitability make all child properties
readonly if the parent is readonly. Ugh.
[Fixes bug #365945 and #365944]

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

16 years ago * wsdl.1: Fix groff comment (so that it doesn't appear in monodoc's
Jonathan Pryor [Fri, 29 Feb 2008 19:44:30 +0000 (19:44 -0000)]
  * wsdl.1: Fix groff comment (so that it doesn't appear in monodoc's
    man-provider output).

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

16 years ago2008-02-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 29 Feb 2008 16:17:58 +0000 (16:17 -0000)]
2008-02-29  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: implement a mechanism to ignore certain virtual
paths when batch compiling. Helps applications which may have
.as?x files which won't work on mono for various reasons (one such
sample is mojoportal).

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

16 years ago2008-02-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 29 Feb 2008 16:07:20 +0000 (16:07 -0000)]
2008-02-29  Zoltan Varga  <vargaz@gmail.com>

* report.cs (FeatureIsNotAvailable): Use 'mcs1' instead of 'mcs', and 'mcs'
instead of 'gmcs'.

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

16 years ago* HtmlHistory.cs: Fix sigs for Forward and Back to navigate by index
Andreia Gaita [Fri, 29 Feb 2008 16:04:18 +0000 (16:04 -0000)]
* HtmlHistory.cs: Fix sigs for Forward and Back to navigate by index
  relative to the history

2008-02-29  Andreia Gaita <avidigal@novell.com>

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

16 years ago2008-02-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 29 Feb 2008 15:18:10 +0000 (15:18 -0000)]
2008-02-29  Zoltan Varga  <vargaz@gmail.com>

* mini-ops.h: Remove OP_SPARC_INARG_VT, add a new OP_VTARG_ADDR opcode instead
to be in sync with the code on the linear IR branch.

* mini-sparc.c inssel-sparc.brg: Use OP_VTARG_ADDR.

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

16 years ago2008-02-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 29 Feb 2008 12:45:19 +0000 (12:45 -0000)]
2008-02-29  Marek Habersack  <mhabersack@novell.com>

* machine.config: added an entry to ignore the browserCaps section.

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

16 years ago2008-02-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 29 Feb 2008 11:58:11 +0000 (11:58 -0000)]
2008-02-29  Zoltan Varga  <vargaz@gmail.com>

* inssel-s390.brg (OP_SETRET (freg)): Set dreg correctly.

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

16 years ago* HtmlElement.cs: More handlers for mouse and key events
Andreia Gaita [Fri, 29 Feb 2008 00:32:52 +0000 (00:32 -0000)]
* HtmlElement.cs: More handlers for mouse and key events

2008-02-29  Andreia Gaita <avidigal@novell.com>

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

16 years agoRan ispell-buffer, inspired by the email by Adrian Kuhn
Miguel de Icaza [Thu, 28 Feb 2008 23:41:27 +0000 (23:41 -0000)]
Ran ispell-buffer, inspired by the email by Adrian Kuhn

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

16 years ago2008-02-28 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 28 Feb 2008 22:04:03 +0000 (22:04 -0000)]
2008-02-28  Miguel de Icaza  <miguel@novell.com>

* scripts/Makefile.am: Implement new defaults for the Mono 2.0
release, 2.0 profile executables are now the defaults (al, ilasm,
mkbundle, mono-api-info, monop, resgen, wsdl and mcs).

Old commands running under the 1.0 profile are still available
by having the number 1 appended to their command name (al1,
ilasm1, mcs1, mkbundle1, mono-api-info1, monop1, resgen1, wsdl1).

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

16 years ago* WebBrowserBase.cs: MouseClick sig changed.
Andreia Gaita [Thu, 28 Feb 2008 21:10:13 +0000 (21:10 -0000)]
* WebBrowserBase.cs: MouseClick sig changed.
* HtmlHistory.cs: Implement history navigation
* HtmlElement.cs: Add event handlers, and connect them.

2008-02-28  Andreia Gaita  <avidigal@novell.com>

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

16 years ago* Mono.Mozilla/DOM/EventListener.cs: Implementation of the
Andreia Gaita [Thu, 28 Feb 2008 21:08:29 +0000 (21:08 -0000)]
* Mono.Mozilla/DOM/EventListener.cs: Implementation of the
nsIDOMEventListener, so that events can be registered as-needed
for each dom object, instead of gluezilla firing everything up.
This class will eventually replace gluezilla's EventListener.

* Mono.Mozilla/DOM/Node.cs: Store the hashcode of the unmanaged
object before proxying so we can use it to match events to objects.
Implement event handling for dom objects. These events are registered
on the managed EventListener and go straight out to the caller (don't
go out through the Callback class).

* Mono.Mozilla/DOM/HTMLElement.cs,
  Mono.Mozilla/DOM/Attribute.cs,
  Mono.Mozilla/DOM/Element.cs: Use the hashcode stored on the
  parent Node class instead of the local object hashcode (the
  local object is a proxy, while the stored hashcode is from
  the real object)

* Mono.Mozilla/DOM/Navigation.cs: Implement navigation through
the history.

* Mono.Mozilla/WebBrowser.cs: Move callback-related code to
the Callback class. Add support for registering and firing events
coming from the Callback class (generic window events, element
specific events come through the element it was registered on).

* Mono.Mozilla/Callback.cs: Cleaned up unused callbacks, moved
callback-related code from WebBrowser.cs to here to keep all
callback code together. All events coming through here are
window-related and get sent to the handlers registered through
the WebBrowser class/interface.

* Mono.Mozilla/ICallback.cs: Removed, unnecessary overhead.
* Mono.Mozilla/Base.cs: new pinvokes to support the string classes
* Mono.Mozilla/UniString.cs: Wrapper for mozilla's nsString class
* Mono.Mozilla/AsciiString.cs: Wrapper for mozilla's nsCString class

* Mono.Mozilla.dll.sources:
new files: AsciiString, UniString, EventListener, nsIDOMEvent,
nsIDOMEventListener, nsIDOMEventTarget, nsIDOMKeyEvent, nsIDOMMouseEvent,
nsIDOMUIEvent, NodeEventArgs, NodeEventHandler
removed: ICallback

2008-02-28  Andreia Gaita <avidigal@novell.com>

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

16 years agoThu Feb 28 19:52:30 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Feb 2008 18:11:08 +0000 (18:11 -0000)]
Thu Feb 28 19:52:30 CET 2008 Paolo Molaro <lupus@ximian.com>

* CounterCreationData.cs, PerformanceCounterCategory.cs,
PerformanceCounter.cs: bugfixes, icalls for categories,
more methods implemented.

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

16 years agoThu Feb 28 19:49:45 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Feb 2008 18:08:54 +0000 (18:08 -0000)]
Thu Feb 28 19:49:45 CET 2008 Paolo Molaro <lupus@ximian.com>

* icall-def.h, domain.c, mono-perfcounters-def.h, mono-perfcounters.c,
mono-perfcounters.h, class-internals.h: support for predefined
writable counters, query of categories and counters, bugfixes.

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

16 years ago2008-02-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 28 Feb 2008 17:10:30 +0000 (17:10 -0000)]
2008-02-28 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_refanytype): Verify the refanytype opcode.

* verify.c (mono_method_verify): Use do_refanytype.

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

16 years ago2008-02-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 28 Feb 2008 17:09:10 +0000 (17:09 -0000)]
2008-02-28 Rodrigo Kumpera <rkumpera@novell.com>

* invalid_refanytype_null_stack_top.il: New test for refanytype opcode.

* invalid_refanytype_invalid_stack_top.il: Same.

* valid_refanytype.il: Same.

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

16 years ago* xpidlcs.pl: Add overrideable names (for renaming parameters that
Andreia Gaita [Thu, 28 Feb 2008 16:24:40 +0000 (16:24 -0000)]
* xpidlcs.pl: Add overrideable names (for renaming parameters that
clash with c# keywords). Turn DOMTimeStamp to int for now.

2008-02-28  Andreia Gaita  <avidigal@novell.com>

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

16 years ago2008-02-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 28 Feb 2008 16:18:19 +0000 (16:18 -0000)]
2008-02-28 Rodrigo Kumpera  <rkumpera@novell.com>
* verify.c (do_mkrefany): Verify the mkrefany opcode.

* verify.c (mono_method_verify): Use do_mkrefany.

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

16 years ago2008-02-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 28 Feb 2008 16:16:36 +0000 (16:16 -0000)]
2008-02-28 Rodrigo Kumpera <rkumpera@novell.com>

* make_mkrefany.il: New test generator for mkrefany opcode.

* make_tests.sh: Added tests for mkrefany.

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

16 years ago2008-02-28 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 28 Feb 2008 14:57:21 +0000 (14:57 -0000)]
2008-02-28  Ivan N. Zlatev  <contact@i-nz.net>

* GridEntry.cs:
 - Use PropertyDescriptor.DisplayName instead of .Name for Label,
   so that DisplayNameAttribute doesn't get ignored.
 - Check for ParenthesizeNameAttribute and parenthesize the Label.
 - Add support for PasswordPropertyTextAttribute
* PropertyGridView.cs: Check if an entry is a password.
[Fixes bugs #365589, #365586, #365588]

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

16 years ago* PropertyGridView.cs: Revert the message filtering change, as we
Andreia Gaita [Thu, 28 Feb 2008 14:35:14 +0000 (14:35 -0000)]
* PropertyGridView.cs: Revert the message filtering change, as we
need it to block after all. Remove block parameter, unnecessary.

2008-02-28  Andreia Gaita <avidigal@novell.com>

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

16 years ago2008-02-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 28 Feb 2008 13:14:20 +0000 (13:14 -0000)]
2008-02-28  Marek Habersack  <mhabersack@novell.com>

        * HandlerFactoryConfiguration.cs: ignore case when matching
        handler paths.
2008-02-28  Marek Habersack  <mhabersack@novell.com>

        * HttpHandlerAction.cs: ignore case when matching handler
        paths. Fixes bug #364995
2008-02-28  Marek Habersack  <mhabersack@novell.com>

        * TemplateControlParser.cs: when registering a control, check for
        the .ascx extension case-insensitively. Fixes bug #364995

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

16 years ago2008-02-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 28 Feb 2008 11:50:46 +0000 (11:50 -0000)]
2008-02-28  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: make sure that data-bound attribute
assignments properly convert the Bind expression to the Eval
one. Fixes bug #362039

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

16 years ago2008-02-28 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 28 Feb 2008 11:20:48 +0000 (11:20 -0000)]
2008-02-28 Igor Zelmanovich <igorz@mainsoft.com>

* Control.cs:
fixed exception propagation in case of multiple control with same id
were found.

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

16 years ago Remove code that's no longer needed.
Marek Habersack [Thu, 28 Feb 2008 00:56:17 +0000 (00:56 -0000)]
Remove code that's no longer needed.

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

16 years ago2008-02-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 28 Feb 2008 00:46:14 +0000 (00:46 -0000)]
2008-02-28  Marek Habersack  <mhabersack@novell.com>

* HttpParamsCollection.cs: restore the GetValues overrides only to
make sure the collections are merged before invoking the base
implementation.

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

16 years ago2008-02-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 28 Feb 2008 00:08:23 +0000 (00:08 -0000)]
2008-02-28  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs: in 2.0+, aspx files which contain the Content
controls can contain only them, whitespace and directives. Fixes
bug #339747

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

16 years ago2008-02-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 27 Feb 2008 19:31:09 +0000 (19:31 -0000)]
2008-02-27  Jonathan Pobst  <monkey@jpobst.com>

* UserControl.cs: Better implementation of GetPreferredSize.
First step to fixing bug #361441.

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

* UserControlTest.cs: Add test for PreferredSize.

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

16 years ago2008-02-27 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 27 Feb 2008 18:40:57 +0000 (18:40 -0000)]
2008-02-27  Chris Toshok  <toshok@ximian.com>

        * mono-api-info.cs: include protected nested classes in the
        output.

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

16 years agoWed Feb 27 20:00:04 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 27 Feb 2008 18:14:57 +0000 (18:14 -0000)]
Wed Feb 27 20:00:04 CET 2008 Paolo Molaro <lupus@ximian.com>

* CounterSample.cs, CounterSampleCalculator.cs, PerformanceCounter.cs,
PerformanceCounterCategory.cs, PerformanceCounterCategoryType.cs:
beginning of the performance counter implementation.

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

16 years agoWed Feb 27 19:49:16 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 27 Feb 2008 18:05:07 +0000 (18:05 -0000)]
Wed Feb 27 19:49:16 CET 2008 Paolo Molaro <lupus@ximian.com>

* Makefile.am, icall-def.h, icall.c, mono-perfcounters-def.h,
mono-perfcounters.c, mono-perfcounters.h: basic performance counter
implementation.

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

16 years ago2008-02-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 27 Feb 2008 17:28:53 +0000 (17:28 -0000)]
2008-02-27  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_synchronized_wrapper): Fix the code which throws
the type load exception.

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

16 years ago2008-02-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 27 Feb 2008 16:53:01 +0000 (16:53 -0000)]
2008-02-27 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Added a few FIXME for method signatures

* verify.c (do_invoke_method): Use mono_method_get_signature_full instead
of mono_method_get_signature and get vararg call working. Removed unused
checks for return value.

* verify.c (do_refanyval): Verify the refanyval opcode.

* verify.c (mono_method_verify): Implemented verification of arglist and
use do_refanyval.

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

16 years ago2008-02-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 27 Feb 2008 16:48:36 +0000 (16:48 -0000)]
2008-02-27 Rodrigo Kumpera <rkumpera@novell.com>

* valid_vararg.il: New test for calling vararg methods.

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

16 years ago2008-02-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 27 Feb 2008 16:45:52 +0000 (16:45 -0000)]
2008-02-27 Rodrigo Kumpera <rkumpera@novell.com>

* valid_refanyval.il: New test for the refanyval opcode.

*  invalid_refanyval_null_stack_top.il: Same.

*  invalid_refanyval_invalid_stack_top.il: Same.

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