Skip to content

Adapt kiwix-desktop to new libkiwix API. - #894

Open
mgautierfr wants to merge 2 commits into
mainfrom
adapt_api
Open

Adapt kiwix-desktop to new libkiwix API.#894
mgautierfr wants to merge 2 commits into
mainfrom
adapt_api

Conversation

@mgautierfr

Copy link
Copy Markdown
Contributor

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
@kelson42
kelson42 removed the request for review from juuz0 December 26, 2024 22:43
@kelson42 kelson42 modified the milestones: 2.5.0, 2.6.0 Jan 1, 2025
@kelson42 kelson42 modified the milestones: 2.6.0, 2.7.0 Jan 4, 2026
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