mono.git
19 years agoThu Jul 7 19:12:23 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 7 Jul 2005 17:13:59 +0000 (17:13 -0000)]
Thu Jul 7 19:12:23 CEST 2005 Paolo Molaro <lupus@ximian.com>

* mkbundle.cs: link statically just libmono with --static
(fixes bug#75445).

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

19 years ago2005-07-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Jul 2005 17:03:31 +0000 (17:03 -0000)]
2005-07-07  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : diacritical fix for "double-
  struck". Syriac nonspacing fixes.

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

19 years ago2005-07-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 7 Jul 2005 16:42:47 +0000 (16:42 -0000)]
2005-07-07  Martin Baulig  <martin@ximian.com>

* class.c (mono_type_get_name_full): Return NULL for
MONO_TYPE_NAME_FORMAT_FULL_NAME if we have any generic parameters;
fixes #75408.

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

19 years agoThu Jul 7 12:35:20 EDT 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 7 Jul 2005 16:37:45 +0000 (16:37 -0000)]
Thu Jul 7 12:35:20 EDT 2005 Paolo Molaro <lupus@ximian.com>

*supportw.c, Makefile.am: remove calls and link to libmono/libwapi.

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

19 years ago2005-07-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Jul 2005 16:26:03 +0000 (16:26 -0000)]
2005-07-07  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : more math symbol weight fixes.

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

19 years ago2005-07-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 7 Jul 2005 16:22:23 +0000 (16:22 -0000)]
2005-07-07  Zoltan Varga  <vargaz@freemail.hu>

* threads.c (mono_threads_abort_appdomain_threads): Wait for threads to
exit the appdomain as well being aborted.

* threadpool.c: Create all threadpool threads inside the root appdomain, and
change back to the root domain after calling managed code. This enables
appdomains using threadpools to be unloaded.

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

19 years ago2005-07-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Jul 2005 16:06:41 +0000 (16:06 -0000)]
2005-07-07  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : fixed Hebrew character sortkeys.

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

19 years ago2005-07-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 7 Jul 2005 16:03:09 +0000 (16:03 -0000)]
2005-07-07  Martin Baulig  <martin@ximian.com>

* class-internals.h
(MonoInflatedGenericClass): Moved the `MonoType *parent' field
into `MonoDynamicGenericClass' since we only need it for dynamic
types.

