Граф коммитов

71 Коммитов

Автор SHA1 Сообщение Дата
Dave Townsend e07f989e6c Bug 1620358: Gather telemetry on toolbar state. r=Gijs,zombie
Differential Revision: https://phabricator.services.mozilla.com/D78393
2020-06-16 21:06:15 +00:00
Molly Howell 06f1209768 Bug 1602463 Part 3 - Windows default browser agent. r=agashlin,bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D61889

--HG--
extra : moz-landing-system : lando
2020-03-16 20:16:25 +00:00
Mihai Alexandru Michis 12c2ba4b56 Backed out 5 changesets (bug 1602463) for causing diffoscope failures.
CLOSED TREE

Backed out changeset ff565862e785 (bug 1602463)
Backed out changeset 2583a2703658 (bug 1602463)
Backed out changeset 8f3de97c5d50 (bug 1602463)
Backed out changeset be11972a8149 (bug 1602463)
Backed out changeset 5a6058d8266c (bug 1602463)
2020-03-16 20:29:20 +02:00
Molly Howell 3964971fc6 Bug 1602463 Part 3 - Windows default browser agent. r=agashlin,bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D61889

--HG--
extra : moz-landing-system : lando
2020-03-16 15:11:17 +00:00
Dan Mosedale b72e08427b Bug 1616963 - surface ASRouter docs to firefox-source-docs, r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D63539

--HG--
extra : moz-landing-system : lando
2020-02-27 09:06:31 +00:00
Matthew Noorenberghe 2461213d8f 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

--HG--
extra : moz-landing-system : lando
2019-11-13 02:40:03 +00:00
Harry Twyford 120863db8c Bug 1589135 - Add Touch Bar documentation. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D49665

--HG--
extra : moz-landing-system : lando
2019-11-05 10:05:49 +00:00
Dorel Luca b6eeb7d5d3 Backed out changeset 35d4451f348d (bug 1588458) as requested by the dev 2019-10-15 19:04:22 +03:00
Sylvestre Ledru 0f71aeba53 Bug 1588458 - Replace dxr by searchfox in the doc r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49140

--HG--
extra : moz-landing-system : lando
2019-10-15 15:27:13 +00:00
Michael Kaply d3547ee818 Bug 158968 - Implement kiosk mode. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41848

--HG--
extra : moz-landing-system : lando
2019-10-04 19:47:56 +00:00
Mark Banner 7731688366 Bug 1578938 - Correctly move the urlbar documentation up a folder. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D44801

--HG--
extra : moz-landing-system : lando
2019-09-05 13:28:23 +00:00
Mark Banner 0965196789 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

--HG--
extra : moz-landing-system : lando
2019-08-20 17:14:50 +00:00
Drew Willcoxon cdc9484d3d 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

--HG--
rename : browser/docs/AddressBar.rst => browser/components/urlbar/docs/contact.rst
rename : browser/docs/AddressBar.rst => browser/components/urlbar/docs/debugging.rst
rename : browser/docs/AddressBar.rst => browser/components/urlbar/docs/overview.rst
rename : browser/docs/AddressBar.rst => browser/components/urlbar/docs/telemetry.rst
rename : browser/docs/AddressBar.rst => browser/components/urlbar/docs/utilities.rst
extra : moz-landing-system : lando
2019-07-23 17:54:03 +00:00
Dão Gottwald 9613076e75 Bug 1564830 - Remove userInitiatedFocus flag. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D37540

--HG--
extra : moz-landing-system : lando
2019-07-11 07:48:42 +00:00
Andreea Pavel 5dae66b201 Backed out changeset c602dc47afce (bug 1564830) ES lint failure on a CLOSED TREE 2019-07-10 19:11:54 +03:00
Dão Gottwald 190d05c07e Bug 1564830 - Remove userInitiatedFocus flag. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D37540

--HG--
extra : moz-landing-system : lando
2019-07-10 15:40:50 +00:00
Dão Gottwald da30f0dd76 Bug 1528605 - Remove UrlbarInput::closePopup in favor of UrlbarView::close. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D37550

--HG--
extra : moz-landing-system : lando
2019-07-10 15:25:35 +00:00
Marco Bonardo 1f54ba7d47 Bug 1551898 - Replace UrlbarProvider.sources with a more flexible solution. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D31272

--HG--
extra : moz-landing-system : lando
2019-05-17 14:25:47 +00:00
Marco Bonardo 4f8c7aa8a1 Bug 1548817 - Quantum Bar controller notifications may arrive out of order. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D30082

--HG--
extra : moz-landing-system : lando
2019-05-08 21:14:33 +00:00
Drew Willcoxon aa16935357 Bug 1545916 - Make quantumbar match highlighting case insensitive. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D28751

--HG--
extra : moz-landing-system : lando
2019-04-25 18:12:06 +00:00
Bogdan Tara 769a1f0d22 Backed out changeset 2fb18533192e (bug 1545916) for test_tokenizer.js failures CLOSED TREE 2019-04-25 19:57:27 +03:00
Drew Willcoxon 441baf366e Bug 1545916 - Make quantumbar match highlighting case insensitive. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D28751

--HG--
extra : moz-landing-system : lando
2019-04-25 08:56:47 +00:00
Drew Willcoxon 607920f718 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

