mono.git
15 years ago2009-03-19 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 19 Mar 2009 18:09:38 +0000 (18:09 -0000)]
2009-03-19  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs, DataGridViewCellCollection.cs: Split the column removal
to perform Pre and Post removal actions to allow the current cell to be
moved and all events fired properly before the column is removed.

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

15 years ago2009-03-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 19 Mar 2009 17:58:09 +0000 (17:58 -0000)]
2009-03-19  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (fullaotcheck): Don't run the generics tests, some of
them don't run yet.

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

15 years ago2009-03-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 19 Mar 2009 17:57:04 +0000 (17:57 -0000)]
2009-03-19  Zoltan Varga  <vargaz@gmail.com>

* basic-simd.cs: Fix the names of some test methods.

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

15 years ago2009-03-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 19 Mar 2009 17:42:53 +0000 (17:42 -0000)]
2009-03-19  Zoltan Varga  <vargaz@gmail.com>

* locales.c (get_current_locale_name): Use g_malloc instead of malloc.

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

15 years ago2009-03-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 19 Mar 2009 13:44:14 +0000 (13:44 -0000)]
2009-03-19  Marek Habersack  <mhabersack@novell.com>

* ScriptManager.cs: WriteCallbackPanel is called from
UpdatePanel.RenderChildren and should not output anything for
panels registered as the ones to refresh. If such a panel calls
this method, its output is stored in a dictionary to be used later
in RenderFormCallback.
RenderFormCallback first renders all the form controls. In that
process UpdatePanel instances, if any, may call
WriteCallbackPanel. After that, if there are panels registered for
refresh, another loop over the list is made this time checking
whether any panels left their output in WriteCallbackPanel. If a
panel hasn't done it it is rendered. And last, another check is
done to see if the loop described above caused any panels to leave
output in WriteCallbackPanel. If yes, the output is written to the
text writer.

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

15 years ago2009-03-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 19 Mar 2009 12:05:13 +0000 (12:05 -0000)]
2009-03-19  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityManager.cs: Remove VerificationException (not used from
the runtime anymore) and add FieldAccessException (which is now,
or soon will be, required/used by the runtime).

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

15 years ago2009-03-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 19 Mar 2009 08:12:07 +0000 (08:12 -0000)]
2009-03-19  Atsushi Enomoto  <atsushi@ximian.com>

        * KnownTypeCollection.cs, XmlFormatterDeserializer.cs :
          to infer type from xml qname, consider DataContractAttribute
          names.

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

15 years agoFix bugs #323833 and #484384.
Ankit Jain [Thu, 19 Mar 2009 01:09:56 +0000 (01:09 -0000)]
Fix bugs #323833 and #484384.
* AssemblyResolver.cs (GatherGacAssemblies): Handle duplicate entries.
These seem to be old copies of the assemblies with old keys. Pick
the one with the latest timestamp.

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

15 years agoFix bug #484773.
Ankit Jain [Thu, 19 Mar 2009 00:58:12 +0000 (00:58 -0000)]
Fix bug #484773.
* Main.cs (Execute): Check whether the project file exists or not.
* Parameters.cs (ParseArguments): Handle absolute paths too.

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

15 years ago2009-03-19 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 19 Mar 2009 00:26:30 +0000 (00:26 -0000)]
2009-03-19  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs, DataGridViewRow.cs: Split the row removal to perform Pre and
Post removal action to allow the current cell to be moved and all events fired
properly before the row is removed.

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

15 years ago2009-03-18 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 18 Mar 2009 23:19:50 +0000 (23:19 -0000)]
2009-03-18  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Fire CellEnter and CellLeave events for the Cell.
[Fixes bug #486640]

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

15 years ago2009-03-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 18 Mar 2009 22:33:28 +0000 (22:33 -0000)]
2009-03-18 Rodrigo Kumpera <rkumpera@novell.com>

* cli-header-tests.md: New file with cli header tests.

* Makefile: Add new tests.

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

15 years ago2009-03-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 18 Mar 2009 22:33:26 +0000 (22:33 -0000)]
2009-03-18 Rodrigo Kumpera <rkumpera@novell.com>

* metadata-verify.c: Initial verification of the CLI header.

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

