Commit Graph

53 Commits

Author SHA1 Message Date
Masatoshi Kimura
2e32b0cc41 Bug 1375125 - Fix errors caused by mechanical replacement. r=froydnj
MozReview-Commit-ID: 1kOvLdeCJiR
2017-08-05 08:21:55 +09:00
Masatoshi Kimura
0af76969af Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09:00
Dan Banner
4055021839 Bug 1368041 - Enable no-array-constructor across mozilla-central r=standard8
MozReview-Commit-ID: EXJNufdKKhJ
2017-05-27 15:17:29 +01:00
Andrea Marchesini
b8849e9429 Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug
nsIFilePicker.displaySpecialDirectory is a string that can be set to TmpD,
Desk, or any other special directory value. The real value of this directory
will be read in the parent process.
2017-04-26 18:20:19 +02:00
Jared Wein
5a181760cc Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx
2017-03-21 14:29:43 -04:00
Florian Quèze
b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Jared Wein
0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Florian Quèze
13cfe1d3f3 Bug 1329182 - remove trailing newURI null parameters in toolkit/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd 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
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Mark Banner
8ddd9bb511 Bug 1315951 - Fix no-unused-vars issues in toolkit/components (except places). r=mossop
MozReview-Commit-ID: 8svkCKZHxsq
2016-11-08 12:49:32 +00:00
Jared Wein
0c024fa9ca 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
2016-10-24 13:14:19 -04:00
Jared Wein
8860cdf2c1 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
99638e1465 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
4518d81cb5 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
2016-08-04 03:28:58 -04:00
Dave Townsend
6e23ebb773 Bug 1245649: Turn on use-isnan, no-unexpected-multiline, no-octal and no-self-compare. r=MattN 2016-02-03 18:21:30 -08:00
Dave Townsend
a2ba043d69 Bug 1245649: Turn on no-trailing-spaces. r=Gijs 2016-02-03 14:22:33 -08:00
Dave Townsend
2e4b5d2078 Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe 2016-02-03 13:12:18 -08:00
Mats Palmgren
b41a5dc4fe Bug 1095299 - Change a few 'const' to 'var' since they are used in other scopes. r=efaust 2014-11-08 16:32:00 -05:00
Jon Morton
4a98f87acc Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz 2014-10-14 13:15:21 -07:00
Jim Blandy
39dc0c6097 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
a42c2befb7 Bug 875469 Remove bogus attribute r=Mossop
DONTBUILD because preffed off by default
2013-05-23 23:51:03 +01:00
Neil Rashbrook
3f194429dd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
4bd90ea948 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
d9a10be7eb Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Dão Gottwald
10120ac02c Bug 605089 - Remove uses of the sortDirectionIndicator class. r=enn 2010-10-21 10:15:04 +02:00
6b8d43d299 Make it possible to save as "HTML only" again by propagating the selected index. b=428666 r=timeless a1.9=mtschrep 2008-04-14 10:56:35 -07:00
759c2b277c Bug 412822 nsIFilePicker makes it hard to drop in other url systems r=neil a=dsicore 2008-02-26 09:19:21 -08:00
dd3a670ba9 Bug 412822 nsIFilePicker makes it hard to drop in other url systems r=neil a=dsicore 2008-02-26 08:12:17 -08:00
3988c8c17b Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp 2007-05-23 11:08:10 -07:00
timeless@mozdev.org
5da9abc4fc Bug 362720 please spell NS_LOCAL_FILE_CONTRACTID as such
r=gavin
2006-12-06 00:48:12 +00:00
gavin@gavinsharp.com
27bafa9077 Bug 266629: cannot upload files with "~" as the first character of the file name, and other XPFE synchronization patches, r=neil 2006-10-29 05:03:36 +00:00
mats.palmgren@bredband.net
64ab4e2b8c Filepicker needs accesskey for dirTextInputLabel. b=250177 r+sr=neil 2006-08-06 03:11:09 +00:00
neil@parkwaycc.co.uk
00ea31dca2 Bug 313331 autocomplete file names in xul filepicker r=bz sr=jag 2006-04-12 23:00:52 +00:00
timeless@mozdev.org
3bc8a1937c Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
marco@gnome.org
145cbb9d4d 233461 specify icons for dialogs button
Hook up gnome icons in gnomestripe
r=mconnor
2005-03-02 10:53:06 +00:00
gerv@gerv.net
c7ca93d489 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-01 17:07:35 +00:00
bugzilla@arlen.demon.co.uk
8a8c768277 Bug 264102 Chrome should use document.title instead of window.title - toolkit fixes
Relanding to fix aviary branch landing regressions
2004-12-01 11:42:34 +00:00
ben@bengoodger.com
5003aacad6 Landing the Aviary Branch (Toolkit sections excluding toolkit/content). 2004-11-30 22:54:13 +00:00
bugzilla@arlen.demon.co.uk
d37cc36475 Bug 264102 Chrome should use document.title instead of window.title - toolkit fixes
p=me r=vladimir
2004-10-24 18:20:10 +00:00
varga@nixcorp.com
baadfcc0df Updating my email address. 2004-10-22 18:33:55 +00:00
bzbarsky@mit.edu
09871ca8a1 Fix bug 248468 (choosing directory with keyboard chooses dir and saves the
file; should just choose dir).  r=neil for xpfe, r=mconnor for toolkit, sr=jag
2004-07-15 06:13:35 +00:00
darin@meer.net
3df4fdc307 landing patch for bug 24867 "UI for FTP upload" r=biesi,neil sr=bryner 2004-04-17 00:58:23 +00:00
chanial@noos.fr
cf0a05c167 Gnome said: Thou shalt not put accept buttons on the left.
(xul filepicker not used on Windows, nor MacOSX)
2003-12-19 06:20:42 +00:00
varga@nixcorp.com
3f8d8b10cc Changing my email address. 2003-10-21 15:35:57 +00:00
bryner@brianryner.com
0808ae905d Updating my email address 2003-09-29 06:04:02 +00:00