Florian Bruhin
c57ad91e04
Update comment for ignored Qt warning
2016-11-24 06:43:33 +01:00
Florian Bruhin
371e779d98
Fix tabs.feature
2016-11-23 13:16:15 +01:00
Florian Bruhin
8268c9c22f
Merge branch 'blyxxyz-cancel-register-key'
2016-11-23 13:08:01 +01:00
Florian Bruhin
cc8db65b18
Merge branch 'cancel-register-key' of https://github.com/blyxxyz/qutebrowser into blyxxyz-cancel-register-key
2016-11-23 12:53:50 +01:00
Florian Bruhin
a3482a8979
Lowercase special keys when checking if they're new
...
Between v0.8.4 and now, the default keybinding for Ctrl-PgDown changed:
- ('tab-focus', ['J', '<Ctrl-PgDown>']),
+ ('tab-next', ['J', '<Ctrl-PgDown>']),
The existing keybinding was lower-cased in the config, but _is_new
didn't lowercase the new one, causing a conflict to show up.
Fixes #1835
See #1958
Supersedes #1986
2016-11-23 12:37:19 +01:00
Florian Bruhin
552e0551af
Revert zero counts
...
This initially seemed like a nice feature, but it means 0 can't be bound
as a separate key anymore, and 0<Esc> gives weird error messages...
Reverts #1953 .
Fixes #2032 .
2016-11-23 08:37:29 +01:00
Florian Bruhin
1507cfcae7
Fix lint
2016-11-23 08:37:24 +01:00
Florian Bruhin
946e3f93f9
Add --enable-webengine-inspector option
...
Since the inspector can be a security risk, it's now not linked to
developer-extras anymore until QtWebEngine provides a better way to
access it.
See:
https://bugreports.qt.io/browse/QTBUG-50725
http://bouk.co/blog/hacking-developers/
2016-11-23 08:12:13 +01:00
Florian Bruhin
d99a7bd7ad
Pass arguments to websettings init functions
2016-11-23 07:57:35 +01:00
Florian Bruhin
df5fdb9864
test requirements: Update pytest-mock to 1.5.0
2016-11-22 22:50:58 +01:00
Florian Bruhin
59ec2eb0ec
Merge branch 'Raihid-master'
2016-11-22 22:22:43 +01:00
Florian Bruhin
7ffabb2b92
Update docs
2016-11-22 22:22:24 +01:00
Florian Bruhin
f0cc1de808
Merge branch 'master' of https://github.com/Raihid/qutebrowser into Raihid-master
2016-11-22 20:32:59 +01:00
Maciej Wołczyk
81cbd4c8a0
Hyphen in variable name fixed
2016-11-22 17:39:13 +01:00
Maciej Wołczyk
9d19c3aee6
Changed add to history option name
2016-11-22 17:27:34 +01:00
Florian Bruhin
caf6b74954
Add missing file
2016-11-22 11:42:01 +01:00
Florian Bruhin
20af3133eb
Simplify if-condition
2016-11-22 11:24:34 +01:00
Florian Bruhin
97d23144f7
Add an API to get the QNAM of a tab
2016-11-22 11:23:45 +01:00
Florian Bruhin
c363982d05
Use per-tab QNAM for QtNetwork downloads again
...
When starting a download due to unsupportedContent being emitted, we
need to use (and later adopt) the page's QNetworkAccessManager.
Since we need the whole adopting logic for that case anyways, let's keep
things as they were and always run downloads in per-tab QNAMs.
This reverts 53e360ec4b
and fixes #2134 .
2016-11-22 11:10:37 +01:00
Maciej Wołczyk
918b3e2d12
History flag: test added, short version changed, minor fixes
2016-11-21 15:33:38 +01:00
Florian Bruhin
c5cacbc439
Handle background tabs in QtWebEngine createWindow with older Qt
2016-11-21 06:22:38 +01:00
Rahid
058c3e6541
Trailing spaces
2016-11-18 23:45:12 +01:00
Rahid
bf41135846
Added chronicle flag to init function, docs
2016-11-18 23:10:50 +01:00
Maciej Wołczyk
554b9b2bda
Added chronicle flag
2016-11-18 20:16:43 +01:00
Florian Bruhin
d1154759d1
Improve --qt-arg docs
2016-11-16 22:35:20 +01:00
Florian Bruhin
8d7fcf41da
Set a maximum width for prompts
...
Fixes #2124
2016-11-16 22:26:16 +01:00
Florian Bruhin
9649884add
tox requirements: Update tox to 2.5.0
2016-11-16 22:16:40 +01:00
Florian Bruhin
acd13eed49
pytest requirements: Update pytest-faulthandler to 1.3.1
2016-11-16 22:16:13 +01:00
Florian Bruhin
4fc2f93b7a
codecov/pylint requirements: Update requests to 2.12.1
2016-11-16 22:15:37 +01:00
Florian Bruhin
7c88fe318f
Handle cancelled SSL prompts correctly
...
When the user pressed esc during an SSL prompt, the message.ask call
returned None, which was handled fine by QtWebKit (which simply used an
'if') but failed with QtWebEngine (which returned the value to Qt).
Fixes #2123 .
2016-11-16 22:13:57 +01:00
Florian Bruhin
52df867030
Fix test_webkitelem
2016-11-16 13:09:16 +01:00
Florian Bruhin
25358bb5fc
Clean up webelem.text/set_text
...
webelem.text() was only used without use_js=True from webelem.__str__.
Now we instead default to the use_js=True behavior and renamed the
method from text() to value().
The old behavior is instead directly implemented in __str__.
This changes how webelem.value (aka text) handles elements for which
is_content_editable() returns True, but I haven't found any cases where
this makes a difference.
This also fixes getting existing text from elements with QtWebEngine,
which closes #1957 .
2016-11-16 12:34:27 +01:00
Florian Bruhin
5e53f230ee
travis: Set matrix.fast_finish
2016-11-16 08:28:36 +01:00
Florian Bruhin
35d9514456
Whoops...
...
Dang, spacemacs!
2016-11-16 07:50:47 +01:00
Florian Bruhin
e9a8201aa1
cxfreeze requirements: Blacklist >= 5.0.0
...
See #1004
2016-11-16 07:48:37 +01:00
Florian Bruhin
f274e198e4
tox requirements: Update virtualenv to 15.1.0
2016-11-16 07:16:37 +01:00
Florian Bruhin
2f5f17e121
pylint/codecov requirements: Update requests to 2.12.0
2016-11-15 23:52:53 +01:00
Florian Bruhin
3638849257
Fix lint
2016-11-15 23:41:53 +01:00
Florian Bruhin
d64efa6b9b
Fix test_tabwidget
2016-11-15 23:40:24 +01:00
Florian Bruhin
7d8ef9fccf
Remove urlutils import
2016-11-15 23:25:14 +01:00
Florian Bruhin
b5f9135f98
Update docs
2016-11-15 23:23:34 +01:00
Florian Bruhin
8e0565b79a
Add {backend} window/tab title field
2016-11-15 23:23:20 +01:00
Florian Bruhin
d7d270ea28
Implement user stylesheets for QtWebEngine
2016-11-15 23:17:27 +01:00
Florian Bruhin
fcb955458c
Require a filename for user-stylesheet; add hide-scrollbar setting
2016-11-15 22:58:56 +01:00
Florian Bruhin
964ddb472b
Add urlutils.data_url
2016-11-15 22:25:51 +01:00
Florian Bruhin
e1928ad991
Mark javascript BDD test as flaky
...
For some reason it sometimes fails with an error message coming out of
nowhere...
2016-11-15 20:17:51 +01:00
Florian Bruhin
a09a565aea
Improve :click-element error message
2016-11-15 19:43:03 +01:00
Florian Bruhin
456ab18f24
Fix double-When in BDD test
2016-11-15 19:36:32 +01:00
Florian Bruhin
d05918ac0b
Add custom user-agent support for QtWebEngine
2016-11-15 11:32:05 +01:00
Florian Bruhin
8d173e1718
Update comment
2016-11-15 10:55:12 +01:00