838 Commits

Author SHA1 Message Date
Kelson
8649da5b5e
Merge pull request #855 from kiwix/fixUnsigned
Increase type cast value
2022-07-02 11:58:56 +02:00
Nikhil Tanwar
503f44ae53 Increase type cast value
b49ea7cbce83777d1c68d2ec4a8fae1e4df59fb1 introduced the unsigned type-cast for bytesAvailable to remove warnings of comparing different types.
But it caused a problem in downloads above 4GB as unsigned was too short. This changes it to unsigned long long
2022-07-02 14:09:03 +05:30
Matthieu Gautier
d172122eb5
Merge pull request #853 from kiwix/deprecateCheck 2022-06-27 16:04:39 +02:00
Nikhil Tanwar
8a546f7a69 Add check for QT version when using deprecated functions
The following functions are deprecated in QT 5.15+
QWebEngineDownloadItem::setPath
QSet<T>::fromList(const QList<T>&)
Now a check is added to support both legacy method call and modern method call, no more deprecated messages
2022-06-27 16:51:30 +05:30
Matthieu Gautier
f20d9aa70b
Merge pull request #850 from kiwix/version_2.2.2 2.2.2 2022-06-22 16:10:50 +02:00
Matthieu Gautier
69a7277354 New version 2.2.2 2022-06-22 15:51:54 +02:00
Matthieu Gautier
595d58cbd6 Udpate translations.qrc 2022-06-22 15:51:54 +02:00
Matthieu Gautier
60be74fbad
Merge pull request #848 from kiwix/translatewiki 2022-06-22 15:32:46 +02:00
translatewiki.net
9014c00982 Localisation updates from https://translatewiki.net. 2022-06-20 13:06:48 +02:00
Matthieu Gautier
c3eace12af
Merge pull request #831 from kiwix/removeLibkiwixDeprecations 2022-06-16 16:04:35 +02:00
Matthieu Gautier
b6934d707b kiwix-desktop now need libkiwix >= 11.0.0 2022-06-16 14:39:21 +02:00
Nikhil Tanwar
b49ea7cbce Remove unused variable warnings
Commented out unused variable names in function parameters
Casted unused variable (void) in for-loop
Fixed a signed-unsigned comparison warning
2022-06-16 14:25:07 +02:00
Nikhil Tanwar
b05daa197d Replace deprecated functions
This replaces the deprecated Reader and Favicon functions from libkiwix

