Commit Graph

14505 Commits

Author SHA1 Message Date
Florian Bruhin
a90730bea7 Pin pytest to 3.3.1 for now
See https://github.com/pytest-dev/pytest-bdd/issues/229
2018-01-05 11:36:26 +01:00
Jay Kamat
3d508be9ff
Clear unpinned tabs before prompting user with :tab-only 2018-01-04 18:34:40 -08:00
Andrea Scarpino
16fb9bc80e
scripts: filter history records
We don't need to import history records about `moz-extensions`, `about` pages, `dactyl` and so on...
2018-01-04 19:46:18 +01:00
Ryan Roden-Corrent
c290b3f80f Don't attempt completion if input starts with flag.
Always interpret the first word in the command string as the command to
offer completions for, even if that word looks like a flag.

Fixes #3460, where the command string `:-w open` would attempt to offer
completions for `open` but crash because the parsing was thrown off.
By moving the flag-stripping logic to _after_ we determine the command,
`:-w open` interprets `:-w` as the command. Since that is not a valid
command, we won't offer any completions.
2018-01-04 12:34:06 -05:00
Florian Bruhin
c3bcb1d9ba Remove old testbrowser.py 2018-01-03 10:15:00 +01:00
Manuel Seelaus
9363bc3f24 replace empty titles with an empty string. https://github.com/qutebrowser/qutebrowser/pull/3445#issuecomment-354840724 2018-01-02 20:06:29 -07:00
pyup-bot
673919451e Update werkzeug from 0.13 to 0.14.1 2018-01-01 16:34:16 +01:00
pyup-bot
a98cd16ff3 Update flake8-polyfill from 1.0.1 to 1.0.2 2018-01-01 16:34:15 +01:00
pyup-bot
8cec185e4b Update attrs from 17.3.0 to 17.4.0 2018-01-01 16:34:13 +01:00
pyup-bot
9c256740c6 Update attrs from 17.3.0 to 17.4.0 2018-01-01 16:34:12 +01:00
pyup-bot
26bbd10952 Update attrs from 17.3.0 to 17.4.0 2018-01-01 16:34:10 +01:00
Florian Bruhin
f5edd4941e Fix MANIFEST.in for testbrowser 2017-12-30 18:33:15 +01:00
Florian Bruhin
28889cf099 Use a dict for ModeManager.eventFilter 2017-12-29 20:36:55 +01:00
Florian Bruhin
e7af961be2 Remove filtering of mouse events
This was needed for the hide-mouse-cursor setting. However, this setting was
removed in 2223a285ef, so this code has been dead
since then.
2017-12-29 19:36:52 +01:00
Florian Bruhin
a6adbdf167 Clean up testbrowser scripts 2017-12-29 19:10:33 +01:00
Florian Bruhin
7fe0f9fb16 Update qutebrowser xpm 2017-12-29 01:23:45 +01:00
Manuel Seelaus
2a7423a515 filter out records with None in any field. 2017-12-27 18:00:02 -07:00
RyanJenkins
53575aaeed Default raise_windows() alert param to True to preserve existing
behavior
2017-12-27 12:40:55 -08:00
RyanJenkins
9cb25e0c76 Raise browser window after editor closes regardless of outcome of
inserting text and avoid calling QApplication.instance().alert() in this
scenario.
2017-12-26 20:19:39 -08:00
Florian Bruhin
2ef6e740d9
Merge pull request #3441 from strburst/doc-configuring-fix-typo
Fix minor doc typo in example code
2017-12-26 17:26:47 +01:00
Allen Zheng
b5a9612840 Fix minor doc typo in example code
There should be an extra parenthesis to close the call to the outer
print function.
2017-12-26 11:21:02 -05:00
Florian Bruhin
d2f0c5dcac Update changelog 2017-12-26 15:45:50 +01:00
Florian Bruhin
73b6dea1f4 Merge remote-tracking branch 'origin/pr/3427' 2017-12-26 15:45:00 +01:00
Florian Bruhin
aa68e97922
Merge pull request #3435 from qutebrowser/pyup-scheduled-update-12-25-2017
Scheduled weekly dependency update for week 52
2017-12-26 15:05:37 +01:00
pyup-bot
501cabc6a0 Update pytest-rerunfailures from 3.1 to 4.0 2017-12-25 16:26:14 +01:00
pyup-bot
0d61c75ce4 Update hypothesis from 3.44.1 to 3.44.4 2017-12-25 16:26:13 +01:00
pyup-bot
c5c3684581 Update setuptools from 38.2.4 to 38.2.5 2017-12-25 16:26:11 +01:00
RyanJenkins
d9b00acdc6 Return focus to qutebrowser when external editor finishes. 2017-12-23 23:59:02 -08:00
Ryan Farley
46f6336e6e and add back needed connection 2017-12-22 12:47:38 -06:00
Ryan Farley
1d0b91475d remove broken connection 2017-12-22 12:45:37 -06:00
Ryan Farley
611f3621ec skip test
tests/end2end/features/test_marks_bdd.py::test_jumping_back_after_following_a_link
2017-12-22 12:36:45 -06:00
Ryan Farley
252fbf651f add back blank line for D204 2017-12-22 11:47:13 -06:00
Ryan Farley
f90342741a comma spacing 2017-12-22 11:41:07 -06:00
Ryan Farley
feb327e80e fix style issues, better names, less indirection
Added spaces to comments, use python naming conventions, remove
_load_progress_fake as unnecessary, rename _on_load_*_fake to
_on_load_*_workaround (for less confusion), and use qtutils rather than
QT_VERSION_STR
2017-12-22 11:32:31 -06:00
seebye
125af531cb database qute://back 2017-12-22 15:44:42 +01:00
Ryan Farley
fa10b76ce8 remove extraneous loadStarted connection
Copying and pasting without thinking might lead to redundancy.
2017-12-22 01:27:35 -06:00
Ryan Farley
4a6c9ecc34 only reroute load signals with Qt=5.10
This stops regressions on Qt<=5.9. It also reintroduces #3110, but
fixing #3110 was just a nice side effect rather than the main goal here.
2017-12-21 21:22:20 -06:00
Ryan Farley
d6c56b83a8 fix line length 2017-12-21 16:31:45 -06:00
Ryan Farley
5bfab54828 supplement broken webengine load signals
This uses the much more reliable `loadProgress(100)` in place of
`loadFinished(true)` for WebEngine, with `loadProgressFake` and
`loadFinishedFake` used instead of the 'official' variants.
2017-12-21 15:35:43 -06:00
Florian Bruhin
5c00eea122 Fix stripping of lines in asciidoc2html
This broke in #3382 since re.fullmatch does a different thing for trailing
newlines:

    >>> line
    '===========\n'
    >>> re.match(r'^=+$', line)
    <_sre.SRE_Match object; span=(0, 11), match='==========='>
    >>> re.fullmatch(r'=+', line)
    >>>

