mono.git
21 years agoAdded Antlr.Runtime/antlr.collections and Antlr.Runtime/antlr.collections/AST.cs.
César Natarén [Tue, 22 Apr 2003 04:59:15 +0000 (04:59 -0000)]
Added Antlr.Runtime/antlr.collections and Antlr.Runtime/antlr.collections/AST.cs.

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

21 years agoAdded Antlr.Runtime/antlr, needed for compiling the files generated by antlr compiler...
César Natarén [Tue, 22 Apr 2003 04:56:13 +0000 (04:56 -0000)]
Added Antlr.Runtime/antlr, needed for compiling the files generated by antlr compiler/compiler.

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

21 years ago2003-04-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 22 Apr 2003 01:56:04 +0000 (01:56 -0000)]
2003-04-21  Miguel de Icaza  <miguel@ximian.com>

* reflection.c (method_encode_code): Add a spicy exception to help
future compiler authors.

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

21 years ago2003-04-21 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 22 Apr 2003 01:27:44 +0000 (01:27 -0000)]
2003-04-21  Sebastien Pouliot  <spouliot@videotron.ca>

* X509CertificateTest.cs: Fixed DateTime issue by setting
CultureInfo to "". Thanks Nick!

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

21 years agoLots of stubs from Peter Van Isacker, that I'd started to flesh in - compilable
Rafael Teixeira [Tue, 22 Apr 2003 00:53:47 +0000 (00:53 -0000)]
Lots of stubs from Peter Van Isacker, that I'd started to flesh in - compilable

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

21 years ago2003-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 22 Apr 2003 00:19:52 +0000 (00:19 -0000)]
2003-04-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ArrayList.cs: patch from bernard@ugsolutions.com (Bernie Solomon)
that fixes bug #41684.

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

21 years ago2003-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2003 21:58:49 +0000 (21:58 -0000)]
2003-04-21  Martin Baulig  <martin@ximian.com>

* icall.c
(ves_icall_System_Reflection_Assembly_GetReferencedAssemblies):
Make this work with relative pathnames; g_filename_to_uri() needs
an absolute filename.

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

21 years agoCopied them over again from ../jit/.
Martin Baulig [Mon, 21 Apr 2003 21:15:46 +0000 (21:15 -0000)]
Copied them over again from ../jit/.

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

21 years ago2003-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2003 21:14:43 +0000 (21:14 -0000)]
2003-04-21  Martin Baulig  <martin@ximian.com>

* debug.c (mono_debug_open): Splitted into mono_debug_init() and
mono_debug_init_2().
(mono_debug_open_image): Don't open referenced assemblies; this is
done automatically by the code in assembly.c.

* mono.c (main_thread_handler): Call mono_debug_init() before
opening the assembly because we need to install the assembly load
hook before doing so.

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

21 years agoMore updates
Miguel de Icaza [Mon, 21 Apr 2003 19:22:14 +0000 (19:22 -0000)]
More updates

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

21 years ago2003-04-21 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Mon, 21 Apr 2003 19:20:47 +0000 (19:20 -0000)]
2003-04-21  Ville Palo <vi64pa@kolumbus.fi>

* Directory.cs: lots of fixes.
  - Added GetXXXtimeUtc () (v1.1) methods.
  - Added SetXXXtimeUtc () (v1.1) methods.

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

21 years ago2003-04-21 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Mon, 21 Apr 2003 19:14:00 +0000 (19:14 -0000)]
2003-04-21  Ville Palo <vi64pa@kolumbus.fi>

* DirectoryTest.cs: lots of new tests. and some fixes and clean ups

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

21 years agoFlush
Miguel de Icaza [Mon, 21 Apr 2003 19:02:16 +0000 (19:02 -0000)]
Flush

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

21 years agoSigh
Miguel de Icaza [Mon, 21 Apr 2003 18:52:22 +0000 (18:52 -0000)]
Sigh

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

21 years agoYes. Here I am.
Jaime Anguiano Olarra [Mon, 21 Apr 2003 18:08:54 +0000 (18:08 -0000)]
Yes. Here I am.

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

