Commit Graph

232 Commits

Author SHA1 Message Date
Olli.Pettay@helsinki.fi
34a6718afd Bug 363265, Scroll arrows, page up/page down, home, end, and space don't work in print preview, r=roc+myk,sr=roc,a=1.9+ 2007-11-09 02:19:12 -08:00
joshmoz@gmail.com
f219b51c26 remove XP_MAC usage. b=281889 r=cbarrett sr=roc a=roc 2007-10-01 16:20:37 -07:00
martijn.martijn@gmail.com
fb91d61afa Bug 362734 - Crash [@ nsPrintEngine::DocumentReadyForPrinting] with testcase that sets print preview, then reloads the page, patch by Andrew Smith, r=sharparrow1, sr=roc (blocking1.9 bug) 2007-09-04 14:44:42 -07:00
masayuki@d-toybox.com
a20d56bd8d Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
e51e8403e6 Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron 2007-08-21 19:57:06 -07:00
mats.palmgren@bredband.net
266f784855 Bye bye Xprint. b=326716 r+sr=dbaron 2007-06-13 11:02:58 -07:00
Olli.Pettay@helsinki.fi
7817abfbca Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu
2704d6350d Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -07:00
Olli.Pettay@helsinki.fi
40178e46a3 backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
kjh-5727@comcast.net
bc93bea324 Bug 377096 - Factor out nsIPrintOptions::AvailablePrinters. r=pavlov, sr=biesi. 2007-05-06 04:29:41 -07:00
bzbarsky@mit.edu
086c2eb0c0 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
79c66b8a27 Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron 2007-05-01 10:15:08 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
sharparrow1%yahoo.com
6eb7b30fcc Bug 371372: No print session created (regression from bug 370966). r+sr=roc. 2007-02-23 19:29:15 +00:00
sharparrow1%yahoo.com
8c4edcac47 Bug 370966: Fix error handling in nsPrintEngine. r+sr=roc. 2007-02-23 03:58:36 +00:00
sharparrow1%yahoo.com
c665c10b94 Bug 370852. Misc nsPrintEngine fixes/cleanups.r+sr=roc. 2007-02-20 00:44:57 +00:00
joshmoz%gmail.com
19b60dfc6a remove unused variables, other warning fixes. no bug. r/sr=bz 2007-02-16 08:04:44 +00:00
sharparrow1%yahoo.com
d986ad1f22 Bug 370034: Replace nsIDeviceContext::GetDeviceContextFor with nsIDeviceContext::Init. r+sr=roc 2007-02-15 11:08:47 +00:00
sharparrow1%yahoo.com
9f9ef10f7f Bustage fix for bug 369834. 2007-02-13 23:00:39 +00:00
sharparrow1%yahoo.com
a8f437abc4 Bug 369834: Get rid of SetAltDevice and friends (and fix print preview). r+sr=roc. 2007-02-13 22:36:59 +00:00
sharparrow1%yahoo.com
76a64e5c22 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
a39ff30284 Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
mats.palmgren%bredband.net
72dca139bf Reset 'mAltDC' when we finish Print Preview. b=365578 r+sr=roc 2007-01-26 18:26:00 +00:00
timeless%mozdev.org
4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
2084e073f8 Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc 2006-12-20 01:23:45 +00:00
sharparrow1%yahoo.com
fe85f89a4d Bug 363770: Fix print crash caused by premature release of print engine. r+sr=roc. 2006-12-17 21:39:03 +00:00
dbaron%dbaron.org
d5af630c22 Better API for used padding/border/margin: remove deprecated Calc*For on nsStyleStructs and add GetUsed* to nsIFrame. b=332922 r+sr=roc 2006-12-13 23:04:57 +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
sayrer%gmail.com
0d2f67fa51 bug 361005. remove nsCRT::strdup from layout. r+sr=bz 2006-11-17 01:49:06 +00:00
bzbarsky%mit.edu
84053a9abd When doing ContentRemoved, IndexOf() will always return -1. So don't use it.
Bug 360524, r+sr=roc
2006-11-13 21:27:44 +00:00
gavin%gavinsharp.com
2156c6d99b Bug 353410: useless null check in nsPrintEngine::SetupToPrintContent, patch by Ryan Jones <sciguyryan@gmail.com>, r+sr=roc 2006-09-20 18:26:15 +00:00
bmlk%gmx.de
3b2bf8ecb8 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 04:52:57 +00:00
sayrer%gmail.com
9395f31ee3 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron 2006-09-08 04:35:17 +00:00
mats.palmgren%bredband.net
ff9ebb7df2 Fix Print/Preview crash when (sub-)document doesn't have root content. b=345159 r+sr=bzbarsky 2006-07-25 16:05:49 +00:00
sharparrow1%yahoo.com
341097b456 Bug 344696: Remove nsIDeviceContext::Get/SetZoom. r+sr=roc. 2006-07-21 00:16:07 +00:00
bzbarsky%mit.edu
bf01cece13 Deal with the messed-up way changing any print-preview settings works by ignoring random calls to TurnScriptingOn which are trying to turn it off when it's already off. This way we only track the state when the first TurnScriptingOff call came through. Bug 340119, r+sr+branch181=sicking 2006-06-02 20:29:05 +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
cvshook%sicking.cc
d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
7d7cc60668 Don't print-preview <noscript> unless script is really disabled. Bug 334944, r+sr=jst 2006-04-22 00:06:30 +00:00
sharparrow1%yahoo.com
3dba8a1b8c Bug 333926: Don't create a widget for documents when printing (fix cocoa printing). r+sr=roc. 2006-04-18 00:37:53 +00:00
sharparrow1%yahoo.com
3b62c93943 Bug 332927: Cleanup iframe/frame printing code (and a couple other misc. cleanups) 2006-04-11 01:48:48 +00:00
sharparrow1%yahoo.com
1e650e3784 Bug 331415: some printing code cleanup. r+sr=roc. 2006-03-30 00:27:42 +00:00
bzbarsky%mit.edu
3b307aca09 Fix bug 325991 -- spinning event queues requires more care. r=jst, sr=shaver 2006-02-07 22:24:47 +00:00
sharparrow1%yahoo.com
ac6fed3850 Bug 321433 - Don't enable selection for printing. r+sr=roc. 2006-02-07 02:52:40 +00:00
sharparrow1%yahoo.com
8debca1822 Bug 326157: Get rid of unnecessary clipping code. r+sr=roc. 2006-02-07 02:22:06 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18: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
masayuki%d-toybox.com
856897abff Bug 317289 hang (never finish/freeze) printing selection in iframe r+sr=roc 2005-11-30 13:24:00 +00:00
bzbarsky%mit.edu
fe494a9f14 Don't paint selection shading on images when printing. Bug 312415, r+sr=roc 2005-11-29 16:26:22 +00:00
masayuki%d-toybox.com
8211dc3b14 Oops, currently the Tree is closed, backing out previous check-in. b=317289 2005-11-29 05:50:24 +00:00
masayuki%d-toybox.com
9a0e324461 Bug 317289 hang (never finish/freeze) printing selection in iframe r+sr=roc 2005-11-29 05:40:36 +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
roc+%cs.cmu.edu
4fbeaa90bb Bug 303023. Fix printing of SVG EMBED elements. r+sr=dbaron 2005-11-24 00:48:40 +00:00
timeless%mozdev.org
17f5f5429f Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless
2005-11-21 06:25:15 +00:00
timeless%mozdev.org
1c34e68034 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
dbaron%dbaron.org
3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +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
roc+%cs.cmu.edu
f8d744f15d Bug 73373. Allow multiple selections of content using the ctrl/option keys. This is for testing --- it will probably expose bugs in other places. r+sr=roc,patch by Martijn Wargers. 2005-08-31 02:16:03 +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
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
mats.palmgren%bredband.net
dd31c1c22e Allow spacebar to scroll in Print Preview. b=158362 r=neil sr=bzbarsky a=benjamin 2005-07-26 00:21:29 +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
masayuki%d-toybox.com
b3c6b8174a Bug 217332 When I ask for only pages 1 to 1 to be printed, page 2 prints as well. If the page has IFRAME r+sr=roc, a=benjamin 2005-07-20 08:45:22 +00:00
bzbarsky%mit.edu
eb8a6b7fe6 Make sure to disable scripting in all subframes while in print preview; fixes
crashes.  Bug 299107, patch by Martijn Wargers <martijn.martijn@gmail.com>,
r+sr=bzbarsky, a=bsmedberg
2005-07-13 19:10:00 +00:00
roc+%cs.cmu.edu
c682260f76 Bug 297669. Don't specially avoid reflowing/printing zero-size subdocuments when printing. Fixes a hang. r+sr=me,a=chofmann,patch by Martijn Wargers 2005-06-24 02:10:58 +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
roc+%cs.cmu.edu
7fefa798b7 Bug 291775. Fix print preview UI by making nsPrintEngine::GetSeqFrameAndCountPagesInternal use the frame constructor API to correctly find the page sequence frame. r+sr=bzbarsky,a=chofmann 2005-04-26 03:17:07 +00:00
bzbarsky%mit.edu
14a25b0710 Don't show username/password in the URI we print. Bug 186695, r=jst, sr=darin 2005-03-18 04:16:02 +00:00
bsmedberg%covad.net
3219ac4125 Bug 282057 - brand.dtd/properties live in the wrong chrome package... xulrunner apps cannot provide these files, which means they can't use various toolkit features r=darin moa=Neil (seamonkey) 2005-03-10 04:38:35 +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
bzbarsky%mit.edu
1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
dbaron%dbaron.org
d1da171a4f Restore old code that prevents printing or previewing XUL documents, since it still doesn't work. b=240490 r+sr=roc 2004-12-24 22:27:57 +00:00
ginn.chen%sun.com
3ead8bc443 Bug 274685 [print]Mozilla can't print frame correctly
patch=leon.sha@sun.com r=roc sr=roc
2004-12-22 03:26:29 +00:00
smontagu%smontagu.org
6a9211d8aa Fix a crash in printing pages with non-visible elements. Bug 275262, r+sr=roc 2004-12-21 11:51:13 +00:00
dbaron%dbaron.org
972b29f4a1 Remove nsFormControlHelper::GetLocalizedString, improve string bundle methods in nsContentUtils, and convert callers. b=273829 r+sr=bryner 2004-12-17 20:40:48 +00:00
bsmedberg%covad.net
60567bb185 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
dbaron%dbaron.org
958a20f89e Fix make install bustage. 2004-12-09 23:39:48 +00:00
dbaron%dbaron.org
953fdd4a1f Bug 272151: reorganize files within layout, r+sr=roc: add new Makefiles. 2004-12-07 18:09:28 +00:00
dbaron%dbaron.org
615caad017 Remove unneeded include. b=272151 2004-12-07 02:49:12 +00:00
shaver%mozilla.org
af61b217ff Bug 267352: make sure frame construction events are flushed before starting
to print, to fix regression (form inputs print blank) from 228557. r=darin,
sr=jst, a=roc.
2004-11-17 16:38:01 +00:00
neil%parkwaycc.co.uk
2ab7153f7e Bug 267302 Views should be created by the view manager r+sr=roc 2004-11-04 15:06:50 +00:00
bzbarsky%mit.edu
a2afb45863 "Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia
2004-10-24 18:34:50 +00:00
bryner%brianryner.com
dc76c57a2c deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc. 2004-09-02 03:08:51 +00:00
neil%parkwaycc.co.uk
6f47653428 Bug 255929 Can't drag scrollbar in Print Preview r+sr=roc 2004-08-18 19:17:13 +00:00
bryner%brianryner.com
6a8c79a9b2 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com
0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
jst%mozilla.jstenback.com
23b9aa362d Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org 2004-07-16 17:03:10 +00:00
bzbarsky%mit.edu
89005ed71c Fix preshints in anonymous content some more (by moving all document sheet
styleset munging out of the document viewer and into the document and splitting
out the preshint levels completely from the other CSS levels).  Bug 234861,
r+sr=dbaron
2004-07-15 20:30:30 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
neil%parkwaycc.co.uk
d1e2c2e843 Bug 245641 Make scrollbars draggable in print preview again r/sr=jst 2004-06-16 08:11:30 +00:00
neil%parkwaycc.co.uk
0159845314 Bug 245024 Fix crash in print preview by blocking click events r/sr=jst 2004-06-04 22:06:05 +00:00
roc+%cs.cmu.edu
cab775b57b Backing out 233441. 2004-05-17 16:29:13 +00:00
roc+%cs.cmu.edu
e0fe2b43bd Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2004-05-06 03:17:14 +00:00
bryner%brianryner.com
7d80b4f5cf deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
jst%mozilla.jstenback.com
77c4322ab2 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
gerv%gerv.net
9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00