Commit Graph

184 Commits

Author SHA1 Message Date
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Marco Bonardo
5edbddda32 Bug 1402555 - deleting history from urlbar completion list doesn't work. r=adw
MozReview-Commit-ID: 6W0Nz9N8DtJ
2017-10-05 15:13:36 +02:00
Sebastian Hengst
bc9a9e3767 Backed out changeset 3faf2c49b172 (bug 1402555) for failing xpcshell's toolkit/components/places/tests/unifiedcomplete/test_autocomplete_on_value_removed_479089.js. r=backout 2017-10-07 13:12:34 +02:00
Marco Bonardo
d25e7f0b5e Bug 1402555 - deleting history from urlbar completion list doesn't work. r=adw
MozReview-Commit-ID: 6W0Nz9N8DtJ
2017-10-05 15:13:36 +02:00
Marco Bonardo
b4eaaf1e04 Bug 1391293 - Reduce Address Bar results flickering when typing additional chars. r=adw
MozReview-Commit-ID: HaIK8YJho1y
2017-09-08 11:39:44 +02:00
Simon Lindholm
77b0c4639e Bug 1392263 - Make TELEMETRY_1ST_RESULT count results of all types. r=mak
MozReview-Commit-ID: 82jJDZZG7kb
2017-09-14 00:06:54 +02:00
Simon Lindholm
a631dc66a9 Bug 1393486 - Reduce subquery evaluations in awesomebar search SQL. r=mak 2017-09-09 02:36:00 -04:00
Simon Lindholm
8c34b5c40f Bug 1388331 - Use more precise criteria for stopping auto-complete searches. r=mak 2017-08-31 12:24:00 -04:00
Ryan VanderMeulen
fc2383f30d Backed out changeset 299138aaaecb (bug 1388331) for causing browser_urlbar_keyed_search_reflows.js failures. 2017-08-30 21:04:30 -04:00
Simon Lindholm
ce116881b9 Bug 1388331 - Use more precise criteria for stopping auto-complete searches. r=mak 2017-08-30 08:00:00 -04:00
Sebastian Hengst
4285cb456a Backed out changeset c721cddf0dbc (bug 1388331) for failing browser-chrome's browser/base/content/test/performance/browser_urlbar_search_reflows.js, at least on OS X and Windows. r=backout 2017-08-29 19:39:48 +02:00
Simon Lindholm
270ee734a3 Bug 1388331 - Use more precise criteria for stopping auto-complete searches. r=mak 2017-08-29 07:31:00 -04:00
Ryan VanderMeulen
33f08ea17c Merge autoland to m-c. a=merge 2017-08-24 20:20:08 -04:00
Simon Lindholm
bcbf0262b7 Bug 1393483 - Correctly pass cancel token to _onResultRow. r=mak 2017-08-24 08:20:00 -04:00
Marco Bonardo
18b37ff3ae Bug 1320301 - Add partial support to sqlite3_interrupt. r=asuth
MozReview-Commit-ID: V3ZjLEjqmT
2017-07-31 22:27:23 +02:00
Masatoshi Kimura
76347b3b52 Bug 1392070 - Stop using the StopIteration object in Sqlite.jsm. r=mak
MozReview-Commit-ID: BP3RuM5EweE
2017-08-19 22:10:44 +09:00
Kris Maglione
0fb6b2e73c Bug 1388215: Part 3 - Use JIT-friendly defineLazy*Getters methods when defining many lazy imports. r=florian
MozReview-Commit-ID: APoFwUhDFdj
2017-08-09 13:03:36 -07:00
Valentin Gosu
7a666609d4 Bug 1380617 - Change firefox code to use uri.displaySpec when unicode URLs are wanted r=Gijs
* Make URL bar show unicode URL by making losslessDecodeURI call uri.displaySpec
* Make sure URL bar copying returns unicode variant

MozReview-Commit-ID: GTESwOSJW0P
* * *
[mq]: bug1380617-url-autofill.patch

