183 Commits

Author SHA1 Message Date
dholbert%cs.stanford.edu
61e01b9c6c Bug 447835, r+sr=roc, a1.9.0.3=dveditz
git-svn-id: svn://10.0.0.236/trunk@254157 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-10 23:18:38 +00:00
dholbert%cs.stanford.edu
f4eb3edaa1 But 431587: Use zoom-ratio when computing number of needed pages during print-selection. r+sr=roc a=damons
git-svn-id: svn://10.0.0.236/trunk@251016 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-01 06:31:17 +00:00
dholbert%cs.stanford.edu
f3c3e66fe1 Bug 430748: In print-selection, crop out selection regions that are before the top of the first page. (e.g. initial whitespace) r+sr=roc a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250935 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-29 18:16:49 +00:00
dholbert%cs.stanford.edu
42ccf5a1ba Bug 430357: Subtract not just normal margin, but also unwriteable margin, when positioning selected block during print-selection. r+sr=roc a=damons
git-svn-id: svn://10.0.0.236/trunk@250641 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-23 01:53:20 +00:00
dholbert%cs.stanford.edu
c4e55503b3 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
git-svn-id: svn://10.0.0.236/trunk@250592 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-22 01:22:48 +00:00
dholbert%cs.stanford.edu
9d23139b1f Bug 429337: re-landing patch, with bustage fix. (bustage fix initializes nsPrintSettingsGTK::mPrintSelectionOnly to false in default constructor. Wasn't getting initialized before.)
git-svn-id: svn://10.0.0.236/trunk@250591 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-22 01:18:27 +00:00
dholbert%cs.stanford.edu
549a6515e1 Backing out bug 429337 to fix broken printing reftests on linux test box.
git-svn-id: svn://10.0.0.236/trunk@250589 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-22 00:48:12 +00:00
dholbert%cs.stanford.edu
db9df4ab53 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
git-svn-id: svn://10.0.0.236/trunk@250582 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-21 22:36:26 +00:00
Olli.Pettay%helsinki.fi
b6488ec6e9 backout Bug 424377, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250265 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-15 18:02:23 +00:00
dholbert%cs.stanford.edu
6b2db82894 Minor comment-only change (fixing typo)
git-svn-id: svn://10.0.0.236/trunk@250027 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-11 00:39:16 +00:00
ajschult%verizon.net
8819bf9721 Bug 408355: Better fix for bug 396024 that doesn't leak (as much). r+sr=roc, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@249888 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 05:24:13 +00:00
dholbert%cs.stanford.edu
878713b32d 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
git-svn-id: svn://10.0.0.236/trunk@249759 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-08 00:32:49 +00:00
Olli.Pettay%helsinki.fi
5596e1c30a Bug 424377, r=jst, sr=roc
git-svn-id: svn://10.0.0.236/trunk@248951 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-01 10:37:30 +00:00
dholbert%cs.stanford.edu
52c618cc21 Bug 423345: Use mIsCreatingPrintPreview, not mIsDoingPrintPreview, to check if we're setting up a print-preview page. r+sr=vlad a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@248222 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 23:04:40 +00:00
dholbert%cs.stanford.edu
a4fe313ff2 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+
git-svn-id: svn://10.0.0.236/trunk@248195 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 20:51:44 +00:00
dholbert%cs.stanford.edu
4f78efb0fa Backing out Bug 417356, due to pagination reftest failures.
git-svn-id: svn://10.0.0.236/trunk@247807 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 08:50:15 +00:00
dholbert%cs.stanford.edu
d1e031e4f4 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+
git-svn-id: svn://10.0.0.236/trunk@247802 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 07:48:07 +00:00
dholbert%cs.stanford.edu
e58b6c8eb6 Bug 407080: Disallow print-preview while page is loading. (Re-landing with broken mochitest disabled) r+sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@247770 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-13 21:12:56 +00:00
dholbert%cs.stanford.edu
ceb1e9f668 Backing out bug 407080 to investigate breakage of mochitest test_bug396024.html
git-svn-id: svn://10.0.0.236/trunk@246978 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 06:11:54 +00:00
dholbert%cs.stanford.edu
68cf22f2d3 Bug 407080: Disallow print-preview if page is loading. r+sr=roc, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@246963 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 01:05:27 +00:00
jag%tty.nl
66730e483a Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep
git-svn-id: svn://10.0.0.236/trunk@245954 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 07:36:52 +00:00
roc+%cs.cmu.edu
c738195c61 Bug 398269. Treat naked <frame> elements not in framesets like <iframes> when printing. r+sr=mats
git-svn-id: svn://10.0.0.236/trunk@245072 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 04:00:50 +00:00
dholbert%cs.stanford.edu
4c01c5de56 Bug 389358 -- Give doc title & URL to pageSeqFrame for display in print-preview header. r+sr=roc; a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@244309 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 06:49:54 +00:00
reed%reedloden.com
c1ba64331e Bug 193001 - "Use gnome's native print dialog" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr+a1.9=roc]
git-svn-id: svn://10.0.0.236/trunk@243641 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-21 03:47:28 +00:00
reed%reedloden.com
950b6f3300 Back out Michael Ventnor's patch from bug 193001 for now, as it is causing crashes in bug 396024's mochitest.
git-svn-id: svn://10.0.0.236/trunk@243354 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-17 10:13:33 +00:00
reed%reedloden.com
490472d4d1 Bug 193001 - "Use gnome's native print dialog" [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@243343 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-17 06:27:53 +00:00
reed%reedloden.com
121f7293a7 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]
git-svn-id: svn://10.0.0.236/trunk@239766 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-21 05:09:59 +00:00
Olli.Pettay%helsinki.fi
5f1c0350b4 Bug 301560, print() from modal dialog crashes browser [@ nsPrintEngine::ShowPrintProgress], r+sr=bz, a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@239199 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 12:17:23 +00:00
Olli.Pettay%helsinki.fi
9b706f181e Bug 398265, Crash [@ nsPrintPreviewListener::RemoveListeners()] with <frame> on print preview, r+sr=roc, a=1.9+
git-svn-id: svn://10.0.0.236/trunk@239107 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 22:38:46 +00:00
Olli.Pettay%helsinki.fi
fde675f559 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+
git-svn-id: svn://10.0.0.236/trunk@239047 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 10:19:12 +00:00
joshmoz%gmail.com
7fbad72616 remove XP_MAC usage. b=281889 r=cbarrett sr=roc a=roc
git-svn-id: svn://10.0.0.236/trunk@237027 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 23:20:38 +00:00
martijn.martijn%gmail.com
1eed6e98b8 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)
git-svn-id: svn://10.0.0.236/trunk@233885 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-04 21:44:42 +00:00
bzbarsky%mit.edu
762a211f7d Make sure to process style updates before reflow, and both before painting.
Bug 375436, r+sr=roc, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@232489 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 02:57:08 +00:00
mats.palmgren%bredband.net
99fe84e396 Bye bye Xprint. b=326716 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227989 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-13 18:03:03 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
bzbarsky%mit.edu
fa937acf1d Process XBL constructors right after the frame construction in
InitialReflow().  Bug 377119, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@226371 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 03:52:49 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
kjh-5727%comcast.net
7b754b8fab Bug 377096 - Factor out nsIPrintOptions::AvailablePrinters. r=pavlov, sr=biesi.
git-svn-id: svn://10.0.0.236/trunk@226003 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 11:29:42 +00:00
bzbarsky%mit.edu
708c53b956 Make InitialReflow just post a reflow event instead of doing a synchronous
reflow.  Bug 378975, r=dbaron and Eli Friedman, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225391 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 17:15:08 +00:00
sharparrow1%yahoo.com
bace2d68ca Bug 371372: No print session created (regression from bug 370966). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220840 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 19:29:15 +00:00
sharparrow1%yahoo.com
b29f425841 Bug 370966: Fix error handling in nsPrintEngine. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220798 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 03:58:36 +00:00
sharparrow1%yahoo.com
e03a4b340e Bug 370852. Misc nsPrintEngine fixes/cleanups.r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220565 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-20 00:44:57 +00:00
joshmoz%gmail.com
c65f7936f7 remove unused variables, other warning fixes. no bug. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@220399 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 08:04:44 +00:00
sharparrow1%yahoo.com
8e3fe5e197 Bug 370034: Replace nsIDeviceContext::GetDeviceContextFor with nsIDeviceContext::Init. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220196 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 11:08:47 +00:00
sharparrow1%yahoo.com
0acc052898 Bustage fix for bug 369834.
git-svn-id: svn://10.0.0.236/trunk@220086 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 23:00:39 +00:00
sharparrow1%yahoo.com
279cfa170d Bug 369834: Get rid of SetAltDevice and friends (and fix print preview). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@220085 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 22:36:59 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
mats.palmgren%bredband.net
03e5d2c51b Reset 'mAltDC' when we finish Print Preview. b=365578 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218982 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 18:26:00 +00:00