Commit Graph

379 Commits

Author SHA1 Message Date
5e3256eb6f Bug 430150: During print-selection, use zoom ratio to scale y-position and height of selection, so that it doesn't get shifted too far when we move it to top of page. r+sr=roc a1.9=damons 2008-04-21 18:22:48 -07:00
794988423c Bug 429337: re-landing patch, with bustage fix. (bustage fix initializes nsPrintSettingsGTK::mPrintSelectionOnly to false in default constructor. Wasn't getting initialized before.) 2008-04-21 18:18:26 -07:00
9d770cba36 Backing out bug 429337 to fix broken printing reftests on linux test box. 2008-04-21 17:48:12 -07:00
ec1b8b6c49 Bug 429337: During print-selection, don't use an unconstrained page height everywhere -- just on the reflowSize (where we need it, to catch selections on pages beyond the first). r+sr=roc a=beltzner 2008-04-21 15:36:26 -07:00
8461a5118f backout Bug 424377, a=beltzner 2008-04-15 11:02:22 -07:00
2c317f145e Minor comment-only change (fixing typo) 2008-04-10 17:39:16 -07:00
1274f522c3 Bug 408355: Better fix for bug 396024 that doesn't leak (as much). r+sr=roc, a=beltzner 2008-04-08 22:24:13 -07:00
580fbdd346 Bug 389949, second patch: rotate landscape-mode printed output in Linux. (so we don't end up printing landscape-oriented content on top of portrait-oriented paper.) r+sr=vlad a=blocking1.9 2008-04-07 17:32:48 -07:00
24c5296610 Bug 424377, r=jst, sr=roc 2008-04-01 03:37:28 -07:00
a4bcda9783 Bug 423345: Use mIsCreatingPrintPreview, not mIsDoingPrintPreview, to check if we're setting up a print-preview page. r+sr=vlad a=blocking1.9+ 2008-03-19 16:04:40 -07:00
808135857e Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) Orig Patch: [r=ventron sr=roc] Updates: [r=ventron r+sr=vlad] a=blocking1.9+ 2008-03-19 13:51:42 -07:00
df25a6140d Backing out Bug 417356, due to pagination reftest failures. 2008-03-14 01:50:13 -07:00
ac7f310325 Bug 417356: Define & use "UnwriteableMargin" PrintSettings pref, to make Linux printing work more like Mac printing (keeping us from printing right up against the edge of the page) r=ventron sr=roc a=blocking1.9+ 2008-03-14 00:48:04 -07:00
f40c6d5b86 Bug 407080: Disallow print-preview while page is loading. (Re-landing with broken mochitest disabled) r+sr=roc, a=blocking1.9+ 2008-03-13 14:12:55 -07:00
243c826b73 Backing out bug 407080 to investigate breakage of mochitest test_bug396024.html 2008-03-03 22:11:54 -08:00
d641ade830 Bug 407080: Disallow print-preview if page is loading. r+sr=roc, a=blocking1.9+ 2008-03-03 17:05:27 -08:00
17259f0581 Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep 2008-02-18 23:36:50 -08:00
f0d15798aa Bug 398269. Treat naked <frame> elements not in framesets like <iframes> when printing. r+sr=mats 2008-02-06 20:00:50 -08:00
c89a0eb1b5 Bug 389358 -- Give doc title & URL to pageSeqFrame for display in print-preview header. r+sr=roc; a=blocking1.9+ 2008-01-28 22:49:54 -08:00
6b8c86b0e6 Bug 193001 - "Use gnome's native print dialog" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr+a1.9=roc] 2008-01-20 19:47:25 -08:00
94a8704299 Back out Michael Ventnor's patch from bug 193001 for now, as it is causing crashes in bug 396024's mochitest. 2008-01-17 02:11:00 -08:00
d7ef4c0f48 Bug 193001 - "Use gnome's native print dialog" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a1.9=schrep] 2008-01-16 22:27:50 -08:00
7260a7259c Bug 404519 - "some margin and edges twips/app units confusion" [p=reg@freebsd.org (Jeremy Lea) / chpe@gnome.org (Christian Persch) r+sr=roc a1.9=schrep] 2007-11-20 21:09:58 -08:00
7e0603fd12 Bug 301560, print() from modal dialog crashes browser [@ nsPrintEngine::ShowPrintProgress], r+sr=bz, a=blocking1.9+ 2007-11-12 04:17:23 -08:00
3a4c4b6a20 Bug 398265, Crash [@ nsPrintPreviewListener::RemoveListeners()] with <frame> on print preview, r+sr=roc, a=1.9+ 2007-11-09 14:38:46 -08:00
5baf064a6d 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
9f351ff772 remove XP_MAC usage. b=281889 r=cbarrett sr=roc a=roc 2007-10-01 16:20:37 -07:00
bc58a7eab6 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
d0829b5bfc 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
0251575d88 Bye bye Xprint. b=326716 r+sr=dbaron 2007-06-13 11:02:58 -07:00
70e37b2ff0 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
48b9089c92 Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -07:00
0f958609c2 backout Bug 363089 2007-05-11 06:34:05 -07:00
833e8c64f1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
0f87786718 Bug 377096 - Factor out nsIPrintOptions::AvailablePrinters. r=pavlov, sr=biesi. 2007-05-06 04:29:41 -07:00
797cbafcf5 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
sharparrow1@yahoo.com
cf41c23d50 Bug 371372: No print session created (regression from bug 370966). r+sr=roc. 2007-02-23 19:29:15 +00:00
sharparrow1@yahoo.com
5d8654fd83 Bug 370966: Fix error handling in nsPrintEngine. r+sr=roc. 2007-02-23 03:58:36 +00:00
sharparrow1@yahoo.com
bef99e16da Bug 370852. Misc nsPrintEngine fixes/cleanups.r+sr=roc. 2007-02-20 00:44:57 +00:00
joshmoz@gmail.com
d9d6e45ab4 remove unused variables, other warning fixes. no bug. r/sr=bz 2007-02-16 08:04:44 +00:00
sharparrow1@yahoo.com
8b4fbf4bb6 Bug 370034: Replace nsIDeviceContext::GetDeviceContextFor with nsIDeviceContext::Init. r+sr=roc 2007-02-15 11:08:47 +00:00
sharparrow1@yahoo.com
bba8e292d1 Bustage fix for bug 369834. 2007-02-13 23:00:39 +00:00
sharparrow1@yahoo.com
4541ca4130 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
2da748b9c2 Bug 177805: Fix the use of units in Gecko. r+sr=roc 2007-02-07 07:46:44 +00:00
cvshook@sicking.cc
e80f1dba4e 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
5d0ac50e8c Reset 'mAltDC' when we finish Print Preview. b=365578 r+sr=roc 2007-01-26 18:26:00 +00:00
timeless@mozdev.org
f4ef17d178 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron@dbaron.org
1f83839699 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
74addd8c3d 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
13db671d0b 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