Commit Graph

12656 Commits

Author SHA1 Message Date
Florian Bruhin
3de0b15073 Delay showing the "renderer process killed" error page a bit
Sometimes, we get another error with "Renderer process was killed" and the data:
URL for the error page. This is probably because the renderer process wasn't
restarted yet. This hopefully helps.
2017-07-25 16:00:52 +02:00
Florian Bruhin
79c088d3a4 pytest.ini: Add benchmark-columns 2017-07-24 16:52:36 +02:00
Florian Bruhin
cb2dbc1e0a Merge pull request #2857 from qutebrowser/pyup-scheduled-update-07-24-2017
Scheduled weekly dependency update for week 30
2017-07-24 16:52:43 +02:00
pyup-bot
05dba38190 Update vulture from 0.16 to 0.19 2017-07-24 16:04:24 +02:00
pyup-bot
c4d7cc79b5 Update vulture from 0.16 to 0.19 2017-07-24 16:04:22 +02:00
pyup-bot
38664f9a0a Update pytest-mock from 1.6.0 to 1.6.2 2017-07-24 16:04:21 +02:00
pyup-bot
734acd628e Update pytest-benchmark from 3.0.0 to 3.1.0 2017-07-24 16:04:20 +02:00
pyup-bot
b70f56e87f Update hypothesis from 3.13.0 to 3.14.0 2017-07-24 16:04:18 +02:00
pyup-bot
f8312e9502 Update decorator from 4.1.1 to 4.1.2 2017-07-24 16:04:17 +02:00
pyup-bot
96ed6668e5 Update setuptools from 36.2.0 to 36.2.1 2017-07-24 16:04:15 +02:00
pyup-bot
c49e5f84d9 Update urllib3 from 1.21.1 to 1.22 2017-07-24 16:04:14 +02:00
pyup-bot
920fae02c1 Update urllib3 from 1.21.1 to 1.22 2017-07-24 16:04:13 +02:00
pyup-bot
c1b8830831 Update urllib3 from 1.21.1 to 1.22 2017-07-24 16:04:11 +02:00
Florian Bruhin
137eec8745 Merge pull request #2856 from rcorre/completion-fixes
Abort resizeEvent if model is None.
2017-07-24 15:05:14 +02:00
Ryan Roden-Corrent
f09423efe5 Abort resizeEvent if model is None.
Some reports came in that a resizeEvent was causing a crash due to the
model being none in the CompletionView.

Fixes #2854.
2017-07-24 08:16:14 -04:00
Florian Bruhin
b7fe13434b Merge pull request #2855 from Penaz91/master
Troubleshooting for GCC 6 QtWebEngine Render Crash
2017-07-24 11:09:38 +02:00
Penaz
99559b24e3 Update FAQ.asciidoc 2017-07-24 10:58:45 +02:00
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