Commit Graph

973 Commits

Author SHA1 Message Date
reed@reedloden.com
3b58bb05e5 Bug 401806 - "support building with dtrace enabled on Mac OS X" [p=Ryan r=luser aM9=schrep] 2007-11-01 23:36:49 -07:00
jst@mozilla.org
b82c1c86f3 Fixing solaris bustage from bug 401687. r+sr=jonas@sicking.cc 2007-11-01 18:09:53 -07:00
jst@mozilla.org
858f753261 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 2007-11-01 15:51:57 -07:00
bclary@bclary.com
ec492a2fb3 Sisyphus|JavaScript Tests - remove need to parallel dir structure of tests into results, bug 399888, r=rcampbell, not part of the build 2007-10-31 14:04:03 -07:00
bclary@bclary.com
fd0a76f9c2 JavaScript Tests - regression test for bug 383682, by Blake Kaplan, not part of the build 2007-10-31 10:22:32 -07:00
jorendorff@mozilla.com
8244121745 Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
2007-10-31 10:40:29 -05:00
brendan@mozilla.org
cf0905a942 Fix conditional expressions (401405, r=mrbkap). 2007-10-29 19:35:02 -07:00
peterv@propagandism.org
0614d590fc 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). 2007-10-29 06:45:07 -07:00
peterv@propagandism.org
26b136edfe Backing out once more to fix orange. 2007-10-28 05:49:30 -07:00
peterv@propagandism.org
eae43da5fc 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). 2007-10-28 04:14:40 -07:00
igor@mir2.org
22632f27dc Bug 401254: new shell function gcparam as a wrapper for JS_SetGCParameter. r=brendan. Browser builds do not use the file. 2007-10-27 16:04:13 -07:00
jonas@sicking.cc
903acf3ee6 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 2007-10-26 18:46:09 -07:00
peterv@propagandism.org
89c081734f Backing out to fix orange. 2007-10-26 07:15:28 -07:00
peterv@propagandism.org
7496875bfa 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). 2007-10-26 06:25:32 -07:00
reed@reedloden.com
8d268b59fb 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] 2007-10-24 22:59:37 -07:00
igor@mir2.org
7432749720 Bug 399090: proper check for duplicated parameter names in xdr decoder. r=brendan,mrbkap a=brendan aM9=beltzner 2007-10-24 14:50:22 -07:00
bclary@bclary.com
4b299c2c8e JavaScript Tests - update public-failures.txt 2007-10-24, bug 400958, not part of the build 2007-10-24 06:57:21 -07:00
bclary@bclary.com
d271752edf Sisyphus - add -v verbose output switch, bug 399879, r=rcampbell, not part of the build 2007-10-23 09:52:36 -07:00
jst@mozilla.org
d1cdc96ae3 Landing fix for bug 388564. Adding Dtrace probes to the JS engine. Patch by padraig.obriain@sun.com and brendan@sun.com, and some intergration work done by jst@mozilla.org. r=brendan@mozilla.org, igor@mir2.org, sayrer@gmail.com, and r+a=ted.mielczarek@gmail.com. 2007-10-19 15:24:32 -07:00
benjamin@smedbergs.us
c3393d4ddd Bug 400393 - Can't build mozilla-central on 64-bit OS because of pointer-to-int32 casts which are ok in C but not in C++, r=igor 2007-10-19 15:33:13 -04:00
bclary@bclary.com
f148209525 JavaScript Tests - regression tests for bug 387955, by Jesse Ruderman, Igor Bukanov, not part of the build 2007-10-18 19:34:01 -07:00
bclary@bclary.com
391b1aaea4 JavaScript Tests - regression test for bug 390078, by Igor Bukanov, not part of the build 2007-10-18 19:26:52 -07:00
bclary@bclary.com
a96d7f6250 JavaScript Tests - update public-failures.txt, bug 400246, not part of the build 2007-10-17 22:21:42 -07:00
brendan@mozilla.org
436344ab70 Include $ and _ in identifier chars (still to do: Unicode alnums and escapes); based on patch from Frankie Robertson <frankierobertson5@googlemail.com> (399625, r=mrbkap). 2007-10-16 16:43:28 -07:00
brendan@mozilla.org
64d2067d93 Fix from Frankie Robertson <frankierobertson5@googlemail.com> to Node toString (399659, r/a=me). 2007-10-16 15:56:16 -07:00
benjamin@smedbergs.us
0553a0887d Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsbool.c => js/src/jsbool.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsmath.c => js/src/jsmath.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2007-10-13 21:05:56 -04:00
timeless@mozdev.org
d12c3005eb Bug 397239 ActionMonkey: Remove "extra" parameter to JS_FN patch by Jason Orendorff <jorendorff@mozilla.com> r=igor a=brendan 2007-10-13 13:09:48 -07:00
jst@mozilla.org
73d06385cd Fixing bug 399406. Make sure to initialize LiveConnect (if needed) when loading applets. r+sr+a=jonas@sicking.cc 2007-10-13 09:42:44 -07:00
bclary@bclary.com
c028eb5b05 JavaScript Tests - copy regular expression testing utilities from RegExp to extensions subsuite, bug 370585, not part of the build 2007-10-11 03:32:25 -07:00
bclary@bclary.com
aaf0fba96e JavaScript Tests - update spidermonkey-extensions-n.tests, bug 370585, not part of the build 2007-10-10 21:38:15 -07:00
bclary@bclary.com
ecfc51c9cf JavaScript Tests - move tests of non-standard features to extensions, bug 370585, not part of the build 2007-10-10 20:53:01 -07:00
bclary@bclary.com
30dcd3046e JavaScript Tests - move tests of non-standard features to extensions, bug 370585, not part of the build 2007-10-10 20:46:26 -07:00
bclary@bclary.com
b86a3a84b7 JavaScript Tests - move tests of non-standard features to extensions, bug 370585, not part of the build 2007-10-10 20:38:13 -07:00
bclary@bclary.com
57fcbe7d61 JavaScript Tests - move tests of non-standard features to extensions, bug 370585, not part of the build 2007-10-10 19:04:46 -07:00
bclary@bclary.com
ac471c76b5 JavaScript Tests - move tests of non-standard into extensions, bug 370585 2007-10-10 18:36:33 -07:00
bclary@bclary.com
287f558a89 JavaScript Tests - update public-failures.txt, bug 399387, not part of the build 2007-10-10 18:04:12 -07:00
bclary@bclary.com
8615aa7de9 JavaScript Tests - regression test for bugs 291494, 395836, not part of the build 2007-10-10 17:54:38 -07:00
bclary@bclary.com
5f14ba33da JavaScript Tests - move js1_5/Date/toLocaleFormat.js to js1_5/extensions/toLocaleFormat-01.js, bug 370585, not part of the build 2007-10-10 17:47:10 -07:00
bclary@bclary.com
29b0afbc88 JavaScript Tests - update regression tests for bug 327869, by Michael Daumling, Mats Palmgren, not part of the build 2007-10-10 17:35:08 -07:00
mrbkap@gmail.com
ea3c9194f2 Restore dynamic indirect eval code. bug 383682, r=brendan/igor a=brendan 2007-10-09 15:42:42 -07:00
crowder@fiverocks.com
2866608cbf Bug 395836 - backed out "patch with nits fixed" due to perf regressions 2007-10-09 15:34:04 -07:00
bent.mozilla@gmail.com
fca40ef963 Oops, removing windows line endings I accidentally checked in when fixing bug 399094. 2007-10-09 13:18:44 -07:00
jorendorff@mozilla.com
1895f3da4f Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscan.c => js/src/jsscan.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2007-10-09 13:00:59 -05:00
bent.mozilla@gmail.com
dcf0aa1c00 Bug 399094 - "Wrappers don't deal with non-native objects". Patch by Blake Kaplan <mrbkap@gmail.com>, r+sr+a=jst. 2007-10-08 23:16:55 -07:00
bzbarsky@mit.edu
cb240a8164 Wrap the strftime() call with an empty "invalid parameter handler" on Windows. b=395836, patch by Mats Palmgren <mats.palmgren@bredband.net>, r=crowder a=brendan 2007-10-08 21:24:57 -07:00
mrbkap@gmail.com
ec86169c52 Don't call setters if there is no setter to call. bug 398040, r=brendan sr=jst a=blocking1.9+ 2007-10-06 10:14:34 -07:00
bclary@bclary.com
db599c7adf JavaScript Test - ignore XPCCrossOriginWrapper on global object, bug 390946, not part of the build 2007-10-05 13:44:42 -07:00
bclary@bclary.com
51dcd6581a JavaScript Test - regression test for bug 394673, by Igor Bukanov, not part of the build 2007-10-05 09:41:54 -07:00
benjamin@smedbergs.us
ef77e06887 Bug 397773 - mozilla-central has pedantic errors because of extra commas, r=mrbkap+brendan a=brendan 2007-10-05 06:58:51 -07:00
bclary@bclary.com
37cdba604c JavaScript Tests - update Sisyphus related shell scripts to use /bin/bash, bug 397921, not part of the build 2007-10-04 09:06:34 -07:00
bclary@bclary.com
dfffabebbc JavaScript Tests - update regression test to support Rhino, bug 398450, by Norris Boyd, not part of the build 2007-10-03 13:56:55 -07:00
bclary@bclary.com
fe8084d1ef Update JS_GetImplementationVersion to 1.8.0 on trunk, bug 380901, ra=brendan 2007-10-03 06:48:01 -07:00
igor@mir2.org
fa98070cd2 Bug 397210: JSTokenStream is stored in JSParseContext. r=brendan 2007-10-02 16:10:09 -07:00
igor@mir2.org
91ee82b969 Backing out the patch 397210. 2007-10-01 13:46:10 -07:00
igor@mir2.org
9ffab6a112 Bug 397210: JSTokenStream is stored in JSParseContext. r=brendan 2007-10-01 13:25:25 -07:00
igor@mir2.org
6360c6c769 Bug 396758: the system flag is moved from GC flags to JSObject itself. r=brendan 2007-10-01 12:11:41 -07:00
bclary@bclary.com
9cd98cfe22 JavaScript Tests - sync Sisyphus support, bug 398005, not part of the build 2007-10-01 12:10:41 -07:00
mrbkap@gmail.com
054ff675b4 Propagate exceptions from the evalcx context to the outer context so they can be caught. bug 353737, r+a=brendan 2007-09-30 17:43:30 -07:00
mrbkap@gmail.com
3b183e4e87 Implement an iterator hook for cross origin wrappers to avoid wrongly walking up the prototype chain during enumeration. bug 390947, r+a=brendan sr=jst 2007-09-30 17:31:22 -07:00
igor@mir2.org
6e02e43f6d evalcx uses JS_BeginRequest/JS_EndRequest. bug 398045, r=mrbkap, not a part of the build. 2007-09-30 09:12:15 -07:00
bclary@bclary.com
76376e39b8 JavaScript Tests - update spidermonkey-extensions-n.tests, bug 398000, not part of the build 2007-09-29 06:55:22 -07:00
bclary@bclary.com
ec7cdb22d9 JavaScript Tests - fix emca 262 section, bug 396969, not part of the build 2007-09-28 09:09:35 -07:00
reed@reedloden.com
c4a5cce285 Bug 397536 - "performance improvements for JSON.jsm" (optimize string serialization) [p=zeniko@gmail.com (Simon Bünzli) r=sspitzer sr=brendan a1.9=mconnor] 2007-09-27 09:50:29 -07:00
bclary@bclary.com
6190e190f2 JavaScript Tests - fix false negatives due to embedded "false!" in output, bug 397545, r=jorendorff, not part of the build 2007-09-26 07:24:01 -07:00
igor@mir2.org
a27e01321b Bug 396758: taking the patch out as it broke the test cases. 2007-09-25 10:30:55 -07:00
igor@mir2.org
c43bd3e5f1 Bug 396758: the system flag is moved from GC flags to JSObject itself. r=brendan 2007-09-25 10:08:41 -07:00
bclary@bclary.com
098afa4620 JavaScript Test - regression test for bug 396684, by Igor Bukanov, not part of the build 2007-09-24 12:20:54 -07:00
bclary@bclary.com
e5d897e8e0 JavaScript Tests - regression tests for bug 396969, by Brendan Eich, not part of the build 2007-09-24 11:41:14 -07:00
bent.mozilla@gmail.com
d621642b2b Bug 397311 - Need a JSAutoRequest in xpcJSWeakReference::Init. r=brendan, sr+a=jst. 2007-09-23 23:09:56 -07:00
mrbkap@gmail.com
40d1182d3f Fix obsolete test and add a new test to fix orange. 2007-09-22 14:42:36 -07:00
mrbkap@gmail.com
e2aef6cdbe Only allow XOW wrapped prototypes to go to null, not other objects. bug 394815, r+sr+a=brendan 2007-09-22 14:12:32 -07:00
mrbkap@gmail.com
dbdd20c732 Fix Convert to work for JSTYPE_VOID and make sure it reports an error. bug 394436, r=jst sr=brendan 2007-09-22 14:09:51 -07:00
mrbkap@gmail.com
f52c2fdd71 Fix old bug where we wouldn't close ts after a compilation error. bug 397136, r+a=brendan 2007-09-22 13:13:35 -07:00
bclary@bclary.com
08f32110e0 JavaScript Test - regression test for bug 396900, by Norris Boyd, not part of the build 2007-09-21 10:11:48 -07:00
bclary@bclary.com
bdffed1c10 JavaScript Test - regression test for bug 380933, by Jesse Ruderman, not part of the build 2007-09-21 07:55:45 -07:00
bclary@bclary.com
176cee8e0c JavaScript Test - regression test for bug 352616, not part of the build 2007-09-21 07:52:04 -07:00
bclary@bclary.com
4f22780b0c JavaScript Test - regression test for bug 381374, by Jesse Ruderman, not part of the build 2007-09-21 07:48:55 -07:00
bclary@bclary.com
1c240c61f4 JavaScript Test - regression test for bug 394967, by Jesse Ruderman, not part of the build 2007-09-21 07:45:48 -07:00
bclary@bclary.com
48d43cdece JavaScript Tests - regression tests for bug 358594, by Jesse Ruderman, not part of the build 2007-09-21 07:39:09 -07:00
bclary@bclary.com
c41a2b30f6 JavaScript Test - regression test for bug 379245, by Igor Bukanov, not part of the build 2007-09-21 07:33:29 -07:00
bclary@bclary.com
a4b5fa6890 JavaScript Test - regression test for bug 382503, by Jesse Ruderman, not part of the build 2007-09-21 07:30:19 -07:00
bclary@bclary.com
c5a8c7f592 JavaScript Test - regression test for bug 375976, by Jesse Ruderman, not part of the build 2007-09-21 07:26:35 -07:00
bclary@bclary.com
3ec56355da JavaScript Tests - regression test for bug 372309, by Eli Friedman, not part of the build 2007-09-21 07:12:07 -07:00
jorendorff@mozilla.com
7274b79fe3 Merge cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
2007-09-21 09:55:35 -04:00
brendan@mozilla.org
a6dd2d83f6 Fix order of evaluation bug in bitwise and shift ops (396969, r=igor). 2007-09-20 14:49:26 -07:00
benjamin@smedbergs.us
b4a8d79ecb Bug 396936 - FLAGP_TO_THING bustage from C++, r+a=brendan 2007-09-20 12:49:59 -07:00
benjamin@smedbergs.us
138a327eb5 Bug 395678 - Fix const issues with strchr in C++ (when used in mozilla-central), r=mrbkap, a=brendan 2007-09-20 11:58:01 -07:00
benjamin@smedbergs.us
ee455757de Merge cvs-trunk-mirror to mozilla-central
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
2007-09-20 13:33:44 -04:00
igor@mir2.org
1dd9e7fca8 Bug 333236: merge sweep and free phases in GC. r=brendan 2007-09-19 15:04:47 -07:00
igor@mir2.org
fe1659e34d Bug 394673: avoid recursion with long chains of "||" or "&&" in JS code. r=brendan 2007-09-19 14:53:17 -07:00
igor@mir2.org
13edbd1801 Bug 396684: fixing regression from bug 394551 in js_Invoke. r=brendan 2007-09-19 14:10:58 -07:00
sayrer@gmail.com
a7d449ed50 Bug 396651. Fix JS Request assert in nsXPCComponents_Utils::LookupMethod. r/sr/a=brendan 2007-09-19 13:47:38 -07:00
bclary@bclary.com
eaae3d10cb JavaScript Test - regression test for bug 375639, by Jesse Ruderman 2007-09-19 00:01:30 -07:00
sayrer@gmail.com
8bcd5fb9f2 Bug 396452. Enforce SpiderMonkey request model with assertions. r=mrbkap, sr/a=brendan 2007-09-18 17:26:39 -07:00
mattwillis@gmail.com
cd1237608a bug 396119 - Fix minor errors in XPCOMUtils.jsm. Patch by Manish Singh <manish@flock.com>, r1=gavin, r2=sayrer 2007-09-18 15:11:31 -07:00
bclary@bclary.com
92c1456bbd JavaScript Test- regression test for bug 380833, by Jesse Ruderman 2007-09-18 12:49:21 -07:00
mrbkap@gmail.com
d1dbe2cfa8 Give scx a global object so that we can always calculate a "this" object. bug 394967, r+a=brendan 2007-09-18 09:37:13 -07:00
igor@mir2.org
cc6784b030 Bug 394551: no JS frames for fast native calls. r=brendan 2007-09-18 00:34:54 -07:00
igor@mir2.org
cd16ec9fa2 Bug 396049: the last ditch GC gcPoke checks are moved to js_NewGCThing. r=brendan 2007-09-18 00:22:07 -07:00
brendan@mozilla.org
19b6fcc0f0 Back-out due to test failure. 2007-09-17 18:22:20 -07:00
brendan@mozilla.org
2260fcfe2e Make GCF_SYSTEM immutable per object (396487, r=igor). 2007-09-17 17:47:42 -07:00
igor@mir2.org
ac496da11c Bug 394802: mark the property only when tracing from GC. r=brendan 2007-09-17 13:16:07 -07:00
igor@mir2.org
aacdc13f0f Bug 394551: taking out the last patch as broke Windows build. 2007-09-17 12:28:14 -07:00
mrbkap@gmail.com
a6d66e6830 Actually use an escape for the nul character. bug 375639, r+a=brendan 2007-09-17 12:11:52 -07:00
igor@mir2.org
065a93dd1c Bug 394551: no JS frames for fast native calls. r=brendan 2007-09-17 12:08:46 -07:00
jorendorff@mozilla.com
214bcd9d84 Merge from CVS trunk to mozilla-central.
--HG--
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
2007-09-17 10:17:44 -04:00
bclary@bclary.com
7f7ec8a7da JavaScript Test - regression test for bug 395907, by Martin Honnen, not part of the build 2007-09-16 20:50:25 -07:00
bclary@bclary.com
8f2a0b96ff JavaScript Tests - regression tests for bug 396326, by Seno Aiko, not part of the build 2007-09-16 19:48:24 -07:00
igor@mir2.org
d82abae099 Bug 396326: patch from Seno Aiko to use thr proper bytecode flags. r=mrbkap 2007-09-16 11:23:39 -07:00
igor@mir2.org
f058abee03 Bug 392263: using mmap/VirtualAlloc for GC arenas. r=brendan 2007-09-16 06:03:17 -07:00
igor@mir2.org
f3d30850c6 Bug 392263: taking out the patch due to bug 396299. 2007-09-16 05:02:56 -07:00
reed@reedloden.com
b121ae0350 Backing out patch by Mook from bug 390328 due to compile errors. 2007-09-15 11:15:01 -07:00
reed@reedloden.com
3f0587a64a Bug 390328 - "Let nsIXPConnect::debugDumpJSStack take a file" [p=Mook r=bsmedberg sr=bzbarsky a1.9=jst] 2007-09-15 11:03:33 -07:00
igor@mir2.org
5855f137e7 Bug 392263: using mmap/VirualAlloc for GC arenas. r=brendan 2007-09-15 10:19:32 -07:00
mrbkap@gmail.com
6426c64ef1 Create a JSClass hook to allow object classes to easily support custom iteration without having to override __iterator__ in a resolve hook. bug 393306, r+a=brendan 2007-09-15 09:58:45 -07:00
mrbkap@gmail.com
13182b9325 Treat the pseudo frame even more like a real frame. bug 390597, r+a=brendan 2007-09-15 09:46:42 -07:00
igor@mir2.org
9343ce4a2c Bug 392263: taking out the patch due to Mac build problems. 2007-09-15 08:26:30 -07:00
igor@mir2.org
43e3bb8cc3 Bug 392263: using mmap/VirualAlloc for GC arenas. r=brendan 2007-09-15 08:11:41 -07:00
brendan@mozilla.org
ecc84d4fb5 Fix old bug involving eval of a local function named by an existing local var (395907, r=mrbkap). 2007-09-14 17:13:37 -07:00
sayrer@gmail.com
4f76121753 Bug 395849. XPCVariant::VariantDataToJS leaks strings with sizes. r/sr=jst 2007-09-14 15:48:47 -07:00
brendan@mozilla.org
12403e7546 Fix dumb signed comparison bug (395828, r=mrbkap). 2007-09-14 11:00:38 -07:00
jorendorff@mozilla.com
ad6782b7ce Merge from cvs-trunk-mirror
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
2007-09-12 15:23:10 -04:00
bclary@bclary.com
3c83f9c7a3 JavaScript Test - regression test for bug 394709, by Igor Bukanov, not part of the build 2007-09-11 11:03:23 -07:00
benjamin@smedbergs.us
66d4e82f55 Bug 395444 - Fast-path QueryInterface in XPCWrappedNative::CallMethod, r=mrbkap sr=jst a=damons 2007-09-10 11:16:05 -07:00
bclary@bclary.com
71bc426ab8 JavaScript Tests - regression test for devmo example, by Norris Boyd, bug 395498, not part of the build 2007-09-08 07:04:01 -07:00
bclary@bclary.com
2a7230524c JavaScript Test - add additional case to test, by Norris Boyd, bug 344951, not part of the build 2007-09-08 06:53:33 -07:00
gavin@gavinsharp.com
b239b12db5 Back out patch for bug 395256 because it caused bug 395467 (a=schrep/bsmedberg) 2007-09-07 18:43:13 -07:00
igor@mir2.org
4606e8ce2b Bug 394709: fixing memory leak with watch handlers. r+a=brendan 2007-09-07 14:02:20 -07:00
igor@mir2.org
88c81d41b4 Bug 394853: countHeap function for js shell and help() cleanup. r=brendan 2007-09-07 11:25:19 -07:00
benjamin@smedbergs.us
a79f1f491e Bug 395256 - Make nsJSID/IID/CID objects .equals method slightly faster, r=mrbkap sr=jst a=damons 2007-09-07 11:06:15 -07:00
crowder@fiverocks.com
ab2a822c30 Bug 375651 - "Assertion failure: nbytes != 0" with regexp quantifiers, r=mrbkap, a=brendan 2007-09-05 21:26:11 -07:00
benjamin@smedbergs.us
7df112dc1c Bug 394329 - Ship the JS import library in the SDK, and stop linking it from browsercomps which doesn't use it, r=luser a=NPDB 2007-09-05 08:56:56 -07:00
igor@mir2.org
342724e085 Bug 394975: properly initializing JSContext for evalx. r=mrbkap. No 1.9 aproval as the file is outside browser's build tree. 2007-09-05 02:45:31 -07:00
jag@tty.nl
d535057a5e Bug 271824: do_GetFastLoadService should use nsGetServiceByCID. r=/sr=/a=bsmedberg 2007-09-05 02:13:57 -07:00
jwalden@mit.edu
f57320c98b Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-04 23:41:35 -07:00
jorendorff@mozilla.com
9590db16db Merge from cvs-trunk-mirror
--HG--
rename : js/src/jsdtoa.c => js/src/jsdtoa.cpp
2007-09-04 15:53:36 -04:00
igor@mir2.org
33a991de00 Bug 362641: patch from Edward Lee to fix wrong precision warning. r=myself,brendan 2007-09-02 15:20:41 -07:00
jorendorff@mozilla.com
15f49640e5 Merge from cvs-trunk-mirror.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarena.c => js/src/jsarena.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
2007-08-31 17:27:11 -04:00
bent.mozilla@gmail.com
fd28607fdf Bug 304048 - Backing out patch due to TXUL regression. 2007-08-30 17:52:58 -07:00
bent.mozilla@gmail.com
dea35a2d77 Bug 304048 - "xpconnect getters/setters don't have principals until after they pass or fail their security check." Patch by jst, sr=bzbarsky, a=jst. 2007-08-28 17:16:21 -07:00
igor@mir2.org
8f31883e5a Bug 393368: new API to limit heap consumption by stack-like data structures used by compiler, decompiler and interpreter. 2007-08-27 15:21:55 -07:00
igor@mir2.org
4b02240bde Bug 393537: arena handling cleanup. r=brendan 2007-08-25 00:18:35 -07:00
jorendorff@mozilla.com
5311d53de1 Merge from cvs-trunk-mirror. This fixes bug 393364, a C++ compatibility bug. js/src now builds ok.
--HG--
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsxdrapi.c => js/src/jsxdrapi.cpp
2007-08-23 21:03:00 -04:00
rflint@ryanflint.com
c3a749a333 Bug 386536 - Add category manager helpers to XPCOMUtils. Patch by Nickolay Ponomarev <asqueella@gmail.com>, r=sayrer/mark.finkle a=jst 2007-08-23 17:21:10 -07:00
igor@mir2.org
6e792cb76a Bug 393364: Patch from Jason Orendorff to restore ability to compile SpiderMonkey with C++ compiler. r=me 2007-08-23 12:02:42 -07:00
dbaron@dbaron.org
1a55872e93 When doing ExplainLiveExpectedGarbage, suspect all nsXPCWrappedJS so that we get more objects in the graph. b=387224 r=graydon a=brendan 2007-08-22 17:47:24 -07:00
dbaron@dbaron.org
456ce4796e Make ExplainLiveExpectedGarbage print *all* references to JS objects with refcount imbalances. b=387224 r=graydon a=brendan 2007-08-22 17:46:43 -07:00
igor@mir2.org
153df36a83 Bug 393184: js_NewGCThing no longer zeros the allocated thing. r=brendan 2007-08-22 13:56:08 -07:00
bclary@bclary.com
e06f6e702b JavaScript Tests - destructuring assignment tests, by Norris Boyd, bug 393272, not part of the build 2007-08-22 12:43:31 -07:00
gavin@gavinsharp.com
c17bc2363b Bug 393206: fix JSON tests, patch by Simon Bünzli <zeniko@gmail.com>, r=me 2007-08-22 11:16:01 -07:00
gavin@gavinsharp.com
6572f6cf4b disable failing tests for the moment (bug 393206) 2007-08-22 08:34:15 -07:00
gavin@gavinsharp.com
0b758ec54e Bug 386789: create JSON utilities module and use it for search suggest/sessionstore/Places, patch by Simon Bünzli <zeniko@gmail.com>, r=sspitzer, sr+a=brendan 2007-08-22 07:47:56 -07:00
brendan@mozilla.org
47d32601de Remove MAX_INLINE_CALL_COUNT policing, plus old MAX_INTERP_LEVEL deadwood (392973, r=crowder). 2007-08-21 17:04:24 -07:00
igor@mir2.org
7a9bf4d227 Bug 325202: XDR uses lossless encoding for all string. r=brendan 2007-08-21 14:22:26 -07:00
jorendorff@mozilla.com
b083b44b51 Merge from cvs-trunk-mirror
--HG--
rename : js/src/jsobj.c => js/src/jsobj.cpp
2007-08-21 14:08:45 -04:00
brendan@mozilla.org
a53341e7fc One-char fix to recent regression (392944, r=mrbkap). 2007-08-20 18:24:51 -07:00
bclary@bclary.com
2a4a9e20c6 JavaScript Tests - update spidermonkey-gc.tests, bug 392596, by Jason Orendorff, not part of the build 2007-08-20 09:15:33 -07:00
bclary@bclary.com
e1dbb71e6f JavaScript Tests - regression test for bug 392308, by Norris Boyd, not part of the build 2007-08-18 03:18:40 -07:00
mrbkap@gmail.com
ac93da416a Get the right class -- off of obj2, not obj and ensure that we propagate failure from outerObject. bug 375344, r=brendan a=sicking 2007-08-17 18:24:51 -07:00
jwalden@mit.edu
4ff6f987ed Bug 296653 - mkdepend takes more than 10 hours on Solaris for nsIconChannel.cpp. Patch by Ginn Chen <ginn.chen@sun.com>, r=cls, a=bz 2007-08-17 16:07:39 -07:00
mrbkap@gmail.com
86520181f1 Get the right property attributes and actually look up the prototype chain. bug 390948, r+sr+a=jst 2007-08-16 13:32:27 -07:00
edward.lee@engineering.uiuc.edu
6b941d6dd3 merging from cvs-trunk-mirror
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscan.c => js/src/jsscan.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxdrapi.c => js/src/jsxdrapi.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2007-08-16 12:06:15 -07:00
igor@mir2.org
4773ca1cae Bug 391290: mutability flag for strings is stored inside strings. r=brendan 2007-08-15 23:23:06 -07:00
bclary@bclary.com
5c5403c72e JavaScript Test - regression test for bug 392310, by Norris Boyd, not part of the build 2007-08-15 16:27:35 -07:00
bclary@bclary.com
2408c80cca JavaScript Test - regression test for bug 363578, by nanto_vi (TOYAMA Nao), not part of the build 2007-08-15 15:48:16 -07:00
mrbkap@gmail.com
776963dff3 Allow 'this' to not be a wrapped object. bug 390560, r+sr+a=jst 2007-08-15 14:20:45 -07:00
mrbkap@gmail.com
1f8de346fe Make XPCSafeJSObjectWrapper usage in PAC actually work correctly for the common case. bug 391515, r=jst sr+a=brendan 2007-08-15 14:16:52 -07:00
mrbkap@gmail.com
193df57c3c Don't assume that all XOWs are equal. bug 391497, r+sr=jst 2007-08-15 14:13:49 -07:00
mrbkap@gmail.com
ca45b33a3e Don't wrap everything that comes out of a wrapped function, if that function is same-origin. bug 390946, r+sr+a=jst 2007-08-15 14:09:27 -07:00
igor@mir2.org
b9bdaf6628 Bug 392305: restoring pinning of the lazy atoms to fix various regressions. r=brendan 2007-08-15 11:57:44 -07:00
nboyd@atg.com
46d051330d Implement correct semantics of storage class (global, var, let) for destructuring assignment. 2007-08-15 05:00:05 -07:00
mrbkap@gmail.com
c3073ee423 Fix compile warning. No bug, r+a=brendan 2007-08-13 15:44:37 -07:00
mrbkap@gmail.com
4cac4a905d Date.UTC returns incorrect value if date is less than or equal to 0. bug 363578, patch from jag, r=mrbkap a=brendan 2007-08-13 13:45:32 -07:00
igor@mir2.org
f710f08e47 Bug 392074: JS_IS_VALID_TRACE_KIND no longer refers to the removed JSTRACE_ATOM. r=brendan 2007-08-13 13:23:34 -07:00
igor@mir2.org
ef454e18c0 Bug 392041: js_PutEscapedStringImpl gets JS_FRIEND to permit usage outside js lib. r=brendan 2007-08-13 12:35:07 -07:00
igor@mir2.org
202af28de4 Bug 391851: JS_ResolveStandardClass now does nothing on shutdown. r=brendan 2007-08-12 15:11:38 -07:00
brendan@mozilla.org
7193a26b68 Update #if 0'd code to work (helpful for debugging; r/a=self). 2007-08-11 22:10:02 -07:00
igor@mir2.org
14e3457a58 Bug 386265: using double kashing for atoms. r=brendan 2007-08-11 13:25:16 -07:00
igor@mir2.org
dec81ea13e Bug 391033: no frame manipulation when reporting errors. r=brendan 2007-08-10 23:12:00 -07:00
dbaron@dbaron.org
3d937ce26b Fix leak in DEBUG-only code. b=391769 r+sr+a=jst 2007-08-10 17:53:53 -07:00
edward.lee@engineering.uiuc.edu
7f586f7041 merging from cvs-trunk-mirror 2007-08-10 17:24:51 -07:00
jwalden@mit.edu
6857311bfd Bug 391145 - failed to build Spidermonkey: inresolved symbol ( prmjtime.c PRMJ_Now _SetCriticalSectionSpinCount _InitializeCriticalSectionAndSpinCount ). Patch by Rob Arnold <robarnold@mozilla.com>, r=brendan, r=bsmedberg 2007-08-10 16:23:38 -07:00
edward.lee@engineering.uiuc.edu
46e98d7750 merging from cvs-trunk-mirror
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsbool.c => js/src/jsbool.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2007-08-10 15:25:15 -07:00
bclary@bclary.com
c71d5ec083 JavaScript Tests - regression tests for bug 385393, by Jesse Ruderman, not part of the build 2007-08-10 14:41:54 -07:00
dbaron@dbaron.org
8e42a71665 Finish the deflated string cache after uninterning atoms, so we don't leak their associated strings. b=391587 r+a=brendan 2007-08-10 14:30:13 -07:00
jwalden@mit.edu
e8ad7f0e3d Bug 391423 - Reposition JS_(BEGIN|END)_EXTERN_C to avoid nesting #includes. Patch by Edward Lee <edilee@mozilla.com>, r=jorendorff, r=bsmedberg 2007-08-10 14:27:08 -07:00
jst@mozilla.org
64193de21c Fixing bug 390275. Make setTimeout() always register the timeout on the right inner window, and add a new JS_GetGlobalForObject() JS API to eliminate some code duplication. r=mrbkap@gmail.com/brendan@mozilla.org, sr=bzbarsky@mit.edu 2007-08-09 15:19:59 -07:00
bclary@bclary.com
8b9cba4995 JavaScript Tests - regression tests for bug 373595, by Jesse Ruderman, not part of the build 2007-08-08 08:21:55 -07:00
bclary@bclary.com
fd7f558e0a JavaScript Tests - regression tests for bug 367501, by moz_bug_r_a4, not part of the build 2007-08-08 08:05:08 -07:00
bclary@bclary.com
5eec1c2e4a JavaScript Tests - regression test for bug 366601, by Igor Bukanov 2007-08-08 07:52:54 -07:00
bclary@bclary.com
e4c101f248 JavaScript Tests - regression test for bug 365692, by Igor Bukanov 2007-08-08 07:48:57 -07:00
igor@mir2.org
1b67c3135b Bug 387286: patch from Rich Dougherty to name constitently JOF_* flags. r=me 2007-08-08 06:35:05 -07:00
bclary@bclary.com
d4e3723c2e JavaScript Tests - regression test for bug 364023, by shutdown, not part of the build 2007-08-08 03:30:08 -07:00
bclary@bclary.com
6b18a09d66 JavaScript Tests - regression tests for bug 362872, by shutdown, Blake Kaplan, not part of the build 2007-08-08 03:26:45 -07:00
mrbkap@gmail.com
191a54c63d Try harder to find a scope chain so that we can report exceptions when there is no code running currently. bug 390160, r=brendan sr=jst a=brendan 2007-08-07 19:24:52 -07:00
mrbkap@gmail.com
e255840140 Add a mochitest for __parent__ wrapping. 2007-08-07 19:18:05 -07:00
mrbkap@gmail.com
0292761798 Add a mochitest for bug 390001. r=sayrer sr=bzbarsky 2007-08-07 19:12:31 -07:00
mrbkap@gmail.com
b1458c56ab De-confuse GetWrappedNativeOfJSObject about wrappers around the outer object. bug 391055, r+sr=jst 2007-08-07 18:54:48 -07:00
mrbkap@gmail.com
0197403515 Allow UniversalXPConnect scripts to touch XPCNativeWrappers. bug 390788, r+sr=bzbarsky a=jst 2007-08-07 18:51:43 -07:00
mrbkap@gmail.com
10a72405d4 Make XPCSafeJSObjectWrapper easier to use by not throwing for primitive values passed to the constructor. Use it in more places in PAC. bug 388450, r=crowder sr=brendan a=bzbarsky 2007-08-07 18:49:49 -07:00
crowder@fiverocks.com
c0fe57eea8 Bug 121183 - error for {return;} isn't helpful, patch by Rich Dougherty <rich@rd.gen.nz>, r=brendan 2007-08-07 08:51:46 -07:00
igor@mir2.org
4d68066c7e Bug 387481, bug 389063: multithreading atom fixes and cleanups. r=brendan 2007-08-07 00:29:32 -07:00
sayrer@gmail.com
304d723cfe Bug 390958. XPCWrappedNativeScope leaks a WrappedNative2WrapperMap. r=brendan/mrbkap, sr=brendan, a=jst 2007-08-06 20:57:15 -07:00
bzbarsky@mit.edu
0ae3ce0662 Don't set aside the JS stack when pushing a JSContext which is already on top of the JSContext stack on top of itself. Bug 390488, r=jst, sr=brendan, a=jst 2007-08-06 19:05:24 -07:00
edward.lee@engineering.uiuc.edu
2258d276ab merging from cvs-trunk-mirror
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsbool.c => js/src/jsbool.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsmath.c => js/src/jsmath.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscan.c => js/src/jsscan.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2007-08-06 16:03:20 -07:00
edward.lee@engineering.uiuc.edu
fcf85197b3 rename js/src/*.c back to .cpp to restore hg's knowledge of the rename
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarena.c => js/src/jsarena.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsbool.c => js/src/jsbool.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jscpucfg.c => js/src/jscpucfg.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsdhash.c => js/src/jsdhash.cpp
rename : js/src/jsdtoa.c => js/src/jsdtoa.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfile.c => js/src/jsfile.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jshash.c => js/src/jshash.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jskwgen.c => js/src/jskwgen.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jslog2.c => js/src/jslog2.cpp
rename : js/src/jslong.c => js/src/jslong.cpp
rename : js/src/jsmath.c => js/src/jsmath.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsprf.c => js/src/jsprf.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscan.c => js/src/jsscan.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsutil.c => js/src/jsutil.cpp
rename : js/src/jsxdrapi.c => js/src/jsxdrapi.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2007-08-06 15:56:37 -07:00
edward.lee@engineering.uiuc.edu
be474fd791 temporarily rename js/src/*.cpp to .c
--HG--
rename : js/src/js.cpp => js/src/js.c
rename : js/src/jsapi.cpp => js/src/jsapi.c
rename : js/src/jsarena.cpp => js/src/jsarena.c
rename : js/src/jsarray.cpp => js/src/jsarray.c
rename : js/src/jsatom.cpp => js/src/jsatom.c
rename : js/src/jsbool.cpp => js/src/jsbool.c
rename : js/src/jscntxt.cpp => js/src/jscntxt.c
rename : js/src/jscpucfg.cpp => js/src/jscpucfg.c
rename : js/src/jsdate.cpp => js/src/jsdate.c
rename : js/src/jsdbgapi.cpp => js/src/jsdbgapi.c
rename : js/src/jsdhash.cpp => js/src/jsdhash.c
rename : js/src/jsdtoa.cpp => js/src/jsdtoa.c
rename : js/src/jsemit.cpp => js/src/jsemit.c
rename : js/src/jsexn.cpp => js/src/jsexn.c
rename : js/src/jsfile.cpp => js/src/jsfile.c
rename : js/src/jsfun.cpp => js/src/jsfun.c
rename : js/src/jsgc.cpp => js/src/jsgc.c
rename : js/src/jshash.cpp => js/src/jshash.c
rename : js/src/jsinterp.cpp => js/src/jsinterp.c
rename : js/src/jsiter.cpp => js/src/jsiter.c
rename : js/src/jskwgen.cpp => js/src/jskwgen.c
rename : js/src/jslock.cpp => js/src/jslock.c
rename : js/src/jslog2.cpp => js/src/jslog2.c
rename : js/src/jslong.cpp => js/src/jslong.c
rename : js/src/jsmath.cpp => js/src/jsmath.c
rename : js/src/jsnum.cpp => js/src/jsnum.c
rename : js/src/jsobj.cpp => js/src/jsobj.c
rename : js/src/jsopcode.cpp => js/src/jsopcode.c
rename : js/src/jsparse.cpp => js/src/jsparse.c
rename : js/src/jsprf.cpp => js/src/jsprf.c
rename : js/src/jsregexp.cpp => js/src/jsregexp.c
rename : js/src/jsscan.cpp => js/src/jsscan.c
rename : js/src/jsscope.cpp => js/src/jsscope.c
rename : js/src/jsscript.cpp => js/src/jsscript.c
rename : js/src/jsstr.cpp => js/src/jsstr.c
rename : js/src/jsutil.cpp => js/src/jsutil.c
rename : js/src/jsxdrapi.cpp => js/src/jsxdrapi.c
rename : js/src/jsxml.cpp => js/src/jsxml.c
rename : js/src/prmjtime.cpp => js/src/prmjtime.c
2007-08-06 15:54:14 -07:00
benjamin@smedbergs.us
0e047142a4 Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -07:00
bclary@bclary.com
1364af67ae JavaScript Tests - regression test for bug 363258, not part of the build 2007-08-05 10:39:44 -07:00
bclary@bclary.com
68aeb10235 JavaScript Tests - updated tests for JS1_8 by Igor Bukanov, bug 380469, not part of the build 2007-08-05 03:22:16 -07:00
bclary@bclary.com
676134fc6e JavaScript Tests - regression test for bug 387871, by Jesse Ruderman, Igor Bukanov, not part of the build 2007-08-05 03:09:52 -07:00
bclary@bclary.com
185cce411b JavaScript Tests - regression test for bug 390918, by Jesse Ruderman, Igor Bukanov, not part of the build 2007-08-05 02:59:42 -07:00
bclary@bclary.com
d3d595626f JavaScript Tests - new version of test to reflect removal of close phase of GC in bug 380469 in JS18, by Igor Bukanov, not part of the build 2007-08-05 02:31:32 -07:00
igor@mir2.org
471ac4ae2c Bug 390918: fixing gen_trace assert. r=brendan 2007-08-04 21:54:34 -07:00
igor@mir2.org
db07fa7de8 Bug 106495: js_strtod and js_strtointeger no longer require \0-terminated js chars. r=brendan 2007-08-04 12:05:16 -07:00
igor@mir2.org
7eb2034218 Bug 390348: pinning of JSAtomState.emptyAtom is restored. r=brendan 2007-08-04 11:59:21 -07:00
brendan@mozilla.org
30ec8e2596 Cope with stillborn funobj tracing via newborn root (390743, r=igor). 2007-08-04 00:31:19 -07:00
dbaron@dbaron.org
b8ec995348 Fix leak of JSScript when a JSFunction is collected in a later GC than its function object. This changes GCX_PRIVATE to GCX_FUNCTION, and is essentially the same as the finalization part of the changes from bug 375808 (by igor). b=389757 r=igor a1.9=brendan 2007-08-04 00:00:43 -07:00
igor@mir2.org
ec402ee7a9 Bug 390078: Avoiding unnecessary GC-tracing of JSStackFrame members. r=brendan 2007-08-03 12:56:35 -07:00
martijn.martijn@gmail.com
8ff4e4f1a5 Bug 390042 - mingw build error - error: no matching function for call to nsAutoString::nsAutoString(jschar*), r=mrbkap, sr=jst, a=jst 2007-08-03 03:15:36 -07:00
dbaron@dbaron.org
8f2ee90bcb Fix leak of xptiInterfaceInfo in DebugDump. b=389765 r+sr=jst a=DEBUG-only 2007-08-02 17:08:28 -07:00
mrbkap@gmail.com
9e31657307 Remove an unused variable. no bug, r=sparky sr=lumpy 2007-08-02 16:42:33 -07:00
mrbkap@gmail.com
cc9667a9a4 Detect cyclic __proto__ values ourselves because the JS engine gets confused by the wrappers. bug 390626, r=brendan sr=jst 2007-08-02 16:38:11 -07:00
brendan@mozilla.org
37164c6b8c Remove deadlock hazard when reparenting, single-threaded DOM so don't worry (390551, r+sr=jst). 2007-08-02 13:56:02 -07:00
brendan@mozilla.org
a5b934bb87 Restore lost ECMA compatibility for length delegating/shadowing (390598, r=igor). 2007-08-02 13:36:53 -07:00
brendan@mozilla.org
920458529b Fix array_pop default return value (390684, r=igor). 2007-08-02 11:40:47 -07:00
igor@mir2.org
fd20317182 Bug 387481: baking out again accidental re-commit of the patch. 2007-08-02 04:34:41 -07:00
igor@mir2.org
9074c93ce0 Bug 390348: Baking out the last commit as the tree is closed. 2007-08-02 04:32:40 -07:00
igor@mir2.org
4498e5d0f7 Bug 106495: baking out the last commit as the tree is closed. 2007-08-02 04:27:04 -07:00
igor@mir2.org
acf45b989a Bug 106495: js_strtod and js_strtointeger no longer require \0-terminated js chars. r=brendan 2007-08-02 02:34:31 -07:00
igor@mir2.org
072eb51edf Bug 390348: pinning of JSAtomState.emptyAtom is restored. r=brendan 2007-08-02 02:28:25 -07:00
igor@mir2.org
d7c8d33f9f Bug 385393: Changing the return value of js_BoyerMooreHorspool to be jsint to fix mingw compilation. 2007-08-02 02:14:06 -07:00
brendan@mozilla.org
a12dfaf037 Fix bogus assertion in last patch (for 385393). 2007-08-02 01:21:55 -07:00
brendan@mozilla.org
40101f57b0 Fixing uninitialized v bug in InitExnPrivate (385393 followup, r=waldo). 2007-08-01 23:32:41 -07:00
brendan@mozilla.org
f9ab1bb197 No good, un-reverting. 2007-08-01 23:05:44 -07:00
brendan@mozilla.org
a5bb4b6493 Attempt to fix orange. 2007-08-01 22:46:19 -07:00
brendan@mozilla.org
ba3ad2ce7a Fast (frame-less) native call optimizations (385393, r=igor). 2007-08-01 21:33:52 -07:00
mrbkap@gmail.com
f429921c80 Make enumeration over XOWs work. bug 390001, r=jst/brendan sr=jst 2007-08-01 15:25:47 -07:00
mrbkap@gmail.com
7713385300 Let "window.eval" work again by always wrapping eval when it comes out of a cross origin wrapper. bug 389878, r+sr=jst 2007-07-31 13:15:21 -07:00
mrbkap@gmail.com
4b4cd4b8f1 Protect vp from garbage collection, since GC could nest under several of the calls here. bug 390222, r+sr=jst 2007-07-31 12:17:31 -07:00
mrbkap@gmail.com
d20c9c9b30 Don't call FindInJSObjectScope on an object that's being finalized because its parent might have been finalized already. bug 389985, r+sr=jst 2007-07-30 15:39:53 -07:00
mrbkap@gmail.com
053410f558 Deal with XPCCallContexts that aren't able to initialize themselves. This also fixes bugs related to finalizing objects on dead contexts. bug 390083, r+sr=jst 2007-07-30 14:50:10 -07:00
igor@mir2.org
1499d581c1 Bug 389880: removal of redundant gcflags argument from string-allocation functions. r=brendan 2007-07-28 09:57:30 -07:00
mrbkap@gmail.com
2ccd5c8afc Implement cross-origin wrappers to gate accesses between sites that are cross origin. This will prevent sites from monkeying with each other by doing bad things to allAccess properties, and pave the way for more security work. bug 367911, r=jst rs=brendan 2007-07-26 12:18:06 -07:00
benjamin@smedbergs.us
2694ad77f8 Fix MSVC7 build bustage from bug 389401, a=gavin for checkin to closed tree 2007-07-26 07:09:46 -07:00
brendan@mozilla.org
18e7692117 Backing out, see bug 389122 and orange or red tinderboxes. 2007-07-21 16:21:20 -07:00
brendan@mozilla.org
5f038f69ae Fast natives and related optimizations (385393, r=igor). 2007-07-21 14:39:42 -07:00
mrbkap@gmail.com
32e5403680 Don't double-wrap objects when getting them out of an XPCVariant. bug 384632, r=peterv sr=jst 2007-07-20 18:03:55 -07:00
jst@mozilla.com
c00957a8fc merging from cvs-trunk-mirror 2007-07-20 14:18:36 -07:00
nboyd@atg.com
22bf01cd82 Fix bug 388643 - JavaScript Tests - global shell.js sets JavaScript version to
version lower than required by E4X tests
Patch from David Caldwell.
2007-07-19 12:57:48 -07:00