* reflection.c (mono_class_bind_generic_parameters): We don't need
to compute the `parent' here.

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

19 years ago2005-07-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Jul 2005 15:55:09 +0000 (15:55 -0000)]
2005-07-07  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : math symbols U+25A0-U+2600 are
  implemented (no stub). Some other fixes on category 8-A.

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

19 years ago2005-07-07 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Thu, 7 Jul 2005 15:47:53 +0000 (15:47 -0000)]
2005-07-07  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcTypeConverter.cs: ConvertToSqlType & ConvertToSqlCType: map
VarChar to SQL_C_CHAR and SQL_VARCHAR respective instead of WCHAR
and WVARCHAR as temporary fix.

* OdbcParameter.cs: setBuffer: string types need not be quoted.

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

19 years ago2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Thu, 7 Jul 2005 15:12:40 +0000 (15:12 -0000)]
2005-07-07  Alexander Olk  <xenomorph2@onlinehome.de>

* System.Windows.Forms_test.dll.sources : Added MimeIcon.cs

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

19 years ago2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Thu, 7 Jul 2005 15:10:36 +0000 (15:10 -0000)]
2005-07-07  Alexander Olk  <xenomorph2@onlinehome.de>

* MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
* FileDialog.cs: FileDialog is now resizable and uses the new
  MimeIconEngine

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

19 years agoCompilation fix.
Paolo Molaro [Thu, 7 Jul 2005 14:39:53 +0000 (14:39 -0000)]
Compilation fix.

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

19 years ago* Makefile.am (INCLUDES): Add $(top_builddir)/.. to pick up mono's
Raja R Harinath [Thu, 7 Jul 2005 14:21:42 +0000 (14:21 -0000)]
* Makefile.am (INCLUDES): Add $(top_builddir)/.. to pick up mono's
config.h.

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

19 years ago2005-07-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Jul 2005 12:16:23 +0000 (12:16 -0000)]
2005-07-07  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : some minor fixes on Arabic,
  Korean and Japanese sortkey weights.

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

19 years ago2005-07-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Jul 2005 11:17:58 +0000 (11:17 -0000)]
2005-07-07  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : More diacritical fixes.
  Georgian characters do not have level 2 weights but level 3.

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

19 years ago2005-07-07 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 7 Jul 2005 11:09:52 +0000 (11:09 -0000)]
2005-07-07  Marek Safar  <marek.safar@seznam.cz>

Fix #74975
* attribute.cs (orig_sec_assembly): Holds original version of assembly.
(ExtractSecurityPermissionSet): Cope with self referencing security
attributes properly.

* driver.cs (SetOutputFile): Made public property OutputFile.

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

19 years agoThu Jul 7 12:15:22 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 7 Jul 2005 10:16:42 +0000 (10:16 -0000)]
Thu Jul 7 12:15:22 CEST 2005 Paolo Molaro <lupus@ximian.com>

* pthread_support.c: fix compilation when TLS_ALLOC is not defined.

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

19 years ago2005-07-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Jul 2005 10:13:38 +0000 (10:13 -0000)]
2005-07-07  Atsushi Enomoto  <atsushi@ximian.com>

* Driver.cs : Fixed bug #75499. There were hy_AM.xml and
  hy_AM_REVISED.xml files in the locale builder archive.

* culture-info-table.h : regenerated.

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

19 years agoThu Jul 7 11:59:42 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 7 Jul 2005 10:01:22 +0000 (10:01 -0000)]
Thu Jul 7 11:59:42 CEST 2005 Paolo Molaro <lupus@ximian.com>

* pthread_support.c, Makefile.am: make the __thread var use
fast access if available (and avoid dlopen issue, bug #75390).

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

19 years agoIn mcs:
Raja R Harinath [Thu, 7 Jul 2005 09:50:44 +0000 (09:50 -0000)]
In mcs:
Fix #75486.
* class.cs (TypeContainer.first_nonstatic_field): Rename from
has_nonstatic_fields.  Make into a FieldBase pointer.
(TypeContainer.AddField): Add CS0282 check.
(TypeContainer.EmitType): Update.

In errors:
* cs0282.cs: New test from #75486.

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

19 years ago2005-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Jul 2005 09:33:29 +0000 (09:33 -0000)]
2005-07-06  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : Roman numeral characters
  have diacritical weight. quick hack for control signs (U+2400..)
  and box drawings.

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

19 years ago2005-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 7 Jul 2005 08:32:50 +0000 (08:32 -0000)]
2005-07-06  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : improving Latin mappings.
  Setting non-ASCII Latin characters' primary weight between those
  ASCII characters, and setting diacritical weight (hacky).
* MSCompatUnicodeTable.cs :
  Kanatype check: fixed (voice marks) and improved (comparison order).

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

19 years ago * Makefile, xslttest.cs: convert to be executed from NUnit
Andrew Skiba [Thu, 7 Jul 2005 08:03:59 +0000 (08:03 -0000)]
    * Makefile, xslttest.cs: convert to be executed from NUnit
        * XsltTestUtils.cs, generate.cs: added
        * fixme.lst: update with currently failing tests

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

19 years agoTo avoid Array modifiers specified on both a variable and its type
Manjula GHM [Thu, 7 Jul 2005 07:06:04 +0000 (07:06 -0000)]
To avoid Array modifiers specified on both a variable and its type

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

19 years ago2005-07-07 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 7 Jul 2005 05:39:38 +0000 (05:39 -0000)]
2005-07-07  Ben Maurer  <bmaurer@ximian.com>

* outline.cs:
   - Print out static for fields (how the hell did I let myself
   not put this in earlier!!!!!)
   - To print out const fields, we might need to quote
   things. This logic is not complete yet (for example, a string
   with \n will have a literal new line)
   - Try some smarter logic to get less verbosity by printing out
   fewer namespaces
   - Do a nicer sorting for methods. It sorts things by param
   type, then from fewest params to most. This makes overloads
   get sorted out cleanly.

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

19 years agoRemove dead code
Miguel de Icaza [Thu, 7 Jul 2005 04:48:43 +0000 (04:48 -0000)]
Remove dead code

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

19 years agostatement.cs - suppressing warnings due to unused variables in mbas compile (this...
Umadevi S [Thu, 7 Jul 2005 04:33:21 +0000 (04:33 -0000)]
statement.cs - suppressing warnings due to unused variables in mbas compile (this is a quick patch, need to see if we can not emit these variables at all)

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

19 years ago2005-07-06 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Thu, 7 Jul 2005 00:15:04 +0000 (00:15 -0000)]
2005-07-06  Cesar Lopez Nataren  <cnataren@novell.com>

* FunctionExpression.cs (build_closure): Use CodeGenerator.load_engine.

* Parser.cs: Restore pn as the parent.
* expression.cs: Added is_dynamic_function field to class
Call. It's not enough knowing if the parent is a
FunctionExpression/FunctionDeclaration, we must assure that we
are really inside a FunctionExpression/FunctionDeclaration in
order to know in which place is the engine. setup_late_call_args
and get_global_scope_or_this used the new field for loading the
engine.

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

19 years ago2005-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 6 Jul 2005 22:22:25 +0000 (22:22 -0000)]
2005-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* outline.cs: prevent nullref for non-public events.

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

19 years agoNew test.
Martin Baulig [Wed, 6 Jul 2005 19:38:57 +0000 (19:38 -0000)]
New test.

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

19 years ago2005-07-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 6 Jul 2005 19:33:49 +0000 (19:33 -0000)]
2005-07-06  Martin Baulig  <martin@ximian.com>

* icall.c
(ves_icall_FieldInfo_SetValueInternal): Add MONO_TYPE_GENERICINST.

* object.c (set_value): Add MONO_TYPE_GENERICINST; fixes #75299.

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

19 years agoIn .:
Jordi Mas i Hernandez [Wed, 6 Jul 2005 18:01:46 +0000 (18:01 -0000)]
In .:
2005-07-06  Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumn.cs: default value
* GridColumnStylesCollection.cs: fixes event firing, checking MappingName
* GridTableStylesCollection.cs: fixes checking MappingName
* DataGridDrawingLogic.cs: fixes drawing logic issues
* DataSourceHelper.cs: rewritten to make compatible with more data sources
* DataGrid.cs: fixes

In System.Windows.Forms:
2005-07-06  Jordi Mas i Hernandez <jordi@ximian.com>

* DataGridTextBoxColumn.cs: default value
* GridColumnStylesCollection.cs: fixes event firing, checking MappingName
* GridTableStylesCollection.cs: fixes checking MappingName
* DataGridDrawingLogic.cs: fixes drawing logic issues
* DataSourceHelper.cs: rewritten to make compatible with more data sources
* DataGrid.cs: fixes

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

19 years agoNew test.
Martin Baulig [Wed, 6 Jul 2005 17:48:25 +0000 (17:48 -0000)]
New test.

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

19 years ago2005-07-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 6 Jul 2005 17:31:15 +0000 (17:31 -0000)]
2005-07-06  Martin Baulig  <martin@ximian.com>

* metadata.c (mono_metadata_class_equal): Add MONO_TYPE_SZARRAY if
we're doing a signature-only comparision; fixes #74945.

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

19 years agoCorrect ChangeLog date
Alexander Olk [Wed, 6 Jul 2005 17:29:59 +0000 (17:29 -0000)]
Correct ChangeLog date

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

19 years ago2005-07-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 6 Jul 2005 17:27:30 +0000 (17:27 -0000)]
2005-07-06  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
Patch submitted by
Aldo Monteiro do Nascimento (aldo@psl-pr.softwarelivre.org)
Maverson Eduardo Schulze Rosa (maverson@psl-pr.softwarelivre.org)
Renato Suga (renato@psl-pr.softwarelivre.org)
* AssignmentStatementsA.vb, AssignmentStatementsC.vb : Comparison values are
valid only for "en-US" culture, so force that culture on the current thread

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

19 years ago2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Wed, 6 Jul 2005 17:26:25 +0000 (17:26 -0000)]
2005-06-19  Alexander Olk  <xenomorph2@onlinehome.de>

* MimeGenerated.cs: Use case sensitive comparer for
  NameValueCollections

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

19 years ago2005-07-06 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 6 Jul 2005 14:57:20 +0000 (14:57 -0000)]
2005-07-06  Miguel de Icaza  <miguel@novell.com>

* cs-tokenizer.cs (consume_identifier): Do not create strings to
compare if they start with __.

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

19 years agoNew test.
Martin Baulig [Wed, 6 Jul 2005 14:44:46 +0000 (14:44 -0000)]
New test.

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

19 years agoNew test.
Martin Baulig [Wed, 6 Jul 2005 14:44:31 +0000 (14:44 -0000)]
New test.

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

19 years ago2005-07-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 6 Jul 2005 14:44:13 +0000 (14:44 -0000)]
2005-07-06  Martin Baulig  <martin@ximian.com>

* generic.cs (TypeManager.InferTypeArguments): Added support for
anonymous methods; fixes #75461.

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

19 years agoEeeek, what the .... ?
Martin Baulig [Wed, 6 Jul 2005 14:10:24 +0000 (14:10 -0000)]
Eeeek, what the .... ?

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

19 years agoRename Changelog -> ChangeLog.
Zoltan Varga [Wed, 6 Jul 2005 13:56:50 +0000 (13:56 -0000)]
Rename Changelog -> ChangeLog.

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

19 years agoIs this really so damn hard to do this ?
Martin Baulig [Wed, 6 Jul 2005 13:56:50 +0000 (13:56 -0000)]
Is this really so damn hard to do this ?

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

19 years ago2005-07-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 6 Jul 2005 13:56:21 +0000 (13:56 -0000)]
2005-07-06  Zoltan Varga  <vargaz@freemail.hu>

* MiscellaneousBitsAttribute.cs: Add missing ctor.

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

19 years ago2005-07-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 6 Jul 2005 13:55:17 +0000 (13:55 -0000)]
2005-07-06  Martin Baulig  <martin@ximian.com>

* mini.c
(mono_jit_compile_method_inner): Call mono_get_inflated_method().
(mono_jit_runtime_invoke): Likewise.

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

19 years ago2005-07-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 6 Jul 2005 13:55:00 +0000 (13:55 -0000)]
2005-07-06  Martin Baulig  <martin@ximian.com>

* class-internals.h (MonoGenericClass): Moved some things out into
a new `MonoInflatedGenericClass' type.
(MonoInflatedGenericClass): New type; the `klass' of a
`MonoGenericClass' is now computed lazyly in
mono_get_inflated_generic_class().

