280 Commits

Author SHA1 Message Date
Kelson
5af7fa73f6
Merge pull request #82 from kiwix/update-changelog
Update Changelog before release
2024-02-05 18:52:38 +01:00
Emmanuel Engelhart
8f58782027
Add badge for the continuous deployment 2024-02-05 18:51:27 +01:00
Emmanuel Engelhart
99d3c07dcb
Rename CD workflow 2024-02-05 18:49:18 +01:00
Emmanuel Engelhart
23ed9b251e
Update Changelog before release 2024-02-05 18:46:58 +01:00
Matthieu Gautier
843e628348
Merge pull request #81 from kiwix/fix_local_ref
Do not keep localRef to object once it is added to an array.
2024-02-05 11:18:04 +01:00
Matthieu Gautier
3f58dc2ecf Do not keep localRef to object once it is added to an array.
Fix #80
2024-02-02 15:14:36 +01:00
Matthieu Gautier
4a8e966e5d
Merge pull request #79 from kiwix/release-1.0.2
Release 1.0.2
2024-01-18 16:56:58 +01:00
MohitMaliFtechiz
27142113ff Upgraded the libkiwix to latest version.
* Improved the code to extract the actual version if the archive is from the second build.
2024-01-18 20:48:06 +05:30
MohitMaliFtechiz
c94b385ceb Changing the libkiwix version according to the official release available on the libkiwix repo. 2024-01-18 19:00:34 +05:30
MohitMaliFtechiz
c7aad36143 Displaying an error in the Install Dependencies task when no file is available for renaming.
* We have incorporated an additional validation check to verify the existence of the file during the copy/rename process. By default, the copy operation does not raise an error if the source file is unavailable.
2024-01-18 18:49:24 +05:30
Emmanuel Engelhart
435cf3a302
searchiterator.getSize() is deprecated 2023-12-16 14:33:35 +01:00
Emmanuel Engelhart
5d7e1a3b5a
Changelog for 1.0.2 2023-12-16 13:16:30 +01:00
Emmanuel Engelhart
2e1f47d47c
Use latest libkiwix/libzim (with debug symbols) 2023-12-16 13:13:29 +01:00
Emmanuel Engelhart
24164f655a
Bump-up version to 1.0.2 2023-12-16 13:12:34 +01:00
Matthieu Gautier
38373f9ad9
Merge pull request #68 from kiwix/adapt_libkiwix_991 2023-11-20 17:20:54 +01:00
Emmanuel Engelhart
3ddfeb8540
Bump-up to libzim 9.0.0 et libkiwix 13.0.0 2023-11-20 16:16:12 +01:00
Matthieu Gautier
242db418de
Adapt to new api introduced in kiwix/libkiwix#991 2023-11-20 16:16:11 +01:00
Kelson
8f2470d85d
Merge pull request #76 from kiwix/Issue#75
Release `1.0.1`
1.0.1
2023-11-10 17:32:46 +01:00
MohitMali
b374eb4c89 Updated library version to 1.0.1. 2023-11-10 15:11:12 +05:30
MohitMali
8d5373de66 Updated the CHANGELOG. 2023-11-10 15:10:47 +05:30
Kelson
f1bcd87c5e
Merge pull request #74 from kiwix/no_string_for_illustration_data
Do not put binary illustration data into a string.
2023-11-10 08:14:43 +01:00
Matthieu Gautier
ed6a302d1c Add a test on Illustration data coming from book. 2023-11-09 18:00:51 +01:00
Matthieu Gautier
1cbbd4eaa5 Do not put binary illustration data into a string.
Java String must contains utf8 content.
Illusration data which is PNG is definitively not a utf8 string.

Fix #73
2023-11-09 18:00:51 +01:00
Kelson
853233ae37
Merge pull request #72 from kiwix/load_library_not_readonly
Do not read the library in readOnly mode.
2023-11-09 18:00:03 +01:00
Matthieu Gautier
d109cc5aa8 Do not the library in readOnly mode.
The readOnly argument of `readFile` is to put the loaded library in
readOnly mode. Which kinda means "Do not write again what is loaded".

We don't want that for android as we want to save again our
(potentially modified) library.

See kiwix/kiwix-android#3474
2023-11-09 11:19:54 +01:00
Kelson
f9dc43e177
Merge pull request #66 from kiwix/Issue#65
Updated `README.md` file to demonstrate how devs can use generated binaries in their project.
1.0.0
2023-08-27 11:31:59 +07:00
MohitMali
ee1f2b4ff0
Added instructions in README.md file to show how devs can use latest binaries in their project. 2023-08-27 11:28:44 +07:00
Matthieu Gautier
574fc630b2
Merge pull request #67 from kiwix/AddChangelog 2023-08-25 14:30:56 +02:00
MohitMali
9c487e98fc Added CHANGELOG file for showing what changes/improvements have been made in 1.0.0 2023-08-25 14:09:14 +02:00
Matthieu Gautier
a9f37d42c5
Merge pull request #53 from kiwix/Issue#51 2023-08-25 14:08:46 +02:00
MohitMali
c314d48b1d Changed CMAKE_ANDROID_STL_TYPE to shared since it is not recommeded to use static when we are using the multiple dynamic libraries 2023-08-25 13:55:07 +02:00
Matthieu Gautier
cad3fb8e94
Merge pull request #63 from kiwix/Issue#62 2023-08-25 13:54:47 +02:00
MohitMali
197777d8ae Updated Versions of libkiwix and libzim.
Previously, we were utilizing `libkiwix 12.0.0` and `libzim 8.2.0`. In preparation for publishing `java-libkiwix` on Maven, we've obtained newer versions of these libraries. Hence, we're upgrading to `libkiwix 12.1.0` and `libzim 8.2.1`.
2023-08-16 18:40:23 +05:30
MohitMali
27d70f7376 Moved java-libkiwix to new Maven repo.
* We are moving our `java-libkiwix` to the new maven repo `org.kiwix` with version code `1.0.0`.
* Updated `README.md` file to use updated badge.
2023-08-16 17:57:04 +05:30
Matthieu Gautier
74c4abadca
Merge pull request #60 from kiwix/Issue#50 2023-08-11 11:28:53 +02:00
MohitMali
190473fdcb Update README with additional instructions for loading ZIM files and articles.
This commit updates the README file to include additional instructions for loading ZIM files and accessing articles in the Kiwix content archive using the `java-libkiwix` library.

Changes made in the README:
- Added a section explaining how to load a ZIM file by creating an `Archive` object.
- Clarified the description of the `mainPage` property, detailing its behavior when dealing with redirects and non-existent entries.
- Provided code snippets and instructions for loading articles via title and path, including a reminder to properly decode the URL path before passing it to `hasEntryByPath`.

These changes aim to improve the documentation and assist developers in effectively utilizing the `java-kibkiwix` library to work with zim files.
2023-08-11 14:56:32 +05:30
Matthieu Gautier
4fed04fae7
Merge pull request #61 from kiwix/fix_suggestion_iterator 2023-08-08 11:58:32 +02:00
Matthieu Gautier
c94a04bbdc Make next() throws NoSuchElementException if hasNext is false. 2023-08-07 17:16:40 +02:00
Matthieu Gautier
8323333c44 Fix SuggestionIterator hasNext. 2023-08-07 17:16:04 +02:00
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