mono.git
19 years agopain
Miguel de Icaza [Tue, 21 Sep 2004 18:14:10 +0000 (18:14 -0000)]
pain

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

19 years agoAdd -g
Miguel de Icaza [Tue, 21 Sep 2004 18:01:14 +0000 (18:01 -0000)]
Add -g

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

19 years agoAdding test case for bug #63841
Geoff Norton [Tue, 21 Sep 2004 17:43:05 +0000 (17:43 -0000)]
Adding test case for bug #63841

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

19 years agoCater for Linux on S/390 in configure. Enable build by updating rule for .mdb
Neale Ferguson [Tue, 21 Sep 2004 16:32:35 +0000 (16:32 -0000)]
Cater for Linux on S/390 in configure. Enable build by updating rule for .mdb
objects

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

19 years agoMinor OP_ARGLIST changes
Neale Ferguson [Tue, 21 Sep 2004 16:27:21 +0000 (16:27 -0000)]
Minor OP_ARGLIST changes

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

19 years ago2004-09-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 21 Sep 2004 15:52:07 +0000 (15:52 -0000)]
2004-09-21  Martin Baulig  <martin@ximian.com>

* test-295.cs: Added Geoff Norton's patch for #62984.

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

19 years agoCommitting Geoff Norton's patch for #62984.
Martin Baulig [Tue, 21 Sep 2004 15:47:23 +0000 (15:47 -0000)]
Committing Geoff Norton's patch for #62984.
2004-09-17  Geoff Norton <gnorton@customerdna.com>

* reflection.c (type_get_qualified_name): If the klass is null
return the typename to avoid a NullRefEx.
(encode_cattr_value): Get the qualified name of the boxed type,
not the underlying enumtype.  Fixes #62984.

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

19 years agoMerged again.
Martin Baulig [Tue, 21 Sep 2004 15:17:54 +0000 (15:17 -0000)]
Merged again.

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

19 years ago**** Merged from MCS ****
Martin Baulig [Tue, 21 Sep 2004 15:17:34 +0000 (15:17 -0000)]
**** Merged from MCS ****

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

19 years ago2004-09-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 21 Sep 2004 14:27:32 +0000 (14:27 -0000)]
2004-09-21  Martin Baulig  <martin@ximian.com>

* codegen.cs (VariableStorage): Don't store the ILGenerator here;
if we're used in an iterator, we may be called from different
methods.

