Florian Bruhin
508993ac68
Add a special <unbound> command for the keyconf.
...
When a default keybinding is unbound it'd get readded, so we add a new special
<unbound> "command" to the config, and keys listed there won't get rebound
automatically.
Also, :unbind now maps the key to <unbound> if it exists in the default config.
See #525 .
2015-04-16 07:49:27 +02:00
Florian Bruhin
980b3506a3
Don't unnecessarily mark the key config as dirty.
2015-04-16 07:48:57 +02:00
Florian Bruhin
3cf6d1c185
Add missing new keybindings to config.
...
See #525 .
2015-04-16 06:41:00 +02:00
Florian Bruhin
f313bcaf13
Fix for cache never being saved.
...
This is a regression introduced in 76c5c8bf8e
.
See #43 .
2015-04-15 06:54:55 +02:00
Florian Bruhin
d8d29449ca
Improve error message on duplicate keychains.
2015-04-14 07:13:52 +02:00
Florian Bruhin
a6e3199616
Fix binding of special keys with lower-case mods.
2015-04-13 22:08:57 +02:00
Florian Bruhin
982733e1f4
Allow commands with ;; with :bind.
2015-04-13 21:21:26 +02:00
Florian Bruhin
4e18e54803
Fix handling of flags with args with maxsplit #2 .
...
Fixes #614 .
We only added the long variant of the flag, but not the short one.
2015-04-13 21:12:14 +02:00
Florian Bruhin
501138d5a0
Fix splitting of flags with args with maxsplit.
...
See #614 .
flags_with_args was set on keyword-only arguments, but an argument (like
--force for :bind) can also be keyword-only *and* bool.
2015-04-13 21:07:58 +02:00
Florian Bruhin
b609f993c3
Add a timeout to HTTPClient.
...
Fixes #629 .
2015-04-13 20:59:05 +02:00
Florian Bruhin
9381aac501
Merge {Pastebin,PyPIVersion}Client into HTTPClient.
2015-04-13 20:42:28 +02:00
Florian Bruhin
3e1d62171f
Ignore -psn_0_* argument on OS X.
...
See #384 .
2015-04-13 14:33:46 +02:00
Florian Bruhin
39f7850942
Fix lint.
2015-04-13 08:52:58 +02:00
Florian Bruhin
c071bcbec8
Clean up loggers.
2015-04-13 08:49:04 +02:00
Florian Bruhin
f85ba8645f
Handle a missing session folder at some places.
2015-04-13 08:38:12 +02:00
Florian Bruhin
d700d18780
Fix handling of no_cmd_split cmds with args.
...
When we have something like ":bind x foo;;bar" it wasn't recognized "bind" is a
no_cmd_split command because we tried to look up "bind x foo" in cmd_dict.
See #615 .
2015-04-13 07:39:18 +02:00
Florian Bruhin
e24b06cdf9
Refactor and fix split commands in CommandRunner.
...
- split() now returns a ParseResult namedtuple with (cmd, args, cmdline)
arguments instead of only returning cmdline and setting self._cmd/self._args.
- Handling of split commands (;;) is now done in a separate parse_all()
function instead of run() to make testing easier.
See #615 .
2015-04-13 07:38:25 +02:00
Florian Bruhin
6b0c16f109
Fix default 'ga' binding.
2015-04-11 13:20:56 +02:00
Florian Bruhin
31bcc70efb
Treat commands using ;; in key config as valid.
2015-04-10 19:45:59 +02:00
Florian Bruhin
f865b87a74
Show a message and update notifier on reports.
...
Fixes #340 .
Fixes #447 .
See #429 .
2015-04-10 08:09:18 +02:00
Florian Bruhin
e294e325f0
Ignore invalid history entries on start.
2015-04-10 06:40:48 +02:00
Florian Bruhin
8d98868ccd
Fix deprecated default keybindings.
...
Those were auto-corrected with the next run, but still are bad...
2015-04-09 20:36:11 +02:00
Florian Bruhin
83dbe48469
Refactor EventFilter.
2015-04-09 20:22:00 +02:00
Florian Bruhin
f77ba5744b
Add a ui -> hide-mouse-cursor option.
2015-04-09 19:59:16 +02:00
Florian Bruhin
7160a89cb9
Fix NameError in hints.py.
2015-04-09 17:47:09 +02:00
Florian Bruhin
2d8df76609
Add $QUTE_HTML and $QUTE_TEXT for userscripts.
2015-04-09 17:45:16 +02:00
Joel Torstensson
12c83b721f
Fixed some style errors.
2015-04-09 12:49:32 +02:00
Joel Torstensson
cc2c7c09ea
Changing position without restart now possible.
2015-04-09 11:47:35 +02:00
Joel Torstensson
2fa66ba250
Added option for downloadview placement.
2015-04-09 11:44:59 +02:00
Florian Bruhin
76651822bd
Merge pull request #16 from hackebrot/layout
...
Adopt test layout to pytest.
2015-04-08 14:03:02 +02:00
Florian Bruhin
1345a13a71
Add startpage/default-page to tabs -> last-close.
2015-04-07 17:36:19 +02:00
Florian Bruhin
4e2ef45cd8
Ignore Qt warning about WOFF/zlib.
2015-04-07 13:00:26 +02:00
Florian Bruhin
b1c475c61d
Use **kwargs to simplify cmdutils.register.
2015-04-06 17:25:42 +02:00
Florian Bruhin
20f0ef7ccc
Ignore ;; for splitting with some commands.
...
Fixes #405 .
2015-04-06 17:00:52 +02:00
Florian Bruhin
46d1760798
Keep progress bar height fix on multiline text.
...
See #364 and #63 .
2015-04-06 14:27:41 +02:00
Florian Bruhin
2876ba5cfa
Pass a parent to global QObjects.
2015-04-06 00:10:37 +02:00
Florian Bruhin
d83da987ae
Move SessionManager init to sessions.py.
2015-04-05 23:44:25 +02:00
Florian Bruhin
9b8f5e3ff0
Make the default session name configurable.
...
See #523 .
2015-04-05 23:30:43 +02:00
Florian Bruhin
476ccd8fe1
Add tab-bg{,-silent} to new-instance-open-target.
2015-04-05 21:34:41 +02:00
Bruno Oliveira
3864eff0be
Merge remote-tracking branch 'origin/master' into layout
2015-04-05 12:27:55 -03:00
Florian Bruhin
8bbff689b4
Add a -t/--temp flag to :session-load.
...
See #523 .
2015-04-05 16:06:41 +02:00
Florian Bruhin
17ebbc37c5
Add a -c/--current parameter to :session-save.
...
See #523 .
2015-04-05 16:04:03 +02:00
Bruno Oliveira
3de584f02c
Moving testfile used by test_utils into qutebrowser.utils
2015-04-04 19:15:23 -03:00
Florian Bruhin
84d2556863
Merge branch 'master' of github.com:The-Compiler/qutebrowser
2015-04-04 22:05:31 +02:00
Florian Bruhin
1fdd7051c3
config: Filter docs for change_filter.
2015-04-04 22:03:28 +02:00
Florian Bruhin
57158e7191
Don't make default config a mutable global.
...
Before, configdata.DATA only existed once - that means when something
manipulated it, instantiating a new ConfigManager actually gave us the
*modified* rather than the default data.
There's still a (now readonly) configdata.DATA for performance reasons -
before, the settings completion model called data() many times, which caused
initializing of it taking a few (instead of nearly 0) seconds.
See https://github.com/hackebrot/qutebrowser/pull/16#discussion-diff-27770433
2015-04-04 22:01:02 +02:00
Bruno Oliveira
4fa2294805
Merge remote-tracking branch 'origin/master' into layout
...
Conflicts:
qutebrowser/test/keyinput/test_basekeyparser.py
qutebrowser/test/utils/test_standarddir.py
test/browser/http/test_content_disposition.py
test/config/test_configtypes.py
test/misc/test_editor.py
test/utils/test_debug.py
test/utils/test_utils.py
tox.ini
2015-04-04 14:29:49 -03:00
Florian Bruhin
cef88d6e19
test_log_time: Prettify duration assertion.
...
As suggested by @nicoddemus in #13 .
2015-04-04 16:33:10 +02:00
Florian Bruhin
b2df5a5b47
docs: Make it clear cache settings are global.
...
Closes #602 .
2015-04-04 15:31:12 +02:00
Florian Bruhin
18dea8c7cb
Add note about about:blank to default-page docs.
2015-04-04 15:10:22 +02:00