brendan%mozilla.org
84af471c61
Fix switch case statement-list beginning line number (111352, r=shaver).
2003-04-20 17:10:15 +00:00
pschwartau%netscape.com
5296f8590a
Improving readability.
2003-04-20 03:36:11 +00:00
pschwartau%netscape.com
1c43990272
Initial add. Regression test for bug 202678.
2003-04-20 03:30:04 +00:00
brendan%mozilla.org
622903eaf4
Fix call_enumerate to reflect argv/vars stack slot values into their call object properties, in case of early environment capture due to a nested function resolving an outer function's arg or var (202678, r=shaver).
2003-04-20 03:16:45 +00:00
pschwartau%netscape.com
b3a9d41b5f
Initial add. Regression test for bug 202564.
2003-04-18 22:31:12 +00:00
rginda%netscape.com
ffd1e447c6
fix tbox bustage.
2003-04-18 20:48:43 +00:00
seawood%netscape.com
8893b1e6fd
Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
...
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
rginda%netscape.com
6f5a8e1ed2
bug 200591, "File Options > Don't Debug Eval/Timeouts isn't working", r=brendan
...
prevent any stack with a disabled frame from being debugged during single-stepping, or break-on-throw. Also adds versioning support to the jsdIDebuggerService interface.
2003-04-18 20:12:11 +00:00
seawood%netscape.com
5e2dd72a02
Implement mozcomps static build variant.
...
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner
2003-04-17 19:19:42 +00:00
igor%mir2.org
393606bb3f
FunctionObject changes:
...
1. Disable invoker optimization for methods with variable number of arguments since currently to call optimized invoker a new argument array has to be allocated in any case which makes the optimization irrelevant.
2. Never modify elements of the args array in constructor, instead avoid allocation of the new argument array iff all js argument can be passed to java without type conversion.
2003-04-16 13:05:48 +00:00
igor%mir2.org
d37001ed6e
In NativeString.js_concat in the case of single argument call target.concat(arg) to avoid allocating StringBuffer instance.
2003-04-16 12:51:20 +00:00
rginda%netscape.com
071692477b
bug 202177, "cached interrupt hook goes stale", r=brendan@mozilla.org, sr=jsengine
...
refresh the interruptHandler after calling out to the debugger
2003-04-16 00:54:03 +00:00
igor%mir2.org
f5bea75e19
In callVarargs to test if it is called from construct use thisObj==null condition instead of using separated flag.
2003-04-15 18:45:57 +00:00
igor%mir2.org
fe0dcfe65f
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=200551 :
...
I added Context.getApplicationClassLoader() that is now used in all
cases as a parent loader for generated classes and as the default class loader
for NativeJavaPackage. The default implementation tries to use
Thread.getContextClassLoader, but only when it is available and if Rhino
classes is available through it. Otherwise the loader for Context instance is
used. In this way if Rhino is loaded through a custom loader, it will be used,
and if Rhino classes are placed in lib/ext, Thread.getContextClassLoader still
give the application loader.
And if this default policy would not work in a particular application,
Context.getApplicationClassLoader() can be overridden to in that application.
2003-04-15 07:48:18 +00:00
igor%mir2.org
8c7fe87c7e
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=201989 :
...
use IdFunction.initAsConstructor to initialize Error constructors in
NativeGlobal.init and remove setFunctionType and corresponding getFunctionType in IdFunction and use a simple private boolean field there to mark functions that can be called as constructors since NativeGlobal.init was the only place that used that.
2003-04-15 07:43:30 +00:00
igor%mir2.org
99d83af296
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=201987 :
...
Use toObject() in ScriptRuntime.delete to convert non-Scriptable delete target to Object which required to pass Context and scope to the method and update Interpreter and optimizer/Codegen accordingly.
2003-04-15 07:33:17 +00:00
pschwartau%netscape.com
41886e223f
Initial add. Tests ECMA-262 Edition 3, Section 15.11.7.6.
2003-04-14 23:18:36 +00:00
pschwartau%netscape.com
1413bb9180
Moving from ecma_3/Object/ to ecma_3/Exceptions/ directory.
2003-04-14 23:14:42 +00:00
pschwartau%netscape.com
b3d99ffc41
Initial add. Regression test for EMCA-262 Ed.3, Section 15.11.7.6.
2003-04-14 23:04:52 +00:00
pschwartau%netscape.com
b8a9d1f71c
Initial add. Tests ECMA-262 Ed.3, Section 11.4.1, the |delete| operator. See bug 201987.
2003-04-14 18:45:45 +00:00
igor%mir2.org
fedeaf5b90
Duplicated code from IdFunction and FunctionObject to initialize prototype and scope of the result of call invocation when it is used as a part of constructor code is moved to a utility method initCallResultAsNewObject in BaseFunction.
2003-04-14 14:38:04 +00:00
igor%mir2.org
1771cf5e7c
Replace code to generate:
...
if (val != null && val != Undefined.instance && val instanceof Scriptable) ...
by code to generate:
if (val instanceof Scriptable && val != Undefined.instance) ...
since (val instanceof Scriptable) => (val != null)
2003-04-14 13:53:18 +00:00
brendan%mozilla.org
d9ebfb4c6c
More cleanup/followup: eliminate single-use rt variable in js_SetProperty, move clasp decl and first-def down, fix comments, strip trailing whitespace.
2003-04-14 04:14:57 +00:00
brendan%mozilla.org
9528bd73b6
Improve one comment slightly.
2003-04-14 03:32:55 +00:00
brendan%mozilla.org
8bbac7093b
Quick followup to last checkin, to optimize OBJ_DROP_PROPERTY to JS_UNLOCK_SCOPE in the one place in js_SetProperty that didn't follow the comments and do that.
2003-04-14 03:26:47 +00:00
brendan%mozilla.org
8a9fd86f45
Fix ancient ECMA violation where proto-property attrs, etc., were inherited when shadowing (90596, r=rogerl).
2003-04-13 23:33:34 +00:00
igor%mir2.org
a29c7a81fa
Instead of using the special _packages_ properties to store imported packages, use a field in ImporterTopLevel for simpler code.
2003-04-13 10:57:06 +00:00
igor%mir2.org
c012edd6f6
Switch to use IdFunction to define ImporterTopLevel script methods. A separated class is used to implement IdFunctionMaster interface to avoid interface clashes with possible ImporterTopLevel subclasses implementing the same interface.
2003-04-13 08:57:57 +00:00
igor%mir2.org
ca7b131ae5
1. In NativeJavaPackage.init define global properties only when NativeJavaPackage instance is fully initialized.
...
2. Memory optimization: instead of string array for predefined known packages, use single string which is split into substrings when necessary.
2003-04-13 08:54:09 +00:00
igor%mir2.org
ef61833bb1
Switch to use the new utility IdFunction.define() method to define function properties instead of explicit code for function initialization and inlining of getMethod call since it is used only once to make code smaller.
2003-04-13 08:47:19 +00:00
igor%mir2.org
b0a14f7279
I added static IdFunction.define utility method to define IdFunction instances as properties in the given scope.
2003-04-13 08:40:43 +00:00
igor%mir2.org
8b1123e397
Switch to use ClassFileWriter.addInvoke() taking full method signature including the result part as a single argument instead of deprecated 4-argument ClassFileWriter.add().
2003-04-13 08:38:52 +00:00
igor%mir2.org
f426f26c1d
Commiting Hannes Wallnoefer patch to allow LiveConnect to convert JS Date to Java Data, see http://bugzilla.mozilla.org/show_bug.cgi?id=201326
2003-04-12 10:48:39 +00:00
brendan%mozilla.org
d7901358b7
Fix set-property on sealed object to throw error (94693, r=rogerl).
2003-04-11 21:02:29 +00:00
brendan%mozilla.org
4e05b721ed
Fix JS_CompileUCFunctionForPrincipals to allow null obj with non-null funAtom, for precompiling a named function against no scope (no bug, r=self trivial change).
2003-04-10 23:38:59 +00:00
dbradley%netscape.com
8e679ac4a9
Bug 201084 - [AxPlugin] mozilla crashing in new ActiveXObject(). r=adamlock, sr=alecf (Not part of build)
2003-04-10 07:06:52 +00:00
joshua.xia%sun.com
5d366e8069
bug=201164 Crash when java applet returns a number as a string to a javascript, and the script modifyes the number.
...
r/sr=brendan@mozilla.org sr=beard@netscape.com
2003-04-10 05:45:48 +00:00
dbradley%netscape.com
e3ff4dce98
bug 199122 - IDispatch logic should not depend on order of properties. r=adamlock, sr=alecf (Not part of the build)
2003-04-04 15:32:30 +00:00
seawood%netscape.com
a4b9409f51
Purge XP_PC.
...
Bug #74999
2003-04-04 05:26:58 +00:00
seawood%netscape.com
93c20f113e
Purge XP_PC.
...
Bug #74999
2003-04-04 03:00:58 +00:00
seawood%netscape.com
f3b1661f36
Purge XP_PC.
...
Bug #74999
2003-04-04 00:37:30 +00:00
seawood%netscape.com
cffa5fc315
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
2003-04-03 22:42:02 +00:00
seawood%netscape.com
1fa7930030
Purge XP_PC.
...
Bug #74999 r=mkaply sr=brendan
2003-04-03 19:35:29 +00:00
igor%mir2.org
729a139dc3
Working on http://bugzilla.mozilla.org/show_bug.cgi?id=198208 :
...
I removed deprecated methods to access ClassNameHelper functionality through Context instance.
2003-04-01 14:52:27 +00:00
igor%mir2.org
64af9c759b
Work for http://bugzilla.mozilla.org/show_bug.cgi?id=198208 :
...
I removed deprecated since 1.5R3 omj.ClassOutput and moved some of code from omj/ClassNameHelper.java to omj/optimizer/OptClassNameHelper so if one does not need the optimizer package, the jar will be smaller.
2003-04-01 11:39:08 +00:00
louie.zhao%sun.com
14455882e9
fix bug 183092 "Buffer overrun calling Java from JS"
...
patch = joshua.xia@sun.com ; r = rogerl; sr = beard; approval = asa
2003-04-01 03:11:53 +00:00
igor%mir2.org
9e16916a56
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=199051 :
...
Initialize invoker in FunctionObject constructor, not during first call and catch possible SecurityException. In this way initialization will happen without script code on java stack which may not have permissions to create class loaders.
2003-03-31 13:18:04 +00:00
igor%mir2.org
2c0d284a12
Removal of deprecated SecuritySupport as a part of work on 198208.
2003-03-31 08:43:40 +00:00
timeless%mozdev.org
1c09f596eb
Bug 191778 Fix minor errors in perlconnect readme
...
r=brendan
2003-03-27 17:18:39 +00:00
brendan%mozilla.org
0b5349b42c
Work around OpenVMS compiler bug: it reserves |readonly| (199366, r=me, patch from colin@theblakes.com).
2003-03-27 00:04:51 +00:00