Commit Graph

118 Commits

Author SHA1 Message Date
Florian Bruhin
a03d209cb0 Fix missing import 2014-06-25 18:38:41 +02:00
Florian Bruhin
2f3b1faeb9 Add workaround for freeze on mouser.com 2014-06-25 17:59:24 +02:00
Florian Bruhin
c8cc92e8c2 Add basic HTML log 2014-06-25 10:00:27 +02:00
Florian Bruhin
4d6dd808b1 Make ErrorNetworkReply readable 2014-06-21 23:14:18 +02:00
Florian Bruhin
fa9dd97f13 Improve qute:foo error message 2014-06-21 23:10:47 +02:00
Florian Bruhin
e0bb09cbce Set URL for special network replies 2014-06-21 23:10:22 +02:00
Florian Bruhin
d695baf355 Reply with error reply on invalid qute:* URLs. 2014-06-21 23:05:26 +02:00
Florian Bruhin
800fa381b1 Set request for ErrorNetworkReply. 2014-06-21 23:05:13 +02:00
Florian Bruhin
e8ded0a32a Cleanup 2014-06-21 23:04:03 +02:00
Florian Bruhin
3f37c0bb0b Use a list for pending requests 2014-06-21 23:03:51 +02:00
Florian Bruhin
a64775a0f9 Improve logging messages 2014-06-21 22:40:31 +02:00
Florian Bruhin
113221c731 Log some exceptions 2014-06-20 23:26:19 +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
3435aef78c Add commandline argument for debug log buffer size 2014-06-19 12:11:46 +02:00
Florian Bruhin
d65587128f Add vim modelines to all files. 2014-06-19 09:04:37 +02:00
Florian Bruhin
7dfd7d018b pylint: completely disable unnecessary-lambda 2014-06-17 07:19:16 +02:00
Florian Bruhin
3d6d81e1cb Fix lint 2014-06-12 15:17:27 +02:00
Florian Bruhin
7628c92689 Support platforms where Qt is compiled without SSL support 2014-06-11 15:33:07 +02:00
Florian Bruhin
ec25821fae _foo.py file rename [2/2] 2014-06-03 15:01:57 +02:00
Florian Bruhin
fa1e03f56b _foo.py file rename [1/2] 2014-06-03 14:57:57 +02:00
Florian Bruhin
13cb5ddb31 Nicer qute:version with copyright info. 2014-05-27 15:46:39 +02:00
Florian Bruhin
7fa65a0f1e Add GPL to version output 2014-05-27 15:33:44 +02:00
Florian Bruhin
ff1fad073c Use correct logger for NAM init 2014-05-26 19:47:50 +02:00
Florian Bruhin
9428ee6207 Add logging to NetworkManager init 2014-05-26 17:41:21 +02:00
Florian Bruhin
be4f1fdd12 Add qute:log special page. 2014-05-25 20:26:26 +02:00
Florian Bruhin
5bf32d80fe Use xmlcharrefreplace for qute:* encoding 2014-05-25 20:26:14 +02:00
Florian Bruhin
1e256699f8 Add topic-specific loggers 2014-05-23 16:11:55 +02:00
Florian Bruhin
ecc838d02c Fix ALL the lint 2014-05-21 17:29:09 +02:00
Florian Bruhin
f43549d452 Clean up prompt code 2014-05-20 11:03:55 +02:00
Florian Bruhin
f0d1d4ed45 Selectively queue messages rather than unqueueing. 2014-05-19 03:40:10 +02:00
Florian Bruhin
a045511962 Use exceptions for command errors 2014-05-14 18:00:40 +02:00
Florian Bruhin
512625cee1 Support to show SSL status with URL color 2014-05-12 18:00:44 +02:00
Florian Bruhin
8ff4b6dd99 Fix lint 2014-05-12 14:52:04 +02:00
Florian Bruhin
57e465bb2d Add ssl-strict setting 2014-05-12 11:22:32 +02:00
Florian Bruhin
09f7e7a3ae Don't crash when opening qute:pyeval without :pyeval. 2014-05-07 09:03:46 +02:00
Florian Bruhin
f6c3e00d59 Use NoneString config type for settings with Qt defaults.
This fixes wikipedia looking ugly because setUserStylesheet gets called
with an empty string.
2014-05-06 12:20:02 +02:00
Florian Bruhin
1bd6a61e5a Add basic proxy support 2014-05-05 22:09:01 +02:00
Florian Bruhin
8f239b4a95 Add proxy settings 2014-05-05 22:07:41 +02:00
Florian Bruhin
667b255d01 Use QApplication for global singletons 2014-05-05 17:56:14 +02:00
Florian Bruhin
ae95b5ea3b Basic cookie handling 2014-05-05 16:28:43 +02:00
Florian Bruhin
8556d06ae7 Add do-not-track and accept-language headers 2014-05-01 17:54:50 +02:00
Florian Bruhin
9252ef94ca Consistent string chars 2014-04-25 16:53:23 +02:00
Florian Bruhin
937196e287 Rename package-private modules to _foo.py 2014-04-25 11:50:30 +02:00
Florian Bruhin
55e3aca702 linting cleanup 2014-04-22 17:53:27 +02:00
Florian Bruhin
2bef265a89 Remove fixed FIXME 2014-04-22 17:24:21 +02:00
Florian Bruhin
87dda6dca6 Return no data on invalid qute:* handlers 2014-04-22 15:46:46 +02:00
Florian Bruhin
786404add4 HTML-escape qutescheme texts 2014-04-22 15:28:48 +02:00
Florian Bruhin
963066b4bd Remove some old FIXMEs 2014-04-22 14:45:24 +02:00
Florian Bruhin
406e115a07 Stop logging network requests 2014-04-18 11:03:02 +02:00
Florian Bruhin
39f580d9f1 Cleanup 2014-04-17 17:44:27 +02:00
Florian Bruhin
91e6f4c37d Better linting with config files 2014-04-16 11:05:58 +02:00
Florian Bruhin
c5ca0e56be Remove blank lines before """ in docstrings.
pep257 has changed in this regard so we reflect this change.
2014-04-10 14:21:27 +02:00
Florian Bruhin
257e6cd67d QuteSchemeHandler cleanup 2014-02-21 19:51:04 +01:00
Florian Bruhin
a96261e7b8 Cleanup 2014-02-21 19:44:46 +01:00
Florian Bruhin
d975ec080d Add isFinished method to schemehandler 2014-02-21 19:24:58 +01:00
Florian Bruhin
61060f0796 Use singleShot QTimers for signals (FIXME: good?) 2014-02-21 07:39:21 +01:00
Florian Bruhin
51616937b8 Use python bytes instead of QByteArray methods. 2014-02-21 07:38:37 +01:00
Florian Bruhin
435f1f45e0 Emit finished at the right places. 2014-02-21 07:37:47 +01:00
Florian Bruhin
29c84f4f20 Add logging to custom requests. 2014-02-21 07:35:53 +01:00
Florian Bruhin
daa3808b7f Spelling fix in comment. 2014-02-21 07:34:49 +01:00
Florian Bruhin
aeb7e0c762 Don't default outgoingData to None 2014-02-21 07:34:21 +01:00
Florian Bruhin
bcd5120922 FIXME: Only destroy replies when they're not special.
Why does a normal destroy not work?
2014-02-21 07:33:32 +01:00
Florian Bruhin
bd6d2e6156 Store instances as scheme handlers, not classes. 2014-02-21 07:18:22 +01:00
Florian Bruhin
90e56e6477 Rename about:... to qute:... 2014-02-21 07:18:04 +01:00
Florian Bruhin
38ef8fe8c7 First attempt at proper AboutSchemeHandler 2014-02-20 23:08:27 +01:00
Florian Bruhin
ec1951c56c Move abouthandler to network subpackage 2014-02-20 22:26:25 +01:00
Florian Bruhin
65ae1882f0 Move NetworkManager to own file 2014-02-20 22:26:25 +01:00