beard%netscape.com
8558f071a4
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
486d1cc51a
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
27b088f22a
Removed JSType::isClassType().
2000-06-24 02:51:34 +00:00
beard%netscape.com
565b0389db
Added JSClass::get/setConstructor().
2000-06-24 02:51:03 +00:00
beard%netscape.com
9fd0505086
Added call to constructor when executing NEW_CLASS.
2000-06-24 02:50:23 +00:00
beard%netscape.com
47638a00c7
Generating default constructor to run slot initializers.
2000-06-24 02:49:45 +00:00
beard%netscape.com
146e187c7b
testCompile() is static
2000-06-24 01:04:58 +00:00
rogerl%netscape.com
e497a7809f
typing 'this'
2000-06-24 01:02:34 +00:00
rogerl%netscape.com
432c8b3cdc
Got newClass working, added printProperties for instances, some slot
...
stuff is happening.
2000-06-24 00:50:59 +00:00
beard%netscape.com
f304229d7f
added NEW_CLASS instruction, to instantiate classes.
2000-06-23 23:49:48 +00:00
beard%netscape.com
35b239cd47
added NEW_CLASS instruction.
2000-06-23 23:49:17 +00:00
rogerl%netscape.com
e939fbddc4
Adding slot handling to code gen.
2000-06-23 23:43:24 +00:00
beard%netscape.com
841b79b5eb
added NEW_CLASS instruction.
2000-06-23 23:41:27 +00:00
beard%netscape.com
da108e7b96
Added JSClass::hasSlot, getSlotCount(), and JSInstance.
2000-06-23 23:25:55 +00:00
beard%netscape.com
9f413f408b
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
89515e83dc
Removed FUNCTION instruction, other class related junk.
2000-06-23 22:53:09 +00:00
rginda%netscape.com
da45d9b0eb
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
ea920b48c8
Add return statement if the function doesn't end with one
2000-06-23 21:20:03 +00:00
beard%netscape.com
da19218b3e
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
95adc8b187
Additional JSClass processing: defining slots, generating methods.
2000-06-23 05:13:04 +00:00
beard%netscape.com
ca9001f387
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
6ccb94e600
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
dee62b8d67
remove unused file.
2000-06-23 04:10:04 +00:00
drapeau%eng.sun.com
7f384b86a6
Two main things:
...
1) Fix for 23775 (three files changed for this)
2) Many OJI unit tests added.
2000-06-23 02:28:31 +00:00
beard%netscape.com
f7c44fcf6f
putting the JSClass* in the current global scope, and looking up superclass rereferences.
2000-06-23 02:22:55 +00:00
rogerl%netscape.com
33c9eb064a
Added support for 'debugger' as a statement. (Rob made me)
2000-06-23 00:08:10 +00:00
beard%netscape.com
5ee7d6da77
JSClass support.
2000-06-21 23:58:17 +00:00
beard%netscape.com
124280ce07
initial checkin, starting on a representation for JS2 classes.
2000-06-21 23:57:09 +00:00
rogerl%netscape.com
f2591282dc
Work to support 'this'.
2000-06-21 22:32:21 +00:00
nboyd%atg.com
e7359ce462
Fix javadoc warning
2000-06-21 15:49:14 +00:00
rogerl%netscape.com
27e254fee3
Changed use of Register to TypedRegister throughout.
2000-06-20 22:45:45 +00:00
rogerl%netscape.com
8a71a568af
Support for TypedRegister
2000-06-20 22:44:46 +00:00
pavel%gingerall.cz
f8ce45f144
- workaround of -rdynamic (JS_PERLCONNECT only)
2000-06-16 08:56:03 +00:00
brendan%mozilla.org
5c53e520b1
sfraser@netscape.com's fine GC_MARK_DEBUG enhancement for XPConnect.
2000-06-16 04:34:00 +00:00
rogerl%netscape.com
a8a18e9d21
Added tests for scripts as strings.
2000-06-16 01:37:47 +00:00
rogerl%netscape.com
ecd0d99e85
Mucking about with operator overlaoding plus initializing global context
...
- beginning type stuff.
2000-06-16 01:36:59 +00:00
rogerl%netscape.com
670a8310fb
Fixed spelling.
2000-06-16 01:35:25 +00:00
rogerl%netscape.com
b2f3dff014
Added op= support.
2000-06-15 16:03:54 +00:00
nboyd%atg.com
4242e00f01
Wrapping a class produces a NativeJavaClass.
2000-06-15 14:00:31 +00:00
rogerl%netscape.com
c354e43376
Mark top-level execution as 'script' rather than function - to handle
...
vars correctly.
2000-06-14 23:28:38 +00:00
rogerl%netscape.com
5762b34619
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
6526fedd31
Adding support for Functions and Vars, preXcrement, object literals.
2000-06-14 23:26:15 +00:00
nboyd%atg.com
999f43aaec
Fix bug 42097
2000-06-14 13:39:44 +00:00
pavel%gingerall.cz
fff3bf7638
- fixes in original version of perlconnect (JSVALToSV SVToJSVAL etc.)
...
- object delegation (like JSCreateObject) Perl->JS
- ParlValue handles PerlObject correctly
- undef values handled correctly (in both directions)
- JS arrays may be tied to perl arrays
- error handlers supported on Perl side
- no globals
- several minor fixes
2000-06-14 07:23:58 +00:00
pavel%gingerall.cz
0c07208dc5
- minor change of jsperl.h inclusion, matters for perlconnect build only
2000-06-14 07:18:41 +00:00
rginda%netscape.com
2ebc0a5b20
-- NOT PART OF THE BUILD --
...
Conditionally build lcshell w/ jdk 1.1.8 or 1.2.2 on windows
2000-06-14 00:14:56 +00:00
mkaply%us.ibm.com
737d9fb1b4
# 37239
...
r = mccabe, a = brendan
OS/2 bring-up - PR_CALLBACK for VisualAge
2000-06-14 00:07:08 +00:00
mccabe%netscape.com
3a709facd8
First part of fix for 38495, support for exposing plugin methods to JavaScript.
...
This patch teaches XPConnected objects to look in their JavaScript __proto__ chain for any names they can't resolve themselves. The rest of the fix to this bug sets the original DOM node object as the prototype of a new xpconnect-exposed plugin object, so javascript accesses will see names from both objects.
r=jst,brendan
a=beard
2000-06-13 23:18:21 +00:00
nboyd%atg.com
341e3b8ddf
Begin 1.5R2 effort.
...
Commit the following contributions:
* Andi Vajda's changes to allow embedders to capture the generated bytecode (and thus control
generated class names).
* Marshall Cline's changes to allow embedders to override the default Java object wrapping
behavior
* Kurt Westerfeld's change to handle calling static methods better
2000-06-13 14:33:54 +00:00
scc%mozilla.org
507357239c
fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms
2000-06-12 23:52:31 +00:00