Commit Graph

1675 Commits

Author SHA1 Message Date
crowder@fiverocks.com
3a0ae81b0a Bug 420973 - printObj crashes on dense arrays, r/a1.9b5=shaver 2008-03-21 10:19:33 -07:00
timeless@mozdev.org
afd6e9b298 Fixing build bustage from bug 423874 for dtrace (not a standard configuration) 2008-03-21 07:40:38 -07:00
igor@mir2.org
eaa513c2f5 bug=423874 r=brendan a1.9b5=dsicore Allocating native functions together with JSObject 2008-03-21 01:19:23 -07:00
jst@mozilla.org
ed1819df0e Followup fix for bug 418356. Re-enable loading file:// URIs using the subscript loader. r+sr=bzbarsky@mit.edu 2008-03-20 22:07:25 -07:00
benjamin@smedbergs.us
ebc2658fcf Bug 424156 - C++ compilation error in jsinterp.c, r=crowder a=beltzner 2008-03-20 11:50:16 -07:00
Benjamin Smedberg
58b20256d0 Fix the jsinterp.cpp here, before it gets upstreamed. 2008-03-20 12:42:27 -04:00
Benjamin Smedberg
300dc2107c Merge cvs-trunk-mirror -> mozilla-central. There's a C++ bug in js/src/jsinterp.cpp that I am going to file upstream.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.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/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-20 12:42:05 -04:00
crowder@fiverocks.com
58035213b6 Bug 416933 - Invalid range error for /[\xde-\xdf]/ case-insensitive regular expression, r=brendan, a=blocking1.9 (mtschrep) 2008-03-19 23:59:34 -07:00
reed@reedloden.com
08ed4fda6c Bug 420869 - "Script stack space in Firefox 3.0b4pre much smaller than it was in Firefox 2.0.0.12" [p=igor@mir2.org (Igor Bukanov) r=brendan a=blocking1.9+] 2008-03-19 22:57:10 -07:00
brendan@mozilla.org
8c8498de43 Fix for JSCLASS_NEW_RESOLVE-related bug in js_FillPropertyCache, found by Mike Moening <MikeM@RetekSolutions.com> (418989, r=shaver, a=beltzner). 2008-03-19 17:44:59 -07:00
timeless@mozdev.org
f33eb4a3b4 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org
8074fda8ae Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
jwalden@mit.edu
04e96f253b Bug 416636 - Remove JSCLASS_FIXED_BINDING; the code that was to use it was removed, and it just clutters the API. r=brendan, a=schrep 2008-03-18 19:47:40 -07:00
brendan@mozilla.org
7228396780 Fix JSOP_SETCALL to cope with delete f() and the like (423300, r=mrbkap, a=beltzner). 2008-03-18 18:38:02 -07:00
igor@mir2.org
f1f37e5921 bug=420869 backing out as the tree is red. 2008-03-18 15:06:38 -07:00
igor@mir2.org
91819053e4 bug=420869 r=brendan a1.9=blocking1.9 bumping script stack quota to 100MB for better compatibility with FF2. 2008-03-18 15:05:35 -07:00
bzbarsky@mit.edu
f73470cb01 Remove method that no longer exists. 2008-03-18 14:58:46 -07:00
jst@mozilla.org
3e5524417a Fixing bustage. 2008-03-18 14:28:43 -07:00
jst@mozilla.org
3c2ee1f987 Fixing bug 422205. Make XOW/SJOW wrappers do security checks on enumeration and interation. r+sr=mrbkap@gmail.com 2008-03-18 14:17:58 -07:00
bzbarsky@mit.edu
5383803699 Finally kill off CheckSameOriginPrincipal, fix remaining callers to do the checks they really want to be doing. Fix screw-up in nsPrincipal::Equals if one principal has a cert and the other does not. Bug 418996, r=mrbkap,dveditz, sr=jst 2008-03-18 14:14:49 -07:00
reed@reedloden.com
2b368ccaa3 Bug 403224 - "Build spidermonkey with icc on macintel" [p=ted.mielczarek@gmail.com (Ted Mielczarek [luser]) r=bsmedberg a=blocking1.9+] 2008-03-18 12:36:57 -07:00
bzbarsky@mit.edu
5f774d2153 Set the right url in the script and don't allow loading non-chrome scripts. Bug 418356, r+sr=jst 2008-03-17 20:46:53 -07:00
dbaron@dbaron.org
537f2f5b13 Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons 2008-03-17 16:11:08 -07:00
jruderman@hmc.edu
3c205f211e Fix bug 423043, js shell print() should flush stdout. r+a=shaver. Does not affect Firefox. 2008-03-17 13:25:23 -07:00
gavin@gavinsharp.com
714309e7ef Bug 423138, browser-test crashes on linux, patch by smaug <Olli.Pettay@gmail.com>, r=brendan, a=beltzner 2008-03-17 09:25:39 -07:00
igor@mir2.org
8e2eeba5aa bug=421274 r=brendan a=beltzner Eliminating SAVE_SP_AND_PC() macro 2008-03-17 01:58:28 -07:00
sayrer@gmail.com
1026dcbbc9 Bug 409803. gcc (4.1 only) zealously avoids inlining at -Os. Patch by Dan Witte. r=ted.mielczarek 2008-03-15 19:48:58 -07:00
bclary@bclary.com
2e9eac3323 JavaScript Tests - modify test to catch allocation size overflow, bug 422348 2008-03-15 04:56:17 -07:00
crowder@fiverocks.com
2b92df76d8 Bug 422885: uninitialized memory-read in XPCWrapper::AddProperty, r/sr=mrbkap, a=:luser 2008-03-14 07:44:27 -07:00
benjamin@smedbergs.us
3d44355261 Fix merge bug that only shows up building spidermonkey standalone. 2008-03-13 22:39:59 -04:00
igor@mir2.org
f9786967b3 bug=422432 r=brenda,jag a1.9=blocking1.9 The local free lists for doubles now restricted to 32/64 entries, not 8, to minimize locking penaltties. 2008-03-13 13:07:29 -07:00
benjamin@smedbergs.us
0a29c83b00 Merge cvs-trunk-mirror -> mozilla-central to pick up the 421274 backout especially
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.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/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-13 15:26:42 -04:00
bclary@bclary.com
36c58bd88a JavaScript Tests - update tests due to changes on trunk for overflow reporting, bug 422348 2008-03-13 11:46:10 -07:00
sayrer@gmail.com
177108e9ae Bug 420906. support for custom options for jsinterp.c when compiling the browser. Patch by Ted Mielczarek. r=bsmedberg 2008-03-13 11:06:16 -07:00
igor@mir2.org
9e25b95889 bug 421274: backing out again due to crashes on 64 bit Linux. 2008-03-13 11:03:02 -07:00
igor@mir2.org
6e91c6d452 bug=421274 follow up to fix issues with 64 bit 2008-03-13 10:29:40 -07:00
benjamin@smedbergs.us
320249d8e3 Merge cvs-trunk-mirror -> 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/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.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/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-13 10:32:07 -04:00
brendan@mozilla.org
4c60b62715 Fix ASSERT_VALID_PROPERTY_CACHE_HIT bustage (NPOTB). 2008-03-13 01:00:20 -07:00
igor@mir2.org
8205bdd921 bug=421274 r=brendan a1.9=mtschrep eliminating SAVE_SP_AND_PC and friends from the interpreter loop 2008-03-12 23:48:23 -07:00
igor@mir2.org
d75b521da0 backing out bug 421274 2008-03-12 23:23:09 -07:00
igor@mir2.org
e8279e4617 bug=421274 r=brendan a1.9=mtschrep eliminating SAVE_SP_AND_PC and friends from the interpreter loop 2008-03-12 22:52:52 -07:00
igor@mir2.org
bf88fe6798 bug=422348 r,a1.9=shaver proper overflow error reporting 2008-03-12 16:07:47 -07:00
igor@mir2.org
0f32c99c1f bug=421806 r=brendan a1.9=blockin1.9 fixing decompiler regressions with interpreter stack modeling 2008-03-12 16:03:29 -07:00
reed@reedloden.com
e0b278827a Bug 422185 - "jsgc.obj : error LNK2001: unresolved external symbol "int __cdecl posix_memalign(void * *,unsigned int,unsigned int)" (?posix_memalign@@YAHPAPAXII@Z)" (posix_memalign needs to be extern "C" when compiling with a C++ compiler) [p=benjamin@smedbergs.us (Benjamin Smedberg [bsmedberg]) r=brendan a1.9=damons] 2008-03-12 15:32:54 -07:00
mattwillis@gmail.com
2ac0c39bd4 Bug 422161 - Fix JS strict errors in *.jsm modules. r and rs=gavin, a1.9+=damons 2008-03-12 14:56:59 -07:00
benjamin@smedbergs.us
22ab1903e9 Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
2008-03-12 16:32:37 -04:00
bclary@bclary.com
fb55d34ac8 JavaScript Tests - update known failures to account for improved CAPS messages in bug 246699, not part of the build 2008-03-12 11:12:09 -07:00
bclary@bclary.com
cc3097dd61 JavaScript Tests - update known failures for mac debug browser on js1_5/Array/regress-350256-03.js, bug 350256, not part of the build 2008-03-12 10:21:54 -07:00
igor@mir2.org
16bc7fe7dc bug=420904 support for custom options for jsinterp.c in js shell build scripts. This is outside of tree. 2008-03-12 07:36:06 -07:00
brendan@mozilla.org
201f2e2412 Fix indentation nit 2008-03-12 00:05:30 -07:00
shaver@mozilla.org
1ddc65a4a0 Bug 422286: fix accounting of array length when slicing dense arrays. r=mrbkap, a=mconnor. 2008-03-11 23:50:55 -07:00
bclary@bclary.com
adbe23d9eb JavaScript Tests - fix TimeWithinDay for negative arguments, bug 264727 2008-03-11 15:18:23 -07:00
benjamin@smedbergs.us
ce79af60a1 Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsutil.c => js/src/jsutil.cpp
2008-03-11 11:22:05 -04:00
reed@reedloden.com
39420158ed Bug 418406 - "Make network error constants accessible via Components.results" [p=trev.moz@adblockplus.org (Wladimir Palant) r=biesi sr=sicking a1.9=damons] 2008-03-11 01:14:04 -07:00
reed@reedloden.com
c2231a43b1 Bug 421947 - "More C++ casts required for Windows only, especially overloaded pow() and log10()" [p=benjamin@smedbergs.us (Benjamin Smedberg [bsmedberg]) r=crowder a1.9=damons] 2008-03-11 01:09:41 -07:00
timeless@mozdev.org
74b458a796 Bug 421303 Crash [@ jsds_ScriptHookProc] r=caillon a=dsicore If we reach ~jsdService, that means our client doesn't care about us, so we can (and should) drop all references to any callbacks (if they cared, they'd have kept us alive!*). I think jsdService::Off should clear all the hooks, the strange magic of not clearing it isn't really a great idea. So for Off, we'll now clear the ScriptHook too (consumers who use off should really drop any references they have to our objects...). I'm still on the fence on this point, I suspect we can actually move it from ::Off to ~jsdService (it must be cleared at some point, otherwise if jsd_xpc's library manages to get unloaded, the function pointer would be invalid, which would be *BAD*). jsds_NotifyPendingDeadScripts needs to clear gDeadScripts whether or not there's a service or hooks, so it does. Because it's a static callback and because of the scary way GC works, I'd rather ensure (deathgrip) that jsds is available (and consistent!) for the duration of the function call. The code already handles the lack of a hook, so there's no reason to do magical returns.... The real problem which mayhemer found was that jsdService::Off was returning early (failure) because gGCStatus wasn't JSGC_END when called from ~jsdService from JS_GC from the cyclecollector, so we make sure that ~jsdService forces ::Off to act as if it is JSGC_END (after ensuring that there are no callbacks available). * a pure javascript (xpcom component, not DOM hosted!) version of a jsdService consumer means that jsdService will need to talk to the CycleCollector eventually (this is another bug for the future). 2008-03-10 17:13:48 -07:00
sayrer@gmail.com
6f8eff530f Bug 421984. Build with -fstrict-aliasing on GCC platforms. r/a=shaver 2008-03-10 17:04:47 -07:00
timeless@mozdev.org
fdcf2c3106 Bug 421774 consolidate jsd static variables into main r=shaver 2008-03-10 16:11:36 -07:00
bclary@bclary.com
d914c4b13e JavaScript Tests - update test to catch exception in browser tests, bug 420612 2008-03-10 14:24:35 -07:00
benjamin@smedbergs.us
1f36c2d078 Merge cvs-trunk-mirror -> 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/jsdate.c => js/src/jsdate.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/jslock.c => js/src/jslock.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
2008-03-10 17:07:41 -04:00
igor@mir2.org
85f2f1318d bug=419632 r=brendan a1.9=blockin1.9 avoiding weak roots for doubles 2008-03-10 12:27:44 -07:00
gavin@gavinsharp.com
0de56e7ca2 Back out the patch from bug 420642 because it broke gmail (bug 421571) 2008-03-10 01:28:51 -07:00
bclary@bclary.com
7c090f1207 JavaScript Tests - regression tests for bug 418641, by Igor Bukanov 2008-03-09 14:04:14 -07:00
bclary@bclary.com
45121849cd JavaScript Tests - regression test for bug 420087, by Mike Shaver 2008-03-09 13:49:13 -07:00
bclary@bclary.com
08afd34a8b JavaScript Tests - regression test for bug 420399, by Jesse Ruderman 2008-03-09 13:32:33 -07:00
bclary@bclary.com
8333a2c893 JavaScript Tests - regression tests for bug 420610, by Jesse Ruderman 2008-03-09 13:15:14 -07:00
bclary@bclary.com
e430db9c14 JavaScript Tests - regression test for bug 420612, by Jesse Ruderman 2008-03-09 13:09:09 -07:00
bclary@bclary.com
11d60c9bc6 JavaScript Tests - regression test for bug 421325, by Brian Crowder 2008-03-09 13:00:57 -07:00
bclary@bclary.com
51a8feae78 JavaScript Tests - remove timezone dependencies for toLocaleFormat win32 tests, no bug, not part of the build 2008-03-09 12:49:14 -07:00
timeless@mozdev.org
1daf469d2c Bug 421231 js.c needs to call JSDB_TermDebugger r=brendan NPOTB 2008-03-09 03:05:29 -07:00
brendan@mozilla.org
61638720da Fix from Sebastian Redl to compile under GCC 4.2 (r=me, a=shaver). 2008-03-08 20:49:46 -08:00
crowder@fiverocks.com
81d9657e21 Bug 421325: array_join_sub does not handle holes in dense arrays correctly, r/a=shaver 2008-03-07 16:16:51 -08:00
jwalden@mit.edu
96e2033b91 Bug 352044 - Issues with Unicode escape sequences in JavaScript source code; Unicode escapes not part of identifiers were being treated as their equivalent CVs, and non-identifier Unicode escapes within identifiers were being treated as their CVs (simultaneously starting a new token). acid3++ r=mrbkap, a=damons 2008-03-07 15:28:55 -08:00
bclary@bclary.com
a39ea6b3d8 JavaScript Tests - update known failures, bug 421515 2008-03-07 12:33:18 -08:00
dbaron@dbaron.org
d6f406d8a8 Deal with nsXPCWrappedJS::GetClass being null, which it can be after Unlink. a=Not part of the default build (DEBUG_CC only) 2008-03-07 09:54:41 -08:00
igor@mir2.org
0e61c1abe5 bug=421154 r=brendan a1.9=blockin1.9 Faster number conversions 2008-03-06 15:24:08 -08:00
mrbkap@gmail.com
24f718d4ac Don't assume that chrome:// implies system principals. bug 419848, r=brendan sr=jst 2008-03-06 14:52:58 -08:00
igor@mir2.org
d0918ed4af bug=421314 r=myself a1.9=beltzner Patch from Mike Moening to fix VC2005 warnings that my recent changes introduced. 2008-03-06 14:51:14 -08:00
igor@mir2.org
8ad00a0798 bug=421266 r=brendan a1.9=beltzner js_Interpret now takes just single cx argument. 2008-03-06 14:47:46 -08:00
mrbkap@gmail.com
f48a4e343a Remove unused variable. bug 420966 2008-03-06 13:43:26 -08:00
igor@mir2.org
4c7eb5780c bug=415455 r=brendan a1.9=blocking1.9 2008-03-06 13:40:43 -08:00
mrbkap@gmail.com
0ae65ed097 Protect |accum| from being collected in js_ConcatStrings. bug 393874, r=igor a=beltzner 2008-03-06 12:16:42 -08:00
mrbkap@gmail.com
41fce0a6d7 Fix array_concat to be more generic. bug 420966, r=brendan a=beltzner 2008-03-06 12:05:18 -08:00
mrbkap@gmail.com
4db8f39fc6 Allow things to happen to SJOWs if there's no code running. bug 420647, r+sr=jst 2008-03-06 12:04:05 -08:00
mrbkap@gmail.com
b18eda65b8 Remove a now-unnecessary eval hack. bug 420642, r+sr=jst a=beltzner 2008-03-06 12:01:26 -08:00
mrbkap@gmail.com
bfb69adb4e Fix mochitest depending on the old toString behavior. 2008-03-06 12:00:23 -08:00
mrbkap@gmail.com
edc3fdc8d8 Propagate getters and setters onto the inner object. bug 420585, r+sr=jst 2008-03-06 11:58:28 -08:00
mrbkap@gmail.com
7e9bf49b09 Make Object.prototype.toString show the underlying object. bug 420480, r+a=brendan 2008-03-06 11:57:16 -08:00
bclary@bclary.com
a15cd221ca JavaScript Tests - update known failures, bug 418069 2008-03-06 08:01:57 -08:00
bclary@bclary.com
6f30a64a4e JavaScript Tests - update known failures, bug 355258 2008-03-06 01:45:16 -08:00
brendan@mozilla.org
34b45d63e8 Fix signed vs. unsigned comparison in assertion warning. 2008-03-05 15:43:33 -08:00
timeless@mozdev.org
230fba1b62 Bug 282660 Crash [@ jsds_NotifyPendingDeadScripts] ds->script is null r=jst a=beltzner 2008-03-05 13:10:01 -08:00
jorendorff@mozilla.com
6442158c7e Merge from cvs-trunk-mirror 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/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsinvoke.c => js/src/jsinvoke.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/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
2008-03-05 15:00:01 -06:00
igor@mir2.org
28f24f8321 bug=418641 r=brendan a1.9=dsicore Avoiding code bloat on slow paths in the interpreter. 2008-03-05 12:26:06 -08:00
igor@mir2.org
914d77c932 bug=355258 r=brendan a1.9=beltzner 2008-03-05 12:18:52 -08:00
crowder@fiverocks.com
42494c04e5 Bug 324161 - Optimize parseInt for integer values, if radix is 10, r=brendan, blocking1.9=dsicore 2008-03-05 11:11:54 -08:00
mrbkap@gmail.com
a7eaea7ec0 Fix bracing mistake from bug 344494. 2008-03-04 18:45:09 -08:00
mrbkap@gmail.com
73e056c67d Always wrap content nodes in chrome with some sort of wrapper. bug 344494, r+sr=jst 2008-03-04 17:39:45 -08:00
brendan@mozilla.org
bec079b0d6 Fix over-including dependencies, and relocate ID_TO_VALUE to avoid over-including (r=mrbkap, bustage fix). 2008-03-04 15:58:10 -08:00
brendan@mozilla.org
31acde75c0 Break bad old nested include cycle for good, by un-nesting (420554, r=jorendorff, a=vlad). 2008-03-04 15:40:10 -08:00
igor@mir2.org
03f433c720 bug=420399 r=brendan a1.9=blocking1.9 eliminating the pc stack in the interpreter 2008-03-04 15:30:58 -08:00
bclary@bclary.com
d3365453db JavaScript Tests - update known failures 2008-03-04 13:59:50 -08:00
bclary@bclary.com
aa85512db5 JavaScript Tests - update known failures 2008-03-04 09:27:38 -08:00
bclary@bclary.com
28de70863d JavaScript Tests - remove wfm failure, bug 417916 2008-03-04 08:54:08 -08:00
igor@mir2.org
d9417500fc Bug 419969: the interpreter loop belongs to its own compilation unit. r,a1.9=brendan 2008-03-04 04:52:43 -08:00
timeless@mozdev.org
64fa3a079b Bug 420807 xpconnect should not use fun->atom r=dbradley a=brendan 2008-03-03 19:19:17 -08:00
bent.mozilla@gmail.com
372aac713d Bug 414977 - "insufficient unlink methods in some DOM classes?". Fix for DEBUG_xpc_hacker builds. Not part of the normal build, r+sr+a=jst. 2008-03-03 17:20:55 -08:00
bclary@bclary.com
8ab86290e2 JavaScript Tests - update known failures, bug 420480 2008-03-03 09:01:40 -08:00
brendan@mozilla.org
ae42df3d12 Urghh... 2008-03-03 00:09:36 -08:00
brendan@mozilla.org
a982566c12 Clean up and fix computed this under js_Execute (420610, r=mrbkap+crowder, a=vlad). 2008-03-02 23:49:14 -08:00
brendan@mozilla.org
e984ae0990 mrbkap's fantabulous fix for 418565, r=me, a=beltzner. 2008-03-02 23:14:45 -08:00
jruderman@hmc.edu
b63894e5d5 Add crashtest 2008-03-02 23:13:04 -08:00
brendan@mozilla.org
6dcfb7a8a5 mrbkap's patch for 418293 with a few nits picked, r=me, a=beltzner. 2008-03-02 23:10:18 -08:00
brendan@mozilla.org
527b53da80 mrbkap's fix for 420612, r=me, a=beltzner. 2008-03-02 23:02:53 -08:00
brendan@mozilla.org
bf4dff31ae Checking in mrbkap's fix for 420513, r=me, a=beltzner. 2008-03-02 22:49:26 -08:00
jruderman@hmc.edu
29c0574170 Add crashtest 2008-03-02 22:40:11 -08:00
igor@mir2.org
60ee816d65 bug=420593 fixing mispellings in comments introfuced in the patch for bug 396007. 2008-03-02 16:41:07 -08:00
igor@mir2.org
8a2062c811 bug=420639 fixing comments in the checking for bug 418737. 2008-03-02 16:34:00 -08:00
mrbkap@gmail.com
7ab8010f59 Fix dependencies in the JS shell. bug 388955, patch adapted from one by jorendorff, r=brendan a=NPOTB 2008-03-02 15:10:49 -08:00
igor@mir2.org
4efee61dd3 bug=418737 r=brendan a1.9b4=mtshrep fixing fast array enumerator 2008-03-02 09:45:33 -08:00
igor@mir2.org
c2daaad5fe bug=396007 r=brendan a1.9b4=mtschrep Prefering posix_memalign over mmap to allocate GC arenas. 2008-03-02 08:13:16 -08:00
brendan@mozilla.org
12d2139d11 Fix property cache fill to recompute protoIndex to handle XBL and other JS_SetPrototype users (418139, r/a=shaver). 2008-03-01 20:06:33 -08:00
brendan@mozilla.org
4f4cb9e28b Unregress perf in wake of 418069 (420426, r=mrbkap, a=mconnor). 2008-03-01 14:15:21 -08:00
mrbkap@gmail.com
18bfd5ab8a Stick exn back into the context so that js_ReportErrorAgain callees can access the exception. bug 420409, patch from taras, r=mrbkap a=mconnor 2008-03-01 14:11:27 -08:00
bclary@bclary.com
5ac0cb809d Backout bug 420426 due to regressions 2008-03-01 03:02:43 -08:00
brendan@mozilla.org
1575ad453e Fix ComputeThis perf regression (420426, r=mrbkap, a=sayrer). 2008-02-29 23:37:27 -08:00
mrbkap@gmail.com
ecc86bf397 Remove unused variable. bug 418069, r+a=brendan 2008-02-29 17:21:11 -08:00
mrbkap@gmail.com
59987175f2 Outerize |this| always. bug 418069, r/sr=jst/brendan a=beltzner 2008-02-29 16:17:38 -08:00
brendan@mozilla.org
00fee0fea7 Another assert that was an already-coped-with property cache hazard (420087, r=shaver, a=beltzner). 2008-02-29 16:03:41 -08:00
benjamin@smedbergs.us
1dd7d9ff84 merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
2008-02-29 15:06:00 -05:00
benjamin@smedbergs.us
bd8c0d9f66 Bug 420217 - _InterlockedCompareExchange needs to be extern "C" when using a C++ compiler, r=brendan a1.9b4=beltzner 2008-02-29 06:49:04 -08:00
brendan@mozilla.org
a8bb1da25f Fix slot type to satisfy C++ (420215, r=bsmedberg, a=beltzner). 2008-02-28 21:03:38 -08:00
bent.mozilla@gmail.com
c8de939d3c Bug 414977 - "insufficient unlink methods in some DOM classes?". Allow the cycle collector to unlink XPCWrappedNatives in one cycle instead of two. r=peterv, sr=jst, a1.9b4+=schrep. 2008-02-28 18:09:10 -08:00
bclary@bclary.com
75a10443a9 JavaScript Tests - regression test for bug 419018, by jag (Peter Annema) 2008-02-28 17:37:05 -08:00
benjamin@smedbergs.us
efcdec4558 Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
2008-02-28 20:34:28 -05:00
brendan@mozilla.org
fa4dcecfef Unbitrot JS_OPMETER (363529, r=shaver, a=beltzner/sayrer). 2008-02-28 16:29:59 -08:00
brendan@mozilla.org
7e30932a4d Cope with JSOP_INITPROP property cache proto-property-with-non-stub-setter hazard (419822, r=shaver, a=beltzner). 2008-02-28 09:17:52 -08:00
bclary@bclary.com
641f900e2d JavaScript Tests - regression tests for bug 419152, by Mike Shaver 2008-02-28 08:44:05 -08:00
bclary@bclary.com
43608cef42 JavaScript Tests - regression tests for bug 419803, by Jesse Ruderman 2008-02-28 08:24:12 -08:00
brendan@mozilla.org
8f651d834f Fix bogus assertion with compensating code (419803, r=shaver, a=beltzner). 2008-02-27 11:39:27 -08:00
benjamin@smedbergs.us
8e65489719 Merge cvs-trunk-mirror to mozilla-central.
--HG--
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/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/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/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2008-02-27 11:33:49 -05:00
brendan@mozilla.org
bfaa992a1b Backing out to fix orange on Windows fx/tb/sm... 2008-02-26 22:57:28 -08:00
brendan@mozilla.org
42caf6cd7e Landing shaver's patch for 419743, r/a=me. 2008-02-26 21:54:02 -08:00
brendan@mozilla.org
da4792dd55 Optimize object initialisers via property cache; remove JSOP_SET{NAME,PROP} cache hazards (129496, r=shaver). 2008-02-26 17:59:36 -08:00
igor@mir2.org
0490d5e5c8 bug=400902 r,a1.9=brendan Specialized GC arena for double values 2008-02-26 13:01:42 -08:00
bclary@bclary.com
d7b4cdc422 JavaScript Tests - regression tests for bug 410649, by Igor Bukanov 2008-02-26 10:40:56 -08:00
brendan@mozilla.org
d04ec07f23 Fix regression from 419152 to test for 58274 (r/a=shaver). 2008-02-26 09:01:52 -08:00
timeless@mozdev.org
a7cd3c0106 Bug 394114 Interfaces missing from various QI implementations. jsdContext r=caillon sr=jag a=dsicore 2008-02-26 07:10:19 -08:00
timeless@mozdev.org
3be3d64ce2 Bug 405025 ASSERT_VALID_LOCK failed r=gijs a=dsicore 2008-02-26 07:07:05 -08:00
timeless@mozdev.org
9fce33202b Bug 405025 ASSERT_VALID_LOCK failed r=gijs a=dsicore 2008-02-26 07:04:13 -08:00
brendan@mozilla.org
31995f2bdb Shaver's huge patch for 419152 (Huge, I say; r=me). 2008-02-25 16:59:36 -08:00
reed@reedloden.com
7b58057fad Bug 417710 - "Use JS_GET_CLASS, not JS_GetClass" [p=gyuyoung.kim@samsung.com (gyu-young kim) r=jorendorff r=jst sr+a1.9=brendan] 2008-02-25 00:59:20 -08:00
jag@tty.nl
36cdf867ff Backing out bug 400902. Something's still screwy :-( 2008-02-24 08:46:20 -08:00
igor@mir2.org
4e3cb1c91c Bug 400902: specialized arena for doubles 2008-02-24 06:14:45 -08:00
dougt@meer.net
256982d515 WINCE Only. Slash doesn't work in MINGW32, but - works everywhere. 2008-02-22 17:31:02 -08:00
reed@reedloden.com
8245eb76f2 Bug 418957 - "js/src/prmjtime.c uses the wrong value for NS_HAVE_INVALID_PARAMETER_HANDLER on windows mobile" [p=dougt@meer.net (Doug Turner) r+a1.9=crowder] 2008-02-22 15:49:41 -08:00
benjamin@smedbergs.us
bd3ecfec1d Merge cvs-trunk-mirror -> mozilla-central
--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/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/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/jslock.c => js/src/jslock.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/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/jsxml.c => js/src/jsxml.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2008-02-22 16:45:09 -05:00
benjamin@smedbergs.us
b79e3a1d26 Bug 419079 - cast void* in js/src for C++ compatibility, r+a=crowder 2008-02-22 12:41:27 -08:00
crowder@fiverocks.com
12f713ce65 Bug 419018 - Fix silly crash in slowarray_enumerate, patch by mrbkap, r=shaver, a1.9=mconnor 2008-02-22 11:40:57 -08:00
bclary@bclary.com
3678291aaf JavaScript Tests - regression tests for bug 385133, by Jesse Ruderman, Igor Bukanov 2008-02-21 17:31:44 -08:00
bclary@bclary.com
16cceabc06 JavaScript Tests - Object destructuring shorthand, bug 404734, by Brendan Eich 2008-02-21 17:00:36 -08:00
bclary@bclary.com
4fbb143347 JavaScript Tests - allow function Error() {} for the love of Pete, bug 412324 2008-02-21 13:22:38 -08:00
timeless@mozdev.org
3a951ab3c2 Bug 418665 windows mobile build error in js/src/jsdate.c GetLocalTime is defined in the Windows Mobile SDK patch by dougt r=crowder a=beltzner 2008-02-21 13:09:57 -08:00
brendan@mozilla.org
c6f32f4ba6 ASSERT_VALID_PROPERTY_CACHE_HIT must be for ST spidermonkey only (417817, r=shaver). 2008-02-21 12:50:39 -08:00
bclary@bclary.com
2c43afb44c JavaScript Tests - regression test for bug 417893, by Jesse Ruderman 2008-02-21 11:38:06 -08:00
bclary@bclary.com
e449d615e6 JavaScript Tests - regression test for bug 418504, by Jeff Walden 2008-02-21 10:12:57 -08:00
bclary@bclary.com
2aad8c70db JavaScript Tests - regression test for bug 418540, by Jesse Ruderman 2008-02-21 09:14:44 -08:00
brendan@mozilla.org
a76138b7d2 Beware non-native objects along scope and proto chains in property cache hit testing (418540, r=shaver). 2008-02-20 21:51:12 -08:00
brendan@mozilla.org
7228b88fd0 jorendorff's JS_DEBUG_TITLE_LOCKS patch (417818, r=shaver). 2008-02-20 21:04:29 -08:00
gavin@gavinsharp.com
3106b6c27f Back out bug 418069 because it causes a crash on startup for Camino 2008-02-20 18:06:26 -08:00
bclary@bclary.com
c86ac17ec4 Sisyphus/JavaScript Tests - update public failures, no bug, not part of the build 2008-02-20 17:27:02 -08:00
crowder@fiverocks.com
d7bbfe4d1d Bug 418069 - js1_5/Regress/regress-379245.js FAIL - browser - bad this, patch by mrbkap, r=brendan, sr=jst, a1.9=brendan 2008-02-20 15:28:18 -08:00
crowder@fiverocks.com
5679bb6318 Bug 418638 - various bugs in JS shell scatter() and sleep(), patch by Jason Orendorff <jorendorff@mozilla.com>, r=crowder, a=NPOTB 2008-02-20 15:18:20 -08:00
jst@mozilla.org
532545b9dd Landing fix for bug 418377. Don't run code on invalid contextx. Patch by mrbkap@gmail.com, r+sr=jst@mozilla.org 2008-02-20 15:00:56 -08:00
igor@mir2.org
236038958e bug=418614 r=mrbkap a1.9=brendan fixing JSOP_EXPORTALL regression spotted by mrbkap 2008-02-20 12:36:52 -08:00
crowder@fiverocks.com
eff79b10d8 Bug 418616 - fix use of uninitialized data in js_CheckAccess, patch by Blake Kaplan <mrbkap@gmail.com>, r+=shaver, a+=brendan 2008-02-20 12:01:14 -08:00
bclary@bclary.com
ac15f830ba Sisyphus/JavaScript Tests - handle malformed log files, bug 418617 2008-02-20 07:49:34 -08:00
reed@reedloden.com
32c4cd178b Bug 404879 - "ActionMonkey: Modify js/src to use new thread-safe MMgc APIs" (tests) [p=jorendorff@mozilla.com (Jason Orendorff) r=bc a1.9=schrep] 2008-02-20 03:27:41 -08:00
reed@reedloden.com
ec2b0ce2b3 Bug 404879 - "ActionMonkey: Modify js/src to use new thread-safe MMgc APIs" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-20 03:25:26 -08:00
reed@reedloden.com
9f08bac7ce Bug 412985 - "Provide stubs for JS_THREADSAFE APIs in non-JS_THREADSAFE builds" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-20 03:22:06 -08:00
igor@mir2.org
a3f0472aa0 bug=418456 r,a1.9=brendan Fixing asserts in js_PutBlockObject 2008-02-20 01:24:02 -08:00
jag@tty.nl
05755b11a8 Bug 415142: Mozilla build broken in mozilla/js/src/jsgc.c:2217. All the compilers we support can handle long long, so just go with that. Also remove ifdefs for compilers we no longer care about. r=/a=brendan 2008-02-19 21:11:01 -08:00
crowder@fiverocks.com
a73ab6b769 Bug 418515 - Better management of parent-finding, needed for new arrays implementation, r/a+=brendan 2008-02-19 21:05:24 -08:00
bzbarsky@mit.edu
7de886172c Fix line numbering in JS components so it's not off by 1. Bug 418491, r+sr+a=brendan 2008-02-19 19:57:11 -08:00
brendan@mozilla.org
2ca6b7d1e4 Fix untagged boolean stored as jsval bug (418504, r=jwalden). 2008-02-19 16:48:10 -08:00
bclary@bclary.com
eedf971a39 JavaScript Tests - add js1_5/Regress/regress-416628.js to the performance tests, bug 416628 2008-02-19 12:16:03 -08:00
bclary@bclary.com
5294f41197 JavaScript Tests - update to remove failures due to change in expected behavior, bug 345855 2008-02-19 12:11:22 -08:00
igor@mir2.org
c94ca494bf Bug 416439. Using goto error in the interpreter to shrink code size. r,a1.9=brendan 2008-02-19 04:16:26 -08:00
brendan@mozilla.org
ac5e7eec95 Property-cache dense array methods in JSOP_CALLPROP (418239, r=shaver). 2008-02-18 23:04:00 -08:00
dbaron@dbaron.org
6a1479a554 In JS_PrintTraceThingInfo, only print the contents of JSSLOT_PRIVATE if it represents the class's private rather than the first slot. b=417972 r=igor a=DEBUG-only (not part of the default build) 2008-02-18 22:19:13 -08:00
brendan@mozilla.org
fd7e5e29b8 Relaxd ES4-like yield parsing for JS1.8 (384991, r=mrbkap). 2008-02-18 20:49:02 -08:00
mrbkap@gmail.com
f1ecb4b0a4 Avoid calling js_ComputeThis when we don't have to from js_Invoke. bug 417947, r+a=brendan 2008-02-18 19:34:02 -08:00
shaver@mozilla.org
3a8966f57d Fix js_CheckAccess to handle use in non-native objects' ops, fixing test-suite regressions from native-arrays landing. r=mrbkap, a=brendan. 2008-02-18 18:27:44 -08:00
crowder@fiverocks.com
6d54f18ec8 Bug 417999 - removed JS_ArenaFreeAllocation, r+/a+=brendan 2008-02-18 13:14:15 -08:00
crowder@fiverocks.com
222f90ff01 Bug 417995 - SpanDeps allocation does not use JSArenas anymore, r+/a+=brendan 2008-02-18 13:09:50 -08:00
shaver@mozilla.org
8ef681ab63 Implement optimized object-ops for dense arrays, b=322889, r+a=brendan. 2008-02-18 13:01:47 -08:00
jag@tty.nl
e96d1b2fef Bug 417477: Mingw build error in ../mozilla/js/src/jslock.c: syntax error. p=bengt.erik.soderstrom@telia.com, r=jag, a=brendan 2008-02-18 12:10:37 -08:00
brendan@mozilla.org
f337b63afc Guard property cache tests with native ops or obj guards (417981, r=shaver). 2008-02-18 11:32:01 -08:00
bclary@bclary.com
9df24be609 JavaScript Test - regression test for bug 416628, by Brendan Eich 2008-02-18 03:38:44 -08:00
bclary@bclary.com
f4708f06ed JavaScript Tests - regression test for bug 415922, by Joachim Kuebart 2008-02-18 02:48:26 -08:00
bclary@bclary.com
10b95013f7 JavaScript Test - regression test for bug 416460, by Jesse Ruderman 2008-02-18 02:21:39 -08:00
bclary@bclary.com
3e59387f2b JavaScript Tests - regression test for bug 416601, by Igor Bukanov 2008-02-18 02:12:46 -08:00
brendan@mozilla.org
404002f4ae Use JS_PropertyStub for in-language bindings, for best property cache hit rates (416931, r=mrbkap). 2008-02-17 22:31:57 -08:00
brendan@mozilla.org
781e69710b Recover trapped opcode in js_GetIndexFromBytecode (416665, r=igor). 2008-02-17 17:32:12 -08:00
brendan@mozilla.org
080383a8f8 Lazy ComputeGlobalThis required now in fast native implementations (417893, r=mrbkap). 2008-02-17 16:12:33 -08:00
brendan@mozilla.org
42b27fd2b0 Fix misindented code (418049, r=igor). 2008-02-17 16:01:53 -08:00
bclary@bclary.com
922b150115 Sisyphus/JavaScript Tests - update known failures, no bug, not part of the build 2008-02-17 10:13:16 -08:00
timeless@mozdev.org
cd25bc929f Bug 416981 CheckLeakedRoots should specify which JSRuntime is leaking r=brendan a=brendan 2008-02-16 22:56:40 -08:00
reed@reedloden.com
be5b1e308e Bug 417615 - "js.c doesn't build under MOZ_SHARK" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-16 19:27:30 -08:00
bclary@bclary.com
4210eeeb0a Sisyphus/JavaScript Tests - update known failures to match new time out variables, no bug, not part of the build 2008-02-16 14:18:37 -08:00
brendan@mozilla.org
184fbae164 Defend against compiler pseudo-frames (417944, r=shaver). 2008-02-16 13:33:59 -08:00
bclary@bclary.com
8542a0ee12 Sisyphus/JavaScript Tests - add timeout for js1_6/extensions/regress-385393-08.js due to bug 417916 2008-02-16 09:12:13 -08:00
bclary@bclary.com
871894fb37 Sisyphus/JavaScript Tests - lower timeout to 2 minutes, bug 417932, not part of the build 2008-02-16 08:43:07 -08:00
bclary@bclary.com
a2ef0b9951 Sisyphus/JavaScript Tests - update known failures for windows, no bug, not part of the build 2008-02-16 05:55:22 -08:00
brendan@mozilla.org
6fc8aac0ec Don't lock non-native objects (417819, r=mrbkap). 2008-02-15 22:53:32 -08:00
jruderman@hmc.edu
7445015a73 Add crashtest 2008-02-15 21:29:10 -08:00
brendan@mozilla.org
fc623a24eb Optimize ComputeGlobalThis (395993, r=mrbkap). 2008-02-15 18:46:46 -08:00
igor@mir2.org
f86e5a86d2 Bug 416601: property cache is properly disabled under with statements with generators. r=brendan a1.9=blocking1.9 2008-02-15 03:38:40 -08:00
shaver@mozilla.org
08cc7ed6d6 back out for mochitest failures in prototype 2008-02-15 02:31:38 -08:00
shaver@mozilla.org
19f85281c0 Bug 322889: implement specialized storage and operations for JS arrays; r+a=brendan. 2008-02-15 01:48:53 -08:00
gavin@gavinsharp.com
be5dd93507 Back out bug 322889 due to jQuery unit test failures 2008-02-14 18:41:18 -08:00
shaver@mozilla.org
4b517f103c Bug 322889: implement specialized storage and operations for JS arrays; r+a=brendan 2008-02-14 17:07:53 -08:00
shaver@mozilla.org
7550157d62 Bug 416675: refactor JSScope locking for reuse on non-native objects. r+a=brendan. 2008-02-14 16:44:46 -08:00
jag@tty.nl
02c1f88ad5 Bug 417419: You too can solve global-warming without making the JS_INLINE macro ugly. r=/a=brendan 2008-02-14 15:56:53 -08:00
bclary@bclary.com
b38b6cba2a Sisyphus/JavaScript Tests - update known failures list, no bug, not part of the build 2008-02-14 08:29:37 -08:00
igor@mir2.org
5a2b665446 Bug 416354: optimizing switch cases in the inetrpreter, r,a1.9=brendan 2008-02-14 07:36:39 -08:00
reed@reedloden.com
5e9e94d627 Bug 402898 - "JS_YieldRequest doesn't do scope-sharing" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-14 03:14:25 -08:00
brendan@mozilla.org
dfd7f0a7b4 Optimize wrapper creation via JS_NewObjectWithGivenProto, and avoid cycle-check overhead in JS_Set{Prototype,Parent} (408871, r=mrbkap). 2008-02-13 21:10:42 -08:00
brendan@mozilla.org
50b22acab7 Must set initial slot value in js_DefineNativeProperty via write barrier (417012, r=shaver). 2008-02-13 19:12:44 -08:00
bclary@bclary.com
ac9fb0f201 Sisyphus/JavaScript Tests - update public failures, no bug, not part of the build 2008-02-13 18:25:05 -08:00
bclary@bclary.com
18f47ac952 JavaScript Tests - update test due to bug 309894 2008-02-13 15:34:49 -08:00
brendan@mozilla.org
3fb8d6c553 Fiddle blank lines botched in my last checkin. 2008-02-13 15:07:14 -08:00
crowder@fiverocks.com
024a12d0a9 Bug 417100 - Fixing windows build errors 2008-02-13 14:33:57 -08:00
crowder@fiverocks.com
ac160ed074 Bug 417100 - more aggressive inlining for jsregexp.c, r=brendan, a1.9=mtschrep 2008-02-13 13:52:17 -08:00
crowder@fiverocks.com
52e061dee3 Bug 417077 - more rigorous inlining functionality for JS, r/a1.9=brendan 2008-02-13 13:50:05 -08:00
bclary@bclary.com
f006c8cc8c Sisyphus/JavaScript Tests - improve test timeout handling, bug 417260 2008-02-13 12:18:02 -08:00
igor@mir2.org
ac22737548 Bug 309894: non-recursive XML-filtering implementation. r,a1.9=brendan 2008-02-13 06:32:31 -08:00
brendan@mozilla.org
2bf37c2385 Patch from Robert Longson <longsonr@gmail.com> for _InterlockedCompareExchange on MSVC7.1 (416813, r=me). 2008-02-13 02:21:50 -08:00
brendan@mozilla.org
e334c2256a Fix stupidity from patch for 414452 (417144, r=shaver, thanks to vlad for finding). 2008-02-12 20:17:50 -08:00
brendan@mozilla.org
4e2eefd3a3 Cope with GC under js_{Find,Lookup}Property in ASSERT_VALID_PROPERTY_CACHE_HIT (417033, r=shaver). 2008-02-12 18:26:16 -08:00
bclary@bclary.com
b8d87d9b9e Sisyphus/JavaScript Tests - fix post-process-logs.pl page, exit status processing, bug 416970 2008-02-12 04:06:14 -08:00
jwalden@mit.edu
247329e211 Bug 397929 - Convert GetMessage APIs to GetMessageMoz APIs, at the C++ symbol level only (vtables remain the same), to work around brain-dead, idiotic, insane Windows API macros. r=bsmedberg, a=schrep 2008-02-11 20:11:07 -08:00
bclary@bclary.com
932a720c80 Sisyphus/JavaScript Tests - attempt 2 at getting known failures correct, bug 416789 2008-02-11 15:29:54 -08:00
bclary@bclary.com
c80cd83b7f Sisyphus/JavaScript Tests - improve page time out handling in post-process-logs.sh, bug 416788 2008-02-11 15:22:29 -08:00
timeless@mozdev.org
976ad0200d Fixing js.mak - adding jsiter 2008-02-11 14:35:05 -08:00
bclary@bclary.com
7361183085 JavaScript Tests - update test for bug 410571 2008-02-11 14:22:02 -08:00
crowder@fiverocks.com
cb2e41b183 Bug 416615 - Optimize JS_MAX(upcase(localMax), downcase(localMax)), r=mrbkap, blocking1.9=brendan, idea from BijuMailList@gmail.com 2008-02-11 12:23:28 -08:00
nboyd@atg.com
8ee727a39d regression test. r=shaver 2008-02-11 08:55:10 -08:00
jag@tty.nl
e76dc17580 Bug 416685: jsinterp.c warning: empty body in an if-statement (times 4). r=/a=brendan 2008-02-11 02:55:59 -08:00
bclary@bclary.com
6edded0296 Sisyphus/JavaScript Tests - update known failures, bug 416789 2008-02-11 01:14:16 -08:00
bclary@bclary.com
754b55208e Sisyphus/JavaScript Tests - handle browser test timeouts better in non-restart mode, bug 416788 2008-02-11 01:08:38 -08:00
bclary@bclary.com
b54eb10ece Sisyphus/JavaScript Tests - improve error message, bug 416786 2008-02-11 01:00:21 -08:00
brendan@mozilla.org
1379a0de12 Avoid O(n^2) hazard under JS_ARENA_RELEASE, simplifying arena-pool usage and eliminating debug code (416628, r=igor). 2008-02-11 00:55:02 -08:00
bclary@bclary.com
25eb5e2f89 JavaScript Tests - update *.tests lists, bug 416783 2008-02-11 00:52:12 -08:00
reed@reedloden.com
8f0ac1f4fd Bug 416470 - "JSContext::outstandingRequests bookkeeping is incorrect" [p=jorendorff@mozilla.com (Jason Orendorff) r=igor a1.9=schrep a=blocking1.9+] 2008-02-10 22:15:18 -08:00
brendan@mozilla.org
1bad15affa Export js_CheckForStringIndex from jsobj.c for use by assert in jsinterp.c (416460, r=shaver). 2008-02-10 17:12:29 -08:00
reed@reedloden.com
a269fceb53 Bug 412324 - "Main content panel is not rendered for all WebCT/Blackboard installations" [p=crowder@fiverocks.com (Brian Crowder) r+a1.9=brendan a=blocking1.9+] 2008-02-10 00:49:19 -08:00
timeless@mozdev.org
b6c5d2862f Bug 416293 unbalanced locking in jsd_SetExecutionHook r=crowder a=mtschrep 2008-02-09 20:16:54 -08:00
jwalden@mit.edu
bba13239da Bug 410571 - Yield and let expressions disappear in decompilation of object literal due to mismanagement of the sprintstack; just sprint all at once instead of in two steps. r+a=brendan 2008-02-09 19:30:07 -08:00
igor@mir2.org
4b387e5fd5 Bug 415274: Patch from Mike Moening to allow buiding SpiderMonkey as a static library. r=myself, a1.9=brendan 2008-02-09 06:19:36 -08:00
jruderman@hmc.edu
e15b941bae Add crashtests 2008-02-09 02:43:15 -08:00
brendan@mozilla.org
cca60ec58a Missing unlock in propcache setprop/setname code, plus two cleanups (416478, r=shaver, mad props to jorendorff). 2008-02-08 19:02:57 -08:00
brendan@mozilla.org
d1bb8185ba Put js_DisablePropertyCache in the right place in the obj_eval flow graph (416406, r=shaver). 2008-02-08 17:54:31 -08:00
igor@mir2.org
4031026cd0 Bug 411722: faster js_GetLocalNameArray. r=brendan a=blocking1.9 2008-02-08 16:01:45 -08:00
jst@mozilla.org
7031e5cbf6 Fixing bug 410462. Quiet down a bogus assertion. r+sr=peterv@propagandism.org, a=mtschrep@gmail.com 2008-02-08 15:15:00 -08:00
jst@mozilla.org
66c429560a Landing updated fix for bug 410223. Don't allocate links on the heap. Patch by mrbkap@gmail.com and jst@mozilla.org, r+sr=brendan@mozilla.org/mrbkap@mozilla.org 2008-02-08 15:10:06 -08:00
brendan@mozilla.org
c99115d69a Fix bogus assertion (416404, r=shaver). 2008-02-08 14:59:59 -08:00
igor@mir2.org
98c2a791fd Attachment 302122: optimizing JSOP_NEG, r=brendan a=blocking1.9 2008-02-08 14:01:09 -08:00
igor@mir2.org
0d622a949f Bug 385133: proper verification for stack layout in the decompiler, r=brendan a=blocking1.9 2008-02-08 13:59:05 -08:00
bclary@bclary.com
333b6501a8 JavaScript Tests - fix window detection in test for bug 367121 2008-02-08 12:51:08 -08:00
dbaron@dbaron.org
341458ed79 More detailed description of JS objects. b=414972 r+sr=peterv a=not part of default build (DEBUG_CC only) 2008-02-08 11:50:47 -08:00
dbaron@dbaron.org
9c5ed38724 Add comment explaining mJSRoots and ExplainLiveExpectedGarbage business. 2008-02-08 11:50:16 -08:00
brendan@mozilla.org
23c36b84f4 Return of the property cache (365851, r=shaver). 2008-02-07 15:18:45 -08:00
crowder@fiverocks.com
1b68f69747 Bug 415922 - Exception from within JSNewEnumerateOp on JSENUMERATE_NEXT not supported, patch by Joachim Kuebart <jkuebart@ptc.com>, r=brendan, a1.9=brendan 2008-02-07 12:09:48 -08:00
bclary@bclary.com
6043063ef4 JavaScript Tests - regression test for bug 367121, by moz_bug_r_a4 2008-02-07 07:29:40 -08:00
bclary@bclary.com
ee91c4fe1e JavaScript Tests - regression test for bug 351795, by Jesse Ruderman 2008-02-07 06:10:49 -08:00
bclary@bclary.com
8981e01fd3 JavaScript Tests - regression test for bug 373828, by Jesse Ruderman 2008-02-07 05:53:08 -08:00
bclary@bclary.com
9213ad39d9 JavaScript Tests - regression tests for bug 352640, by Jesse Ruderman 2008-02-07 05:50:24 -08:00
bclary@bclary.com
bda5e41ce2 JavaScript Tests - regression test for bug 381304, by Biju 2008-02-07 05:46:59 -08:00
bclary@bclary.com
975fb3f355 JavaScript Tests - regression test for bug 379523, by Jesse Ruderman 2008-02-07 05:44:32 -08:00
bclary@bclary.com
2f6d75ae86 JavaScript Tests - regression test for bug 356106, by Jesse Ruderman 2008-02-07 05:42:23 -08:00
bclary@bclary.com
3ead1ec961 JavaScript Tests - regression test for bug 355622, by Jesse Ruderman 2008-02-07 05:39:53 -08:00
bclary@bclary.com
295e588eed JavaScript Tests - regression test for bug 406555, by Igor Bukanov 2008-02-07 05:37:06 -08:00
bclary@bclary.com
7f6201d03b JavaScript Tests - regression test for bug 362583, by Jesse Ruderman 2008-02-07 05:33:53 -08:00
bclary@bclary.com
6214d76ae2 JavaScript Tests - regression test for bug 361617, by Jesse Rudermen 2008-02-07 05:30:54 -08:00
peterv@propagandism.org
e40e28c8f6 Fix for bug 415037 ("success" returned uninitialized from XPCVariant::VariantDataToJS). r/sr=jst, a=schrep. 2008-02-07 03:38:13 -08:00
reed@reedloden.com
034ef625c9 Bug 414963 - "C++ warnings in jsnum.c, jsutil.c (with g++ -Wconversion)" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-06 13:34:51 -08:00
reed@reedloden.com
ffc995d036 Bug 412985 - "Provide stubs for JS_THREADSAFE APIs in non-JS_THREADSAFE builds" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-06 13:33:44 -08:00
bclary@bclary.com
5786c45c26 JavaScript Tests - run Tinderbox browser tests without restarting browser, bug 406196 2008-02-06 12:05:33 -08:00
brendan@mozilla.org
1062056759 Fixed generation-number-optimized hash revalidation (415721, r=igor). 2008-02-05 17:25:12 -08:00
nboyd@atg.com
404d4a8deb Test case for bug 415451 r=bclary@bclary.com 2008-02-05 13:52:34 -08:00
nboyd@atg.com
38cd7e2900 Regression test for bug 414098. r=bclary@bclary.com 2008-02-05 10:53:18 -08:00
brendan@mozilla.org
192c9c8568 Reload key in case of multithreaded race to atomize the same string chars (415474, r=igor). 2008-02-03 21:12:33 -08:00
igor@mir2.org
43ba6ec933 Bug 400902: Backing out due to test failures. 2008-02-03 19:41:31 -08:00
igor@mir2.org
0bed6fb140 Bug 400902: specialized arena for fast allocation of double values.r,a=brendan ab3=mtschrep 2008-02-03 18:37:22 -08:00
nboyd@atg.com
d37ce251dc As you might expect, a regression test for bug 414553. r=bclary@bclary.org 2008-02-01 12:48:02 -08:00
igor@mir2.org
b57a98b51e Bug 400902: backing out due to test failures. 2008-02-01 11:59:59 -08:00
igor@mir2.org
ea03e8c6f0 Bug 400902: using a specialized GC arena for doubles. r,a=brendan a1.9b3=mtschrep 2008-02-01 10:39:23 -08:00
igor@mir2.org
772db95093 Bug 415207: fix time overflow in arena aging code. r=crowder a1.9,a1.9b3=beltzner 2008-02-01 09:56:23 -08:00
igor@mir2.org
b80ad65983 Bug 354135: protect against oo recursion in e4x. r,a=brendan, a1.9b3=mtschrep 2008-01-31 22:01:17 -08:00