mono.git
21 years agoadd myself
John Luke [Thu, 22 May 2003 01:47:25 +0000 (01:47 -0000)]
add myself

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

21 years agoUpdated Npgsql version
Francisco Figueiredo Jr. [Thu, 22 May 2003 01:30:47 +0000 (01:30 -0000)]
Updated Npgsql version

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

21 years ago2003-05-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 21 May 2003 23:27:12 +0000 (23:27 -0000)]
2003-05-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspParser.cs:
* AspTokenizer.cs: fixed bugs #43206 and #43371.

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

21 years ago2003-05-21 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Wed, 21 May 2003 23:04:17 +0000 (23:04 -0000)]
2003-05-21  Ben Maurer <bmaurer@users.sourceforge.net>
StringWriter.cs: Fixed bug #43379 "Missing WebException.Response
property."

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

21 years ago2003-05-21 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Wed, 21 May 2003 22:11:17 +0000 (22:11 -0000)]
2003-05-21  Ben Maurer  <bmaurer@users.sourceforge.net>

* StringWriter.cs: Fixed bug #43431: "StringWriter
.ctor(CultureInfo) does not create a new StringBuilder ()"

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

21 years agoFlush
Miguel de Icaza [Wed, 21 May 2003 21:45:34 +0000 (21:45 -0000)]
Flush

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

21 years ago2003-05-21 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 21 May 2003 19:08:19 +0000 (19:08 -0000)]
2003-05-21  Dietmar Maurer  <dietmar@ximian.com>

* loader.c (mono_get_method): consider calling convention

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

21 years ago2003-05-14 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Wed, 21 May 2003 18:55:34 +0000 (18:55 -0000)]
2003-05-14  Ravi Pratap  <ravi@ximian.com>

* enum.cs (ImplicitConversionExists) : Rename to
ImplicitEnumConversionExists to remove ambiguity.

* ecore.cs (NullCast): New type of cast expression class which
basically is very similar to EmptyCast with the difference being
it still is a constant since it is used only to cast a null to
something else
(eg. (string) null)

* convert.cs (ImplicitReferenceConversion): When casting a null
literal, we return a NullCast.

* literal.cs (NullLiteralTyped): Remove - I don't see why this
should be around anymore.

The renaming (reported was slightly wrong). Corrections:

ConvertImplicitStandard -> ImplicitConversionStandard
ConvertExplicitStandard -> ExplicitConversionStandard

* expression.cs (StaticCallExpr.MakeSimpleCall): Resolve arguments
before passing them in !

* convert.cs (ImplicitConversionStandard): When comparing for
equal expr and target types, ensure that expr is not a
NullLiteral.

In general, we must not be checking (expr_type ==
target_type) in the top level conversion methods
(ImplicitConversion, ExplicitConversion etc). This checking is
done in the methods that they delegate to.

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

21 years ago2003-05-17 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Wed, 21 May 2003 18:43:53 +0000 (18:43 -0000)]
2003-05-17  Ravi Pratap  <ravi@ximian.com>

* test-194.cs: New test for bug #39108

* README.tests : Update accordingly.

* makefile : Add new test.

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

21 years agoEnable JIT build on PPC.
Paolo Molaro [Wed, 21 May 2003 17:58:02 +0000 (17:58 -0000)]
Enable JIT build on PPC.

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

21 years agoSome fixes and more complete support.
Paolo Molaro [Wed, 21 May 2003 17:57:05 +0000 (17:57 -0000)]
Some fixes and more complete support.

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

21 years agoWrong prototype...
Paolo Molaro [Wed, 21 May 2003 17:27:44 +0000 (17:27 -0000)]
Wrong prototype...

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

21 years agoFunction to flush the icache (empty for x86).
Paolo Molaro [Wed, 21 May 2003 17:25:23 +0000 (17:25 -0000)]
Function to flush the icache (empty for x86).

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

21 years agoUse instructions that set the carry/borrow if needed.
Paolo Molaro [Wed, 21 May 2003 17:23:35 +0000 (17:23 -0000)]
Use instructions that set the carry/borrow if needed.

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

