Commit Graph

57 Commits

Author SHA1 Message Date
Jim Blandy
b6b202b6bb 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
Jeremy Poulin
ab83f7f8dd Bug 1016622: Renaming mozilla::network::Seer to mozilla::network Predictor. r=hurley
--HG--
rename : netwerk/base/public/nsINetworkSeer.idl => netwerk/base/public/nsINetworkPredictor.idl
rename : netwerk/base/public/nsINetworkSeerVerifier.idl => netwerk/base/public/nsINetworkPredictorVerifier.idl
rename : netwerk/base/src/Seer.cpp => netwerk/base/src/Predictor.cpp
rename : netwerk/base/src/Seer.h => netwerk/base/src/Predictor.h
rename : netwerk/test/unit/test_seer.js => netwerk/test/unit/test_predictor.js
2014-06-03 13:37:46 -07:00
Paolo Amadini
bb2ad048fa Bug 991750 - Convert remaining legacy uses of promise.js to Promise.jsm. rs=Yoric 2014-04-07 16:18:43 +02:00
Mark Hammond
763885adb1 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Gregory Szorc
1f28da1c9c Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.

This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.

--HG--
extra : rebase_source : 0cfdf2697d10532e5b03cd27fbaadb41f42b837c
extra : amend_source : 0119d4e4881217f105e0e4ba1dfa9c8f7295f3e9
extra : histedit_source : eb49e62c67af2005fdc08d9c9a07f56bee98d558%2C50951e960e450f9b0e48fc7e8ec369d8666a63b0
2014-02-06 13:00:20 -08:00
Drew Willcoxon
f385cd36c2 Bug 937380 - Fix forgetaboutsite/test/browser/browser_clearplugindata.js failure when browser-chrome tests are split into chunks. r=bsmedberg 2013-11-19 14:47:43 -08:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Gijs Kruitbosch
d9e3e5b5b6 Bug 938162 - if it looks, swims and quacks like a duck, but doesn't end in .js, let's not call it a test, r=gps
--HG--
extra : rebase_source : 700e855b79998028d57590c445f7f4b390bd0f9d
2013-11-13 17:30:00 +01:00
Phil Ringnalda
b5d3cfce8a Merge m-c to m-i 2013-10-25 19:52:22 -07:00
Paolo Amadini
699418cc72 Bug 928349 - Remove obsolete tests currently failing on comm-central. r=jcranmer 2013-10-25 15:55:09 +02:00
Paolo Amadini
173b4dfb03 Bug 928349 - Add a build-time setting to use only the JavaScript API for downloads, and enable it in Firefox for Desktop. r=enn 2013-10-23 21:46:47 +02:00
Nicholas Hurley
3181b71877 Bug 881804 (part 6) - Plumb browser UI into predictive network actions to allow clearing data. r=ttaubert r=mossop f=gavin 2013-10-25 14:57:00 -07:00
Ms2ger
9d5ce8dfb7 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Gregory Szorc
f0bcf1241b Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Ed Morley
5e3c678fac Backed out changeset 8b02873ee07e (bug 920223) 2013-09-30 12:50:05 +01:00
Gregory Szorc
18c2c27094 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc
160a20817c Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Honza Bambas
da53acf440 Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Paolo Amadini
addbbe5d16 Bug 913118 - Add a combined list of public and private downloads. r=enn 2013-09-12 21:20:30 +02:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Neil Deakin
798c009578 Bug 899125 - Part 2 of 2 - Allow using the JavaScript API instead of nsIDownloadManager when forgetting about sites. r=paolo 2013-08-17 15:20:01 +02:00
Ms2ger
c9f69ff561 Bug 887012 - Remove some emptyish makefiles; r=gps 2013-07-01 09:02:32 +02:00
Mike Shal
45edf8e888 Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #2); r=joey 2013-06-17 15:22:56 -04:00
Mark Banner
8e11fc7cb0 Bug 886263 - Make places be enabled by default in all xpcshell-tests to avoid having to set it in lots of places (so that tests work with apps where places is disabled by default). r=mak 2013-06-26 14:56:11 +01:00
Ed Morley
30907456d8 Backed out changeset b1dba904d5c8 (bug 886263) for xpcshell orange 2013-06-26 11:20:46 +01:00
Mark Banner
5825ff1bef Bug 886263 - Make places be enabled by default in all xpcshell-tests to avoid having to set it in lots of places (so that tests work with apps where places is disabled by default). r=mak 2013-06-26 10:06:30 +01:00
Doug Turner
8c052a3c1e Bug 882485 - Add API keys support for Google Location Service API. r=gps, jdm, gavin. sr=brendan 2013-06-12 19:20:07 -07:00
Gregory Szorc
c1b865f669 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Joey Armstrong
0d49db0381 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Joey Armstrong
12356a4c50 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Honza Bambas
e7a737bf35 Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Ryan VanderMeulen
e9c65dfa10 Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE. 2013-04-11 17:00:28 -04:00
Honza Bambas
52e949bcbc Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Felipe Gomes
8eb577433f Bug 850210 - Part 1. Update ForgetAboutSite.jsm to use the nsIContentPrefService2 API. r=adw 2013-03-29 23:08:46 -03:00
Kyle Machulis
d2b6e6e01a 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
5663b98bc5 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
Jan Varga
71a59dcdc8 Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Marco Bonardo
44313a5811 Bug 838874 - Stop implementing nsIGlobalHistory2.
r=Mano sr=gavin
2013-03-20 18:09:41 +01:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
cc8470b5e8 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Dave Townsend
6c649be569 Bug 793928: Switch users of the promise library to the new location and move tests files. r=gavin
--HG--
rename : toolkit/addon-sdk/test/Makefile.in => addon-sdk/test/Makefile.in
rename : toolkit/addon-sdk/test/unit/head.js => addon-sdk/test/unit/head.js
rename : toolkit/addon-sdk/test/unit/test_promise.js => addon-sdk/test/unit/test_promise.js
rename : toolkit/addon-sdk/test/unit/xpcshell.ini => addon-sdk/test/unit/xpcshell.ini
2013-02-01 11:43:15 -08:00
Raymond Lee
c089ae192d Bug 820763 - Stop using addvisit() in toolkit tests. r=mak 2013-01-18 10:13:09 +08:00
Josh Matthews
34db7ead87 Bug 722859 - Support concurrent private/public downloads in the download manager. r=paolo/mak sr=bz ui-r=shorlander 2012-05-25 12:24:35 +01:00
Ed Morley
8c3130820e Backout f077ad362ca3 (bug 722859) for bustage 2012-11-16 10:44:20 +00:00
Josh Matthews
a4ad7d3c84 Bug 722859 - Support concurrent private/public downloads in the download manager. r=paolo/mak sr=bz ui-r=shorlander 2012-05-25 12:24:35 +01:00
Ed Morley
1b2eac9cf7 Backout 00cc23d1f72b (bug 722859) for compilation failures 2012-11-16 10:01:14 +00:00
Josh Matthews
78b9994eb3 Bug 722859 - Support concurrent private/public downloads in the download manager. r=mak/paolo 2012-05-25 12:24:35 +01:00
Josh Matthews
de77df1d97 Bug 780533 - Add GUIDs to download manager entries, and a faux-async retrieval by GUID. r=paolo
Bug 780533 - Add GUIDs to download manager entries, and a faux-async retrieval by GUID. r=paolo
* * *
Bug 780533 - Interdiff
2012-08-05 23:20:19 -04:00
Kyle Huey
45adfbf2c8 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00