Commit Graph

56 Commits

Author SHA1 Message Date
Benoit Jacob
3642564787 Bug 1034321 - Officially don't try to print e10s tabs until that is supported - r=billm 2014-07-11 16:29:21 -04:00
Jim Blandy
4d6a633bba 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
f95ce2ad2e 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
7f5b190745 Bug 966612 part.1 Print preview should handle Esc key with keydown event r=enndeakin 2014-02-06 00:14:35 +09:00
Gregory Szorc
158ed8b3ec Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Magnus Melin
4eeefeb6e0 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
4c94295135 Bug 844479 - Don't background the original window during print preview. r=Mossop 2013-07-17 15:01:43 -07:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc
2288b28e43 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Gregory Szorc
14545664e3 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Peter Van der Beken
14885f5cee 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
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Neil Rashbrook
0c34361ca7 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
58e896dd49 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
7e7b835fdc Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Oonishi Atsushi
ebc58fb880 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
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Olli Pettay
f4ddb15f05 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
ecf6194456 Bug 544018 - print preview doesn't work in view source , r=dao 2010-02-09 18:24:49 +02:00
Olli Pettay
435c946f5c backout Bug 544018 2010-02-08 19:00:41 +02:00
Olli Pettay
04889fec16 Bug 544018 - print preview doesn't work in view source, r=dao 2010-02-08 18:16:57 +02:00
Olli Pettay
2f4c5ea761 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
2ece5c15bd Fixing bug 440486. Work around a Windows XP fax dialog bug. r=rstrong. 2009-11-05 21:14:27 -08:00
Phil Ringnalda
fd1ebd0caf Bug 523295 - Remove printing's omfg skin/ directory, r=mconnor 2009-10-19 22:30:32 -07:00
Masahiro Yamada
6b03502e2e 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
6c52026fb9 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
4c442bd7c1 Bug 398388 - XUL numberboxes for the Print Preview. r=gavin 2009-09-29 21:18:20 +02:00
Neil Deakin
f2d281670c 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
e916d657e8 Bug 454562 - clean up onEnterPrintPreview, onExitPrintPreview and related code. r=mano 2009-09-09 09:50:46 +02:00
Ehsan Akhgari
2a9ff53bba Bug 487656 - zoomed in by default while entering Private Browsing; r=dao,mconnor 2009-08-02 22:23:01 +04:30
Neil Deakin
5303f25260 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
cfaf0f9577 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
79321ef1f8 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
bcc7829581 Bug 277296 - The print dialogs have no accesskeys; r=gavin, a191=beltzner 2008-11-28 22:07:51 +01:00
Daniel Holbert
72c410a648 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
e88bf641eb 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
c032ffe039 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
84a929f44a 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
3f2752be52 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
7872a37fed Backout bug 396278 due to failing reftests 2007-11-13 06:18:36 -08:00
reed@reedloden.com
3d0523f876 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
bf7810b7de Bug 393742 - Silly var use in exitPrintPreview(), r=gavin 2007-08-26 21:35:02 -07:00
philringnalda@gmail.com
c8f808b5ae Bug 393747 - Support nsISupports in print preview observer, r=gavin 2007-08-26 21:05:06 -07:00
kherron@fmailbox.com
ef56e89472 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
2bfce0c869 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
00978826fe 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
469f7bbd10 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