kipp%netscape.com
188755230c
Convert to a module from a component
1999-09-30 21:47:04 +00:00
kipp%netscape.com
843961c1ed
Fixed shutdown related memory leaks
1999-09-30 21:12:33 +00:00
beard%netscape.com
fca5f34231
fixed output directory
1999-09-29 16:11:58 +00:00
beard%netscape.com
893b5b6374
fixed source folder name
1999-09-29 16:10:25 +00:00
beard%netscape.com
413c8ef2c7
build debugger with CW Pro 4.
1999-09-29 16:07:22 +00:00
beard%netscape.com
36454ca749
builds the optimizer using CW Pro 4.
1999-09-29 15:55:29 +00:00
sfraser%netscape.com
ff4d90f6a8
More type mismatch fixing for shavear
1999-09-29 03:07:27 +00:00
shaver%netscape.com
a0d5aa9034
nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann
1999-09-29 02:36:54 +00:00
dmose%mozilla.org
8370e8419f
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
ba6c2c928a
Add example of classfile generation.
1999-09-27 23:21:01 +00:00
norris%netscape.com
89da8cb66c
Changes for classfile generation.
1999-09-27 23:17:29 +00:00
rogerl%netscape.com
67dc9fdf6d
Better error handling for interpreter.
1999-09-27 17:47:51 +00:00
rogerl%netscape.com
a71f31edb6
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
5a3d2224bb
Stash originating source file for error reporting
1999-09-27 17:45:26 +00:00
rogerl%netscape.com
3da3ea5d84
ECMA 3 array length error handling.
1999-09-27 17:44:30 +00:00
rogerl%netscape.com
836156934b
Execute exec in the global scope.
1999-09-27 17:43:40 +00:00
rogerl%netscape.com
00f4d796de
New tokens to support better error messages from Interpreter.
1999-09-27 17:43:07 +00:00
rogerl%netscape.com
1ddb9fac14
Added -c <classpath> option to specify, you guessed it, a classpath.
1999-09-27 17:41:44 +00:00
shaver%netscape.com
eb1c17fcbf
unlock in fun_enumProperty, r,a=brendan
1999-09-27 08:24:36 +00:00
shaver%netscape.com
ea329b2c77
properly unlock object, preventing ugly crash with |if (foo in noFoo)|
1999-09-27 06:04:54 +00:00
shaver%netscape.com
8b22629a75
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
be6b1333d1
new
1999-09-25 20:11:47 +00:00
kipp%netscape.com
709be3f433
Init all variables, not just some of them
1999-09-25 20:07:20 +00:00
beard%netscape.com
c8a74166b5
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
d9a9d82316
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
82ff8f1cea
Fixed generateSuper when override has void return type.
1999-09-25 01:37:32 +00:00
norris%netscape.com
a600a94fa3
Shorten name to make Mac developers happy.
1999-09-24 21:05:41 +00:00
norris%netscape.com
9dbb033545
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
71bee08e21
Remove '.js' from SECTION.
1999-09-24 20:16:55 +00:00
norris%netscape.com
e3ce18cbc8
Propagate files from old netscape code.
1999-09-24 20:05:59 +00:00
norris%netscape.com
4c9c27afaa
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
45eaa0a35f
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
6c69fd36dc
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
d06b137123
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
0dc3695919
fix build bustage for dp.
1999-09-24 02:52:46 +00:00
dp%netscape.com
c39d8df3c8
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
8cb72034b7
New error for wacky array lengths, ECMA 3
1999-09-23 23:19:00 +00:00
cbegle%netscape.com
4074949318
update script to report an error if no tests passed.
1999-09-23 23:00:38 +00:00
cbegle%netscape.com
31047a3404
just changing the section name so it doesn't break norris's script.
1999-09-23 22:59:20 +00:00
norris%netscape.com
3d5cdd4959
Fix some Array tests in the ecma suite.
1999-09-23 20:37:56 +00:00
norris%netscape.com
b48d0978c2
change FAILED color to red
1999-09-23 17:26:22 +00:00
norris%netscape.com
11308fecf0
Add test driver for rhino.
1999-09-23 17:24:14 +00:00
rogerl%netscape.com
84e2dbf549
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
b21d1d574c
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
e798fcce86
Fix "wapper".
1999-09-22 16:25:21 +00:00
beard%netscape.com
b4d5f900ca
JavaAdapter no longer uses FlattenedObject, since the prototype is simply the LiveConnect wrapper.
1999-09-22 08:22:53 +00:00
beard%netscape.com
ec3b77cdbb
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
ec2936ce41
- 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
45707b847c
new Array("string") should be ["string"], not silent failure (14545, r=brendan)
1999-09-22 04:36:28 +00:00
beard%netscape.com
fee310a6a7
renamed "name" parameter "adapterName", removed explicit StringBuffer in favor of "adapter" + serial++ for clarity.
1999-09-22 03:54:00 +00:00