* class.c (mono_get_inflated_generic_class): New public function.
(mono_class_inflate_generic_method): Removed the unused
`MonoClass *' argument.
(setup_generic_vtable): Don't call mono_get_inflated_method() on
all the methods.
(mono_class_create_generic): Make this static and merge it with
mono_class_create_generic_2(); we're now called automatically from
mono_get_inflated_generic_class().

* loader.c (mono_method_signature): Call
mono_get_inflated_method() here.

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

19 years ago2005-07-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 6 Jul 2005 13:43:46 +0000 (13:43 -0000)]
2005-07-06  Zoltan Varga  <vargaz@freemail.hu>

* GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.

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

19 years ago2005-07-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 6 Jul 2005 13:19:25 +0000 (13:19 -0000)]
2005-07-06  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_class_create_runtime_vtable): Allow MONO_TYPE_FNPTR as
type of fields with RVA.

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

19 years ago2005-07-06 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Wed, 6 Jul 2005 13:14:16 +0000 (13:14 -0000)]
2005-07-06  Iain McCoy  <iain@mccoy.id.au>

        * Mono.Windows.Serialization/CodeWriter.cs: cleaned up a little, added
        support for the `partial' class modifier
        * xamlc.cs: add support for emitting classes with the partial modifier
        set

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

