Commit Graph

166 Commits

Author SHA1 Message Date
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
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
e7b1b3284f Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Wes Kocher
5168212894 Merge inbound to central, a=merge 2016-11-11 13:56:45 -08:00
Carsten "Tomcat" Book
cabaa5540f Merge mozilla-central to mozilla-inbound 2016-11-11 16:43:07 +01:00
Carsten "Tomcat" Book
9ff6099cde Backed out changeset 9cfc41a2869e (bug 1267810) for eslint failures 2016-11-11 09:08:33 +01:00
Matthew Wein
dcb1dd5545 Bug 1267810 - Add a module for registering keywords and handling keyword input sessions. r=adw
MozReview-Commit-ID: Ghqe5xLw67Y
2016-11-11 12:41:05 +00:00
Matthew Wein
4242267f30 Bug 1267810 - Add a module for registering keywords and handling keyword input sessions. r=adw
MozReview-Commit-ID: Ghqe5xLw67Y
2016-11-11 02:06:14 +00:00
Andrea Marchesini
38ae6d32e9 Bug 1287866 - Awesomebar shouldn't force switching to a tab in a different container, r=Gijs, r=mak 2016-11-10 21:05:24 +01:00
Iris Hsiao
6ac96d5a01 Backed out changeset 5b9b56fecb95 (bug 1267810) 2016-11-04 10:57:34 +08:00
Matthew Wein
13ec178a03 Bug 1267810 - Add a module for registering keywords and handling keyword input sessions. r=adw
MozReview-Commit-ID: Ghqe5xLw67Y
2016-11-03 16:27:50 +00:00
Jared Wein
5edec1c0d9 Bug 1315013 - part 1, remove unnecessary double-slash comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
MozReview-Commit-ID: HIUTSdkXxbY
2016-11-03 14:42:06 -04:00
Jared Wein
0c024fa9ca Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
MozReview-Commit-ID: 7Gx90a5y8t6
2016-10-24 13:14:19 -04:00
Marco Bonardo
ae421406a3 Bug 1310737 - Urlbar doesn't properly handle %S and POST keywords. r=adw
MozReview-Commit-ID: 3IEqahvOwVH
2016-10-19 15:09:01 +02:00
Evan Tseng
3493ae119c Bug 1256074 - Always present a 'search' option when the location bar search is "fixed" to an URL. r=mak
MozReview-Commit-ID: 7olZPhnmjTH
2016-10-05 17:39:08 +08:00