igor%mir2.org
d116b752fb
Do not call setSelectedIndex on frame JList if there are no frames.
2003-01-26 18:33:30 +00:00
igor%mir2.org
b869da1525
Added documentation strings for runCommnad and spawn is changed to pass empty argument array instead of null if function arguments are not specified to avoid a null pointer exception in InterpretedFunction.call
2003-01-26 18:28:26 +00:00
igor%mir2.org
1e22de7bf6
Documentation about runCommand in shell
2003-01-26 18:01:43 +00:00
igor%mir2.org
1e2468a7fc
Added runCommand to execute external processes
2003-01-26 15:43:50 +00:00
igor%mir2.org
77021f2325
Added list of resolved Bugzilla reports
2003-01-26 14:30:47 +00:00
pschwartau%netscape.com
35607ff228
Commenting out sections containing (?< or (?(condition). Perl supports these operators, but ECMAScript does not.
2003-01-23 20:56:08 +00:00
pschwartau%netscape.com
12f4b067f0
Trivial comment fix.
2003-01-23 20:22:19 +00:00
pschwartau%netscape.com
3a08d47e55
Removing an erroneous section. According to the spec, can't have more than 2 consecutive |?| quantifers in a regexp.
2003-01-23 20:08:39 +00:00
pschwartau%netscape.com
755588a186
Whitespace cleanup.
2003-01-23 20:03:12 +00:00
rogerl%netscape.com
1c5429c960
Fixed bug #189898 , replace not working with string argument. Also added
...
error checking for bad quantifiers (see bug 188206)
2003-01-22 18:55:41 +00:00
rginda%netscape.com
410075aaa6
- venkman only -
...
bug 189563, initialize hookresult to prevent warnings
2003-01-22 05:42:35 +00:00
pschwartau%netscape.com
a6d7cde135
Initial add. Regression test inspired by bug 188206.
2003-01-22 02:34:45 +00:00
pschwartau%netscape.com
b351258f81
Initial add. Regression test for bug 189898.
2003-01-21 21:23:20 +00:00
igor%mir2.org
2081b5922b
Patch from Christopher Oliver to fix http://bugzilla.mozilla.org/show_bug.cgi?id=189183
2003-01-20 15:09:45 +00:00
igor%mir2.org
6e95a8f71f
Small fixes in links
2003-01-17 16:40:45 +00:00
brendan%mozilla.org
f85335e27a
Defend against bad EndMuxedDocument calls, and assert in the underlying {JS,PL}_DHashTableRawRemove that entry is live (188744, r=jrgm, sr=ben).
2003-01-17 10:01:50 +00:00
nboyd%atg.com
0631478dd4
UPdate to rc 3
2003-01-16 20:29:43 +00:00
igor%mir2.org
b4fd495c94
Note about scripting of classes from any class loader
2003-01-16 17:22:40 +00:00
nboyd%atg.com
fa159104bb
Add implmentation version date.
2003-01-16 14:24:03 +00:00
dougt%netscape.com
927c29d1d6
move nsTraceMalloc out of XPCOM. Factory out stackwalking code into new files. 189221 r=chak, 186585 r=blythe sr=dbaron. Most of this patch was contributed by seawood.
2003-01-15 20:40:06 +00:00
igor%mir2.org
9cf41eb233
Committing patch from Steven Beal:
...
Have you considered adding a "Go" method to Main.java with
public visibility (same behavior as pressing the "Go" button in the debugger UI).
This would be a big help in a system where the debugger has been
embedded. Being able to close the debugger and ensure that any
breakpoints were removed and any blocked threads notified would
be a nice feature. Without this, closing the debugger can either
a) halt the application or b) destroy the debugger leaving blocked
threads in a permanent wait state. Note that the debugger is
not actually destroyed in this case because the waiting threads
prevent it from being wholly GCed.
2003-01-15 10:42:56 +00:00
nboyd%atg.com
61e4970b2a
Update to R4.
2003-01-14 16:42:16 +00:00
igor%mir2.org
1fdf60d476
Fixing mnemonics shortcuts for Debug menu
2003-01-14 14:44:46 +00:00
igor%mir2.org
2b475ccedd
From Steaven Beal:
...
This looks like a simple case of using the Hashtable key
instead of the value...
public void clearAllBreakpoints() {
// Igor - Use of keys() is inappropriate here. It produces
// a ClassCastException on the assignment below. The
// keys are String instances, not SourceInfo instances...
//
//Enumeration e = sourceNames.keys();
Enumeration e = sourceNames.elements();
...
}
2003-01-14 11:24:47 +00:00
dbaron%dbaron.org
4abc025fba
Most of the changes needed for Mozilla to build with gcc's -pedantic-errors option. b=175423 r=seawood sr=bryner
2003-01-13 23:15:42 +00:00
pschwartau%netscape.com
521df6212f
Updating JS_GetImplementationVersion() to date of latest JS release (67111).
2003-01-11 02:05:00 +00:00
pschwartau%netscape.com
90787d371d
Removing skip since bug 83051 has been fixed.
2003-01-09 03:13:12 +00:00
pschwartau%netscape.com
3dd197a08f
Improving comment.
2003-01-08 23:03:17 +00:00
pschwartau%netscape.com
ba4c5642e4
Adding a comment.
2003-01-08 23:01:43 +00:00
pschwartau%netscape.com
6cbc9e9b68
Correcting testcase and adding more illustrative cases.
2003-01-08 22:51:02 +00:00
dbaron%dbaron.org
72b937ea79
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 21:07:51 +00:00
pschwartau%netscape.com
e7aca64665
Adding comment.
2003-01-08 00:41:01 +00:00
brendan%mozilla.org
d1e7cbcd31
Don't hold the GC lock when calling the GC callback (186592, r=shaver).
2003-01-07 21:56:52 +00:00
pschwartau%netscape.com
abd8e71173
Initial add. Regression test for bug 187133.
2003-01-06 22:18:34 +00:00
timeless%mozdev.org
7f98ca70ac
Bug 187529 jsd init's a jscontext and doesn't release it (caught by res->input leak)
...
r=rginda sr=bryner
2003-01-04 22:47:44 +00:00
dbradley%netscape.com
bb4fae85a8
Bug 184491 - Security Manager blocks invoking methods on some IDispatch based objects. r=adamlock, sr=jst
2003-01-03 15:48:20 +00:00
seawood%netscape.com
583ec4d823
nobrainer changes while thinking about mingw support
...
Bug #134113 r=dmose
2003-01-03 08:58:59 +00:00
nboyd%atg.com
cce6a656a9
Update for RC2
2003-01-01 20:17:17 +00:00
igor%mir2.org
251c25a5c3
Deprecating ClassOutput in favor of ClassRepository and Context methods to access ClassNameHelper functionality in favor of directly calling ClassNameHelper methods. For that I changed ClassNameHelper from interface to abstract class and added ClassNameHelper.get(Context cx) method to get name helper object that is used for the given Context object.
2002-12-31 18:21:32 +00:00
igor%mir2.org
517a191c91
Allow application to customize class loader used for loading generated code.
...
For that I added new method createClasssLoader to Context, which by default returns new instance of DefiningClassLoader and changed the code to use this method instead of creating DefiningClassLoader directly. I moved DefiningClassLoader to org.mozilla.javascript package so core Rhino classes would not depend on org.mozilla.classfile package. I also changed SecurityController.createClasssLoader to take additional parentLoader argument to explicitly specify which class loader should be parent for generated code.
2002-12-31 09:42:42 +00:00
igor%mir2.org
d76cc2c78f
Eliminating calls to Thread.getContextClassLoader().
...
From my mail to Norris Boyd:
When considering http://bugzilla.mozilla.org/show_bug.cgi?id=166530 I realized that my 2 years old suggestion to use Thread.getContextClassLoader() in org.mozilla.classfile.DefiningClassLoader was wrong, as it does not follow class loader chain pattern Rhino embeddings can use. Moreover, it is wrong to use Thread.getContextClassLoader() when searching for Rhino classes as if Rhino is available via the system class loader and an application uses its copy from another loader, Thread.getContextClassLoader() would return incompatible class while simple Class.forName() would do proper job of loading the requested class from a loader of Class.forName() caller.
The only place where Thread.getContextClassLoader() can be useful is when searching for classes in NativeJavaPackage, but even there with a new option to use Package with an explicit class loader argument it is not necessary as one can write in a script
Packages(java.lang.Thread.contextClassLoader) to get necessary behavior.
2002-12-30 18:22:58 +00:00
igor%mir2.org
2907a50485
Replace ScriptRuntime#main(String scriptClassName, String[] args) by ScriptRuntime#main(Class scriptClass, String[] args) and to optimizer.Codegen#generateMain code to generate call to Class.forName before calling ScriptRuntime#main. In this way script byte code can access Class object if generated script is loaded via different class loader then Rhino classes.
2002-12-30 06:49:10 +00:00
igor%mir2.org
d530d25fb5
When checking for a nested class, try to load it from class loader for the parent class, not from the loader for Rhino classes.
2002-12-30 00:50:57 +00:00
igor%mir2.org
e6a341b490
Move code to try to load a class from getPkgProperty to the separated findClass method and add catching of SecurityException there.
2002-12-30 00:49:11 +00:00
igor%mir2.org
1eab2d8d61
Change FunctionObject to extends BaseFunction, not NativeFunction as the later is more tailored for function representing JavaScript code.
2002-12-30 00:43:33 +00:00
igor%mir2.org
c376184557
To map a class name to the corresponding Class instance from the adapter code generate code to call Class.forName instead of calling ScriptRuntime.loadClassName so a class loader for the generated code will be used to access the Class instance, not the loader for the Rhino classes.
2002-12-29 20:21:06 +00:00
igor%mir2.org
e4c61f1f60
In createInvoker I replaced classLoader.loadClass by classLoader.linkClass to remove catching ClassNotFoundException
2002-12-29 10:52:10 +00:00
igor%mir2.org
bbb8216d37
Fixing design flaw in SecurityController:
...
The new SecurityController in its current form does not allow to define more then one generated class class in the same class loader effectively preventing to use optimizer which needs to define classes that refer each other and should be defined in the same loader.
To fix this I replaced the defineClass method in SecurityController by
public GeneratedClassLoader createClassLoader(Object securityDomain);
which returns instance of the new GeneratedClassLoader interface which can be used to define several classes. I also made DefiningClassLoader to implement this interface to simplify code in JavaAdapter.java and optimizer/Codegen.java.
2002-12-28 05:37:43 +00:00
seawood%netscape.com
4588fb970a
Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
...
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
igor%mir2.org
265cc938cc
Preparations for 1.5R4 release
2002-12-24 01:34:45 +00:00
igor%mir2.org
bc8cf2ec2c
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=184107
...
Always put function expression statements into initial activation object ignoring the with statement to follow SpiderMonkey
2002-12-23 15:01:53 +00:00
igor%mir2.org
556bf1547d
Mostly cosmetics: use consistent naming for new API for function object initialization.
2002-12-23 14:56:58 +00:00
igor%mir2.org
8bede8d38b
Eliminate double creation of Function objects representing nested functions in scripts/functions and use ScriptRutime.putFunction to bind function objects with activation scope.
2002-12-22 22:39:10 +00:00
igor%mir2.org
f4d9cbcb9e
Use Context.enter() try { } finally { Context.exit() } instead of try { Context.enter() } finally { Context.exit() } as Context.exit should only be called if Context.enter() returns successfully.
2002-12-22 19:12:50 +00:00
igor%mir2.org
0e61cfe41a
Move code to put functions as properties of activation object to ScriptRuntime.putFunction so it can reused by optimizer.
2002-12-22 19:08:52 +00:00
igor%mir2.org
e4f92d4b98
Do not put "anonymous" into BaseFunction.functionName for functions created via new Function. Instead NativeFunction.getFunctionName() returns "anonymous" for function name for such functions which allows to assume that BaseFunction.functionName always holds real name.
2002-12-22 19:06:26 +00:00
igor%mir2.org
4ca1e42665
I replaced exception handlers for InstantiationException and friends during Class/Constructor.newInstance calls to construct NativeFunction/NativeScript instances via single catch (Exception ex) as the handlers rethrow exceptions as RuntimeException in any case. As it reduces OptRuntime.newOptFunction to few lines, its single usage in Codegen is inlined.
2002-12-22 02:51:16 +00:00
igor%mir2.org
740cb754dc
I removed constants denoting _QUICK bytecodes as valid bytecode can not contain them. To catch possible bugs with passing invalid opcode I also replaced extra, opcodeCount and stackChange arrays by functions with switch statements that throws IllegalArgumentException on bad opcode. It also has an advantage of reducing class file size due to lack of support in JVM for efficient array initialization.
2002-12-22 02:42:40 +00:00
igor%mir2.org
6c35405455
I removed dependency of Parser.decompile on NativeFunction. Now Parser.decompile takes as argument a tree structure describing encoded source for script or function and their nested functions. In case of interpreter the tree is built from interpreter runtime data while the optimizer puts a static function to construct tree into the class file representing compiled script or function. This function is called via reflection.
...
The change removes the need to have instances of NativeFunction representing nested functions constructed before they are needed as a part of script execution.
2002-12-21 12:43:55 +00:00
brendan%mozilla.org
faad746f06
Fixed so overriding Function.prototype.toSource doesn't mess up F.p.toString output, which should decompile the function, including nested function expressions (178389, r=shaver).
2002-12-21 02:14:53 +00:00
igor%mir2.org
de12281a35
I removed code to add EmptyArray field to generated field in Codegen.generateInit as it was redundant to ScriptRuntime.emptyArgs
2002-12-20 16:14:51 +00:00
igor%mir2.org
e2396df076
In Codegen.visitFunction I replaced code generating call to createFunctionObject that would use reflection to instantiate function object by a direct calling of function constructor and a separated call to function initialization in OptRuntime.setupFunction.
2002-12-20 12:21:35 +00:00
igor%mir2.org
4b60a96846
I removed debug_level and debug_srcName fields as they are never used.
2002-12-20 12:12:41 +00:00
igor%mir2.org
d0a8a8ff9c
I moved optimizer related code to initialize a function from ScriptRuntime to optimizer/OptRuntime and replaced common code to initialize function prototype and scope in few places by ScriptRuntime.initFunction
2002-12-19 19:48:55 +00:00
rginda%netscape.com
0e4f85c642
bug 185719, r=peterv@netscape.com, sr=brendan@mozilla.org
...
"add ability to get at function object for a jsdIScript"
add a |functionObject| attribute to the jsdIScript interface, which returns the function's JSObject as a jsdIValue
2002-12-17 22:22:30 +00:00
igor%mir2.org
8c7e5dc265
Cosmetics: expanding tabs
2002-12-17 20:56:08 +00:00
igor%mir2.org
2fbe052b90
Cosmetics: removal of junk white-space at line end
2002-12-17 20:48:35 +00:00
igor%mir2.org
b5a37b538c
I replaced all ScriptableObject.getClassPrototype(scope, "Function") by ScriptableObject.getFunctionPrototype(scope)
2002-12-17 16:36:23 +00:00
igor%mir2.org
bbb7ddba42
I moved details of debugger API changes since 1.5R3 to a separated document.
2002-12-17 09:26:48 +00:00
pschwartau%netscape.com
26848f6ed6
Adding more comments.
2002-12-17 01:54:54 +00:00
pschwartau%netscape.com
46febb5aa5
Initial add. Regression test for bug 185485.
2002-12-17 01:41:34 +00:00
nboyd%atg.com
02d69352ae
Add link to release candidate.
2002-12-16 16:51:33 +00:00
igor%mir2.org
be3d62d882
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=181834
...
Ignore dynamic scope flag for nested functions and functions defined inside with statements
2002-12-14 18:56:27 +00:00
pschwartau%netscape.com
9550ec9c96
Initial add. Regression test by igor@icesoft.no for bug 185165.
2002-12-14 02:33:58 +00:00
pschwartau%netscape.com
974ade6725
Improving readability.
2002-12-13 21:40:32 +00:00
igor%mir2.org
ad78fea1cf
*** empty log message ***
2002-12-13 18:26:31 +00:00
igor%mir2.org
756b2e0885
*** empty log message ***
2002-12-13 18:16:12 +00:00
igor%mir2.org
2c4ee7b4e5
Document update
2002-12-13 14:21:38 +00:00
igor%mir2.org
1208207c71
Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=185165
...
I made ScriptRuntime.escapeString to escape \ and remove code to escape single quote ' as it is unreachable due to if (' ' <= c && c <= '~' && c != '"' && c != '\\') check as ' should not be escaped.
2002-12-13 11:56:54 +00:00
pschwartau%netscape.com
cc94cf3b6d
Added 'compile functions with dynamic scope' feature of Rhino to the test. Necessary to expose the bug.
2002-12-12 23:31:44 +00:00
igor%mir2.org
f4cfc98e4d
I removed InterpretedFunction.itsClosure as it was effectively used only itsClosure != null test and the effect can be done via setting InterpretedFunction.useDynamicScope to false.
2002-12-12 10:46:52 +00:00
colin%theblakes.com
8a6d411d14
OpenVMS build changes. b=180290. r=cls
2002-12-12 00:08:59 +00:00
igor%mir2.org
d652c3179a
I moved itsUseDynamicScope from InterpreterData to InterpretedFunction as this flag affects only functions, not scripts and to initialize this flag not during script compilation but during function creation which happens at the start of script execution. It allows to alter the flag for already compiled scripts before their execution.
2002-12-11 22:28:00 +00:00
igor%mir2.org
257dba7ca7
Fixed link
2002-12-10 11:19:02 +00:00
pschwartau%netscape.com
1daef5dd81
Initial add. Regression test for bug 184107.
2002-12-10 00:22:44 +00:00
locka%iol.ie
1657fa34f3
Share pref settings between com connect and plugin. b=179573 r=dbradley@netscape.com sr=brendan@mozilla.org a=asa@mozilla.org
2002-12-09 21:04:22 +00:00
locka%iol.ie
c7d9f92951
Share pref settings between com connect and plugin. b=179573 r=dbradley@netscape.com sr=brendan@mozilla.org a=asa@mozilla.org
2002-12-09 20:48:39 +00:00
dbradley%netscape.com
09c839447b
Bug 173146 - add support to XPConnect for IDispatch interfaces. Final implementation, this is the result of the code walk through with jband, jst, adam, and rpots. sr=jst, r=adam, a=asa
2002-12-09 19:41:54 +00:00
igor%mir2.org
15866816e2
I changed InterpreterData.itsNestedFunctions from InterpretedFunction[] to InterpreterData[] because due recent changes/fixes InterpreterData.itsNestedFunctions was used effectively only to get information already available InterpreterData.
2002-12-09 17:50:20 +00:00
igor%mir2.org
908a8ed8b5
Move creation of InterpretedFunction instances to createFunction (former createFunctionObject) to have function initialization at one place.
2002-12-09 13:37:13 +00:00
igor%mir2.org
febcbadf03
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=184111
...
Patch from Marcus Crafter:
...
After speaking with Christopher Oliver, the problem seems to be a general JDK
1.4 bug that caches selected values in JComboBox, even after removeAllItems() is
called. Since its a general defect Christopher and I thought we'd report and get
it fixed in the main CVS tree.
...
2002-12-08 21:06:45 +00:00
igor%mir2.org
69c1384530
If debugger does not get function or script source via handleCompilationDone, try to read it from supplied URL.
2002-12-08 20:49:39 +00:00
igor%mir2.org
559c58d034
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=154693
...
On function/script start create and initialize instance of InterpretedFunction for each function statement.
2002-12-07 14:15:27 +00:00
pschwartau%netscape.com
30b7eaa24f
Adding an improvement by joerg.schaible@gmx.de, plus a new section.
2002-12-06 23:45:31 +00:00
igor%mir2.org
bbd9c6e220
Cosmetics: layout fix
2002-12-06 16:38:38 +00:00
igor%mir2.org
bac1e710a5
isJavaPrimitiveWrap/setJavaPrimitiveWrap are made final as sublasses should not be override them when customizing WrapFactory
2002-12-06 16:36:25 +00:00
igor%mir2.org
88ad54171f
Remove generation of closure icode for function statements as they are initialized at script/function start, not at point of declaration. This redundant closure icodes were effectively no-operation but caused bigger stack to be allocated then necessary.
2002-12-05 21:04:30 +00:00
pschwartau%netscape.com
e9b2463e8a
Test by joerg.schaible@gmx.de arising from bug 181914.
2002-12-04 22:11:47 +00:00
pschwartau%netscape.com
5a7c3a50ce
Test by joerg.schaible@gmx.de, enforcing ECMA-262 Ed.3, Section 15.11.1.1
2002-12-04 21:58:15 +00:00
igor%mir2.org
87b0cf6408
Remove closure constructor from InterpretedFunction and initialize InterpretedFunction.itsClosure constructor in Interpreter directly. This besides reducing code size will help to make fix for http://bugzilla.mozilla.org/show_bug.cgi?id=154693 smaller
2002-12-04 09:49:07 +00:00
igor%mir2.org
663dff2a7a
To allow straightforward detection of functions created via Function(...) constructor, I added the fromFunctionConstructor boolean flag to NativeFunction which allows to simplify code dealing with the EcmaScript requirement to return anonymous as a name for such functions.
2002-12-03 12:43:14 +00:00
igor%mir2.org
d676aa578a
1. Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=182028
...
Now caching of the last access slot covers GetterSlot instances as well and getter is always called for such slots
2. Fixing a potential race condition in setBySetter when a setter slot becomes an ordinary slot in response to a setter returning a value.
During execution of setBySetter a different thread can see initial null value in slot.value instead of the result of setter call as it is possible that JVM will first update slot.flags and only then slot.value for that thread. The fix replaces the old getter slot by an ordinary one under synchronized block for that I added new getSlotPosition method and updated the rest of code accordingly.
2002-12-03 12:38:55 +00:00
brendan%mozilla.org
437e0ebb3f
Optimize s.match(r) into r.test(s) if possible (no bug, r=shaver).
2002-11-30 06:51:27 +00:00
dbradley%netscape.com
6f49697b86
Bug 180182 - crash[@ 0x10101010 - js_GetSlotThreadSafe - JS_GetPrivate]
...
This was caused by GC occuring within JS_CloneFunctionObject, and the jsval passed in wasn't protected. r=dbradley, sr=jst, patch=jband
2002-11-27 03:55:17 +00:00
brendan%mozilla.org
b1b94e48d2
Fix rt->checkObjectAccess call in fun_getProperty to avoid non-object-accessing calls (r=waterson).
2002-11-27 02:11:53 +00:00
pschwartau%netscape.com
72529ab8e6
Removing an extraneous line.
2002-11-27 01:12:21 +00:00
pschwartau%netscape.com
583bd3b9b7
Initial add. Regression test for bug 154693.
2002-11-27 01:00:29 +00:00
pschwartau%netscape.com
d8599d42e8
Rearranging section order for greater readability.
2002-11-26 19:55:34 +00:00
pschwartau%netscape.com
cdb5c6d65f
Initial add. Regression test for bug 181834 by felix.meschberger@day.com.
2002-11-26 19:48:14 +00:00
igor%mir2.org
b4cf6c06fc
I moved decompilation code from NativeFunction to Parser so changes in compressed source structure will affect only one file.
2002-11-26 08:00:44 +00:00
pschwartau%netscape.com
4155380db9
Trivial whitespace fix.
2002-11-26 02:55:54 +00:00
pschwartau%netscape.com
193abbaa05
Improvement by joerg.schaible@gmx.de: test not only that |err.toString()| contains |err.message|, but also that |err.message| contains the right value; i.e the value provided to the Error constructor. See bug 181909.
2002-11-26 02:53:39 +00:00
pschwartau%netscape.com
b3dbfedbf7
Improvement by joerg.schaible@gmx.de: test not only that |err.toString()| contains |err.message|, but also that |err.message| contains the right value; i.e the value provided to the Error constructor.
2002-11-26 02:03:32 +00:00
pschwartau%netscape.com
b7878b0e6b
Fixing three typos.
2002-11-26 01:17:37 +00:00
pschwartau%netscape.com
3d8d75204f
Trivial whitespace fix.
2002-11-26 01:16:23 +00:00
brendan%mozilla.org
47a1a4d43c
Comment nit-picks (comment changes only).
2002-11-26 00:33:08 +00:00
brendan%mozilla.org
fb821b9a2e
Relax comments restricting Operate calls from enumerator to allow lookups (no bug, comment change only).
2002-11-26 00:32:07 +00:00
igor%mir2.org
e081e489da
Add args and argCount to InterpreterData to emphasize that InterpretedScript/InterpretedFunction are just runtime wrappers around InterpreterData
2002-11-25 21:33:56 +00:00
igor%mir2.org
3f7f541282
Wrap restoring of the original optimization level into finally block
2002-11-25 16:46:16 +00:00
igor%mir2.org
7226fda62b
Fixing 181654: Error.prototype.toString is a generic function now
...
printing this.name + ": " + this.message for any this.
2002-11-25 16:44:30 +00:00
sicking%bigfoot.com
8fa4129fc1
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
pschwartau%netscape.com
9d09551f1a
Initial add. Regression test for bug 181654 by joerg.schaible@gmx.de.
2002-11-24 00:14:18 +00:00
dbradley%netscape.com
27eae5fcf3
Bug 173146 - This is the third patch in the series for IDispatch support. The bulk of the changes are comments and formatting, and some better error handling. r=adamlock, sr=jst and the code review group. NOTE: The bulk of this code is still not part of the build and the reviews reflect the XPConnect portions only.
2002-11-22 23:04:53 +00:00
pschwartau%netscape.com
7e74912683
Replace 'onload' with meaningless string. Alertboxes were popping up otherwise when the jsDriver.pl results file was opened!
2002-11-19 23:23:33 +00:00
pschwartau%netscape.com
a9af77318d
Correcting minor formatting mistake at Retest List header.
2002-11-19 22:00:38 +00:00
pschwartau%netscape.com
cfcf847d8f
One-line fix for bug 62187, "JS shell producing too much console output on Mac" (r=waldemar, r=rginda). Without this fix, running the test driver is impossible on Mac 9. [NOT PART OF BROWSER BUILD].
2002-11-19 20:53:17 +00:00
pschwartau%netscape.com
6b87c8a20e
Bringing Windows makefile for JS shell in sync with recent changes made to the browser build and to the js.mak(VC++) build of the JS shell; see bug 160592. [DOES NOT AFFECT BROWSER BUILD].
2002-11-19 20:29:38 +00:00
timeless%mozdev.org
fe87c1864c
Bug 180783 nsDependentCString filename(PR_GetEnv("MOZILLA_JS_PROFILER_OUTPUT")) => ASSERTION: nsDependentCString must wrap a non-NULL buffer: 'aPtr'
...
r=dbradley sr=bz
2002-11-19 05:06:27 +00:00
timeless%mozdev.org
7875f468ed
Bug 58221 don't use strlen to check if a string is of length 0
...
patch by aaronl@vitelus.com r=timeless sr=bz
2002-11-17 05:16:49 +00:00
dbradley%netscape.com
39cadd74bc
Bug 180098 - "--enable-activex-scripting" option seems to break composition window. Error was in enumeration when IDispatch logic was turned on. r=adamlock, sr=jst
2002-11-15 13:57:16 +00:00
igor%mir2.org
8223942873
Replace getScriptable() by getFunctionName() in omj/debug/DebuggableScript.java as the debugger used DebuggableScript.getScriptable() only to query function names.
...
It allows to implement the DebuggableScript interface only by omj/InterpreterData instead of 2 identical implementations by InterpretedFunction and InterpretedScript.
2002-11-14 21:12:36 +00:00
seawood%netscape.com
7830b8a6ef
Drop unneeded java build rules & variables since blackwood now builds using ant.
...
Bug #161617 r=edburns sr=beard
2002-11-14 19:36:28 +00:00
pschwartau%netscape.com
eb280e54ba
Adding comments.
2002-11-14 02:12:15 +00:00
brendan%mozilla.org
dd18cf4466
Remove l10n_debug cruft, expand tabs, eliminate else-after-break, don't invade the standard C namespace with leading _ in identifiers, etc. (173827, r=scole@planetweb.com).
2002-11-13 22:59:15 +00:00
igor%mir2.org
5d1d7ed31a
Fixing in Interpreter.dumpICode reading of index from a wrong offset
2002-11-13 10:22:46 +00:00
igor%mir2.org
4e4f06390c
Fixing misspellings comments
2002-11-13 10:13:40 +00:00
brendan%mozilla.org
d344a8b6fd
Make enumeration const unless PL_DHASH_REMOVE is returned by the etor callback; improve several comments (174859, r=waterson, sr=beard).
2002-11-13 04:35:37 +00:00
pschwartau%netscape.com
7825c9f42d
Removing redundant variable declarations.
2002-11-13 00:19:57 +00:00
pschwartau%netscape.com
a1dbc1b91c
Adding more sections to cover str.search(), str.replace().
2002-11-12 23:14:17 +00:00
brendan%mozilla.org
23fe12486e
Fix s.match('re', 'g') and similar cases to use the right local root (179524, r=rogerl).
2002-11-12 19:25:01 +00:00
pschwartau%netscape.com
5d9b2541ad
Comment fix.
2002-11-12 19:02:18 +00:00
pschwartau%netscape.com
1e9413b235
str.match() CAN take a 2nd parameter, if the 1st one is a string instead of a RegExp object. Added cases to cover that.
2002-11-12 18:33:39 +00:00
dbradley%netscape.com
d282272303
NOT PART OF BUILD. Corrected scriptability tests.
2002-11-12 10:38:17 +00:00
igor%mir2.org
c19e43d0d6
Call NativeArray.getLength() instead of deprecated NativeArray.jsGet_length()
2002-11-12 09:41:09 +00:00
igor%mir2.org
d8a693fc56
Cosmetics: use consistent naming and layout for internal methods providing JS library implementation.
2002-11-12 09:37:43 +00:00
igor%mir2.org
bb604c8dd8
1. Deprecation jsGet_length in favour of getLength
...
2. Cosmetics: use consistent naming and layout for internal methods providing JS library implementation.
2002-11-12 09:36:40 +00:00
igor%mir2.org
e2b3906c85
1. In js_concat determine the the size of the resulting string to avoid reallocations in StringBuffer .
...
2. Cosmetics: use consistent naming and layout for internal methods providing JS library implementation.
2002-11-12 09:33:48 +00:00
igor%mir2.org
ef5115e651
Cosmetics: use consistent naming and layout for internal methods providing JS library implementation
2002-11-12 09:29:57 +00:00
igor%mir2.org
710f9f5c64
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=179068
...
Allow to use char sequences exceeding 64K when storing source for decompilation
The current 64K limit for string literals comes from omj/Parser.java where it constructs the internal script presentation for future decompilation. The patch extends this form to allow string sequences with more then 64K characters and modifes decompilation code in omj/NativeFunction.java accordingly.
2002-11-12 09:24:54 +00:00
igor%mir2.org
b85ee6ab63
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=179366
...
Assume --> after a possible whitespace after line start means comments to end-of-line. The change follows the SpiderMonkey solution.
2002-11-12 09:20:09 +00:00
dbradley%netscape.com
be90c6b1e3
Bug 173146 - Add support to XPConnect for IDispatch interface. Second round of changes. r=adamlock, sr=jst. Most changes are not part of build.
2002-11-12 08:22:35 +00:00
pschwartau%netscape.com
417d42c783
Initial add. Regression test for bug 179524.
2002-11-12 01:52:25 +00:00
pschwartau%netscape.com
b9f67e3589
Initial add. Regression test by igor@icesoft.no for bug 31255, bug 179366.
2002-11-10 20:56:42 +00:00
pschwartau%netscape.com
ce694cbe11
Initial add. Regression test for bug 179068.
2002-11-10 20:31:36 +00:00
seawood%netscape.com
b6ff76030d
JS is a C only library and should be linked as such.
2002-11-09 08:18:25 +00:00
pschwartau%netscape.com
1f0fa0eff3
A more accurate inRhino() function. The previous one failed to distinguish Rhino from LiveConnect.
2002-11-08 22:42:25 +00:00
pschwartau%netscape.com
dfe12a41f3
New engine command for JS2: was dikdik, now epimetheus.
2002-11-08 21:56:41 +00:00
igor%mir2.org
1d647c70a9
Cosmetics: refactor decompile without changing its functionality so a possible future patch to allow literal strings greater then 64K would be less intrusive.
2002-11-08 12:08:52 +00:00
pschwartau%netscape.com
bb68273586
Tweaking sort function.
2002-11-07 23:02:06 +00:00
pschwartau%netscape.com
9c1851efcb
Reinstituting check on |arr instanceof Array && arr.length === 0| from version 1.1 of test; this is necessary.
2002-11-07 22:57:40 +00:00
pschwartau%netscape.com
9351af8b06
Adding comments -
2002-11-07 22:43:52 +00:00
pschwartau%netscape.com
84ac00e1be
Adding cases with non-default sorting.
2002-11-07 19:40:26 +00:00
pschwartau%netscape.com
d22e4834fa
Improving readability.
2002-11-07 19:25:42 +00:00
pschwartau%netscape.com
7d8c3ef2fe
Improving test: arr, arr.sort() must be more than just two arrays of the same length, they must be equal as objects.
2002-11-07 19:15:28 +00:00
pschwartau%netscape.com
4a80232c4d
Improving readability.
2002-11-07 19:05:57 +00:00
brendan%mozilla.org
aba494b15d
Check in rogerl's patch for bug 178722, r=me.
2002-11-07 10:51:23 +00:00
pschwartau%netscape.com
097f6b3091
Initial add. Regression test for bug 178722.
2002-11-07 04:20:27 +00:00
dbaron%fas.harvard.edu
63ae25316a
Fix leaks of references to jsdService. r=rginda sr=alecf b=170194
2002-11-06 12:59:21 +00:00
igor%mir2.org
49661822bb
I made FunctionNode to inherit from Node instead of Node.StringNode as FunctionNode is never used as a string source.
2002-11-03 01:26:29 +00:00
igor%mir2.org
c27bf53f4e
I removed method duplication in Node where getNext() was duplicated as getNextSibling() and code was using both of them and similarly for getFirstChild()/getFirst().
2002-11-02 22:08:00 +00:00
igor%mir2.org
00fbdbeb1f
Allow for TokenStream.COMMA node in the parsed tree to contain more then 2 children to avoid too-deep recursion during code generation for long array and object initialization lists.
2002-11-02 18:01:26 +00:00
igor%mir2.org
39c11eb5ff
Cosmetics: use uniform indentation in switch statements
2002-11-02 14:54:35 +00:00
igor%mir2.org
542ef1dbaf
Avoid potentially expensive calls to Node.addChildBefore which may need to traverse a long child list to find the previous child when a reference to the previous child is available from context.
2002-11-02 12:52:11 +00:00
igor%mir2.org
70475da4ec
Clear reference to sourceBuffer array as soon as it is no longer needed to allow its earlier GC.
2002-11-02 12:46:28 +00:00
pschwartau%netscape.com
52250b83fa
New version of the test, by igor@icesoft.no; uses less memory.
2002-11-02 01:26:08 +00:00
igor%mir2.org
cbf53f2e8f
Fixing 159334: store bytecode indexes as uint16 to extend limit on maximum number of different strings to 64K
2002-11-01 14:43:34 +00:00
pschwartau%netscape.com
21843212dc
Initial add. Regression test for bug 159334.
2002-11-01 02:00:08 +00:00
pschwartau%netscape.com
63b2190524
Improving comments.
2002-10-31 21:24:25 +00:00
igor%mir2.org
d67e88e84d
Fixing regression introduced by 1.93: during generation of code for NEW and CALL do not assume that function name index would be the index of the last string in the string table as due to name sharing it can be any index. Instead NEW and CALL generator uses lastStringIndex which is updated in addString and holds the last used string index.
2002-10-31 01:19:53 +00:00
pschwartau%netscape.com
b7c019a6a2
Don't ever run shell.js files as tests; they are only utility files.
2002-10-31 01:01:20 +00:00
pschwartau%netscape.com
0980e7538f
Initial add. Regression test for bug 177314.
2002-10-30 20:34:13 +00:00
igor%mir2.org
2b7d0e47c2
Fixing 177314:
...
TokenStream.java: third octal digit is a part of the octal escape in strings only if the result is <= 0377.
resources/Messages.properties: removal of unused msg.oct.esc.too.large
2002-10-30 09:20:00 +00:00
mstoltz%netscape.com
291b95491f
Bug 168316 - When calling from Java into JS, add a "dummy" JS stack frame with
...
principal information for the security manager. r=dveditz, sr=jst, a=chofmann.
2002-10-30 03:15:59 +00:00
pschwartau%netscape.com
b19175a575
Initial add. Testcases created by Brendan in the course of fixing bug 96526.
2002-10-30 02:09:53 +00:00
pschwartau%netscape.com
ddee960fdf
Initial add. Utility file needed for certain tests in js/tests/js1_5/Expressions/.
2002-10-30 02:08:46 +00:00
pschwartau%netscape.com
0267efc4b9
Fixed small bug in reporting of skipped tests.
2002-10-28 03:44:09 +00:00
pschwartau%netscape.com
e3f0af7614
Improving efficiency by calling xp_path() as little as possible. Also, never call xp_path() on a user-provided path.
...
Improving consistency of style in the get_xxx_engine_command() functions.
2002-10-28 03:31:03 +00:00
pschwartau%netscape.com
6544ca9be9
Improving efficiency. Make $win_sep a global variable so we only have to call get_win_sep() once. And then, only use $win_sep if it differs from $path_sep.
2002-10-26 01:24:21 +00:00
pschwartau%netscape.com
b0ad732663
Removing two calls to xp_path(). They are unnecessary, since xp_path() gets called again later in the program on the same paths. This also fixes a couple of new bugs. Rev 1.41 of jsDriver made xp_path() more subtle on Windows: it may now return paths containing backslashes instead of forward slashes. But backslashes cause the Perl methods |join| and |grep|, both of which are used in jsDriver, to fail. So we are now delaying any calls to xp_path() until after those methods are used.
2002-10-26 00:11:50 +00:00
beard%netscape.com
898a901707
don't require release specific configuration for Darwin [not part of build]
2002-10-25 01:01:34 +00:00
brendan%mozilla.org
148815ba49
Fix bug where lightweight function expression-statement result would contaminate caller result via js_Interpret's *result pigeon-hole, via better JSOP_POP vs. JSOP_POPV instruction selection (176125, r=shaver, a=dbaron).
2002-10-24 21:57:40 +00:00
igor%mir2.org
3b79862ea3
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=173906 : change Codegen.visitCall to check for dynamic scope flag when calling
...
direct call target
2002-10-24 10:05:36 +00:00
igor%mir2.org
ba3a798e63
Using ThreadLocal under JDK >= 1.2 in Context.enter/Context.exit so they do not need to synchronize on global Context.threadContexts object as java.lang.ThreadLocal allows to associate a Context instance with the current thread in a completely synchronization-free way.
...
When ThreadLocal is not available (JDK 1.1), the old way of doing things is used.
2002-10-24 10:04:30 +00:00
igor%mir2.org
d7a9329429
I modified Context.enter/Context.exit to remove explicit synchronization on threadContexts as implicit implicit synchronization when calling threadContexts.get/threadContexts.put/threadContexts.remove is enough to ensure thread safety. It reduces time spend in synchronized code so Context.enter/Context.exit is less problematic with script execution on many threads.
...
The change also allows with simple modifications of Context.getCurrentContext and Context.setThreadContext to use java.lang.ThreadLocal from JDK 1.2 to remove any synchronization on global data structures during Context.enter/Context.exit/Context.getCurrentContext.
2002-10-23 09:56:26 +00:00
igor%mir2.org
8bd679943a
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=173180
...
Merges utf8ToOneUcs4Char body into the decode method and adds checks
for overlongs to follow SpiderMonkey.
2002-10-22 21:22:44 +00:00
waldemar%netscape.com
771a01cbc3
Fixed buffer overrun bug 174555 r=brendan, a=shaver
2002-10-18 23:03:16 +00:00
waldemar%netscape.com
6e3e5b7817
MacOSX version of the build files; work with CodeWarrior 8.2 to create a Carbon JSRef. Doesn't build mach-o yet.
2002-10-18 01:40:40 +00:00
pschwartau%netscape.com
9c3bde33d4
Whitespace cleanup.
2002-10-17 19:25:40 +00:00
seawood%netscape.com
d1bef3cbe0
Define WIN32_LEAN_AND_MEAN globally for win32 builds.
...
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
dbradley%netscape.com
080324cf7b
Bug 173146 - add support to XPConnect for IDispatch interface. r=jband@netscape.com, sr=brendan@mozilla.org, a=shaver@mozilla.org
...
NOTE: Most of this code is not built by default
2002-10-17 05:29:03 +00:00
brendan%mozilla.org
73c5d5279f
Comment improvements motivated by bug 173797, no code changes.
2002-10-13 19:08:07 +00:00
pschwartau%netscape.com
bf9f37c6fe
Remove the -x check on the absolute path to xpcshell. In Perl 5.005 on Windows, the -x operator returns |false| on absolute paths, even if they are valid.
2002-10-12 02:43:17 +00:00
pschwartau%netscape.com
870b3af87e
Use -x &xp_path() more consistently.
2002-10-12 02:08:02 +00:00
pschwartau%netscape.com
c43acfbb74
Re-factoring the last fix into the existing function xp_path().
2002-10-12 01:57:16 +00:00
pschwartau%netscape.com
47b581cb99
Don't hard-code "\"as the path separator for Windows (rev. 1.36). Some Windows shells (e.g. Cygwin 1.1.8) require "/".
2002-10-11 23:31:23 +00:00
pschwartau%netscape.com
cb9fe22828
Improving readability.
2002-10-09 20:43:35 +00:00
brendan%mozilla.org
1dd75eec31
Don't redefine date_methods in each instance created from native code via js_NewDateObject{,Msec}, shadowing the perfectly fine date_methods in Date.prototype (173423, r=hyatt).
2002-10-09 05:50:23 +00:00
pschwartau%netscape.com
13f69bd216
Initial add. Regression test for bug 172699.
2002-10-08 00:37:49 +00:00
timeless%mac.com
f1ea69808e
Bug 172846 QueryInterface should not throw Components.results.NS_NOINTERFACE for Components.interfaces.nsISupports
...
r=caillon sr=bz
2002-10-06 23:14:25 +00:00
rogerl%netscape.com
3c5b6f7265
Duh. Fixed C++ style comment, sorry.
2002-10-05 04:38:42 +00:00
rogerl%netscape.com
0dc96262a3
Bug #172699 . r=rogerl, sr=brendan. Detect illegal (overlong) utf-8.
2002-10-05 04:05:56 +00:00
dbaron%fas.harvard.edu
630ee775dd
Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf
2002-09-30 14:18:27 +00:00
bryner%netscape.com
54be890aa8
Bug 165602 - define MACOS_DEPLOYMENT_TARGET (default to 10.1) for mach-o, and don't test for or reference 10.2-specific functions when building for 10.1. r=cls, wtc.
2002-09-28 09:19:58 +00:00
pschwartau%netscape.com
233fcec52a
Simplifying test.
2002-09-28 02:52:28 +00:00
alecf%netscape.com
04309b9a82
remove JSLoader.xml as its no longer part of the build
2002-09-27 18:33:38 +00:00
alecf%netscape.com
6d569ff270
fix for bug 79175, merge jsloader into xpconnect
...
r=dbradley, sr=brendan
2002-09-27 18:33:02 +00:00
igor%mir2.org
735058d371
Add isGeneratedScript to DebuggableScript and its implementations to allow debuger to distinguish between scripts and functions coming from external files or ones defined vvia exec or new Function()
2002-09-26 20:19:39 +00:00
igor%mir2.org
32cc308b30
Fixing 169830: I replaced in jsFunction_concat calls to hasLengthPropert by ScriptRuntime.instanceOf and as hasLengthPropert is no longer used, I removed it as well.
2002-09-24 15:57:58 +00:00
igor%mir2.org
fcaecf752d
In newObject pass top level scope to the constructor, not ctor.getParentScope() to take into account hasCompileFunctionsWithDynamicScope()
2002-09-24 14:14:00 +00:00
igor%mir2.org
772d42aff7
In getClassPrototype replace ScriptRuntime.getTopLevelProp by getProperty to avoid double call to getTopLevelScope
2002-09-24 14:10:53 +00:00
igor%mir2.org
0e22f177f1
In jsFunction_concat inline ScriptRuntime.newObject to throw JavaScriptException if array constructor throws one and avoid double call to ScriptableObject.getTopLevelScope()
2002-09-24 14:08:22 +00:00
igor%mir2.org
0b6e1ef741
Change ScriptRuntime.getTopLevelPropery to call ScriptableObject.getProperty in place of explicit loop over the prototype chain. It makes sure that all Scriptable.get(property, start) on the prototype chain are called with a proper start value.
...
Add getExistingCtor to get existing constructor property or throw an exception.
2002-09-24 14:05:24 +00:00
igor%mir2.org
846c9cdfd3
Remove the minimalAllocation field and instead pre-allocate data array in the constructor if necessary.
2002-09-24 11:21:19 +00:00
igor%mir2.org
11edce55c2
Change NativeArray.getLengthProperty to return long instead of double as its results are always uint32 and adjust its usage accordingly . Fix Context.getElements documentation to state that it returns empty array, not null, if object does not have a reasonable length property.
2002-09-24 09:29:27 +00:00
brendan%mozilla.org
59d108da82
- String.prototype.match, .search, and .replace all use match_or_replace as
...
a common subroutine, but only replace might need to dereference the regexp
created from a non-regexp-type argument, which is converted to string and
compiled into a regexp data struct unowned by any rooted object. This case
was broken: a dangling GlobData.regexp pointer could be dereferenced in the
"lambda replace" code under str_replace, in find_replen, *after* the call
to match_or_replace had destroyed the regexp and returned to str_replace.
Bug 167658 reported the symptoms.
- Consolidate GlobData members into a flags word, avoiding yet another ad hoc
paramter to m_or_r (forceFlat).
- Use a local root in str_match to avoid adding and removing a global root.
2002-09-23 18:33:17 +00:00
pschwartau%netscape.com
4b80eca043
Initial add. Regression test for bug 170193.
2002-09-22 22:11:40 +00:00
brendan%mozilla.org
08cc28881a
Fix middle-delete-function-with-duplicate-formals (170193, r=shaver).
2002-09-22 19:34:07 +00:00
pschwartau%netscape.com
84e53d1eff
Initial add. Regression test for bug 169534.
2002-09-21 03:17:25 +00:00
brendan%mozilla.org
a96179b15f
Fix Array.prototype.concat to special-case and flatten Array arguments (including |this|) only, not any object with array-like .length (169795, r=rogerl, who fixed my tired morning patch).
2002-09-20 18:45:05 +00:00
pschwartau%netscape.com
581d06bb3b
Adding two new sections by igor@icesoft.no.
2002-09-20 17:43:16 +00:00
pschwartau%netscape.com
7c133e48e5
Fixing typos.
2002-09-20 17:04:08 +00:00
seawood%netscape.com
3a6afee554
Adding placeholders to silence cvs warnings
2002-09-20 09:14:42 +00:00
pschwartau%netscape.com
a631b00772
Initial add. Tests ECMA-262 Edition 3 Section 15.4.4.4. See bug 169795.
2002-09-20 03:35:24 +00:00
pschwartau%netscape.com
4541940e34
Initial add. Regression test for bug 169497.
2002-09-19 01:24:45 +00:00
brendan%mozilla.org
8439ac2b0f
Cosmetic nit-picks: respect 80-column limit, use NULL, not 0, for ptr init.
2002-09-18 18:44:47 +00:00
caillon%returnzero.com
8413e578a9
Bug 169321 - Passing strings generated by .match or .substr into Components.lookupMethod() was throwing exceptions because those strings
...
are not atomized.
Checking in for Johnny Stenback <jst@netscape.com>
r=dbradley@netscape.com , jaggernaut@netscape.com
sr=brendan@mozilla.org
2002-09-18 13:44:43 +00:00
igor%mir2.org
6bd97db281
Reduce "new X" usage by inlining few classes or packing their members into long field
2002-09-18 12:57:09 +00:00
igor%mir2.org
bfc5c0bbee
C relics removal: no need to check for null after "new X"
2002-09-18 12:50:51 +00:00
brendan%mozilla.org
399042088f
Fix blunder in obj_propertyIsEnumerable from last checkin (156354, r=shaver).
2002-09-16 23:00:03 +00:00
pschwartau%netscape.com
63bee85c59
Initial add. Regression test for bug 156354.
2002-09-16 22:24:42 +00:00
pschwartau%netscape.com
6b8bdd0bc3
Moving all comments to the top of the file.
2002-09-16 19:13:43 +00:00
pschwartau%netscape.com
40023632cf
Trivial change: more efficiency in detecting Rhino shell.
2002-09-16 18:57:22 +00:00
brendan%mozilla.org
3f993ab41a
Better macro name, nit-pick on last checkin.
2002-09-14 06:40:59 +00:00
pschwartau%netscape.com
9a56211808
Initial add. Regression test for bug 168347.
2002-09-14 00:12:25 +00:00
brendan%mozilla.org
c34626f1b7
Followup fix for 168347, r=rogerl: avoid temporary bloat due to QuoteString without sprinter offset retract.
2002-09-13 22:40:27 +00:00
brendan%mozilla.org
63f9f09b0c
Restore correct form of assertion removed by last rev.
2002-09-13 22:32:59 +00:00
brendan%mozilla.org
83b1687bf5
Reorder QuoteString calls added for bug 58274 to avoid overwriting just-popped strings in the string-stack (168347, r=shaver).
2002-09-13 06:58:24 +00:00
brendan%mozilla.org
3d40b744cb
Followup fix to op vs. implicit JSOP_GETELEM blunder in last checkin (168302, r=sspitzer).
2002-09-12 21:38:07 +00:00
brendan%mozilla.org
9de5f0f245
Restore enumeable, permanent, readonly single-char elements to string objects; fix propertyIsEnumerable to work with shared permanent proto-properties (167910, r=rogerl).
2002-09-12 19:34:59 +00:00
brendan%mozilla.org
be47a7caf5
Limit code generator recursion using iterative techniques; also limit js_EmitTree frame size using arena allocation of cg2 (96526, r=shaver).
2002-09-12 07:56:35 +00:00