* statement.cs (Foreach.EmitFinally): Only emit an `Endfinally' if
we actually have an exception block.

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

19 years ago2004-09-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 21 Sep 2004 13:10:45 +0000 (13:10 -0000)]
2004-09-21  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c: Fix problems with previous checkin.

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

19 years ago2004-09-21 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Tue, 21 Sep 2004 13:02:12 +0000 (13:02 -0000)]
2004-09-21 Anirban Bhattacharjee <banirban@novell.com>
        * EventF.vb: Modified
        * EventI.vb: New test
        * Test.Sources: Modified

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

19 years ago2004-09-21 <vargaz@freemail.hu>
Zoltan Varga [Tue, 21 Sep 2004 12:58:43 +0000 (12:58 -0000)]
2004-09-21    <vargaz@freemail.hu>

* marshal.h marshal.c icall.c: Add new icalls for Alloc/FreeHGlobal. Change the
existing mono_marshal_alloc/free functions to use CoTaskMemAlloc/Free under windows.

* marshal.c: Allocate marshaller memory using mono_marshal_alloc/free.

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

19 years ago2004-09-21 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Tue, 21 Sep 2004 12:57:09 +0000 (12:57 -0000)]
2004-09-21 Anirban Bhattacharjee <banirban@novell.com>
        * mb-parser.jay: Fixed bug #66231 -
         Now, Me.SubName, MyBase.SubName or any other qualified name
         is supported by AddressOf operator

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

19 years ago2004-09-21 <vargaz@freemail.hu>
Zoltan Varga [Tue, 21 Sep 2004 12:56:24 +0000 (12:56 -0000)]
2004-09-21    <vargaz@freemail.hu>

* libtest.c: Free memory using CoTaskMemFree on windows.
* libtest.c (mono_test_stdcall_name_mangling): Remove declspec(dllimport).

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

19 years ago2004-09-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 21 Sep 2004 12:44:21 +0000 (12:44 -0000)]
2004-09-21  Zoltan Varga  <vargaz@freemail.hu>

* libtest.c (mono_test_stdcall_name_mangling): Add test for stdcall
name mangling on windows.

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

19 years ago2004-09-21 <vargaz@freemail.hu>
Zoltan Varga [Tue, 21 Sep 2004 11:25:18 +0000 (11:25 -0000)]
2004-09-21    <vargaz@freemail.hu>

* configure.in: Link with ole32 on windows.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Tue, 21 Sep 2004 11:23:09 +0000 (11:23 -0000)]
ChangeLog: Updated ChangeLog.
FormViewUpdatedEventArgs.cs: Spelling mistake.

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

19 years ago * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
Lluis Sanchez [Tue, 21 Sep 2004 09:59:17 +0000 (09:59 -0000)]
* SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
  when reading a primitive value in encoded format using
  ReadReferencingElement, provide the type name and namespace
  since the xsi type may not be present in the xml element. This
  fixes bug #65929.

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

19 years ago2004-09-21 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 21 Sep 2004 07:54:01 +0000 (07:54 -0000)]
2004-09-21  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* FunctionDeclaration.cs: check for parent being a ScriptBlock.

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

19 years agoPrint 'IGNORED' when a test is ignored.
Raja R Harinath [Tue, 21 Sep 2004 04:55:50 +0000 (04:55 -0000)]
Print 'IGNORED' when a test is ignored.

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

19 years ago(net20bootstrapcorlib): Rename from net20bootstraplib.
Raja R Harinath [Tue, 21 Sep 2004 04:54:48 +0000 (04:54 -0000)]
(net20bootstrapcorlib): Rename from net20bootstraplib.
Build 'mscorlib.dll' using the 'net_2_0_bootstrap' profile.
(net20bootstrapSystem): New.  Build 'System.dll' using the
'net_2_0_bootstrap' profile.
($(gmcs)): Depend on both the above.
(CLEAN_FILES) [PROFILE=net_2_0]: Clean the 'net_2_0_bootstrap'
profile and 'gmcs' too.

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

19 years ago(lib_file) [PROFILE=net_2_0]: New test. Use
Raja R Harinath [Tue, 21 Sep 2004 04:54:25 +0000 (04:54 -0000)]
(lib_file) [PROFILE=net_2_0]: New test.  Use
net_2_0_bootstrap libraries if necessary.
($(the_lib)): Don't depend on a phony target.  Move 'echo-warning' ...
(all-local): ... here.  Will now warn unnecessarily, but is better
than rebuilding the library each time.

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

19 years ago(AssemblyVersion): Define to 2.0.x when
Raja R Harinath [Tue, 21 Sep 2004 04:54:03 +0000 (04:54 -0000)]
(AssemblyVersion): Define to 2.0.x when
BOOTSTRAP_NET_2_0 is defined.

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

19 years agoNew file.
Raja R Harinath [Tue, 21 Sep 2004 04:53:32 +0000 (04:53 -0000)]
New file.

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

19 years ago(DIST_ONLY_SUBDIRS): Add 'gmcs' since it is specially
Raja R Harinath [Tue, 21 Sep 2004 04:53:09 +0000 (04:53 -0000)]
(DIST_ONLY_SUBDIRS): Add 'gmcs' since it is specially
handled by 'class/corlib/Makefile'.
(test-installed-compiler): Run compiler tests using the installed
compiler.

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

19 years ago- Fixed accessibility level for Idle handler
Peter Dennis Bartok [Tue, 21 Sep 2004 04:14:29 +0000 (04:14 -0000)]
- Fixed accessibility level for Idle handler

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

19 years ago2004-09-21 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Tue, 21 Sep 2004 04:02:20 +0000 (04:02 -0000)]
2004-09-21  Geoff Norton <gnorton@customerdna.com>

        * icall.c (ves_icall_MonoType_GetElementType): GetElementType
        should only return a type for pointers, arrays, and passbyref types.
        Fixes bug #63841.

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

19 years ago2004-09-21 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Tue, 21 Sep 2004 03:56:00 +0000 (03:56 -0000)]
2004-09-21  Geoff Norton <gnorton@customerdna.com>

        * Type.cs: BindingFlags.IgnoreCase was being ignored, this reimplements
        this filter. Fixes bug #65778.

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

19 years ago(the_mdb): Fix.
Raja R Harinath [Tue, 21 Sep 2004 03:34:51 +0000 (03:34 -0000)]
(the_mdb): Fix.
(library_CLEAN_FILES): Add the new test results files too.

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

19 years ago2004-09-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 21 Sep 2004 01:16:42 +0000 (01:16 -0000)]
2004-09-21  Martin Baulig  <martin@ximian.com>

* gen-77.cs: New test for #66014.

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

19 years ago2004-09-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 21 Sep 2004 01:13:50 +0000 (01:13 -0000)]
2004-09-21  Martin Baulig  <martin@ximian.com>

* convert.cs (Convert.ImplicitReferenceConversion): When
converting to an interface type, first check whether we're
converting from a reference type.

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

19 years agoNew message loop that uses poll so we don't get a busy loop
Jackson Harper [Tue, 21 Sep 2004 00:54:15 +0000 (00:54 -0000)]
New message loop that uses poll so we don't get a busy loop

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

19 years agoOooops.
Martin Baulig [Tue, 21 Sep 2004 00:42:47 +0000 (00:42 -0000)]
Oooops.

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

19 years agogood bye antlr
César Natarén [Mon, 20 Sep 2004 23:57:30 +0000 (23:57 -0000)]
good bye antlr

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

19 years agoremove antlr stuff.
César Natarén [Mon, 20 Sep 2004 23:53:09 +0000 (23:53 -0000)]
remove antlr stuff.

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

19 years agoremove antlr stuff.
César Natarén [Mon, 20 Sep 2004 23:46:13 +0000 (23:46 -0000)]
remove antlr stuff.

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

19 years agoremove antl stuff.
César Natarén [Mon, 20 Sep 2004 23:44:23 +0000 (23:44 -0000)]
remove antl stuff.

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

19 years agoremove antlr stuff
César Natarén [Mon, 20 Sep 2004 23:43:32 +0000 (23:43 -0000)]
remove antlr stuff

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

19 years agodelete files generated by antlr.
César Natarén [Mon, 20 Sep 2004 23:35:09 +0000 (23:35 -0000)]
delete files generated by antlr.

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

19 years agochangelog entries
César Natarén [Mon, 20 Sep 2004 23:18:48 +0000 (23:18 -0000)]
changelog entries

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

19 years ago* CodeGenerator.cs: fixes for fall_true & fall_false for taking care of ast when...
César Natarén [Mon, 20 Sep 2004 23:17:28 +0000 (23:17 -0000)]
* CodeGenerator.cs: fixes for fall_true & fall_false for taking care of ast when is a Expre\ssion.

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

19 years ago * IdentificationTable.cs: added method Remove.
César Natarén [Mon, 20 Sep 2004 23:16:47 +0000 (23:16 -0000)]
    * IdentificationTable.cs: added method Remove.

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

19 years ago* JSFunctionAttribute.cs: added fields value and built_in_function
César Natarén [Mon, 20 Sep 2004 23:16:27 +0000 (23:16 -0000)]
* JSFunctionAttribute.cs: added fields value and built_in_function
        so we can decide when a method is really a built in.

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

19 years ago * MathObject.cs: added internal constructor.
César Natarén [Mon, 20 Sep 2004 23:16:01 +0000 (23:16 -0000)]
    * MathObject.cs: added internal constructor.

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

19 years ago * Parser.cs:fixes to keep track of the inheritance chain.
César Natarén [Mon, 20 Sep 2004 23:15:40 +0000 (23:15 -0000)]
    * Parser.cs:fixes to keep track of the inheritance chain.

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

19 years ago * Relational.cs: added code generation for ops instanceof and
César Natarén [Mon, 20 Sep 2004 23:15:06 +0000 (23:15 -0000)]
    * Relational.cs: added code generation for ops instanceof and

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

19 years ago* SemanticAnalizer.cs: added hash global_env and
César Natarén [Mon, 20 Sep 2004 23:14:45 +0000 (23:14 -0000)]
* SemanticAnalizer.cs: added hash global_env and
        IdentificationTable label_set for keeping track of global methods and
        label sets. Added static constructor, method BuildGlobalEnv,
        ImplementationName, ObjectSystemContains, AddLabel, ContainsLabel,
        GetLabel, RemoveLabel.

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

19 years ago* Statement.cs: Added abstract class Jump of which Continue and
César Natarén [Mon, 20 Sep 2004 23:14:20 +0000 (23:14 -0000)]
* Statement.cs: Added abstract class Jump of which Continue and
        Break inherit, checks the label stuff. Added checks for Label
        stuff to Continue and Break classes. Added method Init for
        DoWhile. Fixes for loops statements in order to be able for have
        nested loops. Initial support for Label statements.

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

19 years ago * SymbolTable.cs: added method Remove.
César Natarén [Mon, 20 Sep 2004 23:13:51 +0000 (23:13 -0000)]
    * SymbolTable.cs: added method Remove.

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

19 years ago * ast.cs: added check for parent equal to ScriptBlock.
César Natarén [Mon, 20 Sep 2004 23:13:20 +0000 (23:13 -0000)]
    * ast.cs: added check for parent equal to ScriptBlock.

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

19 years ago * expression.cs: added semantic analysis for accessing fields on
César Natarén [Mon, 20 Sep 2004 23:12:56 +0000 (23:12 -0000)]
 * expression.cs: added semantic analysis for accessing fields on
        class Binary. Semantic Analysis for Calls it takes care of
        constructors and methods, added invocation code for built in
        methods. Added interface IAccesible that let us resolve the '.'
        operator. Class Args handles missing or surplus arguments. Added
        class BuiltIn which will take care of all builtins of ECMAScript.

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

19 years ago2004-09-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 20 Sep 2004 23:04:50 +0000 (23:04 -0000)]
2004-09-21  Martin Baulig  <martin@ximian.com>

* main.c (main): If just a single assembly was specified, use the
runtime version it requires.

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

19 years ago2004-09-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 20 Sep 2004 23:02:44 +0000 (23:02 -0000)]
2004-09-21  Martin Baulig  <martin@ximian.com>

* MonoSymbolFile.cs (MonoDebuggerSupport.CheckRuntimeVersion): New
public method.

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

19 years ago2004-09-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 20 Sep 2004 23:01:58 +0000 (23:01 -0000)]
2004-09-21  Martin Baulig  <martin@ximian.com>

* Assembly.cs (MonoDebugger_CheckRuntimeVersion): New internal method.

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

19 years ago2004-09-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 20 Sep 2004 23:01:16 +0000 (23:01 -0000)]
2004-09-21  Martin Baulig  <martin@ximian.com>

* domain.c (mono_debugger_check_runtime_version): New public
function.

* icall.c (ves_icall_MonoDebugger_check_runtime_version): New icall.

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

19 years ago2004-09-20 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Mon, 20 Sep 2004 21:49:53 +0000 (21:49 -0000)]
2004-09-20  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Microsoft.JScript.dll.sources: drop antlr dependency.

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

19 years ago2004-09-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 20 Sep 2004 20:56:00 +0000 (20:56 -0000)]
2004-09-20  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyBuilder.cs: Fixed assembly-level permissions. I don't know
why I splitted them all into individual entries when only a single set
is accepted for each security action :(.

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

19 years ago* System.dll.sources: Moved ReadOnlyCollection.cs and Collection.cs
Gert Driesen [Mon, 20 Sep 2004 19:19:28 +0000 (19:19 -0000)]
* System.dll.sources: Moved ReadOnlyCollection.cs and Collection.cs
from corlib to System.Collections.Generic in System assembly

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

19 years ago* ReadOnlyCollection.cs: Moved over from corlib
Gert Driesen [Mon, 20 Sep 2004 19:18:58 +0000 (19:18 -0000)]
* ReadOnlyCollection.cs: Moved over from corlib
* Collection.cs: Moved over from corlib

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

19 years ago* corlib.dll.sources: Removed ReadOnlyCollections.cs and Collection.cs
Gert Driesen [Mon, 20 Sep 2004 19:16:21 +0000 (19:16 -0000)]
* corlib.dll.sources: Removed ReadOnlyCollections.cs and Collection.cs
from corlib System.Collections.Generics to System assembly

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

19 years ago* ReadOnlyCollection.cs: Moved to System assembly
Gert Driesen [Mon, 20 Sep 2004 19:14:57 +0000 (19:14 -0000)]
* ReadOnlyCollection.cs: Moved to System assembly
* Collection.cs: Moved to System assembly

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

19 years ago * support/map.c/h: Add poll events map functions. Use values
Jackson Harper [Mon, 20 Sep 2004 18:44:18 +0000 (18:44 -0000)]
* support/map.c/h: Add poll events map functions. Use values
instead of names for defines.

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

19 years ago* XmlValidatingReader.cs: Added deprecation message.
Gert Driesen [Mon, 20 Sep 2004 18:21:55 +0000 (18:21 -0000)]
* XmlValidatingReader.cs: Added deprecation message.

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

19 years agoUpdated.
Martin Baulig [Mon, 20 Sep 2004 16:41:34 +0000 (16:41 -0000)]
Updated.

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

19 years ago2004-09-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 20 Sep 2004 16:05:46 +0000 (16:05 -0000)]
2004-09-20  Sebastien Pouliot  <sebastien@ximian.com>

* reflection.c: Added missing sort to the declarative security
attributes table. MS implementation stops seeing the attributes if the
token number regress in the table (as shown by ildasm and permview).

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

19 years ago2004-09-20 John Luke <jluke@cfl.rr.com>
Miguel de Icaza [Mon, 20 Sep 2004 15:38:28 +0000 (15:38 -0000)]
2004-09-20  John Luke <jluke@cfl.rr.com>

* class.cs, cs-parser.jay: Improve the error report for 1520:
report the actual line where the error happens, not where the
class was declared.

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

19 years ago2004-09-20 John Luke <jluke@cfl.rr.com>
Miguel de Icaza [Mon, 20 Sep 2004 15:36:26 +0000 (15:36 -0000)]
2004-09-20  John Luke <jluke@cfl.rr.com>

* assign.cs, delegate.cs, ecore.cs, expression.cs, statement.cs:
Pass location information that was available elsewhere.

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

19 years agoProfile for bootstraping the GMCS compiler.
Raja R Harinath [Mon, 20 Sep 2004 12:08:40 +0000 (12:08 -0000)]
Profile for bootstraping the GMCS compiler.

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

19 years ago2004-09-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 20 Sep 2004 11:29:37 +0000 (11:29 -0000)]
2004-09-20  Zoltan Varga  <vargaz@freemail.hu>

* object-internals.h (MonoReflectionModule): Add 'token' field.

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

19 years ago2004-09-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 20 Sep 2004 11:23:14 +0000 (11:23 -0000)]
2004-09-20  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyTest.cs: Add tests for MetadataToken and ManifestModule.

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

19 years ago2004-09-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 20 Sep 2004 11:14:13 +0000 (11:14 -0000)]
2004-09-20  Zoltan Varga  <vargaz@freemail.hu>

* object-internals.h (MonoReflectionModule): Add 'token' field.

* reflection.c (mono_reflection_get_token): Add support for Module
and Assembly.
(mono_module_get_object): Set 'token' field.
(mono_module_file_get_object): Set 'token' field.

* icall.c: Add new Assembly and Module icalls.

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

19 years ago2004-09-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 20 Sep 2004 11:10:54 +0000 (11:10 -0000)]
2004-09-20  Zoltan Varga  <vargaz@freemail.hu>

* Environment.cs: Bump corlib version.

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

19 years ago2004-09-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 20 Sep 2004 11:10:00 +0000 (11:10 -0000)]
2004-09-20  Zoltan Varga  <vargaz@freemail.hu>

* Assembly.cs: Implement 2.0 reflection properties.

* Module.cs: Implement 2.0 reflection properties. Add 'token' field.

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

19 years agoAdded a note to Guidelines.
Ravindra [Mon, 20 Sep 2004 05:41:41 +0000 (05:41 -0000)]
Added a note to Guidelines.

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

19 years ago2004-09-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 20 Sep 2004 00:25:52 +0000 (00:25 -0000)]
2004-09-19  Sebastien Pouliot  <sebastien@ximian.com>

* codegen.cs: Fix bug #56621. It is now possible to use MCS on the MS
runtime to delay sign assemblies.

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

19 years ago2004-09-19 Alexis Christoforides <alexis@thenull.net>
Sebastien Pouliot [Mon, 20 Sep 2004 00:00:14 +0000 (00:00 -0000)]
2004-09-19  Alexis Christoforides <alexis@thenull.net>

* CodeGroup.cs: Changed AddChild() to add a copy of the child, like
the MS implementation.
* UnionCodeGroup.cs: Resolve() will now perform union on child code
groups.
* FileCodeGroup.cs: Resolve() will now perform union on child code
groups.
* NetCodeGroup.cs: Resolve() will now perform union on child code
groups.

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

19 years ago2004-09-19 Alexis Christoforides <alexis@thenull.net>
Sebastien Pouliot [Sun, 19 Sep 2004 23:57:35 +0000 (23:57 -0000)]
2004-09-19  Alexis Christoforides <alexis@thenull.net>

* UnionCodeGroupTest.cs: Added ResolveWithChildren test.

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

19 years ago2004-09-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 19 Sep 2004 14:55:06 +0000 (14:55 -0000)]
2004-09-19  Zoltan Varga  <vargaz@freemail.hu>

* PortableExecutableKind.cs ImageFileMachine.cs: Make this internal
under 1.0.

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

19 years ago2004-09-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 19 Sep 2004 14:41:15 +0000 (14:41 -0000)]
2004-09-19  Zoltan Varga  <vargaz@freemail.hu>

* ModuleHandleTest.cs: New file.

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

19 years ago2004-09-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 19 Sep 2004 14:39:00 +0000 (14:39 -0000)]
2004-09-19  Zoltan Varga  <vargaz@freemail.hu>

* corlib_test.dll.sources: Added System/ModuleHandleTest.

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

19 years ago2004-09-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 19 Sep 2004 14:36:11 +0000 (14:36 -0000)]
2004-09-19  Zoltan Varga  <vargaz@freemail.hu>

* MemberInfo.cs ParameterInfo.cs: Add MetadataToken property.

* Module.cs: Add ModuleHandle property and new icalls.

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

19 years ago2004-09-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 19 Sep 2004 14:34:00 +0000 (14:34 -0000)]
2004-09-19  Zoltan Varga  <vargaz@freemail.hu>

* corlib.dll.sources: Added System/ModuleHandle.

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

19 years ago2004-09-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 19 Sep 2004 14:32:22 +0000 (14:32 -0000)]
2004-09-19  Zoltan Varga  <vargaz@freemail.hu>

* ModuleHandle.cs: New file.

* RuntimeFieldHandle.cs: Add an internal ctor.

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

19 years ago2004-09-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 19 Sep 2004 14:29:49 +0000 (14:29 -0000)]
2004-09-19  Zoltan Varga  <vargaz@freemail.hu>

* loader.h loader.c class.h class.c: Add helper functions for obtaining
tokens of metadata objects.

* reflection.h reflection.c (mono_reflection_get_token): New function
to obtain the token of a metadata object.

* icall.c: Add icalls for MetadataToken and ModuleHandle methods.

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

19 years ago2004-09-19 Dick Porter <dick@ximian.com>
Dick Porter [Sun, 19 Sep 2004 12:52:12 +0000 (12:52 -0000)]
2004-09-19  Dick Porter  <dick@ximian.com>

* Console.cs: Use the internal wrappers for StreamReader and
StreamWriter that catch IOException.

2004-09-19  Dick Porter  <dick@ximian.com>

* UnexceptionalStreamWriter.cs:
* UnexceptionalStreamReader.cs: Wrappers around StreamWriter and
StreamReader that catch IOException.  Used by System.Console so
that graphical applications dont get IO errors when their
stdin/out/err vanishes (ie when they spew debug output.)

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

19 years ago2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Sun, 19 Sep 2004 08:16:16 +0000 (08:16 -0000)]
2004-09-19  Sureshkumar T <tsureshkumar@novell.com>
* DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
       hence, adding a row cache is necessary if the original row happens to be current.
       fixed bug #63097

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

19 years ago2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Sun, 19 Sep 2004 08:13:36 +0000 (08:13 -0000)]
2004-09-19  Sureshkumar T <tsureshkumar@novell.com>
* DataSetTest.cs : Added a test for Deserialization of dataset : DeserializeModifiedDataSet

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

19 years ago2004-09-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 19 Sep 2004 04:01:41 +0000 (04:01 -0000)]
2004-09-19  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Do not report the stack trace, this is barely
used nowadays.

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

19 years ago2004-08-22 John Luke <john.luke@gmail.com>
Miguel de Icaza [Sun, 19 Sep 2004 03:59:03 +0000 (03:59 -0000)]
2004-08-22  John Luke  <john.luke@gmail.com>

* driver.cs : check that a resource id is not already used
before adding it, report CS1508 if it is, bug #63637

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

19 years agoSome warning removal, and dead code elimination, brought to you by -warn:4
Miguel de Icaza [Sun, 19 Sep 2004 03:56:33 +0000 (03:56 -0000)]
Some warning removal, and dead code elimination, brought to you by -warn:4

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

19 years agoBack to 2 for now, temporarily
Miguel de Icaza [Sun, 19 Sep 2004 03:38:02 +0000 (03:38 -0000)]
Back to 2 for now, temporarily

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

19 years ago * Syscall.cs: Add support for poll ().
Jackson Harper [Sat, 18 Sep 2004 20:42:16 +0000 (20:42 -0000)]
* Syscall.cs: Add support for poll ().

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

19 years agooups, private -> protected
Marek Safar [Sat, 18 Sep 2004 20:29:14 +0000 (20:29 -0000)]
oups, private -> protected

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

19 years ago2004-09-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Sat, 18 Sep 2004 20:28:37 +0000 (20:28 -0000)]
2004-09-18  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

    * Npgsql/NpgsqlCommand.cs:
        GetClearCommandText: Fixed an infinite loop when trying to use a parameter whose name is equals to same type name.
        i.e.: parameter name :text which would conflict with :text parameter name which was being added in the replacement string.
    * NpgsqlTypes/NpgsqlTypeConverters.cs:
        BasicNativeToBackendTypeConverter.ToString: Fixed handling of strings with backslashes. Now they are properly escaped.

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

19 years ago2004-09-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 18 Sep 2004 19:47:08 +0000 (19:47 -0000)]
2004-09-18  Marek Safar  <marek.safar@seznam.cz>

* class.cs: Do not report warning CS0067 on the interfaces.

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

19 years ago * make-map.cs: Use field value not name for #defines.
Jackson Harper [Sat, 18 Sep 2004 17:46:52 +0000 (17:46 -0000)]
* make-map.cs: Use field value not name for #defines.

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

19 years ago2004-09-18 John Luke <john.luke@gmail.com>
John Luke [Sat, 18 Sep 2004 17:44:09 +0000 (17:44 -0000)]
2004-09-18  John Luke  <john.luke@gmail.com>

        * outline.cs: add const = value; for const fields (Ben's idea)
        detect ParamArrayAttribute for parameters

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

19 years ago2004-09-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 18 Sep 2004 16:31:00 +0000 (16:31 -0000)]
2004-09-18  Zoltan Varga  <vargaz@freemail.hu>

* Module.cs: Add net 2.0 Mvid property.

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

19 years ago2004-09-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Sat, 18 Sep 2004 14:34:55 +0000 (14:34 -0000)]
2004-09-18  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

        * NpgsqlCommand.cs,
        NpgsqlConnector.cs:  Improved portal and plan name creation to use an unique number from NpgsqlConnector instead of using an static field in NpgsqlCommand. Thanks Martin ( martijn at boland dot org) for the heads up.

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