Matthieu Gautier
7ad6aedd66
Convert path get from windows environment to utf8. ( #283 )
...
Convert path get from windows environment to utf8.
2019-09-25 18:13:59 +02:00
Matthieu Gautier
67170709bb
Convert path get from windows environment to utf8.
...
Fix kiwix/kiwix-desktop#203
2019-09-25 18:07:42 +02:00
Matthieu Gautier
dfd16155af
Add missing implementation of android's getArticleCount and getM… ( #282 )
...
Add missing implementation of android's getArticleCount and getMediaCount.
2019-09-24 11:57:00 +02:00
Matthieu Gautier
0db06d98a8
Add missing implementation of android's getArticleCount and getMediaCount.
...
Fix #281
2019-09-24 11:47:05 +02:00
Matthieu Gautier
742156d366
[API Break] Fix pathTools (and a bit stringTools). ( #280 )
...
[API Break] Fix pathTools (and a bit stringTools).
2019-09-24 10:58:51 +02:00
Matthieu Gautier
598dd3c175
[API Break] Fix pathTools (and a bit stringTools).
...
Api changes :
- removeLastPathElement do not takes extra arguments
`removePreSeparator` and `removePostSeparator`.
This is not needed as path do not need special tailing separator.
- Only one function `split`. Arguments can be implicitly convert to
string. No need for overloading functions to explicitly cast them.
- `split` function takes another argument `trimEmpty`. If true, empty
element are removed.
Path manipulation now almost pass trough a vector<string> to store each
path's part.
Most of the complex works is now made in the normalizeParts function.
2019-09-19 18:16:06 +02:00
Matthieu Gautier
49c0c5ff47
Fix join ( #279 )
...
Fix join
2019-09-17 16:28:52 +02:00
Matthieu Gautier
65ebc7fe7f
New version 8.0.1
2019-09-17 16:22:28 +02:00
Matthieu Gautier
2f4636e2df
Fix stringTools join function.
2019-09-17 16:22:28 +02:00
Kelson
f4e9148b1d
Small fix of OSes names in the README
2019-09-17 12:20:17 +02:00
Matthieu Gautier
891666b8c4
new version 8.0.0
2019-09-17 11:47:18 +02:00
Matthieu Gautier
57a2b98e7a
[ABI Break] Correctly detect the executable path in appimage. ( #277 )
...
[ABI Break] Correctly detect the executable path in appimage.
2019-09-17 11:41:15 +02:00
Matthieu Gautier
9b4419f3fc
[ABI Break] Correctly detect the executable path in appimage.
...
There are two executable path :
- The user one (the appimage path)
- The real one (in the appimage archive)
When we search of `library.xml` we need the user one.
But when we search of `aria2c` or `kiwix-serve` we need the real one.
Fix kiwix/kiwix-desktop#256
2019-09-17 11:23:16 +02:00
Matthieu Gautier
15d5b4ed58
Metadata ( #276 )
...
Metadata
2019-09-17 11:21:19 +02:00
Matthieu Gautier
2f91149da3
Update .gitignore.
2019-09-17 10:38:16 +02:00
Matthieu Gautier
6ee174b546
Add a method to get the value of a specific tag.
...
Fix #258
2019-09-17 10:37:53 +02:00
Matthieu Gautier
2a6772b76d
[API Change] Convert tags to the new convention.
...
Use the new convention describe here : https://wiki.openzim.org/wiki/Tags
2019-09-17 10:30:24 +02:00
Matthieu Gautier
660d5d7fb7
[API Change] Rename getMatatag to getMetadata.
2019-09-16 10:36:04 +02:00
Matthieu Gautier
157c1c939c
Add a string tool to join a list of strings together.
2019-09-16 09:42:10 +02:00
Matthieu Gautier
bd91e89785
Add missing method to get the zim metadata.
...
According to https://wiki.openzim.org/wiki/Metadata
2019-09-12 15:33:07 +02:00
Matthieu Gautier
1245d4e467
Use a macro to get the content of the metadata.
2019-09-12 15:26:53 +02:00
Matthieu Gautier
420be55bfa
Reorder methods to get metadata.
...
Use the same order than https://wiki.openzim.org/wiki/Metadata
2019-09-12 15:24:17 +02:00
Matthieu Gautier
651cb9165c
Win kiwix serve ( #274 )
...
Win kiwix serve
2019-09-11 15:25:41 +02:00
Matthieu Gautier
49046248fd
New version 7.0.0
2019-09-11 14:04:21 +02:00
Matthieu Gautier
e42e061d45
Add a way to specify a library to use with kiwix-serve.
...
If kiwix-desktop use a `library.xml` in the same directory than the
executable, we need to use it instead of the default one.
Instead of detect again the `library.xml` to use, let `kiwix-desktop` set
the library to use.
This also fix a issue when `/` is not a valid path separator in windows.
2019-09-11 14:04:21 +02:00
Kelson
d90774450d
Slightly bigger top-padding for kiwix-serve
2019-09-11 13:50:33 +02:00
Matthieu Gautier
9e36c876f5
New version 6.0.4
2019-09-10 15:54:15 +02:00
Matthieu Gautier
1a4c434e3c
Correctly cast double to int. ( #273 )
...
Correctly cast double to int.
2019-09-10 15:09:09 +02:00
Matthieu Gautier
3294508d87
Correctly cast double to int.
...
Ms cl compiler complains about the implicit conversion.
2019-09-10 14:10:40 +02:00
Matthieu Gautier
351e573bce
Correctly detect the executable path if we use a AppImage. ( #272 )
...
Correctly detect the executable path if we use a AppImage.
2019-09-09 18:37:37 +02:00
Matthieu Gautier
a32363e6a2
Correctly detect the executable path if we use a AppImage.
...
AppImage works by decompressing the "program" in a temporary directory.
So the executable path is not the path of the AppImage file.
By using the environment variables set by appimage we can find the correct
"path" of the executable.
Fix kiwix/kiwix-desktop#46
2019-09-09 18:27:53 +02:00
Matthieu Gautier
56f8b7a876
Fix search ( #271 )
...
Fix search
2019-09-09 14:59:35 +02:00
Matthieu Gautier
87dc145dc7
Correctly set searcher information even if resultStart equals resultEnd.
2019-09-09 14:43:51 +02:00
Matthieu Gautier
a13244dc0e
Rename `hasResult` to `hasResults`
2019-09-09 14:43:51 +02:00
Matthieu Gautier
78dbd66522
[HTML Rendering] Do not render page navigation buttons if only one page.
2019-09-09 14:43:51 +02:00
Matthieu Gautier
fdc291b7c2
[HTML Rendering] Do not do division by zero.
...
We must correctly handle the case if resultStart is equal to resultEnd.
2019-09-09 14:43:51 +02:00
Kelson
d372cea146
Merge pull request #270 from kiwix/aur-badges
...
Add AUR badge
2019-09-08 17:06:49 +02:00
Kelson
e1fcd12e48
Add AUR badge
2019-09-08 17:05:44 +02:00
Matthieu Gautier
828bd032c4
Merge pull request #269 from kiwix/fix-multiple-column-suggestions
...
Force one columned suggestions in kiwix-serve
2019-09-04 17:40:45 +02:00
Kelson
26d32a36ad
Force one columned suggestions in kiwix-serve
2019-09-04 17:34:15 +02:00
Matthieu Gautier
c031547461
Fix fulltext search link in kiwix-serve suggestions ( #268 )
...
Fix fulltext search link in kiwix-serve suggestions
2019-09-04 17:17:34 +02:00
Kelson
d0833bdcd4
Fix fulltext search link in kiwix-serve suggestions
2019-09-04 17:07:05 +02:00
Matthieu Gautier
1bb5e278ed
Allow the gradle to add an extra build version in the pom file.
...
This is needed to be able to publish new build of the same version on
bintray.
2019-09-04 11:01:28 +02:00
Matthieu Gautier
0a331f8ba9
Fix release of 6.0.3.
2019-09-04 11:00:15 +02:00
Kelson
b1a4bbd345
Update changelog for 6.0.3
2019-09-03 19:42:10 +02:00
Kelson
14dbe843b9
Merge pull request #266 from kiwix/kiwix-serve-box-size
...
Kiwix serve welcome page box size fix
2019-08-29 21:06:07 +02:00
Kelson
e111316636
Kiwix serve welcome page box size fix
2019-08-29 21:01:21 +02:00
Kelson
bbb346b685
Slight improvements of the README.md
2019-08-27 16:31:04 +02:00
Kelson
56a08f49b2
Merge pull request #263 from kiwix/improve-again-top-padding
...
Better kiwix-serve content (because of taskbar) top-padding
2019-08-27 16:25:54 +02:00
Kelson
fc2ad81185
Better kiwix-serve content (because of taskbar) top-padding
2019-08-27 16:24:52 +02:00