19 years ago* statement.cs (Switch.SwitchGoverningType): Only look at
Raja R Harinath [Wed, 6 Jul 2005 13:02:01 +0000 (13:02 -0000)]
* statement.cs (Switch.SwitchGoverningType): Only look at
UserCasts that don't need implicit standard conversions to one of
the allowed switch types (Fixes test-322.cs).
(LocalInfo.Resolve): Re-enable sanity-test.

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

19 years ago2005-07-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 6 Jul 2005 12:52:49 +0000 (12:52 -0000)]
2005-07-06  Zoltan Varga  <vargaz@freemail.hu>

* class.c (mono_class_from_generic_parameter): Avoid calling mono_class_init ()
for this pseudo class.
(my_mono_class_from_generic_parameter): Likewise.
(mono_class_init): Allow interfaces to have cctors.

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

19 years agonew tests
Marek Safar [Wed, 6 Jul 2005 12:51:55 +0000 (12:51 -0000)]
new tests

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

19 years ago2005-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 6 Jul 2005 12:11:00 +0000 (12:11 -0000)]
2005-07-06  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : more diacritical fixes.
  primary weight fixes on punctuations in category 07.

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

19 years ago2005-07-06 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 6 Jul 2005 11:18:31 +0000 (11:18 -0000)]
2005-07-06  Lluis Sanchez Gual  <lluis@novell.com>

* HttpServer.cs: Close the connection after processing the request.
Based on a patch by Brion Vibber. Fixes bug #75467.

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

19 years ago2005-07-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 6 Jul 2005 10:57:06 +0000 (10:57 -0000)]
2005-07-06  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : several diacritical fixes.
* TestDriver.cs : sortkey dumper should use StringSort.

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

19 years ago2005-07-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 6 Jul 2005 09:26:32 +0000 (09:26 -0000)]
2005-07-06  Marek Safar  <marek.safar@seznam.cz>

* cs-tokenizer.cs (consume_identifier): Detect double undescores

* ecore.cs (FieldExpr.AddressOf): Changed volatile error to warning.

