kipp%netscape.com
3dc38d7da4
Fixed shutdown related memory leaks
1999-09-30 21:12:33 +00:00
beard%netscape.com
978fa797c2
fixed output directory
1999-09-29 16:11:58 +00:00
beard%netscape.com
1803aa06ab
fixed source folder name
1999-09-29 16:10:25 +00:00
beard%netscape.com
d54d7ae821
build debugger with CW Pro 4.
1999-09-29 16:07:22 +00:00
beard%netscape.com
cf51c97bad
builds the optimizer using CW Pro 4.
1999-09-29 15:55:29 +00:00
sfraser%netscape.com
65d0896a12
More type mismatch fixing for shavear
1999-09-29 03:07:27 +00:00
shaver%netscape.com
7a5b9d5e55
nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann
1999-09-29 02:36:54 +00:00
dmose%mozilla.org
16e0d1f95e
update license boilerplate to NPL-1.1 dual-licensed with the GPL. a=brendan, r=brendan.
1999-09-28 23:12:09 +00:00
norris%netscape.com
edd009bad1
Add example of classfile generation.
1999-09-27 23:21:01 +00:00
norris%netscape.com
40f1ee60cc
Changes for classfile generation.
1999-09-27 23:17:29 +00:00
rogerl%netscape.com
854aa7f8a3
Better error handling for interpreter.
1999-09-27 17:47:51 +00:00
rogerl%netscape.com
4953124561
Changes from Kurt Westerfield to improve error messages from Interpreter
...
by passing line/file data through bytecode.
1999-09-27 17:47:05 +00:00
rogerl%netscape.com
861193d030
Stash originating source file for error reporting
1999-09-27 17:45:26 +00:00
rogerl%netscape.com
0f93133878
ECMA 3 array length error handling.
1999-09-27 17:44:30 +00:00
rogerl%netscape.com
4238d6f520
Execute exec in the global scope.
1999-09-27 17:43:40 +00:00
rogerl%netscape.com
08abcd5436
New tokens to support better error messages from Interpreter.
1999-09-27 17:43:07 +00:00
rogerl%netscape.com
0bdd913940
Added -c <classpath> option to specify, you guessed it, a classpath.
1999-09-27 17:41:44 +00:00
shaver%netscape.com
44047c7580
unlock in fun_enumProperty, r,a=brendan
1999-09-27 08:24:36 +00:00
shaver%netscape.com
8d0545f569
properly unlock object, preventing ugly crash with |if (foo in noFoo)|
1999-09-27 06:04:54 +00:00
shaver%netscape.com
63cbd3c409
Fix leak of native path in AutoRegisterComponents.
...
Save registry data for failed components.
Make the loader work again (fix suffix length and init crash).
Better error reporting.
1999-09-27 02:22:25 +00:00
kipp%netscape.com
29c7fcb9b4
new
1999-09-25 20:11:47 +00:00
kipp%netscape.com
a04392a6c0
Init all variables, not just some of them
1999-09-25 20:07:20 +00:00
beard%netscape.com
9675752f93
Fixed looking up 'length' property in Function objects: needed to look up prototype chain for zero arguments. Cleaned up some more, always storing Boolean.TRUE in local hash tables, rather than the method, methodKey or methodName.
1999-09-25 09:24:23 +00:00
beard%netscape.com
620e43cd95
Added ClassSignature, a key for caching generated adapter classes. Now passing superName, rather than superClass to constructor generation methods.
1999-09-25 08:11:24 +00:00
beard%netscape.com
38ef2b2d81
Fixed generateSuper when override has void return type.
1999-09-25 01:37:32 +00:00
norris%netscape.com
e6517361c6
Shorten name to make Mac developers happy.
1999-09-24 21:05:41 +00:00
norris%netscape.com
d51c86ce41
Patches from Kurt Westerfeld for JavaScript property access to JavaBeans.
...
Subject:
Re: [Fwd: [Bug 13658] Changed - Rhino: null pointer exception on class with duplicate field/method]
Date:
Mon, 13 Sep 1999 20:57:32 -0400
From:
"Kurt Westerfeld" <kurt@westerfeld.com>
To:
"Norris Boyd" <norris@netscape.com>
I do have a patch for this, but it is intermixed with some other changes
that I have implemented for the get/set on Java instances (per my LC3
proposal). The bug requires changes that are a little involved actually;
basically it seems that when getting the default value for a "field and
methods" (which combines the same-named entities), the prototype of the
parent scope is deref-ed, and the parent scope is null. Hence, the scope
must be passed into the the cloned field and method values.
Also, the NativeJavaClass implementation passed "false" for isStatic on the
constructor of the FieldAndMethods Hashtable, which results in classes
having instance methods. Bad. I haven't filed a bug on that yet.
Additionally, I fixed a couple other NullPointerException nigglies thrown in
when exceptions are propagated in the same area. Finally, when getting the
default value for the field, it is helpful to convert a Scriptable to string
when that is requested (as when typing in the console).
I am attaching the changed files. The LC3++ code can be removed if you
want, which I can do for you but it will take a little longer. What is your
preference?
-----Original Message-----
From: Norris Boyd <norris@netscape.com>
To: Kurt Westerfeld <kurt@westerfeld.com>
Date: Monday, September 13, 1999 4:54 PM
Subject: [Fwd: [Bug 13658] Changed - Rhino: null pointer exception on class
with duplicate field/method]
>Kurt,
>
>Is this the bug that your patch fixes?
>
>Thanks,
>Norris
>
1999-09-24 20:41:43 +00:00
norris%netscape.com
f69a840b1e
Remove '.js' from SECTION.
1999-09-24 20:16:55 +00:00
norris%netscape.com
250df9809f
Propagate files from old netscape code.
1999-09-24 20:05:59 +00:00
norris%netscape.com
ec0d89055e
Implement the "cast" of java class objects so that js objects in java adapters can
...
use 'this' for the implemented java interface.
1999-09-24 18:20:08 +00:00
beard%netscape.com
b0a911e500
Added "generateSuper" which generates a method called "super$method()" which when called calls "super.method()." This is provided to support full sub-classing of Java classes from JavaScript.
1999-09-24 18:17:05 +00:00
beard%netscape.com
5185946b51
added a prototype field, so that a wrapped JavaAdapter can preserve the delegate object's original prototype chain.
1999-09-24 16:52:23 +00:00
beard%netscape.com
24a3e9d1a9
setAdapterProto: now splices in wrapper's prototype, rather than replacing object's original prototype chain. seems to work fine.
1999-09-24 16:51:25 +00:00
mscott%netscape.com
0c4f5eb9c9
fix build bustage for dp.
1999-09-24 02:52:46 +00:00
dp%netscape.com
0642f2e13a
Fixing jsloader not to hold reference to component manager. (shaver)
...
Some initialization of members and checking at desctruction. (dp)
1999-09-24 01:37:44 +00:00
rogerl%netscape.com
167a47ffdb
New error for wacky array lengths, ECMA 3
1999-09-23 23:19:00 +00:00
cbegle%netscape.com
fc84d5f9c3
update script to report an error if no tests passed.
1999-09-23 23:00:38 +00:00
cbegle%netscape.com
9476968b49
just changing the section name so it doesn't break norris's script.
1999-09-23 22:59:20 +00:00
norris%netscape.com
faa7950d23
Fix some Array tests in the ecma suite.
1999-09-23 20:37:56 +00:00
norris%netscape.com
a6ed48495a
change FAILED color to red
1999-09-23 17:26:22 +00:00
norris%netscape.com
91b5e29282
Add test driver for rhino.
1999-09-23 17:24:14 +00:00
rogerl%netscape.com
71eb1ee9d3
Can't assume object in reportConversionError is scriptable, so call more
...
generic java.object.toString instead.
1999-09-22 22:06:14 +00:00
norris%netscape.com
f8b25c9abd
Allow a java.lang.String to be converted to a primitive string in getDefaultValue
1999-09-22 16:30:49 +00:00
norris%netscape.com
9a0f128be4
Fix "wapper".
1999-09-22 16:25:21 +00:00
beard%netscape.com
d080c25c1d
JavaAdapter no longer uses FlattenedObject, since the prototype is simply the LiveConnect wrapper.
1999-09-22 08:22:53 +00:00
beard%netscape.com
1b108bb46a
JavaAdapter no longer uses FlattenedObject, since the prototype is simply the LiveConnect wrapper. Simplified callMethod to only call Context.enter() if methodId property is defined in Scriptable object.
1999-09-22 08:22:47 +00:00
brendan%mozilla.org
d70aa0ef6b
- Enable JS_HAS_NEW_OBJ_METHODS (Object.prototype.hasOwnProperty, isPrototypeOf
...
and propertyIsEnumerable) for JS1.5.
- Optimize obj_propertyIsEnumerable to avoid extra lookup code bloat, requiring
fix to js_GetAttributes (unset out param on successful early retunr) that it
exposed.
- Use more righteous else-if style in shaver's jsarray.c change.
1999-09-22 05:54:44 +00:00
shaver%netscape.com
c254a808f0
new Array("string") should be ["string"], not silent failure (14545, r=brendan)
1999-09-22 04:36:28 +00:00
beard%netscape.com
0bb5087bad
renamed "name" parameter "adapterName", removed explicit StringBuffer in favor of "adapter" + serial++ for clarity.
1999-09-22 03:54:00 +00:00
shaver%netscape.com
b42e435cb0
add componentType to nsIModule::RegisterSelf
1999-09-22 03:18:27 +00:00