mono.git
15 years agooops
Raja R Harinath [Thu, 4 Sep 2008 09:42:20 +0000 (09:42 -0000)]
oops

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

15 years agostyle nits
Raja R Harinath [Thu, 4 Sep 2008 09:42:03 +0000 (09:42 -0000)]
style nits

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

15 years agoStyle nits
Raja R Harinath [Thu, 4 Sep 2008 09:24:29 +0000 (09:24 -0000)]
Style nits

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

15 years agoNew tests.
Marek Safar [Thu, 4 Sep 2008 09:08:32 +0000 (09:08 -0000)]
New tests.

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

15 years ago2008-09-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 4 Sep 2008 09:08:18 +0000 (09:08 -0000)]
2008-09-04  Marek Safar  <marek.safar@gmail.com>

* expression.cs (This): Guard against multi-resolving.

* ecore.cs, statement.cs (Throw): Simplified.

* flowanalysis.cs: Also verify event fields.

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

15 years agoinitial sys.web.routing checkin. Just stubs yet.
Atsushi Eno [Thu, 4 Sep 2008 08:32:22 +0000 (08:32 -0000)]
initial sys.web.routing checkin. Just stubs yet.

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

15 years agoinitial sys.web.abstractions checkin. Mostly stubs and wrappers.
Atsushi Eno [Thu, 4 Sep 2008 08:22:50 +0000 (08:22 -0000)]
initial sys.web.abstractions checkin. Mostly stubs and wrappers.

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

15 years ago2008-09-04 Daniel Morgan <monodanmorg@yahoo.com>
Daniel Morgan [Thu, 4 Sep 2008 07:51:04 +0000 (07:51 -0000)]
2008-09-04  Daniel Morgan <monodanmorg@yahoo.com>

* System.Data.OracleClient/OracleDataReader.cs: return true
in NextResult if another result

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

15 years agoSmall update
Miguel de Icaza [Thu, 4 Sep 2008 07:19:18 +0000 (07:19 -0000)]
Small update

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

15 years ago2008-09-04 Daniel Morgan <monodanmorg@yahoo.com>
Daniel Morgan [Thu, 4 Sep 2008 07:12:49 +0000 (07:12 -0000)]
2008-09-04  Daniel Morgan <monodanmorg@yahoo.com>

* System.Data.OracleClient/OracleCommand.cs: removed AssertNoDataReader
because oracle allows multiple result sets and has since .NET 1.0,
fix bug where REF CURSOR would not work for ExecuteReader or
filling a DataSet via an OracleDataAdapter.  The REF CURSOR is used to
populate the DataSet.

* System.Data.OracleClient/OracleDataReader.cs: fix for getting
next result set; implement NET_2_0 methods
GetProviderSpecificFieldType,
GetProviderSpecificValuee,
GetProviderSpecificValue; and validate the reader is open
before allowing a Read or NextResult, otherwise, throw
an InvalidOperationException

* System.Data.OracleClient/OracleParameter.cs: fix for
getting one or more REF CURSOR out parameters if
ExecuteReader was called.

* System.Data.OracleClient.Oci/OciErrorHandle.cs
* System.Data.OracleClient.Oci/OciHandle.cs: add addiional method
for getting error, such as, INVALID_HANDLE being passed to OCI

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

15 years ago2008-09-04 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 4 Sep 2008 06:50:28 +0000 (06:50 -0000)]
2008-09-04  Miguel de Icaza  <miguel@novell.com>

* repl.cs (PrettyPrint): Add Hashtable prettyprint

* anonymous.cs (AnonymousTypeClass): On EvalMode make the class
public.

* repl.cs: Update help.

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

15 years agoremove cwl
Jb Evain [Thu, 4 Sep 2008 06:40:31 +0000 (06:40 -0000)]
remove cwl

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

15 years agoUpdate the mcs.1 man page, add csharp.1 man page
Miguel de Icaza [Thu, 4 Sep 2008 06:18:18 +0000 (06:18 -0000)]
Update the mcs.1 man page, add csharp.1 man page

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