21 years ago003-04-20 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 21 Apr 2003 13:35:38 +0000 (13:35 -0000)]
003-04-20 Nick Drochak <ndrochak@gol.com>

* Remove nunit version 1

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

21 years ago2003-04-15 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 21 Apr 2003 13:30:25 +0000 (13:30 -0000)]
2003-04-15 Nick Drochak <ndrochak@gol.com>

* Remove nunit version 1

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

21 years ago2003-04-21 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Mon, 21 Apr 2003 12:06:56 +0000 (12:06 -0000)]
2003-04-21  Ville Palo <vi64pa@kolumbus.fi>

* corlib_linux_test.args: added System.IO/DirectoryTest.cs
* corlib_test.args: added System.IO/DirectoryTest.cs

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

21 years agoKaluzhny: CompanyName, CurrentCulture, ExecutablePath, ProductName, ProductVersion...
V Kaluzhny [Mon, 21 Apr 2003 06:48:50 +0000 (06:48 -0000)]
Kaluzhny: CompanyName, CurrentCulture, ExecutablePath, ProductName, ProductVersion properties

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

21 years agoKaluzhny: add myself to the contributors
V Kaluzhny [Mon, 21 Apr 2003 06:16:44 +0000 (06:16 -0000)]
Kaluzhny: add myself to the contributors

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

21 years agoAdd new error
Miguel de Icaza [Mon, 21 Apr 2003 06:16:36 +0000 (06:16 -0000)]
Add new error

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

21 years ago2003-04-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 21 Apr 2003 00:55:11 +0000 (00:55 -0000)]
2003-04-20  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (TypeManager.NamespaceClash): Use to check if
there is already a namespace defined with this name.

(TypeManager.InitCoreTypes): Remove the temporary workaround, as
people upgraded their corlibs.

(TypeManager.CoreLookupType): Use LookupTypeDirect, as we
always use fully qualified types, no need to use the compiler
front end.

(TypeManager.IsNamespace): Use binarysearch.

* class.cs (AddClass, AddStruct, AddInterface, AddEvent,
AddDelegate): I did not quite use the new IsValid API properly: I
have to pass the short-name and the fullname.  I was passing only
the basename instead of the fullname sometimes.

(TypeContainer.DefineType): call NamespaceClash.

* interface.cs (Interface.DefineType): use NamespaceClash before
defining the type.

* delegate.cs (Delegate.DefineType): use NamespaceClash before
defining the type.

* enum.cs: (Enum.DefineType): use NamespaceClash before
defining the type.

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

21 years agoAdded ChangeLog
César Natarén [Mon, 21 Apr 2003 00:42:45 +0000 (00:42 -0000)]
Added ChangeLog

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

21 years agopicture added
Sebastien Pouliot [Mon, 21 Apr 2003 00:40:12 +0000 (00:40 -0000)]
picture added

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

21 years ago*** empty log message ***
Sebastien Pouliot [Mon, 21 Apr 2003 00:38:52 +0000 (00:38 -0000)]
*** empty log message ***

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

21 years agoAdded the files: makefile.gnu and unix.args.
César Natarén [Mon, 21 Apr 2003 00:38:44 +0000 (00:38 -0000)]
Added the files: makefile.gnu and unix.args.

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

21 years agoMade some changes to get closer to Microsoft.JScript public API and for the building...
César Natarén [Sun, 20 Apr 2003 23:10:59 +0000 (23:10 -0000)]
Made some changes to get closer to Microsoft.JScript public API and for the building process. See ChangeLog entries from April's 19 and 20.

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

21 years agoAdd new error: namespace clashes
Miguel de Icaza [Sun, 20 Apr 2003 22:36:57 +0000 (22:36 -0000)]
Add new error: namespace clashes

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

21 years ago2003-04-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 20 Apr 2003 20:57:47 +0000 (20:57 -0000)]
2003-04-20  Miguel de Icaza  <miguel@ximian.com>

* ILGenerator.cs (EmitCall): Implement.

Flag a few unimplemented methods with MonoTODO, make coding style
for method definitions Mono consistent.

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

