Florian Bruhin
197e3732d8
travis: Install pip on OS X
...
It seems pip isn't preinstalled on the newest image.
2016-10-05 13:10:31 +02:00
Florian Bruhin
04d2d60241
travis: Remove custom OS X Qt builds
2016-10-05 12:54:23 +02:00
Florian Bruhin
aec1cf3842
Fix lint
2016-09-26 08:12:18 +02:00
Florian Bruhin
41db521b9e
Improve check_coverage output
...
We now show the coverage report for the affected files so we have some
useful debug output.
2016-09-26 07:33:27 +02:00
Florian Bruhin
49615820bb
Fix test path in check_coverage.py
2016-09-15 15:09:33 +02:00
Florian Bruhin
e338d4b49c
Add MessageView tests
2016-09-15 14:51:22 +02:00
Florian Bruhin
7e30792bfe
Fix lint
2016-09-15 14:51:22 +02:00
Florian Bruhin
c128aba27e
Fix qute:* handlers in run_vulture.py
2016-09-14 11:39:19 +02:00
Florian Bruhin
aa71c9ae58
Initial qute:* support for QtWebEngine
2016-09-14 10:18:25 +02:00
Florian Bruhin
32a33c26a8
Restore sys.excepthook in scripts.run_profile
2016-09-12 09:28:09 +02:00
Florian Bruhin
1b5cd98d38
Fix lint
2016-09-11 20:16:03 +02:00
Florian Bruhin
44d1056e54
QtWebEngine: Implement custom HTTP headers
2016-09-07 18:29:38 +02:00
Florian Bruhin
6831177f2e
Add docstring for update_3rdparty.update_ace
2016-09-07 13:02:48 +02:00
Florian Bruhin
3d9b33f6a5
Ignore ace.js for spellcheck
2016-09-07 13:01:54 +02:00
Florian Bruhin
522049132b
Add a test for hinting with ACE editor
2016-09-07 12:28:12 +02:00
Florian Bruhin
6635c71849
Fix test_webkitelem.py path in check_coverage
2016-09-07 11:37:31 +02:00
Florian Bruhin
1123a25668
travis: Add --qute-bdd-webengine on OS X
2016-09-05 23:14:33 +02:00
Florian Bruhin
c503c2953d
Make testbrowser.py run without QtWebKit
2016-09-05 18:50:39 +02:00
Florian Bruhin
baf6bb5514
Pass $QUTE_BDD_WEBENGINE to Docker correctly
2016-09-05 16:00:23 +02:00
Florian Bruhin
2de3065187
Use new Docker repository
2016-09-02 19:03:13 +02:00
Florian Bruhin
be129b8aad
freeze: Fix pkg_resources._vendor.appdirs include
2016-09-01 07:00:26 +02:00
Florian Bruhin
6dace67074
freeze.py: Include pkg_resources.extern.appdirs
2016-08-30 13:23:53 +02:00
Florian Bruhin
77aa8b4337
pylint: Use ignored-modules for pytest
...
See https://github.com/PyCQA/astroid/pull/357
2016-08-23 07:45:31 +02:00
Florian Bruhin
0c6574afb1
Replace py.test with pytest
...
See #1877
2016-08-22 07:41:10 +02:00
Florian Bruhin
016349941b
Update vulture whitelist
2016-08-17 14:51:05 +02:00
Florian Bruhin
577c6270ad
Remove some old entries from vulture whitelist
2016-08-16 20:20:09 +02:00
Florian Bruhin
c99d3e7dca
Fix %s output in scripts.dev.ua_fetch
2016-08-16 14:06:37 +02:00
Florian Bruhin
5ecef0004c
Add some docs for command replacements
2016-08-16 13:32:53 +02:00
Florian Bruhin
4a14ab5c06
Hide all deprecated commands in src2asciidoc
2016-08-10 21:29:08 +02:00
Florian Bruhin
f7cd426aaa
Adjust PERFECT_FILES for history move
2016-08-10 15:48:34 +02:00
Florian Bruhin
ec21041516
Add a warning header to commands/settings.asciidoc
...
See #1802
2016-08-08 22:54:07 +02:00
Florian Bruhin
92049155af
Whoops...
2016-08-08 13:42:37 +02:00
Florian Bruhin
bac263d8a5
Adjust PERFECT_FILES for webelem split
2016-08-08 13:28:15 +02:00
Florian Bruhin
b6fbd3ce3a
Merge branch 'better-variables' of https://github.com/blyxxyz/qutebrowser into blyxxyz-better-variables
2016-08-07 11:33:01 +02:00
Florian Bruhin
0b93272786
Merge branch 'sortfilter_tests' of https://github.com/rcorre/qutebrowser into rcorre-sortfilter_tests
2016-08-07 10:46:28 +02:00
Florian Bruhin
126e3fd01b
tests: Add webkitinspector.py to WHITELISTED_FILES
...
When running with --no-xvfb, this file has 100% coverage due to the
inspector tests in misc.feature.
See #1771 .
2016-08-07 10:42:37 +02:00
Ryan Roden-Corrent
adc428e525
Perfect coverage for sortfilter.
...
Mark an area of sortfilter with `#pragma no coverage` and add it to
perfect_files.
2016-08-06 20:48:21 -04:00
Jan Verbeek
1e97247c63
Revert spawn's splitting, blacklist from doc
...
Blacklist spawn from getting the no_replace_variables doc note.
2016-08-05 18:04:14 +02:00
Florian Bruhin
2a328bcea1
Remove unneeded fixme
...
Nothing gets stuff from the config outside of config.get anyways.
Closes #107 .
2016-08-05 09:33:28 +02:00
Florian Bruhin
08b70f0f4c
Add qutebrowser.utils.javascript
...
webelem.javascript_escape got renamed to javascript.string_escape, and a
new javascript.assemble got added to make it easier to call a function
inside a .js file.
2016-08-04 17:53:13 +02:00
Jan Verbeek
7999c493ac
Remove unnecessary import, split long line
2016-08-04 15:16:35 +02:00
Jan Verbeek
8b9f37cc84
Use raw string for asciidoc backslashes
2016-08-04 13:45:46 +02:00
Jan Verbeek
827de1743d
Document no_replace_variables, misc fixes
...
Add no_replace_variables to the asciidoc, improve its description in
the decorator, remove now unnecessary argument parsing in set-cmd-text
2016-08-04 13:21:19 +02:00
Florian Bruhin
cae7eead6f
QtWebEngine: Basic settings support
2016-08-03 11:35:08 +02:00
Florian Bruhin
195b17c1ad
Add release uploading to build_release.py
...
Closes #1738
2016-08-02 22:26:25 +02:00
Florian Bruhin
eee1c7391c
Add download_release.sh
...
See #1738
2016-08-02 22:26:01 +02:00
Florian Bruhin
0f5e6abc11
freeze.py: Copy plugin folders on Windows
...
This makes HTML5 video work.
Fixes #1068 .
2016-08-02 15:56:16 +02:00
Florian Bruhin
04148ed1c6
Appveyor: Also handle IOError
...
This is on Python 2.7 where they are separate
2016-08-02 09:55:12 +02:00
Florian Bruhin
68b273de87
Merge branch 'generalize-list-type' of https://github.com/mlochbaum/qutebrowser into mlochbaum-generalize-list-type
2016-08-01 16:22:13 +02:00
Marshall Lochbaum
a7f9461d1f
Correct valid_values handling for asciidoc
2016-08-01 10:15:51 -04:00
Florian Bruhin
81ad3bdcdc
appveyor: Try to re-download PyQt on failure
2016-08-01 15:10:23 +02:00
Florian Bruhin
858fb77e19
Regenerate authors
2016-08-01 10:34:58 +02:00
Florian Bruhin
243ba02f5f
Revert "Add -bb for pytest python invocations"
...
This reverts commit 285cf105f0
.
This is currently blocked by
https://github.com/HypothesisWorks/hypothesis-python/pull/350
2016-07-28 09:10:25 +02:00
Florian Bruhin
285cf105f0
Add -bb for pytest python invocations
...
This means Python will show an error if bytes/str are compared or str()
is used on a bytes object.
2016-07-28 07:06:13 +02:00
Florian Bruhin
b5d3fa763a
Add pytest_warnings to run_frozen_tests.py
2016-07-27 20:44:21 +02:00
Florian Bruhin
55f4777d72
build_release: Fix call_tox with no python on Win
2016-07-26 17:55:26 +02:00
Florian Bruhin
311f531d88
build_release: Fix tox call
2016-07-26 17:00:32 +02:00
Florian Bruhin
180d113914
build_release: Fix running smoke test on OS X
2016-07-26 16:49:44 +02:00
Florian Bruhin
901ccebca6
Revert "build_release: Use -quiet for hdiutil"
...
This reverts commit e2ea04691e
.
Otherwise we don't get any information on errors...
2016-07-26 16:49:07 +02:00
Florian Bruhin
e2ea04691e
build_release: Use -quiet for hdiutil
2016-07-26 16:39:10 +02:00
Florian Bruhin
86bd42ec93
build_release: Rebuild tox environments
...
This way we can be sure we have updated dependencies installed.
2016-07-26 16:38:32 +02:00
Florian Bruhin
12007dd0d0
DMG Makefile: Don't generate template.dmg.bz2
...
Let's not have this in the workingdir, instead just regenerate it every
time.
2016-07-26 16:30:34 +02:00
Florian Bruhin
ed67b988f9
DMG Makefile: Increase template size to 300 MB
...
Otherwise QtWebEngine wouldn't fit.
2016-07-26 16:29:29 +02:00
Florian Bruhin
fb20352e3f
build_release: Add smoke test for OS X
...
This should prevent something like #1686 in the future.
2016-07-26 16:10:25 +02:00
Florian Bruhin
614794a62a
link_pyqt: Use PyQt5.QtCore to find PyQt5 path
...
For some reason on OS X, PyQt5.__file__ does not exist as it's a
namespace package.
2016-07-26 13:59:25 +02:00
Florian Bruhin
f4f6a3dac1
Merge branch 'open-download' of https://github.com/Kingdread/qutebrowser into Kingdread-open-download
2016-07-26 10:32:34 +02:00
Florian Bruhin
04fdce9058
Close file stream in qute_pylint.modeline
2016-07-23 17:00:05 +02:00
Florian Bruhin
6f65973237
Adjust freeze_tests for cherrypy.wsgiserver merge
2016-07-15 17:05:41 +02:00
Florian Bruhin
701c2fe7d0
appveyor: Don't patch registry
...
In newer Appveyor images, only a key for Python 3.5 exists here.
2016-07-15 17:05:16 +02:00
Florian Bruhin
d079caafa8
Add possibility to disable spellcheck
2016-07-15 00:07:37 +02:00
Jan Verbeek
bbc46d28ff
Use lists instead of tuples for comparing
...
Per one of the diff comments on #1597 :
> I used to use a tuple for constant things, but nowadays I'd actually
> prefer a list as a tuple is something more heterogeneous (i.e. it
> makes sense to have a `(x, y)` point as a tuple, but a list of points
> would be a list).
> At some point I should probably change it to a list everywhere 😉
2016-07-12 22:05:32 +02:00
Daniel Schadt
220203dd9c
spellchecker: mark "occurs" as correct
...
See http://www.thefreedictionary.com/occur
2016-07-12 16:52:01 +02:00
Florian Bruhin
37d20023b3
Remove now unneeded vulture ignore
...
We're now using __slots__
2016-07-08 10:10:08 +02:00
Florian Bruhin
3fe851ed84
Temporarily remove tab.py from perfect_files
...
We have things like the mousewheel event handling in there which we
can't easily test just yet.
2016-07-07 18:32:52 +02:00
Florian Bruhin
ec053f8007
Simplify TabData implementation
...
This uses direct attributes instead of self._data which means we can
only override __setattr__, and pylint will better understand what's
happening.
2016-07-07 18:32:52 +02:00
Florian Bruhin
4305966f7b
Add WrapperLayout/AbstractTab
2016-07-07 18:32:52 +02:00
Florian Bruhin
a58c3ff0c6
Print some version numbers in travis_install.sh
2016-07-06 22:25:14 +02:00
Florian Bruhin
89cdef851d
Install new node
2016-07-06 17:05:12 +02:00
Ryan Roden-Corrent
f94ee172c9
Add completion/models/base to perfect_files.
...
It now has 100% test coverage.
2016-06-30 07:26:02 -04:00
Florian Bruhin
ad83950410
travis: Install v5.6.1_1-1 bottle
...
This should fix OS X builds.
2016-06-30 09:54:03 +02:00
Florian Bruhin
03fbacd93c
requirements: Update vulture to 0.9
...
* Don't flag attributes as unused if they are used as global variables in
another module.
* Don't consider "True" and "False" variable names.
* Abort with error message when invoked on .pyc files.
This means we can remove the whitelisted globals in run_vulture.py and
the associated xfailing test.
We also needed to adjust run_vulture.py slightly as the file attribute
got renamed to filename.
2016-06-29 23:44:39 +02:00
Ryan Roden-Corrent
9578a3324e
Break two long lines that were failing pylint.
2016-06-13 22:31:21 -04:00
Florian Bruhin
4fccc89d7d
Split browser into browser/browser.webkit
2016-06-13 11:18:21 +02:00
Florian Bruhin
cfe360b95e
travis: Update OS X bottle to Qt 5.6.1
2016-06-10 23:14:57 +02:00
Florian Bruhin
7511bc1fe5
tests: 100% coverage for browser.history
2016-06-10 12:01:14 +02:00
Florian Bruhin
bd111c2ab1
Fix lint
2016-06-08 07:16:27 +02:00
Florian Bruhin
016c102e57
Fix lint
2016-06-08 00:05:57 +02:00
Florian Bruhin
f6473620c5
Fix recompile_requirements.py without arguments
2016-06-07 23:44:50 +02:00
Florian Bruhin
55da4ffc03
Also generate root requirements
2016-06-07 23:44:22 +02:00
Florian Bruhin
164d7bea4b
recompile_requirements: Add replace command
2016-06-07 23:40:00 +02:00
Florian Bruhin
1c6b4da706
Use #@ as chars
2016-06-07 23:21:50 +02:00
Florian Bruhin
6249436bde
Rename raw-requirements files
...
This hopefully means they're not picked up on requires.io.
2016-06-07 23:21:50 +02:00
Florian Bruhin
34a6451806
Add special #! commands to recompile_requirements
2016-06-07 23:08:14 +02:00
Florian Bruhin
136cb19814
reqs: Comment out ignored dependencies
2016-06-07 22:53:17 +02:00
Florian Bruhin
1a26c8c61f
Add a script to compile requirement files
2016-06-07 22:45:59 +02:00
Florian Bruhin
41fcf0ed33
Make pytest_rerunfailures work with frozen tests
2016-06-04 17:07:51 +02:00
Florian Bruhin
ce0b50bafd
Fix pytest_rerunfailures package name
2016-06-01 13:13:41 +02:00
Florian Bruhin
e6f3a200c8
Include pytest-rerunfailures for frozen tests
2016-06-01 12:39:29 +02:00
Florian Bruhin
2a49dbe817
Fix handling of cmd.no_cmd_split for docs
2016-05-30 16:42:53 +02:00
Florian Bruhin
e8528c2c75
travis: Switch back to autogenerated Docker images
...
Archlinux updated to PyQt 5.6 in [extra] now, so the autobuilt image
should work fine with Qt 5.6 now.
2016-05-29 23:00:32 +02:00