15 years ago2009-03-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 18 Mar 2009 22:33:19 +0000 (22:33 -0000)]
2009-03-18 Rodrigo Kumpera <rkumpera@novell.com>

* metadata-verify.c (verify_resources_table): Fix verification of zero
sized resource section and id entries count.

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

15 years ago2009-03-18 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 18 Mar 2009 19:29:33 +0000 (19:29 -0000)]
2009-03-18  Geoff Norton  <gnorton@novell.com>

        * mini.c: Only chain sigfpe if it wasn't generated in mangaed code.

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

15 years agoUpdate.
Marek Safar [Wed, 18 Mar 2009 17:38:06 +0000 (17:38 -0000)]
Update.

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

15 years ago2009-03-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 18 Mar 2009 17:36:46 +0000 (17:36 -0000)]
2009-03-18  Marek Safar  <marek.safar@gmail.com>

* ecore.cs: Always use unbox.any when available.

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

15 years agoNew tests.
Marek Safar [Wed, 18 Mar 2009 17:17:58 +0000 (17:17 -0000)]
New tests.

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

15 years ago2009-03-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 18 Mar 2009 17:17:43 +0000 (17:17 -0000)]
2009-03-18  Marek Safar  <marek.safar@gmail.com>

* class.cs: Always set TypeAttributes.BeforeFieldInit conditionally.

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

15 years ago2009-03-18 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 18 Mar 2009 14:46:47 +0000 (14:46 -0000)]
2009-03-18  Jonathan Pobst  <monkey@jpobst.com>

* XplatUICarbon.cs: Commit patch from Alex Shulgin that fixes window
placement of popup windows on OSX.

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

15 years ago2009-03-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 18 Mar 2009 14:15:57 +0000 (14:15 -0000)]
2009-03-18  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add more tests for user types.

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

15 years ago2009-03-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 18 Mar 2009 14:15:30 +0000 (14:15 -0000)]
2009-03-18  Zoltan Varga  <vargaz@gmail.com>

* TypeBuilder.cs (GetGenericTypeDefinition): Call the icall instead of
the base method which now throws an exception.

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

15 years ago2009-03-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 18 Mar 2009 14:14:44 +0000 (14:14 -0000)]
2009-03-18  Zoltan Varga  <vargaz@gmail.com>

* Type.cs (GetGenericTypeDefinition): Make this throw an exception to be
consistent with MS.NET. Move the real implementation to MonoType.

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

15 years ago2009-03-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 18 Mar 2009 14:08:04 +0000 (14:08 -0000)]
2009-03-18  Zoltan Varga  <vargaz@gmail.com>

* icall.c: Handle user types in many Type icalls. Fixes #486303.

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

15 years ago2009-03-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 18 Mar 2009 13:24:02 +0000 (13:24 -0000)]
2009-03-18  Zoltan Varga  <vargaz@gmail.com>

* dwarfwriter.c (token_handler): Fix a crash caused by the last change.

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

15 years ago2009-03-18 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 18 Mar 2009 12:42:54 +0000 (12:42 -0000)]
2009-03-18  Marek Safar  <marek.safar@gmail.com>

* Decimal.cs: Initialize all fields.

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

15 years ago2009-03-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 18 Mar 2009 08:08:19 +0000 (08:08 -0000)]
2009-03-18  Marek Habersack  <mhabersack@novell.com>

* Control.cs: AppRelativeResourceDirectory no longer returns a
hard-coded "~/" when template control's virtual path cannot be
determined. It returns application relative version of
TemplateSourceDirectory instead.

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

15 years ago2009-03-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 Mar 2009 07:19:33 +0000 (07:19 -0000)]
2009-03-18  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDictionaryReader.cs : more not-understandable bits.

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

15 years ago2009-03-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 Mar 2009 07:04:30 +0000 (07:04 -0000)]
2009-03-18  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDictionaryReader.cs : implemented ReadFullStartElement (full??).

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

15 years ago2009-03-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 Mar 2009 06:51:59 +0000 (06:51 -0000)]
2009-03-18  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDictionaryReader.cs : implemented missing && understandable
  members.

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

15 years ago2009-03-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 18 Mar 2009 06:36:24 +0000 (06:36 -0000)]
2009-03-18  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReader.cs : handle DateTimeOffset in typed reader methods.

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

