mono.git
21 years agoWed Jun 11 18:01:06 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Jun 2003 16:12:19 +0000 (16:12 -0000)]
Wed Jun 11 18:01:06 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini.c, mini.h, jit-icalls.c: speedup emulation of opcodes that
don't raise exceptions.

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

21 years agoAdd markup
Miguel de Icaza [Wed, 11 Jun 2003 14:39:58 +0000 (14:39 -0000)]
Add markup

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

21 years ago * XmlSerializationReader.cs: Minor fix.
Lluis Sanchez [Wed, 11 Jun 2003 13:53:43 +0000 (13:53 -0000)]
* XmlSerializationReader.cs: Minor fix.

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

21 years ago* XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs: Minor fixes.
Lluis Sanchez [Wed, 11 Jun 2003 13:38:56 +0000 (13:38 -0000)]
* XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs: Minor fixes.

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

21 years agoFlush
Miguel de Icaza [Wed, 11 Jun 2003 13:37:48 +0000 (13:37 -0000)]
Flush

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

21 years ago2003-06-11 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 11 Jun 2003 12:39:20 +0000 (12:39 -0000)]
2003-06-11  Dick Porter  <dick@ximian.com>

* shared.c: Fix shared directory creation.  Patch from
Pablo Baena <pbaena@uol.com.ar>

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

21 years ago2003-06-11 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 11 Jun 2003 09:59:09 +0000 (09:59 -0000)]
2003-06-11  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_marshal_get_native_wrapper): use custom
marshaler for return types.

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

21 years ago2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 11 Jun 2003 00:00:36 +0000 (00:00 -0000)]
2003-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MonoType.cs: don't throw nullref when the return type for a property
is specified and the property doesn't have a get accessor.

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

21 years ago2003-06-10 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 10 Jun 2003 22:56:27 +0000 (22:56 -0000)]
2003-06-10  Duncan Mak  <duncan@ximian.com>

* Array.cs (CreateInstance): Fixed a typo. It should throw
ArgumentNullException instead of ArgumentException.

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

21 years ago2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 10 Jun 2003 22:42:04 +0000 (22:42 -0000)]
2003-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HashtableTest.cs: removed duplicate tests and unneeded inner class.

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

21 years agoChange back the copyright. I guess I should not look for a carrear as a lawyer ;-)
Ben Maurer [Tue, 10 Jun 2003 22:37:50 +0000 (22:37 -0000)]
Change back the copyright. I guess I should not look for a carrear as a lawyer ;-)

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

21 years ago * Methods.cs: removed handler for UnknownNode event
Lluis Sanchez [Tue, 10 Jun 2003 18:31:05 +0000 (18:31 -0000)]
* Methods.cs: removed handler for UnknownNode event

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

21 years ago * SoapReflectionImporter.cs: Added check: some overrides cannot be applied to primit...
Lluis Sanchez [Tue, 10 Jun 2003 18:30:32 +0000 (18:30 -0000)]
* SoapReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
* XmlAttributes.cs: Default value of XmlDefaultValue changed to System.DBNull.Value
* XmlCustomFormatter.cs: small fixes.
* XmlReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
* XmlSerializationWriter.cs: Implemented TopLevelElement().
  WriteNamespaceDeclarations(): Fixed (the hashtable contains XmlQualifiedNames, not strings).
  WriteXsiType(): It is not necessary to add the namespace declaration, this will now be done by XmlWriter.
* XmlSerializationWriterInterpreter.cs: Call TopLevelElement() when writing classes or arrays as
  root elements.

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

21 years ago * XmlTextWriter.cs: when adding an attribute with a namespace, a prefix must be...
Lluis Sanchez [Tue, 10 Jun 2003 18:13:55 +0000 (18:13 -0000)]
* XmlTextWriter.cs: when adding an attribute with a namespace, a prefix must be automaticaly
  generated, and a namespace declaration must be added.
* XmlWriter.cs: the namespace for the prefix xmlns must be http://www.w3.org/2000/xmlns/

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

