c4a70fba67
Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987
2007-05-07 16:45:25 -07:00
1255dcbef5
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me
2007-05-01 15:24:20 -07:00
546d9a8001
Bug 288392, DOMSubtreeModified event, r=peterv, sr=jst
2007-03-24 05:18:02 -07:00
peterv@propagandism.org
dfb94c4f53
Fix for bug 374449 (Most callers of nsIDocument::RemoveReference leak). r/sr=jst.
2007-03-20 17:39:25 +00:00
jonas@sicking.cc
746d844ba1
Bug 371083: Second installment in our exiting series 'deCOMtaminate the XBL code'. r/sr=jst
2007-02-27 00:14:01 +00:00
jonas@sicking.cc
7a41bbf68d
Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
2007-02-16 23:02:08 +00:00
jonas@sicking.cc
18740abdb0
Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
2007-02-16 22:59:06 +00:00
graydon@mozilla.com
c164b31493
Bug 333078: XPCOM cycle collector
...
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
bzbarsky@mit.edu
127703028d
Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst
2006-12-05 15:46:18 +00:00
vladimir@pobox.com
cd302b0183
backing out bug 333078, xpcom cycle collector due to perf issues
2006-11-22 23:18:16 +00:00
vladimir@pobox.com
c2bad5cc6e
b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
2006-11-22 19:23:02 +00:00
bzbarsky@mit.edu
0d8e296fb6
Make the redirect check get principals the same way we get them elsewhere.
...
Clean up some code to use the new security manager method. Bug 354693,
r=dveditz, sr=sicking
2006-11-22 18:27:54 +00:00
cvshook@sicking.cc
e14f056b52
Bug 343730: Don't execute scripts synchronously from BindToTree. Instead we wait until the last EndUpdate has been called. r/sr=bz
2006-11-04 05:45:02 +00:00
bzbarsky@mit.edu
1401e54c2e
Remove special-casing of about:blank for security purposes; give about:blank
...
pages the principal of whoever is responsible for loading them, when possible.
Bug 332182, r=mrbkap, sr=jst
2006-08-15 17:31:16 +00:00
cvshook@sicking.cc
44e7e211bd
Bug 343288: Move IsInDoc() and GetCurrentDoc() to nsINode. r/sr=jst
2006-07-08 00:30:19 +00:00
cvshook@sicking.cc
e52bf42d62
Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz
2006-07-02 07:23:10 +00:00
peterv@propagandism.org
cd16a8918b
Fix for bug 339239 (Remove UserData functions from nsIDocument). r/sr=sicking.
2006-06-02 13:28:14 +00:00
bzbarsky@mit.edu
6d9dcaa998
Make the documentURI of a document and the currentURI of a docshell immutable objects.
...
Bug 336699, r=darin, sr=jst
2006-05-31 17:57:14 +00:00
cvshook@sicking.cc
5df20de104
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
2006-05-05 06:52:21 +00:00
mrbkap@gmail.com
21e29aca62
When a document's scope object changes (e.g., for a call to document.open), actually change the scope object and move all of the wrappers in the old scope into the new one. bug 333697, r+sr=jst
2006-04-26 19:53:27 +00:00
neil@parkwaycc.co.uk
b2112ede28
Improve box object hashtable storage b=326931 r=jst sr=bz
2006-04-26 12:42:49 +00:00
cvshook@sicking.cc
44c8d5f474
Bug 333942. Move GetParent to nsINode and add GetNodeParent there too. There is a risk that this'll add some binary size, but hopefully not too much. r/sr=bz
2006-04-15 05:09:16 +00:00
jst@mozilla.jstenback.com
186229de7f
Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
2006-04-11 03:49:44 +00:00
bzbarsky@mit.edu
c2bb935150
Add some macros to make using auto-notifiers and auto-gc-roots safer. Bug
...
333148, r+sr=dbaron
2006-04-07 20:14:51 +00:00
cvshook@sicking.cc
ac518c64e4
Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364.
2006-03-23 08:21:21 +00:00
bryner@brianryner.com
6a57d0733c
Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
2006-03-22 18:36:36 +00:00
cvshook@sicking.cc
61f406307d
Bug 326645: Remove mRootContent from nsDocument to avoid all the pains of keeping it in sync with the childlist. Also remove mBodyContent from nsHTMLDocument for the same reason. r=bz sr=jst
2006-03-09 07:29:41 +00:00
Olli.Pettay@helsinki.fi
6ba912b316
Bug 234455, Centralize event dispatch r=jst, sr=bz
2006-03-07 17:08:51 +00:00
timeless@mozdev.org
9ced5b09ba
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
bzbarsky@mit.edu
e11ea64204
Give a saner principal to documents created via DOMImplementation. Bug 324601,
...
r=sicking, sr=jst
2006-02-20 18:57:32 +00:00
bzbarsky@mit.edu
995f519031
Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
...
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument. Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
cvshook@sicking.cc
957ee20899
Bug 324572: Move property methods to nsINode and make nsIAttribute inherit nsINode.
...
r/sr=bz
2006-01-25 20:49:56 +00:00
bzbarsky@mit.edu
90d792cd36
Implement an nsINode interface; move some common stuff from nsIContent and
...
nsIDocument to nsINode. Bug 323311, r=sicking, sr=jst
2006-01-19 03:34:18 +00:00
bryner@brianryner.com
a3503d50e0
Fix restoration of scroll position and textfield contents after bfcache eviction by calling PersistLayoutHistoryState as part of RestoreFromHistory. Bug 317380, r=bzbarsky.
2006-01-04 06:38:46 +00:00
dbaron@dbaron.org
0c9c697a74
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
543c49d1a8
Fixing bug 318106. Stop assertion about setting mutation bits on outer window. r+sr=bzbarsky@mit.edu
2005-11-29 21:51:53 +00:00
bzbarsky@mit.edu
3a0f9e0808
Remove content ids. Bug 166637, r=sicking, sr=peterv
2005-11-29 16:47:18 +00:00
bzbarsky@mit.edu
b2a6853a5d
Fix some comments. Bug 303817, r+sr=jst
2005-11-22 15:49:44 +00:00
bsmedberg@covad.net
99b6d9f813
Bug 315562 - non-MOZILLA_INTERNAL_API usage of dom/content headers, r=just
2005-11-16 20:29:29 +00:00
bsmedberg@covad.net
fb56b42204
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2005-11-11 14:36:26 +00:00
bzbarsky@mit.edu
1c5ccb8400
Move the document's bidi state to actually live on the document, and remove
...
dependencies on nsPresContext in form submission. Fixes bugs 100533, 180861,
293171. r+sr=jst
2005-11-08 22:45:49 +00:00
bzbarsky@mit.edu
4d02579678
Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
...
changes, sr=jst
2005-11-02 00:41:51 +00:00
peterv@propagandism.org
9e9188ffc6
Change IID of changed interfaces (for bug 264308).
2005-10-27 14:58:38 +00:00
peterv@propagandism.org
ed3260f8ce
Fix for bug 264308 (Implement DOM Level 3 UserData API). r/sr=jst.
2005-10-27 14:09:23 +00:00
bzbarsky@mit.edu
d53667675c
Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
...
to it. Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
cvshook@sicking.cc
a35090f688
Bugs 292962 and 311269: Make pages in bf cache not behave as if they have a presentation, and evict pages from the bf cache synchronously if they are modified.
...
r/sr=bryner
2005-10-07 20:20:52 +00:00
peterv@propagandism.org
97ce448ce1
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
2005-09-24 18:43:15 +00:00
bzbarsky@mit.edu
5232d7bd2c
Go back to having UnblockOnload firing onload sync in cases where it's safe.
...
Attempting to address Tp fallout from bug 294114, r+sr=jst
2005-08-23 23:24:30 +00:00
roc+@cs.cmu.edu
e74e53904b
Bug 304434. Update link :visited status for URIs downloaded to helper apps. r+sr=dbaron
2005-08-23 22:26:10 +00:00
bzbarsky@mit.edu
75c9b5e593
Remove nsDummyLayoutRequest and use the nsIDocument onload-blocking API
...
instead. Bug 294114, r=dbaron, sr=jst
2005-08-23 01:29:02 +00:00