21 years agoUse otool to disassemble on macosx.
Paolo Molaro [Wed, 21 May 2003 17:22:27 +0000 (17:22 -0000)]
Use otool to disassemble on macosx.

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

21 years agoTwo ppc-specific instructions.
Paolo Molaro [Wed, 21 May 2003 17:21:14 +0000 (17:21 -0000)]
Two ppc-specific instructions.

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

21 years agoSome PPC WIP.
Paolo Molaro [Wed, 21 May 2003 17:16:18 +0000 (17:16 -0000)]
Some PPC WIP.

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

21 years agosome new implementation was added
Aleksey Ryabchuk [Wed, 21 May 2003 16:22:51 +0000 (16:22 -0000)]
some new implementation was added

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

21 years ago2003-05-21 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 21 May 2003 14:21:05 +0000 (14:21 -0000)]
2003-05-21  Dietmar Maurer  <dietmar@ximian.com>

* mini.c (mono_method_to_ir): call handle_loaded_temps before inlining.
enable use of interface variables again.

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

21 years ago2003-05-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 21 May 2003 13:30:02 +0000 (13:30 -0000)]
2003-05-21  Zoltan Varga  <vargaz@freemail.hu>

* corlib_test.args: Added ModuleTest.cs and ModuleBuilderTest.cs

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

21 years ago2003-05-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 21 May 2003 13:29:23 +0000 (13:29 -0000)]
2003-05-21  Zoltan Varga  <vargaz@freemail.hu>

* ModuleTest.cs: New file.

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

21 years ago2003-05-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 21 May 2003 13:28:46 +0000 (13:28 -0000)]
2003-05-21  Zoltan Varga  <vargaz@freemail.hu>

* ModuleBuilderTest.cs: New file.

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

21 years ago2003-05-21 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 21 May 2003 12:45:22 +0000 (12:45 -0000)]
2003-05-21  Dietmar Maurer  <dietmar@ximian.com>

* mini-x86.c (mono_arch_get_allocatable_int_vars): dont allocate
I1 to registers because there is no simply way to sign extend 8bit
quantities in caller saved registers on x86.

* inssel-float.brg: set costs of some rules to 2 so
that monobure always select the arch. specific ones if supplied,
regardless of the order we pass the files to monoburg.

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

21 years agoDon't install genmdesc.
Paolo Molaro [Wed, 21 May 2003 11:55:53 +0000 (11:55 -0000)]
Don't install genmdesc.

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

21 years ago2003-05-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 21 May 2003 11:31:58 +0000 (11:31 -0000)]
2003-05-21  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Reflection_Module_GetGlobalType): New icall
to return the invisible global type for a module.

* reflection.c (mono_image_build_metadata): Emit global fields too.

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

21 years ago2003-05-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 21 May 2003 11:30:34 +0000 (11:30 -0000)]
2003-05-21  Zoltan Varga  <vargaz@freemail.hu>

* Module.cs: Implement GetField and its friends.

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

21 years ago2003-05-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 21 May 2003 10:33:32 +0000 (10:33 -0000)]
2003-05-21  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_image_build_metadata): Emit global fields too.

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

21 years ago2003-05-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 21 May 2003 10:29:30 +0000 (10:29 -0000)]
2003-05-21  Zoltan Varga  <vargaz@freemail.hu>

* ModuleBuilder.cs:
- Implement DefineInitializedData in terms of DefineUninitializedData
- Name the types of global fields $ArrayType$<len> to cut back on the
number of types created
- Add argument checking

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

21 years agofixed some issues causing problems when running SWF on Linux
Aleksey Ryabchuk [Wed, 21 May 2003 10:15:23 +0000 (10:15 -0000)]
fixed some issues causing problems when running SWF on Linux

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

21 years ago2003-05-21 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Wed, 21 May 2003 06:17:03 +0000 (06:17 -0000)]
2003-05-21 Gaurav Vaish <gvaish_mono AT lycos.com>

* HtmlControlAdapter.cs : Partial implementation.
* HtmlFormAdapter.cs    : Initial implementation.
* HtmlPageAdapter.cs    : Initial implementation.

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

21 years agoOoops, do not force this on everyone
Miguel de Icaza [Wed, 21 May 2003 00:36:41 +0000 (00:36 -0000)]
Ooops, do not force this on everyone

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

