Florian Bruhin
06ec1a3885
Big file tree reorganisation.
...
Closes #255 .
Should make a lot more sense now ;)
2014-12-13 17:28:50 +01:00
Florian Bruhin
b7ea8e7979
Support a maxsplit argument for commands.
2014-12-11 20:32:52 +01:00
Florian Bruhin
ec07e4f8be
Handle OSError exceptions where appropriate.
...
Fixes #25 .
2014-12-10 18:00:49 +01:00
Florian Bruhin
4829aee767
Add a --no-crash-dialog debug option.
2014-12-06 00:39:33 +01:00
Florian Bruhin
64e43c6e14
Ignore IPC in exception handler. Closes #262 .
2014-11-30 22:30:26 +01:00
Florian Bruhin
e3dfaa6a4b
Send cwd over IPC. Fixes #254 .
2014-11-30 19:22:35 +01:00
Brian Jackson
9cfb4b3431
Fix problem with qutesettings scope in pages
...
Fix to make sure the js bridge code is only enabled when qute: pages are shown.
Previously it would only be available to the first page (and before that it
was available to all pages).
2014-11-25 14:29:20 -06:00
Florian Bruhin
0134646c67
Basic host blocker implementation.
...
Squashed commit of the following:
commit 8d38e9c2f13778fe21cc2c1d61c5d26907b469ef
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 24 21:04:30 2014 +0100
Fix default adblock lists.
commit a734b87e753daec28fa0c6643af8de088041179a
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 24 21:04:14 2014 +0100
Fix error output on adblock errors.
commit 15bc10f605ebb86c12523bb81b55d1440fcacdbf
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 24 07:38:47 2014 +0100
Update adblock docks
commit 475d530ee50f52295c2171208c6a0278750cf4b4
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 24 07:38:39 2014 +0100
Remove adblock ram calculation
commit 0e52cc3ec93912fd3fa3ecf6de833aef0c540a60
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 24 07:03:11 2014 +0100
Adjust docs for hosts-file.
commit 941df242d38300d7e42a26f2e67cfd668c6f8590
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 24 06:55:40 2014 +0100
Add logging for host blocking.
commit 4ca1561ccf32affb8439113f4f1c222d7dee1e14
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 24 00:11:59 2014 +0100
Don't do adblock updates automatically after changing config.
commit 26d4e86ca393d4a1a5fd8fac7729ce9c2e7cd240
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Nov 20 19:58:32 2014 +0100
adblock: Don't delete blocked hosts between files.
commit c7af08c68adf3c135d5a2fc746eb6d3c715b0711
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Nov 20 19:58:22 2014 +0100
adblock: Add comments for rewinding.
commit 9af87313088cd79ab8c022bcee9308511d6328f0
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Nov 20 19:56:39 2014 +0100
adblock: Rewind files properly.
commit 7f3dadc04ba68c92d6789ecf5822f7b2dfc367a0
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Nov 20 19:40:18 2014 +0100
Add untested file support.
commit 334c01867d510b599d94c9397097a1d789c0c64c
Author: Florian Bruhin <git@the-compiler.org>
Date: Wed Nov 19 22:33:25 2014 +0100
adblock: Handle download errors correctly
commit 3a9af4cd4a903386dc323640f1d52e03383b3aa7
Author: Florian Bruhin <git@the-compiler.org>
Date: Wed Nov 19 22:23:04 2014 +0100
adblock: Add error handling for invalid input.
commit 5934c3c027ff9205adb512aab396ca913b31e50d
Author: Florian Bruhin <git@the-compiler.org>
Date: Wed Nov 19 22:22:47 2014 +0100
adblock: Handle done_count correctly.
commit 3ba5e83fda9b7d764bfcf1e4b1aa479daae39791
Author: Florian Bruhin <git@the-compiler.org>
Date: Wed Nov 19 21:18:10 2014 +0100
Read adblock files when they finished downloading.
commit 86a5ecf194445e2ebe0cf22b59e24223387880c5
Author: Florian Bruhin <git@the-compiler.org>
Date: Wed Nov 19 20:51:25 2014 +0100
Add hosts-file.net to host-block-lists.
commit 121f0bff953497449c32e45e671b71d954beed4c
Author: Florian Bruhin <git@the-compiler.org>
Date: Wed Nov 19 20:51:13 2014 +0100
Add zip-file support to adblock.py.
commit f1c0e67cb9d890a44a1d1f545ace997f0a453f91
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Nov 17 07:41:14 2014 +0100
print line counts for debugging
commit 75dbb8964fd44862abc378ef26fb47f8cda6061e
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Nov 14 19:22:20 2014 +0100
Use statusbar messages for adblock
commit 74d9142d831496e02c5baae72c2723e320af1778
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Nov 14 08:34:46 2014 +0100
Add basic adblock functionality.
2014-11-24 21:05:09 +01:00
Florian Bruhin
0a1bdd79da
Split some functions into smaller ones.
2014-11-23 21:26:59 +01:00
Florian Bruhin
655115858c
Handle OSError when using subprocess.
2014-11-23 18:07:05 +01:00
Florian Bruhin
69803f5f87
Don't log exception during exception handling twice.
2014-11-12 20:18:36 +01:00
Florian Bruhin
e23360bb88
Don't open a new window if only commands are sent via IPC.
...
Fixes #237 .
2014-11-11 22:42:45 +01:00
Florian Bruhin
d30ec95f72
Open new window if no existing window is found on IPC.
2014-11-11 22:29:44 +01:00
Florian Bruhin
b502280c06
Make download-manager a per-window object.
...
Fixes #228 .
2014-11-11 21:36:47 +01:00
Florian Bruhin
5fa1556588
Fix getting last main window when it was closed.
...
Fixes #242 .
2014-11-10 23:21:31 +01:00
Florian Bruhin
eaca891616
Log uncaught exceptions to debug log
2014-11-10 18:34:31 +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
a2809e76bb
Handle --debug specially
2014-10-31 07:06:28 +01:00
Florian Bruhin
e3e1382ccd
Add missing faulthandler import.
2014-10-19 18:19:36 +02:00
Florian Bruhin
499f0767da
Revert "Never delete crash log file."
...
This reverts commit dcad41c92e
.
Shutdown segfaults still happen too often, and the crash log doesn't tell us
anything useful...
2014-10-18 23:46:24 +02:00
Florian Bruhin
b4c7669e64
Shut down TabbedBrowser in MainWindow closeEvent.
...
Hopefully fixes #197 .
2014-10-15 23:15:27 +02:00
Florian Bruhin
b54151f206
Use last focused window for download errors and other stuff.
...
When the event happens, it's possible we don't have any window focused yet, so
we display it in the window which was last focused.
Fixes #191 .
2014-10-15 20:42:40 +02:00
Florian Bruhin
74839d7aff
Use a QObject for quickmarks and add a changed signal.
...
See #189 .
2014-10-15 16:55:55 +02:00
Florian Bruhin
da0d81e700
Remove warning about crash log.
...
This was a leftover from dcad41c92e
2014-10-15 07:34:13 +02:00
Florian Bruhin
7a1dfebc6a
Remove unused faulthandler import.
2014-10-14 21:23:07 +02:00
Florian Bruhin
dcad41c92e
Never delete crash log file.
...
We also want to log to the crash log when segfaults happen during exit.
2014-10-14 20:48:21 +02:00
Florian Bruhin
cf6d303ad1
Improve crash log handling because of single-instance.
2014-10-14 20:47:06 +02:00
Florian Bruhin
f9eec48414
Set urgent hint when opening IPC tab - closes #185
2014-10-14 11:51:17 +02:00
Florian Bruhin
cfc5e80d3e
ipc: Fix opening of new empty window.
2014-10-14 10:10:24 +02:00
Florian Bruhin
2e2070ef6e
Rename ipc-open-target to new-instance-open-target.
2014-10-14 09:59:01 +02:00
Florian Bruhin
bcf8040041
Whitespace fixes.
2014-10-14 07:58:50 +02:00
Florian Bruhin
7c0a23b1b7
Fix IPC when there's no main window available.
2014-10-14 07:58:16 +02:00
Florian Bruhin
0e9177eb4f
Rename ipc param to process_args to via_ipc.
...
This prevents shadowing of the module.
2014-10-14 07:57:42 +02:00
Florian Bruhin
817259f4f5
Add ipc-open-target config option.
2014-10-14 07:37:12 +02:00
Florian Bruhin
191b1dd240
Open new window for IPC args.
2014-10-13 23:14:24 +02:00
Florian Bruhin
a849901693
Shut down IPC cleanly on exit.
2014-10-13 20:36:23 +02:00
Florian Bruhin
6dc0bfa2d2
Convert IPCServer to a class and handle connections async.
2014-10-13 20:11:13 +02:00
Florian Bruhin
476dd09534
Actually start IPC server.
2014-10-13 07:42:06 +02:00
Florian Bruhin
fdb24ff597
Move IPC to its own file.
2014-10-13 07:06:57 +02:00
Florian Bruhin
86bb1f9890
Remove local server before connecting.
2014-10-11 11:39:02 +02:00
Florian Bruhin
1238f28833
Use a variable for socketname.
2014-10-11 11:38:03 +02:00
Florian Bruhin
f231f8815b
QLocalsocket foo
2014-10-10 13:16:22 +02:00
Florian Bruhin
b42d701b0c
debug-console: Only create when needed
2014-10-10 07:45:44 +02:00
Florian Bruhin
c6ccb56208
Handle exceptions while crash dialog is shown correctly. Fixes #168 .
2014-10-09 06:56:04 +02:00
Florian Bruhin
cbdade6518
Fix saving geometry if mainwindow is closed on shutdown. Fixes #159 .
2014-10-08 22:03:12 +02:00
Florian Bruhin
71308b45ac
Add utils.qualname. Closes #169 .
2014-10-08 21:11:04 +02:00
Florian Bruhin
b49b227c0d
Add an init method for standarddir.
...
This is another preparation for #19 and #20 .
2014-10-08 06:43:00 +02:00
Florian Bruhin
4abb5c8f36
Fix removing of eventfilter on shutdown if not present.
2014-10-08 06:38:03 +02:00
Florian Bruhin
0e7a60abf6
Move utils.get_standard_dir to its own file.
...
This is a preparation for #19 and #20 because there are too many functions
related to standarddir in utils.
2014-10-08 06:20:31 +02:00