Commit graph

27 commits

Author SHA1 Message Date
Dave Townsend
0a6414b898 Bug 1245649: Turn on no-trailing-spaces. r=Gijs
--HG--
extra : commitid : F2OWKTvXUO4
extra : rebase_source : ec68631342e0edc59d77b6bab1cdc975ad175327
2016-02-03 14:22:33 -08:00
Bob Owen
393a50d4dc Bug 1238964 Part 2: Move separate DEVMODE to nsIPrintSettings copying into nsPrintSettingsWin. r=jimm
This also corrects what I think are long standing issues with the mapping to and
from print settings on Windows.
Firstly it only uses the DEVMODE flags to decide what should get stored, in the
old code if paper size was not set, it would then use that possibly invalid
paper size to map to length and width. Paper setting prefs are mapped back if
they were stored or if they have been manually set to something sane.
Secondly it corrects the calculation that was used to convert from millimeters
to tenths of millimeters.
It also gets rid of the paperSizeType field, which was only used on Windows and
doesn't actually make sense according to the DEVMODE documentation as the
dmPaperLength and dmPaperWidth fields override the dmPaperSize, but can in
theory be specified at the same time.
2016-01-12 17:40:07 +00:00
Karl Tomlinson
603b1ace02 bug 147419 remove ununsed plexName colorspace resolutionName and downloadFonts r=roc
This was only used to write to and read from otherwise unused preferences.

--HG--
extra : rebase_source : a538569807b8340dae3fe9f0cbfc68334e20ccc9
2015-06-11 09:34:27 +12:00
Karl Tomlinson
a19a1f0d0c bug 147419 remove ununsed nsIPrintSettings::printCommand and print_command prefs r=roc
These was used only to write to and read from each other.

--HG--
extra : rebase_source : ef49678652f829fe23611fb2294a22c3ffd91cf1
2015-06-10 18:10:28 +12:00
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
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
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
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
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
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
timeless%mozdev.org
1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
gerv%gerv.net
eb50dd44e7 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-31 16:02:07 +00:00
gavin%gavinsharp.com
34152561cb Bug 321732: printjoboptions.properties is dead, the other printjoboptions.* files should be packaged on non-Mac Unix only, r=mconnor 2005-12-30 07:37:58 +00:00
bugzilla%arlen.demon.co.uk
0d5875e3b7 Bug 262287 Mozilla Xprint 2004/Q3 update
Relanding toolkit part of patch following aviary branch landing - previously approved
2004-12-05 23:29:22 +00:00
ben%bengoodger.com
a3b1eda480 Landing the Aviary Branch (Toolkit sections excluding toolkit/content). 2004-11-30 22:54:13 +00:00
bzbarsky%mit.edu
a2afb45863 "Mozilla Xprint 2004/Q3 update". Bug 262287, patch by Julien Lafon
<julien.lafon@gmail.com>, r=roland.mainz, sr=henry.jia
2004-10-24 18:34:50 +00:00
chanial%noos.fr
524b21cb9b Rename printPageSetup.properties to printjoboptions.properties, since this file is only used in printjoboptions.xul 2003-11-02 04:22:06 +00:00
chanial%noos.fr
59d8595898 fork the Print Page Setup 2003-10-26 04:28:25 +00:00
chanial%noos.fr
3c076279da bug 213228: new toolkit independence bug, part 5.
fork printing front end.
#ifdef XP_UNIX printjoboption.js and printjoboption.xul
remove communicator dependency (dialogs.css)
2003-08-16 11:39:10 +00:00