... but somehow they all behave "badly", as in they max out memory at 15GB and stay there. I was expecting glib to perform like this, but not jemallor nor tcmalloc.
The memory allocated by `strndup` needs to be freed.
The code has also been changed to not lose the allocation pointer and according to the semantics of `strtok_r` explained here:
https://man.freebsd.org/cgi/man.cgi?query=strtok_r
Also improved messaging.
Co-authored-by: Roland Bosa <roland.bosa@gmail.com>
`libcurl` & `libcairo` are also optional and their usage can now be optionally disabled (along with `libmemcached` & `librados`.)
* No longer test macOS Autotools building
* Also allow overriding `RENDERD_STATS` (defaults to `/run/renderd/renderd.stats`)
* Also allow overriding `REPLICATION_STATE` (defaults to `/home/osm/replicate/state.txt`)
* Updates are no longer available for CentOS Stream 8 since the end of May 2024
* Updates will cease being available for CentOS 7 at the end of June 2024
_And_:
* Remove Fedora 38
* Fix `openSUSE Leap 15` Docker build's default GCC no longer compiles `Mapnik` latest
* C++17 is now required, so a newer GCC will be installed
* Fix for coverage capturing with LCOV 2.1
* Seems to currently only exist on macOS
In order to remove any confusion if the user has duplicate `renderd` sections in their `renderd.conf` file.
Currently with a configuration like this one:
```ini
[renderd]
pid_file=/run/renderd/renderd.pid
socketname=/run/renderd/renderd.sock
stats_file=/run/renderd/renderd.stats
tile_dir=/var/cache/renderd/tiles
[renderd0]
pid_file=/run/renderd/renderd0.pid
socketname=/run/renderd/renderd0.sock
stats_file=/run/renderd/renderd0.stats
tile_dir=/var/cache/renderd/tiles
```
only the second `renderd` section (`renderd0`) will actually be used.
After this patch is merged, an error message will be shown and the application will exit.
* Fixed `render_list` build needs `libm`
* Added tests
* Updated man page
* Created function to set double
* Cleaned up / optimized a bit
* Removed `--dont-render` option
So that workflows will still show as passing when issues arise.
* Build & Test
* debian:unstable
* fedora:rawhide
* ubuntu:devel
* Docker Image Build
* debian-unstable/debian-unstable-autotools
* fedora-rawhide
* opensuse-tumbleweed
* ubuntu-devel/ubuntu-devel-autotools
* Previously it was not actually sending the header
* Now runs in serial, regardless of parallel specification
* Now runs only once, rather than for each map layer
_Also_:
* Removed no-longer used `storage_mutex`
* Was only used for Apache HTTP Server < v2.4
_Also updated all render\_* apps to_:
* Use `MAX_ZOOM` rather than hard-coded values for `--max-zoom`
* Print `metatile` rather than `meta tile`
* Add missing `--help` output to `render_expired` & `render_list`
* Remove redundant `--help` output from `render_list`
_Also_:
* Use `mapnik::freetype_engine::register_fonts` in `gen_tile.cpp` rather than recursing manually
* Available since `Mapnik` v2 which is no longer supported
* Add support for reading `renderd.conf` to `render_expired`
* Add support for reading `renderd.conf` to `render_list`
* Add support for reading `renderd.conf` to `render_old`
* Add support for reading `renderd.conf` to `render_speedtest`
* Move renderd/render_* execution tests to own files
* Reduce variable scope & minor clean up
* Use `stat` rather than `access` to check if file exists