21 years ago2003-04-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 20 Apr 2003 20:32:27 +0000 (20:32 -0000)]
2003-04-20  Miguel de Icaza  <miguel@ximian.com>

* StringReaderTest.cs: Update test to include read-past-the-end

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

21 years ago2003-04-20 Igor Nosyryev <nosyryev@attbi.com>
Miguel de Icaza [Sun, 20 Apr 2003 20:25:57 +0000 (20:25 -0000)]
2003-04-20  Igor Nosyryev <nosyryev@attbi.com>

* StringReader.cs (Read): Increment nextChar by charsToRead
instead of count, that will guarantee that the next time the
method is called, it will return 0 on an empty string rather than
throwing an exception

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

21 years ago2003-04-20 Alan Tam <Tam@SiuLung.com>
Alan Tam [Sun, 20 Apr 2003 17:56:54 +0000 (17:56 -0000)]
2003-04-20  Alan Tam <Tam@SiuLung.com>

        * DataRelationCollection.cs: Fix a bug that prevent relations
        from being added via DataSet.

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

21 years agoAdded 3 new files
Gonzalo Paniagua Javier [Sun, 20 Apr 2003 17:00:30 +0000 (17:00 -0000)]
Added 3 new files

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

21 years ago2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 20 Apr 2003 16:59:53 +0000 (16:59 -0000)]
2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ControlBuilder.cs: line and fileName are protected now.

* CodeBuilder.cs: base class for the next 2 files.
* CodeRenderBuilder.cs: builder for code render.
* DataBindingBuilder.cs: builder for data binding.

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

21 years ago2003-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 20 Apr 2003 15:25:58 +0000 (15:25 -0000)]
2003-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list: sorted, added a couple of missing files and 3 new ones.
* System.Web.Compilation/AspComponentFoundry.cs: added GetComponentType
method.
* System.Web.UI/ITagNameToTypeMapper.cs: made it internal.

* System.Web.UI/ObjectTagBuilder.cs: builder for
<object runat="server"> tag.
* System.Web.UI/ObjectTag.cs:
* System.Web.UI/RootBuilder.cs: initial builder.

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

21 years ago2003-04-20 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Sun, 20 Apr 2003 15:05:49 +0000 (15:05 -0000)]
2003-04-20  Ville Palo <vi64pa@kolumbus.fi>

* DirectoryTest.cs: new file

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

21 years ago"oops forgot to commit"
Jackson Harper [Sun, 20 Apr 2003 09:10:58 +0000 (09:10 -0000)]
"oops forgot to commit"

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

21 years ago * makefile: Add DataDef to build
Jackson Harper [Sun, 20 Apr 2003 09:10:08 +0000 (09:10 -0000)]
    * makefile: Add DataDef to build
* makefile.gnu: Add DataDef to build

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

21 years ago* ILParser.jay: Define data, fix repeat_opt allways being set.
Jackson Harper [Sun, 20 Apr 2003 09:08:49 +0000 (09:08 -0000)]
* ILParser.jay: Define data, fix repeat_opt allways being set.

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

21 years ago * CodeGen.cs: Add method to add data
Jackson Harper [Sun, 20 Apr 2003 09:05:29 +0000 (09:05 -0000)]
    * CodeGen.cs: Add method to add data
* FieldDef.cs: Add method to set a fields value
* TypeDef.cs: Add method to add data
* DataDef.cs: New file - Definition of a data constant

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

21 years ago2003-04-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 20 Apr 2003 05:22:49 +0000 (05:22 -0000)]
2003-04-20  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (: 3-line patch that gives us some tasty 11%
speed increase.  First, use the negative_hits cache when we get a
negative.  Second, add the type with its full original name
instead of the new . and + encoded name (reflection uses + to
separate type from a nested type).  Use LookupTypeReflection
directly which bypasses the type->name hashtable (that we already
know does not contain the type.

* decl.cs (DeclSpace.ResolveTypeExpr): track the
location/container type.

* driver.cs: When passing utf8, use directly the UTF8Encoding.

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

21 years ago2003-04-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 20 Apr 2003 04:35:53 +0000 (04:35 -0000)]
2003-04-20  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: Use CodePage not WindowsCodePage.

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

21 years agoFlush
Miguel de Icaza [Sat, 19 Apr 2003 21:24:51 +0000 (21:24 -0000)]
Flush

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

21 years ago2003-04-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 19 Apr 2003 21:18:35 +0000 (21:18 -0000)]
2003-04-19  Miguel de Icaza  <miguel@ximian.com>

