Commit Graph

724 Commits

Author SHA1 Message Date
igor@mir2.org
772db95093 Bug 415207: fix time overflow in arena aging code. r=crowder a1.9,a1.9b3=beltzner 2008-02-01 09:56:23 -08:00
igor@mir2.org
b80ad65983 Bug 354135: protect against oo recursion in e4x. r,a=brendan, a1.9b3=mtschrep 2008-01-31 22:01:17 -08:00
peterv@propagandism.org
0baafbfe92 Fix for bug 415017 ("ASSERTION: Fault in cycle collector: script pointer traversal failed"). r/sr=jst, a=beltzner. 2008-01-31 17:06:53 -08:00
mrbkap@gmail.com
2ad45f5e52 Get the right principal for cloned functions. bug 415030, r=brendan 2008-01-31 16:21:12 -08:00
brendan@mozilla.org
199d4eb591 Fix from Arjan Van De Ven <arjan.van.de.ven@intel.com> to regression from patch for bug 312238 (fixing 353962, r=me, a=beltzner). 2008-01-31 13:42:43 -08:00
igor@mir2.org
ebc4d54ffe Bug 414871: fixing gczeal issue. r=brendan, approval1.9b3=beltzner 2008-01-30 18:19:49 -08:00
reed@reedloden.com
0582342e0a Back out jimm's patch from bug 411579 due to regressions. [a1.9b3=mconnor] 2008-01-30 15:39:42 -08:00
brendan@mozilla.org
9ca1759344 Try to fix Ts regression (414452, r=shaver). 2008-01-30 00:25:52 -08:00
brendan@mozilla.org
0fb54b4f78 Move serialized cycle detector for __proto__ and __parent__ into js_GC (414452, r=igor+shaver). 2008-01-29 22:29:49 -08:00
brendan@mozilla.org
2d27499625 Final js1.8 feature: sugar for object destructuring (404734, r=mrbkap). 2008-01-29 22:27:13 -08:00
jst@mozilla.org
a45232f25f Landing followup to the fix for bug 412491, this one somehow slipped through, just more of the same. 2008-01-29 21:55:12 -08:00
igor@mir2.org
5c7d98ca57 Attachment 300249: better handling of numeric conversions. r,a=brendan 2008-01-29 21:35:34 -08:00
brendan@mozilla.org
baf0f49cd3 Dammit. 2008-01-29 21:14:55 -08:00
mrbkap@gmail.com
bcc1b2d3e4 Don't wrap chrome objects in SJOWs if we don't have to. bug 414296, r=jst sr=bzbarsky 2008-01-29 21:13:19 -08:00
brendan@mozilla.org
24fc5a193b Oops. 2008-01-29 21:12:45 -08:00
brendan@mozilla.org
590baa843f Don't self-lock in the JSGC_BEGIN callback (413097, r=shaver). 2008-01-29 21:10:09 -08:00
crowder@fiverocks.com
8770eff094 Bug 331043 - Improve hash performance using _rotr intrinsic (js/src hunk), patch by Michael Moy <mmoy@yahoo.com> with updates by me and r=wtc, r=brendan, a=brendan 2008-01-29 18:36:33 -08:00
jst@mozilla.org
fa3722f2b7 Fixing bug 413774. Don't suspend/resume requests when making native calls into C++ in XPConnect, do the suspend/resume when pushing/popping JS contexts off of the context stack instead. r=shaver@mozilla.org, sr=brendan@mozilla.org 2008-01-29 18:28:58 -08:00
mrbkap@gmail.com
cc6a72a011 Outerize this when we're computing it. bug 394012, r=brendan 2008-01-29 18:16:56 -08:00
crowder@fiverocks.com
52337e9048 Bug 408113: allocate stackPools less often, r=brendan, a=blocking1.9 (schrep) 2008-01-29 18:11:30 -08:00
mrbkap@gmail.com
bf6ad82099 SJOW's equality hook returns true too much. bug 413902, r+sr=jst a=damons 2008-01-29 18:06:17 -08:00
peterv@propagandism.org
6d9909d3c6 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 18:05:43 -08:00
mrbkap@gmail.com
23f577e2e9 Preserve interesting attributes on same-origin XOWs. bug 393269, r+sr=jst a=beltzner 2008-01-29 16:28:30 -08:00
jst@mozilla.org
58f7d84c76 Fixing bug 414658. Make sure to not use a context from a different thread when calling functions on a wrapped JS object. r+sr=peterv@propagandism.org 2008-01-29 15:56:49 -08:00
igor@mir2.org
3d870e0a9e Bug 413744: JS_GCMETER requires to recompile just js/src, not the whole browser. r,a=brendan 2008-01-29 14:17:25 -08:00
peterv@propagandism.org
ac2b416a74 Try to fix orange 2008-01-29 13:42:05 -08:00
reed@reedloden.com
2e75103f0e Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+] 2008-01-29 12:51:46 -08:00
peterv@propagandism.org
02be459ead Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 12:48:32 -08:00
brendan@mozilla.org
a4625d2c2b Revert last checkin (414452). 2008-01-29 00:45:14 -08:00
brendan@mozilla.org
f4f2be6738 Move guts of js_SetProtoOrParent to jsgc.c, unifying serialization and deadlock avoidance machinery (414452, r=igor). 2008-01-28 23:18:21 -08:00
jst@mozilla.org
5b693cda1d Fixing windows bustage. 2008-01-28 15:54:56 -08:00
mrbkap@gmail.com
016c02e592 Backing out to see if this is the cause for apparent random crashes. 2008-01-28 15:52:54 -08:00
jst@mozilla.org
0617bf0012 Fixing bug 413559. Make XPConnect use faster accessors for JS class/parent/private/proto. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2008-01-28 15:19:51 -08:00
mrbkap@gmail.com
f1674b21d6 There might be a pushed context but no running code. bug 413200, r+sr=jst a=blocking-1.9+ 2008-01-28 15:10:30 -08:00
mrbkap@gmail.com
de6902bc6c Create a more valid pseudo-frame for liveconnect to avoid null ptr dereferences. bug 409720, r=brendan sr=jst a=brendan 2008-01-28 15:07:29 -08:00
mrbkap@gmail.com
228f48bb7b Don't allocate links on the heap. bug 410223, r+sr=brendan a=schrep 2008-01-28 15:03:42 -08:00
igor@mir2.org
3a0fa756f8 Bug 413793: fixing JS compilation. r=outside of the browser three 2008-01-28 14:36:59 -08:00
brendan@mozilla.org
fac36f1423 Must lock newborn block object (shared) scope before calling js_GetMutableScope (413850, r=mrbkap). 2008-01-27 18:13:00 -08:00
mrbkap@gmail.com
5e6ad84a84 Fix think-o causing valgrind errors during evalcx(). bug 414219, r=shaver NPOTB 2008-01-27 09:27:01 -08:00
brendan@mozilla.org
6b498ff79d Fix #if-related bug that broken compilation of pre-1.7 versions (bug 412894, r=timeless). 2008-01-26 23:58:06 -08:00
jst@mozilla.org
2bc0dc4a67 Landing fix for bug 412462. Do the right thing when converting objects wrapped in XOWs. Patch by mrbkap@gmail.com, r=jst@mozilla.org, sr=brendan@mozilla.org 2008-01-25 16:36:44 -08:00
jst@mozilla.org
4a75bf49ad Landing fix for bug 411093. Make sure functions get the right filename. Patch by mrbkap@gmail.com, r=brendan@mozilla.org 2008-01-25 16:28:08 -08:00
jst@mozilla.org
918fe24c0f Fixing bug 397791. Prevent document principals from ever changing, and make us not use XOWs for same origin document objects. r=jonas@sickin.cc, sr=bzbarsky@mit.edu 2008-01-25 13:49:11 -08:00
jst@mozilla.org
a396f5c5b2 Fixing bug 413569. Make XPCWrappedNative::CallMethod() initialize the nsAutoString buffer used for [out] string param handling only when needed. r+sr=jonas@sicking.cc 2008-01-23 17:17:13 -08:00
jst@mozilla.org
5be0f146b4 Fixing bug 413045. Make some JS API functions faster by accessing obj->fslots[] directly when possible. r=brendan@mozilla.org, r=igor@mir2.org. 2008-01-23 14:05:43 -08:00
igor@mir2.org
d655ea404a Bug 413556: Patch from Jason Orendorff to fix JS_ConvertArguments. r,a=brendan 2008-01-23 06:20:38 -08:00
igor@mir2.org
5732653d7d Bug 412340: avois rehashing of alreday atomized strings. r,a=brendan 2008-01-23 05:17:47 -08:00
igor@mir2.org
d43d9f85f7 Bug 413565: GC now put all free cells to free lists. r,a=brendan 2008-01-23 05:05:48 -08:00
igor@mir2.org
8cac5d8192 Bug 411722: backing out again to fix incorrect error recovery 2008-01-23 01:56:28 -08:00
igor@mir2.org
5bba705e56 Bug 411722: faster implementation of js_GetLocalNameArray. r,a=brendan 2008-01-23 01:38:32 -08:00