igor%mir2.org
6c5f56b786
Make ScriptRuntime.NaN, ScriptRuntime.NaNobj and ScriptRuntime.negativeZero static final again as now a workaround for MS JVM uses Double.longBitsToDouble to get the necessary values.
...
git-svn-id: svn://10.0.0.236/trunk@137830 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 23:51:28 +00:00
igor%mir2.org
7c54378ac6
I made Context.codeBug public so optimizer can use it.
...
git-svn-id: svn://10.0.0.236/trunk@137829 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 23:47:11 +00:00
igor%mir2.org
cdf2c93cf5
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=192105 :
...
The reason for the bug is that emitDirectConstructor generates code to call
setPrototype twice instead of setPrototype/setParentScope pair during new JS
object construction. The fix replaces that setup by a single call to
BaseFunction.createObject which is used by Interpreter as well.
git-svn-id: svn://10.0.0.236/trunk@137828 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 22:38:49 +00:00
pschwartau%netscape.com
dbdd5b1a4b
Removing skip since bug 191633 has been fixed.
...
git-svn-id: svn://10.0.0.236/trunk@137827 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 22:37:21 +00:00
igor%mir2.org
12a32c6aea
Optimization: In OptFunctionNode.getDirectCallParameterSignature use static strings for common cases of 0, 1 and 2 direct parameters.
...
git-svn-id: svn://10.0.0.236/trunk@137826 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 22:36:58 +00:00
igor%mir2.org
a7e7b2fa58
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=191633 :
...
Replace tail recursion in TokenStream.getToken by a loop.
git-svn-id: svn://10.0.0.236/trunk@137819 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 20:20:46 +00:00
igor%mir2.org
45ba1a20c3
Mostly cosmetics: use consistent layout for case statements and add additional {} block around main code in TokenStream.getToken() so the following patch to fix http://bugzilla.mozilla.org/show_bug.cgi?id=191633 will be small.
...
git-svn-id: svn://10.0.0.236/trunk@137818 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 20:19:07 +00:00
igor%mir2.org
70727d0ea2
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=191668 :
...
Integration of LineBuffer into TokenStream code which now uses a special buffer for unreading of several chars to follow SM more closely. In this way there is no problem with a possible backtracking of 3 chars on failed attempt to match <!-- at the last minus.
TokenStream is also modified to accept a string with a source directly which avoids the need to construct intermediate StringReader in Context and allows to remove DebugReader class which is replaced by a simple function to read all Reader data into string.
git-svn-id: svn://10.0.0.236/trunk@137816 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 17:09:19 +00:00
igor%mir2.org
161afa11f7
Fixing http://bugzilla.mozilla.org/show_bug.cgi?id=192226 :
...
Codegen.visitRegularCall should not try to apply the simple call optimization
when firstArgDone is true indicating directly called function. The patch also
replaces generation of code to call new Object[0] by loading the
ScripRuntime.emptyArgs field.
git-svn-id: svn://10.0.0.236/trunk@137815 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 16:55:40 +00:00
igor%mir2.org
cc1a680e6a
Use x instanceof Type checks in place of x.getClass() = TypeClass as instanceof is significantly faster then calling getClass.
...
git-svn-id: svn://10.0.0.236/trunk@137814 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 16:53:14 +00:00
locka%iol.ie
b9c67caae1
Fix use of IObjectSafety, cleanup nsAxSecurityPolicy.js & subscribe to hosting flag pref changes, using medium settings as the default. b=191758 r=dbradley@netscape.com sr=alecf@netscape.com a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@137754 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 12:17:21 +00:00
igor%mir2.org
f20df0f936
Patch from Steven Beal fixing a bug due to my changes:
...
I just noticed that the changes introduced with
v1.29 of Main.java broke the ability to do hot
reloads of scripts. To be more explicit, the script
is actually reloaded but the source in the debugger
is not updated to reflect the newly loaded code.
...
Attached is a patch that restores the original behavior.
The refactorings are preserved but the handling of
previously loaded SourceInfo objects is restored and the
check for previously loaded ScriptItem instances
removed.
git-svn-id: svn://10.0.0.236/trunk@137746 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 03:01:09 +00:00
rginda%netscape.com
7364bca511
syncing with the latest apidoc from /webtools/apidoc
...
git-svn-id: svn://10.0.0.236/trunk@137703 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-12 08:25:15 +00:00
nboyd%atg.com
1cfc36b65c
Remove language about "release candidate" now that we have a final.
...
git-svn-id: svn://10.0.0.236/trunk@137657 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-11 15:04:12 +00:00
nboyd%atg.com
4e221a2228
Update for final release
...
git-svn-id: svn://10.0.0.236/trunk@137645 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-11 01:50:26 +00:00
pschwartau%netscape.com
35fe3c1979
Skip new test that uses SpiderMonkey's toSource() functionality (non-ECMA).
...
git-svn-id: svn://10.0.0.236/trunk@137639 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-11 00:24:33 +00:00
pschwartau%netscape.com
ccbe40d9b2
Initial add. Regression test for bug 192465.
...
git-svn-id: svn://10.0.0.236/trunk@137636 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-11 00:13:45 +00:00
nboyd%atg.com
6d2163bfa4
Update release date.
...
git-svn-id: svn://10.0.0.236/trunk@137624 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-10 15:36:42 +00:00
pschwartau%netscape.com
b2fa9ad875
Re-indexing the repeat_str() function to output N copies of the given string instead of N+1.
...
git-svn-id: svn://10.0.0.236/trunk@137609 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-09 00:52:21 +00:00
pschwartau%netscape.com
4e8a41e778
Initial add. Regression test for bug 192414.
...
git-svn-id: svn://10.0.0.236/trunk@137608 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-09 00:39:46 +00:00
pschwartau%netscape.com
5a91b0fc47
Initial add. Regression test for bug 192288.
...
git-svn-id: svn://10.0.0.236/trunk@137560 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-07 22:52:05 +00:00
pschwartau%netscape.com
8a14d98efd
Initial add. Regression test for bug 192226.
...
git-svn-id: svn://10.0.0.236/trunk@137555 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-07 22:26:15 +00:00
igor%mir2.org
db57df009b
More info on new security interfaces
...
git-svn-id: svn://10.0.0.236/trunk@137551 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-07 20:44:47 +00:00
timeless%mozdev.org
d5ed20b8df
Bug 191675 JS Shell (1.3.1+) Quit() calls exit() without cleaning up.
...
r=rogerl
git-svn-id: svn://10.0.0.236/trunk@137519 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-07 03:51:59 +00:00
timeless%mozdev.org
15db0212de
Bug 107002 Makefile.ref doesn't build on rh7.1 with readline
...
r=rogerl
git-svn-id: svn://10.0.0.236/trunk@137516 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-07 03:10:59 +00:00
pschwartau%netscape.com
d4bbc58c26
Initial add. Regression test for bug 192105.
...
git-svn-id: svn://10.0.0.236/trunk@137492 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-06 19:17:07 +00:00
dbradley%netscape.com
2dc7a63129
Bug 190813 - Browser hangs indefinitely on above URL. r=shaver, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@137480 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-06 14:54:59 +00:00
pschwartau%netscape.com
d9a1a26554
Initial add. Regression test for bug 191668.
...
git-svn-id: svn://10.0.0.236/trunk@137330 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-03 20:35:00 +00:00
pschwartau%netscape.com
c74fd9a8dd
Skip this regression test until bug 191633 is fixed; failure output is enormous -
...
git-svn-id: svn://10.0.0.236/trunk@137329 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-03 20:12:27 +00:00
pschwartau%netscape.com
919ac6fee7
Initial add. Regression test for bug 191633.
...
git-svn-id: svn://10.0.0.236/trunk@137328 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-03 20:08:27 +00:00
nboyd%atg.com
cba6a7ee40
fix bug 106831
...
git-svn-id: svn://10.0.0.236/trunk@137280 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-03 01:17:44 +00:00
pschwartau%netscape.com
1edddef3f3
Initial add. Regression test for bug 191479.
...
git-svn-id: svn://10.0.0.236/trunk@137214 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 20:30:33 +00:00
pschwartau%netscape.com
d94f0c8522
Initial add. Regression test for bug 191276.
...
git-svn-id: svn://10.0.0.236/trunk@137148 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 19:10:35 +00:00
locka%iol.ie
fa14b03223
Fix ClassIsListed which returns wrong value when registry key is missing. b=191131 r=dbradley@netscape.com sr=darin@netscape.com a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@137142 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 13:22:01 +00:00
pschwartau%netscape.com
251e559389
We've decided to follow Perl, rather than ECMA, and allow unescaped braces in regexp patterns, evan if they are not part of a quantifier. See bug 190685.
...
git-svn-id: svn://10.0.0.236/trunk@137111 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 02:25:51 +00:00
darin%netscape.com
f033d09f91
final patch for bug 190326 "crash in nsJARChannel.cpp when launching calendar"
...
r=dougt sr=alecf a=asa
git-svn-id: svn://10.0.0.236/trunk@137071 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-29 06:47:55 +00:00
pschwartau%netscape.com
aa7e830a32
Adding a missing escape to the regexp pattern to make it ECMA-correct.
...
git-svn-id: svn://10.0.0.236/trunk@137007 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 01:14:15 +00:00
rogerl%netscape.com
de5c571dc3
Fixing bug #190685 , re-allowing '{' as un-quantifier literal.
...
git-svn-id: svn://10.0.0.236/trunk@136990 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-27 21:13:15 +00:00
igor%mir2.org
349a098b79
Added log for more fixed bugs
...
git-svn-id: svn://10.0.0.236/trunk@136989 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-27 20:04:13 +00:00
igor%mir2.org
dab395fb7b
Do not call setSelectedIndex on frame JList if there are no frames.
...
git-svn-id: svn://10.0.0.236/trunk@136974 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-26 18:33:30 +00:00
igor%mir2.org
d31446dce8
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
...
git-svn-id: svn://10.0.0.236/trunk@136973 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-26 18:28:26 +00:00
igor%mir2.org
e4d3bff79a
Documentation about runCommand in shell
...
git-svn-id: svn://10.0.0.236/trunk@136972 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-26 18:01:43 +00:00
igor%mir2.org
5ffb9ec4b1
Added runCommand to execute external processes
...
git-svn-id: svn://10.0.0.236/trunk@136969 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-26 15:43:50 +00:00
igor%mir2.org
8f06ca4eea
Added list of resolved Bugzilla reports
...
git-svn-id: svn://10.0.0.236/trunk@136968 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-26 14:30:47 +00:00
pschwartau%netscape.com
fa9b573ad9
Commenting out sections containing (?< or (?(condition). Perl supports these operators, but ECMAScript does not.
...
git-svn-id: svn://10.0.0.236/trunk@136905 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-23 20:56:08 +00:00
pschwartau%netscape.com
228addc18a
Trivial comment fix.
...
git-svn-id: svn://10.0.0.236/trunk@136904 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-23 20:22:19 +00:00
pschwartau%netscape.com
09759e13b2
Removing an erroneous section. According to the spec, can't have more than 2 consecutive |?| quantifers in a regexp.
...
git-svn-id: svn://10.0.0.236/trunk@136903 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-23 20:08:39 +00:00
pschwartau%netscape.com
5a93d2f9d6
Whitespace cleanup.
...
git-svn-id: svn://10.0.0.236/trunk@136902 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-23 20:03:12 +00:00
rogerl%netscape.com
49a58b71b6
Fixed bug #189898 , replace not working with string argument. Also added
...
error checking for bad quantifiers (see bug 188206)
git-svn-id: svn://10.0.0.236/trunk@136849 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 18:55:41 +00:00
rginda%netscape.com
39f106b471
- venkman only -
...
bug 189563, initialize hookresult to prevent warnings
git-svn-id: svn://10.0.0.236/trunk@136814 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 05:42:35 +00:00