Florian Bruhin
2d91ff3f5d
Fix line lengths.
2015-05-06 16:47:52 +02:00
Fritz V155 Reichwald
b98bafaefe
Add C-M and C-J for every command that got Return as key
2015-05-06 16:33:12 +02:00
Fritz V155 Reichwald
8806aac362
Add Ctrl-M as keybind for command-accept
2015-05-06 16:11:30 +02:00
Florian Bruhin
024549e3b0
Use a namedtuple for authentication prompts.
2015-05-06 11:05:17 +02:00
Florian Bruhin
842c69dfdd
Cache proxy authentication credentials.
2015-05-06 10:46:42 +02:00
Florian Bruhin
2777e4113e
Fix shutdown
2015-05-06 07:35:11 +02:00
Florian Bruhin
8aec5244de
Fix crash restart.
2015-05-06 07:11:14 +02:00
Artur Shaik
d594798db8
Implement caret selection and positioning
...
Added option to webview for selection enabled caret mode.
In status bar checking value of this option to identificate about it.
Added bindings: <Space> for toggle selection mode, <Ctrl+Space> drop
selection and keep selection mode enabled.
In webview added javascript snippet to position caret at top of the
viewport after caret enabling. This code mostly was taken from cVim sources.
2015-05-05 10:18:24 +06:00
Artur Shaik
aeaa20c3b7
Disable support count for CaretKeyParser
...
Allow using '0' for move caret to beginnig of the line.
2015-05-04 18:00:40 +06:00
Florian Bruhin
f499fd85d0
Fix IPC.
2015-05-01 14:46:17 +02:00
Florian Bruhin
d3a7b2e4ca
Big refactoring of app.py.
2015-04-30 07:37:25 +02:00
Florian Bruhin
32562c6878
Fix lint.
2015-04-28 16:50:42 +02:00
Florian Bruhin
9e8c781871
Use clearFocus/setFocus as workaround.
2015-04-28 16:12:23 +02:00
Florian Bruhin
640f758605
Merge branch 'master' into visual
...
Conflicts:
qutebrowser/browser/commands.py
2015-04-28 15:54:26 +02:00
Florian Bruhin
844473e47a
Fix /-foo searches.
2015-04-24 17:25:53 +02:00
Florian Bruhin
07552dddfe
Merge pull request #648 from hackebrot/sync-2
...
Sync pytest changes
2015-04-22 06:40:04 -07:00
Florian Bruhin
e1f2259e98
Fix typo.
2015-04-22 07:46:01 +02:00
Florian Bruhin
4925091ede
Merge branch 'master' of github.com:The-Compiler/qutebrowser
2015-04-22 07:43:01 +02:00
Florian Bruhin
c21ae0b651
Add a :debug-webaction command.
2015-04-22 07:13:56 +02:00
Florian Bruhin
6ca39dd851
Handle --relaxed-config for keys.conf as well.
2015-04-21 22:48:45 +02:00
Florian Bruhin
6c8e073dc8
Merge branch 'caret_visual_mode' of https://github.com/artur-shaik/qutebrowser into visual
...
Conflicts:
qutebrowser/browser/commands.py
qutebrowser/browser/webview.py
qutebrowser/config/configdata.py
2015-04-21 21:29:00 +02:00
Florian Bruhin
3164ee06eb
Handle new sections in KeyConfgParser._is_new().
2015-04-21 18:32:32 +02:00
Florian Bruhin
9ee74253e4
Remove name annotation for cmdutils.register.
...
See #637 .
2015-04-20 22:25:27 +02:00
Florian Bruhin
b805f903c9
Fix lint.
2015-04-20 20:50:51 +02:00
Florian Bruhin
f7cf33b596
Remember web inspector geometry in state file.
2015-04-20 20:40:03 +02:00
Florian Bruhin
7439586334
Move special params to cmdutils.register decorator
...
See #637 .
2015-04-20 19:33:05 +02:00
Florian Bruhin
0195cb31bb
Don't set scope in cmdutils.register w/o instance.
2015-04-20 18:55:22 +02:00
Florian Bruhin
8f1b074595
Show commandline being executed with :spawn.
...
Closes #616 .
2015-04-20 18:44:58 +02:00
Florian Bruhin
94d49b4801
Add :message-{info,error,warning} commands.
2015-04-20 18:32:15 +02:00
Florian Bruhin
f93eef848c
Store QUTE_TEXT/QUTE_HTML in files for userscripts.
...
Fixes #644 .
2015-04-20 07:50:47 +02:00
Florian Bruhin
9442fd4b75
Release v0.2.1
2015-04-19 20:04:14 +02:00
Florian Bruhin
5b48b0a7fe
Release v0.2.0
2015-04-19 18:29:27 +02:00
Florian Bruhin
42577b454b
Fix download view popping up as window on start.
...
This is a regression introduced in cc2c7c09ea
as
show() was called before the downloadview was added to the mainwindow vbox.
See #575 .
2015-04-19 17:30:58 +02:00
Florian Bruhin
43df32949d
Refactor IPC exceptions handling.
...
Also fixes an IPC error when qutebrowser was started twice without delay
between the invocations.
2015-04-17 19:24:27 +02:00
Florian Bruhin
38d34e1dea
Fix deprecation message for :cancel-download.
2015-04-17 14:33:45 +02:00
Florian Bruhin
4436941d97
Clean up unused imports.
2015-04-17 08:00:56 +02:00
Florian Bruhin
006b7716c8
Move WebPage init out from QWebView's __init__.
2015-04-17 08:00:15 +02:00
Florian Bruhin
ffd1e673b3
Get rid of SearchRunner.
...
A SearchRunner was per-mainwindow, which caused bugs when searching in a tab
and in another before clearing the search.
Instead we now split it between WebView/CommandDispatcher.
Fixes #638 .
2015-04-17 07:51:21 +02:00
Florian Bruhin
71ffe8f656
Use config.get() for qute:settings.
...
Fixes #628 .
2015-04-16 22:20:38 +02:00
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
987bab9960
Merge pull request #19 from hackebrot/parametrize-sub-tests
...
Parametrize sub tests
2015-04-14 07:01:53 +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
Artur Shaik
e603d9a2d0
Slight modify of autofocus caret
...
Make mouseclick event point slightly down.
Add commented tries of more reliable methods of caret focusing.
2015-04-13 19:55:45 +06:00
Artur Shaik
a6443231e5
Add statusbar coloring for caret and visual modes
2015-04-13 19:50:27 +06:00
Artur Shaik
941eac848e
Remove "c" key from normal -> caret mode key bindings
2015-04-13 18:37:33 +06: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
Bruno Oliveira
29c51c288b
Fix small typo in docstring
2015-04-09 18:47:25 -03: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
Artur Shaik
695712e50c
Basic caret and visual modes implementation
...
Allow user switch in caret mode for browsing with caret, and visual mode
for select and yank text with keyboard.
Default keybindings is c or v for caret mode, and again v for visual mode. All
basic movements provided by WebAction enum implemened with vim-like
bindings. Yanking with y and Y for selection and clipboard respectively.
There is bug/feature in WebKit that after caret enabled, caret doesn't
show until mouse click (or sometimes Tab helps). So I add some workaround
for that with mouse event. I think should be better aproach.
Signed-off-by: Artur Shaik <ashaihullin@gmail.com>
2015-04-09 22:55:42 +06: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
Florian Bruhin
217e788f4b
Add 'cd' shortcut to clear downloads.
2015-04-04 15:02:08 +02:00
Florian Bruhin
f1ebbda7a0
test_signal: Add docstring for signal().
2015-04-04 12:08:22 +02:00
Florian Bruhin
8e93747040
test_log_time: Fix/simplify duration assert.
...
See #13 .
2015-04-04 12:07:15 +02:00
Raphael Pierzina
dd4096b5a4
Merge remote-tracking branch 'upstream/master'
2015-04-04 11:12:39 +02:00
Florian Bruhin
e23c9401f2
Merge branch 'convert-debug-signal-tests'
2015-04-04 01:18:38 +02:00
Florian Bruhin
cd7319de1e
Merge branch 'convert-logtime-tests'
2015-04-04 01:12:18 +02:00
Florian Bruhin
80b0692971
Remove blank line to make pep257 happy.
2015-04-04 01:11:57 +02:00
Florian Bruhin
1c9f116370
Merge branch 'convert-qflags-key-tests'
2015-04-03 23:52:53 +02:00
Florian Bruhin
2ac0c7b8f0
Remove now unused import from test_debug.
2015-04-03 23:52:13 +02:00
Florian Bruhin
05087b976a
test_qflags_key: Improve xfail message.
2015-04-03 23:43:06 +02:00
Florian Bruhin
544dc650e7
Remove now unused imports from test_debug.
2015-04-03 23:23:31 +02:00
Florian Bruhin
0e76f9b1f1
Whitespace adjustments
2015-04-03 23:19:49 +02:00
Florian Bruhin
e94a8a80f1
test_qenum_key: Use hasattr() for attribute checks.
2015-04-03 23:18:56 +02:00
Florian Bruhin
fba0ae69ce
Remove test_reconverted from qenum_key tests.
...
The test didn't really seem to test anything useful, and also uses a QFlags
instead of a QEnum.
2015-04-03 23:05:08 +02:00
Raphael Pierzina
231feda2c8
Use logger with name of local var logger_name
2015-04-03 22:45:26 +02:00
Raphael Pierzina
efbc8e0cbf
Remove former unittest module test_debug.py
2015-04-03 21:55:19 +02:00
Raphael Pierzina
7540a5bbf4
Convert test_dbg_signal_newline
2015-04-03 21:54:24 +02:00
Raphael Pierzina
22522406e1
Convert test_dbg_signal_eliding
2015-04-03 21:50:32 +02:00
Bruno Oliveira
9c533e1941
Moved tests to outside of qutebrowser package
2015-04-03 16:49:01 -03:00
Raphael Pierzina
9d39fbd4e5
Convert test_dbg_signal
2015-04-03 21:45:10 +02:00
Raphael Pierzina
45e95d497d
Convert test_signal_name using a signal fixture
2015-04-03 21:41:52 +02:00
Florian Bruhin
068947ba7e
Fix search engine syntax documentation.
...
We changed the syntax in 68398035ef
but didn't
adjust the documentation.
See #14 .
2015-04-03 20:54:27 +02:00
Raphael Pierzina
91a8b23aeb
Use actual unittest implementation of assertAlmostEqual
2015-04-03 20:40:37 +02:00
Raphael Pierzina
6fb83aacae
Add a local variable for the logger name
2015-04-03 20:32:29 +02:00
Raphael Pierzina
58a8a7e992
Introduce pytest plugin capturelog and convert test_log_time
2015-04-03 20:10:41 +02:00
Florian Bruhin
25fca03dca
Don't double ampersands in window title.
...
Fixes #599 .
2015-04-03 20:04:44 +02:00
Florian Bruhin
6917c3b32d
set-cmd-text: Add -s/--space argument.
...
We need this because quotes are ignored now, so there'd be no way to set the
text to ":open -t " for example.
2015-04-03 19:07:29 +02:00
Florian Bruhin
3b3b55234b
Add a signal to KeyConfigParser to save config.
...
Before, we used the 'changed' signal for the SaveManager - however, that also
was emitted when only the internal structure changed. Now we add a new signal
for that.
2015-04-03 19:07:29 +02:00
Florian Bruhin
ac63fc073f
save: Add possibility to mark things dirty on add.
...
KeyConfig needs this feature, because it can fix some deprecated commands
during __init__ and emit its dirty-signal, but that happens before the saveable
is added.
2015-04-03 19:07:29 +02:00
Florian Bruhin
630a827afc
Change CHANGED_KEY_COMMANDS to be regexes.
...
Break after first regex
2015-04-03 19:03:30 +02:00
Florian Bruhin
a504bd1436
Don't quote completions for maxsplit-commands.
...
Fixes #564 .
Obsoletes #313 and #453 .
2015-04-03 19:03:30 +02:00
Florian Bruhin
0b26e295bc
Revert fixes for quotes/spaces in maxsplit cmds.
...
Revert "Fix maxsplit-splitting with empty args (""/'')."
This reverts commit 46396cce1e
.
Revert "Remove quotes with split=False commands."
This reverts commit 81bc5dae94
.
See #564 and #453 .
2015-04-03 19:00:16 +02:00
Raphael Pierzina
5b372aeee0
Remove blank lines in test_qflags_key
2015-04-03 18:55:24 +02:00
Raphael Pierzina
0b063ab4b4
Convert test_unknown
2015-04-03 18:51:40 +02:00
Raphael Pierzina
ff75d18e62
Convert test_int
2015-04-03 18:40:41 +02:00
Raphael Pierzina
086f12600c
Convert test_int_noklass
2015-04-03 18:37:12 +02:00
Raphael Pierzina
75e927f79e
Convert test_add_base
2015-04-03 18:33:22 +02:00
Raphael Pierzina
6482025399
Convert test_combined
2015-04-03 18:29:33 +02:00
Raphael Pierzina
f68cfc13e0
Convert test_multiple and use custom xfail marker
2015-04-03 18:25:28 +02:00
Raphael Pierzina
9a47848794
Create a new module and convert test_single
2015-04-03 18:22:13 +02:00
Raphael Pierzina
96a600e9dc
Change containing directory name to debug
2015-04-03 16:37:31 +02:00
Raphael Pierzina
b938318d5f
Remove former unittest class and skip test_reconverted
2015-04-03 16:34:42 +02:00
Raphael Pierzina
6b7ae70e6d
Convert test_unknown
2015-04-03 16:34:42 +02:00
Raphael Pierzina
1b476d9af7
Convert test_int
2015-04-03 16:34:42 +02:00
Raphael Pierzina
9e59108788
Convert test_int_noklass
2015-04-03 16:34:42 +02:00
Raphael Pierzina
df3096fbb5
Convert test_add_base
2015-04-03 16:34:42 +02:00
Raphael Pierzina
11ded52f06
Convert test_metaobj
2015-04-03 16:34:42 +02:00
Raphael Pierzina
d4d14598dd
Convert test_no_metaobj
2015-04-03 16:34:42 +02:00
Raphael Pierzina
64b1b48be6
Extract test_no_metaobj to separate module
2015-04-03 16:34:42 +02:00
Florian Bruhin
7e51addeb0
Fix :set-cmd-text with empty argument.
2015-04-03 14:42:19 +02:00
Florian Bruhin
4e0712622b
Clear search when :search without args is given.
...
Needed for #564 because :search "" won't work anymore.
2015-04-03 14:40:26 +02:00
Florian Bruhin
1dcc5a32d6
Correct keybindings to deprecated commands.
...
Needed for #564 (because of :search "").
Also see #525 .
2015-04-03 14:14:20 +02:00
Bruno Oliveira
298892a4a8
Converted test_standarddir to pytest
...
related to #10
2015-04-02 19:46:52 -03:00
Bruno Oliveira
751b62e344
Moving logging and QApplication to conftest
...
As discussed in #8
2015-04-02 19:09:06 -03:00
Florian Bruhin
18b5512fe9
Remove 'fooled' from state file.
2015-04-02 14:58:34 +02:00
Florian Bruhin
953119ef75
Revert "Minor QWebSettings fix."
...
Happy April's fools!
This reverts commit a98060e020
.
Conflicts:
qutebrowser/app.py
qutebrowser/misc/utilcmds.py
2015-04-02 14:56:42 +02:00
Bruno Oliveira
47b9ea1f88
Fixing docstring typo in test_progress
2015-04-02 08:05:23 -03:00
Florian Bruhin
84b9d34a7f
Fix lint.
2015-04-02 11:57:56 +02:00
Franz Fellner
3d3324ccfa
Add TabIndex label to the statusbar.
...
It shows the current tab index and the number of tabs of the windows it
sits in.
2015-04-02 11:55:42 +02:00
Florian Bruhin
9f9996bc66
Refuse to add empty URLs to history.
2015-04-02 09:09:17 +02:00
Florian Bruhin
214347497a
Fix handling of first :completion-item-prev call.
...
Before, the first item was unconditionally selected when none was selected
before. With :completion-item-prev (e.g. Shift-Tab), it makes more sense to
select the *last* one.
2015-04-02 07:41:56 +02:00
Florian Bruhin
37ab5296a7
Adjust URL completion when quickmarks are changed.
...
Fixes #590 .
2015-04-02 07:40:00 +02:00
Bruno Oliveira
79be5b0f4a
Implemented test for Progress widget
...
Also created a conftest file with a "default_config" fixture.
2015-04-01 22:39:25 -03:00
Bruno Oliveira
1f08d8e319
Implemented test for Percentage widget
2015-04-01 21:24:25 -03:00
Bruno Oliveira
3096f3856a
Implemented test for TextBase widget
2015-04-01 20:50:20 -03:00
Florian Bruhin
068e1c14b6
Don't display internal sessions in completion.
2015-04-01 22:32:41 +02:00
Florian Bruhin
1fb848249e
Handle sessions starting with _ as internal.
...
:session-{load,save,delete} now refuses to handle sessions starting with _,
unless a new -f/--force parameter is given.
2015-04-01 22:31:19 +02:00
Florian Bruhin
840652f396
Use sessions for :restart.
...
This saves a lot more state compared to just passing a list of pages.
2015-04-01 22:18:28 +02:00
Florian Bruhin
2ba28a59fe
Prevent session from being loaded with :restart.
2015-04-01 21:42:02 +02:00
Florian Bruhin
371ec564e1
Split restart() into :restart and _do_restart().
2015-04-01 21:38:18 +02:00
Florian Bruhin
11bd4a13f6
Serialize arguments via json on restart.
...
We want to ignore some positional arguments without ignoring flags/values - and
since there's no easy way to "unparse" an argparse namespace, we instead pass
it as json.
Also note we can't pass it as a file easily, as args have to be available very
early. Passing it as an argument shouldn't be an issue though.
2015-04-01 21:37:06 +02:00
Florian Bruhin
6e435ad215
Add state config sections when initializing.
2015-04-01 18:26:45 +02:00
Florian Bruhin
a98060e020
Minor QWebSettings fix.
...
If you're reading the diff, congrats. Please be quiet and don't spoil the fun
for others though! :)
2015-04-01 00:06:34 +02:00
Florian Bruhin
eeb875d098
Handle unavailable registry in on_focus_changed.
2015-04-01 00:02:29 +02:00
Florian Bruhin
431257d380
Fix handling of key release events.
...
Fixes #593 .
It seems Qt "re-uses" existing keyevents, so we have to save and compare the
data instead.
2015-03-31 23:09:40 +02:00
Florian Bruhin
8ebac8d38c
Various spelling fixes.
2015-03-31 21:11:47 +02:00
Florian Bruhin
eb3b0b960f
Use hunter for line tracing.
2015-03-31 20:38:46 +02:00
Florian Bruhin
2f629befc3
Add an option to disable host blocking.
2015-03-30 18:33:10 +02:00
Florian Bruhin
70ccdd86b2
Add zooming with Ctrl-mousewheel.
...
Closes #51 .
2015-03-30 15:26:07 +02:00
Florian Bruhin
a38c3ae1e1
Add a :tab-detach command.
...
See #62 .
2015-03-30 12:14:15 +02:00
Florian Bruhin
33dff70357
:session-load: Add a -c/--clear argument.
...
See #523 .
2015-03-30 07:13:13 +02:00
Florian Bruhin
dff8f73a11
:session-save: Show which session was saved.
...
This also adds a -q/--quiet argument to not print this.
See #523 .
2015-03-30 07:13:13 +02:00
Florian Bruhin
5233e7fac8
Fix UnboundLocalError on invalid quickmarks.
...
This also improves FuzzyUrlError messages.
2015-03-29 21:20:42 +02:00
Florian Bruhin
b2427701fa
Handle element webFrame being None when hinting.
2015-03-29 19:52:30 +02:00
Florian Bruhin
8af2e712ae
Add a --pdb-postmortem argument.
2015-03-29 19:45:00 +02:00
Florian Bruhin
d062ff5138
Fix starting with -c '' again.
...
Before c5a2039da4
(standarddir refactoring), we
only checked the commandline arguments for the config file, but not when
getting the quickmarks location (as the 'args' argument was None). This means
quickmarks were saved to the default config dir even with -c ''.
With that commit, this was "fixed" accidentally, but quickmarks couldn't handle
the filename being None.
2015-03-27 12:29:12 +01:00
Florian Bruhin
82322beb03
Fix pep257 issues.
2015-03-26 07:08:54 +01:00
Florian Bruhin
ec487dd6b1
Add some logging for javascript messages.
2015-03-24 11:35:58 +01:00
Florian Bruhin
5043f58f3c
Add an --override-restore argument.
...
See #523 .
2015-03-24 07:50:23 +01:00
Florian Bruhin
db98b03f34
Never open URL arguments in background.
2015-03-24 07:44:49 +01:00
Florian Bruhin
1d1ac1ef6f
Save session to load in state file.
...
Before, we always loaded the default session (if it existed) and then deleted
it. This was surprising as the default session was deleted even when another
session was loaded.
Now we don't delete it at all, and save the session to load in the state file.
See #523 .
2015-03-24 07:12:35 +01:00
Florian Bruhin
1425d306bc
Fix lint.
2015-03-23 08:19:31 +01:00
Florian Bruhin
0e8b42a9d8
Add a --relaxed-config options.
2015-03-23 07:58:28 +01:00
Florian Bruhin
e7f5433da3
Enable python warnings earlier and unconditionally.
2015-03-23 07:40:22 +01:00
Florian Bruhin
21d2bb2291
Simplify some unneeded lambdas.
2015-03-23 07:04:50 +01:00
Florian Bruhin
8811947f50
Re-enable some pylint checks.
2015-03-23 07:04:41 +01:00
Florian Bruhin
97b678d8c7
Don't display time deltas < 1s in messages.
2015-03-22 23:50:12 +01:00
Florian Bruhin
c13e09b706
Add option to queue all msgs in unfocused windows.
2015-03-22 23:47:16 +01:00
Florian Bruhin
157c25bb13
Queue messages for 'current' window if unfocused.
...
Fixes #512 .
2015-03-22 22:39:56 +01:00
Florian Bruhin
19d369377e
Update references to HACKING/CONTRIBUTING.
2015-03-20 12:18:15 +01:00
Florian Bruhin
565303ebcd
Fix hinting when page has no URL set yet.
2015-03-20 08:35:33 +01:00
Florian Bruhin
858c38964b
Release v0.1.4
2015-03-20 08:30:02 +01:00
Florian Bruhin
f77c0f9afa
Simplify package output in earlyinit.py.
...
It doesn't really help much to have package names for distributions in there,
and it's way too much effort. Closes #475 .
2015-03-20 07:16:47 +01:00
Florian Bruhin
adb11360db
Disallow tab=None with objreg.get(scope='tab').
...
This would've made it a lot easier to detect #563 .
2015-03-19 22:28:24 +01:00
Florian Bruhin
7a4a4a4a4e
Pass tab_id correctly with scope='tab' commands.
...
Fixes #563 .
2015-03-19 22:19:25 +01:00