Debian Codegraph @

doc/NEWS

raw
1 ========================================================================
2 Version 1.5.1, by Aleksey Cheusov, Wed, 29 May 2024 19:24:58 +0400
3
4 Improve tests/pr test
5
6 ========================================================================
7 Version 1.5.0, by Aleksey Cheusov, Wed, 29 May 2024 01:20:58 +0400
8
9 Add new function pr_open2 with argument "callback" ran from child
10 process immediately after fork(2) and before execvp(3).
11
12 COPTS defaults to -O2 -g
13
14 Add support for target "help", bump MKC_REQD to 0.34.0
15
16 maa/log.c: fix compilation failure due to -Werror on NetBSD-10.99.10
17 with gcc-10.5.0
18
19 Move WARNS=4 to Makefile.common
20
21 SUBPRJ_DFLT = maa test
22
23 MAXHOSTNAMELEN can be already defined, limit to 64 characters to
24 avoid possible truncation.
25
26 ========================================================================
27 Version 1.4.7, by Aleksey Cheusov, Sat, 11 Apr 2020 01:03:28 +0300
28
29 Fix incorrect work of set_* where hash function generates full
30 ulong_t hash value
31
32 hsh_string_hash generates full 64bit hash value on platforms where
33 sizeof(long) == 8
34
35 Improve build and test system
36
37 tests/err: minor fix, target "test" should not remove _mkc_* and .o files
38
39 Avoid trailing \n in format argument for err_* functions, no need
40 for it any longer
41
42 tests/err/errtest.c: fix another compilation failure due to __wur
43 (warning used result)
44
45 ========================================================================
46 Version 1.4.6, by Aleksey Cheusov, Mon, 30 Mar 2020 21:32:23 +0300
47
48 Add missing fix (compilation failure) for tests/err/errtest.c
49
50 ========================================================================
51 Version 1.4.5, by Aleksey Cheusov, Sun, 29 Mar 2020 20:23:42 +0300
52
53 err_* functions:
54 Fix segfault caused by "ap" is used twice. Solution is to va_copy
55 it and use copied "ap" for printing to stderr.
56
57 Improve formatting (no empty lines in log files)
58
59 err_set_program_name: handle correctly NULL argument
60
61 log_mkpath function: avoid use of alloca(3)
62
63 hsh_pointer_compare function now follows -1/0/1 logic
64
65 Add more tests for log_*, err_*, hsh_* and set_* function
66
67 ========================================================================
68 Version 1.4.4, by Aleksey Cheusov, Tue, 23 Apr 2019 21:50:34 +0300
69
70 Fix compilation failure using gcc-8.
71 Thanks to Robert Luberda!
72
73 ========================================================================
74 Version 1.4.3, by Aleksey Cheusov, Fri, 15 Feb 2019 21:09:58 +0300
75
76 Fix parallel build
77
78 ========================================================================
79 Version 1.4.2, by Aleksey Cheusov, Wed, 7 Mar 2018 1:10:37 +0300
80
81 Fix build failure on SunOS-5.11 (alloca)
82
83 ========================================================================
84 Version 1.4.1, by Aleksey Cheusov, Tue, 27 Feb 2018 20:47:19 +0300
85
86 License has been changed from LGPL to MIT, permitted by Rik Faith,
87 original author of this library.
88
89 Build system changed from autoshit to mk-configure.
90
91 Library version/soname was bumped from 3 to 4. I cannot
92 guarantee that mk-configure and libtool build shared library the
93 same way.
94
95 Tests were added for stk_*, mem_* and prm_* functions.
96
97 stk_isempty function was added.
98
99 stk_* and other was reimplemented without obstack functions (glibc
100 extension).
101
102 ========================================================================
103 Version 1.3.2, by Aleksey Cheusov, Sun, 22 Jul 2012 17:44:37 +0300
104
105 Build failure on cygwin was fixed (sf.net bug #3398121)
106
107 __inline__ directives were removed
108
109 ========================================================================
110 Version 1.3.1, by Aleksey Cheusov, Sat, 22 Oct 2011 12:31:47 +0300
111
112 Build failure with gcc-4.6 was fixed.
113 Thanks to Andrey N. Oktyabrski for the report.
114
115 ========================================================================
116 Version 1.3.0, by Aleksey Cheusov, Sun, 10 Apr 2011 17:44:10 +0300
117
118 Only maa's symbols are exported from libmaa shared
119 library (export.sym).
120 'libtool -export-symbols' is used for this to work.
121 |
122 DUE TO THIS IN ORDER TO AVOID POTENTIAL ABI INCOMPATIBILITIES, I'VE
123 INCREASED MAJOR VERSION OF THE SHARED LIBRARY.
124
125 FIXED: when both stream/file and syslog logging facilities are
126 enabled, log_info() and other logging functions segfault on
127 NetBSD-5.1/x86_64. va_copy magic was needed to fix this problem.
128
129 It is assumed that strchr(3) is always available (no autoconf
130 check). The same for unistd.h header file.
131
132 CFLAGS set by user may override default -Wall -Werror set for GCC.
133
134 Fix for warning messages produced by SunPro compiler (integer
135 overflow detected: op "<<")
136
137 -c flag was added to INSTALL_DATA invocation
138
139 FIXED: compilation error on CentOS-5.4
140
141 FIXED: "make test" failed on OpenBSD-3.8. This system defines intptr_t
142 in inttypes.h, not in stdint.h
143
144 ========================================================================
145 Version 1.2.0, by Aleksey Cheusov, Wed, 18 Nov 2009 23:12:09 +0200
146
147 For better conformance with POSIX/SUS xmalloc, xrealloc and xcalloc
148 functions take 'size_t' args, not 'unsigned int'.
149 Due to change in API a major shared library number is bumped from 1 to 2
150
151 New trivial test for log.c
152
153 fix for sltest.c: on OpenBSD intptr_t is defined in stdint.h
154
155 Makefile.in: GNU make is not required anymore, bsd make is enough
156
157 ========================================================================
158 Version 1.1.1, by Aleksey Cheusov, Sat, 31 Jan 2009 21:42:36 +0200
159
160 Makefile and configure fixes and clean-ups:
161
162 LDFLAGS/LIBS passed to configure script are used to build library
163 and test utilities
164
165 Other minor clean-ups
166
167 fixed: sf.net bug #2473314, test utility sltest.c failed under
168 bigendian platforms.
169
170 ========================================================================
171 Version 1.1.0, by Aleksey Cheusov, Sun, 7 Dec 2008 16:14:32 +0200
172
173 lots of code clean-ups
174
175 MAA_TEENY constant added. Now libmaa has version 1.1.0,
176 new maa_version_teeny function returns MAA_TEENY
177
178 REMOVED: XTRAHEADERS, TARGETLIBS, RPATHFLAGS configure variables.
179 Also removed are --with-purify, --with-insure, --with-efence,
180 --with-checker, --with-local-dmalloc, --with-dmalloc, --with-gprof,
181 --with-prof, --with-cflags and --with-cc options.
182 Use standard CC, CFLAGS, CPPFLAGS, LDFLAGS and LIBS variables
183 for configuring.
184
185 compilation error on ALTlinux fixed: on latest glibc's write(2) is
186 marked as WUR , i.e. return value MUST be checked, otherwise
187 warnigns (errors with -Werror) are generated.
188
189 target 'tests' renamed to 'test',
190 target 'tests-update' renamed to 'test-update'
191
192 Hash_table statistics is removed from settest.c and hashtest.c
193 regression tests. This is because regression tests fail under
194 64-platforms.
195
196 sltest.c (regression test): compilation failure on Linux/x86-64 fixed
197
198 avoid using strdup(3), it is not portable
199 (fails under Interix without -D_ALL_SOURCE).
200 Another compilation fixes for Interix
201
202 avoid using bcopy(3), use standard memcpy(3) instead
203
204 -Werror is used instead of -pedantic (for gcc only)
205
206 If at least one selftest fails (target 'test'), an exit status of
207 'make test' is 1.
208
209 'make test' now works correctly if it is run from
210 external obj/ directory
211
212 no '-g' hardcode for !gcc compilers
213 no '-g -O' for gcc
214
215 ========================================================================
216 Previous versions (1997-2008) were a part of dictd tarball