libkiwix/test
Matthieu Gautier e5ea210d2c Add a template specialization for ConcurrentCache storing shared_ptr
When ConcurrentCache store a shared_ptr we may have shared_ptr in used
while the ConcurrentCache has drop it.
When we "recreate" a value to put in the cache, we don't want to recreate
it, but copying the shared_ptr in use.

To do so we use a (unlimited) store of weak_ptr (aka `WeakStore`)
Every created shared_ptr added to the cache has a weak_ptr ref also stored
in the WeakStore, and we check the WeakStore before creating the value.
2022-06-02 12:37:52 +02:00
..
data Unit test for HTTP 500 Internal Server Error 2022-04-04 18:35:20 +02:00
book.cpp Deprecate methods on Book. 2022-01-12 18:07:46 +01:00
counterParsing.cpp Adapt kiwix-lib to the new libzim api. 2020-12-02 12:16:48 +01:00
httplib.h Fix warning in httplib. 2021-11-16 09:39:56 +01:00
kiwixserve.cpp Fix tests. 2020-01-20 17:00:18 +01:00
library.cpp Handling of <dc:issued> in OPDS import 2022-02-23 14:20:49 +01:00
lrucache.cpp Add a template specialization for ConcurrentCache storing shared_ptr 2022-06-02 12:37:52 +02:00
manager.cpp Manager::reload() 2021-11-30 18:20:27 +04:00
meson.build Copy the lrucache test from libzim. 2022-06-02 12:37:52 +02:00
name_mapper.cpp Dropped Library::getBookBy*() non-const functions 2021-11-30 18:20:27 +04:00
opds_catalog.cpp OpdsCatalog::getSearchUrl() 2021-06-30 18:27:00 +02:00
pathTools.cpp Do not include posix header on Windows 2022-01-19 16:15:59 +01:00
regex.cpp Move all public *Tools.h in src. 2021-07-07 14:43:13 +02:00
server.cpp Introduce Error exception to do i18n 2022-06-02 12:23:42 +02:00
server_helper.cpp Introduce a pagination object to render search result. 2022-05-23 19:12:17 +02:00
stringTools.cpp Better ExtractFromString 2022-05-23 10:56:39 +02:00
tagParsing.cpp Fix tests. 2020-01-20 17:00:18 +01:00