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

3409 Коммитов

Автор SHA1 Сообщение Дата
pschwartau%netscape.com 59e4a786e2 Whitespace cleanup. 2001-05-16 22:45:11 +00:00
brendan%mozilla.org 06f0438169 Fix ChangeTable and how it's called (74883, r=gordon, sr=waterson, mcafee approved). 2001-05-16 21:41:52 +00:00
pschwartau%netscape.com 4adbbdc4cd Initial add. Regression test for bug 76054 in SpiderMonkey and bug 78706 in Rhino. 2001-05-16 19:01:42 +00:00
nboyd%atg.com a3b732253c Fix bug 78706 2001-05-16 14:07:00 +00:00
Xiaobin.Lu%eng.Sun.com 756c0b5663 r=timeless sr=shaver
bug 72807 "c++ style comment warning"
2001-05-16 02:24:44 +00:00
beard%netscape.com 27aad76ca1 Removed:
ScopeInitializer.java
2001-05-16 01:10:19 +00:00
nboyd%atg.com 7e6a408e26 2 additional issues:
1. In that patch I forgot to remove "import org.mozilla.classfile.*" and
simply catch Exception in newInvokerMaster which is not a good practice.
The attached patch FunctionObject_patch fixes that and removes other
unused imports.

2. In org.mozilla.classfile.DefiningClassLoader defineClass method first
tries to call via ClassManager the defineClass method in a class loader
that loaded DefiningClassLoader itself. But this would define new
classes in that class loader so they would not be subject of the garbage
collection until a classloader that loads DefiningClassLoader would go
away even if a DefiningClassLoader instance is gone. The
DefiningClassLoader_patch removes that and simply calls super.defineClass.

The patch also change the order of class search in loadClass so the
loader first looks for a class among its defined classes and only after
that in parent loaders.

Regards, Igor
2001-05-16 00:24:37 +00:00
pschwartau%netscape.com a65a6f3bb9 Initial add. Regression test for bug 74474. 2001-05-15 22:01:39 +00:00
pschwartau%netscape.com 7e1ec21bff Renaming this file as regress-74474-001.js 2001-05-15 22:00:42 +00:00
brendan%mozilla.org 3de6d8412c Add optional JSDHashTableOps.initEntry hook, spruce up comments (74883, r=waterson, sr=shaver). 2001-05-15 21:07:10 +00:00
sfraser%netscape.com 39abe1a751 Testing, NOT PART OF ANYTHING 2001-05-15 20:57:01 +00:00
rginda%netscape.com 9d4b8b8128 bug 76050, use the same module name across the module. Fix senna bustage. r=cls 2001-05-15 20:40:43 +00:00
rginda%netscape.com a7060622bf bug 76050, fix REQUIRES for jsd unix makefile. r=cls 2001-05-15 20:39:35 +00:00
rginda%netscape.com db388b7464 bug 76050, build js/jsd from toplevel makefile so we're sure we've got an xpidl compiler. r=cls 2001-05-15 20:38:26 +00:00
brendan%mozilla.org 7f433d7aea Re-init pinned atoms after 1=>0=>1 contexts-in-runtime transition (80619, sr=jband&shaver). 2001-05-15 19:39:16 +00:00
jband%netscape.com 6823a77ccc remove commented out code 2001-05-15 19:15:30 +00:00
nboyd%atg.com 6a2409561b 2 additional issues:
1. In that patch I forgot to remove "import org.mozilla.classfile.*" and
simply catch Exception in newInvokerMaster which is not a good practice.
The attached patch FunctionObject_patch fixes that and removes other
unused imports.

2. In org.mozilla.classfile.DefiningClassLoader defineClass method first
tries to call via ClassManager the defineClass method in a class loader
that loaded DefiningClassLoader itself. But this would define new
classes in that class loader so they would not be subject of the garbage
collection until a classloader that loads DefiningClassLoader would go
away even if a DefiningClassLoader instance is gone. The
DefiningClassLoader_patch removes that and simply calls super.defineClass.

