mono.git
21 years ago2003-04-11 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sat, 12 Apr 2003 03:17:25 +0000 (03:17 -0000)]
2003-04-11  Duncan Mak  <duncan@ximian.com>

* *.xml: Remove the IsNeutralCulture information and add in specific
        culture information as well.

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

21 years ago2003-04-12 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 12 Apr 2003 03:05:44 +0000 (03:05 -0000)]
2003-04-12  Sebastien Pouliot  <spouliot@videotron.ca>

* X509CertificateTest.cs: Commented ToString() test because of the
dates included within (which makes the comparison with a pre-
generated value difficult).

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

21 years agoRevert the last patch.
Duncan Mak [Sat, 12 Apr 2003 02:57:34 +0000 (02:57 -0000)]
Revert the last patch.

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

21 years ago2003-04-11 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sat, 12 Apr 2003 02:49:45 +0000 (02:49 -0000)]
2003-04-11 Duncan Mak  <duncan@ximian.com>

        * Mono.Globalization/Data/*.xml: Check in XML files used in
        the implementation of System.Globalization.

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

21 years ago2003-04-11 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 12 Apr 2003 02:37:02 +0000 (02:37 -0000)]
2003-04-11  Sebastien Pouliot  <spouliot@videotron.ca>

* X509CertificateTest.cs: Corrected end-of-line issue for Linux.

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

21 years agoGonzalo's idea - Sounded cool ;-)
Sebastien Pouliot [Sat, 12 Apr 2003 01:39:35 +0000 (01:39 -0000)]
Gonzalo's idea - Sounded cool ;-)

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

21 years ago2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 12 Apr 2003 01:17:38 +0000 (01:17 -0000)]
2003-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebResponse.cs: fixes bug #41180.

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

21 years ago2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Apr 2003 23:44:18 +0000 (23:44 -0000)]
2003-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DateTime.cs: fixes bug #40910, part 2.

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

21 years ago2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Apr 2003 23:19:35 +0000 (23:19 -0000)]
2003-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Makefile.am: re-added -m option when running cygpath. This way,
MONO_ASSEMBLIES and MONO_CFG_DIR will contain '/' as directory
separator.
* mono-config.c: same codepath for locating mono config file for WIN32
and the rest.
* assembly.c: if mono_assembly_setrootdir is called, don't override
the value set.

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

21 years ago2003-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 11 Apr 2003 22:14:22 +0000 (22:14 -0000)]
2003-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Makefile.am: patch by Urs Muff <umuff@quark.com> that fixes
MONO_ASSEMBLIES variable.

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

21 years agoUpdate
Miguel de Icaza [Fri, 11 Apr 2003 20:14:17 +0000 (20:14 -0000)]
Update

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

21 years agosome new functions implemented, using BitVector32
Aleksey Ryabchuk [Fri, 11 Apr 2003 16:09:29 +0000 (16:09 -0000)]
some new functions implemented, using BitVector32
instead of declaring separate boolean varibales for every control status

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

21 years ago2003-04-11 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 11 Apr 2003 15:42:59 +0000 (15:42 -0000)]
2003-04-11  Dick Porter  <dick@ximian.com>

* atomic.h: ARM atomic operations by Malte Hildingson
<tds00mahi@tellus.thn.htu.se>

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

21 years agoFixed.
Jaime Anguiano Olarra [Fri, 11 Apr 2003 14:55:39 +0000 (14:55 -0000)]
Fixed.

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

21 years agoFixed test.
Jaime Anguiano Olarra [Fri, 11 Apr 2003 14:41:24 +0000 (14:41 -0000)]
Fixed test.

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

21 years agosome changes related to implementation of MDI interface
Aleksey Ryabchuk [Fri, 11 Apr 2003 13:29:38 +0000 (13:29 -0000)]
some changes related to implementation of MDI interface

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

21 years ago2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Fri, 11 Apr 2003 13:23:31 +0000 (13:23 -0000)]
2003-04-11  Ville Palo <vi64pa@kolumbus.fi>

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

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

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

* FileStreamTest.cs: File Added and some tests in it.

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

21 years ago2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Fri, 11 Apr 2003 13:16:00 +0000 (13:16 -0000)]
2003-04-11  Ville Palo <vi64pa@kolumbus.fi>

* FileStream.cs: Added new methods Lock () and Unlock ()

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

21 years agoFixed my info that was overwritten in v 1.35
Per Arneng [Fri, 11 Apr 2003 11:51:37 +0000 (11:51 -0000)]
Fixed my info that was overwritten in v 1.35

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

21 years agoFri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 11 Apr 2003 11:13:21 +0000 (11:13 -0000)]
Fri Apr 11 13:06:10 CEST 2003 Paolo Molaro <lupus@ximian.com>

* Assembly.cs: added GetNamespaces() icall.

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

21 years agoFri Apr 11 12:44:15 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 11 Apr 2003 10:51:47 +0000 (10:51 -0000)]
Fri Apr 11 12:44:15 CEST 2003 Paolo Molaro <lupus@ximian.com>

* icall.c: added Assembly::GetNamespaces() icall.

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

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

* String.cs (Equals): avoid the internal call, code cleanups

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

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

* mini.c (mini_init): use an opcode for get_Chars (OP_GETCHR)

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

21 years ago2003-04-11 Aleksey Ryabchuk <ryabchuk@yahoo.com>
Aleksey Ryabchuk [Fri, 11 Apr 2003 09:20:33 +0000 (09:20 -0000)]
2003-04-11 Aleksey Ryabchuk <ryabchuk@yahoo.com>
* Control.cs : init bounds in ctor, invisible parking window
* TrackBar.cs
* ProgressBar.cs.cs
* DateTimePicker.cs
* StatusBar.cs : use base version of CreateParams
* ScrollableControl.cs : use base version of CreateParams, removed CS_VREDRAW, CS_HREDRAW styles
* Form.cs : reset parent back to zero for the main form
* StatusBarPanel.cs : small bug-fix

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

21 years agodded the new mono book
Dietmar Maurer [Fri, 11 Apr 2003 09:11:47 +0000 (09:11 -0000)]
dded the new mono book

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

21 years agoChanges caused by the new continue_statement, break_statement, return_statement,...
César Natarén [Fri, 11 Apr 2003 08:44:52 +0000 (08:44 -0000)]
Changes caused by the new continue_statement, break_statement, return_statement, throw_statement, and single line comments.

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

21 years agoAdded continue_statement, break_statement, return_statement, throw_statement and...
César Natarén [Fri, 11 Apr 2003 08:42:28 +0000 (08:42 -0000)]
Added continue_statement, break_statement, return_statement, throw_statement and single line comments, syntatic and lexical rules.

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

21 years ago2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Fri, 11 Apr 2003 07:51:25 +0000 (07:51 -0000)]
2003-04-11  Ville Palo <vi64pa@kolumbus.fi>

* StringReader.cs: Throws exceptions if constructor parameter is null.

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

21 years ago2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Fri, 11 Apr 2003 07:12:54 +0000 (07:12 -0000)]
2003-04-11  Ville Palo <vi64pa@kolumbus.fi>

* StringReaderTest.cs: Tests for close and some exceptions

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

21 years ago2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Fri, 11 Apr 2003 06:55:51 +0000 (06:55 -0000)]
2003-04-11  Ville Palo <vi64pa@kolumbus.fi>

* StringWriter.cs: Now throws an exception if StringBuilder parameter
is null

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

21 years ago2003-04-11 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Fri, 11 Apr 2003 06:52:50 +0000 (06:52 -0000)]
2003-04-11  Ville Palo <vi64pa@kolumbus.fi>

* StringWriterTest.cs: Added some Exception tests.

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

21 years agoFri Apr 11 08:29:50 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 11 Apr 2003 06:37:31 +0000 (06:37 -0000)]
Fri Apr 11 08:29:50 CEST 2003 Paolo Molaro <lupus@ximian.com>

* StringBuilder.cs: cache the result from ToString().

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

21 years ago2003-04-10 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 11 Apr 2003 03:17:27 +0000 (03:17 -0000)]
2003-04-10  Miguel de Icaza  <miguel@ximian.com>

* decl.cs (CheckAccessLevel): Implement the NestedPrivate rules
for the access level checking.

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

21 years agoUpdate tests: add test that passes, add new test
Miguel de Icaza [Fri, 11 Apr 2003 03:14:05 +0000 (03:14 -0000)]
Update tests: add test that passes, add new test

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

21 years agoRemove useless test
Miguel de Icaza [Fri, 11 Apr 2003 03:13:17 +0000 (03:13 -0000)]
Remove useless test

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

21 years agoAdd private nested public test
Miguel de Icaza [Fri, 11 Apr 2003 03:04:28 +0000 (03:04 -0000)]
Add private nested public test

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

21 years agoChanges to prepare for LOB locators.
Christopher Bockner [Fri, 11 Apr 2003 02:38:02 +0000 (02:38 -0000)]
Changes to prepare for LOB locators.

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

21 years ago:i
Christopher Bockner [Fri, 11 Apr 2003 02:33:00 +0000 (02:33 -0000)]
:i

Base class for LOB locator support.
:

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

21 years ago* doc/web/render-team-page.cs (Compare): Correctly fix
Duncan Mak [Fri, 11 Apr 2003 01:49:43 +0000 (01:49 -0000)]
* doc/web/render-team-page.cs (Compare): Correctly fix
ContributorComparer.
(RenderHtml): Add some SetAttribute loving to make it render prettier.

* doc/web/team.xml: Revert excessive indenting.

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

21 years ago2003-04-10 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 11 Apr 2003 01:46:36 +0000 (01:46 -0000)]
2003-04-10  Miguel de Icaza  <miguel@ximian.com>

* class.cs: Cosmetic changes.  Renamed `TypeContainer parent' to
`TypeContainer container', because I kept getting confused when I
was debugging this code.

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

21 years ago2003-04-11 Alan Tam <Tam@SiuLung.com>
Alan Tam [Fri, 11 Apr 2003 01:44:50 +0000 (01:44 -0000)]
2003-04-11  Alan Tam <Tam@SiuLung.com>

        * Convert.cs: fixed bug #41085.

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

21 years agoforgot changelog
Jackson Harper [Fri, 11 Apr 2003 01:36:45 +0000 (01:36 -0000)]
forgot changelog

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

21 years ago2003-04-10 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 11 Apr 2003 01:32:00 +0000 (01:32 -0000)]
2003-04-10  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Indexers): Instead of tracking getters/setters,
we now track them in parallel.  We create one arraylist less, but
most importantly it is possible now for the LValue code to find a
matching get for a set.

(IndexerAccess.DoResolveLValue): Update the code.
GetIndexersForType has been modified already to extract all the
indexers from a type.  The code assumed it did not.

Also make the code set the correct return type for the indexer.
This was fixed a long time ago for properties, but was missing for
indexers.  It used to be void_type.

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

21 years agoImprove test
Miguel de Icaza [Fri, 11 Apr 2003 01:29:33 +0000 (01:29 -0000)]
Improve test

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

21 years ago2003-04-10 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 11 Apr 2003 00:14:12 +0000 (00:14 -0000)]
2003-04-10  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Binary.Emit): Test first for doubles instead of
floats, as they are more common.

(Binary.EmitBranchable): Use the .un version of the branch opcodes
when dealing with floats and the <=, >= operators.  This fixes bug
#39314

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

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

* statement.cs (Foreach.EmitArrayForeach): bug fix: The code used
to load the array value by emitting a load on the foreach variable
type.  This was incorrect.

We now emit the code to load an element using the the array
variable type, and then we emit the conversion operator.

Fixed #40176

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

21 years agoImprove test
Miguel de Icaza [Thu, 10 Apr 2003 22:15:22 +0000 (22:15 -0000)]
Improve test

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

21 years ago2003-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 10 Apr 2003 19:10:50 +0000 (19:10 -0000)]
2003-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* reflection.c: fix from Jaak <jaak@zd.com.pl>.

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

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

* class.cs (MethodSignature.InheritableMemberSignatureCompare):
test for protection before we test for signatures.

(MethodSignature.ToString): implement.

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

21 years ago * RemotingProxy.cs: Added support for Async and OneWay messages.
Lluis Sanchez [Thu, 10 Apr 2003 16:31:02 +0000 (16:31 -0000)]
* RemotingProxy.cs: Added support for Async and OneWay messages.

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

21 years ago * AsyncResult.cs: implemented some methods.
Lluis Sanchez [Thu, 10 Apr 2003 16:30:23 +0000 (16:30 -0000)]
* AsyncResult.cs: implemented some methods.
* ClientContextTerminatorSink.cs: Improved support for Async and OneWay messages.
* MonoMethodMessage.cs: Added member needed to support Async messages.
* ServerObjectTerminatorSink.cs: Improved support for Async and OneWay messages.

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

21 years ago * CrossContextChannel.cs: Improved support for OneWay and Async messages.
Lluis Sanchez [Thu, 10 Apr 2003 16:29:44 +0000 (16:29 -0000)]
* CrossContextChannel.cs: Improved support for OneWay and Async messages.

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

21 years ago * ChannelDataStore.cs: renamed some members to match MS.NET.
Lluis Sanchez [Thu, 10 Apr 2003 16:29:13 +0000 (16:29 -0000)]
* ChannelDataStore.cs: renamed some members to match MS.NET.
* ChannelServices.cs: renamed ChannelInfoStore an its members to match MS.NET.
* CrossAppDomainChannel.cs: Renamed CrossAppDomainChannelData to match MS.NET.
  Added processId property to CrossAppDomainData. Now it is checked in CreateSink.

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

21 years ago * ObjRef.cs: Renamed ChannelInfoStore to ChannelInfo (match MS.NET)
Lluis Sanchez [Thu, 10 Apr 2003 16:26:53 +0000 (16:26 -0000)]
* ObjRef.cs: Renamed ChannelInfoStore to ChannelInfo (match MS.NET)
* RemotingServices.cs: Added method to help support Async messages.
* RemotingConfiguration.cs: Implemented property ProcessID.

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

21 years ago * AppDomain.cs: Added internal method for getting process guid.
Lluis Sanchez [Thu, 10 Apr 2003 16:24:54 +0000 (16:24 -0000)]
* AppDomain.cs: Added internal method for getting process guid.

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

21 years ago * appdomain.c,appdomain.h,icall.c: Added internal method that returns the process...
Lluis Sanchez [Thu, 10 Apr 2003 16:24:11 +0000 (16:24 -0000)]
* appdomain.c,appdomain.h,icall.c: Added internal method that returns the process guid
* object.c: fixed bug in the construction of vtable for proxies

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

21 years ago2003-04-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 10 Apr 2003 15:59:42 +0000 (15:59 -0000)]
2003-04-10  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_type_blittable): MONO_TYPE_OBJECT is blittable.

* driver.c: Added --print-vtable option as in the old JIT.

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

21 years agoThu Apr 10 17:43:49 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 10 Apr 2003 15:51:45 +0000 (15:51 -0000)]
Thu Apr 10 17:43:49 CEST 2003 Paolo Molaro <lupus@ximian.com>

* inssel-long32.brg, exceptions.cs: fix conversions from long, too.

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

21 years ago2003-04-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 10 Apr 2003 15:51:12 +0000 (15:51 -0000)]
2003-04-10  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_array_new): Mark mono_array_new as an icall.

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

21 years ago2003-04-10 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Thu, 10 Apr 2003 15:24:45 +0000 (15:24 -0000)]
2003-04-10  Ville Palo <vi64pa@kolumbus.fi>

* StringWriterTest.cs: Added couple of tests.

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

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

* ConvertTest.cs: Added some tests for ToXXX methods.
TestConvertFromNull ()

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

21 years agoThu Apr 10 16:27:43 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 10 Apr 2003 14:36:43 +0000 (14:36 -0000)]
Thu Apr 10 16:27:43 CEST 2003 Paolo Molaro <lupus@ximian.com>

* inssel.brg, basic.cs: fixed checked conversions to byte and short.

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

21 years ago2003-04-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 10 Apr 2003 12:07:15 +0000 (12:07 -0000)]
2003-04-10  Zoltan Varga  <vargaz@freemail.hu>

* attribute.cs: Avoid allocation of ArrayLists in the common case.

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

21 years ago2003-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 10 Apr 2003 02:23:21 +0000 (02:23 -0000)]
2003-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* class.c: fixed test for public method when overriding interfaces.
Closes bug #40970.

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

21 years agoAdded my person to the team page :).
Hector E. Gomez Morales [Thu, 10 Apr 2003 02:08:45 +0000 (02:08 -0000)]
Added my person to the team page :).

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

21 years agooops
Ben Maurer [Thu, 10 Apr 2003 01:30:02 +0000 (01:30 -0000)]
oops

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

21 years agoadd myself to team
Daniel Morgan [Thu, 10 Apr 2003 01:23:12 +0000 (01:23 -0000)]
add myself to team

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

21 years agoRemove writeLine
Miguel de Icaza [Wed, 9 Apr 2003 22:47:52 +0000 (22:47 -0000)]
Remove writeLine

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

21 years ago2003-04-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 9 Apr 2003 21:00:06 +0000 (21:00 -0000)]
2003-04-09  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Unary.TryReduceNegative): Add missing minus sign
to the case where we reduced into a LongConstant.

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

21 years ago2003-04-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 9 Apr 2003 20:54:34 +0000 (20:54 -0000)]
2003-04-09  Miguel de Icaza  <miguel@ximian.com>

* decl.cs (CheckAccessLevel): If the type is an array, we can not
depend on whether the information is acurrate, because the
Microsoft runtime will always claim that the array type is public,
regardless of the real state.

If the type is a pointer, another problem happens: the type is
reported as non-public in Microsoft.

In both cases we have to call CheckAccessLevel recursively with
the underlying type as the argument to be tested.

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

21 years ago2003-04-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 9 Apr 2003 20:36:16 +0000 (20:36 -0000)]
2003-04-08  Miguel de Icaza  <miguel@ximian.com>

* assign.cs (Assign.Emit): If we are dealing with a compound
assignment expression, we should use the code path that stores the
intermediate result in a temporary value.  This fixes #40903.

*expression.cs (Indirection.ToString): Provide ToString method for
debugging.

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

21 years agoAdd new test
Miguel de Icaza [Wed, 9 Apr 2003 20:33:05 +0000 (20:33 -0000)]
Add new test

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

21 years ago2003-04-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 9 Apr 2003 19:39:17 +0000 (19:39 -0000)]
2003-04-09  Zoltan Varga  <vargaz@freemail.hu>

* mini.c regalloc.c regalloc.h: Fix memory leak.

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

21 years ago2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Wed, 9 Apr 2003 18:20:11 +0000 (18:20 -0000)]
2003-04-09  Ville Palo <vi64pa@kolumbus.fi>

* Array.cs: Little fix to compare () method.

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

21 years ago2003-04-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 9 Apr 2003 16:27:31 +0000 (16:27 -0000)]
2003-04-09  Zoltan Varga  <vargaz@freemail.hu>

* String.cs (Equals): Add trivial optimization.

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

21 years ago2003-04-09 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Wed, 9 Apr 2003 15:26:01 +0000 (15:26 -0000)]
2003-04-09  Ville Palo <vi64pa@kolumbus.fi>

* ArraListTest.cs: Added little test for Sort ().

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

21 years ago2003-04-09 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 9 Apr 2003 15:21:31 +0000 (15:21 -0000)]
2003-04-09  Dietmar Maurer  <dietmar@ximian.com>

* aot.c (mono_aot_get_method): register all used strings

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

21 years ago2003-04-09 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 9 Apr 2003 14:26:26 +0000 (14:26 -0000)]
2003-04-09  Dick Porter  <dick@ximian.com>

* Thread.cs: Make sure a reference to the ThreadStart delegate is
held.  There's no telling how long it will be before
Thread.Start() is called, and GC might destroy the delegate.
Thread() and Start() need to be rewritten so that the runtime
creates the new thread when Start() is called, which will simplify
the code a great deal.

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

21 years agoWed Apr 9 15:22:18 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 9 Apr 2003 13:30:17 +0000 (13:30 -0000)]
Wed Apr 9 15:22:18 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini.c: always intern strings references with ldstr at compile time.

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

21 years agoWed Apr 9 15:19:41 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 9 Apr 2003 13:28:46 +0000 (13:28 -0000)]
Wed Apr 9 15:19:41 CEST 2003 Paolo Molaro <lupus@ximian.com>

* appdomain.h, domain.c: added mono_domain_foreach() to
be able to access the currently loaded appdomains.
* object.c: make string interning work across sppdomains.
Mark some functions for use as icalls.

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

21 years ago2003-04-08 Gaurav Vaish <gvaish_mono AT lycos.com>
Gaurav Vaish [Wed, 9 Apr 2003 11:48:05 +0000 (11:48 -0000)]
2003-04-08 Gaurav Vaish <gvaish_mono AT lycos.com>

* Style.cs               : Implements interfaces now.

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

21 years ago2003-04-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 9 Apr 2003 11:29:19 +0000 (11:29 -0000)]
2003-04-09  Zoltan Varga  <vargaz@freemail.hu>

* class.c reflection.c: Fix memory leaks reported by ccmalloc.

* reflection.h reflection.c: Allocate long living data using
GC_MALLOC_ATOMIC so the collector does not need to scan it.

* reflection.c: Double the allocation size in streams instead of
increasing it, to prevent unneccesary copying on large assemblies.

* reflection.c (mono_reflection_create_runtime_class): Avoid vtable
creation if the assembly does not have the Run flag set.

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

21 years agoOoops, this is the correct test-190.cs file.
Martin Baulig [Wed, 9 Apr 2003 10:59:26 +0000 (10:59 -0000)]
Ooops, this is the correct test-190.cs file.

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

21 years ago2003-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 9 Apr 2003 05:12:44 +0000 (05:12 -0000)]
2003-04-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list: added Watcher.cs
* System.Web.Caching/CacheDependency.cs:
* System.Web.Caching/CacheEntry.cs:
* System.Web.Caching/Watcher.cs: added a FileSystemWatcher-like class for dependency
checking.

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

21 years agoAdded more syntatic rules: if_statement, while and for-in statements, initial array_l...
César Natarén [Wed, 9 Apr 2003 03:13:08 +0000 (03:13 -0000)]
Added more syntatic rules: if_statement, while and for-in statements, initial array_litetal definition, and elision.

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

21 years agoAdd README
Miguel de Icaza [Tue, 8 Apr 2003 23:51:53 +0000 (23:51 -0000)]
Add README

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

21 years agoSync with changes we lost
Miguel de Icaza [Tue, 8 Apr 2003 23:05:26 +0000 (23:05 -0000)]
Sync with changes we lost

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

21 years ago2003-04-08 Zoltan Varga <vargaz@freemail.hu>
Miguel de Icaza [Tue, 8 Apr 2003 23:04:36 +0000 (23:04 -0000)]
2003-04-08  Zoltan Varga  <vargaz@freemail.hu>

        * class.cs: Null out fields holding references to Block objects so
        they can be garbage collected.

        * expression.cs (OverloadResolve): Remove unused local.

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

21 years ago2003-04-07 Martin Baulig <martin@ximian.com>
Miguel de Icaza [Tue, 8 Apr 2003 23:02:44 +0000 (23:02 -0000)]
2003-04-07  Martin Baulig  <martin@ximian.com>

* ecore.cs (Expression.ResolveBoolean): Don't call ec.Mark().

* codegen.cs (EmitContext.EmitTopBlock): Don't call Mark() on the
location.  [FIXME: The location argument which gets passed to this
method is sometimes wrong!]

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

21 years ago2003-04-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 8 Apr 2003 23:02:40 +0000 (23:02 -0000)]
2003-04-07  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Indirection.EmitAssign): We were using the
temporary, but returning immediately instead of continuing the
EmitAssing flow.

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

21 years ago2003-04-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 8 Apr 2003 23:02:35 +0000 (23:02 -0000)]
2003-04-07  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Indirection.EmitAssign): We were using the
temporary, but returning immediately instead of continuing the
EmitAssing flow.

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

21 years ago2003-04-06 Martin Baulig <martin@ximian.com>
Miguel de Icaza [Tue, 8 Apr 2003 23:02:27 +0000 (23:02 -0000)]
2003-04-06  Martin Baulig  <martin@ximian.com>

* ecore.cs (SimpleName.SimpleNameResolve): Don't report an error
if it's a nested child, but also deriving from the outer class.
See test 190.cs.

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

21 years ago2003-04-06 Martin Baulig <martin@ximian.com>
Miguel de Icaza [Tue, 8 Apr 2003 23:02:23 +0000 (23:02 -0000)]
2003-04-06  Martin Baulig  <martin@ximian.com>

* typemanager.cs (IsNestedChildOf): Make this work if it's a
nested child, but also deriving from the outer class.  See
test-190.cs.
(FilterWithClosure): We may access private members of the outer
class if we're a nested child and deriving from the outer class.
(RealMemberLookup): Only set `closure_private_ok' if the
`original_bf' contained BindingFlags.NonPublic.

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

21 years ago2003-04-07 Martin Baulig <martin@ximian.com>
Miguel de Icaza [Tue, 8 Apr 2003 23:02:19 +0000 (23:02 -0000)]
2003-04-07  Martin Baulig  <martin@ximian.com>

* codegen.cs (EmitContext.CurrentFile): New public field.
(EmitContext.Mark): Use the CurrentFile to check whether the
location is in the correct file.
(EmitContext.EmitTopBlock): Initialize CurrentFile here.

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

21 years ago2003-04-05 Martin Baulig <martin@ximian.com>
Miguel de Icaza [Tue, 8 Apr 2003 23:02:13 +0000 (23:02 -0000)]
2003-04-05  Martin Baulig  <martin@ximian.com>

* statement.cs (FlowBranching.UsageVector.MergeChildren): Fix bug #40670.

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

21 years agoFix compilation.
Miguel de Icaza [Tue, 8 Apr 2003 23:02:09 +0000 (23:02 -0000)]
Fix compilation.

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

21 years ago2003-04-02 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 8 Apr 2003 23:02:06 +0000 (23:02 -0000)]
2003-04-02  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Event.Define): Do not allow abstract events to have
initializers.

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

* cs-parser.jay: Add error productions for ADD/REMOVE missing a
block in event declarations.

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

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

* expression.cs (Is.Emit): For action `LeaveOnStack' we were
leaving a class on the stack instead of a boolean value (int
0/1).  Change the code so we compare against null, and then the

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

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

* class.cs (TypeContainer.GetClassBases): We were checking for the
parent class being sealed too late.

* expression.cs (Binary.Emit): For <= and >= when dealing with
floating point values, use cgt.un and clt.un instead of cgt and
clt alone.

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