igor%mir2.org
0541de0428
Bug 398609: Backing out due to mochi test failure.
...
git-svn-id: svn://10.0.0.236/trunk@239325 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 15:47:28 +00:00
igor%mir2.org
2e65d4ff36
Bug 398609: cleanup of hidden properties. r,a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@239322 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 14:56:18 +00:00
reed%reedloden.com
7909eff5d8
Bug 401188 - "Thread-unsafe updates to sub-atomic rt->gc{Poke,Zeal}" [p=crowder r=igor a1.9=brendan]
...
git-svn-id: svn://10.0.0.236/trunk@239308 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 10:44:08 +00:00
reed%reedloden.com
da70961d06
Bug 327869 - "new Date (1899, 0).toLocaleString() causes abnormal program termination if compiled with VC 8" [p=mats.palmgren@bredband.net (Mats Palmgren) r=crowder a=blocking1.9+]
...
git-svn-id: svn://10.0.0.236/trunk@239293 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 08:35:42 +00:00
reed%reedloden.com
f14deb8533
Bug 400793 - "Need JS_AlreadyHasOwnProperty (UCProperty, Element)" [p=crowder r+a1.9=brendan]
...
git-svn-id: svn://10.0.0.236/trunk@239291 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 08:28:47 +00:00
reed%reedloden.com
774bd89138
Bug 398177 - "ISO 8601 dates helper" [p=erwan@flock.com (Erwan Loisant) r=sayrer sr=mscott a1.9=damons]
...
git-svn-id: svn://10.0.0.236/trunk@239286 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 08:13:20 +00:00
reed%reedloden.com
5629d706a5
Bug 398485 - "Date toLocaleString() clamps the year to -32767 .. 32767" [p=mats.palmgren@bredband.net (Mats Palmgren) r=crowder a1.9=schrep]
...
git-svn-id: svn://10.0.0.236/trunk@239273 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 06:39:16 +00:00
reed%reedloden.com
5ffad97fc2
Bug 353116 - ""has no properties" is misleading and should be replaced with "is null or undefined"" [p=rich@rd.gen.nz (Rich Dougherty) r=brendan r=crowder a1.9=damons]
...
git-svn-id: svn://10.0.0.236/trunk@239261 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 05:23:22 +00:00
nboyd%atg.com
4640ec16a0
Remove duplicate definition of 'msg.fn.redecl'.
...
git-svn-id: svn://10.0.0.236/trunk@239234 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 23:24:06 +00:00
peterv%propagandism.org
abb121b5ab
Undoing accidental backout of the fix for bug 401254.
...
git-svn-id: svn://10.0.0.236/trunk@239205 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 14:45:08 +00:00
nboyd%atg.com
5cf0b2e780
Accepting patch for bug 391439: Exception on startup on JDK 1.4.
...
Patch from Jürg Lehni.
git-svn-id: svn://10.0.0.236/trunk@238973 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 13:12:05 +00:00
reed%reedloden.com
2f766e9547
Bug 401298 - "Including jsapi.h generates many warnings with certain compiler configurations (e.g. gcc 3.4 -Wstrict-prototypes)" [p=wes@page.ca (Wesley W. Garland) r=mrbkap a1.9=brendan]
...
git-svn-id: svn://10.0.0.236/trunk@238893 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 09:17:35 +00:00
nboyd%atg.com
b87ca4c21b
Truly enable catching all Java exceptions when FEATURE_ENHANCED_JAVA_ACCESS
...
is enabled.
git-svn-id: svn://10.0.0.236/trunk@238608 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-06 22:57:12 +00:00
nboyd%atg.com
f63bb78e98
When FEATURE_ENHANCED_JAVA_ACCESS gives us access to non-public members,
...
continue to prefer public methods in overloading.
git-svn-id: svn://10.0.0.236/trunk@238607 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-06 22:52:24 +00:00
nboyd%atg.com
e4c5dfd39a
Treat Java final the same as JavaScript [[READONLY]]. Rhino previously
...
just threw a RuntimeException.
git-svn-id: svn://10.0.0.236/trunk@238606 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-06 22:50:47 +00:00
igor%mir2.org
75563dec14
Bug 398085: better handling of long jumps in the bytecode. r,a=brendan,aM9=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@238596 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-06 19:41:04 +00:00
igor%mir2.org
09e64115c2
Bug 402087: fixing iteraction between gczeal mode and scripts. r,a=brendan, aM9=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@238578 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-06 11:05:00 +00:00
shaver%mozilla.org
1adcc69324
copy WINNT5.2 config for vista, npotb, r=crowder
...
git-svn-id: svn://10.0.0.236/trunk@238555 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-05 20:08:23 +00:00
peterv%propagandism.org
4489b3801c
Fix for bug 402535 (Cycle collection crashes with Leak Monitor extension installed). Pending-r=sicking, sr=jst, a=dsicore.
...
git-svn-id: svn://10.0.0.236/trunk@238552 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-05 19:43:08 +00:00
peterv%propagandism.org
fa6cbfff91
Fix for bug 402379 (Crash with Venkman profiling [@ JS_IsSystemObject]). r=igor, pending-sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@238531 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-05 09:12:16 +00:00
jonas%sicking.cc
3de98b19f8
Bug 402404: Don't remove an XPCTraceableVariant from root set in dtor if it has already been done during unlinking. Patch by peterv. r/sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@238526 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-05 02:07:09 +00:00
brendan%mozilla.org
fbbfd1816f
Fix post-increment/decrement automatic semicolon insertion bug (401466, r=mrbkap).
...
git-svn-id: svn://10.0.0.236/trunk@238523 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-04 22:21:19 +00:00
peterv%propagandism.org
84a66c49aa
Fix crash from patch for bug 401687 (Stop refcounting JS objects in the cycle collector). r/sr=jst, a=dsicore@mozilla.com.
...
git-svn-id: svn://10.0.0.236/trunk@238453 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-02 15:48:00 +00:00
nboyd%atg.com
ef9482d377
Store StopIteration in the global scope in a way that cannot be affected by
...
JavaScript. Rhino's behavior now matches SpiderMonkey for the following:
js> delete StopIteration
true
js> function f() { yield 3; }
js> g = f()
[object Generator]
js> g.next();
3
js> try { g.next() } catch (e) { exn = e; }
[object StopIteration]
git-svn-id: svn://10.0.0.236/trunk@238444 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-02 13:41:39 +00:00
nboyd%atg.com
859f441651
Break dependencies so that implementations can run without an Interpreter
...
instance.
git-svn-id: svn://10.0.0.236/trunk@238443 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-02 13:21:32 +00:00
reed%reedloden.com
bcf264da0f
Bug 401806 - "support building with dtrace enabled on Mac OS X" [p=Ryan r=luser aM9=schrep]
...
git-svn-id: svn://10.0.0.236/trunk@238438 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-02 06:36:50 +00:00
jst%mozilla.org
d65f2c3a90
Fixing solaris bustage from bug 401687. r+sr=jonas@sicking.cc
...
git-svn-id: svn://10.0.0.236/trunk@238431 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-02 01:09:53 +00:00
jst%mozilla.org
ae3c7e9020
Landing patch for bug 401687. Stop reference counting JS objects in the cycle collector. Patch by peterv@propagandism.org, r+sr=dbaron@mozilla.com,igor@mir2.org, a=dsicore@mozilla.com
...
git-svn-id: svn://10.0.0.236/trunk@238427 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-01 22:51:59 +00:00
nboyd%atg.com
77dd128c82
Improve indexOf (and lastIndexOf) performance by 3.5X.
...
Fix regression:
~/no_crawl/src/js/rhino>java -jar build/rhino1_6R6pre/js.jar
Rhino 1.6 release 6 Pre 2007 02 23
js> [undefined].map(function(val){return !val}).toSource()
[true]
js> quit()
~/no_crawl/src/js/rhino>java -jar build/rhino1_7R1pre/js.jar
Rhino 1.7 release 1 Pre 2007 09 26
js> [undefined].map(function(val){return !val}).toSource()
[, ]
git-svn-id: svn://10.0.0.236/trunk@238416 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-01 20:38:14 +00:00
bclary%bclary.com
32797f4c1e
Sisyphus|JavaScript Tests - remove need to parallel dir structure of tests into results, bug 399888, r=rcampbell, not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@238399 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-31 21:04:03 +00:00
bclary%bclary.com
0e68e308a7
JavaScript Tests - regression test for bug 383682, by Blake Kaplan, not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@238386 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-31 17:22:32 +00:00
nboyd%atg.com
90326683ee
Fix regression caused by fix for bug 396700, as shown by TypeError for
...
Array.prototype.some.call("foobar", function(c) {return c == 'x'}, undefined)
git-svn-id: svn://10.0.0.236/trunk@238382 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-31 14:11:03 +00:00
brendan%mozilla.org
73761384c3
Fix conditional expressions (401405, r=mrbkap).
...
git-svn-id: svn://10.0.0.236/trunk@238319 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-30 02:35:02 +00:00
peterv%propagandism.org
a0ddff3e86
Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912).
...
git-svn-id: svn://10.0.0.236/trunk@238286 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-29 13:45:10 +00:00
peterv%propagandism.org
916fca8f47
Backing out once more to fix orange.
...
git-svn-id: svn://10.0.0.236/trunk@238262 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-28 12:49:33 +00:00
peterv%propagandism.org
dbbdaa7c7f
Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912).
...
git-svn-id: svn://10.0.0.236/trunk@238261 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-28 11:14:43 +00:00
igor%mir2.org
6acdf5fbf2
Bug 401254: new shell function gcparam as a wrapper for JS_SetGCParameter. r=brendan. Browser builds do not use the file.
...
git-svn-id: svn://10.0.0.236/trunk@238258 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-27 23:04:13 +00:00
jonas%sicking.cc
5233d883cd
bug 394390: Don't report bogus warnings to the error console when using cross-site xmlhttprequest. Patch by Surya Ismail <suryaismail@gmail.com>, r/sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@238237 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-27 01:46:11 +00:00
peterv%propagandism.org
0777c3b24f
Backing out to fix orange.
...
git-svn-id: svn://10.0.0.236/trunk@238205 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-26 14:15:29 +00:00
peterv%propagandism.org
8e9fd20749
Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912).
...
git-svn-id: svn://10.0.0.236/trunk@238201 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-26 13:25:35 +00:00
szegedia%freemail.hu
76b18ad893
Restoring "throws IOException" in replaceObject()
...
git-svn-id: svn://10.0.0.236/trunk@238146 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-25 13:34:10 +00:00
reed%reedloden.com
cacd722349
Bug 393627 - "JS XPCOM component exception handled by native code shows up in error console" (don't report nsresult exceptions thrown from JS) [p=mrbkap r+sr=jst aM9=beltzner]
...
git-svn-id: svn://10.0.0.236/trunk@238131 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-25 05:59:37 +00:00
igor%mir2.org
8b52c46027
Bug 399090: proper check for duplicated parameter names in xdr decoder. r=brendan,mrbkap a=brendan aM9=beltzner
...
git-svn-id: svn://10.0.0.236/trunk@238098 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-24 21:50:22 +00:00
bclary%bclary.com
422a14c075
JavaScript Tests - update public-failures.txt 2007-10-24, bug 400958, not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@238083 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-24 13:57:21 +00:00
nboyd%atg.com
e822517f38
Dense array optimization for concat. 54X speed improvement.
...
Test case:
function f() {
var a = [1,2,3,4,5,6,7,8,9,10];
var d = new Date();
var r = [];
for (var i=0; i < 1000; i++) {
r = r.concat(a);
}
print((new Date()) - d);
}
f();
git-svn-id: svn://10.0.0.236/trunk@238044 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 21:46:42 +00:00
szegedia%freemail.hu
bf38603311
Fix for Bugzilla #396117 : preserve backwards compatibility with existing jsc-precompiled classes generated with earlier Rhino versions.
...
git-svn-id: svn://10.0.0.236/trunk@238042 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 20:28:21 +00:00
szegedia%freemail.hu
d5355ac5bd
Fix for Bugzilla #396700 : primitives passed as thisObj to Array.map etc are converted to object
...
git-svn-id: svn://10.0.0.236/trunk@238027 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 17:49:03 +00:00
bclary%bclary.com
959e0e2e63
Sisyphus - add -v verbose output switch, bug 399879, r=rcampbell, not part of the build
...
git-svn-id: svn://10.0.0.236/trunk@238023 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 16:54:53 +00:00
szegedia%freemail.hu
7c27cfea6b
Fix for Bugzilla #397882 : forEach and similar methods shouldn't enumerate unassigned or deleted array elements
...
git-svn-id: svn://10.0.0.236/trunk@238021 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 16:14:06 +00:00
szegedia%freemail.hu
bf32cc812a
Fix for Bugzilla #400159 : Synchronizer should act on the object underlying the Wrapper when applied to one
...
git-svn-id: svn://10.0.0.236/trunk@238020 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 15:46:08 +00:00