mono.git
20 years agochanged targets to proper dir
César Natarén [Wed, 24 Sep 2003 23:29:36 +0000 (23:29 -0000)]
changed targets to proper dir

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

20 years agodeleted VsaEngine
César Natarén [Wed, 24 Sep 2003 23:25:26 +0000 (23:25 -0000)]
deleted VsaEngine

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

20 years agoparen matching
Ben Maurer [Wed, 24 Sep 2003 23:23:52 +0000 (23:23 -0000)]
paren matching

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

20 years agofix up //
Ben Maurer [Wed, 24 Sep 2003 23:13:30 +0000 (23:13 -0000)]
fix up //

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

20 years ago2003-09-24 <cesar@ciencias.unam.mx>
César Natarén [Wed, 24 Sep 2003 23:10:32 +0000 (23:10 -0000)]
2003-09-24    <cesar@ciencias.unam.mx>

* Microsoft.JScript/: Deleted VsaEngine.cs and BaseVsaEngine.cs

* Microsoft.JScript.dll.sources: Changed the namespaces for VsaEngine and BaseVsaEngine.

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

20 years ago*** empty log message ***
César Natarén [Wed, 24 Sep 2003 23:03:26 +0000 (23:03 -0000)]
*** empty log message ***

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

20 years ago2003-09-24 <cesar@ciencias.unam.mx>
César Natarén [Wed, 24 Sep 2003 22:56:16 +0000 (22:56 -0000)]
2003-09-24    <cesar@ciencias.unam.mx>

* Microsoft.Vsa: Added VsaException.
* Microsoft.Vsa.dll.sources: Added VsaException to the build.
* Microsoft.Vsa/VsaError.cs: set the values for the enums.

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

20 years agoadded new Exception, VsaException
César Natarén [Wed, 24 Sep 2003 22:50:54 +0000 (22:50 -0000)]
added new Exception, VsaException

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

20 years agonow it's on the proper namespace dir
César Natarén [Wed, 24 Sep 2003 22:45:01 +0000 (22:45 -0000)]
now it's on the proper namespace dir

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

20 years agonow it's on the proper namespace, as always had to be
César Natarén [Wed, 24 Sep 2003 22:41:52 +0000 (22:41 -0000)]
now it's on the proper namespace, as always had to be

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

20 years agoFix double Locale.GetText bug reported by davejp@volny.cz. This fixes
Duncan Mak [Wed, 24 Sep 2003 13:55:42 +0000 (13:55 -0000)]
Fix double Locale.GetText bug reported by davejp@volny.cz. This fixes
#48788.

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

20 years ago2003-09-23 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 23 Sep 2003 15:16:15 +0000 (15:16 -0000)]
2003-09-23  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlNamespaceManager.cs: Rewrote PopScope() because its namespace
  recovery was still not enough. Fixed GrowScopes() (incorrect index).

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

20 years agoTue Sep 23 10:50:27 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 23 Sep 2003 09:01:14 +0000 (09:01 -0000)]
Tue Sep 23 10:50:27 CEST 2003 Paolo Molaro <lupus@ximian.com>

* inssel.brg: string chars are unsigned.

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

20 years ago2003-9-22 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 23 Sep 2003 06:09:27 +0000 (06:09 -0000)]
2003-9-22  Bernie Solomon  <bernard@ugsolutions.com>

* interp.c: use mono_marshal_get_delegate_invoke to get delegate
invocation order consistent. Fix THROW_EX, fix ip in overflow
exceptions.

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

20 years ago2003-09-22 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 23 Sep 2003 05:30:02 +0000 (05:30 -0000)]
2003-09-22  Bernie Solomon <bernard@ugsolutions.com>

* handles.c: include <string.h> directly as may
not be nested in <sys/un.h> like Linux

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

20 years ago2003-09-21 eran <erand@mainsoft.com>
Miguel de Icaza [Mon, 22 Sep 2003 13:04:21 +0000 (13:04 -0000)]
2003-09-21  eran <erand@mainsoft.com>

* DbDataRecord.cs: The method
System.Data.Common.DbDataRecord.GetValues(object[] values) did not
put the values of the DbDataRecord into values parameter.

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

