Commit Graph

1487 Commits

Author SHA1 Message Date
bclary@bclary.com
0ba7e83fd1 JavaScript Tests - regression test for bug 422348, by Igor Bukanov 2008-03-25 04:36:55 -07:00
bclary@bclary.com
05dd741686 JavaScript Tests - regression test for bug 423300, by x0 2008-03-25 04:33:58 -07:00
igor@mir2.org
95ffa3c835 [Bug 424693] using jsop_lineno to speedup pc->lineno mapping needed for eval. r=shaver a1.9b5=beltzner 2008-03-24 10:00:01 -07:00
igor@mir2.org
045ca5ceec bug=356378 r=brendan a1.9b5=beltzner reporting bad getter usage at compile time, not at runtime. 2008-03-24 06:33:32 -07:00
igor@mir2.org
116b03644a bug=424750 Patch from Alfred Peng to make dtrace code compilable again after my changes from bug 424376. r=myself, not a part of the default browser configuration. 2008-03-24 05:07:35 -07:00
bclary@bclary.com
65ac0953a5 Sisyphus|JavaScript Tests - handle cygwin drive prefix in determining test completion, bug 424688 2008-03-24 02:01:24 -07:00
brendan@mozilla.org
ac7abb892a Fix bug and modularity loss introduced by patch for 424405 (424614, r/a=shaver, bug a=beltzner). 2008-03-24 01:06:39 -07:00
bclary@bclary.com
bcb7a1e573 JavaScript Tests - update spidermonkey-extensions-n.tests, no bug, not part of the build 2008-03-23 14:48:27 -07:00
bclary@bclary.com
ac785aa61c JavaScript Tests - update ecma_3/RegExp/regress-375711.js due to change in bug 416933 2008-03-23 14:46:04 -07:00
bclary@bclary.com
7162a2d26c Sisyphus|JavaScript Tests - make post-process-logs.pl handle incomplete log output, bug 424688 2008-03-23 14:42:44 -07:00
igor@mir2.org
d6b3cc6e3b bug=424376 r=brendan a1.9b5=beltzner Compile-time function objects are no longer exposed through SpiderMonkey API. 2008-03-23 03:04:38 -07:00
reed@reedloden.com
b5f49e8ac6 Bug 424405 - "XDR should compensate for traps set in the script it is serializing" [p=crowder@fiverocks.com (Brian Crowder) r+a1.9b5=shaver] 2008-03-22 18:11:51 -07:00
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