qutebrowser/tests/unit
Ryan Roden-Corrent 8909e03f1c Match url completion terms in any order.
Perviously, 'foo bar' would match 'foo/bar' but not 'bar/foo'. Now it
will match both, using a query with a WHERE clause like:

WHERE ((url || title) like '%foo%' AND (url || title) like '%bar%')

This does not seem to change the performance benchmark. However, it does
create a new query for every character added rather than re-running the
same query with different parameters. We could re-use queries if we
maintained a list like self._queries=[1_arg_query, 2_arg_query, ...].
However, it isn't clear that such a complexity would be necessary.

Resolves #1651.
2017-12-11 07:46:50 -05:00
..
browser Merge remote-tracking branch 'origin/pr/3333' 2017-12-02 14:47:24 +01:00
commands update flake8 and flake8-deprecated 2017-11-26 00:16:14 -06:00
completion Match url completion terms in any order. 2017-12-11 07:46:50 -05:00
config update flake8 and flake8-deprecated 2017-11-26 00:16:14 -06:00
javascript Use py.path.local in save_script 2017-12-06 21:21:55 +01:00
keyinput Fix modeparser tests 2017-09-22 19:49:52 +02:00
mainwindow Fix a couple style issues 2017-10-30 12:40:44 -04:00
misc Merge remote-tracking branch 'origin/pr/3345' 2017-12-06 06:51:03 +01:00
scripts cleanup PYTEST_ADDOPTS for pytest subprocess 2017-12-03 15:09:47 -06:00
utils Remove pytest-catchlog 2017-12-04 16:55:57 +01:00
test_app.py Finally update copyrights... 2017-05-09 21:37:03 +02:00