Commit Graph

265 Commits

Author SHA1 Message Date
Florian Bruhin
d65587128f Add vim modelines to all files. 2014-06-19 09:04:37 +02:00
Florian Bruhin
b25b3c3786 Remove accidentally commited set_trace 2014-06-19 07:52:32 +02:00
Florian Bruhin
6e59b0ab3a Parse Content-Disposition header properly 2014-06-18 22:52:49 +02:00
Florian Bruhin
4a0e34fca7 Delete print dialogs on close 2014-06-17 14:33:15 +02:00
Florian Bruhin
2388874e82 Delete question if download as cancelled 2014-06-17 11:26:45 +02:00
Florian Bruhin
52bbabd91a Clean up downloads properly 2014-06-17 11:06:59 +02:00
Florian Bruhin
1fef2d02b9 Add an :all-objects command and __repr__s 2014-06-17 11:03:42 +02:00
Florian Bruhin
af9e4ae072 Fix parent/child relationships 2014-06-17 07:17:21 +02:00
Florian Bruhin
177e2945b6 Use currying instead of self.sender() where applicable 2014-06-16 22:49:22 +02:00
Florian Bruhin
7325cefdae Fix lint 2014-06-16 12:11:10 +02:00
Florian Bruhin
903de515e7 Add a check whether print works. 2014-06-16 10:21:03 +02:00
Florian Bruhin
43490202ca Add a qt_version_check function to utils.misc.
We're usually only interested in the runtime version, not in the compile-time
version, so we use this rather than comparing to QT_VERSION/PYQT_VERSION.
2014-06-16 10:20:05 +02:00
Florian Bruhin
d97823615a Auto-enable javaScriptPrompt at PyQt > 5.3.0 2014-06-16 08:52:47 +02:00
Florian Bruhin
f58e702589 Don't override javaScriptPrompt because of PyQt bugs 2014-06-14 23:31:39 +02:00
Florian Bruhin
9b42617c76 Fix lint 2014-06-13 23:09:24 +02:00
Florian Bruhin
5d6cb0e45d Clean up download value calculations 2014-06-13 22:51:16 +02:00
Florian Bruhin
85ee71b739 Add a rolling average of dl speed for time estimation 2014-06-13 21:53:06 +02:00
Florian Bruhin
d80c05b0b1 Decrease download speed refresh interval 2014-06-13 21:43:04 +02:00
Florian Bruhin
47c1908da2 Keep a reference to download path Question objects. 2014-06-13 20:18:16 +02:00
Florian Bruhin
fce591839b Abort filename prompt when download is cancelled. 2014-06-13 18:19:18 +02:00
Florian Bruhin
3e5e8e59c1 Add right-click menu to cancel download 2014-06-13 12:19:30 +02:00
Florian Bruhin
cd7d6b87f9 Format donwload string so it jumps less 2014-06-13 07:49:47 +02:00
Florian Bruhin
4dc33102b7 Cleanup 2014-06-13 07:41:51 +02:00
Florian Bruhin
efd83f40ca Print human readable sizes in downloads 2014-06-13 07:13:47 +02:00
Florian Bruhin
8c673ee66c Add basic download info to view 2014-06-12 23:29:34 +02:00
Florian Bruhin
2ffc9bb00a Add colors to DownloadView 2014-06-12 21:43:30 +02:00
Florian Bruhin
3c2c08f73a Add missing docstrings 2014-06-12 17:56:28 +02:00
Florian Bruhin
ad7856569f Handle download errors and handle everything async 2014-06-12 17:50:09 +02:00
Florian Bruhin
dc0b025055 Forward unsupported content properly 2014-06-12 13:17:45 +02:00
Florian Bruhin
db55865449 Add data_changed signal to downloadmanager. 2014-06-12 10:19:16 +02:00
Florian Bruhin
905eb9056d Fix speed calculation if downloadProgress hasn't been called yet. 2014-06-12 10:18:25 +02:00
Florian Bruhin
22a0639825 Connect readyRead signal properly 2014-06-12 10:18:02 +02:00
Florian Bruhin
a0d4429a32 Log download errors 2014-06-12 10:17:49 +02:00
Florian Bruhin
2114f0cd73 Start adding download model/view 2014-06-12 08:02:44 +02:00
Florian Bruhin
ace59e6f01 Fix speed calculation and do it more often 2014-06-11 22:40:28 +02:00
Florian Bruhin
35d35d31da Add some logging 2014-06-11 22:35:02 +02:00
Florian Bruhin
788302890f Add signals to DownloadItem 2014-06-11 22:33:40 +02:00
Florian Bruhin
c61289cedc Fix lint 2014-06-11 21:58:06 +02:00
Florian Bruhin
96891f6241 First working download draft 2014-06-11 21:55:23 +02:00
Florian Bruhin
80e2259df3 Add DownloadItem class 2014-06-11 17:27:39 +02:00
Florian Bruhin
7dd5b1b94e First debugging implementation of downloads 2014-06-10 22:11:17 +02:00
Florian Bruhin
71bc640131 Fix lint 2014-06-10 17:01:00 +02:00
Florian Bruhin
7315712359 Use statusbar to ask if long-running script should be interrupted. 2014-06-10 16:49:56 +02:00
Florian Bruhin
67f64b5e6a Support printing via javascript. 2014-06-10 16:49:44 +02:00
Florian Bruhin
57024f3174 Merge branch 'master' of ssh://cmpl.cc:2323/qutebrowser 2014-06-10 16:17:12 +02:00
Florian Bruhin
0e55f4d692 Implement file uploading 2014-06-10 16:16:42 +02:00
Florian Bruhin
2a2c21e0f7 Load webm videos correctly 2014-06-10 15:38:47 +02:00
Florian Bruhin
126a520674 Add some logging for error pages 2014-06-10 15:31:22 +02:00
Florian Bruhin
6a81710c71 Use HintContext per invocation of hintmanager 2014-06-07 18:07:09 +02:00
Florian Bruhin
2f1cd43f9c Change lists to tuples for immutable values 2014-06-06 17:21:35 +02:00
Florian Bruhin
fd220b1b36 Raise CommandError instead of message.error where possible 2014-06-06 11:55:55 +02:00
Florian Bruhin
af17746c20 Actually respect cookies-store 2014-06-03 20:30:50 +02:00
Florian Bruhin
35a3cc661e Reorder webkit options 2014-06-03 20:28:51 +02:00
Florian Bruhin
da2d8e1048 Log js console messages as debug, not info 2014-06-02 22:18:41 +02:00
Florian Bruhin
161b2ef7af Fix whitespace/CRLF 2014-05-27 16:24:26 +02:00
Florian Bruhin
1ff193e4dd Replace page_ by page() 2014-05-27 16:04:45 +02:00
Florian Bruhin
0976f95db7 Fix docstring 2014-05-27 15:56:44 +02:00
Florian Bruhin
53655dac02 Don't inherit CommandDispatcher from QObject 2014-05-27 15:12:43 +02:00
Florian Bruhin
4538745ffb Implement QWebPage:javaScript* 2014-05-26 20:04:44 +02:00
Florian Bruhin
fa01bfbbad Add per-tab inspector like dwb.
This also means the webinspector will always be detached / in its own window.
2014-05-26 15:35:05 +02:00
Florian Bruhin
8f12df6553 Purge old cookies from cookiejar 2014-05-26 16:09:49 +02:00
Florian Bruhin
1e256699f8 Add topic-specific loggers 2014-05-23 16:11:55 +02:00
Florian Bruhin
0c0cb48471 Fix lint 2014-05-22 15:44:16 +02:00
Florian Bruhin
7308fa97c5 Leave hinting mode when insert mode is entered 2014-05-22 17:49:18 +02:00
Florian Bruhin
8cddbec9e3 Implement quickmarks 2014-05-22 16:44:47 +02:00
Florian Bruhin
f3fd247282 Make LineConfigParser iterable. 2014-05-22 16:40:54 +02:00
Florian Bruhin
8d570b686c Initial userscript support 2014-05-21 19:53:58 +02:00
Florian Bruhin
ecc838d02c Fix ALL the lint 2014-05-21 17:29:09 +02:00
Florian Bruhin
2df8500792 Move ExternalEditor to own file 2014-05-21 15:47:21 +02:00
Florian Bruhin
60f25373e3 Merge branch 'editor'
Conflicts:
	qutebrowser/browser/commands.py
	qutebrowser/utils/misc.py
