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

68 Коммитов

Автор SHA1 Сообщение Дата
Ms2ger c6df20f377 Bug 698382 - Give nsXBLProtoImpl::InitTargetObjects and nsXBLPrototypeBinding::InitClass a JSObject outparam; r=jst 2011-11-16 08:50:20 +01:00
Ms2ger 0dd60d5029 Bug 94199 - Various cleanup; r=enn 2011-11-16 08:50:18 +01:00
Neil Deakin fb654ce6d2 Bug 94199, part 4, serialize/deserialize xbl to startup cache, r=bz 2011-11-03 16:39:08 -04:00
Olli Pettay 5a92aedb22 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst
--HG--
extra : rebase_source : 53dc2ec386f6e4147587e6be3c53d297ad71d57a
2011-10-18 14:19:44 +03:00
Olli Pettay 2c2da3099f Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari 92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ms2ger 09c97f4a38 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Chris Leary e53078d333 Bug 595691, take 2: fix versioning across VM instances, remove _options. (r=luke,brendan,igor) 2011-01-27 02:54:58 -08:00
Kyle Huey efe3af4f0b Bug 578565: Remove nsIXBLDocumentInfo. r=jst
--HG--
extra : rebase_source : 4d36ecc23ea302563a7b7f84846d8d5e23b29647
2010-07-14 18:53:11 -07:00
Peter Van der Beken cf46d66dc3 Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Peter Van der Beken 88bc7e0eed Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Peter Van der Beken 387b6cf76b Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-13 17:54:52 +01:00
Blake Kaplan 39fbdc941a Bug 451680 - Use a more reliable function to compile and execute XBL. r+sr=bzbarsky 2008-11-06 18:06:49 -08:00
Peter Van der Beken 689b6bf58b Backed out changeset 874aba8a9a8a to fix orange 2008-11-06 15:01:22 +01:00
Peter Van der Beken 9f328fae2a Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-06 12:09:30 +01:00
Peter Van der Beken 8c9a789be4 Backed out changeset 81c0a2ec449f to fix orange 2008-11-04 20:54:08 +01:00
Peter Van der Beken 02dedb34c2 Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-04 18:10:43 +01:00
Peter Van der Beken 2ddc154612 Backed out changeset ba895ab8cbe7 to fix orange 2008-11-03 16:28:50 +01:00
Peter Van der Beken c4fd862a7c Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-03 14:49:53 +01:00
bzbarsky@mit.edu 0ffeb8258f Allow JS 1.7 in XBL. Bug 389322, r=brendan, sr=jst, a=brendan 2008-02-15 21:13:16 -08:00
peterv@propagandism.org 5675270420 Fix for bug 415028 (Startup assertions and crash compiling proto properties with gczeal == 2). r/sr=bz. 2008-02-12 08:02:41 -08:00
peterv@propagandism.org 17f5f4406d 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
peterv@propagandism.org 8affa46361 Try to fix orange 2008-01-29 13:42:05 -08:00
peterv@propagandism.org 55896575d9 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
bzbarsky@mit.edu 14eec126c1 Fix bug 400794 and bug 401569: don't try to uninstall fields that are not installed. r+sr=sicking. Patch in bug 400794. 2007-11-15 09:09:14 -08:00
peterv@propagandism.org 2e01f470e6 Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-29 06:45:07 -07:00
peterv@propagandism.org 8aff563c48 Backing out once more to fix orange. 2007-10-28 05:49:30 -07:00
peterv@propagandism.org abb09e26b6 Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-28 04:14:40 -07:00
peterv@propagandism.org a84948aa32 Backing out to fix orange. 2007-10-26 07:15:28 -07:00
peterv@propagandism.org 3a33ff3fcf Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912). 2007-10-26 06:25:32 -07:00
bzbarsky@mit.edu b3ecb20eb7 Actually unhook the binding proto when we're tearing down the binding anonymous content. Hasn't worked in years, apparently. Bug 398135, r+sr=sicking 2007-10-19 21:22:43 -07:00
bzbarsky@mit.edu c8b1de51b9 Relanding bug 372769 with some cycle collection changes to fix leaks. r=mrbkap, sr=sicking, with r=sicking on the leak fixes. 2007-09-28 06:45:01 -07:00
bzbarsky@mit.edu 50fd4b81f0 Backing out bug 372769 due to leaks. 2007-09-26 07:39:31 -07:00
bzbarsky@mit.edu ffd52a5efc Do lazy evaluation of XBL fields. Bug 372769, r=mrbkap, sr=sicking 2007-09-26 06:55:06 -07:00
peterv@propagandism.org bb85b0ed7a Followup to bug 368774, fix bustage the right way. 2007-05-24 11:39:49 -07:00
peterv@propagandism.org 5acbaf5478 Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
graydon%mozilla.com 4525ab79d9 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
vladimir%pobox.com 82a10357c9 backing out bug 333078, xpcom cycle collector due to perf issues 2006-11-22 23:18:16 +00:00
vladimir%pobox.com 3748c8bf4f b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many 2006-11-22 19:23:02 +00:00
dbaron%dbaron.org f2a37733b9 Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst 2005-12-03 07:42:40 +00:00
jst%mozilla.jstenback.com e23ea875f3 Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org 2005-08-12 04:11:00 +00:00
jst%mozilla.jstenback.com 8c2bc6fcb8 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers 2005-07-30 20:57:07 +00:00
bzbarsky%mit.edu b0732b1395 Preserve XPCNativeWrappers when "expando" properties are set on them. Bug
295937, r=shaver, sr+a=brendan
2005-07-19 21:40:33 +00:00
bzbarsky%mit.edu 3114a994a1 Make sure to call ScriptEvaluated when doing all evaluations, to call it
_after_ we've popped the JSContext from the stack, and to handle multiple
termination functions being posted from a single script evaluation.  Fixes
leaks when closing windows or tabs with still-loading documents.  Bug 295983,
r+sr=jst, a=asa
2005-06-09 15:42:19 +00:00
timeless%mozdev.org 1aaa75f71c Bug 294831 JS OOM crash [@ nsXBLPrototypeBinding::InitClass]
r=bz sr=bz a=asa
2005-05-20 01:05:55 +00:00
dbaron%dbaron.org 2ba6c6183f Change how we preserve XPConnect wrappers on which JS properties have been set or that are otherwise needed by XBL: instead of rooting those wrappers until the document stops being displayed, mark them from GC hooks only if the nodes are reachable (via DOM node traversal, optimizing based on symmetry of reachability between DOM nodes) from the document or from nodes already marked. b=283129 r=jst sr=brendan 2005-03-29 23:26:56 +00:00
bzbarsky%mit.edu 4be2dab6bb Add some debug members to XBL to catch cases where things are treated as
compiled when they're not and vice versa.  Bug 280089, r+sr=bryner
2005-02-06 20:34:15 +00:00
bzbarsky%mit.edu fe1acf7e49 Convert various GetDocument() callers in XBL to using GetOwnerDoc() or
GetCurrentDoc() depending on which they want.  This lays the groundwork for
attaching bindings to nodes that are not in documents.  Bug 265086, r=bryner,
sr=jst
2004-12-02 02:24:28 +00:00
bzbarsky%mit.edu 93e0d48454 Don't use the global object as the scope object when setting up the class for
the proto functions on the a binding.  Patch arises from discussion in bug
258832, r+sr=brendan
2004-09-14 13:33:54 +00:00