20 years agoDrop XR from the build; Add ICloneable/IDisposable; Add a few missing methods;
Miguel de Icaza [Mon, 22 Sep 2003 13:03:28 +0000 (13:03 -0000)]
Drop XR from the build;  Add ICloneable/IDisposable;  Add a few missing methods;
Document Factories static constructor

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

20 years ago2003-09-22 <cesar@ciencias.unam.mx>
César Natarén [Mon, 22 Sep 2003 08:21:10 +0000 (08:21 -0000)]
2003-09-22    <cesar@ciencias.unam.mx>

* DocumentContext.cs: changed constructor from internal to public,
this a kind of hack ;), but we can build mjs.exe with that change.

* driver.cs, ast.cs, VsaEngine.cs, VariableStatement.cs,
VariableDeclaration.cs, VBArrayConstructor.cs, StringObject.cs,
StringLiteral.cs, StringConstructor.cs, Statement.cs,
ScriptStream.cs, ScriptObject.cs, ScriptFunction.cs,
ScriptBlock.cs, RegExpObject.cs, RegExpConstructor.cs, Print.cs,
Package.cs, ObjectConstructor.cs, NumberObject.cs,
NumberConstructor.cs, MathObject.cs, Literal.cs,
LenientGlobalObject.cs, JSVariableField.cs, JSToken.cs,
JSScanner.cs, JSParser.cs, JSObject.cs, JSLocalField.cs,
JSFunctionAttributeEnum.cs, JSFunctionAttibute.cs, JSField.cs,
JSBuiltIn.cs, IVsaScriptScope.cs, IRedirectOutput.cs,
IActivationObject.cs, GlobalScope.cs, GlobalObject.cs,
FunctionObject.cs, FunctionExpression.cs, FunctionDeclaration.cs,
FunctionConstructor.cs, FormalParameterList.cs, ErrorObject.cs,
ErrorConstructor.cs, EnumeratorObject.cs,
EnumeratorConstructor.cs, Enum.cs, Empty.cs, DocumentContext.cs,
DateObject.cs, DateConstructor.cs, Context.cs, Closure.cs,
BooleanObject.cs, BooleanConstructor.cs, Block.cs, BinaryOp.cs,
BaseVsaEngine.cs, ArrayObject.cs, ArrayConstructor.cs,
ActiveXObjectConstructor.cs, ActivationObject.cs:

indentation comformance to mono style. Returned to
Microsoft.JScript namespace name. Now we can build
Microsoft.JScript.dll on Linux/Windows, and build mjs.exe on
linux/Windows with our Microsoft.JScript.dll. To build mjs.exe:
$(CSC) /r:Microsoft.JScript.dll  driver.cs. Also changed my mind
about the namespace stuff, because I want people
to contribute NUnit tests for Microsoft.JScript public API.

* jscript-lexer-parser.g: Now we are back to Microsoft.JScript namespace.

2003-09-21    <cesar@ciencias.unam.mx>

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

20 years ago2003-09-21 <cesar@ciencias.unam.mx>
César Natarén [Mon, 22 Sep 2003 04:11:45 +0000 (04:11 -0000)]
2003-09-21    <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: fixed typo and added SEMI_COLON to print_statement.

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

20 years ago * ILParser.jay: Define data
Jackson Harper [Mon, 22 Sep 2003 03:08:45 +0000 (03:08 -0000)]
    * ILParser.jay: Define data

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

20 years ago * CodeGen.cs: Add methods for adding data. CodeGen now takes a
Jackson Harper [Mon, 22 Sep 2003 03:07:55 +0000 (03:07 -0000)]
    * CodeGen.cs: Add methods for adding data. CodeGen now takes a
report object for giving users errors/warnings/info.
* FieldDef.cs: When a data constant is assigned to a field the
constant might not exist yet. So just take the constants name and
look it up when writting code.
* Local.cs: Starting to add some error handling. Still playing
with diff ways to do this.
* MethodDef.cs: Add some error handling for local var lookups
* TypeDef.cs: Data is allways global so it should never be added
to a class
* TypeRef.cs: Error message for lookups.

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