kiwix::Reader functions are converted to use zim::Archive
Favicon functions are converted to use Illustration
Fix #805
2022-06-16 14:25:07 +02:00
Kelson
5037219ab9
Merge pull request #840 from kiwix/translatewiki
Localisation updates from https://translatewiki.net.
2022-06-06 19:25:16 +02:00
translatewiki.net
60e2c76776 Localisation updates from https://translatewiki.net. 2022-06-06 19:19:45 +02:00
Kelson
8da0ca6607
Merge pull request #845 from kiwix/release-badge-readme
Add release badge in README
2022-06-06 19:18:34 +02:00
Emmanuel Engelhart
46778932c6
Add release badge in README 2022-06-03 10:38:42 +02:00
Matthieu Gautier
9e0575a225
Merge pull request #844 from kiwix/search_pagination_fix 2022-06-03 09:51:48 +02:00
Veloman Yunkan
5de9745aa9 Fixed searchProtocolPrefix
kiwix/libkiwix#764 has eliminated the trailing "?" symbol from
searchProtocolPrefix.
2022-06-03 02:34:37 +04:00
Matthieu Gautier
b51a0f4b06
Merge pull request #842 from kiwix/libkiwix_api_update 2022-06-02 17:25:25 +02:00
Matthieu Gautier
7b870d0def Searcher::add_reader now takes a shared_ptr 2022-06-02 17:17:49 +02:00
Matthieu Gautier
38789f2f75 We now must pass the queryString to select the correct book. 2022-06-02 17:16:35 +02:00
Popo le Chien
e2929b01f0
Update README.md
updated expired Slack link
2022-05-23 16:57:09 +02:00
Kelson
d9d8fbaf66
Merge pull request #841 from kiwix/screenshots
Using Commons URL for screenshots in flathub
2022-05-19 19:27:41 +02:00
renaud gaudin
db6ebdfa66 Using Commons URL for screenshots in flathub 2022-05-18 15:09:23 +00:00
Matthieu Gautier
f8b8b36cee
Merge pull request #838 from kiwix/translatewiki 2022-05-11 17:05:15 +02:00
translatewiki.net
90f40df3a3 Localisation updates from https://translatewiki.net. 2022-05-09 13:06:23 +02:00
Matthieu Gautier
7b4d5305ce
Merge pull request #835 from kiwix/translatewiki 2022-04-26 11:52:11 +02:00
translatewiki.net
ca29c72960 Localisation updates from https://translatewiki.net. 2022-04-25 13:06:22 +02:00
Kelson
46b3398a6a
Merge pull request #830 from kiwix/fix_nonft_search
Do not crash if we are searching on a zim file without fulltext index.
2022-04-11 21:04:29 +02:00
Matthieu Gautier
ad4a770206 Propose a fulltext search only if the zim file has fulltext index.
While we are not crashing now, it is better to not propose fulltext index
to the user if we cannot do a search.
2022-04-11 15:54:25 +02:00
Matthieu Gautier
58d6d1a7ea Do not crash if we are searching on a zim file without fulltext index.
`Searcher::search` throw a exception if there is no fulltext index in
the zim file.
We must be prepared for this.
2022-04-11 15:53:13 +02:00
translatewiki.net
2be144dbef
Localisation updates from https://translatewiki.net. (#829) 2022-04-11 13:16:15 +02:00
translatewiki.net
22da046dfa
Localisation updates from https://translatewiki.net. (#821) 2022-04-10 20:45:30 +02:00
translatewiki.net
949184d13a
Localisation updates from https://translatewiki.net. (#820) 2022-03-17 02:48:19 +01:00
Emmanuel Engelhart
b9be0a7026
Placeholder for 2.3.0 changelog 2022-03-13 16:05:35 +01:00
Matthieu Gautier
fe52c11329
Merge pull request #817 from kiwix/version_2.2.1 2.2.1 2022-03-11 17:22:54 +01:00
Matthieu Gautier
b692debeab New version 2.2.1 2022-03-11 17:16:00 +01:00
Matthieu Gautier
aab8cf75d0
Merge pull request #815 from kiwix/translatewiki 2022-03-11 17:10:02 +01:00
translatewiki.net
d2700e2cda Localisation updates from https://translatewiki.net. 2022-03-11 17:00:35 +01:00
Matthieu Gautier
1fcd40fb1a
Merge pull request #816 from kiwix/fileNameSafeguard 2022-03-11 16:58:04 +01:00
Nikhil Tanwar
4e65bf3782 Add check for fileName in eraseBookFilesFromComputer
Without this check, the function will delete all files in the directory if fileName is "*"
This commit also adds camelCase in some places
2022-03-10 13:55:42 +05:30
Kelson
243dd66400
Merge pull request #811 from kiwix/lessRefresh
Only refresh library if some book has been added/removed in monitor dir
2022-03-05 17:24:40 +01:00
Nikhil Tanwar
2370019491
Only refresh library if some book has been added/removed in monitor dir
This change leads to less refreshes if the monitor directory is same as download directory
Earlier, while downloading a file, it would send many refresh signals to file watcher leading to a bad user experience
2022-03-05 17:15:07 +01:00
Matthieu Gautier
52a96cdf23
Merge pull request #813 from kiwix/version_2.2.0 2.2.0 2022-03-04 17:25:44 +01:00
Matthieu Gautier
27bd61c62f New version 2.2.0 2022-03-04 16:39:08 +01:00
Matthieu Gautier
9f64c6c9c4 Update resources/translations.qrc 2022-03-04 16:39:08 +01:00
Matthieu Gautier
ecad664bdf Make generation script sort the resources.
This will avoid unnecessary modification of the qrc file
just because of random unsorted order.
2022-03-04 16:39:08 +01:00
Matthieu Gautier
42feaa9ac5
Merge pull request #807 from kiwix/translatewiki 2022-03-04 15:34:07 +01:00
translatewiki.net
bb121d93ea Localisation updates from https://translatewiki.net. 2022-03-03 13:06:06 +01:00