* delegate.cs (NewDelegate.Resolve): Test whether an instance
method is being referenced in the method group from a static
context, and report error 120 if so.

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

21 years agoOk, it seem that the last patch did not fix everything. This one should
Ben Maurer [Sat, 19 Apr 2003 21:17:33 +0000 (21:17 -0000)]
Ok, it seem that the last patch did not fix everything. This one should

Before, if there was a one-line block (such as in if (x) do_something;) and a non-one-line block after, the statement of the second block would be removed, and its bracket put on the first statement.

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

21 years agoAdded some classes from the public API of Microsoft.JScript.
César Natarén [Sat, 19 Apr 2003 20:10:13 +0000 (20:10 -0000)]
Added some classes from the public API of Microsoft.JScript.

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

21 years ago2003-04-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 19 Apr 2003 20:03:07 +0000 (20:03 -0000)]
2003-04-19  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs: Add intermediate namespaces (if a namespace A.B
is created, we create the A namespace).

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

21 years ago2003-04-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 19 Apr 2003 19:47:21 +0000 (19:47 -0000)]
2003-04-19  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: A namespace also introduces a DeclarationFound.
Fixes #41591

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

21 years agoMade monostyle.cs able to run on itself.
Ben Maurer [Sat, 19 Apr 2003 19:39:12 +0000 (19:39 -0000)]
Made monostyle.cs able to run on itself.

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

21 years agoadd relaxng validating reader
Miguel de Icaza [Sat, 19 Apr 2003 19:24:57 +0000 (19:24 -0000)]
add relaxng validating reader

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

21 years agoupdate docs
Miguel de Icaza [Sat, 19 Apr 2003 17:40:06 +0000 (17:40 -0000)]
update docs

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

21 years ago2003-04-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 19 Apr 2003 08:56:01 +0000 (08:56 -0000)]
2003-04-19  Zoltan Varga  <vargaz@freemail.hu>

* RuntimeHelpers.cs: Enable the last changes again since they no
longer break the corlib_cmp build.

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

21 years ago * FieldDef.cs: Change peapi fielddef name.
Jackson Harper [Sat, 19 Apr 2003 05:16:31 +0000 (05:16 -0000)]
    * FieldDef.cs: Change peapi fielddef name.
* MethodDef.cs: Change peapi methoddef name.

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

21 years ago2003-04-19 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Sat, 19 Apr 2003 02:17:25 +0000 (02:17 -0000)]
2003-04-19  Ville Palo <vi64pa@kolumbus.fi>

* BufferedStream.cs: Some fixes, mostly throwing exceptions.
* MemoryStream.cs: Changed the order of exception checking
* StringReader.cs: little clean up

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

21 years ago2003-04-19 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Sat, 19 Apr 2003 01:31:55 +0000 (01:31 -0000)]
2003-04-19  Ville Palo <vi64pa@kolumbus.fi>

* corlib_linux_test.args: added System.IO/BufferedStreamTest.cs
* corlib_test.args: added System.IO/BufferedStreamTest.cs

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

21 years ago2003-04-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 18 Apr 2003 22:45:45 +0000 (22:45 -0000)]
2003-04-18  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (GetReferenceType, GetPointerType): In .NET each
invocation to ModuleBuilder.GetType with the same values will
return a new type instance, so we need to cache its return
values.

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

21 years agoMake it handle TextInfo, NumberFormatInfo, and
Duncan Mak [Fri, 18 Apr 2003 22:39:03 +0000 (22:39 -0000)]
Make it handle TextInfo, NumberFormatInfo, and
some other fixes.

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

21 years agoAdd ThreeLetterWindowsLanguageName
Duncan Mak [Fri, 18 Apr 2003 22:38:09 +0000 (22:38 -0000)]
Add ThreeLetterWindowsLanguageName

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