The patch also change the order of class search in loadClass so the
loader first looks for a class among its defined classes and only after
that in parent loaders.

Regards, Igor
2001-05-15 16:58:08 +00:00
beard%netscape.com f9ac4a4f5d Removed: src/org/mozilla/javascript/optimizer/JavaScriptClassLoader.java Added: src/org/mozilla/javascript/optimizer/InvokerImpl.java src/org/mozilla/classfile/DefiningClassLoader.java 2001-05-15 15:41:44 +00:00
nboyd%atg.com f3a596d65d New file, mostly moved from org.mozilla.javascript.optimizer.JavaScriptClassLoader 2001-05-15 13:12:43 +00:00
nboyd%atg.com 64798ecbb6 Norris Boyd wrote:
> Igor Bukanov wrote:
>
>
>>Norris Boyd wrote:
>>
>>
>>>The intention was to keep classfile and JavaAdapter optional. Those
>>>dependencies crept in. We can use Invoker optionally--perhaps I should do
>>>some performance numbers to see if it's worth it.
>>>
>>I implemented that patch, it splits Invoker.java into Invoker.java and
>>its implementation in optimizer/InvokerImpl.java The reason to put it
>>into optimizer package is that Invoker is very similar in spirit to
>>NativeScript: it generates classes to speed up access and in this way
>>there is no need to have separated option not to use: one can simply
>>remove optimizer all together.
>>
>
> Yes, that sounds great.
>
>
>>
>>I noticed during implementation that JavaAdapter.DefiningClassLoader and
>>optimizer/JavaScriptClassLoader contains the same code, so maybe they
>>can be moved to org.mozilla.classfile package under one name?
>>
>
> Yes, that sounds like a good change too. Thanks for noticing that.


The update is pretty messy: it touches FunctionObject which I changed to
remove the special treatment of NativeWith in the previous patch, and it
also add/removes files.

Here is a description:
DefiningClassLoader.java should go to org/mozilla/classfile. It is the
same code that was in omj/optimizer/JavaScriptClassLoader.java with
class rename and adding public attribute and correspondingly
omj.optimizer/JavaScriptClassLoader.java should be removed. I guess it
would be nice to preserve logs/history in CVS during the move.

InvokerImpl.java should go to omj/optimizer. It is mostly what
omj.Invoker was.

invoker_changes_patch was generated via
cvs diff -u Invoker.java JavaAdapter.java optimizer/Codegen.java
and contains changes against the current CVS

FunctionObject_invoker_patch was generated via
diff -u ../../mozilla.1/javascript/FunctionObject.java FunctionObject.java
and contains changes against that With patch.

Igor
2001-05-15 13:10:38 +00:00
rginda%netscape.com 6da2fab05f fix to help senna tinderbox find PRClist 2001-05-15 07:55:34 +00:00
rginda%netscape.com 270be09339 fix ports bustage 2001-05-15 07:42:58 +00:00
rginda%netscape.com 4531873faa disable js debugger until I can figure out what's going on with shrike 2001-05-15 07:07:36 +00:00
rginda%netscape.com ce5fcf9974 bug 76050, js debugger unix make system changes, r=cls 2001-05-15 05:48:08 +00:00
nboyd%atg.com 1ff4e60251 The attached patch makes NativeWith to use IdFunction for its
constructor, removes the special treatment of the With object from
IdScriptable and FunctionObject, adds to IdFunction the
initAsConstructor method similar in spirit to
FunctionObject.addAsConstructor (it is called now from IdScriptable and
NativeWith) and replaces in Context.java lazy initialization of
NativeWith by direct call of NativeWith.scopeInit.
2001-05-15 01:17:51 +00:00
pschwartau%netscape.com 024f7144c7 Whitespace cleanup - 2001-05-15 00:08:27 +00:00
rginda%netscape.com 78f5f69a15 - not built -
add required libraries to unix make
2001-05-14 21:59:01 +00:00
beard%netscape.com 97d606e02c Added idswitch tool sources. 2001-05-14 06:52:39 +00:00
beard%netscape.com 5ae8ff2f57 Added IdFunctionMaster.java to keep Mac build working. 2001-05-14 06:48:07 +00:00
rginda%netscape.com 732a56c73c - not built -
check for valid PC in ClearBreakpoint
Lock script subsystem while clearing all breakpoints
2001-05-13 21:08:06 +00:00
rginda%netscape.com 7b66a6f592 - not built -
Convert JS_SetTrap closure to a jsval so it works like a GC thing.
2001-05-13 21:07:03 +00:00
nboyd%atg.com 829403bf15 Hi, Norris!
The attached patch moves the IdFunction.Master interface to the
separated file IdFunctionMaster and eliminates getParentScope from the
interface: it is simpler to set scope explicitly.