15 years agoOverride "ToString" for FontDialog.ColorComboBox.ColorComboBoxItem
Neville Gao [Wed, 18 Mar 2009 02:53:24 +0000 (02:53 -0000)]
Override "ToString" for FontDialog.ColorComboBox.ColorComboBoxItem
[Fixes bug #482690]. Committed for Matt Guo.

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

15 years ago2009-03-18 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 18 Mar 2009 01:37:02 +0000 (01:37 -0000)]
2009-03-18  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Implement the CellMouseDoubleClick event.
[Fixes bug #486262]

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

15 years ago2009-03-18 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 18 Mar 2009 01:03:25 +0000 (01:03 -0000)]
2009-03-18  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Fix scrolling to take into account that the
scrollbars are actually inside the client area of the datagridview.

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

15 years ago2009-03-18 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 18 Mar 2009 01:03:20 +0000 (01:03 -0000)]
2009-03-18  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Implement mouse wheel scrolling.
[Fixes bug #486159]

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

15 years ago2009-03-17 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 17 Mar 2009 23:54:18 +0000 (23:54 -0000)]
2009-03-17  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: When DataSource changes the rebinding should happen
not if IsHandleCreated but if BindingContext != null.
* DataGridViewTest.cs: Add tests for the relevance of IsHandleCreated and
the BindingContext for the databound state of the DataGridView.
[Fixes bug #486013]

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

15 years ago2009-03-17 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 17 Mar 2009 22:33:08 +0000 (22:33 -0000)]
2009-03-17  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs: Browsable(false) properties should be skipped when
autogenerating the columns.
* DataGridViewTest.cs: Add a test for Browsable(false) columns.
[Fixes bug #486021]

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

15 years ago2009-03-17 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 17 Mar 2009 22:18:07 +0000 (22:18 -0000)]
2009-03-17  Jb Evain  <jbevain@novell.com>

* driver.c: remove now uneeded call to mono_gc_base_init before
mono_profiler_load.

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

15 years ago2009-03-17 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 17 Mar 2009 22:16:48 +0000 (22:16 -0000)]
2009-03-17  Jb Evain  <jbevain@novell.com>

* profiler.c: call mono_gc_base_init from mono_profiler_load.

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

15 years ago2009-03-17 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 17 Mar 2009 22:15:09 +0000 (22:15 -0000)]
2009-03-17  Jb Evain  <jbevain@novell.com>

* dwarfwriter.c (token_handler): handle more cases.

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

15 years ago2009-03-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 17 Mar 2009 21:08:17 +0000 (21:08 -0000)]
2009-03-17  Zoltan Varga  <vargaz@gmail.com>

* sgen-gc.c (mono_gc_make_descr_for_object): Fix 64 bit support.
(mono_gc_make_descr_for_array): Ditto.

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

15 years ago2009-03-17 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 17 Mar 2009 19:01:30 +0000 (19:01 -0000)]
2009-03-17  Marek Habersack  <mhabersack@novell.com>

* Unit.cs: introduced a field to tell the difference between empty
(as in Unit.Empty) and 0px units.

2009-03-17  Marek Habersack  <mhabersack@novell.com>

* UnitTest.cs: added a test for equality with Unit.Empty

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

15 years ago2009-03-17 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 17 Mar 2009 16:43:24 +0000 (16:43 -0000)]
2009-03-17  Marek Safar  <marek.safar@gmail.com>

* generic.cs: Removed obsolete version of type inference.

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

15 years ago2009-03-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 17 Mar 2009 14:39:37 +0000 (14:39 -0000)]
2009-03-17  Sebastien Pouliot  <sebastien@ximian.com>

* verify.c (mono_verifier_is_class_full_trust): Add support for
CoreCLR security mode where trusted assemblies are defined as
"platform code".

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

15 years ago2009-03-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 17 Mar 2009 14:00:56 +0000 (14:00 -0000)]
2009-03-17  Sebastien Pouliot  <sebastien@ximian.com>

* method-to-ir.c: Remove more dead code (that was required only
because of method_is_safe). Fix compiler warnings.

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

15 years ago2009-03-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 17 Mar 2009 13:36:00 +0000 (13:36 -0000)]
2009-03-17  Sebastien Pouliot  <sebastien@ximian.com>

