Commit Graph

46 Commits

Author SHA1 Message Date
Neil Rashbrook
3f194429dd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
4bd90ea948 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
d9a10be7eb Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Olli Pettay
352336ae8d Bug 545330 - Crash [@ PresShell::Destroy] on exit after failed Print Preview of XUL document, r=mats 2010-02-11 13:02:38 +02:00
Olli Pettay
cb7087f56a Bug 544018 - print preview doesn't work in view source , r=dao 2010-02-09 18:24:49 +02:00
Olli Pettay
afa76a6fe2 backout Bug 544018 2010-02-08 19:00:41 +02:00
Olli Pettay
fcad2fdbd3 Bug 544018 - print preview doesn't work in view source, r=dao 2010-02-08 18:16:57 +02:00
Olli Pettay
2e3d0c93fe Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron 2009-12-10 20:02:13 -08:00
Neil Deakin
c1e5180e7a Bug 503627, pass an actual window to showProgress so it doesn't try to use the active setup dialog instead, r=mconnor 2009-09-09 17:01:12 -04:00
Dão Gottwald
1d0feef902 Bug 454562 - clean up onEnterPrintPreview, onExitPrintPreview and related code. r=mano 2009-09-09 09:50:46 +02:00
Ehsan Akhgari
40cdcf83d1 Bug 487656 - zoomed in by default while entering Private Browsing; r=dao,mconnor 2009-08-02 22:23:01 +04:30
MattN
b50855f818 Bug 426079 - Print Preview toolbar not shown if launched from window without toolbar. r=gavin 2009-07-10 09:01:49 +02:00
Neil Deakin
f62906b6b1 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Daniel Holbert
8992d625af Bug 458167 - (comments-only changes) Grammar Nazi Vol1: s/it's/its/ for the posessive version of the word, and a few other misc comment-typos, in these directories: accessible browser config profile rdf toolkit tools xpcom xpfe 2008-10-01 23:49:45 -07:00
3723290e80 Bug 421410 - "selected text in input box is cleared/unselected after print preview" [p=martijn.martijn@gmail.com (Martijn Wargers) r=Enn a1.9=beltzner] 2008-03-08 01:49:02 -08:00
eca8be28cc Bug 393742 - Silly var use in exitPrintPreview(), r=gavin 2007-08-26 21:35:02 -07:00
d4cba1aad1 Bug 393747 - Support nsISupports in print preview observer, r=gavin 2007-08-26 21:05:06 -07:00
af67751790 Bug 321954 - Make it easier for apps to hook into toolkit's printing component, patch nearly all by Ian Neal <iann_bugzilla@blueyonder.co.uk> with very little from me, r=gavin 2007-08-22 21:07:30 -07:00
mozilla.mano@sent.com
6709740711 Actually address gavin's review comment in bug 185239 2006-12-01 12:36:23 +00:00
mozilla.mano@sent.com
7fe7953c2f Bug 185239 - Print Frame in context menu. r=gavin, ui-r=mconnor. 2006-12-01 12:33:30 +00:00
gavin@gavinsharp.com
54d2b5418f Bug 241637: Ctrl+P doesn't work in Print Preview, patch by Mark Pilgrim <pilgrim@gmail.com>, r=mconnor 2006-04-18 15:31:38 +00:00
kjh-5727@comcast.net
2ba79b328c Back out patch from bug 324072 to fix bug bug 326363 and avoid unnecessary API changes. 2006-03-04 16:37:13 +00:00
kjh-5727@comcast.net
4b97bf34cf Bug 324072 - Printer properties dialog shows properties for the wrong printer. r+sr=roc. 2006-02-04 17:24:26 +00:00
mark@moxienet.com
1b76178e8a Bug 312763, page setup settings aren't saved or used on the Mac. Save native print settings after page setup. r=mano 2005-10-18 20:14:16 +00:00
vladimir@pobox.com
371ab13e9f b=267422, print preview window is partly overlaid by backgrounds and is otherwise badly broken (also 302495); r=mscott,mconnor 2005-10-04 03:24:38 +00:00
masayuki@d-toybox.com
991f7584cb Bug 275387 Print Preview Scale and orientation not adjusted (stuck on page setup settings) r=mconnor 2005-10-03 16:21:40 +00:00
masayuki@d-toybox.com
d27aa5e30f Bug 308173 Printing reverts to default printer every time a page is printed r=mconnor 2005-09-15 15:16:33 +00:00
masayuki@d-toybox.com
9f55698f79 Bug 118563 The new print properties dialog does not save papersize r=mconnor 2005-08-24 18:32:02 +00:00
gerv@gerv.net
c7ca93d489 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-01 17:07:35 +00:00
varga@nixcorp.com
c60f903fa6 Fix for bug 226973. Print Preview Error (Previewing During Page Rendering/No Printer Installed) Shows Print Preview Toolbar.
r+sr=ben
2004-08-10 05:05:32 +00:00
jruderman@hmc.edu
904a32ea50 Bug 247606 - Review Firefox JS for dangerous eval() use. r=bryner. 2004-07-07 03:04:09 +00:00
scott@scott-macgregor.org
30ee33ebc9 Bug #245483 --> Hook up print preview support for Thunderbird 2004-06-12 00:31:28 +00:00
chanial@noos.fr
ed6e5a8b1a fix savePrintSettngs caller in showPrintProgress 2003-11-06 01:54:46 +00:00
chanial@noos.fr
1de3b040fb fix typo 2003-11-06 00:47:32 +00:00
chanial@noos.fr
60f76bfcfb keep the initial _onExitCallback when the PP page is reflown. 2003-11-05 21:46:45 +00:00
chanial@noos.fr
1453107078 PRINTPROMPTSVC.showPageSetup() isn't clever enough to return a boolean. 2003-11-05 21:08:04 +00:00
chanial@noos.fr
e3579a93c5 bug 224453: Alt-F4 and close button should return to normal mode (IE behavior) 2003-11-04 04:18:57 +00:00
chanial@noos.fr
db56773480 fix js warning (redeclaration of var printPreviewTB) 2003-11-02 02:22:19 +00:00
chanial@noos.fr
390693ec6a add "public" method savePrintSettings that saves the print settings to the prefs. 2003-11-02 01:46:53 +00:00
chanial@noos.fr
f00cfdcde4 remove prefs print.use_global_printsettings and print.save_print_settings (not used in the backend). They offer few if any interest. Their default behavior is kept: a print action and Page Setup change will be saved and windows share the same print settings. 2003-11-02 01:21:46 +00:00
chanial@noos.fr
cb98ff2cdf on going work on the printing component: rename PRINTSVC to PSSVC, getValuesFromPS to updateSettings, remove duplicate getWebBrowserPrint and start removing the duplicated code in printUtils.js and printPreviewBindings.xml that lays the print preview. 2003-11-02 00:15:04 +00:00
chanial@noos.fr
d40c30a78d bug 224160: hook up Print Preview to view source. 2003-10-30 06:02:54 +00:00
chanial@noos.fr
405e1618d7 - Rewrite the way we handle print preview so that it can be used in any XUL app. This is achieved by adding a new "public" method to PrintUtils:
PrintUtils.printPreview(enterPPCallback, exitPPCallback) where the optional callback functions are called just before entering and after exiting PP mode

- disable all short keys in PP mode except ctrl-W and fix bug 178485 and bug 215277. Now clicking the close window icon actually closes the window.

- global vars gPrintSettingsAreGlobal, gSavePrintSettings, gPrintSettings, gOldCloseHandler, gInPrintPreviewMode, gWebProgress are removed.

- A lot of cleanup.
2003-10-29 08:01:27 +00:00
chanial@noos.fr
1b65faf082 Significantly rewrite the old printing.js:
- define an object PrintUtils that has two "public" methods: PrintUtils.print() to print the content and PrintUtils.showPageSetup() to launch the setup dialog.
- global variables gPrintSettings, gPrintSettingsAreGlobal and gSavePrintSettings are removed. These variables were not true cached variables since they were recalculated every time and only used as intermediary.
2003-10-26 20:13:55 +00:00
chanial@noos.fr
402ba9b82c add printUtils.js to the toolkit (copied from printing.js) 2003-10-26 19:22:03 +00:00