The patch assumes the changes in IdFunction.java from the previous patch
  and were produced via:

diff -uP javascript.2000-05-10 javascript

Regards, Igor
2001-05-12 13:15:39 +00:00
pschwartau%netscape.com 47583f78b2 Making the test driver work correctly on the Mac. 2001-05-12 03:52:20 +00:00
jband%netscape.com b8ada255ac bug 80062. Various post xpcdom branch landing fixes. r=dbradley sr=jst 2001-05-12 02:56:47 +00:00
pschwartau%netscape.com 97a07465ca Updated JS_GetImplementationVersion() to date of latest JS release (67111). 2001-05-11 20:05:34 +00:00
nboyd%atg.com 8149783552 Hi, Norris!
The attached patch allows subclasses of IdScriptable to override
hasIdValur/deleteIdValue and uses lazy initialization for idMapData
array to avoid its creation when an IdScriptable descendant does not
have any functions. The patch also touches NativeMath.java to replace in
its scopeInit method
        super.scopeInit(cx, scope, sealed);
by
        activateIdMap(cx, sealed);
This is the only reason NativeMath needs to call
IdScriptable.scopeInit() which is intended for creation
constructor/prototype pair.

Regards, Igor
2001-05-11 17:41:00 +00:00
jband%netscape.com 7e4ebed4f1 fix bug 79907.r=rginda sr=jst 2001-05-10 09:45:28 +00:00
shaver%mozilla.org 56c8aa2285 76659: make JSRegExps use JSClass.mark instead of GCThing locking, sr=brendan, r=rogerl 2001-05-10 08:05:45 +00:00
cls%seawood.org 0436fce4cf Do not attempt to compile lock_SunOS.s on Solaris Intel. (Native compiler only)
Bug #79598
2001-05-10 06:40:58 +00:00
pschwartau%netscape.com ead8a37b7f Initial add. Regression test for bug 72773. 2001-05-09 21:57:15 +00:00
nboyd%atg.com 8bc5ed389a Update implementation version, make non-final. 2001-05-09 17:57:05 +00:00
pschwartau%netscape.com fcf643d765 Added a comment - 2001-05-09 17:21:57 +00:00
nboyd%atg.com e479370659 Add idswitch package. 2001-05-09 17:12:07 +00:00
nboyd%atg.com 5c6de514ee Add new skip while we await a bug fix. 2001-05-09 15:46:41 +00:00
nboyd%atg.com 972966d440 More rational handling of count. 2001-05-09 14:01:38 +00:00
nboyd%atg.com 34d624618d Fix 79568. 2001-05-09 13:59:29 +00:00
pschwartau%netscape.com 97677d8b18 Correction to testcase per Brendan - 2001-05-08 23:37:56 +00:00
beard%netscape.com 5372fd5e7c Removed ListenerCollection.java, added ListenerArray.java. 2001-05-08 22:56:43 +00:00
beard%netscape.com 02dde5de81 Officially retiring all sources in mozilla/js/rhino/org, in favor of sources in mozilla/js/rhino/src & mozilla/js/rhino/toolsrc. 2001-05-08 22:50:01 +00:00
beard%netscape.com dd6238bc49 Officially retiring all sources in mozilla/js/rhino/org, in favor of sources in mozilla/js/rhino/src & mozilla/js/rhino/toolsrc. 2001-05-08 22:28:17 +00:00