jonas%sicking.cc
a46388ac06
Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987
...
git-svn-id: svn://10.0.0.236/trunk@226093 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 23:45:26 +00:00
bzbarsky%mit.edu
d2d337437c
Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
...
GetShellAt(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
git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
Olli.Pettay%helsinki.fi
c6b01eefa9
Bug 288392, DOMSubtreeModified event, r=peterv, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@222317 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-24 12:18:03 +00:00
peterv%propagandism.org
e0208d6f89
Fix for bug 374449 (Most callers of nsIDocument::RemoveReference leak). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@222104 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 17:39:25 +00:00
jonas%sicking.cc
fa54a7bcf5
Bug 371083: Second installment in our exiting series 'deCOMtaminate the XBL code'. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@220967 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 00:14:01 +00:00
jonas%sicking.cc
7b8af22092
Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
...
git-svn-id: svn://10.0.0.236/trunk@220435 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 23:02:08 +00:00
jonas%sicking.cc
c691d21bc5
Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
...
git-svn-id: svn://10.0.0.236/trunk@220434 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 22:59:06 +00:00
graydon%mozilla.com
3998c66e23
Bug 333078: XPCOM cycle collector
...
r=brendan, sicking, bz, dbaron, bsmedberg
git-svn-id: svn://10.0.0.236/trunk@217781 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 22:31:26 +00:00
bzbarsky%mit.edu
25c459209d
Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@216479 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:46:18 +00:00
vladimir%pobox.com
ece4ca3cad
backing out bug 333078, xpcom cycle collector due to perf issues
...
git-svn-id: svn://10.0.0.236/trunk@215718 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 23:18:16 +00:00
vladimir%pobox.com
260a2b3959
b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
...
git-svn-id: svn://10.0.0.236/trunk@215695 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 19:23:02 +00:00
bzbarsky%mit.edu
43d470b66b
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
git-svn-id: svn://10.0.0.236/trunk@215685 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:27:54 +00:00
cvshook%sicking.cc
0b9688294e
Bug 343730: Don't execute scripts synchronously from BindToTree. Instead we wait until the last EndUpdate has been called. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@214702 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 05:45:02 +00:00
bzbarsky%mit.edu
0583386559
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
git-svn-id: svn://10.0.0.236/trunk@207471 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 17:31:16 +00:00
cvshook%sicking.cc
f327b2f74b
Bug 343288: Move IsInDoc() and GetCurrentDoc() to nsINode. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@201779 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-08 00:30:19 +00:00
cvshook%sicking.cc
aba7c6ff77
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
...
git-svn-id: svn://10.0.0.236/trunk@201460 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-02 07:23:10 +00:00
peterv%propagandism.org
e8ed6e24c3
Fix for bug 339239 (Remove UserData functions from nsIDocument). r/sr=sicking.
...
git-svn-id: svn://10.0.0.236/trunk@198868 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 13:28:14 +00:00
bzbarsky%mit.edu
3e662003ef
Make the documentURI of a document and the currentURI of a docshell immutable objects.
...
Bug 336699, r=darin, sr=jst
git-svn-id: svn://10.0.0.236/trunk@198750 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 17:57:14 +00:00
cvshook%sicking.cc
cec9ea1123
Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
mrbkap%gmail.com
b8f2621c76
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
...
git-svn-id: svn://10.0.0.236/trunk@195456 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 19:53:27 +00:00
neil%parkwaycc.co.uk
d9aa680b29
Improve box object hashtable storage b=326931 r=jst sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@195440 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 12:42:49 +00:00
cvshook%sicking.cc
5d88584166
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
...
git-svn-id: svn://10.0.0.236/trunk@194451 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 05:09:16 +00:00
jst%mozilla.jstenback.com
197612f082
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
...
git-svn-id: svn://10.0.0.236/trunk@194099 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 03:49:44 +00:00
bzbarsky%mit.edu
0ddb09fba1
Add some macros to make using auto-notifiers and auto-gc-roots safer. Bug
...
333148, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@193834 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 20:14:51 +00:00
cvshook%sicking.cc
e2c22d1f10
Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364.
...
git-svn-id: svn://10.0.0.236/trunk@192842 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:21:21 +00:00
bryner%brianryner.com
1de3fc0366
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.
...
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
cvshook%sicking.cc
35316b26ee
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
...
git-svn-id: svn://10.0.0.236/trunk@192052 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 07:29:41 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60
Bug 234455, Centralize event dispatch r=jst, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
timeless%mozdev.org
af51e73d0e
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
git-svn-id: svn://10.0.0.236/trunk@191013 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 09:36:43 +00:00
bzbarsky%mit.edu
2c386a52a3
Give a saner principal to documents created via DOMImplementation. Bug 324601,
...
r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@190594 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 18:57:32 +00:00
bzbarsky%mit.edu
1510aacc39
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
git-svn-id: svn://10.0.0.236/trunk@188770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:02:34 +00:00
cvshook%sicking.cc
5fe171311b
Bug 324572: Move property methods to nsINode and make nsIAttribute inherit nsINode.
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@188174 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 20:49:56 +00:00
bzbarsky%mit.edu
31719bf3ba
Implement an nsINode interface; move some common stuff from nsIContent and
...
nsIDocument to nsINode. Bug 323311, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@187813 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 03:34:18 +00:00
bryner%brianryner.com
31927ba3d2
Fix restoration of scroll position and textfield contents after bfcache eviction by calling PersistLayoutHistoryState as part of RestoreFromHistory. Bug 317380, r=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@186896 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-04 06:38:46 +00:00
dbaron%dbaron.org
6efef3c0ad
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
...
git-svn-id: svn://10.0.0.236/trunk@185636 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 07:42:40 +00:00
jst%mozilla.jstenback.com
95094c0b4b
Fixing bug 318106. Stop assertion about setting mutation bits on outer window. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@185396 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 21:51:53 +00:00
bzbarsky%mit.edu
cf434cba7f
Remove content ids. Bug 166637, r=sicking, sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@185376 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:47:18 +00:00
bzbarsky%mit.edu
6d6b071b92
Fix some comments. Bug 303817, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@185133 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 15:49:44 +00:00
bsmedberg%covad.net
8be3b17c8f
Bug 315562 - non-MOZILLA_INTERNAL_API usage of dom/content headers, r=just
...
git-svn-id: svn://10.0.0.236/trunk@184778 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 20:29:29 +00:00
bsmedberg%covad.net
0217e2f9a9
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
...
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
d006208790
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
git-svn-id: svn://10.0.0.236/trunk@184321 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 22:45:49 +00:00
bzbarsky%mit.edu
d14d1f2475
Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
...
changes, sr=jst
git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
peterv%propagandism.org
626d37a256
Change IID of changed interfaces (for bug 264308).
...
git-svn-id: svn://10.0.0.236/trunk@183129 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 14:58:38 +00:00
peterv%propagandism.org
7645808305
Fix for bug 264308 (Implement DOM Level 3 UserData API). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@183126 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 14:09:23 +00:00
bzbarsky%mit.edu
53c329523d
Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
...
to it. Bug 313343, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@183113 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 02:25:23 +00:00
cvshook%sicking.cc
103f17eb41
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
git-svn-id: svn://10.0.0.236/trunk@181785 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 20:20:52 +00:00
peterv%propagandism.org
86ac4d2e8f
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
...
git-svn-id: svn://10.0.0.236/trunk@180911 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 18:43:15 +00:00
bzbarsky%mit.edu
d7497a616e
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
git-svn-id: svn://10.0.0.236/trunk@178750 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 23:24:30 +00:00
roc+%cs.cmu.edu
a65887afc9
Bug 304434. Update link :visited status for URIs downloaded to helper apps. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@178746 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 22:26:10 +00:00
bzbarsky%mit.edu
b327d4361b
Remove nsDummyLayoutRequest and use the nsIDocument onload-blocking API
...
instead. Bug 294114, r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@178656 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 01:29:02 +00:00