31 Commits

Author SHA1 Message Date
reed%reedloden.com
ed057b0378 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]
git-svn-id: svn://10.0.0.236/trunk@247367 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-08 09:49:02 +00:00
philringnalda%gmail.com
4fc34742f6 Bug 393742 – Silly var use in exitPrintPreview(), r=gavin
git-svn-id: svn://10.0.0.236/trunk@233142 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-27 04:35:02 +00:00
philringnalda%gmail.com
ca0b133aee Bug 393747 – Support nsISupports in print preview observer, r=gavin
git-svn-id: svn://10.0.0.236/trunk@233139 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-27 04:05:06 +00:00
philringnalda%gmail.com
44409a6852 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
git-svn-id: svn://10.0.0.236/trunk@232912 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 04:07:30 +00:00
mozilla.mano%sent.com
91ef1d26dd Actually address gavin's review comment in bug 185239
git-svn-id: svn://10.0.0.236/trunk@216256 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 12:36:23 +00:00
mozilla.mano%sent.com
1bf95a76be Bug 185239 - Print Frame in context menu. r=gavin, ui-r=mconnor.
git-svn-id: svn://10.0.0.236/trunk@216255 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 12:33:30 +00:00
gavin%gavinsharp.com
7f78e011d1 Bug 241637: Ctrl+P doesn't work in Print Preview, patch by Mark Pilgrim <pilgrim@gmail.com>, r=mconnor
git-svn-id: svn://10.0.0.236/trunk@194602 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 15:31:38 +00:00
kjh-5727%comcast.net
5717b87190 Back out patch from bug 324072 to fix bug bug 326363 and avoid unnecessary API changes.
git-svn-id: svn://10.0.0.236/trunk@191779 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 16:37:13 +00:00
kjh-5727%comcast.net
c9b33b2dd0 Bug 324072 - Printer properties dialog shows properties for the wrong printer. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@188927 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-04 17:24:26 +00:00
mark%moxienet.com
a35f65705d Bug 312763, page setup settings aren't saved or used on the Mac. Save native print settings after page setup. r=mano
git-svn-id: svn://10.0.0.236/trunk@182485 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 20:14:16 +00:00
vladimir%pobox.com
8d40de9c09 b=267422, print preview window is partly overlaid by backgrounds and is otherwise badly broken (also 302495); r=mscott,mconnor
git-svn-id: svn://10.0.0.236/trunk@181547 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 03:24:38 +00:00
masayuki%d-toybox.com
dad9ad54c9 Bug 275387 Print Preview Scale and orientation not adjusted (stuck on page setup settings) r=mconnor
git-svn-id: svn://10.0.0.236/trunk@181468 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 16:21:40 +00:00
masayuki%d-toybox.com
2ea24d2892 Bug 308173 Printing reverts to default printer every time a page is printed r=mconnor
git-svn-id: svn://10.0.0.236/trunk@180287 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 15:16:33 +00:00
masayuki%d-toybox.com
9315f2ee8a Bug 118563 The new print properties dialog does not save papersize r=mconnor
git-svn-id: svn://10.0.0.236/trunk@178808 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 18:32:02 +00:00
gerv%gerv.net
f58b146997 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@168638 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 17:07:35 +00:00
varga%nixcorp.com
fa37f35ea2 Fix for bug 226973. Print Preview Error (Previewing During Page Rendering/No Printer Installed) Shows Print Preview Toolbar.
r+sr=ben


git-svn-id: svn://10.0.0.236/trunk@160590 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 05:05:32 +00:00
jruderman%hmc.edu
12bdd7de6f Bug 247606 - Review Firefox JS for dangerous eval() use. r=bryner.
git-svn-id: svn://10.0.0.236/trunk@158821 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 03:05:25 +00:00
scott%scott-macgregor.org
1906f632fb Bug #245483 --> Hook up print preview support for Thunderbird
git-svn-id: svn://10.0.0.236/trunk@157811 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-12 00:31:28 +00:00
chanial%noos.fr
b7bdfc31df fix savePrintSettngs caller in showPrintProgress
git-svn-id: svn://10.0.0.236/trunk@148889 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-06 01:54:46 +00:00
chanial%noos.fr
eb6dab4262 fix typo
git-svn-id: svn://10.0.0.236/trunk@148884 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-06 00:47:32 +00:00
chanial%noos.fr
ed4db1d586 keep the initial _onExitCallback when the PP page is reflown.
git-svn-id: svn://10.0.0.236/trunk@148879 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 21:46:45 +00:00
chanial%noos.fr
7606621add PRINTPROMPTSVC.showPageSetup() isn't clever enough to return a boolean.
git-svn-id: svn://10.0.0.236/trunk@148875 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 21:08:04 +00:00
chanial%noos.fr
6fd6ce1f71 bug 224453: Alt-F4 and close button should return to normal mode (IE behavior)
git-svn-id: svn://10.0.0.236/trunk@148815 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 04:18:57 +00:00
chanial%noos.fr
13a3c9f430 fix js warning (redeclaration of var printPreviewTB)
git-svn-id: svn://10.0.0.236/trunk@148708 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-02 02:22:19 +00:00
chanial%noos.fr
20b3981d39 add "public" method savePrintSettings that saves the print settings to the prefs.
git-svn-id: svn://10.0.0.236/trunk@148703 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-02 01:46:53 +00:00
chanial%noos.fr
9ce927eadd 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.
git-svn-id: svn://10.0.0.236/trunk@148701 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-02 01:21:46 +00:00
chanial%noos.fr
0f8244a114 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.
git-svn-id: svn://10.0.0.236/trunk@148698 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-02 00:15:04 +00:00
chanial%noos.fr
c76a54433c bug 224160: hook up Print Preview to view source.
git-svn-id: svn://10.0.0.236/trunk@148545 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 06:02:54 +00:00
chanial%noos.fr
00a6832942 - 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.


git-svn-id: svn://10.0.0.236/trunk@148474 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-29 08:01:27 +00:00
chanial%noos.fr
a25bd1dfdd 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.


git-svn-id: svn://10.0.0.236/trunk@148411 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 20:13:55 +00:00
chanial%noos.fr
d13b02982d add printUtils.js to the toolkit (copied from printing.js)
git-svn-id: svn://10.0.0.236/trunk@148410 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 19:22:03 +00:00