* expression.cs (Invocation.DoResolve): Report error CS0245 here.

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

19 years agoNew test from #75472
Raja R Harinath [Wed, 6 Jul 2005 08:50:24 +0000 (08:50 -0000)]
New test from #75472

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

19 years agoFix #75472.
Raja R Harinath [Wed, 6 Jul 2005 08:44:00 +0000 (08:44 -0000)]
Fix #75472.
* ecore.cs (SimpleName.GetSignatureForError): Add.
* expression.cs (MemberAccess.DoResolve): Don't clobber 'expr' field.
(MemberAccess.GetSignatureForError): Add.

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

19 years ago2005-07-06 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Wed, 6 Jul 2005 04:56:54 +0000 (04:56 -0000)]
2005-07-06  Iain McCoy  <iain@mccoy.id.au>

        * System.Windows/DependencyObject.cs,
          System.Windows/DependencyProperty.cs,
          System.Windows/PropertyMetadata.cs,
          System.Windows/Callbacks.cs: Added constructors to PropertyMetadata,
        added support for default values of properties
        * demo/TestVocab/ConsoleApp.cs: remove default value hack, since we
        have proper default value support now

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

19 years ago2005-07-06 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Wed, 6 Jul 2005 03:57:07 +0000 (03:57 -0000)]
2005-07-06  Iain McCoy  <iain@mccoy.id.au>

        * Mono.Windows.Serialization/Mapping.cs: removed in favour of
        System.Windows.Serialization/Mapper.cs
        * System.Windows.Serialization/Mapper.cs: Added because it is
the
        microsoft-documented mapping API
        * Mono.Windows.Serialization/XamlParser.cs: transition to the
new
        mapper system, also some general converging on the name
        DependencyProperty throughout instead of ContextProperty or
        AttachedProperty.

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

19 years ago2005-07-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Tue, 5 Jul 2005 22:55:29 +0000 (22:55 -0000)]
2005-07-05 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

       * NpgsqlTypes/NpgsqlDbType.cs,
         NpgsqlTypes/NpgsqlTypesHelper.cs,
         Npgsql/NpgsqlParameter.cs,
         Npgsql/NpgsqlConnectionString.cs,
         Npgsql/NpgsqlState.resx,
         Npgsql/NpgsqlConnection.cs,
         Npgsql/NpgsqlClosedState.cs,
 Npgsql/NpgsqlCommand.cs,
 Npgsql/NpgsqlConnector.cs,
 Npgsql/NpgsqlParameterCollection.cs,
 Npgsql/NpgsqlDataReader.cs,
 Npgsql/NpgsqlException.cs: Updated to Npgsql 0.7beta6 gborg code.

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

19 years ago2005-07-05 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Tue, 5 Jul 2005 21:41:12 +0000 (21:41 -0000)]
2005-07-05  Cesar Lopez Nataren  <cnataren@novell.com>

* LateBinding.cs (CallValue): throw a NotImplementedException
instead of a returning null.

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

19 years ago2005-07-05 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Tue, 5 Jul 2005 21:36:09 +0000 (21:36 -0000)]
2005-07-05  Cesar Lopez Nataren  <cnataren@novell.com>

* VsaEngine.cs: Implemented GetOriginalRegExpConstructor.

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

19 years ago2005-07-05 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Tue, 5 Jul 2005 21:35:16 +0000 (21:35 -0000)]
2005-07-05  Cesar Lopez Nataren  <cnataren@novell.com>

Fixes bug #75442
* FunctionExpression.cs (Emit): use InFunction instead of testing by hand.
* Parser.cs (MemberExpr): pass parent as the parameter not pn.
* expression.cs (get_global_scope_or_this): use
CodeGenerator.load_engine for loading the engine, and invoke
GetGlobalScope when the member_exp is a function expression.

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

19 years ago2005-07-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Jul 2005 20:13:50 +0000 (20:13 -0000)]
2005-07-05  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (mono_compile_assembly): Allocate the GOT in the .bss segment
on x86 too.

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

19 years ago2005-07-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Jul 2005 19:35:33 +0000 (19:35 -0000)]
2005-07-05  Zoltan Varga  <vargaz@freemail.hu>

* aot.c: Add new mono_aot_get_method_from_token () function to load AOT methods
without loading their metadata. Reorganize the file format so exception handling+
debug info is kept separate from normal method info. Create MonoJitInfo
structures for methods lazily.

* tramp-x86.c (x86_aot_trampoline): Use the new from_token method to avoid
loading metadata.
(x86_class_init_trampoline): Patch AOT class init trampolines too.