21 years agoTue Jun 10 19:00:31 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Jun 2003 17:09:45 +0000 (17:09 -0000)]
Tue Jun 10 19:00:31 CEST 2003 Paolo Molaro <lupus@ximian.com>

* tramp-x86.c, tramp-ppc.c, debug-mini.c: move arch-specific code
to arch-specific files.

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

21 years ago2003-06-10 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 10 Jun 2003 17:02:25 +0000 (17:02 -0000)]
2003-06-10  Dick Porter  <dick@ximian.com>

* acconfig.h:
* configure.in: Check for struct ip_mreq if struct ip_mreqn isn't
available.

2003-06-10  Dick Porter  <dick@ximian.com>

* socket-io.c: Don't assume that one of struct ip_mreqn or struct
ip_mreq is available

2003-06-10  Dick Porter  <dick@ximian.com>

* atomic.c: Delete the useless compile warning

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

21 years ago2003-06-11 Nick Drochak <ndrochak@gol.cm>
Nick Drochak [Tue, 10 Jun 2003 16:44:00 +0000 (16:44 -0000)]
2003-06-11  Nick Drochak <ndrochak@gol.cm>

* Added Paolo's comments about CVS commits and changing code.
Also reorganized it a bit. Hopefully this is a more logical ordering.

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

21 years ago * Conrols.cs : Disposing property, Dispose method
Aleksey Ryabchuk [Tue, 10 Jun 2003 16:17:41 +0000 (16:17 -0000)]
* Conrols.cs : Disposing property, Dispose method
* Cursor.cs  : Show, Hide, Copy cursor
* NativeWindow.cs : destructor

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

21 years agoTue Jun 10 17:35:03 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Jun 2003 15:45:18 +0000 (15:45 -0000)]
Tue Jun 10 17:35:03 CEST 2003 Paolo Molaro <lupus@ximian.com>

* debug-mono-symfile.c, marshal.c, metadata.c, monitor.c,
mono-debug-debugger.c, mono-debug.c, process.c: portability fixes
by Bernie Solomon <bernard@ugsolutions.com>.

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

21 years agoRemoved the debugger download link from Mono 0.24 since that debugger version doesn...
Martin Baulig [Tue, 10 Jun 2003 14:59:15 +0000 (14:59 -0000)]
Removed the debugger download link from Mono 0.24 since that debugger version doesn't work with Mono 0.24.

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

21 years ago2003-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 Jun 2003 13:06:09 +0000 (13:06 -0000)]
2003-06-10  Zoltan Varga  <vargaz@freemail.hu>

* gc.c (mono_gc_init): Avoid error message on shutdown when
GC_DONT_GC=1 is used.

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

21 years agoBuild fix
Dick Porter [Tue, 10 Jun 2003 12:02:06 +0000 (12:02 -0000)]
Build fix

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

21 years ago2003-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 Jun 2003 09:57:22 +0000 (09:57 -0000)]
2003-06-10  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Reflection_Module_GetGuidInternal):
New icall to return the GUID of a module.

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

21 years ago2003-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 Jun 2003 09:55:48 +0000 (09:55 -0000)]
2003-06-10  Zoltan Varga  <vargaz@freemail.hu>

* Module.cs (Mono_GetGuid): New method to return the GUID of the
module.

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

21 years ago2003-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 Jun 2003 09:52:57 +0000 (09:52 -0000)]
2003-06-10  Zoltan Varga  <vargaz@freemail.hu>

* XmlDocumentTests.cs: New test for null prefix and namespaceURI in
CreateAttribute.

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

21 years ago2003-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 Jun 2003 09:51:09 +0000 (09:51 -0000)]
2003-06-10  Zoltan Varga  <vargaz@freemail.hu>

* MonoSymbolFile.cs: Fix off-by-one error.

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

21 years ago2003-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 Jun 2003 09:49:55 +0000 (09:49 -0000)]
2003-06-10  Zoltan Varga  <vargaz@freemail.hu>

* XmlAttribute.cs: Accept a null prefix or namespaceURI.

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

21 years ago2003-06-10 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Tue, 10 Jun 2003 09:49:41 +0000 (09:49 -0000)]
2003-06-10  Ville Palo <vi64pa@kolumbus.fi>

