Commit Graph

3264 Commits

Author SHA1 Message Date
Florian Bruhin
a86279df5e Set cursor part correctly if the cursor is at the end. 2014-11-09 20:45:47 +01:00
Florian Bruhin
f689c89316 Merge branch 'shlex'
Fixes #122.
Fixes #232.
2014-11-09 18:25:51 +01:00
Florian Bruhin
61943b5a77 Fix completion 2014-11-09 18:12:36 +01:00
Florian Bruhin
31ee458e56 Hide _GTK_LOAD_ICONTHEMES Qt error 2014-11-08 20:03:33 +01:00
Florian Bruhin
2b8d6c5dd7 Use a for loop 2014-11-06 09:02:21 +01:00
Florian Bruhin
5fe04a6aec Make completion work more or less 2014-11-06 08:26:01 +01:00
Florian Bruhin
ac61422059 Fix splitting of whitespace at EOL 2014-11-06 08:25:46 +01:00
Florian Bruhin
d730471fd7 Start using keep=True for commandline. 2014-11-06 07:15:02 +01:00
Florian Bruhin
76b72d3438 Try splitting with whitespace at next token. 2014-11-06 07:14:36 +01:00
Florian Bruhin
ca1ca7db36 shlexer cleanup 2014-11-06 07:13:58 +01:00
Florian Bruhin
77949c8d33 Get rid of continue 2014-11-06 06:46:21 +01:00
Florian Bruhin
cb24ec58cc Use yield 2014-11-06 06:44:23 +01:00
Florian Bruhin
9591e86054 cleanup state=None 2014-11-05 23:48:57 +01:00
Florian Bruhin
e6f4ac9b99 cleanup 2014-11-05 23:47:48 +01:00
Florian Bruhin
807e0944b6 Fix broken test case 2014-11-05 21:49:15 +01:00
Florian Bruhin
40a1c4a2d9 Remove newline test 2014-11-05 21:44:52 +01:00
Florian Bruhin
1d9b60d733 Fix some tests 2014-11-05 21:42:27 +01:00
Florian Bruhin
714ba530d3 Add tests for keep=True 2014-11-05 07:58:28 +01:00
Florian Bruhin
e68c28ebfc Adjust test case formatting 2014-11-05 07:46:28 +01:00
Florian Bruhin
ac355b1c7c Use vdebug level. 2014-11-05 07:42:21 +01:00
Florian Bruhin
22da17bbca Add a keep-mode to shlexer. 2014-11-05 07:41:17 +01:00
Florian Bruhin
9ed466b536 Add python shlex tests 2014-11-04 21:08:26 +01:00
Florian Bruhin
c308de95d1 Clean up tests 2014-11-04 21:06:50 +01:00
Florian Bruhin
82e95d82d1 cleanup 2014-11-04 21:06:43 +01:00
Florian Bruhin
84916448a9 Use iterator to read chars 2014-11-04 20:41:29 +01:00
Florian Bruhin
409eba76ca Handle safe parsing directly in ShellLexer 2014-11-04 20:24:42 +01:00
Florian Bruhin
95f7940996 Get rid of _get_lexer. 2014-11-04 20:13:38 +01:00
Florian Bruhin
430ef5c935 Whitespace cleanup 2014-11-04 20:13:31 +01:00
Florian Bruhin
89a2057cac Simplify eof handling 2014-11-04 20:09:45 +01:00
Florian Bruhin
cfafc2e235 Get rid of get_token 2014-11-04 20:08:14 +01:00
Florian Bruhin
9a5df13639 Use logging for debug 2014-11-04 20:06:58 +01:00
Florian Bruhin
cb76a100c2 Assume whitespace_split=True, get rid of wordchars/pushback 2014-11-03 21:48:10 +01:00
Florian Bruhin
9180a8b0bb shlex: Some lint cleanup 2014-11-03 21:43:34 +01:00
Florian Bruhin
b8d9f3b041 shlex: Remove lineno/commenters 2014-11-03 21:37:36 +01:00
Florian Bruhin
861705f655 shlex: Assume posix=True 2014-11-03 21:35:47 +01:00
Florian Bruhin
cab18c248c shlex: Remove unneeded stuff 2014-11-03 21:30:39 +01:00
Florian Bruhin
3fa8efc34b Initial shlex fork 2014-11-03 21:27:07 +01:00
Florian Bruhin
45bdf166f8 Add vdebug logging for getting completion part.
See #232.
2014-11-03 19:35:09 +01:00
Florian Bruhin
ef96cd9d02 Add workaround for hang on messages during QNAM init.
See http://www.riverbankcomputing.com/pipermail/pyqt/2014-November/035045.html
2014-11-02 22:03:13 +01:00
Florian Bruhin
f705194c00 Fix an exception related to handling IPC connections.
See http://paste.the-compiler.org/view/77f58b69
2014-11-02 21:53:12 +01:00
Florian Bruhin
8e713abadf Add some logging for #232 2014-11-02 20:30:00 +01:00
Florian Bruhin
c3a83bc412 Add hover description to docstring (#238) 2014-11-02 20:08:40 +01:00
Florian Bruhin
7b670b134d Small whitespace fix for #238 2014-11-02 20:04:41 +01:00
Florian Bruhin
2bbce74ce1 Merge branch 'rikn00-master' 2014-11-02 20:03:39 +01:00
Florian Bruhin
07357a81e9 Merge branch 'master' of https://github.com/rikn00/qutebrowser into rikn00-master 2014-11-02 20:00:33 +01:00
rikn00
33b6e17772 Remove unneeded change to ClickTarget 2014-11-02 20:49:18 +02:00
Florian Bruhin
e911a2bd6d Fix lint 2014-11-02 19:16:13 +01:00
Florian Bruhin
6ede565ffd Merge branch 'new-crash-dialog'
Closes #56.
2014-11-02 19:09:57 +01:00
Florian Bruhin
2cb383a7d0 Handle URLs opened via QDesktopServices. 2014-11-02 19:09:36 +01:00
Florian Bruhin
adfd1e5b9d Add text about stacktrace.asciidoc in crash dialog.
Closes #140.
2014-11-02 19:06:43 +01:00