Florian Bruhin
65aee9d991
Add ui section to config
2014-05-17 23:45:31 +02:00
Florian Bruhin
49ad41949a
Remove some interpolations from default config
2014-05-17 23:39:26 +02:00
Florian Bruhin
d901fe69e6
Rename some commands
2014-05-16 23:01:40 +02:00
Florian Bruhin
5c4ce7ae09
Reimplement wheelEvent of WebView to fix scrolling
...
Hiding scrollbars in 1bfbdd79e4
broke
scrolling because the WebKit implementation wants a scrollbar to do
scrolling.
We fix this by just handling the mouse wheel ourselves.
2014-05-16 21:37:43 +02:00
Florian Bruhin
2c2c79af2e
Display some messages immediately
2014-05-16 17:21:43 +02:00
Florian Bruhin
7eb19e2a1e
Start implementing message-timeout
2014-05-16 15:33:36 +02:00
Florian Bruhin
1bfbdd79e4
Make scroll bars hideable
2014-05-16 14:20:37 +02:00
Florian Bruhin
326280f910
Fix consistency and spelling in docstrings/comments
2014-05-15 16:27:34 +02:00
Florian Bruhin
603fbdf239
Range-check all values passed to C code.
2014-05-15 00:02:20 +02:00
Florian Bruhin
a045511962
Use exceptions for command errors
2014-05-14 18:00:40 +02:00
Florian Bruhin
876dcad28f
Fix some more escaped quotes
2014-05-13 22:18:59 +02:00
Florian Bruhin
3c4866f3d9
Add show-favicons option
2014-05-12 23:03:55 +02:00
Florian Bruhin
c3816b2820
Make min/max tab width configurable
2014-05-12 16:04:43 +02:00
Florian Bruhin
7b2961f23e
Fix some backslash-quotes
2014-05-12 15:58:09 +02:00
Florian Bruhin
57e465bb2d
Add ssl-strict setting
2014-05-12 11:22:32 +02:00
Florian Bruhin
381d36263c
Fix font-size-* in settings
2014-05-11 22:03:00 +02:00
Florian Bruhin
3deeaede8a
Change completion title color to white
2014-05-11 21:58:40 +02:00
Florian Bruhin
195c7d6ef7
Work around binding =
2014-05-11 21:55:41 +02:00
Florian Bruhin
2190d1bb49
Add font-size-* to QWebSettings.
2014-05-09 21:02:10 +02:00
Florian Bruhin
5f1cb2ede3
Restyle completion to be dark
2014-05-09 20:25:16 +02:00
Florian Bruhin
edc9d0810c
Use QCoreApplication.instance()
2014-05-09 17:01:05 +02:00
Florian Bruhin
0d6ecf04bf
Don't bind '=' because configparser fucks up
2014-05-09 15:00:23 +02:00
Florian Bruhin
f7e6dc0244
Add zoom command.
2014-05-09 14:20:26 +02:00
Florian Bruhin
601221fa62
Add binding for Ctrl-Alt-p (print)
2014-05-09 13:16:16 +02:00
Florian Bruhin
a4556a956e
Add bindings for ss/sl/sk (set/set_temp/set keybind)
2014-05-09 13:14:46 +02:00
Florian Bruhin
1843301a7e
Add keybinding for save
2014-05-09 13:12:39 +02:00
Florian Bruhin
95f2950335
Add stop command (ctrl-s)
2014-05-09 13:11:47 +02:00
Florian Bruhin
05f38e15a6
Add command home
2014-05-09 13:09:37 +02:00
Florian Bruhin
ee72d682ad
Add binding: ctrl-n -> leave_mode
2014-05-09 12:13:12 +02:00
Florian Bruhin
4361220a48
Add bindings for xo/xO (backtabopen(cur))
2014-05-09 12:10:03 +02:00
Florian Bruhin
96d456fdee
New command: tab_focus_last / Ctrl-Tab
2014-05-09 11:58:49 +02:00
Florian Bruhin
4e7eb41cb9
Add command tab_move (gm/gl/gr)
2014-05-09 11:47:25 +02:00
Florian Bruhin
87e94a2c68
Add T command / refactor focus_tab
2014-05-09 11:29:25 +02:00
Florian Bruhin
e6af8bb7ae
Add only/co command
2014-05-09 11:24:33 +02:00
Florian Bruhin
70c8df095e
Switch from appdirs to QStandardPaths
2014-05-08 22:33:24 +02:00
Florian Bruhin
bf19cb7536
Add window-open-behaviour setting
2014-05-08 20:43:40 +02:00
Florian Bruhin
dc01509633
Fix description for webkit maximum-pages-in-cache
2014-05-08 09:05:38 +02:00
Florian Bruhin
285a1c86b4
Bind pgup/pgdown/shift+space
2014-05-07 07:40:36 +02:00
Florian Bruhin
9553cb6872
Clean up config type order
2014-05-06 13:10:38 +02:00
Florian Bruhin
cbc363912e
Merge None{Int,String} with Int/String conftype
2014-05-06 13:00:49 +02:00
Florian Bruhin
a0e71dc86e
Don't transform strings in config to lowercase
2014-05-06 12:55:26 +02:00
Florian Bruhin
f6c3e00d59
Use NoneString config type for settings with Qt defaults.
...
This fixes wikipedia looking ugly because setUserStylesheet gets called
with an empty string.
2014-05-06 12:20:02 +02:00
Florian Bruhin
3c20b78d8b
Fix config typo
2014-05-06 12:04:56 +02:00
Florian Bruhin
5ce49553d8
Stop logging config values.
...
This is just too much noise...
2014-05-06 08:36:32 +02:00
Florian Bruhin
8f239b4a95
Add proxy settings
2014-05-05 22:07:41 +02:00
Florian Bruhin
c8fd0937b0
Revert "Use global object dict for global objects"
...
This reverts commit bf2c7831c8
.
This was a bad idea as we need to access some of the main attributes
from commands via instance=...
2014-05-05 20:12:20 +02:00
Florian Bruhin
bf2c7831c8
Use global object dict for global objects
2014-05-05 19:12:47 +02:00
Florian Bruhin
c561931699
Also rename options
2014-05-05 18:37:40 +02:00
Florian Bruhin
5f7759eaed
Rename some stuff in config
2014-05-05 18:01:43 +02:00
Florian Bruhin
667b255d01
Use QApplication for global singletons
2014-05-05 17:56:14 +02:00
Florian Bruhin
ae95b5ea3b
Basic cookie handling
2014-05-05 16:28:43 +02:00
Florian Bruhin
4ebe643ea6
Use simple enums for constants
2014-05-05 07:45:36 +02:00
Florian Bruhin
677678be81
Refactor websettings.py
2014-05-04 01:50:37 +02:00
Florian Bruhin
4ff5431436
Fix checks
2014-05-04 01:33:01 +02:00
Florian Bruhin
c9f7d6771a
Enable persistent webkit storage
2014-05-04 01:11:19 +02:00
Florian Bruhin
851f473e0c
Add more webkit settings
2014-05-04 01:06:52 +02:00
Florian Bruhin
cece9125ac
Add user stylesheet setting
2014-05-03 16:13:32 +02:00
Florian Bruhin
8ada39ff8b
Add focus_tab command
2014-05-03 00:32:43 +02:00
Florian Bruhin
efc613811f
Implement numeric hints
2014-05-02 17:53:16 +02:00
Florian Bruhin
6557b8303a
Disallow spaces in aliases.
2014-05-02 15:21:48 +02:00
Florian Bruhin
f4a59b2d71
Support forbidden chars in strings.
2014-05-02 15:21:33 +02:00
Florian Bruhin
379a6219ec
Fix config escape comment
2014-05-02 13:30:51 +02:00
Florian Bruhin
f935d99d52
Don't escape values anymore
2014-05-02 13:28:04 +02:00
Florian Bruhin
b6b9738c25
Revert "Don't escape values in configdata."
...
This reverts commit cb0d0d1af2
.
2014-05-02 13:24:10 +02:00
Florian Bruhin
24939603ea
Revert "Escape values in default config comments"
...
This reverts commit be86ca03e2
.
2014-05-02 13:24:07 +02:00
Florian Bruhin
de368aa43d
Revert "More escaping fixes"
...
This reverts commit fcb10e2bff
.
2014-05-02 13:24:00 +02:00
Florian Bruhin
0640eacb95
Catch ValueError when catching :set errors
2014-05-02 12:27:06 +02:00
Florian Bruhin
fcb10e2bff
More escaping fixes
2014-05-02 12:25:30 +02:00
Florian Bruhin
3b015cd5df
Cache ordered values in ValueList section
2014-05-02 11:46:58 +02:00
Florian Bruhin
be86ca03e2
Escape values in default config comments
2014-05-02 11:30:51 +02:00
Florian Bruhin
cb0d0d1af2
Don't escape values in configdata.
2014-05-02 11:28:36 +02:00
Florian Bruhin
ae0966a384
Fix encoding issues on windows.
...
locale.getpreferredencoding(False) returns cp1252 on Windows, which is
unable to parse our nice unicode arrows.
Therefore, we always need to specify the encoding when using open().
Also we exclude configdata.py from pep257 on Windows because it doesn't
detect the encoding correctly... Bug is submitted:
https://github.com/GreenSteam/pep257/issues/70
2014-05-02 11:15:38 +02:00
Florian Bruhin
be467d5e50
Refactor command argument splitting.
...
This uses split=True/False as cmdutils.register argument again (because
we would never want to set maxsplit ourselves, only not splitting the
*last* argument makes any sense.
Also this uses shlex for splitting again, like earlier.
2014-05-02 10:28:41 +02:00
Florian Bruhin
836a5e04a5
Allow empty keys in config
2014-05-02 06:59:46 +02:00
Florian Bruhin
678abca244
Make user agent configurable
2014-05-02 06:55:55 +02:00
Florian Bruhin
bb70fa1c5a
Make FIRST_COMMENT in configdata a rawstring
2014-05-01 23:28:40 +02:00
Florian Bruhin
14617111a8
Remove old logging
2014-05-01 23:27:49 +02:00
Florian Bruhin
2d8c8fa40f
Fix up/down keybindings. Whooops.
2014-05-01 23:27:18 +02:00
Florian Bruhin
4137e5de53
Don't use QShortcut for space scrolling
2014-05-01 23:25:51 +02:00
Florian Bruhin
6a725aa87f
Fix escaping in config
2014-05-01 21:09:29 +02:00
Florian Bruhin
3ed22ffcbe
Return transformed value in get
2014-05-01 20:06:34 +02:00
Florian Bruhin
7aef865b0d
Lint fixes
2014-05-01 19:42:51 +02:00
Florian Bruhin
8556d06ae7
Add do-not-track and accept-language headers
2014-05-01 17:54:50 +02:00
Florian Bruhin
5d80831752
prevpage/nextpage updates
2014-05-01 16:35:26 +02:00
Florian Bruhin
fd678ff864
Make hints work
2014-05-01 15:27:32 +02:00
Florian Bruhin
bc02df0bde
Add open_editor command
2014-04-29 22:16:44 +02:00
Florian Bruhin
a0f27fed61
Add manual hint following
2014-04-27 21:59:23 +02:00
Florian Bruhin
8474bbdf6a
Rename and reorder config options
2014-04-27 21:21:14 +02:00
Florian Bruhin
9252ef94ca
Consistent string chars
2014-04-25 16:53:23 +02:00
Florian Bruhin
35ba97d338
Escape special INI chars in ConfigManager
2014-04-25 15:57:28 +02:00
Florian Bruhin
33f9aad6d8
bugfix: Order ValueList values in config properly
2014-04-25 14:13:31 +02:00
Florian Bruhin
46cf62ab34
Don't crash in exception handler when new option is in ValueList
2014-04-25 13:55:03 +02:00
Florian Bruhin
0187623950
Add navigation by arrow keys
2014-04-25 13:37:54 +02:00
Florian Bruhin
c087efb1fd
Rename Config to ConfigManager
2014-04-25 12:07:37 +02:00
Florian Bruhin
937196e287
Rename package-private modules to _foo.py
2014-04-25 11:50:30 +02:00
Florian Bruhin
2474b5a806
Add binding i -> enter_mode insert
2014-04-25 11:22:14 +02:00
Florian Bruhin
80d6dc9cf7
Update documentation for keybind.command confsect
2014-04-25 09:51:17 +02:00
Florian Bruhin
43c8a96621
s/command_item/completion_item/
2014-04-25 09:28:02 +02:00
Florian Bruhin
aeb4980f7e
Also handle Return via config
2014-04-25 09:26:52 +02:00
Florian Bruhin
5ee6b2adfa
Revert "Remove setting forward_unbound_keys."
...
This reverts commit d07e22bd91
.
2014-04-25 08:40:46 +02:00