* DateTimeTest.cs: more tests.

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

21 years ago2003-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 Jun 2003 09:46:36 +0000 (09:46 -0000)]
2003-06-10  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Define HAVE_GC_GCJ_MALLOC for included libgc.

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

21 years ago2003-06-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 Jun 2003 09:22:25 +0000 (09:22 -0000)]
2003-06-10  Martin Baulig  <martin@ximian.com>

* configure.in: Fall back to boehm if we don't have a libgc
subdirectory.

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

21 years ago2003-06-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 Jun 2003 08:36:20 +0000 (08:36 -0000)]
2003-06-10  Martin Baulig  <martin@ximian.com>

* configure.in: Make the libgc stuff actually work; we now create
a shared libmonogc.so when using the included libgc.

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

21 years ago2003-06-10 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 10 Jun 2003 06:07:01 +0000 (06:07 -0000)]
2003-06-10  Duncan Mak  <duncan@ximian.com>

* XmlDocumentNavigator.cs (GetNode): Make it implement
IHasXmlNode.

        Hopefully I fixed the space/tab thing. Let's just all use
        spaces, it's just easier....

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

21 years ago2003-06-10 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 10 Jun 2003 04:05:11 +0000 (04:05 -0000)]
2003-06-10  Nick Drochak <ndrochak@gol.com>

* StackFrameTest.cs: More cleanups.  Now *all* tests pass.

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

21 years ago2003-06-10 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 10 Jun 2003 03:47:57 +0000 (03:47 -0000)]
2003-06-10  Nick Drochak <ndrochak@gol.com>

* StactFrameTest.cs: Cleanups.  Now tests pass.

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

21 years ago2003-06-09 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 10 Jun 2003 03:09:31 +0000 (03:09 -0000)]
2003-06-09  Duncan Mak  <duncan@ximian.com>

* ArrayTest.cs:
(TestCreateInstance2):
(TestLastIndexOf4):
(TestLastIndexOf5):
(MoreSort10): Added 4 new tests.

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

21 years agoReally fix partial reads.
Gonzalo Paniagua Javier [Tue, 10 Jun 2003 02:48:11 +0000 (02:48 -0000)]
Really fix partial reads.

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

21 years ago2003-06-10 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 10 Jun 2003 02:44:07 +0000 (02:44 -0000)]
2003-06-10  Nick Drochak <ndrochak@gol.com>

* ArrayTest.cs: Cleanup some unused bits.

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

21 years ago2003-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 10 Jun 2003 01:08:18 +0000 (01:08 -0000)]
2003-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnectionStream.cs: when the read is partially filled from the
initial buffer, add those bytes too. Thanks to Lluis for debugging this.

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

21 years ago2003-06-09 Sebastien Pouliot <spouliot@motus.com>
Sebastien Pouliot [Tue, 10 Jun 2003 00:47:37 +0000 (00:47 -0000)]
2003-06-09  Sebastien Pouliot <spouliot@motus.com>

* CryptoConfig.cs: Now support OID in machine.config.
* DSACryptoServiceProvider.cs: Changed USE_VERSION_1_0 for NET_1_0.
* KeySizes.cs: Changed USE_VERSION_1_0 for NET_1_0.
* MD5CryptoServiceProvider.cs: Changed USE_VERSION_1_0 for NET_1_0.
* RNGCryptoServiceProvider.cs: Changed USE_VERSION_

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

21 years agoDisable libgc here, too.
Paolo Molaro [Mon, 9 Jun 2003 21:53:19 +0000 (21:53 -0000)]
Disable libgc here, too.

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

21 years agoDisable included libgc completely untils it's fixed.
Paolo Molaro [Mon, 9 Jun 2003 21:42:26 +0000 (21:42 -0000)]
Disable included libgc completely untils it's fixed.

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

21 years ago2003-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 Jun 2003 19:59:08 +0000 (19:59 -0000)]
2003-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: added ExpectContinue property.
* WebConnection.cs: allow 100 Continue to be delayed after waiting for
it.

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