* method-to-ir.c: Remove unneeded/useless method_is_safe
http://lists.ximian.com/archives/public/mono-devel-list/2009-March/031404.html

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

15 years ago2009-03-17 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 17 Mar 2009 13:21:57 +0000 (13:21 -0000)]
2009-03-17  Marek Habersack  <mhabersack@novell.com>

* JavaScriptSerializer.cs: if conversion of IDictionary or
IDictionary <K,V> to an object is requested, make sure that a
concrete type is used (in both cases Dictionary <string, object>).
Make sure that if the target type is an IDictionary<K,V> that the
key is either an object or a string.

2009-03-17  Marek Habersack  <mhabersack@novell.com>

* JavaScriptSerializerTest.cs: added tests for conversion to
IDictionary and IDictionary <K,V> types.

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

15 years ago2009-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 17 Mar 2009 11:29:32 +0000 (11:29 -0000)]
2009-03-17  Atsushi Enomoto <atsushi@ximian.com>

* Expression.cs : gave up another optimization for bug #443090.

* SelectNodesTests.cs : added 2nd test for bug #443490.

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

15 years ago2009-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 17 Mar 2009 08:54:09 +0000 (08:54 -0000)]
2009-03-17  Atsushi Enomoto <atsushi@ximian.com>

* XPathExpression.cs : eliminate use of ExpressionCache and lose
  significant performance in some use for the sake of multithreaded
  use. Fixed bug #477049.

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

15 years ago2009-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 17 Mar 2009 07:56:21 +0000 (07:56 -0000)]
2009-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextWriter2.cs : some weird TextWriter has null Encoding.
  Fixed bug #372525.

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

15 years ago2009-03-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 17 Mar 2009 07:34:10 +0000 (07:34 -0000)]
2009-03-17  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaValidator.cs : check identity constraints on default or
  fixed attributes too.

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

15 years ago2009-03-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 17 Mar 2009 03:59:34 +0000 (03:59 -0000)]
2009-03-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DomainUpDown.cs: When ReadOnly is true, all the text entered by the
user should use a different handling, trying to use every pressed char
as a unique and only one prefix to compare against the items. Also,
refactor some input check code to avoid duplication.
Fixes #458607.

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

15 years ago2009-03-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 17 Mar 2009 01:48:29 +0000 (01:48 -0000)]
2009-03-16 Rodrigo Kumpera <rkumpera@novell.com>

* resources-tests.md: New file with pecoff tests.

* Makefile: Add new tests.

* header-tests.md: Update some tests.

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

15 years ago2009-03-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 17 Mar 2009 01:48:28 +0000 (01:48 -0000)]
2009-03-16 Rodrigo Kumpera <rkumpera@novell.com>

* metadata-verify.c: Add minimal PECOFF resource verification.

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

15 years ago2009-03-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 17 Mar 2009 01:48:20 +0000 (01:48 -0000)]
2009-03-16 Rodrigo Kumpera <rkumpera@novell.com>

* metadata-verify.c: Be less restrictive with some coff fields.

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

15 years ago2009-03-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 17 Mar 2009 01:48:09 +0000 (01:48 -0000)]
2009-03-16 Rodrigo Kumpera <rkumpera@novell.com>

* verify.c (init_stack_with_value_at_exception_boundary): Init generic
params as boxed values on stack. Fixes #485706.

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

15 years ago2009-03-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 17 Mar 2009 01:48:00 +0000 (01:48 -0000)]
2009-03-16 Rodrigo Kumpera <rkumpera@novell.com>

* invalid_generic_generic_object_is_boxed.il: Regression test
for #485706.

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

15 years ago2009-03-16 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 17 Mar 2009 01:47:58 +0000 (01:47 -0000)]
2009-03-16 Rodrigo Kumpera <rkumpera@novell.com>

* mini.c (mini_method_compile): Print the method been compiled with
verbose level 1 instead of 3 as this helps a lot debugging JIT crashes
for people not familiar with the runtime.

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

15 years ago2009-03-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 16 Mar 2009 23:19:32 +0000 (23:19 -0000)]
2009-03-17  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (get_generic_info_from_stack_frame): Avoid returning
a managed object which is later put into a GList. Return its class instead.

