Commit Graph

218 Commits

Author SHA1 Message Date
Drew Willcoxon
433cf16c1b Bug 1467627 - Calculate origin frecency as the sum of all URL frecencies instead of the max. r=mak
MozReview-Commit-ID: KZi9C7olvsj
2018-07-04 14:01:28 -07:00
Harry Twyford
4ddbcc0716 Bug 1460097 - Autocompleted URLs are trimmed. r=mak
MozReview-Commit-ID: 6y26a9Nhm3b
2018-05-16 14:12:16 -04:00
arthur.iakab
d27db38974 Merge inbound to mozilla-central a=merge 2018-06-08 12:55:49 +03:00
Kris Maglione
0847e8227e Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
MozReview-Commit-ID: 9APGewiDDYB
2018-05-25 17:02:29 -07:00
Marco Bonardo
349669dbe9 Bug 1464272 - Remote Tab matches may dominate the address bar results. r=kitcambridge
MozReview-Commit-ID: HfvFvM619V5
2018-06-06 18:48:27 +02:00
Peter Simonyi
50c48bc66c Bug 1465692 - search for keyword domains instead of literal keyword r=adw
MozReview-Commit-ID: JFSUt7Rwtl6
2018-06-02 17:48:17 -04:00
Marco Bonardo
dd1581c6c2 Bug 1464454 - Expire adaptive history after 90 days and limit the number of top adaptive history matches in the Address Bar. r=adw
Reduce adaptive history domination of the Address Bar results by expiring unused
entries sooner and limiting the number of top adaptive results.

MozReview-Commit-ID: EGOs6rVYGj6
2018-05-28 17:38:11 +02:00
Marco Bonardo
8ad7b309f7 Bug 1463580 - Autofill sometimes autocompletes in-the-middle (with >>) and doesn't autofill to the next slash. r=adw
MozReview-Commit-ID: J3rfTYDgpFN

Also fixes Bug 1464328 - Autofill urls to-the-next-slash is broken.
2018-05-29 17:57:35 +02:00
Marco Bonardo
2857abf7de Bug 1464443 - Add a LIMIT to ORDER BY queries in Places. r=standard8
MozReview-Commit-ID: 8VrmgEFd1Za
2018-05-25 17:35:51 +02:00
Drew Willcoxon
975278327e Bug 1461753 - Add places.sqlite migration for calculating initial frecency stats. r=mak
MozReview-Commit-ID: F7fZiVkLXxW
2018-05-18 22:50:54 -07:00
Gijs Kruitbosch
97e79d1d37 Bug 1414246 - only create page-icon URLs for some schemes (avoiding long page-icon:data URIs), r=mak
MozReview-Commit-ID: KptAl88so0B
2018-05-07 22:43:27 +01:00
Drew Willcoxon
7f75804cdb Bug 1239708: Improve awesomebar autofill. Part 4: Frecency stats. r=mak
MozReview-Commit-ID: GD8rglOocBn
2018-05-14 11:27:11 -07:00
Drew Willcoxon
7d2574b621 Bug 1239708: Improve awesomebar autofill. Part 0: Core changes. r=mak
MozReview-Commit-ID: DmPVD6Z3Vj8
2018-05-14 11:19:04 -07:00
Kris Maglione
fd7e9e6a69 Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Marco Bonardo
2b35a7a5d5 Bug 1439728 - Don't force a switch-to-tab for the Address Bar heuristic match. r=adw
MozReview-Commit-ID: 2sfJBxbYefi
2018-03-09 16:39:16 +01:00
Florian Quèze
f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Marco Bonardo
14b23bd662 Bug 1433938 - Move Synced Tab matches above general history matches in the Address Bar. r=adw
Puts Remote (Synced) Tab matches before other history results.
Changes deduping algorithm to replace simple history matches with tab matches when the url is the same.
Keeps overriding a Remote Tab with a Local Tab when the url is the same.

MozReview-Commit-ID: 76urDklKtRF
2018-02-13 14:34:44 +01:00
Marco Bonardo
a6d907b810 Bug 1313188 - Multiple bookmark keywords for same (uri, postData) pair possible. r=kitcambridge,standard8
MozReview-Commit-ID: 662vWkemAMq
2018-02-06 15:58:31 +01:00
Gijs Kruitbosch
b34b68c23a Bug 1436559 - stop doing busy-work in setOverLink and make textToSubURI available on Services.jsm, r=florian
MozReview-Commit-ID: F63kE4GE67B
2018-02-07 22:07:08 +00:00
Cosmin Sabou
26073c5b2c Backed out changeset 46c758115832 (bug 1436559) for ESlint failure on /browser/components/search/test/browser_426329.js on a CLOSED TREE 2018-02-08 20:37:13 +02:00
Gijs Kruitbosch
7b292fc484 Bug 1436559 - stop doing busy-work in setOverLink and make textToSubURI available on Services.jsm, r=florian
MozReview-Commit-ID: F63kE4GE67B
2018-02-07 22:07:08 +00:00
Andrew McCreight
272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Drew Willcoxon
82c8b68e27 Bug 1432263 - Make matchBuckets string parsing the same everywhere it's done. r=mak
MozReview-Commit-ID: GmGCHl4RtWB
2018-01-22 11:21:55 -08:00
Drew Willcoxon
cd64a5cda7 Bug 1426216 - Allow users to choose whether search suggestions or history suggestions come first in the address bar. r=mak,past
MozReview-Commit-ID: HVWRyEu19Dv
2018-01-10 08:41:16 -08:00
Thom Chiovoloni
705cfa16e3 Bug 1426627 - Avoid loading sync modules for non-sync users in UnifiedComplete r=florian
MozReview-Commit-ID: 3e90VbuGv7Z
2018-01-08 17:10:33 -05:00
Ciure Andrei
18e59bfd8b Backed out changeset 3325c31e498c (bug 1423247) for taking a new approach targeting Mozilla59 r=backout a=backout on a CLOSED TREE 2017-12-20 01:46:37 +02:00
Drew Willcoxon
315b2eddc7 Bug 1423247 - Couple Awesome Bar Composition (matchBuckets pref) to user's Address bar state (unified vs. 2 bar). r=mak
MozReview-Commit-ID: LZIWVcDvMrK
2017-12-14 14:14:10 -08:00
Marco Bonardo
c6b922c0b7 Bug 1415908 - Intermittent failure (nsIAutoCompleteController.getCommentAt) in browser_ext_omnibox.js. r=adw
Fixes a timing bug where in certain moments matchCount may not be in sync with the current search status,
due to previous results not being cleared immediately. Still delays tree updates to avoid UI flickering.
Fixes a theorical timing issue in unifiedComplete where a stopped search could notify a result.
Removes the no more used OnUpdateSearchResult API.

MozReview-Commit-ID: COoIN4oQT4v
2017-11-19 21:58:14 +01:00
Marco Bonardo
7bae246779 Bug 1402286 - chunk notifyResults calls so that we don't run all the autocomplete js for each match. r=adw
MozReview-Commit-ID: GuYew5B30WQ
2017-10-31 11:13:47 +01:00
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