Commit Graph

574 Commits

Author SHA1 Message Date
(no author)
d368a405db This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_8_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@185757 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 05:54:01 +00:00
(no author)
d1331130a2 This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_8_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@182227 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 02:57:26 +00:00
bryner%brianryner.com
f4afd4f4cf Fix dispatch of pagehide events when tabs are closed, by not relying on a PresContext being present for event targetting. Bug 309581, r+sr=bzbarsky, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182196 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-13 21:50:01 +00:00
bzbarsky%mit.edu
c629095a74 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, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181384 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 02:05:27 +00:00
masayuki%d-toybox.com
07f6462ad8 Bug 99224 document.lastModified should be localized r=jst+jshin, sr=brendan,a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@181284 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 14:45:10 +00:00
roc+%cs.cmu.edu
2bdee9bb25 Bug 304759. Forgot to check in one hunk of the patch on branch.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178569 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 21:32:20 +00:00
roc+%cs.cmu.edu
193aec67d2 Bug 304759. Avoid maintaining link map on document teardown. Should fix Tp regression from 78510. r+sr=bzbarsky,a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178167 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 16:56:01 +00:00
mats.palmgren%bredband.net
6973733b93 Avoid triggering changes to the link map while enumerating it. b=304747 r+sr=roc a=cbeard
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178023 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 09:52:41 +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
dbaron%dbaron.org
8bfdc8e8be 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
git-svn-id: svn://10.0.0.236/trunk@171344 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 23:26:56 +00:00
tor%cs.brown.edu
eafae91035 Bug 287389: SVG should not munge ua.css at build time. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171206 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 14:50:05 +00:00
peterv%propagandism.org
dadffafd57 Part of fix for bug 285166 (createElement crashes [@ NS_NewHTMLElement] [@ nsCharTraits<unsigned short>::length]). r=sicking, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@171204 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 14:07:44 +00:00
jst%mozilla.jstenback.com
07f72886c9 Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@170153 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-04 02:01:54 +00:00
caillon%redhat.com
2310fd67a9 250245 - spec changed, its now Document.inputEncoding
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@170013 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 22:35:02 +00:00
bryner%brianryner.com
066919535f Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169489 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 10:31:27 +00:00
doronr%us.ibm.com
86f11fca63 Bug 279057 - Implement hasFeature for XForms. Patch by smaug, r=bryner/sr=jst
git-svn-id: svn://10.0.0.236/trunk@169429 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 21:32:46 +00:00
bryner%brianryner.com
5d17ec2995 Remove unneeded nsIContentList interface (bug 280746). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@168732 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 23:16:02 +00:00
vladimir%pobox.com
dbf81b61ea b=279306, update canvas API to reflect latest standard spec; r=stuart,sr=shaver
git-svn-id: svn://10.0.0.236/trunk@168338 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-26 02:08:35 +00:00
bzbarsky%mit.edu
1cfee47012 Keep track of whether a title has been set in the document, not in the sink.
This way we can notice all ways of setting it.  Bug 271996, r=sicking, sr=neil


git-svn-id: svn://10.0.0.236/trunk@167571 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 02:47:53 +00:00
peterv%propagandism.org
ea028c9206 Fix fo bug 274964 (Switch to Expat's xml declaration parsing). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@166810 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 09:17:35 +00:00
mvl%exedo.nl
6685ddd25e Implement DOM 3 isDefaultNamespace()
bug 270640, patch by smaug@welho.com, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@165847 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-28 10:57:22 +00:00
bzbarsky%mit.edu
c1bd80ae5c Don't go through presshells to get to our window; just use the global object.
This fixes various issues that could bite display:none iframes, in particular
bug 262998.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@163315 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 20:24:18 +00:00
bryner%brianryner.com
e7b6822e4e Support properties on documents (bug 253888). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@162276 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 04:21:29 +00:00