Masatoshi Kimura
b3d2965807
Bug 938704 - Make OS.File support modern iterators. r=florian,Yoric
...
MozReview-Commit-ID: 8F1DtgakxM3
--HG--
extra : rebase_source : 05c42a3236ad55356a9149d8107e4a569fc06cd0
2017-08-19 15:04:13 +09:00
Michael Kaply
0dbb8dd2bf
Bug 1374695 - Add extensionID to addEngine API. r=florian
...
MozReview-Commit-ID: 5hxzvCXhMxi
--HG--
extra : rebase_source : 93964b926057a79c3e90efc4a291019a740995ac
2017-08-14 15:51:12 -05:00
Masatoshi Kimura
9ab81a1042
Bug 1389723 - Remove @deprecated nsIMIMEInputStream.addContentLength. r=dragana
...
MozReview-Commit-ID: 9b45aozatin
--HG--
extra : rebase_source : 636da171929fe6ecd69de5c68d9ed4064a3a7b09
2017-08-12 13:34:02 +09:00
Masatoshi Kimura
74df77800f
Bug 1389738 - Remove @deprecated nsIHttpEventSink. r=mcmanus
...
MozReview-Commit-ID: 5TaiTc6fSLK
--HG--
extra : rebase_source : acbbecb29c61bb1d84efc2fb7418806e61828003
2017-08-12 18:26:23 +09:00
Michael Kaply
a231f8e4cd
Bug 1380771 - Add support for suggest_url to addEngineWithDetails. r=florian
...
MozReview-Commit-ID: LoUlLwXqSOH
--HG--
extra : rebase_source : f04cef4ef397a0837af0c310ad004cfde38f9a1d
2017-08-11 16:16:41 -05:00
Wes Kocher
d807031b06
Backed out changeset 16c09e5f2758 (bug 1380771) for failures in test_hasEngineWithURL.js and browser_ext_settings_overrides_search.js a=backout
...
MozReview-Commit-ID: 75JIIqWhS7W
2017-08-11 15:53:50 -07:00
Michael Kaply
2db241f0bd
Bug 1380771 - Add support for suggest_url to addEngineWithDetails. r=florian
...
MozReview-Commit-ID: LoUlLwXqSOH
--HG--
extra : rebase_source : 04ff1c46118a490b46b452e0729690d312cdc715
2017-08-11 16:16:41 -05:00
Michael Kaply
3cf7ab74a7
Bug 1384709
- Store extension ID in loadPath. r=florian
...
MozReview-Commit-ID: GPYdRtJd8Bz
--HG--
extra : rebase_source : 2c31941a10b6543dd3f44c851f93541b4ae26a53
2017-08-08 13:49:22 -07:00
Kris Maglione
0ecfcbc93e
Bug 1388215: Part 3 - Use JIT-friendly defineLazy*Getters methods when defining many lazy imports. r=florian
...
MozReview-Commit-ID: APoFwUhDFdj
--HG--
extra : rebase_source : 15761873b91efaf1d338b6361bf7168ab4348e0d
2017-08-09 13:03:36 -07:00
Masatoshi Kimura
8b713b2b0f
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
--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Rajesh Kathiriya
48e6bc2124
Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
...
MozReview-Commit-ID: FadrI2li43G
--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Sebastian Hengst
804a36e668
Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout
2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
22dfa54ef4
Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
...
MozReview-Commit-ID: FadrI2li43G
--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
Andrew Halberstadt
21a03ad73c
Bug 1383120
- Enable no-arbitrary-setTimeout eslint rule on xpcshell tests, r=mossop
...
MozReview-Commit-ID: 6DqLaZ9n5EM
--HG--
extra : rebase_source : 5f1264bb3ea23005c91557e5db4ce5f9e167ce9a
2017-07-26 09:08:07 -04:00
Florian Quèze
2924991bf6
Bug 1368456 - remove Promise.jsm imports in tests, r=mconley.
2017-06-23 11:25:52 +02:00
Florian Quèze
c3a5e47cea
Bug 1034599 - Convert remaining Promise.defer() uses to PromiseUtils.defer() or new Promise(), r=mconley.
2017-06-23 11:25:02 +02:00
Florian Quèze
7375dcec46
Bug 1374282 - script generated patch to remove generators from add_task in browser/ and toolkit/, r=Mossop.
2017-06-22 12:51:43 +02:00
Marco Bonardo
8d20cc6802
Bug 1355561 - Add a new API to spinningly close the database when strictly needed, and ensure Close() does what it's named after. r=asuth
...
Introduce a new SpinningSynchronousClose API that allows to synchronously close
a connection that executed asynchronous statements, by spinning the events loop.
This is expected to be used rarely in particular cases like database corruption.
It is currently [noscript] since the only consumer is cpp, in the future we can
evaluate removing that, if we find more uses for it.
MozReview-Commit-ID: 7SPqutoF9jJ
--HG--
extra : rebase_source : d053e308192f335dfdca089668e56115b068ff8c
2017-04-12 17:44:39 +02:00
Henri Sivonen
2f2bb984f8
Bug 1372994 - Clear up leftover ISO-8859-1 encoding names. r=emk
...
MozReview-Commit-ID: IBuUPa9H9Q2
--HG--
extra : rebase_source : fb8db0c70caeec179d50b9ecaeb811d1e87eb0dd
2017-06-15 10:35:22 +03:00
Michael Kaply
33f3641255
Bug 1359538 - Add API to retrieve engines by extension ID. r=florian
...
MozReview-Commit-ID: 2Qz6B1u8Or
--HG--
extra : rebase_source : c1a1ee3a02a417a8e504571316da2c7d63e4090b
2017-04-26 10:58:08 -05:00
Florian Quèze
97f401c644
Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop.
2017-05-12 14:55:27 +02:00
Florian Quèze
1d0e28a791
Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop.
2017-05-12 14:47:41 +02:00
Florian Quèze
5e3539e504
Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop.
2017-05-12 14:42:39 +02:00
Florian Queze
4b1556a5f2
Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws.
2017-04-27 00:25:45 +02:00
Florian Queze
76d7bdb946
Bug 1359130 - stop using FileUtils.jsm in the search service, r=adw.
2017-04-25 09:21:50 +02:00
Florian Queze
070e4cd147
Bug 1359130 - stop using NetUtil.jsm in the search service, r=adw.
2017-04-25 09:21:50 +02:00
Florian Queze
dddd24505a
Bug 1356593 - reimplement the search service's ParamSubstitution function to avoid doing unnecessary work, r=adw.
2017-04-22 02:08:54 +02:00
Zibi Braniecki
a1a4f0b7c9
Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
...
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.
In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.
In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.
In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.
MozReview-Commit-ID: 7rOr2CovLK
--HG--
extra : rebase_source : 883a91b249b6953b7872bfb9a8851e8be7257c7b
2017-03-11 18:43:11 -08:00
Sebastian Hengst
7b30105d39
Backed out changeset 60d72c2dd49d (bug 1346616) for eslint failure in DirectoryLinksProvider.jsm. r=backout on a CLOSED TREE
2017-04-18 00:48:16 +02:00
Zibi Braniecki
cce53c69bc
Bug 1346616 - Migrate callsites that are retrieving requested locale from pref, to use LocaleService::GetRequestedLocales. r=jfkthame,Pike
...
I'm adding a helper function mozILocaleService::GetRequestedLocale to simplify
most of the callsites that are looking for the first of the requested locales.
In most cases, I'm just matching the behavior of the code with reusing
LocaleService API instead of direct manipulation on the prefs.
That includes how I handle error case scenarios.
In case of sdk/l10n/locale.js I am reusing LocaleService heuristics over
the custom one from the file since the ones in LocaleService are just
more correct and unified accross the whole platform.
In case of FallbackEncoding I have to turn it into a nsIObserver to listen
to intl:requested-locales-changed.
MozReview-Commit-ID: 7rOr2CovLK
--HG--
extra : rebase_source : 2f166cf1746f389a035f7cf557edcadeacb10fa0
2017-03-11 18:43:11 -08:00
Florian Queze
4c6a68d1c9
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00
Florian Queze
f935ddc4b3
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
159215e6f4
Backed out changeset 18d45aa984d6 (bug 1355161)
2017-04-14 23:39:23 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Florian Queze
a363fb8c8b
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00
Jared Wein
a54eda04ca
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
--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Mark Banner
bd625e4e9f
Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
...
MozReview-Commit-ID: LH0CQOPfoe6
--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Michael Kaply
ffc5dfb2ca
Bug 1336560 - Allow distributions to hide search engines. r=florian
...
MozReview-Commit-ID: 12lSpSPZTqm
--HG--
extra : rebase_source : e730773d36f449dee42d1c2509d3a79ea6add438
2017-03-09 11:22:54 -06:00
Sebastian Hengst
333c2025c4
Backed out changeset 01b927dcb4af (bug 1336560) for failing eslint in test_sync_disthidden.js (semicolon too many). r=backout
2017-03-16 19:59:04 +01:00
Michael Kaply
f218fc24cc
Bug 1336560 - Allow distributions to hide search engines. r=florian
...
MozReview-Commit-ID: 12lSpSPZTqm
--HG--
extra : rebase_source : c59b686db171dd3311134f824ed6782c2a4435b1
2017-03-09 11:22:54 -06:00
Matthew Noorenberghe
babe2119bc
Bug 1344589 - Wait for the httpServer to shutdown in head_search.js to avoid reported leaks. r=adw
...
The test slow_timeout in test_searchSuggest.js was keeping a request open for 10s so the server wouldn't stop immediately.
MozReview-Commit-ID: EGFPRKMNa51
--HG--
extra : rebase_source : c22ddafaee9c4bf6142643782b53f3d4313531d8
2017-03-09 00:18:35 -05:00
Florian Quèze
0189aaecf7
Bug 1344987 - remove SEARCH_SERVICE_HAS_UPDATES and SEARCH_SERVICE_HAS_ICON_UPDATES Telemetry probes, r=past a=tomcat
2017-03-07 12:52:48 +01:00
Florian Quèze
7f1b926f29
Bug 1344711 - hand cleanup of cases that were ignored by the script to remove try blocks around get*Pref calls, r=jaws.
...
--HG--
extra : rebase_source : 4da1e10b87ac37de19e0ca6f79996e8a12492db9
2017-03-07 15:29:48 +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
Zibi Braniecki
b8f991e41b
Bug 1335983 - Migrate nsCollation::CreateCollection to use LocaleService::GetAppLocale. r=jfkthame
...
MozReview-Commit-ID: 5GEnL7Kihpj
--HG--
extra : rebase_source : 413d880035b49da82db0530379425d31ac31a82e
2017-02-07 12:52:03 -08:00
Wes Kocher
a9ce32d9a5
Backed out 2 changesets (bug 1335983) for build bustage a=backout
...
Backed out changeset 5a9559ded976 (bug 1335983)
Backed out changeset de2b0d90e2da (bug 1335983)
MozReview-Commit-ID: 377KQDU1QqJ
2017-02-07 12:34:30 -08:00