pschwartau%netscape.com
c94fc89bea
Initial add. Regression test by Igor Bukanov, for bug 226507.
2003-11-25 02:23:59 +00:00
brendan%mozilla.org
6e4bb85437
Comment-only change.
2003-11-25 01:50:41 +00:00
brendan%mozilla.org
8cd9036829
Patch from Igor Bukanov <igor@fastmail.fm> with a few tweaks from me to limit stack consumption under js_EmitTree (226507, r=shaver, a=rjesup).
2003-11-25 01:50:17 +00:00
igor%mir2.org
2997e9f7ee
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=226045 :
...
(new RegExp).toString/toSource() now gives /(?:)/ instead of // which is comments and does not work with uneval.
2003-11-24 15:51:44 +00:00
timeless%mozdev.org
8831aead60
Adding support for Solaris 9 (copied from Solaris 8)
2003-11-23 20:13:36 +00:00
mkaply%us.ibm.com
e67c7acaed
#200144
...
r=brendan, a=mkaply
Remove XP_OS2 #ifdefs from JS
2003-11-19 23:07:57 +00:00
brendan%mozilla.org
fe950fd204
Fix old bug afflicting for(var i=j in o) hard case; fix for(var... in decompilation; expand tabs in jsopcode.c (226078, r=shaver).
2003-11-18 23:51:43 +00:00
pschwartau%netscape.com
cd45244168
Updating email address.
2003-11-18 20:58:56 +00:00
pschwartau%netscape.com
f457eaa80d
The behavior of toString() and toSource() on empty regexps has changed. See bug 225550 and bug 226045.
2003-11-18 04:12:48 +00:00
brendan%mozilla.org
79ad410220
Forgot a couple of places in need of sealed-scope locking optimization; also reordered lock-free tests to avoid ClaimScope from GC.
2003-11-18 02:45:17 +00:00
brendan%mozilla.org
bf7997bdef
Add -S maxstacksize option (225061, patch from Igor Bukanov <igor@fastmail.fm>, r=me).
2003-11-17 23:58:21 +00:00
brendan%mozilla.org
31652c3945
My attempt to fix 225343, r=shaver.
2003-11-17 22:12:52 +00:00
igor%mir2.org
46e97e6ab7
Fixing debug printout of icode: CALLSPECIAL prinout was not updated to reflect proper value of only 6 additional bytes for bytecode.
2003-11-17 18:31:55 +00:00
igor%mir2.org
a9bb9a44ac
To mark special properties __proto__ and __parent__ in parse tree use integer ids instead of strings so it is easier to check tree consitency.
2003-11-17 17:39:43 +00:00
igor%mir2.org
cbacb923d3
Finalizing toSource() support: do not put () arround {} for source representation of objects that are part of recursive toSource call.
...
For details, see http://bugzilla.mozilla.org/show_bug.cgi?id=225465
2003-11-17 17:37:21 +00:00
pschwartau%netscape.com
cbb33a9d98
Removing skip of fileName and lineNumber test; these properties are now supported by Rhino. See bug 225817.
2003-11-17 16:48:12 +00:00
igor%mir2.org
02c0cb7a89
Changing wrapping of caught Java exceptions: now they are constructed with JavaException constructor, have fileName, lineNumber defined to point to script line that executed Java code triggering exception and have javaException property pointing to the wrapped exception object.
...
For details, see http://bugzilla.mozilla.org/show_bug.cgi?id=225817
2003-11-17 11:04:29 +00:00
igor%mir2.org
834efdbe71
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=225817 :
...
Proper support for fileName and lineNumber in Error objects.
2003-11-17 09:45:01 +00:00
pschwartau%netscape.com
b707a22895
Removing inner () 's from Section 4 of test. See bug 225831 comment 7.
2003-11-17 00:46:52 +00:00
pschwartau%netscape.com
24d46ce950
Adding comments.
2003-11-16 23:10:49 +00:00
pschwartau%netscape.com
2954f1e1c9
Nope, that last correction was wrong; fixing mistake. See bug 225289 comment 9.
2003-11-16 23:07:28 +00:00
pschwartau%netscape.com
336f8f995e
Adding three more sections, by igor@fastmail.fm.
2003-11-16 22:03:14 +00:00
brendan%mozilla.org
58ec114d26
Fix ALTPREREQ2, it was just plain busted (225289, r=zack-web@gmx.de based on his similar patch).
2003-11-16 21:34:59 +00:00
pschwartau%netscape.com
5e19ce935a
Initial add. Regression test for bug 225831, by igor@fastmail.fm.
2003-11-16 00:04:18 +00:00
pschwartau%netscape.com
059637f8b3
Correcting another error (I believe; see bug 209919 comment 14).
2003-11-15 23:22:00 +00:00
pschwartau%netscape.com
e19013d947
Fixing more errors in the test - see bug 225289 comment 6.
2003-11-15 23:19:27 +00:00
pschwartau%netscape.com
22ba07905f
Fixing an error in the test.
2003-11-15 22:47:03 +00:00
gerv%gerv.net
29cfd51965
Bug 205418 - Relicense Spidermonkey (js/src) to MPL/LGPL/GPL. Patch by gerv; r,a=brendan.
2003-11-15 00:11:16 +00:00
igor%mir2.org
7c4e5d8424
Allow for scripts to catch instances of EvaluatorException
2003-11-14 20:38:06 +00:00
igor%mir2.org
8e546b9047
Transform StackOverflow during parsing into runtime exception so script can detect too deep recursion during parsing.
2003-11-14 20:33:43 +00:00
igor%mir2.org
7c0cff6574
Splitting Token.ASSIGN into Token.ASSIGN and Token.ASSIGNOP where the former represents only = while ASSIGNOP is used to denote +=, -= etc. Parse tree for the 2 operations is rather different and split allowed to simplify IRFactory code.
2003-11-14 16:03:31 +00:00
brendan%mozilla.org
79d99c1c7a
Tweak so uneval(-0) == '-0' (r=igor@fastmail.fm).
2003-11-14 03:40:36 +00:00
brendan%mozilla.org
3a340c0519
RegExp().toString and .toSource should return '/(?:)/', not '//' (bug 225550, r=sparky).
2003-11-14 03:23:49 +00:00
mkaply%us.ibm.com
fcba513440
#224487
...
r=brendan
Os/2 only changes to work around FPU issues. See the bug.
2003-11-14 01:49:37 +00:00
pschwartau%netscape.com
75422d50c1
Removing skips for toSource() and uneval(), now that Rhino has implemented these methods (bug 225465). Adding a comment for skip of js1_5/Regress/regress-192465.js.
2003-11-13 18:39:17 +00:00
igor%mir2.org
2e75448c13
Implementing uneval/toSource functionality of SpiderMonkey. Foe details, see http://bugzilla.mozilla.org/show_bug.cgi?id=225465 .
2003-11-13 17:15:31 +00:00
brendan%mozilla.org
e74d5a9b8e
Heal a now-bogus assertion under JS_LOCK_OBJ/JS_LOCK_SCOPE.
2003-11-12 22:14:25 +00:00
igor%mir2.org
7d1e5eda47
Passing to decompiler information about function type so it can use it to customize its output in future.
2003-11-12 15:47:50 +00:00
peter%propagandism.org
d4474f74da
Part of fix for bug 219848 (Cannot programmatically (JavaScript) set value of HTMLInputElement) - return JS_FALSE when throwing an exception. r=caillon, sr=jst.
2003-11-12 14:19:26 +00:00
igor%mir2.org
f2ba87fed2
Changing Decompiler.decompile to take just encoded source, flag argument controlling output format and property table so it would be possible to add more options to decompiler without changing the rest of code.
2003-11-12 12:22:12 +00:00
igor%mir2.org
e734cecce2
Changing return type of NativeFunction.getEncodedSource() to String from Object since the idea of having anything else but String would require changes in API in any case.
2003-11-12 10:23:53 +00:00
pschwartau%netscape.com
976f1809e1
Initial add. Regression test for bug 225343.
2003-11-11 20:55:59 +00:00
igor%mir2.org
b7d4dfaa28
In ClassFileWriter.addPush(double) use DNEG to generate more compact code for -0.0 and -1.0
2003-11-11 20:31:36 +00:00
igor%mir2.org
f260baaf11
Changing just introduced CodeBlock into Callable that define call method with exactly the same signature as Function.call and changing Function to extend Callable.
...
Now Context defines new method "call" that provide optimized version of the following code:
Context cx = Context.enter()
try {
callable.call(cx, scope, thisObj, args);
} finally {
Context.exit();
}
Since Function extends Callable, it can be passed to this method directly thus simplifying ScriptableObject.call method and Java adapter code.
The new interface is used in SecurityController implementation which allows to pass interpreted functions there directly as well removing the need to have intermediate class in Interpreter.
2003-11-11 20:30:08 +00:00
igor%mir2.org
dd1efd374f
Extend constant folding to cover few unary operations
2003-11-11 20:18:34 +00:00
igor%mir2.org
12c1d23434
1. Make sure that -0.0 from parser are treated properly: new constant folding code there may produce it.
...
2. Instead of generating code to call Double constructor use the new method OptRuntime.wrapDouble() that allows to cut amount of produced byte code.
2003-11-11 20:04:38 +00:00
jshin%mailaps.org
eabe319067
bug 44272 : make escape/unescape (in DOM) correctly work with the full range of Unicode chars. (by making it use JSengine version) (r=brendan/bz, sr=bz)
2003-11-11 17:59:54 +00:00
pschwartau%netscape.com
6414dc4d64
Correcting mistakes, and changing style.
2003-11-11 05:21:26 +00:00
pschwartau%netscape.com
c8372729aa
Initial add. Regression test for bug 225289.
2003-11-11 04:56:52 +00:00
brendan%mozilla.org
24e5990b0c
Remove JS_UnsealObject, optimize locking of sealed objects, shrink JSContext by two JSArenaPool members (224306, r=shaver).
2003-11-11 01:28:17 +00:00