Commit graph

557 commits

Author SHA1 Message Date
jst%mozilla.org
1074e59e98 Fixing bug 366393. Attempt to schedule GC between pageloads when possible rather than slowing down page load with GC calls while loading. r+sr=bugmail@sicking.cc 2007-01-11 00:02:58 +00:00
mats.palmgren%bredband.net
22f3bc9e9c Print Preview crash when accessing print engine data before it's fully created. b=365003 r=sharparrow1 sr=roc 2007-01-01 10:53:11 +00:00
mats.palmgren%bredband.net
09e0871a51 Crash [@ nsPrintEngine::PrintPreview] when trying to print preview a display:none iframe. b=365004 r=sharparrow1 sr=roc 2006-12-31 08:13:56 +00:00
sayrer%gmail.com
ac8b462aaf Bug 363506. Can not build nsDocumentViewer.cpp with --disable-printing. Patch by Andreas Lange <mozilla@lange.cx>. r+sr=roc 2006-12-12 23:00:52 +00:00
sharparrow1%yahoo.com
01ccd95a11 Bug 361844: Printing cleanup; r+sr=roc. Changes the way the presentation is managed for print preview, plus many smaller cleanups. 2006-12-10 08:05:05 +00:00
kjh-5727%comcast.net
5f49ed61b9 Bug 360485 - Factor out nsIDeviceContextSpecFactory. Part 1: changed files. r=pavlov, sr=roc. 2006-12-09 17:18:56 +00:00
dbaron%dbaron.org
31f1898810 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
roc+%cs.cmu.edu
2f8f7e5581 Bug 130078. Reverting fix because of regressions. We'll have to come back to this again :-(. 2006-11-23 01:12:52 +00:00
martijn.martijn%gmail.com
ac5c56b9f4 Fix small issue with patch for bug 361334 (Onbeforeunload dialog has too many line breaks), r+sr=jst 2006-11-22 18:41:11 +00:00
martijn.martijn%gmail.com
d09e64e987 Bug 361334 - Onbeforeunload dialog has too many line breaks, r+sr=jst 2006-11-21 23:57:21 +00:00
roc+%cs.cmu.edu
1839efdd55 Bug 130078. Integrate view hierarchies, watching for perf results. r+sr=dbaron 2006-11-13 22:59:14 +00:00
bzbarsky%mit.edu
5a8b3013c7 Fix leaks in thebes and canvas code due to nsIWidget and nsIRenderingContext
being badly documented and not using already_AddRefed when they should.  Bug
359341, r=pavlov, sr=roc
2006-11-13 21:31:53 +00:00
jst%mozilla.org
509a1c7771 Landing fix for bug 324036. Fix bogus assertion. Patch by ajvincent@gmail.com, r+sr=jst@mozilla.org 2006-10-19 22:43:59 +00:00
bmlk%gmx.de
787acea91d remove debug cruft (MOZ_LAYOUTDEBUG) and say that printing is finished once the regression dump is done bug 339500 r=sharparrow1 sr=dbaron 2006-09-09 05:06:04 +00:00
Olli.Pettay%helsinki.fi
a42613e4f6 Bug 350846, Combine NS_***_LOAD events, r+sr=jst 2006-08-31 19:33:01 +00:00
bryner%brianryner.com
6199631cfd fixing bustage from bug 319551 (bad trunk merge) 2006-06-26 19:06:20 +00:00
bryner%brianryner.com
1230d880ae Clear the old child docshells when SetDOMDocument is called, so that they don't get persisted in session history before they're GC'd. Also, update SHEntry to hold strong references to the child docshells. Bug 319551, r=sicking sr=bzbarsky 2006-06-26 18:48:52 +00:00
mark%moxienet.com
a66ed53902 209989 After Find Again (Ctrl-G/F3), text highlighting color becomes green. Patch by Peter Kasting <pkasting@google.com>. r=mconnor sr=dbaron 2006-06-17 01:05:26 +00:00
martijn.martijn%gmail.com
bc8ea1ce1c Bug 337356 - Page zoom breaks if content policy accesses frame's document, r+sr=bzbarsky 2006-06-12 13:49:46 +00:00
bzbarsky%mit.edu
7d1587d182 Make stylesheet service sheets apply dynamically. Bug 335689, r+sr=dbaron 2006-06-08 14:32:20 +00:00
Olli.Pettay%helsinki.fi
68d82c8fad Bug 336978, Crash when window gets destroyed on pagehide event, r+sr=bryner 2006-05-24 20:31:59 +00:00
Olli.Pettay%helsinki.fi
cb1f0a0bb9 Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc 2006-05-19 10:26:44 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
bzbarsky%mit.edu
d42ce1c09a Restoring timeless' comment that was removed (with no review, too). 2006-05-06 23:44:09 +00:00
timeless%mozdev.org
5aa27b6361 Bug 334295 status is used uninitialized in DocumentViewerImpl::DumpContentToPPM if fopen fails
r=roc sr=roc
2006-05-06 21:56:37 +00:00
roc+%cs.cmu.edu
0df069259f Bug 130078. Backing out now that I have perf. numbers 2006-05-04 05:36:53 +00:00
roc+%cs.cmu.edu
7a9451c41b Bug 130078. Test checkin of patch to unify view manager hierarchy. We need to see how this affects performance metrics. r+sr=dbaron 2006-05-04 03:46:19 +00:00
dbaron%dbaron.org
8d32a06b5b Initialize rv. b=334655 r+sr=roc 2006-04-19 21:14:57 +00:00
sharparrow1%yahoo.com
67d4723e36 Bug 334416: Misc view usage cleanups. r+sr=roc. 2006-04-18 06:05:24 +00:00
atremon%elansoftware.com
0d3d560420 Bug 332701 remove timeless' comment (patch for rev 1.477 sr=roc) 2006-04-10 13:48:13 +00:00
martijn.martijn%gmail.com
e75f7f31b2 Bug 331040 - Crash when removing parent iframe in onbeforunload handler. Patch by Feng Qian, r=bryner, sr=bzbarsky 2006-04-05 23:57:30 +00:00
timeless%mozdev.org
b658ac08cc Bug 332701 build fails in nsDocumentViewer.cpp due to unguarded use of SetUseAltDC if NS_PRINT_PREVIEW undefined
r=atremon@elansoftware.com,roc sr=roc
2006-04-05 04:37:44 +00:00
sharparrow1%yahoo.com
dc0d45c95e Bug 244055: Page layout for editor. There is no UI yet, and caret display is buggy at the moment, but otherwise it works. Patch by Alexandre Tr�mon, r+sr=roc. 2006-04-01 01:19:28 +00:00
darin%meer.net
20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
dbaron%dbaron.org
5dcd0b1309 One-line descriptions of files, partly because they show up in LXR. 2006-03-30 05:56:38 +00:00
sharparrow1%yahoo.com
1e650e3784 Bug 331415: some printing code cleanup. r+sr=roc. 2006-03-30 00:27:42 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
bzbarsky%mit.edu
950c61cf37 Remove the mPresShell member of nsBoxObject, and some other cleanup. Bug
329181, r=neil, sr=jst
2006-03-07 03:20:39 +00:00
roc+%cs.cmu.edu
77bca74243 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
timeless%mozdev.org
33cad8079d Bug 319854 Firefox crashes on redirect after Firefox-warning [@ DocumentViewerImpl::PermitUnload
r=jst sr=jst
2006-01-12 06:30:05 +00:00
neil%parkwaycc.co.uk
ed906ab7d1 Bug 318128 Fix abuse of the CSS loader as a service r=bsmedberg sr=bz 2005-12-09 11:10:36 +00:00
dbaron%dbaron.org
f2a37733b9 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 2005-12-03 07:42:40 +00:00
jst%mozilla.jstenback.com
7223904a81 Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2005-12-01 19:35:27 +00:00
mrbkap%gmail.com
1789e54d33 bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst 2005-11-30 23:41:49 +00:00
jst%mozilla.jstenback.com
8f1863159b Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
smontagu%smontagu.org
0a9e2a3d0e Reflow when Bidi options are changed. Bug 80352, r+sr=bzbarsky 2005-11-13 09:55:09 +00:00
bryner%brianryner.com
f9c219472d Unhook subframe containers / link handlers when putting a document into bfcache, and restore them when restoring the document (bug 314549). r+sr=bzbarsky. 2005-11-06 19:23:03 +00:00
bryner%brianryner.com
7962a513cf Restore the focus listener in Open() that was removed in Close() (bug 314400). Patch by saito@densan.co.jp, r=me, sr=brendan. 2005-11-01 21:55:34 +00:00
cvshook%sicking.cc
7371067364 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
2005-10-07 20:20:52 +00:00
peterv%propagandism.org
a91a09cd13 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-26 14:37:29 +00:00
bryner%brianryner.com
6ba0ca043f Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me. 2005-09-23 18:16:40 +00:00
mrbkap%gmail.com
2ca316a454 bug 308788: DocumentViewerImpl needs to QI to nsISupports for things to work correctly. r+sr=dbaron 2005-09-16 19:57:20 +00:00
dougt%meer.net
4435542681 This fixes the NS_PRINTING configure option which got broken at some point. b=308629 r/sr=jst@mozilla.org 2005-09-16 02:25:37 +00:00
bryner%brianryner.com
53d768e870 Backing out 292965 until Tp regression is understood. 2005-09-14 07:28:05 +00:00
bryner%brianryner.com
d67792fcc9 Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me. 2005-09-14 03:38:40 +00:00
bzbarsky%mit.edu
818aafcc15 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
2005-09-12 18:41:15 +00:00
smfr%smfr.org
1469ecb299 Fix bug 208601: DocumentViewerImpl::GetCanGetContents() was incorrectly returning false for text fields, because it was looking at the document's selection, rather than the text field selection. Fix by exposing nsIPresShell::GetSelectionForCopy(), and calling that. This fixes the Services menu in Camino to work in text fields. r/sr=roc. 2005-08-29 15:19:13 +00:00
bzbarsky%mit.edu
0d6a610963 Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
2005-08-22 22:24:29 +00:00
bryner%brianryner.com
091d8cf9cb 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. 2005-08-22 01:55:34 +00:00
bzbarsky%mit.edu
482bc40078 Document interaction of nsIStyleSheetService with ua.css and user*.css. Bug
305026, r+sr=dbaron
2005-08-20 01:24:00 +00:00
roc+%cs.cmu.edu
889049f5f4 Backing out fix for bug 130078 because of performance regressions. 2005-08-18 19:44:55 +00:00
roc+%cs.cmu.edu
1da9d9ae96 Bug 130078. Integrate all view managers in a given top-level window into a single view manager tree. r+sr=dbaron 2005-08-18 17:14:29 +00:00
mrbkap%gmail.com
2b7c7bca7a 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 2005-08-15 18:16:42 +00:00
cbiesinger%web.de
26a83fee9a bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron
2005-08-13 11:54:22 +00:00
mrbkap%gmail.com
c5688dfef2 Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained. 2005-08-13 03:54:29 +00:00
mrbkap%gmail.com
59fbced3fe 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. 2005-08-13 00:53:39 +00:00
dbaron%dbaron.org
6699b9a74c 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 2005-08-02 20:19:19 +00:00
jst%mozilla.jstenback.com
8c2bc6fcb8 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 2005-07-30 20:57:07 +00:00
timeless%mozdev.org
60af39f0dd Bug 302545 crash w/ --enable-timeline [@ DocumentViewerImpl::LoadComplete]
r=bz sr=bz a=asa
2005-07-29 10:09:08 +00:00
mats.palmgren%bredband.net
d233eed1e1 (Followup) Fix focus related crashes in Print Preview. b=244128 r+sr=bzbarsky a=benjamin 2005-07-26 00:55:05 +00:00
mats.palmgren%bredband.net
9e90d126c5 Prevent having kbd focus inside the content document in Print Preview. b=244128 r=bryner sr=bzbarsky a=asa 2005-07-21 00:15:27 +00:00
roc+%cs.cmu.edu
ba0eb45c1a Bug 296838. Rework drawWindow a bit so it draws fixed-position elements. r/rs=dbaron,a=asa 2005-07-19 23:24:30 +00:00
timeless%mozdev.org
7cbd7eba7a Bug 299575 nsDocumentViewer.cpp:1329 unused variable `PRBool updateHistory'
patch by b.jacques@planet.nl r=bryner sr=bryner a=bsmedberg
2005-07-13 18:23:27 +00:00
bryner%brianryner.com
d99a80f804 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. 2005-07-01 07:12:02 +00:00
roc+%cs.cmu.edu
17da1f0409 Backing out fix for bug 296838 to see how it's hurting Tp 2005-06-23 00:17:45 +00:00
roc+%cs.cmu.edu
53259eb945 Bug 296838. Allow drawWindow to draw fixed-position elements. rubberstamp r+sr=dbaron,a=chofmann 2005-06-21 04:07:04 +00:00
bryner%brianryner.com
ec6e1ad2c6 Make sure to null out the pres context's container when putting the page into session history (bug 297173). r+sr=dbaron, a=brendan. 2005-06-21 02:18:57 +00:00
bryner%brianryner.com
d0503004d6 null-check mDocument in case firing onload causes it to go away (bug 298022). r=darin, a=asa. 2005-06-17 21:49:01 +00:00
bryner%brianryner.com
a3c4863842 Protect against handing out a dangling reference to the document viewer while executing the destructor (bug 293403). sr=bzbarsky, a=asa. 2005-06-17 07:01:36 +00:00
bryner%brianryner.com
e4a343f08f 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. 2005-06-15 23:52:46 +00:00
bryner%brianryner.com
606589d9d8 Fix a crash when tearing down a document viewer if a document never started to load (bug 295085). r+sr=bzbarsky, a=chofmann. 2005-06-02 01:02:16 +00:00
timeless%mozdev.org
115fc7fb70 Bug 289477 crash [@ DocumentViewerImpl::GetPopupImageNode] when popupnode is null
r=biesi sr=bz a=shaver
2005-06-01 16:26:51 +00:00
roc+%cs.cmu.edu
abefc4f884 Bug 293947. Add canvas API to render a DOM window to the canvas, including transparency support. r=vlad,sr=darin,a=asa 2005-05-19 21:28:58 +00:00
bryner%brianryner.com
87f0855b0e Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky. 2005-05-18 03:52:33 +00:00
bryner%brianryner.com
71f3834f98 Fix crash with fast-back enabled when a reload wipes out a cached docshell (bug 293534). r+sr=bzbarsky, a=brendan. 2005-05-15 00:30:02 +00:00
bzbarsky%mit.edu
689b3ce693 Protect against sizeToContent being called on windows with no content a bit.
Bug 293781, r+sr=roc, a=asa
2005-05-13 19:47:38 +00:00
bryner%brianryner.com
aed69207f0 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. 2005-05-04 20:22:32 +00:00
jst%mozilla.jstenback.com
50de4a3e1d 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 2005-04-28 23:48:28 +00:00
roc+%cs.cmu.edu
4ab8153bb1 Bug 288873. Don't let nsSubDocumentFrame tear down a presentation it didn't build. r+sr=bzbarsky,a=asa. 2005-04-07 04:04:06 +00:00
jst%mozilla.jstenback.com
f222e7e4d7 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 2005-03-18 15:33:51 +00:00
neil%parkwaycc.co.uk
6b8f8074bd 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 2005-03-11 11:12:15 +00:00
roc+%cs.cmu.edu
aface91878 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 2005-03-07 01:24:22 +00:00
bzbarsky%mit.edu
3da18aa1d2 Remove unused and unimplemented attribute on nsIMarkupDocumentViewer. Bug
282973, r+sr=jst
2005-02-21 16:39:01 +00:00
cvshook%sicking.cc
ef83c8a4f6 Give XSLT transformed documents a container so that events and focus work properly. Bug 236596.
r/sr=peterv
2005-02-05 13:41:00 +00:00
bryner%brianryner.com
f575a675b2 Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc. 2005-01-31 23:47:26 +00:00
neil%parkwaycc.co.uk
a3392e7e6c Bug 276002 Change nsContenUtils::Get/FormatLocalizedString to use nsXPIDLString to save on nsAutoString copies r=dbaron sr=bryner 2005-01-18 23:46:59 +00:00
neil%parkwaycc.co.uk
f29d0d0920 Bug 274703 sizeToContent doesn't compute the correct size in certain cases e.g. after setting description text r=jst sr=bz 2005-01-15 18:01:22 +00:00
bryner%brianryner.com
e464405de3 Add a mechansim to extend the list of agent or user stylesheets. Bug 179006, r+sr=bzbarsky. 2005-01-15 00:10:19 +00:00
bzbarsky%mit.edu
38e3d448d9 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
2005-01-12 04:11:26 +00:00
bzbarsky%mit.edu
1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00