Commit Graph

57 Commits

Author SHA1 Message Date
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
Jeremy Poulin
4c8dd6d4b2 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
4abdff9652 Bug 991750 - Convert remaining legacy uses of promise.js to Promise.jsm. rs=Yoric 2014-04-07 16:18:43 +02:00
Mark Hammond
cd2c8e6c5b Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Gregory Szorc
5f7ff500d3 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
81ed5c9b26 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
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Gijs Kruitbosch
a498e27fa5 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
ce1c1c8d2e Merge m-c to m-i 2013-10-25 19:52:22 -07:00
Paolo Amadini
3d1a0af11d Bug 928349 - Remove obsolete tests currently failing on comm-central. r=jcranmer 2013-10-25 15:55:09 +02:00
Paolo Amadini
30c71292f2 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
b4ad063ea1 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
105ce73cfa Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Gregory Szorc
b03f79a7e6 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Ed Morley
eccf636a23 Backed out changeset 8b02873ee07e (bug 920223) 2013-09-30 12:50:05 +01:00
Gregory Szorc
e4af98efbf Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc
ed68c2482b 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
ea8ec4777e 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
389b9c6e2e Bug 913118 - Add a combined list of public and private downloads. r=enn 2013-09-12 21:20:30 +02:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Neil Deakin
4a79eb895c 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
032d1cbb66 Bug 887012 - Remove some emptyish makefiles; r=gps 2013-07-01 09:02:32 +02:00
Mike Shal
b77ae67471 Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #2); r=joey 2013-06-17 15:22:56 -04:00
Mark Banner
c8a48242ff 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
27f1b7c165 Backed out changeset b1dba904d5c8 (bug 886263) for xpcshell orange 2013-06-26 11:20:46 +01:00
Mark Banner
eafc43d9dd 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
ffddcd248a 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
14c4938355 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Joey Armstrong
8e99512c32 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Honza Bambas
bf6ac747cf Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Ryan VanderMeulen
b880048f4e 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
e09acd80df Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02: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
Felipe Gomes
71070ea144 Bug 850210 - Part 1. Update ForgetAboutSite.jsm to use the nsIContentPrefService2 API. r=adw 2013-03-29 23:08:46 -03: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
Jan Varga
8ed93ed02a Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Marco Bonardo
3f2615e852 Bug 838874 - Stop implementing nsIGlobalHistory2.
r=Mano sr=gavin
2013-03-20 18:09:41 +01:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
14545664e3 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Dave Townsend
f1c830614d 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
a2d8072f3d Bug 820763 - Stop using addvisit() in toolkit tests. r=mak 2013-01-18 10:13:09 +08:00
Josh Matthews
38b344de52 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
1b167c9767 Backout f077ad362ca3 (bug 722859) for bustage 2012-11-16 10:44:20 +00:00
Josh Matthews
c1ee39de5d 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
8d7bae626d Backout 00cc23d1f72b (bug 722859) for compilation failures 2012-11-16 10:01:14 +00:00
Josh Matthews
8a83b4ed3d Bug 722859 - Support concurrent private/public downloads in the download manager. r=mak/paolo 2012-05-25 12:24:35 +01:00
Josh Matthews
0babc789ec 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
1482122303 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