15 years ago* DataColumn.cs (AllowDBNull.set): Rearrange code to be more readable.
Raja R Harinath [Thu, 4 Sep 2008 06:12:34 +0000 (06:12 -0000)]
* DataColumn.cs (AllowDBNull.set): Rearrange code to be more readable.
(AutoIncrement.set): Likewise.
(Caption): Likewise.
(SetDefaultValue): Likewise.

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

15 years agoStyle nits
Raja R Harinath [Thu, 4 Sep 2008 06:12:11 +0000 (06:12 -0000)]
Style nits

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

15 years ago2008-09-03 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 4 Sep 2008 00:33:04 +0000 (00:33 -0000)]
2008-09-03  Miguel de Icaza  <miguel@novell.com>

* driver.cs (ProcessDefaultConfig): Now it encapsulates all the
handling of the default config handling, including the special
treatment of System.Core assembly.

Fixes the REPL processing for LINQ.

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

15 years agoIn .:
Rodrigo Kumpera [Wed, 3 Sep 2008 21:18:19 +0000 (21:18 -0000)]
In .:
2008-09-03 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (verify_type_compatibility_full): Revert change
to allow converting a native int to unmanaged pointer be verifiable
under non-strict mode.
It turns out that "(IntPtr)null" is indeed unverifiable, go figure.

* verify.c: Added some TODOs.

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

15 years ago* AssemblyInfo.cs: Added InternalsVisibleTo attribute to support
Mario Carrion [Wed, 3 Sep 2008 20:34:19 +0000 (20:34 -0000)]
* AssemblyInfo.cs: Added InternalsVisibleTo attribute to support
  UIAutomationWinforms assembly.

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

15 years agoIn .:
Rodrigo Kumpera [Wed, 3 Sep 2008 20:32:53 +0000 (20:32 -0000)]
In .:
2008-09-03 Rodrigo Kumpera <rkumpera@novell.com>

* strict_native_int_converts_to_unamanged_pointer.cs: It turns
out that this test should generate unverifiable code. Big WTF
for me as well.

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

15 years agoFixed test
Marek Safar [Wed, 3 Sep 2008 17:09:22 +0000 (17:09 -0000)]
Fixed test

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

15 years agoMore tests.
Marek Safar [Wed, 3 Sep 2008 15:25:55 +0000 (15:25 -0000)]
More tests.

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

15 years ago2008-09-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 3 Sep 2008 15:24:49 +0000 (15:24 -0000)]
2008-09-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #422507
* expression.cs (UnboxCast): Add missing child expression mutator.

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

15 years ago2008-09-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 3 Sep 2008 12:48:57 +0000 (12:48 -0000)]
2008-09-03  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPathTest.cs: Add unit test to check for an open curve
points.

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

15 years ago2008-09-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 3 Sep 2008 12:44:08 +0000 (12:44 -0000)]
2008-09-03  Marek Safar  <marek.safar@gmail.com>

* driver.cs: Don't self reference System.Core assembly.

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

15 years ago2008-09-03 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 3 Sep 2008 12:31:46 +0000 (12:31 -0000)]
2008-09-03  Ivan N. Zlatev  <contact@i-nz.net>

* ButtonBase.cs CheckBox.cs, Control.cs, FlowLayoutPanel.cs,
  FlowLayoutSettings.cs, GroupBox.cs, Label.cs, ListBox.cs,
  PropertyGrid.cs, RadioButton.cs, TableLayoutPanel.cs,
  TableLayoutSettings.cs, ToolStrip.cs, ToolStripDropDownButton.cs,
  ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripSplitButton.cs,
  ToolStripStatusLabel.cs: Add missing PerformLayout calls to various
  properties.
  [Fixes bug #418684]

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

15 years agoUpdated.
Marek Safar [Wed, 3 Sep 2008 12:19:32 +0000 (12:19 -0000)]
Updated.

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

15 years agoNew test.
Marek Safar [Wed, 3 Sep 2008 12:00:09 +0000 (12:00 -0000)]
New test.

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

15 years ago2008-09-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 3 Sep 2008 11:58:40 +0000 (11:58 -0000)]
2008-09-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #422507
* expression.cs (StringConcat): Add missing type mutator.

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

