Commit Graph

269 Commits

Author SHA1 Message Date
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
sharparrow1@yahoo.com
460055136d 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
b040de2a27 Bug 360485 - Factor out nsIDeviceContextSpecFactory. Part 1: changed files. r=pavlov, sr=roc. 2006-12-09 17:18:56 +00:00
sayrer@gmail.com
afe25bfd0a bug 361005. remove nsCRT::strdup from layout. r+sr=bz 2006-11-17 01:49:06 +00:00
bzbarsky@mit.edu
b2fb39fae7 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
ec58c81993 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
7c5ad79541 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
mats.palmgren@bredband.net
c0c4fd7dbe 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
d9aa17dc2d Bug 344696: Remove nsIDeviceContext::Get/SetZoom. r+sr=roc. 2006-07-21 00:16:07 +00:00
bzbarsky@mit.edu
7598543add 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
9f6d9cd053 Bug 338122, Crash [@ nsIMEStateManager::IsActive] when window gets removed on mousedown at button, r+sr=roc 2006-05-19 10:26:44 +00:00