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

Adapt kiwix-desktop to new libkiwix API. #894

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

mgautierfr
Copy link
Member

Adapt code to kiwix/libkiwix#830

`LocalKiwixServer` is "just" a UI to start/configure or stop the server.

One important change is that instead of having one server we configure and
start/stop when needed, we are now creating a new server each time
we want to start the server.

It doesn't change the behavior, as libkiwix is destroying/recreating for
us, but it will help us to use the new API which use a
`Server::Configuration`.
Now libkiwix `Manipulator`, `Server`, `NameMapper`, ... take shared_ptr.
We have to store all those object using shared_ptr instead of as plain
object.
@kelson42 kelson42 added this to the 2.4.0 milestone Oct 18, 2022
@kelson42 kelson42 modified the milestones: 2.4.0, 2.5.0 Aug 12, 2023
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.

2 participants