zlog: Upgrade 1.2.19 -> 1.2.20
PATCH 1/2 zlog: Upgrade 1.2.19 -> 1.2.20
Upgrade to release 1.2.20:
- Added zlog_fsync(), to flush the logs to disk on demand.
- Added zlog_is_init(), so a library can tell whether the program around it has already set zlog up.
- Added zlog_category_has_rules(), so a caller can tell a category the configuration covers from one it has never heard of.
- Added zlog_fini_try(), which gives up instead of waiting for the configuration lock. zlog_fini() from a signal handler that interrupted a thread inside zlog waits forever.
- A rotating rule keeps its file open between messages: two syscalls a line instead of four, and about 1.8x faster.
- An oversized message is formatted once instead of twice:
"%.200m" of a 4MB message is about twice as fast, for identical output.
- A message longer than buffer max is truncated instead of being dropped.
- Every %E(NAME) in a format or a file path is replaced, not just the first one. Two of them used to fail zlog_init().
- The rotate lock file falls back to /tmp/zlog.lock when the configuration file is not writable, instead of failing every rotation silently. It is created 0644 rather than 0777, and a symbolic link in its place is refused.
- The pthread return values in the writer thread are checked in release builds too, not only where asserts are compiled in.
- hzlog prints the buffer length in front of the dump.
- Include guards no longer use identifiers reserved to the implementation; the public one is ZLOG_ZLOG_H.
- __DATE__ and __TIME__ are gone, so the build is reproducible.
- Fixed the install and test targets in the top level Makefile.
- zlog.spec is gone: CPack generates its own, and the distributions that package zlog use their own.
- Dead code removed from conf.c, level_list.c and thread.c, and the debug messages removed from CMakeLists.txt.
- The release procedure is written down in doc/developer.md and no longer names a version, the rotate lock file section of the users guide says what the code does, and CLAUDE.md is corrected and translated to English.
- Typos fixed throughout the tree.
- Tests added for zlog_init(NULL), the rotation lock file, buffer max truncation, %E() replacement, and the return values test_press_write2 used to ignore
---
.../recipes-extended/zlog/{zlog_1.2.19.bb => zlog_1.2.20.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-extended/zlog/{zlog_1.2.19.bb => zlog_1.2.20.bb} (85%)meta-oe/recipes-extended/zlog/zlog_1.2.20.bb renamed from meta-oe/recipes-extended/zlog/zlog_1.2.19.bb +1 -1
@@ -4,7 +4,7 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" SRC_URI = "git://github.com/HardySimpson/zlog;branch=master;protocol=https;tag=${PV}" -SRCREV = "728602097c5f07f860f7ca32baecb229d89a2637" +SRCREV = "92b4ad0f60856ae92198d080327bd2c4ed10cd7d" inherit cmake
Signature · 1 line
2.47.3
PATCH 2/2 hunspell: Upgrade 1.7.5 -> 1.7.6
Upgrade to release 1.7.6:
- add, add_with_flags, add_with_affix and remove apply the dictionary's ICONV rules to the word, as spell does, so a caller that converted the word itself must stop doing so
- A personal dictionary exclusion such as *afterwards also rejects the word when the dictionary has it only as an affixed form
- stem and analyze give st: stem fields again with COMPLEXPREFIXES
- analyze lists every analysis of a compound word, where a rejected split of the word could hide the splits after it
- The text and XML parsers check the character after a character entity such as à
- The interactive mode shows the first digit of a two digit suggestion number
- The -a pipe interface checks a line of any length in one piece
- The hunspell tool takes -- as the end of the options, the -u2 sed script escapes the word and the suggestion, and a zipped ODF file whose name starts with - can be checked
- The hunspell tool no longer searches the OpenOffice.org 2.x and 3 folders or LibreOffice's user wordbook folder for dictionaries, and searches /Library/Spelling and ~/Library/Spelling only on macOS
- On Windows, search the share\hunspell, share\myspell and share\myspell\dicts folders of the installation that holds hunspell.exe
- New configure option --disable-tools to build and install only the library
- A static-only build records that in the installed hunvisapi.h, so its users need not define HUNSPELL_STATIC
- Install the Hungarian hunspell.5 in hu/man5
- Use Mozilla's own FileMgr and csutil code in MOZILLA_CLIENT builds
- A CMake build of the library, as an alternative to configure
- New configure option --enable-werror, off by default
- Man page: the fallback dictionary is en_US, the SYNOPSIS lists -u, -U, -u2, -u3, -P and --trace, and -a reads a file with the pipe protocol too
- Build fixes: MinGW, the BSDs, macOS, makealias without gawk or GNU sed, readline and curses detection, and the release tarball ships the CMake files and all the test data
- oss-fuzz and Coverity fixes and hardening
---
.../hunspell/{hunspell_1.7.5.bb => hunspell_1.7.6.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-support/hunspell/{hunspell_1.7.5.bb => hunspell_1.7.6.bb} (96%)meta-oe/recipes-support/hunspell/hunspell_1.7.6.bb renamed from meta-oe/recipes-support/hunspell/hunspell_1.7.5.bb +1 -1
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = " \ file://COPYING.LESSER;md5=c96ca6c1de8adc025adfada81d06fba5 \ " -SRCREV = "e8342700b4dde06130cdbba75f7e6500ffa58864" +SRCREV = "15faca15532b34db3106d50f162e5edc2503d6d6" SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https;tag=v${PV} \ file://run-ptest \ "
Signature · 1 line
2.47.3