499 Commits

Author SHA1 Message Date
bryner%brianryner.com
760b97437e 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.
git-svn-id: svn://10.0.0.236/trunk@178582 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 01:55:34 +00:00
bzbarsky%mit.edu
b3927a08e9 Document interaction of nsIStyleSheetService with ua.css and user*.css. Bug
305026, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@178326 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-20 01:24:00 +00:00
roc+%cs.cmu.edu
05e838107a Backing out fix for bug 130078 because of performance regressions.
git-svn-id: svn://10.0.0.236/trunk@178194 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 19:44:55 +00:00
roc+%cs.cmu.edu
9e2357e05c Bug 130078. Integrate all view managers in a given top-level window into a single view manager tree. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@178171 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 17:14:29 +00:00
mrbkap%gmail.com
1990895d08 bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner
git-svn-id: svn://10.0.0.236/trunk@177765 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 18:16:42 +00:00
cbiesinger%web.de
c41020b640 bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@177690 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 11:54:22 +00:00
mrbkap%gmail.com
674ac13620 Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained.
git-svn-id: svn://10.0.0.236/trunk@177687 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 03:54:29 +00:00
mrbkap%gmail.com
7d07d878fd bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078.
git-svn-id: svn://10.0.0.236/trunk@177684 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 00:53:39 +00:00
dbaron%dbaron.org
78014a241f Propagate SetBounds to mPreviousViewer so that resizes work correctly during paint suppression, which is especially important for Firefox infobar. b=290991 r=bzbarsky sr=roc a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177010 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 20:19:19 +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
3dcc66470d Bug 302545 crash w/ --enable-timeline [@ DocumentViewerImpl::LoadComplete]
r=bz sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@176831 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-29 10:09:08 +00:00
mats.palmgren%bredband.net
4d0c915139 (Followup) Fix focus related crashes in Print Preview. b=244128 r+sr=bzbarsky a=benjamin
git-svn-id: svn://10.0.0.236/trunk@176593 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 00:55:05 +00:00
mats.palmgren%bredband.net
f77a66da83 Prevent having kbd focus inside the content document in Print Preview. b=244128 r=bryner sr=bzbarsky a=asa
git-svn-id: svn://10.0.0.236/trunk@176372 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 00:15:27 +00:00
roc+%cs.cmu.edu
6b841d815c Bug 296838. Rework drawWindow a bit so it draws fixed-position elements. r/rs=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@176295 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 23:24:30 +00:00
timeless%mozdev.org
0318b4ddfb Bug 299575 nsDocumentViewer.cpp:1329 unused variable `PRBool updateHistory'
patch by b.jacques@planet.nl r=bryner sr=bryner a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176027 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 18:23:27 +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
roc+%cs.cmu.edu
d3fc9c1d9c Backing out fix for bug 296838 to see how it's hurting Tp
git-svn-id: svn://10.0.0.236/trunk@175026 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 00:17:45 +00:00
roc+%cs.cmu.edu
55544718d6 Bug 296838. Allow drawWindow to draw fixed-position elements. rubberstamp r+sr=dbaron,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@174925 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 04:07:04 +00:00
bryner%brianryner.com
76a5374359 Make sure to null out the pres context's container when putting the page into session history (bug 297173). r+sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@174920 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 02:18:57 +00:00
bryner%brianryner.com
386159537a null-check mDocument in case firing onload causes it to go away (bug 298022). r=darin, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174801 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 21:49:01 +00:00
bryner%brianryner.com
d957943c91 Protect against handing out a dangling reference to the document viewer while executing the destructor (bug 293403). sr=bzbarsky, a=asa.
git-svn-id: svn://10.0.0.236/trunk@174768 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 07:01:36 +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
bryner%brianryner.com
b40b4ea8fb Fix a crash when tearing down a document viewer if a document never started to load (bug 295085). r+sr=bzbarsky, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@174013 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 01:02:16 +00:00
timeless%mozdev.org
ceaad2592b Bug 289477 crash [@ DocumentViewerImpl::GetPopupImageNode] when popupnode is null
r=biesi sr=bz a=shaver


git-svn-id: svn://10.0.0.236/trunk@173931 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 16:26:51 +00:00
roc+%cs.cmu.edu
d3ebd1725b Bug 293947. Add canvas API to render a DOM window to the canvas, including transparency support. r=vlad,sr=darin,a=asa
git-svn-id: svn://10.0.0.236/trunk@173605 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-19 21:28:58 +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
bryner%brianryner.com
b3fad70a54 Fix crash with fast-back enabled when a reload wipes out a cached docshell (bug 293534). r+sr=bzbarsky, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173450 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-15 00:30:02 +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
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
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
88019f7491 Bug 288873. Don't let nsSubDocumentFrame tear down a presentation it didn't build. r+sr=bzbarsky,a=asa.
git-svn-id: svn://10.0.0.236/trunk@171844 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 04:04:06 +00:00
jst%mozilla.jstenback.com
0c35201318 Fixing bug 245809. Implement event.returnValue (IE:ism) for beforeunload events as the mechansim for passing data back to the browser from a beforeunload handler that was registerd with addEventListener(). r=bzbarsky@mit.edu, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@170897 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-18 15:33:51 +00:00
neil%parkwaycc.co.uk
fd6bd2688a Add HTML to the list of support flavours for Copy Image and provide an embedding interface to choose the flavours to copy b=135300 r=bz sr=smfr
git-svn-id: svn://10.0.0.236/trunk@170561 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-11 11:12:15 +00:00
roc+%cs.cmu.edu
80ebc8eca4 Bug 285038. Support offscreen rendering API in nsIViewManager and provide MOZ_FORCE_PAINT_AFTER_ONLOAD environment variable hack to dump loaded documents to image files. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@170255 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 01:24:22 +00:00
bzbarsky%mit.edu
967cea925d Remove unused and unimplemented attribute on nsIMarkupDocumentViewer. Bug
282973, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@169561 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 16:39:01 +00:00
cvshook%sicking.cc
989d0480fb Give XSLT transformed documents a container so that events and focus work properly. Bug 236596.
r/sr=peterv


git-svn-id: svn://10.0.0.236/trunk@168844 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-05 13:41:00 +00:00
bryner%brianryner.com
8ed5dd41fb Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@168595 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-31 23:47:26 +00:00
neil%parkwaycc.co.uk
e717d9b1f9 Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner
git-svn-id: svn://10.0.0.236/trunk@167959 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-18 23:46:59 +00:00
neil%parkwaycc.co.uk
29a910e811 Bug 274703 sizeToContent doesn't compute the correct size in certain cases e.g. after setting description text r=jst sr=bz
git-svn-id: svn://10.0.0.236/trunk@167790 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-15 18:01:22 +00:00
bryner%brianryner.com
82d9392c4f Add a mechansim to extend the list of agent or user stylesheets. Bug 179006, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@167752 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-15 00:10:19 +00:00
bzbarsky%mit.edu
18540085b3 Make DocumentViewerImpl::CopyImageContents also put the image URI on the
clipboard in the text flavor; a big step toward having a single "copy image"
command that puts it on the clipboard in all relevant flavors in a meaningful
way.  Bug 135300, patch by O. Atsushi (Torisugari) <torisugari@gmail.com>,
r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@167578 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 04:11:26 +00:00
bzbarsky%mit.edu
e272c87dda Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167223 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:51:17 +00:00
bmlk%gmx.de
e547c59f49 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@167037 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-26 19:48:54 +00:00
dbaron%dbaron.org
bdd42a3253 Restore old code that prevents printing or previewing XUL documents, since it still doesn't work. b=240490 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@167026 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-24 22:27:57 +00:00
dbaron%dbaron.org
13decbac15 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@166823 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 20:40:48 +00:00
dbaron%dbaron.org
bd7b973b00 Remove unneeded include. b=272151
git-svn-id: svn://10.0.0.236/trunk@166370 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 02:28:38 +00:00
bzbarsky%mit.edu
148fa42371 Put an update view batch around zoom-setting so we don't get drawing
artifacts.  Bug 270032, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@166004 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 03:28:44 +00:00
neil%parkwaycc.co.uk
18c53f2f32 Bug 267302 Views should be created by the view manager r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@164914 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 15:06:50 +00:00
dbaron%dbaron.org
82b0955d8d Store the visible area so other callers of InitialReflow use the right size rather than 0x0. b=227361 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@163676 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 21:59:26 +00:00
roc+%cs.cmu.edu
1df6a398e4 Bug 262760. Do Begin/EndUpdateViewBatch around all reflows and restyling. Also, make the refresh flags in EndUpdateViewBatch mean the same thing as they do in UpdateView. In particular we introduce NS_VMREFRESH_DEFERRED. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@163455 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 01:39:21 +00:00