a8a864f70e
Merge pull request #434 from kiwix/mandatory_xapian
...
Build kiwix-lib only if meson is compiled with xapian.
2021-01-15 10:03:57 +01:00
a231dfd8e4
Build kiwix-lib only if meson is compiled with xapian.
2021-01-14 12:07:17 +01:00
321d08e3d5
Merge pull request #440 from kiwix/better-taskbar-introduction
...
Fix taskbar insertion in case of '<head>' attributes
2021-01-12 11:48:57 +01:00
8c43fd8d36
Fix taskbar insertion in case of '<head>' attributes
2021-01-11 14:37:19 +01:00
9e032b6eea
Merge pull request #439 from kiwix/mediacount-video-audio
...
Support 'video/*' * 'audio/*' mimetypes in getMediaCount()
2021-01-08 13:01:42 +01:00
3e2810dff4
Support 'video/*' * 'audio/*' mimetypes in getMediaCount()
2021-01-07 12:32:32 +01:00
18afa97674
Merge pull request #437 from kiwix/count-webp-media
...
More robust getMediaCount()
2021-01-03 21:15:55 +01:00
44c4aa931a
Better use kiwix::startsWith()
2021-01-03 15:17:03 +01:00
95b32b168d
More robust getMediaCount()
2021-01-01 17:05:32 +01:00
2659f323cd
Merge pull request #433 from kiwix/small_fixes
...
Fixes related to libzim next.
2020-12-11 06:46:40 +01:00
1002c15e0d
Remove unnecessary checks.
...
`Reader` cannot be created with a null `zimArchive`.
We don't have to check for zimArchive being not null.
2020-12-09 14:25:02 +01:00
d51000c4a9
Use new libzim method hasFulltextIndex
to check for fulltext index.
2020-12-09 14:25:02 +01:00
ba302bed33
Use new libzim method getFaviconEntry
to get the favicon.
2020-12-09 14:25:02 +01:00
9941d245e1
Merge pull request #432 from swills/fbsd-build-fix1
...
fix build on FreeBSD
2020-12-09 14:24:04 +01:00
6900b4e506
fix build on FreeBSD
...
With this header, sockaddr_in and INADDR_ANY are not defined
2020-12-07 09:38:46 -05:00
6fa20f6dcf
Merge pull request #431 from kiwix/legoktm-patch-1
...
PPA: Build for Ubuntu Hirsute
2020-12-05 09:29:47 +01:00
8eacb0d635
PPA: Build for Ubuntu Hirsute
2020-12-03 22:35:46 -08:00
84c320d5d3
Merge pull request #428 from kiwix/libzim_next
...
Adapt kiwx-lib to the new api of libzim (libzim_next).
2020-12-03 09:11:28 +01:00
1a5a2e7a8e
Adapt kiwix-lib to the new libzim api.
2020-12-02 12:16:48 +01:00
d87079ec13
Remove deprecated method in the reader.
2020-11-24 19:00:52 +01:00
fbd4332c87
New version 9.4.1
9.4.1
2020-11-17 15:42:13 +01:00
7c4517ca3c
Merge pull request #427 from kiwix/fix_deps_zlib
2020-11-17 12:05:50 +01:00
bc4b6846ef
Add missing dependency declaration in the README.
2020-11-17 11:54:36 +01:00
f408fecdd0
Add missing zlib dependency.
...
libzim were dependent of zlib and we were (wrongly) using its
dependency declaration to link with zlib.
Now that libzim doesn't depends on zlib, we need to fix our build system
and explicitly depend on it.
2020-11-17 11:54:10 +01:00
038e86e0d8
Merge pull request #419 from kiwix/legoktm-patch-1
...
debian: Have libkiwix-dev depend on libmicrohttpd-dev
2020-11-04 15:20:36 +01:00
41cee1cfe0
debian: Have libkiwix-dev depend on libmicrohttpd-dev
...
As of 9c925f6778
, it's now required in the pkg-config file.
2020-11-04 15:14:09 +01:00
7e2d174cfb
Merge pull request #422 from kiwix/rgaudin/taskbar-height
...
Adjust body padding-top for taskbar
2020-11-04 15:13:18 +01:00
52da58a294
Adjust body padding-top for taskbar
...
taskbar is placed *above* content using a `padding-top: 3em;` rule
Currently, in regular case, padding-top is too large and leaves ~4/5px between the
taskbar and the content.
This fixes it by using a `calc()` rule to eliminate this extra space
2020-11-04 11:53:59 +00:00
0f8caba3a5
Merge pull request #418 from kiwix/fix_counter_parsing
2020-10-30 13:42:52 +01:00
0f8fe1f63f
Alternative implementation of parseMimetypeCounter()
2020-10-29 14:11:27 +04:00
ed32e16db2
Use a reference in test/server.cpp
loop.
...
This is mainly to make the macos CI pass.
2020-10-28 16:08:37 +01:00
08464f23bc
Better parsing of M/Counter
...
Mimetype may contain a parameters.
Then, the mimetype would be something like "text/html;foo=bar;foz=baz"
It will contains a `;` and `=` and it conflicts with the same operators
we use to separate the items in our list.
We have to use a more advanced algorithm which takes the context into
account.
Fix #416
2020-10-28 16:03:18 +01:00
ef42abea4b
Add some tests of parseMimetypeCounter
2020-10-28 14:44:23 +01:00
4407dd12bd
Move mimetypeCounter parsing in its own function.
2020-10-28 14:08:06 +01:00
d546ae38c4
Merge pull request #417 from kiwix/fix_macos_ci_install
...
[CI] Fix macos packages installation
2020-10-27 15:18:23 +01:00
7a11ec6ea4
[CI] Fix macos packages installation
2020-10-27 15:13:19 +01:00
095c86cf90
Merge pull request #415 from kiwix/stop_server
2020-10-16 14:12:47 +02:00
632583ede2
Add missing include
2020-10-07 18:43:57 +02:00
9c925f6778
kiwix-lib pc need libmicrohttpd
2020-10-07 17:48:30 +02:00
61f9d4ab3a
Stop the internal server only if it exists.
2020-10-07 14:36:45 +02:00
de6b8ba4de
Merge pull request #413 from hashworks/archCommunityPkg
...
Add repology package badge
2020-08-30 22:05:37 +02:00
ab7349dbc8
Switch to repology package badge
2020-08-30 20:59:14 +02:00
292004703e
Add shield and link to official Arch Linux package
...
I recently became an Arch Linux Trusted User and moved kiwix-lib
to the official community repository.
2020-08-30 13:22:13 +02:00
c3e1e46d58
No AUR libkiwix package anymore
2020-08-30 09:56:38 +02:00
aba2f35092
New version 9.4.0
9.4.0
2020-08-28 16:04:40 +02:00
b3a3dfb79f
Merge pull request #411 from kiwix/fix_subprocess_destructor
2020-08-28 16:02:25 +02:00
470bfc3f1f
Better variable name for outStream.
2020-08-28 15:27:03 +02:00
ea3180cb8c
Better error printing.
2020-08-28 15:27:03 +02:00
72d3f8f8e2
Fix segmentation fault with curl requests.
...
Use a heap allocated buffer (with lifetime of Aria2 class) instead of
a stack allocated one.
Original fix made by @ZaWertun. Kudos to him.
Fix #kiwix/kiwix-desktop#123, kiwix/kiwix-desktop#513
and kiwix/kiwix-desktop#423
2020-08-26 12:42:16 +02:00
af9e03904c
Use std::mutex and std::unique_lock instead of pthread mutex/lock.
...
It simplify a bit the code and ensure that mutex is correctly unlock
even in case of exception.
2020-08-26 12:30:56 +02:00