* mini.c (mini_init): Install the new mono_aot_find_jit_info hook.

* mini.c (mono_method_to_ir): Reduce the number of class init trampoline calls
in AOT code.

* mini.h: Bump AOT file version.

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

19 years ago2005-07-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Jul 2005 19:28:09 +0000 (19:28 -0000)]
2005-07-05  Zoltan Varga  <vargaz@freemail.hu>

* domain-internals.h domain.c: Add functionality to create MonoJitInfo structures
lazily for AOT methods.

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

19 years ago2005-07-05 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Tue, 5 Jul 2005 18:42:42 +0000 (18:42 -0000)]
2005-07-05  Ben Maurer  <bmaurer@ximian.com>

* pthread_stop_world.c (pthread_start_world, _GC_suspend_handler):
Make sure that all threads have been started before releasing the
GC_lock. Otherwise, the thread table can be corrupt in the restart
handler, causing deadlocks and segfaults.

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

19 years agobuild fixes
Jordi Mas i Hernandez [Tue, 5 Jul 2005 18:22:58 +0000 (18:22 -0000)]
build fixes

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

19 years agoInclude new tests in the testing script
Jordi Mas i Hernandez [Tue, 5 Jul 2005 17:41:02 +0000 (17:41 -0000)]
Include new tests in the testing script

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

19 years ago2005-07-05 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Tue, 5 Jul 2005 17:32:59 +0000 (17:32 -0000)]
2005-07-05  Jordi Mas i Hernandez <jordi@ximian.com>
* DataGridTextBoxColumnTest.cs: Test case
* GridTableStylesCollectionTest.cs: Test case
* DataGridTest.cs: Test case
* GridColumnStylesCollectionTest.cs: Test case
* DataGridTableStyleTest.cs: Test case

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

19 years ago2005-07-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 5 Jul 2005 16:33:38 +0000 (16:33 -0000)]
2005-07-05  Martin Baulig  <martin@ximian.com>

* loader.c (mono_lookup_pinvoke_call): g_ascii_strcasecmp()
returns FALSE for a successful match, not TRUE.

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

19 years ago2005-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Jul 2005 16:16:48 +0000 (16:16 -0000)]
2005-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : fixed incorrect indexer setup. Optimized
  GetContraction() call a bit.

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

19 years ago2005-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Jul 2005 15:52:04 +0000 (15:52 -0000)]
2005-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : fixed incorrect level 2
  output type.
* MSCompatUnicodeTable.cs : remove debug line.

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

19 years ago* CodeGeneratorFromTypeTest.cs: Added test for ReturnTypeCustomAttributes.
Gert Driesen [Tue, 5 Jul 2005 15:39:44 +0000 (15:39 -0000)]
* CodeGeneratorFromTypeTest.cs: Added test for ReturnTypeCustomAttributes.
* CSharpCodeGenerator.cs: Fixed output of ReturnTypeCustomAttributes.
* VBCodeGenerator.cs: Added support for ReturnTypeCustomAttributes.

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

19 years ago2005-07-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 5 Jul 2005 15:34:51 +0000 (15:34 -0000)]
2005-07-05  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_method_get_index): Optimize this a bit.

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

19 years ago2005-06-08:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Tue, 5 Jul 2005 15:30:11 +0000 (15:30 -0000)]
2005-06-08:2  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* Mono.GetOptions/OptionDetails.cs: oops, mcat breaks as it has more than one option with a blank long form

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

19 years ago2005-07-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 5 Jul 2005 15:29:43 +0000 (15:29 -0000)]
2005-07-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* driver.cs (Install): Copy the linked resource files
for the assembly when installing it.

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

19 years ago * Mono.GetOptions/OptionDetails.cs: Checks alternate forms first (new method IsAlter...
Rafael Teixeira [Tue, 5 Jul 2005 15:21:32 +0000 (15:21 -0000)]
* Mono.GetOptions/OptionDetails.cs: Checks alternate forms first (new method IsAlternate(string compoundArg))
this allow for '/debug[+|-]' coexisting with independently listed/described '/debug:full' and '/debug:pdbonly'
as needed by mbas. Alternate forms are based on the option long form name ('debug' not 'g').
* Mono.GetOptions/OptionList.cs: Register alternates with OptionDetails.LinkAlternatesInsideList(). Same reason.
* Mono.GetOptions.Useful/CommonCompilerOptions.cs: fix /debug:full and /debug:pdbonly semantics while positioning
the public flags
* Mono.GetOptions/Options.cs: Implement new standard option /debugoptions (/~).

2005-06-08  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>

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

19 years ago2005-07-05 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Tue, 5 Jul 2005 13:23:57 +0000 (13:23 -0000)]
2005-07-05  Iain McCoy  <iain@mccoy.id.au>

        * Mono.Windows.Serialization/XamlParser.cs,
          Mono.Windows.Serialization/XamlWriter.cs,
          Mono.Windows.Serialization/CodeWriter.cs: add support for attached
          properties as attributes, supplementing the existing support for
          attached properties as elements

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

