Commit Graph

880 Commits

Author SHA1 Message Date
mark%moxienet.com
801cf223b5 Taking bug 412701 attachment 279505 for Camino 1.6b2 as a one-fix-only emergency followup to 1.6b1: Crash in pop-up window on parent.close() due to double free [@ nsCSSFrameConstructor::RestyleEvent::HandleEvent]. r=bz sr=bz
git-svn-id: svn://10.0.0.236/branches/CAMINO_1_6_B2_MINIBRANCH@243501 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-18 22:09:32 +00:00
bzbarsky%mit.edu
7d737ebc4a Make all stylesheet changes do an async style reresolve, not a sync one. Bug
396613, bug 394337, bug 314776.  r+sr=dbaron, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@243094 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-15 03:56:03 +00:00
bzbarsky%mit.edu
6b9669535d Don't run XBL constructors during frame construction, ever. Bug 398006,
r+sr=sicking, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@242097 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-26 19:01:13 +00:00
Olli.Pettay%helsinki.fi
10c1594da2 Bug 373344, r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@241990 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 22:42:21 +00:00
Olli.Pettay%helsinki.fi
496cdb0cad fix for topcrash bug 400735, r+sr=bz, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@238069 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-24 08:12:50 +00:00
dholbert%cs.stanford.edu
b398f78746 Bug 400421 - Make nsImageMaps observe the PresShell instead of the Document. r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@238054 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 23:54:40 +00:00
bzbarsky%mit.edu
90d5ef4bcf Fix bug 398837. r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@237406 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-08 19:31:31 +00:00
bzbarsky%mit.edu
94d4ea37ac Don't allow reflow/style flushes during XBL constructor execution, for compat
reasons.  Bug 398404, r+sr=dbaron, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@237234 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 02:37:43 +00:00
bzbarsky%mit.edu
c82427eb24 Fire XBL constructors asynchronously after binding attachment, unless we're in
the middle of an update. In that case, fire them at the end of the update.
Bugs 267833, 373756, 394676, 394014.  r+sr=sicking, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@236965 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 02:46:15 +00:00
martijn.martijn%gmail.com
31ca30fe33 Let only top level documents call this code, bug 391043, r=jst, sr=bzbarsky, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@233358 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 23:07:47 +00:00
enndeakin%sympatico.ca
205d7aad88 Bug 374570, constrain popups to frame area, r+sr=roc,a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@225113 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 00:38:25 +00:00
bzbarsky%mit.edu
26d47fad30 Recalc quotes and counters before reflow. Bug 377216, r+sr=dbaron, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@224578 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 18:35:18 +00:00
bzbarsky%mit.edu
ea46097ec4 evoke pending reflow events before tearing down the frame tree. Bug 347662,
r+sr=dbaron, a=schrep


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@209312 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-07 03:14:38 +00:00
Olli.Pettay%helsinki.fi
8165095d84 Bug 343457 r+sr=roc, a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206118 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 07:55:48 +00:00
sspitzer%mozilla.org
1c7602b894 fix for bug #342439: printing certain urls (google groups and maps) from print preview shows the style/meta tags on paper.
thanks to bz for the fix. r/sr=dbaron