MozReview-Commit-ID: JUxFZcpc3rN
2017-08-09 17:43:51 +02:00
Masatoshi Kimura
c0943e4f30 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G
2017-07-29 20:50:21 +09:00
Marco Bonardo
25e11ee76c Bug 1371611 - UnifiedComplete::LoadPrefs is slow. r=Paolo
MozReview-Commit-ID: G0r2aogwvyb
2017-07-26 18:47:35 +02:00
Marco Bonardo
a5a8edb8fc Bug 1378035 - Allow the urlbar prefs to define different buckets for different contexts. r=Paolo
MozReview-Commit-ID: 2O58OkhFygl
2017-07-21 15:01:56 +02:00
Marco Bonardo
4713924825 Bug 1359899 - Add a way to control the awesomebar contents mixup through prefs. r=Paolo
Allows to set browser.urlbar.maxHistoricalSearchSuggestions to fetch a given number of
historical search suggestions.
Allots to set browser.urlbar.matchBuckets to change the location bar mixup of results.
The system is based on an array of buckets, each bucket is an array containing the type
of the match accepted by the bucket (MATCHTYPE) and the number of available slots in the bucket.
At every new match insertion, addMatch() loops all the buckets to find the first
compatible and available slot.

Note that the pref format may change in the future, we plan to add an id to each bucket and
frecency may change from an absolute to a relative value.

MozReview-Commit-ID: 5j7esakF5bu
2017-07-05 14:35:54 +02:00
Paolo Amadini
e228f9c0f4 Bug 1376986 - Remove ability to customize restriction tokens. r=mak
MozReview-Commit-ID: 3JuLExJwF6z
2017-06-29 01:10:37 +01:00
Paolo Amadini
7afba17088 Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P
2017-06-19 11:32:37 +01:00
Marco Bonardo
023259e098 Bug 1363621 - Favicon in the first location bar suggestion flickers when typing url. r=florian
MozReview-Commit-ID: JtoBMl0BQFC
2017-05-25 17:12:36 +02:00
tfeserver
b0fbc82ab3 Bug 1365887 - Access resource:// urls r=mak
MozReview-Commit-ID: GfXVvxLEZpK
2017-05-18 20:06:46 +02:00
Ryan VanderMeulen
0b3ecfa1fa Merge m-c to autoland. a=merge
CLOSED TREE
2017-05-12 12:17:43 -04:00
Florian Quèze
b2499a4c57 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Marco Bonardo
07e96de965 Bug 1360279 - Typing in the location bar after a keyword causes the heuristic result icon to flicker. r=florian
MozReview-Commit-ID: 4ZXCLN7Lf2i
2017-04-28 12:14:13 +02:00
Drew Willcoxon
7b7f613405 Bug 1359278 - Typo in UnifiedComplete causes browser.urlbar.restrict.searches not to be used. r=mak
MozReview-Commit-ID: GVf8gAWNN3M
2017-04-24 17:45:56 -07:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Marco Bonardo
c536e58644 Bug 977177 - Update favicons API consumers. r=adw
Updates consumers to the new behavior.
Some consumers are changed to use  the "page-icon:" protocol, since it's not
trivial to join the icons table and get a single result out of it. In most cases
the join would return multiple results since a page can have multiple icon payloads.
These consumers for now will return the biggest payload, bug 1347532 will fix
some of them to properly pass a #size=NN fragment.
Note that, even before, these were just "moz-anno:favicon:" uris, and the
payload had to be fetched from the database.
Some other consumers for now just fallback to the largest payload, by passing 0
to GetFaviconURLForPage.

The favicon optimization still happens on the main-thread, bug 1346139 will
handle that problem.

Most of the changes involve handling the modified IconData objects, that now
retain an array of payloads, rather than just one. But note that .ico files are
not yet split into single frames, due to imagelib missing APIs that will be handled
in bug 1337402.
The other changes involve fixing queries to properly join with the new tables.

