Commit Graph

13081 Commits

Author SHA1 Message Date
pyup-bot
6c83016657 Update pytest-rerunfailures from 2.2 to 3.0 2017-08-21 16:24:34 +02:00
pyup-bot
67e3de06c7 Update hypothesis from 3.18.0 to 3.19.1 2017-08-21 16:24:32 +02:00
pyup-bot
86a9487fb2 Update glob2 from 0.5 to 0.6 2017-08-21 16:24:29 +02:00
pyup-bot
dc61e8ecdf Update requests from 2.18.3 to 2.18.4 2017-08-21 16:24:27 +02:00
pyup-bot
8151a73d64 Update requests from 2.18.3 to 2.18.4 2017-08-21 16:24:25 +02:00
pyup-bot
0313982ac8 Update requests from 2.18.3 to 2.18.4 2017-08-21 16:24:23 +02:00
Ryan Roden-Corrent
d35b47c9d8 Regenerate history completion on version change.
Incrementing _USER_VERSION in the source will cause the
HistoryCompletion table to regenerate when users update.

This is currently necessary to support some recent formatting fixes, but
could be incremented again in the future for other changes.
2017-08-21 08:45:40 -04:00
Ryan Roden-Corrent
111846a909 Merge remote-tracking branch 'upstream/master' into configmerge 2017-08-20 21:18:47 -04:00
Ryan Roden-Corrent
722137ab29 Fix 2 end2end tests for config/completion merge. 2017-08-20 21:15:25 -04:00
Ryan Roden-Corrent
b5a6583559 Fix pylint/flake8/vulture errors. 2017-08-20 21:12:38 -04:00
Ryan Roden-Corrent
90c49b3fe7 Move bind completion to configmodels.
When in miscmodels, the config module was unable to find the function.
It appears to be some sort of circular import issue:

```
  File "/home/rcorre/projects/contrib/qutebrowser/qutebrowser/app.py", line 44, in <module>
    from qutebrowser.completion.models import miscmodels
  File "/home/rcorre/projects/contrib/qutebrowser/qutebrowser/completion/models/miscmodels.py", line 24, in <module>
    from qutebrowser.completion.models import completionmodel, listcategory, util
  File "/home/rcorre/projects/contrib/qutebrowser/qutebrowser/completion/models/util.py", line 24, in <module>
    from qutebrowser.config import config
  File "/home/rcorre/projects/contrib/qutebrowser/qutebrowser/config/config.py", line 223, in <module>
    class ConfigCommands:
  File "/home/rcorre/projects/contrib/qutebrowser/qutebrowser/config/config.py", line 314, in ConfigCommands
    @cmdutils.argument('command', completion=miscmodels.bind)
AttributeError: module 'qutebrowser.completion.models.miscmodels' has no attribute 'bind'
```

As configmodel imports util (and thereby config as well) it is unclear
to me why moving bind() to configmodel actually fixes this, but it does.
2017-08-20 21:12:38 -04:00
Ryan Roden-Corrent
0286e9ddf2 Fix completion tests after config merge. 2017-08-20 21:12:38 -04:00
Ryan Roden-Corrent
5f45b9b40e Fix pylint and coverage for history. 2017-08-20 20:59:48 -04:00
Ryan Roden-Corrent
8c6133e29d Regenerate history completion table if needed.
If the HistoryCompletion table is removed, regenerate it from the
History table. This allows users to manually edit History, then remove
HistoryCompletion to prompt regeneration.

See #2903.
2017-08-18 07:39:36 -04:00
Jay Kamat
7073c33dce
Test for saving a session with --only-active-window 2017-08-17 22:27:40 -04:00
Ryan Roden-Corrent
c607537319 Consistently format urls in history.
Encode urls that are inserted into the history, but do not encode urls
for completion (other than removing passwords).
Also ensure that urls read from the history text file are formatted
consistenly with those added while browsing.