* mini.c (mono_allocate_stack_slots_full): Avoid sharing ref and non-ref
stack slots when using sgen.

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

15 years ago2009-03-16 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 16 Mar 2009 22:30:56 +0000 (22:30 -0000)]
2009-03-16  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewCell.cs: In OwningColumng Handle invalid column index
silently.
[Fixes bug #485278]

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

15 years ago2009-03-16 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 16 Mar 2009 21:47:55 +0000 (21:47 -0000)]
2009-03-16  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewBand.cs: Update our State whenever a property changes.
* DataGridView.cs: Don't be so generous in reseting Displayed, because
it will spawn lots and lots of unneeded State changed events.
[Fixes bug #484989]

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

15 years ago2009-03-16 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 16 Mar 2009 20:46:13 +0000 (20:46 -0000)]
2009-03-16  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs, DataGridViewRow.cs, DataGridViewColumn.cs:
Add support for invisible rows and columns.
[Fixes bug #484951]

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

15 years ago2009-03-16 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 16 Mar 2009 19:16:17 +0000 (19:16 -0000)]
2009-03-16  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewCell.cs: Escape literal { in ToString.
* DataGridViewTextBoxCell.cs: Fix ToString.
[Fixes bug #484923]

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

15 years ago2009-03-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 16 Mar 2009 18:54:17 +0000 (18:54 -0000)]
2009-03-16  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs:
TagParsed now better handles <script> tags. For both server and
client tags ProcessScript is called and the input text, in case of
client tags, is read verbatim to be processed when ProcessScript
is called to close the tag. At this point the verbatim text is
checked whether it contains server-side tags and/or expressions.

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

15 years agoReduce dependence of UriParser on Uri
Raja R Harinath [Mon, 16 Mar 2009 18:41:24 +0000 (18:41 -0000)]
Reduce dependence of UriParser on Uri

* UriParser.cs (GetComponents): Don't refer to fields of Uri to
extract components.  Use a pair of regexes instead on
Uri.OriginalString.
* Uri.cs (OriginalString): Make available as an internal property
in the NET_1_1 profile.

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

15 years ago2009-03-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 16 Mar 2009 18:20:22 +0000 (18:20 -0000)]
2009-03-16  Marek Safar  <marek.safar@gmail.com>

* typemanager.cs, decl.cs, roottypes.cs, anonymous.cs, nullable.cs,
expression.cs, rootcontext.cs, namespace.cs, ecore.cs, class.cs,
delegate.cs, flowanalysis.cs, cs-parser.jay, driver.cs,
attribute.cs, codegen.cs: Changed RootTypes to be ModuleContainer.

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

15 years ago2009-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Mar 2009 18:04:51 +0000 (18:04 -0000)]
2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* XmlParserContext.cs : .NET has weird nametable initialization.
  Fixed bug #484519.

* XmlParserContextTests.cs : added test for bug #484519.

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

15 years ago2009-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Mar 2009 17:27:32 +0000 (17:27 -0000)]
2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReader.cs : (ReadToFollowing) check LocalName, not Name.
  Fixed bug #478506.

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

15 years ago2009-03-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 16 Mar 2009 17:22:26 +0000 (17:22 -0000)]
2009-03-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MenuAPI.cs: When navigating items using the keyboard properly handle
the case when no item is selected - this way we should try to select
the first or the last item depending on the direction, but no the
second or third one, etc.

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

15 years agowindows stub fix
Gonzalo Paniagua Javier [Mon, 16 Mar 2009 16:16:03 +0000 (16:16 -0000)]
windows stub fix

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

15 years ago2009-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Mar 2009 16:14:31 +0000 (16:14 -0000)]
2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* DTDRreader.cs : read up all DTD stream so that we don't have to
  see bugs like #469317 many times.

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

15 years ago2009-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Mar 2009 16:13:56 +0000 (16:13 -0000)]
2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaValidator.cs : check identities for untyped attributes.
  Attribute keyfield test must adjust depth, or it never matches.
  Missing braces for IgnoreIdentity test.

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

