Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove libzim's wrapper. #789

Merged
merged 2 commits into from
Jul 3, 2022
Merged

Remove libzim's wrapper. #789

merged 2 commits into from
Jul 3, 2022

Conversation

mgautierfr
Copy link
Member

@mgautierfr mgautierfr commented Jun 24, 2022

It is time to remove them. They are deprecated since 10.0.0

Fixes #430

@codecov
Copy link

codecov bot commented Jun 24, 2022

Codecov Report

Merging #789 (71e2df7) into master (12e0fb6) will increase coverage by 6.39%.
The diff coverage is 92.30%.

@@            Coverage Diff             @@
##           master     #789      +/-   ##
==========================================
+ Coverage   64.21%   70.61%   +6.39%     
==========================================
  Files          59       53       -6     
  Lines        4102     3702     -400     
  Branches     2227     2055     -172     
==========================================
- Hits         2634     2614      -20     
+ Misses       1466     1086     -380     
  Partials        2        2              
Impacted Files Coverage Δ
include/book.h 96.15% <ø> (ø)
include/library.h 100.00% <ø> (ø)
include/manager.h 100.00% <ø> (ø)
include/opds_dumper.h 100.00% <ø> (ø)
include/search_renderer.h 100.00% <ø> (ø)
src/book.cpp 87.83% <ø> (+1.17%) ⬆️
src/library.cpp 83.29% <ø> (+0.96%) ⬆️
src/server.cpp 79.16% <ø> (ø)
src/server/internalServer.h 89.47% <ø> (ø)
src/server/response.h 100.00% <ø> (ø)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 12e0fb6...71e2df7. Read the comment docs.

@kelson42
Copy link
Collaborator

@mgautierfr Nice jump in code coverage!

@juuz0 juuz0 mentioned this pull request Jun 25, 2022
It is time to remove them. They are deprecated since 10.0.0
Removed headers were `using namespace std`.
So we have to be explicit everywhere.
@kelson42
Copy link
Collaborator

kelson42 commented Jul 2, 2022

@veloman-yunkan I guess this needs a feedback from you? Good to merge?

@kelson42 kelson42 merged commit e1d1d20 into master Jul 3, 2022
@kelson42 kelson42 deleted the remove_wrappers branch July 3, 2022 17:34
mgautierfr added a commit that referenced this pull request Nov 30, 2022
* [API Break] Remove wrapper around libzim (@mgautierfr #789)
* Allow kiwix-serve to use custom resource files (@veloman-yunkan #779)
* Properly handle searchProtocolPrefix when rendering search result (@veloman-yunkan #823)
* Prevent search on multi language content (@veloman-yunkan #838)
* Use new `zim::Archive::getMediaCount` from libzim (@mgautierfr #836)
* Catalog:
 - Include tags in free text catalog search (@veloman-yunkan #802)
 - Illustration's url is based on book's uuid (@veloman-yunkan #804)
 - Cleanup of the opds-dumper (@veloman-yunkan #829)
 - Allow filtering of catalog content using multiple languages (@veloman-yunkan #841)
 - Make opds-dumper respect the namemapper (@mgautierfr #837)
* Server:
 - Correctly handle `\` in suggestion json generation (@veloman-yunkan #843)
 - Better http caching (@veloman-yunkan #833)
 - Make `/suggest` endpoint thread-safe (@veloman-yunkan #834)
 - Better redirection of main page (@veloman-yunkan #827)
 - Remove jquery (@mgautierfr @juuz0 #796)
 - Better Viewer of zim content :
   . Introduce `/content` endpoints (@veloman-yunkan #806)
   . Switch to iframe based content viewer (@veloman-yunkan #716)
 - Optimised design of the welcome page:
   . Alignement (@juuz0 @kelson42 #786)
   . Exit download modal on pressing escape key (@Juzz0 #800)
   . Add favicon for different devices (@Juzz0 #805)
   . Fix auto hidding of the toolbar (@veloman-yunkan #821)
   . Allow user to filter books by tags in the front page (@juuz0 #711)
* CI :
  - Trigger CI on pull_request (@kelson42 #791)
  - Drop Ubuntu Impish packaging (@legoktm #825)
  - Add Ubuntu Kinetic packaging (@legoktm #801)
* Testing:
  - Test ICULanguageInfo (@veloman-yunkan #795)
  - Introduce fake `test` language to test i18n (@veloman-yunkan #848)
* Fix documentation (@kelson42 #816)
* Udpate translation (#787 #839 #847)
@mgautierfr mgautierfr mentioned this pull request Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop libzim wrapper
3 participants