Commit Graph

2948 Commits

Author SHA1 Message Date
Florian Bruhin
4edd2f7079 debug-console: Log completions. 2014-10-10 07:41:15 +02:00
Florian Bruhin
9dc72b4c37 debug-console: Use a sorted set for completions. 2014-10-10 07:38:14 +02:00
Florian Bruhin
8017dae75d debug console: refactoring 2014-10-10 07:34:34 +02:00
Florian Bruhin
2280250c16 debug console: Move prompt to output 2014-10-10 06:45:24 +02:00
Florian Bruhin
d08af6b8d8 debug-console: First attempt at completion. 2014-10-09 22:15:14 +02:00
Florian Bruhin
c6ccb56208 Handle exceptions while crash dialog is shown correctly. Fixes #168. 2014-10-09 06:56:04 +02:00
Florian Bruhin
0e771db7f1 Use annotation instead of special argument names.
Explicit is better than implicit.

Fixes #161.
2014-10-09 06:33:24 +02:00
Florian Bruhin
6b9af36993 Improve asciidoc script output 2014-10-08 22:24:05 +02:00
Florian Bruhin
1eefe688ca Update commands.asciidoc. 2014-10-08 22:20:57 +02:00
Florian Bruhin
33043f0f6c Fix lint 2014-10-08 22:20:38 +02:00
Florian Bruhin
d9213ecf17 Prevent double-entering hint mode. Fixes #160. 2014-10-08 22:19:24 +02:00
Florian Bruhin
cbdade6518 Fix saving geometry if mainwindow is closed on shutdown. Fixes #159. 2014-10-08 22:03:12 +02:00
Florian Bruhin
cb951643b6 debug-console: Clean up appending of text. 2014-10-08 21:58:32 +02:00
Florian Bruhin
26d016b219 debug-console: Move cursor to end before inserting text. Fixes #162. 2014-10-08 21:54:25 +02:00
Florian Bruhin
b238149e1e Fix closing tabs with invalid URLs. Fixes #163. 2014-10-08 21:23:03 +02:00
Florian Bruhin
ffdc176d9d Make :set-cmd-text work without valid URL. Fixes #165. 2014-10-08 21:18:26 +02:00
Florian Bruhin
b1ed3a1106 Add bugs to download workaround comment. 2014-10-08 21:12:21 +02:00
Florian Bruhin
71308b45ac Add utils.qualname. Closes #169. 2014-10-08 21:11:04 +02:00
Florian Bruhin
b5b240c3f6 Add a workaround for deleted DownloadsView. Fixes #167. 2014-10-08 20:29:29 +02:00
Florian Bruhin
61a836fec5 Merge DownloadModel into DownloadManager. 2014-10-08 20:18:44 +02:00
Florian Bruhin
fe1215c74d Clean up selection model properly in completion.
http://qt-project.org/doc/qt-5/qabstractitemview.html#setModel :

This function will create and set a new selection model, replacing any model
that was previously set with setSelectionModel(). However, the old selection
model will not be deleted as it may be shared between several views. We
recommend that you delete the old selection model if it is no longer required.
2014-10-08 17:36:59 +02:00
Florian Bruhin
de86a26473 Fix DownloadView __repr__ if model is None. Fixes #170. 2014-10-08 17:19:51 +02:00
Florian Bruhin
b7f2a6d143 Use weakref for config.on_change. Fixes #156. 2014-10-08 10:40:46 +02:00
Florian Bruhin
7956f2b8e2 Clean up :later timers correctly on exceptions. 2014-10-08 07:52:49 +02:00
Florian Bruhin
50f7067d6c Add a :repeat command. 2014-10-08 07:46:21 +02:00
Florian Bruhin
d32a0c30c6 command: Remove unneeded has_count check. 2014-10-08 07:40:53 +02:00
Florian Bruhin
1a00d6168c command: Check for handlers with count and no default. 2014-10-08 07:40:39 +02:00
Florian Bruhin
e2763da8d6 Remove checks if standard dirs exist from unittests. 2014-10-08 07:17:34 +02:00
Florian Bruhin
704df6f619 Fix docstring. 2014-10-08 07:16:27 +02:00
Florian Bruhin
04b5c0e781 Add CACHEDIR.TAG to cache. Closes #19. 2014-10-08 07:16:00 +02:00
Florian Bruhin
ef0c72a99e Create standard dirs correctly. Fixes #20. 2014-10-08 07:11:25 +02:00
Florian Bruhin
b49b227c0d Add an init method for standarddir.
This is another preparation for #19 and #20.
2014-10-08 06:43:00 +02:00
Florian Bruhin
4abb5c8f36 Fix removing of eventfilter on shutdown if not present. 2014-10-08 06:38:03 +02:00
Florian Bruhin
f6695cac7d Small whitespace fix. 2014-10-08 06:22:20 +02:00
Florian Bruhin
0e7a60abf6 Move utils.get_standard_dir to its own file.
This is a preparation for #19 and #20 because there are too many functions
related to standarddir in utils.
2014-10-08 06:20:31 +02:00
Florian Bruhin
86f08a8536 Clean up overriding of javaScriptPrompt. 2014-10-08 05:20:56 +02:00
Florian Bruhin
d41fd85a87 Really remove BUGS/TODO 2014-10-07 23:40:37 +02:00
Florian Bruhin
596afab1ac Fix lint 2014-10-07 23:10:58 +02:00
Florian Bruhin
6349a6a213 Remove Emit:/Raise: from docstrings.
They got out-of-sync fast and provided no real benefit.
2014-10-07 23:08:37 +02:00
Florian Bruhin
f3ad1b71e6 Clean up objreg log text. This confused me in #159. 2014-10-07 22:21:51 +02:00
Florian Bruhin
4c29d1eafd Accept click focus in debug console. Fixes #142. 2014-10-07 21:42:45 +02:00
Florian Bruhin
a17017ca46 Add logging when closing window 2014-10-07 21:36:25 +02:00
Florian Bruhin
ab4a33f907 Remove per-window eventfilter. 2014-10-07 21:34:51 +02:00
Florian Bruhin
6202477db5 Add --left/--right arguments to :tab-only. Closes #46. 2014-10-07 20:56:47 +02:00
Florian Bruhin
4d092db114 Update outdated comment 2014-10-07 20:56:27 +02:00
Florian Bruhin
d8a917575d Add a cmdutils.check_exclusive function. 2014-10-07 20:39:02 +02:00
Florian Bruhin
18f84c5cbc Regenerate settings.asciidoc after renaming last-close value.
This wasn't done after 3e31e88/#154.
2014-10-07 20:32:17 +02:00
Florian Bruhin
8ca5c09e69 Add --left/--right/--opposite to :tab-close.
This fixes the updated version of #46.
2014-10-07 20:30:31 +02:00
Florian Bruhin
72a92c09dd Move config transforming of to Qt values to configtypes.
This is a preparation for #46.
2014-10-07 19:58:30 +02:00
Florian Bruhin
4092c48f92 Scroll debug console to bottom on output. Closes #158. 2014-10-07 18:01:20 +02:00