rogerl%netscape.com
bd632f75f4
New (incomplete but functional) implementation of operator overriding.
2001-01-11 00:03:05 +00:00
beard%netscape.com
e76108030e
warnings, explicit use of JSValue constructor.
2000-12-16 06:54:40 +00:00
rogerl%netscape.com
adeb9ce419
Added 'length' to Array objects as a getter property - and fixed up stuff
...
that this depended on. Fixed parameter names for xml classes and added
'loadxml' global function.
2000-12-15 01:38:40 +00:00
beard%netscape.com
e1e12894c0
added explicit getString() method to StringFormatter, and removed operator String() methods.
2000-11-21 00:29:39 +00:00
beard%netscape.com
8329d7a4b6
fixing unsigned/signed conversion warnings.
2000-11-21 00:14:55 +00:00
rogerl%netscape.com
8ccb885553
Added notion of binding a 'this' to a method to construct a mini-closure
...
for call semantics. Fixed MSVC warnings from lexutils. Added BindThis
instructionand removed 'this' from Call instruction (is now extracted
from target argument).
2000-11-16 23:48:42 +00:00
rogerl%netscape.com
5a3c3bbedc
Fixed statics and constructors bitrot.
2000-11-07 00:59:27 +00:00
rogerl%netscape.com
7f2318fcc5
Fixed compare bugs. Report results from js2 test cases. Rewrote generic
...
equal to match ECMA 1.5
2000-11-06 22:57:10 +00:00
rogerl%netscape.com
375bd5d07d
Fixed signed/unsigned whine.
2000-11-01 01:48:15 +00:00
rogerl%netscape.com
2e5785dfe5
Fixed JSArray for 1.5 semantics stuff. Changed readEvalFile to stop
...
doing line at a time nonsense. Fixed ExprNode::Index cases to use
InvokeExprNode instead of Binary.
2000-11-01 01:39:43 +00:00
beard%netscape.com
7f9bf0e529
fixing unsigned/signed conversion warnings.
2000-10-21 00:43:35 +00:00
rginda%netscape.com
c43c176e8d
move # to first column for Very Lame Compilers.
2000-10-12 23:58:30 +00:00
rogerl%netscape.com
668c8ce522
Cleanup warning fix.
2000-09-19 20:56:49 +00:00
rogerl%netscape.com
9a22c0ee19
Fixed warnings for gcc build.
2000-09-19 20:35:05 +00:00
rogerl%netscape.com
68c488539e
Added getter/setter for names.
2000-09-11 22:10:44 +00:00
beard%netscape.com
722dc39edf
All JSValue constructors are explicit.
2000-09-08 01:16:03 +00:00
rogerl%netscape.com
29c3f3caa8
Named arguments
2000-09-07 19:22:13 +00:00
rogerl%netscape.com
8c56203872
Optional and rest parameters.
...
Named arguments (just begun).
2000-09-02 01:01:04 +00:00
rogerl%netscape.com
e66ddfe600
Fixed printOperand to handle <NaR> properly. Added missing 'return this' to
...
all constructors.
2000-08-23 01:06:52 +00:00
rogerl%netscape.com
f3529e06b0
Added 'static' to global object routines.
2000-08-04 20:54:24 +00:00
rogerl%netscape.com
54317af353
Prototype munging for built-in global properties, implemented Function
...
object & Boolean object.
2000-08-04 20:28:35 +00:00
waldemar%netscape.com
9e6ed90896
Fixed Mac errors and warnings
2000-08-02 23:09:29 +00:00
beard%netscape.com
ee310fed4c
fixing warnings, removing need for JStrings to be copied for mClass
2000-08-02 03:53:04 +00:00
rogerl%netscape.com
4105edc56c
Function prototype objects etc.
2000-07-26 01:56:47 +00:00
rogerl%netscape.com
785fb348fd
More ECMA 3 mucking about to support constructors etc.
2000-07-25 22:58:04 +00:00
rogerl%netscape.com
4ae568de5e
Implementing Object.prototype object and global object for ECMA 3
...
Adding Math class support.
2000-07-21 01:16:49 +00:00
rogerl%netscape.com
6982a7a85f
Implemented Import -only it's not in the parser yet.
...
Added missing defineXXX functions.
2000-07-11 23:49:20 +00:00
rogerl%netscape.com
892b3e4cff
More on @ operator. Fixed R 4billion print bug.
2000-07-11 20:54:06 +00:00
beard%netscape.com
3436603e6b
Enhanced printing of types.
2000-06-28 19:45:44 +00:00
rogerl%netscape.com
b3fecb38fa
lots of stuff me and Patrick did
2000-06-27 02:39:32 +00:00
beard%netscape.com
b3158ce94f
JSValue::operator==: added CASE(type) to fix warning.
2000-06-26 17:47:07 +00:00
rogerl%netscape.com
ac7b311416
Got newClass working, added printProperties for instances, some slot
...
stuff is happening.
2000-06-24 00:50:59 +00:00
beard%netscape.com
8132a040d4
JSValue::type now JSType* instead of const JSType*, all predefined JSType objects no longer const as well.
2000-06-23 23:25:14 +00:00
rogerl%netscape.com
9d4fb54c88
Removed FUNCTION instruction, other class related junk.
2000-06-23 22:53:09 +00:00
rogerl%netscape.com
3783f2c99e
Work to support 'this'.
2000-06-21 22:32:21 +00:00
rogerl%netscape.com
63047e7baf
Mucking about with operator overlaoding plus initializing global context
...
- beginning type stuff.
2000-06-16 01:36:59 +00:00
rogerl%netscape.com
dae9b1607b
Adding support for Functions and Vars, preXcrement, object literals.
2000-06-14 23:26:15 +00:00
rogerl%netscape.com
a7d428fee6
Statement fun
2000-05-26 22:33:05 +00:00
waldemar%netscape.com
758d1aa2a0
Fixed Mac warning
2000-05-24 00:54:56 +00:00
rogerl%netscape.com
8bde6514f2
Added operator overloading support
2000-05-23 00:08:29 +00:00
rogerl%netscape.com
8b137399a7
Playing with operator overloading & Type types.
2000-05-19 17:41:10 +00:00
beard%netscape.com
af00ce0353
fix const cast away linux breakage
2000-05-19 05:38:29 +00:00
rogerl%netscape.com
4ec5cba5d9
Moved genExpr to ICodeGenerator - added most expression ops.
2000-05-18 00:03:23 +00:00
rogerl%netscape.com
33370b0248
Added post inc/dec for properties & names.
2000-05-11 00:35:06 +00:00
rogerl%netscape.com
737ea3d9ab
Fixed leakage of ICodeModule via JSFunction
2000-05-09 18:09:33 +00:00
beard%netscape.com
9acc5cacea
Added JSString(const String&) and operator<<(Formatter&, const JSString&)
2000-05-09 05:37:58 +00:00
beard%netscape.com
3c70fd5a83
CASE(string)
2000-05-09 03:56:08 +00:00
beard%netscape.com
17bcf1f4d9
Added JSString for gc-able UNICODE strings, changed toString(), toNumber() to return JSValue rather than JSValue*.
2000-05-09 03:10:04 +00:00
rogerl%netscape.com
70fd2e12cf
Added more string handling + valueToString/Number code.
...
NativeFunction support.
2000-05-08 22:59:42 +00:00
rogerl%netscape.com
25d9160b79
Basic string literal & value support
2000-05-05 23:22:31 +00:00