Florian Bruhin
14dacbaa92
Fix typo
2017-10-02 07:49:31 +02:00
Florian Bruhin
0df4569502
Merge remote-tracking branch 'origin/pr/2847'
2017-10-02 07:49:20 +02:00
Florian Bruhin
fbf9817dcb
Rename test classes
2017-10-02 07:15:00 +02:00
Florian Bruhin
a8fc561707
Split config commands off to their own file.
2017-10-02 07:08:30 +02:00
Florian Bruhin
32d529b54e
Fix typo in configuring docs
...
[ci skip]
2017-10-02 06:24:29 +02:00
Florian Bruhin
a273baf8a0
Make sure :bind/unbind works properly when bindings.commands is None
...
To make this work, we should never return None when trying to get bindings to
modify.
Fixes #3026
2017-10-01 21:43:00 +02:00
Florian Bruhin
0fbd914432
Fix completion for empty config values
...
If we have an empty string in the completion, that already gets completed as ''.
If we return "", we'd have '""' in the completion.
Fixes #3027
2017-10-01 20:14:49 +02:00
Florian Bruhin
1b88fec7f0
Fix key chain in configuring docs
...
[ci skip]
2017-09-30 23:23:24 +02:00
Florian Bruhin
e0ff95d62a
Remove outdated note from quickstart docs
...
[ci skip]
2017-09-30 22:55:36 +02:00
Florian Bruhin
59d5c0f8e8
Merge pull request #3039 from gilbertw1/fix-config-doc-alias
...
fix example config.py alias creation example
2017-09-30 15:21:52 +02:00
Bryan Gilbert
ba06323696
fix example config.py alias creation example
2017-09-30 09:02:17 -04:00
Florian Bruhin
1a381bf0a5
eslint: Report unused disables
2017-09-29 22:29:18 +02:00
Florian Bruhin
dca962ca03
Make userscripts work on both Python 2 and 3
2017-09-29 13:38:38 +02:00
Florian Bruhin
0b5af757ec
Clarify settings which need a restart
...
[ci skip]
2017-09-28 21:51:07 +02:00
Florian Bruhin
322d97c3fa
Only show warning message stack with --debug
2017-09-28 21:30:32 +02:00
Florian Bruhin
5c181a23ab
Fix default prompt color
...
The former value was interpreted as a comment in the YAML...
2017-09-28 21:24:12 +02:00
Florian Bruhin
02bcec37f4
Darken default prompt color a bit more
2017-09-28 19:20:29 +02:00
Florian Bruhin
4e57b79e91
Merge branch 'webengine-by-default'
2017-09-28 18:41:41 +02:00
Florian Bruhin
9d963d55f5
Fix :debug-cache-stats with QtWebEngine
...
When we use --backend webengine, the QtWebKit stuff might be importable, but the
history still isn't initialized because of that.
2017-09-28 17:42:21 +02:00
Florian Bruhin
4b9bbaa04d
Skip test_force_software_rendering with QtWebKit
2017-09-28 17:30:53 +02:00
Florian Bruhin
45db0eaccb
Really force QtWebEngine for test_force_software_rendering init
2017-09-28 11:44:21 +02:00
Florian Bruhin
6496442503
Skip test_force_software_rendering on CI
...
We can't be sure we have hardware acceleration there
2017-09-28 11:42:02 +02:00
Florian Bruhin
6c25e96621
Remove unused imports
2017-09-28 11:38:52 +02:00
Florian Bruhin
3be0a78819
Fix configinit tests
2017-09-28 11:05:53 +02:00
Florian Bruhin
865fc2e0de
Handle -s argument earlier
...
This makes sure we can e.g. set software_rendering via -s
2017-09-28 10:10:14 +02:00
Florian Bruhin
45c6ffe991
Add a test for force_software_rendering
2017-09-28 10:04:47 +02:00
Florian Bruhin
6770a474c4
Force software rendering earlier
...
We need to do this before a QApplication exists
2017-09-28 09:52:56 +02:00
Florian Bruhin
35beb84e85
Fix tests and lint
2017-09-28 09:38:57 +02:00
Florian Bruhin
dfa65a0bfe
Remove requirements badge
...
Now that we use pyup weekly they'll be outdated most of the time, and it's not
really an useful metric for users anyways.
2017-09-28 09:29:00 +02:00
Florian Bruhin
f077f52997
Add asserts for the backend
2017-09-28 08:57:48 +02:00
Florian Bruhin
c77cff3fcb
Also fail with DISPLAY with wayland platform plugin
...
QtWebEngine spews errors at us, and while it seems to work with Weston for some
reason (despite errors logged), it doesn't with sway.
2017-09-28 08:56:05 +02:00
Florian Bruhin
b906c862bb
Remove ipc-server from objreg
2017-09-28 08:52:32 +02:00
Florian Bruhin
ce0622e38a
Document how initialization roughly works
2017-09-28 08:41:10 +02:00
Florian Bruhin
e5958e6061
Override --backend argument from backend problem dialog
2017-09-28 08:41:10 +02:00
Florian Bruhin
defcf5394a
Move SSL backend checking to backendproblem.py
2017-09-28 08:41:10 +02:00
Florian Bruhin
fa902c5d82
Improve error dialogs when QtWebKit/QtWebEngine was not found
2017-09-28 08:41:10 +02:00
Florian Bruhin
093f34183c
Add improved checks for Nouveau/Wayland for QtWebEngine
...
Closes #2368
Closes #2932
See #2335
2017-09-28 08:41:10 +02:00
Florian Bruhin
ca4a997559
Update settings for QtWebEngine by default
...
See #2335
2017-09-28 08:41:10 +02:00
Jay Kamat
bb8d41cedc
Add indicator padding to minimumTabSizeHint
...
Previously, indicator_padding was not taken into account, causing
problems when using a indicator_padding too small
Also removed icon padding to width calculation (seemed to be overestimating)
2017-09-27 21:04:06 -04:00
Florian Bruhin
e1f3829383
Cache the completion delegate stylesheet
...
We removed various caches in b5eac744b5
but the
completion delegate stylesheet gets rendered a lot, causing things to slow down.
The rendering takes around 1ms, but it gets done ~10k times with a simple
profiling run, so that adds up quickly.
We don't use a functools.lru_cache here as the stylesheet template never
changes.
Thanks a lot to gilbertw1 for tracking this down!
See #2812 - there's probably more possible, but this should fix the performance
regression some people saw with the new config.
2017-09-27 23:16:40 +02:00
Florian Bruhin
fac322058e
Improve crashdialog result codes
2017-09-27 11:46:51 +02:00
Florian Bruhin
6573888dc6
Fix :bind completion with invalid commands
...
Now that Command doesn't validate things anymore, we can't rely on parsing to
work.
2017-09-27 11:10:25 +02:00
Florian Bruhin
fef1a65247
Fix ListOrValue.to_doc signature
2017-09-27 10:37:42 +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
c694bff902
Allow direct values for url.start_pages and content.user_stylesheets
2017-09-27 08:21:03 +02:00
Jay Kamat
cc84c1722d
Merge remote-tracking branch 'upstream/master' into jay/remote-pintab-width
2017-09-26 18:07:10 -04:00
Jay Kamat
59c6555537
Remove the tabs.width.pinned setting
2017-09-26 18:06:23 -04:00
Florian Bruhin
2dfcf9c506
Remove unused imports
2017-09-26 21:37:20 +02:00
Florian Bruhin
b879f5e648
Slightly re-style prompts
...
See #2104
2017-09-26 21:28:01 +02:00
Florian Bruhin
6af879887f
Drop --relaxed-config
2017-09-26 20:12:21 +02:00