Fixes #2903.
2017-08-14 21:37:43 -04:00
Florian Bruhin
173688c748 Merge pull request #2904 from qutebrowser/pyup-scheduled-update-08-14-2017
Scheduled weekly dependency update for week 33
2017-08-14 22:11:12 +02:00
pyup-bot
7b1f3e36de Update vulture from 0.22 to 0.24 2017-08-14 16:19:24 +02:00
pyup-bot
bda5ac9bbf Update vulture from 0.22 to 0.24 2017-08-14 16:19:22 +02:00
pyup-bot
1581a68082 Update pytest from 3.2.0 to 3.2.1 2017-08-14 16:19:21 +02:00
pyup-bot
d0d27e7fb1 Update hypothesis from 3.16.1 to 3.18.0 2017-08-14 16:19:20 +02:00
pyup-bot
4f49e58d52 Update cheroot from 5.8.2 to 5.8.3 2017-08-14 16:19:18 +02:00
pyup-bot
29cc8ed272 Update wrapt from 1.10.10 to 1.10.11 2017-08-14 16:19:17 +02:00
pyup-bot
c00d35ea73 Update wrapt from 1.10.10 to 1.10.11 2017-08-14 16:19:16 +02:00
pyup-bot
f5ee01ab6a Update idna from 2.5 to 2.6 2017-08-14 16:19:14 +02:00
pyup-bot
5ebbe80cfe Update idna from 2.5 to 2.6 2017-08-14 16:19:13 +02:00
pyup-bot
843f14042b Update idna from 2.5 to 2.6 2017-08-14 16:19:11 +02:00
cryzed
085d1e9c10 :save-session --only-active-window implies --with-private for private windows 2017-08-14 00:30:45 +02:00
Florian Bruhin
1941071f87 Merge pull request #2901 from lachs0r/master
INSTALL: update openSUSE install instructions
2017-08-13 20:06:36 +02:00
Martin Herkt
dd8b5fc638
INSTALL: update openSUSE install instructions 2017-08-13 19:56:17 +02:00
Florian Bruhin
2957c4e55f Merge pull request #2899 from cryzed/jseval-expand-tilde
Expand ~ to user's home on Linux
2017-08-13 08:53:14 +02:00
cryzed
6ef53c814c Expand ~ to user's home on Linux 2017-08-13 02:34:50 +02:00
Florian Bruhin
ba04822388 Use develop branch of PyInstaller
https://github.com/pyinstaller/pyinstaller/pull/2519 was merged.
Fixes #2880
2017-08-10 17:24:41 +02:00
Ryan Roden-Corrent
5ea420b49b Fix startup crashes after config merge.
Get qutebrowser to the point where it can at least start

- Declare _messages earlier in MessageView.__init__ so it is set before
  the config trigger tries to access it.
- Remove unused configmodel completion functions
- Move bind completion to configmodel to avoid a circular import with
  the config module
- Fix some config accesses (forgot to use .val)
- Fix old Completion.CompletionKind references
2017-08-09 07:28:22 -04:00
Florian Bruhin
3a2d64ba46 version.distribution(): Handle Funtoo 2017-08-08 20:19:33 +02:00
Florian Bruhin
5f4ecd7efc Merge pull request #2892 from qutebrowser/pyup-scheduled-update-08-07-2017
Scheduled weekly dependency update for week 32
2017-08-08 07:59:27 +02:00
Florian Bruhin
a20f017c7a Sort sessions in SessionMnager.list_sessions() 2017-08-08 07:56:10 +02:00
Florian Bruhin
b7a296c81f Merge branch 'tabsort' of https://github.com/rcorre/qutebrowser 2017-08-08 07:53:22 +02:00
Florian Bruhin
81b260998d Ignore a new Geoclue error during tests 2017-08-08 06:25:50 +02:00
pyup-bot
3179599c31 Update vulture from 0.21 to 0.22 2017-08-07 16:16:30 +02:00
pyup-bot
9da802eadf Update vulture from 0.21 to 0.22 2017-08-07 16:16:28 +02:00
pyup-bot
e47e22ba28 Update pytest from 3.1.3 to 3.2.0 2017-08-07 16:16:27 +02:00
pyup-bot
d77ecc8218 Update hypothesis from 3.14.0 to 3.16.1 2017-08-07 16:16:25 +02:00
pyup-bot
af5872bc83 Update cheroot from 5.7.0 to 5.8.2 2017-08-07 16:16:24 +02:00
pyup-bot
fbb2a175ff Update docutils from 0.13.1 to 0.14 2017-08-07 16:16:22 +02:00
pyup-bot
6dbae7fe64 Update setuptools from 36.2.5 to 36.2.7 2017-08-07 16:16:21 +02:00
pyup-bot
111390db0f Update pyflakes from 1.5.0 to 1.6.0 2017-08-07 16:16:19 +02:00
pyup-bot
d288325f64 Update requests from 2.18.2 to 2.18.3 2017-08-07 16:16:18 +02:00
pyup-bot
c0f6588339 Update requests from 2.18.2 to 2.18.3 2017-08-07 16:16:16 +02:00
pyup-bot
e844962645 Update requests from 2.18.2 to 2.18.3 2017-08-07 16:16:15 +02:00