Florian Bruhin
261bb85791
Handle escape key correctly
2014-07-03 07:52:58 +02:00
Florian Bruhin
ea84ce7acf
Force keybindings to lower case
2014-07-03 07:46:14 +02:00
Florian Bruhin
9b24ca39ea
Move normalize_keystr to utils.misc
2014-07-03 07:34:09 +02:00
Florian Bruhin
1816e8419e
Handle some special corner-case keys correctly
2014-07-03 07:14:30 +02:00
Florian Bruhin
03e83ff8e1
Move key to string converting to utils.misc
2014-07-03 06:51:24 +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
c6ad5622b4
Clean up earlyinit
2014-06-27 12:25:27 +02:00
Florian Bruhin
b79cdbc416
Clean up Question objects correctly
2014-06-27 07:56:16 +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
09641d96f3
Fix HTML log output
2014-06-25 21:11:03 +02:00
Florian Bruhin
fcc0d8e911
Better workaround for hang-with-warnings bug
2014-06-25 20:18:00 +02:00
Florian Bruhin
9238135867
Fix crashes after completion refactoring
2014-06-25 16:48:28 +02:00
Florian Bruhin
b72306ffe6
Reduce logging for completions
2014-06-25 15:52:40 +02:00
Florian Bruhin
46a3e2af92
Queue messages to the end of the eventloop.
...
When not doing this, error messages sent before the signals get connected (i.e.
during init) get lost.
2014-06-25 11:02:34 +02:00
Florian Bruhin
c8cc92e8c2
Add basic HTML log
2014-06-25 10:00:27 +02:00
Florian Bruhin
f849710df4
Strip URL for URL recognition
2014-06-24 08:40:53 +02:00
Florian Bruhin
af14e8bf94
Keep GPL closer to the original
2014-06-24 07:58:48 +02:00
Florian Bruhin
a114b46b81
Get colorama version correctly
2014-06-24 07:56:17 +02:00
Florian Bruhin
be75f45312
Add info if executable is frozen to version output
2014-06-24 07:46:01 +02:00
Florian Bruhin
4b95f369a4
Get rid of ipdb/IPython.
...
This caused more problems than it's worth really, and it does some black magic
I'm not comfortable with.
2014-06-24 07:42:49 +02:00
Florian Bruhin
ba9b846a20
Lower-case HTML attributes.
2014-06-23 20:32:40 +02:00
Florian Bruhin
9afab112aa
Move select tag to non-configurable is_editable types.
2014-06-23 20:32:07 +02:00
Florian Bruhin
b6ddda8f17
Show git timestamp in version
2014-06-23 16:19:43 +02:00
Florian Bruhin
e5e49ed858
Split _is_object_editable from is_editable.
2014-06-23 14:48:18 +02:00
Florian Bruhin
c71e9e4c83
Add missing config import.
2014-06-23 14:48:07 +02:00
Florian Bruhin
cf17af147e
Fix and clean up insertmode checks
2014-06-23 14:26:34 +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
6aff5fd374
Document js/qt loggers
2014-06-23 07:00:21 +02:00
Florian Bruhin
bf9e829d4d
Don't use .warn on loggers, use .warning instead.
2014-06-22 23:30:44 +02:00
Florian Bruhin
a64775a0f9
Improve logging messages
2014-06-21 22:40:31 +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
9a33efdb3f
Fix is_special_url (use QUrl).
2014-06-20 20:27:24 +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
4909f3f0fe
Add LeplFilter to RAM, not twice to console.
...
Fixes exception when sys.stderr is None.
2014-06-20 08:50:37 +02:00
Florian Bruhin
5f86357ae8
Fix rfc6266 check
2014-06-20 06:45:52 +02:00
Florian Bruhin
6ce5afccbe
Use rfc6266 to handle Content-Disposition in downloads
2014-06-19 21:06:19 +02:00
Florian Bruhin
52d1645479
Revert "Clean up styles"
...
This reverts commit f821d9e211
.
This causes all methods to be applied from QCommonStyle, thus resulting in
right-click menus being blank...
2014-06-19 21:05:41 +02:00
Florian Bruhin
9c26eba761
Catch weird TypeError when aborting question
2014-06-19 17:56:41 +02:00
Florian Bruhin
f821d9e211
Clean up styles
2014-06-19 15:43:34 +02:00
Florian Bruhin
3435aef78c
Add commandline argument for debug log buffer size
2014-06-19 12:11:46 +02:00
Florian Bruhin
1ed70bfef7
Fix utils.log so it works with sys.stderr == None
2014-06-19 10:19:00 +02:00
Florian Bruhin
d65587128f
Add vim modelines to all files.
2014-06-19 09:04:37 +02:00
Florian Bruhin
6e59b0ab3a
Parse Content-Disposition header properly
2014-06-18 22:52:49 +02:00
Florian Bruhin
36d31efe13
Fix lint
2014-06-17 23:16:06 +02:00
Florian Bruhin
2b5a1cc322
Add wiget/object list to crash dialog
2014-06-17 23:04:58 +02:00
Florian Bruhin
e6866f7d85
Don't go to insert mode on disabled/readonly fields
2014-06-17 15:32:18 +02:00
Florian Bruhin
8971d2ac18
Don't rename set_trace
2014-06-17 15:28:06 +02:00
Florian Bruhin
2388874e82
Delete question if download as cancelled
2014-06-17 11:26:45 +02:00
Florian Bruhin
61e8940ccb
Clean up debug methods
2014-06-17 11:12:55 +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
6554b995d1
Fix comment
2014-06-16 13:54:47 +02:00
Florian Bruhin
7325cefdae
Fix lint
2014-06-16 12:11:10 +02:00
Florian Bruhin
b33ff5df1b
Depend on Qt 5.2 or newer
2014-06-16 11:26:09 +02:00
Florian Bruhin
3090a6330d
Clean up Python 3.2 compatibility cruft.
2014-06-16 11:20:43 +02:00
Florian Bruhin
011bc75a79
Make sure pkg_resources is available.
2014-06-16 11:20:26 +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
d76226626f
Add debug argument for commands
2014-06-16 09:44:11 +02:00
Florian Bruhin
2b9f337758
Fix lint
2014-06-15 11:36:28 +02:00
Florian Bruhin
b905b44b07
Add a qenum_key debug method
2014-06-15 11:21:39 +02:00
Florian Bruhin
d3476662b9
Fix argument to message answered signal
2014-06-14 23:44:37 +02:00
Florian Bruhin
392784213b
Use EventLoop which raises an Exception on double exec_()
2014-06-14 21:00:08 +02:00
Florian Bruhin
6d4f961a50
Merge branch 'downloads'
...
Conflicts:
BUGS
2014-06-13 23:11:44 +02:00
Florian Bruhin
fce591839b
Abort filename prompt when download is cancelled.
2014-06-13 18:19:18 +02:00
Florian Bruhin
7b1e502dbf
Actually make message.question async.
2014-06-13 18:16:47 +02:00
Florian Bruhin
5a2e6ba99a
Add answer as argument to question's answered signal.
2014-06-13 18:16:24 +02:00
Florian Bruhin
9b7ff910c3
Log stylesheets
2014-06-13 07:38:10 +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
c91dced99f
Make it possible to cancel a message.question
2014-06-12 17:49:36 +02:00
Florian Bruhin
c13ac6d5b0
Fix get_qt_args with non-Qt args.
2014-06-12 15:22:16 +02:00
Florian Bruhin
3d6d81e1cb
Fix lint
2014-06-12 15:17:27 +02:00
Florian Bruhin
1b8a44ac26
Simplify get_qt_args
2014-06-12 15:13:26 +02:00
Florian Bruhin
583546f067
Print nicer message when Qt xkb plugin is missing
2014-06-10 23:11:17 +02:00
Florian Bruhin
5dcb6c4f38
Improve version output
2014-06-10 22:59:14 +02:00
Florian Bruhin
7dd5b1b94e
First debugging implementation of downloads
2014-06-10 22:11:17 +02:00
Florian Bruhin
2bcbfce8f9
Merge branch 'master' of ssh://lupin/qutebrowser
2014-06-10 12:02:17 +02:00
Florian Bruhin
dffec73db7
Fix get_qt_args with arguments with a value
2014-06-10 11:57:33 +02:00
Florian Bruhin
d495ea4644
Move get_qt_args to utils.misc
2014-06-10 11:54:14 +02:00
Florian Bruhin
05b4070df9
Remove unnecessary "= None"s
2014-06-07 18:26:05 +02:00
Florian Bruhin
742bc83ea3
Clean up version info gathering
2014-06-06 18:58:29 +02:00
Florian Bruhin
6780132e4f
More version info
2014-06-06 18:11:04 +02:00
Florian Bruhin
2f1cd43f9c
Change lists to tuples for immutable values
2014-06-06 17:21:35 +02:00
Florian Bruhin
03d754dd86
Fix logfilter bugs
2014-06-06 16:51:24 +02:00
Florian Bruhin
9c9492a706
logfilter: Only filter debug messages
2014-06-06 15:48:42 +02:00
Florian Bruhin
3ceeccb133
Clean up logging init
2014-06-06 12:29:33 +02:00
Florian Bruhin
e6893af3d4
Support colorama to get colored logs on windows
2014-06-06 12:13:32 +02:00
Florian Bruhin
fd220b1b36
Raise CommandError instead of message.error where possible
2014-06-06 11:55:55 +02:00
Florian Bruhin
742a3c1b5d
Merge branch 'master' of ssh://cmpl.cc:2323/qutebrowser
2014-06-05 13:20:41 +02:00
Florian Bruhin
500ad24cc3
Add keybindings for Ctrl-?/H/J/[ for Delete/Backspace/Return/Escape
2014-06-05 13:20:10 +02:00
Florian Bruhin
cd8f9e6232
Fix lint
2014-06-05 00:08:08 +02:00