This now strips the line by default, and adds newlines if needed.
2017-12-20 11:35:27 +01:00
seebye
801b6b90ce pylint adjustments 2017-12-20 01:15:12 +01:00
seebye
c8ae405bfe fix #3396 2017-12-20 00:10:21 +01:00
Cody Scott
3c0d51c253 Fix broken link 2017-12-19 12:18:10 -05:00
Florian Bruhin
4ffdd9da0e Add new B008 to flake8 ignores 2017-12-19 08:57:33 +01:00
Florian Bruhin
fde0516ccf Merge remote-tracking branch 'origin/pr/3413' 2017-12-19 08:56:01 +01:00
Florian Bruhin
f2c93a0061 Use request instead of pytestconfig
This unifies QuteProc and the other Process subclasses a bit.
2017-12-19 08:55:35 +01:00
Florian Bruhin
12ba642547 Avoid using pytest.config
It's going to be removed in some future pytest release.
2017-12-19 08:32:32 +01:00
pyup-bot
23e3a5ef7d Update hypothesis from 3.42.1 to 3.44.1 2017-12-18 16:23:16 +01:00
pyup-bot
7d3645adc2 Update flake8-bugbear from 17.4.0 to 17.12.0 2017-12-18 16:23:15 +01:00
Florian Bruhin
dbb89b1073 Update docs 2017-12-18 16:11:29 +01:00