Florian Bruhin
630e9ebd66
Remove old notes file
2017-07-23 23:15:41 +02:00
Florian Bruhin
e402e37f12
Work around segfault when using pdb
2017-07-23 22:45:13 +02:00
Florian Bruhin
56b4989f44
Fix tests for QProcess changes
2017-07-23 22:10:50 +02:00
Florian Bruhin
7d10e47046
Update changelog
2017-07-23 21:38:10 +02:00
Florian Bruhin
a08fd0fcb1
Fix error message with :spawn -d
2017-07-23 21:38:10 +02:00
Florian Bruhin
353f86488a
Disallow :spawn -u -d
2017-07-23 21:38:10 +02:00
Florian Bruhin
a00548ec4d
Merge pull request #2827 from jgkamat/jay/fix-small-crash
...
Enforce a minimum size for non-pinned tabs
2017-07-22 22:07:31 +02:00
Jay Kamat
27dfc72012
Restructure minimum tab size behavior
2017-07-22 10:55:08 -07:00
Florian Bruhin
e943f0063e
Merge pull request #2834 from kchr/bugfix/use-breadability-module-when-available
...
Add support for breadability module in readability userscript
2017-07-22 18:28:49 +02:00
Florian Bruhin
f9dc31e464
Add subreddit to README
2017-07-22 10:22:57 +02:00
Florian Bruhin
6873991e2b
Merge pull request #2837 from qutebrowser/zeromax
...
Fix new completion with web-history-max-items set to 0
2017-07-21 22:19:57 +02:00
Florian Bruhin
118a7942a5
Add maximum bound for web-history-max-items
...
sqlite can't handle values bigger than uint64_t for LIMIT.
2017-07-21 18:30:12 +02:00
Florian Bruhin
544094ba72
Use simpler way of preventing History completion
2017-07-21 17:55:47 +02:00
Florian Bruhin
6660297871
Fix new completion with web-history-max-items set to 0
...
We get no last_atime limit at all otherwise:
qutebrowser.misc.sql.SqlException: Failed to prepare query "SELECT url, title,
strftime('%Y-%m-%d', last_atime, 'unixepoch', 'localtime') FROM
CompletionHistory WHERE (url LIKE :pat escape '\' or title LIKE :pat escape '\')
AND last_atime >= ORDER BY last_atime DESC": "near "ORDER": syntax error Unable
to execute statement"
2017-07-21 17:11:38 +02:00
Florian Bruhin
de0b50eaf7
Update docs
2017-07-21 15:39:36 +02:00
Florian Bruhin
5bea9c7794
Some more doc improvements
2017-07-21 15:16:54 +02:00
Florian Bruhin
fba25338be
Merge pull request #2295 from rcorre/really_complete
...
Completion refactor V3
2017-07-21 15:05:43 +02:00
Ryan Roden-Corrent
33a9c8cce6
Add listcategory to perfect_files.
2017-07-21 07:59:47 -04:00
Florian Bruhin
f1d4f693bb
Whoops - hopefully final README fix
2017-07-21 13:40:04 +02:00
Florian Bruhin
03a0bfdddd
Some more README improvements
2017-07-21 13:36:17 +02:00
Florian Bruhin
7e36310e8a
Shorten and update README
2017-07-21 13:28:23 +02:00
Ryan Roden-Corrent
1175543ce1
Fix qutescheme timestamp error.
...
A date object doesn't have a timestamp property. Go back to using
mktime.
2017-07-20 22:07:37 -04:00
Noor Christensen
a4e644c285
Add support for breadability module in readability userscript
2017-07-20 16:21:47 +02:00
Ryan Roden-Corrent
0eb347186c
Add 'localtime' to sql history query.
...
We need to tell sqlite to convert the timestamps to localtime during
formatting, otherwise it formats them as though you are in UTC.
Also fix up a few uses of mktime.
2017-07-20 09:06:29 -04:00
Florian Bruhin
57167a5cde
Merge pull request #2831 from kchr/docs/readability-userscript-dependencies
...
Clarify dependecies for readability userscript
2017-07-20 14:50:18 +02:00
Noor Christensen
5939bc990a
Clarify dependecies for readability userscript
2017-07-20 14:36:27 +02:00
Jay Kamat
8dbb61e9e3
Enforce a minimum size for non-pinned tabs
...
Closes #2826
2017-07-19 21:37:48 -07:00
Florian Bruhin
fafa063bcd
Remove unused import
2017-07-19 12:55:51 +02:00
Florian Bruhin
a3834d043b
pytest: Set testpaths
2017-07-19 12:22:30 +02:00
Florian Bruhin
a26fc89f49
Simplify setting the size for background tabs
...
We can simply look at the size of the existing open tab.
2017-07-19 11:59:44 +02:00
Florian Bruhin
3756d9d76b
Merge pull request #2820 from qutebrowser/pyup-scheduled-update-07-17-2017
...
Scheduled weekly dependency update for week 29
2017-07-17 18:18:14 +02:00
pyup-bot
4d356e5320
Update vulture from 0.15 to 0.16
2017-07-17 16:02:22 +02:00
pyup-bot
19d8411c15
Update vulture from 0.15 to 0.16
2017-07-17 16:02:21 +02:00
pyup-bot
d9f0e21ea4
Update pytest-qt from 2.1.0 to 2.1.2
2017-07-17 16:02:20 +02:00
pyup-bot
a976e9011d
Update mako from 1.0.6 to 1.0.7
2017-07-17 16:02:18 +02:00
pyup-bot
72de0fcfcb
Update hypothesis from 3.12.0 to 3.13.0
2017-07-17 16:02:17 +02:00
pyup-bot
db2f60b0ef
Update decorator from 4.0.11 to 4.1.1
2017-07-17 16:02:16 +02:00
pyup-bot
bdfea0fa6f
Update setuptools from 36.0.1 to 36.2.0
2017-07-17 16:02:14 +02:00
Florian Bruhin
4a7fe25f66
Only clear search with :search if one is displayed
...
For some reason, calling search.clear() while no search is displayed causes the
backends to un-focus inputs, and with QtWebKit, even hinting can't focus them
again after that.
2017-07-17 15:00:18 +02:00
Ryan Roden-Corrent
f45acaa9c8
Fix coverage check for sqlcategory rename.
2017-07-17 08:37:24 -04:00
Ryan Roden-Corrent
c32d452786
Add LIMIT to history query.
...
For performance, re-introduce web-history-max-items.
As the history query has now become a very specific multi-part query and
history completion was the only consumer of SqlCategory, SqlCategory is
now replaced by a HistoryCategory class.
2017-07-16 18:13:51 -04:00
Florian Bruhin
ee1707c4d4
Update back/forward indicator on tab switches
2017-07-16 20:20:33 +02:00
Florian Bruhin
5c367e7ab2
Fix the "try again" button on error pages
...
Fixes #2810
2017-07-13 17:26:58 +02:00
Ryan Roden-Corrent
8745f80d90
Fix qute://history SQL bug.
...
The javascript history page was requesting the new start_time in ms, but
the python code was expecting seconds. This is fixed by removing all the
millisecond translations in the python code and only translating to
milliseconds in the javascript code that formats dates.
2017-07-13 08:54:21 -04:00
Florian Bruhin
9898c1ba4b
Update docs
2017-07-13 11:02:26 +02:00
Florian Bruhin
71ee64a974
Merge branch 'jay/prompt-on-click' of https://github.com/jgkamat/qutebrowser
2017-07-13 11:01:04 +02:00
Jay Kamat
7dfca60893
Refactor tab_close_prompt_if_pinned
...
Now it lives in tabbedbrowser.py as method instead of a static function
2017-07-12 20:18:57 -07:00
Ryan Roden-Corrent
1aed2470e5
SQL code review.
...
- Fix flake8
- history.clear should also clear completion table
- call _resize_columns in set_model, not set_pattern
- add more unit-testing for the history completion table
2017-07-12 22:14:27 -04:00
Ryan Roden-Corrent
ea459a1eca
SQL code review fixes.
...
- Ignore invalid variable name in flake8 (pylint already checks this and
we don't want to have to double-ignore)
- Fix and test completion bug with `:set asdf `
- Remove unused import
- Use `assert not func.called` instead of `func.assert_not_called` for
backwards compatibility
2017-07-12 08:19:31 -04:00
Florian Bruhin
53620ecce4
Fix printing on macOS
...
Fixes #2798
2017-07-12 07:43:03 +02:00