15 Commits

Author SHA1 Message Date
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