Florian Bruhin
5a60630450
Don't use utils.is_* in build_release.py
...
This partially reverts ef1c83862b
Otherwise, we'd have to have PyQt5 installed in the environment which runs
build_release.py.
2017-09-26 07:25:59 +02:00
Florian Bruhin
e766cf5ed1
build_release: print artifacts if not releasing
2017-09-26 07:13:54 +02:00
Florian Bruhin
459bbc3a6f
Add configinit to PERFECT_FILES
2017-09-22 20:26:56 +02:00
Florian Bruhin
69d19e49df
Fix flake8
2017-09-22 13:20:18 +02:00
Florian Bruhin
43ab27634f
Fix vulture
2017-09-22 11:07:54 +02:00
Florian Bruhin
cd9fe57d84
build_release: Also run asciidoc2html on Linux
2017-09-21 23:03:02 +02:00
Florian Bruhin
c74236dd96
Move some data from setupcommon to setup.py
...
We can't get rid of setupcommon entirely (it's needed by PyInstaller), but at
least we can get the data back to setup.py.
Fixes #2996
2017-09-21 22:54:58 +02:00
Michal Siedlaczek
95592770a7
Fixing test dependencies and other test issues
2017-09-21 09:53:51 -04:00
Michal Siedlaczek
c2197102a3
Enable spell checking and installing dictionaries for QtWebEngine
2017-09-21 09:51:52 -04:00
Florian Bruhin
ef1c83862b
Use utils.is_* for platform checks everywhere
2017-09-20 11:10:24 +02:00
Florian Bruhin
54ceb52eaf
Switch to using Item.get_report() for vulture
2017-09-20 08:17:04 +02:00
Florian Bruhin
1de25c14e4
Add attrs to setup.py
2017-09-19 22:36:37 +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
7b42e38dae
Fix more file move issues
2017-09-17 22:10:06 +02:00
Florian Bruhin
2398a58526
Fix more file move issues
2017-09-17 21:54:42 +02:00
Florian Bruhin
4c616a5733
Move all documentation files to doc/
2017-09-17 21:27:38 +02:00
Florian Bruhin
413c7ec1ac
Add config type docstrings to settings.asciidoc
2017-09-15 17:21:11 +02:00
Florian Bruhin
ee5dd7fad2
Remove interpolation FIXME and DEFAULT_FONT_SIZE
...
This is just not going to happen, and with the new config we have no good way of
supporting a DEFAULT_FONT_SIZE.
2017-09-15 14:11:10 +02:00
Florian Bruhin
4da9b8c495
check_coverage: Truncate long floats
2017-09-15 12:07:54 +02:00
Florian Bruhin
bbffda669a
Fix lint
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
c62e748b7b
travis: Use Python 3 pip
2017-09-11 18:33:08 +02:00
Florian Bruhin
37464c8e3a
travis: Re-add installing eslint to travis_install
2017-09-11 18:32:23 +02:00
Florian Bruhin
816369f0ef
travis: Clean up Travis scripts
2017-09-11 18:32:23 +02:00
Florian Bruhin
e6864b6599
travis: Run eslint without tox on Travis
2017-09-11 18:32:23 +02:00
Florian Bruhin
a11baeb84d
travis: Fix some more issues
2017-09-11 18:32:23 +02:00
Florian Bruhin
b4f30f6df2
Move coverage to QtWebEngine environment with PyPI-PyQt
2017-09-11 18:30:23 +02:00
Florian Bruhin
49a389542e
travis: Update travis_install.sh
2017-09-11 18:30:23 +02:00
Florian Bruhin
a283a1bb65
Merge branch 'master' into new-config
2017-09-09 10:52:02 +02:00
Florian Bruhin
074cc1b723
Another one
2017-08-23 09:37:51 +02:00
Florian Bruhin
df909ca75b
Fix sorting for vulture
2017-08-23 08:33:50 +02:00
Florian Bruhin
f1fc078dc1
Remove vulture exclude
...
Looks like it was removed in
d35e73deda
,
and passing [] seems to be equal to the default nowadays anyways.
2017-08-22 08:08:28 +02:00
Ryan Roden-Corrent
b5a6583559
Fix pylint/flake8/vulture errors.
2017-08-20 21:12:38 -04:00
Ryan Roden-Corrent
71b71dbc58
Merge remote-tracking branch 'upstream/master' into HEAD
2017-08-06 18:13:49 -04:00
Florian Bruhin
a329ce41b5
Update vulture whitelist
2017-07-31 16:41:43 +02:00
Florian Bruhin
bcba14a029
Adjust run_vulture.py for new vulture version
2017-07-31 16:35:12 +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
7e36310e8a
Shorten and update README
2017-07-21 13:28:23 +02: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
Fritz Reichwald
38c00e53cd
Add open_url_in_instance.sh script
2017-07-09 13:34:10 +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
ad615941a2
Replace OS X with macOS
2017-07-08 11:12:43 +02:00
Ryan Roden-Corrent
515e82262d
Merge remote-tracking branch 'upstream/master' into really_complete
2017-07-07 20:42:21 -04:00
Florian Bruhin
af6d833c50
Fix build_release.py
2017-07-07 15:18:05 +02:00
Florian Bruhin
5098aa388b
build_release: Fail GitHub uploads early
2017-07-07 14:28:36 +02:00
Florian Bruhin
d4da82805f
Remove hostblock_blame
2017-07-07 09:44:34 +02:00
Ryan Roden-Corrent
dc4472470e
Merge remote-tracking branch 'upstream/master' into really_complete
2017-07-05 08:45:57 -04:00
Florian Bruhin
eaecfe5882
build_release: Adjust Windows installer names
2017-07-04 22:27:17 +02:00
Florian Bruhin
725d4a44f0
build_release: Don't fail if hdiutil detach fails
2017-07-04 22:16:21 +02:00
Florian Bruhin
c424a745d8
build_release: Add comment about missing 3rdparty upgrade
2017-07-04 21:36:20 +02:00
Florian Bruhin
8f03a36862
build_release: Use correct path when copying dirs
2017-07-04 21:31:53 +02:00
Florian Bruhin
7ecdd6c1c5
build_release: Print some more information about copied files
2017-07-04 21:04:08 +02:00
Florian Bruhin
d96403fe93
build_release: Clean up before doing stuff
...
So we can inspect the results later.
2017-07-04 21:03:55 +02:00
Florian Bruhin
defe140d98
build_release: Run tox with -vv
2017-07-04 19:56:54 +02:00
Florian Bruhin
cff61fa0bc
Fix pylint
...
This also reverts commit 8df0b063be
.
2017-07-04 15:34:10 +02:00
Florian Bruhin
88b878098d
Implement pretty-printing of configtypes for the doc
...
This is also needed to make the docs environment work on Travis - as otherwise,
doc generation wasn't deterministic because of changing dict key order.
2017-07-04 15:09:23 +02:00
Florian Bruhin
f98b8a240e
Fix flake8
2017-07-04 15:09:23 +02:00
Florian Bruhin
f92ccd4893
Show diff on Travis in check_doc_changes
2017-07-04 15:09:23 +02:00
Florian Bruhin
397ca47efb
Fix vulture
2017-07-04 15:09:23 +02:00
Florian Bruhin
79c11d6008
Skip test_configdata.test_init_benchmark on Travis in Docker
...
See #2777
2017-07-04 15:09:23 +02:00
Florian Bruhin
e72b0fc89d
Update check_coverage.py for new config
2017-07-04 15:08:04 +02:00
Florian Bruhin
5c08c6c930
Add conditional backend infos to docs
2017-07-04 15:08:03 +02:00
Florian Bruhin
25ab3b30c2
Initial doc update with new settings
2017-07-04 15:08:03 +02:00
Florian Bruhin
cc90cc6843
Initial pylint checker update
2017-07-04 14:42:56 +02:00
Florian Bruhin
629038632c
Add proxy support for QtWebEngine and Qt 5.7.1
...
This used to give us crashes in libproxy:
https://github.com/libproxy/libproxy/issues/45
https://bugreports.qt.io/browse/QTBUG-56852
However, trying again with Qt 5.7.1 on Debian and from PyPI, this doesn't happen
anymore, so it was probably something with how Archlinux handled things.
See #2082 , #2775 .
Reverts fd29528e4f
2017-07-03 10:29:28 +02:00
Florian Bruhin
8de0445661
Move UserAgent to configdata
2017-07-02 22:17:33 +02:00
Florian Bruhin
c856f6d97b
Initial work on new pylint checker
2017-07-02 22:17:33 +02:00
Florian Bruhin
52f6ea2525
Initial parsing
2017-07-02 22:17:33 +02:00
Florian Bruhin
a98a6ac0c8
travis: Write a sane sources.list
...
Also updates nodejs
2017-06-28 21:42:50 +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
Ryan Roden-Corrent
be38e181a8
Install libqt5sql5-sqlite for debian CI.
...
Needed for tests to pass with the new SQL dependency.
2017-06-19 07:42:12 -04:00
Ryan Roden-Corrent
93f8984987
Install pyqt5.qtsql bindings for debian CI.
...
SQL is included in the Archlinux pyqt5 package, but not in Debian.
We need this so the debian-based CI builds will pass with the new
sql-based completion implementation.
2017-06-19 07:42:12 -04:00
Florian Bruhin
f49bbcbb9f
Sort names in recompile_requirements again
...
This got lost with the previous revert
2017-06-01 16:21:48 +02:00
Florian Bruhin
a7143d5649
Revert "Update recompile_requirements for newer pips"
...
This reverts commit 8afc215c3d
.
Since setuptools 36, it now vendors its dependencies again, as the vendoring has
lead to various issues.
2017-06-01 16:16:04 +02:00
Florian Bruhin
62b44c5338
Fix lint
2017-05-30 17:07:31 +02:00
Florian Bruhin
f656cda248
Merge commit '798cae51d4971a74fa5a7de4815b32d9871caad5'
2017-05-30 10:39:20 +02:00
Philipp Hansch
798cae51d4
Fix pylint issue
2017-05-29 23:15:22 +02:00
Philipp Hansch
abd3333b9f
Add TOC to installation instructions
...
This adds a Table of Contents to the installation instructions to
improve the navigation within the document.
I decided to use the command line to configure the TOC because there
were problems with using just using an attribute entry in the document
header.
Specifically the insertion of the `header.asciidoc` into the resulting
HTML file prevented the attribute entry approach from working.
The TOC can now be inserted into any doc file using
toc::[]
2017-05-29 21:14:01 +02:00
Florian Bruhin
464eb29704
Set PATH in build_release.py when calling tox
...
On Windows, we need to have the proper Python folder in PATH when using PyQt5,
so it can load python3.dll properly.
2017-05-24 20:52:57 +02:00
Florian Bruhin
1adcf28e31
build_release: Adjust Windows Python paths
2017-05-24 13:30:11 +02:00
Florian Bruhin
4e48f878ba
build_release: Call tox with -v
2017-05-24 08:37:06 +02:00
Florian Bruhin
b811b9e380
Run update_3rdparty correctly from build_release
2017-05-24 08:37:06 +02:00
Florian Bruhin
59760b58d9
Add windows installers to build_release
2017-05-24 08:37:06 +02:00
Florian Bruhin
af1e1d9239
Merge commit 'c814ced7b35968cfdeb6284cc79168bfffed7c85'
2017-05-23 17:18:55 +02:00
Florian Bruhin
499f5df2a9
ci: Use Python 3.6 everywhere
2017-05-17 21:40:24 +02:00
Florian Bruhin
12520bf4ba
Install PyQt from PyPI for pylint
...
This means we can be sure to have QtWebEngine available and won't have QtWebKit.
2017-05-17 19:08:59 +02:00
Florian Bruhin
608ac89f06
Fix lint
2017-05-17 14:32:13 +02:00
Florian Bruhin
c5957bc9d0
Exclude pdfjs from build packages for now
...
It only makes things bigger, and currently pdfjs doesn't work on QtWebEngine
anyways.
2017-05-17 11:42:58 +02:00
Florian Bruhin
9898d80625
Remove legacy cx_Freeze code
...
This also removes frozen tests for now. They should be readded at some point...
2017-05-17 11:31:14 +02:00
Florian Bruhin
e955540f71
build_release: More fixes
2017-05-17 11:10:36 +02:00
Florian Bruhin
47bf261994
build_release: Different PyInstaller workaround
2017-05-17 11:10:32 +02:00
Florian Bruhin
71b5d83e19
build_release: Various fixes
2017-05-17 11:10:20 +02:00
Florian Bruhin
dc947bf9a9
build_release: Python version adjustments
2017-05-17 11:09:22 +02:00
Florian Bruhin
49a328727e
build_release: Add Windows patching for PyInstaller
2017-05-17 11:09:22 +02:00
Florian Bruhin
9816de9e8d
build_release: Initial changes for PyInstaller
2017-05-17 11:06:06 +02:00
Florian Bruhin
70e2963432
build_release: Adjust repo name
2017-05-17 11:05:27 +02:00
Florian Bruhin
086139110d
Merge branch 'new-private-browsing'
2017-05-16 06:32:15 +02: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
f6fc2666ce
Generate stylesheet for statusbar
2017-05-15 11:07:43 +02:00
Matthias Lisin
c814ced7b3
Add Android UA
2017-05-13 15:05:54 +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
2a4af0666b
Regenerate authors
2017-05-03 18:36:48 +02:00
Florian Bruhin
1d0f187fab
Adjustments for new pylint version
2017-04-13 18:22:16 +02:00
Florian Bruhin
4ec5700cbf
Redirect qute:foo to qute://foo
...
Before, we just returned the same data for both, but then we'll run into
same-origin restrictions as qute:history and qute:history/data are not the same
host.
2017-04-06 21:18:58 +02:00
Florian Bruhin
fd276dabc7
appveyor_install: Don't install old PyQt if unneeded
2017-03-31 13:05:35 +02:00
Florian Bruhin
eb31f679f4
Allow unknown args in testbrowser
2017-03-30 21:50:19 +02:00
Florian Bruhin
069f908a61
Get rid of run_pytest.py
...
Fixes #2452
2017-03-18 21:03:52 +01:00
Florian Bruhin
befb1afb2c
Fix vulture
2017-03-16 07:50:23 +01:00
Florian Bruhin
7d9686f917
Don't keep temporary files around in asciidoc2html
...
Fixes #2431
2017-03-13 06:56:29 +01:00
Florian Bruhin
b117d981a5
Install debug packages on Ubuntu
2017-03-05 20:28:27 +01:00
Florian Bruhin
23a26bf08b
Improve travis backtrace script
2017-03-05 20:28:27 +01:00
Florian Bruhin
8fb640f1ff
Debug segfaults on travis
...
Fixes #2097
2017-03-05 20:28:27 +01:00
Florian Bruhin
d4124c5c2a
Ignore pyup-bot for author list
2017-03-01 23:55:19 +01:00
Florian Bruhin
65f407e926
Remove webelem.style_property()
...
It's not used anymore, and not possible to support with QtWebEngine without a
massive performance hit when serializing elements.
2017-03-01 17:54:27 +01:00
Florian Bruhin
2c87b4f979
Another try at frozen pytest_benchmark
2017-02-19 21:33:49 +01:00
Florian Bruhin
a34bc929ac
Fix handling of pytest-benchmark for frozen tests
2017-02-19 20:11:46 +01:00
Florian Bruhin
a8b27eb271
Fix lint
2017-02-19 19:44:50 +01:00
Florian Bruhin
9a638b2dba
Patch OS X .app to work with QtWebEngine
2017-02-19 15:41:20 +01:00
Florian Bruhin
0b94f2ed8c
Fix pytest-benchmark package name
2017-02-18 00:46:55 +01:00
Florian Bruhin
4e74fff5e8
Test/lint fixes
2017-02-18 00:10:13 +01:00
Florian Bruhin
a86170f45d
Drop PyQt < 5.7.1 support for QtWebEngine
2017-02-17 14:42:57 +01:00
Florian Bruhin
abded2470a
Reenable PyQt 5.6 PyPI tests
...
To avoid segfaults we need to hardcode the sip version.
We also need to write a Qt.conf as it was missing with PyQt 5.6 and QtWebEngine
can't find its resources.
2017-02-17 12:00:16 +01:00
Florian Bruhin
79d22f2505
travis: Don't install libpython3.4-dev for PyPI PyQt
2017-02-17 07:02:57 +01:00
Florian Bruhin
7c701dc697
Disable coverage checks for webkitelem.py
2017-02-12 02:26:46 +01:00
Florian Bruhin
c0c636c3eb
Revert OS X / Windows changes for PyPI packages
2017-02-09 00:50:38 +01:00
Florian Bruhin
4506575638
Try PyPI envs on Appveyor
2017-02-09 00:50:38 +01:00
Florian Bruhin
314ba53014
travis: Don't run check_pyqt on OS X for PyPI jobs
2017-02-09 00:50:37 +01:00
Florian Bruhin
5d2b32956b
travis: Install geoclue for PyPI tests
2017-02-09 00:50:37 +01:00
Florian Bruhin
ce3e24163e
Add test environments using PyQt from PyPI
...
Fixes #2083
2017-02-09 00:50:37 +01:00
Florian Bruhin
df245dae48
Add support for general -> print-element-backgrounds with WebEngine
2017-02-06 21:08:32 +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
99d1636878
Properly implement session support for QtWebKit-NG
...
See #1571
2017-02-06 08:48:08 +01:00
Florian Bruhin
dfbcb75313
First prototype of QtWebKit-NG history/session support
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
febfa00dd5
travis: Use --no-xvfb on OS X
2017-02-05 12:58:37 +01:00
Florian Bruhin
77f6b14db8
Fix doc generation for network -> proxy
2017-02-05 01:48:41 +01:00
Florian Bruhin
ae54648be8
Update get_coredumpctl_traces for newer Python versions
2017-02-05 01:43:17 +01:00
Florian Bruhin
8afc215c3d
Update recompile_requirements for newer pips
...
pip now depends on (instead of vendoring) its dependencies, so we needed some
updates there to only install the affected packages once.
Fixes #2255
2017-02-05 01:29:21 +01:00
Florian Bruhin
4cf974796e
Replace remaining mentions of The-Compiler/qutebrowser
2017-02-05 00:14:50 +01:00
Florian Bruhin
de50f30b9b
Replace all GitHub links
2017-02-05 00:13:11 +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
7304db916c
freeze.py: Remove pkg_resources._vendor packages
...
See https://github.com/pypa/setuptools/pull/933
2017-01-25 08:05:40 +01:00
Florian Bruhin
43ae66dba4
freeze_tests: Add queue module for cheroot
2017-01-23 09:22:50 +01:00
Florian Bruhin
d9808aefed
Switch from CherryPy to cheroot, take 2
...
This reverts commit 3584eabd6f
.
This reverts commit 37dc99c26f
.
2017-01-23 07:38:24 +01:00
Florian Bruhin
37dc99c26f
Revert "Switch from CherryPy to cheroot"
...
This reverts commit 1ab2b3af83
.
See https://github.com/cherrypy/cheroot/pull/2
2017-01-20 09:06:49 +01:00
Florian Bruhin
1ab2b3af83
Switch from CherryPy to cheroot
...
The WSGIServer got split off from CherryPy in a separate project
2017-01-20 08:07:55 +01:00
Florian Bruhin
057e5c9807
Update authors
2016-12-28 23:33:52 +01:00
Florian Bruhin
5a89ee96d9
Merge branch 'pac' of https://github.com/abbradar/qutebrowser into abbradar-pac
2016-12-22 08:53:10 +01:00
Florian Bruhin
c7970eb2ee
Xfail tests which fail on Docker/Travis
...
See #2183
2016-12-20 21:32:46 +01:00
Nikolay Amiantov
87890dab20
Add PAC files support
2016-12-07 02:01:19 +03:00
Florian Bruhin
7ffabb2b92
Update docs
2016-11-22 22:22:24 +01:00
Florian Bruhin
8d781c68c9
Fix lint
2016-11-10 22:45:27 +01:00
Florian Bruhin
2d23ed52de
Adjust check_coverage
2016-11-10 22:45:27 +01:00
Florian Bruhin
3884271505
check_coverage: Add keyinput.macros to WHITELISTED_FILES
2016-11-10 06:54:02 +01:00
Florian Bruhin
6019e090a1
Fix get_coredumpctl_traces.py
2016-11-07 17:29:34 +01:00
Florian Bruhin
0c9a97225a
Fix GitHub filename
2016-11-05 23:35:56 +01:00
Florian Bruhin
d92674dd04
Remove test_prompt.py
2016-11-03 08:40:41 +01:00
Florian Bruhin
ced618eccb
Pass all arguments to pip on Travis
2016-11-03 08:37:30 +01:00
Florian Bruhin
55d8239671
Fix pip installs on CI
2016-11-03 08:30:21 +01:00
Florian Bruhin
b0e0b1d073
Get rid of requirements-pip.txt
...
While pinning setuptools/pip versions is still somewhat desirable, we
can't pin it everywhere easily, and the current solution will break
stuff on Windows.
2016-11-03 07:22:31 +01:00
Florian Bruhin
cd97ef0047
Add a QtWebEngine C++ testbrowser
2016-11-02 08:01:09 +01:00
Daniel Karbach
da2ba86aa5
use https for links in docs and elsewhere
...
refs #2039
2016-10-20 14:48:35 +02:00
Florian Bruhin
bce5fc529b
travis: Don't try to upgrade pip on OS X
...
We will run into (probably?) system integrity protection.
2016-10-05 13:20:33 +02:00
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