1460 Commits

Author SHA1 Message Date
Matthieu Gautier
4849b5e364 Rewrite the request interceptor.
It seems that there are request in the form
"blob://foo.zim/<uuid>".
I don't know where it come from, we cannot handle it and even Qt is parsing
it wrongly (scheme and host are empty, path is the full url request).

By using a string to handle the url, it is simpler to change "http://" to
"zim://".
2018-07-17 11:19:43 +02:00
Matthieu Gautier
fab22ab909 Better convertion of the mimetype from std::string to QByteArray. 2018-07-17 11:16:20 +02:00
Matthieu Gautier
6b1d0898d5 Print a message when we fail to open a zim file. 2018-07-17 11:15:34 +02:00
Matthieu Gautier
9aa37e9b9c
Merge pull request #13 from kiwix/force_c++11
Force usage of c++11 version.
2018-06-14 17:47:38 +02:00
Matthieu Gautier
f6e80dbe59 Force usage of c++11 version. 2018-06-14 17:46:14 +02:00
Matthieu Gautier
1231e2fcdb Use last kiwix-lib API. 2018-06-12 19:23:47 +02:00
Matthieu Gautier
7c8d475d24 Do not crash if the zim file is invalid or corrupted. 2018-06-12 19:23:30 +02:00
Matthieu Gautier
84e5124ae6 Use dialog to select a zim file if no zim as been provide on command line.
It is better than crashing.
2018-06-12 19:22:49 +02:00
Matthieu Gautier
a248348452 Initial commit.
This is a first "more than alpha" version of kiwix-desktop.

It takes a zim as command line argument and open it.
There is no navigation button, and the adresse bar is read only.
It crashes if no zim is given on the command line.
2018-05-21 16:58:38 +02:00
Kelson
bbbae462fd
Initial commit 2017-12-03 13:49:23 +01:00