19 years ago2005-07-05 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 5 Jul 2005 13:05:00 +0000 (13:05 -0000)]
2005-07-05  Marek Safar  <marek.safar@seznam.cz>

  The big error and warning messages review.

  * anonymous.cs,
  * assign.cs,
  * attribute.cs,
  * class.cs,
  * codegen.cs,
  * convert.cs,
  * cs-parser.jay,
  * cs-tokenizer.cs,
  * decl.cs,
  * delegate.cs,
  * doc.cs,
  * driver.cs,
  * ecore.cs,
  * enum.cs,
  * expression.cs,
  * flowanalysis.cs,
  * iterators.cs,
  * literal.cs,
  * location.cs,
  * modifiers.cs,
  * namespace.cs,
  * parameter.cs,
  * pending.cs,
  * report.cs,
  * rootcontext.cs,
  * statement.cs,
  * support.cs,
  * tree.cs,
  * typemanager.cs: Updated.

* class.cs: (MethodCore.SetYields): Moved here to share.
(PropertyMethod.Define): Moved iterator setup here.

* iterators.cs: Add orig_method to have full access to parent
container.

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

19 years ago2005-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Jul 2005 12:54:04 +0000 (12:54 -0000)]
2005-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* MSCompatUnicodeTableUtil.cs,
  MSCompatUnicodeTable.cs,
  CodePointIndexer.cs,
  create-mscompat-collation-table.cs : made some members internal and
  accessible from other classes. Many indexes could be 0 by default.
* SimpleCollator.cs : optimizations. avoid method call.

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

19 years agoIn mcs:
Raja R Harinath [Tue, 5 Jul 2005 12:49:40 +0000 (12:49 -0000)]
In mcs:
Make 'fixed variable' handling standards compliant. Fix #70807, #72729.
* ecore.cs (IVariable.VerifyFixed): Remove 'is_expression' parameter.
(FieldExpr.VerifyFixed): Ensure that the field is part of a fixed
variable of struct type.
* expression.cs (Unary.ResolveOperator): Update to change.
(Indirection.VerifyFixed): Likewise.
(LocalVariableReference.VerifyFixed): A local variable is always fixed.
(ParameterReference.VerifyFixed): Value parameters are fixed.
(This.VerifyFixed): Treat 'this' as a value parameter.
* statement.cs (LocalInfo.IsFixed): Remove.

In tests:
* test-423.cs: New test based on #70807.

In errors:
* cs0212-2.cs: New test from #72729.

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

19 years ago2005-07-05 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 5 Jul 2005 12:19:51 +0000 (12:19 -0000)]
2005-07-05  Dick Porter  <dick@ximian.com>

* MonoIO.cs:
* MonoIOError.cs: Add error message for ERROR_WRITE_FAULT.

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

19 years ago2005-07-05 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 5 Jul 2005 12:17:46 +0000 (12:17 -0000)]
2005-07-05  Dick Porter  <dick@ximian.com>

* io.c: Make sure SIGPIPE is ignored when calling write(2).
Prevents the runtime exiting when writing to a closed pipe,
fixing bug 75468.

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

19 years agoProject file converted to Developer Edition format.
Boris Kirzner [Tue, 5 Jul 2005 12:05:00 +0000 (12:05 -0000)]
Project file converted to Developer Edition format.

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

19 years agoProject and solution files converted to Developer Edition format.
Boris Kirzner [Tue, 5 Jul 2005 11:58:39 +0000 (11:58 -0000)]
Project and solution files converted to Developer Edition format.

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

19 years ago2005-07-05 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 5 Jul 2005 11:30:37 +0000 (11:30 -0000)]
2005-07-05  Lluis Sanchez Gual  <lluis@novell.com>

* DelegateSerializationHolder.cs: When the deserialized target is
a proxy, call IsInstanceOfType to force the proxy to load the
real type of the remote object. This is needed to make sure that
subsequent calls to GetType() return the expected type. This fixes
bug #75447.

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

19 years agoIn System.Configuration:
Raja R Harinath [Tue, 5 Jul 2005 10:51:51 +0000 (10:51 -0000)]
In System.Configuration:
* ConfigurationSettings.cs (ConnectionStrings): Change XML_DEP
guard to CONFIGURATION_DEP.

