Граф коммитов

981 Коммитов

Автор SHA1 Сообщение Дата
rginda%netscape.com 1cb3536755 waugh, "..." isn't supported on windows. Added full icode map generated by the new perl script. Added a comment character to the assembler, and required newlines after instructions. 2000-10-18 20:44:14 +00:00
rginda%netscape.com 0f8daa3979 adding genmap.pl to generate the icode map 2000-10-18 20:41:03 +00:00
rginda%netscape.com 7ba55fdebd fixed testcase and icodemap size 2000-10-18 04:33:54 +00:00
rginda%netscape.com df1d06fc40 whee! the parse "tree" minimally "works" 2000-10-18 03:12:42 +00:00
rginda%netscape.com 335a61b469 more icodeasm work... parse "tree" is finally testable... it might even work. 2000-10-18 01:02:13 +00:00
rginda%netscape.com 8685390f44 working in labels 2000-10-17 08:02:16 +00:00
rginda%netscape.com 9b5fdfd8c2 icode assembler changes 2000-10-17 00:41:54 +00:00
rginda%netscape.com 534a67dfea guess what? yep, more icode asm hacking. 2000-10-14 00:06:42 +00:00
rginda%netscape.com 36bdf14e61 adding some comments 2000-10-12 23:59:25 +00:00
rginda%netscape.com 0d069aae17 icode assembler still in progress 2000-10-12 23:58:51 +00:00
rginda%netscape.com c43c176e8d move # to first column for Very Lame Compilers. 2000-10-12 23:58:30 +00:00
rginda%netscape.com 7d14c260a9 more icodeasm hacks 2000-10-12 07:55:13 +00:00
rginda%netscape.com b0f3d95321 more hacking (flailing, maybe) on the icode assembler 2000-10-12 01:32:01 +00:00
rginda%netscape.com f38bdbdbf3 initial checkin of simple query script for the icode hash 2000-10-12 01:31:33 +00:00
rginda%netscape.com 1863037f91 initial checkin of icode assembler 2000-10-11 02:44:14 +00:00
rginda%netscape.com e1e32378c7 seperate icode hash into module 2000-10-11 02:42:39 +00:00
waldemar%netscape.com 7442e0026e Added s flag 2000-10-11 02:28:13 +00:00
waldemar%netscape.com 8808f7286f Changed classof x to x.class. Removed eval. Made include be a non-reserved word. Changed syntax of import to allow an automatic use of selected namespaces. 2000-10-10 02:49:34 +00:00
waldemar%netscape.com 6f4582329f Removed "eval" and "include" keywords 2000-10-10 02:48:17 +00:00
rogerl%netscape.com 8141a721b4 Mods for getter/setter methods. 2000-10-09 22:21:26 +00:00
waldemar%netscape.com eded78869f Added void and classof operators 2000-09-24 06:08:53 +00:00
waldemar%netscape.com 0e94e874c9 Made implements clauses js2-only 2000-09-23 08:15:06 +00:00
waldemar%netscape.com e9fac36551 Major revisions for Sep 18 and 21 language changes 2000-09-22 08:16:22 +00:00
waldemar%netscape.com baf53149b3 Removed "constructor" keyword 2000-09-22 08:14:56 +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
beard%netscape.com d99198e4bc Fixing scope problems on Linux 2000-09-12 00:53:33 +00:00
waldemar%netscape.com 7ee18425f8 Renamed target files 2000-09-11 23:49:53 +00:00
rogerl%netscape.com 871fb6eab9 Removed unnecessary arg. from Call instruction. 2000-09-11 22:11:55 +00:00
rogerl%netscape.com 68c488539e Added getter/setter for names. 2000-09-11 22:10:44 +00:00
waldemar%netscape.com 005c605136 Added support for highlights. Made @ operator js2-only. 2000-09-09 02:15:37 +00:00
waldemar%netscape.com 7223a2e334 Updated to correspond to js2 site 2000-09-09 02:15:06 +00:00
waldemar%netscape.com 6c173aab33 Added support for highlights. 2000-09-09 02:14:35 +00:00
beard%netscape.com 722dc39edf All JSValue constructors are explicit. 2000-09-08 01:16:03 +00:00
rogerl%netscape.com 7ca98a95c6 Added Branch_initialized for argument handling. 2000-09-07 19:23:24 +00:00
rogerl%netscape.com 3e08d30492 Named arguments. 2000-09-07 19:22:59 +00:00
rogerl%netscape.com 29c3f3caa8 Named arguments 2000-09-07 19:22:13 +00:00
rogerl%netscape.com 1c4303af1c copy non-named args through 2000-09-06 02:17:47 +00:00
rogerl%netscape.com d6618351c4 fix for redundancy 2000-09-06 02:17:18 +00:00
rogerl%netscape.com 0a5401ac02 Fix for empty function body 2000-09-06 02:16:51 +00:00
rogerl%netscape.com 35c2183566 Switch from RegisterList to ArgumentList to handle named args.
Optional & rest parameter support.
2000-09-02 01:01:41 +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 cf4cfc6b82 Fixed printOperands to handle <NaR> 2000-08-23 01:07:19 +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
waldemar%netscape.com 0700924be5 Added arguments to attributes; made 'use', 'namespace', and 'constructor' into keywords and simplified resulting grammar; merged attribute definitions into const definitions; made eval use function call syntax; renamed 'language' to 'use'. 2000-08-22 04:31:37 +00:00
waldemar%netscape.com 5200b2308b Added \Q escape 2000-08-22 04:29:34 +00:00
waldemar%netscape.com b60ff5b98f Added line-break constraint 2000-08-22 04:29:01 +00:00
waldemar%netscape.com d502901d6a Made terminal constraint error message more detailed 2000-08-22 04:28:01 +00:00
waldemar%netscape.com 7bc998fc6f Updated to generate Netscape 6-compatible HTML 2000-08-11 06:27:55 +00:00
waldemar%netscape.com c99d99da39 Added attributes to for-initializers and no-line-breaks in a few places 2000-08-11 06:27:25 +00:00
waldemar%netscape.com 7c9cec02ab Updated to match documentation site 2000-08-11 06:24:57 +00:00
waldemar%netscape.com 917c30fb01 Updated to match styles.css on documentation site 2000-08-11 06:24:39 +00:00
rogerl%netscape.com f3529e06b0 Added 'static' to global object routines. 2000-08-04 20:54:24 +00:00
rogerl%netscape.com b7a244e864 Oops. Left icode output on by default, now off. 2000-08-04 20:37:42 +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 12dc591a84 Made link order consistent 2000-08-02 23:09:53 +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
rginda%netscape.com 10d5245302 shut up "unused param" warnings by only naming the register param if the icode uses a RegisterList operand. 2000-07-29 02:00:12 +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
beard%netscape.com 02fe5b2d84 added jsmath.cpp/h 2000-07-21 05:07:29 +00:00
beard%netscape.com e7b6d31185 XML project file. 2000-07-21 05:07:05 +00:00
beard%netscape.com e67d7257c7 update dependencies to include jsmath.o 2000-07-21 05:01:10 +00:00
beard%netscape.com ec770e5462 add jsmath.cpp to the build. 2000-07-21 05:00:43 +00:00
beard%netscape.com a915099fef scope of loop variables fix 2000-07-21 05:00:10 +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 cfd4e435be 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 a831464e86 cleaned up by removing widenCString() calls when using world.identifiers 2000-07-17 20:39:19 +00:00
rginda%netscape.com 5873d1f4ef removing bogus assert (per rogerl) 2000-07-15 00:01:25 +00:00
beard%netscape.com 793761a64f added operator[](const char*) to StringAtomTable. 2000-07-14 23:10:02 +00:00
rogerl%netscape.com 3efd4c7ae7 Fixed slots for non-function vars, plus bug in slot xcrement. 2000-07-14 22:23:20 +00:00
rogerl%netscape.com 394eae2d67 Backed out time() 2000-07-14 01:46:14 +00:00
rogerl%netscape.com 9d9a2397fe Type targetted binary operators.
Added 'time()' function as native.
2000-07-14 01:00:53 +00:00
beard%netscape.com c85b319f3b need <stdio.h> for fopen on the Mac. 2000-07-13 02:23:55 +00:00
beard%netscape.com 7d2456d02a fixing readEvalFile to save off important Context data members. implemented identical_Default for string 2000-07-13 01:35:57 +00:00
beard%netscape.com 4a274478e3 fixing readEvalFile() by creating another Context 2000-07-13 00:44:30 +00:00
rogerl%netscape.com bc2242f4d4 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 6982a7a85f 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 0521d8724e cleaned up linux warnings, minor debugger tweaks 2000-07-11 23:08:03 +00:00
rogerl%netscape.com 892b3e4cff More on @ operator. Fixed R 4billion print bug. 2000-07-11 20:54:06 +00:00
rogerl%netscape.com aa83a57078 Some parts of x@<name> working. 2000-07-10 23:18:07 +00:00
rogerl%netscape.com 0d7c4bc5c1 Support for 'constructor'. 2000-07-08 01:08:29 +00:00
rogerl%netscape.com f677b9a1dd Removed preprocess step, consolidated identifier handling. 2000-07-06 18:26:26 +00:00
beard%netscape.com ae75194337 Fix build bustage. 2000-06-29 18:40:58 +00:00
rogerl%netscape.com 289a28647c use handleDot for call, too. 2000-06-29 18:30:47 +00:00
beard%netscape.com 14a33e366c delete property support. 2000-06-29 18:14:14 +00:00
beard%netscape.com 6cbfacc80c DELETE_PROP 2000-06-29 18:13:46 +00:00
beard%netscape.com 9d7d45fa72 DELETE_PROP 2000-06-29 17:14:56 +00:00
beard%netscape.com b713041cec added DELETE_PROP instruction to implement the "delete" operation. 2000-06-29 17:11:50 +00:00
beard%netscape.com 9a805c2a95 unused parameter warning 2000-06-29 05:48:09 +00:00
beard%netscape.com cbf9cb60d0 complementary operator delete(void*, JSClass*). 2000-06-29 05:46:36 +00:00
beard%netscape.com b3c8568faa some classes to test js2 with. 2000-06-29 04:49:48 +00:00
beard%netscape.com 4db6e8e886 updated dependencies 2000-06-29 04:25:10 +00:00
beard%netscape.com ac2fd0c4c1 Changed StaticCall to use static slot. 2000-06-29 04:23:56 +00:00
beard%netscape.com 5cfc10557a Fixing static dotted expressions. 2000-06-29 04:23:20 +00:00
beard%netscape.com aef07e6b97 now uses conditional compilation #if defined(OPCODE_NAMES), so that a simple "icode.h" can be included by vmtypes.h and vmtypes.cpp. 2000-06-29 04:21:00 +00:00
beard%netscape.com d059b655ef moved all machine generated classes, etc. to icode.h. 2000-06-29 04:19:19 +00:00
beard%netscape.com da44337f32 Generated by tools/gencode.pl. 2000-06-29 04:18:16 +00:00
beard%netscape.com ea4574b835 fixed static calls. 2000-06-29 03:15:52 +00:00
rogerl%netscape.com 8d0b4fe645 Implicit this and class lookup stuff. 2000-06-29 01:21:41 +00:00
beard%netscape.com 6df39dd186 implemented JSClass::printProperties(). 2000-06-28 19:46:13 +00:00
beard%netscape.com 3436603e6b Enhanced printing of types. 2000-06-28 19:45:44 +00:00
beard%netscape.com d2acc1ba67 Type of a JSType* is Type_Type (wow, recursive). Changed mBaseType to be JSType* instead of const JSType*. 2000-06-28 19:45:09 +00:00
rogerl%netscape.com b5f49320b8 First set of unified 'dot' handling changes for statics. 2000-06-28 18:41:30 +00:00
beard%netscape.com a18901a26b added jsclasses.h 2000-06-28 18:10:04 +00:00
beard%netscape.com c1a38ed9f4 Fix string <. 2000-06-28 16:38:20 +00:00
beard%netscape.com 9be70600fd Fixed dynamic lookup of static slots. Added code to compare strings. 2000-06-28 16:32:52 +00:00
beard%netscape.com 33919341f2 GET_STATIC/SET_STATIC/STATIC_XCR now use an index rather than a name. Implemented GET_PROP/SET_PROP for class objects (looks up slot dynamically, etc.) 2000-06-28 16:15:06 +00:00
beard%netscape.com c9b03781ae GET_STATIC/SET_STATIC/STATIC_XCR now use an index rather than a name. Now using JSClass::hasStatic() rather than looking up statics in class' scope. 2000-06-28 16:14:18 +00:00
beard%netscape.com 9755202d7e GET_STATIC/SET_STATIC/STATIC_XCR now use an index rather than a name. 2000-06-28 16:13:12 +00:00
beard%netscape.com b3b52a1138 Static slots. 2000-06-28 16:11:54 +00:00
beard%netscape.com b76277c865 Win-specific operator== noise. 2000-06-27 03:52:56 +00:00
beard%netscape.com 42f735d5df Fixed unitialized static class members. 2000-06-27 03:43:40 +00:00
beard%netscape.com cda9175d80 addSlot -> defineSlot, added defineStatic. 2000-06-27 03:42:42 +00:00
beard%netscape.com 6bc554cd25 Fixed type management. 2000-06-27 03:21:33 +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
beard%netscape.com 5c98bc5892 added JSObject::deleteProperty(), and changed mName in JSType to be a JSString. Need to revisit other uses of String soon. 2000-06-26 17:42:20 +00:00
beard%netscape.com f7dd6dbe83 simplified string addition 2000-06-26 17:25:25 +00:00
beard%netscape.com 65ba0e5b4c defined JSStringBase, and constructors from in JSString 2000-06-26 17:24:57 +00:00
beard%netscape.com 6a014e14e7 String addition: don't share structure with LHS. 2000-06-26 17:09:27 +00:00
beard%netscape.com 8df08ef410 added constructor from JSString&. 2000-06-26 16:55:01 +00:00
beard%netscape.com ef32468a54 Reset register usage after generating each initializer statement. 2000-06-26 15:19:45 +00:00
beard%netscape.com 0b99360f25 Simplified NEW_CLASS, using a single do .. while loop, introducing nextPC instruction iterator to simplify initial case. now calls all defined constructors. 2000-06-26 15:06:36 +00:00
beard%netscape.com 75649210c7 Only call non-null constructors. 2000-06-25 17:04:38 +00:00
beard%netscape.com d02dfb7e9d Conditionally set constructor, if it has any instructions. 2000-06-25 17:04:01 +00:00
beard%netscape.com 1ad57a537f updated dependencies 2000-06-25 16:44:29 +00:00
beard%netscape.com 26e7244738 check for non-null superClass 2000-06-25 16:43:25 +00:00
beard%netscape.com 85c8c4b500 hooked up superClass' scope as the prototype of a class's scope, to do method inheritance, removed bogus JSInstance::getSlotCount(), which overcounted slots. 2000-06-25 16:35:33 +00:00
beard%netscape.com c06681035f Added calls to superClass constructors. 2000-06-24 22:42:43 +00:00
beard%netscape.com 7b4f21e16e JSInstance::getSlotCount() no longer recursive. 2000-06-24 22:42:15 +00:00
beard%netscape.com 8127cef905 Beginning support for superclass slots. 2000-06-24 22:07:00 +00:00
beard%netscape.com c8cdd76d90 Added emptyArgs, removed unused return value in readEvalFile 2000-06-24 05:42:51 +00:00
beard%netscape.com 196dfcb773 enable RTTI 2000-06-24 05:36:52 +00:00
beard%netscape.com 0dcdb5889f VC++ doesn't like local classes in templates. 2000-06-24 05:36:09 +00:00
beard%netscape.com 5d6bcd66f6 major surgery to enable the "load()" native function. 2000-06-24 05:25:33 +00:00
beard%netscape.com 7b61502b1e Experiment with looking up methods in the prototype chain. 2000-06-24 05:22:23 +00:00
beard%netscape.com d16865cfcb Always use the target object, regardless of where a method property is found along the prototype chain. 2000-06-24 05:21:49 +00:00
beard%netscape.com b8667057a3 When generating a reference to "this" use the current code generator's mClass when appropriate. 2000-06-24 05:21:03 +00:00
rginda%netscape.com 5159f8b51d fixing source stepping (opcode stepping to come back later)
debugger is now quiet by default.
2000-06-24 02:53:29 +00:00
beard%netscape.com 6519ffb31d Removed JSType::isClassType(). 2000-06-24 02:51:34 +00:00
beard%netscape.com be1f23517c Added JSClass::get/setConstructor(). 2000-06-24 02:51:03 +00:00
beard%netscape.com 83ca8f326d Added call to constructor when executing NEW_CLASS. 2000-06-24 02:50:23 +00:00
beard%netscape.com cb43927903 Generating default constructor to run slot initializers. 2000-06-24 02:49:45 +00:00
beard%netscape.com db5e4eeed7 testCompile() is static 2000-06-24 01:04:58 +00:00
rogerl%netscape.com 1f65c8a44c typing 'this' 2000-06-24 01:02:34 +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 69d8a01263 added NEW_CLASS instruction, to instantiate classes. 2000-06-23 23:49:48 +00:00
beard%netscape.com 24a81ca7ca added NEW_CLASS instruction. 2000-06-23 23:49:17 +00:00
rogerl%netscape.com 3930dfffb9 Adding slot handling to code gen. 2000-06-23 23:43:24 +00:00
beard%netscape.com 2be0b299fc added NEW_CLASS instruction. 2000-06-23 23:41:27 +00:00
beard%netscape.com a313672e06 Added JSClass::hasSlot, getSlotCount(), and JSInstance. 2000-06-23 23:25:55 +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
rginda%netscape.com b4077ed50c Added debugger opcode, change InstructionMap to a std::map, print source lines while tracing 2000-06-23 22:27:17 +00:00
rogerl%netscape.com a03db28a3b Add return statement if the function doesn't end with one 2000-06-23 21:20:03 +00:00
beard%netscape.com 0b87b860eb added assertion to ensure that mPC is always valid before fetching the next instruction. 2000-06-23 06:10:14 +00:00
beard%netscape.com 107dbc95b6 Additional JSClass processing: defining slots, generating methods. 2000-06-23 05:13:04 +00:00
beard%netscape.com ff711f4a8f When using a JSScope that has a parent scope, don't bother defining the standard properties, they will be shared. 2000-06-23 05:10:46 +00:00
beard%netscape.com 03ee321bef A JSClass is a JSType now, and has a JSScope. Added addSlot, getSlot, getScope. 2000-06-23 05:09:37 +00:00
beard%netscape.com e03ab761d7 remove unused file. 2000-06-23 04:10:04 +00:00
beard%netscape.com 585fef1917 putting the JSClass* in the current global scope, and looking up superclass rereferences. 2000-06-23 02:22:55 +00:00
rogerl%netscape.com 1a2c265dd0 Added support for 'debugger' as a statement. (Rob made me) 2000-06-23 00:08:10 +00:00
beard%netscape.com 0d1c72d6a6 JSClass support. 2000-06-21 23:58:17 +00:00
beard%netscape.com d193ec4ea0 initial checkin, starting on a representation for JS2 classes. 2000-06-21 23:57:09 +00:00
rogerl%netscape.com 3783f2c99e Work to support 'this'. 2000-06-21 22:32:21 +00:00
rogerl%netscape.com 0bb6f588ba Changed use of Register to TypedRegister throughout. 2000-06-20 22:45:45 +00:00
rogerl%netscape.com c23aa15cea Support for TypedRegister 2000-06-20 22:44:46 +00:00
rogerl%netscape.com a0ca8346b0 Added tests for scripts as strings. 2000-06-16 01:37:47 +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 c36f967be2 Fixed spelling. 2000-06-16 01:35:25 +00:00
rogerl%netscape.com 2e3359c741 Added op= support. 2000-06-15 16:03:54 +00:00
rogerl%netscape.com 22b93140d6 Mark top-level execution as 'script' rather than function - to handle
vars correctly.
2000-06-14 23:28:38 +00:00
rogerl%netscape.com f32f769135 Added 'Function' instruction, plus suppresses class output if there is
no super specified. (ok it's a hack, but it works)
2000-06-14 23:27:28 +00:00
rogerl%netscape.com dae9b1607b Adding support for Functions and Vars, preXcrement, object literals. 2000-06-14 23:26:15 +00:00
waldemar%netscape.com 2c96ad5323 Added parsing and printing of classes, interfaces, and namespaces 2000-06-02 04:35:44 +00:00
waldemar%netscape.com 7812dc9a8e Widened default line width to 30 2000-06-01 03:31:17 +00:00
waldemar%netscape.com 4fc6a829b4 Added function and constructor parsing and printing; fixed printing of blocks, compound statements, and :: 2000-06-01 03:30:58 +00:00
waldemar%netscape.com 17668e8a07 Added two-argument linearBreak 2000-06-01 03:30:19 +00:00
rogerl%netscape.com 6e0db88822 Removed old branches, changed offset printing to handle NULL operand. 2000-05-26 22:35:36 +00:00
rogerl%netscape.com 7535f22230 Update to new icg constructor etc. 2000-05-26 22:34:42 +00:00
rogerl%netscape.com a7d428fee6 Statement fun 2000-05-26 22:33:05 +00:00
waldemar%netscape.com fe2b190592 Added var, const, and for statements 2000-05-26 06:20:11 +00:00
waldemar%netscape.com e5a692e62d Fixed case/default indenting 2000-05-24 02:18:57 +00:00
rogerl%netscape.com bbd7ed8e62 Codegen for statements. Blew off old statement API and most of the test
functions for now, sorry.
2000-05-24 02:11:39 +00:00
waldemar%netscape.com 01a830b36d Turned on statement parsing and printing 2000-05-24 01:51:32 +00:00
waldemar%netscape.com ef0a0075ca Added statement parsing 2000-05-24 01:51:20 +00:00
waldemar%netscape.com 2d2b4d1e40 Added using std::fmod declaration 2000-05-24 00:55:23 +00:00
waldemar%netscape.com 758d1aa2a0 Fixed Mac warning 2000-05-24 00:54:56 +00:00
waldemar%netscape.com ffe032b94e Fixed Mac warnings 2000-05-24 00:54:40 +00:00
waldemar%netscape.com 0409172259 Fixed syntax errors: can't use qualified names in class definitions, and 'not' is a C++ reserved word 2000-05-24 00:54:28 +00:00
rginda%netscape.com 0fa9224054 apparently windows is too 2000-05-23 00:15:06 +00:00
rginda%netscape.com b8139b714f linux is so picky 2000-05-23 00:13:48 +00:00
rogerl%netscape.com bf553c65fb COMPARE_GT etc are gone. 2000-05-23 00:09:44 +00:00
rogerl%netscape.com 6c379c9539 Fall out from operator overloading. 2000-05-23 00:09:02 +00:00
rogerl%netscape.com 8bde6514f2 Added operator overloading support 2000-05-23 00:08:29 +00:00
rginda%netscape.com ab1f2aeef2 quieting linux warnings and fixing build bustage 2000-05-22 21:05:35 +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 c4b6a652d5 Bunch o' expression ops. 2000-05-18 00:04:15 +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 ad5c33b8e4 Moved genExpr to ICodeGenerator 2000-05-18 00:01:33 +00:00
beard%netscape.com 351bd72f09 ensuring both arguments to max are the same type 2000-05-16 22:23:15 +00:00
beard%netscape.com 0a0acdcf76 fix for linux bustage 2000-05-13 02:14:52 +00:00
waldemar%netscape.com 23816b0170 Simplified grammar without changing syntax 2000-05-13 00:18:56 +00:00
waldemar%netscape.com d3acc733e0 Fixed ?: parsing bug and pretty-printing offsets 2000-05-12 05:39:28 +00:00
waldemar%netscape.com b1a75a201a Fixed build flags 2000-05-12 05:16:08 +00:00
waldemar%netscape.com f2965154c2 Fixed parser errors 2000-05-12 05:15:52 +00:00
waldemar%netscape.com c8b3c01b71 Worked around Visual C++ problem 2000-05-12 05:15:17 +00:00
waldemar%netscape.com c17f899a83 Interchanged linearBreak and fillBreak 2000-05-12 03:43:35 +00:00
waldemar%netscape.com 3be5d6b79c Turned on expression parsing and printing 2000-05-12 03:26:43 +00:00
waldemar%netscape.com 80084c8eb5 Added expression parsing and printing code 2000-05-12 03:26:24 +00:00
waldemar%netscape.com 1f0d17398b Added RawArrayBuffer::reserve_advance_back 2000-05-12 03:25:49 +00:00
beard%netscape.com 34678ad655 removed unnecessary #include <iomanip> 2000-05-12 01:46:16 +00:00
beard%netscape.com d4060c6bef InterpretStage -> Context::Event. 2000-05-12 01:20:34 +00:00
beard%netscape.com e7503b10fb Fixed signed/unsigned warning. InterpretStage -> Context::Event. Context::removeListener now using find() from <algorithm>. 2000-05-12 01:19:39 +00:00
beard%netscape.com 171d878a64 InterpretStage -> Context::Event. Added typedefs for ListenerList and ListenerIterator. 2000-05-12 01:17:32 +00:00
beard%netscape.com 10e19444a4 turned off extra comma warnings. 2000-05-12 00:31:48 +00:00
rogerl%netscape.com 48f6891a39 post inc/dec 2000-05-11 00:35:43 +00:00
rogerl%netscape.com 33370b0248 Added post inc/dec for properties & names. 2000-05-11 00:35:06 +00:00
waldemar%netscape.com abe74d890c Added 'public' to the list of qualifiers 2000-05-09 20:55:09 +00:00
rogerl%netscape.com 908ce34c76 playing with gencode 2000-05-09 19:01:00 +00:00
beard%netscape.com a90cac7e92 Needed to transfer ownwership of iCode from ICodeGenerator to ICodeModule 2000-05-09 18:59:12 +00:00
beard%netscape.com 8b37e3f091 generalized gc_allocator copy constructor 2000-05-09 18:32:14 +00:00
beard%netscape.com 698cbbf51d removed JSFunction::operator delete 2000-05-09 18:31:43 +00:00
rogerl%netscape.com 737ea3d9ab Fixed leakage of ICodeModule via JSFunction 2000-05-09 18:09:33 +00:00
beard%netscape.com d991eb363d Need to modify string BEFORE caching iterators. 2000-05-09 06:39:39 +00:00
beard%netscape.com 1f06b15acc ensure that source buffer is always terminated by a uni::null (which isn't automatically true for basic_string<T>). 2000-05-09 06:31:54 +00:00
beard%netscape.com 6a4d27e9e3 map::find() works just fine on all platforms. 2000-05-09 05:55:30 +00:00
beard%netscape.com c5dcfed7a0 generating code rather than showing tokens, printing generic result rather than assuming it's a float64. 2000-05-09 05:46:26 +00:00
beard%netscape.com 2a42ae2d9b LoadString now has JSString* as second operand 2000-05-09 05:38:48 +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 69e170c16b LOAD_STRING now has String as second operand rather than String* 2000-05-09 05:18:16 +00:00
beard%netscape.com 052dad7118 VC6 bustage: can't initialize refs using construction form 2000-05-09 04:29:32 +00:00
beard%netscape.com 5e9296ee19 std::numeric_limits isn't working... 2000-05-09 04:26:44 +00:00
beard%netscape.com f8c91a8cf2 JSNativeFunction::mCode returns JSValue now to avoid leaking 2000-05-09 03:57:28 +00:00
beard%netscape.com c5e54d1f21 print now returns JSValue, added space between args when printing 2000-05-09 03:56:56 +00:00
beard%netscape.com 3c70fd5a83 CASE(string) 2000-05-09 03:56:08 +00:00
beard%netscape.com e3056982ab g++ basic_string annoyances 2000-05-09 03:55:43 +00:00
beard%netscape.com ec32a56539 needed deallocate(void*, size_type) on XP_UNIX for basic_string. 2000-05-09 03:46:03 +00:00
beard%netscape.com 5511c85685 Fixed leaks by changing JSValue::toString()/toNumber() to return JSValue rather than JSValue*. LOAD_STRING now creates a JSString from a String*. 2000-05-09 03:11:54 +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
beard%netscape.com 9e824b3492 make wchar_t an atomic type, for JSString. 2000-05-09 03:06:49 +00:00
waldemar%netscape.com b6ad6e0d78 Changed default constructor name from 'new' to the same name as its class 2000-05-09 00:10:50 +00:00
rogerl%netscape.com 9da7770958 testing native 'print' function 2000-05-08 23:12:10 +00:00
rogerl%netscape.com 70fd2e12cf Added more string handling + valueToString/Number code.
NativeFunction support.
2000-05-08 22:59:42 +00:00
waldemar%netscape.com 32a487e8ba Fixed syntax errors 2000-05-06 03:47:35 +00:00
waldemar%netscape.com 7ec407aaec Reordered includes to ensure that systemtypes.h is always included first; that's needed for Visual C++ 2000-05-06 03:47:13 +00:00
waldemar%netscape.com 45d64f11e9 Reordered files back to dependency order. Added gc_allocator.h. 2000-05-06 03:33:25 +00:00
waldemar%netscape.com f92842a971 Fixed syntax error 2000-05-06 03:31:50 +00:00
waldemar%netscape.com 9258b98a99 Added formatters, zones, and other miscellaneous utilities 2000-05-06 03:31:35 +00:00
waldemar%netscape.com 172513021f Fixed mac warning 2000-05-06 03:30:37 +00:00
rogerl%netscape.com 73705a8af1 Load_String 2000-05-05 23:23:13 +00:00
rogerl%netscape.com 25d9160b79 Basic string literal & value support 2000-05-05 23:22:31 +00:00
rogerl%netscape.com 0abfa73fd7 New arithmetic ops. 2000-05-05 21:38:16 +00:00
rogerl%netscape.com 05b4422677 Bunch more arithmetic ops etc.
Also fixed case munging when class name was only 2 letters long.
2000-05-05 21:36:36 +00:00
beard%netscape.com d1e0d062d0 Added debugger source 2000-05-05 18:20:05 +00:00
beard%netscape.com f346f8d86c No need to use string, now that size_t LineReader::readLine(String& wstr) exists. 2000-05-05 05:25:00 +00:00
beard%netscape.com 094e8c7500 added size_t LineReader::readLine(String& wstr) for convenience. 2000-05-05 05:24:02 +00:00
beard%netscape.com 15d927bcb1 regenerated dependencies 2000-05-05 04:58:56 +00:00
beard%netscape.com 6e4e5d59d1 LineReader returns at least '\n' 2000-05-05 04:50:45 +00:00
beard%netscape.com a95951573d stdin rather than cin 2000-05-05 04:45:39 +00:00
beard%netscape.com 7ff3a71924 Needed to use namespace Interpreter to see Context, using LineReader instead of istream. 2000-05-05 04:44:51 +00:00
beard%netscape.com f9843b94da remove unnecessary #include <iostream> 2000-05-05 04:44:01 +00:00
beard%netscape.com 1a0c42b62f Use FILE* instead of istream& for better line handling 2000-05-05 04:43:12 +00:00
beard%netscape.com 1210745bf0 EOF handling 2000-05-05 04:19:20 +00:00
beard%netscape.com d473e75f91 can't use std::getline() with a String on all platforms. 2000-05-05 04:10:01 +00:00
beard%netscape.com 34072e3ec7 forward declaring std::istream. 2000-05-05 04:08:59 +00:00
beard%netscape.com 6a814bf3a1 fixed ICodeGenerator/ICodeModule::print on Mac, which seems to be getting confused when using operator<< in another namespace. 2000-05-05 04:05:56 +00:00
beard%netscape.com 3bee0e64c4 removed unused macro NS_JSICG. 2000-05-05 04:04:23 +00:00
rginda%netscape.com ace8bcaf1e much debugger spankage; parse and execute step, continue, set, and print (kind-of) commands.
push implementation details of ICodeGenerator::print() into InstructionStream so they can be shared with ICodeModule.

copy variableList from ICodeGenerator to ICodeModule.

s/ScringAtom/const StringAtom/ in gencode.pl, regenerate vmtypes.h
2000-05-04 22:42:49 +00:00
rogerl%netscape.com f0a527348f Added const to the StringAtom usage.
Propagated variableList to ICodeModule
2000-05-04 22:08:38 +00:00
beard%netscape.com 638c7e68c2 fix assert bustage in DEBUG build. 2000-05-03 01:41:37 +00:00
rogerl%netscape.com c5ae7fcab1 Cleaning up some label stuff 2000-05-02 21:36:28 +00:00
beard%netscape.com e57aaf2941 warnings on Linux 2000-05-01 17:18:49 +00:00
beard%netscape.com d3a405ae82 fixing breakage on Linux 2000-05-01 17:18:23 +00:00
beard%netscape.com a38befc82a removed unnecessary casts to int32 in ICodeGenerator::setLabel() which were generating warnings. 2000-05-01 17:11:36 +00:00
waldemar%netscape.com 67d784459e Changed syntax of identifiers, attributes, expressions, functions, and packages. Added export, use, constructor, namespace, import. 2000-05-01 06:21:39 +00:00
beard%netscape.com b8c58d5968 made startsWith() static, to fix no prototype warning. 2000-04-30 14:56:31 +00:00
beard%netscape.com a7d1d8240d added debugger.cpp/h. 2000-04-30 14:55:51 +00:00
beard%netscape.com d1626bab75 Removed setGlobalObject(), as only the interpreter should be mucking with it after initial creation. Added getWorld(), made getICode() out of line, removed mICode since it's part of Activation record. 2000-04-29 14:44:42 +00:00
beard%netscape.com 99e50b3eb4 Implemented WITHIN, WITHOUT instructions, removed mICode from Context since it's part of Activation. No longer deleteing mActivation, just clearing it, since Activation objects are garbage collected. 2000-04-29 14:43:36 +00:00
beard%netscape.com a49b031e34 Added JSScope::getParent(). 2000-04-29 14:39:50 +00:00
beard%netscape.com 154414a0ee JSNamespace -> JSScope. 2000-04-29 14:14:28 +00:00
beard%netscape.com 5e49b8d13f JSValue::operator==(const JSValue&) 2000-04-29 14:13:43 +00:00
beard%netscape.com 1603cc24d3 Added JSValue::operator==(const JSValue&), renamed JSNamespace JSScope. 2000-04-29 14:13:08 +00:00
beard%netscape.com 275ac8e2bf moved kUndefinedValue to jstypes.cpp, where it belongs. 2000-04-29 14:11:27 +00:00
beard%netscape.com dce8602831 added WITHIN, WITHOUT instructions. 2000-04-29 14:10:53 +00:00
beard%netscape.com 28a0b3bb92 fixing windows bustage. 2000-04-29 00:29:56 +00:00
rginda%netscape.com c9f14ba1b4 somewhat weak debugger console hookup.
build shouldn't *look* different yet.

Moved Context::interpret() local vars into Context private, added accessors for
stuff, using JavaScript::Lexer to lex debugger commands.

Fixed sign comparison warning in icg.cpp
2000-04-29 00:23:06 +00:00
beard%netscape.com cd2ea3d3e4 Added jstypes.cpp 2000-04-28 23:10:06 +00:00
beard%netscape.com af56dac3b4 Merged JSMap & JSObject. Introduced JSNamespace. 2000-04-28 23:04:43 +00:00
rginda%netscape.com 69e9b0ee35 80 column nit picked, comment fixed 2000-04-28 15:32:54 +00:00
beard%netscape.com 4e41834f75 Don't print BRANCH operands. 2000-04-28 13:46:01 +00:00
beard%netscape.com 8ff65a3852 tightened up spacing in printOperands(), changed GenericBranch.printOperands() to conditionally print condition register contents. 2000-04-28 13:44:59 +00:00
beard%netscape.com 2efc159d82 tightened up spacing in printOperands(). 2000-04-28 13:43:49 +00:00
beard%netscape.com 082ad168b4 Added Tracer to testFunctionCall(). 2000-04-28 13:31:39 +00:00
beard%netscape.com c4a7011cdf const ArgList& makes gcc happy. 2000-04-28 13:25:57 +00:00
beard%netscape.com 734c2d1779 Added jstypes.o 2000-04-28 13:25:24 +00:00
beard%netscape.com 1d0cfaf144 added ArgList helper struct to print Call operands, regenerated printOperands() methods to reduce warnings. 2000-04-28 13:20:26 +00:00
beard%netscape.com bbe2f74bd7 operator<< (Formatter& f, ArgList& al) 2000-04-28 13:18:03 +00:00
beard%netscape.com 2ccb1db4e8 support for printing ArgLists. 2000-04-28 13:17:35 +00:00
beard%netscape.com 02fccb52ca Unused. 2000-04-28 13:16:23 +00:00
beard%netscape.com 0a6482a9e4 regenerated dependencies 2000-04-28 05:46:22 +00:00
beard%netscape.com b3dc38ee22 tracing now prints instruction operands. 2000-04-28 05:44:38 +00:00
beard%netscape.com 99956a6429 using JSValue::tag to do simple operand validation. 2000-04-28 05:43:33 +00:00
beard%netscape.com f3d2f8c11d forward declaring ICodeModule, to break circularity. JSValue is now a tagged union. 2000-04-28 05:42:46 +00:00
beard%netscape.com a166644e29 Instruction::count(), Instruction::printOperands(), plus newly generated instruction classes. 2000-04-28 05:41:54 +00:00
beard%netscape.com 0dee053bef added jstypes.cpp 2000-04-28 05:40:42 +00:00
beard%netscape.com cf5bda1bec operator<<(Formatter&, const JSValue&) 2000-04-28 05:40:16 +00:00
beard%netscape.com dc524f8331 generates printOperands() 2000-04-28 05:39:27 +00:00
beard%netscape.com bc2e56b97c runs gencode.pl with MW Perl. 2000-04-28 05:39:04 +00:00
waldemar%netscape.com 192b3c45c8 Changed attributes and 'language' statement syntax, added interfaces, and removed ^*, ^?, |*, and |?. 2000-04-28 02:34:14 +00:00
rginda%netscape.com 5ab596c1c3 don't generate print_args if super_has_print
comment fixes
2000-04-28 02:33:36 +00:00
waldemar%netscape.com c0b3a0c99c Changed period to dot 2000-04-28 02:31:41 +00:00
waldemar%netscape.com ef5540e948 Fixed syntax of (bottom) 2000-04-28 02:30:44 +00:00
waldemar%netscape.com 5e5a923879 First Checked In. 2000-04-28 02:30:19 +00:00
rginda%netscape.com 9c217a25f0 moved comment so it made more sense 2000-04-28 02:26:14 +00:00
beard%netscape.com df05dec418 reordered inheritance graph of Linkage. 2000-04-28 02:23:08 +00:00
rginda%netscape.com 5701c02682 printarg stubbed out 2000-04-28 02:20:23 +00:00
beard%netscape.com 7293a17b91 testProto() 2000-04-28 01:43:03 +00:00
rogerl%netscape.com b28efe5b88 try/catch exercise changes 2000-04-28 00:11:18 +00:00
rogerl%netscape.com 11e9424ecd fixed bad constructor thing. 2000-04-28 00:10:22 +00:00
rogerl%netscape.com 62485331a6 More exception handling handling. 2000-04-27 01:27:09 +00:00
beard%netscape.com 427dc1a8eb oops. 2000-04-26 22:10:20 +00:00
beard%netscape.com 758222941a removed JSMap::operator[], added set/getPrototype(). 2000-04-26 22:06:17 +00:00
beard%netscape.com 36a2941e26 oops getProperty() can't be const unless map.find() is used everywhere. 2000-04-26 21:48:04 +00:00
beard%netscape.com 94c129e6fd Using getProperty/setProperty rather than JSMap::operator[]. This follows the prototype chain. 2000-04-26 21:38:14 +00:00
beard%netscape.com c7426026d9 added JSMap::setProperty()/getProperty(), and a prototype field. 2000-04-26 21:27:44 +00:00
rginda%netscape.com a0058d1d8d initial add of debugger vapors 2000-04-26 06:04:02 +00:00
beard%netscape.com 77ef914838 Fixing windows bustage in Linkage. 2000-04-26 05:56:20 +00:00
beard%netscape.com 563b59ef15 fixing bug: js2.cpp:328: Internal compiler error in scope_die_for, at dwarf2out.c:7794 Please submit a full bug report. See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions. 2000-04-26 05:43:24 +00:00
beard%netscape.com 8a97a98204 testFactorial() now installs a Context::Listener to trace execution. 2000-04-26 05:37:00 +00:00
beard%netscape.com 4ae9bfec81 JSActivation -> Activation, JSLinkage --> Linkage. Linkage now implements the Context::Frame interface. Implemented simple Context::Listener support. 2000-04-26 05:35:07 +00:00
beard%netscape.com 36879f0ce5 Added Context::Frame, Context::Listener abstract classes. Initial support for debugger. 2000-04-26 05:29:35 +00:00
beard%netscape.com 4cb6fe2a7b JSFrame -> JSLinkage, using explicit linked list rather than a stack. 2000-04-26 01:42:00 +00:00
beard%netscape.com 9b7ed9578b removed intentionally private JSActivation/JSFrame types. The debugger should be able to ask questions of the interpreter to obtain this information. 2000-04-26 01:39:56 +00:00
beard%netscape.com 27fc318bb1 changed Context constructor to take JSObject* not JSObject&, to be able to control lifetime a little more carefully. 2000-04-25 03:32:53 +00:00
beard%netscape.com 6a4bca91fe warning removal 2000-04-25 03:28:41 +00:00
beard%netscape.com 39551bc785 fixing mac bustage (we do reference argc/argv, to initialize them to something sensible). 2000-04-25 02:58:30 +00:00
beard%netscape.com 9d7aed4cd0 renamed not() -> complement() (not is a keyword in C++), implemented complement(). 2000-04-25 02:55:08 +00:00
rogerl%netscape.com 1b75c7efbb Fixes for handling missing params. 2000-04-24 22:40:53 +00:00
rginda%netscape.com 5edf52ba65 adding comments 2000-04-24 21:43:49 +00:00
rginda%netscape.com 5945808db5 NotARegister check in GenericBranch::print() 2000-04-24 20:08:16 +00:00
rginda%netscape.com 66299105f3 quieting linux warnings 2000-04-24 18:41:05 +00:00
rogerl%netscape.com f516a5722d Added a beginning for exception handling. 2000-04-21 22:52:52 +00:00
rogerl%netscape.com ca67259713 oops 2000-04-21 00:46:48 +00:00
rogerl%netscape.com 5e238bd7a5 Added labelled statements, fixed some VC++'isms 2000-04-21 00:37:51 +00:00
rginda%netscape.com 7615ee9226 icodegenerator.cpp
add m prefix to base and offset label members

interpreter.cpp,h
dual license
wrap interpret in a Context class
add RETURN_VOID case

js2.cpp
update to use context class
remove #if 0 code that'll probably never be used anyway.

jstypes.h
add defineProperty/function to JSObject

vmtypes.h
regerated opcode classes:
  added RETURN_VOID, removed LOAD/SAVE_VAR
  reverted bacl to the smaller print function (thanks to RETURN_VOID)
  fixed branch printing issue
  inherit print() from super if possible

tools/gencode.pl
generate smaller print functions again
don't generate print function if superclass can take care of it.
2000-04-21 00:04:14 +00:00
beard%netscape.com d7ad5021eb Simple dependency tracking with make depend target. 2000-04-20 23:02:19 +00:00
beard%netscape.com 30971c4c45 Simple dependencies list. Rebuilt with make depend target. 2000-04-20 22:58:23 +00:00
beard%netscape.com 9acaa398fe removed extraneous semi-colons after namespace declarations. 2000-04-20 06:20:31 +00:00
beard%netscape.com bb0348e64d warnings: commented out unused parameter name. 2000-04-20 06:19:43 +00:00
rogerl%netscape.com 5199f6e49c Removing variables. 2000-04-19 22:45:57 +00:00
rogerl%netscape.com 7b7fc3829f Began moving away from variables, fixed compare/branch ordering.
Testcases working.
2000-04-19 02:09:06 +00:00
rginda%netscape.com 3a06b96f97 formatting changes. use only one tab regardless of nested namespaces 2000-04-18 21:51:45 +00:00
rginda%netscape.com 1952e14ff8 removed superfluous ;s after namespace decs. 2000-04-18 07:14:49 +00:00
rginda%netscape.com 531ede4f17 regenerated opcode classes after grncode.pl changes 2000-04-18 07:06:25 +00:00
rginda%netscape.com 33d0848741 modified to print R~ if NotARegister 2000-04-18 07:04:24 +00:00
rogerl%netscape.com fce9fa62b1 added '(' for RegisterList output 2000-04-18 01:46:32 +00:00
rginda%netscape.com 8ac24b9045 regenerated opcodenames to include padding, added label printing back into icg::print 2000-04-18 01:31:24 +00:00
rginda%netscape.com b0eca07a47 space out opcodenames array 2000-04-18 01:19:12 +00:00
beard%netscape.com 52d7e01394 std::pair 2000-04-18 00:52:07 +00:00
beard%netscape.com 7add6915a1 moved initConsole() out to :: namespace. 2000-04-18 00:51:53 +00:00
beard%netscape.com c18125076f added vmtypes.h,.cpp 2000-04-18 00:50:58 +00:00
rogerl%netscape.com f163805c99 added vmtypes/jstypes 2000-04-18 00:46:18 +00:00
rogerl%netscape.com 0e17feea55 Fixed WINDOZE build issues 2000-04-18 00:38:26 +00:00
rginda%netscape.com 73017de6a1 initial add of perl script to generate icode classes 2000-04-18 00:22:51 +00:00
rginda%netscape.com 5a6fd84159 removing bogus file 2000-04-18 00:20:10 +00:00
rginda%netscape.com 0fac613959 adding files for namespace change 2000-04-18 00:19:09 +00:00
rginda%netscape.com 66cb26879d added js::VM, ICG, JSTypes, and Interpreter namespaces; messed around with lots of code.
Created class for each ICode, adding a print() method (using formatters)
2000-04-18 00:17:34 +00:00
beard%netscape.com 02798c9177 FASTLOCK changes. 2000-04-17 23:58:28 +00:00
beard%netscape.com e82b4e2532 gc_base now used as common base class of GC allocated objects. 2000-04-13 04:54:41 +00:00
beard%netscape.com 56d97a71e9 added gc_base, which defines a more generic operator new(). 2000-04-13 04:53:56 +00:00
beard%netscape.com d92905d034 builds gc 2000-04-13 00:37:00 +00:00
beard%netscape.com 1468acd8d1 Added gc_allocator.h to project and gc.lib to link against. 2000-04-13 00:28:40 +00:00
beard%netscape.com a1bed20974 linking in gc.lib from ../../gc/boehm 2000-04-13 00:16:58 +00:00
beard%netscape.com 2922707730 enabling GC on all platforms 2000-04-13 00:14:23 +00:00
beard%netscape.com 12ccc48ec4 JSActivation, JSFunction 2000-04-11 05:11:58 +00:00
beard%netscape.com 95604b5bff Added JSFunction, defineFunction() 2000-04-11 05:10:40 +00:00
beard%netscape.com c721ec102b defineFunction, added assert 2000-04-11 05:09:38 +00:00
beard%netscape.com b574e77f13 _Charalloc, deallocate(void*) for _WIN32 only 2000-04-11 04:55:27 +00:00
beard%netscape.com 92ec71fb35 defineGlobalProperty 2000-04-11 03:11:47 +00:00
beard%netscape.com af1f41fb7d JSObject, JSArray : public JSMap, gc_object<T>. Frame -> JSFrame. Added JSFrameStack which is an std:stack<JSFrame*, std:vector<JSFrame*> >. 2000-04-11 03:11:00 +00:00
beard%netscape.com 8ef180ab04 use gc_allocator<T> everywhere, addGlobalProperty -> defineGlobalProperty 2000-04-11 03:07:39 +00:00
beard%netscape.com 2930dfd621 removed commented out GET_PROP/SET_PROP. 2000-04-11 02:59:52 +00:00
beard%netscape.com 8bd406efae added gc_object. 2000-04-11 02:59:14 +00:00
beard%netscape.com f7fdcbff8b fixing an assert and warnings 2000-04-11 01:10:26 +00:00
rogerl%netscape.com 2757a2004e CALL opcode & frames etc. (r=beard) 2000-04-11 00:32:17 +00:00
waldemar%netscape.com 84bdf052ab Fixed delete/delete[] mismatch 2000-04-10 22:23:17 +00:00
waldemar%netscape.com d1e89106de Fixed memory leak 2000-04-10 22:20:00 +00:00
beard%netscape.com 1edba28c48 Fixed warnings about member initializers on Linux. Whatever. 2000-04-08 04:49:41 +00:00
beard%netscape.com 14a585783b Reduced size of args arrays to minimum. 2000-04-08 04:41:19 +00:00
beard%netscape.com 138afee3b4 Reordered parameters to getProperty()/setProperty() to be consistent with operand ordering. Added array allocation/indexing to testObjects(). 2000-04-08 04:15:02 +00:00
beard%netscape.com 6337059f6f JSArray::elements(1), operator[](const JSValue&), fixed register-indexing. 2000-04-08 04:12:28 +00:00
beard%netscape.com f589a1ab24 Fixed NEW_ARRAY, GET_ELEMENT, SET_ELEMENT printing., 2000-04-08 04:11:16 +00:00
beard%netscape.com 8c93fb3d06 NEW_ARRAY 2000-04-08 03:37:49 +00:00
beard%netscape.com 0822793571 Reordered GetProp/SetProp operands to base, name. Added NewArray, GetElement, SetElement instructions. 2000-04-08 03:37:18 +00:00
beard%netscape.com afd93b4e07 added JSArray, GET_ELEMENT, SET_ELEMENT, changed some ops to dest/src. 2000-04-08 03:23:44 +00:00