15 years agoNew test.
Marek Safar [Wed, 3 Sep 2008 09:55:39 +0000 (09:55 -0000)]
New test.

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

15 years ago2008-09-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 3 Sep 2008 09:55:25 +0000 (09:55 -0000)]
2008-09-03  Marek Safar  <marek.safar@gmail.com>

* generic.cs (TypeInferenceContext): Follow equality rule for
constructed type lower bound type inference.

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

15 years agoUpdate bug number.
Marek Safar [Wed, 3 Sep 2008 09:19:46 +0000 (09:19 -0000)]
Update bug number.

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

15 years agoControl enabled to support accessibility.
Neville Gao [Wed, 3 Sep 2008 03:58:17 +0000 (03:58 -0000)]
Control enabled to support accessibility.

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

15 years agoIn .:
Rodrigo Kumpera [Tue, 2 Sep 2008 21:38:53 +0000 (21:38 -0000)]
In .:
2008-09-02 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeBuilderTest.cs: New test for a field with initialized data
that is referenced from another assembly.

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

15 years ago2008-09-02 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Tue, 2 Sep 2008 21:38:03 +0000 (21:38 -0000)]
2008-09-02  Bill Holmes  <billholmes54@gmail.com>

* marshal.c (ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalAnsi,
  ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalUni) :
  Changed to use GlobalAlloc for the memory returned on Windows platforms.

Code is contributed under MIT/X11 license.

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

15 years ago2008-09-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 2 Sep 2008 21:30:56 +0000 (21:30 -0000)]
2008-09-02  Sebastien Pouliot  <sebastien@ximian.com>

* GraphicsPathTest.cs: Add a bunch of unit tests to check when
points can be compressed (removed) when adding shapes to a path.

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

15 years ago2008-09-02 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 2 Sep 2008 18:30:45 +0000 (18:30 -0000)]
2008-09-02  Miguel de Icaza  <miguel@novell.com>

* getline.cs (CmdRefresh): Apply patch from Douglas S. Blank
<dblank@cs.brynmawr.edu> which updates the cursor position on
refresh.

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

15 years ago2008-09-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 2 Sep 2008 18:20:49 +0000 (18:20 -0000)]
2008-09-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Binding.cs: When connecting the event handler for the "Changed"
event for the property, only do it for PropertyManager, and not for
CurrencyManager - this is exactly what does .Net, totally ignoring any
change in the property of the elements of a list.
Fixes the tests.

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

15 years ago2008-09-02 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 2 Sep 2008 17:45:45 +0000 (17:45 -0000)]
2008-09-02  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Metadata/UserStringsHeap.cs: fix reading of some unicode fu.

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

15 years ago2008-09-02 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 2 Sep 2008 17:39:33 +0000 (17:39 -0000)]
2008-09-02  Jb Evain  <jbevain@novell.com>

* object.c (mono_ldstr_metdata_sig): renamed to mono_ldstr_metadata_sig.

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

15 years ago2008-09-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Sep 2008 16:56:08 +0000 (16:56 -0000)]
2008-09-02  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationCodeGenerator.cs
  XmlSerializationWriterInterpreter.cs : fixed bug #419973.
  Sometimes implicit operators could involve and it affects on
  typecasting. It's simple for code generator, but very bad for
  reflection.

* XmlSerializerTestClasses.cs, XmlSerializerTests.cs:
  added test for bug #419973.

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

15 years ago2008-09-02 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 2 Sep 2008 16:11:10 +0000 (16:11 -0000)]
2008-09-02  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/MethodAttributes.cs: add CheckAccessOnOverride.
* Mono.Cecil/MethodDefinition.cs: add IsCheckAccessOnOverride.

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

15 years ago2008-09-02 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 2 Sep 2008 16:06:49 +0000 (16:06 -0000)]
2008-09-02  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/GenericParameter.cs: fix Has*Constraint properties.

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

15 years ago2008-09-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 2 Sep 2008 15:59:13 +0000 (15:59 -0000)]
2008-09-02  Jonathan Pobst  <monkey@jpobst.com>

