Florian Bruhin
958b114d29
Add stricter focus checking for editor
2014-07-16 08:46:52 +02:00
Florian Bruhin
810e507da9
Add a focus_elem function to utils.webelem.
2014-07-16 07:55:30 +02:00
Florian Bruhin
bbd9d24334
Handle elements with contenteditable correctly for editor
2014-07-16 07:42:02 +02:00
Florian Bruhin
d5c8e73b14
Use same focus code for insertmode/editor
2014-07-16 06:58:01 +02:00
Florian Bruhin
fad22c63d9
Go back to using one NetworkManager per tab
2014-07-10 06:42:52 +02:00
Florian Bruhin
781390828f
Merge branch 'master' of ssh://lupin/qutebrowser
2014-07-09 21:14:32 +02:00
Florian Bruhin
72b854049b
Improvments for hints/page-prev/page-next
2014-07-09 21:14:15 +02:00
Florian Bruhin
5feee871ac
Fix lint
2014-07-07 12:00:51 +02:00
Florian Bruhin
f173583605
Documentation update for Qt 5.3.1
2014-07-04 14:37:31 +02:00
Florian Bruhin
c18027f3ae
Override QWebPage::acceptNavigationRequest.
...
We now do this instead of using linkDelegationPolicy and the linkClicked signal
of QWebView, as we are unable to get the target frame with linkClicked, causing
frames to open full-page instead of where they should.
See https://bugs.webkit.org/show_bug.cgi?id=37847
2014-07-02 22:17:36 +02:00
Florian Bruhin
400f619903
Handle user variables in path correctly
2014-06-28 01:15:31 +02:00
Florian Bruhin
1a73a90515
Fix downloading with relative filepaths
2014-06-27 18:30:20 +02:00
Florian Bruhin
b79cdbc416
Clean up Question objects correctly
2014-06-27 07:56:16 +02:00
Florian Bruhin
e95ef9ab4a
Don't log scrolling
2014-06-26 14:10:53 +02:00
Florian Bruhin
46d621629f
Fix download/question crashes
2014-06-26 13:36:00 +02:00
Florian Bruhin
92ff957543
Clean up message API
2014-06-26 07:58:00 +02:00
Florian Bruhin
7073d14cb8
Handle absolute paths for downloads better
2014-06-25 22:06:16 +02:00
Florian Bruhin
3c82724d10
Don't die on invalid quickmarks
2014-06-25 11:03:26 +02:00
Florian Bruhin
ab99669b4a
Remove unused import
2014-06-25 10:03:13 +02:00
Florian Bruhin
c8cc92e8c2
Add basic HTML log
2014-06-25 10:00:27 +02:00
Florian Bruhin
411d57e539
Fix download-page
2014-06-25 10:00:09 +02:00
Florian Bruhin
9b4cc6ab76
Nicer downloads when size is unknown
2014-06-24 17:57:52 +02:00
Florian Bruhin
c7f2b45cbd
Always yank to clipboard if primary selection is unavailable
2014-06-24 12:04:36 +02:00
Florian Bruhin
81990f792f
Avoid using QApplication for downloads
2014-06-23 17:30:28 +02:00
Florian Bruhin
98a2e80b38
Fix quickmarks
2014-06-23 16:12:35 +02:00
Florian Bruhin
dc91bcdf91
Don't crash if URLs are invalid in commands
2014-06-23 14:26:47 +02:00
Florian Bruhin
f12d243f03
Clean up import
2014-06-23 12:17:13 +02:00
Florian Bruhin
e4b10af41a
Move filename checking to utils.misc
2014-06-23 12:15:10 +02:00
Florian Bruhin
8a8ca0c34f
Split utils.misc into utils.{qt,misc}
2014-06-23 07:45:04 +02:00
Florian Bruhin
5996651a2f
Merge utils.signals into utils.debug
2014-06-23 07:11:15 +02:00
Florian Bruhin
bf9e829d4d
Don't use .warn on loggers, use .warning instead.
2014-06-22 23:30:44 +02:00
Florian Bruhin
49fd08b30d
Leave URLs encoded when setting commandline
2014-06-21 23:19:59 +02:00
Florian Bruhin
a64775a0f9
Improve logging messages
2014-06-21 22:40:31 +02:00
Florian Bruhin
664079c728
Don't raise CommandError in HintManager.fire
2014-06-21 17:41:25 +02:00
Florian Bruhin
7a6e2b3242
Ensure validity of Qt objects
2014-06-21 17:02:30 +02:00
Florian Bruhin
0dc2ecef46
Check QUrl objects for validity
2014-06-20 23:57:52 +02:00
Florian Bruhin
113221c731
Log some exceptions
2014-06-20 23:26:19 +02:00
Florian Bruhin
736f559afa
Fix URL handling for quickmarks.
2014-06-20 22:57:32 +02:00
Florian Bruhin
2d2ee71bee
Remove passwords from URLs going out via an insecure channel.
2014-06-20 22:57:04 +02:00
Florian Bruhin
d6fb0f7774
Fix crash when pasting an URL
2014-06-20 22:31:39 +02:00
Florian Bruhin
8b6af23b13
Make sure we don't display passwords in URLs to the user
2014-06-20 19:50:44 +02:00
Florian Bruhin
0fd64419da
Remove urlutils.{urlstring,qurl}.
...
The idea of treating an URL-string and a QUrl as essentially the same data type
got us into all kinds of problems. Now we use QUrl everywhere except at the
borders to the user interface.
2014-06-20 16:33:01 +02:00
Florian Bruhin
3c9b4369cd
Don't crash on Content-Disposition with wrong enc.
...
When declaring UTF-8 but encoding RFC2231 ISO-8859-1, rfc2259 raises an
UnicodeDecodeError.
Test case: http://greenbytes.de/tech/tc2231/#attwithfn2231iso-bad
2014-06-19 23:14:20 +02:00
Florian Bruhin
7690e918a2
Handle early download errors correctly
2014-06-19 21:37:22 +02:00
Florian Bruhin
0dfdd422a2
Prevent double-deleting file in downloads
2014-06-19 21:27:57 +02:00
Florian Bruhin
684154dd7d
Remove set_trace
2014-06-19 21:26:01 +02:00
Florian Bruhin
2fd475b1a4
Fix downloading without content-disposition
2014-06-19 21:09:33 +02:00
Florian Bruhin
6ce5afccbe
Use rfc6266 to handle Content-Disposition in downloads
2014-06-19 21:06:19 +02:00
Florian Bruhin
6b12572fb0
Add dwb download keybindings.
2014-06-19 17:58:46 +02:00
Florian Bruhin
c56c7c0394
Support cancelling a javascript confirm dialog
2014-06-19 12:21:22 +02:00