Kelson
f561034ba8
Merge pull request #59 from kiwix/add-copying-file
...
Add COPYING file
2023-07-28 21:23:37 +02:00
Emmanuel Engelhart
81f7361a30
Add COPYING file
2023-07-28 21:22:59 +02:00
Kelson
d91651e1ec
Merge pull request #55 from kiwix/kelson42-patch-1
...
Update README.md
2023-07-28 15:30:10 +02:00
Kelson
7ac4541a69
Update README.md
...
Small improvements of the README file
2023-07-28 15:23:43 +02:00
Kelson
f48a43a398
Merge pull request #58 from kiwix/workflow-fixes
...
Refresh a bit the CI/CD workflows
2023-07-28 09:42:27 +02:00
MohitMali
8dd4c86ca6
Improved CI workflow
...
* Used latest @v2 action for setting up java for the CI instead of @v1.
* Used single command of gradle instead of multiple commands of gradle for `Compile and prepare package` task, because gradle will automatically execute all tasks one by one.
2023-07-28 11:38:37 +05:30
Emmanuel Engelhart
fbf2c43aab
Refresh a bit the CI/CD workflows
2023-07-27 21:40:19 +02:00
Matthieu Gautier
42b50ca6f4
Merge pull request #48 from kiwix/fix_icu_setdatadirectory
2023-07-21 14:26:38 +02:00
Matthieu Gautier
020c9375a9
Fix typo in setDataDirectory.
...
This is `libkiwix`, not `kiwixlib`.
2023-07-21 10:28:40 +02:00
Matthieu Gautier
c1746acd4f
Merge pull request #45 from kiwix/Fixes#43
2023-07-19 11:21:26 +02:00
MohitMali
ebd27b53f1
Fixed libkiwix dependency
...
* Updated the source of libkiwix and libzim .so files to download.kiwix.org/release instead of using nightly builds.
* Introduced new variables for specifying the versions of libkiwix and libzim, allowing retrieval of .so files from the release repositories.
* Modified the README.md file to get the version and image from maven central for `org.kiwix.libkiwix` artifact.
2023-07-19 11:20:47 +05:30
MohitMali
423000e1a6
Upload java-libkiwix to the new Maven repository with version code 1.0.0
2023-07-18 15:20:03 +05:30
Matthieu Gautier
c928e30e86
Merge pull request #40 from kiwix/Issue#39
2023-07-17 13:13:09 +02:00
MohitMali
eaa957fcf0
Added .so file while while initlizing JNIKiwix class which we have missed
2023-07-13 17:45:53 +05:30
Matthieu Gautier
2f951febf3
Merge pull request #38 from kiwix/Issue#37
11.0.0
2023-07-12 12:21:41 +02:00
MohitMali
c913b47678
Fix env variables naming
2023-07-12 14:53:38 +05:30
Matthieu Gautier
6797d0fb64
Merge pull request #36 from kiwix/execption_handling
2023-06-30 12:03:35 +02:00
Matthieu Gautier
ab7bbc1043
Try to trigger gc to call finalize
methods.
2023-06-30 11:54:26 +02:00
Matthieu Gautier
33152da9b4
Exception is properly created by jni wrapper.
...
No need to do the check in java code.
2023-06-30 11:32:55 +02:00
Matthieu Gautier
36ad3c0331
Fix indentation.
2023-06-30 11:32:55 +02:00
Matthieu Gautier
9d6ef87b57
Introduce EntryNotFoundException.
2023-06-30 11:32:55 +02:00
Matthieu Gautier
827ab31c38
Better testing of errors.
2023-06-30 10:37:37 +02:00
Matthieu Gautier
40dd4ea853
Use the message of the exception instead of using our own.
2023-06-30 10:37:26 +02:00
Matthieu Gautier
c36a29abc4
Wrap all cpp code in a try/catch on create corresponding java exception.
2023-06-29 17:11:50 +02:00
Matthieu Gautier
420794ed48
Merge pull request #35 from kiwix/testing_coverage
2023-06-28 15:34:34 +02:00
Matthieu Gautier
a2e6381a84
Construct the library different ways.
2023-06-28 15:25:54 +02:00
Matthieu Gautier
ddbf5a08c5
Separate how we test Library from how we create it.
2023-06-28 15:25:54 +02:00
Matthieu Gautier
089a7d4ba5
Fix Book.getIllustrations
2023-06-28 15:25:54 +02:00
Matthieu Gautier
73039e4ef4
Add a lot of test on libkiwix.
2023-06-28 15:25:54 +02:00
Matthieu Gautier
09c0e0155e
Fix hasEntryByTitle
2023-06-28 15:25:54 +02:00
Matthieu Gautier
df631a4679
Fix Iterators.
2023-06-28 15:25:54 +02:00
Matthieu Gautier
16ee15021a
Add a full coverage of libzim part.
2023-06-28 15:25:54 +02:00
Matthieu Gautier
8c3a358486
Merge pull request #34 from kiwix/search_testing
2023-06-28 15:25:23 +02:00
Matthieu Gautier
15f42f0757
Make CodeFactor happy.
2023-06-28 15:17:15 +02:00
Matthieu Gautier
56fd73932e
Run CI on PR and push on main.
2023-06-28 15:15:12 +02:00
Matthieu Gautier
eaf9b3aac9
[test] Get the suggestion result from the first result.
2023-06-21 11:39:17 +02:00
Matthieu Gautier
1806febcf4
Fix iterator next
.
...
`next` must return the "next" value.
But here, the next value is the value of the current iterator.
2023-06-21 11:38:47 +02:00
Matthieu Gautier
7315228b06
Fix typos in search/suggestion getResults.
2023-06-21 11:38:00 +02:00
Matthieu Gautier
c7ac3a0878
Update test zim file.
...
zim files have been created using a recent version of zimwriterfs
(including the fix for openzim/zim-tools#355
2023-06-21 11:36:36 +02:00
Matthieu Gautier
61faa65343
Addapt create_test_zimfiles to last zimwriterfs.
2023-06-21 11:35:08 +02:00
Matthieu Gautier
fb83f1154b
Create the test zim file with a xapian FT index.
2023-06-21 11:34:29 +02:00
Matthieu Gautier
f9131e901c
Add wrapper for libzim search and suggestion.
2023-06-20 16:47:13 +02:00
Kelson
08d59c4221
Merge pull request #33 from kiwix/better_testing
...
Better testing (coverage)
2023-06-15 15:22:47 +02:00
Matthieu Gautier
52cc2e48a8
Introduce TestBookmark.
2023-06-14 15:07:38 +02:00
Matthieu Gautier
83a6429565
Introduce TestBook, TestLibrary, TestManager and TestServer.
2023-06-14 14:49:10 +02:00
Matthieu Gautier
f84d951e97
Introduce TestEntryIterator.java
2023-06-14 14:15:46 +02:00
Matthieu Gautier
7c7f56d0de
Rename renameFolders
to removeDateFromFolderName
2023-06-14 10:12:42 +02:00
Matthieu Gautier
88441468c3
[CI] Move release workflow to ubuntu 20.04
2023-06-14 10:12:11 +02:00
Matthieu Gautier
57fb755a02
Latest libzim nigthly is build on bionic.
2023-06-14 10:11:49 +02:00
Matthieu Gautier
ce1f216108
Introduce TestBlob.java
2023-06-13 17:49:02 +02:00