151 Commits

Author SHA1 Message Date
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
e5e936a2f1 use toolkit routines from printUtils.js to print and show the page setup dialog.
git-svn-id: svn://10.0.0.236/trunk@148427 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-27 04:36:20 +00:00
chanial%noos.fr
1d92551092 - fix two js warnings in printPreviewBindings.xml (redeclaration of var ifreq and total)
- remove useless class toolbarbutton-icon
- rename class last-arrow to left-arrow and next-arrow to right-arrow


git-svn-id: svn://10.0.0.236/trunk@148426 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-27 04:30:55 +00:00
chanial%noos.fr
357a81f846 bug 223763: home arrow icon not displayed in print preview. printing.css has to be preprocessed.
git-svn-id: svn://10.0.0.236/trunk@148425 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-27 04:21:20 +00:00
chanial%noos.fr
19c85e8fce fix js warning: redeclaration of var str. Some cleanup, untabify
git-svn-id: svn://10.0.0.236/trunk@148424 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-27 03:36:59 +00:00
chanial%noos.fr
b743e1b4d5 Hook up Page Setup and Print to view source.
git-svn-id: svn://10.0.0.236/trunk@148412 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 20:24:17 +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
chanial%noos.fr
97e1667f45 bug 223721 and 223728: fix view source and print preview bustage. patches by Steffen Wilberg <steffen.wilberg@web.de>
git-svn-id: svn://10.0.0.236/trunk@148402 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 16:10:59 +00:00
chanial%noos.fr
f79c0ce7dd move printPreviewBindings.xml to the toolkit, fork printPreview.dtd
git-svn-id: svn://10.0.0.236/trunk@148391 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 05:00:15 +00:00
chanial%noos.fr
bda3a5efc1 fork the Print Page Setup
git-svn-id: svn://10.0.0.236/trunk@148390 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 04:28:25 +00:00
chanial%noos.fr
caef985889 tri licencing
git-svn-id: svn://10.0.0.236/trunk@148385 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-26 03:28:11 +00:00
chanial%noos.fr
12dd4fcc3e Bug 223277: real fix concerning the event chain + Band aid patch for an XBL bug.
git-svn-id: svn://10.0.0.236/trunk@148345 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 06:55:04 +00:00
bryner%brianryner.com
4f4a573f72 Persist size/position and column widths for password manager dialog. Bug 217147, patch by steffen.wilberg@web.de, r=me
git-svn-id: svn://10.0.0.236/trunk@148294 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 19:05:05 +00:00
chanial%noos.fr
0920161786 fixing bogus a dependency to comm.jar I just introduced. Thanks to Steffen Wilberg for noticing.
git-svn-id: svn://10.0.0.236/trunk@148292 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 18:10:25 +00:00
chanial%noos.fr
358be1e1e2 Adding viewSource.properties
git-svn-id: svn://10.0.0.236/trunk@148287 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 14:54:11 +00:00
noririty%jcom.home.ne.jp
fede385ddb Fixing build failure (viewSource.properties doesn't exist) b=221599
git-svn-id: svn://10.0.0.236/trunk@148283 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 13:13:26 +00:00
chanial%noos.fr
d65eba5ead complete rewrite of search.xml: more functionalities with less code :-)
add shortkeys to toggle the search engine (bug 200884), by using ctrl-arrow up and down in the search bar.
remove the pref browser.search.defaultengine. Now we rely on the local store so we can have several windows with different search engines.


git-svn-id: svn://10.0.0.236/trunk@148277 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 08:45:54 +00:00
chanial%noos.fr
f8fea9e83b sync the source viewer with the suite
git-svn-id: svn://10.0.0.236/trunk@148275 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 08:02:23 +00:00
chanial%noos.fr
32ea2705a6 sync the console with the suite
git-svn-id: svn://10.0.0.236/trunk@148273 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 08:00:39 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
varga%nixcorp.com
4743f00758 Changing my email address.
git-svn-id: svn://10.0.0.236/trunk@148204 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 15:35:57 +00:00
bryner%brianryner.com
ac89408a62 port fix to sort strings case-insensitively, bug 220067
git-svn-id: svn://10.0.0.236/trunk@148000 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 20:57:18 +00:00
chanial%noos.fr
642fd50a98 fix bustage in partial source viewer
git-svn-id: svn://10.0.0.236/trunk@147948 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-14 08:05:04 +00:00
chanial%noos.fr
d591e04d0f forgot to check in the modified jar list.
git-svn-id: svn://10.0.0.236/trunk@147947 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-14 05:42:40 +00:00
chanial%noos.fr
c39b3ca14a removing comm.jar dependencies in the source viewer.
(bug 221668 and bug 173879). Commands Find, Save As and Print still have to be hooked properly.


