CHANGES 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. 1.15 -> 1.16:
  2. - add lv.po, update translations (Translation Project).
  3. - include xcode project files in distributed popt tar ball.
  4. - make distcheck is now squeaky clean.
  5. - permit VPATH builds.
  6. - add shallow tests using ISP/RAS api-sanity-autotest.pl.
  7. - prefix bit set routines with popt to avoid symbol coolisions w rpm.
  8. - add tdict.c to exercise popt bit sets against /usr/dict/words.
  9. - add poptBitsArgs() method to generate args bit set.
  10. - add methods for bit set union and intersection.
  11. - permit comma separated attribute lists, handle negated attributes.
  12. - better test for POPT_ARG_BITSET.
  13. - add POPT_ARG_BITSET handling.
  14. - add POPT_ARG_SHORT handling.
  15. - handle all callback traversals within a C switch (for extendability ease).
  16. - add popt.pc.
  17. - devzero2000: add AC_CONFIG_AUX_DIR, AC_CONFIG_MACRO_DIR to configure. Create build-aux
  18. - devzero2000: del acinclude.m4 : AC_CHECK_VA_COPY is not used
  19. 1.14 -> 1.15:
  20. - release popt-1.15.
  21. - rse: fix building under --disable-nls
  22. - rse: fix building under non GLIBC platforms where glob_pattern_p fallback has to be used
  23. - rse: fix building under platforms where FNM_EXTMATCH is not available
  24. - jbj: poptReadFile: permit NULL if return values are not desired.
  25. - jbj: poptReadFile: add routine.
  26. - jbj: trim out escaped newline(s) from file content, other fixes.
  27. - jbj: permit popt alias/exec to include content from a file.
  28. - jbj: permit glob(3) patterns in appName field of popt alias/exec config.
  29. - jbj: add test cases for bit operations and toggles.
  30. - jbj: avoid displaying --[no]nofoo with POPT_ARGFLAG_TOGGLE.
  31. - jbj: add poptArgInfo() to get argInfo, implementing POPT_ARGFLAG_TOGGLE.
  32. - jbj: add longOptionStrcmp() to match w POPT_ARGFLAG_TOGGLE.
  33. - jbj: change singleDash arg to a bit enum, use LF_ISSET(ONEDASH) instead.
  34. - jbj: rework the glob wrappers into something more useful. portability todo++.
  35. - jbj: stub in glob(3) wrappers for popt. more useful poptGlob() API next.
  36. - jbj: add poptInit/poptFini/poptReadConfigFiles/poptSaneFile routines.
  37. - jbj: rewrite poptReadConfigFile(), styling for (i.e. my) readbility.
  38. - jbj: reserve a bit for --[no]opt prefix toggling.
  39. - jbj: fix: check/print argv[0] in --help for NULL.
  40. - jbj: permit type/group bitmasks to be changed (if needed somewhen).
  41. - jbj: snip out 8 unused bits for argument groups.
  42. - jbj: fix: eliminate dead code (CID#5).
  43. - jbj: fix: rearrange code to better hint to coverity scan (CID#9).
  44. - jbj: fix: rewrite (and simplify) strdup_locale_from_utf8() (CID#7, CID#8, CID#11, CID#12).
  45. - jbj: test/use HAVE_SRANDOM to avoid portability issues.
  46. - jbj: fix: remove AC_CHECK_VA_COPY check, va_copy is no longer used.
  47. - jbj: add eo.po and id.po (Translation Project).
  48. - jbj: updated da.po (Translation Project).
  49. - jbj: extend coverage to several additional setup routines.
  50. - jbj: add tests for --usage/--help coverage.
  51. - jbj: add lconv/gcov targets to Makefile.am.
  52. - jbj: refactor automagic (*opt->arg) option arg store to poptSaveArg().
  53. - ldv: update INPUT tag in Doxyfile.in, fix doxygen warnings in popthelp.c.
  54. - start popt-1.15 development.
  55. 1.13 -> 1.14:
  56. - release popt-1.14.
  57. - jbj: remove findme.c, add poptint.c, to po/POTFILES.in.
  58. - jbj: use stpcpy 2 more places (Wayne Davison<wayned@samba.org>).
  59. - jbj: add @LTLIBICONV@ when needed (Stanislav Brabec<sbrabec@suse.cz>).
  60. - jbj: fix: remove the "echo --" Fedorable hack-a-round.
  61. - rsc: updated de.po (not from the Translation Project).
  62. - jbj: study the mess with splint. Sigh, splint is so easily confused ...
  63. - jbj: rewrite findProgramPath & move to popt.c. Nuke the findme.{c,h} toys.
  64. - jbj: use stpcpy several more places (Wayne Davison<wayned@samba.org>).
  65. - jbj: enable equal after short option (Wayne Davison<wayned@samba.org>).
  66. - jbj: permit "#define POPT_fprintf fprintf" to lose the malloc'ing fprintf.
  67. - jbj: use vasprintf(3) when available (Wayne Davison<wayned@samba.org>).
  68. - jbj: study the mess with splint, remove annotations where possible.
  69. - jbj: add -D_GNU_SOURCE for gcc to use __builtin_stpcpy when available.
  70. - jbj: add static inline stpcpy for the deprived.
  71. - jbj: use stpcpy to eliminate sprintf calls everywhere but popthelp.c
  72. - jbj: remove (now unneeded afaik) va_copy() from POPT_fprintf().
  73. - jbj: inline strdup_fprintf() => POPT_fprintf keeping (unneeded?) va_copy.
  74. - rse: fix memcpy(3) based va_copy(3) fallbacks
  75. - jbj: fix: short option with "foo=bar" argument was mishandled.
  76. (Wayne Davison<wayned@samba.org>).
  77. - jbj: rename _ABS to avoid collisions, define DBL_EPSILON if not present
  78. (Wayne Davison<wayned@samba.org>).
  79. - jbj: test for <glob.h>, disable reading directory poptrc files if not.
  80. - jbj: add __attribute__(__unused__) (Wayne Davison<wayned@samba.org>).
  81. - jbj: permit equal after short option (Wayne Davison<wayned@samba.org>).
  82. - jbj: make sure that short options are printed only once with --usage.
  83. - jbj: don't display hidden short options with --usage.
  84. - jbj: updated sv.po (Translation Project).
  85. - jbj: updated {fi,nl}.po (Translation Project).
  86. - jbj: updated th.po (Translation Project).
  87. - rsc: avoid multilib file conflicts in generated doxygen.
  88. - jbj: updated vi.po and zh_CN.po (Translation Project).
  89. - jbj: fix: keep the poptHelpOptions array exactly the same size.
  90. - jbj: updated pl.po (Translation Project).
  91. - jbj: add new fi, th, zh_TW translations (Translation Project).
  92. - jbj: add "make updatepo" to simplify PO file maintenance.
  93. - jbj: display POPT_ARG_ARGV options in --help just like other options.
  94. - jbj: add test for POPT_ARG_ARGV handling.
  95. - jbj: fix: permit "--foo bar" and "--foo=bar" equivalent forms for aliases.
  96. - jbj: fix: tests 20 -> 23 require an explicit '--' arg separator now.
  97. - jbj: popt.3: add POPT_ARG_ARGV description.
  98. - jbj: use NUL terminator to align help with (possible) multibyte chars.
  99. - jbj: add utf8_skip_data table[] to keep track of utf8 character widths.
  100. - jbj: refactor the POPT_WCHAR_HACK into stringDisplayWidth().
  101. - jbj: add POPT_dgettext() prototype.
  102. - jbj: add POPT_dgettext() for popt internal UTF-8 codeset (Takao Fujiwara).
  103. - jbj: add POPT_next_char(), backout POPT_fprintf() usage (for the moment).
  104. - jbj: finish POPT_ARG_ARGV implementation.
  105. - jbj: free aliases/execs with common code.
  106. - jbj: rewrite the callback logic using a switch for simplicity.
  107. - jbj: hide bit field structure behind F_ISSET/LF_ISSET/CBF_ISSET macros.
  108. - jbj: expose poptSaveLongLong and poptSaveString in the loader map.
  109. - jbj: add POPT_ARG_ARGV, starting with the poptSaveString() method.
  110. - jbj: add help for POPT_ARG_LONGLONG.
  111. - jbj: hmmm, POSIXly correct --echo-args needs fixing, disable for now.
  112. - jbj: poptint.h: typedef's for string and string arrays.
  113. - jbj: add POPT_ARG_LONGLONG, and poptSaveLongLong().
  114. - jbj: poptint.h: add poptSubstituteHelpI18N() to bury the ABI hack.
  115. - jbj: start using poptArg and poptArgType() where useful.
  116. - jbj: poptint.h: add a poptArgType define for bitfield type abstraction.
  117. - jbj: poptint.h: add a poptArg union for opt->arg access without casts.
  118. - jbj: include "-- Terminate options" end-of-options msg in poptHelpOptions.
  119. - jbj: opt->argDescrip[0] determines "--foo=bar" or "--foo bar".
  120. - jbj: --long always padded for alignment with/without "-X, ".
  121. - jbj: Display shortName iff printable non-space.
  122. - jbj: POPT_AUTOALIAS: if no popt aliases/execs, don't display the sub-head.
  123. - jbj: add --libdir=/%{_lib} to popt.spec.
  124. - jbj: add .cvsignore to m4 subdirectory.
  125. - jbj: remove duplicate nb locale from ALL_LINGUAS.
  126. - jbj: autogen.sh: on linux, add --libdir=/lib (no /lib64 autodetect yet).
  127. 1.12 -> 1.13:
  128. - release popt-1.13.
  129. - jbj: add a %track section (as in rpm-5.0) to popt.spec.
  130. - jbj: chg poptGetOptArg() to "char *", document application needs to free.
  131. - jbj: re-add it.po (from Sandro Bonazzola <sandro.bonazzola@gmail.com>).
  132. - jbj: rescuscitate the splint annotations.
  133. - jbj: change sizeof to use the type implicitly, rather than explicitly.
  134. - jbj: remove incorrect casts, changing to size_t where needed.
  135. - jbj: remove unused STD_VFPRINTF macro.
  136. - jbj: reindent (and otherwise diddle) recent patch for popt coding style.
  137. - jbj: remove splint bounds/branch annotations, little gain, much pain.
  138. - jbj: revert alloca usage again again.
  139. - jbj: handle Solaris signed character isspace(3) issues consistently.
  140. - bero: read /etc/popt.d/* files.
  141. - jbj: don't read /etc/popt twice (#290531).
  142. - jbj: isspace(3) has i18n encoding signednesss issues on Solaris (#172393).
  143. - jbj: refactor column cursor to a structure, carry maxcols as well.
  144. - jbj: use TIOCGWINSZ to determine --help column wrapping.
  145. - jbj: help formatting for POPT_ARG_MAINCALL.
  146. - jbj: remove N_(...) markings from popt.h, markers in popthelp.c instead.
  147. - jbj: add zh_CN.po (Translation Project).
  148. - jbj: use PACKAGE_BUGREPORT.
  149. - jbj: hotwire POPT_AUTOHELP/POPT_AUTOALIAS lookup in popt i18n domain.
  150. 1.11 -> 1.12
  151. - jbj: plug a memory leak.
  152. - jbj: fix index thinko.
  153. - jbj: add vi.po (Translation Project).
  154. - jbj: add nl.po (Translation Project).
  155. 1.5 -> 1.6
  156. - add ability to perform callbacks for every, not just first, match.
  157. 1.3 -> 1.5
  158. - heavy dose of const's
  159. - poptParseArgvString() now NULL terminates the list
  160. 1.2.3 -> 1.3
  161. - added support for single -
  162. - misc bug fixes
  163. - portability improvements
  164. 1.2.2 -> 1.2.3
  165. - fixed memset() in help message generation (Dale Hawkins)
  166. - added extern "C" stuff to popt.h for C++ compilers (Dale Hawkins)
  167. - const'ified poptParseArgvString (Jeff Garzik)
  168. 1.2.1 -> 1.2.2
  169. - fixed bug in chaind alias happens which seems to have only
  170. affected --triggers in rpm
  171. - added POPT_ARG_VAL
  172. - popt.3 installed by default
  173. 1.2 -> 1.2.1
  174. - added POPT_ARG_INTL_DOMAIN (Elliot Lee)
  175. - updated Makefile's to be more GNUish (Elliot Lee)
  176. 1.1 -> 1.2
  177. - added popt.3 man page (Robert Lynch)
  178. - don't use mmap anymore (its lack of portability isn't worth the
  179. trouble)
  180. - added test script
  181. - added support for exec
  182. - removed support for *_POPT_ALIASES env variable -- it was a bad
  183. idea
  184. - reorganized into multiple source files
  185. - added automatic help generation, POPT_AUTOHELP
  186. - added table callbacks
  187. - added table inclusion
  188. - updated man page for new features
  189. - added test scripts
  190. 1.0 -> 1.1
  191. - moved to autoconf (Fred Fish)
  192. - added STRERROR replacement (Norbert Warmuth)
  193. - added const keywords (Bruce Perens)