20 years ago * Driver.cs: Give codegen a report object
Jackson Harper [Mon, 22 Sep 2003 03:06:49 +0000 (03:06 -0000)]
    * Driver.cs: Give codegen a report object
* Report.cs: Remove silly methods that wouldnt have worked. Errors
are just string messages.

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

20 years agoNew tests for .data
Jackson Harper [Mon, 22 Sep 2003 02:52:13 +0000 (02:52 -0000)]
New tests for .data

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

20 years ago2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 22 Sep 2003 00:57:18 +0000 (00:57 -0000)]
2003-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* io.c:
(DeleteFile): call SetLastError on failure. Fix by
richard.torkar@htu.se (Richard Torkar). Closes bug #48222.

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

20 years ago2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 22 Sep 2003 00:40:11 +0000 (00:40 -0000)]
2003-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspGenerator.cs: don't process code render tags inside scripts. Check
the language of the script and treat javascript as verbatim input.
Fixes bug #48592.

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

20 years ago2003-09-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 22 Sep 2003 00:10:14 +0000 (00:10 -0000)]
2003-09-22  Martin Baulig  <martin@ximian.com>

* errors.txt: Added -219.

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

20 years ago2003-09-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 22 Sep 2003 00:07:07 +0000 (00:07 -0000)]
2003-09-22  Martin Baulig  <martin@ximian.com>

* generic.cs (ConstructedType.ResolveAsTypeCheck): Check whether
all type arguments meet their constraints.

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

20 years ago2003-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 21 Sep 2003 23:53:29 +0000 (23:53 -0000)]
2003-09-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Page.cs: store unique IDs for controls requiring postback. Fixes bug
#47985.

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

20 years ago * PEAPI.cs: sigh, sometimes it is best to calculate variables
Jackson Harper [Sun, 21 Sep 2003 22:28:32 +0000 (22:28 -0000)]
    * PEAPI.cs: sigh, sometimes it is best to calculate variables
before using them. This fixes PEAPI creating broken images when
the sdata section is used.

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

20 years agoso *this* is why c# has definate assignment@
Ben Maurer [Sun, 21 Sep 2003 20:02:17 +0000 (20:02 -0000)]
so *this* is why c# has definate assignment@

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

20 years agomaking optimizatons in preperation for Jackson's jay patch
Ben Maurer [Sun, 21 Sep 2003 19:22:37 +0000 (19:22 -0000)]
making optimizatons in preperation for Jackson's jay patch

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

20 years agoFontDialog sample added
Alexandre Pigolkine [Sun, 21 Sep 2003 17:13:05 +0000 (17:13 -0000)]
FontDialog sample added

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

20 years agosmall fix to FontDialog.cs
Alexandre Pigolkine [Sun, 21 Sep 2003 17:09:27 +0000 (17:09 -0000)]
small fix to FontDialog.cs

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

20 years ago2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 21 Sep 2003 15:49:51 +0000 (15:49 -0000)]
2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.

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

20 years ago2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 21 Sep 2003 15:39:01 +0000 (15:39 -0000)]
2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
bug #48671.

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

20 years agoFlush
Miguel de Icaza [Sun, 21 Sep 2003 15:31:36 +0000 (15:31 -0000)]
Flush

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

20 years ago2003-09-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 21 Sep 2003 08:13:02 +0000 (08:13 -0000)]
2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlTextReaderTests.cs : Oops, it was CRLF injected ;-)

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

20 years ago2003-09-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 21 Sep 2003 08:11:05 +0000 (08:11 -0000)]
2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlReaderCommonTests.cs : Added ProhibitedMultipleAttributes().
  Fixed ReadAttributeValue(). Now I think it is MS.NET XmlTextReader
  which is rather buggy than their XmlNodeReader.
* XmlTextReaderTests.cs : Added IfNamespacesThenProhibitedAttributes()
  and trivial messagefix.

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

