Florian Bruhin
963fb40961
conftypes: Various bugfixes/cleanups/tests.
2014-08-05 14:16:15 +02:00
Florian Bruhin
7c54c20808
conftypes: Fix is_none in all types
2014-08-05 13:49:03 +02:00
Florian Bruhin
a117cf0405
test_conftypes: Add more tests.
2014-08-05 13:06:03 +02:00
Florian Bruhin
4dd4b465e2
conftypes: Fix minint/maxint validation in PercList.
2014-08-05 13:05:36 +02:00
Florian Bruhin
8402aa051a
conftypes: Use slicing instead of rstrip.
...
"100%%".rstrip('%') would give use "100" instead of "100%" which is not what we
want.
2014-08-05 13:04:34 +02:00
Florian Bruhin
f414a0bf4b
conftypes: More max >= min checkes.
2014-08-05 12:46:29 +02:00
Florian Bruhin
4ee722d8b1
conftypes: Fix none_ok for many types.
2014-08-05 12:45:53 +02:00
Florian Bruhin
66af4e8c0a
conftypes: Fix String length check.
2014-08-05 12:44:37 +02:00
Florian Bruhin
8fdeab32c5
Add first tests for conftypes.
2014-08-05 07:27:29 +02:00
Florian Bruhin
98cc10b9c2
Check if maxlen/minlen make sense in conf.usertypes.String.
2014-08-05 07:26:48 +02:00
Florian Bruhin
b2d24a4435
Exclude tkinter when freezing.
...
This is only needed if PyQt5 is unavailable, and that won't be the case when
we're freezed.
2014-08-04 19:49:17 +02:00
Florian Bruhin
036178147b
Draw tabbar background correctly again.
2014-08-04 19:30:09 +02:00
Florian Bruhin
c9436bbaef
Fix noconv in scripts.run_profile
2014-08-04 18:15:15 +02:00
Florian Bruhin
95df8a045c
Don't use stylesheets anymore for QTabWidget.
...
When using stylesheets there, all children (i.e. the QWebView) use
QStyleSheetStyle as well, which means the bug at [1] will annoy us.
We had to write our own font parsing as we can't use stylesheets, but at least
the bug is gone...
https://bugreports.qt-project.org/browse/QTBUG-40263
2014-08-04 17:00:01 +02:00
Florian Bruhin
ee1b136807
Clean up pylint/noqa comments.
2014-08-04 03:47:09 +02:00
Florian Bruhin
3dc7a1b735
Lock mode while prompting.
2014-08-04 03:14:14 +02:00
Florian Bruhin
40acc5c6ff
Update TODO/BUGS.
2014-08-03 01:08:11 +02:00
Florian Bruhin
dea7e35b92
generate_doc: Nicer syntax.
2014-08-03 01:00:25 +02:00
Florian Bruhin
90f1d5851c
Fix lint.
2014-08-03 00:58:59 +02:00
Florian Bruhin
f451d7b98c
generate_doc: Handle empty lines correctly.
2014-08-03 00:58:46 +02:00
Florian Bruhin
acfc95e19d
Simplify :hint by adding a 'fill' target.
2014-08-03 00:56:42 +02:00
Florian Bruhin
40aa387fb2
Whitespace fixes
2014-08-03 00:40:28 +02:00
Florian Bruhin
b68f22541c
Merge tab-focus-last into tab-focus.
2014-08-03 00:39:39 +02:00
Florian Bruhin
d302886b87
Fix too long lines.
2014-08-03 00:36:35 +02:00
Florian Bruhin
9e73cba333
Improve command documentation.
2014-08-03 00:33:39 +02:00
Florian Bruhin
6c4b21117c
Fix typo
2014-08-02 23:58:52 +02:00
Florian Bruhin
ebb9e270d3
Avoid None values in documentation.
2014-08-02 23:57:34 +02:00
Florian Bruhin
3467dd77ac
Document the :hint command.
2014-08-02 23:46:27 +02:00
Florian Bruhin
355acfccd2
Remove editable hinting.
...
The code for it was removed some time ago, and fixing it would mean some
unneeded code duplication. Let's remove it and see if anyone complains.
2014-08-02 23:45:39 +02:00
Florian Bruhin
cbafd0dbf2
generate_doc: Support multi-line argument description.
2014-08-02 23:34:50 +02:00
Florian Bruhin
61c23f4684
generate_doc: Add varargs to syntax.
2014-08-02 23:03:35 +02:00
Florian Bruhin
f4edb5e9d1
generate_doc: Strip leading * for vararg docs.
2014-08-02 23:03:19 +02:00
Florian Bruhin
55650969b6
generate_doc: Use OrderedDict for argument docs.
2014-08-02 23:02:54 +02:00
Florian Bruhin
aa8d66f092
Improve settings value documentation.
2014-08-02 22:54:15 +02:00
Florian Bruhin
f8c995d58d
Support multiline setting descriptions.
2014-08-02 22:53:57 +02:00
Florian Bruhin
e5c86a5337
Remove window-open-behaviour setting.
2014-08-02 21:30:20 +02:00
Florian Bruhin
44df5754d9
Add shebang to scripts/generate_docs
2014-08-02 21:13:14 +02:00
Florian Bruhin
de2f267607
Fix restarting/exceptions with URLs with spaces.
2014-08-02 19:49:15 +02:00
Florian Bruhin
b707987be0
Better logging on exit.
2014-08-02 19:40:24 +02:00
Florian Bruhin
3307c5f518
Shut down correctly while being asked a question.
2014-08-02 19:38:02 +02:00
Florian Bruhin
9a6bff315b
Revert "widgets.statusbar.prompter: Use None for self.question instead of _busy."
...
This reverts commit 5d5f3c7f87
.
2014-08-02 18:19:33 +02:00
Florian Bruhin
5d5f3c7f87
widgets.statusbar.prompter: Use None for self.question instead of _busy.
2014-08-02 17:58:33 +02:00
Florian Bruhin
ee1bdacf25
Show errors during prompt/command mode.
2014-08-02 17:45:51 +02:00
Florian Bruhin
1136533a9a
Remove scrolling bug (reported upstream).
2014-08-02 17:20:33 +02:00
Florian Bruhin
2f4cd56033
bar: Make prompt color more important than insert color.
2014-08-02 17:05:28 +02:00
Florian Bruhin
1a449ef7de
Log changing of statusbar color attributes.
2014-08-02 17:05:11 +02:00
Florian Bruhin
2b123bdeb9
Make it clearer we schedule an insertmode check if hittest is null.
2014-08-02 16:55:11 +02:00
Florian Bruhin
c1d9f70fd6
Make js alert/confirm messages a bit more clear.
2014-08-02 16:16:13 +02:00
Florian Bruhin
7d9bd17aff
Fix error message when executing command in wrong mode.
2014-08-02 16:15:59 +02:00
Florian Bruhin
157975b0d4
widgets.webview: Add a cur_url property so the initial URL is available immediately.
2014-08-02 02:35:38 +02:00