Commit Graph

151 Commits

Author SHA1 Message Date
Myk Melez
30f98a841a Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: Egyzs2KxhzH
2018-01-04 21:37:47 -08:00
Sebastian Hengst
14608b5894 Backed out 2 changesets (bug 1379338) for failing Marionette headless' test_anonymous_content.py TestAnonymousNodes.test_find_anonymous_children. r=backout on a CLOSED TREE
Backed out changeset 232c97d7c2ea (bug 1379338)
Backed out changeset a76ff10b9bff (bug 1379338)
2018-01-04 20:15:18 +02:00
Myk Melez
5b9b2b305f Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: 7NRHlSsdOtf
2018-01-04 07:34:15 -08:00
Jan Horak
e7bd43fa44 Bug 1297686 - List GIO handlers in the protocol handler list, in the handlers dialog, and in preferences. r=paolo
The nsGIOService now provides GetAppsForURIScheme which is used to append handlers
for specific scheme in handler list dialog (toolkit/mozapps/handling/content/dialog.js)
and also in Applications section in preferences. In case the default system handler
or user added handler has same name as one of the GIO handlers, the GIO handler
is not appended. The check for not adding handler is by using handler name.

The nsGIOMimeApp class now implements nsIHandlerApp interface. Instead overloaded
GetName methods (nsCString and nsString) we now use nsString variant everywhere.
This require change of nsGNOMERegistry::GetFromType which if fact leads to code
simplification.

The implementation of nsGNOMEShellService::SetDefaultBrowser has been changed
because implementation of CreateAppFromCommand has changed.
The CreateAppFromCommand no longer tries to find the application,
for that FindAppFromCommand has been introduced.

MozReview-Commit-ID: KmfFWRPqV3
2017-12-29 07:27:42 +00:00
Cosmin Sabou
b7fa5a6d8a Backed out changeset 9660ff09c221 (bug 1297686) for xpcshell failures at uriloader/exthandler/tests/unit/test_handlerService_json.js r=backout on a CLOSED TREE 2017-12-28 19:41:50 +02:00
Jan Horak
11243ad3fa Bug 1297686 - List GIO handlers in the protocol handler list, in the handlers dialog, and in preferences. r=paolo
The nsGIOService now provides GetAppsForURIScheme which is used to append handlers
for specific scheme in handler list dialog (toolkit/mozapps/handling/content/dialog.js)
and also in Applications section in preferences. In case the default system handler
or user added handler has same name as one of the GIO handlers, the GIO handler
is not appended. The check for not adding handler is by using handler name.

The nsGIOMimeApp class now implements nsIHandlerApp interface. Instead overloaded
GetName methods (nsCString and nsString) we now use nsString variant everywhere.
This require change of nsGNOMERegistry::GetFromType which if fact leads to code
simplification.

The implementation of nsGNOMEShellService::SetDefaultBrowser has been changed
because implementation of CreateAppFromCommand has changed.
The CreateAppFromCommand no longer tries to find the application,
for that FindAppFromCommand has been introduced.

