summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gnulib: update to latestHEADmasterJim Meyering2014-02-131-0/+0
|
* maint: update copyright yearsJim Meyering2014-02-1341-51/+41
|
* doc: change the manual to build with texinfo 5.1Tom Tromey2014-02-131-9/+18
| | | | | | | | * doc/idutils.texi (Top): Rearrange menu. (Quick start): Use @itemize and @item. (Common options): Rearrange menu. (Walker options): Use @item, not @itemx. (Past and Future): Use @itemize and @item.
* doc: remove idutils.texi front- and back-cover text requirementsJim Meyering2013-08-111-8/+3
| | | | | | * doc/idutils.texi: Do not require front- or back-cover text, thus making this section the same as gzip's, so this may be included in Debian's "free" (rather than non-free) archive.
* build: update gnulib, bootstrap and init.shJim Meyering2012-10-233-98/+189
|
* build: default to --enable-gcc-warnings in a git treeEric Blake2012-10-231-1/+5
| | | | | | | | Anyone building from cloned sources can be assumed to have a new enough environment, such that enabling gcc warnings by default will be useful. Tarballs still default to no warnings, and the default can still be overridden with --disable-gcc-warnings. * configure.ac (gl_gcc_warnings): Set default based on environment.
* lid: avoid reading beyond end of buffer for a long nameJim Meyering2012-10-234-7/+22
| | | | | | | | | | | * libidu/idfile.h (stzncpy): Define, from coreutils. * src/lid.c (query_ambiguous_prefix): Avoid buffer overrun. Using strncpy to copy a too-long name would result in a "name" that is not NUL-terminated, yet that name would be treated as a NUL-terminated string immediately afterwards, via report_func, which attempts to print it. * libidu/fnprint.c (root_name): Use stzncpy in place of strncpy. * NEWS (Bug fixes): Mention the bug fix.
* maint: arrange for "make distcheck" to run the syntax-check rulesJim Meyering2012-05-111-0/+3
| | | | | * Makefile.am (ALL_RECURSIVE_TARGETS): Define. (distcheck-hook): Depend on syntax-check.
* maint: avoid new syntax-check failuresJim Meyering2012-05-112-2/+2
| | | | | * cfg.mk (old_NEWS_hash): Update to reflect typo fix in old NEWS. * doc/idutils.texi: Add "." before @xref.
* build: update gnulib submodule to latestJim Meyering2012-05-111-0/+0
|
* maint: fix comment/doc typosJim Meyering2012-04-183-3/+3
| | | | | | | Found using https://github.com/lyda/misspell-check * ChangeLog-2007: As above. * NEWS: Likewise. * src/mkid.c: Likewise.
* maint: reenable gnulib's get-rusage-as-testsJim Meyering2012-02-042-1/+0
| | | | | | * bootstrap.conf (avoided_gnulib_modules): Don't exclude get-rusage-as-tests. That test has now been fixed. * gnulib: Update to latest, for fixed get-rusage-as-tests.
* maint: adjust the URL that will appear in the generated announcementJim Meyering2012-02-031-0/+4
| | | | | | * cfg.mk (url_dir_list): Use this http://ftp.gnu.org/gnu/$(PACKAGE) for the first link listed in the generated announcement. announce-gen now provides the faster mirror link automatically.
* maint: post-release administriviaJim Meyering2012-02-033-2/+5
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* version 4.6v4.6Jim Meyering2012-02-031-1/+1
| | | | * NEWS: Record release date.
* maint: use gnulib's readme-release moduleJim Meyering2012-01-313-107/+17
| | | | | | | * bootstrap.conf (gnulib_modules): Add readme-release. (bootstrap_epilogue): Substitute. * README-release: Remove file. * .gitignore: Update.
* tests: adapt framework for upcoming automake-1.12Jim Meyering2012-01-314-16/+173
| | | | | | | | | * testsuite/check.mk (LOG_COMPILER): Define. (TESTS_ENVIRONMENT): Adapt to work with the upcoming automake-1.12; use "; 9>&2" at end. Move shell-or-perl to ... * testsuite/shell-or-perl: ... new helper script from coreutils. * testsuite/CuSkip.pm: New file, from coreutils. * testsuite/Makefile.am (EXTRA_DIST): Add CuSkip.pm and shell-or-perl.
* maint: make copyright statements more consistent; update gnulibJim Meyering2012-01-313-3/+4
| | | | | | | | * cfg.mk (update-copyright-env): Add UPDATE_COPYRIGHT_FORCE=1 to rejoin some split lines, and UPDATE_COPYRIGHT_USE_INTERVALS=2 to make update-copyright use only one year range. * gnulib: Update. * testsuite/files0-from: Adapt to gnulib's change from `q' to 'q'.
* build: update bootstrap from gnulib, and adaptJim Meyering2012-01-314-172/+210
| | | | | | | | | | | * bootstrap: Update from gnulib. * testsuite/init.sh: Update from gnulib. * bootstrap.conf (bootstrap_epilogue): Remove now-unnecessary, snippet that edited gnulib-tests/gnulib.mk. (gnulib_tool_option_extras): Add both --symlink and --makefile-name=gnulib.mk. Remove use of $bt. * lib/Makefile.am: Initialize numerous automake variables so that generated code in gnulib.mk may use += to append to them.
* build: work around new warning/suggestion to use "pure"Jim Meyering2012-01-311-6/+12
| | | | | | | | * src/mkid.c (check_hits): Change semantics to avoid the warning that this assert-containing function could be declared with the "pure" attribute. Instead, return 0/1, declare "pure" and let the caller perform the assertion. Rename from assert_hits. Add a comment.
* build: add const and pure attributes, per gcc recommendationJim Meyering2012-01-316-38/+40
| | | | | | | | | | | | | | | | | | | | | | | | * src/mkid.c (ceil_log_8, ceil_log_2): Add "const" attribute. (token_hash_1, token_hash_2): Add "pure" attribute. (token_hash_cmp, token_qsort_cmp): Likewise. (count_vec_size, count_buf_size): Likewise. * libidu/idu-hash.c (round_up_2): Add "const" attribute. * libidu/scanners.h (get_language): Add "pure" attribute. * libidu/idfile.h (token_flags): Likewise. (token_count): Likewise. (member_file_qsort_compare): Likewise. (tree8_count_levels): Add "const" attribute. * libidu/walker.c (symlink_ancestry): Add "pure" attribute. (links_depth): Likewise. (file_link_hash_1): Likewise. (vector_length): Likewise. (file_link_hash_compare): Likewise. (string_in_vector): Likewise. * src/lid.c (vector_cardinality, get_radix, dtoi, otoi): Likewise. (is_regexp): Likewise. (vector_length): Remove forward decl and move function definition to precede first use.
* build: turn off two of gcc's warning optionsJim Meyering2012-01-311-0/+2
| | | | | | * configure.ac: Disable -Winline, at least temporarily due to number of warnings, and low priority, and disable -Wformat-nonliteral, due to inherent false positives.
* build: fix man-page-building and cross-check rulesJim Meyering2012-01-311-20/+10
| | | | | | | | | | * man/Makefile.am (defid.1): New dependency. (programs): Use both $(PROGRAMS) and $(SCRIPTS). (check-x-vs-1): Use tr, not fmt, for portability. Use AM_V_GEN. (programs): Likewise. (check-programs-vs-x): Use AM_V_GEN. Remove coreutils-specific code. (t, mapped_name): Remove definitions of unused variables. (.x.1): Remove obsolete comment. Use AM_V_GEN, not echo.
* tests: disable gnulib's get-rusage-as testJim Meyering2012-01-281-1/+2
| | | | | * bootstrap.conf (avoided_gnulib_modules): Disable the get-rusage-as test: it's failing.
* maint: avoid new syntax-check failure due to #if HAVE_SYS_TYPES_HJim Meyering2012-01-011-3/+1
| | | | | | * libidu/idfile.h: Include <sys/types.h> unconditionally. I.e., drop the now-redundant #if HAVE_SYS_TYPES_H guard. gnulib guarantees the presence of that header.
* maint: update all copyright year number rangesJim Meyering2012-01-0139-39/+39
| | | | Run "make update-copyright".
* tests: use "compare exp out", not "compare out exp"Jim Meyering2011-11-292-4/+4
| | | | | | | | | | | | | | | | Likewise, when an empty file is expected, use "compare /dev/null out", not "compare out /dev/null". I.e., specify the expected/desired contents via the first file name. Prompted by a suggestion from Bruno Haible in http://thread.gmane.org/gmane.comp.gnu.grep.bugs/4020/focus=29154 Run these commands: git grep -l -E 'compare [^ ]+ exp' \ |xargs perl -pi -e 's/\b(compare) (\S+) (exp\S*)/$1 $3 $2/' git grep -l -E 'compare [^ ]+ /dev/null' \ |xargs perl -pi -e 's,\b(compare) (\S+) (/dev/null),$1 $3 $2,' [here, there were none of the latter]
* build: update gnulib submodule to latestJim Meyering2011-11-172-1/+1
|
* build: exempt defid from a built-in automake checkJim Meyering2011-11-171-0/+5
| | | | | | | defid *does* support --help and --version, but only when gid is already in your shell's search path. That is not the case for the first pre-install build. * src/Makefile.am (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Define.
* maint: stop using gnulib's obsolete "exit" moduleJim Meyering2011-11-171-1/+0
| | | | * bootstrap.conf (gnulib_modules): Remove module. It no longer exists.
* build: update bootstrap from gnulibJim Meyering2011-11-171-101/+217
| | | | * bootstrap: Update.
* build: stop distributing gzip'd releases; xz is enoughJim Meyering2011-11-171-1/+2
| | | | * configure.ac (AM_INIT_AUTOMAKE): Add no-dist-gzip.
* tests: update init.sh from gnulibJim Meyering2011-08-031-50/+141
| | | | * testsuite/init.sh: Update from gnulib.
* tests: add a test for the lid radix-handling bugJim Meyering2011-08-023-0/+53
| | | | | | * testsuite/lid-radix: New file. * testsuite/Makefile.am (TESTS): Add it. * NEWS (Bug fixes): Mention it.
* lid: fix a bug that made it so -o, -x, -d did not workShigio YAMAGUCHI2011-08-021-1/+3
| | | | | | * src/lid.c (radix_flag): Initialize to 0, not radix_all. (main): Map 0 to the default, radix_all. Tiny change.
* build: update gnulib submodule to latestJim Meyering2011-08-022-1/+2
| | | | | * cfg.mk (local-checks-to-skip): Add sc_prohibit_path_max_allocation to the list of skipped syntax-check rules. This is temporary.
* maint: update gnulib to latest with accompanying tight-scope tweakJim Meyering2011-05-252-1/+1
| | | | | | * cfg.mk: Include $(srcdir)/dist-check.mk using "-include", to accommodate the new sc_tight_scope rule. * gnulib: Update to latest.
* tests: add tests for the lid -F ..N bugJim Meyering2011-05-243-1/+53
| | | | | | | * testsuite/lid-range: New file with tests based on a report by Shigio YAMAGUCHI in http://thread.gmane.org/gmane.comp.gnu.idutils.bugs/137 * testsuite/Makefile.am (TESTS): Add it. * NEWS (Bug fixes): Mention the bug fix.
* lid -F RANGE: fix a bug in handling open-ended rangesShigio YAMAGUCHI2011-05-241-3/+8
| | | | | * src/lid.c (parse_frequency_arg): lid -F 2.. would mistakenly act like "lid -F 2" and "lid -F ..2" would act like "lid F 1"
* maint: adapt to use gnulib's tight-scope rule; update gnulib to latestJim Meyering2011-05-233-30/+3
| | | | | | | * cfg.mk (_gl_TS_headers): Define. (_gl_TS_obj_files): Likewise. * src/Makefile.am (sc_tight_scope): Remove rule. * gnulib: Update to latest.
* maint: stop using .x-sc_* files to list syntax-check exemptionsJim Meyering2011-03-207-10/+9
| | | | | | | | | | | | | | Instead, use the new mechanism with which you merely use a variable (derived from the rule name) defined in cfg.mk to an ERE matching the exempted file names. * gnulib: Update to latest, to get maint.mk that implements this. * .x-sc_cast_of_argument_to_free: Remove file. * .x-sc_program_name: Likewise. * .x-sc_prohibit_always_true_header_tests: Likewise. * .x-sc_require_config_h: Likewise. * .x-sc_require_config_h_first: Likewise. * Makefile.am (EXTRA_DIST): Remove them from here, too. * cfg.mk: Define variables to exempt the same files.
* maint: remove unused inclusion of <stddef.h>Jim Meyering2011-03-203-3/+0
| | | | | | * libidu/scanners.c: As above. * libidu/walker.c: Likewise. * src/mkid.c: Likewise.
* tests: avoid new compilation failure of a gnulib test programJim Meyering2011-03-201-1/+0
| | | | | * bootstrap.conf (avoided_gnulib_modules): Do not use --avoid=lock. That would lead to compilation failure of the localenames.c test.
* maint: avoid new false-positive syntax-check test failuresJim Meyering2011-03-202-0/+3
| | | | | | | | * .x-sc_program_name: Exempt main programs in testsuite/. * .x-sc_prohibit_always_true_header_tests: New file, to exempt src/lid.c from test for uses of cpp conditional, HAVE_TERMIOS_H. It looks like lid.c's uses (of struct termios) cannot be guaranteed to work with gnulib's replacement.
* maint: remove two empty #if...#endif blocksJim Meyering2011-03-201-6/+0
| | | | * src/lid.c: Remove empty #if...#endif blocks.
* maint: avoid syntax-check failure due to new sc_bindtextdomain ruleJim Meyering2011-03-201-5/+4
| | | | | * cfg.mk (local-checks-to-skip): Add sc_bindtextdomain. Remove references to rules that are no longer in maint.mk.
* maint: update copyright year ranges to include 2011Jim Meyering2011-03-2038-37/+37
| | | | Run "make update-copyright".
* build: update gnulib submodule to latestJim Meyering2011-01-031-0/+0
|
* mkid, xtokid: fixed conflict checking between include/exclude lang options.Pedro J. Ruiz Lopez2010-11-111-1/+1
| | | | * libidu/walker.c: fixed condition.
* maint: describe policy on copyright year number rangesJim Meyering2010-10-091-0/+3
| | | | | * README: Mention coreutils' long-standing policy on use of M-N ranges in copyright year lists. Requested by Richard Stallman.