Florian Bruhin
057cd70c9e
Update changelog.
2015-12-07 22:50:41 +01:00
Florian Bruhin
14c083f915
Merge branch 'dylanaraps-master'
2015-12-07 21:13:37 +01:00
Florian Bruhin
6058c8aab2
Regenerate docs.
2015-12-07 21:13:30 +01:00
Florian Bruhin
3506947add
Merge branch 'master' of https://github.com/dylanaraps/qutebrowser into dylanaraps-master
2015-12-07 21:12:37 +01:00
dylan araps
1bc8d10ac7
Added config option to change tab title alignment
2015-12-07 19:43:43 +11:00
Corentin Julé
f8fcd48998
remove now useless tests
2015-12-07 00:11:19 +01:00
Corentin Julé
6be0ff67f7
Replace some tests with a generic host blocking list
2015-12-07 00:09:51 +01:00
Florian Bruhin
dddd1e87a5
tox: Update pytest to 2.8.4.
...
- ``deprecated_call()`` now works when the deprecated function has been already
called by another test in the same module.
- ``--pastebin`` option now works on Python 3.
- ``--pastebin`` now works correctly when captured output contains non-ascii
characters.
- Fix another error when collecting with a nasty __getattr__().
- fix the summary printed when no tests did run.
- a number of documentation modernizations wrt good practices.
2015-12-06 22:22:33 +01:00
Corentin Julé
a24a7790cd
Improve code readability
2015-12-06 19:33:35 +01:00
Corentin Julé
8bff518ba4
Refactor and add tests
2015-12-06 15:35:10 +01:00
Corentin Julé
ac3d0b9a4c
Comply with pylint
2015-12-06 00:51:44 +01:00
Corentin Julé
1ba634969a
Correct QUrl creation
2015-12-06 00:42:33 +01:00
Corentin Julé
472585edd5
Add tests for HostBlocker class
2015-12-06 00:10:56 +01:00
Corentin Julé
9da15ae2f9
Correct is_whitelisted_host test
2015-12-05 12:41:52 +01:00
Corentin Jule
d55e6d7d7e
Comply with PEP257
2015-12-05 01:35:20 +01:00
Corentin Jule
d5fc7e0389
Merge upstream/master
2015-12-05 01:29:20 +01:00
Corentin Jule
5e5531f924
Revert "Remove old pull request commits"
...
This reverts commit 5369fc30bc
.
messed with git - revert
2015-12-05 01:21:32 +01:00
Corentin Jule
cc946ba6e6
implementation of config_stub fixture
2015-12-05 01:09:11 +01:00
Corentin Jule
8222a86201
Remove useless test
2015-12-05 00:16:38 +01:00
Corentin Jule
3426dd06f6
Add some docstrings
2015-12-04 21:57:34 +01:00
Florian Bruhin
9814c24d9e
Merge branch 'jcorentin-master'
2015-12-04 18:33:13 +01:00
Florian Bruhin
491a02e4a5
Regenerate authors.
2015-12-04 18:33:05 +01:00
Florian Bruhin
c319b524bf
Merge branch 'master' of https://github.com/jcorentin/qutebrowser into jcorentin-master
2015-12-04 18:32:46 +01:00
Corentin Jule
e78f1a7412
Merge remote-tracking branch 'upstream/master' into test_adblock
2015-12-04 13:19:00 +01:00
Florian Bruhin
2a030107b9
tox: Upgrade CherryPy to 3.8.0.
...
Pass ``exc_info`` to logger as keyword rather than formatting the error and
injecting into the message.
2015-12-04 07:16:34 +01:00
Florian Bruhin
0a6c82d071
Merge branch 'Kingdread-download-page'
2015-12-04 07:11:16 +01:00
Corentin Jule
95b200ead9
Pylint code cleanup
2015-12-04 01:52:00 +01:00
Corentin Jule
d8d873f044
Fix typo for Pep257
2015-12-04 00:28:58 +01:00
Daniel Schadt
5acc982b44
Clean up mhtml doc and use email.message.Message
...
MIMEMultipart is not needed for the attachements, a simple Message is
enough.
Also fix the README markup and the _start_download docstring.
2015-12-03 22:51:46 +01:00
Corentin Jule
5369fc30bc
Remove old pull request commits
2015-12-03 22:13:50 +01:00
Corentin Jule
8dd0249af9
Code cleanup - Pep8
2015-12-03 22:00:39 +01:00
Corentin Jule
2d850f7106
Add tests for first functions of adblock.py
2015-12-03 21:12:51 +01:00
Corentin Jule
1941af8add
Fix TypeError on ConfigManager.remove_option
2015-12-03 20:48:50 +01:00
Florian Bruhin
e68965fea2
bdd: Wait for help pages to be loaded in tests.
...
This hopefully fixes #1150 .
2015-12-02 22:22:31 +01:00
Florian Bruhin
4170e3c9af
bdd: Simplify qute:settings test.
2015-12-02 22:19:43 +01:00
Florian Bruhin
4e888e8e19
pylint: Re-enable wrong-import-position.
...
This now works due to a fix in pylint 1.5.1.
2015-12-02 18:14:44 +01:00
Florian Bruhin
f342f129c6
Refactor how use_color is set in scripts/utils.
2015-12-02 18:14:34 +01:00
Florian Bruhin
7df01440a3
pylint: Remove unsubscriptable-object workaround.
...
https://bitbucket.org/logilab/pylint/issues/685/ was fixed in pylint 1.5.1.
2015-12-02 17:55:46 +01:00
Florian Bruhin
cab6bf87b4
tox: Update to pylint 1.5.1.
...
* Don't emit unsubscriptable-object if the node is found
inside an abstract class.
* Add wrong-import-position to check_messages's decorator arguments
for ImportChecker.leave_module
This fixes an esoteric bug which occurs when ungrouped-imports and
wrong-import-order are disabled and pylint is executed on multiple files.
What happens is that without wrong-import-position in check_messages,
leave_module will never be called, which means that the first non-import node
from other files might leak into the current file,
leading to wrong-import-position being emitted by pylint.
* Fix a crash which occurred when old visit methods are encountered
in plugin modules.
* Don't emit import-self and cyclic-import for relative imports
of modules with the same name as the package itself.
2015-12-02 17:53:59 +01:00
Florian Bruhin
4e73aa9f0f
Update changelog.
2015-12-02 07:38:03 +01:00
Florian Bruhin
e64f64e456
Merge branch 'artur-shaik-caret_mode_windows_osx'
2015-12-02 06:24:42 +01:00
Florian Bruhin
f23af85161
Regenerate authors.
2015-12-02 06:24:34 +01:00
Florian Bruhin
d418f7f9fa
Merge branch 'caret_mode_windows_osx' of https://github.com/artur-shaik/qutebrowser into artur-shaik-caret_mode_windows_osx
2015-12-02 06:22:27 +01:00
Florian Bruhin
71d1aed041
Merge branch 'forkbong-tab-move-wrap'
2015-12-02 06:21:02 +01:00
Florian Bruhin
91fcc91092
Regenerate authors.
2015-12-02 06:20:53 +01:00
Florian Bruhin
eeadeb400c
Style fix.
2015-12-02 06:20:41 +01:00
Panagiotis Ktistakis
6e8ac374dd
Add tests for :tab-move wrapping.
2015-12-02 03:35:25 +02:00
Panagiotis Ktistakis
de3460da3e
Wrap tabs on :tab-move +/- if tabs->wrap is true.
2015-12-02 03:17:54 +02:00
Florian Bruhin
eff0e4c7cc
pylint: Enable useless-suppression globally.
...
We deactivate it locally where needed, i.e. where we are sure it's some
platform-specific thing.
2015-12-01 23:01:09 +01:00
Florian Bruhin
cf54fa1ef1
pylint: Remove some now useless suppressions.
2015-12-01 23:00:48 +01:00