Florian Bruhin
277daa334d
Merge remote-tracking branch 'origin/pr/2891'
2017-10-08 15:23:01 +02:00
Michal Siedlaczek
4bac2f3e44
Initialize profiles with spellchecking turn on by default.
2017-10-06 07:58:26 -04:00
Michal Siedlaczek
fd9a5fa334
Style fixes
2017-10-05 09:56:13 -04:00
Florian Bruhin
618586f8b0
Merge branch 'config-write-py'
2017-10-05 11:30:50 +02:00
Anton S
0f1444125f
[osx] proper plist to show up in browsers list (by The-Compiler)
2017-10-05 01:16:43 +03:00
Anton S
5350b948ea
[review] gather plist params in one place
2017-10-05 01:13:23 +03:00
Florian Bruhin
09f2b06081
build_release: Fix casing for framework name
2017-10-04 19:09:54 +02:00
Michal Siedlaczek
6d9f04355c
Strip JSON response from Google API of the 5-byte prefix
...
Read more here:
* https://github.com/google/gitiles/issues/22
* https://github.com/google/gitiles/issues/82
2017-10-04 10:06:14 -04: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
36857d9250
Remove valid values for Bool from docs
2017-10-04 11:46:42 +02:00
Michal Siedlaczek
932e7a9ab9
Review fixes
2017-10-03 20:07:06 -04:00
Anton S
68481bc989
[osx] declare html files support as well
2017-10-04 00:02:03 +03:00
Florian Bruhin
64e0313090
Fix commas in settings docs
...
Otherwise, asciidoc interprets it as a third parameter to the xref...
Fixes #3046
2017-10-02 20:12:32 +02:00
Florian Bruhin
a8fc561707
Split config commands off to their own file.
2017-10-02 07:08:30 +02:00
Anton S
a576fae893
[osx] declare URLs support in Info.plist
2017-10-02 01:04:12 +03:00
Florian Bruhin
1a381bf0a5
eslint: Report unused disables
2017-09-29 22:29:18 +02:00
Florian Bruhin
9607f3de59
Improve type documentation of settings
...
Use .get_name() for the docs
2017-09-27 08:25:52 +02:00
Florian Bruhin
474bf8ad06
Remove unneeded as-import
2017-09-26 10:47:07 +02:00
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