Finally, note that thanks to the FOREIGN KEYS support, removing from moz_icons or
moz_pages_w_icons will also remove relations from moz_icons_to_pages.

The system only supports square icons, so icons are resized based on their larger side.

This doesn't include new tests, those will be in a following changeset.

MozReview-Commit-ID: JUkpquhpS8y
2016-09-28 16:14:30 +02:00
Gijs Kruitbosch
fb9ea4d4cf Bug 1347271 - log preloaded top sites in telemetry and update their naming, r=mak
MozReview-Commit-ID: 6q2H01aa42s
2017-03-22 13:23:15 +00:00
Mark Banner
519f46a90d Bug 1280441 - Avoid suggesting searches from the URL bar when they look like urls (http, https, ftp) or the start of urls. r=mak
MozReview-Commit-ID: 4uXx2jlrkg
2017-05-10 15:43:04 +01:00
Wes Kocher
1d14ba0dd3 Bug 1318070 - Make sure multi-word queries are rejected when keyword.enabled is false r=mak
MozReview-Commit-ID: 6kMU2oTy456
2017-03-21 10:57:20 -07:00
Wes Kocher
d20e1ab49f Backed out changeset 13b38cd29a4a (bug 1318070) for esline failures a=backout
MozReview-Commit-ID: E0ZlNYhDh76
2017-03-21 10:56:11 -07:00
Wes Kocher
5f992ad3ce Bug 1318070 - Make sure multi-word queries are rejected when keyword.enabled is false r=mak
MozReview-Commit-ID: 6kMU2oTy456
2017-03-19 00:26:07 -07:00
David Rajchenbach-Teller
f1fe5b3f2e Bug 1087255 - Convert Places JS clients of RemovePage(s) to History.remove; Patch by Yoric, updated by Standard8. r=mak
MozReview-Commit-ID: CA0g8ccQNB4
2014-10-22 12:37:41 +02:00
Kris Maglione
f5b47ba8cf Bug 1345345: Fix preference observers reporting changes to arbitrary sub-branches. r=rhelmer
MozReview-Commit-ID: CrGHoTiw4kz
2017-03-07 20:10:42 -08:00
Florian Quèze
73074c2660 Bug 1344711 - hand cleanup of remaining useless try blocks around get*Pref calls identified by eslint, r=jaws. 2017-03-07 15:29:48 +01:00
Svetlana Orlik
7c6c4b8ea4 Bug 1340108 - autocomplete prefill sites with proper protocol and www. management, r=Gijs
MozReview-Commit-ID: 1POpbPzYJTe
2017-03-01 12:18:23 +03:00
Marco Bonardo
2fe97f7349 Bug 1339497 - Location bar may suggest an incorrect url when input url contains % encoded components. r=standard8
MozReview-Commit-ID: 7dmtSN41H71
2017-02-21 18:50:16 +01:00
Svetlana Orlik
e6e227e3a6 Bug 1336946 - store the list of top URLs in a file, r=Gijs
MozReview-Commit-ID: DB5gKNhRmku
2017-02-17 12:40:31 +03:00
Mark Banner
b9ef6fd850 Bug 1322747 - Show https in autofill heuristic results. r=mak
MozReview-Commit-ID: GlOoeQBOMIi
2017-01-26 15:13:19 +00:00
Svetlana Orlik
83f9e91212 Bug 1211726 - part 1: add results from a hardcoded list of top sites, r=Gijs,mak
MozReview-Commit-ID: 21FN4awJaXf
2017-01-02 03:28:31 +03:00
Valentin Gosu
a73d41366b Bug 1275746 - Fix UnifiedComplete::_matchSearchEngineUrl creating URL with no hostname r=mak
MozReview-Commit-ID: JiMLnhqA7Qw
2017-02-08 16:24:04 +01:00
Jared Wein
7c1615ceba Bug 1329014 - Enable the no-extra-bind rule and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: BwK94W2mHXS
2017-01-05 16:43:29 -05:00