--HG--
extra : moz-landing-system : lando
2019-04-17 15:19:23 +00:00
championshuttler 677714a968 Bug 1536103 - Fix Sphinx Warning - Title Underline too short in 'mach doc'. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D24536

--HG--
extra : moz-landing-system : lando
2019-03-22 19:30:34 +00:00
Drew Willcoxon 674a2ade96 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

--HG--
rename : browser/components/urlbar/tests/browser/browser_UrlbarInput_autofill.js => browser/components/urlbar/tests/browser/browser_autoFill_caretNotAtEnd.js
extra : moz-landing-system : lando
2019-03-20 17:07:15 +00:00
Boris Zbarsky 9c5da5f234 Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D17327

--HG--
rename : dom/html/test/browser_refresh_wyciwyg_url.js => dom/html/test/browser_refresh_after_document_write.js
rename : dom/html/test/file_refresh_wyciwyg_url.html => dom/html/test/file_refresh_after_document_write.html
extra : moz-landing-system : lando
2019-02-28 01:09:48 +00:00
Marco Bonardo d012deb395 Bug 1496685 - Implement UrlbarController::viewContextChanged. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D20841

--HG--
extra : moz-landing-system : lando
2019-02-26 15:30:10 +00:00
Drew Willcoxon 1f90601aba 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

--HG--
extra : moz-landing-system : lando
2019-02-08 08:53:07 +00:00
Drew Willcoxon ee7630f333 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

--HG--
extra : moz-landing-system : lando
2019-02-07 00:30:04 +00:00
Narcis Beleuzu 8adc1fee1a 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 6ab2c13cf4 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

--HG--
extra : moz-landing-system : lando
2019-02-06 16:38:27 +00:00
Dão Gottwald 969b56a313 Bug 1522425 - Rename MATCH_SOURCE to RESULT_SOURCE. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D17837

--HG--
extra : moz-landing-system : lando
2019-01-29 09:29:21 +00:00
Dão Gottwald 9e40dea2a8 Bug 1522426 - Rename MATCH_TYPE to RESULT_TYPE. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D17628

--HG--
extra : moz-landing-system : lando
2019-01-25 16:14:21 +00:00
Dão Gottwald 40de07781f Bug 1515306 - Rename UrlbarMatch to UrlbarResult. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D17481

--HG--
rename : browser/components/urlbar/UrlbarMatch.jsm => browser/components/urlbar/UrlbarResult.jsm
extra : moz-landing-system : lando
2019-01-24 11:23:20 +00:00
Drew Willcoxon 78544a4304 Bug 1520907 - Rename QueryContext to UrlbarQueryContext. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17033

--HG--
rename : browser/components/urlbar/tests/unit/test_QueryContext.js => browser/components/urlbar/tests/unit/test_UrlbarQueryContext.js
extra : moz-landing-system : lando
2019-01-23 00:39:07 +00:00
Drew Willcoxon 53c6c30ee4 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

--HG--
extra : moz-landing-system : lando
2019-01-17 17:04:03 +00:00
Drew Willcoxon 874d24f142 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

--HG--
extra : moz-landing-system : lando
2019-01-16 17:02:26 +00:00
Michael Kelly 28e4764f00 Bug 1509888: Remove Browser Error Collection. r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D15879

--HG--
extra : moz-landing-system : lando
2019-01-15 18:04:28 +00:00
Marco Bonardo cc99e09b2b 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

--HG--
extra : moz-landing-system : lando
2018-12-19 12:57:43 +00:00
Marco Bonardo a898790af5 Bug 1502388 - Allow the view to limit searches to specific sources. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D14553

--HG--
extra : moz-landing-system : lando
2018-12-17 10:50:10 +00:00
Marco Bonardo bc41334745 Bug 1502389 - Allow the view to limit searches to specific providers. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D14549

--HG--
extra : moz-landing-system : lando
2018-12-17 10:28:31 +00:00
Marco Bonardo d2564e5f49 Bug 1512523 - Limit the number of returned matches in the Quantum Bar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D14428

--HG--
extra : moz-landing-system : lando
2018-12-13 21:21:03 +00:00
Marco Bonardo 70a7e4ce9e Bug 1495183 - Create a first muxer implementation. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D13552

--HG--
extra : moz-landing-system : lando
2018-12-02 09:58:15 +00:00
Marco Bonardo b27ac6b7e1 Bug 1502879 - Wrap UnifiedComplete in a Provider. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D12321

--HG--
extra : moz-landing-system : lando
2018-11-21 15:29:44 +00:00
Marco Bonardo 9abb5ce7c9 Bug 1502385 - Filter matches and providers in the Quantum Bar manager. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D10348

--HG--
extra : moz-landing-system : lando
2018-11-05 21:54:09 +00:00
arthur.iakab b6054b92d1 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 f7c0cb4aa3 Bug 1502385 - Filter matches and providers in the Quantum Bar manager. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D10348

--HG--
extra : moz-landing-system : lando
2018-11-05 17:04:07 +00:00
Marco Bonardo ext:(%20%3Cmbonardo%40mozilla.com%3E) a3c4d56f39 Bug 1498178 - Add in-tree documentation for the Quantum Bar r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D8960

--HG--
extra : moz-landing-system : lando
2018-10-19 13:45:19 +00:00
Issei Horie 0c29c92417 Bug 1451351 - Move obsolete documentation to subfolder. r=janerik 2018-05-06 14:33:10 +09:00
Jan-Erik Rediger 2c31418dd5 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