Commit Graph

83 Commits

Author SHA1 Message Date
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
Ricky Chien
fbfec60637 Bug 1389550 - Move help button into category and remove init_dynamic_padding in preferences.js r=jaws
MozReview-Commit-ID: 3IU7jTqYr5g
2017-09-28 15:43:12 +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
Ricky Chien
4732c60753 Bug 1397731 - Clear Preferences search query after category switchover r=mconley
MozReview-Commit-ID: DoV5xHW0xKP
2017-09-11 23:33:10 +08: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
Rajesh Kathiriya
bfb3762076 Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
MozReview-Commit-ID: RT5QTipaOW
2017-07-04 21:30:18 +05:30
Timothy Guan-tin Chien
07e1c956ed Bug 1363850 - Part II, Move old about:preferences from in-content-old/ to in-content/, r=jaws,mconley
MozReview-Commit-ID: DPLJT1adO1c
2017-05-31 08:20:26 +08:00
Timothy Guan-tin Chien
3a021a04eb Bug 1363850 - Part I, Move new about:preferences from in-content/ to in-content-new/, r=jaws,mconley
MozReview-Commit-ID: ButUfsGP7lS
2017-05-25 18:31:41 +08:00
Evan Tseng
e5981dbb6e Bug 1353862 - Remove the Search Results category, search input string, and highlights after performing a search then clicking on a category, r=jaws
MozReview-Commit-ID: BJC7DOQ5uV0
2017-05-02 16:28:11 +08:00
Evan Tseng
b862a83cdc Bug 1361969 - Update the URL of "Firefox Support" Link r=mconley
MozReview-Commit-ID: 1aBPa6Pv9Fs
2017-05-04 22:34:46 +08:00
Fischer.json
44995021d4 Bug 1358475 - The category must be retrieved from either the argument, the hash, or the default category name before computing the subcategory. r=jaws
Computing the subcategory based off of just the hash doesn't work when switchToTabHavingURI is used to open the preferences.

MozReview-Commit-ID: 5rYkiLkDgfT
2017-04-22 16:42:31 +08:00
Jared Wein
9ca4439e2c Bug 1349744 - Move help button to the bottom-left of the preferences per spec. r=mconley
Due to bug 1357841 we cannot put the help button as low as the spec desired (14px from the bottom). However the patch will reduce the bottom offset when the height of the window is low so as not to waste space.

Ian Ferguson <xfergusi@gmail.com> contributed substantially to this patch.

MozReview-Commit-ID: 4Dxa30RmSBZ
2017-04-19 15:42:06 -04:00
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst
f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Jared Wein
e8c2bdcc5c Bug 1353805 - Allow showing only subcategories of a section to make finding prefs easier. r=mconley
This is a temporary measure until we have search complete and shipped (1353954).

MozReview-Commit-ID: KFeOefJ1RGM
2017-04-05 23:03:10 -04:00
Jared Wein
0888caf76a Bug 1353848 - Add the 'searchresults' category to the telemetry histogram bucket list. r=mconley
We need to run toLowerCase() on the category name because the searchresults category is actually searchResults.

MozReview-Commit-ID: 1AgSULER7N4
2017-04-05 15:40:13 -04:00
manotejmeka
91dbd4cedb Bug 1335905 - Add Preferences search feature, preffed off by default. r=jaws,mconley
Code written by Manotej Meka <manotejmeka@gmail.com> and Ian Ferguson <fergu272@msu.edu>
This is the initial landing of the search feature, and is preffed off behind
browser.preferences.search.

MozReview-Commit-ID: 7iaeRsIIV3Y
2017-04-04 16:33:34 -04:00
Fischer.json
c90a212fbe Bug 1352374 - Part 1: Exclude element with data-hidden-from-search=true from search results, r=jaws
MozReview-Commit-ID: AS1EMkfyH9b
2017-03-31 18:46:31 +08:00
Wes Kocher
317d520c08 Backed out changeset caee52f2863b (bug 1335905) for test failures in browser_misused_characters_in_strings.js a=backout 2017-04-03 12:16:00 -07:00
manotejmeka
97beedacaf Bug 1335905 - Add Preferences search feature, preffed off by default. r=jaws,mconley
Code written by Manotej Meka <manotejmeka@gmail.com> and Ian Ferguson <fergu272@msu.edu>
This is the initial landing of the search feature, and is preffed off behind
browser.preferences.search.