* XplatUIWin32.cs: Ensure we never send the WS_EX_MDICHILD flag
to Windows when creating a window, as we fake MDI stuffs.
[Fixes bug #421858]

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

15 years agoRemoved finished tasks
Marek Safar [Tue, 2 Sep 2008 14:51:59 +0000 (14:51 -0000)]
Removed finished tasks

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

15 years agoNew test.
Marek Safar [Tue, 2 Sep 2008 14:36:07 +0000 (14:36 -0000)]
New test.

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

15 years ago2008-09-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 2 Sep 2008 14:32:23 +0000 (14:32 -0000)]
2008-09-02  Marek Safar  <marek.safar@gmail.com>

* driver.cs: Fixed import of extension methods when using -noconfig
option.

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

15 years ago2008-09-02 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 2 Sep 2008 14:16:43 +0000 (14:16 -0000)]
2008-09-02  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/SecurityDeclarationReader.cs: fix reading
multiple permissions. Patch by Carsten Keutmann.

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

15 years agoUpdated
Marek Safar [Tue, 2 Sep 2008 14:01:50 +0000 (14:01 -0000)]
Updated

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

15 years ago2008-09-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 2 Sep 2008 14:01:36 +0000 (14:01 -0000)]
2008-09-02  Marek Safar  <marek.safar@gmail.com>

* iterator.cs: Don't emit GetEnumerator method twice but call a generic
version from non-generic implementation instead.

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

15 years agoGive more info in the changelog, this is affecting MD 1.9 branch
Andrés G. Aragoneses [Tue, 2 Sep 2008 11:47:18 +0000 (11:47 -0000)]
Give more info in the changelog, this is affecting MD 1.9 branch

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

15 years ago2008-09-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Sep 2008 11:40:07 +0000 (11:40 -0000)]
2008-09-02  Atsushi Enomoto <atsushi@ximian.com>

        * XmlSchemaValidatingReader.cs : call EndValidation() only once.
          Fixed a bug additionally reported to #324606 (but wrong to
          attach).

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

15 years ago2008-09-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Sep 2008 11:07:46 +0000 (11:07 -0000)]
2008-09-02  Atsushi Enomoto  <atsushi@ximian.com>

        * web.config: added System.Web.Extensions.dll to assemblies.

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

15 years agosimplify
Jb Evain [Tue, 2 Sep 2008 07:10:28 +0000 (07:10 -0000)]
simplify

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

15 years agoreplace the null colescent operator by a if-null mor mcs1. Fix the build
Stephane Delcroix [Tue, 2 Sep 2008 06:44:42 +0000 (06:44 -0000)]
replace the null colescent operator by a if-null mor mcs1. Fix the build

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

15 years agoIn .:
Rodrigo Kumpera [Tue, 2 Sep 2008 04:09:40 +0000 (04:09 -0000)]
In .:
2008-09-02  Rodrigo Kumpera  <rkumpera@novell.com>

* method-to-ir.c (initialize_array_data): Handle field with RVA from
dynamic images.

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

15 years agoIn .:
Rodrigo Kumpera [Tue, 2 Sep 2008 04:08:05 +0000 (04:08 -0000)]
In .:
2008-09-02 Rodrigo Kumpera  <rkumpera@novell.com>

reflection.c (typebuilder_setup_fields): Handle classes with
explicit size.

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

15 years agoIn Test/System.ComponentModel:
Rodrigo Kumpera [Mon, 1 Sep 2008 23:52:37 +0000 (23:52 -0000)]
In Test/System.ComponentModel:
2008-09-01  Rodrigo Kumpera  <rkumpera@novell.com>

* PropertyDescriptorTest.cs: Tests for Get/Set Value of partial
overrides of virtual properties.

In System.ComponentModel:
2008-09-01  Rodrigo Kumpera  <rkumpera@novell.com>

* ReflectionPropertyDescriptor.cs (SetValue, GetValue) : Lookup
the MethodInfo for accessors in parent types in case of partial
overrides of virtual properties.

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