21 years agoMon Jun 9 20:21:47 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Jun 2003 18:30:48 +0000 (18:30 -0000)]
Mon Jun 9 20:21:47 CEST 2003 Paolo Molaro <lupus@ximian.com>

* cpu-pentium.md, mini-x86.c: fix (well, actually implement) OP_TAN
and OP_ATAN (fixes bug#44293).

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

21 years agoSmall updates.
Paolo Molaro [Mon, 9 Jun 2003 18:28:54 +0000 (18:28 -0000)]
Small updates.

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

21 years agoAdded webRequesModules configuration. Thanks to Lluis for pointing this out
Gonzalo Paniagua Javier [Mon, 9 Jun 2003 18:10:18 +0000 (18:10 -0000)]
Added webRequesModules configuration. Thanks to Lluis for pointing this out

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

21 years agoMon Jun 9 19:33:51 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Jun 2003 17:43:50 +0000 (17:43 -0000)]
Mon Jun 9 19:33:51 CEST 2003 Paolo Molaro <lupus@ximian.com>

* class.c: ensure instance size always includes the parent's size
even whem class size is set explicitly (fixes bug#44294).

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

21 years agoMon Jun 9 19:00:56 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 Jun 2003 17:10:48 +0000 (17:10 -0000)]
Mon Jun 9 19:00:56 CEST 2003 Paolo Molaro <lupus@ximian.com>

* Makefile.am, mini-x86.c: rename cpu description array to
pentium_desc, since some compilers define the 'pentium' preprocessor
symbol.

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

21 years ago2003-06-09 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 9 Jun 2003 17:01:42 +0000 (17:01 -0000)]
2003-06-09  Dick Porter  <dick@ximian.com>

* daemon.c: Lookup env as a string array.  Fixes bug 44289.  Also
make setting the process handle value in the environment actually
work.

* processes.c: Pretty up the process name, if it happens to be
"mono" such as when another mono process forks "mono foo.exe"

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

21 years ago * Control.cs : Cursor property, handle WM_SETCURSOR
Aleksey Ryabchuk [Mon, 9 Jun 2003 16:22:45 +0000 (16:22 -0000)]
* Control.cs : Cursor property, handle WM_SETCURSOR
* Cursor.cs : started implementation
* Cursors.cs : load system cursor types
* win32functions.cs : DestroyCursor function

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

21 years agoGo back to the external libgc until this is properly tested.
Paolo Molaro [Mon, 9 Jun 2003 14:50:31 +0000 (14:50 -0000)]
Go back to the external libgc until this is properly tested.

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

21 years agoSmall touch ups
Miguel de Icaza [Mon, 9 Jun 2003 13:50:36 +0000 (13:50 -0000)]
Small touch ups

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

21 years agofixed typo, implementation added
Aleksey Ryabchuk [Mon, 9 Jun 2003 13:34:53 +0000 (13:34 -0000)]
fixed typo, implementation added

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

21 years agojit/Makefile is no more.
Paolo Molaro [Mon, 9 Jun 2003 13:00:26 +0000 (13:00 -0000)]
jit/Makefile is no more.

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

21 years ago2003-06-09 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Mon, 9 Jun 2003 10:03:25 +0000 (10:03 -0000)]
2003-06-09  Ville Palo <vi64pa@kolumbus.fi>

* FileStream.cs:
- removed unusefull bugfix (DirectoryNotFoundException)
- Flush before seek.

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

21 years agofixed issues breaking the build
Aleksey Ryabchuk [Mon, 9 Jun 2003 09:21:08 +0000 (09:21 -0000)]
fixed issues breaking the build

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

21 years ago2003-06-09 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Mon, 9 Jun 2003 08:50:20 +0000 (08:50 -0000)]
2003-06-09  Ville Palo <vi64pa@kolumbus.fi>

* FileStream.cs: Check buffer size before append/read -exceptios

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

21 years ago2003-06-09 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Mon, 9 Jun 2003 08:02:51 +0000 (08:02 -0000)]
2003-06-09  Ville Palo <vi64pa@kolumbus.fi>