21 years ago2003-04-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 18 Apr 2003 22:35:18 +0000 (22:35 -0000)]
2003-04-18  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Binary.ResolveOperator): Only allow the compare
operators on enums if they are of the same type.

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

21 years agoAnother test file
Miguel de Icaza [Fri, 18 Apr 2003 22:28:42 +0000 (22:28 -0000)]
Another test file

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

21 years ago2003-04-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 18 Apr 2003 22:16:40 +0000 (22:16 -0000)]
2003-04-18  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (Expression.ImplicitReferenceConversion): handle target
types of ValueType on their own case.  Before we were giving them
the same treatment as objects.

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

21 years agoType.Namespace can return null for <PrivateImplDetails>
Miguel de Icaza [Fri, 18 Apr 2003 21:35:58 +0000 (21:35 -0000)]
Type.Namespace can return null for <PrivateImplDetails>

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

21 years ago2003-04-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 18 Apr 2003 21:21:24 +0000 (21:21 -0000)]
2003-04-18  Miguel de Icaza  <miguel@ximian.com>

* decl.cs (DeclSpace.IsValid): IsValid takes the short name and
fullname.  Short name is used to compare against container name.
Fullname is used to check against defined namespace names.

* class.cs (AddProperty, AddField, AddClass, AddStruct, AddEnum,
AddDelegate, AddEvent): Pass new parameter to DeclSpace.IsValid

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

21 years agoCouple of fixes to the build: clash of name and parent name
Miguel de Icaza [Fri, 18 Apr 2003 21:06:38 +0000 (21:06 -0000)]
Couple of fixes to the build: clash of name and parent name

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

21 years ago2003-04-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 18 Apr 2003 21:02:56 +0000 (21:02 -0000)]
2003-04-18  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Method.CheckBase): Call parent.
(MemberBase.CheckBase): Check for protected members on sealed
classes.
(PropertyBase.CheckBase): Call parent.
(Field.Define): Call parent.

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

21 years agoAdd new error test
Miguel de Icaza [Fri, 18 Apr 2003 21:02:36 +0000 (21:02 -0000)]
Add new error test

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

21 years agoadd windows target
Miguel de Icaza [Fri, 18 Apr 2003 20:49:00 +0000 (20:49 -0000)]
add windows target

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

21 years agoExclude RuntimeHelpers from the res version
Miguel de Icaza [Fri, 18 Apr 2003 20:47:54 +0000 (20:47 -0000)]
Exclude RuntimeHelpers from the res version

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

21 years agoExclude RuntimeHelpers from the compare version
Miguel de Icaza [Fri, 18 Apr 2003 20:46:43 +0000 (20:46 -0000)]
Exclude RuntimeHelpers from the compare version

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

21 years agoFix makefile, sorry about that
Miguel de Icaza [Fri, 18 Apr 2003 20:44:24 +0000 (20:44 -0000)]
Fix makefile, sorry about that

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

21 years agoWork around bug in CSC from .NET 1.1 bug
Miguel de Icaza [Fri, 18 Apr 2003 20:44:10 +0000 (20:44 -0000)]
Work around bug in CSC from .NET 1.1 bug

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

21 years agoRemove unused variable
Miguel de Icaza [Fri, 18 Apr 2003 20:38:39 +0000 (20:38 -0000)]
Remove unused variable

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

21 years ago2003-04-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 18 Apr 2003 20:29:04 +0000 (20:29 -0000)]
2003-04-18  Zoltan Varga  <vargaz@freemail.hu>

* RuntimeHelpers.cs: Back out these changes as they break the windows
build.

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