15 years ago2009-03-15 Steven Munroe <munroesj@us.ibm.com>
Zoltan Varga [Mon, 16 Mar 2009 15:40:30 +0000 (15:40 -0000)]
2009-03-15  Steven Munroe  <munroesj@us.ibm.com>

This patch is contributed under the terms of the MIT/X11 license

* Makefile.am (test_platform): Enable testbundle for ppc.

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

15 years ago2009-03-15 Steven Munroe <munroesj@us.ibm.com>
Zoltan Varga [Mon, 16 Mar 2009 15:38:32 +0000 (15:38 -0000)]
2009-03-15  Steven Munroe  <munroesj@us.ibm.com>

This patch is contributed under the terms of the MIT/X11 license

* mkbundle.cs (WriteSymbol): Use .p2align 5 instead of .align 32
to get consistent results on all platforms.

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

15 years ago2009-03-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 16 Mar 2009 15:30:16 +0000 (15:30 -0000)]
2009-03-16  Zoltan Varga  <vargaz@gmail.com>

* dwarfwriter.c (emit_line_number_info): Really fix the eglib build.

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

15 years agofix
Gonzalo Paniagua Javier [Mon, 16 Mar 2009 15:02:29 +0000 (15:02 -0000)]
fix

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

15 years ago2009-03-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 16 Mar 2009 15:02:14 +0000 (15:02 -0000)]
2009-03-16 Gonzalo Paniagua Javier <gonzalo@novell.com>

* console-io.c: the termios values may vary in different flavors of unix.

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

15 years ago2009-03-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 16 Mar 2009 14:54:44 +0000 (14:54 -0000)]
2009-03-16  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs: when parsing nested tags (includes tags inside
client-side javascript script blocks) pass the closing tag up to
the containing parser.
Instead of parsing the whole plain text contents, plus the two
constructs we're interested in from it using regexs. This is
necessary as we might be passed JavaScript code and without
understanding its syntax we'll confuse the '<' character for the
start of a tag.

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

15 years agowrong bug
Gonzalo Paniagua Javier [Mon, 16 Mar 2009 14:24:48 +0000 (14:24 -0000)]
wrong bug

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

15 years agoupdate corlib version
Gonzalo Paniagua Javier [Mon, 16 Mar 2009 14:24:17 +0000 (14:24 -0000)]
update corlib version

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

15 years ago2009-03-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 16 Mar 2009 14:23:35 +0000 (14:23 -0000)]
2009-03-16 Gonzalo Paniagua Javier <gonzalo@novell.com>

* console-io.[ch]: return the entire set of control characters when
initializing the terminal.

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

15 years ago2009-03-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 16 Mar 2009 14:23:33 +0000 (14:23 -0000)]
2009-03-16 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ConsoleDriver.cs:
* TermInfoDriver.cs: handle Ctrl-D (or similar) in ReadLine.
Fixes bug #483268.

* ControlCharacters.cs: index to the control characters list.
* Environment.cs: bumped corlib version.

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

15 years ago2009-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Mar 2009 14:13:28 +0000 (14:13 -0000)]
2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaUtil.cs, XmlSchemaValidator.cs : predefined non-primitive
  xml schema types now validate fixed values as expected.

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

15 years agoswitch mono-xmltool here too.
Atsushi Eno [Mon, 16 Mar 2009 13:08:27 +0000 (13:08 -0000)]
switch mono-xmltool here too.

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

15 years ago2009-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Mar 2009 12:47:49 +0000 (12:47 -0000)]
2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* BuiltInDatatype.cs, XmlSchemaDatatype.cs : some equality comparison
  failed because it anyType is not used as singleton.

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

15 years ago2009-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Mar 2009 12:15:05 +0000 (12:15 -0000)]
2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>

        * scripts/Makefile.am : mono-xmltool uses 2.0.

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

15 years agoFound this lingering in my ChangeLog
Gonzalo Paniagua Javier [Mon, 16 Mar 2009 12:12:30 +0000 (12:12 -0000)]
Found this lingering in my ChangeLog

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

15 years ago2009-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Mar 2009 11:49:22 +0000 (11:49 -0000)]
2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* xmltool.cs: added --validate-xsd2 option to validate with xsd
  but with new validator in 2.0.

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

