Commit Graph

117 Commits

Author SHA1 Message Date
rogerl%netscape.com
f27fab97bf Need to pass context now. 2001-02-23 00:23:53 +00:00
beard%netscape.com
272a4ebfee Fixed crashing bugs by using PowerPC struct alignment. Reorganized project to link against Mac libraries, rather than having JS2.lib bring them in. 2001-02-14 18:38:12 +00:00
beard%netscape.com
521e3d1e7c Fixing assertion in test case, so js2 shell will start correctly. 2001-02-14 18:30:03 +00:00
beard%netscape.com
3edaa62d38 Fixed crashing bugs by using PowerPC struct alignment. 2001-02-13 05:05:59 +00:00
rginda%netscape.com
0b632f7a00 adding .prefix files for the tests 2001-02-09 23:32:03 +00:00
rginda%netscape.com
628e5ebabd changes to get the tests building again on the mac 2001-02-09 23:31:11 +00:00
rogerl%netscape.com
56c014f548 Added WIN32 warning suppression pragma. 2001-02-09 19:11:04 +00:00
rginda%netscape.com
72b7a04c48 mac build goop for tests/cpp and utilities.cpp fix for debug targets on mac 2001-02-09 00:08:22 +00:00
rginda%netscape.com
b219c01b86 Adding windows build goop for the tests 2001-02-08 21:38:52 +00:00
rginda%netscape.com
63b24fce21 changes to get js2_shell to build 2001-02-08 06:01:54 +00:00
rginda%netscape.com
39356dd364 ok, that was silly, removing generated Makefiles 2001-02-07 21:33:02 +00:00
rginda%netscape.com
e4ba7a1cd9 Adding Makefiles 2001-02-07 21:29:36 +00:00
rginda%netscape.com
20d35dc639 adding automake file 2001-02-07 21:27:25 +00:00
rginda%netscape.com
1a4b241ed2 initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system.  currently the new make system only makes parser related files, back end stuff to be added soon.

mac and windows makesystems will be checked in next.

parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h
2001-02-07 21:21:22 +00:00
rogerl%netscape.com
61579b22f3 Re-structuring some ICG details. 2001-02-02 01:04:22 +00:00
rogerl%netscape.com
14a70a0c8c Added <function> at top level and example thereof. 2001-01-20 00:44:51 +00:00
rogerl%netscape.com
8d21e78e1d Fixes and enhancements to get class references, constructors and scripts
working from .xml input.
2001-01-19 23:56:37 +00:00
rogerl%netscape.com
2c115aa7b4 Fix for VC++ compile. 2001-01-02 19:49:16 +00:00
beard%netscape.com
661e422910 no need to copy JSString values into String values. 2000-12-30 07:06:03 +00:00
rogerl%netscape.com
c858f0c335 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
jeff.dyer%compilercompany.com
7c6f29466f Fix the first startup test. 2000-11-08 21:05:58 +00:00
rogerl%netscape.com
ec89b08c8b Fixed warnings & bogus qualifier. 2000-11-07 01:09:45 +00:00
rogerl%netscape.com
67413c204e 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
06dade6b2e Fixed adding setter to virtual inherited field. 2000-11-03 02:42:01 +00:00
jeff.dyer%compilercompany.com
2fe8a9cd77 Parsing named parameters and arguments according to the Sep-23rd revision
of the grammar. WARNING: struct VariableBinding has grown. Recompile all
after getting this revision.
2000-10-23 19:39:55 +00:00
rogerl%netscape.com
699cd8646f Changed ArgumentList to ArgumentList*. Changed ICodeGenerator to take a
Context instead of world & global pair. Connected to ICodeAssembler from
XMLParser.
2000-10-21 00:30:23 +00:00
rogerl%netscape.com
7806a764aa Added XMLparsing to load a class. Fixed handling of forward references to
class methods/fields.
2000-10-18 23:37:44 +00:00
rogerl%netscape.com
1db3618a98 Mods for getter/setter methods. 2000-10-09 22:21:26 +00:00
rogerl%netscape.com
67730faf1f Oops. Left icode output on by default, now off. 2000-08-04 20:37:42 +00:00
waldemar%netscape.com
8941a10acb Fixed Mac errors and warnings 2000-08-02 23:09:29 +00:00
rogerl%netscape.com
9cb37bc8c8 Function prototype objects etc. 2000-07-26 01:56:47 +00:00
rogerl%netscape.com
c30779b359 More ECMA 3 mucking about to support constructors etc. 2000-07-25 22:58:04 +00:00
rogerl%netscape.com
84455b51d9 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
06f0a5261f Removed all xxxCall, using simple call for everything.
Changed methods to use mMethods vector instead.
Various other fixes etc.
2000-07-18 20:53:03 +00:00
beard%netscape.com
a5ef09a1a6 cleaned up by removing widenCString() calls when using world.identifiers 2000-07-17 20:39:19 +00:00
rogerl%netscape.com
0d866e25b5 Backed out time() 2000-07-14 01:46:14 +00:00
rogerl%netscape.com
23e9d7c1c8 Type targetted binary operators.
Added 'time()' function as native.
2000-07-14 01:00:53 +00:00
rogerl%netscape.com
58dc7e47b7 Switching to generic binary operator in order to distinguish situation
where Operators package had been loaded and be able to generate typed
versions of the binary operators otherwise.
2000-07-13 00:14:54 +00:00
rogerl%netscape.com
b8bd1adb30 Implemented Import -only it's not in the parser yet.
Added missing defineXXX functions.
2000-07-11 23:49:20 +00:00
rginda%netscape.com
3a02396fda cleaned up linux warnings, minor debugger tweaks 2000-07-11 23:08:03 +00:00
rogerl%netscape.com
774d010635 More on @ operator. Fixed R 4billion print bug. 2000-07-11 20:54:06 +00:00
rogerl%netscape.com
087d2475a7 Some parts of x@<name> working. 2000-07-10 23:18:07 +00:00
rogerl%netscape.com
daba9186aa Support for 'constructor'. 2000-07-08 01:08:29 +00:00
rogerl%netscape.com
1375151969 Removed preprocess step, consolidated identifier handling. 2000-07-06 18:26:26 +00:00
rogerl%netscape.com
63744d7c1c Implicit this and class lookup stuff. 2000-06-29 01:21:41 +00:00
rogerl%netscape.com
52bffdadcf First set of unified 'dot' handling changes for statics. 2000-06-28 18:41:30 +00:00
rogerl%netscape.com
fbdb3fe1c1 lots of stuff me and Patrick did 2000-06-27 02:39:32 +00:00
beard%netscape.com
36eef7adea Added emptyArgs, removed unused return value in readEvalFile 2000-06-24 05:42:51 +00:00
beard%netscape.com
b877fde64f VC++ doesn't like local classes in templates. 2000-06-24 05:36:09 +00:00
beard%netscape.com
c5298ced1d major surgery to enable the "load()" native function. 2000-06-24 05:25:33 +00:00