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
bzbarsky%mit.edu
5615bc55af
Make nsDocument::InsertBefore and nsDocument::ReplaceChild do the right thing
...
as far as removing kids from their old parent, working with document fragments,
etc. Mostly just makes nsDocument and nsGenericElement share code. Bug
278472, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@181315 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 20:06:33 +00:00
masayuki%d-toybox.com
996ca56067
Bug 99224 document.lastModified should be localized r=jst+jshin, sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@181283 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 14:42:55 +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
Olli.Pettay%helsinki.fi
f0110ebc1d
Bug 202764, nsXULDocument::HandleDOMEvent can go away. r=jst, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@180115 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 16:18:23 +00:00
bzbarsky%mit.edu
dfe3e9b0bc
Improve the CSSLoader API: make it clear which methods return results
...
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded. Bug 293825, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@180035 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 18:41:15 +00:00
peterv%propagandism.org
c1c35accda
Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@179989 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 17:15:08 +00:00
peterv%propagandism.org
5a1d292898
Back out fix for bug 251025 to fix bustage.
...
git-svn-id: svn://10.0.0.236/trunk@179988 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 15:42:31 +00:00
peterv%propagandism.org
03ea6f5dac
Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@179987 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 15:05:31 +00:00
peterv%propagandism.org
ded3051b1e
Fix for bug 106796 (Improve GetNameSpaceID() performance). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@179983 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 11:24:16 +00:00
peterv%propagandism.org
b64b04886f
Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00
bzbarsky%mit.edu
525a6b3082
Cache the event queue service in nsContentUtils instead of having every single
...
presshell caching it. Bug 305689, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@178852 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 21:01:51 +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
bzbarsky%mit.edu
cde33b5712
Make sure to remove our mOnloadBlocker from the loadgroup when we're removed
...
from the window. Bug 305639, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@178730 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 20:51:22 +00:00
bzbarsky%mit.edu
11b7602b7a
Back out last change for bug 294114, since it didn't help and may have hurt Tdhml
...
git-svn-id: svn://10.0.0.236/trunk@178718 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 18:54:35 +00:00
bzbarsky%mit.edu
c0485fb45b
Another attempt to get back Tp perf. Bug 294114 again, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@178706 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 17:11:45 +00:00
bzbarsky%mit.edu
3977535957
Attempt to prevent BlockOnload/UnblockOnload thrashing during document load;
...
just block it when parsing starts and unblock when parsing is done. Bug 294114
followup, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@178689 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 15:44:43 +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
roc+%cs.cmu.edu
d225763725
Bug 300313. DeCOMtaminate linebreaker/wordbreaker, and access them directly as services rather than through a factory. r+sr=roc, patch by Joshua Welderson (thanks Joshua\!)
...
git-svn-id: svn://10.0.0.236/trunk@178583 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 03:00:06 +00:00
mats.palmgren%bredband.net
5ec61cabce
Avoid triggering changes to the link map while enumerating it. b=304747 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@178024 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 09:54:45 +00:00
roc+%cs.cmu.edu
c92cc5a377
Bug 304759. Avoid link map maintenance while tearing down document. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@177922 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 01:27:10 +00:00
peterv%propagandism.org
b852079232
Fix for bug 303522 (cvs diff content/base/src/nsDocument.cpp! Object's nsIClassInfo lies about it's interfacescvs diff content/base/src/nsDocument.cpp! classname: HTMLDocument unimplemented interface name: nsIDOMXPathEvaluator). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@177748 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 13:18:59 +00:00
jst%mozilla.jstenback.com
a9f668bc25
Followup changes to bzabarsky's review for bug 296639. Reviews pending, a=drivers@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@177635 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 04:11:00 +00:00
roc+%cs.cmu.edu
a4e5443b20
Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there.
...
git-svn-id: svn://10.0.0.236/trunk@177512 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 20:21:44 +00:00
allan%beaufour.dk
aeb16bbde9
Dispatch DOMContentLoaded on XUL Documents. Bug 302914, r+sr=jst, a=benjamin, patch by smaug@welho.com
...
git-svn-id: svn://10.0.0.236/trunk@176963 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 12:42:24 +00:00
jst%mozilla.jstenback.com
792744ce69
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
...
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
masayuki%d-toybox.com
8d6bdb8f38
Bug 275960 document.lastModified cannot handle non-ascii characters when the page's HTTP header doesn't have Last-Modified r=jshin, sr=bzbarsky, a=benjamin
...
git-svn-id: svn://10.0.0.236/trunk@176618 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 15:40:14 +00:00
bzbarsky%mit.edu
e5932bc9f9
Don't flush our parent if we're not safe to flush. Bug 281922, r+sr=jst, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@176094 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-14 16:13:09 +00:00
jst%mozilla.jstenback.com
79ba7b6cdd
Fixing bug 296704. Make re-dispatching of events work as expected. r=dveditz@cruzio.com, sr=bryner@brianryner.com, a=dveditz@cruzio.com
...
git-svn-id: svn://10.0.0.236/trunk@174986 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-22 01:53:58 +00:00
peterv%propagandism.org
aac2b47f2a
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@174703 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 13:10:58 +00:00
bryner%brianryner.com
3274ca4c10
Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver.
...
git-svn-id: svn://10.0.0.236/trunk@174651 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 23:52:46 +00:00
bzbarsky%mit.edu
bff713c7f1
Make the title change events we fire trusted. Bug 295210, r+sr=jst, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@174104 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-03 02:07:44 +00:00
jst%mozilla.jstenback.com
1acb0a110a
Fixing bug 292464. Use the documents principals to check if a document is a chrome document or not. r=smaug@welho.com, sr=peterv@propagandism.org, a=shaver@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@174095 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 23:36:08 +00:00
bzbarsky%mit.edu
249f50341c
Push the mChannel member for documents up to nsDocument and expose it on
...
nsIDocument. Bug 292971 preliminaries, r+sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@173866 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 01:15:23 +00:00
bryner%brianryner.com
7d8cc2fcc3
Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@173534 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-18 03:52:33 +00:00
bzbarsky%mit.edu
b0ce4094bf
Add a document api to prevent onload from firing too early. Bug 293818,
...
r=darin, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@173388 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-13 19:54:28 +00:00
bzbarsky%mit.edu
2e6c4b317a
Fix bug 293588 -- make sure to not store form data in the wrong session history
...
entry. r+sr=bryner, a=brendan
git-svn-id: svn://10.0.0.236/trunk@173350 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-12 20:53:33 +00:00
bryner%brianryner.com
41e0a9483a
Fix form state save/restore so that it uses the correct history entry (bug 293135). r+sr=bzbarsky, a=shaver.
...
git-svn-id: svn://10.0.0.236/trunk@173242 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 02:06:29 +00:00
bryner%brianryner.com
189a661d09
Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
Olli.Pettay%helsinki.fi
6877f83211
Bug 292464 - event listeners added using addEventListener() listen only trusted events. r=jst, sr=peterv, a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@172956 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 17:54:41 +00:00
jst%mozilla.jstenback.com
ebed1ee784
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
bzbarsky%mit.edu
a16228acf0
Fix crashes when document.load is called on an already-parsing XML document.
...
Bug 289292, r=sicking, sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172812 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 16:57:24 +00:00
bzbarsky%mit.edu
62937cbc08
Create CSSLoaders when the document object is created and deCOMify the getter.
...
Bug 290068, r=sicking, sr=peterv, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172416 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 01:27:11 +00:00
vladimir%pobox.com
dcf80e9788
b=288714, html canvas implementation, r=various,a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@172389 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 06:33:23 +00:00
bzbarsky%mit.edu
577af8f892
Move the BindToTree call for the document element into SetRootContent. Bug
...
289209, r=sicking, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@172254 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 01:30:14 +00:00
bzbarsky%mit.edu
71b3886c0d
Fix build bustage
...
git-svn-id: svn://10.0.0.236/trunk@172031 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 15:50:25 +00:00
bzbarsky%mit.edu
59247538c5
Make sure we've tried to create our CSSLoader before we try to dereference it.
...
Bug 289765, r+sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@172027 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 15:29:20 +00:00
bzbarsky%mit.edu
2ed6c9fac8
Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
...
BindToTree and UnbindFromTree methods. Bug 286000, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00
bzbarsky%mit.edu
c980dc5f76
Move processing of various headers from the content sink into the document so
...
it'll happen for all of our document types. Bug 288921, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@171627 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 03:28:54 +00:00
aaronleventhal%moonset.net
b3bd84588b
Bug 287730. Fix n of m positional info for HTML radio buttons. r=timeless, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@171556 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 13:43:43 +00:00