15 years agoWhen checking if an elf file is valid, avoid mapping it in memory.
Massimiliano Mantione [Mon, 16 Mar 2009 10:43:46 +0000 (10:43 -0000)]
When checking if an elf file is valid, avoid mapping it in memory.

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

15 years agoMon Mar 16 11:11:26 CET 2009 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 16 Mar 2009 10:13:38 +0000 (10:13 -0000)]
Mon Mar 16 11:11:26 CET 2009 Paolo Molaro <lupus@ximian.com>

* mono-perfcounters.c: added support for in-process custom
performance counters.

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

15 years ago2009-03-16 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 16 Mar 2009 09:54:48 +0000 (09:54 -0000)]
2009-03-16  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs: when parsing nested tags (includes tags inside
client-side javascript script blocks) pass the closing tag up to
the containing parser.

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

15 years ago2009-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Mar 2009 07:37:44 +0000 (07:37 -0000)]
2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReaderBinarySupport.cs : ReadContentsAsBase64() could skip
  EndElement at the next XmlReader.Read(). Fixed bug #480066.

* XmlReaderCommonTests.cs : added test for bug #480066.

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

15 years ago2009-03-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 16 Mar 2009 06:48:19 +0000 (06:48 -0000)]
2009-03-16  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTextWriter2.cs : only bogus v1 XmlTextWriter ignores null
  namespace for conflict check. Fixed bug #479725.

* XmlWriterTests.cs : only bogus XmlTextWriter ignores null namespace
  for namespae conflict check.

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

15 years ago2209-03-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 16 Mar 2009 03:13:05 +0000 (03:13 -0000)]
2209-03-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Form.cs: When calling ProcessCmdKey, just after checking for any
MainMenu, check if there's an active ContextMenu that is *not* owned
by the form - this is needed when a non-focusable control owns a
ContextMenu but its ProcessCmdKey method can't be called since it
can't receive any input.
Fixes #477655.

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

15 years ago* app-net_1.1.config: Added ClientVersion to Engine section. Added
Gert Driesen [Sun, 15 Mar 2009 13:32:32 +0000 (13:32 -0000)]
* app-net_1.1.config: Added ClientVersion to Engine section. Added
SQL Server 2000 config.
* app-net_2.0.config: Spaces to tabs.

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

15 years agoFix for 463011
Veerapuram Varadhan [Sun, 15 Mar 2009 10:43:39 +0000 (10:43 -0000)]
Fix for 463011
In Tds70:Reset, call base.Rest() to update the database being used

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

15 years agoSupport for Partlentype type-info in TDS 7
Veerapuram Varadhan [Sun, 15 Mar 2009 10:43:00 +0000 (10:43 -0000)]
Support for Partlentype type-info in TDS 7
Partlentype is a TDS 9 feature and a < TDS 9 client requires a special handling for such cases.

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

15 years agoAvoid creation of temporary byte arrays
Veerapuram Varadhan [Sun, 15 Mar 2009 10:42:16 +0000 (10:42 -0000)]
Avoid creation of temporary byte arrays
Directly manipulate lsb/msb of short/int/long instead of using BitConverter.GetBytes() and swapping the resultant byte array using Swap() to reduce array allocations which, improves overall performance of Mono's TDS implementation.

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

15 years ago* ConvertTest.cs: Avoid false positive in ChangeType test.
Gert Driesen [Sun, 15 Mar 2009 09:48:26 +0000 (09:48 -0000)]
* ConvertTest.cs: Avoid false positive in ChangeType test.

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

15 years ago2009-03-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 14 Mar 2009 18:56:43 +0000 (18:56 -0000)]
2009-03-14  Miguel de Icaza  <miguel@novell.com>

* Convert.cs (ToType): Control whether this internal function will
call an IConvertible.ToType method or not.

Classes and structs implementing IConvertible in mscorlib (the
only callers that can access Convert.ToType) must pass false to
avoid a infinite recursion problem and callers from the public
Convert API must call it with true.

This fixes the regression reported in #485377 that was introduced
by the fix for #481687.

* Int16.cs, UInt64.cs, Double.cs, Enum.cs, SByte.cs, UInt16.cs,
Byte.cs, Decimal.cs, Int32.cs, String.cs, Int64.cs, Char.cs,
Boolean.cs, Single.cs, UInt32.cs: Update the call sites.

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