15 years agoIn .:
Rodrigo Kumpera [Mon, 1 Sep 2008 22:13:48 +0000 (22:13 -0000)]
In .:
2008-09-01 Rodrigo Kumpera  <rkumpera@novell.com>

class.c (mono_class_setup_events): Add memory barrier due to
double checked locking.

class.c (mono_class_setup_properties): Same.

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

15 years ago2008-09-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 1 Sep 2008 16:35:43 +0000 (16:35 -0000)]
2008-09-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #418908
* class.cs: Use AddScopeStatement for field initializers.

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

15 years ago2008-09-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 1 Sep 2008 16:35:11 +0000 (16:35 -0000)]
2008-09-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #418908
* class.cs: Use AddScopeStatement for field initializers.

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

15 years agoUpdate
Marek Safar [Mon, 1 Sep 2008 16:30:33 +0000 (16:30 -0000)]
Update

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

15 years ago2008-09-01 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 1 Sep 2008 16:04:02 +0000 (16:04 -0000)]
2008-09-01  Ivan N. Zlatev  <contact@i-nz.net>

* TextBox.cs: Invalidate after UseSystemPasswordChar, so that the
change takes effect.
[Fixes bug #417957]

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

15 years ago2008-09-01 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 1 Sep 2008 15:19:27 +0000 (15:19 -0000)]
2008-09-01  Jb Evain  <jbevain@novell.com>

* Mono.Linker/AssemblyResolver.cs: properly cache .exes.

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

15 years ago2008-09-01 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 1 Sep 2008 14:22:29 +0000 (14:22 -0000)]
2008-09-01  Jb Evain  <jbevain@novell.com>

* MemberBinding.cs: make .ctor protected instead of public.

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

15 years ago2008-09-01 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 1 Sep 2008 14:12:25 +0000 (14:12 -0000)]
2008-09-01  Jb Evain  <jbevain@novell.com>

* Expression.cs: guard against null parameters passed to Lambda.

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

15 years agoadd test for passing a null parameter to a lambda creation
Jb Evain [Mon, 1 Sep 2008 14:10:47 +0000 (14:10 -0000)]
add test for passing a null parameter to a lambda creation

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

15 years ago2008-09-01 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 1 Sep 2008 13:55:01 +0000 (13:55 -0000)]
2008-09-01  Ivan N. Zlatev  <contact@i-nz.net>

* SettingsPropertyValue.cs: Explicitly use the Invariant culture
instead of the current.
[Fixes bug #374516]

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

15 years agoNew test.
Marek Safar [Mon, 1 Sep 2008 13:48:17 +0000 (13:48 -0000)]
New test.

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

15 years ago2008-09-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 1 Sep 2008 13:48:01 +0000 (13:48 -0000)]
2008-09-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #415385
* ecore.cs, convert.cs: Do method group conversion for equal group types.

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

15 years ago2008-09-01 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 1 Sep 2008 13:31:27 +0000 (13:31 -0000)]
2008-09-01  Ivan N. Zlatev  <contact@i-nz.net>

* ParentControlDesigner.cs: Be nice with Components that are no
Controls in CreateToolCore.

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

15 years ago2008-09-01 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 1 Sep 2008 13:03:29 +0000 (13:03 -0000)]
2008-09-01  Dick Porter  <dick@ximian.com>

* InotifyWatcher.cs: Revert fix for bug 322330, as it is somehow
breaking other stuff.

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

15 years ago2008-09-01 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 1 Sep 2008 12:53:45 +0000 (12:53 -0000)]
2008-09-01  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ReflectionReader.cs: properly compose mod and byref types
for parameters and return types.
Based on a patch by Carlo Kok <ck@remobjects.com>

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

15 years ago2008-09-01 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 1 Sep 2008 12:46:11 +0000 (12:46 -0000)]
2008-09-01  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Signatures/SignatureReader.cs: Avoid a crash
when looking for an enumeration definition when the assembly
could not be resolved. Patch by Carlo Kok <ck@remobjects.com>

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

15 years agoMerge marker
Marek Safar [Mon, 1 Sep 2008 12:41:15 +0000 (12:41 -0000)]
Merge marker

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

