Penaz
cd27363126
Merge pull request #1 from qutebrowser/master
...
Update Fork
2017-07-24 10:39:08 +02:00
Florian Bruhin
07b2fde2de
Mark test_version as flaky
...
Sometimes it fails on Travis with empty output for no apparent reason
2017-07-24 08:05:51 +02:00
Florian Bruhin
df3ba278e9
Merge pull request #2852 from rcorre/fix-max-items
...
Fix web-history-max-items-crash.
2017-07-24 07:29:15 +02:00
Florian Bruhin
837ee5c626
Merge pull request #2846 from rcorre/completion-fixes
...
Completion fixes
2017-07-24 07:27:11 +02:00
Ryan Roden-Corrent
2ad4cdd729
Fix web-history-max-items-crash.
...
Fixes #2849 , where pressing 'o' with web-history-max-items set and no
history items would cause a crash as the query result is empty.
2017-07-23 21:17:22 -04:00
Ryan Roden-Corrent
ff9efe22ae
Fix unused imports and removeRow override.
...
Override removeRows instead of removeRow.
> removeRow is not virtual in C++, so if this gets called by Qt
> internally for some reason, it wouldn't use the overloaded version -
> so I think it'd be better to implement removeRows and then use
> removeRow without overloading that
- The-Compiler
2017-07-23 17:30:09 -04:00
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
Ryan Roden-Corrent
00be9e3c7f
Remove obsolete TODO.
...
New aliases will now show up without a signal, as completions are
generated on-demand.
2017-07-22 18:09:10 -04:00
Ryan Roden-Corrent
b61691684e
Clear selection when setting completion pattern.
...
It doesn't make sense to have an active selection while you are
filtering by entering text. You should be in one of two states:
1. Tabbing through completions (valid selection)
2. Entering a filter pattern (invalid selection)
Fixes #2843 , where a crash would occur after the following:
1. tab to an item other than the first
2. <backspace>
3. re-type last character
4. <ctrl-d>
This would try to delete an out of range index.
2017-07-22 18:06:16 -04:00
Ryan Roden-Corrent
bc21904fef
Fix completion-item-del on undeletable item.
...
Even though no item was deleted, it was manipulating the completion
model because beginRemoveRows was called before the exception was
raised.
This fixes that problem by moving the removal logic (and delete_func
check) into the parent model, so it can check whether deletion is
possible before calling beginRemoveRows.
Fixes #2839 .
2017-07-22 17:16:35 -04: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
0f85898137
Add a config version to the YAML file
2017-07-19 08:22:00 +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