21 years agoAdded my Data And Fixed �The XML. (A <contributor> added himself after
Eduardo Garcia Cebollero [Fri, 18 Apr 2003 20:02:32 +0000 (20:02 -0000)]
Added my Data And Fixed �The XML. (A <contributor> added himself after
the end of the </contrinutors>

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

21 years agoA first batch of improvements.
Miguel de Icaza [Fri, 18 Apr 2003 19:31:46 +0000 (19:31 -0000)]
A first batch of improvements.

2003-04-18  Miguel de Icaza  <miguel@ximian.com>

* report.cs: Negative error codes are now mapped to 8000 - code,
so that the display is render more nicely.

* typemanager.cs: Do not use try/catch, instead report a regular
error.

(GetPointerType, GetReferenceType): These methods provide
mechanisms to obtain the T* and T& from a T.  We had the code
previously scattered around the code base, and it also used
TypeManager.LookupType that would go through plenty of caches.
This one goes directly to the type source.

In some places we did the Type.GetType followed by
ModuleBuilder.GetType, but not in others, so this unifies the
processing as well.

* namespace.cs (VerifyUsing): Perform a non-lazy approach to using
statements now that we have namespace information.

* typemanager.cs (IsNamespace): New method, returns whether the
string presented is a namespace or not.

(ComputeNamespaces): New public entry point, computes the list of
available namespaces, using the GetNamespaces API call in Mono, or
the slower version in MS.NET.

Now before we start the semantic analysis phase, we have a
complete list of namespaces including everything that the user has
provided.

Deleted old code to cache namespaces in .nsc files.

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

21 years agoMore updates
Miguel de Icaza [Fri, 18 Apr 2003 18:29:48 +0000 (18:29 -0000)]
More updates

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

21 years agoWe are stricter every day
Miguel de Icaza [Fri, 18 Apr 2003 18:05:29 +0000 (18:05 -0000)]
We are stricter every day

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

21 years ago2003-04-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 18 Apr 2003 17:53:34 +0000 (17:53 -0000)]
2003-04-18  Zoltan Varga  <vargaz@freemail.hu>

* RuntimeHelpersTest.cs: Added tests for Equals() and GetHashCode ()
methods.

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

21 years ago2003-04-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 18 Apr 2003 17:50:48 +0000 (17:50 -0000)]
2003-04-18  Zoltan Varga  <vargaz@freemail.hu>

* RuntimeHelpers.cs: Implement Equals and GetHashCode methods from
NET 1.1.

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

21 years ago2003-04-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 18 Apr 2003 17:47:53 +0000 (17:47 -0000)]
2003-04-18  Zoltan Varga  <vargaz@freemail.hu>

* icall.c: Track name changes in Object and ValueType.

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

21 years ago2003-04-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 18 Apr 2003 17:44:49 +0000 (17:44 -0000)]
2003-04-18  Zoltan Varga  <vargaz@freemail.hu>

* Object.cs ValueType.cs: Make the Object::GetHashCode() and
ValueType::Equals() icalls static non-virtual, so they can be called
by the code in RuntimeHelpers.

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

21 years agoUpdate Gtk#
Miguel de Icaza [Fri, 18 Apr 2003 17:09:58 +0000 (17:09 -0000)]
Update Gtk#

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

21 years agoAdd more comments
Miguel de Icaza [Fri, 18 Apr 2003 16:42:33 +0000 (16:42 -0000)]
Add more comments

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

21 years agoAdd more comments
Miguel de Icaza [Fri, 18 Apr 2003 16:35:09 +0000 (16:35 -0000)]
Add more comments

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

21 years ago2003-04-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 18 Apr 2003 14:07:33 +0000 (14:07 -0000)]
2003-04-18  Miguel de Icaza  <miguel@ximian.com>

* Delegate.cs (operator ==): Do not crash if the second argument
is null.  Bug fix submitted by Juan Cri.

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

21 years ago2003-04-18 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
Eduardo Garcia Cebollero [Fri, 18 Apr 2003 14:04:45 +0000 (14:04 -0000)]
2003-04-18  Eduardo Garcia Cebollero <kiwnix@yahoo.es>

        * Array.cs: Deleted the exception in Array.Initialize(), it looks
        like the method do nothing for C#, is still a MonoTODO until
        we find a compiler that uses that.

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

21 years agoAdd two errors
Miguel de Icaza [Fri, 18 Apr 2003 13:51:39 +0000 (13:51 -0000)]
Add two errors

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