21 years agoFor now, do not reference the Shell, but Mono should be changed to not warn
Miguel de Icaza [Wed, 21 May 2003 00:29:25 +0000 (00:29 -0000)]
For now, do not reference the Shell, but Mono should be changed to not warn

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

21 years agoChange casing
Miguel de Icaza [Wed, 21 May 2003 00:13:40 +0000 (00:13 -0000)]
Change casing

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

21 years agoFlush
Miguel de Icaza [Tue, 20 May 2003 23:56:44 +0000 (23:56 -0000)]
Flush

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

21 years agoFlush
Miguel de Icaza [Tue, 20 May 2003 23:53:42 +0000 (23:53 -0000)]
Flush

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

21 years agoFlush
Miguel de Icaza [Tue, 20 May 2003 23:40:20 +0000 (23:40 -0000)]
Flush

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

21 years ago2003-05-21 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Tue, 20 May 2003 23:16:41 +0000 (23:16 -0000)]
2003-05-21  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * FloatingPointFormatter.cs: Take care with the explicit precision
    and round the number to that precision.

    * DoubleFormatter.cs: Adapt to the two level precision (15 - 17).

    * SingleFormatter.cs: Adapt to the two level precision (7 - 8).

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

21 years agoupdate my location and email
Daniel Morgan [Tue, 20 May 2003 23:10:12 +0000 (23:10 -0000)]
update my location and email

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

21 years agoUpdate with more tests
Miguel de Icaza [Tue, 20 May 2003 22:20:38 +0000 (22:20 -0000)]
Update with more tests

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

21 years agoAdd new tests
Miguel de Icaza [Tue, 20 May 2003 22:09:03 +0000 (22:09 -0000)]
Add new tests

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

21 years agoAdd DoubleFormatterTest
Miguel de Icaza [Tue, 20 May 2003 22:05:28 +0000 (22:05 -0000)]
Add DoubleFormatterTest

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

21 years agoRemap gtkhtml-3.0 to a version with .so.1
Miguel de Icaza [Tue, 20 May 2003 22:03:25 +0000 (22:03 -0000)]
Remap gtkhtml-3.0 to a version with .so.1

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

21 years agoAdd UnicodeEncodingTest.cs from Patrick Kalkman
Miguel de Icaza [Tue, 20 May 2003 21:44:42 +0000 (21:44 -0000)]
Add UnicodeEncodingTest.cs from Patrick Kalkman

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

21 years agoAdd DecimalFormatterTest.cs from Patrick Kalkman
Miguel de Icaza [Tue, 20 May 2003 21:43:31 +0000 (21:43 -0000)]
Add DecimalFormatterTest.cs from Patrick Kalkman

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

21 years ago2003-05-20 Peter Williams <peterw@ximian.com>
Peter Williams [Tue, 20 May 2003 21:19:47 +0000 (21:19 -0000)]
2003-05-20  Peter Williams  <peterw@ximian.com>

* loader.c (mono_lookup_internal_call): Add a few newlines.

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

21 years ago2003-05-20 Philip Van Hoof <spamfrommailing@freax.org>
Miguel de Icaza [Tue, 20 May 2003 21:07:58 +0000 (21:07 -0000)]
2003-05-20  Philip Van Hoof <spamfrommailing@freax.org>

* DateTime.cs (FromOADate, GetDateTimeFormats, ToOADate):
Implemented.

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

21 years ago2003-05-16 Peter Williams <peterw@ximian.com>
Peter Williams [Tue, 20 May 2003 21:06:47 +0000 (21:06 -0000)]
2003-05-16  Peter Williams  <peterw@ximian.com>

* main.c (print_skel_dir): New function called when jay is
passed '-p'; prints the directory where the default skeleton
files are installed ($(prefix)/share/jay).

* makefile (CFLAGS): Add a -DSKEL_DIRECTORY to support
print_skel_dir.

* jay.1: Document the -p parameter.

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

21 years agoAutomake-fu to easily add more jit ports.
Paolo Molaro [Tue, 20 May 2003 19:21:21 +0000 (19:21 -0000)]
Automake-fu to easily add more jit ports.

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

