-
-
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
base: main
Are you sure you want to change the base?
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