MozReview-Commit-ID: KmfFWRPqV3
2017-12-28 15:25:32 +00:00
Jared Wein
b707396e36 Bug 1419042 - Only use the distroVersion if the pref contains a value, otherwise leave it out of the version string. r=evanxd
MozReview-Commit-ID: Pign2W4RfE
2017-11-20 10:50:23 -05:00
Gurzau Raul
14f4b11b35 Backed out 1 changesets (bug 1419042) on request from jaws r=backout on a CLOSED TREE
Backed out changeset 64ee916b6bb9 (bug 1419042)
2017-11-21 17:56:01 +02:00
Jared Wein
2d2a91cf4d Bug 1419042 - Only use the distroVersion if the pref contains a value, otherwise leave it out of the version string. r=evanxd
MozReview-Commit-ID: Pign2W4RfE
2017-11-20 10:50:23 -05:00
Zibi Braniecki
c82b1b6f78 Bug 1402069 - Add a test string for the new localization API. r=mossop,Pike
MozReview-Commit-ID: KhCW1n9LDka
2017-09-21 19:55:17 +02:00
Mark Striemer
7eda41692e Bug 1386018 - Tell users that the default search engine was set by an extension r=aswan,bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF
2017-10-18 14:54:54 -05:00
Phil Ringnalda
f29b26e80a Backed out changeset 607922c730a1 (bug 1386018) for eslint bustage
MozReview-Commit-ID: JKQnKm7Nf4K
2017-10-31 19:12:01 -07:00
Mark Striemer
806e8bd04e Bug 1386018 - Tell users that the default search engine was set by an extension r=aswan,bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF
2017-10-18 14:54:54 -05:00
Myk Melez
5f4500b0b8 Bug 1412445 - replace custom QI impl with XPCOMUtils.generateQI call; r=rickychien 2017-10-30 14:37:09 -07:00
Mark Banner
e47ccbfec3 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo
2017-10-26 11:47:01 +01:00
Edouard Oger
f7eb3c6d4f Bug 1395460 p1 - Remove usages of about:accounts. r=tcsc
MozReview-Commit-ID: APdGc9avJDw
2017-10-24 14:05:52 -04:00
Sebastian Hengst
e2a7e61d30 Backed out 2 changesets (bug 1395460) for eslint failure at browser/components/uitour/UITour.jsm:556 (no return value from arrow function). r=backout on a CLOSED TREE
Backed out changeset 0bc6d186d609 (bug 1395460)
Backed out changeset 6c028123001d (bug 1395460)
2017-10-26 23:33:04 +02:00
Edouard Oger
e0dacee365 Bug 1395460 p1 - Remove usages of about:accounts. r=tcsc
MozReview-Commit-ID: APdGc9avJDw
2017-10-24 14:05:52 -04:00
Mark Striemer
5f76299f44 Bug 1411060 - Don't show extension controlled message if add-on isn't installed r=bsilverberg
MozReview-Commit-ID: IRrWA3simqf
2017-10-23 22:45:38 -05:00
Sebastian Hengst
6090308fdf Backed out changeset ba4a39241953 (bug 1386018) for xpcshell failures, e.g. toolkit/mozapps/extensions/test/xpcshell/test_signed_install.js on Linux debug. r=backout on a CLOSED TREE 2017-10-25 00:32:35 +02:00
Mark Striemer
c48b27c5af Bug 1386018 - Tell users that the default search engine was set by an extension r=bsilverberg,jaws
MozReview-Commit-ID: A7uJ2lN0cLF
2017-10-18 14:54:54 -05:00
Mark Banner
4de85b3d5b Bug 1230373 - Enable mozilla/use-services for browser/components/ r=mossop
MozReview-Commit-ID: 9m9iss3jUJJ
2017-10-11 15:43:51 +01:00
Blake Kaplan
75a7d043b2 Bug 1406212 - Remove old uses of the now-defunct .web pref. r=timdream
I'm pretty sure these changes are correct, but please double-check my work
(especially on the test, which becomes much simpler now that there's only one
pref controlling the behavior).

MozReview-Commit-ID: JhjZeVAMxAV
2017-09-28 16:11:03 -07:00
Felipe Gomes
16be41e94b Bug 1407351 - Simplify check for e10s in about:preferences. r=jaws
This code that checks the status code is not necessary, the boolean answer is already stored in Services.appinfo.browserTabsRemoteAutostart.

MozReview-Commit-ID: HhanM9nnXBs
2017-10-17 13:39:57 -02:00
Felipe Gomes
b9bcd5b159 Bug 1407351 - Remove Nightly-only e10s checkbox in about:preferences. r=jaws
MozReview-Commit-ID: 39kpPYgmYZd
2017-10-17 13:39:54 -02:00
Ryan VanderMeulen
99112e9931 Backed out 5 changesets (bug 1407351) for causing bug 1409395 and breaking nightlies.
Backed out changeset e6ee25ad6a9f (bug 1407351)
Backed out changeset 8e04412824b5 (bug 1407351)
Backed out changeset effeee94316e (bug 1407351)
Backed out changeset a53f34a45f9b (bug 1407351)
Backed out changeset 86a360e12b8a (bug 1407351)
2017-10-17 10:07:55 -04:00
Mark Striemer
7b2c532c77 Bug 1407999 - Support locked prefs for homepage r=jaws
MozReview-Commit-ID: Fxo0jh6KbOt
2017-10-12 12:47:36 -05:00
Felipe Gomes
2e6d3c4893 Bug 1407351 - Simplify check for e10s in about:preferences. r=jaws
This code that checks the status code is not necessary, the boolean answer is already stored in Services.appinfo.browserTabsRemoteAutostart.

MozReview-Commit-ID: HlU3ypyWt1p
2017-10-16 14:00:46 -02:00
Felipe Gomes
13976c0a5e Bug 1407351 - Remove Nightly-only e10s checkbox in about:preferences. r=jaws
MozReview-Commit-ID: F2rJBRaWINm
2017-10-16 14:00:43 -02:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Evan Tseng
a8677c594a Bug 1392951 - Implement telemetry probe for home page setup. r=liuche,mconley
- Send a ping when user type in "Home page" box.
  - String is longer than 4 letters and with at least one ".".
  - String is not deleted after 3 seconds.
- Send a ping when "Use Current Page" is clicked.
- Send a ping when "Use Bookmark" is clicked.
- Send the number of "|" is detected in "Home page" box.

