Commit Graph

1405 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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