20 years ago2003-09-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 21 Sep 2003 08:05:31 +0000 (08:05 -0000)]
2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlTextReader.cs :
  - Fix for bugzilla #48337 (containing Ben's advice on that).
  - Added internal XmlTokenInfo classes. Nodes are now handled as token
    objects (linked node, attributes and attribute values). Most of the
    node state properties and iterating methods are changed to refer to
    the token classes (except for value builder availability). Removed
    fields which are never used. CompileDTDSubset() is changed in
    reflection to nodeType field removal.
  - Fixed Depth that should vary in moving between attributes and/or
    reading attribute values.
  - LineNumber and LinePosition now returns more correct location.
  - Fixed Value that should still return true if its value is an empty
    attribute value string.
  - EntityValue is checked WFC constraints even thoug it is not used.
  - All .ctor() now initializes ReadState as Initial.
  - Read() should be available for attribute value constructor.
* XmlAttribute.cs : set_InnerXml() now calls reader's Read().

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

20 years ago2003-09-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 21 Sep 2003 07:17:05 +0000 (07:17 -0000)]
2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlNamespaceManager.cs: PopScope() must retain those namespaces which
  are added in the scope before PushScope() was called.

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

20 years ago2003-09-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 21 Sep 2003 07:14:14 +0000 (07:14 -0000)]
2003-09-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlNamespaceManagerTests.cs : Added PopScopeMustKeepAddedInScope().

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

20 years ago2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 21 Sep 2003 03:37:27 +0000 (03:37 -0000)]
2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpRequest.cs: small fix needed when reading big POST
data.
* System.Web.Compilation/CachingCompiler.cs: nothing interesting.
* System.Web.UI/SimpleWebHandlerParser.cs: add the ashx/asmx file
itself to the dependencies so that it's recompiled when changed.

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

20 years ago2003-09-20 <cesar@ciencias.unam.mx>
César Natarén [Sun, 21 Sep 2003 03:31:56 +0000 (03:31 -0000)]
2003-09-20    <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: We are little bit closer to the spec on
StringLiteral definition.

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

20 years agocheckin for Herv Poussineau <poussine@freesurf.fr>.
Alexandre Pigolkine [Sun, 21 Sep 2003 02:13:45 +0000 (02:13 -0000)]
checkin for Herv Poussineau <poussine@freesurf.fr>.

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

20 years ago2003-09-20 <cesar@ciencias.unam.mx>
César Natarén [Sun, 21 Sep 2003 02:06:27 +0000 (02:06 -0000)]
2003-09-20    <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: One line patch, the beauty of tests :-)

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

20 years agoswitch to Unix line terminators
Alexandre Pigolkine [Sun, 21 Sep 2003 01:55:41 +0000 (01:55 -0000)]
switch to Unix line terminators

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

20 years ago2 files removed
Alexandre Pigolkine [Sun, 21 Sep 2003 01:45:49 +0000 (01:45 -0000)]
2 files removed

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

20 years ago2 files removed from Printing namespace
Alexandre Pigolkine [Sun, 21 Sep 2003 01:45:20 +0000 (01:45 -0000)]
2 files removed from Printing namespace

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

20 years agocheckin for Jordi Mas i Hernndez <jmas@softcatala.org> : Initial FileDialog Box imple...
Alexandre Pigolkine [Sun, 21 Sep 2003 01:32:14 +0000 (01:32 -0000)]
checkin for Jordi Mas i Hernndez <jmas@softcatala.org> : Initial FileDialog Box implementation

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

20 years ago2003-09-20 <cesar@ciencias.unam.mx>
César Natarén [Sun, 21 Sep 2003 00:44:08 +0000 (00:44 -0000)]
2003-09-20    <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: Build ast for FunctionExpression.

* JSObject.cs: we don't throw NotImplementedException anymore,
this let us use FunctionExpression to build the ast.

* FunctionExpression.cs: Added a FunctionObject as field, a
default constructor.

* FunctionObject.cs: Added default constructor.

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

20 years ago * TypeDef.cs: Rework so multiple constraints can be added to a
Jackson Harper [Sun, 21 Sep 2003 00:17:16 +0000 (00:17 -0000)]
    * TypeDef.cs: Rework so multiple constraints can be added to a
generic parameter.

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

20 years ago * PEAPI.cs: Rework to allow multiple constraints to be added to a
Jackson Harper [Sun, 21 Sep 2003 00:15:15 +0000 (00:15 -0000)]
    * PEAPI.cs: Rework to allow multiple constraints to be added to a