21 years agoDefine a symbol for arch that have the jit ported.
Paolo Molaro [Tue, 20 May 2003 19:20:16 +0000 (19:20 -0000)]
Define a symbol for arch that have the jit ported.

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

21 years ago2003-05-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 20 May 2003 18:40:44 +0000 (18:40 -0000)]
2003-05-20  Miguel de Icaza  <miguel@ximian.com>

* convert.cs: Move Error_CannotConvertType,
ImplicitReferenceConversion, ImplicitReferenceConversionExists,
ImplicitNumericConversion, ImplicitConversionExists,
ImplicitUserConversionExists, StandardConversionExists,
FindMostEncompassedType, FindMostSpecificSource,
FindMostSpecificTarget, ImplicitUserConversion,
ExplicitUserConversion, GetConversionOperators,
UserDefinedConversion, ConvertImplicit, ConvertImplicitStandard,
TryImplicitIntConversion, Error_CannotConvertImplicit,
ConvertImplicitRequired, ConvertNumericExplicit,
ExplicitReferenceConversionExists, ConvertReferenceExplicit,
ConvertExplicit, ConvertExplicitStandard from the ecore.cs into
its own file.

Perform the following renames:

StandardConversionExists -> ImplicitStandardConversionExists
ConvertImplicit -> ImplicitConversion
        ConvertImplicitStandard -> ImplicitStandardConversion
        TryImplicitIntConversion -> ImplicitIntConversion
        ConvertImplicitRequired -> ImplicitConversionRequired
        ConvertNumericExplicit -> ExplicitNumericConversion
        ConvertReferenceExplicit -> ExplicitReferenceConversion
        ConvertExplicit -> ExplicitConversion
        ConvertExplicitStandard -> ExplicitStandardConversion

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

21 years agoAdd missing field
Miguel de Icaza [Tue, 20 May 2003 17:34:15 +0000 (17:34 -0000)]
Add missing field

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

21 years ago * FileDialog.cs : more implementation added
Aleksey Ryabchuk [Tue, 20 May 2003 16:32:37 +0000 (16:32 -0000)]
* FileDialog.cs : more implementation added
* win32Enums.cs : added some error codes  for common dialogs
* win32functions.cs : added prototype for CommDlgExtendedError

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

21 years ago2003-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 20 May 2003 16:21:28 +0000 (16:21 -0000)]
2003-05-20  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_reflection_lookup_dynamic_token): Intern dynamic
literal strings.

* appdomain.c (set_domain_search_path): Recalculate search path when
AppDomainSetup.PrivateBinPath changes.

* object.c (mono_class_compute_gc_descriptor): It turns out some
parts of the class libs (like System.Thread) holds pointers to
GC_MALLOC()-d memory in IntPtrs, which is wrong. The workaround is
to treat native int a pointer type here.

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

21 years agoTue May 20 17:19:14 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 20 May 2003 15:28:32 +0000 (15:28 -0000)]
Tue May 20 17:19:14 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini.c, mini-x86.c: since the magic trampoline for jumps
can't patch the code directly, we do it as soon as the
method gets compiled.

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

21 years agoTue May 20 17:18:16 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 20 May 2003 15:26:35 +0000 (15:26 -0000)]
Tue May 20 17:18:16 CEST 2003 Paolo Molaro <lupus@ximian.com>

* appdomain.h, domain.c: add hashtable for jump target resolution.

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

21 years agoTail recursion test case.
Paolo Molaro [Tue, 20 May 2003 14:23:47 +0000 (14:23 -0000)]
Tail recursion test case.

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

21 years agoTue May 20 16:02:52 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 20 May 2003 14:20:31 +0000 (14:20 -0000)]
Tue May 20 16:02:52 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini-x86.c, mini.h: introduce a new patching method
to support CEE_JMP and tail calls.
* mini.c: obey tail.call. Don't precompile methods target
of CEE_JMP.
* tramp-x86.c: new trampoline code to handle methods
reached through a jump.

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

21 years ago2003-05-20 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 20 May 2003 12:14:14 +0000 (12:14 -0000)]
2003-05-20  Dick Porter  <dick@ximian.com>

