Matthieu Gautier
1dd170bd59
Add missing implementation of Searcher setNativeSearcherMulti
2023-01-24 17:11:27 +01:00
Matthieu Gautier
6fd7849241
Fix implementation of method in Archive
.
...
A lot of methods are overloaded, so we must include the argument type
in the name.
2023-01-24 17:11:27 +01:00
Matthieu Gautier
775b55c3b0
Fix wrong implementation in Book.
...
As `update` is overloaded, the jni method name include the argument type.
And we have changed the type of one version of `update`, so we need
to change its name.
2023-01-24 17:11:27 +01:00
Matthieu Gautier
897c78a718
Add missing method in Book.
2023-01-24 17:11:27 +01:00
Matthieu Gautier
2ef64ac8b3
Use correct method in SearchIterator.
2023-01-24 17:11:27 +01:00
Matthieu Gautier
1c963273b7
Fix typos in Item.java.
...
The cpp method name is `getMimetype`, not `getMimeType`.
2023-01-24 17:11:27 +01:00
Matthieu Gautier
28f0acde24
Reorder methods' definitions.
...
For better comparaison with the generated header.
2023-01-24 17:11:27 +01:00
Matthieu Gautier
fe1de03b23
Intrudoce DISPOSE macro to implement the dispose method.
2023-01-24 17:11:27 +01:00
Matthieu Gautier
fbdea0dda2
Rename JNIKiwixServer
to Server
.
2023-01-24 15:07:49 +01:00
Matthieu Gautier
17b85bfff6
Remove some warning.
2023-01-18 19:23:33 +01:00
Matthieu Gautier
9426c6fcb8
Use Illustration api instead of deprecated favicon for Book
2023-01-18 19:23:16 +01:00
Matthieu Gautier
876d38b9f3
Introduce BUILD_WRAPPER macro
2023-01-18 19:21:35 +01:00
Matthieu Gautier
d63b84a5cc
Repass on kiwix::Library wrapper
2023-01-18 17:12:22 +01:00
Matthieu Gautier
29518279dc
Introduce macros.h to define common macro
2023-01-18 17:12:22 +01:00
Matthieu Gautier
edea648634
Introduce GETTER_METHOD in utils.h
2023-01-18 17:12:22 +01:00
Matthieu Gautier
ee5a6b3eeb
Make METHOD
macro not using libzim by default.
...
(Adapt only libzim part)
2023-01-18 17:12:22 +01:00
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
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