single generic parameter.

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

20 years agodl to diacanvas should be else where
Martin Willemoes Hansen [Sat, 20 Sep 2003 23:28:54 +0000 (23:28 -0000)]
dl to diacanvas should be else where

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

20 years ago2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 23:23:50 +0000 (23:23 -0000)]
2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* XmlNamespaceManager.cs: Rewrote. Uses arrays, rather than linked
lists and removes uses of Hashtable. Results in huge speed gains.

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

20 years ago2003-04-26 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sat, 20 Sep 2003 23:21:54 +0000 (23:21 -0000)]
2003-04-26  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
    they works as direct casting from GetValue.

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

20 years agoAdded diacanvas
Martin Willemoes Hansen [Sat, 20 Sep 2003 23:21:40 +0000 (23:21 -0000)]
Added diacanvas

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

20 years agoNew test multiple catch blocks
Jackson Harper [Sat, 20 Sep 2003 22:44:13 +0000 (22:44 -0000)]
New test multiple catch blocks

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

20 years agoNew test uses two seh filters
Jackson Harper [Sat, 20 Sep 2003 22:31:02 +0000 (22:31 -0000)]
New test uses two seh filters

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

20 years ago2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 20:30:16 +0000 (20:30 -0000)]
2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* Attribute.cs: Change to struct. Remove QName class.
* GenericOutputter.cs: use an Attribute [] rather than an
ArrayList. Allows us not to allocate Attributes, which is great
for speed. Roll our own allocation.

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

20 years ago2003-09-20 <cesar@ciencias.unam.mx>
César Natarén [Sat, 20 Sep 2003 17:34:44 +0000 (17:34 -0000)]
2003-09-20    <cesar@ciencias.unam.mx>

* driver.cs: Deleted the Jsc class. We are not generating code
now. I'm moving to provide something like mcs's EmitContext
instead of the CodeGenerator class having the Reflection.Emit
builders and ILGenerator. This driver is just for Lexical and
Parsing phases testing.

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

20 years agoSwitch to divide by zero exception, make sure exception is thrown
Jackson Harper [Sat, 20 Sep 2003 17:21:03 +0000 (17:21 -0000)]
Switch to divide by zero exception, make sure exception is thrown

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

20 years ago2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 17:00:30 +0000 (17:00 -0000)]
2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* Compiler.cs: add GetNsm to main class as well.
* XslAttribute.cs, XslElement.cs: Allow dynamically parsed names.

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

20 years ago2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 16:36:42 +0000 (16:36 -0000)]
2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* Pattern.cs: Typo, when i got //a i was giving off /
* LocationPathPattern.cs: Append to the tail, not head.

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

20 years ago2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 16:34:55 +0000 (16:34 -0000)]
2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* Compiler.cs (ParseAvtAttribute): Get the attribue using our
internal version so we get null if the attr doesnt exist.

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

20 years ago2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 16:29:40 +0000 (16:29 -0000)]
2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* Expression.cs: num != double.NaN does not work.

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

20 years agopop exception object off stack
Jackson Harper [Sat, 20 Sep 2003 08:05:16 +0000 (08:05 -0000)]
pop exception object off stack

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

20 years ago2003-09-20 <cesar@ciencias.unam.mx>
César Natarén [Sat, 20 Sep 2003 07:54:29 +0000 (07:54 -0000)]
2003-09-20    <cesar@ciencias.unam.mx>

* driver.cs: Now we are using the Microsoft.JScript public API
functions to load the lexer and parser.

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

20 years agochangelog entry
César Natarén [Sat, 20 Sep 2003 07:44:11 +0000 (07:44 -0000)]
changelog entry

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

20 years ago2003-09-20 <cesar@ciencias.unam.mx>
César Natarén [Sat, 20 Sep 2003 07:42:37 +0000 (07:42 -0000)]
2003-09-20    <cesar@ciencias.unam.mx>

* ScriptBlock.cs,Block.cs: Added ToString function.

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

20 years agoupdates from the grammar
César Natarén [Sat, 20 Sep 2003 07:03:16 +0000 (07:03 -0000)]
updates from the grammar

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