15 years ago2008-08-24 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 1 Sep 2008 12:12:29 +0000 (12:12 -0000)]
2008-08-24  Ivan N. Zlatev  <contact@i-nz.net>

        * XplatUIX11.cs: Provide MouseButtons/State information to the XPlatUI.
        [Fixes bug #419001]

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

15 years ago2008-09-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 1 Sep 2008 11:41:52 +0000 (11:41 -0000)]
2008-09-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #421736
* iterators.cs: Don't crash on unreachable iterators.

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

15 years ago2008-09-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 1 Sep 2008 11:41:19 +0000 (11:41 -0000)]
2008-09-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #421736
* iterators.cs: Don't crash on unreachable iterators.

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

15 years ago2008-09-01 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 1 Sep 2008 11:29:23 +0000 (11:29 -0000)]
2008-09-01  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/ReflectionWriter.cs: fix for writing null string
constants. Patch by Ewout Prangsma <ewout@tallapplications.com>.

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

15 years agoNew tests.
Marek Safar [Mon, 1 Sep 2008 10:23:11 +0000 (10:23 -0000)]
New tests.

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

15 years ago2008-09-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 1 Sep 2008 10:22:53 +0000 (10:22 -0000)]
2008-09-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #421628
* parameter.cs, attribute.cs: Clone also parameter attributes.

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

15 years ago2008-09-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 1 Sep 2008 02:30:35 +0000 (02:30 -0000)]
2008-09-01  Marek Habersack  <mhabersack@novell.com>

* ControlBuilder.cs:
CreateSubBuilder compares tagid to tagName case-insensitively now.

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

15 years ago2008-09-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 1 Sep 2008 01:33:27 +0000 (01:33 -0000)]
2008-09-01  Marek Habersack  <mhabersack@novell.com>

* ControlBuilder.cs: CreatePropertyBuilder now correctly processes
property names with prefixes (e.g. 'prefix:PropertyName').
Original, parsed, tag name is stored to properly handle closing
tags.

2008-09-01  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs:
CloseControl uses ControlBuilder's OriginalTagName property,
should the property/tag name be prefixed with 'prefix:'

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

15 years ago2008-09-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 1 Sep 2008 00:17:51 +0000 (00:17 -0000)]
2008-09-01  Marek Habersack  <mhabersack@novell.com>

* UpdatePanel.cs: if the writer passed to RenderChildren is not
derived from ScriptManager.AlternativeHtmlTextWriter, check
whether its InnerWriter derives from that type and, if yes, use
it from that point onwards.

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

15 years ago2008-09-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sun, 31 Aug 2008 23:30:52 +0000 (23:30 -0000)]
2008-09-01  Marek Habersack  <mhabersack@novell.com>

* TemplateControl.cs: changed the way in which ParseControl is
implemented for the 2.0+ profile. Still not quite there, but
better and closer to .NET

2008-09-01  Marek Habersack  <mhabersack@novell.com>

* BaseCompiler.cs: AssignAppRelativeVirtualPath works with
null/empty parser.InputFile now.

* AspGenerator.cs: AddTypeToCache works checks whether inputFile
is null or empty and does not assume the dependencies ArrayList is
present.

* CachingCompiler.cs: expect the dependencies ArrayList to be null
or empty.

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

15 years ago2008-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 31 Aug 2008 19:45:12 +0000 (19:45 -0000)]
2008-08-31  Zoltan Varga  <vargaz@gmail.com>

* BitArrayTest.cs: Add a test for #421803.

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

15 years ago2008-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 31 Aug 2008 19:43:04 +0000 (19:43 -0000)]
2008-08-31  Zoltan Varga  <vargaz@gmail.com>

* BitArray.cs (CopyTo): Allow an index equal to the array length if
the bit array has no elements. Fixes #421803.

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

15 years ago2008-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 31 Aug 2008 19:35:10 +0000 (19:35 -0000)]
2008-08-31  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (handle_isinst): Do the assignment at the beginning, so the
other assignment can be if converted. Saves 1.5% on corlib size and fixes
#421807.

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