* io.c (FindFirstFile): Include . files in the glob.  Fixes bug
43229.

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

21 years ago2003-05-20 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 20 May 2003 10:44:31 +0000 (10:44 -0000)]
2003-05-20  Dietmar Maurer  <dietmar@ximian.com>

* mini-x86.c (mono_arch_get_allocatable_int_vars): allocate 8/16
bit values to registers

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

21 years ago2003-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 20 May 2003 10:33:21 +0000 (10:33 -0000)]
2003-05-20  Zoltan Varga  <vargaz@freemail.hu>

* AppDomainSetup.cs: Added new field which is used to notify the
runtime that the search path has changed.

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

21 years ago2003-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 20 May 2003 10:29:41 +0000 (10:29 -0000)]
2003-05-20  Zoltan Varga  <vargaz@freemail.hu>

* TypeBuilderTest.cs: More tests.

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

21 years ago2003-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 20 May 2003 10:27:51 +0000 (10:27 -0000)]
2003-05-20  Zoltan Varga  <vargaz@freemail.hu>

* Assembly.cs (GetManifestResourceStream): Moved handling of
linked resources into managed code using the newly implemented
GetManifestResourceInfo () method.

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

21 years ago2003/05/20 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 20 May 2003 05:29:20 +0000 (05:29 -0000)]
2003/05/20  Nick Drochak <ndrochak@gol.com>

* FileTest.cs:
* StreamReaderTest.cs:
* StreamWriterTest.cs: Workaround for process holding on to directory
that prevented cleanup and deletion.

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

21 years ago2003-05-20 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 20 May 2003 03:54:35 +0000 (03:54 -0000)]
2003-05-20  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* added DeserializeTests.cs and XmlAttributesTest.cs

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

21 years ago * Driver.cs: Exit with 1 return code when no arguments are supplied.
Jackson Harper [Tue, 20 May 2003 03:50:40 +0000 (03:50 -0000)]
    * Driver.cs: Exit with 1 return code when no arguments are supplied.

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

21 years ago * Driver.cs: Add command switch to delete output files created if
Jackson Harper [Mon, 19 May 2003 23:05:58 +0000 (23:05 -0000)]
    * Driver.cs: Add command switch to delete output files created if
there is an error.

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

21 years ago* ILParser.jay: Same as below but with float64 ()
Jackson Harper [Mon, 19 May 2003 22:14:18 +0000 (22:14 -0000)]
* ILParser.jay: Same as below but with float64 ()

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

21 years ago * ILParser.jay: When the float32 (0xFFFFFF) syntax is used the hex
Jackson Harper [Mon, 19 May 2003 18:38:37 +0000 (18:38 -0000)]
    * ILParser.jay: When the float32 (0xFFFFFF) syntax is used the hex
value represents the exact byte value of a float NOT an integer
value that is converted to a float.

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

21 years ago * Driver.cs: Print error exception when compilation fails.
Jackson Harper [Mon, 19 May 2003 18:34:15 +0000 (18:34 -0000)]
    * Driver.cs: Print error exception when compilation fails.

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

21 years ago2003-05-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 19 May 2003 17:24:20 +0000 (17:24 -0000)]
2003-05-19  Zoltan Varga  <vargaz@freemail.hu>

* ConstructorBuilder.cs MethodBuilder.cs: Remove unnecessary MonoTODO
attributes.

* TypeBuilder.cs: "Implement" various methods not supported under
MS.NET.

* AssemblyBuilder.cs: Implement GetDynamicModule. "Implement" various
methods not supported under MS.NET.

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

21 years ago2003-05-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 19 May 2003 16:40:24 +0000 (16:40 -0000)]
2003-05-19  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilderTest.cs: More tests.

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

21 years ago2003-05-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 19 May 2003 16:35:09 +0000 (16:35 -0000)]
2003-05-19  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs: Implement GetDynamicModule. "Implement" various
methods not supported under MS.NET.

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

21 years agomore implementation added
Aleksey Ryabchuk [Mon, 19 May 2003 16:20:54 +0000 (16:20 -0000)]
more implementation added

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