20 years agojaja, forgot to commit this
César Natarén [Sat, 20 Sep 2003 06:56:31 +0000 (06:56 -0000)]
jaja, forgot to commit this

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

20 years agoleave try block
Jackson Harper [Sat, 20 Sep 2003 06:55:41 +0000 (06:55 -0000)]
leave try block

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

20 years ago2003-09-20 <cesar@ciencias.unam.mx>
César Natarén [Sat, 20 Sep 2003 06:33:41 +0000 (06:33 -0000)]
2003-09-20    <cesar@ciencias.unam.mx>

* ASTList.cs, ArrayLiteral.cs, BitwiseBinary.cs, Block.cs,
DebugBreak.cs, Enum.cs, Equality.cs, Eval.cs, ForIn.cs,
FunctionExpression.cs, Import.cs, In.cs, InstanceOf.cs,
Literal.cs, NumericBinary.cs, NumericUnary.cs, Package.cs,
Plus.cs, PostOrPrefixOperator.cs, Print.cs, Relational.cs,
Statement.cs, StrictEquality.cs, StringLiteral.cs, Throw.cs,
Try.cs, TypeOf.cs, VariableDeclaration.cs, With.cs, ast.cs,
: erased Visit method and made some mono indentation style changes.

* CodeGenerator.cs: commented some function calls.
* FunctionDeclaration.cs: moved function attributes to
FunctionObject class, erased Visit method.
* FunctionObject.cs: Here is where we store a function
expression/declaration info, erased Visit method.
* ScriptBlock.cs: Added a Block field, Block will contain the
source elements.
* jscript-lexer-parser.g: updated the grammar to build the program
representation based on ScriptBlock.

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

20 years ago * dis-cil.c: Output fault blocks, and filter blocks. If in a
Jackson Harper [Sat, 20 Sep 2003 05:06:58 +0000 (05:06 -0000)]
    * dis-cil.c: Output fault blocks, and filter blocks. If in a
filter block outptut 0xDC as endfilter if in a fault output as
endfault.

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

20 years ago * icall.c: Timezone patch from Zoltan Varga
Jackson Harper [Sat, 20 Sep 2003 04:50:17 +0000 (04:50 -0000)]
    * icall.c: Timezone patch from Zoltan Varga
          (vargaz@freemail.hu)

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

20 years ago2003-09-19 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 03:19:51 +0000 (03:19 -0000)]
2003-09-19 Ben Maurer  <bmaurer@users.sourceforge.net>

* XslCopyOf.cs: handle attributes.

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

20 years ago NaN.ToString () != INF.
Ben Maurer [Sat, 20 Sep 2003 03:18:21 +0000 (03:18 -0000)]
 NaN.ToString () != INF.

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

20 years ago2003-09-19 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Sep 2003 03:11:42 +0000 (03:11 -0000)]
2003-09-19 Ben Maurer  <bmaurer@users.sourceforge.net>

* Expression.cs: in NodeTypeTest dont throw an exception if it is
an unknown node type (allows for better Pattern debugging)

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

20 years ago2003-09-19 <cesar@ciencias.unam.mx>
César Natarén [Fri, 19 Sep 2003 18:43:08 +0000 (18:43 -0000)]
2003-09-19    <cesar@ciencias.unam.mx>

* JSToken.cs: public API compliance.

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

20 years ago2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 19 Sep 2003 18:27:54 +0000 (18:27 -0000)]
2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

        * FontInfo.cs: fixed Name property as suggested by Rich Alimi
<rich@velvetsea.net>.

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

20 years ago2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 19 Sep 2003 07:05:11 +0000 (07:05 -0000)]
2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateControlCompiler.cs: fixed bug #48212.

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

20 years ago2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 19 Sep 2003 06:14:35 +0000 (06:14 -0000)]
2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BinaryReader.cs: return the correct number of bytes read when there
are some bytes from peeking.

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

20 years ago2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 19 Sep 2003 02:24:01 +0000 (02:24 -0000)]
2003-09-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* assembly.c: don't call check_env from mono_assembly_load. It's
already done once in mono_assemblies_init and may cause headaches when
multiple threads are loading assemblies.

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