15 years agoThis file is auto-generated
Geoff Norton [Sun, 31 Aug 2008 17:26:07 +0000 (17:26 -0000)]
This file is auto-generated

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

15 years ago2008-08-31 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sun, 31 Aug 2008 17:05:28 +0000 (17:05 -0000)]
2008-08-31  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs:
Templates are processed before anything else, so that children
which may depend on parent's templates can get access to them.

2008-08-31  Marek Habersack  <mhabersack@novell.com>

* Control.cs: improved FillControlCache

* ControlBuilder.cs:
Added a cache for children of TemplateBuilder, used later in
TemplateControlCompiler.

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

15 years ago2008-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 31 Aug 2008 15:21:36 +0000 (15:21 -0000)]
2008-08-31  Zoltan Varga  <vargaz@gmail.com>

* RxInterpreter.cs: Port the Anchor+StartOfString optimization from the old
interpreter. Add credits.

* RxCompiler.cs (EmitString): Lowercase the string if ignore is true.

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

15 years ago2008-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 31 Aug 2008 09:39:06 +0000 (09:39 -0000)]
2008-08-31  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_is_assignable_from): Fix the build.

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

15 years ago2008-08-31 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sun, 31 Aug 2008 01:41:14 +0000 (01:41 -0000)]
2008-08-31  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: added support for the LinePragmas directive
attribute.

* ControlBuilder.cs: if this instance is a TemplateBuilder do not
call MyNamingContainer, so that our own ContainerType can be used
as the binding container (if present).

2008-08-31  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: trust builder.BindingContainerType
in the 2.0+ profile - do not use container properties to detect
the type.
Added a helper method, compiled only when DEBUG is defined, to
generate Console.WriteLine CodeDOM calls.

* BaseCompiler.cs: add line pragmas only if enabled for the
current file.

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

15 years ago2008-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 30 Aug 2008 23:25:10 +0000 (23:25 -0000)]
2008-08-31  Zoltan Varga  <vargaz@gmail.com>

* TypeBuilderTest.cs: Add a test for IsAssignableFrom and generic instances
of dynamic types.

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

15 years ago2008-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 30 Aug 2008 23:22:58 +0000 (23:22 -0000)]
2008-08-31  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_is_assignable_from): Call mono_class_setup_vtable ()
before accessing klass->interface_bitmap. Fixes #421744.

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

15 years ago2008-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 30 Aug 2008 23:08:02 +0000 (23:08 -0000)]
2008-08-31  Zoltan Varga  <vargaz@gmail.com>

* CILCompiler.cs: Fix the setting of the match position in the
anchor+char optimization.

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

15 years ago2008-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 30 Aug 2008 22:38:57 +0000 (22:38 -0000)]
2008-08-31  Zoltan Varga  <vargaz@gmail.com>

* CILCompiler.cs: Implement FastRepeatLazy.

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

15 years ago2008-08-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 30 Aug 2008 22:14:03 +0000 (22:14 -0000)]
2008-08-31  Zoltan Varga  <vargaz@gmail.com>

* CILCompiler.cs: Get rid of commented out code. Also get rid of
frame.local_strpos_res, since the generated code already set Arg1 to
the same value.

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

15 years agoWork to support typing compilation-unit level declarations in the shell.
Miguel de Icaza [Sat, 30 Aug 2008 20:14:13 +0000 (20:14 -0000)]
Work to support typing compilation-unit level declarations in the shell.

There is a major problem with it though: Reflection keeps gettting data
confused if you are using any of the *Builder classes and ends up
referencing other classes.     This seems like a real bug in Emit, not
really just an intended side effect.

So until all of those issues are fixed, the code path is disabled, but
at least declaring types works now.

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

15 years agoFix moving over symbols, for example the equal sign
Miguel de Icaza [Sat, 30 Aug 2008 16:36:13 +0000 (16:36 -0000)]
Fix moving over symbols, for example the equal sign

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

15 years agoVarious fixes to history handling
Miguel de Icaza [Sat, 30 Aug 2008 16:33:45 +0000 (16:33 -0000)]
Various fixes to history handling

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