* FileStream.cs: Check DirectoryNotFound before FileNotFound.

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

21 years ago2003-06-09 Dennis Hayes <dennish@raytek.com>
Dennis Hayes [Mon, 9 Jun 2003 07:38:51 +0000 (07:38 -0000)]
2003-06-09 Dennis Hayes <dennish@raytek.com>
for Gopal V <gopalv82@symonds.net>
* MonthCalendar.cs
* AxHost.cs
Fixed overrides

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

21 years agoAdded SymbolTable and IdentificationTable
César Natarén [Mon, 9 Jun 2003 07:29:50 +0000 (07:29 -0000)]
Added SymbolTable and IdentificationTable

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

21 years agoAdded Semantic Analyzer stub
César Natarén [Mon, 9 Jun 2003 07:22:11 +0000 (07:22 -0000)]
Added Semantic Analyzer stub

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

21 years agoAdded some new files to unix.args (see ChangeLog entry)
César Natarén [Mon, 9 Jun 2003 07:02:40 +0000 (07:02 -0000)]
Added some new files to unix.args (see ChangeLog entry)

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

21 years ago2003-06-09 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Mon, 9 Jun 2003 06:48:35 +0000 (06:48 -0000)]
2003-06-09  Ville Palo <vi64pa@kolumbus.fi>

* FileStream.cs: Does not anymore flush while writing

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

21 years agoAdded FormalParameterList class
César Natarén [Mon, 9 Jun 2003 06:43:23 +0000 (06:43 -0000)]
Added FormalParameterList class

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

21 years agoAdded VariableStatement class
César Natarén [Mon, 9 Jun 2003 06:41:01 +0000 (06:41 -0000)]
Added VariableStatement class

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

21 years agoAdded Statement class (logical representation of an Ecmascript statement
César Natarén [Mon, 9 Jun 2003 06:39:09 +0000 (06:39 -0000)]
Added Statement class (logical representation of an Ecmascript statement

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

21 years ago2003-06-09 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 9 Jun 2003 06:37:54 +0000 (06:37 -0000)]
2003-06-09  Duncan Mak  <duncan@ximian.com>

* Array.cs: Revert the last revert. I fixed it.

Here's a lesson: only commit the patches that you're absolutely
sure about. See, I committed 3 changes below, the Sort change
being the last one, and I was the least confident with it. But I
committed them all anyway. Big mistake.

So here we go again:

(Sort): Put a try-catch block around qsort, and wrap whatever
Exception we get into a InvalidOperationException.

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

21 years agoAdded VariableDeclaration AST representation
César Natarén [Mon, 9 Jun 2003 06:35:19 +0000 (06:35 -0000)]
Added VariableDeclaration AST representation

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

21 years agoAdded Visitor interface
César Natarén [Mon, 9 Jun 2003 06:32:36 +0000 (06:32 -0000)]
Added Visitor interface

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

21 years agoreflect changes on grammar file
César Natarén [Mon, 9 Jun 2003 06:26:57 +0000 (06:26 -0000)]
reflect changes on grammar file

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

21 years agoAdded some instructions to build the AST of a program (for testing).
César Natarén [Mon, 9 Jun 2003 06:25:58 +0000 (06:25 -0000)]
Added some instructions to build the AST of a program (for testing).

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

21 years agoAdded AST support for program, source_element, statement, variable_statement, variabl...
César Natarén [Mon, 9 Jun 2003 06:19:42 +0000 (06:19 -0000)]
Added AST support for program, source_element, statement, variable_statement, variable_declaration (and dependencies), function_declaration (and dependencies)

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

21 years agoAdded abstract Visit method, for Semantic Analysis
César Natarén [Mon, 9 Jun 2003 06:16:16 +0000 (06:16 -0000)]
Added abstract Visit method, for Semantic Analysis

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

21 years agoAdded Visit method, for Semantic Analysis
César Natarén [Mon, 9 Jun 2003 06:13:59 +0000 (06:13 -0000)]
Added Visit method, for Semantic Analysis

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

21 years agoheader style correction
César Natarén [Mon, 9 Jun 2003 06:08:04 +0000 (06:08 -0000)]
header style correction

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

21 years agoadded Visit method for Semantic Analysis
César Natarén [Mon, 9 Jun 2003 06:06:45 +0000 (06:06 -0000)]
added Visit method for Semantic Analysis

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

21 years agoadded initial support for Semantic Analysis
César Natarén [Mon, 9 Jun 2003 06:03:45 +0000 (06:03 -0000)]
added initial support for Semantic Analysis

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

21 years agoadded initial support for Semantic Analysis
César Natarén [Mon, 9 Jun 2003 05:45:10 +0000 (05:45 -0000)]
added initial support for Semantic Analysis

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

21 years ago * EventDef.cs: Only add one method for addon, fire, other, and
Jackson Harper [Mon, 9 Jun 2003 02:58:45 +0000 (02:58 -0000)]
    * EventDef.cs: Only add one method for addon, fire, other, and
removeon

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

21 years ago * Array.cs: Revert last patch, it broke some other functionality.
Jackson Harper [Mon, 9 Jun 2003 02:07:52 +0000 (02:07 -0000)]
    * Array.cs: Revert last patch, it broke some other functionality.

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

21 years ago * AssemblyInfo.cs: Bump version number up (way up) lots of
Jackson Harper [Mon, 9 Jun 2003 01:28:59 +0000 (01:28 -0000)]
    * AssemblyInfo.cs: Bump version number up (way up) lots of
features have been implemented since last version.

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

21 years agoAnother test.
Jackson Harper [Mon, 9 Jun 2003 01:26:11 +0000 (01:26 -0000)]
Another test.

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

21 years ago * ILParser.jay: Implement properties
Jackson Harper [Mon, 9 Jun 2003 01:25:21 +0000 (01:25 -0000)]
    * ILParser.jay: Implement properties

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

21 years agoAdd property def to build
Jackson Harper [Mon, 9 Jun 2003 01:23:45 +0000 (01:23 -0000)]
Add property def to build

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

21 years ago * TypeDef.cs: Add properties to types.
Jackson Harper [Mon, 9 Jun 2003 01:23:12 +0000 (01:23 -0000)]
* TypeDef.cs: Add properties to types.
* PropertyDef.cs: New file - Implementation of a type property feature

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

21 years ago2003-06-08 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 9 Jun 2003 01:13:29 +0000 (01:13 -0000)]
2003-06-08  Duncan Mak  <duncan@ximian.com>

