312 Commits

Author SHA1 Message Date
Matthieu Gautier
030b2f95f5 [WIP] Add search wrapping 2023-01-18 17:12:22 +01:00
Matthieu Gautier
f9f64991cd Add a basic wrapper around libzim.
This validate the build system has we now have a compiling wrapper around
libzim.
2023-01-18 17:12:22 +01:00
Kelson
98388aa4e4
Merge pull request #22 from kiwix/adapt_buildsystem
New build System
2023-01-11 17:35:32 +01:00
Matthieu Gautier
c4b582c51b Adapt CI to new structure. 2022-12-21 16:01:02 +01:00
Matthieu Gautier
7de75101fb Adapt README.md and change build.sh into install_deps.sh 2022-12-21 16:01:02 +01:00
Matthieu Gautier
ba990be6c5 Add CI (github and codecov) from branch Issue#19 2022-12-21 16:01:02 +01:00
Matthieu Gautier
f7f6d5628d Adapt build system
- Build everything in buildDir instead of copy/generate things in src.
2022-12-21 16:01:02 +01:00
Matthieu Gautier
3b4ca8a3d2 Get build scripts from Issue#19 2022-12-20 11:56:35 +01:00
Matthieu Gautier
a3a7fa5193 Move things in src.
Let's be a bit more closer than `android-libkiwixbuild/app/src/main`
2022-12-20 11:55:34 +01:00
Matthieu Gautier
3e02f1733f Copy test from branch Issue#19
zim files has been changed but I don't know why.
Change came from commits 3cd8ed98 and 8bff08ca but it is not explain
what are the changes. @MohitMaliFtechiz ?
2022-12-20 11:53:08 +01:00
Matthieu Gautier
a0d95cb9c6 Move lib/src/main/java/org/kiwix/testing to lib/src/test 2022-12-20 11:52:11 +01:00
Matthieu Gautier
d5c9e46e2f Update settings.gradle. 2022-12-20 11:47:03 +01:00
Matthieu Gautier
42eb772a87 Copy gradle things from branch Issue#19
This is mainly a update of gradle itself and new build files.
Build files are not working as the current structure is not the same
as `Issue#19`.
2022-12-20 11:47:03 +01:00
Matthieu Gautier
4cafa3dc57 Reorganize structure.
This mainly do:
- move `src/wrapper/java` into `lib/src` (and remove `src/wrapper`)
- create `lib/src/cpp` and move all `*.(cpp|h)` in it
- move all gradle stuff in `android-kiwix-lib-publisher` into `.`
- remove `android-kiwix-lib-publisher`
2022-12-20 11:46:58 +01:00
Kelson
215237d3a6
Merge pull request #15 from kiwix/fix-magen-badge
Fix Maven badge URL
2022-09-12 10:23:45 +02:00
Emmanuel Engelhart
7bc3239924
Fix Maven badge URL 2022-09-12 10:23:13 +02:00
Kelson
4f06e80c6e
Merge pull request #14 from kiwix/first-README
First version of README
2022-09-10 16:38:01 +02:00
Emmanuel Engelhart
95bede99ce
First version of README 2022-09-10 16:37:34 +02:00
Kelson
731dfb3703
Merge pull request #8 from kiwix/merge_libkiwix_wrapper
Merge libkiwix wrapper
2022-07-02 15:46:57 +02:00
Matthieu Gautier
53415d8333 Merge tag 'libkiwix_10.1.1'
This commit merge a pruned version of libkiwix repository to keep only
android/java wrapper.
libkiwix version 10.1.1 is the last version of libkiwix with the java wrapper