21 years agodisable the intvar code because it breaks mcs compilation
Dietmar Maurer [Mon, 19 May 2003 15:47:50 +0000 (15:47 -0000)]
disable the intvar code because it breaks mcs compilation

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

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

* DirectoryTest.cs: Added tests for GetDirectories() and
GetFiles ()

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

21 years ago2003-05-19 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 19 May 2003 13:58:08 +0000 (13:58 -0000)]
2003-05-19  Dick Porter  <dick@ximian.com>

* jit.c:
* configure.in: Netbsd build fix by marc@informatik.uni-bremen.de.

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

21 years ago2003-05-19 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 19 May 2003 13:48:05 +0000 (13:48 -0000)]
2003-05-19  Dick Porter  <dick@ximian.com>

* threads.c: Set the new thread's stack size to 2M.  Fix needed
for BSD, reported by Martin Dvorak <md@9ll.cz>

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

21 years agoMissing file from last checkin.
Zoltan Varga [Mon, 19 May 2003 12:28:03 +0000 (12:28 -0000)]
Missing file from last checkin.

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

21 years ago2003-05-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 19 May 2003 12:23:52 +0000 (12:23 -0000)]
2003-05-19  Zoltan Varga  <vargaz@freemail.hu>

* reflection.h reflection.c icall.c: Added new icalls
GetManifestResourceInfoInternal, GetModulesInternal and support
infrastructure.

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

21 years ago2003-05-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 19 May 2003 12:23:27 +0000 (12:23 -0000)]
2003-05-19  Zoltan Varga  <vargaz@freemail.hu>

* Module.cs: Implemented IsResource.

* Assembly.cs: Implemented GetManifestResourceInfo, GetModules,
GetModule, GetLoadedModules methods.
* Assembly.cs (GetManifestResourceStream): Added support for
resources in extern assemblies.

CORLIB OUT-OF-SYNC WARNING!

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

21 years ago2003-05-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 19 May 2003 12:05:59 +0000 (12:05 -0000)]
2003-05-19  Zoltan Varga  <vargaz@freemail.hu>

* FileStreamTest.cs: New test for FileStream.Seek() bug.

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

21 years ago2003-05-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 19 May 2003 12:02:10 +0000 (12:02 -0000)]
2003-05-11  Zoltan Varga  <vargaz@freemail.hu>

* FileStream.cs (FlushBuffer): After a flush, the buffer should be
advanced by buf_offset bytes, not buf_length bytes.

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

21 years ago2003-05-19 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 19 May 2003 10:33:01 +0000 (10:33 -0000)]
2003-05-19  Dietmar Maurer  <dietmar@ximian.com>

* mini.c (mono_compile_get_interface_var): share interface
variables if possible.

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

21 years agoMon May 19 09:07:45 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 19 May 2003 07:16:29 +0000 (07:16 -0000)]
Mon May 19 09:07:45 CEST 2003 Paolo Molaro <lupus@ximian.com>

* Monitor.cs: removed test_owner, the check is already done in the
icall.

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

21 years ago2003-05-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 19 May 2003 01:05:57 +0000 (01:05 -0000)]
2003-05-19  Martin Baulig  <martin@ximian.com>

* statement.cs (TypeInfo.StructInfo): Made this type protected.
(TypeInfo): Added support for structs having structs as fields.

* ecore.cs (FieldExpr): Implement IVariable.
(FieldExpr.DoResolve): Call VariableInfo.GetSubStruct() to get the
VariableInfo for the field.

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

21 years ago * Driver.cs: Return an error code if any errors occur during
Jackson Harper [Mon, 19 May 2003 00:59:15 +0000 (00:59 -0000)]
    * Driver.cs: Return an error code if any errors occur during
compiling. Also print a success or error message.

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

21 years agoAdded another testcase.
Martin Baulig [Mon, 19 May 2003 00:59:11 +0000 (00:59 -0000)]
Added another testcase.

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

21 years ago * ILParser.jay: Use new methods for converting types to
Jackson Harper [Mon, 19 May 2003 00:50:48 +0000 (00:50 -0000)]
    * ILParser.jay: Use new methods for converting types to
classrefs. Expand grammar for locals.

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

