Commit Graph

717 Commits

Author SHA1 Message Date
Florian Bruhin
5a3966ca82 Fix lint, add documentation 2014-04-21 11:03:43 +02:00
Florian Bruhin
98ed6c9812 Implement hint strings 2014-04-21 11:03:43 +02:00
Florian Bruhin
809e7e15b8 Document HINT_CSS 2014-04-21 11:03:43 +02:00
Florian Bruhin
6434dac680 Check element visibility before drawing 2014-04-21 11:03:43 +02:00
Florian Bruhin
a2deba68dc Check if hints are inside screen 2014-04-21 11:03:42 +02:00
Florian Bruhin
3b894580a2 Also check x on invalid rects 2014-04-21 11:03:42 +02:00
Florian Bruhin
293b38a92f Return on invalid rects 2014-04-21 11:03:42 +02:00
Florian Bruhin
5dd74d39fd Make hinting configurable 2014-04-21 11:03:42 +02:00
Florian Bruhin
3bd1470b20 Keep a reference to the labels 2014-04-21 11:03:42 +02:00
Florian Bruhin
41b0655ade Add stop() to HintManager 2014-04-21 11:03:42 +02:00
Florian Bruhin
c4731b6e7e Nicer hints CSS 2014-04-21 11:03:42 +02:00
Florian Bruhin
0b5f4d9fb5 Add some labels to hints 2014-04-21 11:03:42 +02:00
Florian Bruhin
e6569f946c Add proof-of-concept hinting 2014-04-21 11:03:41 +02:00
Florian Bruhin
1f66766e0a Add CssColor conftype 2014-04-21 11:03:09 +02:00
Florian Bruhin
0bbd128fca Add Float conftype 2014-04-21 11:03:09 +02:00
Florian Bruhin
9152e40bfb Implement validate() for String 2014-04-21 11:03:09 +02:00
Florian Bruhin
2da1f05326 Output better error when validate() isn't implemented 2014-04-21 11:03:09 +02:00
Florian Bruhin
1442b1e35f Use "Monospace" only as monospace font 2014-04-21 11:03:09 +02:00
Florian Bruhin
341481cd99 Allow bindings to be modified 2014-04-21 11:00:58 +02:00
Florian Bruhin
52c7376402 Split command-related stuff off from KeyParser 2014-04-21 10:45:57 +02:00
Florian Bruhin
406e115a07 Stop logging network requests 2014-04-18 11:03:02 +02:00
Florian Bruhin
c8795a21a6 Revert "Make it possible to not typecheck values in setv."
This reverts commit 152bcae618.
2014-04-18 11:01:02 +02:00
Florian Bruhin
a91dde8a26 Catch exceptions in get_wrapper 2014-04-17 19:11:31 +02:00
Florian Bruhin
152bcae618 Make it possible to not typecheck values in setv. 2014-04-17 19:08:57 +02:00
Florian Bruhin
abaec2f044 Remove __setitem__ for sections 2014-04-17 19:08:31 +02:00
Florian Bruhin
3089463a9a Remove FIXME 2014-04-17 19:04:04 +02:00
Florian Bruhin
5bd40e732c Do validation and reading from configparser correctly 2014-04-17 19:02:58 +02:00
Florian Bruhin
a5f8bdf7fc Add validation FIXME 2014-04-17 18:00:15 +02:00
Florian Bruhin
1282a211cf Add validation for search engine URLs and colors 2014-04-17 17:59:57 +02:00
Florian Bruhin
39f580d9f1 Cleanup 2014-04-17 17:44:27 +02:00
Florian Bruhin
975d83b50e Respect inspector height for completion 2014-04-17 15:58:09 +02:00
Florian Bruhin
dea30e3f4d Ensure developer extras are enabled for webinspector 2014-04-17 15:46:29 +02:00
Florian Bruhin
975fa013c4 Update TODO 2014-04-17 15:39:51 +02:00
Florian Bruhin
e8db103eb4 Ignore D402 check for pep257 2014-04-17 15:31:30 +02:00
Florian Bruhin
457e173592 More config cleanup.
This renames the config instance from "config" to "instance" and adds a
convenience get() function in the config module.
2014-04-17 15:26:27 +02:00
Florian Bruhin
a15461b5da Rename config.config dict to sections 2014-04-17 14:49:38 +02:00
Florian Bruhin
3728381643 Make dump_userconfig work correctly 2014-04-17 12:35:46 +02:00
Florian Bruhin
c6df785c41 Use common base class for config section 2014-04-17 12:21:22 +02:00
Florian Bruhin
3eca7d6847 Don't split value for set commands 2014-04-17 12:06:48 +02:00
Florian Bruhin
b323706f5f Use maxsplit (passed to str.split()) instead bool 2014-04-17 12:06:27 +02:00
Florian Bruhin
4421862b3e Don't use shlex for splitting anymore 2014-04-17 11:49:19 +02:00
Florian Bruhin
3ad4b447b4 Remove FIXME 2014-04-17 11:45:06 +02:00
Florian Bruhin
7b480c02db Update TODO 2014-04-17 11:44:04 +02:00
Florian Bruhin
97bde402fb Add docstring 2014-04-17 11:40:19 +02:00
Florian Bruhin
72340575af Remove value from on_config_changed signal again.
Turns out this causes more trouble than it's worth, and it's unintuitive
from which layer we get the value.
2014-04-17 11:39:25 +02:00
Florian Bruhin
7c64e8846a Refresh keybinds when config changes 2014-04-17 11:23:01 +02:00
Florian Bruhin
16afba032f Remove warn logging 2014-04-17 11:10:08 +02:00
Florian Bruhin
00dc4d6bc4 Remove set_trace 2014-04-17 11:09:12 +02:00
Florian Bruhin
c0236b8d22 Use a proper separated model for cmd history 2014-04-17 11:08:14 +02:00
Florian Bruhin
90ddd26981 Handle the case where no history is present correctly 2014-04-17 11:07:57 +02:00