MozReview-Commit-ID: 6bYK0eCkYym
2017-10-06 16:13:05 +08:00
Ricky Chien
ab16a0526c Bug 1402918 - Initialize Applications pane in preferences.js r=jaws
MozReview-Commit-ID: LUvyzBt6ahg
2017-09-27 17:51:59 +08:00
Myk Melez
c7b1efc234 Bug 1399202 - encapsulate language group selection; r=nhnt11 2017-09-27 09:13:56 -07:00
Mark Striemer
d1cc2d6a62 Bug 1373853 - Show extension that is controlling the new tab in preferences r=jaws
MozReview-Commit-ID: GycnWgmr9kJ
2017-09-15 21:07:24 -05:00
Sebastian Hengst
bf0dc95f6b Backed out changeset 6c69f8021a5e (bug 1373853) for accidentially landing. r=backout 2017-09-22 16:54:27 +02:00
Mark Striemer
7bbf02b0e2 Bug 1373853 - Show extension that is controlling the new tab in preferences r=jaws
MozReview-Commit-ID: GycnWgmr9kJ
2017-09-22 16:49:28 +02:00
Wes Kocher
4529c7863d Backed out changeset f1e37c409e4f (bug 1373853) for leaked preference windows in browser_urlbarAboutHomeLoading.js a=backout
MozReview-Commit-ID: 37Zd7ogYu4S
2017-09-21 17:15:39 -07:00
Mark Striemer
9b74ffc5a5 Bug 1373853 - Show extension that is controlling the new tab in preferences r=jaws
MozReview-Commit-ID: GycnWgmr9kJ
2017-09-15 21:07:24 -05:00
Sebastian Hengst
deeea97bcc Backed out changeset 6aa63fcf5c4e (bug 1373853) for leaking preferences windows, e.g. after browser-chrome's browser/base/content/test/general/browser_bug735471.js ran. r=backout 2017-09-20 21:14:28 +02:00
Mark Striemer
bfd64c9dd0 Bug 1373853 - Show extension that is controlling the new tab in preferences r=jaws
MozReview-Commit-ID: GycnWgmr9kJ
2017-09-15 21:07:24 -05:00
Myk Melez
f01ac00baf Bug 1400453 - yield thread between each call to gExternalProtocolService.getProtocolHandlerInfo; r=florian 2017-09-19 15:55:07 -07:00
Ricky Chien
9a1c3ec22c Bug 1400117 - Initialize Application handlers after pageshow to avoid delaying painting of Preferences page r=florian,jaws
MozReview-Commit-ID: Cla3vz3YF38
2017-09-15 12:06:08 +08:00
Jonathan Kingston
73406f7114 Bug 1397100 - Disable container about:preference checkbox if a container addon is enabled. r=bsilverberg,Felipe
MozReview-Commit-ID: DtJX3FiE0e0
2017-09-18 08:11:31 +01:00
Mark Striemer
69b5c742a6 Bug 1354344 - Show extension controlling home page in preferences r=bsilverberg,jaws
MozReview-Commit-ID: 9mU3SvdK91c
2017-09-07 11:35:06 -05:00
Myk Melez
53c95c6eeb Bug 1375978 - enumerate fonts asynchronously; r=jfkthame,nhnt11 2017-09-12 11:05:37 -07:00
Ricky Chien
6bbcb028a8 Bug 1349689 - Remove old preferences fork r=jaws
MozReview-Commit-ID: GNPcQGUTUKJ
2017-08-21 17:48:18 +08:00
Sebastian Hengst
c97c631ff5 Backed out changeset df8215261c7e (bug 1349689) on request from rchien. r=backout 2017-08-31 16:58:32 +02:00
Ricky Chien
4dd95d9a6c Bug 1349689 - Remove old preferences fork r=jaws
MozReview-Commit-ID: GNPcQGUTUKJ
2017-08-21 17:48:18 +08:00
Punam
e371f3402c Bug 1391486 - Cloud Storage - Handle browser.download.dir unspecified in new profile r=Gijs
MozReview-Commit-ID: 3WfS5CQLtYY
2017-08-17 23:05:26 -07:00
Punam
61f830b1ba Bug 1387153 - Preferences UI to support cloud storage download r=Gijs
* Add third radio button to support cloud storage download preference
* Handle download preferences and UI states, while switching between three options
* Add method to check if provider is in use in Cloud Storage API
* Preferences cloud storage strings saved as resource url
* Updated old in-content with cloud storage pref UI changes
* Turn cloud storage API on/off using generic pref

MozReview-Commit-ID: AE3MlhgKp2C
2017-08-15 16:57:23 -07:00