Commit graph

9866 commits

Author SHA1 Message Date
bclary@bclary.com
b37bc5a4ea JavaScript Test - regression test for bug 382503, by Jesse Ruderman, not part of the build 2007-09-21 07:30:19 -07:00
bclary@bclary.com
c7eef775b5 JavaScript Test - regression test for bug 375976, by Jesse Ruderman, not part of the build 2007-09-21 07:26:35 -07:00
bclary@bclary.com
d6b8d90065 JavaScript Tests - regression test for bug 372309, by Eli Friedman, not part of the build 2007-09-21 07:12:07 -07:00
brendan@mozilla.org
af0aadaa6d Fix order of evaluation bug in bitwise and shift ops (396969, r=igor). 2007-09-20 14:49:26 -07:00
benjamin@smedbergs.us
5113c8b4f7 Bug 396936 - FLAGP_TO_THING bustage from C++, r+a=brendan 2007-09-20 12:49:59 -07:00
benjamin@smedbergs.us
82da22dccb Bug 395678 - Fix const issues with strchr in C++ (when used in mozilla-central), r=mrbkap, a=brendan 2007-09-20 11:58:01 -07:00
igor@mir2.org
01fa406f7a Bug 333236: merge sweep and free phases in GC. r=brendan 2007-09-19 15:04:47 -07:00
igor@mir2.org
4be063ae45 Bug 394673: avoid recursion with long chains of "||" or "&&" in JS code. r=brendan 2007-09-19 14:53:17 -07:00
igor@mir2.org
92ed13c73d Bug 396684: fixing regression from bug 394551 in js_Invoke. r=brendan 2007-09-19 14:10:58 -07:00
sayrer@gmail.com
89a92daf3a Bug 396651. Fix JS Request assert in nsXPCComponents_Utils::LookupMethod. r/sr/a=brendan 2007-09-19 13:47:38 -07:00
bclary@bclary.com
825592efb3 JavaScript Test - regression test for bug 375639, by Jesse Ruderman 2007-09-19 00:01:30 -07:00
sayrer@gmail.com
9c5288b856 Bug 396452. Enforce SpiderMonkey request model with assertions. r=mrbkap, sr/a=brendan 2007-09-18 17:26:39 -07:00
mattwillis@gmail.com
8ad53c0662 bug 396119 - Fix minor errors in XPCOMUtils.jsm. Patch by Manish Singh <manish@flock.com>, r1=gavin, r2=sayrer 2007-09-18 15:11:31 -07:00
bclary@bclary.com
1ec443a627 JavaScript Test- regression test for bug 380833, by Jesse Ruderman 2007-09-18 12:49:21 -07:00
mrbkap@gmail.com
0394bd60f9 Give scx a global object so that we can always calculate a "this" object. bug 394967, r+a=brendan 2007-09-18 09:37:13 -07:00
igor@mir2.org
e5028209ae Bug 394551: no JS frames for fast native calls. r=brendan 2007-09-18 00:34:54 -07:00
igor@mir2.org
6710c2296a Bug 396049: the last ditch GC gcPoke checks are moved to js_NewGCThing. r=brendan 2007-09-18 00:22:07 -07:00
brendan@mozilla.org
fa8480ceab Back-out due to test failure. 2007-09-17 18:22:20 -07:00
brendan@mozilla.org
bb19f7cb4a Make GCF_SYSTEM immutable per object (396487, r=igor). 2007-09-17 17:47:42 -07:00
igor@mir2.org
2d33f855c7 Bug 394802: mark the property only when tracing from GC. r=brendan 2007-09-17 13:16:07 -07:00
igor@mir2.org
2319b4f0e6 Bug 394551: taking out the last patch as broke Windows build. 2007-09-17 12:28:14 -07:00
mrbkap@gmail.com
a2ec837da9 Actually use an escape for the nul character. bug 375639, r+a=brendan 2007-09-17 12:11:52 -07:00
igor@mir2.org
d304927431 Bug 394551: no JS frames for fast native calls. r=brendan 2007-09-17 12:08:46 -07:00
bclary@bclary.com
6ffeaf2064 JavaScript Test - regression test for bug 395907, by Martin Honnen, not part of the build 2007-09-16 20:50:25 -07:00
bclary@bclary.com
0d03653b75 JavaScript Tests - regression tests for bug 396326, by Seno Aiko, not part of the build 2007-09-16 19:48:24 -07:00
igor@mir2.org
8c515e1b8b Bug 396326: patch from Seno Aiko to use thr proper bytecode flags. r=mrbkap 2007-09-16 11:23:39 -07:00
igor@mir2.org
c84965e000 Bug 392263: using mmap/VirtualAlloc for GC arenas. r=brendan 2007-09-16 06:03:17 -07:00
igor@mir2.org
1aff38bf7f Bug 392263: taking out the patch due to bug 396299. 2007-09-16 05:02:56 -07:00
reed@reedloden.com
7bbc927612 Backing out patch by Mook from bug 390328 due to compile errors. 2007-09-15 11:15:01 -07:00
reed@reedloden.com
7f76458906 Bug 390328 - "Let nsIXPConnect::debugDumpJSStack take a file" [p=Mook r=bsmedberg sr=bzbarsky a1.9=jst] 2007-09-15 11:03:33 -07:00
igor@mir2.org
b538af2624 Bug 392263: using mmap/VirualAlloc for GC arenas. r=brendan 2007-09-15 10:19:32 -07:00
mrbkap@gmail.com
0711b00e6e Create a JSClass hook to allow object classes to easily support custom iteration without having to override __iterator__ in a resolve hook. bug 393306, r+a=brendan 2007-09-15 09:58:45 -07:00
mrbkap@gmail.com
d8609f8089 Treat the pseudo frame even more like a real frame. bug 390597, r+a=brendan 2007-09-15 09:46:42 -07:00
igor@mir2.org
a56e51010a Bug 392263: taking out the patch due to Mac build problems. 2007-09-15 08:26:30 -07:00
igor@mir2.org
a728cd3fc8 Bug 392263: using mmap/VirualAlloc for GC arenas. r=brendan 2007-09-15 08:11:41 -07:00
brendan@mozilla.org
912f4b4b6c Fix old bug involving eval of a local function named by an existing local var (395907, r=mrbkap). 2007-09-14 17:13:37 -07:00
sayrer@gmail.com
b6bdb4936e Bug 395849. XPCVariant::VariantDataToJS leaks strings with sizes. r/sr=jst 2007-09-14 15:48:47 -07:00
brendan@mozilla.org
d46b521517 Fix dumb signed comparison bug (395828, r=mrbkap). 2007-09-14 11:00:38 -07:00
bclary@bclary.com
3c488ba340 JavaScript Test - regression test for bug 394709, by Igor Bukanov, not part of the build 2007-09-11 11:03:23 -07:00
benjamin@smedbergs.us
ca4f75bba5 Bug 395444 - Fast-path QueryInterface in XPCWrappedNative::CallMethod, r=mrbkap sr=jst a=damons 2007-09-10 11:16:05 -07:00
bclary@bclary.com
a7bf176530 JavaScript Tests - regression test for devmo example, by Norris Boyd, bug 395498, not part of the build 2007-09-08 07:04:01 -07:00
bclary@bclary.com
419904de45 JavaScript Test - add additional case to test, by Norris Boyd, bug 344951, not part of the build 2007-09-08 06:53:33 -07:00
gavin@gavinsharp.com
a0b7a23612 Back out patch for bug 395256 because it caused bug 395467 (a=schrep/bsmedberg) 2007-09-07 18:43:13 -07:00
igor@mir2.org
c41347dda3 Bug 394709: fixing memory leak with watch handlers. r+a=brendan 2007-09-07 14:02:20 -07:00
igor@mir2.org
c2e4907bf0 Bug 394853: countHeap function for js shell and help() cleanup. r=brendan 2007-09-07 11:25:19 -07:00
benjamin@smedbergs.us
9006b49273 Bug 395256 - Make nsJSID/IID/CID objects .equals method slightly faster, r=mrbkap sr=jst a=damons 2007-09-07 11:06:15 -07:00
crowder@fiverocks.com
4c74ce3c7a Bug 375651 - "Assertion failure: nbytes != 0" with regexp quantifiers, r=mrbkap, a=brendan 2007-09-05 21:26:11 -07:00
benjamin@smedbergs.us
50667d0c23 Bug 394329 - Ship the JS import library in the SDK, and stop linking it from browsercomps which doesn't use it, r=luser a=NPDB 2007-09-05 08:56:56 -07:00
igor@mir2.org
6b0c754400 Bug 394975: properly initializing JSContext for evalx. r=mrbkap. No 1.9 aproval as the file is outside browser's build tree. 2007-09-05 02:45:31 -07:00
jag@tty.nl
e6cabc27cf Bug 271824: do_GetFastLoadService should use nsGetServiceByCID. r=/sr=/a=bsmedberg 2007-09-05 02:13:57 -07:00
jwalden@mit.edu
d09c44d69c Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change 2007-09-04 23:41:35 -07:00
igor@mir2.org
0aeda307dd Bug 362641: patch from Edward Lee to fix wrong precision warning. r=myself,brendan 2007-09-02 15:20:41 -07:00
bent.mozilla@gmail.com
c0215549f6 Bug 304048 - Backing out patch due to TXUL regression. 2007-08-30 17:52:58 -07:00
bent.mozilla@gmail.com
5f9effcd34 Bug 304048 - "xpconnect getters/setters don't have principals until after they pass or fail their security check." Patch by jst, sr=bzbarsky, a=jst. 2007-08-28 17:16:21 -07:00
igor@mir2.org
753a14c136 Bug 393368: new API to limit heap consumption by stack-like data structures used by compiler, decompiler and interpreter. 2007-08-27 15:21:55 -07:00
igor@mir2.org
8ba7a348f3 Bug 393537: arena handling cleanup. r=brendan 2007-08-25 00:18:35 -07:00
rflint@ryanflint.com
d9e5356f9c Bug 386536 - Add category manager helpers to XPCOMUtils. Patch by Nickolay Ponomarev <asqueella@gmail.com>, r=sayrer/mark.finkle a=jst 2007-08-23 17:21:10 -07:00
igor@mir2.org
bf9b91303a Bug 393364: Patch from Jason Orendorff to restore ability to compile SpiderMonkey with C++ compiler. r=me 2007-08-23 12:02:42 -07:00
dbaron@dbaron.org
737f15028b When doing ExplainLiveExpectedGarbage, suspect all nsXPCWrappedJS so that we get more objects in the graph. b=387224 r=graydon a=brendan 2007-08-22 17:47:24 -07:00
dbaron@dbaron.org
cc638cec42 Make ExplainLiveExpectedGarbage print *all* references to JS objects with refcount imbalances. b=387224 r=graydon a=brendan 2007-08-22 17:46:43 -07:00
igor@mir2.org
e7cdba8c35 Bug 393184: js_NewGCThing no longer zeros the allocated thing. r=brendan 2007-08-22 13:56:08 -07:00
bclary@bclary.com
d0802fe413 JavaScript Tests - destructuring assignment tests, by Norris Boyd, bug 393272, not part of the build 2007-08-22 12:43:31 -07:00
gavin@gavinsharp.com
06deeccfe6 Bug 393206: fix JSON tests, patch by Simon Bünzli <zeniko@gmail.com>, r=me 2007-08-22 11:16:01 -07:00
gavin@gavinsharp.com
1b4d08d4fc disable failing tests for the moment (bug 393206) 2007-08-22 08:34:15 -07:00
gavin@gavinsharp.com
75538e9131 Bug 386789: create JSON utilities module and use it for search suggest/sessionstore/Places, patch by Simon Bünzli <zeniko@gmail.com>, r=sspitzer, sr+a=brendan 2007-08-22 07:47:56 -07:00
brendan@mozilla.org
57ee4b3812 Remove MAX_INLINE_CALL_COUNT policing, plus old MAX_INTERP_LEVEL deadwood (392973, r=crowder). 2007-08-21 17:04:24 -07:00
igor@mir2.org
c7e12ef00d Bug 325202: XDR uses lossless encoding for all string. r=brendan 2007-08-21 14:22:26 -07:00
brendan@mozilla.org
102eae9333 One-char fix to recent regression (392944, r=mrbkap). 2007-08-20 18:24:51 -07:00
bclary@bclary.com
1a1b045e41 JavaScript Tests - update spidermonkey-gc.tests, bug 392596, by Jason Orendorff, not part of the build 2007-08-20 09:15:33 -07:00
bclary@bclary.com
4244f96e0d JavaScript Tests - regression test for bug 392308, by Norris Boyd, not part of the build 2007-08-18 03:18:40 -07:00
mrbkap@gmail.com
3a9f4a6d0b Get the right class -- off of obj2, not obj and ensure that we propagate failure from outerObject. bug 375344, r=brendan a=sicking 2007-08-17 18:24:51 -07:00
jwalden@mit.edu
444f76bd14 Bug 296653 - mkdepend takes more than 10 hours on Solaris for nsIconChannel.cpp. Patch by Ginn Chen <ginn.chen@sun.com>, r=cls, a=bz 2007-08-17 16:07:39 -07:00
mrbkap@gmail.com
e68b840338 Get the right property attributes and actually look up the prototype chain. bug 390948, r+sr+a=jst 2007-08-16 13:32:27 -07:00
igor@mir2.org
b2c68c63b9 Bug 391290: mutability flag for strings is stored inside strings. r=brendan 2007-08-15 23:23:06 -07:00
bclary@bclary.com
28e30cc8bf JavaScript Test - regression test for bug 392310, by Norris Boyd, not part of the build 2007-08-15 16:27:35 -07:00
bclary@bclary.com
1aa47230bf JavaScript Test - regression test for bug 363578, by nanto_vi (TOYAMA Nao), not part of the build 2007-08-15 15:48:16 -07:00
mrbkap@gmail.com
ecc59c99c5 Allow 'this' to not be a wrapped object. bug 390560, r+sr+a=jst 2007-08-15 14:20:45 -07:00
mrbkap@gmail.com
10e61ce970 Make XPCSafeJSObjectWrapper usage in PAC actually work correctly for the common case. bug 391515, r=jst sr+a=brendan 2007-08-15 14:16:52 -07:00
mrbkap@gmail.com
0cf96f8ba0 Don't assume that all XOWs are equal. bug 391497, r+sr=jst 2007-08-15 14:13:49 -07:00
mrbkap@gmail.com
8dc6a0e55f Don't wrap everything that comes out of a wrapped function, if that function is same-origin. bug 390946, r+sr+a=jst 2007-08-15 14:09:27 -07:00
igor@mir2.org
ac9c86bd4c Bug 392305: restoring pinning of the lazy atoms to fix various regressions. r=brendan 2007-08-15 11:57:44 -07:00
nboyd@atg.com
6c9f9f3c2a Implement correct semantics of storage class (global, var, let) for destructuring assignment. 2007-08-15 05:00:05 -07:00
mrbkap@gmail.com
27a6accbda Fix compile warning. No bug, r+a=brendan 2007-08-13 15:44:37 -07:00
mrbkap@gmail.com
9d8bd3fa41 Date.UTC returns incorrect value if date is less than or equal to 0. bug 363578, patch from jag, r=mrbkap a=brendan 2007-08-13 13:45:32 -07:00
igor@mir2.org
5b4402a59c Bug 392074: JS_IS_VALID_TRACE_KIND no longer refers to the removed JSTRACE_ATOM. r=brendan 2007-08-13 13:23:34 -07:00
igor@mir2.org
36e4858c52 Bug 392041: js_PutEscapedStringImpl gets JS_FRIEND to permit usage outside js lib. r=brendan 2007-08-13 12:35:07 -07:00
igor@mir2.org
bc6feecd10 Bug 391851: JS_ResolveStandardClass now does nothing on shutdown. r=brendan 2007-08-12 15:11:38 -07:00
brendan@mozilla.org
3a64e304b9 Update #if 0'd code to work (helpful for debugging; r/a=self). 2007-08-11 22:10:02 -07:00
igor@mir2.org
db0f3d53a2 Bug 386265: using double kashing for atoms. r=brendan 2007-08-11 13:25:16 -07:00
igor@mir2.org
f705a82de6 Bug 391033: no frame manipulation when reporting errors. r=brendan 2007-08-10 23:12:00 -07:00
dbaron@dbaron.org
4242ec800a Fix leak in DEBUG-only code. b=391769 r+sr+a=jst 2007-08-10 17:53:53 -07:00
jwalden@mit.edu
ff240f5bc0 Bug 391145 - failed to build Spidermonkey: inresolved symbol ( prmjtime.c PRMJ_Now _SetCriticalSectionSpinCount _InitializeCriticalSectionAndSpinCount ). Patch by Rob Arnold <robarnold@mozilla.com>, r=brendan, r=bsmedberg 2007-08-10 16:23:38 -07:00
bclary@bclary.com
99a0512e9c JavaScript Tests - regression tests for bug 385393, by Jesse Ruderman, not part of the build 2007-08-10 14:41:54 -07:00
dbaron@dbaron.org
51c380ef8b Finish the deflated string cache after uninterning atoms, so we don't leak their associated strings. b=391587 r+a=brendan 2007-08-10 14:30:13 -07:00
jwalden@mit.edu
5307ebca39 Bug 391423 - Reposition JS_(BEGIN|END)_EXTERN_C to avoid nesting #includes. Patch by Edward Lee <edilee@mozilla.com>, r=jorendorff, r=bsmedberg 2007-08-10 14:27:08 -07:00
jst@mozilla.org
4f27bf89e3 Fixing bug 390275. Make setTimeout() always register the timeout on the right inner window, and add a new JS_GetGlobalForObject() JS API to eliminate some code duplication. r=mrbkap@gmail.com/brendan@mozilla.org, sr=bzbarsky@mit.edu 2007-08-09 15:19:59 -07:00
bclary@bclary.com
f093d5e7a3 JavaScript Tests - regression tests for bug 373595, by Jesse Ruderman, not part of the build 2007-08-08 08:21:55 -07:00
bclary@bclary.com
32e90d99d8 JavaScript Tests - regression tests for bug 367501, by moz_bug_r_a4, not part of the build 2007-08-08 08:05:08 -07:00
bclary@bclary.com
bdfb98ded9 JavaScript Tests - regression test for bug 366601, by Igor Bukanov 2007-08-08 07:52:54 -07:00
bclary@bclary.com
b6823cfb61 JavaScript Tests - regression test for bug 365692, by Igor Bukanov 2007-08-08 07:48:57 -07:00