* Array.cs: Throw more exceptions. This fixes the errors we see
from the Rotor testsuite.

(CreateInstance): Throw ArgumentNullException when the input are
null. Throw ArgumentOutOfRangeException when bounds + length is
greater than Int32.MaxValue.
(LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
the valid range of indices of array.
(Sort): Throw InvalidOperationException when comparer is null and
none of the elements in keys implements IComparable.

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

21 years agoOops, wrong format.
Ben Maurer [Mon, 9 Jun 2003 00:43:28 +0000 (00:43 -0000)]
Oops, wrong format.

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

21 years ago2003-06-08 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 9 Jun 2003 00:41:39 +0000 (00:41 -0000)]
2003-06-08  Ben Maurer <bmaurer@users.sourceforge.net>
* StringCollection.cs: Rewrote. Now uses ArrayList. Fixes up quite
a few Rotor bugs.
* ArrayList.cs, Hashtable.cs, SortedList.cs: Enumerator fixes, error
checking
We are now passing 37% of the System.Collections.* tests that were failing!

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

21 years ago * TypeDef.cs: Fix silly null reference bug.
Jackson Harper [Sun, 8 Jun 2003 23:32:35 +0000 (23:32 -0000)]
* TypeDef.cs: Fix silly null reference bug.

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

21 years agoMore tests
Jackson Harper [Sun, 8 Jun 2003 23:25:34 +0000 (23:25 -0000)]
More tests

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

21 years ago * ILParser.jay: Add generic type parameters to types. Implement events.
Jackson Harper [Sun, 8 Jun 2003 23:23:57 +0000 (23:23 -0000)]
    * ILParser.jay: Add generic type parameters to types. Implement events.

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