21 years ago * ExternMethodRef.cs: Accept and add calling conventions. Add
Jackson Harper [Mon, 19 May 2003 00:50:16 +0000 (00:50 -0000)]
    * ExternMethodRef.cs: Accept and add calling conventions. Add
methods using array methods if owners are arrays, resolve methods
named <init> as .ctor.
* ExternTable.cs: Add method to get value classes.
* ExternTypeRef.cs: Add AsClassRef method, GetMethodRef now takes
calling conventions.
* IClassRef.cs: GetMethodRef now takes calling conventions
* ITypeRef.cs: Add IsArray IsRef and AsClassRef methods
* MethodRef.cs: Change <init> to .ctor
* PeapiTypeRef.cs: This class is no longer an ITypeRef because it
cannot be converted to a IClassRef. Add IsArray and IsRef, use new
Class::GetArray* methods to convert to arrays.
* PrimitiveTypeRef.cs: Add method to convert to an IClassRef
* TypeRef.cs: Add IsArray and IsRef, add method to convert to
IClassRef. GetMethodRef now takes calling conventions

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

21 years agoOoops, put back test-15, that was an accident.
Martin Baulig [Mon, 19 May 2003 00:23:13 +0000 (00:23 -0000)]
Ooops, put back test-15, that was an accident.

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

21 years ago * PEAPI.cs: Add methods to allow methods to be added to arrays.
Jackson Harper [Mon, 19 May 2003 00:19:20 +0000 (00:19 -0000)]
    * PEAPI.cs: Add methods to allow methods to be added to arrays.

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

21 years ago2003-05-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 19 May 2003 00:10:39 +0000 (00:10 -0000)]
2003-05-19  Martin Baulig  <martin@ximian.com>

* test-162.cs: Added testcases for structs containing other
structs as fields.  Bug #42597.

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

21 years ago2003-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 19 May 2003 00:10:24 +0000 (00:10 -0000)]
2003-05-18  Martin Baulig  <martin@ximian.com>

* test-154.cs: Added the contents of test-189.cs as a new testcase
to this test.

* test-189.cs: Removed, let's keep the flow analysis tests in one
single test file.

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

21 years ago * ILParser.jay: Convert cast integers to floats.
Jackson Harper [Sun, 18 May 2003 23:33:22 +0000 (23:33 -0000)]
    * ILParser.jay: Convert cast integers to floats.

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

21 years ago * ILTokenizer.cs: If toen.token does not create a keyword return
Jackson Harper [Sun, 18 May 2003 23:27:28 +0000 (23:27 -0000)]
    * ILTokenizer.cs: If toen.token does not create a keyword return
the first token as an id, not a keyword ie (add.exe should return
"ID period ID" not "ADD period ID"

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

21 years ago2003-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 18 May 2003 21:16:51 +0000 (21:16 -0000)]
2003-05-18  Martin Baulig  <martin@ximian.com>

* test-154.cs: Added testcase for bug #41657.

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

21 years ago2003-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 18 May 2003 21:14:45 +0000 (21:14 -0000)]
2003-05-18  Martin Baulig  <martin@ximian.com>

* test-154.cs: Added the contents of test-189.cs as a new testcase
to this test.

* test-189.cs: Removed, let's keep the flow analysis tests in one
single test file.

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

21 years ago2003-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 18 May 2003 19:16:34 +0000 (19:16 -0000)]
2003-05-18  Martin Baulig  <martin@ximian.com>

* expression.cs (This.DoResolve): Report a CS0027 if we're
emitting a field initializer.

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

21 years ago2003-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 18 May 2003 19:04:26 +0000 (19:04 -0000)]
2003-05-18  Martin Baulig  <martin@ximian.com>

* expression.cs (This.ResolveBase): New public function.
(This.DoResolve): Check for CS0188.

* codegen.cs (EmitContext.This): Just call This.ResolveBase(), not
This.Resolve().

* ecore.cs (MethodGroupExpr.DoResolve): Set the
`instance_expression' to null if we don't have any non-static
methods.

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

21 years ago2003-05-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 18 May 2003 18:49:41 +0000 (18:49 -0000)]
2003-05-18  Martin Baulig  <martin@ximian.com>

* error-3.cs: Added testcase for CS0188.

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