Commit Graph

52 Commits

Author SHA1 Message Date
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
Georg Fritzsche
fa5a8465ff Bug 1277810 - Part 1 - Restructure Telemetry client documentation. r=dexter, f=chutten 2016-08-09 13:52:27 +02:00
Marina Samuel
fdc94e3b7f Bug 1203577 - Remove hardcoded adgroup buckets. r=Mardak. 2015-09-14 14:44:51 -04:00
Maxim Zhilyaev
e9cfb789e3 Bug 1161656 - Report total views preceding a click [r=adw] 2015-07-09 23:03:05 -07:00
Ed Lee
e9fcc70dbf Bug 1159884 - Inadjacency documentation [f=bsmedberg] 2015-05-21 01:33:10 -07:00
Ed Lee
1833d054e6 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
d104da0219 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
b96160a5ec Bug 1158208 - Enforce that tiles HTTP requests don't have cookies [r=adw] 2015-05-11 17:09:29 -07:00
Maxim Zhilyaev
755540a0eb Bug 1159571 - Use server provided frequency caps for daily and lifetime totals [r=adw] 2015-05-08 09:20:18 -07:00
Maxim Zhilyaev
9d394be2c6 Bug 1156549 - Allow ramp up time for campaigns with strict start/stop times [r=adw] 2015-05-06 12:09:45 -07:00
Ed Lee
b888d9b278 Bug 1156876 - Convert wiki page technical doc into in-tree .rst [r=bsmedberg] 2015-04-21 23:32:04 -07:00
Gregory Szorc
7e845c49ca NO BUG - Fix reStructuredText warnings
Sphinx has been complaining about a number of reStructuredText warnings
for a while. Fix all the ones in .rst files.

Not asking for review because this is docs only and changing .rst files
can't break anything important.

DONTBUILD (NPOTB)
2015-03-01 22:51:32 -08:00
Blair McBride
15acaa4a8e Bug 987333 - Add documentation for UITour and buckets to BrowserUITelemetry docs. r=mconley 2015-01-06 19:13:46 +13:00
Blake Winton
a11771473b Bug 1036908 - Log search suggestion selections from about:home. r=mak 2014-09-05 16:43:28 -04:00
Carsten "Tomcat" Book
a8a149df2d Backed out changeset b556a4fdfe52 (bug 1036908) for bc1 test errors 2014-09-08 10:19:50 +02:00