21 years agoAdd eventdefs and feature attrs to build
Jackson Harper [Sun, 8 Jun 2003 23:23:13 +0000 (23:23 -0000)]
Add eventdefs and feature attrs to build

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

21 years ago * EventDef.cs: New file - An event definition.
Jackson Harper [Sun, 8 Jun 2003 23:22:26 +0000 (23:22 -0000)]
* EventDef.cs: New file - An event definition.
* FeatureAttr.cs: New file - Attributes for features (events and
properties)
* MethodRef.cs: Only resolve methods once.
* TypeDef.cs: Allow Events to be added to types. Also add
functionality to add generic type parameters to types. The
actually emission of these type parameters is commented out untill
I commit my patches to PEAPI and work out the syntax of constraints.

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

21 years agoOoops, this was wrong since we already include libgc.la in libmonoutils.la.
Martin Baulig [Sun, 8 Jun 2003 20:26:50 +0000 (20:26 -0000)]
Ooops, this was wrong since we already include libgc.la in libmonoutils.la.

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

21 years ago2003-06-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 8 Jun 2003 20:10:01 +0000 (20:10 -0000)]
2003-06-08  Martin Baulig  <martin@ximian.com>

* configure.in: Tell libgc's configure about our threads library.

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

21 years ago2003-06-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 8 Jun 2003 19:54:30 +0000 (19:54 -0000)]
2003-06-08  Martin Baulig  <martin@ximian.com>

* libgc/: Integrate the libgc module here.

[Note: A simple `cvs update' won't work this time; you either need
to re-checkout the `mono' module or manually move the `libgc'
module here.]

* configure.in (--with-gc): Added `included' option to use the
included libgc.  This is now also the default.
(LIBGC_CFLAGS, LIBGC_LIBS): Put the libgc stuff here and AC_SUBST it.
(INCLUDED_LIBGC): New automake conditional.
(USE_INCLUDED_LIBGC): #define this if appropriate.

* autogen.sh: Run libgc/autogen.sh.

* Makefile.am (SUBDIRS): Added libgc.

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

21 years ago(CreateInstance): Throw a TypeLoadException if the
Duncan Mak [Sun, 8 Jun 2003 19:25:55 +0000 (19:25 -0000)]
(CreateInstance): Throw a TypeLoadException if the
Length of the input array 'lengths' is greater than 255 so that we
won't see the g_assert that is in mono_array_class_get in class.c.

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

21 years ago2003-06-08 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Sun, 8 Jun 2003 15:59:52 +0000 (15:59 -0000)]
2003-06-08  Ville Palo <vi64pa@kolumbus.fi>

* BinaryWriterTest.cs:
* BinaryReaderTest.cs:
* DirectoryTest.cs:
* FileTest.cs: now works with ms.net, clean ups, nunit2, ...

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

21 years agoThis compiled ok with mcs. Preparing bugreport.
Gonzalo Paniagua Javier [Sun, 8 Jun 2003 13:53:02 +0000 (13:53 -0000)]
This compiled ok with mcs. Preparing bugreport.

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

21 years ago2003-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 8 Jun 2003 13:47:28 +0000 (13:47 -0000)]
2003-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: don't send "Expect: 100-continue" is the server
is known not to respond to that.

* ServicePoint.cs: added SendContinue property.

* WebConnection.cs: only wait 2 seconds for a continue reply. If it
timeouts, set SendContinue to false and proceeed sending data.

* WebConnectionStream.cs: if 100-continue is not received and instead we
get a 417 or anything else, don't send the data.

* WebClient.cs: implemented all missing properties and methods except
UploadFile.

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

21 years ago2003-06-07 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 7 Jun 2003 18:55:38 +0000 (18:55 -0000)]
2003-06-07  Ben Maurer <bmaurer@users.sourceforge.net>
* Stack.cs: Contains (null) works correctly. We never have the
array sized less than 16, so that the doubling logic works no
matter what. The enumerator is IClonable, like in ms. The
Enumerator correctly throws an exception if Current is called
before the enumerator is started. We now pass all the Rotor tests
for this file!

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