2014-05-21 15:37:18 +02:00
Florian Bruhin
407af1b02c Pass elem to on_editing_finished 2014-05-21 14:24:45 +02:00
Florian Bruhin
a77a25e6c1 Keep a hard reference to ExternalEditor 2014-05-21 14:22:46 +02:00
Florian Bruhin
ebefdfb5a9 Fix pasting in new tab 2014-05-19 15:09:12 +02:00
Florian Bruhin
633b87f61b Yank cleanup 2014-05-19 11:56:51 +02:00
Florian Bruhin
fe81e46f7c Small clipboard cleanup 2014-05-19 09:52:58 +02:00
Florian Bruhin
118d3e03cd Revert "Make scroll bars hideable"
This reverts commit 1bfbdd79e4.

Conflicts:
	qutebrowser/browser/commands.py
	qutebrowser/config/configdata.py
	qutebrowser/widgets/webview.py
2014-05-19 09:50:56 +02:00
Florian Bruhin
8ed373423a Fix undo 2014-05-18 08:19:27 +02:00
Florian Bruhin
869c0d82e1 Really fix tabclose 2014-05-18 08:18:20 +02:00
Florian Bruhin
d643d6ce44 Fix broken :yank 2014-05-18 08:14:11 +02:00
Florian Bruhin
578a58145c Fix tab closing 2014-05-18 08:08:58 +02:00
Florian Bruhin
1ec0766587 Rename CurCommandDispatcher to CommandDispatcher 2014-05-18 08:04:27 +02:00
Florian Bruhin
844e536fff Command cleanup 2014-05-17 23:22:10 +02:00
Florian Bruhin
c7cf0aaf9a Clean up webview and move commands 2014-05-17 22:38:07 +02:00
Florian Bruhin
d901fe69e6 Rename some commands 2014-05-16 23:01:40 +02:00
Florian Bruhin
19da80e58e Improve logging in signal filter 2014-05-16 21:49:35 +02:00
Florian Bruhin
1bfbdd79e4 Make scroll bars hideable 2014-05-16 14:20:37 +02:00
Florian Bruhin
d3eaeaac91 First steps at getting rid of signal cache 2014-05-15 17:57:08 +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
cf02330b42 Make hinting work again.
6b2d2713f7 broke this as we accidentally
iterate over self._frames before setting it.
2014-05-14 18:54:34 +02:00
Florian Bruhin
a045511962 Use exceptions for command errors 2014-05-14 18:00:40 +02:00
Florian Bruhin
ed61244964 Make sure scroll count is int 2014-05-14 17:28:47 +02:00
Florian Bruhin
651eab1032 Return after error when there's no hint to follow 2014-05-14 14:56:13 +02:00
Florian Bruhin
6b2d2713f7 Clean up HintManager.start() 2014-05-13 21:13:53 +02:00
Florian Bruhin
0b3854bff1 Work around segfault in hintmanager 2014-05-13 13:42:30 +02:00
Florian Bruhin
d9bb1e904f Support back/forward mouse buttons 2014-05-13 09:53:29 +02:00
Florian Bruhin
7b2961f23e Fix some backslash-quotes 2014-05-12 15:58:09 +02:00
Florian Bruhin
fd43248d89 Remove needs_js for editor 2014-05-12 14:05:05 +02:00
Florian Bruhin
419caf7116 Rename rect_on_screen to rect_on_view 2014-05-12 10:05:00 +02:00
Florian Bruhin
50f31ca7cb Handle visibility of elements on screen correctly 2014-05-12 10:04:27 +02:00