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

58 Коммитов

Автор SHA1 Сообщение Дата
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
Michael Kelly 335cdd19e4 Bug 1441366: Document BrowserErrorCollection.jsm. r=francois
MozReview-Commit-ID: AQlCKXUMxn8

--HG--
extra : source : d188e59c5f719e4bceadc9fd0924c3b052fe6640
extra : intermediate-source : b55d3dc7957b3a4134c345406f997b75370813f4
2018-03-14 13:47:19 -07:00
Gijs Kruitbosch 8fc45f6ac9 Bug 1370930 - remove DirectoryLinksProvider, r=Mardak
MozReview-Commit-ID: 4YcsNvRg7Hn

--HG--
extra : rebase_source : 15518736c9cc52cf18a0540417e6a38c9bed630a
2018-03-01 16:53:49 +00:00
Shane Caraveo 1fe5a3a13e Bug 1388902 remove socialapi share, r=florian
MozReview-Commit-ID: Kcjugf3Ql6y

--HG--
extra : rebase_source : 8f82fa6beabfa89916bbc97ec799c6e5d6b3ff18
2017-08-16 08:54:21 -07:00
Ed Lee b7eda53134 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

--HG--
extra : rebase_source : 1c58ac542180f0abb290639ec1c61b9edf3d0a51
2017-05-02 17:09:16 -07:00
Alessio Placitelli 22d6866cce Bug 1309256 - Add documentation for BrowserUsageTelemetry. r=gfritzsche
MozReview-Commit-ID: GVclrfo5Zhl

--HG--
extra : rebase_source : 7294f0409d11207bd3af4e624023180fec23589a
2016-11-09 00:18:00 +01:00
Georg Fritzsche 012b559669 Bug 1277810 - Part 1 - Restructure Telemetry client documentation. r=dexter, f=chutten
--HG--
rename : toolkit/components/telemetry/docs/scalars.rst => toolkit/components/telemetry/docs/collection/scalars.rst
rename : toolkit/components/telemetry/docs/crashes.rst => toolkit/components/telemetry/docs/concepts/crashes.rst
rename : toolkit/components/telemetry/docs/pings.rst => toolkit/components/telemetry/docs/concepts/pings.rst
rename : toolkit/components/telemetry/docs/common-ping.rst => toolkit/components/telemetry/docs/data/common-ping.rst
rename : toolkit/components/telemetry/docs/core-ping.rst => toolkit/components/telemetry/docs/data/core-ping.rst
rename : toolkit/components/telemetry/docs/crash-ping.rst => toolkit/components/telemetry/docs/data/crash-ping.rst
rename : toolkit/components/telemetry/docs/deletion-ping.rst => toolkit/components/telemetry/docs/data/deletion-ping.rst
rename : toolkit/components/telemetry/docs/environment.rst => toolkit/components/telemetry/docs/data/environment.rst
rename : toolkit/components/telemetry/docs/heartbeat-ping.rst => toolkit/components/telemetry/docs/data/heartbeat-ping.rst
rename : toolkit/components/telemetry/docs/main-ping.rst => toolkit/components/telemetry/docs/data/main-ping.rst
rename : toolkit/components/telemetry/docs/sync-ping.rst => toolkit/components/telemetry/docs/data/sync-ping.rst
rename : toolkit/components/telemetry/docs/uitour-ping.rst => toolkit/components/telemetry/docs/data/uitour-ping.rst
rename : toolkit/components/telemetry/docs/preferences.rst => toolkit/components/telemetry/docs/internals/preferences.rst
2016-08-09 13:52:27 +02:00
Marina Samuel ce263b9f80 Bug 1203577 - Remove hardcoded adgroup buckets. r=Mardak. 2015-09-14 14:44:51 -04:00
Maxim Zhilyaev 2edeb7cc5c Bug 1161656 - Report total views preceding a click [r=adw] 2015-07-09 23:03:05 -07:00
Ed Lee 0e1dc05991 Bug 1159884 - Inadjacency documentation [f=bsmedberg] 2015-05-21 01:33:10 -07:00
Ed Lee fb98b283b1 Bug 1157810 - Enforce that tile images are loaded from mozilla.net [r=adw, f=bsmedberg] 2015-05-14 16:46:39 -07:00
Marina Samuel 33263c6e66 Bug 1139496 - Allow server provided explanation / ad group name to be displayed on Suggested Tiles [r=adw, f=bsmedberg] 2015-05-19 12:42:08 -07:00
Ed Lee 003696dd05 Bug 1158208 - Enforce that tiles HTTP requests don't have cookies [r=adw] 2015-05-11 17:09:29 -07:00
Maxim Zhilyaev fcfa8d9127 Bug 1159571 - Use server provided frequency caps for daily and lifetime totals [r=adw] 2015-05-08 09:20:18 -07:00