20 years ago2003-09-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 23:16:09 +0000 (23:16 -0000)]
2003-09-19  Martin Baulig  <martin@ximian.com>

* gen-10.cs: New generics test.

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

20 years ago2003-09-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 23:09:16 +0000 (23:09 -0000)]
2003-09-19  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_reflection_define_generic_parameter): Don't
allocate `klass->methods', set `klass->flags' to
TYPE_ATTRIBUTE_INTERFACE, not TYPE_ATTRIBUTE_ABSTRACT.

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

20 years ago2003-09-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 22:49:42 +0000 (22:49 -0000)]
2003-09-19  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCache.SetupCacheForInterface): Take a
`MemberCache parent' argument.  Normally, an interface doesn't
have a parent type except System.Object, but we use this in gmcs
for generic type parameters.

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

20 years ago2003-09-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 22:43:53 +0000 (22:43 -0000)]
2003-09-19  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCache.SetupCacheForInterface): Take a
`MemberCache parent' argument.  Normally, an interface doesn't
have a parent type except System.Object, but we use this in gmcs
for generic type parameters.

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

20 years ago2003-09-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 21:42:51 +0000 (21:42 -0000)]
2003-09-18  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeHandle.ctor): Set `IsInterface' solely based
on `type.IsInterface'; don't check whether the type has a parent
to determine whether it's an interface.

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

20 years ago2003-09-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 21:32:12 +0000 (21:32 -0000)]
2003-09-18  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeHandle.ctor): Set `IsInterface' solely based
on `type.IsInterface'; don't check whether the type has a parent
to determine whether it's an interface.

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

20 years ago2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 18 Sep 2003 18:12:18 +0000 (18:12 -0000)]
2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebServiceCompiler.cs: remove the temporary files here too.

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

20 years agoAdded new genxs tool in monobins_DATA
Lluis Sanchez [Thu, 18 Sep 2003 16:27:54 +0000 (16:27 -0000)]
Added new genxs tool in monobins_DATA

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

20 years ago2003-09-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 15:49:34 +0000 (15:49 -0000)]
2003-09-18  Martin Baulig  <martin@ximian.com>

* gen-9.cs: New generics test.

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

20 years ago2003-09-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 18 Sep 2003 15:40:40 +0000 (15:40 -0000)]
2003-09-18  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_init): Don't create `class->methods' if it's
already initialized.

* metadata.c (mono_metadata_load_generic_params): Make this
actually work.

* reflection.c (mono_reflection_define_generic_parameter): Set
parent class and interfaces from the constraints.

* reflection.h (MonoReflectionGenericParam): Added `guint32 flags'
to keep this struct in sync with the declaration in TypeBuilder.cs.

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

20 years ago2003-09-18 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 18 Sep 2003 15:32:59 +0000 (15:32 -0000)]
2003-09-18  Ravi Pratap  <ravi@ximian.com>

        * ConditionalAttribute.cs: AllowMultiple should be true according
        to bug #48598.

----------------------------------------------------------------------

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

20 years agoAdded new genxs tool in monobins_DATA
Lluis Sanchez [Thu, 18 Sep 2003 15:22:20 +0000 (15:22 -0000)]
Added new genxs tool in monobins_DATA

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

20 years agoNew seh test that uses a filter
Jackson Harper [Thu, 18 Sep 2003 05:18:13 +0000 (05:18 -0000)]
New seh test that uses a filter

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

20 years agoAnother SEH test this one has a fault block
Jackson Harper [Thu, 18 Sep 2003 04:19:54 +0000 (04:19 -0000)]
Another SEH test this one has a fault block

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

20 years agoimpl sum & translate
Ben Maurer [Thu, 18 Sep 2003 02:58:28 +0000 (02:58 -0000)]
impl sum & translate

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

20 years ago2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 18 Sep 2003 02:12:53 +0000 (02:12 -0000)]
2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CSharpCodeCompiler.cs: don't leave temporary files around.

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

20 years ago2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 18 Sep 2003 01:32:09 +0000 (01:32 -0000)]
2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* LosFormatter.cs: fixed Deserialize for empty viewstate.

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