The command used to prune the libkiwix repository was :
git-filter-repo --path-rename src/android/:src/wrapper/android/ --path android-kiwix-lib-publisher/ --path src/wrapper/ --tag-rename '':'libkiwix_' --no-ff
2022-06-29 16:17:15 +02:00
Matthieu Gautier
179864dc13 Merge pull request #747 from kiwix/version_10.1.1 2022-04-12 11:32:06 +02:00
Matthieu Gautier
64a74223b6 New version 10.1.1 2022-04-11 17:13:58 +02:00
Matthieu Gautier
071792b03d Merge pull request #734 from kiwix/br_10.1.0 2022-03-24 18:55:38 +01:00
Matthieu Gautier
629730934e New version 10.1.0 2022-03-24 18:26:35 +01:00
Matthieu Gautier
8075fbb707 Merge pull request #699 from kiwix/br_10.0.1 2022-02-02 16:06:18 +01:00
Matthieu Gautier
5b3be99b56 New version 10.0.1 2022-02-02 15:55:40 +01:00
Matthieu Gautier
62f3aa1f17 Merge pull request #529 from kiwix/libkiwix-github-url-fix
Fix Libkiwix Github repository URLS
2021-05-21 16:09:15 +02:00
Emmanuel Engelhart
180a1795da Fix Libkiwix Github repository URLS 2021-05-20 08:56:44 +02:00
Kelson
4b4e95633c
Initial commit 2021-05-13 10:31:08 +02:00
Kelson
2db5464a60 Merge pull request #459 from kiwix/opds_category_support
Support for book categories in OPDS feed
2021-03-17 12:37:16 +01:00
Veloman Yunkan
3c1e9c96a8 kiwix::Book::getCategory() 2021-03-17 14:09:48 +04:00
Kelson
02f658c41a Merge pull request #429 from kiwix/open_zimfile_by_fd
JNI interface to opening ZIM archives (including embedded ones) by fd
2021-02-26 09:20:58 +01:00
Veloman Yunkan
cc0abc7101 Fixed the Windows build
Opening ZIM archives by file descriptor (as well as embedded
ZIM archives) is not supported under Windows.
2021-02-10 14:19:47 +01:00
Veloman Yunkan
ae58f42b6c Testing of JNIKiwixReader.getDirectAccessInformation() 2021-02-10 14:19:47 +01:00
Veloman Yunkan
ec52bfb1f8 Renamed org.kiwix.kiwixlib.{Pair->DirectAccessInfo} 2021-02-10 14:19:47 +01:00
Veloman Yunkan
0511e818fa Java wrapper test checks favicon.png too 2021-02-10 14:19:47 +01:00
Veloman Yunkan
0f31fc7796 Android's java.io.FileDescriptor is different 2021-02-10 14:19:47 +01:00
Veloman Yunkan
f1c2fab3e6 JNIKiwixReader can open an embedded ZIM archive 2021-02-10 14:19:47 +01:00
Veloman Yunkan
7f0055a593 JNIKiwixReader ctor taking a file descriptor
... and a corresponding unit test
2021-02-10 14:19:47 +01:00
Veloman Yunkan
3f4b541303 Added testReader unit-test for the java wrapper 2021-02-10 14:19:47 +01:00
Veloman Yunkan
722cef852c Renamed the java wrapper unit test runner script 2021-02-10 14:19:47 +01:00
Veloman Yunkan
8e7db1961e Made the java wrapper unit test run & pass
The kiwixlib java wrapper unit test can be run manually via the
src/wrapper/java/org/kiwix/testing/compile_test.sh script.

The test ZIM files in src/wrapper/java/org/kiwix/testing were created
using the create_test_zimfiles. They must be updated/re-generated and
committed in git whenever their source data or the create_test_zimfiles
script changes. Note: small.zim.embedded is not used at this point, it
was created for testing the enhancement coming in a few commits.
2021-02-10 14:19:47 +01:00
Matthieu Gautier
d2709b8bb4 Merge pull request #455 from kiwix/api-break-bumpup-major-version
Bump-up version to 10.0.0
2021-02-10 10:47:06 +01:00
Emmanuel Engelhart
6bfa1689d6 Bump-up version to 10.0.0 2021-02-10 10:31:01 +01:00
Kelson
9dabe6453d Merge pull request #452 from kiwix/version-update
Bump-up version (and libzim required version)
2021-02-08 21:30:11 +01:00
Veloman Yunkan
508a2174aa Bump-up version (and libzim required version) 2021-02-07 19:53:46 +04:00
Matthieu Gautier
3157cd155b Merge pull request #445 from kiwix/no_pthread 2021-01-26 18:06:16 +01:00
Matthieu Gautier
da247042c0 Use c++11 std::thread instead of pthread. 2021-01-26 17:53:25 +01:00
Kelson
50314fdae8 Merge pull request #428 from kiwix/libzim_next
Adapt kiwx-lib to the new api of libzim (libzim_next).
2020-12-03 09:11:28 +01:00
Matthieu Gautier
6706e04f50 Adapt kiwix-lib to the new libzim api. 2020-12-02 12:16:48 +01:00