Commit Graph

66 Commits

Author SHA1 Message Date
Matthew Noorenberghe
a0396b5df3 Bug 1595953 - Connect UITour-lib.js docs to sphinx-js to publish on firefox-source-docs. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D52772
2019-11-13 02:40:03 +00:00
Harry Twyford
50ff1b7cd0 Bug 1589135 - Add Touch Bar documentation. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D49665
2019-11-05 10:05:49 +00:00
Dorel Luca
b7d43fd116 Backed out changeset 35d4451f348d (bug 1588458) as requested by the dev 2019-10-15 19:04:22 +03:00
Sylvestre Ledru
21db358eeb Bug 1588458 - Replace dxr by searchfox in the doc r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49140
2019-10-15 15:27:13 +00:00
Michael Kaply
e45d30657d Bug 158968 - Implement kiosk mode. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41848
2019-10-04 19:47:56 +00:00
Mark Banner
df6f40f106 Bug 1578938 - Correctly move the urlbar documentation up a folder. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D44801
2019-09-05 13:28:23 +00:00
Mark Banner
f86fcfbab5 Bug 1567121 - Re-arrange the docs under browser/ so that they all fall under the top-level 'Firefox' docs page. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D42567
2019-08-20 17:14:50 +00:00
Drew Willcoxon
cb7e855b5c Bug 1566932 - Move quantumbar docs to browser/components/urlbar/docs. r=mak
* Move AddressBar.rst into a new browser/components/urlbar/docs directory
* Break it up into several files, which makes the patch look way bigger than it really is because I used `hg cp` to preserve blame
* Add an Experiments & Extensions file/subsection, to be written later
* Rewrite the intro a little for wording and also to reflect the fact that quantumbar has shipped, and also tweak the wording of some subsection titles

Differential Revision: https://phabricator.services.mozilla.com/D38938
2019-07-23 17:54:03 +00:00
Dão Gottwald
2796866c06 Bug 1564830 - Remove userInitiatedFocus flag. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D37540
2019-07-11 07:48:42 +00:00
Andreea Pavel
9272babf98 Backed out changeset c602dc47afce (bug 1564830) ES lint failure on a CLOSED TREE 2019-07-10 19:11:54 +03:00
Dão Gottwald
a67a02f13e Bug 1564830 - Remove userInitiatedFocus flag. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D37540
2019-07-10 15:40:50 +00:00
Dão Gottwald
d2894e5c84 Bug 1528605 - Remove UrlbarInput::closePopup in favor of UrlbarView::close. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D37550
2019-07-10 15:25:35 +00:00
Marco Bonardo
4c1dc8c278 Bug 1551898 - Replace UrlbarProvider.sources with a more flexible solution. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D31272
2019-05-17 14:25:47 +00:00
Marco Bonardo
d73773cca1 Bug 1548817 - Quantum Bar controller notifications may arrive out of order. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D30082
2019-05-08 21:14:33 +00:00
Drew Willcoxon
ef9feda30b Bug 1545916 - Make quantumbar match highlighting case insensitive. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D28751
2019-04-25 18:12:06 +00:00
Bogdan Tara
685a092891 Backed out changeset 2fb18533192e (bug 1545916) for test_tokenizer.js failures CLOSED TREE 2019-04-25 19:57:27 +03:00
Drew Willcoxon
2a4f8995cb Bug 1545916 - Make quantumbar match highlighting case insensitive. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D28751
2019-04-25 08:56:47 +00:00
Drew Willcoxon
89d97a3ced Bug 1524550 - Remove UrlbarQueryContext's lastKey property. r=mak
This assumes that the current direction in bug 1522278 is the one we want, which it's looking like it is.

Differential Revision: https://phabricator.services.mozilla.com/D27854
2019-04-17 15:19:23 +00:00
championshuttler
2cb7df72c9 Bug 1536103 - Fix Sphinx Warning - Title Underline too short in 'mach doc'. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D24536
2019-03-22 19:30:34 +00:00
Drew Willcoxon
3bde43c06c Bug 1529931 - Prevent autofill flicker and fix cases where we're not autofilling but should be. r=mak
* In nsAutoCompleteController, the logic that determines whether the new search is a prefix of the old search is only done in HandleText, i.e., on input, not when the value is set programmatically.

* That logic is a lot more complex in nsAutoCompleteController.

* nsAutoCompleteController autofills in one case where quantumbar doesn't: when completing the "placeholder" string before starting a new search and waiting for the async results (thereby preventing flicker).

