Commit Graph

118 Commits

Author SHA1 Message Date
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Oskar Eisemut
30671093e2 Bug 968141 - Remove pref print.whileInPrintPreview and print.tmp.printerfeatures can_use_multiple_devicecontexts_concurrently, was default enabled since Bug 126802 anyway. r=roc 2014-02-07 12:44:00 +01:00
Masayuki Nakano
f3c74d2f8e Bug 966612 part.1 Print preview should handle Esc key with keydown event r=enndeakin 2014-02-06 00:14:35 +09:00
Magnus Melin
fb5e9ecf33 Bug 907338 - "Ci is undefined" error in printUtils.js - thunderbird's print preview doesn't show any preview. r=Mossop 2013-08-21 22:43:01 +03:00
Brendan Dahl
19c7a57aa2 Bug 844479 - Don't background the original window during print preview. r=Mossop 2013-07-17 15:01:43 -07:00
Peter Van der Beken
a0c91feb8e Fix for bug 830342 (Scale combobox is broken in print-preview, after selecting "Custom" and then hitting "Cancel" on its spawned dialog). r=dolske.
--HG--
extra : rebase_source : 6c8804f960ac42e0773d4283637bf4073aeb408c
2013-01-17 12:16:33 +01:00
Neil Rashbrook
eaedd546e8 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
f58ad725ea Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
aee62bb4bd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Oonishi Atsushi
8f0353652d Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00
Michael Kohler
6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Olli Pettay
f2877b7b35 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
9fdb936eb2 Bug 544018 - print preview doesn't work in view source , r=dao 2010-02-09 18:24:49 +02:00
Olli Pettay
f09ebf9810 backout Bug 544018 2010-02-08 19:00:41 +02:00
Olli Pettay
93a48e52ac Bug 544018 - print preview doesn't work in view source, r=dao 2010-02-08 18:16:57 +02:00
Olli Pettay
423522c88b Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Johnny Stenback
89fd45f879 Fixing bug 440486. Work around a Windows XP fax dialog bug. r=rstrong. 2009-11-05 21:14:27 -08:00
Masahiro Yamada
c12e1c8369 Bug 505060 - [Print preview]Changing scale xx% -> shrink to fit -> xx% does not work. r=gavin.sharp 2009-10-10 23:20:35 +09:00
Jae-Seong Lee
e85e9409e1 Bug 483419 - Rename the left-arrow and right-arrow class names in the print preview toolbar to previous-arrow and next-arrow. r=dao 2009-10-02 08:21:38 +02:00
KUROSAWA, Takeshi
af1e342c5a Bug 398388 - XUL numberboxes for the Print Preview. r=gavin 2009-09-29 21:18:20 +02:00
Neil Deakin
b0b5174739 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
32c8f9d7d5 Bug 454562 - clean up onEnterPrintPreview, onExitPrintPreview and related code. r=mano 2009-09-09 09:50:46 +02:00
Ehsan Akhgari
85fb282858 Bug 487656 - zoomed in by default while entering Private Browsing; r=dao,mconnor 2009-08-02 22:23:01 +04:30
Neil Deakin
69bd6c8514 Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron 2009-07-29 14:33:53 -04:00
MattN
9830f8fd52 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
15df29db77 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
Vlado Valastiak
77760857d2 Bug 277296 - The print dialogs have no accesskeys; r=gavin, a191=beltzner 2008-11-28 22:07:51 +01:00
Daniel Holbert
5492039225 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
Serge Gautherie
5e6731a22b Bug 445376 - In </toolkit/*>, "use a xul <stringbundle/> instead of including the strres.js code"
(Av1) <print*.*>
r=Enn
2008-08-20 00:27:04 -05:00
reed@reedloden.com
c0bf882be3 Bug 137091 - "Page Setup Box changes size when switching between Portrait/Landscape" [p=martijn.martijn@gmail.com (Martijn Wargers) r=Neil a1.9=damons] 2008-03-08 03:28:34 -08:00
reed@reedloden.com
3fe6cb516b 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
reed@reedloden.com
661226c56a Bug 396278 - "should take edge values from print settings instead of prefs" [p=chpe r+sr=roc r=gavin a1.9=schrep] 2007-11-13 11:14:07 -08:00
rflint@ryanflint.com
78a505edca Backout bug 396278 due to failing reftests 2007-11-13 06:18:36 -08:00
reed@reedloden.com
6bd4528854 Bug 396278 - "should take edge values from print settings instead of prefs" [p=chpe r+sr=roc r=gavin a1.9=schrep] 2007-11-13 02:30:39 -08:00
philringnalda@gmail.com
eb8fa5e63a Bug 393742 - Silly var use in exitPrintPreview(), r=gavin 2007-08-26 21:35:02 -07:00
philringnalda@gmail.com
6847f66144 Bug 393747 - Support nsISupports in print preview observer, r=gavin 2007-08-26 21:05:06 -07:00
kherron@fmailbox.com
97296ebe2f Bug 315687 - Sanity check paper size prefs created before bug 309988 was fixed. r=vladimir, sr=pavlov, a=pavlov. 2007-08-26 17:19:15 -07:00
philringnalda@gmail.com
36d38a4df6 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
kherron@fmailbox.com
6f2b92eed8 Backing out patch for bug 315687 due to reftest failures on qm-win2k3-01. 2007-07-15 08:03:07 -07:00
kherron@fmailbox.com
7cbecc54cd Bug 315687 - Sanity check paper size prefs created before bug 309988 was fixed. r=vladimir, sr=pavlov. 2007-07-15 05:27:57 -07:00
kherron@fmailbox.com
6ce19ad50c Back out patch for bug 315687, due to reftest failures on win32. 2007-07-14 10:07:33 -07:00
kherron@fmailbox.com
0c6bd69b22 Bug 315687 - Sanity check paper size prefs created before bug 309988 was fixed. r=vladimir, sr=pavlov. 2007-07-14 07:42:55 -07:00
mats.palmgren@bredband.net
266f784855 Bye bye Xprint. b=326716 r+sr=dbaron 2007-06-13 11:02:58 -07:00
sdwilsh@shawnwilsher.com
44cbc3eab4 Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp 2007-05-23 11:08:10 -07:00
kjh-5727@comcast.net
bc93bea324 Bug 377096 - Factor out nsIPrintOptions::AvailablePrinters. r=pavlov, sr=biesi. 2007-05-06 04:29:41 -07:00
jwalden%mit.edu
e5e87de812 Bug 279698 - Some .js files in jars are not stripped of license headers via preprocessing (pass 1). r=mconnor 2007-03-11 02:21:48 +00:00
mozilla.mano%sent.com
6971fe24da Actually address gavin's review comment in bug 185239 2006-12-01 12:36:23 +00:00
mozilla.mano%sent.com
6a9fef4a81 Bug 185239 - Print Frame in context menu. r=gavin, ui-r=mconnor. 2006-12-01 12:33:30 +00:00
gavin%gavinsharp.com
5d86121dc4 Bug 250156: fix doctypes, patch by Wei-ju Wu <weiju@web.de>, r=me, daniel@glazman.org 2006-10-13 17:08:26 +00:00