| 1 |
2026-05-07 Werner Koch <[email protected]> |
| 2 |
|
| 3 |
Release 1.61. |
| 4 |
+ commit 687c9da501c21a64f7dcedfa73146a4670009cea |
| 5 |
|
| 6 |
|
| 7 |
2026-05-03 Werner Koch <[email protected]> |
| 8 |
|
| 9 |
Revert "Fix possible lockup in an atexit handler" |
| 10 |
+ commit ff90817a95208c407c6e5a74eeb585db3b5baff9 |
| 11 |
* src/estream.c (_gpgrt_fflush): Do not use the in_atexit flag. |
| 12 |
|
| 13 |
2026-04-30 Werner Koch <[email protected]> |
| 14 |
|
| 15 |
Fix possible lockup in an atexit handler. |
| 16 |
+ commit 50f0c56bdd36f7f709a62503942ac55399dafb9c |
| 17 |
* src/estream.c (_gpgrt_fflush): Add arg in_atexit and skip the flush in |
| 18 |
this mode if the lock can not be taken. Change all callers. |
| 19 |
|
| 20 |
2026-04-29 Werner Koch <[email protected]> |
| 21 |
|
| 22 |
Fix possible stack overflow in es_printf for %.100f format. |
| 23 |
+ commit f7ded3ce666ca8e27226dfa05b1e6b8636728441 |
| 24 |
* configure.ac: Add test for snprintf. |
| 25 |
* src/gpgrt-int.h: Do not re-map snprintf if KEEP_SYSTEM_SNPRINTF is |
| 26 |
defined. |
| 27 |
* src/estream-printf.c (KEEP_SYSTEM_SNPRINTF): Define. |
| 28 |
(pr_float): Increase static buffer size. Use snprintf for long |
| 29 |
double. |
| 30 |
|
| 31 |
* tests/t-printf.c: Include float.h. |
| 32 |
(check_large_float): New. |
| 33 |
|
| 34 |
2026-04-28 Werner Koch <[email protected]> |
| 35 |
|
| 36 |
Fix out-of-bounds read in vfnameconcat. |
| 37 |
+ commit 48fae7f604398035ab8cb9970301667312231471 |
| 38 |
* src/stringutils.c (_gpgrt_vfnameconcat): Use the correct value for |
| 39 |
the trailing slash check. |
| 40 |
|
| 41 |
2026-04-27 Jakub Bogusz <[email protected]> |
| 42 |
|
| 43 |
po: update Polish translation. |
| 44 |
+ commit e1762f6de18740e62729625bf47c772532095757 |
| 45 |
|
| 46 |
|
| 47 |
2026-04-27 NIIBE Yutaka <[email protected]> |
| 48 |
|
| 49 |
build: Add cross compile support for wasm*-*-emscripten target. |
| 50 |
+ commit 15ccba67c50fdb3db93ba0162e4cedc47921c2f8 |
| 51 |
* configure.ac: Add wasm*-*-emscripten target to generate |
| 52 |
lock-obj-pub.native.h. |
| 53 |
|
| 54 |
2026-04-24 Werner Koch <[email protected]> |
| 55 |
|
| 56 |
Release 1.60. |
| 57 |
+ commit def87da3272626e59bf5100840da2ab2bfa67f30 |
| 58 |
|
| 59 |
|
| 60 |
2026-04-14 NIIBE Yutaka <[email protected]> |
| 61 |
|
| 62 |
build:cross: Remove section name to dump. |
| 63 |
+ commit 98660a48161adcede916c52fbef6cae6d5ccb0f0 |
| 64 |
* src/gen-lock-obj.sh: Don't specify section name. |
| 65 |
|
| 66 |
2026-03-25 m <[email protected]> |
| 67 |
|
| 68 |
autogen.sh: fixed typo. |
| 69 |
+ commit a82d83194590f3fc305b88abdeebd17a45683e3d |
| 70 |
|
| 71 |
|
| 72 |
2026-03-17 Mikhail Filippov <[email protected]> |
| 73 |
|
| 74 |
spawn:w32: Fix use-after-scope of handle array. |
| 75 |
+ commit 7957a1f72005b7eeb7a3f79e6f67e232729df3db |
| 76 |
* src/spawn-w32.c (_gpgrt_process_spawn): Move the hd[32] array |
| 77 |
declaration from inside the inner block to the function scope, so that |
| 78 |
the array remains live when CreateProcessW is called. |
| 79 |
|
| 80 |
2026-03-04 Sachin T <[email protected]> |
| 81 |
|
| 82 |
build: Revert pkg-config requirement. |
| 83 |
+ commit e5a81daca8e0a8238b74ba6cb0e2738d1f60444a |
| 84 |
* configure.ac: Don't use PKG_CHECK_MODULES. |
| 85 |
* src/Makefile.am (mkheader): Remove EXTRA_LIBS_FOR_BUILD. |
| 86 |
|
| 87 |
2026-03-03 NIIBE Yutaka <[email protected]> |
| 88 |
|
| 89 |
build: Put a work-around for AC_LIB_PROG_LD issue. |
| 90 |
+ commit 158a36d23bdab83057352d6fff09618ecab2c7a3 |
| 91 |
* m4/libtool.m4 (AC_LIB_PROG_LD): Define here. |
| 92 |
|
| 93 |
build: Fix m4/Makefile.am. |
| 94 |
+ commit a4951fabc1e5b2d189997a5da5faf927cb18478e |
| 95 |
* m4/Makefile.am: Update. |
| 96 |
|
| 97 |
build: Add forgotten m4 file for gettext. |
| 98 |
+ commit b31584791efc4938a1021f547bd930f8dffbf53a |
| 99 |
* m4/intlmacosx.m4: New. |
| 100 |
* m4/Makefile.am: Update. |
| 101 |
|
| 102 |
2026-02-26 NIIBE Yutaka <[email protected]> |
| 103 |
|
| 104 |
w32:estream: Use INVALID_SOCKET to check invalid socket. |
| 105 |
+ commit c2c60d911b0913081e4a0c0903795f9d9f49fe7b |
| 106 |
* src/estream.c (IS_INVALID_SOCKET): New. |
| 107 |
(func_sock_read, func_sock_write, func_sock_ioctl, func_sock_destroy): |
| 108 |
Use IS_INVALID_SOCKET. |
| 109 |
|
| 110 |
2026-02-18 Werner Koch <[email protected]> |
| 111 |
|
| 112 |
Release 1.59. |
| 113 |
+ commit 3debf5485c4de18f0154ffd80726bc54e6e28a46 |
| 114 |
|
| 115 |
|
| 116 |
2026-02-13 Ineiev <[email protected]> |
| 117 |
|
| 118 |
po: Update Russian translation. |
| 119 |
+ commit 57db619a0a697e494def58cf067352c4101753ca |
| 120 |
|
| 121 |
|
| 122 |
2026-02-04 NIIBE Yutaka <[email protected]> |
| 123 |
|
| 124 |
spawn:w32: Fix with GPGRT_PROCESS_*_KEEP flags. |
| 125 |
+ commit 97c0106a9a771fe015ceb5585b3c10a78663e1fd |
| 126 |
* src/spawn-w32.c (_gpgrt_process_spawn): Don't close |
| 127 |
the handle when GPGRT_PROCESS_*_KEEP is specified. |
| 128 |
|
| 129 |
spawn:w32: Fix preparing the environment block. |
| 130 |
+ commit ce261e592b3bb46bb0373cafd7bcd77c837a67c3 |
| 131 |
* src/spawn-w32.c (prepare_env_block): Copy environment |
| 132 |
variables correctly by memmove. |
| 133 |
|
| 134 |
2026-02-03 NIIBE Yutaka <[email protected]> |
| 135 |
|
| 136 |
spawn:posix: Take care of POSIX semaphore "shared" semantics. |
| 137 |
+ commit 20c673e15bd772ee39f626f8203427b5f47601b7 |
| 138 |
* src/spawn-posix.c (spawn_detached): Don't call _gpgrt_post_syscall |
| 139 |
on the child process. |
| 140 |
(_gpgrt_process_spawn): Likewise. |
| 141 |
|
| 142 |
2026-01-15 NIIBE Yutaka <[email protected]> |
| 143 |
|
| 144 |
build: Fix typos in texinfo.tex. |
| 145 |
+ commit 9a68e459efdf608eddd5a043e7c7cea1d1532ac8 |
| 146 |
* build-aux/texinfo.tex: Fix typos. |
| 147 |
|
| 148 |
2026-01-14 NIIBE Yutaka <[email protected]> |
| 149 |
|
| 150 |
m4: Fix m4 macros for strict C compiler. |
| 151 |
+ commit a05a501008842c22f23aef5be3ce4ebcd138a882 |
| 152 |
* m4/ax_cc_for_build.m4.: Fix for no arg. |
| 153 |
|
| 154 |
build: Remove unused build-aux/libtool.patch. |
| 155 |
+ commit e0517a60eb0441fff567b86f637cb24d0f848379 |
| 156 |
* build-aux/libtool.patch: Remove. |
| 157 |
|
| 158 |
2026-01-09 NIIBE Yutaka <[email protected]> |
| 159 |
|
| 160 |
w32:tests: Fix a test failure for tilde expansion. |
| 161 |
+ commit 4a1381642740210875ac461e21ea5a53a5c67912 |
| 162 |
* tests/t-stringutils.c: [HAVE_W32_SYSTEM] (mygethome): Use |
| 163 |
fnameconcat to get HOME, instead of the environment variable. |
| 164 |
|
| 165 |
2026-01-07 NIIBE Yutaka <[email protected]> |
| 166 |
|
| 167 |
w32:spawn: Handle the case where ->hProcess has invalid handle. |
| 168 |
+ commit 753f59cd2c7af7e2665729721728ce5f9f08013b |
| 169 |
* src/spawn-w32.c (_gpgrt_process_terminat): Care about the case |
| 170 |
it's INVALID_HANDLE_VALUE. |
| 171 |
|
| 172 |
2025-12-12 Werner Koch <[email protected]> |
| 173 |
|
| 174 |
Release 1.58. |
| 175 |
+ commit e880193c55f0321bbefc16be3194fdbb7a48078f |
| 176 |
|
| 177 |
|
| 178 |
w32: Fix a syntax error in a non-DLL build. |
| 179 |
+ commit 421e101cf9760a4bc4f296d12ce25a7c3fe5b7b2 |
| 180 |
* src/w32-utils.c (_gpgrt_w32__init_utils): Fix syntax error. |
| 181 |
|
| 182 |
2025-12-10 Werner Koch <[email protected]> |
| 183 |
|
| 184 |
Release 1.57. |
| 185 |
+ commit 39d7b85a7d69975f1dfec5a0add10b4d57dcfc9e |
| 186 |
|
| 187 |
|
| 188 |
2025-12-09 Werner Koch <[email protected]> |
| 189 |
|
| 190 |
argparse: gpgrt_fconcat to get the SYSCONFDIR. |
| 191 |
+ commit 6fe7cf710254d78ada27fbf63747ab0e97bc6979 |
| 192 |
* src/stringutils.c (_gpgrt_fconcat): New internal function. |
| 193 |
* src/argparse.c (_gpgrt_argparser): Use it. |
| 194 |
|
| 195 |
New function gpgrt_fconcat. |
| 196 |
+ commit 34dba88757fedb61d1ea63616a3e03837ccf50ab |
| 197 |
* src/w32-utils.c: New. |
| 198 |
* src/init.c (_gpg_err_init, DllMain): Call new init function. |
| 199 |
* src/visibility.c (gpgrt_fconcat): New. |
| 200 |
* src/gpg-error.h.in (gpgrt_fconcat): New prototype. |
| 201 |
(GPGRT_FCONCAT_ABS): New. |
| 202 |
(GPGRT_FCONCAT_TILDE): New. |
| 203 |
(GPGRT_FCONCAT_SYSCONF): New. |
| 204 |
* src/gpg-error.def.in (gpgrt_fconcat): New. |
| 205 |
* src/gpg-error.vers: (gpgrt_fconcat): New. |
| 206 |
* src/stringutils.c (_gpgrt_vfnameconcat): Repalce want-abs but a new |
| 207 |
flags arg. Change to support GPGRT_FCONCAT_SYSCONF. Fix tilde |
| 208 |
expansion under Windows to use CISDL_PROFILE instead of $HOME. Adjust |
| 209 |
all callers. |
| 210 |
|
| 211 |
* src/gpg-error.c (main): New command "fconcat". |
| 212 |
|
| 213 |
2025-11-26 Daniel Cerqueira <[email protected]> |
| 214 |
|
| 215 |
po: Update Portuguese Translation. |
| 216 |
+ commit a2a752fe21cce949a7b6b82bd903b46a73cce968 |
| 217 |
|
| 218 |
|
| 219 |
2025-11-26 Werner Koch <[email protected]> |
| 220 |
|
| 221 |
Dynload GetThreadUILanguage to keep support for Windows XP. |
| 222 |
+ commit cb7f580639cc7cc43cf279b0755e8261882b9f93 |
| 223 |
* src/w32-gettext.c (get_thread_ui_language): New func ptr. |
| 224 |
(module_init): Initialize it. |
| 225 |
(my_nl_locale_name): Use it instead of a direct call. |
| 226 |
|
| 227 |
2025-11-26 Ingo Klöcker <[email protected]> |
| 228 |
|
| 229 |
Use UI language instead of locale for translations. |
| 230 |
+ commit 7f3e0c3942812d975fecc75b32493bb0c48b100c |
| 231 |
* src/w32-gettext.c (my_nl_locale_name): Use GetThreadUILanguage instead |
| 232 |
of GetThreadLocale. |
| 233 |
|
| 234 |
2025-11-19 Werner Koch <[email protected]> |
| 235 |
|
| 236 |
build: On zOS use pkg-config to find zoslib. |
| 237 |
+ commit f090f07f1065dca26a013e173f132d39eda973c1 |
| 238 |
* configure.ac (EXTRA_LIBS_FOR_BUILD): Use "openedition" instead of |
| 239 |
"zOS" for build tools checking. Also chnage to use pkg-config. |
| 240 |
|
| 241 |
2025-11-19 Daniel Nylander <[email protected]> |
| 242 |
|
| 243 |
po: Update Swedish translation. |
| 244 |
+ commit baf43baea909603ca22d8bf26661f1503566be54 |
| 245 |
|
| 246 |
|
| 247 |
2025-11-19 NIIBE Yutaka <[email protected]> |
| 248 |
NIIBE Yutaka <[email protected]> |
| 249 |
|
| 250 |
spawn:posix: Rename the field to ENVP to avoid a build issue. |
| 251 |
+ commit 26d740f940b3cbda43e0b06a45c86f21ebc236ed |
| 252 |
* src/spawn-posix.c (struct gpgrt_spawn_actions): Rename the field to |
| 253 |
ENVP. |
| 254 |
(my_exec, _gpgrt_spawn_actions_set_environ): Follow the change. |
| 255 |
|
| 256 |
2025-11-19 NIIBE Yutaka <[email protected]> |
| 257 |
|
| 258 |
argparse: Use SYSCONFDIR for /etc. |
| 259 |
+ commit a9fc729253eec88f56d810bd2a8edd327267c5b4 |
| 260 |
* src/Makefile.am (libgpg_error_la_CPPFLAGS): Add SYSCONFDIR. |
| 261 |
* src/argparse.c (_gpgrt_argparser): Use it. |
| 262 |
|
| 263 |
2025-10-07 Werner Koch <[email protected]> |
| 264 |
|
| 265 |
Release 1.56. |
| 266 |
+ commit b3b68bde07b02dd2b6d78356ac90baa652a309fa |
| 267 |
|
| 268 |
|
| 269 |
estream: Implictly enable sysopen when the the share flag is given. |
| 270 |
+ commit 461cb5a8ea24785ef4f8c5282e09e69bf487fa7f |
| 271 |
* src/estream.c (parse_mode): Fix parsing of "share". Set sysopen |
| 272 |
flag. |
| 273 |
|
| 274 |
estream: Extend the new share keyword to allow all modes. |
| 275 |
+ commit 0b170a499a87abc4a18b6f7d76beb44901fa0cdd |
| 276 |
* src/estream.c (X_SHARE_RW): Replace by ... |
| 277 |
(X_SHARE_CUSTOM,X_SHARE_READ,X_SHARE_WRITE,X_SHARE_DEL): new. |
| 278 |
(func_file_create_w32): Set share_mode accordingly. |
| 279 |
(parse_mode): Extend the "share" keyword. |
| 280 |
|
| 281 |
* src/gpg-error.c (main): Add option --openmode to allow testing of |
| 282 |
the share modes. |
| 283 |
|
| 284 |
2025-10-03 NIIBE Yutaka <[email protected]> |
| 285 |
|
| 286 |
Update copyright and version string in gpg-error.m4. |
| 287 |
+ commit 413b65f34fd1d58ae879412bfa248521ff284b3c |
| 288 |
* src/gpg-error.m4: Update. |
| 289 |
|
| 290 |
2025-10-02 Werner Koch <[email protected]> |
| 291 |
|
| 292 |
estream: New mode keyword "share=rw". |
| 293 |
+ commit 2344947717d29170c918a195541db568648c7aa3 |
| 294 |
* src/estream.c (X_SAMETHREAD): Move to the top. Also for the other |
| 295 |
X_constants. |
| 296 |
(_gpgrt_fopen): Move setting of FILE_FLAG_SEQUENTIAL_SCAN to ... |
| 297 |
(func_file_create_w32): here. Replace arg flags_and_attrs by xflags |
| 298 |
and use cflags to set certain properties. |
| 299 |
(parse_mode): Add mode keyword "share=rw". |
| 300 |
|
| 301 |
2025-09-24 NIIBE Yutaka <[email protected]> |
| 302 |
|
| 303 |
Also fix for test(1) operator -o. |
| 304 |
+ commit a51f30e923670040136dbf68f2a4275f586d129a |
| 305 |
* autogen.sh: Don't use -o operator, but shell ||. |
| 306 |
* src/gpgrt-config.in: Likewise. |
| 307 |
|
| 308 |
2025-09-23 Werner Koch <[email protected]> |
| 309 |
|
| 310 |
Fixes for obsoleted/removed test(1) operator -a. |
| 311 |
+ commit 6344dd1cad8f44b9a6ab39570795479e32bf7058 |
| 312 |
* autogen.sh: Here. |
| 313 |
* configure.ac: And here. |
| 314 |
* src/gen-lock-obj.sh: And here. |
| 315 |
* src/gpg-error.m4 (AM_PATH_GPG_ERROR): And here. |
| 316 |
* src/gpgrt-config.in (eval_compare_version): And here. |
| 317 |
* src/gpgrt.m4 (AM_PATH_GPGRT): And here. |
| 318 |
|
| 319 |
Silence warnings when enabling the trace functions. |
| 320 |
+ commit 3cf07222264c1966333429280059dfed917b36e9 |
| 321 |
* src/w32-estream.c (reader): Use correct printf format specifiers for |
| 322 |
the trace functions. |
| 323 |
|
| 324 |
2025-09-23 NIIBE Yutaka <[email protected]> |
| 325 |
|
| 326 |
w32: Don't convert slash->backslash when it's under Wine. |
| 327 |
+ commit 0313b660f8bd4e82ec8af6da593d745b9e658ce8 |
| 328 |
* src/sysutils.c (_gpgrt_fname_to_wchar): No change under Wine. |
| 329 |
|
| 330 |
w32:spawn: Fix thread-unfriendly internal check. |
| 331 |
+ commit 00a40c0c599fb439facf1af55495d7ca1e496683 |
| 332 |
* src/gpgrt-int.h (_gpgrt_windows_feature): New. |
| 333 |
* src/init.c (windows_specific_init): New. |
| 334 |
(real_init) [HAVE_W32_SYSTEM]: Call windows_specific_init. |
| 335 |
(_gpgrt_windows_feature): New. |
| 336 |
* src/spawn-w32.c (check_windows_version): Remove. |
| 337 |
(_gpgrt_process_spawn): Use _gpgrt_windows_feature. |
| 338 |
|
| 339 |
2025-08-14 Werner Koch <[email protected]> |
| 340 |
|
| 341 |
estream: Support the %b conversion specifier from C23. |
| 342 |
+ commit 6ac5332e4f6988112f4272cfe7a2eee31173ff3f |
| 343 |
* src/estream-printf.c (CONSSPEC_BIN): New. |
| 344 |
(compute_type): Handle it. |
| 345 |
(parse_format): Support 'b'. |
| 346 |
(do_format): Divert 'b' to pr_integer. |
| 347 |
(pr_integer): Print binary format. |
| 348 |
|
| 349 |
* tests/t-printf.c (check_fprintf_sf): Add two simple testcases. |
| 350 |
|
| 351 |
Set build specific variable for zOS. |
| 352 |
+ commit 7ee191f54c2a830767207fb6563380a87f60ddf0 |
| 353 |
* configure.ac (EXTRA_LIBS_FOR_BUILD): New ac_subst. |
| 354 |
* src/Makefile.am (mkheader): Append that var to the rule. |
| 355 |
|
| 356 |
2025-07-20 Ben Kibbey <[email protected]> |
| 357 |
|
| 358 |
syscfg: Add x86_64 Android arch. |
| 359 |
+ commit c6eacfae7c067149b08d07f2cadf2da14f888de5 |
| 360 |
* src/syscfg/lock-obj-pub.x86_64-unknown-linux-androideabi.h: New. |
| 361 |
* src/Makefile.am (lock_obj_pub): Add it. |
| 362 |
|
| 363 |
syscfg: Add i686 Android arch. |
| 364 |
+ commit 7e05d3bda6ad10d564d151fa2c4c4939aa8892d4 |
| 365 |
* src/syscfg/lock-obj-pub.i686-unknown-linux-androideabi.h: New. |
| 366 |
* src/Makefile.am (lock_obj_pub): Add it. |
| 367 |
|
| 368 |
syscfg: Add armv7a alias to arm for Android. |
| 369 |
+ commit 5caa2a6944ec12593a12aba772cfde5efc73b019 |
| 370 |
* src/mkheader.c (canon_host_triplet): Add alias. |
| 371 |
|
| 372 |
syscfg: Add 64-bit Android arch. |
| 373 |
+ commit 587287c4a735b68ff3405ffcd2ea02da4ca82282 |
| 374 |
* src/syscfg/lock-obj-pub.aarch64-unknown-linux-androideabi.h: New. |
| 375 |
* src/Makefile.am (lock_obj_pub): Add it. |
| 376 |
|
| 377 |
2025-07-16 NIIBE Yutaka <[email protected]> |
| 378 |
|
| 379 |
w32:spawn: Support pipe I/O for GPGRT_PROCESS_DETACHED. |
| 380 |
+ commit 8a38d914512ca928ffa5c79199bd410c9324e0e6 |
| 381 |
* src/spawn-w32.c (struct gpgrt_spawn_actions): Add detached field. |
| 382 |
(spawn_detached): Merge into ... |
| 383 |
(_gpgrt_process_spawn): ... here, supporting pipe I/O. |
| 384 |
(_gpgrt_process_release): Handle detached process. |
| 385 |
(_gpgrt_process_wait_list): Likewise. |
| 386 |
|
| 387 |
2025-07-15 NIIBE Yutaka <[email protected]> |
| 388 |
|
| 389 |
w32:spawn: New flag GPGRT_PROCESS_STDIO_NUL. |
| 390 |
+ commit 311fb769d1ddb1aa6d7463b5b516359afebf208a |
| 391 |
* src/gpg-error.h.in (GPGRT_PROCESS_STDIO_NUL): New. |
| 392 |
* src/spawn-w32.c (w32_open_null): Add ENABLE_NULL_DEVICE argument. |
| 393 |
(_gpgrt_process_spawn): Follow the change. |
| 394 |
|
| 395 |
w32:spawn: Fix resource leaks for HANDLEs by w32_open_null. |
| 396 |
+ commit f28bf71b86ba6eac4260084f3a164a5c273c4628 |
| 397 |
* src/spawn-w32.c (_gpgrt_process_spawn): Don't modify hd fields in |
| 398 |
ACT. Clean up use of hd_in, hd_out, and hd_err. |
| 399 |
|
| 400 |
2025-07-14 NIIBE Yutaka <[email protected]> |
| 401 |
|
| 402 |
w32:spawn: Fix inheriting HANDLEs. |
| 403 |
+ commit 0b01950237abe1cc28ef1fa5459e20c300af0946 |
| 404 |
* src/spawn-w32.c (spawn_detached): Use EXTENDED_STARTUPINFO_PRESENT |
| 405 |
to enable lpAttributeList in STARTUPINFOEXW. |
| 406 |
(_gpgrt_process_spawn): Likewise. |
| 407 |
|
| 408 |
2025-07-02 NIIBE Yutaka <[email protected]> |
| 409 |
|
| 410 |
gpgrt-config: It's gcc which supports -print-search-dirs option. |
| 411 |
+ commit cac7168088147a4d308b5ae7482135bc00db9f69 |
| 412 |
* src/gpgrt-config.in (determine_gpgrt_libdir): Default to gcc. |
| 413 |
|
| 414 |
2025-07-01 NIIBE Yutaka <[email protected]> |
| 415 |
|
| 416 |
spawn: Define _GPGRT_NEED_AFLOCAL for OS without AF_LOCAL. |
| 417 |
+ commit dffca928fbc94dd738c8a118eb64e0889441c077 |
| 418 |
* src/spawn-posix.c (_GPGRT_NEED_AFLOCAL): Add. |
| 419 |
|
| 420 |
2025-06-26 NIIBE Yutaka <[email protected]> |
| 421 |
|
| 422 |
spawn:posix: Use 1024 for arbitrary limit, following GPGME. |
| 423 |
+ commit 6cb61bb9cb552c430cc3a466ee056df5ed5a06e1 |
| 424 |
* src/spawn-posix.c (get_max_fds): Use 1024 (was: 256). |
| 425 |
|
| 426 |
spawn:posix: Add an improvement when closefrom is not available. |
| 427 |
+ commit d302aff1eff1c51240007a75a1b2d7c08b326055 |
| 428 |
* src/gpgrt-int.h (_gpgrt_close_all_fds): Fix function declaration. |
| 429 |
* src/spawn-posix.c (USE_GET_MAX_FDS): Define when closefrom is not |
| 430 |
available. |
| 431 |
(get_max_fds): Add an argument of FALLBACK_MAX_FDS. |
| 432 |
(_gpgrt_close_all_fds, my_exec, spawn_detached): Likewise. |
| 433 |
(_gpgrt_process_spawn): [USE_GET_MAX_FDS && _SC_OPEN_MAX]: It's a |
| 434 |
parent process which calls sysconf. |
| 435 |
|
| 436 |
posix:spawn: Use getdents64 when closefrom is not available. |
| 437 |
+ commit 9cc016c38df1531d6081317bfcc7ea705172e2ac |
| 438 |
* configure.ac (AC_CHECK_FUNCS): Check getdents64. |
| 439 |
* src/spawn-posix.c [!HAVE_CLOSEFROM] (get_max_fds): Use getdents64 |
| 440 |
instead of readdir, for AS-Safety. |
| 441 |
|
| 442 |
2025-06-23 NIIBE Yutaka <[email protected]> |
| 443 |
|
| 444 |
spawn:posix: Fix spawning a process on POSIX machine. |
| 445 |
+ commit 2c029e737e88494038b5143f1232b458977f31d4 |
| 446 |
* src/spawn-posix.c (get_max_fds): Don't use _POSIX_OPEN_MAX, since |
| 447 |
it's irrelevant; It's a minimum value of OPEN_MAX. |
| 448 |
|
| 449 |
2025-06-16 Werner Koch <[email protected]> |
| 450 |
|
| 451 |
w32: Allow building on Windows with gcc < 12. |
| 452 |
+ commit 1d4e09c9b1b184d0369a90c2adacab8f197310f6 |
| 453 |
* src/spawn-w32.c (_WIN32_WINNT): Define. |
| 454 |
|
| 455 |
2025-06-10 Collin Funk via Gnupg-devel <[email protected]> |
| 456 |
|
| 457 |
argparse: Remove a duplicated condition. |
| 458 |
+ commit 0cee6a44f8a22c8a015115bd5567e25e207cdbfe |
| 459 |
* src/argparse.c (emulated_registry_lookup): Remove duplicated |
| 460 |
condition. |
| 461 |
|
| 462 |
2025-05-28 Werner Koch <[email protected]> |
| 463 |
|
| 464 |
libtool: Add support for zOS. |
| 465 |
+ commit c42825f1612b13c27c2472c4190d64655891078b |
| 466 |
* m4/libtool.m4: Add casefor openedition. |
| 467 |
|
| 468 |
2025-05-28 NIIBE Yutaka <[email protected]> |
| 469 |
|
| 470 |
argparse: Fix a memory leak. |
| 471 |
+ commit ba7ed54668e4d7baea563f8b94cc887a41642f8d |
| 472 |
* src/argparse.c (handle_meta_echo): Free the STRING. |
| 473 |
|
| 474 |
yat2m: Release the memory after the use. |
| 475 |
+ commit 98d8f3d396b58d3086fd0416246908eba078917b |
| 476 |
* doc/yat2m.c (add_content): Fix the type of LINE. |
| 477 |
(finish_page): Clean up. |
| 478 |
|
| 479 |
2025-04-24 Werner Koch <[email protected]> |
| 480 |
|
| 481 |
Release 1.55. |
| 482 |
+ commit 99381397a06564fd8ae1c623c11036a5da099a4f |
| 483 |
|
| 484 |
|
| 485 |
Add commands mkdir and chdir to gpg-error. |
| 486 |
+ commit c002490a8f6dda044ae41118a6019da9ea3fc98c |
| 487 |
* src/gpg-error.c (main): Add new commands mkdir and chdir. Allow for |
| 488 |
commands w/o dashes. |
| 489 |
|
| 490 |
w32: Yet another extended length path kludge. |
| 491 |
+ commit fba44d619d388aa413f4f50756c287a722437475 |
| 492 |
* src/sysutils.c (_gpgrt_fname_to_wchar): Change threshold from 255 |
| 493 |
to 250. |
| 494 |
|
| 495 |
2025-04-22 Werner Koch <[email protected]> |
| 496 |
|
| 497 |
w32: More changes to the extended length path handling. |
| 498 |
+ commit 65114f24e13f835a289f791ed7a5e408b2843d59 |
| 499 |
* src/sysutils.c (has_path_separator): New. |
| 500 |
(_gpgrt_fname_to_wchar): Rewrite to add the prefix only when needed. |
| 501 |
---- |
| 502 |
|
| 503 |
GetFullPathNameW has no MAX_PATH limit and thus can be used with any |
| 504 |
input. We now prefix the resulting absolute path after the call to |
| 505 |
GFPN. This allows to check whether the CWD is an UNC and thus use the |
| 506 |
right prefix. We also don't run the entire thing for just a drive |
| 507 |
letter etc and further skip the prefix if the absolute path is less |
| 508 |
than MAX_PATH. This gives better backward compatibility. |
| 509 |
|
| 510 |
There is also now a GPGRT_DISABLE_EXTLENPATH=-2 which does not disable |
| 511 |
the extended path handling but enables debug output. To actually |
| 512 |
disable the feature a positive value must be used. |
| 513 |
|
| 514 |
Updates-commit 28ae4ee194ec56e98123d3aceda130161dfd2df8 |
| 515 |
|
| 516 |
2025-04-21 NIIBE Yutaka <[email protected]> |
| 517 |
|
| 518 |
Mark the initializations with __nonstring__ attribute. |
| 519 |
+ commit 1c58363541fcc331511d067ce388f32298fd8d29 |
| 520 |
* src/b64enc.c (bintoasc): Use GPGRT_ATTR_NONSTRING. |
| 521 |
* src/gpg-error.h.in (GPGRT_ATTR_NONSTRING): New. |
| 522 |
|
| 523 |
2025-04-17 Werner Koch <[email protected]> |
| 524 |
|
| 525 |
Release 1.54. |
| 526 |
+ commit 9d47a0f1f8ae0b9aa4c2d0c230c08c8fbe243f42 |
| 527 |
|
| 528 |
|
| 529 |
2025-04-16 Werner Koch <[email protected]> |
| 530 |
|
| 531 |
w32: Fix extended length path handling for UNC specified files. |
| 532 |
+ commit 28ae4ee194ec56e98123d3aceda130161dfd2df8 |
| 533 |
* src/sysutils.c (_gpgrt_fname_to_wchar): Fix the extended length path |
| 534 |
support for UNC file names. Also add an envvar to disable the entire |
| 535 |
extended length path support. |
| 536 |
|
| 537 |
Add command --fopen to gpg-error to help testing. |
| 538 |
+ commit 3c9beea348cdeaa3f3026a934b40badfb4d4bab2 |
| 539 |
* src/gpg-error.c (main): Implement command --fopen. Also ignore log |
| 540 |
file settings from the Registry. |
| 541 |
|
| 542 |
2025-04-09 Werner Koch <[email protected]> |
| 543 |
|
| 544 |
Release 1.53. |
| 545 |
+ commit f9e98ed8315eaf0468870149d22c5dcf992288ec |
| 546 |
|
| 547 |
|
| 548 |
tests: Check that we do not use the es macros in the public API. |
| 549 |
+ commit 26b876030dbda890b9630595419b422aa182c0dd |
| 550 |
* tests/t-version.c: Undef the macros. |
| 551 |
|
| 552 |
2025-04-09 NIIBE Yutaka <[email protected]> |
| 553 |
|
| 554 |
Use gpgrt_stream_t for the API of gpgrt_nvc_*. |
| 555 |
+ commit 32475a7868f5e2e1c274a65ecc6791375054eaa4 |
| 556 |
* src/gpg-error.h.in (gpgrt_nvc_parse): Use gpgrt_stream_t. |
| 557 |
(gpgrt_nvc_write): Likewise. |
| 558 |
|
| 559 |
2025-04-08 Werner Koch <[email protected]> |
| 560 |
|
| 561 |
Release 1.52. |
| 562 |
+ commit be471d158e4951f4b17335b0fc9ae2387a786b5b |
| 563 |
|
| 564 |
|
| 565 |
2025-04-07 Werner Koch <[email protected]> |
| 566 |
|
| 567 |
argparse: Make getreg meta command work on Unix. |
| 568 |
+ commit 9864dd4d66342cca340f8ebe57f46b2fa274bac0 |
| 569 |
* src/argparse.c (_gpgrt_argparse_internal_s): Add fields no_registry |
| 570 |
and registry. |
| 571 |
(initialize): Init them. |
| 572 |
(emulated_registry_lookup): New. |
| 573 |
(handle_meta_getenv): Use it. |
| 574 |
* tests/etc/t-argparse.conf: Add a getreg meta command. |
| 575 |
* tests/t-argparse.c (opt): Add a disable-akr command. |
| 576 |
* tests/etc/Registry: New. |
| 577 |
|
| 578 |
Add a section mode to the name-value functions. |
| 579 |
+ commit d0b7d33536736ef6f3d41575b6f58b2d3a7c139b |
| 580 |
* src/gpg-error.h.in (GPGRT_NVC_SECTION): New. |
| 581 |
* src/name-value.c (_gpgrt_name_value_container): Add section_mode. |
| 582 |
(_gpgrt_nvc_new): Set it. |
| 583 |
(_gpgrt_nvc_get_flag): Return it. |
| 584 |
(valid_name): Add arg sectionmode and change callers. |
| 585 |
(do_nvc_parse): Parse section names in section mode. |
| 586 |
(_gpgrt_nvc_write): Return an error in section mode. |
| 587 |
|
| 588 |
Allow name-value lookup w/o a trailing colon for the name. |
| 589 |
+ commit afb277e5bdd92c16a4fdbd33b89dab4c03a5ae62 |
| 590 |
* src/name-value.c (_gpgrt_name_value_entry): Add field namelen. |
| 591 |
(ascii_memcasecmp): New. |
| 592 |
(same_name_p): New. |
| 593 |
(valid_name): Strip the colon and return the length. |
| 594 |
(do_nvc_add): Set namelen. |
| 595 |
(_gpgrt_nvc_lookup): Simplify. |
| 596 |
|
| 597 |
* tests/t-name-value.c (test_getting_values): Add some extra tests. |
| 598 |
|
| 599 |
New public API gpgrt_nvc_* and gpgrt_nve_* |
| 600 |
+ commit 7ec1f27b60eec95297c5267ab5ebbdb73b263c3f |
| 601 |
* src/name-value.c: New. |
| 602 |
* tests/t-name-value.c: New. |
| 603 |
* src/gpg-error.def.in: Add new functions. |
| 604 |
* src/gpg-error.h.in: Ditto. |
| 605 |
* src/gpg-error.vers: Ditto. |
| 606 |
* src/visibility.c: Ditto. |
| 607 |
* src/visibility.h: Ditto. |
| 608 |
|
| 609 |
Update the copyright notice. |
| 610 |
+ commit 17bb01f86d1d75bb57418a0101c0f08a49bfdd07 |
| 611 |
* configure.ac (GPGRT_STD_COPYRIGHT_LINE): New. |
| 612 |
* src/gpg-error.c (my_strusage): Use it here. |
| 613 |
|
| 614 |
2025-04-04 Werner Koch <[email protected]> |
| 615 |
|
| 616 |
w32: Improve the detection of the need for a \\?\ prefix. |
| 617 |
+ commit a4a692fcf1ed128693ec6d64d5e3163775aad10b |
| 618 |
* src/sysutils.c (_gpgrt_fname_to_wchar): Use the no-max-path prefix |
| 619 |
for shorter files and for filenames with path separators. |
| 620 |
|
| 621 |
Add test cases for the strlist functions. |
| 622 |
+ commit b6b0af7d4eb2c65318ac87253dc3979f99b301dd |
| 623 |
* tests/t-strlist.c: new. |
| 624 |
|
| 625 |
tests: Add macros to improve the debug output. |
| 626 |
+ commit be036dccd756e326470afcd7928a1d20790fc24a |
| 627 |
* tests/t-common.h (current_func): New var. |
| 628 |
(enter_test_function, leave_test_function): New macros. |
| 629 |
(die, fail, show): Print the fucntion name. |
| 630 |
|
| 631 |
2025-04-01 Werner Koch <[email protected]> |
| 632 |
|
| 633 |
New public API gpgrt_strlist_* |
| 634 |
+ commit 47097806f13d93daffb73b4221f3f18a99f66b2b |
| 635 |
* src/strlist.c: Rename all functions to have a _gpgrt_strlist prefix. |
| 636 |
(append_to_strlist2, strlist_length): Remove. |
| 637 |
(_gpgrt_strlist_free): rtake care of the wipe flag. |
| 638 |
(_gpgrt_strlist_add): Add a flags arg to use it for prepend and |
| 639 |
append. Return an error on failure. |
| 640 |
(_gpgrt_strlist_tokenize): Ditto. |
| 641 |
(_gpgrt_strlist_copy): Chnage to return an error on failure. |
| 642 |
(_gpgrt_strlist_pop): Ditto. |
| 643 |
* src/Makefile.am (libgpg_error_la_SOURCES): Add strlist.c. |
| 644 |
* src/argparse.c (trim_spaces): Move to ... |
| 645 |
* src/stringutils.c (_gpgrt_trim_spaces): here and rename. |
| 646 |
* src/visibility.c: Add wrappers for all exported functions. |
| 647 |
* src/visibility.h: MArk exported functions as visisble. |
| 648 |
* src/gpg-error.def.in: Export new functions |
| 649 |
* src/gpg-error.vers: Ditto. |
| 650 |
* src/gpg-error.h.in (GPGRT_STRLIST_APPEND): New. |
| 651 |
(GPGRT_STRLIST_WIPE): New. |
| 652 |
(gpgrt_strlist_free): New. |
| 653 |
(gpgrt_strlist_add): New. |
| 654 |
(gpgrt_strlist_tokenize): New. |
| 655 |
(gpgrt_strlist_copy): New. |
| 656 |
(gpgrt_strlist_rev): New. |
| 657 |
(gpgrt_strlist_prev): New. |
| 658 |
(gpgrt_strlist_last): New. |
| 659 |
(gpgrt_strlist_pop): New. |
| 660 |
(gpgrt_strlist_find): New. |
| 661 |
(gpgrt_strlist_count): New inline function. |
| 662 |
|
| 663 |
2025-02-21 Ingo Klöcker <[email protected]> |
| 664 |
|
| 665 |
Fix logic for finding the beta version number. |
| 666 |
+ commit 542b6fce139047b5a0fa42ae11179a2308ac8f9e |
| 667 |
* autogen.sh: Check if $tmp is empty after each assignment. |
| 668 |
|
| 669 |
2025-02-06 NIIBE Yutaka <[email protected]> |
| 670 |
|
| 671 |
gpgrt-config: Append default directory to PKG_CONFIG_PATH. |
| 672 |
+ commit dbf1e0dc47229384d59cb19084de39a855e5c871 |
| 673 |
* src/gpgrt-config.in: Fix initializing PKG_CONFIG_PATH. |
| 674 |
|
| 675 |
2025-01-22 NIIBE Yutaka <[email protected]> |
| 676 |
|
| 677 |
Skip gpg-error-config-test.sh for specific incompatible pkg-config. |
| 678 |
+ commit b6df311368133df90c3bf338fbf5c90bd8d950f8 |
| 679 |
* src/gpg-error-config-test.sh.in: Skip the test with pkgconf 1.8.0. |
| 680 |
|
| 681 |
2025-01-15 NIIBE Yutaka <[email protected]> |
| 682 |
|
| 683 |
build: Remove defining GPG_ERR_ENABLE_ERRNO_MACROS. |
| 684 |
+ commit 71756ce3735183ddf7c340e071fa649c446e262c |
| 685 |
* configure.ac (GPG_ERR_ENABLE_ERRNO_MACROS): Remove. |
| 686 |
|
| 687 |
2025-01-14 NIIBE Yutaka <[email protected]> |
| 688 |
|
| 689 |
spawn: Care about closefrom/close call is interrupted. |
| 690 |
+ commit 0f4fe2edf5e50cc72b3decea486f2cf57d265d8e |
| 691 |
* src/spawn-posix.c (closefrom_really): Handle interrupted call of |
| 692 |
closefrom. |
| 693 |
(close_except): Likewise for call of close. |
| 694 |
(_gpgrt_close_all_fds): Use closefrom_really and close_except. |
| 695 |
|
| 696 |
2025-01-08 NIIBE Yutaka <[email protected]> |
| 697 |
|
| 698 |
spawn: Use closefrom when available. |
| 699 |
+ commit e3e793302b67e37727caf11a868b5b91d7c13f8c |
| 700 |
* configure.ac (AC_CHECK_FUNCS): Check closefrom. |
| 701 |
* src/spawn-posix.c [HAVE_CLOSEFROM]: Use closefrom if possible. |
| 702 |
|
| 703 |
2024-12-12 Werner Koch <[email protected]> |
| 704 |
|
| 705 |
New Windows API gpgrt_w32_reg_get_string. |
| 706 |
+ commit 652328c786f37e3a3de5c3b143ce9e0d524bfeb4 |
| 707 |
* src/w32-reg.c (_gpgrt_w32_reg_query_string): Implement a prefix for |
| 708 |
root and consider an empty string for root also HKCU. |
| 709 |
* src/visibility.c (gpgrt_w32_reg_get_string): New. |
| 710 |
* src/gpg-error.def.in: Add new function. |
| 711 |
|
| 712 |
* src/gpg-error.c (my_strusage): Print the Windows version (32 or 64 |
| 713 |
bit) of the binary. |
| 714 |
(main): New command --getreg. |
| 715 |
|
| 716 |
2024-12-03 Werner Koch <[email protected]> |
| 717 |
|
| 718 |
Minor cleanness fix for autogen.sh. |
| 719 |
+ commit 65a4bc30d99aada8e5f17711bc5a4ff242d22881 |
| 720 |
* autogen.sh (w32root): Remove double slash in case of HOME=/. |
| 721 |
|
| 722 |
2024-12-02 Daniel Cerqueira <[email protected]> |
| 723 |
|
| 724 |
po: Update Portuguese Translation. |
| 725 |
+ commit 7baf9f6b4030012a9d813d5e0c108dd836479ad4 |
| 726 |
|
| 727 |
|
| 728 |
2024-11-21 Werner Koch <[email protected]> |
| 729 |
|
| 730 |
autogen.sh: New command --print-tsdir. |
| 731 |
+ commit e15a7c411dcadb229f4ff1ae0259c51dde9fd535 |
| 732 |
* autogen.sh: New command --print-tsdir. |
| 733 |
(maintainer_mode_option): Allow setting via autogen.rc |
| 734 |
|
| 735 |
2024-11-14 NIIBE Yutaka <[email protected]> |
| 736 |
|
| 737 |
spawn:w32: Fix a memory leak on an error path. |
| 738 |
+ commit eb005c30157f4ce0cd335955f13567dda03685e3 |
| 739 |
* src/spawn-w32.c (spawn_detached): Make sure to release |
| 740 |
lpAttributeList. |
| 741 |
(_gpgrt_process_spawn): Likewise. |
| 742 |
|
| 743 |
2024-11-11 Werner Koch <[email protected]> |
| 744 |
|
| 745 |
Release 1.51. |
| 746 |
+ commit b0bb9266010d84b30fa2dc6a2127b7e40dc03660 |
| 747 |
|
| 748 |
|
| 749 |
2024-10-23 NIIBE Yutaka <[email protected]> |
| 750 |
|
| 751 |
Avoid use of 'nullptr' for an identifier. |
| 752 |
+ commit d14c69a7f256a9444c5c64b808d8767e5a8ba68e |
| 753 |
* tests/t-printf.c (check_fprintf_sf): Use 'null_ptr' |
| 754 |
as an identifier. |
| 755 |
|
| 756 |
2024-10-16 NIIBE Yutaka <[email protected]> |
| 757 |
|
| 758 |
spawn: Shorter identifier gpgrt_spawn_actions_set_env_rev. |
| 759 |
+ commit 1bca948594d9f8c26231bfb7ff7b2f3ebf9df295 |
| 760 |
* src/gpg-error.def.in: Rename to gpgrt_spawn_actions_set_env_rev. |
| 761 |
* src/gpg-error.h.in: Likewise. |
| 762 |
* src/gpg-error.vers: Likewise. |
| 763 |
* src/gpgrt-int.h: Likewise. |
| 764 |
* src/spawn-posix.c: Likewise. |
| 765 |
* src/spawn-w32.c: Likewise. |
| 766 |
* src/visibility.c: Likewise. |
| 767 |
* src/visibility.h: Likewise. |
| 768 |
* tests/t-spawn.c (run_test): Use gpgrt_spawn_actions_set_env_rev. |
| 769 |
|
| 770 |
2024-10-11 NIIBE Yutaka <[email protected]> |
| 771 |
|
| 772 |
spawn: Add new function to modify environment. |
| 773 |
+ commit 1860f6407f834b681c21f67db7236eaad161524c |
| 774 |
* src/gpg-error.def.in (gpgrt_spawn_actions_set_envchange): New. |
| 775 |
* src/gpg-error.vers (gpgrt_spawn_actions_set_envchange): New. |
| 776 |
* src/gpg-error.h.in (gpgrt_spawn_actions_set_envchange): New. |
| 777 |
* src/gpgrt-int.h (_gpgrt_spawn_actions_set_envchange): New. |
| 778 |
* src/spawn-posix.c (struct gpgrt_spawn_actions): New field ENVCHANGE. |
| 779 |
(prepare_environ): New. |
| 780 |
(my_exec): Take care of ENVCHANGE. |
| 781 |
(_gpgrt_spawn_actions_set_envchange): New. |
| 782 |
* src/spawn-w32.c (struct gpgrt_spawn_actions): New field ENVCHANGE. |
| 783 |
(prepare_env_block): New. |
| 784 |
(_gpgrt_spawn_actions_set_envchange): New. |
| 785 |
(spawn_detached, _gpgrt_process_spawn): Take care of ENVCHANGE. |
| 786 |
* src/visibility.c (gpgrt_spawn_actions_set_envchange): New. |
| 787 |
* src/visibility.h (gpgrt_spawn_actions_set_envchange): New. |
| 788 |
* tests/Makefile.am (TESTS): Add t-spawn. |
| 789 |
* tests/t-spawn.c: New. |
| 790 |
|
| 791 |
2024-10-10 NIIBE Yutaka <[email protected]> |
| 792 |
|
| 793 |
w32: Fix releasing memory for UTF-8 text. |
| 794 |
+ commit 68600fe17c5f8c72e421b5ca9d9622568c6f57fd |
| 795 |
* src/spawn-w32.c (spawn_detached): Use _gpgrt_free_wchar. |
| 796 |
(_gpgrt_process_spawn): Likewise. |
| 797 |
|
| 798 |
2024-09-24 Werner Koch <[email protected]> |
| 799 |
|
| 800 |
estream: Let poll return an error for a closed fd. |
| 801 |
+ commit 4a3dc85f695e6448e6279dc48894b500168f42f9 |
| 802 |
* src/estream.c (_gpgrt_poll): Set got_nval. |
| 803 |
|
| 804 |
2024-09-19 NIIBE Yutaka <[email protected]> |
| 805 |
|
| 806 |
posix: Fix forgotten _gpgrt_post_syscall on error path. |
| 807 |
+ commit bcab96484d4858fcde669b36d309ab7fbc79174e |
| 808 |
* src/spawn-posix.c (do_create_pipe_and_estream): Call post_syscall. |
| 809 |
|
| 810 |
posix: Fix memory leak for spawn. |
| 811 |
+ commit 4a0c942151da91ad75dbb45d4dc10c4751ee28e4 |
| 812 |
* src/spawn-posix.c (spawn_detached): Free ARGV. |
| 813 |
|
| 814 |
2024-09-16 NIIBE Yutaka <[email protected]> |
| 815 |
|
| 816 |
w32:spawn: Remove unused function get_max_fds. |
| 817 |
+ commit c2a713fe11e35b4567e0c7d2a20d8ab416b366ad |
| 818 |
* src/spawn-w32.c (get_max_fds): Remove. |
| 819 |
|
| 820 |
2024-09-06 NIIBE Yutaka <[email protected]> |
| 821 |
|
| 822 |
w32: Clarify the environment block encoding. |
| 823 |
+ commit 0f7b327ccf6d2018b193d5598c4a8a338f874a59 |
| 824 |
* src/spawn-w32.c (_gpgrt_spawn_actions_set_envvars): It's an ASCII |
| 825 |
string. |
| 826 |
|
| 827 |
2024-08-27 NIIBE Yutaka <[email protected]> |
| 828 |
|
| 829 |
w32: Add GPGRT_PROCESS_ALLOW_SET_FG for gpgrt_process_spawn. |
| 830 |
+ commit b79d4206f482b323fb9f9d52a1c715e853752195 |
| 831 |
* src/gpg-error.h.in (GPGRT_PROCESS_ALLOW_SET_FG): New. |
| 832 |
* src/spawn-w32.c (_gpgrt_process_spawn): Support the flag. |
| 833 |
|
| 834 |
2024-08-02 Werner Koch <[email protected]> |
| 835 |
|
| 836 |
w32: Allow initialization of new threads to utf8 mode. |
| 837 |
+ commit 7f36440d90964ffe809064365cb16033ba1dda69 |
| 838 |
* src/init.c (utf8_for_new_threads): New var. |
| 839 |
(_gpgrt_w32_utf8_for_new_threads): New func. |
| 840 |
(get_tls): Init the TLS utf8 flag from the new var. |
| 841 |
* src/w32-gettext.c (_gpg_w32_gettext_use_utf8): Implement new flag. |
| 842 |
|
| 843 |
2024-07-04 Werner Koch <[email protected]> |
| 844 |
|
| 845 |
Put the full commit id into VERSION. |
| 846 |
+ commit 9c448f7c7a55c8293cd33ea0fcd33dd42032504d |
| 847 |
* autogen.sh <find-version>: Also print the full commit id. |
| 848 |
* configure.ac: Get the full commit id. Add it to VERSION. |
| 849 |
(BUILD_REVISION): Replace this ac_define by |
| 850 |
(BUILD_COMMITID): this. |
| 851 |
* src/version.c (cright_blurb): Use here. |
| 852 |
|
| 853 |
2024-06-20 Werner Koch <[email protected]> |
| 854 |
|
| 855 |
core: Declare environ for macOS and others. |
| 856 |
+ commit a59e902b887fd92337c9728f668cf9c89da3957a |
| 857 |
* src/spawn-posix.c (environ): Declare. |
| 858 |
|
| 859 |
2024-06-19 Werner Koch <[email protected]> |
| 860 |
|
| 861 |
Release 1.50. |
| 862 |
+ commit bb732615daad9bba9026354ae90f0f5292ea4908 |
| 863 |
|
| 864 |
|
| 865 |
spawn: New flag GPGRT_PROCESS_NO_EUID_CHECK. |
| 866 |
+ commit bdd1060445fa358d3ca3f1f98334de60cd5d6c10 |
| 867 |
* src/gpg-error.h.in (GPGRT_PROCESS_NO_EUID_CHECK): New. |
| 868 |
* src/spawn-posix.c (spawn_detached): Move check to ... |
| 869 |
(_gpgrt_process_spawn): here and skip if flag is set. |
| 870 |
|
| 871 |
spawn: Keep struct definitions at the top of the file. |
| 872 |
+ commit 0078afb8c60af2c61c01688ca52f51ca95b25721 |
| 873 |
* src/spawn-posix.c: Move include and struct defs around. |
| 874 |
* src/spawn-w32.c: Move struct defs around. |
| 875 |
|
| 876 |
2024-06-13 NIIBE Yutaka <[email protected]> |
| 877 |
|
| 878 |
Apply spell fix. |
| 879 |
+ commit 82a34b733d89b2c3ebc45d8124378ada19017a65 |
| 880 |
* src/gpg-error.m4: Apply spell fix from GnuPG master. |
| 881 |
|
| 882 |
Fix gpg-error.m4. |
| 883 |
+ commit c690e6e3655e7d9db79cd07cfacf3234ecd548cf |
| 884 |
* src/gpg-error.m4 (_AM_PATH_GPGRT_CONFIG): Don't set |
| 885 |
gpg_error_config_version. |
| 886 |
(AM_PATH_GPG_ERROR): Set GPG_ERROR_CONFIG here and set |
| 887 |
gpg_error_config_version with GPG_ERROR_CONFIG. |
| 888 |
|
| 889 |
2024-06-07 NIIBE Yutaka <[email protected]> |
| 890 |
|
| 891 |
spawn: Support the use case in libassuan where PGMNAME==NULL. |
| 892 |
+ commit d53f35a5e6644b94fb25bf6afd365f4b0f5a18e0 |
| 893 |
* src/spawn-posix.c (my_exec): When PGMNAME==NULL, just fork. |
| 894 |
(_gpgrt_process_spawn): Support PGMNAME==NULL use case. |
| 895 |
* src/spawn-w32.c (_gpgrt_process_spawn): Return GPG_ERR_INV_ARG, |
| 896 |
when PGMNAME==NULL. |
| 897 |
|
| 898 |
2024-06-06 NIIBE Yutaka <[email protected]> |
| 899 |
|
| 900 |
spawn: Expose gpgrt_spawn_actions functions. |
| 901 |
+ commit e644311383350ce704611cce69f322a7d9dd548e |
| 902 |
* src/gpg-error.def.in: Update. |
| 903 |
* src/gpg-error.h.in: Add declarations. |
| 904 |
* src/gpg-error.vers: Update. |
| 905 |
* src/visibility.c: Update. |
| 906 |
* src/visibility.h: Update. |
| 907 |
|
| 908 |
spawn: Add new GPGRT_PROCESS_NO_CONSOLE for Windows. |
| 909 |
+ commit 03fd278d7f7a1e3e0d082de5efb9d85740cf0ab8 |
| 910 |
* src/gpg-error.h.in (GPGRT_PROCESS_NO_CONSOLE): New. |
| 911 |
* src/spawn-w32.c (_gpgrt_process_spawn): Handle |
| 912 |
GPGRT_PROCESS_NO_CONSOLE. |
| 913 |
|
| 914 |
Fix return type of gpgrt_b64dec_*. |
| 915 |
+ commit 7d132a1a72ad618640640db278056ce04d32fdde |
| 916 |
* src/gpg-error.h.in (gpgrt_b64dec_proc): Return gpg_err_code_t. |
| 917 |
(gpgrt_b64dec_finish): Ditto. |
| 918 |
* src/visibility.c: Fix return type. |
| 919 |
|
| 920 |
2024-06-05 Werner Koch <[email protected]> |
| 921 |
|
| 922 |
spawn:w32: Allow for up to 32 inherited handles. |
| 923 |
+ commit 4ee656242aa93af42e74acb706a13f99212a93d6 |
| 924 |
* src/spawn-w32.c (spawn_detached): Increase array size. |
| 925 |
(_gpgrt_process_spawn): Ditto. |
| 926 |
|
| 927 |
spawn: Avoid bumping the error counter. |
| 928 |
+ commit 60b9a68def583d7c3a1d47daec717a7f71233c55 |
| 929 |
* src/spawn-posix.c: Use log_info instead of log_error. |
| 930 |
* src/spawn-w32.c: Ditto. |
| 931 |
(spawn_detached): Fix copying of hd[2] |
| 932 |
(_gpgrt_process_spawn): Ditto. |
| 933 |
|
| 934 |
2024-06-05 NIIBE Yutaka <[email protected]> |
| 935 |
|
| 936 |
spawn: Expose spawn functions API. |
| 937 |
+ commit 2caaef8f6b89d7fcbbe3d480d192fe1952576942 |
| 938 |
* src/gpg-error.def.in: Update. |
| 939 |
* src/gpg-error.vers: Update. |
| 940 |
* src/gpg-error.h.in: Add declarations. |
| 941 |
* src/visibility.c: Add implementations. |
| 942 |
* src/visibility.h: Expose them. |
| 943 |
|
| 944 |
2024-06-04 NIIBE Yutaka <[email protected]> |
| 945 |
|
| 946 |
spawn:w32: Fix setting of dwFlags for CreateProcess. |
| 947 |
+ commit 3be8b2c95faac8543e2ceddb308b8c138dde11d8 |
| 948 |
* src/spawn-w32.c (_gpgrt_process_spawn): Only set |
| 949 |
STARTF_USESTDHANDLES with active handles. |
| 950 |
|
| 951 |
2024-05-30 NIIBE Yutaka <[email protected]> |
| 952 |
|
| 953 |
spawn: Allow NULL for ACT. |
| 954 |
+ commit adcb4170a40d7cf66181a6b3efc7c187892a1318 |
| 955 |
* src/spawn-posix.c (_gpgrt_process_spawn): ACT may be null. |
| 956 |
* src/spawn-w32.c (_gpgrt_process_spawn): Likewise. |
| 957 |
|
| 958 |
2024-05-29 NIIBE Yutaka <[email protected]> |
| 959 |
|
| 960 |
Fix process termination check at release. |
| 961 |
+ commit 5fec7d7ada4c5b1978cfba3be8b67475ff1e0859 |
| 962 |
* src/spawn-posix.c (_gpgrt_process_release): When NOT terminated, |
| 963 |
terminate and wait. |
| 964 |
* src/spawn-w32.c (_gpgrt_process_release): Likewise. |
| 965 |
|
| 966 |
Fix how environment variables are specified for spawn. |
| 967 |
+ commit fbe1f5153c3cb8b7c5de40973cceee7f639804e7 |
| 968 |
* src/gpgrt-int.h (_gpgrt_spawn_actions_set_envvars) |
| 969 |
[HAVE_W32_SYSTEM]: Assume use with GetEnvironmentStrings. |
| 970 |
(_gpgrt_spawn_actions_set_environ) [!HAVE_W32_SYSTEM]: |
| 971 |
New. |
| 972 |
* src/spawn-posix.c: Follow the change. |
| 973 |
* src/spawn-w32.c: Can specify envvars now. |
| 974 |
|
| 975 |
Cleaner semantics for _gpgrt_process_spawn without a callback. |
| 976 |
+ commit 6c05b35977c9d15da45b4fe6c0c870dbbf51657c |
| 977 |
* src/gpg-error.h.in (@define:struct_spawn_cb_arg@): Remove. |
| 978 |
(gpgrt_spawn_actions_t): New. |
| 979 |
(@define:spawn_actions_functions@): New. |
| 980 |
* src/gpgrt-int.h (_gpgrt_spawn_actions_new) |
| 981 |
(_gpgrt_spawn_actions_release, _gpgrt_spawn_actions_set_envvars) |
| 982 |
(_gpgrt_spawn_actions_set_redirect): New. |
| 983 |
[HAVE_W32_SYSTEM] (_gpgrt_spawn_actions_set_inherit_handles): New. |
| 984 |
[!HAVE_W32_SYSTEM] (_gpgrt_spawn_actions_set_inherit_fds) |
| 985 |
(_gpgrt_spawn_actions_set_atfork): New. |
| 986 |
(_gpgrt_process_spawn): Use gpgrt_spawn_actions_t. |
| 987 |
(_gpgrt_spawn_helper): Remove. |
| 988 |
* src/mkheader.c: Emit gpgrt_spawn_actions_* definition. |
| 989 |
* src/spawn-posix.c(_gpgrt_spawn_actions_new) |
| 990 |
(_gpgrt_spawn_actions_release, _gpgrt_spawn_actions_set_envvars) |
| 991 |
(_gpgrt_spawn_actions_set_redirect) |
| 992 |
(_gpgrt_spawn_actions_set_inherit_fds) |
| 993 |
(_gpgrt_spawn_actions_set_atfork): New. |
| 994 |
(spawn_detached, _gpgrt_process_spawn): Use gpgrt_spawn_actions_t. |
| 995 |
(_gpgrt_spawn_helper): Remove. |
| 996 |
* src/spawn-w32.c: Ditto, with |
| 997 |
_gpgrt_spawn_actions_set_inherit_handles, but no |
| 998 |
_gpgrt_spawn_actions_set_atfork. |
| 999 |
|
| 1000 |
2024-05-28 NIIBE Yutaka <[email protected]> |
| 1001 |
|
| 1002 |
Import spawn functions from GnuPG master. |
| 1003 |
+ commit 8dc6e3281e17c5d2885dc71634ab1068b88fc738 |
| 1004 |
* src/gpg-error.h.in (@define:gpgrt_process_t@): Remove. |
| 1005 |
(@define:struct_spawn_cb_arg@): New. |
| 1006 |
(enum gpgrt_process_requests): New. |
| 1007 |
(GPGRT_PROCESS_DETACHED, GPGRT_PROCESS_STDIN_PIPE) |
| 1008 |
(GPGRT_PROCESS_STDOUT_PIPE, GPGRT_PROCESS_STDERR_PIPE) |
| 1009 |
(GPGRT_PROCESS_STDINOUT_SOCKETPAIR, GPGRT_PROCESS_STDIN_KEEP) |
| 1010 |
(GPGRT_PROCESS_STDOUT_KEEP, GPGRT_PROCESS_STDERR_KEEP) |
| 1011 |
(GPGRT_PROCESS_STDFDS_SETTING, GPGRT_PROCESS_STREAM_NONBLOCK): |
| 1012 |
New. |
| 1013 |
* src/gpgrt-int.h (_gpgrt_process_spawn, _gpgrt_process_terminate) |
| 1014 |
(_gpgrt_process_get_fds, _gpgrt_process_get_streams) |
| 1015 |
(_gpgrt_process_ctl, _gpgrt_process_wait, _gpgrt_process_release) |
| 1016 |
(_gpgrt_process_wait_list, _gpgrt_spawn_helper): New. |
| 1017 |
* src/mkheader.c: Emit definition of struct_spawn_cb_arg. |
| 1018 |
* src/spawn-posix.c (_gpgrt_process_spawn, _gpgrt_process_terminate) |
| 1019 |
(_gpgrt_process_get_fds, _gpgrt_process_get_streams) |
| 1020 |
(_gpgrt_process_ctl, _gpgrt_process_wait, _gpgrt_process_release) |
| 1021 |
(_gpgrt_process_wait_list, _gpgrt_spawn_helper): New. |
| 1022 |
* src/spawn-w32.c: Ditto. |
| 1023 |
|
| 1024 |
2024-04-26 Werner Koch <[email protected]> |
| 1025 |
|
| 1026 |
argparse: Fix a theoretical memory leak. |
| 1027 |
+ commit a5f0e0b2f7897fc6ef1ab847146e16ef64d1d4a7 |
| 1028 |
* src/argparse.c (store_alias): Free NAME because it has ownerhip |
| 1029 |
here. Take care P is actually a pointer into NAME. |
| 1030 |
|
| 1031 |
2024-04-25 Werner Koch <[email protected]> |
| 1032 |
|
| 1033 |
Release 1.49. |
| 1034 |
+ commit faed9c271ad22bbd2ed265d8e11badb53b7a2f32 |
| 1035 |
|
| 1036 |
|
| 1037 |
logging: New function gpgrt_logv_domain. |
| 1038 |
+ commit 2f9a0895a103f0baf1c2ea38662112c1359bdb90 |
| 1039 |
* src/gpg-error.h.in (gpgrt_logv_domain): New. Also add printf |
| 1040 |
attributes to the other logv functions. |
| 1041 |
* src/visibility.c (gpgrt_logv_domain): New. |
| 1042 |
|
| 1043 |
2024-04-22 Werner Koch <[email protected]> |
| 1044 |
|
| 1045 |
core: New function gpgrt_add_post_log_func. |
| 1046 |
+ commit 319a505623c197d06ca3e76f30691fe65a982d6f |
| 1047 |
* src/gpg-error.h.in (gpgrt_add_post_log_func): New. |
| 1048 |
* src/gpg-error.vers: Add new function |
| 1049 |
* src/gpg-error.def.in: Ditto. |
| 1050 |
* src/visibility.c (gpgrt_add_post_log_func): New. |
| 1051 |
* src/logging.c (struct post_log_func_item_s): New. |
| 1052 |
(post_log_func_list): New. |
| 1053 |
(_gpgrt_add_post_log_func): new. |
| 1054 |
(run_post_log_funcs): New. |
| 1055 |
(_gpgrt_logv_internal): Call for fatal and bug log levels. |
| 1056 |
|
| 1057 |
2024-04-19 Werner Koch <[email protected]> |
| 1058 |
|
| 1059 |
logging: Indent continuation lines of log_printhex. |
| 1060 |
+ commit 6ab3e9ac43ba104f557d538db100953ae6245076 |
| 1061 |
* src/logging.c (_gpgrt_logv_internal): Change to return the length |
| 1062 |
w/o prefix. |
| 1063 |
(_gpgrt_logv_printhex): Indent wrapped lines properly. |
| 1064 |
|
| 1065 |
2024-04-12 Werner Koch <[email protected]> |
| 1066 |
|
| 1067 |
logging: Add a truncate keyword to log_printhex. |
| 1068 |
+ commit 0a39fbefcb55379de1cdf1049de303c5ca0691b3 |
| 1069 |
* src/logging.c (_gpgrt_logv_printhex): Add keyword support. |
| 1070 |
|
| 1071 |
2024-04-08 Werner Koch <[email protected]> |
| 1072 |
|
| 1073 |
argparser: avoid endless loop due to a conf file read error. |
| 1074 |
+ commit 2dc93cfecc7a7b22fd08365a789b8c6c4b8cc36c |
| 1075 |
* src/argparse.c (struct _gpgrt_argparse_internal_s): Add forceeof |
| 1076 |
flag. |
| 1077 |
(initialize): Clear. |
| 1078 |
(_gpgrt_argparse): Clear. |
| 1079 |
(_gpgrt_argparse): Act upon. |
| 1080 |
|
| 1081 |
2024-02-23 Werner Koch <[email protected]> |
| 1082 |
|
| 1083 |
Release 1.48. |
| 1084 |
+ commit 77b7c5ff6b756870811acaff53df0ebf1e5c2368 |
| 1085 |
|
| 1086 |
|
| 1087 |
2024-02-21 Werner Koch <[email protected]> |
| 1088 |
|
| 1089 |
argparse: Adjust help output for command mode. |
| 1090 |
+ commit c3b6eaedd8707bca9892a0e188bf04532ca70818 |
| 1091 |
* src/argparse.c (show_help): Adjust for command style options. |
| 1092 |
|
| 1093 |
2024-02-06 Werner Koch <[email protected]> |
| 1094 |
|
| 1095 |
core: Add "wipe" mode flag. |
| 1096 |
+ commit 49507cf6977f6c9fce1b651ae808e37b63fc3e4e |
| 1097 |
* src/gpgrt-int.h (struct _gpgrt_stream_internal): Add field "wipe". |
| 1098 |
* src/estream.c (mem_free2): New. |
| 1099 |
(struct estream_cookie_mem): Add flag "wipe". |
| 1100 |
(func_mem_create): Add arg wipe. |
| 1101 |
(func_mem_destroy): Wipe. |
| 1102 |
(X_WIPE): New. |
| 1103 |
(parse_mode): Parse "wipe" mode flag. |
| 1104 |
(init_stream_obj): Set it. |
| 1105 |
(do_close): Wipe internal struct with its static buffers. |
| 1106 |
(doreadline): Pass wipe mode along to help buffer. |
| 1107 |
(_gpgrt_mopen): Pass wipe mode. |
| 1108 |
(_gpgrt_fopenmem): Ditto. |
| 1109 |
|
| 1110 |
core: New function gpgrt_wipememory. |
| 1111 |
+ commit 1fdd8749014cf390d6ea9dd4350146473362044e |
| 1112 |
* src/init.c (_gpgrt_wipememory): New. |
| 1113 |
* src/visibility.c (gpgrt_wipememory): New. |
| 1114 |
* src/visibility.h: Add it. |
| 1115 |
* src/gpg-error.def.in: Ditto. |
| 1116 |
* src/gpg-error.vers: Ditto. |
| 1117 |
|
| 1118 |
argparser: Implement a command mode. |
| 1119 |
+ commit b113114c7498fc6c48065a8c4816c610c6f08198 |
| 1120 |
* src/gpg-error.h.in (ARGPARSE_FLAG_COMMAND): New. |
| 1121 |
* src/argparse.c (struct _gpgrt_argparse_internal_s): Add flags |
| 1122 |
explicit_cmd_mode, cmd_mode, and command_seen. |
| 1123 |
(initialize): Init them. Mark default commands as commands. |
| 1124 |
(handle_meta_command): New. |
| 1125 |
(handle_metacmd): Add "command-mode" and "-command-mode". |
| 1126 |
(find_long_option): Add arg only_commands. |
| 1127 |
(arg_parse): Factor some code out to ... |
| 1128 |
(handle_special_commands): new. |
| 1129 |
(arg_parse): Implement the command-mode. |
| 1130 |
|
| 1131 |
* tests/t-argparse.c (main): Add some testing code. |
| 1132 |
|
| 1133 |
2024-02-01 Jakub Jelen <[email protected]> |
| 1134 |
|
| 1135 |
gpgrt-config: Avoid warning about literals for curly braces. |
| 1136 |
+ commit ae6fec7399d77e4e3a63287d94b1366ad121b505 |
| 1137 |
* src/gpgrt-config.in: Fix the pattern match for an expression with |
| 1138 |
variable in the ".pc" config file. |
| 1139 |
|
| 1140 |
2024-01-16 NIIBE Yutaka <[email protected]> |
| 1141 |
|
| 1142 |
estream: Fix call to string filter for estream-printf. |
| 1143 |
+ commit 4a9def77488f2631f71737357d9e9dd874c9b302 |
| 1144 |
* src/estream-printf.c (pr_string): Make sure to prepare |
| 1145 |
NUL-terminated string to call the string filter. |
| 1146 |
|
| 1147 |
2024-01-15 Ineiev <[email protected]> |
| 1148 |
|
| 1149 |
po: Update Russian translation. |
| 1150 |
+ commit 521e8d4db70c5cf4d4977d93f9ff7adce5de023f |
| 1151 |
|
| 1152 |
|
| 1153 |
2024-01-15 Jakub Bogusz <[email protected]> |
| 1154 |
|
| 1155 |
po: update Polish translation. |
| 1156 |
+ commit 5142d0d7a2a3b52456010d47bac44322009bb31a |
| 1157 |
|
| 1158 |
|
| 1159 |
2023-11-16 NIIBE Yutaka <[email protected]> |
| 1160 |
|
| 1161 |
yat2m: Fix HTML output for backslash. |
| 1162 |
+ commit f83eac17363a8c76c10b06712ba3dd39146f36b4 |
| 1163 |
* doc/yat2m.c (proc_texi_buffer): Use &bsol. |
| 1164 |
|
| 1165 |
2023-11-15 NIIBE Yutaka <[email protected]> |
| 1166 |
|
| 1167 |
yat2m: Implement @item handling with @table item specification. |
| 1168 |
+ commit e31d65345bcb420a2e0ee609d91322abfde4aa44 |
| 1169 |
* doc/yat2m.c (MAX_TABLE_NESTING): New. |
| 1170 |
(table_item_stack): New. |
| 1171 |
(proc_texi_cmd): Add @gcctabopt and @gnupgtabopt. |
| 1172 |
Add handling of @item argument with proc_texi_buffer. |
| 1173 |
Add handling of @table argument, push to table_item_stack. |
| 1174 |
|
| 1175 |
yat2m: Also handle @file treating '-' as minus. |
| 1176 |
+ commit cfb1871240c4d12c2d2b7c92e2ef7afb30692f88 |
| 1177 |
* doc/yat2m.c (proc_texi_cmd): It's minus for @file. |
| 1178 |
|
| 1179 |
2023-11-14 NIIBE Yutaka <[email protected]> |
| 1180 |
|
| 1181 |
yat2m: Output \- for @samp, @kbd, and @env, too. |
| 1182 |
+ commit 7375b4c0acedc6333c9074db14a15fc2949f7752 |
| 1183 |
* doc/yat2m.c (proc_texi_cmd): Support more commands. |
| 1184 |
|
| 1185 |
2023-11-09 NIIBE Yutaka <[email protected]> |
| 1186 |
|
| 1187 |
yat2m: Generate \- for roff for some commands. |
| 1188 |
+ commit 3534e2cc73f9339acc8d154e9551339e544507c6 |
| 1189 |
* doc/yat2m.c (proc_texi_cmd): New flag to enable generating \- for |
| 1190 |
roff for @command, @code, @url and @option for their argument, and |
| 1191 |
@example and @smallexample until their @end. |
| 1192 |
(proc_texi_buffer): Emit \- when enabled. |
| 1193 |
|
| 1194 |
2023-11-07 NIIBE Yutaka <[email protected]> |
| 1195 |
|
| 1196 |
yat2m: Add support of @minus{} command. |
| 1197 |
+ commit 8275d716bae68124c4c6bebde5305aed1dad5cd4 |
| 1198 |
* doc/yat2m.c (proc_texi_cmd): Support @minus. |
| 1199 |
|
| 1200 |
yat2m: Use \fP to return previous font. |
| 1201 |
+ commit ab6324e5787a00d2f42638277542bc96b91de52e |
| 1202 |
* doc/yat2m.c (proc_texi_cmd): Use \fP instead of \fR. |
| 1203 |
|
| 1204 |
yat2m: Fix backslash output in man. |
| 1205 |
+ commit 6fe51354634361970761095f71e278b90b0dd4e7 |
| 1206 |
* doc/yat2m.c (proc_texi_buffer): Use \[rs] for backslash. |
| 1207 |
|
| 1208 |
2023-11-07 Ben Kibbey <[email protected]> |
| 1209 |
|
| 1210 |
yat2m: Parse @dots{} to show ellipsis in HTML mode. |
| 1211 |
+ commit db81ea1219e2baad0fadbc665465d3d03cbb4de2 |
| 1212 |
* doc/yat2m.c (proc_texi_cmd): Add "dots" to comamnd table and output |
| 1213 |
"..." in manpages and ellipsis in HTML mode. |
| 1214 |
|
| 1215 |
2023-11-06 NIIBE Yutaka <[email protected]> |
| 1216 |
|
| 1217 |
yat2m: No en-dash and em-dash for @item line. |
| 1218 |
+ commit 260f709413d8df6d0f2e65fb21685f8ce3038f5f |
| 1219 |
* doc/yat2m.c (proc_texi_cmd): Disable parsing for dashes |
| 1220 |
for @item. |
| 1221 |
|
| 1222 |
2023-11-02 NIIBE Yutaka <[email protected]> |
| 1223 |
|
| 1224 |
yat2m: Interpret -- and --- verbatimly in @example. |
| 1225 |
+ commit c57e1b1435e6a09e547b18df6c458f9f32a1a513 |
| 1226 |
* doc/yat2m.c (example_cmd_active): New. |
| 1227 |
(proc_texi_cmd): Don't apply the processing for en-dash |
| 1228 |
and em-dash when it's in @example/@smallexample. |
| 1229 |
|
| 1230 |
yat2m: Support Texinfo input -- and ---. |
| 1231 |
+ commit 82a8e2cece08fa0ca6aff9bdf62414731d384083 |
| 1232 |
* doc/yat2m.c (proc_texi_buffer): Handle en-dash and em-dash. |
| 1233 |
|
| 1234 |
2023-10-05 NIIBE Yutaka <[email protected]> |
| 1235 |
|
| 1236 |
doc: Minor style fix. |
| 1237 |
+ commit 53d9d77a496f5b6bc6616a95abfc053f396c1a12 |
| 1238 |
|
| 1239 |
|
| 1240 |
2023-09-27 NIIBE Yutaka <[email protected]> |
| 1241 |
|
| 1242 |
estream: String filter should NOT be called with non-nul string. |
| 1243 |
+ commit 0fc740ffca848d17b8c71d1682de1e29b24db3cb |
| 1244 |
* src/estream-printf.c (pr_string): Call the string filter function SF |
| 1245 |
conditionally to avoid possible SEGV. |
| 1246 |
|
| 1247 |
2023-09-01 NIIBE Yutaka <[email protected]> |
| 1248 |
|
| 1249 |
Fix the previous commit. |
| 1250 |
+ commit 19d7ec4bfeda6222b11ac92cd4509850322727fc |
| 1251 |
|
| 1252 |
|
| 1253 |
build: Change the default for --with-libtool-modification. |
| 1254 |
+ commit 071effebcf7db745f5d3bc2b8bb43ffaac54366e |
| 1255 |
* configure.ac (--with-libtool-modification): default=never. |
| 1256 |
|
| 1257 |
2023-08-09 NIIBE Yutaka <[email protected]> |
| 1258 |
|
| 1259 |
build: Update libtool-patch.sed. |
| 1260 |
+ commit b369ef64e05a2336eb98a28a55dd02193aefaefa |
| 1261 |
* build-aux/libtool-patch.sed: Fail with exit code 1, |
| 1262 |
when it doesn't go well. |
| 1263 |
|
| 1264 |
2023-08-08 NIIBE Yutaka <[email protected]> |
| 1265 |
|
| 1266 |
build: Use sed for --with-libtool-modification. |
| 1267 |
+ commit 8dd210e9e15905f8c6d155c64b09378d65382335 |
| 1268 |
* configure.ac (--with-libtool-modification): Use sed. |
| 1269 |
|
| 1270 |
2023-08-04 NIIBE Yutaka <[email protected]> |
| 1271 |
|
| 1272 |
build: Add build-aux/libtool.patch in the tarball. |
| 1273 |
+ commit 03a3b3c02cf220c6e7ee1acecef7403a64ddf4a3 |
| 1274 |
* Makefile.am (EXTRA_DIST): build-aux/libtool.patch. |
| 1275 |
|
| 1276 |
2023-08-02 NIIBE Yutaka <[email protected]> |
| 1277 |
|
| 1278 |
build: New configure option --with-libtool-modification. |
| 1279 |
+ commit 64532db11fcda9b886df74c00c730108852f4f52 |
| 1280 |
* configure.ac (--with-libtool-modification): New. |
| 1281 |
|
| 1282 |
2023-07-28 NIIBE Yutaka <[email protected]> |
| 1283 |
|
| 1284 |
build: Fix libtool modification. |
| 1285 |
+ commit e0286bf0a22861f8eadb70a077644a2925baff00 |
| 1286 |
* build-aux/ltmain.sh: Fix reverting mistake. |
| 1287 |
* build-aux/libtool.patch: Regenerate and fix whitespace mistake. |
| 1288 |
* configure.ac [x86_64-*mingw32*] (libtool-patch): Exit when failed. |
| 1289 |
|
| 1290 |
build: Support --verbose option for mkheader. |
| 1291 |
+ commit ab8b4d58035f4d3093b1df7c25c227e15b673f42 |
| 1292 |
* src/mkheader.c (include_file): Only emit the notification when |
| 1293 |
invoked with --verbose. |
| 1294 |
(main): Add --verbose handling. |
| 1295 |
|
| 1296 |
build: Apply libtool.patch at the last stage of configure. |
| 1297 |
+ commit c1d3f5952f621a553c122cee7a20e990d982a715 |
| 1298 |
* build-aux/libtool.patch: New. |
| 1299 |
* build-aux/ltmain.sh: Revert our local change to original. |
| 1300 |
* configure.ac [x86_64-*mingw32*] (libtool-patch): Introduce a |
| 1301 |
construct with AC_CONFIG_COMMANDS to apply build-aux/libtool.patch |
| 1302 |
after libtool generation. |
| 1303 |
|
| 1304 |
2023-07-27 NIIBE Yutaka <[email protected]> |
| 1305 |
|
| 1306 |
yat2m: No additional newline after the end of subsection. |
| 1307 |
+ commit da48e3cb30be2897b733dbc9db271bfa166fd260 |
| 1308 |
* doc/yat2m.c (proc_texi_buffer): Add 'break' in switch. |
| 1309 |
|
| 1310 |
build: Recover the local change for libtool. |
| 1311 |
+ commit ff2763c46c7a8f8f9f77f665060f1dc70e515e20 |
| 1312 |
* ltmain.sh: Prefix the SO number for W64 with a "6". |
| 1313 |
|
| 1314 |
build: Update libtool from version 2.4.7. |
| 1315 |
+ commit 692c2990598689de1dae5867b0e966d7ffeae747 |
| 1316 |
* build-aux/compile, build-aux/depcomp, build-aux/ltmain.sh: Update. |
| 1317 |
* m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4: Update. |
| 1318 |
* m4/ltversion.m4, m4/lt~obsolete.m4: Update. |
| 1319 |
|
| 1320 |
build: Update autobuild.m4 from autobuild 5.3. |
| 1321 |
+ commit f599ff4988dbf6739e020ee21c7e957387cc3237 |
| 1322 |
* m4/autobuild.m4: Update. |
| 1323 |
|
| 1324 |
2023-07-17 NIIBE Yutaka <[email protected]> |
| 1325 |
|
| 1326 |
gpgscm: Incorporate changes from GnuPG. |
| 1327 |
+ commit 0e8105a364c8cac68a254b5617a83987cc44fcff |
| 1328 |
* gpgscm/scheme.c [__GNUC__] (type_to_string): Use |
| 1329 |
__builtin_unreachable for GCC. |
| 1330 |
|
| 1331 |
* gpgscm/ffi.c (do_get_temp_path): Remove the last backslash. |
| 1332 |
|
| 1333 |
* gpgscm/ffi.c (do_chdir): Use gpg_error_from_syserror. |
| 1334 |
|
| 1335 |
2023-06-12 Werner Koch <[email protected]> |
| 1336 |
|
| 1337 |
yat2m: Fix Windows build. |
| 1338 |
+ commit 3faf11925549260c3822660a2b83785a68326664 |
| 1339 |
* doc/yat2m.c (mystpcpy): New. Use instead of stpcpy. |
| 1340 |
|
| 1341 |
2023-06-09 Werner Koch <[email protected]> |
| 1342 |
|
| 1343 |
w32: Map ERROR_FILE_INVALID to EIO. |
| 1344 |
+ commit 32213bb48ea3520588f59ac96456adc156e2c4e8 |
| 1345 |
* src/estream.c (map_w32_to_errno): Add a mapping. |
| 1346 |
|
| 1347 |
yat2m: Add option --gnupgorg. |
| 1348 |
+ commit 93d764498895e4cc9bdf14ac4c0cb41431946066 |
| 1349 |
|
| 1350 |
|
| 1351 |
2023-06-01 Werner Koch <[email protected]> |
| 1352 |
|
| 1353 |
yat2m: Some basic HTML formatting works now. |
| 1354 |
+ commit 43dcdbff50fa33728ab4717cacdf8ff600aea3b9 |
| 1355 |
* doc/yat2m.c: Lots of changes for option --html. |
| 1356 |
|
| 1357 |
2023-05-26 NIIBE Yutaka <[email protected]> |
| 1358 |
|
| 1359 |
Add GNU system support for cross compilation. |
| 1360 |
+ commit 6877540eb1fcc159302b1722264e1059c9f32bc1 |
| 1361 |
* configure.ac: Cross compile should work well for |
| 1362 |
GNU system. |
| 1363 |
|
| 1364 |
2023-05-24 Werner Koch <[email protected]> |
| 1365 |
|
| 1366 |
core: New mode flag "sequential" for gpgrt_fopen. |
| 1367 |
+ commit 7a42ff0ec971f4f2add28b0edad6cf381b5b8acc |
| 1368 |
* src/estream.c (X_SEQUENTIAL): New. |
| 1369 |
(func_file_create_w32): Add arg flags_and_attrs, |
| 1370 |
(parse_mode): Parse the new "sequenial" flag. |
| 1371 |
(_gpgrt_fopen): Use the sequenial flag in sysopen mode under Windows. |
| 1372 |
|
| 1373 |
2023-05-17 NIIBE Yutaka <[email protected]> |
| 1374 |
|
| 1375 |
w32: Use _putenv_s when available. |
| 1376 |
+ commit 89e53ad90f3aa4ee4379b91a8c8965bc87a39c53 |
| 1377 |
* src/sysutils.c (_gpgrt_setenv): Use _putenv_s when the macro |
| 1378 |
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES is defined. |
| 1379 |
|
| 1380 |
2023-05-12 NIIBE Yutaka <[email protected]> |
| 1381 |
|
| 1382 |
tests: Use -no-fast-install LDFLAGS for Windows. |
| 1383 |
+ commit dfdd07c3c488735d87c13f89270eeb4fa5714ef8 |
| 1384 |
* tests/Makefile.am [HAVE_W32_SYSTEM] (AM_LDFLAGS): Conditionalize. |
| 1385 |
|
| 1386 |
2023-04-10 NIIBE Yutaka <[email protected]> |
| 1387 |
|
| 1388 |
gpgrt-config: Simplify to set gpgrt_libdir. |
| 1389 |
+ commit 9c17795ec25f3cb7cfd08cc1f9c5dcc1f33ec296 |
| 1390 |
* src/gpgrt-config.in (determine_gpgrt_libdir): Merge the two cases. |
| 1391 |
|
| 1392 |
2023-04-06 Werner Koch <[email protected]> |
| 1393 |
|
| 1394 |
Release 1.47. |
| 1395 |
+ commit a25cea92798a5ece3f49924911507f5335915ecc |
| 1396 |
|
| 1397 |
|
| 1398 |
build: Make distcheck work again. |
| 1399 |
+ commit bcc16b4cd00f02fbb824a9b6fc69e00fc6458b19 |
| 1400 |
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Add |
| 1401 |
with --install-gpg-error-config. |
| 1402 |
|
| 1403 |
core: New error codes for PUKs and reset codes. |
| 1404 |
+ commit 0262cd3371cf9794be94851955fec099b0e1fab5 |
| 1405 |
* src/err-codes.h.in (GPG_ERR_BAD_PUK): New |
| 1406 |
(GPG_ERR_NO_RESET_CODE, GPG_ERR_BAD_RESET_CODE): New. |
| 1407 |
|
| 1408 |
2023-04-04 NIIBE Yutaka <[email protected]> |
| 1409 |
|
| 1410 |
core: Add GPG_ERR_SOURCE_TKD. |
| 1411 |
+ commit 1a382660855fb46da86980797acc50af1718c359 |
| 1412 |
* src/err-sources.h.in (GPG_ERR_SOURCE_TKD): New. |
| 1413 |
|
| 1414 |
2023-04-01 NIIBE Yutaka <[email protected]> |
| 1415 |
|
| 1416 |
m4: Fix behavior with older gpg-error-config and gpgrt-config. |
| 1417 |
+ commit c61e831b6f0c3c4bc9047e583ad3261bd9babefc |
| 1418 |
* src/gpg-error.m4 (_AM_PATH_GPGRT_CONFIG): Set the variable |
| 1419 |
gpg_error_config_version on error with gpgrt-config. |
| 1420 |
|
| 1421 |
2023-03-23 NIIBE Yutaka <[email protected]> |
| 1422 |
|
| 1423 |
m4: Fallback to $possible_libdir1, when not found with $CC. |
| 1424 |
+ commit ed36ba06f907c0d67f8a60930dc329d58a4cd77d |
| 1425 |
* src/gpg-error.m4: Try $possible_libdir1 for gpgrt_libdir. |
| 1426 |
|
| 1427 |
2023-03-21 Werner Koch <[email protected]> |
| 1428 |
|
| 1429 |
Avoid segv in logging with improper use of the "socket://" . |
| 1430 |
+ commit 68333be63042be281a497a5751474e9e3d119dc3 |
| 1431 |
* src/logging.c (fun_writer): Protect calling socket_dir_cb if not |
| 1432 |
set. |
| 1433 |
|
| 1434 |
2023-03-15 Werner Koch <[email protected]> |
| 1435 |
|
| 1436 |
build: Improve the beta numbering by autogen.sh. |
| 1437 |
+ commit fbbc55b3febef6d22dae5e2675c75b1d1f561b09 |
| 1438 |
* autogen.sh: Introduce a 3rd matchstr and simplify rules. |
| 1439 |
|
| 1440 |
2022-12-16 Werner Koch <[email protected]> |
| 1441 |
|
| 1442 |
core: Fix translations of --help. |
| 1443 |
+ commit 885a287a57cf060b4c5b441822c09d23b8dee2bd |
| 1444 |
* src/argparse.c (show_help): Do not translate the empty string. |
| 1445 |
|
| 1446 |
2022-12-13 pengyi <[email protected]> |
| 1447 |
NIIBE Yutaka <[email protected]> |
| 1448 |
|
| 1449 |
Add more tests for t-printf and t-strerror. |
| 1450 |
+ commit 72e0fb3fc858301de7b200e1c08da6904ab44bc0 |
| 1451 |
* tests/t-printf.c (check_fwrite): New. |
| 1452 |
(main): Add check_fwrite. |
| 1453 |
* tests/t-strerror.c (main): Add three more cases to LIST. |
| 1454 |
|
| 1455 |
2022-12-05 NIIBE Yutaka <[email protected]> |
| 1456 |
|
| 1457 |
Handle strerror_r failure on non-GNU systems. |
| 1458 |
+ commit be94bcf6aace55e319a203c6b60e31b1c204b0dc |
| 1459 |
* src/strerror.c (system_strerror_r): Make sure to fill the buffer. |
| 1460 |
|
| 1461 |
2022-11-29 NIIBE Yutaka <[email protected]> |
| 1462 |
|
| 1463 |
gpgrt-config: Support a simple invocation. |
| 1464 |
+ commit 3f812a0f5df8aaa82372ea0c40573703119ed83d |
| 1465 |
* src/gpgrt-config.in (determine_gpgrt_libdir): New. |
| 1466 |
|
| 1467 |
2022-11-29 NIIBE Yutaka <[email protected]> |
| 1468 |
Andreas Metzler <[email protected]> |
| 1469 |
|
| 1470 |
doc: Add man page of gpgrt-config. |
| 1471 |
+ commit 4c6890aca2d0234fdc3da4678a003160091dc0dd |
| 1472 |
* doc/Makefile.am (myman_pages): Add gpgrt-config.1. |
| 1473 |
* doc/gpgrt.texi: Add gpgrt-config.1. |
| 1474 |
|
| 1475 |
2022-11-15 NIIBE Yutaka <[email protected]> |
| 1476 |
|
| 1477 |
gpg-error.m4: Factor out _AM_PATH_GPGRT_CONFIG. |
| 1478 |
+ commit 788f63347eda2d35ba5d9dad5e339743343d2f66 |
| 1479 |
* src/gpg-error.m4 (_AM_PATH_POSSIBLE_GPG_ERROR_CONFIG): New. |
| 1480 |
(_AM_PATH_GPGRT_CONFIG): New. |
| 1481 |
(AM_PATH_GPG_ERROR): Use _AM_PATH_POSSIBLE_GPG_ERROR_CONFIG |
| 1482 |
and _AM_PATH_GPGRT_CONFIG. |
| 1483 |
|
| 1484 |
Revert "spawn: Expose spawn functions." |
| 1485 |
+ commit c580094dbe97249caebdedbf0f584e604fd20240 |
| 1486 |
This reverts commit 43c1e85fe29a52a9debc068d97c5860a4694b821. |
| 1487 |
|
| 1488 |
2022-11-04 NIIBE Yutaka <[email protected]> |
| 1489 |
|
| 1490 |
spawn: Introduce gpgrt_process_t and use it for spawn API. |
| 1491 |
+ commit 5d30adb5ad376a07576b258b9395adadf5576867 |
| 1492 |
* configure.ac (AC_FUNC_FORK): No use. |
| 1493 |
* src/gpg-error.h.in (@define:gpgrt_process_t@): New. |
| 1494 |
(@define:pid_t@): Remove. |
| 1495 |
(gpgrt_spawn_process, gpgrt_spawn_process_fd): Use gpgrt_process_t. |
| 1496 |
(gpgrt_wait_process, gpgrt_wait_processes): Likewise. |
| 1497 |
(gpgrt_kill_process, gpgrt_release_process): Likewise. |
| 1498 |
* src/gpgrt-int.h (_gpgrt_spawn_process): Likewise. |
| 1499 |
(_gpgrt_spawn_process_fd): Likewise. |
| 1500 |
(_gpgrt_wait_process, _gpgrt_wait_processes): Likewise. |
| 1501 |
(_gpgrt_kill_process, _gpgrt_release_process): Likewise. |
| 1502 |
* src/mkheader.c (write_special): Handle @define:gpgrt_process_t@. |
| 1503 |
Remove handling of @define:pid_t@. |
| 1504 |
* src/spawn-posix.c (_gpgrt_spawn_process): Use gpgrt_process_t. |
| 1505 |
(_gpgrt_spawn_process_fd): Likewise. |
| 1506 |
(_gpgrt_wait_process, _gpgrt_wait_processes): Likewise. |
| 1507 |
(_gpgrt_kill_process, _gpgrt_release_process): Likewise. |
| 1508 |
* src/spawn-w32.c (_gpgrt_spawn_process): Use gpgrt_process_t. |
| 1509 |
(_gpgrt_spawn_process_fd): Likewise. |
| 1510 |
(_gpgrt_wait_process, _gpgrt_wait_processes): Likewise. |
| 1511 |
(_gpgrt_kill_process, _gpgrt_release_process): Likewise. |
| 1512 |
|
| 1513 |
2022-10-31 NIIBE Yutaka <[email protected]> |
| 1514 |
|
| 1515 |
spawn: Fix spawn_cb of gpgrt_spawn_process_fd. |
| 1516 |
+ commit 6c20e8393eba4a9f330143b2158e28ea594cbadd |
| 1517 |
* src/gpg-error.def.in (gpgrt_close_all_fds): New. |
| 1518 |
* src/gpg-error.vers (gpgrt_close_all_fds): New. |
| 1519 |
* src/gpg-error.h.in (GPGRT_SPAWN_INHERIT_FILE): New. |
| 1520 |
(gpgrt_spawn_process_fd): SPAWN_CB having return value. |
| 1521 |
* src/gpgrt-int.h (_gpgrt_spawn_process_fd): SPAWN_CB change. |
| 1522 |
* src/spawn-posix.c (_gpgrt_close_all_fds): Rename from close_all_fds, |
| 1523 |
and export it. |
| 1524 |
(do_exec): Support the case not closing fds. |
| 1525 |
(_gpgrt_spawn_process_fd): Handle return value of SPAWN_CB to |
| 1526 |
determine closing all fds or not. |
| 1527 |
* src/spawn-w32.c (_gpgrt_spawn_process_fd): Run SPAWN_CB. |
| 1528 |
(_gpgrt_close_all_fds): New. |
| 1529 |
* src/visibility.c (gpgrt_close_all_fds): New. |
| 1530 |
* src/visibility.h (gpgrt_close_all_fds): New. |
| 1531 |
|
| 1532 |
2022-10-27 NIIBE Yutaka <[email protected]> |
| 1533 |
|
| 1534 |
spawn: Expose spawn functions. |
| 1535 |
+ commit 43c1e85fe29a52a9debc068d97c5860a4694b821 |
| 1536 |
* src/gpg-error.def.in: Update. |
| 1537 |
* src/gpg-error.vers: Update. |
| 1538 |
* src/gpg-error.h.in: Add declarations. |
| 1539 |
* src/visibility.c: Add implementations. |
| 1540 |
* src/visibility.h: Expose them. |
| 1541 |
|
| 1542 |
2022-10-20 NIIBE Yutaka <[email protected]> |
| 1543 |
|
| 1544 |
gpgrt_spawn_process, gpgrt_spawn_process_fd: Change the API. |
| 1545 |
+ commit 5ad97e8fa62882b2014a67b4e57dab3b37ccaf4c |
| 1546 |
* src/gpg-error.h.in (gpgrt_spawn_process): Remove PREEXEC argument. |
| 1547 |
(gpgrt_spawn_process_fd): Add AFTER_FORK_CB and AFTER_FORK_CB_ARG. |
| 1548 |
* src/gpgrt-int.h (_gpgrt_spawn_process): Remove PREEXEC argument. |
| 1549 |
(_gpgrt_spawn_process_fd): Add AFTER_FORK_CB and AFTER_FORK_CB_ARG. |
| 1550 |
* src/spawn-posix.c (do_exec): Remove PREEXEC argument. |
| 1551 |
(_gpgrt_spawn_process): Remove PREEXEC argument. |
| 1552 |
(_gpgrt_spawn_process_fd): Add AFTER_FORK_CB and AFTER_FORK_CB_ARG. |
| 1553 |
(_gpgrt_spawn_process_detached): Follow the change of do_exec. |
| 1554 |
* src/spawn-w32.c (_gpgrt_spawn_process): Remove PREEXEC argument. |
| 1555 |
(_gpgrt_spawn_process_fd): Add AFTER_FORK_CB and AFTER_FORK_CB_ARG. |
| 1556 |
* src/visibility.c (gpgrt_spawn_process): Remove PREEXEC argument. |
| 1557 |
(gpgrt_spawn_process_fd): Add AFTER_FORK_CB and AFTER_FORK_CB_ARG. |
| 1558 |
|
| 1559 |
2022-10-19 NIIBE Yutaka <[email protected]> |
| 1560 |
|
| 1561 |
spawn: Update changes from gnupg. |
| 1562 |
+ commit 494886acb0bf3d536f4e620340e42c8ec8947742 |
| 1563 |
* src/gpg-error.h.in (GPGRT_SPAWN_KEEP_STDIN): New. |
| 1564 |
(GPGRT_SPAWN_KEEP_STDOUT, GPGRT_SPAWN_KEEP_STDERR): New. |
| 1565 |
* src/gpgrt-int.h: Add comment. |
| 1566 |
* src/spawn-posix.c (do_exec): Add the argument FLAGS. |
| 1567 |
(_gpgrt_spawn_process): Add FLAGS. |
| 1568 |
(_gpgrt_spawn_process_fd): Follow the change. |
| 1569 |
(_gpgrt_spawn_process_detached): Likewise. |
| 1570 |
* src/spawn-w32.c (_gpgrt_spawn_process): Handle FLAGS. |
| 1571 |
|
| 1572 |
2022-10-11 NIIBE Yutaka <[email protected]> |
| 1573 |
|
| 1574 |
build: Remove potomo from repo. |
| 1575 |
+ commit be4f289a5c09f43cb6b893bdc709a743a100be15 |
| 1576 |
* potomo: Remove. |
| 1577 |
|
| 1578 |
2022-10-07 Werner Koch <[email protected]> |
| 1579 |
|
| 1580 |
Release 1.46. |
| 1581 |
+ commit ea031873aa9642831017937fd33e9009d514ee07 |
| 1582 |
|
| 1583 |
|
| 1584 |
2022-09-21 Damien Goutte-Gattat <[email protected]> |
| 1585 |
|
| 1586 |
m4: Fix detection of gpgrt's libdir. |
| 1587 |
+ commit 628cb1a786bd5d420be17c2e9ffd407f4fbf517e |
| 1588 |
* src/gpg-error.m4 (GPGRT_CONFIG): Handle the case where none of the |
| 1589 |
system lib directories contain a pkgconfig subdirectory. |
| 1590 |
|
| 1591 |
2022-09-19 Damien Goutte-Gattat via Gnupg-devel <[email protected]> |
| 1592 |
|
| 1593 |
build: Fix installation of gpg-error-config.1. |
| 1594 |
+ commit b5043421d2b3ff5999e88808737ff400bf15b0ee |
| 1595 |
* doc/Makefile.am (myman_pages): Rename man page to gpg-error-config.1 |
| 1596 |
and only install if gpg-error-config itself is installed. |
| 1597 |
|
| 1598 |
2022-09-15 NIIBE Yutaka <[email protected]> |
| 1599 |
|
| 1600 |
yat2m: Use __noreturn__ attribute. |
| 1601 |
+ commit a86ad1cbb6bd83cb30ab87f5ad1c70077288a8da |
| 1602 |
* doc/yat2m.c (ATTR_NR_PRINTF): Use __noreturn__. |
| 1603 |
|
| 1604 |
Remove extra semicolons. |
| 1605 |
+ commit 6f103890e9728072e1c9c1e0a1d7f87220d8eecc |
| 1606 |
* src/gpgrt-int.h: Remove extra. |
| 1607 |
* src/visibility.h: Likewise. |
| 1608 |
|
| 1609 |
2022-09-08 NIIBE Yutaka <[email protected]> |
| 1610 |
|
| 1611 |
Silence compiler warnings. |
| 1612 |
+ commit 10dc853291a1786f061e01cdcf477be0c31441b1 |
| 1613 |
* src/argparse.c (show_version): It's no args. |
| 1614 |
(_gpgrt_log_get_fd, _gpgrt_log_get_stream): Likewise. |
| 1615 |
|
| 1616 |
2022-08-25 NIIBE Yutaka <[email protected]> |
| 1617 |
|
| 1618 |
gpgrt-config: Strip system paths for --cflags and --libs. |
| 1619 |
+ commit 4615816f71e91f4c3bb8b0e4122dd153ec7c1927 |
| 1620 |
* src/gpgrt-config.in: Strip -I and -L with system paths. |
| 1621 |
|
| 1622 |
2022-08-17 Ingo Klöcker <[email protected]> |
| 1623 |
|
| 1624 |
build: Omit -L<libdir> for standard paths on some 64-bit systems. |
| 1625 |
+ commit fcb19dbfd49338e5c282e2853d71d66a0594d3c1 |
| 1626 |
* configure.ac (GPG_ERROR_CONFIG_LIBS): Handle the case $libdir = |
| 1627 |
'${exec_prefix}/lib64'. |
| 1628 |
|
| 1629 |
2022-08-15 NIIBE Yutaka <[email protected]> |
| 1630 |
|
| 1631 |
build: Only install gpg-error-config when enabled. |
| 1632 |
+ commit 0b47de9c719b0ed0da0791f0525de073737bde5a |
| 1633 |
* configure.ac (INSTALL_GPG_ERROR_CONFIG): New. |
| 1634 |
* src/Makefile.am (bin_SCRIPTS, noinst_SCRIPTS): Conditionalize. |
| 1635 |
|
| 1636 |
2022-08-02 Werner Koch <[email protected]> |
| 1637 |
|
| 1638 |
w32: Convert REG_DWORD values to a string. |
| 1639 |
+ commit 745d333cf7b5b6fee62e3b26c8a2ccc004e017da |
| 1640 |
* src/w32-reg.c (_gpgrt_w32_reg_query_string): Handle REG_DWORD |
| 1641 |
|
| 1642 |
2022-07-28 NIIBE Yutaka <[email protected]> |
| 1643 |
|
| 1644 |
w32: Fix for bidirectional pipe. |
| 1645 |
+ commit 25701f105b947500f920eb5a13e328f8f7843d38 |
| 1646 |
* src/estream.c (func_w32_seek): Return an error with ESPIPE, when |
| 1647 |
it's pipe. |
| 1648 |
|
| 1649 |
2022-07-22 NIIBE Yutaka <[email protected]> |
| 1650 |
|
| 1651 |
doc: Update gpgrt.texi for old gpg-error-config script. |
| 1652 |
+ commit 1e7d0d3ef627f3cdee70b8409f04d7e2ecf4fdd6 |
| 1653 |
* doc/gpgrt.texi: Address pkg-config. Manual entry is for |
| 1654 |
gpg-error-config. gpgrt-config is an internal command for |
| 1655 |
gpg-error.m4. |
| 1656 |
|
| 1657 |
2022-07-19 NIIBE Yutaka <[email protected]> |
| 1658 |
|
| 1659 |
build: Fix configure script. |
| 1660 |
+ commit 64bcee3c467d837694d225e15981ea76ebf7e7b9 |
| 1661 |
* configure.ac (AC_HEADER_TIME): Remove obsolete AC macro. |
| 1662 |
(AC_CHECK_SIZEOF(time_t)): Remove unneeded check. |
| 1663 |
|
| 1664 |
build: Update config.guess, config.sub, and config.rpath. |
| 1665 |
+ commit b1b808f30f83e92e7d30a9336588c15553699a7b |
| 1666 |
* build-aux/config.guess: Update from upstream. |
| 1667 |
* build-aux/config.sub: Ditto. |
| 1668 |
* build-aux/config.rpath: Update from gettext 0.21. |
| 1669 |
|
| 1670 |
2022-06-28 NIIBE Yutaka <[email protected]> |
| 1671 |
|
| 1672 |
Remove Windows CE support. |
| 1673 |
+ commit 14ead267268f8ed14bf1ab49189646a95654b706 |
| 1674 |
* contrib/*: Remove. |
| 1675 |
* Makefile.am: Remove contrib. |
| 1676 |
* autogen.sh: Remove Windows CE support. |
| 1677 |
* configure.ac (have_w32ce_system): Remove. |
| 1678 |
* src/Makefile.am [HAVE_W32CE_SYSTEM] (extra_cppflags): Remove. |
| 1679 |
(gpg_extra_headers): Remove. |
| 1680 |
(EXTRA_DIST): Remove mkw32errmap.c and w32ce-add.h |
| 1681 |
(BUILT_SOURCES): Remove mkw32errmap.map.c. |
| 1682 |
(tmp_files): Remove mkw32errmap.tab.h mkw32errmap.map.c |
| 1683 |
(CLEANFILES): Likewise. |
| 1684 |
* src/estream-printf.c [HAVE_W32CE_SYSTEM]: Remove. |
| 1685 |
* src/estream.c [HAVE_W32CE_SYSTEM]: Remove. |
| 1686 |
* src/gpg-error.def.in [HAVE_W32CE_SYSTEM]: Remove. |
| 1687 |
* src/gpgrt-int.h: Fix comment. |
| 1688 |
* src/init.c [HAVE_W32CE_SYSTEM]: Remove. |
| 1689 |
* src/init.h [HAVE_W32CE_SYSTEM]: Remove. |
| 1690 |
* src/mkheader.c: Remove Windows CE support. |
| 1691 |
* src/mkw32errmap.c, src/w32ce-add.h: Remove. |
| 1692 |
* src/spawn-posix.c [HAVE_W32CE_SYSTEM]: Remove. |
| 1693 |
* src/spawn-w32.c [HAVE_W32CE_SYSTEM]: Remove. |
| 1694 |
* src/sysutils.c [HAVE_W32CE_SYSTEM]: Remove. |
| 1695 |
* src/w32-estream.c [HAVE_W32CE_SYSTEM]: Remove. |
| 1696 |
* src/w32-reg.c [HAVE_W32CE_SYSTEM]: Remove. |
| 1697 |
* tests/Makefile.am [HAVE_W32CE_SYSTEM]: Remove. |
| 1698 |
|
| 1699 |
Typo fix in autogen.sh. |
| 1700 |
+ commit 084d135f44a027e86f1005c893935464ffbc4b82 |
| 1701 |
* autogen.sh: Fix typo. |
| 1702 |
|
| 1703 |
2022-04-07 Werner Koch <[email protected]> |
| 1704 |
|
| 1705 |
Release 1.45. |
| 1706 |
+ commit dbac537e5e865fb6f3aa8596d213aa8c47a9dea1 |
| 1707 |
|
| 1708 |
|
| 1709 |
2022-04-07 NIIBE Yutaka <[email protected]> |
| 1710 |
|
| 1711 |
logging: Fix the previous commit. |
| 1712 |
+ commit 74e6afcc36b28b0acc49fbe25f29b42d1a223caf |
| 1713 |
* src/logging.c (set_file_fd): Open with append mode. |
| 1714 |
|
| 1715 |
logging: Fix gpgrt_log_get_fd for file. |
| 1716 |
+ commit 5ef201c10b1cc870ae06e34ad02bb5da0a763bfe |
| 1717 |
* src/logging.c (fun_writer): Only use this for socket writing. |
| 1718 |
(set_file_fd): Use es_stderr when "-". |
| 1719 |
Use the stream by _gpgrt_fdopen when FD is specified. |
| 1720 |
Use the stream by _gpgrt_fopen when name is not socket. |
| 1721 |
Only use the stream by _gpgrt_fopencookie for socket. |
| 1722 |
[HAVE_W32CE_SYSTEM]: Remove W32CE support. |
| 1723 |
|
| 1724 |
2022-04-04 NIIBE Yutaka <[email protected]> |
| 1725 |
|
| 1726 |
w32: Add ES_SYSHD_SOCK support for gpgrt_sysopen. |
| 1727 |
+ commit 018ea46a30cf4eda70070ba42c4fee642fb2fd8a |
| 1728 |
* src/mkheader.c (write_special): Support @SOCKET_t@ substitution. |
| 1729 |
* src/gpgrt-int.h (gpgrt_stream_backend_kind_t): Add BACKEND_SOCK. |
| 1730 |
* src/gpg-error.h.in (struct _gpgrt_syshd): Use @SOCKET_t@. |
| 1731 |
* src/estream.c [HAVE_W32_SYSTEM] (estream_cookie_sock_t): New. |
| 1732 |
[HAVE_W32_SYSTEM] (func_sock_create, func_sock_read): New. |
| 1733 |
[HAVE_W32_SYSTEM] (func_sock_write, func_sock_seek): New. |
| 1734 |
[HAVE_W32_SYSTEM] (func_sock_destroy, func_sock_ioctl): New. |
| 1735 |
[HAVE_W32_SYSTEM] (estream_functions_sock, do_sockopen): New. |
| 1736 |
[HAVE_W32_SYSTEM] (do_sysopen): Call do_sockopen. |
| 1737 |
|
| 1738 |
2022-03-29 NIIBE Yutaka <[email protected]> |
| 1739 |
|
| 1740 |
w32: Fix handle_to_pid for MinGW-w64. |
| 1741 |
+ commit 660db9c9a90f377fc14a5d659d974d68d782b2d1 |
| 1742 |
* src/spawn-w32.c (handle_to_pid): Use pid_t to coerce the type. |
| 1743 |
|
| 1744 |
2022-03-28 NIIBE Yutaka <[email protected]> |
| 1745 |
|
| 1746 |
core: Fix support of posix-lock for FreeBSD. |
| 1747 |
+ commit 6e17e70bb7eea1f6ed4c08f795ea65a09f89d38f |
| 1748 |
* src/posix-lock.c [__FreeBSD__] (use_pthread_p): Use |
| 1749 |
pthread_key_create to determine if it's linked to lpthread or not. |
| 1750 |
|
| 1751 |
yat2m: Only emit a message of the page with --verbose option. |
| 1752 |
+ commit 70489b4f75c0afcb1b5c65e579b231d8f657b8c6 |
| 1753 |
* doc/yat2m.c (finish_page): Conditionalize the output with VERBOSE. |
| 1754 |
|
| 1755 |
2022-03-25 NIIBE Yutaka <[email protected]> |
| 1756 |
|
| 1757 |
w32: Fix for MinGW which doesn't define EOPNOTSUPP. |
| 1758 |
+ commit 8e67e8c3f21c798ff1f4862b0e7228825e6dd4f6 |
| 1759 |
* src/w32-estream.c: Add EOPNOTSUPP. |
| 1760 |
|
| 1761 |
2022-03-04 Werner Koch <[email protected]> |
| 1762 |
|
| 1763 |
w32: Support file names longer than MAX_PATH. |
| 1764 |
+ commit 32dad4e4135f0bdc436ed684da753d4b0cdb0ea1 |
| 1765 |
* src/sysutils.c (any8bitchar): Remove. |
| 1766 |
(_gpgrt_fname_to_wchar): New. |
| 1767 |
(_gpgrt_mkdir): Use instead of plain utf8 conversion. |
| 1768 |
(_gpgrt_access): Reimplement using GetFileAttributesW so that long |
| 1769 |
files names are supported. |
| 1770 |
* src/estream.c (_gpgrt_w32_get_last_err_code): New. |
| 1771 |
(func_file_create_w32): New. |
| 1772 |
(_gpgrt_fopen): Handle the "sysopen" mode flag. Support mapping of |
| 1773 |
/dev/null. |
| 1774 |
(_gpgrt_freopen): Support mapping of /dev/null. |
| 1775 |
* src/w32-gettext.c (load_domain): Allow long file names. |
| 1776 |
|
| 1777 |
* src/visibility.c (gpgrt_free_wchar): Make function public. |
| 1778 |
(gpgrt_fname_to_wchar): Ditto. |
| 1779 |
(gpgrt_utf8_to_wchar): Ditto. |
| 1780 |
(gpgrt_wchar_to_utf8): Ditto. |
| 1781 |
* src/w32-add.h (gpgrt_free_wchar): New prototype. |
| 1782 |
(gpgrt_fname_to_wchar): Ditto. |
| 1783 |
(gpgrt_utf8_to_wchar): Ditto. |
| 1784 |
(gpgrt_wchar_to_utf8): Ditto. |
| 1785 |
* src/gpg-error.def.in: Add them here too. |
| 1786 |
|
| 1787 |
2022-02-17 NIIBE Yutaka <[email protected]> |
| 1788 |
|
| 1789 |
gpg-error.m4: Fix use with older gpgrt-config (< 1.33). |
| 1790 |
+ commit 666d64d2bc6539d0ca03dea69abc5a8ccdf37be5 |
| 1791 |
* src/gpg-error.m4: When gpgrt-config doesn't work expected for |
| 1792 |
gpg-error.pc, unset GPGRT_CONFIG. |
| 1793 |
|
| 1794 |
2022-02-01 NIIBE Yutaka <[email protected]> |
| 1795 |
|
| 1796 |
build,tests: Fix detection of have_lock_optimization. |
| 1797 |
+ commit 433aba9e778ebe9500c29ae1ae34999d48e98a19 |
| 1798 |
* configure.ac: Lock optimization (without sys/single_threaded.h) is |
| 1799 |
only known to work on GNU system, using weak symbol. |
| 1800 |
|
| 1801 |
2022-01-27 Werner Koch <[email protected]> |
| 1802 |
|
| 1803 |
Release 1.44. |
| 1804 |
+ commit 54eff9cb9ac86809f3217179eb1029058d4a7936 |
| 1805 |
* configure.ac: Bump LT version to C32/A32/R2. |
| 1806 |
|
| 1807 |
2022-01-27 Emir SARI <[email protected]> |
| 1808 |
|
| 1809 |
Add Turkish translations. |
| 1810 |
+ commit 663b91fe91af0bb290fe18092896a8917bf51e14 |
| 1811 |
|
| 1812 |
|
| 1813 |
2022-01-25 Werner Koch <[email protected]> |
| 1814 |
|
| 1815 |
core: Fix returning of option attributes for options with args. |
| 1816 |
+ commit 5ab088aba9f05b480c311e94d45a88728ac9320b |
| 1817 |
* src/argparse.c (_gpgrt_argparse): Set attributes info flags |
| 1818 |
|
| 1819 |
2022-01-18 Daniel Kahn Gillmor <[email protected]> |
| 1820 |
|
| 1821 |
build: Detect more flexible musl variants of GNU. |
| 1822 |
+ commit 0150919b6a8244be1055d01ad21d6fa47788ab0e |
| 1823 |
* configure.ac: expand *-*-linux-musl to *-*-linux-musl*. |
| 1824 |
|
| 1825 |
2022-01-18 NIIBE Yutaka <[email protected]> |
| 1826 |
|
| 1827 |
po,w32: Directly run msgfmt at install-data-hook. |
| 1828 |
+ commit b26220f92fa668e185dbf2bcc5006c6e74b20073 |
| 1829 |
* Makefile.am (EXTRA_DIST): Remove potomo. |
| 1830 |
[HAVE_W32_SYSTEM] (install-data-hook): Run msgfmt. |
| 1831 |
|
| 1832 |
po: Update files from gettext 0.21 to match m4/po.m4. |
| 1833 |
+ commit b37c68f28a921d1c03507469f4af53e012ef7679 |
| 1834 |
* po/Makefile.in.in: Update. |
| 1835 |
* po/Makevars: Update. |
| 1836 |
* po/Rules-quot: Update. |
| 1837 |
* po/insert-header.sin: Update. |
| 1838 |
* po/remove-potcdate.sin: Update. |
| 1839 |
|
| 1840 |
2021-12-22 NIIBE Yutaka <[email protected]> |
| 1841 |
|
| 1842 |
build: Recover and update *.m4. |
| 1843 |
+ commit 973dbdbfc90136798cfa4001166a40b904fdad70 |
| 1844 |
* m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: Copied |
| 1845 |
from gnulib. |
| 1846 |
* m4/po.m4, m4/nls.m4, m4/progtest.m4: Likewise. |
| 1847 |
* m4/gettext.m4, m4/iconv.m4: Update from gnulib. |
| 1848 |
* m4/host-cpu-c-abi.m4: New from gnulib. |
| 1849 |
|
| 1850 |
build: Remove obsolete m4 files. |
| 1851 |
+ commit 980e4410bb0a372a7bcce5f454915e6565a56b96 |
| 1852 |
* m4/glibc2.m4, m4/glibc21.m4, m4/intdiv0.m4, m4/intmax.m4: Remove. |
| 1853 |
* m4/inttypes-h.m4, m4/inttypes-pri.m4, m4/inttypes.m4: Remove. |
| 1854 |
* m4/inttypes_h.m4, m4/isc-posix.m4, m4/lcmessage.m4: Remove. |
| 1855 |
* m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: Remove. |
| 1856 |
* m4/longdouble.m4, m4/longlong.m4, m4/nls.m4, m4/po.m4: Remove. |
| 1857 |
* m4/printf-posix.m4, m4/progtest.m4, m4/signed.m4: Remove. |
| 1858 |
* m4/size_max.m4, m4/stdint_h.m4, m4/uintmax_t.m4: Remove. |
| 1859 |
* m4/ulonglong.m4, m4/visibility.m4, m4/wchar_t.m4: Remove. |
| 1860 |
* m4/wint_t.m4, m4/xsize.m4: Remove. |
| 1861 |
|
| 1862 |
2021-12-17 NIIBE Yutaka <[email protected]> |
| 1863 |
|
| 1864 |
tests: Fix gpg-error-config-test for PKG_CONFIG_LIBDIR. |
| 1865 |
+ commit 8d2bd9a0d4bba9b820bc03a9275441c39182d5b7 |
| 1866 |
* src/gpg-error-config-test.sh.in: Clear PKG_CONFIG_LIBDIR. |
| 1867 |
|
| 1868 |
2021-12-15 NIIBE Yutaka <[email protected]> |
| 1869 |
|
| 1870 |
build: Update configure.ac for newer autoconf. |
| 1871 |
+ commit f5e043ad271f431f2c35fc6b22fc51b448507b01 |
| 1872 |
* configure.ac (AC_PREREQ): Require 2.69 or later. |
| 1873 |
(AC_CONFIG_HEADERS): Replace AC_CONFIG_HEADER. |
| 1874 |
(AC_HEADER_STDC): Remove. |
| 1875 |
* m4/codeset.m4: Update from gnulib. |
| 1876 |
|
| 1877 |
2021-12-13 NIIBE Yutaka <[email protected]> |
| 1878 |
|
| 1879 |
build: Fix have_lock_optimization code for 'guessing yes'. |
| 1880 |
+ commit f15c06951bb91eb0a4ab54f6707b6e21448945f9 |
| 1881 |
* configure.ac: Support 'guessing yes' for gl_cv_have_weak. |
| 1882 |
|
| 1883 |
build: Detect a system with musl, as a variant of GNU System. |
| 1884 |
+ commit e17cf023d894acc3932505f66fbd9c31ce56793f |
| 1885 |
* configure.ac: Add *-*-linux-musl. |
| 1886 |
|
| 1887 |
2021-12-07 Jakub Jelen <[email protected]> |
| 1888 |
|
| 1889 |
configure: Add missing check for logging. |
| 1890 |
+ commit 7fac8e02d80d139f43fc5fd179618ab769512124 |
| 1891 |
* configure.ac: Add missing check for inet_pton to avoid using inet_addr |
| 1892 |
in modern systems. |
| 1893 |
|
| 1894 |
2021-11-29 NIIBE Yutaka <[email protected]> |
| 1895 |
|
| 1896 |
tests,w32: Use CreatePipe and es_sysopen. |
| 1897 |
+ commit 858bcd4343ac40566825cfa861ee60bcc54cb6c8 |
| 1898 |
* tests/t-poll.c (create_pipe): Use CreatePipe. |
| 1899 |
|
| 1900 |
2021-11-25 NIIBE Yutaka <[email protected]> |
| 1901 |
|
| 1902 |
build,tests: Run t-lock-single-posix only on platforms supported. |
| 1903 |
+ commit 50e0f32b19356fd7c64c799192379ff2204cd8a3 |
| 1904 |
* configure.ac (HAVE_LOCK_OPTIMIZATION): New. |
| 1905 |
* tests/Makefile.am: Use HAVE_LOCK_OPTIMIZATION for |
| 1906 |
t-lock-single-posix. |
| 1907 |
|
| 1908 |
2021-11-19 NIIBE Yutaka <[email protected]> |
| 1909 |
|
| 1910 |
build: Fix dependency to gpg-error-config-test.sh. |
| 1911 |
+ commit 0fcfca8e9ffa25836f391df75f5b3bb1b7dc1a69 |
| 1912 |
* src/Makefile.am (gpg-error-config): It depends on configure |
| 1913 |
generated gpg-error-config-test.sh. |
| 1914 |
|
| 1915 |
2021-11-12 NIIBE Yutaka <[email protected]> |
| 1916 |
|
| 1917 |
build: Fix for configure generated files. |
| 1918 |
+ commit fd83c3e29744c8d7829df3de8c10f9c68f11e429 |
| 1919 |
* src/Makefile.am (bin_SCRIPTS): Add gpgrt-config. |
| 1920 |
(EXTRA_DIST): Add gpgrt-config.in and gpg-error-config-test.sh.in. |
| 1921 |
(CLEANFILES): Add configure generated files. |
| 1922 |
|
| 1923 |
configure: Escape includedir/libdir to defer interpretation of vars. |
| 1924 |
+ commit 1e5b17f4284ea2904c65d08097735a1a4a8879a1 |
| 1925 |
configure.ac: Escape includedir for GPG_ERROR_CONFIG_CFLAGS. |
| 1926 |
Escape libdir for GPG_ERROR_CONFIG_LIBS. |
| 1927 |
|
| 1928 |
2021-11-04 NIIBE Yutaka <[email protected]> |
| 1929 |
|
| 1930 |
estream: Only include sys/select.h when needed. |
| 1931 |
+ commit 61843dace32f12475b1ade5423deaa0421cbbc0b |
| 1932 |
* src/estream.c: The select function is only used when poll is not |
| 1933 |
available. So, let it include the header file only when needed. |
| 1934 |
|
| 1935 |
2021-11-03 Werner Koch <[email protected]> |
| 1936 |
|
| 1937 |
Release 1.43. |
| 1938 |
+ commit d7fb04832a71a2c1509d45027798f184ca274f8d |
| 1939 |
|
| 1940 |
|
| 1941 |
2021-11-03 Ineiev <[email protected]> |
| 1942 |
|
| 1943 |
po: Update Russian translation. |
| 1944 |
+ commit 983a1b491ea6dfa7bb1868a6ac41fb9222bbe301 |
| 1945 |
|
| 1946 |
|
| 1947 |
2021-11-03 Werner Koch <[email protected]> |
| 1948 |
|
| 1949 |
argparse: Add more system variables. |
| 1950 |
+ commit 62755bcd302eca755d52b80b62dc17ae0e683b75 |
| 1951 |
* src/argparse.c (get_var): Fix "_windows", add "_gpgrtversion" and |
| 1952 |
"strusageN". |
| 1953 |
(handle_meta_if): Avoid evaluating inactive branches. |
| 1954 |
* tests/t-argparse.conf: Add a few other outputs. |
| 1955 |
|
| 1956 |
2021-10-31 Werner Koch <[email protected]> |
| 1957 |
|
| 1958 |
argparse: Add support to read values from the Windows Registry. |
| 1959 |
+ commit b1790f4cc71f14422255bbfba78e91f037e035dd |
| 1960 |
* src/argparse.c (struct variable_s): New. |
| 1961 |
(struct _gpgrt_argparse_internal_s): New fields expand, if_cond, |
| 1962 |
if_active and vartbl. |
| 1963 |
(deinitialize): Free vartbl. |
| 1964 |
(initialize): Clear new vars. |
| 1965 |
(get_var): New. |
| 1966 |
(substitute_vars): New. |
| 1967 |
(set_variable): New. |
| 1968 |
(handle_meta_if): New. |
| 1969 |
(handle_meta_let): New. |
| 1970 |
(handle_meta_getenv): New. |
| 1971 |
(handle_meta_echo): Re-implement in terms of variabale substitution. |
| 1972 |
(handle_meta_expand): New. |
| 1973 |
(handle_metacmd): Add new meta commands. |
| 1974 |
(_gpgrt_argparse): Expand values if enabled. |
| 1975 |
(_gpgrt_argparse): Take care of conditions. |
| 1976 |
(_gpgrt_argparser): Reset some state at the end of a file. |
| 1977 |
|
| 1978 |
* tests/etc/t-argparse.conf: Adjust for changed system variables. |
| 1979 |
* tests/t-argparse.c (my_strusage): Add a value for a version test. |
| 1980 |
(main): Add new option "street". |
| 1981 |
* tests/t-argparse.conf: A couple if additions for the new conditions. |
| 1982 |
|
| 1983 |
2021-10-22 Werner Koch <[email protected]> |
| 1984 |
|
| 1985 |
core: new internal function _gpgrt_w32_reg_get_string. |
| 1986 |
+ commit 2a32501a561a5d70069bcb6e7e87fb949370520e |
| 1987 |
* src/w32-reg.c (_gpgrt_w32_reg_query_string): Allow abbreviated root |
| 1988 |
names. |
| 1989 |
(_gpgrt_w32_reg_get_string): New. |
| 1990 |
|
| 1991 |
2021-09-27 NIIBE Yutaka <[email protected]> |
| 1992 |
|
| 1993 |
libtool: Link without -flat_namespace for macOS. |
| 1994 |
+ commit a3987e44970505a5540f9702c1e41292c22b69cf |
| 1995 |
* m4/libtool.m4: Not setting 10.0 to MACOSX_DEPLOYMENT_TARGET when not |
| 1996 |
defined. Only specify -flat_namespace to linker for specific |
| 1997 |
(older) versions and hosts. |
| 1998 |
|
| 1999 |
2021-09-10 NIIBE Yutaka <[email protected]> |
| 2000 |
|
| 2001 |
gpgrt-config: Fix behavior when PKG_CONFIG_LIBDIR="". |
| 2002 |
+ commit 6b08dd09864e7fbb424296ad490f9fe65c9bc247 |
| 2003 |
* src/gpgrt-config.in: Correctly detect the case. |
| 2004 |
|
| 2005 |
2021-08-26 NIIBE Yutaka <[email protected]> |
| 2006 |
|
| 2007 |
tests: Add a test for locking when single thread. |
| 2008 |
+ commit 2b476b3ebc1d13d681594c15505844766c0fbc4b |
| 2009 |
* tests/Makefile.am (TESTS): Add t-lock-single-posix. |
| 2010 |
* tests/t-lock-single-posix.c: New. |
| 2011 |
|
| 2012 |
2021-08-06 NIIBE Yutaka <[email protected]> |
| 2013 |
|
| 2014 |
posix-lock: Support GNU C library 2.34 or later. |
| 2015 |
+ commit 67595e8244ed67910f7372873cdbf674c2e85403 |
| 2016 |
* configure.ac: Add check for sys/single_threaded.h. |
| 2017 |
* src/posix-lock.c [USE_POSIX_THREADS_FROM_LIBC]: Use |
| 2018 |
__libc_single_threaded to detect if it's single threaded. |
| 2019 |
|
| 2020 |
m4: Merge our local change for threadlib.m4. |
| 2021 |
+ commit 8538a83fd1b5e54d7dbe6dc9042cc74942e38e51 |
| 2022 |
* m4/threadlib.m4: Add THREADLIB_CPPFLAGS support. |
| 2023 |
|
| 2024 |
m4: Update m4/threadlib.m4 from gnulib. |
| 2025 |
+ commit 7ad1ff9673e4589880170b9f84df93510b044814 |
| 2026 |
* m4/threadlib.m4: Update. |
| 2027 |
|
| 2028 |
2021-08-05 NIIBE Yutaka <[email protected]> |
| 2029 |
|
| 2030 |
build: Simplify checking headers. |
| 2031 |
+ commit f8fe24a792321483baa7415e06640fb5077fcb13 |
| 2032 |
* configure.ac (AC_HEADER_STDC): Remove stdlib.h. |
| 2033 |
|
| 2034 |
core: Minor clean up. |
| 2035 |
+ commit b82b0d7a8d8f69aec928a2c604c1260b34a08449 |
| 2036 |
* src/stringutils.c: Remove inclusion of pwd.h. |
| 2037 |
|
| 2038 |
2021-06-21 NIIBE Yutaka <[email protected]> |
| 2039 |
|
| 2040 |
build: Fix --disable-threads. |
| 2041 |
+ commit 220a427b4f997ef6af1b2d4e82ef1dc96e0cd6ff |
| 2042 |
* src/gen-lock-obj.sh: Fix generating '}}}'. |
| 2043 |
|
| 2044 |
2021-06-08 NIIBE Yutaka <[email protected]> |
| 2045 |
|
| 2046 |
core: Avoid truncation of error message in the middle of a character. |
| 2047 |
+ commit 6d19a40a8a23d9aa5d61ace247a5fea1bd103995 |
| 2048 |
* configure.ac (AM_LANGINFO_CODESET): Add. |
| 2049 |
* src/strerror.c (_gpg_strerror_r): Check the boundary of character. |
| 2050 |
|
| 2051 |
2021-05-21 NIIBE Yutaka <[email protected]> |
| 2052 |
|
| 2053 |
build: _DARWIN_C_SOURCE should be 1. |
| 2054 |
+ commit f9b50dafc5d3cc9d463be17b1d9e66817d4cb41c |
| 2055 |
* configure.ac (*-apple-darwin*): Set _DARWIN_C_SOURCE 1. |
| 2056 |
|
| 2057 |
2021-05-20 Werner Koch <[email protected]> |
| 2058 |
|
| 2059 |
core: Make gpgrt_free robust against legacy free implementations. |
| 2060 |
+ commit 448bf7b01cade87f45fb39f455f37a6aadeeceda |
| 2061 |
* src/init.c (_gpgrt_free): Shortcut NULL and save ERRNO. |
| 2062 |
|
| 2063 |
2021-04-12 Jakub Jelen <[email protected]> |
| 2064 |
|
| 2065 |
build,tests: Fix leaks of memory or file pointer. |
| 2066 |
+ commit ad062b0a5b7d598081405ecfb71b51540281a1b7 |
| 2067 |
* src/mkheader.c (parse_config_h): Close FP. |
| 2068 |
* tests/t-b64.c (test_b64enc_string): Free STATE. |
| 2069 |
(test_b64dec_string): Free BUFFER. |
| 2070 |
* tests/t-syserror.c (main): Close FP. |
| 2071 |
|
| 2072 |
2021-04-08 NIIBE Yutaka <[email protected]> |
| 2073 |
|
| 2074 |
core: Fix gpgrt_wait_processes, by skipping invalid PID. |
| 2075 |
+ commit 956c40f106ead6d0191bc183805021e70c15e760 |
| 2076 |
* src/spawn-posix.c (_gpgrt_wait_processes): Skip invalid PID. |
| 2077 |
|
| 2078 |
2021-04-07 NIIBE Yutaka <[email protected]> |
| 2079 |
|
| 2080 |
build: Fix gpgrt-config for handling 'Requires' field. |
| 2081 |
+ commit 89a353f418f5e879ab5564ec0767a6cbdb19d51c |
| 2082 |
* src/gpgrt-config.in (get_attr_l): Fix thinko for word split. |
| 2083 |
|
| 2084 |
2021-03-31 NIIBE Yutaka <[email protected]> |
| 2085 |
|
| 2086 |
m4: Fix previous commit. |
| 2087 |
+ commit 8536f82194ec21635cd017d7e0bd382106e196c6 |
| 2088 |
|
| 2089 |
|
| 2090 |
m4: Support cross-compiling better. |
| 2091 |
+ commit 9b9c5dfa1020ce5a5a5e4954c58112d2707ec578 |
| 2092 |
* src/gpg-error.m4 (GPGRT_CONFIG): Prefer the one under $prefix. |
| 2093 |
(sed expression): Better compatibility to POSIX sed. |
| 2094 |
|
| 2095 |
2021-03-26 David Michael <[email protected]> |
| 2096 |
|
| 2097 |
build: Fix generation of lock-obj-pub.native.h for cross build. |
| 2098 |
+ commit 33593864cd54143db594c4237bba41e14179061c |
| 2099 |
* src/gen-lock-obj.sh: Capture echo output with quotes. |
| 2100 |
|
| 2101 |
2021-03-22 Werner Koch <[email protected]> |
| 2102 |
|
| 2103 |
Release 1.42. |
| 2104 |
+ commit 303062bf9a383de67227ff942c5482f3a87c71ed |
| 2105 |
|
| 2106 |
|
| 2107 |
core: Add GPG_ERR_SOURCE_TPM2D. |
| 2108 |
+ commit 200bf2ed9d610219cc0b12a91dedb3bfd52d36b7 |
| 2109 |
* src/err-sources.h.in (GPG_ERR_SOURCE_TPM2D): New. |
| 2110 |
|
| 2111 |
2021-03-05 Werner Koch <[email protected]> |
| 2112 |
|
| 2113 |
w32: Allow Unicode paths for the gettext domain. |
| 2114 |
+ commit 618ce381f9d70f3a94e87f58f667a6138411018e |
| 2115 |
* src/w32-gettext.c: Remove remaining WindowsCE support |
| 2116 |
(load_domain): Use CreateFileW. |
| 2117 |
|
| 2118 |
2021-03-04 Werner Koch <[email protected]> |
| 2119 |
|
| 2120 |
w32: Minor cleanup of w32-gettext. |
| 2121 |
+ commit 3bf1de7b72be8e1d9fa78eb94730772d9cf61c44 |
| 2122 |
* src/w32-gettext.c: Include gpgrt.h instead gpg-error.h. |
| 2123 |
(utf8_to_wchar): Use underscored function. |
| 2124 |
(_gpg_w32_textdomain): Ditto. |
| 2125 |
|
| 2126 |
2021-02-18 NIIBE Yutaka <[email protected]> |
| 2127 |
|
| 2128 |
build: Support --disable-threads by gen-lock-obj.sh. |
| 2129 |
+ commit 1fb90a7da186ee2ee098a666f6f3a35bb1720e59 |
| 2130 |
* configure.ac: Supply --disable-threads to gen-lock-obj.sh. |
| 2131 |
Tighten the condition of using gen-lock-obj.sh for GNU/Linux. |
| 2132 |
* src/gen-lock-obj.sh: Support --disable-threads. |
| 2133 |
|
| 2134 |
2021-02-16 NIIBE Yutaka <[email protected]> |
| 2135 |
|
| 2136 |
build: Fix gpgrt-config. |
| 2137 |
+ commit ed3cd20de8d3eab92dd8fff02bcc214c55d08398 |
| 2138 |
* src/gpgrt-config.in: Remove delimiter variable. |
| 2139 |
|
| 2140 |
build: More fix for determining libdir for gpgrt-config. |
| 2141 |
+ commit 28a21addc2e30b0756cdc6774c79f69070df8829 |
| 2142 |
* src/gpg-error.m4: Use CC -print-search-dirs for better support of |
| 2143 |
GNU style cross prefix. |
| 2144 |
|
| 2145 |
2021-02-15 NIIBE Yutaka <[email protected]> |
| 2146 |
|
| 2147 |
build: Fix the previous change. |
| 2148 |
+ commit d7fd25bbfb83cd445bc81aa695b2c6127c22fa59 |
| 2149 |
* src/gpg-error.m4: Fix test condition for GPGRT_CONFIG. |
| 2150 |
Fix behaviour when there is no GPG_ERROR_CONFIG. |
| 2151 |
|
| 2152 |
2021-02-12 NIIBE Yutaka <[email protected]> |
| 2153 |
|
| 2154 |
build: Improve how to determine $libdir for gpgrt-config. |
| 2155 |
+ commit 3cabbad4eec0e5bc6bdaa9f8626578934138adee |
| 2156 |
* src/gpg-error.m4: Fix $gpgrt_libdir handling. |
| 2157 |
|
| 2158 |
2021-02-09 NIIBE Yutaka <[email protected]> |
| 2159 |
|
| 2160 |
Support cross-compiling on more platforms. |
| 2161 |
+ commit 99ae862a96a569724f49a604ebb7d3f6d2c2d374 |
| 2162 |
* src/gen-lock-obj.sh (ECHO_C, ECHO_N): Portability fix. |
| 2163 |
|
| 2164 |
2020-12-21 Werner Koch <[email protected]> |
| 2165 |
|
| 2166 |
Release 1.41. |
| 2167 |
+ commit 98032624ae89a67ee6fe3b1db5d95032e681d163 |
| 2168 |
|
| 2169 |
|
| 2170 |
core: Yet another fix to the ignore meta command. |
| 2171 |
+ commit 7021b58b0f2d95b94a2bac43e15ec97d89706b7f |
| 2172 |
* src/argparse.c (_gpgrt_argparse): Entirely skip ignored sysconf |
| 2173 |
commands. Fix state transitions in the ignore case. |
| 2174 |
|
| 2175 |
Release 1.40. |
| 2176 |
+ commit c1f4ed561e9d214be9fdc3005134b9d0ed87554f |
| 2177 |
* configure.ac: Bump LT version to C31/A31/R0. |
| 2178 |
|
| 2179 |
w32: Allow Unicode for internal getusername function. |
| 2180 |
+ commit 007cfe8a0ca4c03412f031878d6ce232612a90d8 |
| 2181 |
* src/sysutils.c (_gpgrt_getusername) [W32]: Use GetUserNameW. |
| 2182 |
|
| 2183 |
2020-12-18 Werner Koch <[email protected]> |
| 2184 |
|
| 2185 |
core: Fix the "ignore" meta command of the argparser. |
| 2186 |
+ commit 4b09c8c2023d52b97be6069c20897ebfb25f9bca |
| 2187 |
* src/argparse.c (_gpgrt_argparse): Factor some code out to ... |
| 2188 |
(prepare_arg_return): new. |
| 2189 |
(_gpgrt_argparse): No missing arg error in ignore sections. |
| 2190 |
|
| 2191 |
2020-12-07 NIIBE Yutaka <[email protected]> |
| 2192 |
John Ericson |
| 2193 |
|
| 2194 |
build: Use AC_CHECK_TOOL to detect objdump for cross build. |
| 2195 |
+ commit 9ee011259f819a3cf50fe7019fa4366dbc437e0e |
| 2196 |
* configure.ac (CROSS_HOST_OBJDUMP): Remove, but use AC_CHECK_TOOL. |
| 2197 |
|
| 2198 |
2020-11-17 NIIBE Yutaka <[email protected]> |
| 2199 |
|
| 2200 |
m4: Update with newer autoconf constructs. |
| 2201 |
+ commit 8047ca99858a7ee812ef11ed3bd2868e920ac1b7 |
| 2202 |
* src/gpg-error.m4: Replace AC_HELP_STRING to AS_HELP_STRING. |
| 2203 |
|
| 2204 |
build: Update to new autoconf constructs. |
| 2205 |
+ commit 41d753e21eaae3e4332e841de2f40e7055f2a68c |
| 2206 |
* configure.ac Replace AC_GNU_SOURCE to Use AC_USE_SYSTEM_EXTENSIONS. |
| 2207 |
Replace AC_HELP_STRING to AS_HELP_STRING. |
| 2208 |
* m4/estream.m4: Replace AC_TRY_LINK to AC_LINK_IFELSE. |
| 2209 |
* m4/gnupg-misc.m4: Replace AC_TRY_COMPILE to AC_COMPILE_IFELSE. |
| 2210 |
* m4/libtool.m4: Use AC_LANG_PUSH/AC_LANG_POP instead of |
| 2211 |
AC_LANG_SAVE/AC_LANG_RESTORE. |
| 2212 |
* m4/readline.m4: Replace AC_HELP_STRING to AS_HELP_STRING. |
| 2213 |
Fix quote for _combo. |
| 2214 |
* m4/threadlib.m4: Replace AC_HELP_STRING to AS_HELP_STRING. |
| 2215 |
|
| 2216 |
2020-10-19 Werner Koch <[email protected]> |
| 2217 |
|
| 2218 |
New public function gpgrt_access. |
| 2219 |
+ commit 4764c5a3a4d704b3b42bafc5eba3996579030703 |
| 2220 |
* src/gpg-error.h.in (gpgrt_access): New. |
| 2221 |
* src/gpg-error.vers. src/gpg-error.def.in: Add new function. |
| 2222 |
* src/sysutils.c (any8bitchar): New. |
| 2223 |
(_gpgrt_access): New. |
| 2224 |
* src/visibility.c (gpgrt_access): New. |
| 2225 |
|
| 2226 |
* src/spawn-w32.c (_gpgrt_spawn_process_detached): Use it. |
| 2227 |
* src/argparse.c (try_versioned_conffile): Use it. |
| 2228 |
* tests/t-stringutils.c (check_access): New simple test. |
| 2229 |
|
| 2230 |
2020-10-09 Werner Koch <[email protected]> |
| 2231 |
|
| 2232 |
w32: Support utf8 also for getcwd. |
| 2233 |
+ commit dbedf190969de1a796560cfa15fb4ea986bc79dc |
| 2234 |
* src/sysutils.c (_gpgrt_getcwd) [W32]: Implement utf-8 support. |
| 2235 |
* src/w32-gettext.c (wchar_to_native): Factor some code out to .. |
| 2236 |
(wchar_to_cp): new. |
| 2237 |
(_gpgrt_wchar_to_utf8): New. |
| 2238 |
* tests/t-stringutils.c: Include windows.h. |
| 2239 |
(utf8_to_wchar): New. |
| 2240 |
(wchar_to_utf8): New. |
| 2241 |
(mygetcwd): Use wchar version for Windows. |
| 2242 |
(main): New option --pwd. |
| 2243 |
|
| 2244 |
2020-08-24 Werner Koch <[email protected]> |
| 2245 |
|
| 2246 |
Release 1.39. |
| 2247 |
+ commit 59d9f8106db3a23cb5d51d01dc6b719413d3f760 |
| 2248 |
|
| 2249 |
|
| 2250 |
2020-08-21 Werner Koch <[email protected]> |
| 2251 |
|
| 2252 |
core,w32: Add UTF-8 support to gpgrt_fopen, gpgrt_mkdir and gpgrt_chdir. |
| 2253 |
+ commit a68c1975bda47b0698b48761a62e95b371095e9a |
| 2254 |
* src/protos.h: New. |
| 2255 |
* src/Makefile.am (libgpg_error_la_SOURCES): Add file. |
| 2256 |
* src/gpgrt-int.h: Include protos.h. |
| 2257 |
* src/sysutils.c (_gpgrt_mkdir) [W32]: Make UTF-8 aware. |
| 2258 |
(_gpgrt_chdir) [W32]: Ditto. |
| 2259 |
* src/w32-gettext.c: Include protos.h. |
| 2260 |
(utf8_to_wchar): Allow for strings. |
| 2261 |
(_gpgrt_utf8_to_wchar): New. |
| 2262 |
(_gpgrt_free_wchar): New. |
| 2263 |
* src/estream.c (map_w32_to_errno): Add more error codes. |
| 2264 |
(_gpgrt_w32_set_errno): New. |
| 2265 |
(any8bitchar) [W32]: New helper. |
| 2266 |
(func_file_create) [W32]: Convert file name and use _wopen. |
| 2267 |
|
| 2268 |
2020-08-21 NIIBE Yutaka <[email protected]> |
| 2269 |
|
| 2270 |
argparse: Handle a corner case of wrong ARGC. |
| 2271 |
+ commit 87a6b28c0f3b6c5b38e0f8a8533df39d3f0c0f03 |
| 2272 |
* src/argparse.c (arg_parse): Avoid null dereference when ARGC is wrong. |
| 2273 |
|
| 2274 |
2020-08-17 Werner Koch <[email protected]> |
| 2275 |
|
| 2276 |
Fix a current gcc's -fsanitize warning. |
| 2277 |
+ commit c5fcdd9a58a2508a20327226c52d155c29ddd5f3 |
| 2278 |
* src/argparse.c (ARGPARSE_FLAG__INITIALIZED): Make sure it is an |
| 2279 |
unsigned int. |
| 2280 |
|
| 2281 |
2020-08-11 Werner Koch <[email protected]> |
| 2282 |
|
| 2283 |
core,w32: Use timeout in es_poll even if there are no FDs. |
| 2284 |
+ commit fd1340085bc6879436dd2882dc5178c133434675 |
| 2285 |
* src/w32-estream.c (_gpgrt_w32_poll): Sleep if there are no handles |
| 2286 |
to wait for. |
| 2287 |
|
| 2288 |
2020-08-05 Werner Koch <[email protected]> |
| 2289 |
|
| 2290 |
Make --lib-version work again. |
| 2291 |
+ commit e0dab4843ded8af172c2566b4d7313a1a13e7e26 |
| 2292 |
* src/gpg-error.c (main): Add printing code. |
| 2293 |
|
| 2294 |
2020-08-03 NIIBE Yutaka <[email protected]> |
| 2295 |
|
| 2296 |
gpgrt-config: Fix handling 'Requires' field. |
| 2297 |
+ commit 4192cbc3c58589055de1fb5ccbe42f3d33adb0af |
| 2298 |
* src/gpgrt-config.in (get_attr_l): New. |
| 2299 |
(all_required_config_files): Use get_attr_l. |
| 2300 |
|
| 2301 |
2020-07-15 NIIBE Yutaka <[email protected]> |
| 2302 |
|
| 2303 |
w32: Add gpgrt_fcancel to the definition. |
| 2304 |
+ commit c564d8c5a0e7c1aba9103cb4b6561b61074c60f1 |
| 2305 |
* src/gpg-error.def.in (gpgrt_fcancel): Add. |
| 2306 |
|
| 2307 |
2020-06-26 Werner Koch <[email protected]> |
| 2308 |
|
| 2309 |
estream: Add gpgrt_fcancel. |
| 2310 |
+ commit 3413489d25577e3fe7f529b8e610a45d2bd1857c |
| 2311 |
* src/estream.c (do_close): Add arg 'cancel_mode' and chnage all |
| 2312 |
callers. |
| 2313 |
(_gpgrt_fcancel): New. |
| 2314 |
* src/gpg-error.def.in, src/gpg-error.vers: Add function. |
| 2315 |
* src/visibility.c (gpgrt_fcancel): New. |
| 2316 |
* src/gpg-error.h.in (gpgrt_fcancel): New. |
| 2317 |
|
| 2318 |
2020-06-15 NIIBE Yutaka <[email protected]> |
| 2319 |
|
| 2320 |
build: Fix the gpg-error-config test for cross build. |
| 2321 |
+ commit 1a4c1f37a1c95a4cfcaab6df3364ee3515a1ea1b |
| 2322 |
* src/gpg-error-config-test.sh.in: Clear PKG_CONFIG_SYSROOT_DIR. |
| 2323 |
|
| 2324 |
2020-06-12 NIIBE Yutaka <[email protected]> |
| 2325 |
|
| 2326 |
build: Fix command-line to make 'src 'dir. |
| 2327 |
+ commit 159e394920f6be822d771fe003498de4d93b07c3 |
| 2328 |
* configure.ac: Mistake, then, fix it. |
| 2329 |
|
| 2330 |
2020-06-11 NIIBE Yutaka <[email protected]> |
| 2331 |
|
| 2332 |
build: On cross build, detect host's objdump. |
| 2333 |
+ commit ce97528fa3dcc58d86e18d4d8820f210a624f63d |
| 2334 |
* configure.ac [*-*-linux*] (CROSS_HOST_OBJDUMP): New. |
| 2335 |
|
| 2336 |
2020-06-03 David Michael <[email protected]> |
| 2337 |
|
| 2338 |
build: Fix cross-compiling into a separate build dir. |
| 2339 |
+ commit 013720333c6ec1d38791689bc49ba039d98e16b3 |
| 2340 |
* configure.ac: Create the src directory before writing into it. |
| 2341 |
* src/Makefile.am (EXTRA_DIST): Add gen-lock-obj.sh. |
| 2342 |
|
| 2343 |
2020-05-29 Werner Koch <[email protected]> |
| 2344 |
|
| 2345 |
Release 1.38. |
| 2346 |
+ commit 71d278824c5fe61865f7927a2ed1aa3115f9e439 |
| 2347 |
|
| 2348 |
|
| 2349 |
2020-05-29 Yuri Chornoivan <[email protected]> |
| 2350 |
|
| 2351 |
po: Update Ukrainian translation. |
| 2352 |
+ commit 1143b2d3619939a60f47af75be2123f3b225b32b |
| 2353 |
|
| 2354 |
|
| 2355 |
2020-05-29 Ineiev <[email protected]> |
| 2356 |
|
| 2357 |
po: Update and proofread Russian translation. |
| 2358 |
+ commit a6104a9ab717499d405ff2af61a928a08774466a |
| 2359 |
|
| 2360 |
|
| 2361 |
2020-05-19 Daniel Kahn Gillmor <[email protected]> |
| 2362 |
|
| 2363 |
syscfg: add 64-bit big-endian MIPS architecture. |
| 2364 |
+ commit 0db8c768843db3e85935b972f1ed9d1b98159c46 |
| 2365 |
* src/syscfg/lock-obj-pub.mips64-unknown-linux-gnuabi64.h: new. |
| 2366 |
* src/Makefile.am (lock_obj_pub): Add it. |
| 2367 |
|
| 2368 |
2020-04-09 NIIBE Yutaka <[email protected]> |
| 2369 |
|
| 2370 |
build: Use gen-lock-obj.sh script when possible. |
| 2371 |
+ commit 988211d3d4c1f3d5cfa6b460210f65ab636763b5 |
| 2372 |
* configure.ac (HAVE_GENERATED_LOCK_OBJ_H): New. |
| 2373 |
* src/Makefile.am: Support HAVE_GENERATED_LOCK_OBJ_H. |
| 2374 |
|
| 2375 |
build: Add a shell script to generate lock-obj-pub.h. |
| 2376 |
+ commit 50e62b36ea01ed25d12c443088b85d4f41a2b3e1 |
| 2377 |
* src/gen-lock-obj.sh: New. |
| 2378 |
|
| 2379 |
2020-04-03 Werner Koch <[email protected]> |
| 2380 |
|
| 2381 |
core: Improve the echo and info meta commands of the arg parser. |
| 2382 |
+ commit 98d11eff669c042d381ee4f18a42d32bcab256ef |
| 2383 |
* src/argparse.c (handle_meta_echo): Substitue some vars. |
| 2384 |
(handle_meta_user): Factor some code out to ... |
| 2385 |
(assure_username): new. |
| 2386 |
|
| 2387 |
core: Implement meta command [user] also for Windows. |
| 2388 |
+ commit ef07aedc70992742fcef92811345670777a3047b |
| 2389 |
* src/argparse.c (initialize): Clear username. |
| 2390 |
* src/sysutils.c (_gpgrt_getusername): Implement for Windows. |
| 2391 |
|
| 2392 |
core: Implement meta command [user] for the arg parser. |
| 2393 |
+ commit d843d260f5502ba90a2a35dfe202439f32b0e9aa |
| 2394 |
* src/sysutils.c (_gpgrt_getusername): New. |
| 2395 |
* src/argparse.c (struct _gpgrt_argparse_internal_s): New flags user_* |
| 2396 |
and store the current user. |
| 2397 |
(initialize): Free new malloced field. Clear new flags. |
| 2398 |
(handle_meta_user): Implement. |
| 2399 |
(handle_metacmd): Implement user sections. Remove "group" meta |
| 2400 |
command. |
| 2401 |
(_gpgrt_argparse): Implement user sections. |
| 2402 |
(finish_read_sys): Reset new vars. |
| 2403 |
|
| 2404 |
2020-03-06 Werner Koch <[email protected]> |
| 2405 |
|
| 2406 |
core: Tweak the printing of headers in the --help output. |
| 2407 |
+ commit 85b5006d01fc64763a6e1f0d6cbda91c5cb709c1 |
| 2408 |
* src/argparse.c (show_help): Do not print empty sections between |
| 2409 |
headers. |
| 2410 |
|
| 2411 |
core: Add features for pretty printing the help. |
| 2412 |
+ commit c59bf5824aafe938d5ab0d69079b9d93debc19fe |
| 2413 |
* src/gpg-error.h.in (ARGPARSE_OPT_HEADER): New. |
| 2414 |
(ARGPARSE_OPT_VERBATIM): New. |
| 2415 |
(ARGPARSE_verbatim): New. |
| 2416 |
(ARGPARSE_header): New. |
| 2417 |
* src/argparse.c (show_help): Implement them. |
| 2418 |
|
| 2419 |
2020-03-03 Werner Koch <[email protected]> |
| 2420 |
|
| 2421 |
core: New function gpgrt_reallocarray. |
| 2422 |
+ commit 969abd302211262562df93ae5412ee319aae69e6 |
| 2423 |
* src/init.c (_gpgrt_reallocarray): New. |
| 2424 |
* src/visibility.c (gpgrt_reallocarray): New. |
| 2425 |
* src/gpg-error.vers, src/gpg-error.def.in: Add new function. |
| 2426 |
* src/gpg-error.h.in: Add new interface. |
| 2427 |
* tests/t-malloc.c: New. |
| 2428 |
* tests/Makefile.am (TESTS): Add new test. |
| 2429 |
|
| 2430 |
core: Fix allocation bug introduced with last commit. |
| 2431 |
+ commit 72a15bad8f27303475498ce44e34d29b4c2c4593 |
| 2432 |
* src/argparse.c (initialize): Increase number of extra slots. |
| 2433 |
|
| 2434 |
2020-03-02 Werner Koch <[email protected]> |
| 2435 |
|
| 2436 |
core: New internal option --dump-option-table for argparser. |
| 2437 |
+ commit db95feab16e32309a4bfb382827c495c2c49920c |
| 2438 |
* src/argparse.c (initialize): Add new internal option. |
| 2439 |
(arg_parse): Implement that option. |
| 2440 |
(dump_option_table): New. |
| 2441 |
(show_help): Remove exit and let the caller call my_exit. |
| 2442 |
|
| 2443 |
core: Replace fputs by es_fputs in argparser. |
| 2444 |
+ commit f816797c87340a6130dea1e4f8f0e130511dfe3f |
| 2445 |
* src/argparse.c (writestrings): Use that function to match what we |
| 2446 |
are doing in flushstrings. |
| 2447 |
|
| 2448 |
core: Allow returning of attributes from gpgrt_argparser. |
| 2449 |
+ commit d3661d81e9aafae75680164ede7322cf3d7b6804 |
| 2450 |
* src/gpg-error.h.in (ARGPARSE_FLAG_WITHATTR): New. |
| 2451 |
(ARGPARSE_ATTR_FORCE): New. |
| 2452 |
(ARGPARSE_ATTR_IGNORE): New. |
| 2453 |
(ARGPARSE_TYPE_MASK): Moved from argparse.c to here. |
| 2454 |
* src/argparse.c: Always use macros for constants. |
| 2455 |
(_gpgrt_argparse): Handle ARGPARSE_FLAG_WITHATTR. |
| 2456 |
(arg_parse): Ditto. |
| 2457 |
* tests/t-argparse.c (main): Add commented test case. |
| 2458 |
|
| 2459 |
2020-02-27 Werner Koch <[email protected]> |
| 2460 |
|
| 2461 |
core: Implement meta commands for the argparser. |
| 2462 |
+ commit 2d1969ab465bad62f73a7c24ddc8bb490ff9fd40 |
| 2463 |
* src/argparse.c (opttable_t): Add new flags forced, ignore, and |
| 2464 |
explicit_ignore. |
| 2465 |
(struct _gpgrt_argparse_internal_s): Change flags to bitflags. Add |
| 2466 |
several flags to support meta commands. |
| 2467 |
(initialize): Clear them. |
| 2468 |
(handle_meta_user): Use the new verbose flag. |
| 2469 |
(handle_meta_force): Implement. |
| 2470 |
(handle_meta_ignore): Implement. |
| 2471 |
(handle_meta_echo): Support "-echo". |
| 2472 |
(handle_meta_verbose): New. |
| 2473 |
(handle_metacmd): New meta command verbose. Add always flag and move |
| 2474 |
the detection of unexpected meta commands to here. |
| 2475 |
(_gpgrt_argparse): Make use of the ignore and forced meta commands. |
| 2476 |
(finish_read_sys): New. |
| 2477 |
(_gpgrt_argparser): Support the verbose flag. Call finish_read_sys. |
| 2478 |
(arg_parse): Ignore non-explicit ignored and all forced options. |
| 2479 |
|
| 2480 |
* tests/t-argparse.c (main): Fix printing of the ARGPARSE_CONFFILE |
| 2481 |
case. New option 'M'. |
| 2482 |
* tests/t-argparse.conf, tests/etc/t-argparse.conf: Various changes to |
| 2483 |
test the new meta commands. |
| 2484 |
|
| 2485 |
indent: Fix indentation in an argparse.c function. |
| 2486 |
+ commit ffa21bf5b7066f7fa437119ce6b508b324ea2611 |
| 2487 |
* src/argparse.c (arg_parse): Fix it here. |
| 2488 |
|
| 2489 |
2020-02-26 Werner Koch <[email protected]> |
| 2490 |
|
| 2491 |
core: Add meta command handler stubs to argparse.c. |
| 2492 |
+ commit 2f169b341e410924c5d7ee7d76ac67f85f26ed6a |
| 2493 |
* src/argparse.c (handle_meta_user): New stub. |
| 2494 |
(handle_meta_force): New stub. |
| 2495 |
(handle_meta_ignore): New stub. |
| 2496 |
(handle_meta_echo): New. |
| 2497 |
(handle_metacmd): New. |
| 2498 |
(_gpgrt_argparse): Call meta command handler. |
| 2499 |
|
| 2500 |
core: Prepare argparse.c to track additional info for options. |
| 2501 |
+ commit 9d268891dae6093e5346710a38ba8cd978f24f09 |
| 2502 |
* src/argparse.c (opttable_t): New. |
| 2503 |
(struct _gpgrt_argparse_internal_s): Use this instead of a ppointer to |
| 2504 |
gpgrt_opt_t. |
| 2505 |
(initialize): Copy options to the new tableand keep an original ordinal. |
| 2506 |
(_gpgrt_argparse): Adjust for changes. |
| 2507 |
(any_opt_conffile): Ditto. |
| 2508 |
(find_long_option): Ditto. |
| 2509 |
(arg_parse): Ditto. |
| 2510 |
(long_opt_strlen): Adjust args. |
| 2511 |
(cmp_ordtbl): New. |
| 2512 |
(show_help): Print using the ordinal numbers. |
| 2513 |
|
| 2514 |
2020-02-25 Werner Koch <[email protected]> |
| 2515 |
|
| 2516 |
core: Add parser for meta commands to gpgrt_argparser. |
| 2517 |
+ commit 6fc2d7cb8ce9e08cb189608466803ee7c8eb6930 |
| 2518 |
* src/gpg-error.h.in (ARGPARSE_INVALID_META): New |
| 2519 |
(ARGPARSE_UNKNOWN_META, ARGPARSE_UNEXPECTED_META): New. |
| 2520 |
* src/argparse.c (struct _gpgrt_argparse_internal_s): Add flag |
| 2521 |
insysconfig. |
| 2522 |
(initialize): Init flag. Add error strings. |
| 2523 |
(_gpgrt_argparser): Set that flag. |
| 2524 |
(_gpgrt_argparse): Add parsing of meta commands. |
| 2525 |
|
| 2526 |
* tests/etc/t-argparse.conf: Add some test cases. |
| 2527 |
* tests/t-argparse.conf: Ditto. |
| 2528 |
* tests/t-argparse.c (main): Die only after printing all warnings. |
| 2529 |
|
| 2530 |
core: Fold duplicated code from _gpgrt_argparse. |
| 2531 |
+ commit ca79d5edee8c6d93575708643ec825f81107e624 |
| 2532 |
* src/argparse.c (_gpgrt_argparse): Fold common code. |
| 2533 |
|
| 2534 |
core: Improve readability of _gpgrt_argparse. |
| 2535 |
+ commit 8c185e719860aaa93cc37c0ec91c7bd5e3c2a5ce |
| 2536 |
* src/argparse.c (_gpgrt_argparse): Use enum for the states and |
| 2537 |
replace continue and break. |
| 2538 |
|
| 2539 |
core: New flag ARGPARSE_FLAG_USERVERS to try versioned config files. |
| 2540 |
+ commit e9f36cabe157aa046b32dfc0b9f5c175b9808722 |
| 2541 |
* src/gpg-error.h.in (ARGPARSE_FLAG_USERVERS): New. |
| 2542 |
* src/argparse.c: Include unistd.h. |
| 2543 |
(try_versioned_conffile): New. |
| 2544 |
(_gpgrt_argparser): Use it. |
| 2545 |
|
| 2546 |
core: New pseudo option ARGPARSE_PERMISSION_ERROR. |
| 2547 |
+ commit f25555aed0da7f0492b68efb789dbe3e03ec7fe8 |
| 2548 |
* src/gpg-error.h.in (ARGPARSE_PERMISSION_ERROR): New. |
| 2549 |
* src/argparse.c (initialize): Add code to print this error. |
| 2550 |
|
| 2551 |
2020-02-25 NIIBE Yutaka <[email protected]> |
| 2552 |
|
| 2553 |
w32: Fix exporting gpgrt_argparser. |
| 2554 |
+ commit 732ac9c681a0b6afdee2e8eb6937500850f74986 |
| 2555 |
* src/gpg-error.def.in (gpgrt_argparser): Fix typo. |
| 2556 |
|
| 2557 |
2020-02-22 Werner Koch <[email protected]> |
| 2558 |
|
| 2559 |
core: Extend the way a config file can be specified, |
| 2560 |
+ commit b79b2a7fb3ad3ada45d17e8632f1ee4212ce0764 |
| 2561 |
* src/argparse.c (PATHSEP_C, DIRSEP_C): New. |
| 2562 |
(is_absfname, is_twopartfname): New. |
| 2563 |
(_gpgrt_argparser): Allow for a two-part config name. |
| 2564 |
|
| 2565 |
2020-02-20 Werner Koch <[email protected]> |
| 2566 |
|
| 2567 |
core: Skip cmdline parsing for no or an empty argv. |
| 2568 |
+ commit 44258227f7dfb12b3c0faa8ab417a9dc2be46eed |
| 2569 |
* src/argparse.c (_gpgrt_argparser): Allow for empty argv. Also fix |
| 2570 |
memory leak. |
| 2571 |
|
| 2572 |
2020-02-19 Werner Koch <[email protected]> |
| 2573 |
|
| 2574 |
core: More fixes for the new option/argument parser. |
| 2575 |
+ commit 46b3749997da84c41f583b22cda812dd5e42bde0 |
| 2576 |
* src/argparse.c (arg_parse): Always set opt_flags. New flag no_init. |
| 2577 |
(_gpgrt_argparse): Clear opt_flags at start. |
| 2578 |
(_gpgrt_argparser): Call arg_parse directly. Call arg_parse with |
| 2579 |
no_init set. |
| 2580 |
|
| 2581 |
core: Some fixes for the new option/argument parser. |
| 2582 |
+ commit a264fe9c55251458df558718fae0845928bf225e |
| 2583 |
* src/argparse.c (ARGPARSE_FLAG__INITIALIZED): New. |
| 2584 |
(initialize): Use a flag bit to track the initialization state. |
| 2585 |
(_gpgrt_argparser): Clear some state on switching files. |
| 2586 |
|
| 2587 |
2020-02-18 Werner Koch <[email protected]> |
| 2588 |
|
| 2589 |
core: Add a high level option/argument parser. |
| 2590 |
+ commit 933eb9346a84c87f83f77d990be2f66e2f7b62e7 |
| 2591 |
* gpg-error.h.in (GPGRT_CONFDIR_USER, GPGRT_CONFDIR_SYS): New consts. |
| 2592 |
(ARGPARSE_FLAG_SYS, ARGPARSE_FLAG_USER, ARGPARSE_FLAG_VERBOSE) |
| 2593 |
(ARGPARSE_NO_CONFFILE, ARGPARSE_CONFFILE, ARGPARSE_OPT_CONFFILE): New |
| 2594 |
consts. |
| 2595 |
(ARGPARSE_conffile, ARGPARSE_noconffile): New macros. |
| 2596 |
(gpgrt_set_confdir): New func. |
| 2597 |
(gpgrt_argparser): New func. |
| 2598 |
* src/argparse.c (confdir): New var. |
| 2599 |
(enum argparser_states): New. |
| 2600 |
(struct _gpgrt_argparse_internal_s): Add a couple of new fields. |
| 2601 |
(initialize): Init them. |
| 2602 |
(any_opt_conffile): New. |
| 2603 |
(_gpgrt_argparser): New. |
| 2604 |
(_gpgrt_set_confdir): New. |
| 2605 |
* src/visibility.c (gpgrt_argparser): New. |
| 2606 |
(gpgrt_set_confdir): New. |
| 2607 |
* src/gpg-error.def.in, src/gpg-error.vers: Add those functions. |
| 2608 |
* tests/t-argparse.c (main): Reworked. |
| 2609 |
* tests/etc/t-argparse.conf: New file. |
| 2610 |
* tests/t-argparse.conf: New file. |
| 2611 |
|
| 2612 |
core: Add gpgrt_fnameconcat and gpgrt_absfnameconcat. |
| 2613 |
+ commit 5742b8eaf3fa9cda3dfb6b3ad0fea7485fff1a12 |
| 2614 |
* src/gpg-error.h.in (gpgrt_fnameconcat): New. |
| 2615 |
(gpgrt_absfnameconcat): New. |
| 2616 |
* src/visibility.c (gpgrt_fnameconcat, gpgrt_absfnameconcat): New. |
| 2617 |
* src/stringutils.c: New file. |
| 2618 |
(_gpgrt_vfnameconcat): New. |
| 2619 |
(_gpgrt_fnameconcat, _gpgrt_absfnameconcat): New. |
| 2620 |
* src/gpg-error.def.in: Add new functions. |
| 2621 |
* src/gpg-error.vers: Ditto. |
| 2622 |
* src/sysutils.c: Include pwd.h. |
| 2623 |
(_gpgrt_getpwdir): New. |
| 2624 |
* configure.ac: Test for pwd.h, getpwnam, getpwuid, and their _r |
| 2625 |
variants. |
| 2626 |
* src/Makefile.am (libgpg_error_la_SOURCES): Add new file. |
| 2627 |
|
| 2628 |
* tests/t-stringutils.c: New. |
| 2629 |
* tests/t-common.h (xmalloc, xstrdup, xfree): New. |
| 2630 |
(die): Kludge to avoid compiler warnings. |
| 2631 |
|
| 2632 |
2020-02-18 NIIBE Yutaka <[email protected]> |
| 2633 |
|
| 2634 |
w32: Support static link with -lws2_32. |
| 2635 |
+ commit a6ab8e3a710b899ecfb2ff518725314a1e0e64ff |
| 2636 |
* configure.ac (GPG_ERROR_CONFIG_LIBS_PRIVATE): New. |
| 2637 |
* src/Makefile.am (socklibs): Use GPG_ERROR_CONFIG_LIBS_PRIVATE. |
| 2638 |
* src/gpg-error.pc.in: Require @GPG_ERROR_CONFIG_LIBS_PRIVATE@. |
| 2639 |
|
| 2640 |
2020-02-10 Werner Koch <[email protected]> |
| 2641 |
|
| 2642 |
logging: Also protect gpgrt_inc_errorcount against counter overflow. |
| 2643 |
+ commit d72c1ddfde09ffa69745ec2439c5a16d15e2202f |
| 2644 |
* src/logging.c (_gpgrt_inc_errorcount): Protect against counter |
| 2645 |
overflow. |
| 2646 |
(_gpgrt_logv_internal): Use that function here so that we have only |
| 2647 |
one check for counter overflow. |
| 2648 |
|
| 2649 |
2020-02-07 Werner Koch <[email protected]> |
| 2650 |
|
| 2651 |
Release 1.37. |
| 2652 |
+ commit 36b9924b483198f896c7ca3db233978978141b60 |
| 2653 |
|
| 2654 |
|
| 2655 |
2020-02-06 Werner Koch <[email protected]> |
| 2656 |
|
| 2657 |
tools: Allow error symbol lookup w/o the GPG_ERR_ prefix. |
| 2658 |
+ commit 796b66a9449c442991cc205f8a618dffab54d8a3 |
| 2659 |
* src/gpg-error.c (get_err_from_codesymbol): New. |
| 2660 |
(main): Use it here. |
| 2661 |
|
| 2662 |
build: Always pass -no-undefined to libtool. |
| 2663 |
+ commit 6e4b5ca624cb7f771c8dd1f12cbad851a5f0d782 |
| 2664 |
* src/Makefile.am: Remove no_undefined macro. |
| 2665 |
|
| 2666 |
2020-01-23 NIIBE Yutaka <[email protected]> |
| 2667 |
|
| 2668 |
po: Update Japanese Translation. |
| 2669 |
+ commit d1e4b4b001b3fd34b91403f880a42c4a474cdb83 |
| 2670 |
|
| 2671 |
|
| 2672 |
2020-01-07 NIIBE Yutaka <[email protected]> |
| 2673 |
|
| 2674 |
build: Don't use -O0 which is not portable. |
| 2675 |
+ commit a2674207f7fef6d0f96b80838303a2e6a55e7785 |
| 2676 |
* src/Makefile.am (mkheader): Remove -O0 option. |
| 2677 |
|
| 2678 |
2019-12-13 Werner Koch <[email protected]> |
| 2679 |
|
| 2680 |
New error codes for SQLite. |
| 2681 |
+ commit 308574372055662c76d27f1681b182afddce9166 |
| 2682 |
* src/err-codes.h.in: Add GPG_ERR_SQL_ codes. |
| 2683 |
* src/gpg-error.h.in (gpg_err_code_from_sqlite): New. |
| 2684 |
|
| 2685 |
2019-09-24 NIIBE Yutaka <[email protected]> |
| 2686 |
|
| 2687 |
Fix gpg-error.c for preprocessor use. |
| 2688 |
+ commit f73605e039493ca875f992a45730a6c99430fb14 |
| 2689 |
* src/gpg-error.c (main): Fix conditional compilation. |
| 2690 |
|
| 2691 |
2019-09-18 NIIBE Yutaka <[email protected]> |
| 2692 |
|
| 2693 |
tests: Fix deallocation of buffer in t-b64.c. |
| 2694 |
+ commit 46bb7eb8c5541d62cd90227bde205f663ef0e6d5 |
| 2695 |
* tests/t-b64.c (test_b64dec_string): De-allocate. |
| 2696 |
|
| 2697 |
gpgrt_setenv: Define behavior when value=NULL. |
| 2698 |
+ commit 4b8e8ba9f60cb6eb644be5f86b9c19ebf4332763 |
| 2699 |
* src/sysutils.c (_gpgrt_setenv): Avoid call with value=NULL. |
| 2700 |
|
| 2701 |
logging: Fix the case of using socket_dir_cb which may return NULL. |
| 2702 |
+ commit 521aeecf1e41e8e34bb354cf51bfd37ff7a900c6 |
| 2703 |
* src/logging.c (fun_writer): Fix for socket_dir_cb. |
| 2704 |
|
| 2705 |
estream: Care about erroneous case for stream close. |
| 2706 |
+ commit f41991480aaa79db55e75363dfbb4f278cb8ea21 |
| 2707 |
* src/estream.c (do_list_remove): Only access ITEM->NEXT when it's not |
| 2708 |
null. |
| 2709 |
|
| 2710 |
2019-09-10 Werner Koch <[email protected]> |
| 2711 |
|
| 2712 |
core: Fix broken strings (first letter missing) |
| 2713 |
+ commit c1e80f6e8e368c271bbf413d9eaea772ef2062d1 |
| 2714 |
src/err-codes.h.in (GPG_ERR_KEYBOXD): Add missing tabs. |
| 2715 |
|
| 2716 |
2019-09-08 Werner Koch <[email protected]> |
| 2717 |
|
| 2718 |
estream: Fix dead assigniment. |
| 2719 |
+ commit f7c24427329075adc98eb93d2abb12c087e0f9d2 |
| 2720 |
* src/estream-printf.c (pr_string): Here. |
| 2721 |
|
| 2722 |
2019-09-04 NIIBE Yutaka <[email protected]> |
| 2723 |
|
| 2724 |
gpgrt-config: Support Libs.private and Requires.private. |
| 2725 |
+ commit cb877252c4dc787755fb4e1ffc36757453af12eb |
| 2726 |
* src/gpgrt-config.in: Support Libs.private and Requires.private. |
| 2727 |
|
| 2728 |
2019-08-23 NIIBE Yutaka <[email protected]> |
| 2729 |
|
| 2730 |
estream: Fix gpgrt_poll at EOF. |
| 2731 |
+ commit 157b9f6fafb6905fd94c21aaa9e2c103d954a9fc |
| 2732 |
* src/estream.c [HAVE_POLL_H] (_gpgrt_poll): Catch POLLHUP event |
| 2733 |
for want_read. |
| 2734 |
|
| 2735 |
estream: Fix gpgrt_poll to prevent waiting indefinitely for others. |
| 2736 |
+ commit ab87480fc201ad687153429aee043ab454fed0a3 |
| 2737 |
* src/estream.c (_gpgrt_poll): Go to leave, when something is ready. |
| 2738 |
|
| 2739 |
2019-08-22 NIIBE Yutaka <[email protected]> |
| 2740 |
|
| 2741 |
estream: Fix poll condition. |
| 2742 |
+ commit fc1a7591bdcd64a3df1d2db29afca8e224f64c0a |
| 2743 |
* src/estream.c (_gpgrt_poll): Fix for want_oob. |
| 2744 |
|
| 2745 |
2019-07-25 NIIBE Yutaka <[email protected]> |
| 2746 |
|
| 2747 |
w32: Fix cast to internal fd. |
| 2748 |
+ commit f93a0358dc82886db12c91180dc82e8bb1258ef0 |
| 2749 |
* src/estream.c (tmpfd): Use intptr_t. |
| 2750 |
|
| 2751 |
estream: Fix IS_INVALID_FD. |
| 2752 |
+ commit 5f9f2c32b038848212bec9d9a95858c18b9a0eee |
| 2753 |
* src/estream.c (IS_INVALID_FD): Simply compare to -1. |
| 2754 |
|
| 2755 |
2019-07-24 NIIBE Yutaka <[email protected]> |
| 2756 |
|
| 2757 |
w32: Fix HANDLE to internal fd conversion. |
| 2758 |
+ commit 655ed9d83889bbb61d4b96755a2bd676622064c8 |
| 2759 |
* src/spawn-w32.c (handle_to_fd): Use intptr_t type. |
| 2760 |
|
| 2761 |
2019-07-18 Daniel Kahn Gillmor <[email protected]> |
| 2762 |
|
| 2763 |
build: Use {CFLAGS,CPPFLAGS, LDFLAGS}_FOR_BUILD for helper programs. |
| 2764 |
+ commit 732855a483709345a5c0f49504f45cb8da3f883a |
| 2765 |
* doc/Makefile.am: add CPPFLAGS_FOR_BUILD for yat2m-for-build (other |
| 2766 |
flags were already present). |
| 2767 |
* src/Makefile.am: add {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for |
| 2768 |
mkhelper, mkw32errmap, and mkerrcodes. |
| 2769 |
|
| 2770 |
2019-07-11 NIIBE Yutaka <[email protected]> |
| 2771 |
|
| 2772 |
Fix signedness for a single-bit field. |
| 2773 |
+ commit 7ffab1750fdec31d6f6f62c3ff50f1a33eacda5c |
| 2774 |
* src/gpgrt-int.h (struct _gpgrt_b64state): Use unsigned for bit flags. |
| 2775 |
|
| 2776 |
2019-06-27 Werner Koch <[email protected]> |
| 2777 |
|
| 2778 |
estream: Add missing malloc check. |
| 2779 |
+ commit 382fddc151fd42cd6d1d02dbedb7b5031cc68958 |
| 2780 |
* src/estream.c (_gpgrt_poll): Check for malloc error. |
| 2781 |
|
| 2782 |
2019-06-27 NIIBE Yutaka <[email protected]> |
| 2783 |
|
| 2784 |
estream: Don't use variable length array. |
| 2785 |
+ commit 70a5ea407c71cf094794d3d3375aab7fc2c4eca6 |
| 2786 |
* src/estream.c [HAVE_POLL_H] (_gpgrt_poll): No VLA. |
| 2787 |
|
| 2788 |
2019-06-26 NIIBE Yutaka <[email protected]> |
| 2789 |
|
| 2790 |
estream: Use poll(2) when available. |
| 2791 |
+ commit a21a7de8c2cf986235382e7e04805744f6df116e |
| 2792 |
* configure.ac: Detect poll.h. |
| 2793 |
* src/estream.c [HAVE_POLL_H] (_gpgrt_poll): Use poll. |
| 2794 |
|
| 2795 |
2019-06-18 NIIBE Yutaka <[email protected]> |
| 2796 |
|
| 2797 |
tests: Skip the test when pkg-config is too old. |
| 2798 |
+ commit 6c2fc52d72b4dbd9dac44d9c3105dc3e8a4d5605 |
| 2799 |
* src/gpg-error-config-test.sh.in: Check pkg-config version. |
| 2800 |
|
| 2801 |
build: Take care of POSIX shell path. |
| 2802 |
+ commit 7a7caf4ba1c460c9c36f754fcd0ebfeb4aa5cc6a |
| 2803 |
* configure.ac (INSTALLSHELLPATH): New. |
| 2804 |
* src/Makefile.am: Change invocation of gpg-error-config-test.sh. |
| 2805 |
* src/gpgrt-config.in (INSTALLSHELLPATH): To be substituted. |
| 2806 |
* src/gpg-error-config-test.sh.in: Likewise. |
| 2807 |
|
| 2808 |
Portability fix for PID. |
| 2809 |
+ commit 10ae655db22321f0d6efb75f88e169b57ce63375 |
| 2810 |
* src/spawn-posix.c (gpgrt_wait_processes): Cast to int. |
| 2811 |
|
| 2812 |
build: Add failure exit for gpg-error-config build. |
| 2813 |
+ commit 849ac6abe3ce0001fb11cef0e26df0893468d238 |
| 2814 |
* src/Makefile.am (gpg-error-config): Exit 1 on failure. |
| 2815 |
|
| 2816 |
2019-05-29 NIIBE Yutaka <[email protected]> |
| 2817 |
|
| 2818 |
Detect to use strerror_s. |
| 2819 |
+ commit cd49ee71887cb2e7f2ca422fbc5c28f4bd92b3ca |
| 2820 |
* configure.ac [mingw32*] (strerror_s): Detect. |
| 2821 |
* src/strerror.c [HAVE_STRERROR_S] (system_strerror_r): Use strerror_s. |
| 2822 |
|
| 2823 |
2019-05-14 NIIBE Yutaka <[email protected]> |
| 2824 |
|
| 2825 |
tests: Fix a memory leak. |
| 2826 |
+ commit bdb9561a366fa5afee0e855a22390e9282e1abd5 |
| 2827 |
* tests/t-logging.c (check_log_info): Free LOGBUF. |
| 2828 |
|
| 2829 |
2019-05-13 NIIBE Yutaka <[email protected]> |
| 2830 |
|
| 2831 |
build: Update m4/iconv.m4. |
| 2832 |
+ commit 07b1b3be179883cbd38446f38ae950f6d94a150b |
| 2833 |
* m4/iconv.m4: Update from gettext 0.20.1. |
| 2834 |
|
| 2835 |
2019-04-15 NIIBE Yutaka <[email protected]> |
| 2836 |
|
| 2837 |
awk: Prepare for Gawk 5.0. |
| 2838 |
+ commit 7865041c77f4f7005282f10f9b6666b19072fbdf |
| 2839 |
* src/Makefile.am: Use pkg_namespace (instead of namespace). |
| 2840 |
* src/mkerrnos.awk: Likewise. |
| 2841 |
* lang/cl/mkerrcodes.awk: Don't escape # in regexp. |
| 2842 |
* src/mkerrcodes.awk, src/mkerrcodes1.awk, src/mkerrcodes2.awk: Ditto. |
| 2843 |
|
| 2844 |
2019-03-19 Werner Koch <[email protected]> |
| 2845 |
|
| 2846 |
Release 1.36. |
| 2847 |
+ commit 85f427fd28ae5947277ba02dffc83c53d9da2591 |
| 2848 |
* configure.ac: Bump LT version to C27/A27/R0. |
| 2849 |
|
| 2850 |
estream: Increase buffer size for Windows. |
| 2851 |
+ commit e4f460d8e338d6866a6ab457dcd811c63399706a |
| 2852 |
* src/gpgrt-int.h (BUFFER_BLOCK_SIZE) [W32]: Increase from 512 to 8k. |
| 2853 |
* src/w32-estream.c (READBUF_SIZE, WRITEBUF_SIZE): Increase from 4k to |
| 2854 |
8k. |
| 2855 |
|
| 2856 |
2019-02-04 Werner Koch <[email protected]> |
| 2857 |
|
| 2858 |
build: Fix for Microsoft MSVC. |
| 2859 |
+ commit 21dd885eecdee13da1689519e2fc50fcf64f6ef2 |
| 2860 |
* src/gpgrt-int.h (_gpgrt_functions_w32_pollable): Declare with extern |
| 2861 |
so that strict toolchains don't get confused. |
| 2862 |
|
| 2863 |
2019-01-23 NIIBE Yutaka <[email protected]> |
| 2864 |
|
| 2865 |
gpgscm: Build well even if NDEBUG defined. |
| 2866 |
+ commit 8a9397896fd202dcfb3fb46259e43bc05a0ddd2e |
| 2867 |
* gpgscm/scheme.c (gc_reservation_failure): Fix adding ";". |
| 2868 |
[!NDEBUG] (scheme_init_custom_alloc): Don't init seserved_lineno. |
| 2869 |
|
| 2870 |
2019-01-16 Werner Koch <[email protected]> |
| 2871 |
|
| 2872 |
Release 1.34. |
| 2873 |
+ commit 8bc75741cadf95e2fac64891cf402cde891afe64 |
| 2874 |
* configure.ac: Bump LT version to C26/A26/R0. |
| 2875 |
|
| 2876 |
build: Fix regression in make distcheck. |
| 2877 |
+ commit 5d2b20a04b526d090a2328bd79bc3a76ced327dc |
| 2878 |
* doc/Makefile.am (errorref.txt.x): |
| 2879 |
|
| 2880 |
2019-01-15 NIIBE Yutaka <[email protected]> |
| 2881 |
|
| 2882 |
build: Fix for BSD make. |
| 2883 |
+ commit fd6f64f1897e00b1d9711463ebb6ec7d099e1995 |
| 2884 |
* doc/Makefile.am (errorref.txt.x): Don't use $<. |
| 2885 |
|
| 2886 |
2019-01-14 Andre Heinecke <[email protected]> |
| 2887 |
|
| 2888 |
Fix symbol name typo in gpg-error.def.in. |
| 2889 |
+ commit 51ea153871b79799f88b85f6b60c2b0a3bbd6a12 |
| 2890 |
* src/gpg-error.def.in (gogrt_abort): Correct to gpgrt_abort. |
| 2891 |
|
| 2892 |
2019-01-10 NIIBE Yutaka <[email protected]> |
| 2893 |
|
| 2894 |
build: Build with LD_LIBRARY_PATH, use of DT_RPATH (2/2). |
| 2895 |
+ commit 1fd997231b717853822dff9d3e981d95765f323d |
| 2896 |
* configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags. |
| 2897 |
* tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE. |
| 2898 |
(t_lock_LDADD, t_poll_LDADD): Use LDADD. |
| 2899 |
|
| 2900 |
build: Build with LD_LIBRARY_PATH, use of DT_RPATH (1/2). |
| 2901 |
+ commit 1044ee639dab7260da481250cd2a46a69ab2b5d3 |
| 2902 |
* configure.ac: Check against --disable-new-dtags. |
| 2903 |
|
| 2904 |
2019-01-04 Werner Koch <[email protected]> |
| 2905 |
|
| 2906 |
core: New functions gpgrt_abort and gpgrt_add_emergency_cleanup. |
| 2907 |
+ commit 933bfd7b652a907c0d8dd5337c6b5b9cb82ce7b7 |
| 2908 |
* src/init.c (emergency_cleanup_list): New gloabl var. |
| 2909 |
(_gpgrt_add_emergency_cleanup): New. |
| 2910 |
(_gpgrt_abort): New. Repalce all calls to abort by this. Also replace |
| 2911 |
all assert by either log_assert or a stderr output followed by a |
| 2912 |
_gpgrt_abort. |
| 2913 |
(run_emergency_cleanup): New. |
| 2914 |
* src/visibility.c (gpgrt_add_emergency_cleanup): New public API. |
| 2915 |
(gpgrt_abort): New public API. |
| 2916 |
|
| 2917 |
2018-12-12 Werner Koch <[email protected]> |
| 2918 |
|
| 2919 |
estream: Use correct POSIX name THOUSEP. |
| 2920 |
+ commit 12349de46d241cfbadbdf99773d6cabfcbc97578 |
| 2921 |
* src/estream-printf.c: Replace HAVE_LANGINFO_THOUSANDS_SEP by |
| 2922 |
HAVE_LANGINFO_THOUSEP. |
| 2923 |
(pr_integer): Use THOUSEP. |
| 2924 |
|
| 2925 |
2018-12-11 Alistair Francis <[email protected]> |
| 2926 |
|
| 2927 |
syscfg: Add a riscv32 architecture. |
| 2928 |
+ commit 27ded21fea2a6f1fc161a91744014cce711ad1b3 |
| 2929 |
* src/syscfg/lock-obj-pub.riscv32-unknown-linux-gnu.h: New. |
| 2930 |
* src/Makefile.am (lock_obj_pub): Add it. |
| 2931 |
|
| 2932 |
2018-12-10 NIIBE Yutaka <[email protected]> |
| 2933 |
|
| 2934 |
gpgrt-config: Portability fix for use of expr. |
| 2935 |
+ commit 1d71dbb13709318567aba5b61928d8af37563097 |
| 2936 |
* src/gpgrt-config (sysroot): Care about possible interpretation of |
| 2937 |
minus sign be considered an option to a program. |
| 2938 |
(MAIN): Don't use 'match' of expr but use ':' instead. |
| 2939 |
|
| 2940 |
2018-12-07 Werner Koch <[email protected]> |
| 2941 |
|
| 2942 |
Silence cc warning about snprintf redefinition. |
| 2943 |
+ commit 60f3d4440249d7beec3390df66143204ea80be39 |
| 2944 |
* src/gpgrt-int.h: First undef snprintf. |
| 2945 |
|
| 2946 |
Release 1.33. |
| 2947 |
+ commit 174985d91ff277bd4a58a0de3d61fbbb46841cde |
| 2948 |
* configure.ac: Set LT version to C25/A25/R0. |
| 2949 |
|
| 2950 |
Add W32-only function gpgrt_w32_override_locale. |
| 2951 |
+ commit 0b190ce89de7b3df873c3896d5126c7882b82e18 |
| 2952 |
* src/w32-gettext.c (struct override_locale): new. |
| 2953 |
(my_nl_locale_name): Take care of that. |
| 2954 |
(gpgrt_w32_override_locale): New. |
| 2955 |
* src/gpg-error.def.in: Add gpgrt_w32_override_locale. |
| 2956 |
* src/gpg-error.c: New command --locale for Windows. |
| 2957 |
|
| 2958 |
2018-12-06 Werner Koch <[email protected]> |
| 2959 |
|
| 2960 |
logging: Escape controls in string arguments of log_ functions. |
| 2961 |
+ commit b7fae45c24cccb9898c6d5a3a633897afb4649dc |
| 2962 |
* src/logging.c (struct fmt_string_filter_s): New. |
| 2963 |
(fmt_string_filter): New. |
| 2964 |
(_gpgrt_logv_internal): Use the filter. |
| 2965 |
|
| 2966 |
2018-12-05 Werner Koch <[email protected]> |
| 2967 |
|
| 2968 |
core: Allow logging to an estream. |
| 2969 |
+ commit f4d139b399e1e5044fe6bb0ceecd4c72e63dac94 |
| 2970 |
* src/logging.c (set_file_fd): Add and use new arg 'stream'. |
| 2971 |
(_gpgrt_log_set_sink): Implement setting an estream sink. |
| 2972 |
* tests/t-logging.c: New test. |
| 2973 |
* tests/Makefile.am (TESTS): Add test. |
| 2974 |
|
| 2975 |
tests: Check print arguments of t-common functions. |
| 2976 |
+ commit 793838fd859afd837df070ee2e75c100e932b220 |
| 2977 |
* tests/t-common.h: Include gpgrt.h instead of gpg-error.h. |
| 2978 |
(die, fail, show): Add printf attributes. |
| 2979 |
|
| 2980 |
2018-12-05 Marcus Brinkmann <[email protected]> |
| 2981 |
|
| 2982 |
Fix gpgrt_ftruncate declaration. |
| 2983 |
+ commit 34d6637a34b139fbfafa6c15eaf2fc88158a1c3c |
| 2984 |
|
| 2985 |
|
| 2986 |
2018-11-26 Werner Koch <[email protected]> |
| 2987 |
|
| 2988 |
core: New functions gpgrt_fprintf_sf anf gpgrt_fprintf_sf_unlocked. |
| 2989 |
+ commit bd8668c120ac0f725edb092b2c4ca49ffdb78ed2 |
| 2990 |
* src/gpg-error.h.in (gpgrt_string_filter_t): New type. |
| 2991 |
(gpgrt_fprintf_sf, gpgrt_fprintf_sf_unlocked): New. |
| 2992 |
* src/gpg-error.vers, src/gpg-error.def.in: Add them. |
| 2993 |
* src/visibility.c (gpgrt_fprintf_sf): New. |
| 2994 |
(gpgrt_fprintf_sf_unlocked): New. |
| 2995 |
* src/estream-printf.c (pr_string): Add and use args sf, sfvalue and |
| 2996 |
string_no. |
| 2997 |
(do_format): Add args sf and sfvalue. Keep a string format counter. |
| 2998 |
(_gpgrt_estream_format): Add args sf and sfvalue. Change all callers |
| 2999 |
to provide NULL for them. |
| 3000 |
* src/estream.c (_gpgrt_vfprintf_unlocked, _gpgrt_vfprintf): Add sf |
| 3001 |
and sfvalue and adjust all callers. |
| 3002 |
(do_print_stream): Ditto. |
| 3003 |
|
| 3004 |
* tests/t-printf.c (stream_to_string): New. |
| 3005 |
(struct sfstate_s): New. |
| 3006 |
(string_filter): New. |
| 3007 |
(check_fprintf_sf): New. |
| 3008 |
(main): Call new test. |
| 3009 |
|
| 3010 |
core: Add a limited version of gpgrt_ftruncate. |
| 3011 |
+ commit ffb49b72f132d954a3d9fa11e45803c36a62fd25 |
| 3012 |
* src/gpg-error.h.in (gpgrt_ftruncate, es_ftruncate): New. |
| 3013 |
* src/gpg-error.def.in, src/gpg-error.vers: Add gpgrt_ftruncate. |
| 3014 |
* src/visibility.c (gpgrt_ftruncate): new. |
| 3015 |
* src/gpgrt-int.h (COOKIE_IOCTL_TRUNCATE): New. |
| 3016 |
* src/estream.c (func_mem_ioctl): Support new internal IOCTL. |
| 3017 |
(_gpgrt_ftruncate): New. |
| 3018 |
|
| 3019 |
2018-11-15 Werner Koch <[email protected]> |
| 3020 |
|
| 3021 |
core: New API gpgrt_cmp_version. |
| 3022 |
+ commit a5d4a4b32b11814d673241d62624ecec1d577571 |
| 3023 |
* src/gpg-error.h.in: New API gpgrt_cmp_version. |
| 3024 |
* src/visibility.c (gpgrt_cmp_version): New wrapper. |
| 3025 |
* src/version.c (parse_version_string): Revamped. |
| 3026 |
(do_cmp_version): New. |
| 3027 |
(_gpgrt_cmp_version): New. |
| 3028 |
(_gpg_error_check_version): Re-implemented using the new func. |
| 3029 |
* tests/t-version.c: Include t-common.h. |
| 3030 |
(t_gpgrt_cmp_version): New test. |
| 3031 |
(main): Run new test. Change test for new version number to require a |
| 3032 |
2 level number. |
| 3033 |
|
| 3034 |
2018-11-14 NIIBE Yutaka <[email protected]> |
| 3035 |
|
| 3036 |
gpgrt-config: Prepend PKG_CONFIG_LIBDIR to PKG_CONFIG_PATH. |
| 3037 |
+ commit 4a92763a6e529824f1c6043b75ac1346af41a926 |
| 3038 |
* src/gpgrt-config: Handle empty PKG_CONFIG_LIBDIR config, which |
| 3039 |
should ignore --libdir option. Otherwise, prepend |
| 3040 |
PKG_CONFIG_LIBDIR (instead of appending) to PKG_CONFIG_PATH. |
| 3041 |
|
| 3042 |
2018-11-13 NIIBE Yutaka <[email protected]> |
| 3043 |
|
| 3044 |
Fix typo in the annotation. |
| 3045 |
+ commit 4b41cf3bd16c8afcb4ba152ab9d5d679a7cb91e7 |
| 3046 |
* src/init.c [DLL_EXPORT] (DllMain): Fix typo. |
| 3047 |
|
| 3048 |
gpgrt.m4: Don't support --with-*-prefix or SYSROOT. |
| 3049 |
+ commit 8ed48537de2b141a8f2050b15a65775374f1aa79 |
| 3050 |
* src/gpgrt.m4: Remove old backward compatible support. |
| 3051 |
|
| 3052 |
2018-11-07 NIIBE Yutaka <[email protected]> |
| 3053 |
|
| 3054 |
Fix a typo. |
| 3055 |
+ commit b39b44b9acbed6d4889acba4fe9eae2556c80acc |
| 3056 |
* src/spawn-w32.c (src/spawn-w32.c): Fix to use pid_to_handle. |
| 3057 |
|
| 3058 |
2018-11-02 NIIBE Yutaka <[email protected]> |
| 3059 |
|
| 3060 |
gpgrt-config: Don't support variable reference in --libdir option. |
| 3061 |
+ commit 78af09ce13969b64f121ae5990e66fb7f1cd3f1d |
| 3062 |
* src/gpgrt-config: Simplify --libdir support, remove variable |
| 3063 |
substituion. |
| 3064 |
* src/gpg-error.m4: Expand possible ${prefix}, ${exec_prefix} in |
| 3065 |
libdir. Simplify invocation of gpgrt-config. |
| 3066 |
* src/gpgrt.m4: Likewise. |
| 3067 |
|
| 3068 |
gpg-error.m4: Emit message when using gpgrt-config. |
| 3069 |
+ commit 42413de59a063def05620d899a7fbda265b6c406 |
| 3070 |
* src/gpg-error.m4: Add AC_MSG_NOTICE. |
| 3071 |
|
| 3072 |
gpg-error.m4: Find gpgrt_libdir by CC. |
| 3073 |
+ commit 7ffd88b0e98af21aa61a57dde042d75f0d403839 |
| 3074 |
* src/gpg-error.m4 (gpgrt_libdir): New. Bump the version date. |
| 3075 |
* src/gpgrt.m4: Likewise. |
| 3076 |
|
| 3077 |
2018-11-01 NIIBE Yutaka <[email protected]> |
| 3078 |
|
| 3079 |
gpg-error.m4: Unset GPGRT_CONFIG when gpgrt-config doesn't work. |
| 3080 |
+ commit 8f034bb3a1bbde2fc7a8d2ada6e3d779c465895b |
| 3081 |
* src/gpg-error.m4: Unset GPGRT_CONFIG when gpgrt-config doesn't work. |
| 3082 |
|
| 3083 |
gpgrt-config: It's distributed script. |
| 3084 |
+ commit 998313bd321ae161ec58111ccc6c6f0921007bc5 |
| 3085 |
* src/Makefile.am (dist_bin_SCRIPTS): Add gpgrt-config. |
| 3086 |
(bin_SCRIPTS): Remove gpgrt-config. |
| 3087 |
|
| 3088 |
2018-10-31 Andre Heinecke <[email protected]> |
| 3089 |
|
| 3090 |
w32: Remove cruft in w32-estream from olden times. |
| 3091 |
+ commit 5b898b8bc89c18e2fd02e6c9efd5e91cb96357cc |
| 3092 |
* src/w32-io.c (set_synchronize): Remove. |
| 3093 |
(create_reader, create_writer): No need for set_synchronize. |
| 3094 |
|
| 3095 |
2018-10-31 NIIBE Yutaka <[email protected]> |
| 3096 |
|
| 3097 |
gpgrt-config: Fix typo in the script. |
| 3098 |
+ commit 2e9ee747ac81434ca542291287eb56c9025f0a39 |
| 3099 |
* src/gpgrt-config: Add missing $ for libdir_option. |
| 3100 |
|
| 3101 |
2018-10-29 NIIBE Yutaka <[email protected]> |
| 3102 |
|
| 3103 |
gpgrt-config: Better architecture independent support. |
| 3104 |
+ commit 93d45f7e7e937020c796781705516a4b62e6589a |
| 3105 |
* configure.ac: Don't generate gpgrt-config. |
| 3106 |
* src/gpgrt-config: Rename from gpgrt-config.in. |
| 3107 |
(--prefix, --exec-prefix, --libdir): Use --libdir to determine |
| 3108 |
PKG_CONFIG_LIBDIR. |
| 3109 |
* src/Makefile.am (EXTRA_DIST): Remove gpgrt-config.in. |
| 3110 |
* src/gpg-error-config-test.sh: Fix for path to gpgrt-config. |
| 3111 |
* src/gpg-error.m4: Provide --prefix, --exec-prefix, --libdir |
| 3112 |
option from configure. Don't use CC because we have --libdir. |
| 3113 |
Bump version date. |
| 3114 |
* src/gpgrt.m4: Likewise. |
| 3115 |
|
| 3116 |
2018-10-27 Ben Kibbey <[email protected]> |
| 3117 |
|
| 3118 |
b64dec: Fix to use custom memory handlers. |
| 3119 |
+ commit b229ed40e2653bd3eabaa6931cd8582280a226d7 |
| 3120 |
* src/b64dec.c (_gpgrt_b64dec_finish): Use xfree(). |
| 3121 |
|
| 3122 |
2018-10-26 NIIBE Yutaka <[email protected]> |
| 3123 |
|
| 3124 |
gpgrt-config: Clean up the implementation. |
| 3125 |
+ commit aec676c9ca2da4feb2970f6ce036179afe778b25 |
| 3126 |
* src/gpgrt-config.in: Fix copyright notice. |
| 3127 |
(--exists): Support new option of pkg-config. |
| 3128 |
(--mt): Relax usage. |
| 3129 |
(--api-version): Support old option. |
| 3130 |
(default_module): New. |
| 3131 |
(usage): Only show pkg-config compatible options. |
| 3132 |
|
| 3133 |
gpg-error.m4: Better backward compatibility support. |
| 3134 |
+ commit 1096ff770b3d5cc58f423b129cc5d83731398dd9 |
| 3135 |
* src/gpg-error.m4: Don't assume newer implementation of |
| 3136 |
gpg-error-config. Use old way when it found old. |
| 3137 |
|
| 3138 |
2018-10-25 NIIBE Yutaka <[email protected]> |
| 3139 |
|
| 3140 |
gpg-error-config: Keep old gpg-error-config implementation. |
| 3141 |
+ commit ffbff048bde636e3ec19f2912fa4034e70e18f44 |
| 3142 |
* configure.ac: Generate gpgrt-config from gpgrt-config.in. |
| 3143 |
* src/gpgrt-config.in: Rename from src/gpg-error-config-new.in. |
| 3144 |
* src/Makefile.am (bin_SCRIPTS): Add gpgrt-config. |
| 3145 |
(EXTRA_DIST): Add gpgrt-config.in removing gpg-error-config-new.in. |
| 3146 |
(BUILT_SOURCES, CLEANFILES): Remove gpgrt-config. |
| 3147 |
(gpg-error-config): Always copy from gpg-error-config-old. |
| 3148 |
* src/gpg-error-config-test.sh: Follow the rename. |
| 3149 |
|
| 3150 |
build: Set GPGRT_CONFIG in gpg-error.m4. |
| 3151 |
+ commit e06af32bdde0b4ce8c97193472961f31c5b55ddf |
| 3152 |
* src/gpg-error.m4: Detect gpgrt-config to set GPGRT_CONFIG. |
| 3153 |
|
| 3154 |
build: Update gpg-error.m4 and gpgrt.m4. |
| 3155 |
+ commit abc641f27cf712dec572b6629552b6a6f0b7af27 |
| 3156 |
* src/gpg-error.m4: Bump version date. |
| 3157 |
(min_gpg_error_version): Require >= 1.33, if not specified. |
| 3158 |
(gpg_error_config_args): Remove bogus uses. |
| 3159 |
* src/gpgrt.m4: Bump version date. |
| 3160 |
(libgpgrt-prefix): Add support of --with-libgpgrt-prefix option. |
| 3161 |
(gpgrt-config): Search/call gpgrt-config instead of gpg-error-config. |
| 3162 |
(min_gpgrt_version): Require >= 1.33, if not specified. |
| 3163 |
(gpgrt_config_args): Remove bogus uses. |
| 3164 |
|
| 3165 |
2018-10-24 NIIBE Yutaka <[email protected]> |
| 3166 |
|
| 3167 |
gpg-error-config: Fix previous commit. |
| 3168 |
+ commit 184c22bea37d2bee3885ef96c1a3664361b02912 |
| 3169 |
|
| 3170 |
|
| 3171 |
gpg-error-config: Old gpg-error-config support --modversion. |
| 3172 |
+ commit 6d8b1e958ca96b366daac38e7084f999d252a9f8 |
| 3173 |
* src/gpg-error-config.in: Support --modversion. |
| 3174 |
|
| 3175 |
gpg-error-config: Get var/attr from the first package. |
| 3176 |
+ commit 7b81ec272b0c54ac893c09be4715b76e84c27b23 |
| 3177 |
* src/gpg-error-config-new.in: Only get it from the first. |
| 3178 |
|
| 3179 |
2018-10-23 NIIBE Yutaka <[email protected]> |
| 3180 |
|
| 3181 |
build: Fix permission. |
| 3182 |
+ commit 25ea85066cf100e3381f7f7b2d8858a7dfcea480 |
| 3183 |
* build-aux/config.guess: Chmod +x. |
| 3184 |
* build-aux/config.sub: Chmod +x. |
| 3185 |
|
| 3186 |
build: Fix detecting build on multiarch environment. |
| 3187 |
+ commit 00e955558c66f80acad9225d2eae82459d87dc54 |
| 3188 |
* configure.ac: Rough match by shell pattern. |
| 3189 |
|
| 3190 |
build: Supply CC to invoke gpg-error-config. |
| 3191 |
+ commit f575b2fd3f733d78fb61b04805ea63ce65d89e19 |
| 3192 |
* src/gpg-error.m4: Add CC when invoking gpg-error-config. |
| 3193 |
* src/gpgrt.m4: Likewise. |
| 3194 |
|
| 3195 |
gpg-error-config: Fix cross build support. |
| 3196 |
+ commit 40e22c774afebca23fdaa6dec2b8698572501c32 |
| 3197 |
* configure.ac: Fix regexp matching multiarch environment. |
| 3198 |
* src/gpg-error-config-new.in: Support standard cross build. |
| 3199 |
Handle the case where $multiarch != $triplet. |
| 3200 |
|
| 3201 |
2018-10-22 NIIBE Yutaka <[email protected]> |
| 3202 |
|
| 3203 |
yat2m: Avoid compiler warnings. |
| 3204 |
+ commit 12b834ba59ae2f3cd0568e4cfa1dca47fc41269a |
| 3205 |
* doc/yat2m.c (isodatestring): Prepare enough buffer. |
| 3206 |
|
| 3207 |
gpg-error-config: Support "auto", architecture independent script. |
| 3208 |
+ commit 91bcb2c7d824de50c7dfedd4490e515ddb5dfc5a |
| 3209 |
* configure.ac (pkg_config_libdir): Set it "auto" when it looks |
| 3210 |
multiarch environment. |
| 3211 |
* src/gpg-error-config-new.in: Automatically detects the triplet. |
| 3212 |
|
| 3213 |
build: Update config.{guess,sub} to {2018-08-29,2018-08-29}. |
| 3214 |
+ commit 6d2e0546d50a0d4511fb7167566bfd0058a68f38 |
| 3215 |
* build-aux/config.guess: Update. |
| 3216 |
* build-aux/config.sub: Update. |
| 3217 |
|
| 3218 |
2018-10-19 Daniel Kahn Gillmor <[email protected]> |
| 3219 |
|
| 3220 |
build-aux: use https instead of http. |
| 3221 |
+ commit e99480affa595702595e59333aca96ab28389d34 |
| 3222 |
|
| 3223 |
|
| 3224 |
2018-10-17 NIIBE Yutaka <[email protected]> |
| 3225 |
|
| 3226 |
gpg-error-config: Fix PKG_CONFIG_LIBDIR support. |
| 3227 |
+ commit d8cf57c35d4627fa28588d6ec385fcffbc5a01a0 |
| 3228 |
* configure.ac (pkg_config_libdir): New. |
| 3229 |
* src/gpg-error-config-new.in: Use pkg_config_libdir. |
| 3230 |
|
| 3231 |
2018-10-16 NIIBE Yutaka <[email protected]> |
| 3232 |
|
| 3233 |
gpg-error-config: Support PKG_CONFIG_LIBDIR. |
| 3234 |
+ commit e9566da20cf9428e3094cbd63277ea2179459232 |
| 3235 |
* src/gpg-error-config-new.in: Use PKG_CONFIG_LIBDIR if specified. |
| 3236 |
|
| 3237 |
2018-10-12 Wookey <[email protected]> |
| 3238 |
Wookey <[email protected]> |
| 3239 |
|
| 3240 |
syscfg: Add support for arm64ilp32. |
| 3241 |
+ commit a3f4e8838036a14e87cca811e40c9f670f152fcd |
| 3242 |
* src/syscfg/lock-obj-pub.aarch64-unknown-linux-gnu_ilp32.h: New. |
| 3243 |
* src/Makefile.am (lock_obj_pub): Add it. |
| 3244 |
|
| 3245 |
2018-10-10 NIIBE Yutaka <[email protected]> |
| 3246 |
|
| 3247 |
gpg-error-config: Fix the place of *.pc (for multilib). |
| 3248 |
+ commit 9f71b28dcb38e1d5d9001692e2f64009396aaf9b |
| 3249 |
* src/Makefile.am (pkgconfigdir): It should be under libdir. |
| 3250 |
* src/gpg-error-config-new.in: Likewise. |
| 3251 |
|
| 3252 |
gpg-error-config: Add PKG_CONFIG_SYSROOT_DIR support. |
| 3253 |
+ commit 6167f3c461a4e53ccc5af620cdbfa28bfa9234f5 |
| 3254 |
* src/gpg-error-config-new.in (sysroot): New function. |
| 3255 |
(want_cflags, want_libs): Use sysroot. |
| 3256 |
* src/gpg-error-config-test.sh: Test with PKG_CONFIG_SYSROOT_DIR. |
| 3257 |
|
| 3258 |
2018-09-21 Werner Koch <[email protected]> |
| 3259 |
|
| 3260 |
syscfg: Add support for arc-unknown-linux-gnu. |
| 3261 |
+ commit f4f0da74f526d7e35cedbc2e93454df6440dbfa5 |
| 3262 |
* src/mkheader.c (canon_host_triplet): Add to table. |
| 3263 |
|
| 3264 |
core: Make cross building in mkheader more explicit. |
| 3265 |
+ commit b371e3ca906e6a4db31900d419ddc2b21bed1ea3 |
| 3266 |
* src/mkheader.c (main): Add option --cross. |
| 3267 |
(write_special): Don't use native in cross mode. |
| 3268 |
* src/Makefile.am (mkheader_opts): New. |
| 3269 |
(gpg-error.h): Add MKHEADER_OPTS. |
| 3270 |
|
| 3271 |
core: Simplify calling convention of mkheader. |
| 3272 |
+ commit 3fc4ce49b23a364a1cf255c8e9e259047206e1e8 |
| 3273 |
* src/Makefile.am (gpg-error.h): Remove HOST_OS from mkheader call. |
| 3274 |
* src/mkheader.c (canon_host_triplet): Add return arg r_os. |
| 3275 |
(main): Remove first arg and derive host_os from host_triplet. |
| 3276 |
|
| 3277 |
2018-09-20 NIIBE Yutaka <[email protected]> |
| 3278 |
|
| 3279 |
src: Fix portability for echo. |
| 3280 |
+ commit 15309d0fb4c78f8de9bc5dea7d0f8b7468a957b4 |
| 3281 |
* src/Makefile.am: Use ECHO_N and ECHO_C. |
| 3282 |
|
| 3283 |
gpg-error-config: Remove white space for the output by old. |
| 3284 |
+ commit d510f38ccbc715faa8e07828bf6acd8e9b9a0658 |
| 3285 |
* src/gpg-error-config-test.sh: Remove white spaces at the |
| 3286 |
end or at the beginning. |
| 3287 |
|
| 3288 |
gpg-error-config: Use expr to remove var in expression. |
| 3289 |
+ commit a338801aa4bac9a3551729598bcb0ca41882cdb9 |
| 3290 |
* src/gpg-error-config-new.in (remove_var_expr): Use expr. |
| 3291 |
|
| 3292 |
gpg-error-config: Fix a variable name for zsh. |
| 3293 |
+ commit 4c2601a95f06efd352ad407add71a7ea6bab8152 |
| 3294 |
* src/gpg-error-config-new.in (module_list): Rename from modules. |
| 3295 |
|
| 3296 |
gpg-error-config: Don't use local variables. |
| 3297 |
+ commit 5731ad6377abcd3d36fd6aa59923a640b25b589b |
| 3298 |
* src/gpg-error-config-new.in: Use global variables only. |
| 3299 |
|
| 3300 |
gpg-error-config: Avoid more space char. |
| 3301 |
+ commit 95ab4d037ce2b69754c0542949bf7d9d2467d96b |
| 3302 |
* src/gpg-error-config-new.in: Don't put more space. |
| 3303 |
|
| 3304 |
2018-09-19 NIIBE Yutaka <[email protected]> |
| 3305 |
|
| 3306 |
src: Fix Makefile for BSD make. |
| 3307 |
+ commit 144f4b3df5200ce056f00e20420cde77eb1f673d |
| 3308 |
* src/Makefile.am (BUILT_SOURCES): Add srcdir to err-sources.h and |
| 3309 |
err-codes.h. |
| 3310 |
(CLEANFILES): Move err-sources.h and err-codes.h to... |
| 3311 |
(MAINTAINERCLEANFILES): ... this new target. |
| 3312 |
(gpg_error_LDADD): Remove ./ to generate libgpg-error.la. |
| 3313 |
|
| 3314 |
Accept pkgconf difference for spaces. |
| 3315 |
+ commit 5564efac95e9546af948fc13c90584264b322950 |
| 3316 |
* src/gpg-error-config-test.sh (OUTPUT_OLD): Use shell |
| 3317 |
and echo to remove spaces. |
| 3318 |
|
| 3319 |
2018-09-18 Werner Koch <[email protected]> |
| 3320 |
|
| 3321 |
syscfg: Support ARC CPUs and simplify aliasing table. |
| 3322 |
+ commit 48c8f8ddfc80551db7615e1eb3555c1dc3f6a657 |
| 3323 |
* src/mkheader.c (xmalloc): New. |
| 3324 |
(xstrdup): Implement using xmalloc. |
| 3325 |
(canon_host_triplet): Add supporr for arc CPU. Adjust alias table to |
| 3326 |
also alias *-pc-*. Rename ibm to unknown. Add internal arg. Add |
| 3327 |
unknown vendor hack. |
| 3328 |
(main): New mode to just print the canonicalized form. |
| 3329 |
* src/Makefile.am (lock_obj_pub): s/-(pc|ibm)-/-unknown/. Also rename |
| 3330 |
files accordingly. |
| 3331 |
|
| 3332 |
2018-09-11 NIIBE Yutaka <[email protected]> |
| 3333 |
|
| 3334 |
Make gpg-error-config compatible to pkg-config. |
| 3335 |
+ commit 78b679a778ddf37b8952f1808fd8c52cc8163f17 |
| 3336 |
* configure.ac (AC_CONFIG_FILES): Generate src/gpg-error.pc, as well |
| 3337 |
as src/gpg-error-config-old and src/gpg-error-config-new. |
| 3338 |
* src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New. |
| 3339 |
(EXTRA_DIST): Add gpg-error-config-new.in, gpg-error-config-test.sh, |
| 3340 |
and gpg-error.pc.in. |
| 3341 |
(CLEANFILES): Add gpg-error-config gpg-error-config-test.log. |
| 3342 |
(TESTS): New. |
| 3343 |
(gpg-error-config): New target. |
| 3344 |
* src/gpg-error-config-new.in: New. |
| 3345 |
* src/gpg-error-config-test.sh: New. |
| 3346 |
* src/gpg-error.pc.in: New. |
| 3347 |
* src/gpg-error.m4 (GPG_ERROR_MT_CFLAGS): Use --variable. |
| 3348 |
(GPG_ERROR_MT_LIBS, gpg_error_config_host): Likewise. |
| 3349 |
|
| 3350 |
2018-09-06 NIIBE Yutaka <[email protected]> |
| 3351 |
|
| 3352 |
gpgscm: Suppress warnings for GCC > 6. |
| 3353 |
+ commit b2aba1bec151d6e6cbf66359a30ba2ff458fc138 |
| 3354 |
* tests/gpgscm/scheme.c (CASE): Use unused attribute for GCC > 6. |
| 3355 |
(FALLTHROUGH): New for fallthrough. |
| 3356 |
(Eval_Cycle): Use FALLTHROUGH. Remove not-needed comment of |
| 3357 |
fallthrough. |
| 3358 |
|
| 3359 |
po: Fix the previous commit. |
| 3360 |
+ commit 2148e19fbefa9c5d5cdc4982cd2043136c31fb64 |
| 3361 |
|
| 3362 |
|
| 3363 |
2018-09-05 NIIBE Yutaka <[email protected]> |
| 3364 |
|
| 3365 |
po: Update Japanese Translation. |
| 3366 |
+ commit cb0113f4690ed130c55ef4c6d8699ebc051e957e |
| 3367 |
|
| 3368 |
|
| 3369 |
gpg-error-config: Forward compatibility support. |
| 3370 |
+ commit 61d78fdc25e5ff9289697c141457d8d322232250 |
| 3371 |
* src/gpg-error-config.in: Support --variable=* option. |
| 3372 |
|
| 3373 |
2018-09-04 NIIBE Yutaka <[email protected]> |
| 3374 |
|
| 3375 |
gpg-error-config: Determine output at configure time. |
| 3376 |
+ commit aa697dae4c363b3d24ec9be3a0cd41df3bf806ce |
| 3377 |
* src/gpg-error-config.in (isubdirafter): Remove. |
| 3378 |
Also for --cflags and --libs. |
| 3379 |
* configure.ac (GPG_ERROR_CONFIG_ISUBDIRAFTER): Remove. |
| 3380 |
(GPG_ERROR_CONFIG_CFLAGS): Add -idirafter gpg-extra for W32CE. |
| 3381 |
(GPG_ERROR_CONFIG_CFLAGS): Decide here if adding -I$includedir. |
| 3382 |
(GPG_ERROR_CONFIG_LIBS): Decide here if adding -L$libdir. |
| 3383 |
|
| 3384 |
2018-07-17 Michael Haubenwallner <[email protected]> |
| 3385 |
|
| 3386 |
build: use EXEEXT_FOR_BUILD everywhere. |
| 3387 |
+ commit 19f9902b004cb980de4da908fa571103bfe2b630 |
| 3388 |
* src/Makefile.am: Use EXEEXT_FOR_BUILD with all build tools. |
| 3389 |
|
| 3390 |
<[email protected]> |
| 3391 |
|
| 3392 |
2018-07-12 Werner Koch <[email protected]> |
| 3393 |
|
| 3394 |
Release 1.32. |
| 3395 |
+ commit 7b08307ff25b757ed2502cb2bf7893640e404ad1 |
| 3396 |
|
| 3397 |
|
| 3398 |
estream: Always propagate flush event to cookie functions. |
| 3399 |
+ commit bd5bcd2dd19ef0b1c3d33a3a388b537ba08a4eb6 |
| 3400 |
* src/estream.c (flush_stream): Always call cookie's flush func. |
| 3401 |
|
| 3402 |
2018-07-11 NIIBE Yutaka <[email protected]> |
| 3403 |
|
| 3404 |
build: Use AX_CC_FOR_BUILD and EXEEXT. |
| 3405 |
+ commit 0727c394562237d7e626849eae04790264e56208 |
| 3406 |
* configure.ac (AX_CC_FOR_BUILD): New. |
| 3407 |
* doc/Makefile.am: Use EXEEXT and EXEEXT_FOR_BUILD. |
| 3408 |
* m4/ac_prog_cc_for_build.m4: Remove. |
| 3409 |
* m4/ax_cc_for_build.m4: New. |
| 3410 |
|
| 3411 |
doc: Now, yat2m is a standard tool. |
| 3412 |
+ commit f1162767e3552d05c1255497d49de15c2d94d0b4 |
| 3413 |
* configure.ac (YAT2M, HAVE_YAT2M): Remove. |
| 3414 |
* doc/Makefile.am: Always use yat2m which comes with this source. |
| 3415 |
|
| 3416 |
2018-07-10 NIIBE Yutaka <[email protected]> |
| 3417 |
|
| 3418 |
build: Remove version_parts in autogen.sh. |
| 3419 |
+ commit 302d43a130e2364ea882474088a8b0a31bc325b9 |
| 3420 |
* autogen.rc (version_parts): Remove. |
| 3421 |
* autogen.sh: Determine by $micro argument. |
| 3422 |
|
| 3423 |
2018-07-05 Werner Koch <[email protected]> |
| 3424 |
|
| 3425 |
Remove leftover debug output from gpg-error. |
| 3426 |
+ commit 1ac63f630cbe1b558ebe20b746bbe4962117d36f |
| 3427 |
* src/gpg-error.c (main): Remove a log_debug. |
| 3428 |
|
| 3429 |
2018-07-05 Yuri Chornoivan <[email protected]> |
| 3430 |
|
| 3431 |
po: Update Ukrainian translation. |
| 3432 |
+ commit 8a72604dc44d36790669e6e591c12cc0b6e057bd |
| 3433 |
|
| 3434 |
|
| 3435 |
2018-07-05 Andre Heinecke <[email protected]> |
| 3436 |
|
| 3437 |
core: Initialize values in estream_format. |
| 3438 |
+ commit fe2f8fca3114e3a5727fdbbc5e7ebc4e442d0401 |
| 3439 |
* src/estream-printf.c (_gpgrt_estream_format): Make sure |
| 3440 |
valuetable.value is inialized even on stack. |
| 3441 |
|
| 3442 |
2018-05-30 Ineiev <[email protected]> |
| 3443 |
|
| 3444 |
po: Update Russian translation. |
| 3445 |
+ commit 043a91b8cd4bb71cb96086b51d6bc1b1a1821a41 |
| 3446 |
|
| 3447 |
|
| 3448 |
2018-05-30 Werner Koch <[email protected]> |
| 3449 |
|
| 3450 |
core: Fix problem with C11 and stdnoreturn.h. |
| 3451 |
+ commit 3eee9efc46f983fe0bf474c814944fef93a2a1b7 |
| 3452 |
* src/gpg-error.h.in (GPGRT_ATTR_NORETURN): Use gcc specific symbol name |
| 3453 |
__noreturn__. |
| 3454 |
|
| 3455 |
2018-05-03 Andre Heinecke <[email protected]> |
| 3456 |
|
| 3457 |
doc: Fix yat2m name for native w32 build. |
| 3458 |
+ commit 6eb80abcde5ad776379069871e4156b28ef69712 |
| 3459 |
* doc/Makefile.am: Handle not cross compiling but building for |
| 3460 |
windows. |
| 3461 |
|
| 3462 |
2018-05-02 Werner Koch <[email protected]> |
| 3463 |
|
| 3464 |
Release 1.31. |
| 3465 |
+ commit 10a984d25048a09d1c489224bae866372e8066a1 |
| 3466 |
* configure.ac: Set LT version to C24/A24/R2. |
| 3467 |
|
| 3468 |
2018-05-01 Werner Koch <[email protected]> |
| 3469 |
|
| 3470 |
core,w32: Avoid recursive use of npth_unprotect. |
| 3471 |
+ commit b26a227173e8e9b91be14f06ee781c6e214e50ff |
| 3472 |
* src/w32-estream.c (reader): Use standard free. |
| 3473 |
(writer): Ditto. |
| 3474 |
|
| 3475 |
2018-05-01 emma peel <[email protected]> |
| 3476 |
|
| 3477 |
po: new Spanish translation. |
| 3478 |
+ commit 7e2517a29619c35257b38aa137b6772e471d7e4e |
| 3479 |
|
| 3480 |
|
| 3481 |
2018-04-30 Werner Koch <[email protected]> |
| 3482 |
|
| 3483 |
Release 1.30. |
| 3484 |
+ commit cac048bf8454ade95a905f9d3840b1ec284fce20 |
| 3485 |
* configure.ac: Bump LT version to C24/A/24/R1. |
| 3486 |
|
| 3487 |
build: More release creation automation. |
| 3488 |
+ commit d1d4c4f8eb9830bfb671054e1558342106ba9d8d |
| 3489 |
* Makefile.am: Add release and sign-release targets. |
| 3490 |
|
| 3491 |
core: Fix gpgrt_poll for Windows under nPth. |
| 3492 |
+ commit 4f45f3e0bb404b4a9787cb55ca154c6f60c1437b |
| 3493 |
* src/estream.c (_gpgrt_poll) [W32]: Use syscall clamp. |
| 3494 |
|
| 3495 |
2018-04-13 NIIBE Yutaka <[email protected]> |
| 3496 |
|
| 3497 |
doc: Fix yat2m build for cross compilation. |
| 3498 |
+ commit 792877a08ca7bc9d1377161dc9af374602a394cc |
| 3499 |
* doc/Makefile.am: Fix target of yat2m-for-build. |
| 3500 |
|
| 3501 |
2018-04-12 NIIBE Yutaka <[email protected]> |
| 3502 |
|
| 3503 |
build: Check -lsocket -lnsl for Solaris. |
| 3504 |
+ commit e35749023ca68de6f1f85d3072f7b36fd6f6fe7c |
| 3505 |
* configure.ac: Check inet_addr for -lnsl, and socket for -lsocket. |
| 3506 |
|
| 3507 |
2018-04-11 Damien Goutte-Gattat via Gnupg-devel <[email protected]> |
| 3508 |
|
| 3509 |
build: Make sure version.texi is generated in time. |
| 3510 |
+ commit 8ef76d9373db16f1ca176f9c87c8dac2758c8b85 |
| 3511 |
[[PGP Signed Part:Good signature from AA4373E6C82C78AD Damien Goutte-Gattat <[email protected]> (trust undefined) created at 2018-04-11T17:05:27+0200 using RSA]] |
| 3512 |
[1. text/plain] |
| 3513 |
|
| 3514 |
* doc/Makefile.am (yat2m-stamp): Depend on version.texi. |
| 3515 |
|
| 3516 |
2018-04-11 Werner Koch <[email protected]> |
| 3517 |
|
| 3518 |
Release 1.29. |
| 3519 |
+ commit c3825327da826e434ada9abde34e6bbd7ef61737 |
| 3520 |
* configure.ac: Bump LT version to C24/A24/R0. |
| 3521 |
|
| 3522 |
core: Finalize the API for argparse. |
| 3523 |
+ commit e901c9fb04f5a96ba2bd49225b396ce7857a3782 |
| 3524 |
* src/gpg-error.h.in (ARGPARSE_end): Simplify. |
| 3525 |
* src/argparse.c (_gpgrt_argparse_internal_s): Add field opts. |
| 3526 |
(deinitialize): Release new field. |
| 3527 |
(initialize): Add arg opts and create a copy of the option list. Add |
| 3528 |
the internal options. |
| 3529 |
(_gpgrt_argparse): Rename arg opts to opts_orig and set new local var |
| 3530 |
opts. Adjust all references to opts. |
| 3531 |
(find_long_option): Adjust for chnaged type of OPTS. Re-indent. |
| 3532 |
(arg_parse): Remove internal option assignment. Rename arg opts to |
| 3533 |
opts_orig and set new local var opts. Adjust all references to opts. |
| 3534 |
(show_help): Adjust all references to opts. |
| 3535 |
|
| 3536 |
2018-03-27 NIIBE Yutaka <[email protected]> |
| 3537 |
|
| 3538 |
doc: Support cross compilation for yat2m. |
| 3539 |
+ commit efc4769339d42a4a399c040c146cf4a29c02ea4f |
| 3540 |
* configure.ac (HAVE_YAT2M): New. |
| 3541 |
* doc/Makefile.am [CROSS_COMPILING]: Supported. |
| 3542 |
|
| 3543 |
2018-03-22 Werner Koch <[email protected]> |
| 3544 |
|
| 3545 |
build: Add option --git-build to autogen.sh. |
| 3546 |
+ commit 1b30d21c8780f5510815d4fb2523afad9fff85dc |
| 3547 |
|
| 3548 |
|
| 3549 |
yat2m: Avoid compiler warnings. |
| 3550 |
+ commit 30621ee4c13006d08881994c32c89f60604c0188 |
| 3551 |
* doc/yat2m.c (evaluate_conditions): Mark args unused |
| 3552 |
(proc_texi_cmd): Avoid shadowing warning. |
| 3553 |
|
| 3554 |
core: Add Base-64 encoder. |
| 3555 |
+ commit ffc8f805165a13d16ed227051c59d732117ec9d4 |
| 3556 |
* src/b64enc.c: Change to fit into libgpg-error. |
| 3557 |
* src/Makefile.am: Add b64enc.c |
| 3558 |
* src/b64dec.c: Use xtrymalloc etc. Always use gpg_err_code_t. |
| 3559 |
(_gpgrt_b64dec_start): Set decoder flag |
| 3560 |
(_gpgrt_b64dec_finish): Check for conflict. |
| 3561 |
(_gpgrt_b64state): Move to ... |
| 3562 |
* src/gpgrt-int.h: here. Add new fields. |
| 3563 |
* src/visibility.c (gpgrt_b64enc_start): New. |
| 3564 |
(gpgrt_b64enc_write): New. |
| 3565 |
(gpgrt_b64enc_finish): New. |
| 3566 |
* src/gpg-error.vers, src/gpg-error.def.in: Add new functions. |
| 3567 |
* src/gpg-error.h.in: Ditto. |
| 3568 |
* src/visibility.h: Ditto. |
| 3569 |
|
| 3570 |
* tests/t-b64dec.c: Remove. |
| 3571 |
* tests/t-b64.c: New. |
| 3572 |
* tests/Makefile.am (TESTS): Replace t-b64dec by t-b64. |
| 3573 |
|
| 3574 |
2018-03-22 NIIBE Yutaka <[email protected]> |
| 3575 |
|
| 3576 |
doc: Fix build and installation of yat2m. |
| 3577 |
+ commit 4dc6d4d2067c726cdb13593bf151637319ff65e6 |
| 3578 |
* configure.ac (YAT2M): Require it when cross compiling. |
| 3579 |
* doc/Makefile.am (bin_PROGRAMS): Add yat2m. |
| 3580 |
|
| 3581 |
2018-03-21 Werner Koch <[email protected]> |
| 3582 |
|
| 3583 |
po: Merge GnuPG's strings from argparse.c. |
| 3584 |
+ commit e492e0a0a73e1ea9c80f355a25f632af69d3a569 |
| 3585 |
|
| 3586 |
|
| 3587 |
tools: Use gpgrt_argparse for the gpg-error tool. |
| 3588 |
+ commit 11ce9bc3d6fe75859e18112824ae7ec3ca0fc8df |
| 3589 |
* src/gpg-error.c (show_usage): Remove. |
| 3590 |
(my_strusage): New. |
| 3591 |
(main): Change to use argparse. Also use log_error. |
| 3592 |
|
| 3593 |
core: Add public function gpgrt_usage. |
| 3594 |
+ commit ed78ef7f06649f85f1c94c4fb2bd3f6b16fd9a63 |
| 3595 |
* src/visibility.c (gpgrt_usage): New. |
| 3596 |
|
| 3597 |
core: Add the group of argparse functions. |
| 3598 |
+ commit 13d6fbfd4360cb74588556a3a0058c4057d0bcf0 |
| 3599 |
* src/visibility.c (gpgrt_argparse): New. |
| 3600 |
(gpgrt_strusage): New. |
| 3601 |
(gpgrt_set_strusage): New. |
| 3602 |
(gpgrt_set_usage_outfnc): New. |
| 3603 |
(gpgrt_set_fixed_string_mapper): New. |
| 3604 |
* src/gpg-error.def.in, src/gpg-error.vers: Add new functions. |
| 3605 |
* src/gpg-error.h.in: Add ARGPARSE macros from the former argparse.h. |
| 3606 |
(gpgrt_argparse_t): New. |
| 3607 |
(gpgrt_opt_t): New. |
| 3608 |
* configure.ac (AH_BOTTOM): Request argparse macros. |
| 3609 |
* src/Makefile.am (libgpg_error_la_SOURCES): Add argparse.c. |
| 3610 |
* src/argparse.h: Remove. |
| 3611 |
* src/argparse.c: Revamp to fit into libgpg-error. |
| 3612 |
(_gpgrt_argparse): New. |
| 3613 |
(_gpgrt_usage): Rename from usage. |
| 3614 |
(_gpgrt_strusage): Rename from strusage. Define two new levels and |
| 3615 |
templates for three common licenses. |
| 3616 |
(_gpgrt_set_strusage): Rename from set_strusage. |
| 3617 |
(_gpgrt_set_usage_outfnc): New. |
| 3618 |
(_gpgrt_set_fixed_string_mapper): New. |
| 3619 |
|
| 3620 |
* tests/t-argparse.c: New. |
| 3621 |
|
| 3622 |
2018-03-18 Werner Koch <[email protected]> |
| 3623 |
|
| 3624 |
core: Fix regression on arm64 due to invalid use of va_list. |
| 3625 |
+ commit 791177de023574223eddf7288eb7c5a0721ac623 |
| 3626 |
* src/logging.c (_gpgrt_log_printhex): Provide a dummy arg instead of |
| 3627 |
NULL. |
| 3628 |
|
| 3629 |
2018-03-14 Werner Koch <[email protected]> |
| 3630 |
|
| 3631 |
core: Fix building on W64. |
| 3632 |
+ commit c36a60687976d98b54dac17f699dfca4918a737c |
| 3633 |
* src/w32-add.h: Remove hack to define pid_t. |
| 3634 |
* src/gpg-error.h.in: Eval macro to define pid_t. |
| 3635 |
* src/mkheader.c (have_sys_types_h, sys_types_h_included): New. |
| 3636 |
(parse_config_h): Test for sys/types.h. |
| 3637 |
(write_special): Protect inclusion of sys/types.h. Define new macro |
| 3638 |
'define:pid_t'. |
| 3639 |
|
| 3640 |
2018-03-13 Werner Koch <[email protected]> |
| 3641 |
|
| 3642 |
Release 1.28. |
| 3643 |
+ commit e32342397eab85fed5ef709317cc50dc7cbc41a5 |
| 3644 |
|
| 3645 |
|
| 3646 |
2018-02-28 NIIBE Yutaka <[email protected]> |
| 3647 |
Karsten Merker <[email protected]> |
| 3648 |
|
| 3649 |
syscfg: Add a riscv64 architecture. |
| 3650 |
+ commit 596c0d701edeb45e0069bb74b9343e3d5b708ef0 |
| 3651 |
* src/syscfg/lock-obj-pub.riscv64-unknown-linux-gnu.h: New. |
| 3652 |
* src/Makefile.am (lock_obj_pub): Add it. |
| 3653 |
|
| 3654 |
2018-02-21 Werner Koch <[email protected]> |
| 3655 |
Todd Zullinger |
| 3656 |
|
| 3657 |
build: Document how to use git send-email. |
| 3658 |
+ commit 70058cd9f944d620764e57c838209afae8a58c78 |
| 3659 |
* autogen.rc: Add patches_to. |
| 3660 |
* autogen.sh: Run git config sendemail.to. |
| 3661 |
* doc/HACKING: Describe use of git send-email. |
| 3662 |
|
| 3663 |
2018-02-21 Thorsten Behrens <[email protected]> |
| 3664 |
|
| 3665 |
doc: clarify patch submission workflow. |
| 3666 |
+ commit 887530733d0486ab68ff351c4855f5450c2d50e6 |
| 3667 |
|
| 3668 |
|
| 3669 |
2017-12-11 Werner Koch <[email protected]> |
| 3670 |
|
| 3671 |
core: Avoid using estream_t in the public API. |
| 3672 |
+ commit f9a33a7f7e44a644ff4e31f7e9f1c2c1ec1f8eee |
| 3673 |
* src/gpg-error.h.in: Always use gpgrt_stream-t. |
| 3674 |
|
| 3675 |
2017-12-08 Werner Koch <[email protected]> |
| 3676 |
|
| 3677 |
core: Rename the gpgrt_log_levels enum values. |
| 3678 |
+ commit de167fa92d009745c51dae547990845282cbb351 |
| 3679 |
* src/gpg-error.h.in (gprt_log_levels): Rename to GPGRT_LOGLVL. |
| 3680 |
|
| 3681 |
2017-11-29 Werner Koch <[email protected]> |
| 3682 |
|
| 3683 |
core: Wrap blocking system calls of the spawn functions. |
| 3684 |
+ commit 4acf116ba6d144c2cfa39ff54a23b8864b4ce895 |
| 3685 |
|
| 3686 |
|
| 3687 |
core: Unify syscall_clamp functions. |
| 3688 |
+ commit adc786d034b63176b941a1ef8d996acbf8d0ea5d |
| 3689 |
* src/estream.c (_gpgrt_set_syscall_clamp) |
| 3690 |
(_gpgrt_get_syscall_clamp): Move to ... |
| 3691 |
* src/syscall-clamp.c: new file. |
| 3692 |
(_gpgrt_pre_syscall, _gpgrt_post_syscall): New. |
| 3693 |
* src/Makefile.am (libgpg_error_la_SOURCES): Add that file. |
| 3694 |
* src/estream.c: Replace the syscall wrapper with the new functions. |
| 3695 |
* src/posix-lock.c: Ditto. |
| 3696 |
* src/w32-lock.c: Ditto. |
| 3697 |
* src/posix-thread.c: Ditto. |
| 3698 |
* src/w32-thread.c: Ditto. |
| 3699 |
|
| 3700 |
core: Implement the spawn functions. |
| 3701 |
+ commit 1865c0ba1769b407a3c504f1ab0a4278704a9fc1 |
| 3702 |
* src/gpg-error.h.in (GPGRT_SPAWN_NONBLOCK): New const. |
| 3703 |
(GPGRT_SPAWN_RUN_ASFW): New const. |
| 3704 |
(GPGRT_SPAWN_DETACHED): New const. |
| 3705 |
(gpgrt_make_pipe): New function. |
| 3706 |
(gpgrt_create_pipe): New macro. |
| 3707 |
(gpgrt_create_inbound_pipe): New macro. |
| 3708 |
(gpgrt_create_outbound_pipe): New macro. |
| 3709 |
(gpgrt_spawn_process): New function. |
| 3710 |
(gpgrt_spawn_process_fd): New function. |
| 3711 |
(gpgrt_spawn_process_detached): New function. |
| 3712 |
(gpgrt_wait_process): New function. |
| 3713 |
(gpgrt_wait_processes): New function. |
| 3714 |
(gpgrt_kill_process): New function. |
| 3715 |
(gpgrt_release_process): New function. |
| 3716 |
* src/gpg-error.def.in, src/gpg-error.vers: Add new functions. |
| 3717 |
* src/visibility.c, src/visibility.h: Add wrappers for new functions. |
| 3718 |
* src/spawn-posix.c: Rework to better fit the use in gpgrt. Rename |
| 3719 |
all public function with a _gpgrt prefix. |
| 3720 |
* src/spawn-w32.c: Ditto. |
| 3721 |
* src/gpgrt-int.h: Likewise. |
| 3722 |
* src/Makefile.am (arch_sources): Add spawn-posix.c and spawn-w32.c. |
| 3723 |
* src/w32-add.h: Add pid_t typedef as a temporary hack. |
| 3724 |
* configure.ac: Check for signal.h and getrlimit. |
| 3725 |
(AC_FUNC_FORK): New. |
| 3726 |
|
| 3727 |
Import and relicense exechelp* functions from GnuPG. |
| 3728 |
+ commit 8f41cc23b12485404203be5881aaaadb78696b4d |
| 3729 |
* src/spawn-posix.c: New. Taken from GnuPG's exechelp-posix.c. |
| 3730 |
* src/spawn-w32.c: New. Taken from GnuPG's exechelp-w32.c. |
| 3731 |
* src/gpgrt-int.h: Include prototypes from GnuPG's exechelp.h. |
| 3732 |
|
| 3733 |
2017-11-28 Werner Koch <[email protected]> |
| 3734 |
|
| 3735 |
core: Change new functions to return gpg_err_code_t. |
| 3736 |
+ commit 513415c71781ab400ebb01f6b4cf2984ec6b1757 |
| 3737 |
* src/gpg-error.h.in (gpgrt_sentenv, gpgrt_mkdir, gpgrt_chdir): Change |
| 3738 |
return type to gpg_err_code_t. |
| 3739 |
* src/sysutils.c (_gpgrt_setenv): Implement that. |
| 3740 |
(_gpgrt_mkdir): Ditto. |
| 3741 |
(_gpgrt_chdir): Ditto. |
| 3742 |
* gpgscm/ffi.c (do_setenv, do_mkdir): Adjust for this change. |
| 3743 |
|
| 3744 |
gpgscm: Some adjustments for use in gpgrt. |
| 3745 |
+ commit 930d27ba6b1205395add0c79139e62355a1d5b62 |
| 3746 |
* gpgscm/Makefile.am: Remove cruft leftover from GnuPG. Link to the |
| 3747 |
just build libgpg-error. |
| 3748 |
* gpgscm/private.h: Include gpgrt.h and provide i18n macros. |
| 3749 |
(xfree, xtrymalloc, xtrycalloc, xtryrealloc): New macros. |
| 3750 |
(xmalloc, xstrdup): New inline functions. |
| 3751 |
* gpgscm/main.c: Remove inclusion of gcrypt.h and gpg-error.h. Remove |
| 3752 |
all other gnupg specific headers. |
| 3753 |
(opts, parse_arguments): Temporary comment out. |
| 3754 |
(main): Adjust for use with gpgrt. Temporary comment out some stuff. |
| 3755 |
* gpgscm/ffi-private.h: Include local gpgrt.h instead of gpg-error.h. |
| 3756 |
* gpgscm/ffi.h: Ditto. |
| 3757 |
* gpgscm/ffi.c: Remove gpg-error.h and headers from GnuPG. |
| 3758 |
(do_getenv): Use gpgrt_getenv. |
| 3759 |
(do_setenv): Use gpgrt_setenv. |
| 3760 |
(do_mkdtemp): Temporary return an error. |
| 3761 |
(unlink_recursively): Use gpgrt_bsprintf. |
| 3762 |
(do_getcwd): Use gpgrt_getcwd. |
| 3763 |
(do_mkdir): Use gpgrt_mkdir. |
| 3764 |
(do_get_isotime): Temporary return an error. |
| 3765 |
(do_get_time): Directly use time(). |
| 3766 |
|
| 3767 |
core: New API functions gpgrt_mkdir, gpgrt_chdir, gpgrt_getcwd. |
| 3768 |
+ commit 4a2538e69dd35377bce0fb584f72322c69a111b3 |
| 3769 |
* src/gpg-error.h.in (gpgrt_mkdir, gpgrt_chdir, gpgrt_getcwd): New. |
| 3770 |
* src/visibility.c, src/visibility.h: Add wrappers. |
| 3771 |
* src/gpg-error.vers, src/gpg-error.def.in: Add them. |
| 3772 |
* src/sysutils.c (modestr_to_mode): New. |
| 3773 |
(_gpgrt_mkdir, _gpgrt_chdir, _gpgrt_getcwd): New. |
| 3774 |
* m4/gnupg-misc.m4: New. |
| 3775 |
* m4/Makefile.am (EXTRA_DIST): Add new M4 file. |
| 3776 |
* configure.ac: Call new GNUPG_FUNC_MKDIR_TAKES_ONE_ARG. |
| 3777 |
(AC_CHECK_FUNCS): Add stat. |
| 3778 |
|
| 3779 |
core: Prepare to build with gpgscm. |
| 3780 |
+ commit 241e9a73891fcd12f124aab1a299c2cf4f8eebc4 |
| 3781 |
* configure.ac: New option --enable-gpgscm. Create gpgscm/Makefile. |
| 3782 |
(GPGRT_ENABLE_LOG_MACROS): Define. |
| 3783 |
* Makefile.am (SUBDIRS): Add gpgscm |
| 3784 |
* src/logging.c (_gpgrt_logv_clock): Do not use the log_debug macro. |
| 3785 |
|
| 3786 |
core: New API functions gpgrt_getenv and gpgrt_setenv. |
| 3787 |
+ commit b67daca506991507cea9d383df7faf95117e58a6 |
| 3788 |
* src/gpg-error.h.in (gpgrt_getenv, gpgrt_setenv): New. |
| 3789 |
(gpgrt_unsetenv): New macro. |
| 3790 |
* src/gpg-error.vers, src/gpg-error.def.in: Add them. |
| 3791 |
* src/visibility.c (gpgrt_getenv, gpgrt_setenv): New. |
| 3792 |
* src/visibility.h: Add them. |
| 3793 |
* src/sysutils.c: Include string.h and on Windows windows.h. |
| 3794 |
(_gpgrt_getenv): New. |
| 3795 |
(_gpgrt_setenv): New. |
| 3796 |
|
| 3797 |
2017-11-27 Werner Koch <[email protected]> |
| 3798 |
|
| 3799 |
core: Install new files gpgrt.m4 and gpgrt-config. |
| 3800 |
+ commit 97b0881216af24f2a46c11650e23691cff9cb12a |
| 3801 |
* src/gpgrt.m4: New. Bascially a copy of libgpg-error.m4 |
| 3802 |
* src/gpg-error-config.in: Decide which name to print. |
| 3803 |
* src/Makefile.am (nodist_bin_SCRIPTS): Add gpgrt-config. |
| 3804 |
(m4data_DATA): Add gpgrt.m4 |
| 3805 |
(EXTRA_DIST): Add gpgrt.m4. |
| 3806 |
(BUILT_SOURCES): Add gpgrt-config. |
| 3807 |
(CLEANFILES): Add gpgrt-config. |
| 3808 |
(gpgrt-config): Create from gpg-error-config. |
| 3809 |
|
| 3810 |
core: Avoid endless recursion if log_set_sink has not been used. |
| 3811 |
+ commit 84ebd2f34882d29510f819a797fade0297fe9ab9 |
| 3812 |
* src/logging.c (_gpgrt_log_set_sink): Do not call gf_is_valid if the |
| 3813 |
default sink has been requested. |
| 3814 |
|
| 3815 |
core: Add new macro log_assert to the API. |
| 3816 |
+ commit d1e3401013f85620f3136958be079c13ca758b20 |
| 3817 |
* src/gpg-error.h.in (log_assert): New macro. |
| 3818 |
|
| 3819 |
2017-11-22 Werner Koch <[email protected]> |
| 3820 |
|
| 3821 |
core: Do not use the estream_t alias in gpg-error.h. |
| 3822 |
+ commit e0ef8126c20216f79b7ad147c103bb2cf2790c59 |
| 3823 |
* src/gpg-error.h.in: Use gpgrt_stream_t in prototypes. |
| 3824 |
|
| 3825 |
2017-11-17 Werner Koch <[email protected]> |
| 3826 |
|
| 3827 |
w32: Avoid unused code warning. |
| 3828 |
+ commit a950326d20990fa33cee637d5b54d708fff585b2 |
| 3829 |
* src/w32-estream.c (_gpgrt_w32_poll) [!ENABLE_TRACING]: Do not use |
| 3830 |
waitinfo. |
| 3831 |
|
| 3832 |
w32: Add new API fucntion gpgrt_w32_reg_query_string. |
| 3833 |
+ commit b5c4a2721d7b4bd54705c53e6f294ab2ef66a6f7 |
| 3834 |
* src/w32-reg.c: New. |
| 3835 |
* src/w32-add.h: Add gpgrt_w32_reg_query_string. |
| 3836 |
* src/visibility.c (gpgrt_w32_reg_query_string): New wrapper. |
| 3837 |
* src/gpg-error.def.in: Add gpgrt_w32_reg_query_string. |
| 3838 |
* configure.ac (ac_check_funcs): Add stpcpy. |
| 3839 |
* src/Makefile.am (arch_sources): Add w32-reg.c |
| 3840 |
(socklibs): New. |
| 3841 |
(libgpg_error_la_LIBADD): Add socklibs. |
| 3842 |
* src/gpgrt-int.h (xfree, xtrymalloc, xtrycalloc) |
| 3843 |
(xtryrealloc): New internal macros. |
| 3844 |
(_gpgrt_stpcpy, stpcpy): New replacement fucntion and macro. |
| 3845 |
* src/logging.c (_gpgrt_logv_internal): Use new registry query |
| 3846 |
function and add standard registry key. |
| 3847 |
|
| 3848 |
core: New API functions gpgrt_strdup and gpgrt_strconcat. |
| 3849 |
+ commit 0d8d46c76a32176be440b062d2501bbb044fb99d |
| 3850 |
* src/visibility.c (gpgrt_strdup): New API fucntion. |
| 3851 |
(gpgrt_strconcat): New API fucntion. |
| 3852 |
* src/visibility.h: Add corresponding macros. |
| 3853 |
* src/gpg-error.def.in: Add them. |
| 3854 |
* src/gpg-error.vers: Add them. |
| 3855 |
* src/gpgrt-int.h (DIM): New macro. |
| 3856 |
* src/init.c (_gpgrt_strdup): New. |
| 3857 |
(_gpgrt_strconcat_core): New. |
| 3858 |
(_gpgrt_strconcat): New. |
| 3859 |
|
| 3860 |
core: New API functions gpgrt_malloc, gpgrt_calloc, and gpgrt_realloc. |
| 3861 |
+ commit 80c18e1b212cc91946864db7a53da50e9f91b861 |
| 3862 |
* src/visibility.c (gpgrt_realloc): New API function. |
| 3863 |
(gpgrt_malloc): New API function. |
| 3864 |
(gpgrt_calloc): New API function. |
| 3865 |
* src/visibility.h: Add corresponding macros. |
| 3866 |
* src/gpg-error.def.in: Add them. |
| 3867 |
* src/gpg-error.vers: Add them. |
| 3868 |
* src/init.c (_gpgrt_calloc): New. |
| 3869 |
* src/gpg-error.h.in: Add prototypes. |
| 3870 |
|
| 3871 |
core: Add logging API. |
| 3872 |
+ commit 1b653e7f37e2eb2a8f590a43651eb8aecbe8756e |
| 3873 |
* src/visibility.c (gpgrt_get_errorcount): New API. |
| 3874 |
(gpgrt_inc_errorcount): New API. |
| 3875 |
(gpgrt_log_set_sink): New API. |
| 3876 |
(gpgrt_log_set_socket_dir_cb): New API. |
| 3877 |
(gpgrt_log_set_pid_suffix_cb): New API. |
| 3878 |
(gpgrt_log_set_prefix): New API. |
| 3879 |
(gpgrt_log_get_prefix): New API. |
| 3880 |
(gpgrt_log_test_fd): New API. |
| 3881 |
(gpgrt_log_get_fd): New API. |
| 3882 |
(gpgrt_log_get_stream): New API. |
| 3883 |
(gpgrt_log): New API. |
| 3884 |
(gpgrt_logv): New API. |
| 3885 |
(gpgrt_logv_prefix): New API. |
| 3886 |
(gpgrt_log_string): New API. |
| 3887 |
(gpgrt_log_info): New API. |
| 3888 |
(gpgrt_log_error): New API. |
| 3889 |
(gpgrt_log_fatal): New API. |
| 3890 |
(gpgrt_log_bug): New API. |
| 3891 |
(gpgrt_log_debug): New API. |
| 3892 |
(gpgrt_log_debug_string): New API. |
| 3893 |
(gpgrt_log_printf): New API. |
| 3894 |
(gpgrt_log_flush): New API. |
| 3895 |
(gpgrt_log_printhex): New API. |
| 3896 |
(gpgrt_log_clock): New API. |
| 3897 |
(_gpgrt_log_assert): New function for the ABI. |
| 3898 |
* src/visibility.h: Add corresponding macros. |
| 3899 |
* src/gpg-error.def.in: Add new functions. |
| 3900 |
* src/gpg-error.vers: Add new functions. |
| 3901 |
* src/gpg-error.h.in (GPGRT_LOG_WITH_PREFIX): New constant. |
| 3902 |
(GPGRT_LOG_WITH_TIME): New constant. |
| 3903 |
(GPGRT_LOG_WITH_PID): New constant. |
| 3904 |
(GPGRT_LOG_RUN_DETACHED): New constant. |
| 3905 |
(GPGRT_LOG_NO_REGISTRY): New constant. |
| 3906 |
(GPGRT_LOG_BEGIN): New enum value. |
| 3907 |
(GPGRT_LOG_CONT): New enum value. |
| 3908 |
(GPGRT_LOG_INFO): New enum value. |
| 3909 |
(GPGRT_LOG_WARN): New enum value. |
| 3910 |
(GPGRT_LOG_ERROR): New enum value. |
| 3911 |
(GPGRT_LOG_FATAL): New enum value. |
| 3912 |
(GPGRT_LOG_BUG): New enum value. |
| 3913 |
(GPGRT_LOG_DEBUG): New enum value. |
| 3914 |
(log_get_errorcount, log_inc_errorcount, log_set_file, log_set_fd) |
| 3915 |
(log_set_stream, log_set_socket_dir_cb, log_set_pid_suffix_cb) |
| 3916 |
(log_set_prefix, log_get_prefix, log_test_fd, log_get_fd) |
| 3917 |
(log_get_stream, log_log, log_logv, log_logv_prefix, log_string) |
| 3918 |
(log_bug, log_fatal, log_error, log_info, log_debug, log_debug_string) |
| 3919 |
(log_printf, log_printhex, log_clock) |
| 3920 |
(log_flush) [GPGRT_ENABLE_LOG_MACROS]: New wrapper macros. |
| 3921 |
(gpgrt_assert): New macro. |
| 3922 |
* src/gpgrt-int.h: Add prototypes for logging.c. |
| 3923 |
(gpgrt_assert): Redefine for internal use. |
| 3924 |
* src/logging.h: Remove. |
| 3925 |
* src/logging.c: Include gpgrt-int.h instead of the stuff from GnuPG. |
| 3926 |
Use _gpgrt malloc funcsions and the internal versions of the estream |
| 3927 |
functions. Rename all public fucntions with a _gpgrt_ prefix. |
| 3928 |
(print_prefix): Return the printed length. |
| 3929 |
(_gpgrt_logv_internal): Ditto. |
| 3930 |
(_gpgrt_log_printhex): Change order of args and turn into a printf |
| 3931 |
like function. |
| 3932 |
(_gpgrt_logv_printhex): New. Take the core of the former |
| 3933 |
log_printhex. |
| 3934 |
(_gpgrt_log_clock): Turn into a printf like functions. |
| 3935 |
(_gpgrt_logv_clock): New. Take the core of the former log_clock. |
| 3936 |
|
| 3937 |
New configure options and macros for internal use. |
| 3938 |
+ commit 9c904765c9b2b75e73b196b381470f0fb2f3b458 |
| 3939 |
* configure.ac: Add option --enable-log-clock. |
| 3940 |
* configure.ac: Add option --enable-werror. |
| 3941 |
* src/sysutils.c: New. |
| 3942 |
* src/Makefile.am (libgpg_error_la_SOURCES): Add sysutils.c |
| 3943 |
* src/gpgrt-int.h: Add internal i18n macros and hacks to make working |
| 3944 |
with sockets easier. |
| 3945 |
(es_stdin, es_stdout, es_stderr): New internal macros. |
| 3946 |
(snprintf): New macro. |
| 3947 |
|
| 3948 |
2017-10-05 Werner Koch <[email protected]> |
| 3949 |
|
| 3950 |
gpgscm: Add required configure checks. |
| 3951 |
+ commit 7c48edad2c782f416854eaa5c03bcf546d68eae2 |
| 3952 |
* configure.ac: Add new checks. |
| 3953 |
* m4/readline.m4: New. Taken from gnupg. |
| 3954 |
* m4/Makefile.am (EXTRA_DIST): Add it. |
| 3955 |
|
| 3956 |
2017-08-21 Justus Winter <[email protected]> |
| 3957 |
|
| 3958 |
gpgscm: Fix -Wimplicit-fallthrough warnings. |
| 3959 |
+ commit dda5fb3474a81047e5bd52a194640fb44e1d60ab |
| 3960 |
* tests/gpgscm/scheme.c (CASE): Rearrange so that the case statement |
| 3961 |
is at the front. |
| 3962 |
(Eval_Cycle): Improve fallthrough annotations. |
| 3963 |
|
| 3964 |
2017-08-08 Werner Koch <[email protected]> |
| 3965 |
|
| 3966 |
build: New configure option --enable-all-tests. |
| 3967 |
+ commit 3aa37d802ac10a38414a8cfe120de92a76968836 |
| 3968 |
* configure.ac: New option --enable-all-tests. |
| 3969 |
* tests/gpgscm/ffi.c (ffi_init): New gloabl var *run-all-tests*. |
| 3970 |
* tests/openpgp/all-tests.scm (all-tests): Use that var instead |
| 3971 |
of *maintainer-mode*. |
| 3972 |
* Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Add --enable-all-tests. |
| 3973 |
|
| 3974 |
gpgscm: Make the test summary stand out. |
| 3975 |
+ commit c2fbc80c643db372f16aed100393cd2d4de46979 |
| 3976 |
* tests/gpgscm/tests.scm (test-pool): Add delimiter lines. |
| 3977 |
|
| 3978 |
2017-08-07 Justus Winter <[email protected]> |
| 3979 |
|
| 3980 |
tests: Do not run all tests unless in maintainer mode. |
| 3981 |
+ commit d230224c38dd4b31348f7a1ad24be9e27935dc80 |
| 3982 |
* configure.ac: Leak the maintainer mode flag into 'config.h'. |
| 3983 |
* tests/gpgscm/ffi.c: Pass it into the scheme environment. |
| 3984 |
* tests/openpgp/all-tests.scm: Only run tests against non-default |
| 3985 |
configurations (keyring, extended-key-format) in maintainer mode. |
| 3986 |
|
| 3987 |
2017-07-18 Justus Winter <[email protected]> |
| 3988 |
|
| 3989 |
gpgscm,w32: Fix testing for absolute paths. |
| 3990 |
+ commit c4230af0e62d7c8812eaedf4e6451a6288ff5769 |
| 3991 |
* tests/gpgscm/main.c (path_absolute_p): New function. |
| 3992 |
(load): Use new function. |
| 3993 |
|
| 3994 |
2017-07-14 Justus Winter <[email protected]> |
| 3995 |
|
| 3996 |
gpgscm: Library improvements. |
| 3997 |
+ commit a4dbace8c1d771bed5783aadf87a8075454e5a35 |
| 3998 |
* tests/gpgscm/repl.scm (prompt-yes-no?): New function. |
| 3999 |
* tests/gpgscm/tests.scm (pathsep-split): Likewise. |
| 4000 |
(pathsep-join): Likewise. |
| 4001 |
(with-path): Use the new function. |
| 4002 |
|
| 4003 |
gpgscm: Fail early if the test setup fails. |
| 4004 |
+ commit c67386dcd95dd6a451b861e178503b29a7b13502 |
| 4005 |
* tests/gpgscm/tests.scm (make-environment-cache): Check status code |
| 4006 |
of setup script. |
| 4007 |
|
| 4008 |
2017-07-13 Justus Winter <[email protected]> |
| 4009 |
|
| 4010 |
gpgscm: Make loading of modules less verbose. |
| 4011 |
+ commit 8377569cae0764fd44701d67626b4c96f0bd8804 |
| 4012 |
* tests/gpgscm/main.c (load): Increase logging threshold. |
| 4013 |
|
| 4014 |
gpgscm: Make it impossible to catch '*interpreter-exit*'. |
| 4015 |
+ commit ba3164673676468472ae37f32c3964d231e8a8f8 |
| 4016 |
* tests/gpgscm/init.scm (throw'): Make it impossible to catch |
| 4017 |
'*interpreter-exit*'. This fixes 'exit' (and with it 'fail') inside |
| 4018 |
'catch' statements. |
| 4019 |
|
| 4020 |
2017-07-05 Werner Koch <[email protected]> |
| 4021 |
|
| 4022 |
syscfg: Add lock-obj-pub file for ia64-unknown-linux-gnu. |
| 4023 |
+ commit 0f5c3f67946fb5389df5b9963e6976b462bf5726 |
| 4024 |
* src/syscfg/lock-obj-pub.ia64-unknown-linux-gnu.h: new. |
| 4025 |
* src/Makefile.am (lock_obj_pub): Add it. |
| 4026 |
|
| 4027 |
yat2m: Use version from libgpg-error. |
| 4028 |
+ commit 0148ea8d5acde2ad5d0376fb7eaa2221e88f258a |
| 4029 |
* doc/yat2m.c (VERSION): Define as PACKAGE_VERSION. |
| 4030 |
* doc/Makefile.am (yat2m): Pass PACKAGE_VERSION with -D. |
| 4031 |
|
| 4032 |
build: Install yat2m. |
| 4033 |
+ commit d81b1379edbc6007a89c3b2fff1b51c8dfe2e868 |
| 4034 |
* doc/Makefile.am (install-exec-hook): New. |
| 4035 |
(uninstall-local): Uninstall yat2m. |
| 4036 |
|
| 4037 |
yat2m: Take care of SOURCE_DATE_EPOCH. |
| 4038 |
+ commit 5494a5728418938d2e42158bb646b07124184e64 |
| 4039 |
* doc/yat2m.c (main): Set a default for OPT_DATE. |
| 4040 |
|
| 4041 |
2017-07-05 NIIBE Yutaka <[email protected]> |
| 4042 |
|
| 4043 |
doc: minor fix for @xref. |
| 4044 |
+ commit 187e2ad24fb92210587beb779a1cc746821a169c |
| 4045 |
* doc/yat2m.c (proc_texi_cmd): Captalize "see" for xref. |
| 4046 |
|
| 4047 |
2017-07-05 Justus Winter <[email protected]> |
| 4048 |
|
| 4049 |
doc: Implement simple '@ref'erences. |
| 4050 |
+ commit 55d560358f7ee4a8b68f98e051021a05d4c0bb1f |
| 4051 |
* doc/yat2m.c (proc_texi_cmd): Handle '@ref'. |
| 4052 |
|
| 4053 |
2017-06-19 Justus Winter <[email protected]> |
| 4054 |
|
| 4055 |
gpgscm: Limit the number of parallel jobs. |
| 4056 |
+ commit 895ae4c6b1bd2fd9758d9c2835d9a3881e57a85a |
| 4057 |
* ffi.c (do_wait_processes): Suppress the timeout error. |
| 4058 |
* tests.scm (semaphore): New definition. |
| 4059 |
(test-pool): Only run a bounded number of tests in parallel. |
| 4060 |
(test::started?): New function. |
| 4061 |
(run-tests-parallel): Do not report results, do not start the tests. |
| 4062 |
(run-tests-sequential): Adapt. |
| 4063 |
(run-tests): Parse the number of parallel jobs. |
| 4064 |
|
| 4065 |
gpgscm: Improve option parsing. |
| 4066 |
+ commit b4628b4a23d7e8b55ef3f17d79ca86ae77cbc685 |
| 4067 |
* tests/gpgscm/tests.scm (flag): Accept arguments of the form |
| 4068 |
'--foo=bar'. |
| 4069 |
|
| 4070 |
gpgscm: Improve error handling of foreign functions. |
| 4071 |
+ commit f8934d091a274685c1b2a303ac2772adddd303c6 |
| 4072 |
* tests/gpgscm/ffi.scm (ffi-fail): Do not needlessly join the error |
| 4073 |
message. |
| 4074 |
|
| 4075 |
gpgscm: Improve error reporting. |
| 4076 |
+ commit f57405bea31bac1e3c8e4353aea9bb3cede1b90c |
| 4077 |
* tests/gpgscm/init.scm (throw'): Guard against 'args' being atomic. |
| 4078 |
* tests/gpgscm/scheme.c (Eval_Cycle): Remove any superfluous colons in |
| 4079 |
error messages. |
| 4080 |
|
| 4081 |
2017-05-31 Justus Winter <[email protected]> |
| 4082 |
|
| 4083 |
Align 'es_poll' semantics closer with POSIX. |
| 4084 |
+ commit 4a9857a2b6d8a8e847638416d35398508b3291fd |
| 4085 |
* src/estream.c (_gpgrt_poll): Do not return early if some streams are |
| 4086 |
found to be ready before even polling the others. |
| 4087 |
|
| 4088 |
build: Prepend the maintainer CFLAGS. |
| 4089 |
+ commit df1d61d5c84d984fb2d2a6f1b69c57878decf13e |
| 4090 |
* configure.ac: Prepend the maintainer CFLAGS making it possible to |
| 4091 |
override e.g. the optimization level for debugging. |
| 4092 |
|
| 4093 |
2017-05-30 NIIBE Yutaka <[email protected]> |
| 4094 |
|
| 4095 |
Fix memory leak for estream. |
| 4096 |
+ commit 1e7203515be0b030709109e9da621642dfa20312 |
| 4097 |
* src/estream.c (do_list_remove): Free the item. |
| 4098 |
(do_close): Free the buffer. |
| 4099 |
|
| 4100 |
2017-05-17 Justus Winter <[email protected]> |
| 4101 |
|
| 4102 |
gpgscm: Fix checking for opcode arguments. |
| 4103 |
+ commit d2747ce24d445ae7ef3ec4ed0cca2f30aa833e7c |
| 4104 |
* tests/gpgscm/scheme.c (Eval_Cycle): Update 'pcd' after dispatching |
| 4105 |
an instruction. |
| 4106 |
|
| 4107 |
2017-05-11 Justus Winter <[email protected]> |
| 4108 |
|
| 4109 |
tests: Make it possible to run all tests using our infrastructure. |
| 4110 |
+ commit 4bc110e219b13d551c0c6c9987b7602e44715032 |
| 4111 |
* Makefile.am (TESTS_ENVIRONMENT): New variable. |
| 4112 |
(check-all): New phony target to run all tests. |
| 4113 |
* tests/gpgme/gpgme-defs.scm (have-gpgme?): New function that tests |
| 4114 |
whether the GPGME test suite is available instead of exiting the |
| 4115 |
process. |
| 4116 |
* tests/gpgscm/init.scm (export): New macro. |
| 4117 |
* tests/gpgscm/tests.scm (run-tests): New function. |
| 4118 |
(load-tests): Likewise. |
| 4119 |
* tests/gpgme/run-tests.scm: Simplify and move the parsing of the list |
| 4120 |
of tests to 'all-tests.scm'. |
| 4121 |
* tests/gpgsm/run-tests.scm: Likewise. |
| 4122 |
* tests/migrations/run-tests.scm: Likewise. |
| 4123 |
* tests/openpgp/run-tests.scm: Likewise. |
| 4124 |
* tests/gpgme/Makefile.am: To select the tests to run, use the |
| 4125 |
variable 'TESTS'. This harmonizes the interface with the automake |
| 4126 |
test suite. |
| 4127 |
* tests/gpgsm/Makefile.am: Likewise. |
| 4128 |
* tests/migrations/Makefile.am: Likewise. |
| 4129 |
* tests/openpgp/Makefile.am: Likewise. |
| 4130 |
* tests/openpgp/README: Likewise. |
| 4131 |
* agent/all-tests.scm: New file. |
| 4132 |
* common/all-tests.scm: Likewise. |
| 4133 |
* g10/all-tests.scm: Likewise. |
| 4134 |
* g13/all-tests.scm: Likewise. |
| 4135 |
* tests/gpgme/all-tests.scm: Likewise. |
| 4136 |
* tests/gpgsm/all-tests.scm: Likewise. |
| 4137 |
* tests/migrations/all-tests.scm: Likewise. |
| 4138 |
* tests/openpgp/all-tests.scm: Likewise. |
| 4139 |
* tests/run-tests.scm: Likewise. |
| 4140 |
|
| 4141 |
tests: Move the makefile parser. |
| 4142 |
+ commit 197404aae66c688d004337c0aefe153ef6b10f87 |
| 4143 |
* tests/gpgme/gpgme-defs.scm (parse-makefile, parse-makefile-expand): |
| 4144 |
Move... |
| 4145 |
* tests/gpgscm/makefile.scm: ... here. |
| 4146 |
* tests/gpgscm/Makefile.am (EXTRA_DIST): Add new file. |
| 4147 |
|
| 4148 |
gpgscm: Make it possible to set the logfile name. |
| 4149 |
+ commit dd48994b0c99a4099f49ccd437a08ddff39af8a2 |
| 4150 |
* tests/gpgscm/tests.scm (test): Only set the default log filename |
| 4151 |
when it has not been set before. |
| 4152 |
|
| 4153 |
2017-05-04 Justus Winter <[email protected]> |
| 4154 |
|
| 4155 |
tests: Support tests that are expected to fail. |
| 4156 |
+ commit 212a0febf8bbaf735ae2e65722f39a47a1c5b122 |
| 4157 |
* tests/gpgscm/tests.scm (test-pool): Rework reporting. Filter using |
| 4158 |
the computed test status instead of the return value. Also print the |
| 4159 |
new categories 'failed expectedly' and 'passed unexpectedly'. |
| 4160 |
(test): If a test ends with a bang (!), it is expected to fail. Adapt |
| 4161 |
status, status-string, and xml accordingly. |
| 4162 |
|
| 4163 |
2017-05-03 Justus Winter <[email protected]> |
| 4164 |
|
| 4165 |
gpgscm: Create and re-use frame objects. |
| 4166 |
+ commit 272b0ad65ec4c6023d4b5a4fb2f003ada432b6e5 |
| 4167 |
* tests/gpgscm/scheme-private.h (struct scheme): New field |
| 4168 |
'frame_freelist'. |
| 4169 |
* tests/gpgscm/scheme.c (enum scheme_types): New type 'T_FRAME'. |
| 4170 |
(type_to_string): Handle new type. |
| 4171 |
(settype): New macro. |
| 4172 |
(gc_disable): Make sure there is at least one frame in the free list. |
| 4173 |
(mark): Handle frame objects. |
| 4174 |
(finalize_cell): Likewise. |
| 4175 |
(dump_stack_initialize): Initialize free list. |
| 4176 |
(dump_stack_free): Simplify. |
| 4177 |
(frame_length): New variable. |
| 4178 |
(dump_stack_make_frame): New function. |
| 4179 |
(frame_slots): Likewise. |
| 4180 |
(frame_payload): New macro. |
| 4181 |
(dump_stack_allocate_frame): New function. |
| 4182 |
(dump_stack_deallocate_frame): Likewise. |
| 4183 |
(dump_stack_preallocate_frame): Likewise. |
| 4184 |
(_s_return): Unpack frame object and deallocate it. |
| 4185 |
(s_save): Wrap state in an frame object. |
| 4186 |
(dump_stack_mark): Mark the free list. |
| 4187 |
|
| 4188 |
gpgscm: Merge opexe_0. |
| 4189 |
+ commit df499c6ee5edf0a560138640141a3abef360b4f5 |
| 4190 |
* tests/gpgscm/scheme-private.h (struct scheme): Remove field 'op'. |
| 4191 |
* tests/gpgscm/scheme.c (opexe_0): Inline into 'Eval_Cycle'. |
| 4192 |
(_Error_1): Return the opcode to evaluate next. |
| 4193 |
(Error_1): Do not return, but set the opcode and goto dispatch. |
| 4194 |
(Error_0): Likewise. |
| 4195 |
(s_goto): Likewise. |
| 4196 |
(s_return): Likewise. |
| 4197 |
(s_return_enable_gc): Likewise. |
| 4198 |
(s_thread_to): Remove superfluous cast. |
| 4199 |
(_s_return): Return the opcode to evaluate next. |
| 4200 |
(scheme_init_custom_alloc): Adapt to removal of field 'op'. |
| 4201 |
|
| 4202 |
2017-04-24 Justus Winter <[email protected]> |
| 4203 |
|
| 4204 |
gpgscm: Refactor cell finalization. |
| 4205 |
+ commit 36e266a5cbb78560d32bc33f18f9041db1ff5080 |
| 4206 |
* tests/gpgscm/scheme.c (finalize_cell): Use switch, return whether |
| 4207 |
the cell may be freed. |
| 4208 |
(gc): Update callsite. |
| 4209 |
|
| 4210 |
gpgscm: Tweak error message display. |
| 4211 |
+ commit e8c896c7f9aabad6e1387f538accb54ac6b2b1cc |
| 4212 |
* tests/gpgscm/init.scm (throw'): If the first argument to the error |
| 4213 |
is a string, display it as such. |
| 4214 |
|
| 4215 |
gpgscm: Fix test. |
| 4216 |
+ commit b67d1a3f36f2b15fb75de613942668b71cad1bd7 |
| 4217 |
* tests/gpgscm/t-child.scm: Use 'string-length' on the string. |
| 4218 |
|
| 4219 |
gpgscm: Improve syntax checking. |
| 4220 |
+ commit 008894eff46724d60a24879d319b427606fcafd1 |
| 4221 |
* tests/gpgscm/scheme.c (opexe_0): Make sure closure arguments are |
| 4222 |
symbols. |
| 4223 |
|
| 4224 |
gpgscm: Emit JUnit-style XML reports. |
| 4225 |
+ commit 5dc43e579ef4340c668fa7e294f5a69fef9d622e |
| 4226 |
* tests/gpgscm/Makefile.am (EXTRA_DIST): Add new file. |
| 4227 |
* tests/gpgscm/lib.scm (string-translate): New function. |
| 4228 |
* tests/gpgscm/main.c (main): Load new file. |
| 4229 |
* tests/gpgscm/tests.scm (dirname): New function. |
| 4230 |
(test-pool): Record execution times, emit XML report. |
| 4231 |
(test): Record execution times, record log file name, emit XML report. |
| 4232 |
(run-tests-parallel): Write XML report. |
| 4233 |
(run-tests-sequential): Likewise. |
| 4234 |
* tests/gpgscm/xml.scm: New file. |
| 4235 |
* tests/gpgme/Makefile.am (CLEANFILES): Add 'report.xml'. |
| 4236 |
* tests/gpgsm/Makefile.am: Likewise. |
| 4237 |
* tests/migrations/Makefile.am: Likewise. |
| 4238 |
* tests/openpgp/Makefile.am: Likewise. |
| 4239 |
|
| 4240 |
gpgscm: Make logging less verbose and more useful. |
| 4241 |
+ commit a3e51fab6b30774959dc7d4d3409000fdbe1f7b3 |
| 4242 |
* tests/gpgscm/tests.scm (call-with-io): When being verbose, include |
| 4243 |
the pid in the output, and avoid duplicating the command arguments. |
| 4244 |
|
| 4245 |
gpgscm: Make test framework less functional. |
| 4246 |
+ commit aa843dbcd32c65eeac8c7c3cea4efb3ed7a94a0c |
| 4247 |
* tests/gpgscm/tests.scm (test-pool, tests): Previously, these methods |
| 4248 |
updated objects by creating new updated copies of the object being |
| 4249 |
manipulated. This made the code awkward without any benefit, |
| 4250 |
therefore I change it to just update the object. |
| 4251 |
|
| 4252 |
gpgscm: Move 'trace' and 'stringify'. |
| 4253 |
+ commit 763bd518b27d4e125fa3dce64417ae2aca2101d4 |
| 4254 |
* tests/gpgscm/tests.scm (trace, stringify): Move... |
| 4255 |
* tests/gpgscm/lib.scm: ... here. |
| 4256 |
|
| 4257 |
gpgscm: Avoid fruitless garbage collection cycles. |
| 4258 |
+ commit 8bda9387d5be9193fd0f484fd1272367a7422389 |
| 4259 |
* tests/gpgscm/scheme-private.h (CELL_MINRECOVER): New macro. |
| 4260 |
* tests/gpgscm/scheme.c (_get_cell): Move the heuristic to get more |
| 4261 |
cells... |
| 4262 |
(gc): ... here where every caller benefits from the optimization. |
| 4263 |
|
| 4264 |
2017-04-19 NIIBE Yutaka <[email protected]> |
| 4265 |
|
| 4266 |
Minor clean up. |
| 4267 |
+ commit a8d267a7220399f7acf69723fe1d31efd2160319 |
| 4268 |
* src/b64dec.c (_gpgrt_b64dec_proc): Add a comment. |
| 4269 |
* src/estream.c (_gpgrt_fread, _gpgrt_fwrite): Use &&. |
| 4270 |
* src/mkheader.c (xstrdup): Use memcpy as we know length. |
| 4271 |
|
| 4272 |
2017-04-12 NIIBE Yutaka <[email protected]> |
| 4273 |
|
| 4274 |
gpgscm: Fix test program. |
| 4275 |
+ commit e71c0d39d2fb896df85949a61811e3b19fd050d7 |
| 4276 |
* tests/gpgscm/t-child.c (main): Fix for setmode. |
| 4277 |
|
| 4278 |
2017-04-11 Justus Winter <[email protected]> |
| 4279 |
|
| 4280 |
tests: Fix distcheck. |
| 4281 |
+ commit b03bcee96fc4eb950c6ae38fd8b5af831b281f02 |
| 4282 |
* tests/gpgscm/Makefile.am (EXTRA_DIST): Add 'gnupg.scm'. |
| 4283 |
|
| 4284 |
tests: Move common functionality. |
| 4285 |
+ commit d9dd8135ec6e1a4b7a66bc385714b8c1beba3e96 |
| 4286 |
* tests/openpgp/defs.scm (with-home-directory, |
| 4287 |
with-ephemeral-home-directory): Move... |
| 4288 |
* tests/gpgscm/gnupg.scm: ... to this new file. |
| 4289 |
* tests/gpgscm/main.c (main): Load the new file. |
| 4290 |
|
| 4291 |
2017-04-10 Justus Winter <[email protected]> |
| 4292 |
|
| 4293 |
gpgscm: Fix opcode dispatch. |
| 4294 |
+ commit afb7060de5c55976d08e0692fbffd0cc108914a0 |
| 4295 |
* tests/gpgscm/scheme.c (opexe_0): Consider 'op', not 'sc->op'. The |
| 4296 |
former is the opcode we are currently executing. |
| 4297 |
|
| 4298 |
gpgscm: Mmap script files. |
| 4299 |
+ commit ef41f332cba624e9bca6100ebacd4fffe4e61679 |
| 4300 |
* tests/gpgscm/main.c (load): Try to mmap the script. |
| 4301 |
* tests/gpgscm/scheme.c (scheme_load_memory): New function, a |
| 4302 |
generalization of 'scheme_load_string'. |
| 4303 |
* tests/gpgscm/scheme.h (scheme_load_memory): New prototype. |
| 4304 |
|
| 4305 |
gpgscm: Refactor checking for opcode arguments. |
| 4306 |
+ commit 6c9de8ff59a9c637de944706533421dc4cf20708 |
| 4307 |
* tests/gpgscm/scheme.c (op_code_info): Fix type, add forward |
| 4308 |
declaration. |
| 4309 |
(check_arguments): New function. |
| 4310 |
(Eval_cycle): Use the new function. |
| 4311 |
|
| 4312 |
gpgscm: Improve syntax dispatch. |
| 4313 |
+ commit 173531921d133a007d30c32cec00546749d8cfbf |
| 4314 |
* tests/gpgscm/scheme.c (assign_syntax): Add opcode parameter, store |
| 4315 |
opcode in the tag. |
| 4316 |
(syntaxnum): Add sc parameter, retrieve opcode from tag. |
| 4317 |
(opexe_0): Adapt callsite. |
| 4318 |
(scheme_init_custom_alloc): Likewise. |
| 4319 |
|
| 4320 |
gpgscm: Make tags mandatory. |
| 4321 |
+ commit d6c83fbb06abc99de696b3f9a0b1cb962fa05b26 |
| 4322 |
* tests/gpgscm/opdefines.h: Make tags mandatory. |
| 4323 |
* tests/gpgscm/scheme.c: Likewise. |
| 4324 |
* tests/gpgscm/scheme.h: Likewise. |
| 4325 |
|
| 4326 |
gpgscm: Add and use opcode for reversing a list in place. |
| 4327 |
+ commit be78c20cdd93ed295bfee1aef1e9d2e9253b779c |
| 4328 |
* tests/gpgscm/lib.scm (string-split-pln): Use 'reverse!'. |
| 4329 |
(string-rtrim): Likewise. |
| 4330 |
* tests/gpgscm/opdefines.h (reverse!): New opcode. |
| 4331 |
* tests/gpgscm/scheme.c (opexe_0): Handle new opcode. |
| 4332 |
|
| 4333 |
gpgscm: Deduplicate code. |
| 4334 |
+ commit 8a2d1706e5d4b3d33ff349838f0c51631e32a2ce |
| 4335 |
* tests/gpgscm/scheme.c (oblist_add_by_name): Deduplicate. |
| 4336 |
(new_slot_spec_in_env): Likewise. |
| 4337 |
|
| 4338 |
gpgscm: Move dispatch table into rodata. |
| 4339 |
+ commit 5aeeb5af96dce901a8b21613e33baed8b9331692 |
| 4340 |
* tests/gpgscm/opdefines.h: Use 0 instead of NULL. |
| 4341 |
* tests/gpgscm/scheme.c (op_code_info): Use char arrays instead of |
| 4342 |
pointers, make arity parameters smaller. |
| 4343 |
(INF_ARG): Adapt. |
| 4344 |
(_OP_DEF): Likewise. |
| 4345 |
(dispatch_table): Likewise. |
| 4346 |
(procname): Likewise. |
| 4347 |
(Eval_cycle): Likewise. |
| 4348 |
(scheme_init_custom_alloc): Likewise. |
| 4349 |
|
| 4350 |
gpgscm: Use more threaded code. |
| 4351 |
+ commit 49c22bd71892f47835d9e03f3bd3122a1f0b8faa |
| 4352 |
* tests/gpgscm/scheme.c (opexe_0): Use 's_thread_to' instead of |
| 4353 |
's_goto' wherever possible. |
| 4354 |
|
| 4355 |
gpgscm: Remove now obsolete dispatcher function from the opcodes. |
| 4356 |
+ commit 6d99d2f287aa40d8add81ce892026dfe05768fd4 |
| 4357 |
* tests/gpgscm/opdefines.h: Remove now obsolete dispatcher function |
| 4358 |
from the opcodes. |
| 4359 |
* tests/gpgscm/scheme-private.h (_OP_DEF): Adapt. |
| 4360 |
* tests/gpgscm/scheme.c (dispatch_func): Remove type declaration. |
| 4361 |
(op_code_info): Remove 'func'. |
| 4362 |
(_OP_DEF): Adapt. |
| 4363 |
(Eval_Cycle): Always call 'opexe_0'. |
| 4364 |
|
| 4365 |
gpgscm: Merge 'opexe_6'. |
| 4366 |
+ commit c183d8f4c6cdf6b48265f01e4c007895f2626fc5 |
| 4367 |
* tests/gpgscm/scheme.c (opexe_6): Merge into 'opexe_0'. |
| 4368 |
* tests/gpgscm/opdefines.h: Adapt. |
| 4369 |
|
| 4370 |
gpgscm: Merge 'opexe_5'. |
| 4371 |
+ commit 72674f169386d68a6d0fc2ba4bc5a065435802a0 |
| 4372 |
* tests/gpgscm/scheme.c (opexe_5): Merge into 'opexe_0'. |
| 4373 |
* tests/gpgscm/opdefines.h: Adapt. |
| 4374 |
|
| 4375 |
gpgscm: Merge 'opexe_4'. |
| 4376 |
+ commit 5898ead4a99d3bc9e23859daf2cca9632d92f1f7 |
| 4377 |
* tests/gpgscm/scheme.c (opexe_4): Merge into 'opexe_0'. |
| 4378 |
* tests/gpgscm/opdefines.h: Adapt. |
| 4379 |
|
| 4380 |
gpgscm: Merge 'opexe_3'. |
| 4381 |
+ commit b13610ec7bf2bf199eb22f936bc2f2d4ac240fde |
| 4382 |
* tests/gpgscm/scheme.c (opexe_3): Merge into 'opexe_0'. |
| 4383 |
* tests/gpgscm/opdefines.h: Adapt. |
| 4384 |
|
| 4385 |
gpgscm: Merge 'opexe_2'. |
| 4386 |
+ commit 7bc96831c7156fa07cfd55259f309ca4fa676c2e |
| 4387 |
* tests/gpgscm/scheme.c (opexe_2): Merge into 'opexe_0'. |
| 4388 |
* tests/gpgscm/opdefines.h: Adapt. |
| 4389 |
|
| 4390 |
gpgscm: Merge 'opexe_1'. |
| 4391 |
+ commit 19a1be5ac3c9f3e26c453cf2ddc6d88af19e2d43 |
| 4392 |
* tests/gpgscm/scheme.c (opexe_1): Merge into 'opexe_0'. |
| 4393 |
* tests/gpgscm/opdefines.h: Adapt. |
| 4394 |
|
| 4395 |
2017-04-07 Justus Winter <[email protected]> |
| 4396 |
|
| 4397 |
gpgscm: Allocate small integers in the rodata section. |
| 4398 |
+ commit 7cee693e31fa1196161d5fbe7149a176049735ac |
| 4399 |
* tests/gpgscm/Makefile.am (gpgscm_SOURCES): Add new file. |
| 4400 |
* tests/gpgscm/scheme-private.h (struct cell): Move number to the top |
| 4401 |
of the union so that we can initialize it. |
| 4402 |
(struct scheme): Remove 'integer_segment'. |
| 4403 |
* tests/gpgscm/scheme.c (initialize_small_integers): Remove function. |
| 4404 |
(small_integers): New variable. |
| 4405 |
(MAX_SMALL_INTEGER): Compute. |
| 4406 |
(mk_small_integer): Adapt. |
| 4407 |
(mark): Avoid marking objects already marked. This allows us to run |
| 4408 |
the algorithm over objects in the rodata section if they are already |
| 4409 |
marked. |
| 4410 |
(scheme_init_custom_alloc): Remove initialization. |
| 4411 |
(scheme_deinit): Remove deallocation. |
| 4412 |
* tests/gpgscm/small-integers.h: New file. |
| 4413 |
|
| 4414 |
gpgscm: Make global data constant when possible. |
| 4415 |
+ commit 9fc4e6cbe6d5d3f2dd1c61ded15e2ad42f8f9460 |
| 4416 |
* tests/gpgscm/scheme-private.h (struct scheme): Make 'vptr' const. |
| 4417 |
* tests/gpgscm/scheme.c (num_zero): Statically initialize and turn |
| 4418 |
into constant. |
| 4419 |
(num_one): Likewise. |
| 4420 |
(charnames): Change type so that it can be stored in rodata. |
| 4421 |
(is_ascii_name): Adapt slightly. |
| 4422 |
(assign_proc): Make argument const char *. |
| 4423 |
(op_code_info): Make some fields const char *. |
| 4424 |
(tests): Make const. |
| 4425 |
(dispatch_table): Make const. At least it can be made read-only after |
| 4426 |
relocation. |
| 4427 |
(Eval_Cycle): Adapt slightly. |
| 4428 |
(vtbl): Make const. |
| 4429 |
|
| 4430 |
gpgscm: Remove arbitrary limit on number of cell segments. |
| 4431 |
+ commit 961f3b3a3001384d5df1d5a9963c5f67f800cd4d |
| 4432 |
* tests/gpgscm/scheme-private.h (struct scheme): Remove fixed-size |
| 4433 |
arrays for cell segments, replace them with a pointer to the new |
| 4434 |
'struct cell_segment' instead. |
| 4435 |
* tests/gpgscm/scheme.c (struct cell_segment): New definition. |
| 4436 |
(_alloc_cellseg): Allocate the header within the segment, return a |
| 4437 |
pointer to the header. |
| 4438 |
(_dealloc_cellseg): New function. |
| 4439 |
(alloc_cellseg): Insert the segments into a list. |
| 4440 |
(_get_cell): Allocate a new segment if less than a quarter of |
| 4441 |
CELL_SIGSIZE is recovered during garbage collection. |
| 4442 |
(initialize_small_integers): Adapt callsite. |
| 4443 |
(gc): Walk the list of segments. |
| 4444 |
(scheme_init_custom_alloc): Remove initialization of removed field. |
| 4445 |
(scheme_deinit): Adapt deallocation. |
| 4446 |
|
| 4447 |
gpgscm: Fix compact vector encoding. |
| 4448 |
+ commit a493ad44b6a67026aeae08d25575fee8c0f137b4 |
| 4449 |
* tests/gpgscm/scheme-private.h (struct cell): Use uintptr_t for |
| 4450 |
'_flags'. This way, '_flags' has the size of a machine word. |
| 4451 |
|
| 4452 |
2017-04-06 Justus Winter <[email protected]> |
| 4453 |
|
| 4454 |
gpgscm: Avoid mutating integer. |
| 4455 |
+ commit 00de0fd1cebd89330765470bbb6e1e8bf5f3dfc9 |
| 4456 |
* tests/gpgscm/scheme.c (opexe_5): Do not modify the integer in-place |
| 4457 |
while printing an vector. Integer objects may be shared, so they must |
| 4458 |
not be mutated. |
| 4459 |
|
| 4460 |
gpgscm: Initialize unused slots in vectors. |
| 4461 |
+ commit 54ea82c2e7e5700b9644c663142c2d46441a3f4e |
| 4462 |
* tests/gpgscm/scheme.c (get_vector_object): Initialize unused slots |
| 4463 |
at the end of vectors. |
| 4464 |
|
| 4465 |
2017-04-04 Justus Winter <[email protected]> |
| 4466 |
|
| 4467 |
gpgscm: Fix copying values. |
| 4468 |
+ commit 52d0423e48dfe4dd51dc0acbf119431701280a70 |
| 4469 |
* tests/gpgscm/scheme.c (copy_value): New function. |
| 4470 |
(mk_tagged_value): Use new function. |
| 4471 |
(opexe_4): Likewise for OP_SAVE_FORCED. |
| 4472 |
|
| 4473 |
gpgscm: Simplify get-output-string operation. |
| 4474 |
+ commit c9244b2eb43e0f06928b709ac35127966e1d24ce |
| 4475 |
* tests/gpgscm/scheme.c (opexe_4): Simplify 'get-output-string'. |
| 4476 |
|
| 4477 |
gpgscm: Simplify substring operation. |
| 4478 |
+ commit 6900f118303962262923f9d103b802508d5f469f |
| 4479 |
* tests/gpgscm/scheme.c (opexe_2): Simplify 'substring'. |
| 4480 |
|
| 4481 |
2017-04-03 Justus Winter <[email protected]> |
| 4482 |
|
| 4483 |
gpgscm: Slightly improve the procedure dispatch. |
| 4484 |
+ commit 9a4283ed6aafc1e43d8f7a5fd9cef6118615f284 |
| 4485 |
* tests/gpgscm/scheme.c (procnum): Procedures always have an integer |
| 4486 |
number, so we can safely use the cheaper 'ivalue_unchecked'. |
| 4487 |
|
| 4488 |
2017-03-23 Justus Winter <[email protected]> |
| 4489 |
|
| 4490 |
gpgscm: Make test cleanup more robust. |
| 4491 |
+ commit e1780b2f981d3fd48bbf2672b35f2f33152f6c32 |
| 4492 |
* tests/gpgscm/tests.scm (mkdtemp-autoremove): New function that |
| 4493 |
cleans up at interpreter shutdown. |
| 4494 |
(run-tests-parallel): Use the new function. |
| 4495 |
(run-tests-sequential): Likewise. |
| 4496 |
(make-environment-cache): Execute setup with an temporary working |
| 4497 |
directory. |
| 4498 |
|
| 4499 |
2017-03-21 Justus Winter <[email protected]> |
| 4500 |
|
| 4501 |
tests,w32: Use GetTempPath to get the path for temporary files. |
| 4502 |
+ commit 8835ee681f5ae92ded982b51f5808935d227b126 |
| 4503 |
* tests/gpgscm/ffi.c (do_get_temp_path): New function. |
| 4504 |
(ffi_init): Make function available. |
| 4505 |
* tests/gpgscm/tests.scm (mkdtemp): Use the new function. |
| 4506 |
|
| 4507 |
tests: Create temporary directories in '/tmp'. |
| 4508 |
+ commit cfc49428a427d1a140424c687cb45ba00117d443 |
| 4509 |
* tests/gpgscm/tests.scm (mkdtemp): Create temporary directories in |
| 4510 |
'/tmp' on UNIX, or in '%Temp' on Windows. |
| 4511 |
* tests/migrations/common.scm (run-test): Turn error into a warning. |
| 4512 |
* tests/openpgp/defs.scm (start-agent): Likewise. |
| 4513 |
|
| 4514 |
2017-03-17 Justus Winter <[email protected]> |
| 4515 |
|
| 4516 |
gpgscm: Simplify hash tables. |
| 4517 |
+ commit 053a3f9a61a2918131b9dec60149b93861c04a51 |
| 4518 |
* tests/gpgscm/scheme.c (oblist_add_by_name): We now always get a |
| 4519 |
slot. Simplify accordingly. |
| 4520 |
(oblist_find_by_name): Always return the slot. |
| 4521 |
(vector_elem_slot): New function. |
| 4522 |
(new_slot_spec_in_env): We now always get a slot. Remove parameter |
| 4523 |
'env'. Simplify accordingly. |
| 4524 |
(find_slot_spec_in_env): Always return a slot. |
| 4525 |
(new_slot_in_env): Adapt callsite. |
| 4526 |
(opexe_0): Likewise. |
| 4527 |
(opexe_1): Likewise. |
| 4528 |
(scheme_define): Likewise. |
| 4529 |
|
| 4530 |
gpgscm: Remove framework for immediate values. |
| 4531 |
+ commit a1ed4b6ab25f28114d8ba6f704824a456d4fdc0c |
| 4532 |
* tests/gpgscm/scheme.c (IMMEDIATE_TAG): Remove macro. |
| 4533 |
(is_immediate): Likewise. |
| 4534 |
(set_immediate): Likewise. |
| 4535 |
(clr_immediate): Likewise. |
| 4536 |
(enum scheme_types): Set the LSB in every value. |
| 4537 |
(fill_vector): Adapt. |
| 4538 |
(vector_elem): Likewise. |
| 4539 |
(set_vector_elem): Likewise. |
| 4540 |
(mark): Likewise. |
| 4541 |
(gc): Test for the LSB to tell typeflags apart from pointers stored in |
| 4542 |
the same memory location. |
| 4543 |
|
| 4544 |
2017-03-09 Justus Winter <[email protected]> |
| 4545 |
|
| 4546 |
tests: Rework environment setup. |
| 4547 |
+ commit 14fcdcabb25d975f0f91be86b0571694fb533e7a |
| 4548 |
* tests/gpgscm/tests.scm (test::scm): Add a setup argument. |
| 4549 |
(test::binary): Likewise. |
| 4550 |
(run-tests-parallel): Remove setup parameter. |
| 4551 |
(run-tests-sequential): Likewise. |
| 4552 |
(make-environment-cache): New function that handles the cache |
| 4553 |
protocol. |
| 4554 |
* tests/gpgme/run-tests.scm: Adapt accordingly. |
| 4555 |
* tests/gpgsm/run-tests.scm: Likewise. |
| 4556 |
* tests/migrations/run-tests.scm: Likewise. |
| 4557 |
* tests/openpgp/run-tests.scm: Likewise. |
| 4558 |
|
| 4559 |
2017-03-08 Justus Winter <[email protected]> |
| 4560 |
|
| 4561 |
build: Use macOS' compatibility macros to enable all features. |
| 4562 |
+ commit 5e51b642f747547c737a7abbc37e65b0f630d188 |
| 4563 |
* configure.ac: On macOS, use the compatibility macros to expose every |
| 4564 |
feature of the libc. This is the equivalent of _GNU_SOURCE on GNU |
| 4565 |
libc. |
| 4566 |
|
| 4567 |
2017-03-07 Michael Haubenwallner <[email protected]> |
| 4568 |
|
| 4569 |
gpgscm: Use system strlwr if available. |
| 4570 |
+ commit ca3d31ec77612cecc16c376ac7c06ce09541b28e |
| 4571 |
* tests/gpgscm/scheme.c: Define local strlwr only when HAVE_STRLWR is |
| 4572 |
not defined in config.h. |
| 4573 |
* tests/gpgscm/scheme-config.h: Remove hack. |
| 4574 |
|
| 4575 |
2017-03-07 NIIBE Yutaka <[email protected]> |
| 4576 |
|
| 4577 |
More change for common. |
| 4578 |
+ commit d372378d28b2504225aae6819d056330e7ac0674 |
| 4579 |
* g10, scd, test, tools: Follow the change of removal of -Icommon. |
| 4580 |
|
| 4581 |
w32: Conditionalize ISO 2022 definitions. |
| 4582 |
+ commit 1126c4c117a47c8ea8435ac11561d51b13f538dd |
| 4583 |
* src/w32-iconv.c (iso2022_SI_seq, iso2022_SO_seq) [USE_MLANG_DLL]: |
| 4584 |
Only for USE_MLANG_DLL. |
| 4585 |
|
| 4586 |
2017-03-06 Justus Winter <[email protected]> |
| 4587 |
|
| 4588 |
tests: Harmonize temporary and socket directory handling. |
| 4589 |
+ commit 490c5d5afeaae66dc061295afbc254e57abd20c8 |
| 4590 |
* tests/gpgscm/tests.scm (mkdtemp): Do not magically obey the |
| 4591 |
environment variable 'TMP', make sure to always return an absolute |
| 4592 |
path. |
| 4593 |
* tests/gpgme/Makefile.am (TMP): Drop variable. |
| 4594 |
(TESTS_ENVIRONMENT): Drop 'TMP'. |
| 4595 |
* tests/gpgme/gpgme-defs.scm (create-gpgmehome): Start the agent. Do |
| 4596 |
not create private key store, the agent does that for us. |
| 4597 |
* tests/gpgsm/Makefile.am (TMP): Drop variable. |
| 4598 |
(TESTS_ENVIRONMENT): Drop 'TMP'. |
| 4599 |
* tests/gpgme/gpgme-defs.scm (create-gpgsmhome): Start the agent. Do |
| 4600 |
not create private key store, the agent does that for us. |
| 4601 |
* tests/migrations/Makefile.am (TMP): Drop variable. |
| 4602 |
(TESTS_ENVIRONMENT): Drop 'TMP'. |
| 4603 |
* tests/migrations/common.scm (gpgconf): New variable. |
| 4604 |
(run-test): Create and remove socket directory. |
| 4605 |
* tests/migrations/extended-pkf.scm (src-tarball): Remove variable. |
| 4606 |
(setup): Remove function. |
| 4607 |
(trigger-migration): Likewise. |
| 4608 |
Use 'run-test' to execute the test. |
| 4609 |
* tests/migrations/from-classic.scm (src-tarball): Remove variable. |
| 4610 |
(setup): Remove function. |
| 4611 |
Use 'run-test' to execute the tests. |
| 4612 |
* tests/openpgp/Makefile.am (TMP): Drop variable. |
| 4613 |
(TESTS_ENVIRONMENT): Drop 'TMP'. |
| 4614 |
* tests/openpgp/README: Do not mention 'TMP'. |
| 4615 |
* tests/openpgp/defs.scm (with-home-directory): New macro. |
| 4616 |
(create-legacy-gpghome): Do not create private key store, the agent |
| 4617 |
does that for us. |
| 4618 |
(start-agent): Make sure to terminate the right agent with 'atexit'. |
| 4619 |
|
| 4620 |
gpgscm: Fix creation of temporary directories. |
| 4621 |
+ commit 9e29af900544fe4210a72cae87be78186d03e231 |
| 4622 |
* tests/gpgscm/ffi.c (do_mkdtemp): Use a larger buffer for the |
| 4623 |
template. |
| 4624 |
|
| 4625 |
2017-02-28 Justus Winter <[email protected]> |
| 4626 |
|
| 4627 |
gpgscm: Improve parsing. |
| 4628 |
+ commit 9467f3c7758864f3c025c14166c9d099bea6fe62 |
| 4629 |
* tests/gpgscm/scheme.c (port_increment_current_line): Avoid creating |
| 4630 |
the same integer if the delta is zero. This happens a lot during |
| 4631 |
parsing, and puts pressure on the memory allocator. |
| 4632 |
|
| 4633 |
gpgscm: Fix calculating the line number. |
| 4634 |
+ commit 08e1cfddc94a6aae79b21d7795accf3e100a1f2f |
| 4635 |
* tests/gpgscm/scheme.c (opexe_5): Only increment the line number on |
| 4636 |
newlines. |
| 4637 |
|
| 4638 |
2017-02-28 Werner Koch <[email protected]> |
| 4639 |
|
| 4640 |
Release 1.27. |
| 4641 |
+ commit c1668f61c58ea6f0439e5193d83b4e2ac622b286 |
| 4642 |
* configure.ac: Bump LT version to C22/A22/R0. |
| 4643 |
|
| 4644 |
Add support for armv7-unknown-linux-gnueabihf. |
| 4645 |
+ commit 8d45ec8f8f61268a74d9c40b840a8fbd6f805a07 |
| 4646 |
* src/syscfg/lock-obj-pub.arm-unknown-linux-gnueabihf.h: Remove. |
| 4647 |
* src/syscfg/lock-obj-pub.armv5-unknown-linux-musleabi.h: Remove. |
| 4648 |
* src/syscfg/lock-obj-pub.armv6-unknown-linux-musleabihf.h: Remove. |
| 4649 |
* src/Makefile.am (lock_obj_pub): Remove them. |
| 4650 |
* src/mkheader.c (canon_host_triplet): Add removed as aliases. Addn |
| 4651 |
alias for armv7-unknown-linux-gnueabihf. |
| 4652 |
|
| 4653 |
New public header gpgrt.h as alias for gpg-error.h. |
| 4654 |
+ commit 012f1bdc87e9969131c72c5575af0851484a2196 |
| 4655 |
* src/gpg-error.h.in (GPGRT_H): New double include protection. |
| 4656 |
* src/Makefile.am (nodist_include_HEADERS): Add gpgrt.h. |
| 4657 |
(BUILT_SOURCES): Ditto. |
| 4658 |
(CLEANFILES): Ditto. |
| 4659 |
(gpgrt.h): New rule. |
| 4660 |
|
| 4661 |
tests: New option --debug for t-poll. |
| 4662 |
+ commit f141fdee4015d36aec2122853ef55f3ae42197da |
| 4663 |
* tests/t-poll.c (test_poll): Add option. |
| 4664 |
|
| 4665 |
Improve tracing of estream. |
| 4666 |
+ commit f27e516aabd27afeddecfde197eae1fd21a11395 |
| 4667 |
* src/gpgrt-int.h (trace_errno): Add new parameter. Adjust all users. |
| 4668 |
* src/init.c (trace_fp, trace_with_errno, trace_missing_lf) |
| 4669 |
(trace_prefix_done): New vars. |
| 4670 |
(_gpgrt_internal_trace_begin): Add arg WITH_ERRNO. Open a trace file |
| 4671 |
on first use. Init new vars. |
| 4672 |
(print_internal_trace_prefix): New. |
| 4673 |
* src/estream.c, src/w32-estream.c: Improve tracing. |
| 4674 |
|
| 4675 |
2017-02-28 Justus Winter <[email protected]> |
| 4676 |
|
| 4677 |
gpgscm: Track source locations in every kind of ports. |
| 4678 |
+ commit 9b23e71a6b41cd11b39ab1e1d18c140eaf63c3e7 |
| 4679 |
* tests/gpgscm/scheme-private.h (struct port): Move location |
| 4680 |
information out of the union. |
| 4681 |
* tests/gpgscm/scheme.c (mark): All ports need marking now. |
| 4682 |
(gc): Likewise all ports on the load stack. |
| 4683 |
(port_clear_location): Adapt accordingly. Also, add an empty function |
| 4684 |
for !SHOW_ERROR_LINE. |
| 4685 |
(port_increment_current_line): Likewise. |
| 4686 |
(port_reset_current_line): Drop function in favor of... |
| 4687 |
(port_init_location): ... this new function. |
| 4688 |
(file_push): Simplify. |
| 4689 |
(file_pop): Likewise. |
| 4690 |
(port_rep_from_filename): Likewise. |
| 4691 |
(port_rep_from_file): Likewise. |
| 4692 |
(port_rep_from_string): Also initialize the location. |
| 4693 |
(port_rep_from_scratch): Likewise. |
| 4694 |
(port_close): Simplify and generalize. |
| 4695 |
(skipspace): Likewise. |
| 4696 |
(token): Likewise. |
| 4697 |
(_Error_1): Generalize. |
| 4698 |
(opexe_5): Likewise. |
| 4699 |
(scheme_deinit): Simplify and generalize. |
| 4700 |
(scheme_load_named_file): Likewise. |
| 4701 |
(scheme_load_string): Also initialize the location. |
| 4702 |
|
| 4703 |
2017-02-28 Werner Koch <[email protected]> |
| 4704 |
|
| 4705 |
w32: Fix gpgrt_poll for Windows. |
| 4706 |
+ commit 07d5bd918d2185f79c7d61d56ee7f3090b6f5dcd |
| 4707 |
* src/estream.c (_gpgrt_poll) [W32]: Do not call the syscall clamp. |
| 4708 |
|
| 4709 |
2017-02-27 Werner Koch <[email protected]> |
| 4710 |
|
| 4711 |
Use the new tracing ramework for estream. |
| 4712 |
+ commit 84aaa84d41f17d6f5e2bb31930e101568df554e2 |
| 4713 |
* src/estream.c: Add trace calls to some functions. |
| 4714 |
* src/w32-estream.c: Replace existing trace calls by the new |
| 4715 |
framework. |
| 4716 |
|
| 4717 |
Add a tracing framework. |
| 4718 |
+ commit a52f12cc1879d171ddf309b5ac461bab06c8b5e2 |
| 4719 |
* src/init.c (trace_save_errno, trace_arg_module) |
| 4720 |
(trace_arg_file, trace_arg_line): New module vars. |
| 4721 |
(do_internal_trace): New. |
| 4722 |
(_gpgrt_internal_trace_printf): New. |
| 4723 |
(_gpgrt_internal_trace): New. |
| 4724 |
(_gpgrt_internal_trace_errno): New. |
| 4725 |
(_gpgrt_internal_trace_end): New. |
| 4726 |
* src/gpgrt-int.h (trace): New macro. |
| 4727 |
(trace_errno): New macro. |
| 4728 |
(trace_start): New macro. |
| 4729 |
(trace_append): New macro. |
| 4730 |
(trace_finish): New macro. |
| 4731 |
|
| 4732 |
2017-02-26 Werner Koch <[email protected]> |
| 4733 |
|
| 4734 |
Rename internal functions of estream. |
| 4735 |
+ commit be49b02a56e8b405eeb0c07c80eb24e71e841b4a |
| 4736 |
* src/estream.c (_gpgrt_es_init): Rename to _gpgrt_estream_init. |
| 4737 |
(es_fill): Rename to fill_stream. |
| 4738 |
(es_fflush): Rename to flush_stream. |
| 4739 |
(es_deinitialize): Rename to deinit_stream_obj. |
| 4740 |
(es_create): Rename to create_stream |
| 4741 |
(es_read_nbf): Rename to do_read_nbf. |
| 4742 |
(es_read_lbf): Rename to do_read_lbf. |
| 4743 |
(es_read_fbf): Rename to do_read_fbf. |
| 4744 |
(es_peek): Rename to peek_stream. |
| 4745 |
(es_skip): Rename to skip_stream. |
| 4746 |
(es_print): Rename to do_print_stream. |
| 4747 |
|
| 4748 |
2017-02-24 Werner Koch <[email protected]> |
| 4749 |
|
| 4750 |
w32: Do not use the syscall clamps in pollable mode. |
| 4751 |
+ commit 915e1bf2ad1b23239b17843755376344e59a3110 |
| 4752 |
* src/estream.c (estream_cookie_w32): Add flag no_syscall_clamp. |
| 4753 |
(func_w32_create): Add arg no_syscall_clamp. |
| 4754 |
(func_w32_read): Do not call pre/post_syscall_clamp when flag is set. |
| 4755 |
(func_w32_write): Ditto. |
| 4756 |
(func_w32_seek): Ditto. |
| 4757 |
(do_w32open): Set NO_SYSCALL_CLAMP in pollable mode. |
| 4758 |
(es_create) [W32]: Make sure that pollable-mode is unly used with the |
| 4759 |
W32 backend. |
| 4760 |
|
| 4761 |
2017-02-23 Werner Koch <[email protected]> |
| 4762 |
|
| 4763 |
w32: Replace gpgrt locks in w32-streams by native critical sections. |
| 4764 |
+ commit c9e44c92e08187626e878d826cdedf4cd4e931fe |
| 4765 |
* src/w32-estream.c (TRACE_ERR): Also print the error number. This is |
| 4766 |
in particular useful on non-english systems. |
| 4767 |
(reader_context_s, writer_context_s): Replace the gpgrt mutex by a |
| 4768 |
native critical section. Change all calls to gpgrt_lock_ fucntions by |
| 4769 |
the EnterCriticalSection et al. |
| 4770 |
(_gpgrt_w32_poll): Make CODE unsigned which is what WFMO returns. |
| 4771 |
Remove the then useless condition. |
| 4772 |
|
| 4773 |
2017-02-19 Werner Koch <[email protected]> |
| 4774 |
|
| 4775 |
New error code GPG_ERR_INV_NAME. |
| 4776 |
+ commit 3a2ee6df5911728938a2fb56237b08f790841a0c |
| 4777 |
|
| 4778 |
|
| 4779 |
2017-02-17 Justus Winter <[email protected]> |
| 4780 |
|
| 4781 |
gpgscm: Guard use of tagged expressions. |
| 4782 |
+ commit 86082852350810afa548c607241df95f9cac777a |
| 4783 |
* tests/gpgscm/init.scm (vm-history-print): Check that the tag added |
| 4784 |
to expressions when parsing source files matches the expected format. |
| 4785 |
* tests/gpgscm/lib.scm (assert): Likewise. |
| 4786 |
|
| 4787 |
2017-02-15 Justus Winter <[email protected]> |
| 4788 |
|
| 4789 |
tests,build: Fix distcheck. |
| 4790 |
+ commit 52748cd96c70c9da01c35de10dd1627f7897d085 |
| 4791 |
* tests/gpgscm/Makefile.am (EXTRA_DIST): Add 'time.scm'. |
| 4792 |
|
| 4793 |
tests: Check expiration times of created keys. |
| 4794 |
+ commit b2db15dfe894a27246236ed416c8e2c2fc0e73c4 |
| 4795 |
* tests/gpgscm/ffi.c (do_get_time): New function. |
| 4796 |
(ffi_init): Expose new function. |
| 4797 |
* tests/gpgscm/ffi.scm (get-time): Document new function. |
| 4798 |
* tests/gpgscm/time.scm: New file. |
| 4799 |
* tests/openpgp/quick-key-manipulation.scm: Use the new facilities to |
| 4800 |
check the expiration times of created keys. |
| 4801 |
* tests/openpgp/tofu.scm: Use the new module. |
| 4802 |
|
| 4803 |
2017-02-02 NIIBE Yutaka <[email protected]> |
| 4804 |
|
| 4805 |
syscfg: Add a sh3 architecture. |
| 4806 |
+ commit 67e51f9957f875ca854f25f4a9a63aeb831c55c4 |
| 4807 |
* src/syscfg/lock-obj-pub.sh3-unknown-linux-gnu.h: New. |
| 4808 |
* src/Makefile.am (lock_obj_pub): Add it. |
| 4809 |
|
| 4810 |
2017-02-01 NIIBE Yutaka <[email protected]> |
| 4811 |
|
| 4812 |
Add Base64 decoder. |
| 4813 |
+ commit 4bfc2117b70415a5c5d3f0a0ac9086e168350d83 |
| 4814 |
* NEWS: Add interface changes. |
| 4815 |
* src/Makefile.am (libgpg_error_la_SOURCES): Add b64dec.c. |
| 4816 |
* src/b64dec.c: New. Taken from gpgme. Prefix function names with |
| 4817 |
_gpgrt_. Change API a bit, not exposing the structure. |
| 4818 |
* src/gpg-error.def.in: Export Base64 functions. |
| 4819 |
* src/gpg-error.vers: Likewise. |
| 4820 |
* src/visibility.c, src/visibility.h: Likewise. |
| 4821 |
* src/gpg-error.h.in: Add Base64 struct and functions. |
| 4822 |
* src/gpgrt-int.h: Add Base64 internal functions. |
| 4823 |
* tests/Makefile.am (TESTS): Add t-b64dec. |
| 4824 |
* tests/t-b64dec.c: New. |
| 4825 |
|
| 4826 |
2017-01-31 Justus Winter <[email protected]> |
| 4827 |
|
| 4828 |
gpgscm: Tune the hash tables. |
| 4829 |
+ commit 1c99db04ed62d395c1c88171ef147a580e0bb4ab |
| 4830 |
* tests/gpgscm/scheme.c (oblist_initial_value): Increase the size of |
| 4831 |
the hash table based on the number of symbols used after initializing |
| 4832 |
the interpreter. |
| 4833 |
(new_frame_in_env): Increase the size of the hash table based on the |
| 4834 |
number of variables in the global environement. |
| 4835 |
|
| 4836 |
gpgscm: Optimize environment lookups and insertions. |
| 4837 |
+ commit fa2363d9d903dfc9885f7d2f290fb4d7738bb737 |
| 4838 |
* tests/gpgscm/scheme.c (pointercmp): New function. |
| 4839 |
(new_slot_spec_in_env): Add and use slot for insertions. |
| 4840 |
(find_slot_spec_in_env): New variant of 'find_slot_in_env' that |
| 4841 |
returns the slot on failures. |
| 4842 |
(find_slot_in_env): Express using the new function. |
| 4843 |
(new_slot_in_env): Update callsite. |
| 4844 |
(opexe_0): Optimize lookup-or-insert. |
| 4845 |
(opexe_1): Likewise. |
| 4846 |
(scheme_define): Likewise. |
| 4847 |
|
| 4848 |
gpgscm: Fix build with list environments. |
| 4849 |
+ commit e982432ba66652bc9bc16e334e1d4d184e1b68bd |
| 4850 |
* tests/gpgscm/scheme.c (new_slot_spec_in_env): Provide preallocation |
| 4851 |
inforomation if USE_ALIST_ENV. |
| 4852 |
|
| 4853 |
gpgscm: Optimize symbol lookups and insertions. |
| 4854 |
+ commit d374a1271326e503bd7cabe11cf5fd10a970d9fc |
| 4855 |
* tests/gpgscm/scheme.c (oblist_find_by_name): Keep the list of |
| 4856 |
symbols sorted, return the slot where a new symbol must be inserted on |
| 4857 |
lookup failures. |
| 4858 |
(oblist_add_by_name): Add the new symbol at the given slot. |
| 4859 |
(mk_symbol): Adjust callsite. |
| 4860 |
(gensym): Likewise. |
| 4861 |
(assign_syntax): Likewise. |
| 4862 |
|
| 4863 |
gpgscm: Fix build with object list. |
| 4864 |
+ commit 85f6f60197fe56c90b663fb34db4cddf62c28c1b |
| 4865 |
* tests/gpgscm/scheme.c (oblist_add_by_name): Provide preallocation |
| 4866 |
information if USE_OBJECT_LIST. |
| 4867 |
|
| 4868 |
gpgscm: Remove unused functions. |
| 4869 |
+ commit 92e929d4b91cbb5e36d6cb89aabf2211a7185a65 |
| 4870 |
* tests/gpgscm/scheme.c (check_cell_alloced): Remove function. |
| 4871 |
(check_range_alloced): Likewise. |
| 4872 |
|
| 4873 |
2017-01-30 Justus Winter <[email protected]> |
| 4874 |
|
| 4875 |
gpgscm: Use a compact vector representation. |
| 4876 |
+ commit 5809edef40acf1f8f0e71b69dcb10e1d5464f2a5 |
| 4877 |
* tests/gpgscm/scheme-private.h (struct cell): Add a compact vector |
| 4878 |
representation. |
| 4879 |
* tests/gpgscm/scheme.c (vector_length): Use new representation. |
| 4880 |
(vector_size): New macro. |
| 4881 |
(get_vector_object): Use the new representation. |
| 4882 |
(fill_vector): Likewise. |
| 4883 |
(vector_elem): Likewise. |
| 4884 |
(set_vector_elem): Likewise. |
| 4885 |
(mark): Likewise. |
| 4886 |
(gc): Likewise. Be careful not to confuse immediate values for type |
| 4887 |
flags. |
| 4888 |
(finalize_cell): Vectors now require finalization. |
| 4889 |
|
| 4890 |
gpgscm: Provide framework for immediate values. |
| 4891 |
+ commit e1dc204ac465498436f463d419b9583011026807 |
| 4892 |
* tests/gpgscm/scheme.c (IMMEDIATE_TAG): New macro. |
| 4893 |
({is,set,clr}_immediate): Likewise. |
| 4894 |
(enum scheme_types): Make type tags disjoint from immediate values. |
| 4895 |
(TYPE_BITS): We need one more bit now. |
| 4896 |
(ADJ,T_MASKTYPE): Compute values. |
| 4897 |
|
| 4898 |
gpgscm: Fix setting the line of the first gc reservation. |
| 4899 |
+ commit c587e6a038fc532df064eec7bea2ad1db31238ad |
| 4900 |
* tests/gpgscm/scheme.c (_gc_disable): Negate guard. |
| 4901 |
|
| 4902 |
gpgscm: Introduce macro for the vector length. |
| 4903 |
+ commit e2caaa957b56f20cfe09bc6ca5a595b37a860b51 |
| 4904 |
* tests/gpgscm/scheme.c (vector_length): New macro. |
| 4905 |
(get_vector_object): Use the new macro. |
| 4906 |
(oblist_add_by_name): Likewise. |
| 4907 |
(oblist_find_by_name): Likewise. |
| 4908 |
(oblist_all_symbols): Likewise. |
| 4909 |
(mk_vector): Likewise. |
| 4910 |
(mark): Likewise. |
| 4911 |
(new_slot_spec_in_env): Likewise. |
| 4912 |
(find_slot_spec_in_env): Likewise. |
| 4913 |
(opexe_2): Likewise. |
| 4914 |
(opexe_5): Likewise. |
| 4915 |
|
| 4916 |
2017-01-19 Werner Koch <[email protected]> |
| 4917 |
|
| 4918 |
estream: Correctly set ERRNO to EOPNOTSUPP. |
| 4919 |
+ commit 55c497904dd0794ca5cfcafe369943736b0d4e62 |
| 4920 |
* src/estream.c (es_flush, es_write_nbf): Fix setting of ERRNO to |
| 4921 |
EOPNOTSUPP. |
| 4922 |
|
| 4923 |
2017-01-17 Werner Koch <[email protected]> |
| 4924 |
|
| 4925 |
build: Modernize autogen.sh. |
| 4926 |
+ commit 66275ac5b8db9d83a72b5497eec4e6d9ac3b4e65 |
| 4927 |
* autogen.sh: Update from GnuPG. |
| 4928 |
* autogen.rc (version_parts): New. |
| 4929 |
* configure.ac: Change to use autogen.sh --find-version helper. |
| 4930 |
* Makefile.am (dist-hook): Do not create VERSION |
| 4931 |
(EXTRA_DIST): Add VERSION. |
| 4932 |
|
| 4933 |
2017-01-10 Daniel Kahn Gillmor <[email protected]> |
| 4934 |
|
| 4935 |
doc,configure: Be consistent about preferring --with-libgpg-error-prefix |
| 4936 |
+ commit 19de4cef279272d3969e36dd8cd2fa05a7bf5276 |
| 4937 |
* doc/gpgrt.texi: Say "--with-libgpg-error-prefix" instead of |
| 4938 |
"--with-gpg-error-prefix". |
| 4939 |
* src/gpg-error.m4: When warning about library locations, warn with |
| 4940 |
the preferred "--with-libgpg-error-prefix" name. |
| 4941 |
|
| 4942 |
2017-01-03 Werner Koch <[email protected]> |
| 4943 |
|
| 4944 |
Fix macro GPGRT_GCC_VERSION. |
| 4945 |
+ commit 704c31992e8716bbe61e6d5751e125a64badeef0 |
| 4946 |
* src/gpg-error.h.in (GPGRT_GCC_VERSION): Fix. |
| 4947 |
|
| 4948 |
2017-01-02 Justus Winter <[email protected]> |
| 4949 |
|
| 4950 |
gpgscm: Fail if too many arguments are given. |
| 4951 |
+ commit 56787d898a6911e62b35c3054a22df1a913c26cf |
| 4952 |
* tests/gpgscm/scheme.c (opexe_0): Enable check. |
| 4953 |
* tests/gpgscm/tests.scm (test::report): Remove superfluous argument. |
| 4954 |
|
| 4955 |
gpgscm: Add 'finally', rework all macros. |
| 4956 |
+ commit 7d95db002aac773e596c551b8fcba2d983244495 |
| 4957 |
* tests/gpgscm/init.scm (finally): New macro. |
| 4958 |
* tests/gpgscm/tests.scm (letfd): Rewrite. |
| 4959 |
(with-working-directory): Likewise. |
| 4960 |
(with-temporary-working-directory): Likewise. |
| 4961 |
(lettmp): Likewise. |
| 4962 |
|
| 4963 |
gpgscm: Use boxed values for source locations. |
| 4964 |
+ commit 4165c9303d894179c0da3a1b12316d3df8d4ce82 |
| 4965 |
* tests/gpgscm/scheme-private.h (struct port): Use boxed values for |
| 4966 |
filename and current line. This allows us to use the same Scheme |
| 4967 |
object for labeling all expressions in a file. |
| 4968 |
* tests/gpgscm/scheme.c (file_push): Use boxed type for filename. |
| 4969 |
(mark): Mark location objects of port objects. |
| 4970 |
(gc): Mark location objects in the load stack. |
| 4971 |
(port_clear_location): New function. |
| 4972 |
(port_reset_current_line): Likewise. |
| 4973 |
(port_increment_current_line): Likewise. |
| 4974 |
(file_pop): Adapt accordingly. |
| 4975 |
(port_rep_from_filename): Likewise. |
| 4976 |
(port_rep_from_file): Likewise. |
| 4977 |
(port_close): Likewise. |
| 4978 |
(skipspace): Likewise. |
| 4979 |
(token): Likewise. |
| 4980 |
(_Error_1): Likewise. |
| 4981 |
(opexe_0): Likewise. |
| 4982 |
(opexe_5): Likewise. |
| 4983 |
(scheme_deinit): Likewise. |
| 4984 |
(scheme_load_file): Likewise. |
| 4985 |
(scheme_load_named_file): Likewise. |
| 4986 |
|
| 4987 |
2016-12-21 Justus Winter <[email protected]> |
| 4988 |
|
| 4989 |
gpgscm: Guard use of union member. |
| 4990 |
+ commit aa6b3449bf1b42703b4c6466d87f91620743a5d2 |
| 4991 |
* tests/gpgscm/scheme.c (opexe_5): Check that we have a file port |
| 4992 |
before accessing filename. Fixes a crash on 32-bit architectures. |
| 4993 |
|
| 4994 |
2016-12-21 Werner Koch <[email protected]> |
| 4995 |
|
| 4996 |
Release 1.26. |
| 4997 |
+ commit 82266defa39901ec9f97533623af5638a35e5a77 |
| 4998 |
* configure.ac: Bump LT version to C21/A21/R0. |
| 4999 |
|
| 5000 |
2016-12-20 Justus Winter <[email protected]> |
| 5001 |
|
| 5002 |
tests: Move argument parser. |
| 5003 |
+ commit 5f16dec938ac6e337c6ff72981285385d75ec455 |
| 5004 |
* tests/gpgme/gpgme-defs.scm (flag): Move... |
| 5005 |
* tests/gpgscm/tests.scm: ... over here. |
| 5006 |
|
| 5007 |
2016-12-19 Justus Winter <[email protected]> |
| 5008 |
|
| 5009 |
gpgscm: Change associativity of ::. |
| 5010 |
+ commit 3ae0b5d9af063e7af03558be2bf8f32e5bb4e5cd |
| 5011 |
* tests/gpgscm/scheme.c (mk_atom): Change associativity of the :: |
| 5012 |
infix-operator. This makes it possible to naturally express accessing |
| 5013 |
nested structures (e.g. a::b::c). |
| 5014 |
|
| 5015 |
gpgscm: Display location when assertions fail. |
| 5016 |
+ commit b852ac097f3dfe4e62c3d27e18a22f1b9f704530 |
| 5017 |
* tests/gpgscm/lib.scm (assert): Use location information if |
| 5018 |
available. |
| 5019 |
|
| 5020 |
gpgscm: Make exception handling more robust. |
| 5021 |
+ commit 5221e0b2a3bd2dbb4f997e3c2118b176e10e116e |
| 5022 |
* tests/gpgscm/init.scm (throw'): Check that args is a list. |
| 5023 |
|
| 5024 |
2016-12-13 Justus Winter <[email protected]> |
| 5025 |
|
| 5026 |
gpgscm: Print failed and skipped tests. |
| 5027 |
+ commit e8c5871609dd3ff3b2aa3d21ab5c3651ba683ed7 |
| 5028 |
* tests/gpgscm/tests.scm (test-pool::report): Print failed and skipped |
| 5029 |
tests at the end. |
| 5030 |
|
| 5031 |
gpgscm: Generalize the test runner. |
| 5032 |
+ commit b1e67a725d17ff1605ba79d8bb61f37c4a48f0a5 |
| 5033 |
* tests/gpgscm/tests.scm (test::scm) Add explicit name argument. |
| 5034 |
(test::binary): Likewise. Also, add missing unquote. |
| 5035 |
* tests/openpgp/run-tests.scm: Adapt accordingly. |
| 5036 |
|
| 5037 |
gpgscm: Move the test runner to the Scheme library. |
| 5038 |
+ commit 0031a4d4d8a1851f0c32ad1af2f42f59bd016001 |
| 5039 |
* tests/openpgp/run-tests.scm: Move most of the code... |
| 5040 |
* tests/gpgscm/tests.scm: ... here. |
| 5041 |
|
| 5042 |
gpgscm: Improve library functions. |
| 5043 |
+ commit f745dcab2b1789c8f64c2be4b5dcc7322212e1d2 |
| 5044 |
* tests/gpgscm/tests.scm (absolute-path?): New function. |
| 5045 |
(canonical-path): Use the new function. |
| 5046 |
* tests/gpgscm/lib.scm (string-split-pln): New function. |
| 5047 |
(string-indexp, string-splitp): Likewise. |
| 5048 |
(string-splitn): Express using the above function. |
| 5049 |
(string-ltrim, string-rtrim): Fix corner case. |
| 5050 |
(list->string-reversed): New function. |
| 5051 |
(read-line): Fix performance. |
| 5052 |
|
| 5053 |
2016-12-13 Werner Koch <[email protected]> |
| 5054 |
|
| 5055 |
New error code GPG_ERR_TRY_LATER. |
| 5056 |
+ commit f02a657f0129b30700b2f36956ee37b40cc2da82 |
| 5057 |
|
| 5058 |
|
| 5059 |
2016-12-12 Werner Koch <[email protected]> |
| 5060 |
|
| 5061 |
New error code GPG_ERR_DNS_TIMEOUT. |
| 5062 |
+ commit 90b4dfad438900c7808b8c2995ba984fa3587bb2 |
| 5063 |
|
| 5064 |
|
| 5065 |
New error codes to support libdns. |
| 5066 |
+ commit 56ab574c28586fccd95a08acdc9ee4962ab0db50 |
| 5067 |
|
| 5068 |
|
| 5069 |
2016-12-08 Justus Winter <[email protected]> |
| 5070 |
|
| 5071 |
gpgscm: Better error reporting. |
| 5072 |
+ commit 735c66bd2d5672de8cc7573fe9d6af4615b86fe2 |
| 5073 |
* tests/gpgscm/ffi.scm: Move the customized exception handling and |
| 5074 |
atexit logic... |
| 5075 |
* tests/gpgscm/init.scm: ... here. |
| 5076 |
(throw): Record the current history. |
| 5077 |
(throw'): New function that is history-aware. |
| 5078 |
(rethrow): New function. |
| 5079 |
(*error-hook*): Use the new throw'. |
| 5080 |
* tests/gpgscm/main.c (load): Fix error handling. |
| 5081 |
(main): Save and use the 'sc->retcode' as exit code. |
| 5082 |
* tests/gpgscm/repl.scm (repl): Print call history. |
| 5083 |
* tests/gpgscm/scheme.c (_Error_1): Make a snapshot of the history, |
| 5084 |
use it to provide a accurate location of the expression causing the |
| 5085 |
error at runtime, and hand the history trace to the '*error-hook*'. |
| 5086 |
(opexe_5): Tag all lists at parse time with the current location. |
| 5087 |
* tests/gpgscm/tests.scm: Update calls to 'throw', use 'rethrow'. |
| 5088 |
|
| 5089 |
gpgscm: Keep a history of calls for error messages. |
| 5090 |
+ commit 81c95b26e769a1ed4933fdf598a3df42d0416928 |
| 5091 |
* tests/gpgscm/init.scm (vm-history-print): New function. |
| 5092 |
* tests/gpgscm/opdefines.h: New opcodes 'CALLSTACK_POP', 'APPLY_CODE', |
| 5093 |
and 'VM_HISTORY'. |
| 5094 |
* tests/gpgscm/scheme-private.h (struct history): New definition. |
| 5095 |
(struct scheme): New field 'history'. |
| 5096 |
* tests/gpgscm/scheme.c (gc): Mark objects in the history. |
| 5097 |
(history_free): New function. |
| 5098 |
(history_init): Likewise. |
| 5099 |
(history_mark): Likewise. |
| 5100 |
(add_mod): New macro. |
| 5101 |
(sub_mod): Likewise. |
| 5102 |
(tailstack_clear): New function. |
| 5103 |
(callstack_pop): Likewise. |
| 5104 |
(callstack_push): Likewise. |
| 5105 |
(tailstack_push): Likewise. |
| 5106 |
(tailstack_flatten): Likewise. |
| 5107 |
(callstack_flatten): Likewise. |
| 5108 |
(history_flatten): Likewise. |
| 5109 |
(opexe_0): New variable 'callsite', keep track of the expression if it |
| 5110 |
is a call, implement the new opcodes, record function applications in |
| 5111 |
the history. |
| 5112 |
(opexe_6): Implement new opcode. |
| 5113 |
(scheme_init_custom_alloc): Initialize history. |
| 5114 |
(scheme_deinit): Free history. |
| 5115 |
* tests/gpgscm/scheme.h (USE_HISTORY): New macro. |
| 5116 |
|
| 5117 |
gpgscm: Add flag TAIL_CONTEXT. |
| 5118 |
+ commit 83175b317dccceb149906cda721aa33178797f3e |
| 5119 |
* tests/gpgscm/scheme.c (S_FLAG_TAIL_CONTEXT): New macro. This flag |
| 5120 |
indicates that the interpreter is evaluating an expression in a tail |
| 5121 |
context (see R5RS, section 3.5). |
| 5122 |
(opexe_0): Clear and set the flag according to the rules layed out in |
| 5123 |
R5RS, section 3.5. |
| 5124 |
(opexe_1): Likewise. |
| 5125 |
|
| 5126 |
gpgscm: Add flags to the interpreter. |
| 5127 |
+ commit 14d9ea4bd43e077fab4c756b513557cad76aacd2 |
| 5128 |
* tests/gpgscm/scheme-private.h (struct scheme): Add field 'flags'. |
| 5129 |
* tests/gpgscm/scheme.c (S_OP_MASK): New macro. |
| 5130 |
(S_FLAG_MASK, s_set_flag, s_clear_flag, s_get_flag): Likewise. |
| 5131 |
(_s_return): Unpack the encoded opcode and flags. |
| 5132 |
(s_save): Encode the flags along with the opcode. Use normal |
| 5133 |
integers to encode the result. |
| 5134 |
(scheme_init_custom_alloc): Initialize 'op' and 'flags'. |
| 5135 |
|
| 5136 |
gpgscm: Implement tags. |
| 5137 |
+ commit 88753eea0d9b1ea40a46f3b3969d418ba75cccf9 |
| 5138 |
* tests/gpgscm/opdefines.h: Add opcodes to create and retrieve tags. |
| 5139 |
* tests/gpgscm/scheme.c (T_TAGGED): New macro. |
| 5140 |
(mk_tagged_value): New function. |
| 5141 |
(has_tag): Likewise. |
| 5142 |
(get_tag): Likewise. |
| 5143 |
(mark): Mark tag. |
| 5144 |
(opexe_4): Implement new opcodes. |
| 5145 |
* tests/gpgscm/scheme.h (USE_TAGS): New macro. |
| 5146 |
|
| 5147 |
gpgscm: Generalize 'for-each-p'. |
| 5148 |
+ commit 94e8811cb2fd0cb56b330a811d13075d54681e38 |
| 5149 |
* tests/gpgscm/tests.scm (for-each-p): Generalize to N lists like |
| 5150 |
for-each. |
| 5151 |
(for-each-p'): Likewise. |
| 5152 |
|
| 5153 |
2016-12-06 Justus Winter <[email protected]> |
| 5154 |
|
| 5155 |
tests: Rename 'error' to 'fail'. |
| 5156 |
+ commit 85613efd8d49b39c1310d84484cb1647db83b4d5 |
| 5157 |
* tests/gpgscm/tests.scm (error): Rename to 'fail'. 'error' is a |
| 5158 |
primitive function (an opcode) of the TinySCHEME vm, and 'error' is |
| 5159 |
also defined by R6RS. Better avoid redefining that. Fix all call |
| 5160 |
sites. |
| 5161 |
* tests/openpgp/4gb-packet.scm: Adapt. |
| 5162 |
* tests/openpgp/decrypt-multifile.scm: Likewise. |
| 5163 |
* tests/openpgp/ecc.scm: Likewise. |
| 5164 |
* tests/openpgp/export.scm: Likewise. |
| 5165 |
* tests/openpgp/gpgtar.scm: Likewise. |
| 5166 |
* tests/openpgp/gpgv-forged-keyring.scm: Likewise. |
| 5167 |
* tests/openpgp/import.scm: Likewise. |
| 5168 |
* tests/openpgp/issue2015.scm: Likewise. |
| 5169 |
* tests/openpgp/issue2346.scm: Likewise. |
| 5170 |
* tests/openpgp/issue2419.scm: Likewise. |
| 5171 |
* tests/openpgp/key-selection.scm: Likewise. |
| 5172 |
* tests/openpgp/mds.scm: Likewise. |
| 5173 |
* tests/openpgp/multisig.scm: Likewise. |
| 5174 |
* tests/openpgp/setup.scm: Likewise. |
| 5175 |
* tests/openpgp/signencrypt.scm: Likewise. |
| 5176 |
* tests/openpgp/ssh-import.scm: Likewise. |
| 5177 |
* tests/openpgp/tofu.scm: Likewise. |
| 5178 |
* tests/openpgp/verify.scm: Likewise. |
| 5179 |
|
| 5180 |
2016-12-06 Neal H. Walfield <[email protected]> |
| 5181 |
|
| 5182 |
tests: Change (interactive-shell) to start an interactive shell. |
| 5183 |
+ commit 0d27b63f35c1e3a36631874fd111d3df2a1d51db |
| 5184 |
* tests/gpgscm/tests.scm (interactive-shell): Start an interactive |
| 5185 |
shell. |
| 5186 |
|
| 5187 |
2016-12-02 Werner Koch <[email protected]> |
| 5188 |
|
| 5189 |
Fix NULL segv in new option --desc. |
| 5190 |
+ commit 140a19617c78d5f0e2ac8d7e2c8e7092862ec2fb |
| 5191 |
* src/gpg-error.c (print_desc): Shortcur for unknown symbols. |
| 5192 |
|
| 5193 |
New error code GPG_ERR_INV_FLAG. |
| 5194 |
+ commit c761c981b38741421d13bb7102b1ea7625d2d639 |
| 5195 |
|
| 5196 |
|
| 5197 |
New option --desc for gpg-error. |
| 5198 |
+ commit b462d603f5110842489edce9e01e4ea40ac05cba |
| 5199 |
* doc/errorref.txt: Remove all tabs. |
| 5200 |
* doc/Makefile.am (install-data-local): New to install errorref.txt. |
| 5201 |
(uninstall-local): New. |
| 5202 |
(errorref.txt.x): New. |
| 5203 |
* src/Makefile.am (gpg_error_CPPFLAGS): Define PKGDATADIR |
| 5204 |
* src/gpg-error.c (print_desc): New. |
| 5205 |
(show_usage): New. |
| 5206 |
(main): Improve option parser. Add new option --desc. Call |
| 5207 |
print_desc. |
| 5208 |
|
| 5209 |
2016-11-29 Justus Winter <[email protected]> |
| 5210 |
|
| 5211 |
gpgscm: Avoid truncating pointers. |
| 5212 |
+ commit 941c0efdf826717aae88ea448ec60801f74bb476 |
| 5213 |
* tests/gpgscm/scheme.c (_alloc_cellseg): Avoid truncating pointers on |
| 5214 |
systems where sizeof(unsigned long) < sizeof(void *). |
| 5215 |
|
| 5216 |
2016-11-23 Justus Winter <[email protected]> |
| 5217 |
|
| 5218 |
gpgscm: Make 'reverse' compatible with 'reverse_in_place'. |
| 5219 |
+ commit 7f7869357cae0f75c5976ece12a1d94a659b904a |
| 5220 |
* tests/gpgscm/scheme.c (reverse): Update prototype, add terminator |
| 5221 |
argument. |
| 5222 |
(opexe_4): Update callsite. |
| 5223 |
|
| 5224 |
gpgscm: Clean sweeped cells. |
| 5225 |
+ commit a078d448415c74ee5169d548a901d27380d933f3 |
| 5226 |
* tests/gpgscm/scheme.c (gc): Zero typeflag and car of free cells. |
| 5227 |
|
| 5228 |
gpgscm: Fix initialization of 'sink'. |
| 5229 |
+ commit 95db0d64ac0ccab6cf0e6d6ec25251ccb0fab9d3 |
| 5230 |
* tests/gpgscm/scheme.c (scheme_init_custom_alloc): Also initialize |
| 5231 |
cdr. |
| 5232 |
|
| 5233 |
2016-11-22 Justus Winter <[email protected]> |
| 5234 |
|
| 5235 |
gpgscm: Refactor. |
| 5236 |
+ commit b18458f3dfd53627994783d0f2ad835ae70a05af |
| 5237 |
* tests/gpgscm/scheme.c (opexe_0): Reduce code duplication. |
| 5238 |
|
| 5239 |
gpgscm: Fix property lists. |
| 5240 |
+ commit 08f16887de9d6f6dcb0b7a377407dbd4f541fe13 |
| 5241 |
* tests/gpgscm/opdefines.h (put, get): Check arguments. Also rename |
| 5242 |
to 'set-symbol-property' and 'symbol-property', the names used by |
| 5243 |
Guile, because put and get are too unspecific. |
| 5244 |
* tests/gpgscm/scheme.c (hasprop): Only symbols have property lists. |
| 5245 |
(get_property): New function. |
| 5246 |
(set_property): Likewise. |
| 5247 |
(opexe_4): Use the new functions. |
| 5248 |
|
| 5249 |
gpgscm: Fix installation of error handler. |
| 5250 |
+ commit 185ba177abeaf2f8ad66529a42966362107a2d8b |
| 5251 |
* tests/gpgscm/ffi.scm: Set '*error-hook*' again so that the |
| 5252 |
interpreter will use our function. |
| 5253 |
|
| 5254 |
gpgscm: Use a static pool of cells for small integers. |
| 5255 |
+ commit eca7b9bbee2986157ec6c078c998bd8a25becd8f |
| 5256 |
* tests/gpgscm/scheme-private.h (struct scheme): New fields for the |
| 5257 |
static integer cells. |
| 5258 |
* tests/gpgscm/scheme.c (_alloc_cellseg): New function. |
| 5259 |
(alloc_cellseg): Use the new function. |
| 5260 |
(MAX_SMALL_INTEGER): New macro. |
| 5261 |
(initialize_small_integers): New function. |
| 5262 |
(mk_small_integer): Likewise. |
| 5263 |
(mk_integer): Return a small integer if possible. |
| 5264 |
(_s_return): Do not free 'op' if it is a small integer. |
| 5265 |
(s_save): Use a small integer to box the opcode. |
| 5266 |
(scheme_init_custom_alloc): Initialize small integers. |
| 5267 |
(scheme_deinit): Free chunk of small integers. |
| 5268 |
* tests/gpgscm/scheme.h (USE_SMALL_INTEGERS): New macro. |
| 5269 |
|
| 5270 |
2016-11-17 Justus Winter <[email protected]> |
| 5271 |
|
| 5272 |
gpgscm: Re-enable the garbage collector in case of errors. |
| 5273 |
+ commit d2a75dc5ae2b172a232dad88639b15b4930b9151 |
| 5274 |
* tests/gpgscm/scheme.c (opexe_0): Enable gc before calling 'Error_1'. |
| 5275 |
|
| 5276 |
gpgscm: Fix string. |
| 5277 |
+ commit 63cad2c16fdd343be89b576901c8f34de7cb74bf |
| 5278 |
* tests/gpgscm/scheme.c (type_to_string): Fix string. |
| 5279 |
|
| 5280 |
2016-11-17 NIIBE Yutaka <[email protected]> |
| 5281 |
|
| 5282 |
Fix EXEEXT for lock obj creation. |
| 5283 |
+ commit eeef6b8724b43e105ae2beef022fc957eb228bcf |
| 5284 |
* src/Makefile.am (lock-obj-pub.native.h): Add EXEEXT for |
| 5285 |
the executable gen-posix-lock-obj. |
| 5286 |
|
| 5287 |
2016-11-15 Justus Winter <[email protected]> |
| 5288 |
|
| 5289 |
gpgscm: Mark cells requiring finalization. |
| 5290 |
+ commit ad10069af6b0d247f27b7dbf891029eb34d264e0 |
| 5291 |
* tests/gpgscm/scheme.c (T_FINALIZE): New macro. |
| 5292 |
(mk_port): Use the new macro. |
| 5293 |
(mk_foreign_object): Likewise. |
| 5294 |
(mk_counted_string): Likewise. |
| 5295 |
(mk_empty_string): Likewise. |
| 5296 |
(gc): Only call 'finalize_cell' for cells with the new flag. |
| 5297 |
|
| 5298 |
gpgscm: Recover more cells. |
| 5299 |
+ commit dd6bd1bf2a767e22bb7c1bd470ce94527a9fae3d |
| 5300 |
* tests/gpgscm/scheme.c (_s_return): Recover the cell holding the |
| 5301 |
opcode. |
| 5302 |
|
| 5303 |
2016-11-14 Werner Koch <[email protected]> |
| 5304 |
|
| 5305 |
Release 1.25. |
| 5306 |
+ commit 6d834f817fdb741ec64dcfbd2166ea044e4e0c3d |
| 5307 |
* configure.ac: Set LT version to C20/A20/R0. |
| 5308 |
|
| 5309 |
po: Update German translation. |
| 5310 |
+ commit 9cecc8ccded0759d94b08c9859e7ea843430dd97 |
| 5311 |
|
| 5312 |
|
| 5313 |
Fix typo in two new error descriptions. |
| 5314 |
+ commit 80350f97e9e811b9e77b59b8fc4172043f072f42 |
| 5315 |
|
| 5316 |
|
| 5317 |
2016-11-14 Justus Winter <[email protected]> |
| 5318 |
|
| 5319 |
gpgscm: Avoid cell allocation overhead. |
| 5320 |
+ commit dc1d3a79fa3e7944ea6ef02bc968446f9aa6d648 |
| 5321 |
* tests/gpgscm/scheme-private.h (struct scheme): New fields |
| 5322 |
'inhibit_gc', 'reserved_cells', and 'reserved_lineno'. |
| 5323 |
* tests/gpgscm/scheme.c (GC_ENABLED): New macro. |
| 5324 |
(USE_GC_LOCKING): Likewise. |
| 5325 |
(gc_reservations): Likewise. |
| 5326 |
(gc_reservation_failure): New function. |
| 5327 |
(_gc_disable): Likewise. |
| 5328 |
(gc_disable): New macro. |
| 5329 |
(gc_enable): Likewise. |
| 5330 |
(gc_enabled): Likewise. |
| 5331 |
(gc_consume): Likewise. |
| 5332 |
(get_cell_x): Consume reserved cell if garbage collection is disabled. |
| 5333 |
(_get_cell): Assert that gc is enabled. |
| 5334 |
(get_cell): Only record cell in the list of recently allocated cells |
| 5335 |
if gc is enabled. |
| 5336 |
(get_vector_object): Likewise. |
| 5337 |
(gc): Assert that gc is enabled. |
| 5338 |
(s_return): Add comment, adjust call to '_s_return'. |
| 5339 |
(s_return_enable_gc): New macro. |
| 5340 |
(_s_return): Add flag 'enable_gc' and re-enable gc if set. |
| 5341 |
(oblist_add_by_name): Use the new facilities to protect the |
| 5342 |
allocations. |
| 5343 |
(new_frame_in_env): Likewise. |
| 5344 |
(new_slot_spec_in_env): Likewise. |
| 5345 |
(s_save): Likewise. |
| 5346 |
(opexe_0): Likewise. |
| 5347 |
(opexe_1): Likewise. |
| 5348 |
(opexe_2): Likewise. |
| 5349 |
(opexe_5): Likewise. |
| 5350 |
(opexe_6): Likewise. |
| 5351 |
(scheme_init_custom_alloc): Initialize the new fields. |
| 5352 |
|
| 5353 |
2016-11-12 Justus Winter <[email protected]> |
| 5354 |
|
| 5355 |
estream: Support 'es_poll' on Windows. |
| 5356 |
+ commit 40e5ff0a0084c0d9521b401db4f38885bfdae233 |
| 5357 |
* src/Makefile.am (arch_sources): Add new file. |
| 5358 |
* src/estream.c (O_NONBLOCK): Move to 'gpgrt-int.h'. |
| 5359 |
(BUFFER_BLOCK_SIZE): Likewise. |
| 5360 |
(BUFFER_UNREAD_SIZE): Likewise. |
| 5361 |
(struct notify_list_s, notify_list_t): Likewise. |
| 5362 |
(struct _gpgrt_stream_internal, estream_internal_t): Likewise. |
| 5363 |
(X_POLLABLE): New macro. |
| 5364 |
(parse_mode): Parse keyword 'pollable', emulate O_NONBLOCK using the |
| 5365 |
same mechanism on Windows. |
| 5366 |
(_gpgrt_poll): Use the new '_gpgrt_w32_poll' on Windows. |
| 5367 |
* src/gpgrt-int.h (_gpgrt_functions_w32_pollable): New declaration. |
| 5368 |
(_gpgrt_w32_pollable_create): New prototype. |
| 5369 |
(_gpgrt_w32_poll): Likewise. |
| 5370 |
* src/w32-estream.c: New file. This code is adapted from GPGME. |
| 5371 |
* tests/t-poll.c (create_pipe): Create pollable streams. |
| 5372 |
|
| 5373 |
estream: Track the kind of backend used. |
| 5374 |
+ commit e15416d3668ea9dcc6a64cbb98140a99be8a7865 |
| 5375 |
* src/estream.c (struct _gpgrt_stream_internal): Add 'kind'. |
| 5376 |
(init_stream_obj): New parameter 'kind', initialize field. |
| 5377 |
(es_create): New parameter 'kind'. Update all callers. |
| 5378 |
* src/gpgrt-int.h (gpgrt_stream_backend_kind_t): New type. |
| 5379 |
|
| 5380 |
estream: Rework how the cookie functions are handled. |
| 5381 |
+ commit a0651e910f962a49b0b7f7942512f17a5fe39a7d |
| 5382 |
* src/estream.c (cookie_ioctl_function_t): Move to 'gpgrt-int.h', |
| 5383 |
along with the macros for the IOCTL numbers. |
| 5384 |
(estream_functions_mem): Use the new type and add the ioctl function. |
| 5385 |
(estream_functions_fd): Likewise. |
| 5386 |
(estream_functions_w32): Likewise. |
| 5387 |
(estream_functions_fp): Likewise. |
| 5388 |
(init_stream_object): Use the new type, and also initialize |
| 5389 |
'func_ioctl'. |
| 5390 |
(es_create): Use the new type. |
| 5391 |
(_gpgrt_fopen): Adapt. |
| 5392 |
(_gpgrt_mopen): Likewise. |
| 5393 |
(_gpgrt_fopenmem): Likewise. |
| 5394 |
(_gpgrt_fopencookie): Likewise. |
| 5395 |
(_gpgrt_fdopen): Likewise. |
| 5396 |
(_gpgrt_fpopen): Likewise. |
| 5397 |
(do_w32open): Likewise. |
| 5398 |
* src/gpgrt-int.h (struct cookie_io_functions_s): New type. |
| 5399 |
|
| 5400 |
estream: Rework modestring handling. |
| 5401 |
+ commit 135319b5d1f9a88187687646c762759cfa05a7ec |
| 5402 |
* src/estream.c (X_SAMETHREAD, X_SYSOPEN): New macros. |
| 5403 |
(parse_mode): Rework how information flows from here to 'es_create'. |
| 5404 |
Instead of using an integer flag per mode, use flags. |
| 5405 |
(init_stream_obj): Adapt accordingly. |
| 5406 |
(es_create): Likewise. |
| 5407 |
(_gpgrt_fopen): Likewise. |
| 5408 |
(_gpgrt_mopen): Likewise. |
| 5409 |
(_gpgrt_fopenmem): Likewise. |
| 5410 |
(_gpgrt_fopencookie): Likewise. |
| 5411 |
(_gpgrt_fdopen): Likewise. |
| 5412 |
(_gpgrt_fpopen): Likewise. |
| 5413 |
(do_w32open): Likewise. |
| 5414 |
(_gpgrt_freopen): Likewise. |
| 5415 |
|
| 5416 |
2016-11-12 Werner Koch <[email protected]> |
| 5417 |
|
| 5418 |
Add new interface gpgrt_get_syscall_clamp. |
| 5419 |
+ commit b7972767513c8748096ebed78d1e1621bd2bd459 |
| 5420 |
* src/visibility.c (gpgrt_get_syscall_clamp): New. |
| 5421 |
* src/gpg-error.vers, src/gpg-error.def.in: Add function. |
| 5422 |
* src/gpg-error.h.in: Ditto. |
| 5423 |
* src/estream.c (_gpgrt_get_syscall_clamp): New. |
| 5424 |
|
| 5425 |
2016-11-11 Werner Koch <[email protected]> |
| 5426 |
|
| 5427 |
Use the syscall clamp functions also for lock functions. |
| 5428 |
+ commit 25d463c67821901c8fd6736c815f11e85bbae66f |
| 5429 |
* src/posix-lock.c (pre_lock_func, post_lock_func): New. |
| 5430 |
(_gpgrt_lock_set_lock_clamp): New. |
| 5431 |
(_gpgrt_lock_lock): Use clamp functions. |
| 5432 |
* src/w32-lock.c (pre_lock_func, post_lock_func): New. |
| 5433 |
(_gpgrt_lock_set_lock_clamp): New. |
| 5434 |
(_gpgrt_lock_lock): Use clamp functions. |
| 5435 |
* src/posix-lock.c (pre_syscall_func, post_syscall_func): New. |
| 5436 |
(_gpgrt_thread_set_syscall_clamp): New. |
| 5437 |
(_gpgrt_yield): Use clamp functions. |
| 5438 |
* src/w32-lock.c (pre_syscall_func, post_syscall_func): New. |
| 5439 |
(_gpgrt_thread_set_syscall_clamp): New. |
| 5440 |
(_gpgrt_yield): Use clamp functions. |
| 5441 |
* src/estream.c: Include lock.h and thread.h. |
| 5442 |
(do_deinit): Call _gpgrt_lock_set_lock_clamp. |
| 5443 |
(_gpgrt_set_syscall_clamp): Ditto. |
| 5444 |
|
| 5445 |
2016-11-11 Andre Heinecke <[email protected]> |
| 5446 |
|
| 5447 |
w32: Fix lock c++ narrowing conversion warning. |
| 5448 |
+ commit b1ccab5bf8e1206aae1307ad5d23890be4251c8f |
| 5449 |
* src/syscfg/lock-obj-pub.mingw32.h (gpgrt_lock_t): Declare priv as |
| 5450 |
unsigned char. |
| 5451 |
|
| 5452 |
2016-11-10 Werner Koch <[email protected]> |
| 5453 |
|
| 5454 |
Change description of GPG_ERR_OPEN_KEYRING. |
| 5455 |
+ commit bae57a21cfab25ad11c82dc6e69d82d1f2f7a415 |
| 5456 |
|
| 5457 |
|
| 5458 |
2016-11-10 Justus Winter <[email protected]> |
| 5459 |
|
| 5460 |
gpgscm: Recover cells from the list of recently allocated cells. |
| 5461 |
+ commit 1659878b827d0a4e041921e0c3a3555d39a742df |
| 5462 |
* tests/gpgscm/scheme.c (ok_to_freely_gc): Recover cells. |
| 5463 |
|
| 5464 |
gpgscm: Recover cells used to maintain interpreter state. |
| 5465 |
+ commit 85388f1ef82bd0a92e94a463acfa157e6f9356f8 |
| 5466 |
* tests/gpgscm/scheme.c (free_cell): New function. |
| 5467 |
(free_cons): Likewise. |
| 5468 |
(_s_return): Use the new function to recover cells used to save the |
| 5469 |
state of the interpreter in 's_save'. This reduces the need to do a |
| 5470 |
garbage collection considerably. |
| 5471 |
|
| 5472 |
gpgscm: Reduce opcode dispatch overhead. |
| 5473 |
+ commit f65fb16724712b3d6072f27b47e2658f27398dd4 |
| 5474 |
* tests/gpgscm/scheme.c (s_thread_to): New macro. |
| 5475 |
(CASE): Likewise. |
| 5476 |
(opexe_[0-6]): Use 'CASE' instead of 'case' statements, replace |
| 5477 |
's_goto' with 's_thread_to' where applicable. |
| 5478 |
|
| 5479 |
gpgscm: Make the compile-hook configurable. |
| 5480 |
+ commit a678b9fdf7d48409a32afab5b487322a7fc11e16 |
| 5481 |
* tests/gpgscm/scheme-private.h (struct scheme): Make field |
| 5482 |
'COMPILE_HOOK' optional. |
| 5483 |
* tests/gpgscm/scheme.c (opexe_0): Fix guard. |
| 5484 |
(scheme_init_custom_alloc): Conditionally initialize 'COMPILE_HOOK'. |
| 5485 |
* tests/gpgscm/scheme.h (USE_COMPILE_HOOK): Define to 1 by default. |
| 5486 |
|
| 5487 |
gpgscm: Drop obsolete commented-out code. |
| 5488 |
+ commit f69a754515f43037da8ac8535967cd825b220be4 |
| 5489 |
* tests/gpgscm/scheme.c (opexe_5): Drop obsolete code. |
| 5490 |
|
| 5491 |
gpgscm: Remove dubious stack implementation. |
| 5492 |
+ commit a6ce303f0c69542999c607309128afd6293e2e1b |
| 5493 |
* tests/gpgscm/scheme-private.h (struct scheme): Remove related fields. |
| 5494 |
* tests/gpgscm/scheme.c: Drop all !USE_SCHEME_STACK code. |
| 5495 |
* tests/gpgscm/scheme.h (USE_SCHEME_STACK): Remove macro. |
| 5496 |
|
| 5497 |
2016-11-08 Justus Winter <[email protected]> |
| 5498 |
|
| 5499 |
gpgscm: Expose seek and associated constants. |
| 5500 |
+ commit 13831e9cd6839e44a8e32c640589edb8bf17ef51 |
| 5501 |
* tests/gpgscm/ffi.c (do_seek): New function. |
| 5502 |
(ffi_init): Expose 'seek' and 'SEEK_{SET,CUR,END}'. |
| 5503 |
* tests/gpgscm/lib.scm: Document the new function. |
| 5504 |
|
| 5505 |
gpgscm: Fix error message. |
| 5506 |
+ commit d5458258299889af97e714c15e6a9b859e1a0545 |
| 5507 |
* tests/gpgscm/ffi.c (do_wait_processes): Fix and improve error |
| 5508 |
messages. |
| 5509 |
|
| 5510 |
2016-11-07 Justus Winter <[email protected]> |
| 5511 |
|
| 5512 |
gpgscm: Generalize splice to write to multiple sinks. |
| 5513 |
+ commit 1edacbc5a4a0f4dee3ab82c1fda7c7b1c5874761 |
| 5514 |
* tests/gpgscm/ffi.c (ordinal_suffix): New function. |
| 5515 |
(do_splice): Generalize splice to write to multiple sinks. |
| 5516 |
* tests/gpgscm/lib.scm (splice): Document this fact. |
| 5517 |
|
| 5518 |
gpgscm: Drop 'len' argument from splice. |
| 5519 |
+ commit 598aeda60bc3e6d49d935927b5ec33145f7af9db |
| 5520 |
* tests/gpgscm/ffi.c (do_splice): Drop 'len' argument, no-one uses it. |
| 5521 |
* tests/gpgscm/lib.scm (splice): Document foreign function. |
| 5522 |
|
| 5523 |
tests: Move environment creation and teardown into each test. |
| 5524 |
+ commit 1564fc3b2ff52e7e5ad9b01a24e1f399934775b8 |
| 5525 |
* tests/gpgscm/tests.scm (log): New function. |
| 5526 |
* tests/openpgp/run-tests.scm (run-tests-parallel): Do not run the |
| 5527 |
startup and teardown scripts. |
| 5528 |
(run-tests-sequential): Likewise. |
| 5529 |
* tests/openpgp/setup.scm: Move all functions... |
| 5530 |
* tests/openpgp/defs.scm: ... here and make them less verbose. |
| 5531 |
(setup-environment): New function. |
| 5532 |
(setup-legacy-environment): Likewise. |
| 5533 |
(start-agent): Make less verbose, run 'stop-agent' at interpreter |
| 5534 |
exit. |
| 5535 |
(stop-agent): Make less verbose. |
| 5536 |
* tests/openpgp/finish.scm: Drop file. |
| 5537 |
* tests/openpgp/Makefile.am (EXTRA_DIST): Drop removed file. |
| 5538 |
* tests/openpgp/4gb-packet.scm: Use 'setup-environment' or |
| 5539 |
'setup-legacy-environment' as appropriate. |
| 5540 |
* tests/openpgp/armdetach.scm: Likewise. |
| 5541 |
* tests/openpgp/armdetachm.scm: Likewise. |
| 5542 |
* tests/openpgp/armencrypt.scm: Likewise. |
| 5543 |
* tests/openpgp/armencryptp.scm: Likewise. |
| 5544 |
* tests/openpgp/armor.scm: Likewise. |
| 5545 |
* tests/openpgp/armsignencrypt.scm: Likewise. |
| 5546 |
* tests/openpgp/armsigs.scm: Likewise. |
| 5547 |
* tests/openpgp/clearsig.scm: Likewise. |
| 5548 |
* tests/openpgp/conventional-mdc.scm: Likewise. |
| 5549 |
* tests/openpgp/conventional.scm: Likewise. |
| 5550 |
* tests/openpgp/decrypt-dsa.scm: Likewise. |
| 5551 |
* tests/openpgp/decrypt.scm: Likewise. |
| 5552 |
* tests/openpgp/default-key.scm: Likewise. |
| 5553 |
* tests/openpgp/detach.scm: Likewise. |
| 5554 |
* tests/openpgp/detachm.scm: Likewise. |
| 5555 |
* tests/openpgp/ecc.scm: Likewise. |
| 5556 |
* tests/openpgp/encrypt-dsa.scm: Likewise. |
| 5557 |
* tests/openpgp/encrypt.scm: Likewise. |
| 5558 |
* tests/openpgp/encryptp.scm: Likewise. |
| 5559 |
* tests/openpgp/export.scm: Likewise. |
| 5560 |
* tests/openpgp/finish.scm: Likewise. |
| 5561 |
* tests/openpgp/genkey1024.scm: Likewise. |
| 5562 |
* tests/openpgp/gpgtar.scm: Likewise. |
| 5563 |
* tests/openpgp/gpgv-forged-keyring.scm: Likewise. |
| 5564 |
* tests/openpgp/import.scm: Likewise. |
| 5565 |
* tests/openpgp/issue2015.scm: Likewise. |
| 5566 |
* tests/openpgp/issue2417.scm: Likewise. |
| 5567 |
* tests/openpgp/issue2419.scm: Likewise. |
| 5568 |
* tests/openpgp/key-selection.scm: Likewise. |
| 5569 |
* tests/openpgp/mds.scm: Likewise. |
| 5570 |
* tests/openpgp/multisig.scm: Likewise. |
| 5571 |
* tests/openpgp/quick-key-manipulation.scm: Likewise. |
| 5572 |
* tests/openpgp/seat.scm: Likewise. |
| 5573 |
* tests/openpgp/shell.scm: Likewise. |
| 5574 |
* tests/openpgp/signencrypt-dsa.scm: Likewise. |
| 5575 |
* tests/openpgp/signencrypt.scm: Likewise. |
| 5576 |
* tests/openpgp/sigs-dsa.scm: Likewise. |
| 5577 |
* tests/openpgp/sigs.scm: Likewise. |
| 5578 |
* tests/openpgp/ssh.scm: Likewise. |
| 5579 |
* tests/openpgp/tofu.scm: Likewise. |
| 5580 |
* tests/openpgp/use-exact-key.scm: Likewise. |
| 5581 |
* tests/openpgp/verify.scm: Likewise. |
| 5582 |
* tests/openpgp/version.scm: Likewise. |
| 5583 |
* tests/openpgp/issue2346.scm: Likewise and simplify. |
| 5584 |
|
| 5585 |
gpgscm,w32: Provide schemish file handling for binary files. |
| 5586 |
+ commit fa82512020f8cd91c68bbf1d24a4f6bffe5385ba |
| 5587 |
* tests/gpgscm/lib.scm (call-with-binary-input-file): New function. |
| 5588 |
(call-with-binary-output-file): Likewise. |
| 5589 |
|
| 5590 |
gpgscm: Add support for pseudo-random numbers. |
| 5591 |
+ commit 70c5f30074ec996f60f62cd09e67167da78c6d8a |
| 5592 |
* tests/gpgscm/ffi.c (do_getpid): New function. |
| 5593 |
(do_srandom): Likewise. |
| 5594 |
(random_scaled): Likewise. |
| 5595 |
(do_random): Likewise. |
| 5596 |
(do_make_random_string): Likewise. |
| 5597 |
(ffi_init): Expose the new functions. |
| 5598 |
* tests/gpgscm/lib.scm: Document the new functions. |
| 5599 |
|
| 5600 |
2016-11-04 Justus Winter <[email protected]> |
| 5601 |
|
| 5602 |
gpgscm: Fix printing strings containing zero bytes. |
| 5603 |
+ commit fa221a1d5272eb231393a2cc0173635a5098bb89 |
| 5604 |
* tests/gpgscm/scheme.c (atom2str): Fix computing the length of Scheme |
| 5605 |
strings. Scheme strings can contain zero bytes. |
| 5606 |
|
| 5607 |
gpgscm: Implement 'atexit'. |
| 5608 |
+ commit 97024a0cd0e1f5262ee60bf40a91f169bcc45a23 |
| 5609 |
* tests/gpgscm/ffi.scm (throw): Run *run-atexit-handlers* when |
| 5610 |
terminating the interpreter. |
| 5611 |
(*atexit-handlers*): New variable. |
| 5612 |
(*run-atexit-handlers*): New function. |
| 5613 |
(atexit): Likewise. |
| 5614 |
* tests/gpgscm/main.c (main): Run *run-atexit-handlers* at normal |
| 5615 |
interpreter shutdown. |
| 5616 |
|
| 5617 |
2016-11-03 Justus Winter <[email protected]> |
| 5618 |
|
| 5619 |
gpgscm,tests: Add new functions to the test environment. |
| 5620 |
+ commit e4a694eb48a098c3a3983767099dcce4e9157d16 |
| 5621 |
* tests/gpgscm/lib.scm (first, last, powerset): New functions. |
| 5622 |
* tests/gpgscm/tests.scm (interactive-shell): New function. |
| 5623 |
* tests/openpgp/Makefile.am (EXTRA_DIST): Add new file. |
| 5624 |
* tests/openpgp/README: Document 'interactive-shell'. |
| 5625 |
* tests/openpgp/shell.scm: New file. |
| 5626 |
|
| 5627 |
2016-11-02 Justus Winter <[email protected]> |
| 5628 |
|
| 5629 |
gpgscm: Fix inclusion of readline header. |
| 5630 |
+ commit 0ccc6f5ffccec23587d06e32da88fb0acd80f2c6 |
| 5631 |
* tests/gpgscm/ffi.c: Define magic macro to prevent the completion |
| 5632 |
function from redefined. |
| 5633 |
|
| 5634 |
2016-11-02 Werner Koch <[email protected]> |
| 5635 |
|
| 5636 |
Add error codes GPG_ERR_TOO_YOUNG and GPG_ERR_TOO_OLD. |
| 5637 |
+ commit 49e32eed4550869644d706352d683ddba5696d4e |
| 5638 |
|
| 5639 |
|
| 5640 |
2016-10-20 Justus Winter <[email protected]> |
| 5641 |
|
| 5642 |
common,w32: Fix setting environment variables on Windows. |
| 5643 |
+ commit e7ba35f207cb06f6d0e085ab3faf68d118606655 |
| 5644 |
* common/sysutils.c (gnupg_setenv): Also update the environment block |
| 5645 |
maintained by the C runtime. |
| 5646 |
(gnupg_unsetenv): Likewise. |
| 5647 |
* tests/gpgscm/ffi.c (do_setenv): Fix error handling. |
| 5648 |
|
| 5649 |
2016-10-18 Justus Winter <[email protected]> |
| 5650 |
|
| 5651 |
estream: Fix modestring parsing. |
| 5652 |
+ commit 0734f4863859257d18ca96f4b9be62be75fcffe1 |
| 5653 |
* src/estream.c (parse_mode): Fix parsing the 'sysopen' flag. |
| 5654 |
|
| 5655 |
2016-10-17 Justus Winter <[email protected]> |
| 5656 |
|
| 5657 |
gpgscm: Initialize nesting stack. |
| 5658 |
+ commit 7a262df038f495d27e2d8ec806ea0d47c925c88b |
| 5659 |
* tests/gpgscm/scheme.c (scheme_init_custom_alloc): Initialize nesting |
| 5660 |
stack. |
| 5661 |
|
| 5662 |
2016-10-07 Justus Winter <[email protected]> |
| 5663 |
|
| 5664 |
tests: Improve handling of Windows newlines. |
| 5665 |
+ commit e8db2ea9542eef0bc7b51c9f69109a056269c048 |
| 5666 |
* tests/gpgscm/lib.scm (string-split-newlines): New function. |
| 5667 |
* tests/openpgp/default-key.scm: Use new function. |
| 5668 |
* tests/openpgp/defs.scm: Likewise. |
| 5669 |
* tests/openpgp/export.scm: Likewise. |
| 5670 |
* tests/openpgp/import.scm: Likewise. |
| 5671 |
|
| 5672 |
gpgscm: Improve test of low-level functions. |
| 5673 |
+ commit 2e47dcf432bc26cbaa1a6ba6716ab74facd06353 |
| 5674 |
* tests/gpgscm/t-child.c: Print large amounts of data. |
| 5675 |
* tests/gpgscm/t-child.scm: Test that this works. |
| 5676 |
|
| 5677 |
gpgscm: Improve path handling. |
| 5678 |
+ commit ff00a2d792091f35380c9541ee88fbd9c0d76c43 |
| 5679 |
* tests/gpgscm/ffi.c (ffi_init): New Scheme variable '*win32*'. |
| 5680 |
* tests/gpgscm/tests.scm (canonical-path): Correctly handle paths with |
| 5681 |
drive letter on Windows. Use 'path-join'. |
| 5682 |
(path-expand): Use 'path-join'. |
| 5683 |
|
| 5684 |
2016-10-07 Werner Koch <[email protected]> |
| 5685 |
|
| 5686 |
Add error code USER_ID_EXISTS, NAME_EXISTS, and DUP_NAME. |
| 5687 |
+ commit 0c837a82207d0b19f9dabc8870ffb23d6a4ade64 |
| 5688 |
|
| 5689 |
|
| 5690 |
2016-10-06 Justus Winter <[email protected]> |
| 5691 |
|
| 5692 |
gpgscm: Update callsite of 'gnupg_spawn_process'. |
| 5693 |
+ commit bbd3be18ca9feac21963cc7d682f5a7d89fd9aba |
| 5694 |
* tests/gpgscm/ffi.c (do_spawn_process): Adapt to the changes to |
| 5695 |
'gnupg_spawn_process'. |
| 5696 |
|
| 5697 |
2016-10-04 Justus Winter <[email protected]> |
| 5698 |
|
| 5699 |
tests,w32: Do not expose 'glob' to gpgscm. |
| 5700 |
+ commit 7359d7acb687d572dd0a4e40fd979566efbf4e21 |
| 5701 |
* tests/gpgscm/ffi.c (do_glob): Remove function. |
| 5702 |
(ffi_init): Likewise. |
| 5703 |
|
| 5704 |
2016-09-19 Justus Winter <[email protected]> |
| 5705 |
|
| 5706 |
tests: Refine the repl function. |
| 5707 |
+ commit a3b6b7643d906264b56d6fa041bcb95e96eb1898 |
| 5708 |
* tests/gpgscm/repl.scm (repl): Add an argument 'environment'. |
| 5709 |
(interactive-repl): Add an optional argument 'environment'. |
| 5710 |
|
| 5711 |
tests: Implement interpreter shutdown using exceptions. |
| 5712 |
+ commit ea399aaaf4c9de92d24ab59cdc3586608bf35698 |
| 5713 |
* tests/gpgscm/ffi.c (ffi_init): Rename 'exit' to '_exit'. |
| 5714 |
* tests/gpgscm/ffi.scm (*interpreter-exit*): New variable. |
| 5715 |
(throw): New function. |
| 5716 |
(exit): New function. |
| 5717 |
|
| 5718 |
tests: Correctly handle exceptions in resource handling macros. |
| 5719 |
+ commit ec34346129c77a7011872812567689aa09d99caa |
| 5720 |
* tests/gpgscm/tests.scm (letfd): Correctly release resources when an |
| 5721 |
exception is thrown. |
| 5722 |
(with-working-directory): Likewise. |
| 5723 |
(with-temporary-working-directory): Likewise. |
| 5724 |
(lettmp): Likewise. |
| 5725 |
|
| 5726 |
tests: Refine exception handling. |
| 5727 |
+ commit 3fd08ed018f837399564896462f64af8ae389eec |
| 5728 |
* tests/gpgscm/init.scm (catch): Bind all arguments to '*error*' in |
| 5729 |
the error handler, update and fix comment. |
| 5730 |
(*error-hook*): Revert to original definition. |
| 5731 |
* tests/gpgscm/tests.scm (tr:do): Adapt accordingly. |
| 5732 |
* tests/openpgp/issue2419.scm: Likewise. |
| 5733 |
|
| 5734 |
tests: Use descriptive temporary file names. |
| 5735 |
+ commit 86f421b7de364138d2d066b267b0f08a62c42a42 |
| 5736 |
* tests/gpgscm/ffi.c (do_get_isotime): New function. |
| 5737 |
(ffi_init): Add parameter 'scriptname', bind new function and |
| 5738 |
scriptname. |
| 5739 |
* tests/gpgscm/ffi.h (ffi_init): Update prototype. |
| 5740 |
* tests/gpgscm/main.c (main): Hand in the script name. |
| 5741 |
* tests/gpgscm/tests.scm (mkdtemp): Use current time and script name |
| 5742 |
for the names of temporary directories. |
| 5743 |
|
| 5744 |
2016-09-19 Werner Koch <[email protected]> |
| 5745 |
|
| 5746 |
gpgscm: Fix gcrypt version check. |
| 5747 |
+ commit a3cdf6ba9987ec2f4b951c3b2519f6beea147126 |
| 5748 |
* tests/gpgscm/main.c (main): Check against required and not installed |
| 5749 |
version. |
| 5750 |
|
| 5751 |
2016-09-17 Daniel Kahn Gillmor <[email protected]> |
| 5752 |
|
| 5753 |
Fix more spelling. |
| 5754 |
+ commit 42b61e8469179292814fea267ecd7d911396b965 |
| 5755 |
* NEWS, acinclude.m4, agent/command-ssh.c, agent/command.c, |
| 5756 |
agent/gpg-agent.c, agent/keyformat.txt, agent/protect-tool.c, |
| 5757 |
common/asshelp.c, common/b64enc.c, common/recsel.c, doc/DETAILS, |
| 5758 |
doc/HACKING, doc/Notes, doc/TRANSLATE, doc/dirmngr.texi, |
| 5759 |
doc/faq.org, doc/gpg-agent.texi, doc/gpg.texi, doc/gpgsm.texi, |
| 5760 |
doc/instguide.texi, g10/armor.c, g10/gpg.c, g10/keyedit.c, |
| 5761 |
g10/mainproc.c, g10/pkclist.c, g10/tofu.c, g13/sh-cmd.c, |
| 5762 |
g13/sh-dmcrypt.c, kbx/keybox-init.c, m4/pkg.m4, sm/call-dirmngr.c, |
| 5763 |
sm/gpgsm.c, tests/Makefile.am, tests/gpgscm/Manual.txt, |
| 5764 |
tests/gpgscm/scheme.c, tests/openpgp/gpgv-forged-keyring.scm, |
| 5765 |
tests/openpgp/multisig.test, tests/openpgp/verify.scm, |
| 5766 |
tests/pkits/README, tools/applygnupgdefaults, |
| 5767 |
tools/gpg-connect-agent.c, tools/mime-maker.c, tools/mime-parser.c: |
| 5768 |
minor spelling cleanup. |
| 5769 |
|
| 5770 |
2016-09-15 NIIBE Yutaka <[email protected]> |
| 5771 |
|
| 5772 |
tests/gpgscm: Fix use of pointer. |
| 5773 |
+ commit 95f7320a37d3870330a2b1f3493025b4820fa767 |
| 5774 |
* tests/gpgscm/scheme-private.h (struct scheme): Use (void *) for |
| 5775 |
alloc_seg. |
| 5776 |
* tests/gpgscm/scheme.c (alloc_cellseg): Use (void *) for cp. Use |
| 5777 |
(void *) for coercion of address calculation. |
| 5778 |
|
| 5779 |
2016-09-06 Justus Winter <[email protected]> |
| 5780 |
|
| 5781 |
gpgscm: Fix detection of unbalanced parenthesis. |
| 5782 |
+ commit 36405b2d208e5ec4c2c289d99ba4e7e1a29b8321 |
| 5783 |
* tests/gpgscm/main.c (load): Print error message. |
| 5784 |
* tests/gpgscm/scheme.c (opexe_0): Correctly report nesting level when |
| 5785 |
loading files. |
| 5786 |
|
| 5787 |
2016-09-01 Werner Koch <[email protected]> |
| 5788 |
|
| 5789 |
Check the size of the time_t. |
| 5790 |
+ commit bf7eb978597ba07906f0a7490e626c071af1987f |
| 5791 |
* configure.ac (AC_HEADER_TIME): New. |
| 5792 |
(AC_CHECK_SIZEOF): Check size of time_t. |
| 5793 |
|
| 5794 |
Add error WINDOW_TOO_SMALL, WINDOW_TOO_LARGE, and MISSING_ENVVAR. |
| 5795 |
+ commit bc3e817bd7e671975f94bae20cbbf9a91fe3353b |
| 5796 |
|
| 5797 |
|
| 5798 |
2016-08-16 Werner Koch <[email protected]> |
| 5799 |
|
| 5800 |
New error code GPG_ERR_ENGINE_TOO_OLD. |
| 5801 |
+ commit b2640cb1f7b3b056ea4f8fe4b79d58fcd10ef93b |
| 5802 |
|
| 5803 |
|
| 5804 |
2016-08-12 Daniel Kahn Gillmor <[email protected]> |
| 5805 |
|
| 5806 |
Call log_set_prefix() with human-readable labels. |
| 5807 |
+ commit b912b371ffc56b0e657d58e2a891f6bb1affab4b |
| 5808 |
* agent/preset-passphrase.c, agent/protect-tool.c, dirmngr/dirmngr.c |
| 5809 |
* dirmngr/t-http.c, g10/gpg.c, g10/gpgv.c, g13/g13-syshelp.c |
| 5810 |
* g13/g13.c, kbx/kbxutil.c, scd/scdaemon.c, sm/gpgsm.c |
| 5811 |
* tests/gpgscm/main.c, tools/gpg-check-pattern.c |
| 5812 |
* tools/gpg-connect-agent.c, tools/gpgconf.c, tools/gpgtar.c |
| 5813 |
* tools/symcryptrun.c: Invoke log_set_prefix() with |
| 5814 |
human-readable labels. |
| 5815 |
|
| 5816 |
2016-08-10 Justus Winter <[email protected]> |
| 5817 |
|
| 5818 |
tests: Improve temporary directory handling. |
| 5819 |
+ commit 0b5146376ba4e6ef129ed4a0641591bafa5902f9 |
| 5820 |
* tests/gpgscm/ffi.c (ffi_init): Rename 'mkdtemp'. |
| 5821 |
* tests/gpgscm/tests.scm (mkdtemp): New function that uses a sensible |
| 5822 |
location and template if no arguments are given. |
| 5823 |
(with-temporary-working-directory): Simplify accordingly. |
| 5824 |
(make-temporary-file): Likewise. |
| 5825 |
* tests/openpgp/run-tests.scm (run-tests-parallel-isolated): Likewise. |
| 5826 |
(run-tests-sequential-isolated): Likewise. |
| 5827 |
|
| 5828 |
gpgscm: Make the name of foreign functions more unique. |
| 5829 |
+ commit c609b6e6b08719b86a64fb186f6eee03d0b01b16 |
| 5830 |
* tests/gpgscm/ffi-private.h (ffi_define_function_name): Add another |
| 5831 |
underscore. |
| 5832 |
|
| 5833 |
2016-07-26 Justus Winter <[email protected]> |
| 5834 |
|
| 5835 |
gpgscm: Do not shadow common function name in catch macro. |
| 5836 |
+ commit d764c08a9215ab1c90a97fb019aa99ccf3721e02 |
| 5837 |
* tests/gpgscm/init.scm (catch): Do not shadow 'exit'. |
| 5838 |
|
| 5839 |
gpgscm: Make the verbose setting more useful. |
| 5840 |
+ commit bd958b94ea3cdafa2457fdf0dcf436458fa755f6 |
| 5841 |
* tests/gpgscm/ffi.c (do_get_verbose): New function. |
| 5842 |
(do_set_verbose): Likewise. |
| 5843 |
(ffi_init): Turn *verbose* into a function, add *set-verbose!*. |
| 5844 |
* tests/gpgscm/tests.scm (call): Adapt accordingly. |
| 5845 |
(call-with-io): Dump output if *verbose* is high. |
| 5846 |
(pipe-do): Adapt accordingly. |
| 5847 |
* tests/openpgp/defs.scm: Set verbosity according to environment. |
| 5848 |
* tests/openpgp/run-tests.scm (test): Adapt accordingly. |
| 5849 |
|
| 5850 |
2016-07-22 Justus Winter <[email protected]> |
| 5851 |
|
| 5852 |
gpgscm: Make function more general. |
| 5853 |
+ commit 593c5ac8553922a7cf8055c6f3d4d3ea6d0f8cb6 |
| 5854 |
* tests/gpgscm/tests.scm (in-srcdir): Accept more path fragments. |
| 5855 |
|
| 5856 |
2016-07-21 Justus Winter <[email protected]> |
| 5857 |
|
| 5858 |
gpgscm: Make assert macro more accurate. |
| 5859 |
+ commit 4f5e0f510d72935ed6bc37f38261efd0ca45e04b |
| 5860 |
* tests/gpgscm/lib.scm (assert): Print the representation of the |
| 5861 |
failed expression. |
| 5862 |
|
| 5863 |
gpgscm: Make error message more useful. |
| 5864 |
+ commit bc5199d51c45e11c5d9cba828b31ced9381bd27c |
| 5865 |
* tests/gpgscm/scheme.c (opexe_0): Include names of missing function |
| 5866 |
parameters in the error message. |
| 5867 |
|
| 5868 |
2016-07-19 Justus Winter <[email protected]> |
| 5869 |
|
| 5870 |
tests: Add test for ssh support. |
| 5871 |
+ commit 5851aec15309e9137603bf0e564fd5028ff742c1 |
| 5872 |
* tests/gpgscm/tests.scm (path-expand): New function. |
| 5873 |
* tests/openpgp/Makefile.am (TESTS): Add new test. |
| 5874 |
(sample_keys): Add new keys. |
| 5875 |
(CLEANFILES): Clean ssh socket and control file. |
| 5876 |
* tests/openpgp/fake-pinentry.c (main): Add a default passphrase. |
| 5877 |
* tests/openpgp/gpg-agent.conf.tmpl: Enable ssh support. |
| 5878 |
* tests/openpgp/samplekeys/ssh-dsa.key: New file. |
| 5879 |
* tests/openpgp/samplekeys/ssh-ecdsa.key: Likewise. |
| 5880 |
* tests/openpgp/samplekeys/ssh-ed25519.key: Likewise. |
| 5881 |
* tests/openpgp/samplekeys/ssh-rsa.key: Likewise. |
| 5882 |
* tests/openpgp/ssh.scm: Likewise. |
| 5883 |
|
| 5884 |
2016-07-15 Justus Winter <[email protected]> |
| 5885 |
|
| 5886 |
gpgscm: Fix linking. |
| 5887 |
+ commit 4932ef5277957153f4d066f17feb47a4db2b923b |
| 5888 |
* tests/gpgscm/Makefile.am: Add -lintl. |
| 5889 |
|
| 5890 |
2016-07-14 Werner Koch <[email protected]> |
| 5891 |
|
| 5892 |
gpgscm: Use kludge to avoid improper use of ffi_schemify_name. |
| 5893 |
+ commit 95c04eca273fe9bacbbd9666fd6806e0748792ed |
| 5894 |
* tests/gpgscm/ffi.c (ffi_schemify_name): Use xstrdup instead of |
| 5895 |
strdup for now. |
| 5896 |
|
| 5897 |
Release 1.24. |
| 5898 |
+ commit bb1269c85bb41dbb6391756a65e8bc357d82d6b6 |
| 5899 |
|
| 5900 |
|
| 5901 |
2016-07-13 Werner Koch <[email protected]> |
| 5902 |
|
| 5903 |
build: Update config.{guess,sub} to {2016-05-15,2016-06-20}. |
| 5904 |
+ commit 387eeb5d5b57e4390c4eaf101bb5cf9cf3cbd4ba |
| 5905 |
* build-aux/config.guess: Update. |
| 5906 |
* build-aux/config.sub: Update. |
| 5907 |
|
| 5908 |
2016-07-12 Yann E. MORIN <[email protected]> |
| 5909 |
|
| 5910 |
Add an option to disable tests. |
| 5911 |
+ commit d57a16c3779eca84dedcf2423b26e41172cd5a96 |
| 5912 |
* configure.ac: add an option to enable/disable building tests |
| 5913 |
* Makefile.am: conditionally build tests |
| 5914 |
|
| 5915 |
Fix build without threads. |
| 5916 |
+ commit abcdfa7964da62b92984516608faf8941038b71d |
| 5917 |
* src/gen-posix-lock-obj.c: properly guard inclusioin of pthread.h |
| 5918 |
* tests/t-lock.c: likewise |
| 5919 |
* tests/t-poll.c: likewise |
| 5920 |
|
| 5921 |
2016-07-07 Justus Winter <[email protected]> |
| 5922 |
|
| 5923 |
gpgscm: Capture output of spawned processes. |
| 5924 |
+ commit 912977e668d59baf39464fab7e93b9a617f9706f |
| 5925 |
* tests/gpgscm/tests.scm (call-check): Capture stdout and stderr, and |
| 5926 |
return stdout if the child exited successfully, or include stderr in |
| 5927 |
the error. |
| 5928 |
* tests/openpgp/version.scm: Demonstrate this by checking the stdout. |
| 5929 |
|
| 5930 |
2016-07-05 Justus Winter <[email protected]> |
| 5931 |
|
| 5932 |
tests: Honor environment variable 'TMP'. |
| 5933 |
+ commit 228b225c412573d73901e3e79b7cab64a05bb26e |
| 5934 |
This fixes problems with long socket names, e.g. when doing distcheck. |
| 5935 |
|
| 5936 |
* tests/gpgscm/tests.scm (path-join): New function. |
| 5937 |
(with-temporary-working-directory): Honor 'TMP'. |
| 5938 |
(make-temporary-file): Likewise. |
| 5939 |
* tests/migrations/Makefile.am (TMP): Default to '/tmp'. |
| 5940 |
(TESTS_ENVIRONMENT): Set 'TMP'. |
| 5941 |
* tests/openpgp/Makefile.am (TMP): Default to '/tmp'. |
| 5942 |
(TESTS_ENVIRONMENT): Set 'TMP'. |
| 5943 |
|
| 5944 |
gpgscm: Improve robustness and compatibility. |
| 5945 |
+ commit 1406aa0fdf349b370cc2a5b87ada557455203dd2 |
| 5946 |
* tests/gpgscm/ffi.c (do_getenv): Avoid gccism. |
| 5947 |
(do_mkdtemp): Handle errors. |
| 5948 |
|
| 5949 |
2016-07-05 Andre Heinecke <[email protected]> |
| 5950 |
|
| 5951 |
Define EWOULDBLOCK in case it is not defined. |
| 5952 |
+ commit 65e967627b3d60f550c7d302227dcf9f797e437f |
| 5953 |
* src/estream.c (EWOULDBLOCK): Define fallback. |
| 5954 |
|
| 5955 |
2016-07-02 Werner Koch <[email protected]> |
| 5956 |
|
| 5957 |
yat2m: Fix table formatting. |
| 5958 |
+ commit 1a53a0ac4cc241a5c6d360d6259dd04afc09264c |
| 5959 |
* doc/yat2m.c (proc_texi_cmd): Use .TQ for @itemx. Print a .P at the |
| 5960 |
end of a level 0 table. |
| 5961 |
|
| 5962 |
2016-06-30 Justus Winter <[email protected]> |
| 5963 |
|
| 5964 |
gpgscm: Fix reallocating string ports. |
| 5965 |
+ commit 27d423b785afa3458e102fa3d7c1220ec50a47fe |
| 5966 |
* tests/gpgscm/scheme.c (realloc_port_string): Use memcpy because |
| 5967 |
Scheme strings may contain 0s. |
| 5968 |
|
| 5969 |
gpgscm: Free memory backing string ports. |
| 5970 |
+ commit f103dd1d9dd69eb0a32cf2d91e3a595082f3f41c |
| 5971 |
* tests/gpgscm/scheme.c (finalize_cell): Free memory backing string |
| 5972 |
ports. |
| 5973 |
|
| 5974 |
gpgscm: Use the allocator from libgcrypt. |
| 5975 |
+ commit 9af66b27499646f6386ab902e75056b961192f50 |
| 5976 |
* tests/gpgscm/main.c (main): Use the allocator from libgcrypt. |
| 5977 |
|
| 5978 |
2016-06-28 Justus Winter <[email protected]> |
| 5979 |
|
| 5980 |
gpgscm: Fix memory leaks. |
| 5981 |
+ commit b4e31c551b9205684e812e941bd974cc594cf97f |
| 5982 |
* tests/gpgscm/ffi-private.h (ffi_schemify_name): Fix prototype. |
| 5983 |
(ffi_define_function_name): Free schemified name. |
| 5984 |
(ffi_define_function): Likewise. |
| 5985 |
(ffi_define_constant): Likewise. |
| 5986 |
(ffi_define_variable_pointer): Likewise. |
| 5987 |
* tests/gpgscm/ffi.c (do_wait_processes): Free arrays. |
| 5988 |
(ffi_schemify_name): Fix type. |
| 5989 |
* tests/gpgscm/main.c (main): Free 'sc'. |
| 5990 |
|
| 5991 |
gpgscm: Free file names. |
| 5992 |
+ commit 9368fd55602a1d36f6bf6bc3797a4f2d7a782ded |
| 5993 |
* tests/gpgscm/scheme.c (scheme_load_named_file): Free file name. |
| 5994 |
|
| 5995 |
gpgscm: Fix buffer overflow. |
| 5996 |
+ commit 73b24ed0cb0ba3271e887d1044a497e53ca90b62 |
| 5997 |
* tests/gpgscm/scheme.c (store_string): Avoid writing past allocated |
| 5998 |
buffer. |
| 5999 |
|
| 6000 |
2016-06-27 Werner Koch <[email protected]> |
| 6001 |
|
| 6002 |
estream: Fix bug es_fclose_snatch if a seek has been used. |
| 6003 |
+ commit 467ccbb6062439eda9dce7cd991934d1a5491713 |
| 6004 |
* src/estream.c (func_mem_ioctl): Set LEN from DATA_LEN. |
| 6005 |
|
| 6006 |
2016-06-25 Werner Koch <[email protected]> |
| 6007 |
|
| 6008 |
w32: Silence compiler warnings about redefined macros. |
| 6009 |
+ commit 7213299fdb2293b974fc436686626ae0a29290b8 |
| 6010 |
* src/estream.c (S_IRGRP) [W32]: Protect against redefinition. |
| 6011 |
|
| 6012 |
doc: Update yat2m.c. |
| 6013 |
+ commit 9b5e3d1608922f4aaf9958e022431849d5a58501 |
| 6014 |
* doc/yat2m.c: Update from gnupg. |
| 6015 |
|
| 6016 |
2016-06-24 Werner Koch <[email protected]> |
| 6017 |
|
| 6018 |
estream: Remove two compiler warning. |
| 6019 |
+ commit 0982a72ecc8e7738ec968b3a6710bdacb0f2da4e |
| 6020 |
* src/estream.c (func_file_create): Remove dead assignment. |
| 6021 |
(doreadline): Do not decrement SPACE_LEFT before breaking the loop. |
| 6022 |
Add an extra block to limit the scope of that variable. |
| 6023 |
|
| 6024 |
2016-06-23 Justus Winter <[email protected]> |
| 6025 |
|
| 6026 |
gpgscm: Handle exceptions in the transformation monad. |
| 6027 |
+ commit 7b6728b7ecf7b0646db2de35625aba3b0cd0bf02 |
| 6028 |
* tests/gpgscm/tests.scm (pipe:do): Raise errors. |
| 6029 |
(tr:spawn): Catch and return errors. |
| 6030 |
(tr:call-with-content): Likewise. |
| 6031 |
(tr:{open,write-to,pipe-do,assert-identity,assert-weak-identity}): |
| 6032 |
Adapt. |
| 6033 |
|
| 6034 |
gpgscm: Add types for special objects. |
| 6035 |
+ commit 24df932e5fdda891760b34b7e5fccd5aba62fde8 |
| 6036 |
* tests/gpgscm/scheme.c (enum scheme_types): Add types for boolean, |
| 6037 |
nil, eof, and the sink object. |
| 6038 |
(type_to_string): Handle new types. |
| 6039 |
(scheme_init_custom_alloc): Give special objects a type. |
| 6040 |
|
| 6041 |
gpgscm: Fix Scheme initialization. |
| 6042 |
+ commit 64ab51521f1a5fabee292554d7403113898f1b28 |
| 6043 |
This potentially causes a crash if the garbage collector marks an eof |
| 6044 |
object. |
| 6045 |
|
| 6046 |
* tests/gpgscm/scheme.c (scheme_init_custom_alloc): Initialize |
| 6047 |
'EOF_OBJ'. |
| 6048 |
|
| 6049 |
2016-06-21 Justus Winter <[email protected]> |
| 6050 |
|
| 6051 |
gpgscm: Add more file handling functions. |
| 6052 |
+ commit 5fee932e0ad2b2f5e876a70bdeef77c38e248a2e |
| 6053 |
* tests/gpgscm/ffi.c (do_glob): New function. |
| 6054 |
(ffi_init): Define new function. |
| 6055 |
* tests/gpgscm/tests.scm (basename-suffix): New function.x |
| 6056 |
|
| 6057 |
gpgscm: Improve test framework. |
| 6058 |
+ commit d7df61081ec228db17e2bfe2e05820da8cc2d264 |
| 6059 |
* tests/gpgscm/lib.scm (echo): Move... |
| 6060 |
* tests/gpgscm/tests.scm (echo): ... here. |
| 6061 |
(info, error, skip): And use echo here. |
| 6062 |
(file-exists?): New function. |
| 6063 |
(tr:spawn): Check that source exists and if the sink has been created. |
| 6064 |
(tr:call-with-content): Hand in optional arguments. |
| 6065 |
|
| 6066 |
gpgscm: Use native string searching functions. |
| 6067 |
+ commit f4a23bc0fae621ac4b0978de4ea8f976ec6b650f |
| 6068 |
* tests/gpgscm/ffi-private.h: Handle character arguments. |
| 6069 |
* tests/gpgscm/ffi.c (do_string_index): New function. |
| 6070 |
(do_string_rindex): Likewise. |
| 6071 |
(do_string_contains): Likewise. |
| 6072 |
(ffi_init): Define new functions. |
| 6073 |
* tests/gpgscm/ffi.scm (ffi-define): New macro. |
| 6074 |
* tests/gpgscm/lib.scm (string-index): Use native function, |
| 6075 |
demonstrate behavior. |
| 6076 |
(string-rindex): Likewise. |
| 6077 |
(string-contains?): Likewise. |
| 6078 |
Demonstrate behavior of various other functions. |
| 6079 |
(read-all): Rework so that it can handle large files. |
| 6080 |
|
| 6081 |
gpgscm: Improve error reporting. |
| 6082 |
+ commit 2bc2f95ac823f0a6449bd68dee4fc094db52f2e5 |
| 6083 |
* tests/gpgscm/scheme.c (type_to_string): New function. |
| 6084 |
(Eval_Cycle): Include actual type in error message. |
| 6085 |
|
| 6086 |
gpgscm: Make memory allocation failures fatal. |
| 6087 |
+ commit 224c171c856c662d22ba236eaa2128323bde1d08 |
| 6088 |
* tests/gpgscm/scheme.c (Eval_Cycle): Exit if we run out of memory. |
| 6089 |
|
| 6090 |
2016-06-17 Werner Koch <[email protected]> |
| 6091 |
|
| 6092 |
tests: Make make distcheck work again. |
| 6093 |
+ commit cdd09e054a6bc4716c7847fd0779a091cbca0e8f |
| 6094 |
* Makefile.am (tests): Remove test code which would led to doubling |
| 6095 |
calls to for e.g. "make distclean". |
| 6096 |
* tests/Makefile.am: Typo fixes. |
| 6097 |
* tests/gpgscm/Makefile.am (EXTRA_DIST): Fix name of License file. |
| 6098 |
Add repl.scm. |
| 6099 |
(check): Replace by check-local because check is a standard automake |
| 6100 |
target. |
| 6101 |
* tests/openpgp/Makefile.am (TESTS_ENVIRONMENT): Replace gmake0sim by |
| 6102 |
automake generated macro. |
| 6103 |
(EXTRA_DIST): Add defs.scm |
| 6104 |
|
| 6105 |
gpgscm: Silence compiler warnings. |
| 6106 |
+ commit d230bf3ee80cac2fe721afccab9e98b3a9be2e9a |
| 6107 |
* tests/gpgscm/scheme.c (mk_integer): Rename arg NUM to N. |
| 6108 |
(fill_vector): Ditto. |
| 6109 |
(mark): Rename var NUM to N. |
| 6110 |
(set_slot_in_env): Mark SC as unused. |
| 6111 |
(is_any): Mark P as unused. |
| 6112 |
|
| 6113 |
Add license notices for TinySCHEME. |
| 6114 |
+ commit 8b1798f10c2641f79f4d770e88712be8b13dc22f |
| 6115 |
* tests/gpgscm/COPYING: Rename to ... |
| 6116 |
* tests/gpgscm/LICENSE.TinySCHEME: this. |
| 6117 |
* AUTHORS: Add a note about TinySCHEME. |
| 6118 |
* build-aux/speedo/w32/pkg-copyright.txt: Add TinySCHEME notice. |
| 6119 |
|
| 6120 |
2016-06-17 Justus Winter <[email protected]> |
| 6121 |
|
| 6122 |
tests/gpgscm: Add a TinySCHEME-based test driver. |
| 6123 |
+ commit 5b417d262de048ef221ed77b2f9d2c1a843096bb |
| 6124 |
* configure.ac: Add new component. |
| 6125 |
* tests/Makefile.am: Likewise. |
| 6126 |
* tests/gpgscm/Makefile.am: New file. |
| 6127 |
* tests/gpgscm/ffi-private.h: Likewise. |
| 6128 |
* tests/gpgscm/ffi.c: Likewise. |
| 6129 |
* tests/gpgscm/ffi.h: Likewise. |
| 6130 |
* tests/gpgscm/ffi.scm: Likewise. |
| 6131 |
* tests/gpgscm/lib.scm: Likewise. |
| 6132 |
* tests/gpgscm/main.c: Likewise. |
| 6133 |
* tests/gpgscm/private.h: Likewise. |
| 6134 |
* tests/gpgscm/repl.scm: Likewise. |
| 6135 |
* tests/gpgscm/scheme-config.h: Likewise. |
| 6136 |
* tests/gpgscm/t-child.c: Likewise. |
| 6137 |
* tests/gpgscm/t-child.scm: Likewise. |
| 6138 |
* tests/gpgscm/tests.scm: Likewise. |
| 6139 |
|
| 6140 |
tests/gpgscm: Foreign objects support for TinySCHEME. |
| 6141 |
+ commit 9fecd60c32aca6b32008310237d0ed524eede3d5 |
| 6142 |
* tests/gpgscm/scheme-private.h (struct cell): Add 'foreign_object'. |
| 6143 |
(is_foreign_object): New prototype. |
| 6144 |
(get_foreign_object_{vtable,data}): Likewise. |
| 6145 |
* tests/gpgscm/scheme.c (enum scheme_types): New type. |
| 6146 |
(is_foreign_object): New function. |
| 6147 |
(get_foreign_object_{vtable,data}): Likewise. |
| 6148 |
(mk_foreign_object): Likewise. |
| 6149 |
(finalize_cell): Free foreign objects. |
| 6150 |
(atom2str): Pretty-print foreign objects. |
| 6151 |
(vtbl): Add new functions. |
| 6152 |
* tests/gpgscm/scheme.h (struct foreign_object_vtable): New type. |
| 6153 |
(mk_foreign_object): New prototype. |
| 6154 |
(struct scheme_interface): Add new functions. |
| 6155 |
|
| 6156 |
Patch from Thomas Munro, |
| 6157 |
https://sourceforge.net/p/tinyscheme/patches/13/ |
| 6158 |
|
| 6159 |
tests/gpgscm: Dynamically allocate string buffer. |
| 6160 |
+ commit ef65b7bb2232343f72d03a0e0521de4ada3dc63b |
| 6161 |
* tests/gpgscm/scheme-config.h (strbuff{,_size}): Make buffer dynamic. |
| 6162 |
* tests/gpgscm/scheme.c (expand_strbuff): New function. |
| 6163 |
(putcharacter): Adapt length test. |
| 6164 |
(readstrexp): Expand buffer if necessary. |
| 6165 |
(scheme_init_custom_alloc): Initialize buffer. |
| 6166 |
(scheme_deinit): Free buffer. |
| 6167 |
|
| 6168 |
Patch from Thomas Munro, |
| 6169 |
https://sourceforge.net/p/tinyscheme/patches/11/ |
| 6170 |
|
| 6171 |
tests/gpgscm: Make exception value available. |
| 6172 |
+ commit c0cf52627d8d68d23bcac60571455ffd1b052106 |
| 6173 |
* tests/gpgscm/init.scm (throw): Hand exception value to the handler. |
| 6174 |
(catch): And bind it to *error*. |
| 6175 |
|
| 6176 |
tests/gpgscm: Add package macro. |
| 6177 |
+ commit f6c0f9a420c4401d8d358049f8814799161185fa |
| 6178 |
* tests/gpgscm/init.scm: Add package macro from manual. |
| 6179 |
|
| 6180 |
tests/gpgscm: Expose function to open streams as Scheme ports. |
| 6181 |
+ commit 2717b9c172f0a25094ad2e654459dbe9d7180e38 |
| 6182 |
* tests/gpgscm/scheme.c (vtbl): Add 'port_from_file' to the vtable. |
| 6183 |
* tests/gpgscm/scheme.h (struct scheme_interface): New field |
| 6184 |
'mk_port_from_file'. |
| 6185 |
|
| 6186 |
tests/gpgscm: Nicer error message. |
| 6187 |
+ commit 0c601ae085e95745a950a9d75ffdc8be42b3e1b2 |
| 6188 |
* tests/gpgscm/scheme.c (opexe_0): Include the value that we tried to |
| 6189 |
evaluate as function-like in the error message. |
| 6190 |
|
| 6191 |
tests/gpgscm: Fix error hook. |
| 6192 |
+ commit 16e4898a735e8f85c4ca6b44adf5a92b1a42d1af |
| 6193 |
* tests/gpgscm/init.scm (*error-hook*): Fix error hook so that the |
| 6194 |
whole error message is displayed. |
| 6195 |
|
| 6196 |
tests/gpgscm: Handle unhandled enumeration values. |
| 6197 |
+ commit fe1c0866bc1b2c685136ea19521ffab2deb25ec3 |
| 6198 |
* tests/gpgscm/scheme.c (opexe_{3,4}): Handle unhandled enumeration |
| 6199 |
values in the opcode dispatching code. |
| 6200 |
|
| 6201 |
tests/gpgscm: Verbatim import of latest TinySCHEME. |
| 6202 |
+ commit 864992fdf695996dbac9bb344b1fdd879f735473 |
| 6203 |
Revision 110 from svn://svn.code.sf.net/p/tinyscheme/code/trunk |
| 6204 |
|
| 6205 |
* tests/gpgscm/COPYING: New file. |
| 6206 |
* tests/gpgscm/Manual.txt: Likewise. |
| 6207 |
* tests/gpgscm/init.scm: Likewise. |
| 6208 |
* tests/gpgscm/opdefines.h: Likewise. |
| 6209 |
* tests/gpgscm/scheme-private.h: Likewise. |
| 6210 |
* tests/gpgscm/scheme.c: Likewise. |
| 6211 |
* tests/gpgscm/scheme.h: Likewise. |
| 6212 |
|
| 6213 |
2016-06-15 Werner Koch <[email protected]> |
| 6214 |
|
| 6215 |
Release 1.23. |
| 6216 |
+ commit e444cacc74c488063336c196f0c01e98f67cf999 |
| 6217 |
|
| 6218 |
|
| 6219 |
po: Update German translation. |
| 6220 |
+ commit d878afa4b884149dca587131bdf5b6d8f96227fa |
| 6221 |
|
| 6222 |
|
| 6223 |
2016-06-15 Jakub Bogusz <[email protected]> |
| 6224 |
|
| 6225 |
po: Update Polish translation. |
| 6226 |
+ commit b908104846a71cf8ae3d3323be6bbc6edcef6ee0 |
| 6227 |
|
| 6228 |
|
| 6229 |
2016-06-15 Werner Koch <[email protected]> |
| 6230 |
|
| 6231 |
tests: Fix rare deadlock condition in t-poll. |
| 6232 |
+ commit 7ed150201cc5058650cf9673a4e53720a37841c8 |
| 6233 |
* tests/t-poll.c (launch_thread): Use es_fileno before starting the |
| 6234 |
thread. |
| 6235 |
|
| 6236 |
2016-06-15 NIIBE Yutaka <[email protected]> |
| 6237 |
|
| 6238 |
estream: Fix assertion failure due to es_flush. |
| 6239 |
+ commit 28fd0ab40739e8cb73f208e30f78d8aa7a0a6d19 |
| 6240 |
* src/estream.c (es_writen): Set writing flag even if no data was |
| 6241 |
written. |
| 6242 |
|
| 6243 |
2016-06-15 Werner Koch <[email protected]> |
| 6244 |
|
| 6245 |
Adjust memory limit of es_fopenmem to the block size. |
| 6246 |
+ commit baf4bcc0973c8b04bd760aaab0f4232c9354e203 |
| 6247 |
* src/estream.c (func_mem_create): Round up memory limit. |
| 6248 |
|
| 6249 |
2016-05-17 Werner Koch <[email protected]> |
| 6250 |
|
| 6251 |
Add GPG_ERR_SUBKEYS_EXP_OR_REV. |
| 6252 |
+ commit 1ee822f9ff73a9a302ad0eb298640797d735e62b |
| 6253 |
|
| 6254 |
|
| 6255 |
2016-05-07 Werner Koch <[email protected]> |
| 6256 |
|
| 6257 |
syscfg: Add a powerpc and a tilgegx architecture. |
| 6258 |
+ commit dfcd58fd3f58e548062b91bd6e20e27cbf4da18d |
| 6259 |
* src/syscfg/lock-obj-pub.powerpc-unknown-linux-gnuspe.h: New. |
| 6260 |
* src/syscfg/lock-obj-pub.tilegx-unknown-linux-gnu.h: New. |
| 6261 |
* src/Makefile.am (lock_obj_pub): Add them. |
| 6262 |
|
| 6263 |
2016-04-25 Werner Koch <[email protected]> |
| 6264 |
|
| 6265 |
Release 1.22. |
| 6266 |
+ commit 9a05076e90eef504cbc3ef614982f856b9b60540 |
| 6267 |
* configure.ac: Set LT version to C18/A18/R0. |
| 6268 |
|
| 6269 |
build: Update config.{guess,sub} to 2016-04-02 and 2016-03-30. |
| 6270 |
+ commit 8ae3af15caaaaffaa9dbeab5fd767076891200bb |
| 6271 |
* build-aux/config.guess: Update. |
| 6272 |
* build-aux/config.sub: Update. |
| 6273 |
|
| 6274 |
2016-04-25 NIIBE Yutaka <[email protected]> |
| 6275 |
|
| 6276 |
Fix for HPPA. |
| 6277 |
+ commit f1104b92249005a31961d1a32c38ba65a0b3ff3a |
| 6278 |
* configure.ac (HAVE_GCC_ATTRIBUTE_ALIGNED): Revert. |
| 6279 |
* src/gen-posix-lock-obj.c (USE_16BYTE_ALIGNMENT): Revert. |
| 6280 |
* src/syscfg/lock-obj-pub.hppa-unknown-linux-gnu.h: Revert. |
| 6281 |
|
| 6282 |
2016-04-21 Werner Koch <[email protected]> |
| 6283 |
|
| 6284 |
w32: Add iconv functions. |
| 6285 |
+ commit 1cd1ddb4ac2c13223a073f6d77696bcd6253e2ff |
| 6286 |
* src/w32-add.h (gpgrt_w32_iconv_t): New. |
| 6287 |
(gpgrt_w32_iconv_open, gpgrt_w32_iconv_close, gpgrt_w32_iconv): New. |
| 6288 |
( GPGRT_ENABLE_W32_ICONV_MACROS): New |
| 6289 |
* src/w32-iconv.c: Change license to LGPLv2.1+. Dispable mlang |
| 6290 |
feature. Remove external DLL loading. Simplify iconv functions. Use |
| 6291 |
cleaner context struct pattern. Use gpgrt namespace. |
| 6292 |
* src/gpg-error.def.in: Add new functions. |
| 6293 |
|
| 6294 |
2016-04-05 Werner Koch <[email protected]> |
| 6295 |
|
| 6296 |
estream,w32: Temporary fix for gpgrt_poll. |
| 6297 |
+ commit 4354720ab3631dfd2811d881566b10a72c8f2165 |
| 6298 |
* src/estream.c (_gpgrt_poll) [W32]: Do not use FD_ISSET. |
| 6299 |
|
| 6300 |
2016-03-29 Werner Koch <[email protected]> |
| 6301 |
|
| 6302 |
estream: Prepare for new mode flag "sysopen". |
| 6303 |
+ commit 5d1adaa5fd12f65f49abeb99e5ae7226ec27ba0e |
| 6304 |
* src/estream.c (parse_mode): Add arg "sysopen". Adjust all callers. |
| 6305 |
|
| 6306 |
estream: Use simpler names for static functions. |
| 6307 |
+ commit de0618d5c64e02b9b3a568fc859d9edcb4ab35ba |
| 6308 |
* src/estream.c: Replace all es_func_* to just func_*. |
| 6309 |
|
| 6310 |
estream: Remove strange macro for better readability. |
| 6311 |
+ commit 217a451d54186283f09af5b3c03933f214ddf1c0 |
| 6312 |
* src/estream.c (SET_UNLESS_NONZERO): Remove macro. |
| 6313 |
(es_deinitialize): Replace that macro by direct code. |
| 6314 |
|
| 6315 |
2016-03-24 Peter Wu <[email protected]> |
| 6316 |
|
| 6317 |
Add function gpgrt_annotate_leaked_object. |
| 6318 |
+ commit 52c3606b2384f33ef30ea5ada3f187829de9dcf7 |
| 6319 |
* src/gpg-error.h.in: add gpgrt_annotate_leaked_object to support |
| 6320 |
marking memory as non-leaked for Clang and GCC. |
| 6321 |
|
| 6322 |
2016-03-14 Kylie McClain <[email protected]> |
| 6323 |
|
| 6324 |
syscfg: Add lock-obj-pub files for {armv5, armv6, x86_64}-musl targets. |
| 6325 |
+ commit 140cfd51cee738a55caf9d347981f6f81e1990a4 |
| 6326 |
* src/syscfg/lock-obj-pub.armv5-unknown-linux-musleabi.h: New. |
| 6327 |
* src/syscfg/lock-obj-pub.armv6-unknown-linux-musleabihf.h New. |
| 6328 |
* src/syscfg/lock-obj-pub.x86_64-pc-linux-musl.h: New. |
| 6329 |
* src/Makefile.am (lock_obj_pub): Add files. |
| 6330 |
|
| 6331 |
2016-03-04 NIIBE Yutaka <[email protected]> |
| 6332 |
|
| 6333 |
Fix detecting Solaris operating system. |
| 6334 |
+ commit f7a77c5c236ecec846de9be46703026f9b01008f |
| 6335 |
* src/gen-posix-lock-obj.c (USE_DOUBLE_FOR_ALIGNMENT): Check for |
| 6336 |
the macro __sun. |
| 6337 |
|
| 6338 |
For Solaris, add -lrt correctly. |
| 6339 |
+ commit f9fc565129293f47cbfe4da48fcd6099e9ce5508 |
| 6340 |
* configure.ac (LIB_SCHED_YIELD): Not avoiding defining LIB. |
| 6341 |
|
| 6342 |
2016-03-01 NIIBE Yutaka <[email protected]> |
| 6343 |
|
| 6344 |
Fix for Solaris. |
| 6345 |
+ commit 34b07146bbb0863436fc9381a84314b18bdfb807 |
| 6346 |
* src/gen-posix-lock-obj.c (USE_DOUBLE_FOR_ALIGNMENT): Check LP64. |
| 6347 |
|
| 6348 |
2016-02-26 NIIBE Yutaka <[email protected]> |
| 6349 |
|
| 6350 |
po: Update Japanese translation. |
| 6351 |
+ commit 49655fb6ef39b307787e1b6e00c996f9c7db64f7 |
| 6352 |
|
| 6353 |
|
| 6354 |
Add support for Solaris, fixing HPPA. |
| 6355 |
+ commit 5168b97fb5e2eebdc99b40f96f9b6289647e87d2 |
| 6356 |
* configure.ac (HAVE_GCC_ATTRIBUTE_ALIGNED): Remove. |
| 6357 |
(LIB_SCHED_YIELD): New. Check sched_yield in -lrt. |
| 6358 |
* src/gen-posix-lock-obj.c (USE_16BYTE_ALIGNMENT): Remove. |
| 6359 |
(USE_DOUBLE_FOR_ALIGNMENT, USE_LONG_DOUBLE_FOR_ALIGNMENT): New. |
| 6360 |
* src/syscfg/lock-obj-pub.hppa-unknown-linux-gnu.h: Update. |
| 6361 |
|
| 6362 |
2016-02-08 Werner Koch <[email protected]> |
| 6363 |
|
| 6364 |
build: Create an SWDB file during "make distcheck" |
| 6365 |
+ commit 1e6c5a70b3b51f81d2fc1289129f6c3e1920ebcc |
| 6366 |
* Makefile.am (distcheck-hook): New. |
| 6367 |
|
| 6368 |
2016-01-19 Werner Koch <[email protected]> |
| 6369 |
|
| 6370 |
Add GPG_ERR_DB_CORRUPTED. |
| 6371 |
+ commit b3bb6e2cc31208a198e74b42ca495c08ebb00fc4 |
| 6372 |
|
| 6373 |
|
| 6374 |
2016-01-13 Marek Vasut <[email protected]> |
| 6375 |
|
| 6376 |
Add new lock-obj-pub for NIOS2. |
| 6377 |
+ commit 71370060aae7a83f4d6c3b9c924f204a57cc2538 |
| 6378 |
src/syscfg/lock-obj-pub.nios2-unknown-linux-gnu.h: New. |
| 6379 |
|
| 6380 |
2015-12-14 NIIBE Yutaka <[email protected]> |
| 6381 |
|
| 6382 |
po: Update Japanese translation. |
| 6383 |
+ commit 1814a9bdc15f00bcf6b13ad16857a4f4922fa1d7 |
| 6384 |
|
| 6385 |
|
| 6386 |
2015-12-12 Werner Koch <[email protected]> |
| 6387 |
|
| 6388 |
Release 1.21. |
| 6389 |
+ commit 425b7687b4f74a22b0aa760262cb8f13ae40dc26 |
| 6390 |
* configure.ac: Set LT version to C17/A17/Ro. |
| 6391 |
|
| 6392 |
2015-12-07 Andre Heinecke <[email protected]> |
| 6393 |
|
| 6394 |
Fix windows 8bit encoding conversion. |
| 6395 |
+ commit 823e858cdf5eb6b9945a46478f9876819c16bcd3 |
| 6396 |
* src/w32-gettext.c (wchar_to_native): Convert to ConsoleOutputCP. |
| 6397 |
|
| 6398 |
2015-12-03 Justus Winter <[email protected]> |
| 6399 |
|
| 6400 |
tests: Fix read past buffer. |
| 6401 |
+ commit 68827cbba2083db40df92de1bc449a3d2d0e81ed |
| 6402 |
* tests/t-poll.c (test_poll): Fix read past buffer. |
| 6403 |
|
| 6404 |
2015-11-19 Justus Winter <[email protected]> |
| 6405 |
|
| 6406 |
Avoid 'malloc' corner case. |
| 6407 |
+ commit 06af687beaa1f8e72a05bd3a057b73fecb158c3d |
| 6408 |
* src/init.c (_gpgrt_realloc): Avoid calling 'malloc(0)'. |
| 6409 |
|
| 6410 |
2015-10-21 Werner Koch <[email protected]> |
| 6411 |
|
| 6412 |
Add error codes NO_NAME, NO_KEY, and SERVER_FAILURE. |
| 6413 |
+ commit a144fa8863846dc3f6d34731741cd63251620837 |
| 6414 |
|
| 6415 |
|
| 6416 |
2015-10-18 Werner Koch <[email protected]> |
| 6417 |
|
| 6418 |
estream: Avoid calling write(fd,NULL,n). |
| 6419 |
+ commit 75172adc3b103bd7ef75575a0c0c9c3b63fa4023 |
| 6420 |
* src/estream.c (es_func_fd_write): Take care of a flush requests. |
| 6421 |
(es_func_w32_write): Ditto. |
| 6422 |
(es_func_fp_write): Ditto. |
| 6423 |
|
| 6424 |
2015-09-28 Werner Koch <[email protected]> |
| 6425 |
|
| 6426 |
estream: Keep track of EPIPE. |
| 6427 |
+ commit c09997bc50f3fffaf76d60d2e571b1d85536571e |
| 6428 |
* src/estream.c (_gpgrt_stream_internal): Add indicators.hup. |
| 6429 |
(init_stream_obj): Init it. |
| 6430 |
(es_fill, es_flush, es_seek): Set that. |
| 6431 |
(_gpgrt_poll): Set event. |
| 6432 |
|
| 6433 |
Add GPG_ERR_FALSE and GPG_ERR_TRUE error codes. |
| 6434 |
+ commit d3e9514ff82ff767fc78ce485aef71ba56f3c0d5 |
| 6435 |
|
| 6436 |
|
| 6437 |
2015-09-25 Werner Koch <[email protected]> |
| 6438 |
|
| 6439 |
estream: Add gpgrt_set_nonblock and gpgrt_poll. |
| 6440 |
+ commit 071c2170479869f4c6694ae85d2b113e84482a01 |
| 6441 |
* configure.ac (AC_CHECK_HEADERS): Add sys/select.h and sys/time.h. |
| 6442 |
* src/estream.c: Include both header if available. |
| 6443 |
(COOKIE_IOCTL_NONBLOCK): New. |
| 6444 |
(struct estream_cookie_fd): Add field nonblock. |
| 6445 |
(func_fd_create): Set nonblock from MODEFLAGS. |
| 6446 |
(es_func_fd_ioctl): New. |
| 6447 |
(parse_mode): Add modeflag "nonblock". |
| 6448 |
(es_fill): Map EWOULDBLOCK to EAGAIN. Do not set error indicator for |
| 6449 |
EAGAIN. |
| 6450 |
(es_flush, es_seek, es_write_nbf): Map EWOULDBLOCK to EAGAIN. |
| 6451 |
(do_fdopen): Call COOKIE_IOCTL_NONBLOCK. |
| 6452 |
(_gpgrt_set_nonblock): New. |
| 6453 |
(_gpgrt_get_nonblock): New. |
| 6454 |
(_gpgrt_poll): New. |
| 6455 |
|
| 6456 |
* src/gpg-error.h.in (struct _gpgrt_poll_s): New. |
| 6457 |
(gpgrt_poll_t, es_poll_t): New. |
| 6458 |
(es_set_nonblock, es_get_nonblock, es_poll): New. |
| 6459 |
|
| 6460 |
* src/gpg-error.vers, src/gpg-error.def.in: Add gpgrt_set_nonblock, |
| 6461 |
gpgrt_get_nonblock, and gpgrt_poll. |
| 6462 |
* src/visibility.c (gpgrt_set_nonblock, gpgrt_get_nonblock): New. |
| 6463 |
(gpgrt_poll): New. |
| 6464 |
|
| 6465 |
* tests/t-common.h (DIM): New. |
| 6466 |
* tests/t-poll.c: New. |
| 6467 |
* tests/Makefile.am (TESTS): Add t-poll. |
| 6468 |
(t_poll_LDADD): New. |
| 6469 |
|
| 6470 |
2015-09-24 Werner Koch <[email protected]> |
| 6471 |
|
| 6472 |
estream: Replace indicator help functions to ease code reading. |
| 6473 |
+ commit 61d832c53b7db5367a5542347e3454c882d0bf28 |
| 6474 |
* src/estream.c (es_set_indicators, es_get_indicator): Remove and |
| 6475 |
change callers to set/get indicators directly. |
| 6476 |
|
| 6477 |
2015-09-17 Daniel Kahn Gillmor <[email protected]> |
| 6478 |
|
| 6479 |
Support i[456]86-pc{,-linux,-kfreebsd}-gnu.h. |
| 6480 |
+ commit 9decdd7bd105ff6a0973cc1f6652e0eb0625d640 |
| 6481 |
* src/mkheader (canon_host_triplet): Add new entries. |
| 6482 |
* src/syscfg/lock-obj-pub.i486-pc-gnu.h: Rename to ... |
| 6483 |
* src/syscfg/lock-obj-pub.i686-pc-gnu.h: this. |
| 6484 |
* src/syscfg/lock-obj-pub.i486-pc-kfreebsd-gnu.h: Rename to ... |
| 6485 |
* src/syscfg/lock-obj-pub.i686-pc-kfreebsd-gnu.h: this. |
| 6486 |
* src/syscfg/lock-obj-pub.i486-pc-linux-gnu.h: Remove. |
| 6487 |
* src/Makefile.am (lock_obj_pub): Update. |
| 6488 |
|
| 6489 |
2015-08-26 Werner Koch <[email protected]> |
| 6490 |
|
| 6491 |
Release 1.20. |
| 6492 |
+ commit 44caed05ec146654f1ce40bba4b25def83c369db |
| 6493 |
* configure.ac: Set LT version to C16/A16/R0. |
| 6494 |
|
| 6495 |
Add new version macros. |
| 6496 |
+ commit 030ee30c4ae85f2f41ca77651e4a7d7c9993e284 |
| 6497 |
* src/gpg-error.h.in (GPGRT_VERSION): New. |
| 6498 |
(GPGRT_VERSION_NUMBER): New. |
| 6499 |
(GPG_ERROR_VERSION, GPG_ERROR_VERSION_NUMBER): Move to top of file. |
| 6500 |
|
| 6501 |
Add macro GPGRT_INLINE and avoid -Wundef warnings. |
| 6502 |
+ commit 9cd3f002addf2acae4a7b0f52f8941e517e83d73 |
| 6503 |
* src/gpg-error.h.in (GPG_ERR_INLINE): Use #if defined for possible |
| 6504 |
undefined macros to avoid warnign with GCC's -Wundef option. |
| 6505 |
(GPGRT_INLINE): New. |
| 6506 |
|
| 6507 |
2015-08-26 Yuri Chornoivan <[email protected]> |
| 6508 |
|
| 6509 |
Update Ukrainian translation. |
| 6510 |
+ commit 17e4f727d9bd8e406bf977af445ef57201d23249 |
| 6511 |
|
| 6512 |
|
| 6513 |
2015-08-25 Werner Koch <[email protected]> |
| 6514 |
|
| 6515 |
Make configure option --disable-build-timestamp the default. |
| 6516 |
+ commit d328c4d72fa6d224117d7332082509c240a4f2fc |
| 6517 |
* configure.ac (BUILD_TIMESTAMP): Set to "<none>" by default. |
| 6518 |
|
| 6519 |
w32: Make sure the setmode is called. |
| 6520 |
+ commit 1e8d00260a97e0213559c74f687e478e7479a0ea |
| 6521 |
* src/estream.c (HAVE_DOSISH_SYSTEM): Define if needed. |
| 6522 |
|
| 6523 |
2015-07-27 Werner Koch <[email protected]> |
| 6524 |
|
| 6525 |
Add option --lib-version to the gpg-error tool. |
| 6526 |
+ commit d2e4bb4c77167a1ed10f1017a7d06a822bbd5135 |
| 6527 |
* src/gpg-error.c (main): Add new option. |
| 6528 |
|
| 6529 |
2015-07-24 Werner Koch <[email protected]> |
| 6530 |
|
| 6531 |
Add new public macros for GCC attributes. |
| 6532 |
+ commit 4e790613f66efcfc62d73722d5f1730a37cb8324 |
| 6533 |
* src/gpg-error.h.in (GPGRT_GCC_VERSION): New. |
| 6534 |
(GPGRT_ATTR_NORETURN, GPGRT_ATTR_PRINTF, GPGRT_ATTR_NR_PRINTF): New. |
| 6535 |
(GPGRT_ATTR_FORMAT_ARG, GPGRT_ATTR_SENTINEL): New. |
| 6536 |
(GPGRT_ATTR_USED, GPGRT_ATTR_UNUSED, GPGRT_ATTR_DEPRECATED): New. |
| 6537 |
(GPGRT_ATTR_PURE, GPGRT_ATTR_MALLOC): New. |
| 6538 |
(GPGRT_HAVE_MACRO_FUNCTION, GPGRT_HAVE_PRAGMA_GCC_PUSH): New. |
| 6539 |
(_GPGRT_GCC_A_PRINTF): Replace GPGRT_ATTR_PRINTF. |
| 6540 |
|
| 6541 |
2015-06-15 Werner Koch <[email protected]> |
| 6542 |
|
| 6543 |
Allow building with --disable-threads. |
| 6544 |
+ commit 13918d05a333255d22aa6718dd467fcb8eaf80c8 |
| 6545 |
* src/posix-lock-obj.h (LOCK_ABI_NOT_AVAILABLE): New. |
| 6546 |
(LOCK_ABI_VERSION): Define depending on USE_POSIX_THREADS. |
| 6547 |
(_gpgrt_lock_t) [!USE_POSIX_THREADS]: Do not define the union. |
| 6548 |
* src/gen-posix-lock-obj.c: Take care of USE_POSIX_THREADS. |
| 6549 |
* src/posix-lock.c (_gpgrt_lock_init, _gpgrt_lock_lock) |
| 6550 |
(_gpgrt_lock_trylock, _gpgrt_lock_unlock) |
| 6551 |
(_gpgrt_lock_destroy): Return success for a no-threads version. |
| 6552 |
* tests/t-lock.c: Disable tests if threads are not available. |
| 6553 |
* src/mkheader.c (main): Add NO-THREADS to the printed comment. |
| 6554 |
* configure.ac: Show NO-TRHEADS in the final summary. |
| 6555 |
|
| 6556 |
2015-04-14 NIIBE Yutaka <[email protected]> |
| 6557 |
|
| 6558 |
po: Update Japanese translation. |
| 6559 |
+ commit 4171d61a97d9628532db84b590a9c135f360fa90 |
| 6560 |
|
| 6561 |
|
| 6562 |
2015-04-10 Werner Koch <[email protected]> |
| 6563 |
|
| 6564 |
Release 1.19. |
| 6565 |
+ commit d77c33ae608d67086ea057cca5ddee99a7202f8b |
| 6566 |
|
| 6567 |
|
| 6568 |
po: Update German translation. |
| 6569 |
+ commit e43045fe63aed0aba6522ebfd6e336b03f250069 |
| 6570 |
|
| 6571 |
|
| 6572 |
w32: Remove compiler warnings. |
| 6573 |
+ commit eaec10f48803ee2232d1c1515fbe8f485c1e84b0 |
| 6574 |
* src/Makefile.am (pre_mkheader_cmds): Avoid make diagnostic about |
| 6575 |
failed but ignored command. This confuses Emacs' compiler job parser. |
| 6576 |
* tests/t-lock.c [W32]: Include time.h. |
| 6577 |
* src/init.c: Reorganize Windows only code. |
| 6578 |
(wchar_to_utf8, utf8_to_wchar): Remove unused functions. |
| 6579 |
(_gpg_err_set_errno): Use only one copy for all platforms. |
| 6580 |
|
| 6581 |
2015-03-24 Werner Koch <[email protected]> |
| 6582 |
|
| 6583 |
Use assert to print diagnosicts before calling abort. |
| 6584 |
+ commit 56feff58d4fab92701ae77a1004af820b85e7f6c |
| 6585 |
* src/posix-lock.c: Add assert calls. |
| 6586 |
|
| 6587 |
2015-03-24 Daniel Kahn Gillmor <[email protected]> |
| 6588 |
|
| 6589 |
Avoid breakage with gcc 5. |
| 6590 |
+ commit c01c8f0c4f55d76b037c7f6aa44ad25ede18d38a |
| 6591 |
* src/Makefile.am: Add -P to the C preprocessor when building |
| 6592 |
mkerrcodes.h, to avoid a noisy intermediate pipeline. |
| 6593 |
|
| 6594 |
2015-03-19 Werner Koch <[email protected]> |
| 6595 |
|
| 6596 |
Add option --defines to gpg-error. |
| 6597 |
+ commit 528ee704f8f9d881ba370dcbfa9194d6704f9a2f |
| 6598 |
* src/gpg-error.c (main): Add option --help and --defines. |
| 6599 |
|
| 6600 |
Add GPG_ERR_LDAP_* error codes. |
| 6601 |
+ commit dc95f1ea1ab902b9f49de651084f514535e4a3fc |
| 6602 |
* src/err-codes.h.in: Add error codes. |
| 6603 |
* doc/ldap2gpgerr.c: New. |
| 6604 |
|
| 6605 |
2015-03-16 Werner Koch <[email protected]> |
| 6606 |
|
| 6607 |
Remove useless conditions. |
| 6608 |
+ commit b5cb32f979a80904ea58fc7531e43e2be2270573 |
| 6609 |
* src/estream.c (fname_set_internal): Remove useless condition. |
| 6610 |
* src/mkheader.c (main): Ditto. |
| 6611 |
|
| 6612 |
2015-03-06 Werner Koch <[email protected]> |
| 6613 |
|
| 6614 |
Add host-triplet aliasing feature to mkheader. |
| 6615 |
+ commit 4441e96801fdc4c900abae8c0aa0b53e2e26e079 |
| 6616 |
* src/Makefile.am (lock_obj_pub): Rename i586-pc-linux-gnu to |
| 6617 |
i686-pc-linux-gnu. Remove i486-pc-linux-gnu. |
| 6618 |
* src/mkheader.c (canon_host_triplet): New. |
| 6619 |
(main): Use it. |
| 6620 |
|
| 6621 |
w32: Add a manifest to libgpg-error. |
| 6622 |
+ commit 0f814d4c4a285573eef2391c70e21cf8126cafcb |
| 6623 |
* src/gpg-error.w32-manifest.in: New. |
| 6624 |
* src/Makefile.am (EXTRA_DIST): Add it. |
| 6625 |
(versioninfo.lo): Depend on it. |
| 6626 |
* src/versioninfo.rc.in: Add it. |
| 6627 |
* configure.ac (AC_CONFIG_FILES): Add it. |
| 6628 |
(BUILD_VERSION): New. |
| 6629 |
|
| 6630 |
2015-02-18 Neal H. Walfield <[email protected]> |
| 6631 |
|
| 6632 |
Correct URL. |
| 6633 |
+ commit b400d7c65daaf44f227073ddde7d06986afde786 |
| 6634 |
|
| 6635 |
|
| 6636 |
2015-01-30 Werner Koch <[email protected]> |
| 6637 |
|
| 6638 |
w32: Use -static-libgcc to avoid linking to libgcc_s_sjlj-1.dll. |
| 6639 |
+ commit 8487ec25e1c8f73ca7dc31e5d648cb05eede0f14 |
| 6640 |
* src/Makefile.am (extra_ltoptions): New. |
| 6641 |
(libgpg_error_la_LDFLAGS): Use it. |
| 6642 |
|
| 6643 |
2015-01-26 Werner Koch <[email protected]> |
| 6644 |
|
| 6645 |
Release 1.18. |
| 6646 |
+ commit f79688532f100599b1e24dde1429a229524601c9 |
| 6647 |
* configure.ac: Set LT version to C14/A14/R0. |
| 6648 |
|
| 6649 |
po: Update German translation. |
| 6650 |
+ commit 83c0bd462b45ddb75da8c2778ba1fb0c210b53ff |
| 6651 |
|
| 6652 |
|
| 6653 |
2015-01-22 Werner Koch <[email protected]> |
| 6654 |
|
| 6655 |
Add GPG_ERR_LEGACY_KEY. |
| 6656 |
+ commit 524d5bdee2954337e748428469972957663d497d |
| 6657 |
|
| 6658 |
|
| 6659 |
2015-01-05 Werner Koch <[email protected]> |
| 6660 |
|
| 6661 |
Avoid false warning about uninitialized var. |
| 6662 |
+ commit 46aaffbe852e334fd1a72affc4a918ceb7dc457b |
| 6663 |
* src/gpg-error.c (get_err_from_str): Init SAVED_CHAR. |
| 6664 |
|
| 6665 |
build: Update to gettext 0.19. |
| 6666 |
+ commit abe43b5cbf066086deb735bba37178b34f12a4cb |
| 6667 |
* po/Makefile.in.in (MSGMERGE): Remove --previous. |
| 6668 |
* po/Makevars (MSGMERGE_OPTIONS): Add --previous. |
| 6669 |
|
| 6670 |
build: Require automake 1.14. |
| 6671 |
+ commit 3d32de205211ca91d21941273db306a759ccc3ba |
| 6672 |
* configure.ac (AM_INIT_AUTOMAKE): Add serial-tests. |
| 6673 |
* tests/Makefile.am (INCLUDES): Replace by AM_CPPFLAGS. |
| 6674 |
|
| 6675 |
2014-12-28 Werner Koch <[email protected]> |
| 6676 |
|
| 6677 |
Add GPG_ERR_REQUEST_TOO_SHORT and GPG_ERR_REQUEST_TOO_LONG. |
| 6678 |
+ commit a672a1510456f3f12769938ab95c50ec6904e42e |
| 6679 |
|
| 6680 |
|
| 6681 |
2014-12-15 Werner Koch <[email protected]> |
| 6682 |
|
| 6683 |
Fix commit 754a987. |
| 6684 |
+ commit bcd9295d5b9c9f46478bff0680f57bd71b4061f8 |
| 6685 |
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New. |
| 6686 |
(AUTOMAKE_OPTIONS): Move options to ... |
| 6687 |
* configure.ac (AM_INIT_AUTOMAKE): .. here. |
| 6688 |
(BUILD_DOC): Fix commit 754a987. |
| 6689 |
|
| 6690 |
Add configure option --disable-doc. |
| 6691 |
+ commit 754a987f6df59e2ba0e69aada65ae4aaf593c148 |
| 6692 |
* Makefile.am (doc) [!BUILD_DOC]: Do not recurse into doc/. |
| 6693 |
* configure.ac (BUILD_DOC): New am_conditional and new option. |
| 6694 |
|
| 6695 |
Add GPG_ERR_OBJ_TERM_STATE. |
| 6696 |
+ commit 923c4b174520c401a827d8198ebd2dc83666000f |
| 6697 |
|
| 6698 |
|
| 6699 |
2014-12-03 Werner Koch <[email protected]> |
| 6700 |
|
| 6701 |
Add GPG_ERR_FORBIDDEN. |
| 6702 |
+ commit 149fe98e1279b065edb06958d9a73a0c013c2db9 |
| 6703 |
|
| 6704 |
|
| 6705 |
2014-11-26 Мирослав Николић <[email protected]> |
| 6706 |
|
| 6707 |
po: Add Serbian translation. |
| 6708 |
+ commit 210126d38096e764dd3a82da45f8b5f66309ecd5 |
| 6709 |
|
| 6710 |
|
| 6711 |
2014-10-25 Daniel Kahn Gillmor <[email protected]> |
| 6712 |
|
| 6713 |
Add new lock-obj-pub for mips64el-unknown-linux-gnuabi64. |
| 6714 |
+ commit a186f35d05575d6d653e5bebb2dd169d9444af18 |
| 6715 |
* src/syscfg/lock-obj-pub.mips64el-unknown-linux-gnuabi64.h: New. |
| 6716 |
* src/Makefile.am (lock_obj_pub): Add. |
| 6717 |
|
| 6718 |
2014-10-23 Daniel Kahn Gillmor <[email protected]> |
| 6719 |
|
| 6720 |
add lock-obj header for or1k-unknown-linux-gnu. |
| 6721 |
+ commit c143fa81462584ad39ea780908266bce3fb9a49e |
| 6722 |
* src/syscfg/lock-obj-pub.or1k-unknown-linux-gnu.h: new |
| 6723 |
|
| 6724 |
add lock-obj for new arch triplet for x86. |
| 6725 |
+ commit d85af2fbac956eb2a8630d1c17b53a7a8760d7a4 |
| 6726 |
* src/sysconfig/lock-obj-pub.i586-pc-linux-gnu.h: New. |
| 6727 |
|
| 6728 |
2014-10-15 Werner Koch <[email protected]> |
| 6729 |
|
| 6730 |
Release 1.17. |
| 6731 |
+ commit 1d9e4c29fc23da64f964ed3337cd18429e1a2964 |
| 6732 |
* configure.ac: Set LT version to C13/A13/R0. |
| 6733 |
|
| 6734 |
doc: Add a man page for gpg-error-config. |
| 6735 |
+ commit 9d9c25f6d76f1287f193f170ae5534f1ac346db0 |
| 6736 |
* doc/gpgrt.texi: New. Just a start for now. |
| 6737 |
* doc/gpl.texi, doc/lgpl.texi: New. Take from Libgcrypt. |
| 6738 |
* doc/yat2m.c: New. Take from GnuPG master. |
| 6739 |
* doc/Makefile.am: New. |
| 6740 |
* configure.ac (AC_CONFIG_FILES): Add doc/Makefile. |
| 6741 |
* Makefile.am (SUBDIRS): Add doc/. |
| 6742 |
* build-aux/mdate-sh, build-aux/texinfo.tex: New. |
| 6743 |
|
| 6744 |
Fix to help building native on Windows. |
| 6745 |
+ commit 7285a27a7985c10f6778c67b31dd501e6594cb44 |
| 6746 |
* configure.ac (FORCE_USE_SYSCFG): New am_conditional. |
| 6747 |
* src/Makefile.am: Use new conditional to decide whether to build the |
| 6748 |
native lock object header. |
| 6749 |
|
| 6750 |
2014-10-03 Werner Koch <[email protected]> |
| 6751 |
|
| 6752 |
Change gpgrt_pending{,_unlocked} to macros. |
| 6753 |
+ commit 12b5188bd495e45775c34c8e6263e6be177c03da |
| 6754 |
* src/gpg-error.h.in (gpgrt_pending): Change to a macro. |
| 6755 |
(gpgrt_pending_unlocked): Change to a macro. |
| 6756 |
(_gpgrt_pending, _gpgrt_pending_unlocked): New private functions. |
| 6757 |
* src/visibility.c, src/visibility.h: Change accordingly. |
| 6758 |
* src/gpg-error.vers, src/gpg-error.def.in: Ditto. |
| 6759 |
* src/estream.c (_gpgrt_pending_unlocked): Rename to |
| 6760 |
_gpgrt__pending_unlocked. |
| 6761 |
(_gpgrt_pending): Rename to _gpgrt__pending. |
| 6762 |
|
| 6763 |
2014-10-02 Werner Koch <[email protected]> |
| 6764 |
|
| 6765 |
w32: Make it build again. |
| 6766 |
+ commit e8b04bed1093a9f1d87c150326e79adfeb02e2b4 |
| 6767 |
* src/estream.c (es_func_w32_read): Fix var name. |
| 6768 |
|
| 6769 |
build: Support SYSROOT based config script finding. |
| 6770 |
+ commit 3ecdcb6ac814e3b63aebbf66729ae6cb67c9f6d2 |
| 6771 |
* src/gpg-error.m4: Add support for SYSROOT and set |
| 6772 |
gpg_config_script_warn. Use AC_PATH_PROG instead of AC_PATH_TOOL |
| 6773 |
because the config script is not expected to be installed with a |
| 6774 |
prefix for its name. |
| 6775 |
|
| 6776 |
Add GPG_ERR_BOGUS_STRING and an experimental gpgrt_pending. |
| 6777 |
+ commit 74abfcf0c3ba7cd6ce36540c70699fc1719248b3 |
| 6778 |
* src/visibility.c (gpgrt_pending, gpgrt_pending_unlocked): New. |
| 6779 |
* src/estream.c (_gpgrt_pending, _gpgrt_pending_unlocked): New. |
| 6780 |
(check_pending): new. |
| 6781 |
(check_pending_fbf, check_pending_nbf): New. |
| 6782 |
(es_func_mem_read, es_func_fd_read, es_func_w32_read) |
| 6783 |
(es_func_fp_read, es_fill): Take care of the special 0 value for SIZE. |
| 6784 |
|
| 6785 |
2014-09-29 Daniel Kahn Gillmor <[email protected]> |
| 6786 |
|
| 6787 |
GNU calls little-endian powerpc64 powerpc64le, not powerpc64el. |
| 6788 |
+ commit d2757001c5719ca8c8bd6aa2e2e2d9a299fb76c6 |
| 6789 |
* src/Makefile.am (lock_obj_pub): fix powerpc64el to powerpc64le |
| 6790 |
* src/sysconfig/lock-obj-pub.powerpc64el-unknown-linux-gnu.h : move to |
| 6791 |
src/sysconfig/lock-obj-pub.powerpc64le-unknown-linux-gnu.h |
| 6792 |
|
| 6793 |
2014-09-29 Werner Koch <[email protected]> |
| 6794 |
|
| 6795 |
Add error codes for use by a TLS library. |
| 6796 |
+ commit d58fa35e89feddb71feeba8e39a016cd37c4be29 |
| 6797 |
|
| 6798 |
|
| 6799 |
2014-09-24 Daniel Kahn Gillmor <[email protected]> |
| 6800 |
|
| 6801 |
Allow ./configure to explicitly set libgpg-error's build timestamp. |
| 6802 |
+ commit d620005fd1a655d591fccb44639e22ea445e4554 |
| 6803 |
* configure.ac: add --enable-build-timestamp |
| 6804 |
|
| 6805 |
2014-09-24 Werner Koch <[email protected]> |
| 6806 |
|
| 6807 |
Add new error source GPG_ERR_SOURCE_TLS. |
| 6808 |
+ commit efb2442458c8dd8d5af5a533dc09370b54f5f86f |
| 6809 |
|
| 6810 |
|
| 6811 |
2014-09-23 Daniel Kahn Gillmor <[email protected]> |
| 6812 |
|
| 6813 |
Add new lock-obj-pub for sparc64-unknown-linux-gnu. |
| 6814 |
+ commit f227618e9e0d01e9dd1afbd91f9a509a532717eb |
| 6815 |
* src/syscfg/lock-obj-pub.sparc64-unknown-linux-gnu.h: New. |
| 6816 |
* src/Makefile.am (lock_obj_pub): Add. |
| 6817 |
|
| 6818 |
Add new lock-obj-pub for powerpc64el-unknown-linux-gnu. |
| 6819 |
+ commit 33e5504fbb5e5e2ff44023c0a22dfb668ff8b10f |
| 6820 |
* src/syscfg/lock-obj-pub.powerpc64el-unknown-linux-gnu.h: New. |
| 6821 |
* src/Makefile.am (lock_obj_pub): Add. |
| 6822 |
|
| 6823 |
2014-09-18 Werner Koch <[email protected]> |
| 6824 |
|
| 6825 |
Release 1.16. |
| 6826 |
+ commit 8f3187fe56cb8e535e3ceff75fdd4e128070af57 |
| 6827 |
* configure.ac: Set LT version to C12/A12/R2. |
| 6828 |
|
| 6829 |
Add new lock-obj-pub for Apple iOS. |
| 6830 |
+ commit cc4b0caa57a595a3727e51e061c519232f7bdb05 |
| 6831 |
* src/syscfg/lock-obj-pub.aarch64-apple-darwin.h: New. |
| 6832 |
* src/syscfg/lock-obj-pub.arm-apple-darwin.h: New. |
| 6833 |
|
| 6834 |
2014-09-12 Werner Koch <[email protected]> |
| 6835 |
|
| 6836 |
Fix es_fclose for streams opened with "samethread". |
| 6837 |
+ commit c307e1f801cd9a25c4a5b9a90073362219d52ee6 |
| 6838 |
* src/estream.c (destroy_stream_lock): New. |
| 6839 |
(es_create, do_close): Use new wrapper function. |
| 6840 |
|
| 6841 |
Fix a prototype. |
| 6842 |
+ commit e1882ee8c541020ec590bf096508ca5b6d2ab944 |
| 6843 |
* src/gpgrt-int.h: s/off_t/gpgrt_off_t/. |
| 6844 |
|
| 6845 |
2014-09-11 Werner Koch <[email protected]> |
| 6846 |
|
| 6847 |
Release 1.15. |
| 6848 |
+ commit 6ebcd696fdbc0485099fba987c0c302cb46dd116 |
| 6849 |
* configure.ac: Set LT version to C12/A12/R1. |
| 6850 |
|
| 6851 |
Fix build problems with non-gmake (ie. AIX). |
| 6852 |
+ commit 316171204d9a995f8b85431830bbc225ea144b48 |
| 6853 |
* src/Makefile.am: Do not distribute gpg-error.h. |
| 6854 |
(lock-obj-pub.native.h): Prepend a "./" to match the dependency. |
| 6855 |
|
| 6856 |
Fix problems with ssize_t and off_t. |
| 6857 |
+ commit 5a4684f3b0db4cd5c13f94b1319c245ef96ce91d |
| 6858 |
* configure.ac (AC_SYS_LARGEFILE): New. |
| 6859 |
(AC_CHECK_HEADERS): Check for stdint.h. |
| 6860 |
(AC_CHECK_SIZEOF): Add for int, long and long long. |
| 6861 |
(REPLACEMENT_FOR_OFF_T): New ac_define. |
| 6862 |
* src/mkheader.c (have_stdint_h, have_w32_system, have_w64_system) |
| 6863 |
(replacement_for_off_type, stdint_h_included): New. |
| 6864 |
(xfree, xstrdup): New. |
| 6865 |
(parse_config_h): New. |
| 6866 |
(write_special): Support "define:gpgrt_off_t", "define:gpgrt_ssize_t", |
| 6867 |
"api_ssize_t" tags. |
| 6868 |
(main): Add config.h arg. Call parse_config_h. Fix substitute code. |
| 6869 |
* src/Makefile.am (gpg-error.h): Pass config.h to mkheader. |
| 6870 |
|
| 6871 |
* src/gpg-error.h.in: Include definitions for gpgrt_ssize_t and |
| 6872 |
gpgrt_off_t. Let mkheader insert ssize_t keywords. Chnage all off_t |
| 6873 |
to gpgrt_off_t. |
| 6874 |
* src/estream.c: Change all off_t to gpgrt_off_t. Chnage all ssize_t |
| 6875 |
to gpgrt_ssize_t. |
| 6876 |
* src/visibility.c (gpgrt_fseeko): Use gpgrt_off_t. |
| 6877 |
(gpgrt_ftello): Ditto. |
| 6878 |
(gpgrt_getline): Use gpgrt_ssize_t. |
| 6879 |
(gpgrt_read_line): Ditto. |
| 6880 |
|
| 6881 |
Fix compiler warning for w32. |
| 6882 |
+ commit 4138644d74f127c1f4abf7455fe1e21f56d6e07e |
| 6883 |
* src/syscfg/lock-obj-pub.mingw32.h (GPGRT_LOCK_INITIALIZER): Add |
| 6884 |
mssing braces. |
| 6885 |
|
| 6886 |
2014-09-08 Werner Koch <[email protected]> |
| 6887 |
|
| 6888 |
Release 1.14. |
| 6889 |
+ commit 25f312dbb82722d23ad9faed8341923af6d3663c |
| 6890 |
* configure.ac: Set LT version to C12/A12/R0. |
| 6891 |
|
| 6892 |
po: Update de.po. |
| 6893 |
+ commit 2ff05feae6c5090081612a7d9a787298f37d46a2 |
| 6894 |
|
| 6895 |
|
| 6896 |
2014-08-26 Werner Koch <[email protected]> |
| 6897 |
|
| 6898 |
Add gpgrt_set_alloc_func. |
| 6899 |
+ commit 7fdca61bcf60e730177889fbbd2f935ba33ae0c3 |
| 6900 |
* src/visibility.c (gpgrt_set_alloc_func): New. |
| 6901 |
* configure.ac (_ESTREAM_PRINTF_REALLOC): Define. |
| 6902 |
(_ESTREAM_PRINTF_EXTRA_INCLUDE): Define. |
| 6903 |
* src/estream.c (mem_alloc, mem_realloc, mem_free): Simplify. |
| 6904 |
(_gpgrt_free): Remove. |
| 6905 |
* src/init.c (custom_realloc): New var. |
| 6906 |
(_gpgrt_set_alloc_func): New. |
| 6907 |
(_gpgrt_realloc, _gpgrt_malloc, _gpgrt_free): New. |
| 6908 |
|
| 6909 |
* src/visibility.h (gpg_err_deinit): Mark as visible. |
| 6910 |
|
| 6911 |
Export missing init functions. |
| 6912 |
+ commit d9d5b61a9f70556e8fc0775f1501380f65ce9502 |
| 6913 |
* src/gpg-error.h.in (gpgrt_init): New macro. |
| 6914 |
(gpgrt_check_version): New prototype. |
| 6915 |
* src/init.c (_gpg_err_init): Rename from gpg_err_init. |
| 6916 |
(_gpg_err_deinit): Rename from gpg_err_deinit. |
| 6917 |
* src/visibility.c (gpg_err_init): New. |
| 6918 |
(gpg_err_deinit): New. |
| 6919 |
(gpgrt_check_version): New. |
| 6920 |
* src/gpg-error.vers (gpg_err_init, gpg_err_deinit): Add missing |
| 6921 |
symbols. |
| 6922 |
(gpgrt_check_version): New. |
| 6923 |
* src/gpg-error.def.in (gpg_err_init, gpg_err_deinit): Add missing |
| 6924 |
symbols. |
| 6925 |
(gpgrt_check_version): New. |
| 6926 |
* src/gpg-error.c (main): Use gpgrt_init macro. |
| 6927 |
|
| 6928 |
Include required headers into gpg-error.h. |
| 6929 |
+ commit 320f1b864553f105217ad6b0c70598f9a48c6aaa |
| 6930 |
* src/gpg-error.h.in: Include stdarg.h. |
| 6931 |
|
| 6932 |
2014-08-25 Werner Koch <[email protected]> |
| 6933 |
|
| 6934 |
Replace locking code in estream functions. |
| 6935 |
+ commit fc651665010056e6184e8514e5c5436427d7052d |
| 6936 |
* src/posix-lock.c: Add weak program for pthread_mutex_trylock. |
| 6937 |
(_gpgrt_lock_trylock): New. |
| 6938 |
* src/w32-lock.c (_gpgrt_lock_init): Add missing return statement. |
| 6939 |
(_gpgrt_lock_trylock): New. |
| 6940 |
* src/visibility.c (gpgrt_set_syscall_clamp): New. |
| 6941 |
(gpgrt_lock_trylock): New. |
| 6942 |
(gpgrt_vsnprintf): Fix symbol name. |
| 6943 |
* src/init.c (DllMain): Mark unused arg. |
| 6944 |
* src/estream.c: Replace npth mutexes by our own locks. Replace yeild |
| 6945 |
macro by _gpgrt_yield. |
| 6946 |
(pre_syscall_func, post_syscall_func): New. |
| 6947 |
(do_deinit): Clear both new vars. |
| 6948 |
(es_func_fd_read, es_func_fd_write): Call pre and post syscall |
| 6949 |
functions instead of the former SYSCALL macros. |
| 6950 |
(es_func_w32_read, es_func_w32_write): Ditto. |
| 6951 |
(es_func_fd_seek, es_func_w32_seek, es_func_fp_read) |
| 6952 |
(es_func_fp_write, es_func_fp_seek, es_func_fp_destroy): Bracket |
| 6953 |
syscalls with the pre- and post-syscall fucntions. |
| 6954 |
(do_npth_read, do_npth_write): Remove. |
| 6955 |
(_gpgrt_es_init): Remove call to mutex init. It is now statically |
| 6956 |
initialized. |
| 6957 |
(_gpgrt_set_syscall_clamp): New. |
| 6958 |
(es_create): Destroy stream lock on error. |
| 6959 |
(do_close): Destroy stream lock. |
| 6960 |
|
| 6961 |
Remove GnuPG specific code. |
| 6962 |
+ commit 98781deb0b1787fd7eaabee27ef6a06d37195267 |
| 6963 |
* src/estream.c (es_write_sanitized_utf8_buffer): Remove. |
| 6964 |
|
| 6965 |
Add test for the estream printf functions. |
| 6966 |
+ commit ce31fe792b5f8adf81710c1bf5986cd10636e16b |
| 6967 |
* tests/t-printf.c: New. |
| 6968 |
* configure.ac: Check for vasprintf. |
| 6969 |
|
| 6970 |
Add gpgrt_snprintf and gpgrt_vsnprintf. |
| 6971 |
+ commit 8a5f2680daa5ea0280ef195efe3050df7bb06e78 |
| 6972 |
|
| 6973 |
|
| 6974 |
Finish inclusion of estream into the API. |
| 6975 |
+ commit e5304d2c8aaaf1682707caa5694316640a18de57 |
| 6976 |
|
| 6977 |
|
| 6978 |
Implement symbol visibility. |
| 6979 |
+ commit 216e7def2118a1774fa7ebeb45b8635b9fe6ba42 |
| 6980 |
* configure.ac: New option --enable-ld-version-script. |
| 6981 |
(GPGRT_USE_VISIBILITY): New ac_define. |
| 6982 |
(HAVE_LD_VERSION_SCRIPT): New am_conditional. |
| 6983 |
* src/gpg-error.vers: New. |
| 6984 |
* src/gpgrt-int.h: New. |
| 6985 |
* src/visibility.c, src/visibility.h: New. Lot of changes to symbold |
| 6986 |
names. |
| 6987 |
|
| 6988 |
First set of changes to include estream into the API. |
| 6989 |
+ commit 6714d41af5b3f4d447eb0caea0ede38b753397f8 |
| 6990 |
* configure.ac (AH_BOTTOM): Define GPGRT_ENABLE_ES_MACROS. |
| 6991 |
* src/gpg-error.h.in: include stdio.h. Include most of the estream |
| 6992 |
functions and rename structures and types. |
| 6993 |
* src/estream.h: Rewrite. Include only gpg-error.h and local |
| 6994 |
prototypes. |
| 6995 |
* src/estream.c: Rename types and macros. |
| 6996 |
* src/estream-printf.c (_gpgrt_estream_snprintf): Prefix public |
| 6997 |
functions with _gpgrt_. |
| 6998 |
|
| 6999 |
Fix some minor estream things. |
| 7000 |
+ commit 8d57ce619aa49862caeee30181fbbd9c76846554 |
| 7001 |
* m4/estream.m4: Check for memrchr. |
| 7002 |
* src/estream.c (memrchr) [!HAVE_MEMRCHR]: New. |
| 7003 |
* src/init.c: Include estream.h |
| 7004 |
(real_init): Init estream. |
| 7005 |
|
| 7006 |
Add missing redefine macros to cleanup the external symbols. |
| 7007 |
+ commit b84c1ee0d637108a74066e0da50cb132273020e9 |
| 7008 |
|
| 7009 |
|
| 7010 |
Add estream code from GnuPG. |
| 7011 |
+ commit 2b74237d19e44f7173bb052677f0ec35e6ff51b0 |
| 7012 |
* src/estream-printf.c, src/estream-printf.h: New. |
| 7013 |
* src/estream.c, src/estream.h: New. |
| 7014 |
* m4/estream.m4: New. |
| 7015 |
* src/Makefile.am (libgpg_error_la_SOURCES): Add new files. |
| 7016 |
* configure.ac (AH_BOTTOM): Define estream prefix. |
| 7017 |
<gcc>: Add useful gcc warning options. |
| 7018 |
(estream_INIT): Call. |
| 7019 |
|
| 7020 |
2014-08-12 Joe Hansen <[email protected]> |
| 7021 |
|
| 7022 |
Update Danish translation. |
| 7023 |
+ commit 1be556e5bb1fb7262a1b5630ac939cfcaadc7100 |
| 7024 |
* po/da.po: Update. |
| 7025 |
|
| 7026 |
2014-08-10 Werner Koch <[email protected]> |
| 7027 |
|
| 7028 |
tests: Fix compiler warning. |
| 7029 |
+ commit ab5eff46116a9a246ffb2c083bec637d0321d0cb |
| 7030 |
* tests/t-lock.c: Include header vor getpid. |
| 7031 |
(revision_thread): Init "i" to avoid compiler warning. |
| 7032 |
|
| 7033 |
2014-08-06 NIIBE Yutaka <[email protected]> |
| 7034 |
|
| 7035 |
Update ja.po. |
| 7036 |
+ commit 7b7e08e6f3561724006b63679c2500a62fc73837 |
| 7037 |
|
| 7038 |
|
| 7039 |
2014-08-05 Werner Koch <[email protected]> |
| 7040 |
|
| 7041 |
Use 16 byte alignment for hppa-unknown-linux-gnu. |
| 7042 |
+ commit 3325403c0dd2949bf52efa1b9a5b5cf3191110f9 |
| 7043 |
* configure.ac (HAVE_GCC_ATTRIBUTE_ALIGNED): New. |
| 7044 |
* src/gen-posix-lock-obj.c (USE_16BYTE_ALIGNMENT): Set for HPPA-Linux. |
| 7045 |
(main): Enforce alignment if needed. |
| 7046 |
* src/syscfg/lock-obj-pub.hppa-unknown-linux-gnu.h: Use 16 byte |
| 7047 |
alignment. |
| 7048 |
|
| 7049 |
2014-07-27 Daniel Kahn Gillmor <[email protected]> |
| 7050 |
|
| 7051 |
Add new lock-obj-pub.*.h from debian buildds. |
| 7052 |
+ commit 8338a4ba93367974758dc5e195f67e9d171d4086 |
| 7053 |
* src/syscfg/lock-obj-pub.aarch64-unknown-linux-gnu.h: New. |
| 7054 |
* src/syscfg/lock-obj-pub.alpha-unknown-linux-gnu.h: New. |
| 7055 |
* src/syscfg/lock-obj-pub.arm-unknown-linux-gnueabi.h: New. |
| 7056 |
* src/syscfg/lock-obj-pub.arm-unknown-linux-gnueabihf.h: New. |
| 7057 |
* src/syscfg/lock-obj-pub.hppa-unknown-linux-gnu.h: New. |
| 7058 |
* src/syscfg/lock-obj-pub.i486-pc-gnu.h: New. |
| 7059 |
* src/syscfg/lock-obj-pub.i486-pc-kfreebsd-gnu.h: New. |
| 7060 |
* src/syscfg/lock-obj-pub.i486-pc-linux-gnu.h: New. |
| 7061 |
* src/syscfg/lock-obj-pub.m68k-unknown-linux-gnu.h: New. |
| 7062 |
* src/syscfg/lock-obj-pub.mips-unknown-linux-gnu.h: New. |
| 7063 |
* src/syscfg/lock-obj-pub.mipsel-unknown-linux-gnu.h: New. |
| 7064 |
* src/syscfg/lock-obj-pub.powerpc-unknown-linux-gnu.h: New. |
| 7065 |
* src/syscfg/lock-obj-pub.powerpc64-unknown-linux-gnu.h: New. |
| 7066 |
* src/syscfg/lock-obj-pub.s390x-ibm-linux-gnu.h: New. |
| 7067 |
* src/syscfg/lock-obj-pub.sh4-unknown-linux-gnu.h: New. |
| 7068 |
* src/syscfg/lock-obj-pub.sparc-unknown-linux-gnu.h: New. |
| 7069 |
* src/syscfg/lock-obj-pub.x86_64-pc-kfreebsd-gnu.h: New. |
| 7070 |
* src/syscfg/lock-obj-pub.x86_64-pc-linux-gnu.h: New. |
| 7071 |
* src/syscfg/lock-obj-pub.x86_64-pc-linux-gnux32.h: New. |
| 7072 |
* src/Makefile.am (lock_obj_pub): Add new files. |
| 7073 |
|
| 7074 |
2014-06-30 Daniel Kahn Gillmor <[email protected]> |
| 7075 |
|
| 7076 |
Improve logging in a test module. |
| 7077 |
+ commit c7c41582574304974feac8bbd89b1460fbf6c92c |
| 7078 |
* tests/t-version.c (main): Print program name. |
| 7079 |
|
| 7080 |
2014-06-25 Werner Koch <[email protected]> |
| 7081 |
|
| 7082 |
Add missing prototype for build tool. |
| 7083 |
+ commit 51f9a8180ecbc24ed092bef5f2aa920a76769dcb |
| 7084 |
* src/gen-posix-lock-obj.c: Include string.h. |
| 7085 |
|
| 7086 |
2014-06-10 Werner Koch <[email protected]> |
| 7087 |
|
| 7088 |
New error code GPG_ERR_KEY_DISABLED. |
| 7089 |
+ commit 3fada688c0df6e3140e4fcaf59b9bcfcc7a70bf4 |
| 7090 |
|
| 7091 |
|
| 7092 |
2014-04-15 Werner Koch <[email protected]> |
| 7093 |
|
| 7094 |
Release 1.13. |
| 7095 |
+ commit 1900266b743cabdb39a0d6f8dd00d187a2ad2c97 |
| 7096 |
* configure.ac: Set LT version to C11/A11/R0. |
| 7097 |
|
| 7098 |
Update pl.po. |
| 7099 |
+ commit db6e26cad81957729adc9549e4c6afe28bc55d76 |
| 7100 |
|
| 7101 |
|
| 7102 |
Add code GPG_ERR_KEY_ON_CARD. |
| 7103 |
+ commit d4b83dbad235973e521eb12b680ee43cfb5cbc9a |
| 7104 |
|
| 7105 |
|
| 7106 |
2014-01-29 Werner Koch <[email protected]> |
| 7107 |
|
| 7108 |
Fix a syscfg/ file name. |
| 7109 |
+ commit bb5318aa5536fa48ec240c2ff48b9e2e1d9916ef |
| 7110 |
* src/syscfg/lock-obj.arm-unknown-linux-androideabi.h: Rename to ... |
| 7111 |
* src/syscfg/lock-obj-pub.arm-unknown-linux-androideabi.h: this. |
| 7112 |
* src/Makefile.am (lock_obj_pub): Fix file name. |
| 7113 |
|
| 7114 |
2014-01-28 Werner Koch <[email protected]> |
| 7115 |
|
| 7116 |
Fix the name of the file in the comment of the output. |
| 7117 |
+ commit 6245bf65fc2554c7c103324d451036de08869458 |
| 7118 |
* src/gen-posix-lock-obj.c (main): Chnage comment in created file. |
| 7119 |
|
| 7120 |
2014-01-25 Werner Koch <[email protected]> |
| 7121 |
|
| 7122 |
Add lock info for arm-unknown-linux-androideabi. |
| 7123 |
+ commit e1aa030d7655743f0c3cdd5f7b26ae1b4665fbc6 |
| 7124 |
* src/syscfg/lock-obj.arm-unknown-linux-androideabi.h: New. Provided |
| 7125 |
by Hans-Christoph Steiner. |
| 7126 |
* src/Makefile.am (lock_obj_pub): Add file. |
| 7127 |
|
| 7128 |
2014-01-24 Werner Koch <[email protected]> |
| 7129 |
|
| 7130 |
tests: Call srand for each thread under Windows. |
| 7131 |
+ commit 8e352780fd0e2fbc8f4c4971aae188d62df24d0a |
| 7132 |
* tests/t-lock.c (accountant_thread) [W32]: Call srand. |
| 7133 |
|
| 7134 |
Do not use the threadlib macros for Windows. |
| 7135 |
+ commit 2e4c5963119dc02cac7b8f0dfb46572c43d1ebe7 |
| 7136 |
* configure.ac: Move platform detection before gl_THREADLIB_EARLY. Do |
| 7137 |
not use gl_THREADLIB for Windows. |
| 7138 |
|
| 7139 |
Make multi-threading flags available via gpg-error-config. |
| 7140 |
+ commit f209d163a8167caa6910cd367aba923f703ac69e |
| 7141 |
* m4/threadlib.m4: Set THREADLIB_CPPFLAGS. |
| 7142 |
* src/gpg-error-config.in: Add option --mt. |
| 7143 |
* configure.ac: Add support for the --mt option. |
| 7144 |
* src/gpg-error.m4: Add ac_subst GPG_ERROR_MT_CFLAGS and |
| 7145 |
GPG_ERROR_MT_LIBS. |
| 7146 |
|
| 7147 |
Allow using gpgrt_lock_init on an unitialized variable. |
| 7148 |
+ commit 4e8a88e7632b1f1d2b31ae738a159802549882c3 |
| 7149 |
* src/posix-lock.c (gpgrt_lock_init): Detect unitialized lock var. |
| 7150 |
* src/w32-lock.c (gpgrt_lock_init): Ditto. |
| 7151 |
|
| 7152 |
2014-01-17 Werner Koch <[email protected]> |
| 7153 |
|
| 7154 |
Move version number first in the Posix lock-obj. |
| 7155 |
+ commit e07538c0ed3c5cb3d870a490a4c12bef4375278a |
| 7156 |
* src/posix-lock-obj.h (_gpgrt_lock_t): Swap VERS and MTX and put MTX |
| 7157 |
into a union. |
| 7158 |
* src/posix-lock.c (gpgrt_lock_lock): Adjust for this change. |
| 7159 |
* src/gen-posix-lock-obj.c (main): Change output accordingly. |
| 7160 |
|
| 7161 |
Extend the platform dependent build rules. |
| 7162 |
+ commit d83b12213231443b93de39863b916ada6232035a |
| 7163 |
* src/mkheader.c (mk_include_name): New. |
| 7164 |
(include_file): Implement '&' substitution. |
| 7165 |
(try_include_file): New. |
| 7166 |
(write_special): Use try_include_file and syscfg/. |
| 7167 |
(main): Add a new arg. |
| 7168 |
* configure.ac (CROSS_COMPILING): New am_conditional. |
| 7169 |
(HOST_TRIPLET_STRING): New ac_define. |
| 7170 |
* src/gen-posix-lock-obj.c (main): Print the host triplet. |
| 7171 |
* src/w32-lock-obj-pub.in: Move to ... |
| 7172 |
* src/syscfg/lock-obj-pub.mingw32.h: here. |
| 7173 |
* src/Makefile.am (lock_obj_pub): New. |
| 7174 |
(pre_mkheader_cmds): New. |
| 7175 |
(gpg-error.h): Run pre_mkheader_cmds. |
| 7176 |
(parts_of_gpg_error_h, lock-obj-pub.native.h): Do not use when |
| 7177 |
cross-compiling. |
| 7178 |
|
| 7179 |
2014-01-16 Werner Koch <[email protected]> |
| 7180 |
|
| 7181 |
Fix linking for last change on non-ELF platforms. |
| 7182 |
+ commit 4f9b13e99bdfed886dadfd1b70a69af3747ebc98 |
| 7183 |
* src/Makefile.am (libgpg_error_la_LIBADD): Add LIBTHREAD. |
| 7184 |
|
| 7185 |
Add gpgrt_lock_ functions. |
| 7186 |
+ commit ff937c39febe63d52c55590d8e3bd3a460f26651 |
| 7187 |
* src/gpg-error.h.in (GPGRT_LOCK_DEFINE): New. |
| 7188 |
(gpgrt_lock_init): New. |
| 7189 |
(gpgrt_lock_lock): New. |
| 7190 |
(gpgrt_lock_unlock): New. |
| 7191 |
(gpgrt_lock_destroy): New. |
| 7192 |
(gpgrt_yield): New. |
| 7193 |
* src/gpg-error.def.in: Add new functions. |
| 7194 |
* m4/lock.m4, m4/threadlib.m4: New. Taken from current gnulib. |
| 7195 |
* configure.ac: Call gl_LOCK. Check size of pthread_mutex_t. Add |
| 7196 |
LIBTHREAD to GPG_ERROR_CONFIG_LIBS. |
| 7197 |
* src/err-codes.h.in (GPG_ERR_INV_LOCK_OBJ): New. |
| 7198 |
* src/gen-posix-lock-obj.c: New. |
| 7199 |
* src/gen-w32-lock-obj.c: New. |
| 7200 |
* src/lock.h, src/thread.h: New. |
| 7201 |
* src/posix-lock-obj.h, src/w32-lock-obj.h: New. |
| 7202 |
* src/posix-lock.c, src/w32-lock.c: New. |
| 7203 |
* src/posix-thread.c, src/w32-thread.c: |
| 7204 |
* src/w32-lock-obj-pub.in: New. |
| 7205 |
* src/mkheader.c (include_file): Support build time include files. |
| 7206 |
(write_special): Add keyword "include:lock-obj". |
| 7207 |
* src/Makefile.am: |
| 7208 |
(posix-lock-obj-pub.in): New rule. |
| 7209 |
(noinst_PROGRAMS): Add gen-*-lock-obj helpers. |
| 7210 |
|
| 7211 |
* tests/t-common.h: New. |
| 7212 |
* tests/t-lock.c: New. |
| 7213 |
* tests/Makefile.am (t_lock_LDADD): Add new test. |
| 7214 |
|
| 7215 |
2014-01-14 Werner Koch <[email protected]> |
| 7216 |
|
| 7217 |
Improve maintainability by rewriting the mkheader helper. |
| 7218 |
+ commit 78a06348fb07f2dce861615cc6d19964818f7334 |
| 7219 |
* src/mkheader.c: New. Based on the mkheader from Libassuan. |
| 7220 |
* src/mkheader.awk: Remove. |
| 7221 |
* src/errnos.in: Add trailing linefeed. |
| 7222 |
* src/gpg-error.h.in: Change meta include directives for use with |
| 7223 |
mkheader.c. |
| 7224 |
* src/Makefile.am (EXTRA_DIST): Replace mkheader.awk by mkheader.c |
| 7225 |
(BUILT_SOURCES): Remove extra-h.in. |
| 7226 |
(CLEANFILES): Remove extra-h.in. Add mkheader.c. |
| 7227 |
(parts_of_gpg_error_h): New. |
| 7228 |
(extra-h.in): Remove rule. |
| 7229 |
(mkheader): Add rule. |
| 7230 |
(gpg-error.h): Change rule to use mkheader. |
| 7231 |
|
| 7232 |
2014-01-10 Werner Koch <[email protected]> |
| 7233 |
|
| 7234 |
po: Update de.po. |
| 7235 |
+ commit c1871fddf85cdddc33c1b35d5f1c8bae76388ee5 |
| 7236 |
|
| 7237 |
|
| 7238 |
Use the generic autogen.sh script. |
| 7239 |
+ commit e3ff40a78e9e95e1296b66f9c0d3df905c8af0d3 |
| 7240 |
* Makefile.am (EXTRA_DIST): Add autogen.rc remove config.rpath. |
| 7241 |
* autogen.rc: New. |
| 7242 |
* autogen.sh: Update from current GnuPG. |
| 7243 |
|
| 7244 |
Move helper scripts to build-aux. |
| 7245 |
+ commit 69c15393d1dac28e08c3b84b1aea286f12327847 |
| 7246 |
* compile, config.guess, config.rpath, config.sub |
| 7247 |
* depcomp, install-sh, ltmain.sh, missing: Move to build-aux/. |
| 7248 |
* configure.ac (AC_CONFIG_AUX_DIR): New. |
| 7249 |
|
| 7250 |
2013-12-09 Werner Koch <[email protected]> |
| 7251 |
|
| 7252 |
Add build support for ppc64le. |
| 7253 |
+ commit 0b192cff772bd416dc85b8140b9eb0d52e4175dd |
| 7254 |
* config.guess, config.sub: Update to latest version (2013-11-29). |
| 7255 |
* m4/libtool.m4: Add patches for ppc64le. |
| 7256 |
|
| 7257 |
2013-12-09 David 'Digit' Turner <[email protected]> |
| 7258 |
|
| 7259 |
Update libtool to support Android. |
| 7260 |
+ commit bf0d67dbfa4161e529781d6dfbfcce7126c3bf22 |
| 7261 |
* m4/libtool.m4: Add "linux*android*" case. Taken from the libtool |
| 7262 |
repository. |
| 7263 |
|
| 7264 |
2013-11-17 Werner Koch <[email protected]> |
| 7265 |
|
| 7266 |
Add GPG_ERR_MAC_ALGO. |
| 7267 |
+ commit b70a430d020e8541f66cca38c00355bab7bb1017 |
| 7268 |
|
| 7269 |
|
| 7270 |
2013-07-15 Werner Koch <[email protected]> |
| 7271 |
|
| 7272 |
w32: Fix corrupted string output. |
| 7273 |
+ commit 52e1f2e131b422fdb66abeaf4a8f084689b39bf7 |
| 7274 |
* src/w32-gettext.c (get_string): Pass the nul of the utf-8 string to |
| 7275 |
the conversion function but keep TRANSLEN without the nul. |
| 7276 |
|
| 7277 |
2013-06-24 Werner Koch <[email protected]> |
| 7278 |
|
| 7279 |
Release 1.12. |
| 7280 |
+ commit 12243cebd558dcadf8e85eea39b6db5f0b314667 |
| 7281 |
* configure.ac: Set LT version to C10/A10/R0. |
| 7282 |
|
| 7283 |
Update German translation. |
| 7284 |
+ commit f85ef07dca7c931d63b202d94bfaccba0a30f7f6 |
| 7285 |
|
| 7286 |
|
| 7287 |
2013-06-17 Werner Koch <[email protected]> |
| 7288 |
|
| 7289 |
Add hack to have different names for 64 bit Windows DLLs. |
| 7290 |
+ commit ca46b9a7bccb2eab085fc45722ffca1210f48223 |
| 7291 |
* ltmain.sh: Prefix the SO number for W64 with a "6". |
| 7292 |
|
| 7293 |
Support building for w64. |
| 7294 |
+ commit 1ca9b0dec0bfee560ce43d9dac6a26557ebe67a1 |
| 7295 |
|
| 7296 |
|
| 7297 |
2013-05-23 Werner Koch <[email protected]> |
| 7298 |
|
| 7299 |
w32: Fix installing of .def file. |
| 7300 |
+ commit db438148df9623528aa7305b6d56edd23db8cbbe |
| 7301 |
* src/Makefile.am (install-def-file): Create libdir first. |
| 7302 |
|
| 7303 |
Fix libtool 2.4.2 to correctly detect .def files. |
| 7304 |
+ commit dd05f3790e536dec6ed56087780a1065ca66371e |
| 7305 |
* ltmain.sh (sed_uncomment_deffile): New. |
| 7306 |
(orig_export_symbols): Uncomment def file before testing for EXPORTS. |
| 7307 |
* m4/libtool.m4: Do the same for the generated code. |
| 7308 |
|
| 7309 |
2013-04-11 Werner Koch <[email protected]> |
| 7310 |
|
| 7311 |
Add GPG_ERR_*CRYPT_CTX* and GPG_ERR_BROKEN_*KEY. |
| 7312 |
+ commit d2e6d96dfd2acc855b244a972269adfcf477cd10 |
| 7313 |
* src/err-codes.h.in (GPG_ERR_NO_CRYPT_CTX): New. |
| 7314 |
(GPG_ERR_WRONG_CRYPT_CTX, GPG_ERR_BAD_CRYPT_CTX): New. |
| 7315 |
(GPG_ERR_CRYPT_CTX_CONFLICT): New. |
| 7316 |
(GPG_ERR_BROKEN_PUBKEY, GPG_ERR_BROKEN_SECKEY): New. |
| 7317 |
|
| 7318 |
2013-02-25 Werner Koch <[email protected]> |
| 7319 |
|
| 7320 |
Release 1.11. |
| 7321 |
+ commit 3367ff0aa51b6685e37b749b3179643b82d23064 |
| 7322 |
* configure.ac: Set LT version to C9/A9/R0. |
| 7323 |
|
| 7324 |
* Makefile.am (GITLOG_TO_CHANGELOG): New. |
| 7325 |
(gen-ChangeLog): Use --tear-off. |
| 7326 |
* build-aux/gitlog-to-changelog: Remove. |
| 7327 |
|
| 7328 |
Update helper scripts. |
| 7329 |
+ commit b0ce47b730452bb28d5f46db3857c9efa5f9f51e |
| 7330 |
* compile, config.guess, config.rpath, config.sub, depcomp, |
| 7331 |
* install-sh, mkinstalldirs: Update to current versions from gnulib. |
| 7332 |
|
| 7333 |
2013-02-23 Werner Koch <[email protected]> |
| 7334 |
|
| 7335 |
Add translation to Ukrainian. |
| 7336 |
+ commit 47ff6a21c6d84acebef3ff20d982a6c255a6d282 |
| 7337 |
* po/uk.po: New. |
| 7338 |
* po/LINGUAS: Add uk.po |
| 7339 |
|
| 7340 |
Add translation to Esperanto. |
| 7341 |
+ commit 95c63baa0516592ec1a1c045565d6f992cc807eb |
| 7342 |
* po/eo.po: New. |
| 7343 |
* po/LINGUAS: Add eo.po. |
| 7344 |
|
| 7345 |
Add version macros and check function. |
| 7346 |
+ commit e6943de88627c6662fba3fe905c8761dbf0ccfa1 |
| 7347 |
* configure.ac (VERSION_NUMBER): New ac_subst. |
| 7348 |
(BUILD_FILEVERSION): Build on all platforms |
| 7349 |
(BUILD_TIMESTAMP): Try to use an ISO string. |
| 7350 |
* src/Makefile.am (extra-h.in): Add new version numbers. |
| 7351 |
* src/versioninfo.rc.in: Update copyright year. |
| 7352 |
* src/version.c: New. |
| 7353 |
(gpg_error_check_version): New API. |
| 7354 |
* src/gpg-error.h.in: Add gpg_error_check_version prototype. |
| 7355 |
* src/gpg-error.def.in: Add gpg_error_check_version |
| 7356 |
* tests/t-version.c: New. |
| 7357 |
* tests/Makefile.am (TESTS): Add t-version.c |
| 7358 |
|
| 7359 |
* src/gpg-error-config.in: s/VERSION/PACKAGE_VERSION/. |
| 7360 |
|
| 7361 |
2013-02-22 Werner Koch <[email protected]> |
| 7362 |
|
| 7363 |
Fix the alias mechanism for --with-libgpg-error-prefix. |
| 7364 |
+ commit 056cc2d0dfef023fda47ce377d3ee544612526a3 |
| 7365 |
* src/gpg-error.m4: Do not use the no-action branch in AC_ARG_WITH. |
| 7366 |
|
| 7367 |
2012-11-16 Werner Koch <[email protected]> |
| 7368 |
|
| 7369 |
Switch to the new automagic beta numbering scheme. |
| 7370 |
+ commit 3977201d2a82fcbe0341660e07a3b0d5c790f927 |
| 7371 |
* configure.ac: Change to a git only revision id setup. |
| 7372 |
(BUILD_FILEVERSION): Use revision id for this. |
| 7373 |
* src/versioninfo.rc.in (FileVersion): Use LT version. |
| 7374 |
|
| 7375 |
Update to libtool 2.4.2. |
| 7376 |
+ commit 6971fe55fb76f3c93058ebdef37dc179dff5d651 |
| 7377 |
|
| 7378 |
|
| 7379 |
Add new source id for Libassuan. |
| 7380 |
+ commit d447a2150c235878e2c80afcc99e207755cfd2f9 |
| 7381 |
* src/err-sources.h.in (GPG_ERR_SOURCE_ASSUAN): New. |
| 7382 |
|
| 7383 |
Improve parsing of the GIT revision number. |
| 7384 |
+ commit b2e4d03c88823151aa30f8a878ad1a30618d1340 |
| 7385 |
* configure.ac (git_revision): Use git rev-parse. |
| 7386 |
|
| 7387 |
Fix non-portable use of chmod in autogen.sh. |
| 7388 |
+ commit 17c8c16ee2dcb33abb7fdf50c40015f1b9d13689 |
| 7389 |
* autogen.sh: Remove option -c from chmod. |
| 7390 |
|
| 7391 |
2012-08-09 Werner Koch <[email protected]> |
| 7392 |
|
| 7393 |
Update Italian translation. |
| 7394 |
+ commit 3034b80debc15e6372fbc36a1814b2d273d9e4a7 |
| 7395 |
|
| 7396 |
|
| 7397 |
2012-08-09 Jordy Provost <[email protected]> |
| 7398 |
|
| 7399 |
Typo fix. |
| 7400 |
+ commit 9216a742c75432fb2ea0ee1e1818459014e051c5 |
| 7401 |
* src/err-codes.h.in: Unify uppercase. |
| 7402 |
|
| 7403 |
2012-08-09 Freek de Kruijf <[email protected]> |
| 7404 |
|
| 7405 |
Update Dutch translation. |
| 7406 |
+ commit 10373c0d9f4a557ee9af5f1569749b9697a7ae33 |
| 7407 |
* po/nl.po: Update. |
| 7408 |
|
| 7409 |
2012-08-09 Petr Pisar <[email protected]> |
| 7410 |
|
| 7411 |
Update Czech translation. |
| 7412 |
+ commit f95162ecc92f338bf244ffdb402ade617d207d7a |
| 7413 |
* po/cs.po: Update. |
| 7414 |
|
| 7415 |
2012-08-09 Joe Hansen <[email protected]> |
| 7416 |
|
| 7417 |
Add Danish translation. |
| 7418 |
+ commit 7adbeeb806d7cd373a159b0acfc9b733a3295356 |
| 7419 |
* po/da.po: New. |
| 7420 |
* po/LINGUAS: Add da.po. |
| 7421 |
|
| 7422 |
2012-08-09 David Prévot <[email protected]> |
| 7423 |
|
| 7424 |
Update French translation. |
| 7425 |
+ commit 42471f9cbd59d427c9e1a8bf0267835f1395c6b4 |
| 7426 |
* po/fr.po: Update, proofread by Jordy Provost |
| 7427 |
|
| 7428 |
Keep previous msgids of translated messages. |
| 7429 |
+ commit f7db2dceb8d1da2606d039c04bc84f331f9cfe89 |
| 7430 |
* po/Makefile.in.in: Add --previous option to msgmerge. |
| 7431 |
|
| 7432 |
2012-08-07 Werner Koch <[email protected]> |
| 7433 |
|
| 7434 |
Add Japanese translation. |
| 7435 |
+ commit 4fef48a0868ca1379d016f41c9d810857c00655f |
| 7436 |
* po/ja.po: New. |
| 7437 |
* po/LINGUAS: Add ja.po. |
| 7438 |
|
| 7439 |
Update German translation. |
| 7440 |
+ commit 2ed3e70f0aeec41ece79d96a8ea6d114addf954d |
| 7441 |
* po/de.po: Update. |
| 7442 |
|
| 7443 |
2012-06-20 Rafaël Carré <[email protected]> |
| 7444 |
|
| 7445 |
Use CPPFLAGS when generating mkerrcodes.h. |
| 7446 |
+ commit c35dbfdaa2e30e08185e4a468278a29e2c48b500 |
| 7447 |
* src/Makefile.am (mkerrcodes.h): Use CPPFLAGS. |
| 7448 |
|
| 7449 |
2011-12-01 Werner Koch <[email protected]> |
| 7450 |
|
| 7451 |
Remove non-source file from the repo. |
| 7452 |
+ commit a7eb1bec2b76318bd17d4413d7f44197a241e3bc |
| 7453 |
* po/remove-potcdate.sed: Remove. |
| 7454 |
|
| 7455 |
Fix for newer autoconf version. |
| 7456 |
+ commit 5a0d2a5abc0a707c20449b6afd37daa9fd373a18 |
| 7457 |
* Makefile.am (EXTRA_DIST): Fix filename. |
| 7458 |
* configure.ac (my_full_version): New. |
| 7459 |
(AC_INIT): Use new macro. Change bug address to the bug tracker URL. |
| 7460 |
|
| 7461 |
Generate the ChangeLog from commit logs. |
| 7462 |
+ commit 9d75d671d66386ad862db0466c4dd67a246dfe72 |
| 7463 |
* build-aux/gitlog-to-changelog: New script. Taken from gnulib. |
| 7464 |
* build-aux/git-log-fix: New file. |
| 7465 |
* build-aux/git-log-footer: New file. |
| 7466 |
* doc/HACKING: New file. |
| 7467 |
* ChangeLog: New file. |
| 7468 |
* Makefile.am (EXTRA_DIST): Add new files. |
| 7469 |
(gen-ChangeLog): New. |
| 7470 |
(dist-hook): Run gen-ChangeLog. |
| 7471 |
|
| 7472 |
Rename all ChangeLog files to ChangeLog-2011. |
| 7473 |
|
| 7474 |
2011-12-01 Werner Koch <[email protected]> |
| 7475 |
|
| 7476 |
NB: Changes done before December 1st, 2011 are described in |
| 7477 |
per directory files named ChangeLog-2011. See doc/HACKING for |
| 7478 |
details. |
| 7479 |
|
| 7480 |
----- |
| 7481 |
Copyright (C) 2011 Free Software Foundation, Inc. |
| 7482 |
|
| 7483 |
Copying and distribution of this file and/or the original GIT |
| 7484 |
commit log messages, with or without modification, are |
| 7485 |
permitted provided the copyright notice and this notice are |
| 7486 |
preserved. |