Florian Bruhin
82c647a87d
ipc: Mark on_ready_read cornercase as no-cover.
2015-09-02 23:32:06 +02:00
Florian Bruhin
1953bb8458
ipc: Disconnect on invalid data.
2015-09-02 23:32:06 +02:00
Florian Bruhin
6b4b65e585
ipc: Clarify comment.
2015-09-02 23:32:06 +02:00
Florian Bruhin
cbcd6261b1
ipc: Add got_invalid_data signal.
2015-09-02 23:32:06 +02:00
Florian Bruhin
0c3ee46fe0
Merge branch 'autoupdate_tests' of https://github.com/acogneau/qutebrowser into acogneau-autoupdate_tests
2015-09-01 08:48:52 +02:00
Alexander Cogneau
e499d8932f
100% misc.autoupdate coverage
2015-08-31 01:10:04 +02:00
Florian Bruhin
8913c1883e
ipc: Fix missing import.
2015-08-30 22:57:45 +02:00
Florian Bruhin
6dbd669efe
ipc: Disconnect properly from server.
2015-08-30 20:35:50 +02:00
Florian Bruhin
a1cb47936a
IPC: Fix shutdown when self._socket is None.
2015-08-30 20:35:34 +02:00
Florian Bruhin
39e40a7887
ipc: Pass args to send_to_running_instance.
2015-08-29 23:09:44 +02:00
Florian Bruhin
fe493f8565
ipc: Pass socket name to IPCServer.
2015-08-29 21:26:22 +02:00
Florian Bruhin
d5668dd687
ipc: Don't listen in IPCServer.__init__ already.
2015-08-27 23:09:25 +02:00
Florian Bruhin
a7bf0744e0
Move some IPC code from app.py to ipc.py.
2015-08-27 23:04:27 +02:00
Florian Bruhin
ff6e96347b
ipc: Refactor _get_socketname to take better args.
2015-08-27 22:32:29 +02:00
Florian Bruhin
1a062035eb
Log IPC server name to debug log.
2015-08-24 19:28:09 +02:00
Florian Bruhin
201f2f67d3
sessions: Logging/error message improvements.
2015-08-24 17:12:20 +02:00
Florian Bruhin
b783069f48
SessionManager: Factor out name handling in save.
2015-08-23 21:54:55 +02:00
Florian Bruhin
2556e2e27b
Remove unused import.
2015-08-23 18:29:02 +02:00
Florian Bruhin
17215822bc
sessions: Use try/except to create base-path.
2015-08-23 18:17:10 +02:00
Florian Bruhin
3d5599facb
Move session dir handling out of SessionManager.
2015-08-22 22:53:03 +02:00
Florian Bruhin
685bbaae6d
100% test coverage for misc.editor.
2015-08-19 09:34:44 +02:00
Florian Bruhin
07c6c40548
Set messagebox = None without Tk in checkpyver.
2015-08-19 06:39:22 +02:00
Florian Bruhin
1a61e53daa
100% test coverage for misc.checkpyver.
2015-08-19 05:58:52 +02:00
Florian Bruhin
e4a0f1972f
tests: Improve MessageMock and use it.
2015-08-18 21:38:18 +02:00
Florian Bruhin
3a85afe1f4
Use datetime.ctime().
2015-08-07 22:32:02 +02:00
Alexander Cogneau
43e0ac1844
Fix PEP8: line too long warning
2015-08-07 21:15:40 +02:00
Alexander Cogneau
73c28c12f3
Show launch time in crash logs.
2015-08-07 20:36:38 +02:00
Florian Bruhin
61df5fcd7a
Skip confirm-quit checks when crashing.
...
Fixes #853 .
2015-08-06 21:08:20 +02:00
Florian Bruhin
c13f7e5f78
Remove dead ShellLexer code.
2015-08-02 13:05:19 +02:00
Florian Bruhin
dc4d4e70e4
Make sure state is valid in ShellLexer.
2015-08-02 12:44:54 +02:00
Florian Bruhin
b3869fe42b
sessions: Store zoom/scroll-pos per history entry.
...
Also fixes #728 .
2015-06-27 18:06:18 +02:00
Florian Bruhin
9ca06ecfa2
Use pkg_resources instead of distutils for version
...
Fixes #767 . See #770 .
2015-06-18 20:54:05 +02:00
Florian Bruhin
f17131f6c2
Change Qt links to point to qt.io.
2015-06-12 16:59:33 +02:00
Florian Bruhin
33ad0ab1fc
Fix startDetached return value for GUIProcess.
2015-06-11 23:02:47 +02:00
Florian Bruhin
8a87b5d357
Rename GUIProcess.started to _started.
...
It's unneeded for this to be public, and it conflicts with the pyqtSignal.
2015-06-11 20:30:37 +02:00
Florian Bruhin
ad401e035f
Proxy QProcess signals.
2015-06-11 20:30:37 +02:00
Florian Bruhin
62d2018695
Add cmd/args/started to GUIProcess.
2015-06-11 20:30:28 +02:00
Florian Bruhin
163bc2e12e
Add GUIProcess.
...
This aims to unify the code which spawns a process and then shows statusbar
notifications when it exited, etc.
2015-06-11 20:30:03 +02:00
Florian Bruhin
17bb9fc21c
Use QProcess instead of subprocess.
...
Closes #646 .
Fixes #688 .
2015-06-11 20:28:04 +02:00
Florian Bruhin
b57027f800
Fix pylint warnings on Windows.
2015-06-10 18:35:33 +02:00
Florian Bruhin
a82b0d007d
Enforce a Qt with SSL support.
2015-06-07 10:47:28 +02:00
Florian Bruhin
36803cba06
Switch from flake8 to pytest-{mccabe,flakes,pep8}.
2015-06-02 20:51:06 +02:00
Florian Bruhin
d8e58b5886
Fix some typos.
2015-06-01 22:45:40 +02:00
Martin Tournoij
d20872d576
Fix feedback from #690
2015-05-29 14:50:15 +02:00
Martin Tournoij
c76221c14e
Use a specific 'qutebrowser_editor_' prefix for <C-e> instead of 'tmp'.
...
Why does this matter? In my vimrc I have this:
" When using dwb <C-e>; assume markdown, and don't store in viminfo since these are
" temporary files
autocmd BufRead,BufNewFile /home/martin/.cache/dwb/edit* setlocal ft=markdown viminfo=
I would like to do the same with qutebrowser, but this is not possible with a
file name like '/tmp/tmpSJsgSG4'
2015-05-29 02:07:20 +02:00
Florian Bruhin
f6ad556f34
Get rid of --no-crash-dialog.
2015-05-17 01:03:34 +02:00
Florian Bruhin
315725a3ac
Print info with --no-err-windows on earlyinit errs.
2015-05-17 00:48:15 +02:00
Florian Bruhin
002346a125
Clean up exception_hook.
2015-05-17 00:44:04 +02:00
Florian Bruhin
3f98bf372e
Merge branch 'smoke'
...
Conflicts:
doc/qutebrowser.1.asciidoc
qutebrowser/app.py
qutebrowser/config/config.py
qutebrowser/qutebrowser.py
tox.ini
2015-05-17 00:28:56 +02:00
Florian Bruhin
9be5992a9a
Smoke test WIP
2015-05-16 23:43:34 +02:00