a=beltzner


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@203679 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 21:22:22 +00:00
Olli.Pettay%helsinki.fi
af12e0e42c Bug 337219, onfocus=window.close() in body of popup causes crash [@ nsXULElement::vftable], r+sr+a=bz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196666 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 11:35:55 +00:00
bzbarsky%mit.edu
cd8264de06 Don't print-preview <noscript> unless script is really disabled. Bug 334944,
r+sr=jst, branch181=roc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195578 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:08:04 +00:00
timeless%mozdev.org
cec8bfddd9 Bug 317855 [FIX]Crash on reload with evil xul testcase, using -moz-box, -moz-grid-group, float: left [@ nsIFrame::GetNextSibling]
patch by bz r=roc sr=roc a=mtschrep


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@186571 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-25 03:01:36 +00:00
bzbarsky%mit.edu
75d7b42127 Fix restarting of plugins when restoring from bfcache. Bug 313669, r+sr=bryner,
a=schrep


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182947 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-25 02:54:38 +00:00
bryner%brianryner.com
6472086e8b Stop plugins correctly when storing a page into session history (bug 311791). Patch by bzbarsky, r+sr=me, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@182781 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-22 18:23:14 +00:00
aaronleventhal%moonset.net
e9a34f4890 Bug 307172. Focus never returns when a link having focus is hidden. r+sr=bryner
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180874 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 18:09:54 +00:00
dbaron%dbaron.org
8f837dc88a Do not skip PostHandleEvent for synthesized mouse moves. b=20022 Thanks to Neil for finding the problem. r+sr=roc a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180611 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 23:24:56 +00:00
bzbarsky%mit.edu
e394d72ef7 Don't condition selection on whether we're in a chrome docshell; explicitly
disable selection for <label> and <description> as needed. Bug 306262, r=neil,
sr=roc, a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@180133 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-13 19:45:34 +00:00
smfr%smfr.org
33669a9cd4 Fix bug 208601: Fix DocumentViewerImpl::GetCanGetContents() to get the correct selection for text fields, using nsIPresShell::GetSelectionForCopy(). Fixes Services in text fields in Camino. r=roc, sr=roc, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179639 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 20:53:59 +00:00
neil%parkwaycc.co.uk
22850dc926 Frame processing needs to happen before bubbling system event group handlers in order to fix bug 300227 and thus properly fix bug 298894 r=bryner sr=bz a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179522 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 23:41:11 +00:00
mats.palmgren%bredband.net
55deb4d673 Erase caret if needed when content is removed. b=304383 r=mrbkap sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179186 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 05:22:54 +00:00
roc+%cs.cmu.edu
7c36dae5b2 Bug 304434. Mark links visited by external protocol handler downloads. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178868 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 21:53:37 +00:00
bryner%brianryner.com
ca431aa3ba follow-up to bug 303725, don't try to get a weak reference to a weak reference. r+sr=dbaron, a=asa.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178849 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 20:37:23 +00:00
bryner%brianryner.com
ac9125cbef Attempting to fix crashes in RetargetEventToParent (bug 303725). Leave a weak container pointer so that events targetted to cached pres shells can be sent up to the parent, and don't crash if this fails. r=aaronl, sr=dbaron, a=cbeard.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178588 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 03:20:05 +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
bryner%brianryner.com
6dd6993f13 don't leak all of the pres shells. bug 78510, r=jst/brendan
git-svn-id: svn://10.0.0.236/trunk@177537 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 03:59:04 +00:00
mats.palmgren%bredband.net
cfa8f92f51 Don't use a Frame pointer to remember where we last painted the caret, instead use Content+offset+hint. b=296464 r=mrbkap sr=roc a=cbeard
git-svn-id: svn://10.0.0.236/trunk@177536 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 03:44:16 +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
bryner%brianryner.com
d1232f1869 Fix fastback regression where IsZombieDocument could return false even if we are in a zombie document. Bug 301804, r=aaronl, sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@177185 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-05 20:01:52 +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
timeless%mozdev.org
786bcf4000 Bug 300572 FF11a2 Crash in [@ js_SetSlotThreadSafe] with new Shockwave Flash beta 8.0 b434
r=jst sr=jst a=shaver


git-svn-id: svn://10.0.0.236/trunk@176321 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 12:36:55 +00:00
bryner%brianryner.com
01d4a2db78 Make sure we unsuppress painting for subframes on fastback. Bug 292890, r+sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@176244 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 17:07:40 +00:00
aaronleventhal%moonset.net
40b6366b17 Bug 300642. Fix regression from fastback that broke page loading in screen readers. r+sr=bryner, a=asa
git-svn-id: svn://10.0.0.236/trunk@176121 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 02:35:19 +00:00
bzbarsky%mit.edu
2e83e0e621 Don't post or process reflow events after the presshell started destroying.
Bug 293651, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@175760 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 17:10:40 +00:00
bryner%brianryner.com
35fcd14778 Use PresShell::UnsuppressPainting instead of just an invalidate, to make sure the content area receives focus if needed. Bug 295931, r+sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@175477 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 07:12:02 +00:00
bryner%brianryner.com
579f24fd9d Fix crash when using fastback to go to pages that use SVG in an <object> tag, and bulletproof a little bit. Bug 299153, r+sr=dbaron, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@175421 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 20:58:33 +00:00
aaronleventhal%moonset.net
d0301a1bd7 Bug 290352. Fix show/hide events, and anything dependent on those such as DHTML sub sub menus, alerts and progress bars. r=louie.zhao, sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@174409 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-10 13:57:27 +00:00
bzbarsky%mit.edu
6bb181f495 Protect against sizeToContent being called on windows with no content a bit.
Bug 293781, r+sr=roc, a=asa


git-svn-id: svn://10.0.0.236/trunk@173384 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-13 19:47:38 +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
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
aaronleventhal%moonset.net
eb9e22a026 Bug 280498. Invalidate accessibility subtree for frame visibility/display style changes. r=bz, sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@172977 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-03 03:46:51 +00:00
masayuki%d-toybox.com
03d259c108 bug 292263 ATOK's Moji Palette that is like software keyboard doesn't work. r=timeless, sr=neil, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@172878 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 18:30:23 +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
roc+%cs.cmu.edu
3d63df3114 Bug 289792. Make sure to use the correct (but stupid) reference view when translating event coordinates. Also, bulletproof nsViewManager to not rely on frames undoing event coordinate translations, in case we ever screw that up. r+sr=bzbarsky,a=asa
git-svn-id: svn://10.0.0.236/trunk@172244 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 22:41:52 +00:00
bzbarsky%mit.edu
46d9cf3192 Don't copy/paste code to cast to placeholder frames all over the place; use a
utility method instead.  Bug 276954, r+sr=roc, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172225 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-14 15:30:35 +00:00