* Some nsAutoCompleteController state gets reset each time the awesomebar is focused (see calls to attachController() in the autocomplete binding, which sets the controller's input, which calls ResetInternalState()). That state is important in regard to autofill and the placeholder string. If it's not reset, then the autofill of one search will incorrectly affect the autofill of a later search.

Differential Revision: https://phabricator.services.mozilla.com/D22306
2019-03-20 17:07:15 +00:00
Boris Zbarsky
b61174af9c Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D17327
2019-02-28 01:09:48 +00:00
Marco Bonardo
5b6cdb6110 Bug 1496685 - Implement UrlbarController::viewContextChanged. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D20841
2019-02-26 15:30:10 +00:00
Drew Willcoxon
4920730641 Bug 1524714 - @ by itself should show all the engine @aliases. r=mak,dao
The main part of the corresponding logic in the legacy urlbar is here: https://hg.mozilla.org/mozilla-central/annotate/73a91e84dbec/toolkit/content/widgets/autocomplete.xml#l1964

This patch basically just ports that.

Differential Revision: https://phabricator.services.mozilla.com/D18771
2019-02-08 08:53:07 +00:00
Drew Willcoxon
a1d649b4dc Bug 1524718 - Replace context.autofillValue with result.autofill, and autofill results when they're selected. r=mak
We should replace the context.autofillValue property with a result.autofill property. When the view selects results, it already notifies the input about it by calling input.setValueFromResult(). So we can modify setValueFromResult to check for the presence of result.autofill and thereby get autofill "for free".

result.autofill is an object: { value, selectionStart, selectionEnd }

This is going to help me implement bug 1521702.

One potentially cool thing about doing autofill this way is that any result can now trigger autofill, not only the heuristic result, and do it easily. Of course the user isn't typing when they select a non-heuristic result, so it's probably not fair to call that "autofill", but the result can trigger the selection aspect of autofill. As one example, that might be interesting for search suggestions: Type "foo", key down to the "foobar" suggestion, and the "bar" substring is automatically selected.

Differential Revision: https://phabricator.services.mozilla.com/D18618
2019-02-07 00:30:04 +00:00
Narcis Beleuzu
7eff442b15 Backed out changeset f89acdbfa432 (bug 1524718) for bc failures on browser_urlbar_locationchange_urlbar_edit_dos.js. CLOSED TREE 2019-02-06 19:42:16 +02:00
Drew Willcoxon
69c0c200c6 Bug 1524718 - Replace context.autofillValue with result.autofill, and autofill results when they're selected. r=mak
We should replace the context.autofillValue property with a result.autofill property. When the view selects results, it already notifies the input about it by calling input.setValueFromResult(). So we can modify setValueFromResult to check for the presence of result.autofill and thereby get autofill "for free". (The one place where the view doesn't call input.setValueFromResult() when a result is selected is when it selects the preselected result, so this patch adds that.)

result.autofill is an object: { value, selectionStart, selectionEnd }

This is going to help me implement bug 1521702.

One potentially cool thing about doing autofill this way is that any result can now trigger autofill, not only the heuristic result, and do it easily. Of course the user isn't typing when they select a non-heuristic result, so it's probably not fair to call that "autofill", but the result can trigger the selection aspect of autofill. As one example, that might be interesting for search suggestions: Type "foo", key down to the "foobar" suggestion, and the "bar" substring is automatically selected.

Differential Revision: https://phabricator.services.mozilla.com/D18618
2019-02-06 16:38:27 +00:00
Dão Gottwald
775ea837ee Bug 1522425 - Rename MATCH_SOURCE to RESULT_SOURCE. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D17837
2019-01-29 09:29:21 +00:00
Dão Gottwald
e26ce1f3cf Bug 1522426 - Rename MATCH_TYPE to RESULT_TYPE. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D17628
2019-01-25 16:14:21 +00:00
Dão Gottwald
8d73b5ad79 Bug 1515306 - Rename UrlbarMatch to UrlbarResult. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D17481
2019-01-24 11:23:20 +00:00
Drew Willcoxon
1244448bdf Bug 1520907 - Rename QueryContext to UrlbarQueryContext. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17033
2019-01-23 00:39:07 +00:00
Drew Willcoxon
6067874f84 Bug 1520665 - Replace context.autofill property with autofillValue, and make the UnifiedComplete provider set it based on result.getValueAt() r=mak
Differential Revision: https://phabricator.services.mozilla.com/D16766
2019-01-17 17:04:03 +00:00
Drew Willcoxon
21d4e7155c Bug 1520368 - Clarify the queryContext.autofill property and add an enableAutofill property. r=mak
This patch is based on the patch in bug 1520342.

I made the UnifiedComplete provider manually check `context.enableAutofill` before setting `context.autofill`.  If we end up with other providers setting `autofill`, they'd have to be careful to check `enableAutofill` too.  Maybe it would be better to have a `context.autofill` getter that always returns false when `enableAutofill` is false, or a setter that forces it to be false in that case?  Anyway, I opted for a simple approach in this patch.

The patch also rearranges properties so that they're listed in alphabetical order.  Not really necessary, but I think it's easier to pick out properties that way, and it's a logical order for adding more properties.

Differential Revision: https://phabricator.services.mozilla.com/D16639
2019-01-16 17:02:26 +00:00
Michael Kelly
e5e71e3d0a Bug 1509888: Remove Browser Error Collection. r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D15879
2019-01-15 18:04:28 +00:00
Marco Bonardo
700d6abe55 Bug 1511693 - Expose base classes for providers and muxers. r=Standard8
Creates base classes for providers and muxers. All the classes are exposed
by UrlbarUtils, for 2 reasons:
1. UrlbarProvidersManager on instantiation is importing provider modules, that
   may reimport the manager module. Exposing classes from it could cause a
   recursive failure.
2. It's nicer if only one of the urlbar modules exports multiple symbols (thus
   moving the QueryContext class here too)

Differential Revision: https://phabricator.services.mozilla.com/D14760
2018-12-19 12:57:43 +00:00
Marco Bonardo
cc4bbcdfa4 Bug 1502388 - Allow the view to limit searches to specific sources. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D14553
2018-12-17 10:50:10 +00:00
Marco Bonardo
fed85f37e8 Bug 1502389 - Allow the view to limit searches to specific providers. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D14549
2018-12-17 10:28:31 +00:00
Marco Bonardo
bf11ec2c51 Bug 1512523 - Limit the number of returned matches in the Quantum Bar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D14428
2018-12-13 21:21:03 +00:00
Marco Bonardo
cecc1d2142 Bug 1495183 - Create a first muxer implementation. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D13552
2018-12-02 09:58:15 +00:00
Marco Bonardo
051f0aad9d Bug 1502879 - Wrap UnifiedComplete in a Provider. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D12321
2018-11-21 15:29:44 +00:00
Marco Bonardo
8c97b7b923 Bug 1502385 - Filter matches and providers in the Quantum Bar manager. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D10348
2018-11-05 21:54:09 +00:00
arthur.iakab
44c0d47ace Backed out changeset 1d900d22c448 (bug 1502385) for causing build bustages with FATAL ERROR PROCESSING MOZBUILD FILE CLOSED TREES 2018-11-05 19:15:59 +02:00
Marco Bonardo
01ad462d3a Bug 1502385 - Filter matches and providers in the Quantum Bar manager. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D10348
2018-11-05 17:04:07 +00:00
Marco Bonardo
549a940b81 Bug 1498178 - Add in-tree documentation for the Quantum Bar r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D8960
2018-10-19 13:45:19 +00:00
Issei Horie
f4d00c247e Bug 1451351 - Move obsolete documentation to subfolder. r=janerik 2018-05-06 14:33:10 +09:00
Jan-Erik Rediger
a70d6e6a1f Bug 1443609 - Remove legacy components from UITelemetry r=chutten
Reporting was already disabled in Bug 1443605.

This keeps the `enabled` getter as a way to detect if it is enabled, in use in BrowserUITelemetry only.
This keeps `addEvent` and related methods, as they are still in use on Android.
2018-04-04 07:39:00 +03:00
Michael Kelly
79dff21a55 Bug 1441366: Document BrowserErrorCollection.jsm. r=francois
MozReview-Commit-ID: AQlCKXUMxn8
2018-03-14 13:47:19 -07:00
Gijs Kruitbosch
ab72cbd549 Bug 1370930 - remove DirectoryLinksProvider, r=Mardak
MozReview-Commit-ID: 4YcsNvRg7Hn
2018-03-01 16:53:49 +00:00
Shane Caraveo
b701920ecd Bug 1388902 remove socialapi share, r=florian
MozReview-Commit-ID: Kcjugf3Ql6y
2017-08-16 08:54:21 -07:00
Ed Lee
e4a81ec969 Bug 1241390 - Remove Suggested Tiles and related features. r=adw,emtwo
Remove suggested and enhanced tiles along with related campaign, frequency-cap, inadjacency, pings, preferences, strings, styles, tests.

MozReview-Commit-ID: FkjaSpSFQHu
2017-05-02 17:09:16 -07:00
Alessio Placitelli
bdca4b000a Bug 1309256 - Add documentation for BrowserUsageTelemetry. r=gfritzsche
MozReview-Commit-ID: GVclrfo5Zhl
2016-11-09 00:18:00 +01:00