Florian Bruhin
03e59051dc
Remove count for move-to-end-of-line.
2015-05-18 22:32:17 +02:00
Florian Bruhin
91ad91cc7b
Spelling fixes.
2015-05-18 22:27:44 +02:00
Florian Bruhin
8941b5dc96
Merge branch 'visual'
2015-05-18 21:43:25 +02:00
Florian Bruhin
8eb483d66b
Set Qt.ItemNeverHasChildren for leaf model items.
...
This allows Qt to do some optimizations.
2015-05-18 21:35:14 +02:00
Florian Bruhin
dd292b0781
Don't depend on objreg for CommandDispatcher.
...
See #640 .
2015-05-18 21:34:00 +02:00
Florian Bruhin
81ba49e79b
Fix tests on OS X, take two.
2015-05-17 18:59:40 +02:00
Florian Bruhin
10985c3505
Fix handling of Meta/Control on OS X.
...
Fixes #110 .
See #420 .
See http://doc.qt.io/qt-5.4/osx-issues.html#special-keys :
To provide the expected behavior for Qt applications on OS X, the Qt::Meta,
Qt::MetaModifier, and Qt::META enum values correspond to the Control keys
on the standard Apple keyboard, and the Qt::Control, Qt::ControlModifier,
and Qt::CTRL enum values correspond to the Command keys.
2015-05-17 18:44:36 +02:00
Florian Bruhin
b60f673468
Fix @pyqtSlot signature for on_config_changed.
2015-05-17 14:14:23 +02:00
Florian Bruhin
8ab2772dd9
Use atexit to remove temp basedir.
...
This hopefully fixes a PermissionError on Windows.
2015-05-17 01:29:47 +02:00
Florian Bruhin
7fc99f3d80
adblock: Don't show message with --basedir given.
2015-05-17 01:09:33 +02:00
Florian Bruhin
f6ad556f34
Get rid of --no-crash-dialog.
2015-05-17 01:03:34 +02:00
Florian Bruhin
b94fcf2c3c
Clean up sys.exit call.
2015-05-17 00:52:37 +02:00
Florian Bruhin
315725a3ac
Print info with --no-err-windows on earlyinit errs.
2015-05-17 00:48:15 +02:00
Florian Bruhin
002346a125
Clean up exception_hook.
2015-05-17 00:44:04 +02:00
Florian Bruhin
b619d835e6
Make usertypes.Exit an IntEnum.
2015-05-17 00:29:28 +02:00
Florian Bruhin
3f98bf372e
Merge branch 'smoke'
...
Conflicts:
doc/qutebrowser.1.asciidoc
qutebrowser/app.py
qutebrowser/config/config.py
qutebrowser/qutebrowser.py
tox.ini
2015-05-17 00:28:56 +02:00
Florian Bruhin
9be5992a9a
Smoke test WIP
2015-05-16 23:43:34 +02:00
Florian Bruhin
a1f7eed5a7
Add --temp-basedir option.
2015-05-16 23:26:15 +02:00
Florian Bruhin
d7999577dd
Fix shutdown from pdb.
2015-05-16 23:13:36 +02:00
Florian Bruhin
54131e9d3e
Add --basedir arg with multiple instance support.
...
Closes #510 .
2015-05-16 23:10:20 +02:00
Florian Bruhin
183049ef2e
Make sure self._opened is reset on exceptions.
2015-05-16 22:48:13 +02:00
Florian Bruhin
c762340a0c
Add --datadir/--cachedir arguments. Closes #136 .
2015-05-16 22:12:27 +02:00
Florian Bruhin
9b372de4a9
Use fake-key scrolling for :scroll-perc 0/100.
2015-05-16 15:51:41 +02:00
Florian Bruhin
ad338e7a17
Add setting to enable/disable hyperlink auditing.
...
See #612 .
2015-05-16 00:46:39 +02:00
Florian Bruhin
0cabedfeef
Add settings to enable/disable CSS regions.
...
See #612 .
2015-05-16 00:46:27 +02:00
Florian Bruhin
cd53318c7f
Add setting to enable/disable WebGL.
...
See #612 .
2015-05-16 00:31:13 +02:00
Florian Bruhin
f855d5f349
Add support for smooth scrolling.
...
See #612 .
2015-05-15 23:53:08 +02:00
Florian Bruhin
e3bfe73442
Fix :scroll-page.
2015-05-15 21:32:42 +02:00
Florian Bruhin
7e2c67a7e4
Fix tests/lint.
2015-05-15 20:25:29 +02:00
Florian Bruhin
12940eb542
Handle QtInfoMsg (Qt 5.5) in qt_message_handler.
2015-05-15 20:15:09 +02:00
Florian Bruhin
aaf09dc573
Add possibility to hide command args from docs.
2015-05-15 19:19:30 +02:00
Florian Bruhin
f49dba6e38
Use fake key events for scrolling.
...
Closes #669 .
Fixes #218 .
See #246 , #534 .
2015-05-15 19:02:33 +02:00
Florian Bruhin
c236046a73
Avoid double-opening LineParser.
...
Hopefully helps with diagnosing #670 .
2015-05-14 15:11:16 +02:00
Florian Bruhin
17fc6622bb
Strip NUL bytes when loading history.
...
This is a workaround so people can start qutebrowser again, but the real bug
should be found and fixed...
See #670 .
2015-05-13 23:46:22 +02:00
Florian Bruhin
d992caf8fc
Clean up statusbar caret handling.
2015-05-13 22:44:37 +02:00
Florian Bruhin
947dcd556b
Clean up CaretKeyParser.
2015-05-13 22:29:21 +02:00
Florian Bruhin
bc54eb8671
Make get_modeman private again.
2015-05-13 22:27:54 +02:00
Florian Bruhin
222627b08d
Clean up caret initialisation.
2015-05-13 22:25:21 +02:00
Florian Bruhin
a728704cce
toggle-selection cleanup
2015-05-13 21:52:42 +02:00
Florian Bruhin
f8f8699ab8
Fix key config migration for rapid hinting.
2015-05-13 10:45:20 +02:00
Florian Bruhin
f6ef657952
Fix default search binding.
2015-05-13 08:26:56 +02:00
Florian Bruhin
a93bf184aa
Fix lint.
2015-05-13 08:05:33 +02:00
Florian Bruhin
f59a147589
Leave mode when yanking by default.
...
See #653 .
2015-05-13 07:58:33 +02:00
Florian Bruhin
866b299fef
Fix adding of new default section to keyconf.
...
When trying to add a new binding with multiple values, the bindings were added
immediately and the next _is_new() check returned False because the command was
already bound.
With this change, the new bindings first get added to a temporary dict so
_is_new() returns the correct result.
See #653 .
2015-05-13 07:55:49 +02:00
Florian Bruhin
a74a9c8a21
Fix adding of new default section to keyconf.
...
When trying to add a new binding with multiple values, the bindings were added
immediately and the next _is_new() check returned False because the command was
already bound.
With this change, the new bindings first get added to a temporary dict so
_is_new() returns the correct result.
See #653 .
2015-05-13 07:54:06 +02:00
Florian Bruhin
88fc186402
Add tmux-like Enter binding.
...
See #653 .
2015-05-13 07:29:59 +02:00
Florian Bruhin
ce1b82616d
Fix spelling.
2015-05-13 07:29:59 +02:00
Florian Bruhin
dd0e230a32
Re-add v keybinding for toggle-selection.
...
See #653 .
2015-05-13 07:29:59 +02:00
Florian Bruhin
e62ba57291
Always save last window session.
...
len(objreg.window_registry) can actually lag behind because single-shot QTimers
are used to remove the windows from the registry - but actually it doesn't even
matter if this is the last window or not. We just always save to
SessionManager._last_window_session, and it gets used in SessionManager.save.
Fixes #650 .
2015-05-12 21:04:18 +02:00
Florian Bruhin
54ae6a63ee
Fix lint.
2015-05-12 17:58:53 +02:00