Florian Bruhin
|
e0483363aa
|
Add a test making sure the default config is valid.
See #438, #439, #440, #441.
|
2015-01-04 13:34:05 +01:00 |
|
Florian Bruhin
|
7dbbfedd3b
|
Replace unencodable chars in download filenames.
Fixes #427.
|
2015-01-03 17:50:59 +01:00 |
|
Florian Bruhin
|
450d1ab70d
|
Update copyright years
|
2015-01-03 15:51:31 +01:00 |
|
Florian Bruhin
|
4363db90c0
|
Don't treat things like "31c3" as IP address.
Fixes #388.
|
2014-12-22 18:38:45 +01:00 |
|
Florian Bruhin
|
29ce0a5157
|
Fix handling of small/big fuzzyval's in NeighborList.
This fixes an exception when having a really big or small zoom (e.g. 0) and
then using +/-.
Fixes #361.
|
2014-12-18 23:04:43 +01:00 |
|
Florian Bruhin
|
a714f0b70c
|
config: Set self._initialized before validating.
With a setting with an interpolation this caused a ValueError because
validate_all called get before self._initialized was True.
|
2014-12-17 13:40:15 +01:00 |
|
Florian Bruhin
|
512d7c4448
|
Simplify config exception tree and handling.
Also make sure we catch all config-related errors in all related places.
Fixes #324.
|
2014-12-17 11:17:18 +01:00 |
|
Florian Bruhin
|
1d2016d3a5
|
Add some tests for config loading.
This would have prevented the issue in
e87b3fd568 .
|
2014-12-15 22:06:11 +01:00 |
|
Florian Bruhin
|
06ec1a3885
|
Big file tree reorganisation.
Closes #255.
Should make a lot more sense now ;)
|
2014-12-13 17:28:50 +01:00 |
|
Florian Bruhin
|
eceda53b3a
|
Fix split tests.
|
2014-12-12 17:45:59 +01:00 |
|
Florian Bruhin
|
6d419b8346
|
Avoid starting downloads before we know the filename.
Closes #278.
|
2014-11-30 18:47:40 +01:00 |
|
Mathias Fussenegger
|
aeb6ceb942
|
correct search engine regex to match multiple search terms
|
2014-11-27 22:59:43 +01:00 |
|
Florian Bruhin
|
f6dffa74b6
|
Fix lint
|
2014-11-27 22:27:13 +01:00 |
|
Florian Bruhin
|
9bd8d3f2e5
|
Merge branch 'search-engine-syntax' of https://github.com/mfussenegger/qutebrowser into mfussenegger-search-engine-syntax
|
2014-11-27 22:19:07 +01:00 |
|
Mathias Fussenegger
|
68398035ef
|
change search engine syntax to match that of dwb
as pointed out in
https://github.com/The-Compiler/qutebrowser/issues/14 this
commit changes the syntax so that DuckDuckGo bang syntax
works.
|
2014-11-27 21:57:51 +01:00 |
|
Florian Bruhin
|
68b9aaace4
|
Add utils.raises. Closes #274.
|
2014-11-27 20:44:48 +01:00 |
|
Florian Bruhin
|
cf1728de43
|
configtypes: Add more tests for List/UrlList.
|
2014-11-18 07:14:06 +01:00 |
|
Florian Bruhin
|
c29ae9e1d3
|
configtypes: Add new UrlList type.
|
2014-11-18 07:14:06 +01:00 |
|
Florian Bruhin
|
2278d30187
|
Work around pylint bug in tests.
See:
https://bitbucket.org/logilab/astroid/issue/36/attributeerror-starred-object-has-no
|
2014-11-10 23:02:38 +01:00 |
|
Florian Bruhin
|
c70f6f534b
|
Get rid of dotted_getattr.
|
2014-11-10 18:59:13 +01:00 |
|
Florian Bruhin
|
398da22b54
|
Fix splitting with split=False and maxsplit=0.
Since re.split behaves differently from str.split with maxsplit=0,
4e9b9baeab broke things like ":open foo bar".
|
2014-11-10 10:38:19 +01:00 |
|
Florian Bruhin
|
bc009ae624
|
Fix lint in split.py
|
2014-11-09 22:15:44 +01:00 |
|
Florian Bruhin
|
f8dc2a9fb4
|
Add additional split test with flags.
|
2014-11-09 20:47:27 +01:00 |
|
Florian Bruhin
|
4e9b9baeab
|
Split commands with split=False correctly.
Fixes #231.
|
2014-11-09 20:46:21 +01:00 |
|
Florian Bruhin
|
ac61422059
|
Fix splitting of whitespace at EOL
|
2014-11-06 08:25:46 +01:00 |
|
Florian Bruhin
|
76b72d3438
|
Try splitting with whitespace at next token.
|
2014-11-06 07:14:36 +01:00 |
|
Florian Bruhin
|
807e0944b6
|
Fix broken test case
|
2014-11-05 21:49:15 +01:00 |
|
Florian Bruhin
|
40a1c4a2d9
|
Remove newline test
|
2014-11-05 21:44:52 +01:00 |
|
Florian Bruhin
|
714ba530d3
|
Add tests for keep=True
|
2014-11-05 07:58:28 +01:00 |
|
Florian Bruhin
|
e68c28ebfc
|
Adjust test case formatting
|
2014-11-05 07:46:28 +01:00 |
|
Florian Bruhin
|
22da17bbca
|
Add a keep-mode to shlexer.
|
2014-11-05 07:41:17 +01:00 |
|
Florian Bruhin
|
9ed466b536
|
Add python shlex tests
|
2014-11-04 21:08:26 +01:00 |
|
Florian Bruhin
|
c308de95d1
|
Clean up tests
|
2014-11-04 21:06:50 +01:00 |
|
Florian Bruhin
|
9180a8b0bb
|
shlex: Some lint cleanup
|
2014-11-03 21:43:34 +01:00 |
|
Florian Bruhin
|
3fa8efc34b
|
Initial shlex fork
|
2014-11-03 21:27:07 +01:00 |
|
Florian Bruhin
|
f8d8e1507a
|
Fix tests on windows
|
2014-10-14 08:18:06 +02:00 |
|
Florian Bruhin
|
e2763da8d6
|
Remove checks if standard dirs exist from unittests.
|
2014-10-08 07:17:34 +02:00 |
|
Florian Bruhin
|
0e7a60abf6
|
Move utils.get_standard_dir to its own file.
This is a preparation for #19 and #20 because there are too many functions
related to standarddir in utils.
|
2014-10-08 06:20:31 +02:00 |
|
Florian Bruhin
|
6349a6a213
|
Remove Emit:/Raise: from docstrings.
They got out-of-sync fast and provided no real benefit.
|
2014-10-07 23:08:37 +02:00 |
|
Florian Bruhin
|
105c25bc5f
|
Merge branch 'multiwin'
Conflicts:
qutebrowser/app.py
qutebrowser/browser/commands.py
qutebrowser/browser/hints.py
qutebrowser/keyinput/modeman.py
qutebrowser/network/networkmanager.py
qutebrowser/widgets/mainwindow.py
qutebrowser/widgets/statusbar/command.py
qutebrowser/widgets/statusbar/prompt.py
qutebrowser/widgets/statusbar/prompter.py
qutebrowser/widgets/tabbedbrowser.py
|
2014-10-06 22:03:58 +02:00 |
|
Florian Bruhin
|
337574f40f
|
Fix lint
|
2014-10-02 22:25:48 +02:00 |
|
Florian Bruhin
|
00949db2cf
|
Add testcases for jinja.
This was an attempt to get a breaking test for #127 but it seems jinja isn't
actually the issue.
|
2014-10-02 06:22:06 +02:00 |
|
Florian Bruhin
|
d674b90240
|
Clean up FIXMEs and add github URLs
|
2014-10-01 22:23:27 +02:00 |
|
Florian Bruhin
|
7e017e66a0
|
Fix basekeyparser tests.
|
2014-09-28 22:24:49 +02:00 |
|
Florian Bruhin
|
fb6cb62f93
|
First attempt at multi-window support.
|
2014-09-28 22:13:14 +02:00 |
|
Florian Bruhin
|
0fadf6b091
|
Use a list as items-argument for usertypes.enum
|
2014-09-28 00:42:53 +02:00 |
|
Florian Bruhin
|
36fd2e5c7f
|
Improve __repr__ methods.
|
2014-09-26 15:48:24 +02:00 |
|
Florian Bruhin
|
1960cfe114
|
Really fix keyevent_to_string.
|
2014-09-26 07:31:59 +02:00 |
|
Florian Bruhin
|
27117246b7
|
Fix modifier tests on OS X
|
2014-09-26 07:15:54 +02:00 |
|
Florian Bruhin
|
c19b8fe982
|
Fix tests for object registry.
|
2014-09-24 23:11:17 +02:00 |
|
Florian Bruhin
|
62e55499eb
|
Privatize all attributes which aren't needed from the outside.
|
2014-09-24 22:25:11 +02:00 |
|
Florian Bruhin
|
812a0fdd41
|
Merge branch 'newcmd'
Conflicts:
.flake8
pkg/PKGBUILD.qutebrowser-git
qutebrowser/browser/commands.py
qutebrowser/browser/hints.py
qutebrowser/config/configdata.py
qutebrowser/network/qutescheme.py
qutebrowser/test/config/test_configtypes.py
qutebrowser/utils/utils.py
|
2014-09-22 19:09:48 +02:00 |
|
Florian Bruhin
|
1bc5160453
|
Make it possible to use CSS strings in ui->user-stylesheet.
|
2014-09-19 00:35:17 +02:00 |
|
Florian Bruhin
|
0c4d15ea5a
|
safe_shlex_split: Fix broken \' in test.
|
2014-09-18 16:56:50 +02:00 |
|
Florian Bruhin
|
38108c68a2
|
Add tests for single quote with safe_shlex_split.
|
2014-09-18 16:14:31 +02:00 |
|
Florian Bruhin
|
5eef6d422d
|
Better exception formatting and handling.
|
2014-09-16 08:20:19 +02:00 |
|
Florian Bruhin
|
e3d16f3bbe
|
Full read-write support for key config.
|
2014-09-09 22:18:00 +02:00 |
|
Florian Bruhin
|
1220f0c5fd
|
Move webelem from utils to browser.
|
2014-09-08 10:30:05 +02:00 |
|
Florian Bruhin
|
57d51ad9bb
|
Lots of fixes for new command system.
Squashed commit:
- Fix getting current URL
- Get rid of *args for hints.
- Make enums work.
- Fix moving commands to utilcmds.
- Fix enums in argparse
- Fix arg splitting for hints.
- Fix default enum args.
- Fix argument splitting for hints if None is given.
- Fix set_cmd_text with flags and fix {url}.
- Fix unittests
- Fix tuple types for arguments.
- Fix scroll-page.
- Fix lint
- Fix open_target.
- Others
|
2014-09-08 07:36:17 +02:00 |
|
Florian Bruhin
|
b856bf3a47
|
Improve webelement API
|
2014-09-04 20:30:59 +02:00 |
|
Florian Bruhin
|
bcaba3f5ca
|
Rename tests to reflect renamed modules.
|
2014-09-02 08:27:53 +02:00 |
|
Florian Bruhin
|
83e9638d42
|
Add fancy URL to tests.
|
2014-09-02 08:21:53 +02:00 |
|
Florian Bruhin
|
e112038a8b
|
Handle IPv6 literals correctly.
|
2014-09-02 08:20:33 +02:00 |
|
Florian Bruhin
|
96c1d53222
|
urlutils: Strip URL before testing.
|
2014-09-02 07:11:01 +02:00 |
|
Florian Bruhin
|
71a2ade637
|
Fix URL detection corner cases.
|
2014-09-02 06:53:52 +02:00 |
|
Florian Bruhin
|
562388fe52
|
Rename config.conftypes to config.configtypes.
|
2014-08-26 21:41:41 +02:00 |
|
Florian Bruhin
|
5adf48ed3d
|
Rename utils.url to utils.urlutils.
|
2014-08-26 20:33:41 +02:00 |
|
Florian Bruhin
|
8bd64382bd
|
Rename utils.qt to utils.qtutils.
|
2014-08-26 20:25:11 +02:00 |
|
Florian Bruhin
|
d9a8cbe7ad
|
Rename utils.misc to utils.utils
|
2014-08-26 20:20:17 +02:00 |
|
Florian Bruhin
|
e04b31eb90
|
Remove qt_ prefix from qtutils functions.
|
2014-08-26 19:23:06 +02:00 |
|
Florian Bruhin
|
d625cde28c
|
Clean up imports
|
2014-08-26 19:10:14 +02:00 |
|
Florian Bruhin
|
d2b7530c0a
|
Merge branch 'master' of ssh://lupin/qutebrowser
|
2014-08-25 07:01:33 +02:00 |
|
Florian Bruhin
|
e576ff608f
|
utils.webelem: Don't treat select boxes as editable.
|
2014-08-22 07:54:48 +02:00 |
|
Florian Bruhin
|
c826db7e03
|
Make editor config configurable
|
2014-08-20 20:57:10 +02:00 |
|
Florian Bruhin
|
ef1035f2ba
|
utils.rfc6266: Fix lint
|
2014-08-14 13:29:07 +02:00 |
|
Florian Bruhin
|
62b00e5ff6
|
utils.rfc6266: Test for invalid ISO-8859-1 and duplicate params.
|
2014-08-14 13:29:06 +02:00 |
|
Florian Bruhin
|
532f739e26
|
tests: Fix rfc6266 testcase.
|
2014-08-14 13:29:06 +02:00 |
|
Florian Bruhin
|
e159990363
|
utils.rfc6266: Initial implementation.
|
2014-08-14 13:29:06 +02:00 |
|
Florian Bruhin
|
48e81b34d0
|
http: remove change_content_type.
We're probably not going to need it.
|
2014-08-12 21:16:33 +02:00 |
|
Florian Bruhin
|
cdd7457aee
|
utils.http: Return [None, None] in parse_content_type.
|
2014-08-12 21:12:13 +02:00 |
|
Florian Bruhin
|
5b915186d7
|
Add a 'smart' option for ignore-case.
|
2014-08-12 17:00:18 +02:00 |
|
Florian Bruhin
|
5b3abfa5dd
|
tests: Disable logging properly.
|
2014-08-12 16:28:32 +02:00 |
|
Florian Bruhin
|
7be3976890
|
tests: Add tests for tests.utils.http
|
2014-08-12 09:13:03 +02:00 |
|
Florian Bruhin
|
cf3fa25ef4
|
tests.utils.http: Add __init__.py
|
2014-08-12 09:04:26 +02:00 |
|
Florian Bruhin
|
157f5b211f
|
tests: Adjust FakeNetworkReply to work with all headers.
|
2014-08-12 09:03:38 +02:00 |
|
Florian Bruhin
|
c86e252a9b
|
Change tests to use is_url instead of _is_url_naive.
|
2014-08-12 07:09:40 +02:00 |
|
Florian Bruhin
|
be2604cacd
|
Add a new qutebrowser.utils.http module
|
2014-08-12 07:00:04 +02:00 |
|
Florian Bruhin
|
4ff9804f2c
|
Fix lint
|
2014-08-07 14:47:39 +02:00 |
|
Florian Bruhin
|
837b2b386e
|
utils.debug: Add a broken qflags_key.
|
2014-08-07 14:41:39 +02:00 |
|
Florian Bruhin
|
5c50640a68
|
test_debug: Improve tests for qenum_key.
|
2014-08-07 14:40:34 +02:00 |
|
Florian Bruhin
|
b8ad04bbe7
|
test_conftypes: Fix lint.
|
2014-08-07 07:56:59 +02:00 |
|
Florian Bruhin
|
8756d9e644
|
test_conftypes: Test float point size correctly.
|
2014-08-07 07:56:47 +02:00 |
|
Florian Bruhin
|
ef603090c8
|
test_conftypes: Activate test for QtFont.
|
2014-08-07 07:39:36 +02:00 |
|
Florian Bruhin
|
956f6ef5e6
|
test_conftypes: Use qenum_key for Font.__repr__
|
2014-08-07 07:35:25 +02:00 |
|
Florian Bruhin
|
2546c871c8
|
utils.debug: Improve qenum_key.
|
2014-08-07 07:35:05 +02:00 |
|
Florian Bruhin
|
19b80c1e90
|
test_conftypes: Adjust docstring.
|
2014-08-07 07:34:46 +02:00 |
|
Florian Bruhin
|
fef5a9944f
|
conftypes: Use namedtuple for font descriptions.
|
2014-08-07 07:31:41 +02:00 |
|
Florian Bruhin
|
c7ee655750
|
Use pylint to check modelines and fix them.
|
2014-08-06 23:51:44 +02:00 |
|
Florian Bruhin
|
7818366f0a
|
Fix lint
|
2014-08-05 23:23:15 +02:00 |
|
Florian Bruhin
|
f5064c6295
|
test: Use unittest's subTest.
https://docs.python.org/3.4/library/unittest.html#distinguishing-test-iterations-using-subtests
|
2014-08-05 22:15:12 +02:00 |
|