Martin Baulig [Fri, 8 Jul 2005 12:57:57 +0000 (12:57 -0000)]
**** Merged r46761 from MCS ****
svn path=/trunk/mcs/; revision=47094
Martin Baulig [Fri, 8 Jul 2005 12:57:29 +0000 (12:57 -0000)]
**** Merged r46760 from MCS ****
svn path=/trunk/mcs/; revision=47093
Martin Baulig [Fri, 8 Jul 2005 12:56:51 +0000 (12:56 -0000)]
2005-07-08 Martin Baulig <martin@ximian.com>
* anonymous.cs (CaptureContext.EmitParameterInstance): Correctly
handle parameters in nested scopes; fixes #74808; see gtest-188.cs.
svn path=/trunk/mcs/; revision=47092
Iain McCoy [Fri, 8 Jul 2005 12:32:27 +0000 (12:32 -0000)]
2005-07-06 Iain McCoy <iain@mccoy.id.au>
* demo/test.xaml: add use of x:Name attribute
* Mono.Windows.Serialization/XamlParser.cs,
Mono.Windows.Serialization/XamlWriter.cs,
Mono.Windows.Serialization/CodeWriter.cs: support for x:Name
attributes and for considering Name properties to have the same
affect.
svn path=/trunk/mcs/; revision=47091
Martin Baulig [Fri, 8 Jul 2005 12:30:18 +0000 (12:30 -0000)]
2005-07-01 Martin Baulig <martin@ximian.com>
* iterators.cs (Iterator.CapturedThisReference.Emit): Use
`ec.EmitThis ()' to get the correct scope.
svn path=/trunk/mcs/; revision=47090
Martin Baulig [Fri, 8 Jul 2005 12:27:35 +0000 (12:27 -0000)]
2005-07-08 Martin Baulig <martin@ximian.com>
* anonymous.cs (CaptureContext.EmitParameterInstance): Correctly
handle parameters in nested scopes; fixes #74808; see gtest-188.cs.
svn path=/trunk/mcs/; revision=47089
Martin Baulig [Fri, 8 Jul 2005 12:27:13 +0000 (12:27 -0000)]
New test.
svn path=/trunk/mcs/; revision=47088
Martin Baulig [Fri, 8 Jul 2005 12:04:51 +0000 (12:04 -0000)]
Ooops, disable gtest-187.cs for the moment.
svn path=/trunk/mcs/; revision=47087
Atsushi Eno [Fri, 8 Jul 2005 11:50:55 +0000 (11:50 -0000)]
2005-07-08 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : some punct/symbols fix.
* managed-collation.patch : new (and temporary) file to support
managed collation in mscorlib.
* README : described how to use managed collation.
svn path=/trunk/mcs/; revision=47086
Satya Sudha K [Fri, 8 Jul 2005 11:03:20 +0000 (11:03 -0000)]
2005-07-08 Satya Sudha K <ksathyasudha@novell.com>
* Few testcases for Properties
svn path=/trunk/mcs/; revision=47085
Atsushi Eno [Fri, 8 Jul 2005 10:25:39 +0000 (10:25 -0000)]
2005-07-08 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : Further Cyrillic fixes. Handle
U+482-4C8 (though needs diacritical fixes).
* MSCompatUnicodeTable.cs : tiny comment for alternative impl.
svn path=/trunk/mcs/; revision=47084
Raja R Harinath [Fri, 8 Jul 2005 10:07:47 +0000 (10:07 -0000)]
Clean up formatting
svn path=/trunk/mcs/; revision=47083
Sureshkumar T [Fri, 8 Jul 2005 09:56:51 +0000 (09:56 -0000)]
namespace change.
svn path=/trunk/mcs/; revision=47082
Sureshkumar T [Fri, 8 Jul 2005 09:55:05 +0000 (09:55 -0000)]
* DataTableReader.cs: GetSchemaTable: DataType column should be
passed a type of Type.
svn path=/trunk/mcs/; revision=47081
Raja R Harinath [Fri, 8 Jul 2005 09:49:44 +0000 (09:49 -0000)]
In System.Text.RegularExpressions:
* MatchCollection.cs: Convert to incremental mode.
* regex.cs (Regex.Matches): Update. Pass responsibility of
generating all matches to MatchCollection.
In Test/System.Text.RegularExpressions:
* RegexTest.cs (Matches1, Matches2, ..., Matches10): Combine into ...
(Matches): ... this. Convert to use a data-driven approach. Use ...
(trials): ... this. New variable that lists the regexp, input
text and expected results.
(runTrial): New. Run a suite of MatchCollection tests on each trial.
Tests both incremental and non-incremental modes.
svn path=/trunk/mcs/; revision=47079
Sureshkumar T [Fri, 8 Jul 2005 09:46:48 +0000 (09:46 -0000)]
In Test/System.Data:
2005-07-08 Sureshkumar T <tsureshkumar@novell.com>
* DataTableLoadRowTest.cs: Added tests for event handling.
PreserveChangesTest: Added few more tests.
In System.Data:
2005-07-08 Sureshkumar T <tsureshkumar@novell.com>
* DataRow.cs: Load : Fired necessary events.
* DataTable.cs: LoadDataRow (object [], LoadOption): Fired
necessary events.
svn path=/trunk/mcs/; revision=47078
Atsushi Eno [Fri, 8 Jul 2005 08:11:23 +0000 (08:11 -0000)]
2005-07-08 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : Reimplemented Cyrillic weight
computation code, since it looks like the same way as Latin letters
have. Thus removed all other approach (UCA, by letter name).
svn path=/trunk/mcs/; revision=47077
Daniel Morgan [Fri, 8 Jul 2005 06:01:26 +0000 (06:01 -0000)]
2005-07-08 Daniel Morgan <danielmorgan@verizon.net>
* System.Data.OracleClient/OracleParameter.cs
* System.Data.OracleClient/OracleCommand.cs
* System.Data.OracleClient/OracleDataReader.cs: support
Output parameters. Return and InputOutput are TODO. Input
already supported. TODO for handling NULL indicator on Output params.
* System.Data.OracleClient/OracleConnection.cs: remove
compile warning
* Test/TestOracleClient.cs: add tests for out parameters
svn path=/trunk/mcs/; revision=47076
Zoltan Varga [Thu, 7 Jul 2005 20:32:10 +0000 (20:32 -0000)]
2005-07-07 Zoltan Varga <vargaz@freemail.hu>
* inssel.brg (OP_THROW_OR_NULL): Allways rethrow the abort exception.
svn path=/trunk/mono/; revision=47066
Zoltan Varga [Thu, 7 Jul 2005 20:25:33 +0000 (20:25 -0000)]
2005-07-07 Zoltan Varga <vargaz@freemail.hu>
* inssel.brg (OP_THROW_OR_NULL): Allways rethrow the abort exception.
svn path=/trunk/mono/; revision=47065
Gert Driesen [Thu, 7 Jul 2005 20:07:35 +0000 (20:07 -0000)]
* TypeTest.cs: Added test for bug #75408. Modified tests to use Assert
instead of inheriting from deprecated Assertion class.
svn path=/trunk/mcs/; revision=47064
Zoltan Varga [Thu, 7 Jul 2005 19:39:41 +0000 (19:39 -0000)]
2005-07-07 Zoltan Varga <vargaz@freemail.hu>
* appdomain.c (mono_domain_unload): Don't free the error message
before passing it to mono_get_exception_...
svn path=/trunk/mono/; revision=47063
Zoltan Varga [Thu, 7 Jul 2005 18:24:13 +0000 (18:24 -0000)]
2005-07-07 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (CACHE_OBJECT): Fix the race introduced by the previous patch.
svn path=/trunk/mono/; revision=47061
Zoltan Varga [Thu, 7 Jul 2005 18:21:36 +0000 (18:21 -0000)]
2005-07-07 Zoltan Varga <vargaz@freemail.hu>
* appdomain-unload.cs: Add tests for threadpools.
svn path=/trunk/mono/; revision=47060
Paolo Molaro [Thu, 7 Jul 2005 18:00:41 +0000 (18:00 -0000)]
Thu Jul 7 19:59:31 CEST 2005 Paolo Molaro <lupus@ximian.com>
* threads.c: try to better gues an available RT signal (bug #75387).
svn path=/trunk/mono/; revision=47059
Martin Baulig [Thu, 7 Jul 2005 17:51:39 +0000 (17:51 -0000)]
New test.
svn path=/trunk/mcs/; revision=47058
Martin Baulig [Thu, 7 Jul 2005 17:50:57 +0000 (17:50 -0000)]
2005-07-07 Martin Baulig <martin@ximian.com>
* generic.cs (ConstructedType.CheckConstraint): Use
ResolveAsTypeStep(), not ResolveAsTypeTerminal() so we're not
called recursively; fixes #75329.
svn path=/trunk/mcs/; revision=47056
Zoltan Varga [Thu, 7 Jul 2005 17:38:13 +0000 (17:38 -0000)]
2005-07-07 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (CACHE_OBJECT): Don't hold the domain lock between CHECK_OBJECT
and CACHE_OBJECT.
svn path=/trunk/mono/; revision=47055
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
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
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
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
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
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
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
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
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
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
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
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
Paolo Molaro [Thu, 7 Jul 2005 14:39:53 +0000 (14:39 -0000)]
Compilation fix.
svn path=/trunk/mono/; revision=47038
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
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Thu, 7 Jul 2005 04:48:43 +0000 (04:48 -0000)]
Remove dead code
svn path=/trunk/mcs/; revision=47024
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
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
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
Martin Baulig [Wed, 6 Jul 2005 19:38:57 +0000 (19:38 -0000)]
New test.
svn path=/trunk/mcs/; revision=47017
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
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
Martin Baulig [Wed, 6 Jul 2005 17:48:25 +0000 (17:48 -0000)]
New test.
svn path=/trunk/mcs/; revision=47014
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
Alexander Olk [Wed, 6 Jul 2005 17:29:59 +0000 (17:29 -0000)]
Correct ChangeLog date
svn path=/trunk/mcs/; revision=47012
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
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
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
Martin Baulig [Wed, 6 Jul 2005 14:44:46 +0000 (14:44 -0000)]
New test.
svn path=/trunk/mcs/; revision=47007
Martin Baulig [Wed, 6 Jul 2005 14:44:31 +0000 (14:44 -0000)]
New test.
svn path=/trunk/mcs/; revision=47006
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
Martin Baulig [Wed, 6 Jul 2005 14:10:24 +0000 (14:10 -0000)]
Eeeek, what the .... ?
svn path=/trunk/mcs/; revision=47003
Zoltan Varga [Wed, 6 Jul 2005 13:56:50 +0000 (13:56 -0000)]
Rename Changelog -> ChangeLog.
svn path=/trunk/mcs/; revision=47002
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
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
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
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
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
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
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
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
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
Marek Safar [Wed, 6 Jul 2005 12:51:55 +0000 (12:51 -0000)]
new tests
svn path=/trunk/mcs/; revision=46992
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
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
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
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
Raja R Harinath [Wed, 6 Jul 2005 08:50:24 +0000 (08:50 -0000)]
New test from #75472
svn path=/trunk/mcs/; revision=46987
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
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
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
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
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
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
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
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
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
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
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
Jordi Mas i Hernandez [Tue, 5 Jul 2005 18:22:58 +0000 (18:22 -0000)]
build fixes
svn path=/trunk/mcs/; revision=46961
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