Jay Kamat
3e816f5f8b
Update copyright for 2019
2019-02-22 21:45:08 -08:00
Florian Bruhin
4a1333795f
Add api/interceptor.py to check_coverage
2018-12-10 19:52:20 +01:00
Florian Bruhin
b0ae4deac8
ADjust check_coverage for api/
2018-12-03 08:49:10 +01:00
Florian Bruhin
c1b9318e77
check_coverage: Add test_objects.py
2018-11-29 19:04:14 +01:00
Florian Bruhin
b7de287e7b
Move CommandError to api.cmdutils
2018-11-29 14:18:11 +01:00
Florian Bruhin
8cfa46f539
100% test coverage for browser.pdfjs
2018-09-09 18:35:09 +02:00
Jay Kamat
d4cf5045ab
Fix tests for configcache
2018-09-02 18:03:36 -07:00
Florian Bruhin
155a1901c0
Merge branch 'keys'
2018-03-04 22:50:41 +01:00
Florian Bruhin
2be7db29ed
100% coverage for keyinput.keyutils
2018-03-04 20:21:58 +01:00
Florian Bruhin
5eb340d481
Add missing tests for completions
2018-02-27 15:55:00 +01:00
Florian Bruhin
316b4b5340
Add new files to PERFECT_FILES
2018-02-20 12:30:34 +01:00
Florian Bruhin
3170e35b31
Simplify QtWebKit scheme handlers
2018-02-11 17:14:41 +01:00
Florian Bruhin
6f028e9ad0
Update copyright years
2018-02-05 12:19:50 +01:00
Florian Bruhin
430126dcc8
pylint: Re-enable ungrouped-imports
2017-12-15 23:08:53 +01:00
Florian Bruhin
e65c0dd8a7
pylint: Re-enable bad-continuation
...
And lots and lots of whitespace changes.
2017-12-15 19:16:55 +01:00
Gyorgy Orban
bb54a954fe
use subprocess run
...
The usage of subprocess.run is recommended since python 3.5.
Popen, check_call, call and check_output calls were replaced with run.
2017-11-01 09:59:32 +01:00
Michał Siedlaczek
e20ad95666
Merge branch 'master' into spell
2017-10-04 09:47:42 -04:00
Michal Siedlaczek
6a486058c5
Review fixes
2017-10-04 09:22:35 -04:00
Florian Bruhin
a8fc561707
Split config commands off to their own file.
2017-10-02 07:08:30 +02:00
Florian Bruhin
459bbc3a6f
Add configinit to PERFECT_FILES
2017-09-22 20:26:56 +02:00
Florian Bruhin
ef1c83862b
Use utils.is_* for platform checks everywhere
2017-09-20 11:10:24 +02:00
Florian Bruhin
3a5241b642
Start using attrs
...
Closes #1073
2017-09-19 22:21:45 +02:00
Florian Bruhin
505321c336
Drop support for Python 3.4
...
See #2742
2017-09-18 23:01:17 +02:00
Florian Bruhin
4da9b8c495
check_coverage: Truncate long floats
2017-09-15 12:07:54 +02:00
Florian Bruhin
a1f91f799f
Add completion.util to PERFECT_FILES
2017-09-13 17:26:56 +02:00
Florian Bruhin
f6a0500bd3
Merge branch 'master' into new-config
...
This pulls the travis changes to drop the old Qt 5.2 environment.
2017-09-11 18:39:41 +02:00
Florian Bruhin
b4f30f6df2
Move coverage to QtWebEngine environment with PyPI-PyQt
2017-09-11 18:30:23 +02:00
Ryan Roden-Corrent
71b71dbc58
Merge remote-tracking branch 'upstream/master' into HEAD
2017-08-06 18:13:49 -04: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
Ryan Roden-Corrent
f45acaa9c8
Fix coverage check for sqlcategory rename.
2017-07-17 08:37:24 -04:00
Daniel Hahler
b3a9e09d6c
Add statusline widget for back/forward indicator
...
Fixes https://github.com/qutebrowser/qutebrowser/issues/2737 .
2017-07-09 22:38:44 +02:00
Ryan Roden-Corrent
f9f8900fe9
More sql code review fixes.
...
- remove outdated comment
- fix sql init error message
- clean up history text import code
- fix test_history file path in coverage check
- use real web history, not stub, for completion model tests
- use qtmodeltester in sql/list_category tests
- test url encoding in history tests
- fix test_clear by using a callable mock
- remove test_debug_dump_history_oserror as the check is now the same as
for the file not existing
- rename nonempty to data in test_completionmodel
- add more delete_cur_item tests
- test empty option/value completion
2017-07-08 09:57:32 -04:00
Florian Bruhin
e72b0fc89d
Update check_coverage.py for new config
2017-07-04 15:08:04 +02:00
Ryan Roden-Corrent
119c33ac32
Remove base.py from check_coverage.
...
This module no longer exists.
2017-06-19 07:44:11 -04:00
Ryan Roden-Corrent
de5be0dc5a
Store history in an on-disk sqlite database.
...
Instead of reading sqlite history from a file and storing it in an in-memory
database, just directly use an on-disk database. This resolves #755 , where
history entries don't pop in to the completion menu immediately as they are
still being read asynchronously for a few seconds after the browser starts.
2017-06-19 07:44:11 -04:00
Ryan Roden-Corrent
2eea115b3a
Rename sqlcategory and add to perfect_files.
...
There was a typo in the file name.
2017-06-19 07:44:11 -04:00
Ryan Roden-Corrent
f95dff4d9e
Decouple categories from completionmodel.
...
Instead of add_list and add_sqltable, the completion model now supports
add_category, and callees either pass in a SqlCategory or ListCategory. This
makes unit testing much easier.
This also folds CompletionFilterModel into the ListCategory class.
2017-06-19 07:44:11 -04:00
Ryan Roden-Corrent
1474e38eec
Add urlmodel to perfect_files
2017-06-19 07:42:12 -04:00
Florian Bruhin
991b3123d7
check_coverage: Add qutebrowser/ to filter list
...
For coverage 4.4 we removed qutebrowser/ from filenames, so we need to re-add it
here so the filter still works correctly.
2017-05-15 11:32:41 +02:00
Florian Bruhin
822623f2ed
Finally update copyrights...
2017-05-09 21:37:03 +02:00
Florian Bruhin
8052249b1b
Make check_coverage.py work with coverage 4.4
...
With coverage 4.4, the source name (qutebrowser/) is not added to the filename
anymore. To adjust for that, we remove qutebrowser/ from all paths, and also
make sure to remove it from what coverage returns (in case someone is running an
older version).
2017-05-09 06:13:35 +02:00
Florian Bruhin
4e74fff5e8
Test/lint fixes
2017-02-18 00:10:13 +01:00
Florian Bruhin
7c701dc697
Disable coverage checks for webkitelem.py
2017-02-12 02:26:46 +01:00
Florian Bruhin
4ee207b3cb
Remove webkit.tabhistory from check_coverage
...
We can't easily check for both QtWebKit and -NG code in the same run.
2017-02-06 08:48:08 +01:00
Florian Bruhin
129c1a0b1a
Add missing comma
2017-02-05 19:09:31 +01:00
Florian Bruhin
f3b39c55a0
Fix lint
2017-02-05 18:42:34 +01:00
Florian Bruhin
4cf974796e
Replace remaining mentions of The-Compiler/qutebrowser
2017-02-05 00:14:50 +01:00
Florian Bruhin
7d1316fe03
Remove webelem.py from coverage check
...
These tests need a bigger overhaul to work with QtWebEngine and use actual web
elements.
2017-02-03 23:46:44 +01:00
Florian Bruhin
2d23ed52de
Adjust check_coverage
2016-11-10 22:45:27 +01:00