Commit Graph

1357 Commits

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