Граф коммитов

10772 Коммитов

Автор SHA1 Сообщение Дата
igor@mir2.org 0a6bd72f82 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 ea2c2599df Fix indentation nit 2008-03-12 00:05:30 -07:00
shaver@mozilla.org c072f010df 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 28eeab7d9c JavaScript Tests - fix TimeWithinDay for negative arguments, bug 264727 2008-03-11 15:18:23 -07:00
benjamin@smedbergs.us c247ccdc49 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 1f2f1c09f8 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 dad29c2c8a 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 7e62613f50 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 3e1d107b94 Bug 421984. Build with -fstrict-aliasing on GCC platforms. r/a=shaver 2008-03-10 17:04:47 -07:00
timeless@mozdev.org 6fe2ecb6dd Bug 421774 consolidate jsd static variables into main r=shaver 2008-03-10 16:11:36 -07:00
bclary@bclary.com 7adb6dde49 JavaScript Tests - update test to catch exception in browser tests, bug 420612 2008-03-10 14:24:35 -07:00
benjamin@smedbergs.us f7f9006427 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 72a45fd109 bug=419632 r=brendan a1.9=blockin1.9 avoiding weak roots for doubles 2008-03-10 12:27:44 -07:00
gavin@gavinsharp.com 690afd3fb9 Back out the patch from bug 420642 because it broke gmail (bug 421571) 2008-03-10 01:28:51 -07:00
bclary@bclary.com ac451a4ea9 JavaScript Tests - regression tests for bug 418641, by Igor Bukanov 2008-03-09 14:04:14 -07:00
bclary@bclary.com 5898e57502 JavaScript Tests - regression test for bug 420087, by Mike Shaver 2008-03-09 13:49:13 -07:00
bclary@bclary.com 8b01eea5ad JavaScript Tests - regression test for bug 420399, by Jesse Ruderman 2008-03-09 13:32:33 -07:00
bclary@bclary.com 36dc12fbfb JavaScript Tests - regression tests for bug 420610, by Jesse Ruderman 2008-03-09 13:15:14 -07:00
bclary@bclary.com 72db731539 JavaScript Tests - regression test for bug 420612, by Jesse Ruderman 2008-03-09 13:09:09 -07:00
bclary@bclary.com a6d3b6e1b7 JavaScript Tests - regression test for bug 421325, by Brian Crowder 2008-03-09 13:00:57 -07:00
bclary@bclary.com c3d114bffb 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 9f36c94fb0 Bug 421231 js.c needs to call JSDB_TermDebugger r=brendan NPOTB 2008-03-09 03:05:29 -07:00
brendan@mozilla.org 1120b82dc1 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 cea6af28d9 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 57b29cd9c0 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 d64ed99c7f JavaScript Tests - update known failures, bug 421515 2008-03-07 12:33:18 -08:00
dbaron@dbaron.org b1c1ef734f 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 f94c50c5ff bug=421154 r=brendan a1.9=blockin1.9 Faster number conversions 2008-03-06 15:24:08 -08:00
mrbkap@gmail.com f51e981013 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 e73c273de4 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 833ed276ba 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 63917f381d Remove unused variable. bug 420966 2008-03-06 13:43:26 -08:00
igor@mir2.org 5c67b33f61 bug=415455 r=brendan a1.9=blocking1.9 2008-03-06 13:40:43 -08:00
mrbkap@gmail.com 6af4d0b021 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 9a51eefa28 Fix array_concat to be more generic. bug 420966, r=brendan a=beltzner 2008-03-06 12:05:18 -08:00
mrbkap@gmail.com 556a3969cb 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 ca37844efe Remove a now-unnecessary eval hack. bug 420642, r+sr=jst a=beltzner 2008-03-06 12:01:26 -08:00
mrbkap@gmail.com fd77553679 Fix mochitest depending on the old toString behavior. 2008-03-06 12:00:23 -08:00
mrbkap@gmail.com b9ab7bc2c1 Propagate getters and setters onto the inner object. bug 420585, r+sr=jst 2008-03-06 11:58:28 -08:00
mrbkap@gmail.com dc73a06aea Make Object.prototype.toString show the underlying object. bug 420480, r+a=brendan 2008-03-06 11:57:16 -08:00
bclary@bclary.com ffe3dd8a44 JavaScript Tests - update known failures, bug 418069 2008-03-06 08:01:57 -08:00
bclary@bclary.com 107afeac03 JavaScript Tests - update known failures, bug 355258 2008-03-06 01:45:16 -08:00
brendan@mozilla.org e84ffaeda1 Fix signed vs. unsigned comparison in assertion warning. 2008-03-05 15:43:33 -08:00
timeless@mozdev.org 4dc91524a4 Bug 282660 Crash [@ jsds_NotifyPendingDeadScripts] ds->script is null r=jst a=beltzner 2008-03-05 13:10:01 -08:00
jorendorff@mozilla.com 35ce5bea9f 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 2015c98075 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 bdc9c64b8a bug=355258 r=brendan a1.9=beltzner 2008-03-05 12:18:52 -08:00
crowder@fiverocks.com 19b228e5ae 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 a495a9e2a9 Fix bracing mistake from bug 344494. 2008-03-04 18:45:09 -08:00
mrbkap@gmail.com 3c51f08b7a 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 90e6c12ad4 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 cb0105b995 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 a69ef8533a 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 8ed61cc90e JavaScript Tests - update known failures 2008-03-04 13:59:50 -08:00
bclary@bclary.com 0f13dd07bb JavaScript Tests - update known failures 2008-03-04 09:27:38 -08:00
bclary@bclary.com 3447baa12d JavaScript Tests - remove wfm failure, bug 417916 2008-03-04 08:54:08 -08:00
igor@mir2.org f2cefc1be0 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 d0c1081ac8 Bug 420807 xpconnect should not use fun->atom r=dbradley a=brendan 2008-03-03 19:19:17 -08:00
bent.mozilla@gmail.com 1329400295 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 3acfec06f7 JavaScript Tests - update known failures, bug 420480 2008-03-03 09:01:40 -08:00
brendan@mozilla.org c91b7e0696 Urghh... 2008-03-03 00:09:36 -08:00
brendan@mozilla.org 8f2168ba67 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 471106c28f mrbkap's fantabulous fix for 418565, r=me, a=beltzner. 2008-03-02 23:14:45 -08:00
jruderman@hmc.edu 95dc4f005c Add crashtest 2008-03-02 23:13:04 -08:00
brendan@mozilla.org 6088d1eb4e 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 80722540b2 mrbkap's fix for 420612, r=me, a=beltzner. 2008-03-02 23:02:53 -08:00
brendan@mozilla.org cf4d603da9 Checking in mrbkap's fix for 420513, r=me, a=beltzner. 2008-03-02 22:49:26 -08:00
jruderman@hmc.edu 0642ec7dbc Add crashtest 2008-03-02 22:40:11 -08:00
igor@mir2.org 76f433ab71 bug=420593 fixing mispellings in comments introfuced in the patch for bug 396007. 2008-03-02 16:41:07 -08:00
igor@mir2.org 40b03d9910 bug=420639 fixing comments in the checking for bug 418737. 2008-03-02 16:34:00 -08:00
mrbkap@gmail.com 317e5a69b6 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 5ed7053857 bug=418737 r=brendan a1.9b4=mtshrep fixing fast array enumerator 2008-03-02 09:45:33 -08:00
igor@mir2.org 8439fec53e 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 2975e79426 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 d90624b8f6 Unregress perf in wake of 418069 (420426, r=mrbkap, a=mconnor). 2008-03-01 14:15:21 -08:00
mrbkap@gmail.com 670f99cc2e 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 d44a08c364 Backout bug 420426 due to regressions 2008-03-01 03:02:43 -08:00
brendan@mozilla.org fe95cf0cc7 Fix ComputeThis perf regression (420426, r=mrbkap, a=sayrer). 2008-02-29 23:37:27 -08:00
mrbkap@gmail.com 27dd3c9f1d Remove unused variable. bug 418069, r+a=brendan 2008-02-29 17:21:11 -08:00
mrbkap@gmail.com daa1af807b Outerize |this| always. bug 418069, r/sr=jst/brendan a=beltzner 2008-02-29 16:17:38 -08:00
brendan@mozilla.org fac287f778 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 a6ee2b9b98 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 24d421cf7e 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 c5faf4cb58 Fix slot type to satisfy C++ (420215, r=bsmedberg, a=beltzner). 2008-02-28 21:03:38 -08:00
bent.mozilla@gmail.com 05abaea802 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 605d844c9b JavaScript Tests - regression test for bug 419018, by jag (Peter Annema) 2008-02-28 17:37:05 -08:00
benjamin@smedbergs.us 819bc13ad2 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 670a8c71c3 Unbitrot JS_OPMETER (363529, r=shaver, a=beltzner/sayrer). 2008-02-28 16:29:59 -08:00
brendan@mozilla.org 47701d17da 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 c58c0d4132 JavaScript Tests - regression tests for bug 419152, by Mike Shaver 2008-02-28 08:44:05 -08:00
bclary@bclary.com 63ce2ca364 JavaScript Tests - regression tests for bug 419803, by Jesse Ruderman 2008-02-28 08:24:12 -08:00
brendan@mozilla.org e00903969e Fix bogus assertion with compensating code (419803, r=shaver, a=beltzner). 2008-02-27 11:39:27 -08:00
benjamin@smedbergs.us e623eb1082 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 d014ad26c9 Backing out to fix orange on Windows fx/tb/sm... 2008-02-26 22:57:28 -08:00
brendan@mozilla.org 0e309947ea Landing shaver's patch for 419743, r/a=me. 2008-02-26 21:54:02 -08:00
brendan@mozilla.org 284723cc52 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 663a089f9a bug=400902 r,a1.9=brendan Specialized GC arena for double values 2008-02-26 13:01:42 -08:00
bclary@bclary.com be07e41876 JavaScript Tests - regression tests for bug 410649, by Igor Bukanov 2008-02-26 10:40:56 -08:00
brendan@mozilla.org 37157bcb3e Fix regression from 419152 to test for 58274 (r/a=shaver). 2008-02-26 09:01:52 -08:00
timeless@mozdev.org 35f7453c13 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 356b441998 Bug 405025 ASSERT_VALID_LOCK failed r=gijs a=dsicore 2008-02-26 07:07:05 -08:00
timeless@mozdev.org 8275780222 Bug 405025 ASSERT_VALID_LOCK failed r=gijs a=dsicore 2008-02-26 07:04:13 -08:00
brendan@mozilla.org 01f57ac227 Shaver's huge patch for 419152 (Huge, I say; r=me). 2008-02-25 16:59:36 -08:00
reed@reedloden.com 5d4ef49dd4 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 3dc70c8522 Backing out bug 400902. Something's still screwy :-( 2008-02-24 08:46:20 -08:00
igor@mir2.org c80140e35e Bug 400902: specialized arena for doubles 2008-02-24 06:14:45 -08:00
dougt@meer.net 2dce6c3488 WINCE Only. Slash doesn't work in MINGW32, but - works everywhere. 2008-02-22 17:31:02 -08:00
reed@reedloden.com 0df12fcd74 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 270b1c9735 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 74c6d8ff71 Bug 419079 - cast void* in js/src for C++ compatibility, r+a=crowder 2008-02-22 12:41:27 -08:00
crowder@fiverocks.com 4de7e60d7d 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 cc759b645a JavaScript Tests - regression tests for bug 385133, by Jesse Ruderman, Igor Bukanov 2008-02-21 17:31:44 -08:00
bclary@bclary.com b4827267a4 JavaScript Tests - Object destructuring shorthand, bug 404734, by Brendan Eich 2008-02-21 17:00:36 -08:00
bclary@bclary.com 992191f454 JavaScript Tests - allow function Error() {} for the love of Pete, bug 412324 2008-02-21 13:22:38 -08:00
timeless@mozdev.org 98f752bec6 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 563ba9b15c 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 6bf32f6b15 JavaScript Tests - regression test for bug 417893, by Jesse Ruderman 2008-02-21 11:38:06 -08:00
bclary@bclary.com 73866b1464 JavaScript Tests - regression test for bug 418504, by Jeff Walden 2008-02-21 10:12:57 -08:00
bclary@bclary.com 4cb3191194 JavaScript Tests - regression test for bug 418540, by Jesse Ruderman 2008-02-21 09:14:44 -08:00
brendan@mozilla.org ae4797fd62 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 a046a1a279 jorendorff's JS_DEBUG_TITLE_LOCKS patch (417818, r=shaver). 2008-02-20 21:04:29 -08:00
gavin@gavinsharp.com eb3e4a8015 Back out bug 418069 because it causes a crash on startup for Camino 2008-02-20 18:06:26 -08:00
bclary@bclary.com 4233228a40 Sisyphus/JavaScript Tests - update public failures, no bug, not part of the build 2008-02-20 17:27:02 -08:00
crowder@fiverocks.com fdebdc3375 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 a5a62e24e3 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 4eddbffadc 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 ad770873c2 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 d7bbbdcaf4 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 c37bc9a439 Sisyphus/JavaScript Tests - handle malformed log files, bug 418617 2008-02-20 07:49:34 -08:00
reed@reedloden.com 3a7503ed52 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 b7aab7bc3f 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 c23ae0647c 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 f7170843b9 bug=418456 r,a1.9=brendan Fixing asserts in js_PutBlockObject 2008-02-20 01:24:02 -08:00
jag@tty.nl f3c2345d93 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 f5bf4a5765 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 0d35eacf46 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 946ee4899a Fix untagged boolean stored as jsval bug (418504, r=jwalden). 2008-02-19 16:48:10 -08:00
bclary@bclary.com 7399761d28 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 5cd89eaf35 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 737e1c86d9 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 ca19686bfc Property-cache dense array methods in JSOP_CALLPROP (418239, r=shaver). 2008-02-18 23:04:00 -08:00
dbaron@dbaron.org 6d3b9ac638 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 c15fb874b1 Relaxd ES4-like yield parsing for JS1.8 (384991, r=mrbkap). 2008-02-18 20:49:02 -08:00
mrbkap@gmail.com d994b6a900 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 90ef8c991b 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 7cda05593f Bug 417999 - removed JS_ArenaFreeAllocation, r+/a+=brendan 2008-02-18 13:14:15 -08:00
crowder@fiverocks.com 6701f5055b Bug 417995 - SpanDeps allocation does not use JSArenas anymore, r+/a+=brendan 2008-02-18 13:09:50 -08:00
shaver@mozilla.org 8de570e122 Implement optimized object-ops for dense arrays, b=322889, r+a=brendan. 2008-02-18 13:01:47 -08:00
jag@tty.nl 68f453076d 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 bc07d9189d Guard property cache tests with native ops or obj guards (417981, r=shaver). 2008-02-18 11:32:01 -08:00
bclary@bclary.com 1ab1c897d6 JavaScript Test - regression test for bug 416628, by Brendan Eich 2008-02-18 03:38:44 -08:00
bclary@bclary.com c779fc13c7 JavaScript Tests - regression test for bug 415922, by Joachim Kuebart 2008-02-18 02:48:26 -08:00
bclary@bclary.com 5df1850a42 JavaScript Test - regression test for bug 416460, by Jesse Ruderman 2008-02-18 02:21:39 -08:00
bclary@bclary.com 123abc325e JavaScript Tests - regression test for bug 416601, by Igor Bukanov 2008-02-18 02:12:46 -08:00
brendan@mozilla.org ed98750ea2 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 67c4f161d4 Recover trapped opcode in js_GetIndexFromBytecode (416665, r=igor). 2008-02-17 17:32:12 -08:00
brendan@mozilla.org 59a12dd778 Lazy ComputeGlobalThis required now in fast native implementations (417893, r=mrbkap). 2008-02-17 16:12:33 -08:00
brendan@mozilla.org 2673359f2a Fix misindented code (418049, r=igor). 2008-02-17 16:01:53 -08:00
bclary@bclary.com 3e17163d16 Sisyphus/JavaScript Tests - update known failures, no bug, not part of the build 2008-02-17 10:13:16 -08:00
timeless@mozdev.org dc464ab67c Bug 416981 CheckLeakedRoots should specify which JSRuntime is leaking r=brendan a=brendan 2008-02-16 22:56:40 -08:00
reed@reedloden.com 940e9c6377 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 ab1f34af67 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 17c8d07720 Defend against compiler pseudo-frames (417944, r=shaver). 2008-02-16 13:33:59 -08:00
bclary@bclary.com b5887a8157 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 251400db20 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 725fe1196b 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 6f744d3a94 Don't lock non-native objects (417819, r=mrbkap). 2008-02-15 22:53:32 -08:00
jruderman@hmc.edu 069a08c23d Add crashtest 2008-02-15 21:29:10 -08:00
brendan@mozilla.org 51603c57f5 Optimize ComputeGlobalThis (395993, r=mrbkap). 2008-02-15 18:46:46 -08:00
igor@mir2.org 6721a1115f 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 78086c82f0 back out for mochitest failures in prototype 2008-02-15 02:31:38 -08:00
shaver@mozilla.org 42bcfd3a28 Bug 322889: implement specialized storage and operations for JS arrays; r+a=brendan. 2008-02-15 01:48:53 -08:00
gavin@gavinsharp.com 98c6509ae0 Back out bug 322889 due to jQuery unit test failures 2008-02-14 18:41:18 -08:00
shaver@mozilla.org d2c737a91e Bug 322889: implement specialized storage and operations for JS arrays; r+a=brendan 2008-02-14 17:07:53 -08:00
shaver@mozilla.org d168ad9a94 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 83acb80efe 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 d61b8ef120 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 4f40e7c841 Bug 416354: optimizing switch cases in the inetrpreter, r,a1.9=brendan 2008-02-14 07:36:39 -08:00
reed@reedloden.com bfcf87f43b 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 5fd5861767 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 d2a6517917 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 0e3a3d85ad Sisyphus/JavaScript Tests - update public failures, no bug, not part of the build 2008-02-13 18:25:05 -08:00
bclary@bclary.com 8e1249bc83 JavaScript Tests - update test due to bug 309894 2008-02-13 15:34:49 -08:00
brendan@mozilla.org e5248d6fd1 Fiddle blank lines botched in my last checkin. 2008-02-13 15:07:14 -08:00
crowder@fiverocks.com 4534c378db Bug 417100 - Fixing windows build errors 2008-02-13 14:33:57 -08:00
crowder@fiverocks.com 258cd8de1d Bug 417100 - more aggressive inlining for jsregexp.c, r=brendan, a1.9=mtschrep 2008-02-13 13:52:17 -08:00
crowder@fiverocks.com 5730307ef2 Bug 417077 - more rigorous inlining functionality for JS, r/a1.9=brendan 2008-02-13 13:50:05 -08:00
bclary@bclary.com 5153a63897 Sisyphus/JavaScript Tests - improve test timeout handling, bug 417260 2008-02-13 12:18:02 -08:00
igor@mir2.org dd6b5cd3cf Bug 309894: non-recursive XML-filtering implementation. r,a1.9=brendan 2008-02-13 06:32:31 -08:00
brendan@mozilla.org 0c8245fc08 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 0ea0a5fc4e 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 659fb5a2cd 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 9d86225345 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 7f2e5c9a06 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 86509c1d10 Sisyphus/JavaScript Tests - attempt 2 at getting known failures correct, bug 416789 2008-02-11 15:29:54 -08:00
bclary@bclary.com efeab1c81d 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 4b8afc5fd0 Fixing js.mak - adding jsiter 2008-02-11 14:35:05 -08:00
bclary@bclary.com 879d5c0d43 JavaScript Tests - update test for bug 410571 2008-02-11 14:22:02 -08:00
crowder@fiverocks.com ac68997dbd 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 44d631fabb regression test. r=shaver 2008-02-11 08:55:10 -08:00
jag@tty.nl a8854bbae5 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 7adfbe3ebc Sisyphus/JavaScript Tests - update known failures, bug 416789 2008-02-11 01:14:16 -08:00
bclary@bclary.com eba36f4ad2 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 f4497f2e2c Sisyphus/JavaScript Tests - improve error message, bug 416786 2008-02-11 01:00:21 -08:00
brendan@mozilla.org dba743ca9a 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 8b3522b952 JavaScript Tests - update *.tests lists, bug 416783 2008-02-11 00:52:12 -08:00
reed@reedloden.com f05713b100 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 b744a843ed 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 862ebefdca 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 2648527d6f Bug 416293 unbalanced locking in jsd_SetExecutionHook r=crowder a=mtschrep 2008-02-09 20:16:54 -08:00
jwalden@mit.edu cc941ff668 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 b0a44e937f 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 ef2a1cd2d3 Add crashtests 2008-02-09 02:43:15 -08:00
brendan@mozilla.org f84eb731e4 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 dab96fa561 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 649555b871 Bug 411722: faster js_GetLocalNameArray. r=brendan a=blocking1.9 2008-02-08 16:01:45 -08:00
jst@mozilla.org aa33413257 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 12185bcc5e 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 0aae0a8949 Fix bogus assertion (416404, r=shaver). 2008-02-08 14:59:59 -08:00
igor@mir2.org d582aeb0c8 Attachment 302122: optimizing JSOP_NEG, r=brendan a=blocking1.9 2008-02-08 14:01:09 -08:00
igor@mir2.org 26b50c706e 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 78f303f067 JavaScript Tests - fix window detection in test for bug 367121 2008-02-08 12:51:08 -08:00
dbaron@dbaron.org 717e6d5f15 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 e17103cf0a Add comment explaining mJSRoots and ExplainLiveExpectedGarbage business. 2008-02-08 11:50:16 -08:00
brendan@mozilla.org 88be18b937 Return of the property cache (365851, r=shaver). 2008-02-07 15:18:45 -08:00
crowder@fiverocks.com 968a68d115 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 bbf913815d JavaScript Tests - regression test for bug 367121, by moz_bug_r_a4 2008-02-07 07:29:40 -08:00
bclary@bclary.com db9635529f JavaScript Tests - regression test for bug 351795, by Jesse Ruderman 2008-02-07 06:10:49 -08:00
bclary@bclary.com dc695b202e JavaScript Tests - regression test for bug 373828, by Jesse Ruderman 2008-02-07 05:53:08 -08:00
bclary@bclary.com 0e49259a9c JavaScript Tests - regression tests for bug 352640, by Jesse Ruderman 2008-02-07 05:50:24 -08:00
bclary@bclary.com ed3fac1479 JavaScript Tests - regression test for bug 381304, by Biju 2008-02-07 05:46:59 -08:00
bclary@bclary.com ebda11912b JavaScript Tests - regression test for bug 379523, by Jesse Ruderman 2008-02-07 05:44:32 -08:00
bclary@bclary.com 5d01b448ba JavaScript Tests - regression test for bug 356106, by Jesse Ruderman 2008-02-07 05:42:23 -08:00
bclary@bclary.com 5aff7aa88e JavaScript Tests - regression test for bug 355622, by Jesse Ruderman 2008-02-07 05:39:53 -08:00
bclary@bclary.com cefe6e3888 JavaScript Tests - regression test for bug 406555, by Igor Bukanov 2008-02-07 05:37:06 -08:00
bclary@bclary.com 3c42e14938 JavaScript Tests - regression test for bug 362583, by Jesse Ruderman 2008-02-07 05:33:53 -08:00
bclary@bclary.com 84136e97b6 JavaScript Tests - regression test for bug 361617, by Jesse Rudermen 2008-02-07 05:30:54 -08:00
peterv@propagandism.org 1f244d6b83 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 7bdc6558bd 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 002c33c141 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 d859659ac3 JavaScript Tests - run Tinderbox browser tests without restarting browser, bug 406196 2008-02-06 12:05:33 -08:00
brendan@mozilla.org 3d12218061 Fixed generation-number-optimized hash revalidation (415721, r=igor). 2008-02-05 17:25:12 -08:00
nboyd@atg.com 7b9c10185d Test case for bug 415451 r=bclary@bclary.com 2008-02-05 13:52:34 -08:00
nboyd@atg.com 9b93b2f0a0 Regression test for bug 414098. r=bclary@bclary.com 2008-02-05 10:53:18 -08:00
brendan@mozilla.org a0b8e63e6b 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 8af608c998 Bug 400902: Backing out due to test failures. 2008-02-03 19:41:31 -08:00
igor@mir2.org 2c83b63220 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 0ea7cd2dbc 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 3c4b2c5209 Bug 400902: backing out due to test failures. 2008-02-01 11:59:59 -08:00
igor@mir2.org 6c0dbc29f9 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 c895a6ed7d 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 a26fbc8e54 Bug 354135: protect against oo recursion in e4x. r,a=brendan, a1.9b3=mtschrep 2008-01-31 22:01:17 -08:00
peterv@propagandism.org 34d2008d0f Fix for bug 415017 ("ASSERTION: Fault in cycle collector: script pointer traversal failed"). r/sr=jst, a=beltzner. 2008-01-31 17:06:53 -08:00
mrbkap@gmail.com 5386fbf6fd Get the right principal for cloned functions. bug 415030, r=brendan 2008-01-31 16:21:12 -08:00
brendan@mozilla.org c907c4e13b Fix from Arjan Van De Ven <arjan.van.de.ven@intel.com> to regression from patch for bug 312238 (fixing 353962, r=me, a=beltzner). 2008-01-31 13:42:43 -08:00
timeless@mozdev.org 1d2542004c Bug 411249 Top crash [@ jsds_ScriptHookProc][@jsds_ScriptHookProc(JSDContext*, JSDScript*, int, void*)] on shutdown with Firebug 1.1.0b10 installed r=gijs a=beltzner 2008-01-31 11:12:47 -08:00
igor@mir2.org e9fd74c064 Bug 414871: fixing gczeal issue. r=brendan, approval1.9b3=beltzner 2008-01-30 18:19:49 -08:00
reed@reedloden.com 82f3afa0ed Back out jimm's patch from bug 411579 due to regressions. [a1.9b3=mconnor] 2008-01-30 15:39:42 -08:00
brendan@mozilla.org c18c65386e Try to fix Ts regression (414452, r=shaver). 2008-01-30 00:25:52 -08:00
brendan@mozilla.org 6ac8056119 Move serialized cycle detector for __proto__ and __parent__ into js_GC (414452, r=igor+shaver). 2008-01-29 22:29:49 -08:00
brendan@mozilla.org 7b19c3d0aa Final js1.8 feature: sugar for object destructuring (404734, r=mrbkap). 2008-01-29 22:27:13 -08:00
jst@mozilla.org c0f11e79b8 Landing followup to the fix for bug 412491, this one somehow slipped through, just more of the same. 2008-01-29 21:55:12 -08:00
igor@mir2.org c215b188ed Attachment 300249: better handling of numeric conversions. r,a=brendan 2008-01-29 21:35:34 -08:00
brendan@mozilla.org 6c5c3e2535 Dammit. 2008-01-29 21:14:55 -08:00
mrbkap@gmail.com e19f75b999 Don't wrap chrome objects in SJOWs if we don't have to. bug 414296, r=jst sr=bzbarsky 2008-01-29 21:13:19 -08:00
brendan@mozilla.org db10d95be4 Oops. 2008-01-29 21:12:45 -08:00
brendan@mozilla.org cac0b8dea5 Don't self-lock in the JSGC_BEGIN callback (413097, r=shaver). 2008-01-29 21:10:09 -08:00
crowder@fiverocks.com a1b3b54875 Bug 331043 - Improve hash performance using _rotr intrinsic (js/src hunk), patch by Michael Moy <mmoy@yahoo.com> with updates by me and r=wtc, r=brendan, a=brendan 2008-01-29 18:36:33 -08:00
jst@mozilla.org b5f8c91d5b Fixing bug 413774. Don't suspend/resume requests when making native calls into C++ in XPConnect, do the suspend/resume when pushing/popping JS contexts off of the context stack instead. r=shaver@mozilla.org, sr=brendan@mozilla.org 2008-01-29 18:28:58 -08:00
mrbkap@gmail.com 39cf192e17 Outerize this when we're computing it. bug 394012, r=brendan 2008-01-29 18:16:56 -08:00
crowder@fiverocks.com fa431d439a Bug 408113: allocate stackPools less often, r=brendan, a=blocking1.9 (schrep) 2008-01-29 18:11:30 -08:00
mrbkap@gmail.com 96076d19b0 SJOW's equality hook returns true too much. bug 413902, r+sr=jst a=damons 2008-01-29 18:06:17 -08:00
peterv@propagandism.org 17f5f4406d Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 18:05:43 -08:00
mrbkap@gmail.com cf3152214f Preserve interesting attributes on same-origin XOWs. bug 393269, r+sr=jst a=beltzner 2008-01-29 16:28:30 -08:00
jst@mozilla.org 555d637342 Fixing bug 414658. Make sure to not use a context from a different thread when calling functions on a wrapped JS object. r+sr=peterv@propagandism.org 2008-01-29 15:56:49 -08:00
igor@mir2.org dbb75e97c2 Bug 413744: JS_GCMETER requires to recompile just js/src, not the whole browser. r,a=brendan 2008-01-29 14:17:25 -08:00
peterv@propagandism.org 8affa46361 Try to fix orange 2008-01-29 13:42:05 -08:00
reed@reedloden.com 17dee2a4d9 Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+] 2008-01-29 12:51:46 -08:00
peterv@propagandism.org 55896575d9 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 12:48:32 -08:00
nboyd@atg.com e83839494a Missing ECMA conformance test, see https://bugzilla.mozilla.org/show_bug.cgi?id=392593 2008-01-29 07:02:12 -08:00
brendan@mozilla.org 65dd6882bf Revert last checkin (414452). 2008-01-29 00:45:14 -08:00
brendan@mozilla.org a786eebf13 Move guts of js_SetProtoOrParent to jsgc.c, unifying serialization and deadlock avoidance machinery (414452, r=igor). 2008-01-28 23:18:21 -08:00
jorendorff@mozilla.com 290dcfc11e 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/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/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/jslock.c => js/src/jslock.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/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-01-28 17:32:29 -08:00
jst@mozilla.org 0886c37f01 Fixing windows bustage. 2008-01-28 15:54:56 -08:00
mrbkap@gmail.com eab5666aef Backing out to see if this is the cause for apparent random crashes. 2008-01-28 15:52:54 -08:00
jst@mozilla.org e6a7385bbe Fixing bug 413559. Make XPConnect use faster accessors for JS class/parent/private/proto. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2008-01-28 15:19:51 -08:00
mrbkap@gmail.com ede517d088 There might be a pushed context but no running code. bug 413200, r+sr=jst a=blocking-1.9+ 2008-01-28 15:10:30 -08:00
mrbkap@gmail.com e127b20c84 Create a more valid pseudo-frame for liveconnect to avoid null ptr dereferences. bug 409720, r=brendan sr=jst a=brendan 2008-01-28 15:07:29 -08:00
mrbkap@gmail.com 10c6e0c9d1 Don't allocate links on the heap. bug 410223, r+sr=brendan a=schrep 2008-01-28 15:03:42 -08:00
igor@mir2.org c195802bc0 Bug 413793: fixing JS compilation. r=outside of the browser three 2008-01-28 14:36:59 -08:00
brendan@mozilla.org 4759d85bef Must lock newborn block object (shared) scope before calling js_GetMutableScope (413850, r=mrbkap). 2008-01-27 18:13:00 -08:00
mrbkap@gmail.com bb45b18132 Fix think-o causing valgrind errors during evalcx(). bug 414219, r=shaver NPOTB 2008-01-27 09:27:01 -08:00
brendan@mozilla.org 932fb674a1 Fix #if-related bug that broken compilation of pre-1.7 versions (bug 412894, r=timeless). 2008-01-26 23:58:06 -08:00
jst@mozilla.org 69a56c708b Landing fix for bug 412462. Do the right thing when converting objects wrapped in XOWs. Patch by mrbkap@gmail.com, r=jst@mozilla.org, sr=brendan@mozilla.org 2008-01-25 16:36:44 -08:00
jst@mozilla.org a116be76ca Landing fix for bug 411093. Make sure functions get the right filename. Patch by mrbkap@gmail.com, r=brendan@mozilla.org 2008-01-25 16:28:08 -08:00
jst@mozilla.org 275f61abc4 Fixing bug 397791. Prevent document principals from ever changing, and make us not use XOWs for same origin document objects. r=jonas@sickin.cc, sr=bzbarsky@mit.edu 2008-01-25 13:49:11 -08:00
jst@mozilla.org 33bb88f086 Fixing bug 413569. Make XPCWrappedNative::CallMethod() initialize the nsAutoString buffer used for [out] string param handling only when needed. r+sr=jonas@sicking.cc 2008-01-23 17:17:13 -08:00
jst@mozilla.org 2133a00277 Fixing bug 413045. Make some JS API functions faster by accessing obj->fslots[] directly when possible. r=brendan@mozilla.org, r=igor@mir2.org. 2008-01-23 14:05:43 -08:00
igor@mir2.org 57c91f16d7 Bug 413556: Patch from Jason Orendorff to fix JS_ConvertArguments. r,a=brendan 2008-01-23 06:20:38 -08:00
igor@mir2.org 8c529adb1c Bug 412340: avois rehashing of alreday atomized strings. r,a=brendan 2008-01-23 05:17:47 -08:00