In System.Net.Configuration:
* HttpCachePolicyElement.cs: Add CONFIGURATION_DEP guard.
* AuthenticationModuleElementCollection.cs: Replace XML_DEP guard
with CONFIGURATION_DEP.
* AuthenticationModuleElement.cs: Likewise.
* AuthenticationModulesSection.cs: Likewise.
* BypassElementCollection.cs: Likewise.
* BypassElement.cs: Likewise.
* ConnectionManagementElementCollection.cs: Likewise.
* ConnectionManagementElement.cs: Likewise.
* ConnectionManagementSection.cs: Likewise.
* DefaultProxySection.cs: Likewise.
* HttpWebRequestElement.cs: Likewise.
* Ipv6Element.cs: Likewise.
* MailSettingsSection.cs: Likewise.
* ModuleElement.cs: Likewise.
* NetSectionGroup.cs: Likewise.
* ProxyElement.cs: Likewise.
* RequestCachingSection.cs: Likewise.
* ServicePointManagerElement.cs: Likewise.
* SettingsSection.cs: Likewise.
* SmtpElement.cs: Likewise.
* SocketElement.cs: Likewise.
* UriParserElementCollection.cs: Likewise.
* UriParserElement.cs: Likewise.
* UriParserSection.cs: Likewise.
* WebRequestModuleElementCollection.cs: Likewise.
* WebRequestModuleElement.cs: Likewise.
* WebRequestModulesSection.cs: Likewise.

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

19 years ago* expression.cs : Handled DBNull case
Umadevi S [Tue, 5 Jul 2005 09:15:58 +0000 (09:15 -0000)]
* expression.cs : Handled DBNull case

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

19 years ago2005-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Jul 2005 09:14:56 +0000 (09:14 -0000)]
2005-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* Collation-notes.txt : more updates.
* SimpleCollator.cs : Added quick check for Ordinal comparison.
  Fixed special weight comparison. It cannot be customizable in the
  implementation (and it won't be harmful).
* mono-tailoring-source.txt : thus updated comment.

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

19 years ago2005-07-05 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Tue, 5 Jul 2005 08:55:40 +0000 (08:55 -0000)]
2005-07-05  Iain McCoy  <iain@mccoy.id.au>

        * Mono.Windows.Serialization/XamlParser.cs,
          Mono.Windows.Serialization/XamlWriter.cs,
          Mono.Windows.Serialization/CodeWriter.cs: add support for delegate
          properties and for events
        * Mono.Windows.Serialization/XamlParser.cs,
          Mono.Windows.Serialization/XamlWriter.cs,
          Mono.Windows.Serialization/CodeWriter.cs,
          Mono.Windows.Serialization/Mapper.cs: tighten up types so that Type
          and PropertyInfo are passed instead of strings
        * README: describe the demo as it currently is
        * demo/TestVocab/ConsoleWriter.cs: delegates demonstration
        * demo/TestVocab/ConsoleApp.cs: events demonstration
        * demo/test.xaml: include delegates and events in demonstration

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

19 years ago2005-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Jul 2005 07:42:20 +0000 (07:42 -0000)]
2005-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : Compare() was missing French sort support.
* TestDriver.cs : added example case.

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

19 years agoSupport "#" in string to DateTime conversion, eg: #7/29/2004#
Manjula GHM [Tue, 5 Jul 2005 07:29:29 +0000 (07:29 -0000)]
Support "#" in string to DateTime conversion, eg: #7/29/2004#

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

19 years ago2005-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Jul 2005 06:49:22 +0000 (06:49 -0000)]
2005-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* Collation-notes.txt : updated status. Eliminated descriptions on
  "iterator" (I avoided it for performance concern). Fixed misc.
  incorrect descriptions.

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

19 years ago2005-07-05 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Tue, 5 Jul 2005 06:47:27 +0000 (06:47 -0000)]
2005-07-05 Ritvik Mayank <mritvik@novell.com>

Changed the following files in order to run the mssql test
* datareadertests/MsSqlDataReaderTest.cs
* datareadertests/MsSqlSpecificTest.cs
* datareadertests/Runtests.exe.config
* dataadaptertests/Runtests.exe.config
* setup/SetupDb.exe.config

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

19 years ago2005-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Jul 2005 06:32:19 +0000 (06:32 -0000)]
2005-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* Collator.cs : Now that SimpleCollator became feature complete, it is
  not useful anymore.

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

19 years ago2005-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 5 Jul 2005 06:12:07 +0000 (06:12 -0000)]
2005-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : implemented decent Compare() that immediately
  stops at first primary difference.

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