qutebrowser/qutebrowser
Jimmy 1efe18ecc6 Prevent duplicates in history completion.
Two things here. One is to use `WebHistory._new_history` only as a to-save
queue, so we now add entries to `_old_urls` when they are first created and
can now no longer iterate of `_new_history` in `__iter__()`.

Second is to stop blindly tacking new history entries on the end of the
history completion model. It does involve iterating over the model to find the
existing entry but we only do that if we know the duplicate is there, which is
fast to check.

This also ads another point of mutation to the history completion model which
may prove problematic if it leads to more segfaults.
2015-03-12 20:15:03 +13:00
..
browser Prevent duplicates in history completion. 2015-03-12 20:15:03 +13:00
commands command: Check the completion/argument counts. 2015-03-05 06:20:55 +01:00
completion Prevent duplicates in history completion. 2015-03-12 20:15:03 +13:00
config Merge branch 'master' of https://github.com/error800/qutebrowser into error800-master 2015-03-11 21:49:27 +01:00
html Fix problem with qutesettings scope in pages 2014-11-25 14:29:20 -06:00
keyinput Adjust pylint exceptions. 2015-03-11 20:14:39 +01:00
mainwindow Adjust pylint exceptions. 2015-03-11 20:14:39 +01:00
misc Adjust pylint exceptions. 2015-03-11 20:14:39 +01:00
test Adjust pylint exceptions. 2015-03-11 20:14:39 +01:00
utils Fix lint 2015-03-11 22:22:49 +01:00
__init__.py Release v0.1.3 2015-02-12 07:47:17 +01:00
__main__.py Update copyright years 2015-01-03 15:51:31 +01:00
app.py Adjust pylint exceptions. 2015-03-11 20:14:39 +01:00
qutebrowser.py Adjust pylint exceptions. 2015-03-11 20:14:39 +01:00
resources.py Use Qt resources for the window icon. 2014-12-28 15:10:02 +01:00