21 years ago2003-04-18 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 18 Apr 2003 09:56:37 +0000 (09:56 -0000)]
2003-04-18  Dietmar Maurer  <dietmar@ximian.com>

* metadata.c (mono_type_stack_size): size should be a multiple of
sizeof (gpointer)

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

21 years ago * makefile: Add new types to build
Jackson Harper [Fri, 18 Apr 2003 06:38:09 +0000 (06:38 -0000)]
    * makefile: Add new types to build
* makefile.gnu: Add new types to build

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

21 years ago * MethodDef.cs: New file - definition of a method.
Jackson Harper [Fri, 18 Apr 2003 06:36:00 +0000 (06:36 -0000)]
    * MethodDef.cs: New file - definition of a method.
* ParamDef.cs: New file - definition of a parameter to a method
* TypeDef.cs: Add method definitions, set intransit flag to false
before defining members, so a false circular reference is not
created.
* CodeGen.cs: Add methods to add method definitions

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

21 years ago* ILParser.jay: Add external types to the extern type table.
Jackson Harper [Fri, 18 Apr 2003 04:53:19 +0000 (04:53 -0000)]
* ILParser.jay: Add external types to the extern type table.

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

21 years ago* ExternTypeRef.cs: external types are classrefs
Jackson Harper [Fri, 18 Apr 2003 04:45:37 +0000 (04:45 -0000)]
* ExternTypeRef.cs: external types are classrefs

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

21 years ago* AssemblyInfo.cs: Increase version number.
Jackson Harper [Fri, 18 Apr 2003 04:16:45 +0000 (04:16 -0000)]
* AssemblyInfo.cs: Increase version number.

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

21 years ago * PeapiTypeRef.cs: New file - base wrapper for type refs that are
Jackson Harper [Fri, 18 Apr 2003 04:11:00 +0000 (04:11 -0000)]
    * PeapiTypeRef.cs: New file - base wrapper for type refs that are
just peapi types.
* PrimitiveTypeRef.cs: New file - A primitive type (char, int, string)

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

21 years ago * Driver.cs: Call new codegen methods.
Jackson Harper [Fri, 18 Apr 2003 04:08:03 +0000 (04:08 -0000)]
    * Driver.cs: Call new codegen methods.
* makefile: Add new types to build
* makefile.gnu: Add new types to build

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

21 years ago * TypeRef.cs: Rewrite - Typerefs are now resolved after parsing.
Jackson Harper [Fri, 18 Apr 2003 04:05:31 +0000 (04:05 -0000)]
    * TypeRef.cs: Rewrite - Typerefs are now resolved after parsing.
* TypeManager.cs: Rewrite - Just a simple table for looking up
typedefs
* ExternTable.cs: Create ClassRef's instead of Classes
* Location.cs: Make compile
* CodeGen.cs: Use new tree system

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

21 years ago* ILParser.jay: Use new types and methods to build a tree.
Jackson Harper [Fri, 18 Apr 2003 04:04:18 +0000 (04:04 -0000)]
* ILParser.jay: Use new types and methods to build a tree.

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

21 years ago * ExternTypeRef.cs: New file - Represents a reference to a type in
Jackson Harper [Fri, 18 Apr 2003 03:52:17 +0000 (03:52 -0000)]
    * ExternTypeRef.cs: New file - Represents a reference to a type in
an external assembly
* FieldDef.cs: New file - Represents a field definition
* IClassRef.cs: New file - Interface that classrefs must
implement. This needs some more thought though because once a
classref has been modified it is no longer a classref.
* ITypeRef.cs: New file - Interface that references to types must
implement
* TypeDef.cs: New file - Represents the a class definition, and
will hold all of the classes members.

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

21 years agolittle tweak to prevent 2 seconds pause when no finalizers pending
Gonzalo Paniagua Javier [Fri, 18 Apr 2003 02:19:15 +0000 (02:19 -0000)]
little tweak to prevent 2 seconds pause when no finalizers pending

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

21 years agoRename for more appropriate naming
Miguel de Icaza [Fri, 18 Apr 2003 02:15:38 +0000 (02:15 -0000)]
Rename for more appropriate naming

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