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

9665 Коммитов

Автор SHA1 Сообщение Дата
mrbkap@gmail.com 8a46efd79a Don't create exceptions using the global object as the parent, since that's bogus, use the scope chain instead. bug 386695, r+sr=jst 2007-07-09 14:46:18 -07:00
igor@mir2.org 40cf55c2ba Bug 385729: objects and regexps are stored in separated tables in JSScript. r=brendan,mrbkap 2007-07-08 02:03:34 -07:00
jwalden@mit.edu 6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
igor@mir2.org 06201208ee Bug 387229: now DUMP_SCOPE_STATS includes js_scope_stats into the log. r=brendan 2007-07-07 14:55:29 -07:00
dbaron@dbaron.org 8809a660e2 Fix bogus trace names. b=387223 r=brendan 2007-07-07 00:30:58 -07:00
mrbkap@gmail.com d3b7705695 Allow chrome files to touch implicit XPCNativeWrappers. bug 387084, r+sr=jst 2007-07-06 17:52:44 -07:00
jwatt@jwatt.org 908616f11e Fixing bug 317304. Implement weak references for JavaScript. Patch by Alex Fritze <alex@croczilla.com>. r+sr=shaver@mozilla.org 2007-07-06 13:13:12 -07:00
brendan@mozilla.org efbffa2c2d Fix degenerate unsigned (enum) comparisons (357016, r=igor). 2007-07-05 16:25:27 -07:00
crowder@fiverocks.com 19e2b71a02 Bug 357016: changing this back to (void *) for now to fix burning tree 2007-07-05 13:54:44 -07:00
crowder@fiverocks.com 74230e55bd Bug 357016: fixing brendan's nit from comment 23 2007-07-05 13:41:59 -07:00
crowder@fiverocks.com 403c5f1ce1 Bug 357016: spidermonkey should be buildable by a C++ compiler, patch by
crowder/Jason Orendorff, r=brendan
2007-07-05 13:37:47 -07:00
mrbkap@gmail.com c282c6700d Ensure that accesses to implicit XPCNativeWrappers are actually legal. bug 384750, r+sr=jst 2007-07-05 13:13:43 -07:00
mrbkap@gmail.com 305babb411 Ensure that accesses to implicit XPCNativeWrappers are actually legal. bug 384750, r+sr=jst 2007-07-05 13:01:12 -07:00
dbaron@dbaron.org 1cbc7c38ef Put comment in the right place. b=180380 2007-07-03 14:31:02 -07:00
mrbkap@gmail.com f1b151b642 Backing out these changes to fix tinderbox orange. 2007-07-02 18:12:41 -07:00
mrbkap@gmail.com 25c0152ecb Ensure that accesses to implicit XPCNativeWrappers are actually legal. bug 384750, r+sr=jst 2007-07-02 16:39:41 -07:00
brendan@mozilla.org 0a1dcc0efb Fix redundant statement and out-of-date comment. 2007-07-02 14:06:52 -07:00
igor@mir2.org 5414afce47 Bug 349326: for-in loop now always closes iterator objects. r=brendan 2007-07-02 05:13:23 -07:00
timeless@mozdev.org 3fd8c7b1e1 Bug 385765 [@ jsdASObserver::Observe] You can't dereference a NULL nsCOMPtr with operator->()
r=dveditz sr=dveditz
2007-07-01 12:25:10 -07:00
sayrer@gmail.com 7d63395630 Bug 180380. nsXPCComponents object and its wrapper leaked at shutdown. Patch by David Baron, David Bradley, and Robert Sayre. r=jst/bzbarsky, sr=dbaron 2007-06-30 16:00:09 -07:00
dbaron@dbaron.org a9e0432310 Suspect all native wrappers during cycle collection (last part, rest already done by Graydon). b=368869 r=graydon sr=jst 2007-06-29 20:03:30 -07:00
dbaron@dbaron.org 73d371db77 Make wrapped native debug dump log the native that is wrapped. b=385549 r+sr=jst 2007-06-29 20:02:15 -07:00
jst@mozilla.org a859c10ced Fixing bug 380474. Use the inner object when looking up methods and adding event listeners. r=mrbkap@mozilla.org, sr=brendan@mozilla.org 2007-06-27 17:28:02 -07:00
mrbkap@gmail.com 15d85b6012 Skip initial holes when computing the start value of reduce(Right). bug 386030, r=brendan 2007-06-27 17:04:49 -07:00
brendan@mozilla.org 556ea2ea85 Re-land fix for cloned function object prototyping (300079, r=igor/mrbkap). 2007-06-26 11:19:54 -07:00
enndeakin@sympatico.ca 8b4e014430 Bug 382034, support optional args in idl, try again with fix for crash calling toString, r+sr=shaver 2007-06-25 07:23:26 -07:00
enndeakin@sympatico.ca 313674e7fc Bug 382034, back out due to test content/base/test/test_bug352728.html failing 2007-06-22 08:21:13 -07:00
enndeakin@sympatico.ca 2ead939c02 Bug 382034, support optional arguments in idl, r+sr=shaver 2007-06-22 07:22:20 -07:00
dbaron@dbaron.org d6d43cc2bd Back out again. 2007-06-21 20:11:41 -07:00
mrbkap@gmail.com e50f715fac Actually populate the string cache so we don't leak all deflated strings. bug 385378, r=brendan 2007-06-21 17:31:50 -07:00
dbaron@dbaron.org 3cd4d2979c Bug 368869, suspect all native wrappers for cycle collection. Relanding. Patch by graydon@mozilla.com. r=brendan, sr=jst 2007-06-21 15:25:51 -07:00
mrbkap@gmail.com 5e139ac1b7 Remove useless variable. bug 385368, patch from Gabriel Sjoberg <gabrielsjoberg@gmail.com>, r=mrbkap 2007-06-21 13:38:45 -07:00
sayrer@gmail.com 7cde8caad2 Bug 381651. Tweak XPCOMUtils. Patch by Nickolay_Ponomarev <asqueella@gmail.com>. r=sayrer, sr=bsmedberg 2007-06-20 21:53:35 -07:00
mrbkap@gmail.com 1f360cb553 Implement a full nsIScriptSecurityManager in xpcshell. bug 239969, r+sr=jst 2007-06-20 17:10:48 -07:00
mrbkap@gmail.com 4c9e4ad6a3 Use the latest version of JS, so the shell always has the newest features. bug 385159, r=brendan 2007-06-20 16:53:55 -07:00
sayrer@gmail.com b9f6bd1ac7 back out patch for bug 300079 due to leak regressions, as the new textframe code needs to land 2007-06-20 11:53:28 -07:00
brendan@mozilla.org 72e1ab0534 Test a hypothesis about the shutdown leak that's biting 300079's patch (a=sayrer). 2007-06-20 10:03:15 -07:00
bclary@bclary.com 6cf9f117b0 JavaScript Tests - regression test for bug 300079, by Brendan Eich 2007-06-20 00:50:52 -07:00
brendan@mozilla.org 52a8bbb0ca Fix violation of function prototyping due to cloned function object implementation (300079, r=mrbkap; expecting r=igor after the fact, want to get this in for widespread testing tomorrow). 2007-06-19 23:37:15 -07:00
sayrer@gmail.com 9a3ee4c1ac Bug 384168. C.u.import doesn't prevent recursion in the presence of circular dependencies. r=brendan, sr=bsmedberg 2007-06-19 23:29:49 -07:00
timeless@mozdev.org 629db88a38 Bug 365363 Return value for GetJSDValue ignored leading to death
r=silver sr=biesi
2007-06-19 22:56:13 -07:00
brendan@mozilla.org 2daca7230b Function atom if non-null must be string-keyed (385134, r=mrbkap). 2007-06-19 22:11:38 -07:00
gavin@gavinsharp.com 9082d60b3f Back out previous patch for bug 239969 (bustage, and tree is closed) 2007-06-19 19:30:54 -07:00
mrbkap@gmail.com 7bd76f0658 Implement an nsIScriptSecurityManager for the xpcshell. bug 239969, r+sr=jst 2007-06-19 19:13:22 -07:00
mrbkap@gmail.com 75ea2f192d Backing this patch out again to fix sessionstore. See bug 300079 and 385085 2007-06-19 19:06:00 -07:00
brendan@mozilla.org 5a3d7d88f5 Fix violation of function prototyping due to cloned function object implementation (300079, r=igor). 2007-06-19 11:49:53 -07:00
crowder@fiverocks.com dea48e5a67 Bug 384809 : Various JS engine crashes/leaks in OOM conditions, r=brendan, patch by Gavin Reaney, gavin@picsel.com 2007-06-18 21:10:03 -07:00
brendan@mozilla.org 9e2a5c76f2 Clean up property attributes (384846, r=mrbkap). 2007-06-18 19:52:50 -07:00
crowder@fiverocks.com 5eb2ffa8b3 Bug 384901: leak in jsfile.c, patch by Robin Ehrlich, rehrlich@ubiqinc.com, r=mrbkap 2007-06-18 14:40:30 -07:00
mrbkap@gmail.com 8b94eb77fd Protect js_GetStringBytes from callers that happen during the last GC. Patch from brendan, bug 336907, r=daumling sr=shaver 2007-06-18 14:38:31 -07:00
crowder@fiverocks.com 2633aada42 Bug 383607: add ARM pure endian double support to JS engine, r=crowder, patch by Gavin Reaney gavin@picsel.com 2007-06-18 14:31:48 -07:00
crowder@fiverocks.com 238b7dc549 bug 379056: quieting the assertions here for all but myself and mrbkap, r=mrbkap 2007-06-18 13:24:00 -07:00
igor@mir2.org a1781f7de4 Bug 384478: Patch from Mike Moening to fix warning when compiling with VC. r=me 2007-06-18 12:33:21 -07:00
bclary@bclary.com e241d518ba JavaScript Tests - update test range to 48.5-51.5%, bug 211590 2007-06-18 11:35:32 -07:00
jwatt@jwatt.org 5f4f8a101b Fixing bug 383917. The new Components.utils.import code shouldn't spam the console. r=sayrer@gmail.com, sr=brendan@mozilla.com 2007-06-18 08:36:16 -07:00
bzbarsky@mit.edu d4193fc178 Backing out bug 300079 to see whether that fixes tinderbox orange. 2007-06-18 07:32:35 -07:00
brendan@mozilla.org 6f85936f1c Fix violation of function prototyping due to cloned function object implementation (300079, r=igor). 2007-06-17 22:33:36 -07:00
bclary@bclary.com cd5d086b5a JavaScript Test - catch indirect eval exception on trunk, bug 352797 2007-06-17 22:20:11 -07:00
bclary@bclary.com 66d51ee069 JavaScript Test - catch indirect eval exception on trunk, bug 361571 2007-06-17 22:17:54 -07:00
brendan@mozilla.org 045ac58126 Remove __callee__ property of Call prototypes (384642, r=igor). 2007-06-17 22:10:19 -07:00
brendan@mozilla.org 75f58ddadd Emit JSOP_GROUP when optimizing away delete (382981, r=mrbkap). 2007-06-17 11:05:37 -07:00
brendan@mozilla.org 4810bec838 Fix recent regression in CheckSideEffects for paren-expr case (384680, r=mrbkap). 2007-06-16 12:48:44 -07:00
bclary@bclary.com ae0e10b8d7 JavaScript Tests - move test to extensions subsuite 2007-06-16 11:41:14 -07:00
bclary@bclary.com fe49f4c0e0 JavaScript Test - add strict warning tests for eval rename 2007-06-16 10:14:17 -07:00
brendan@mozilla.org 395b420775 Better entrainment avoidance for Call.arguments (383269, r=igor). 2007-06-15 17:29:21 -07:00
mrbkap@gmail.com cc6bf46a9e Restrict who can claim to implement nsISecurityCheckedComponent. bug 352882, r=jst sr=bzbarsky 2007-06-15 14:44:51 -07:00
mrbkap@gmail.com c734aa88dd Use a better filename when eval is used across scopes. bug 369211, r=brendan 2007-06-15 14:00:26 -07:00
bclary@bclary.com 6a11d91cc6 JavaScript Test - regression test for bug 380831, by Jesse Ruderman 2007-06-15 11:46:59 -07:00
bclary@bclary.com 1e5faaaac5 JavaScript Tests - update test to ignore 1ms differences, bug 354998 2007-06-15 10:16:08 -07:00
bclary@bclary.com 54752ea48e JavaScript Test - update test to reflect new uneval(undefined) on trunk, bug 356238 2007-06-15 10:00:46 -07:00
igor@mir2.org fccf28a641 Bug 378793: Patch from Mike Moening and me to implement per-context debug hooks. r=brendan 2007-06-14 23:44:18 -07:00
mrbkap@gmail.com 71bb46064e Allow C.u.Sandbox to take a principal or an nsIScriptObjectPrincipal. bug 353732, r+sr=jst 2007-06-14 16:50:28 -07:00
bclary@bclary.com b32482660b JavaScript Test - regression test for bug 369666, by Brendan Eich 2007-06-14 15:43:09 -07:00
bclary@bclary.com 610f8bf961 JavaScript Tests - regression tests for bug 351102, by Jesse Ruderman, Igor Bukanov 2007-06-14 15:39:03 -07:00
bclary@bclary.com f3a2d71473 JavaScript Tests - regression test for bug 375183, by Igor Bukanov 2007-06-14 15:34:09 -07:00
bclary@bclary.com acf0ae0c63 JavaScript Tests - regression test for bug 367630, by Jesse Ruderman 2007-06-14 15:31:17 -07:00
bclary@bclary.com 55078e6a09 JavaScript Tests - regression test for bug 355655, by shutdown 2007-06-14 15:27:17 -07:00
bclary@bclary.com 792348a59b JavaScript Test - regression tests for bug 351102, by Brendan Eich, Igor Bukanov 2007-06-14 15:23:38 -07:00
bclary@bclary.com a75ad7b846 JavaScript Tests - regression test for bug 367561, by Igor Bukanov 2007-06-14 15:19:51 -07:00
bclary@bclary.com ea9fd22fe8 JavaScript Test - regression test for bug 366122, by Igor Bukanov 2007-06-14 15:15:49 -07:00
bclary@bclary.com 3e1232aeca JavaScript Test - regression test for bug 375715, by Jesse Ruderman 2007-06-14 15:09:45 -07:00
bclary@bclary.com fe979235f1 JavaScript Test - regression test for bug 375711, by Jesse Ruderman 2007-06-14 15:04:18 -07:00
bclary@bclary.com 53e330592b JavaScript Test - regression test for bug 375801, by Jesse Ruderman 2007-06-14 14:50:12 -07:00
bclary@bclary.com 3aa8d94307 JavaScript Test - regression test for bug 383721, by timeless 2007-06-14 14:32:09 -07:00
graydon@mozilla.com 3d4d1342b5 Amazingly, backing out 368869 again. 2007-06-14 13:40:17 -07:00
igor@mir2.org 388e4dda34 Bug 378793: removal of the previous commit. 2007-06-14 13:20:37 -07:00
igor@mir2.org ccb4248981 Bug 378793: Patch from Mike Moening to implement per-context debug hooks. r=me,brendan 2007-06-14 13:04:09 -07:00
graydon@mozilla.com 82b65a0648 Bug 368869, suspect all native wrappers for cycle collection. Nth attempt, slightly safer.r=brendan, sr=jst 2007-06-14 12:42:58 -07:00
brendan@mozilla.org 2a48db112b Avoid entraining arguments in a Call prototype (383269, r=igor). 2007-06-14 00:26:19 -07:00
igor@mir2.org 52a3248e98 Bug 384151: refactoring boxing of primitive values, r=brendan 2007-06-14 00:07:01 -07:00
bclary@bclary.com 43aa8a1db5 JavaScript Test - regression test for bug 383965, by Jesse Ruderman 2007-06-13 20:38:15 -07:00
bclary@bclary.com 0331703e69 JavaScript Test - fix scope on map call, bug 382509 2007-06-13 13:51:06 -07:00
bclary@bclary.com aee1f56845 JavaScript Test - regression test for bug 369032, by Jesse Ruderman 2007-06-12 22:29:47 -07:00
bclary@bclary.com a28b1be4e6 JavaScript Test - regression test for bug 382509 2007-06-12 21:50:51 -07:00
bclary@bclary.com 05be3afd67 JavaScript Test - regression test for bug 382532, by László Jánszky, Brendan Eich 2007-06-12 20:49:10 -07:00
bclary@bclary.com 4c10e5a515 JavaScript Test - regression test for bug 383255, by Jesse Ruderman 2007-06-12 20:34:39 -07:00
mrbkap@gmail.com fb32592b65 Make Object.prototype.toSource deal with even more __proto__ hacking. bug 383965, r=crowder 2007-06-12 15:07:20 -07:00
bclary@bclary.com c198dabbae JavaScript Test - regression test for bug 383674, by Jesse Ruderman 2007-06-12 13:58:09 -07:00
crowder@fiverocks.com f48a5593aa Bug 375801: Using (void 0) instead of "undefined" in toSource and uneval(), r=mrbkap 2007-06-12 12:33:40 -07:00
crowder@fiverocks.com 4cfdb64aa4 Bug 383721: escape tabs on platforms with unusual isprint() routines, r=mrbkap 2007-06-12 12:30:57 -07:00