116 Commits

Author SHA1 Message Date
Matthieu Gautier
4e840ba5a9 Add compilation of libkiwix wrapper.
JNIKiwix.java is not compiled as it needs modules not found.
To be fixed.
2023-01-18 17:12:22 +01:00
Matthieu Gautier
0be73ef8e9 Remove wrapper around obsolete kiwix::Reader and kiwix::Searcher. 2023-01-18 17:12:22 +01:00
Matthieu Gautier
763731a5e1 Rename kiwixlib to libkiwix 2023-01-18 17:12:22 +01:00
Matthieu Gautier
4aa8eeedfb Wrap Archive::iterByFoo and Archive::findByFoo 2023-01-18 17:12:22 +01:00
Matthieu Gautier
3d2f3083b0 Wrap suggestion searcher. 2023-01-18 17:12:22 +01:00
Matthieu Gautier
f3ac28f56a Generate headers for all the *.java files. 2023-01-18 17:12:22 +01:00
Matthieu Gautier
9b971ce4dc Add wrapping around Search 2023-01-18 17:12:22 +01:00
Matthieu Gautier
7887202eb0 Better wrapping structure.
Avoid the Handle and directly use a shared_ptr.
This simplify a lot the wrapping code and potentially remove some bug.
2023-01-18 17:12:22 +01:00
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
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
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