git-svn-id: svn://10.0.0.236/trunk@147944 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-14 05:13:34 +00:00
bryner%brianryner.com
4995514c49 Updating my email address
git-svn-id: svn://10.0.0.236/trunk@147418 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-29 06:04:02 +00:00
bryner%brianryner.com
3d9ef65829 fixing firebird build bustage
git-svn-id: svn://10.0.0.236/trunk@147380 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 19:35:14 +00:00
bryner%brianryner.com
b91b7bf8aa Check return results from DecryptData so that we don't bring up the master password dialog again if the user cancelled it the first time. Bug 220214.
git-svn-id: svn://10.0.0.236/trunk@147282 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 04:54:22 +00:00
bryner%brianryner.com
136aaa9c06 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@147210 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 01:55:52 +00:00
bryner%brianryner.com
f6353b6ec6 Use the default value supplied to prompt() if no stored value was found. (bug 216324)
git-svn-id: svn://10.0.0.236/trunk@146627 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 03:17:42 +00:00
bryner%brianryner.com
ef58713352 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146625 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:18:24 +00:00
bryner%brianryner.com
1508ed3f85 Notify the treeBoxObject when the row count changes -- should fix assertions when typing in autocomplete. Also, throw in some NS_NOTREACHED statements for functions that should not be getting called on this tree view.
git-svn-id: svn://10.0.0.236/trunk@146556 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-04 07:26:30 +00:00
bryner%brianryner.com
075994b6fd Remove inadvertent DOS lineendings (bug 218248)
git-svn-id: svn://10.0.0.236/trunk@146552 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-04 03:02:33 +00:00
bryner%brianryner.com
68b9c57d27 bug 217954/216395 - we need to assign to |userField| regardless of whether there is a value, so we don't crash later when trying to attach autocomplete to the field.
git-svn-id: svn://10.0.0.236/trunk@146499 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-01 21:11:30 +00:00
bryner%brianryner.com
6b4c4493e0 If the username or password field is pre-populated using the value attribute, then don't prefill either one. Also, remove ^M characters that should not be here.
git-svn-id: svn://10.0.0.236/trunk@146479 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-31 03:34:31 +00:00
bryner%brianryner.com
03a45d8fe9 Protect again recursing into DecryptData during autocompletion (due to opening the master password dialog and blurring the username input field).
git-svn-id: svn://10.0.0.236/trunk@146462 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-30 05:06:30 +00:00
blakeross%telocity.com
5389011d36 Undo versioning changes for now. Gotta think it through.
git-svn-id: svn://10.0.0.236/trunk@146410 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-28 05:56:32 +00:00
blakeross%telocity.com
1e18e2ac78 fb0.7 -> tk0.1 in toolkit.
git-svn-id: svn://10.0.0.236/trunk@146409 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-28 05:29:48 +00:00
bryner%brianryner.com
70ce18d57a If the user has not set a master password and wants to use password manager, initialize the master password to an empty string. (bug 217409)
git-svn-id: svn://10.0.0.236/trunk@146408 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-28 05:22:23 +00:00
blakeross%telocity.com
3fd343006a 217410 - Change skin/locale versions to fb0.7.
git-svn-id: svn://10.0.0.236/trunk@146404 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-28 02:16:27 +00:00
noririty%jcom.home.ne.jp
88c7bdb617 Fix 217445 - fixing contextmenu bustage in Page Source
git-svn-id: svn://10.0.0.236/trunk@146385 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-27 14:48:51 +00:00
bryner%brianryner.com
ab01a6727a Actually add the site to the reject list if the user said "Never for this site." Bug 216542.
git-svn-id: svn://10.0.0.236/trunk@146363 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-27 00:34:09 +00:00
chanial%noos.fr
7ea3e3e2ee fixing printing bustage
git-svn-id: svn://10.0.0.236/trunk@146179 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-19 04:01:11 +00:00
bryner%brianryner.com
74b9d50d5e Make the password manager hold onto the pref branch so that the observers we register with it don't go away. Bug 216219.
git-svn-id: svn://10.0.0.236/trunk@146155 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-18 06:09:52 +00:00
ben%bengoodger.com
d92ce84202 Fix for bug 216474 - Browser crashes in password manager. Ensure that we don't crash or overwrite variables used to hold valid password data fields with null. r=bryner
git-svn-id: svn://10.0.0.236/trunk@146147 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-17 21:06:36 +00:00
chanial%noos.fr
1f11a84028 port textbox fix for bug 197486:
callback method in textbox is no more, use oncommand instead for the same functionality.


git-svn-id: svn://10.0.0.236/trunk@146131 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-17 11:17:00 +00:00
bryner%brianryner.com
05d8de869e Don't prompt to save passwords, or prefill passwords, if saving passwords is disabled (bug 216219).
git-svn-id: svn://10.0.0.236/trunk@146113 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-17 05:52:17 +00:00
chanial%noos.fr
ebd67324bc remove duplicated config.xul file and update the one in components/viewconfig
git-svn-id: svn://10.0.0.236/trunk@146085 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 14:11:05 +00:00