Commit Graph

13207 Commits

Author SHA1 Message Date
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
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
cbf9da0b7e Set window.navigator.languages correctly 2017-07-13 21:24:17 +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
Florian Bruhin
ba8083c539 Fix issues with new stylesheet cache 2017-07-11 21:59:17 +02:00
Florian Bruhin
9307cf86fa Add a cache for rendered stylesheets
Otherwise, when showing hints a few times, we spend around 8-10s just in jinja
generating stylesheets.
2017-07-11 21:06:53 +02:00
Ryan Roden-Corrent
182d067ff8 SQL code review fixes.
- Fix comment and empty line check in _parse_entry
- connect layoutAboutToBeChanged signal
- assert sort_order is None if sort_by is None
- modify sql init failure message to ask about Qt sqlite support.
2017-07-11 08:07:48 -04:00
Florian Bruhin
3dfa36fad1 Update changelog 2017-07-11 13:00:23 +02:00
Florian Bruhin
c0426d3482 Merge branch 'pr/2808' 2017-07-11 09:27:08 +02:00
Florian Bruhin
6f930be08e Update docs 2017-07-11 09:26:36 +02:00
Florian Bruhin
1e58c87380 Improve test for messageview timeout 2017-07-11 09:25:53 +02:00
Florian Bruhin
882dc75536 Set default count for AbstractHistory.back/.forward
Otherwise, using back/forward mouse buttons will crash.
2017-07-11 08:38:06 +02:00
Florian Bruhin
a91e6c3405 Fix test_adblock on Windows
We can't simply have an absolute filename as URL path there, so we only deal
with paths relative to tmpdir in the URLs now.
2017-07-10 22:22:44 +02:00
Florian Bruhin
f93b92cca8 adblock: Fix getting filename from URL
On Windows, we would end up with /C:/foo as "path".
2017-07-10 21:36:34 +02:00
Florian Bruhin
237362663a Fix test_configfiles.test_init on Windows 2017-07-10 20:37:36 +02:00
Florian Bruhin
ac8fb03b80 Fix lint 2017-07-10 20:37:30 +02:00