Dan Banner
ea09f270ab
Bug 1368041 - Enable no-array-constructor across mozilla-central r=standard8
...
MozReview-Commit-ID: EXJNufdKKhJ
--HG--
extra : rebase_source : 66d17c7981c4b0987c482ce092b25990b42c07fb
2017-05-27 15:17:29 +01:00
Florian Quèze
9d62681259
Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws.
2017-03-08 10:17:52 +01:00
Florian Quèze
cd762cc83c
Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
...
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Mark Banner
39df62d9dc
Bug 1328338 - Fix more no-undef eslint issues in toolkit/ and browser/. r=mossop
...
MozReview-Commit-ID: 78dXLYVW1gC
--HG--
extra : rebase_source : 4d2c50697307177c76a71ca7989863f01b05290b
2017-01-03 11:55:24 +00:00
Jared Wein
9141469edf
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Jared Wein
ecab54a7c9
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher
0dfb7c2b5c
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
7255df4e9a
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Dave Townsend
c5bb304fd9
Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
...
MozReview-Commit-ID: FGFwg6TYkvm
--HG--
extra : rebase_source : 4073cebbef1694393efe312aaafbdb803adbd304
2016-11-11 15:22:34 -08:00
Dave Townsend
0a2c8f9b78
Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
...
MozReview-Commit-ID: HBpjT2uHJaZ
--HG--
extra : rebase_source : 78fe71a1d673a1c698520a9c82c6f35959614f8f
2016-11-10 14:48:04 -08:00
Mark Banner
7d81bfea9f
Bug 1315951 - Fix no-unused-vars issues in toolkit/components (except places). r=mossop
...
MozReview-Commit-ID: 8svkCKZHxsq
--HG--
extra : rebase_source : 01552e8214f02490aad3cf704757f52a9c3b3959
2016-11-08 12:49:32 +00:00
Jared Wein
5040f17e00
Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
...
MozReview-Commit-ID: 7Gx90a5y8t6
--HG--
extra : rebase_source : 9c8a6b15c19982d720b0163fbbf19d465da786fe
2016-10-24 13:14:19 -04:00
Jared Wein
e6276ea7f5
Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
...
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Jared Wein
d3e296107e
Bug 1294621 - Enable the no-lonely-if rule for eslint. r=gijs
...
MozReview-Commit-ID: 8izEqc8IyCu
2016-08-12 11:50:35 -04:00
Jared Wein
fd84c776c7
Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
...
MozReview-Commit-ID: EMjJ3yWt9Wt
--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
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