MozReview-Commit-ID: 7iaeRsIIV3Y
2017-04-03 14:02:01 -04:00
Zack Herrick
50c0d3d538 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7
2017-03-29 11:52:08 -04:00
Sebastian Hengst
73c0729e22 Backed out changeset 9ef667136bbe (bug 1335907) for failing browser_datachoices_notification.js. r=backout 2017-03-28 23:43:11 +02:00
Zack Herrick
11d8b74c55 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7
2017-03-28 14:32:54 -04:00
Gijs Kruitbosch
0832e365bc Bug 1348623 - revert changes from bug 1044586 and fix preferences reload bug by changing the event listener, r=smaug
In bug 1044586 we changed nsDocument::GetEventTargetParent such that events for
a document were not sent to its parent window if the inner window for the
document wasn't the current inner window. Unfortunately it seems this means
event listeners on the window sometimes miss user input events (mousedown etc.)
when user input takes place before the first paint of a new document that's
loading. In order to fix this, this patch backs out the changes from bug 1044586.

This reintroduces the issue we had before with the preference window, where
reloading the preferences quickly meant that its listeners (attached to the
window) got confused by DOMContentLoaded events from a previously loaded
document. Instead of the broad fix to nsDocument::GetEventTargetParent, this
patch simply changes the event listeners from the preferences code to be
attached to the document instead of the window, thus ensuring they only get
notified for events relating to their own document.

MozReview-Commit-ID: 9DImyNst9fS
2017-03-20 17:16:34 +00:00
Mark Banner
e21fc78563 Bug 1344027 - Change the import-global-from option for eslint to allow circular references and resolve most of the no-undef issues in browser/components/preferences. r=mossop
MozReview-Commit-ID: BERAbtYkxsF
2017-02-22 10:19:11 +00: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
Steffen Wilberg
de2906dbed Bug 1326821: about:preferences - Ctrl+K shortcut doesn't focus searchbar. r=Gijs
MozReview-Commit-ID: 3zNwW2b4K17
2017-01-15 22:00:58 +01:00
Jared Wein
2de0319338 Bug 1325464 - Use ES6 method syntax for preferences. r=MattN
MozReview-Commit-ID: k3Bkm39TtT
2016-12-22 15:57:40 -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
f64a7da705 Bug 1325464 - Use ES6 method syntax for preferences. r=MattN
MozReview-Commit-ID: k3Bkm39TtT
2016-12-22 15:57:40 -05:00
Jared Wein
57794b5943 Bug 1324167 - Create telemetry probes to track which preference categories are opened. r=Gijs privacy-review=bsmedberg
MozReview-Commit-ID: 39UhphnkKkC
2016-12-20 16:37:04 -05:00
Jonathan Kingston
77ba00e618 Bug 1267916 - part 2 - Add in UX for about:preferences#containers page, r=jaws 2016-11-03 19:31:35 +01:00
Mark Banner
c0170c9aa4 Bug 1311315 - General small fixes for no-undef eslint issues in browser/. r=jaws
Drop linting of the .eslintrc.js config files.
Fix some minor errors in the code (missing let/const, undefined vars).
Let eslint know that some files get their globals from other places (typically via xul script tags).

MozReview-Commit-ID: CwxuwPtRUr6
2016-10-18 12:34:35 +01:00
Milan Sreckovic
b470852169 Bug 1299931: Move the follow up cancel into the function that preceeds it. r=jaws
MozReview-Commit-ID: 71HTqbiNV0a
2016-09-01 16:52:24 -04:00
Fischer.json
cfa542463c Bug 1120967 - Broken middle/right click on links via about:preferences pages. r=jaws
MozReview-Commit-ID: FejMTP3invj
2016-08-19 17:32:31 +08: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
7b4c22ac1c Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs
MozReview-Commit-ID: 62ymdZhluHx
2016-08-13 21:58:42 -04:00
Milan Sreckovic
9f27edc455 Bug 1285328: Part 2. Add an ability to change the revert/cancel label and/or show the restart later button to the confirmRestartPrompt dialog. r=jaws
MozReview-Commit-ID: D7SDsHqghAS
2016-07-14 14:14:28 -04:00
Milan Sreckovic
bbc485dc42 Bug 1285328: Part 1. Make sure the first button/escape is a no-op in these dialogs, and in the potential data loss case, make the default also a no-op. Refactor some common code into preferences.js. r=jaws
MozReview-Commit-ID: 576kGMX08vz
2016-07-14 13:55:07 -04:00
Gijs Kruitbosch
e55f6fb072 Bug 1239748 - add a user-facing preference to turn off the on-screen keyboard functionality completely, r=jaws 2016-01-20 15:44:03 +00:00
Andreas Wagner
898b71e447 Bug 1195256 - preferences: Align question mark to the header of the pane, r=gijs 2015-11-24 09:14:46 +00:00
Carsten "Tomcat" Book
036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Jared Wein
3239a08031 Bug 1044600 - Close subdialogs when the back button is used in the in-content preferences. r=Gijs 2015-02-02 16:00:00 +00:00
Ian Moody
a91c0e798f Bug 1129930 - JavaScript error: chrome://browser/content/preferences/in-content/preferences.js, line 82: TypeError: getComputedStyle(...) is null. r=Gijs 2015-02-05 16:48:46 +00:00