-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
OPDS name mapper #830
Open
mgautierfr
wants to merge
16
commits into
main
Choose a base branch
from
opds_name_mapper
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
OPDS name mapper #830
Commits on Oct 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for cc849b3 - Browse repository at this point
Copy the full SHA cc849b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96fb423 - Browse repository at this point
Copy the full SHA 96fb423View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24472e0 - Browse repository at this point
Copy the full SHA 24472e0View commit details -
Introduce a ServerConfiguration object.
It is used to store the server configuration instead of passing (a lot of) arguments to functions/creators. Please note that this remove the thread protected on m_verbose. m_verbose is initialized once and never modified, be don't need to protect access.
Configuration menu - View commit details
-
Copy full SHA for 85f58b8 - Browse repository at this point
Copy the full SHA 85f58b8View commit details -
fixup! Introduce a ServerConfiguration object.
Move from `ServerConfiguration` to `Server::Configuration`.
Configuration menu - View commit details
-
Copy full SHA for 5896691 - Browse repository at this point
Copy the full SHA 5896691View commit details -
Do not store raw pointer to Library.
While it was "ok" to store raw pointer as, in our use case, the library always live longer than object using it; it is not safe to store raw pointer on object than may be deleted. All classes storing a library now store a shared_ptr. Functionr only using the library (as `HumanReadableNameMapper`) continue to use a (const) reference.
Configuration menu - View commit details
-
Copy full SHA for 0bd5a5e - Browse repository at this point
Copy the full SHA 0bd5a5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4842fa0 - Browse repository at this point
Copy the full SHA 4842fa0View commit details -
Do not store raw pointer to NameMapper.
While it was "ok" to store raw pointer as, in our use case, the nameMapper always live longer than object using it; it is not safe to store raw pointer on object than may be deleted. All classes storing a NameMapper now store a shared_ptr. Functions only using the library (as `HumanReadableNameMapper`) continue to use a (const) reference.
Configuration menu - View commit details
-
Copy full SHA for 3d75f24 - Browse repository at this point
Copy the full SHA 3d75f24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92c0e14 - Browse repository at this point
Copy the full SHA 92c0e14View commit details -
Make InternalServer use the NameMapper of the configuration.
This move the defaulting to IdNameMapper in the configuration instead of in the InternalServer. This also create a default shared_ptr per Configuration instead of using a static default one.
Configuration menu - View commit details
-
Copy full SHA for 422e71a - Browse repository at this point
Copy the full SHA 422e71aView commit details -
[NEW] Make InternalServer inherite Server::Configuration.
This avoid a lot of silly `m_configuration.foo`.
Configuration menu - View commit details
-
Copy full SHA for 3e54e56 - Browse repository at this point
Copy the full SHA 3e54e56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6815a4c - Browse repository at this point
Copy the full SHA 6815a4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37ccfb5 - Browse repository at this point
Copy the full SHA 37ccfb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d83127 - Browse repository at this point
Copy the full SHA 7d83127View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fcc2ad - Browse repository at this point
Copy the full SHA 1fcc2adView commit details -
Make
kiwix::Server
a simple wrapper aroundkiwix::InternalServer
.`kiwix::Server` is now a simple exposition of a public API on top of the private `InternalServer`.
Configuration menu - View commit details
-
Copy full SHA for d112470 - Browse repository at this point
Copy the full SHA d112470View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.