summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* maint: cfg.mk: remove factored-out ftp host/dir definitionsJim Meyering2009-11-202-10/+0
| | | | | | | * cfg.mk (gnu_ftp_host-alpha, gnu_ftp_host-beta gnu_ftp_host-stable): (gnu_rel_host, url_dir_list): Remove definitions. The defaults, now provided by maint.mk, are the same. * gnulib: Update for latest, including those maint.mk additions.
* build: require gettext-0.17Jim Meyering2009-11-131-1/+1
| | | | * configure.ac: Require gettext-0.17; it was released two years ago.
* build: correct gettext configure-time supportJim Meyering2009-11-131-1/+1
| | | | | | | * configure.ac: Use AM_GNU_GETTEXT([external], [need-ngettext]), rather than AM_GNU_GETTEXT([external], [need-formatstring-macros]). Reported by Martin Jacobs in http://thread.gmane.org/gmane.comp.parsers.bison.bugs/3181
* build: update gnulib submodule to latestJim Meyering2009-11-071-0/+0
|
* admin: distribute gnu-web-doc-updateJim Meyering2009-10-311-0/+1
| | | | * bootstrap.conf (gnulib_modules): Add gnu-web-doc-update.
* admin: document release procedure (copied from gzip's)Jim Meyering2009-10-311-0/+83
| | | | * README-release: New file.
* post-release administriviaJim Meyering2009-10-303-2/+5
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* version 4.4v4.4Jim Meyering2009-10-301-1/+1
| | | | * NEWS: Record release date.
* build: accommodate new syntax-check testJim Meyering2009-10-3010-40/+40
| | | | | | | | | | | | | | | | | | | | | | | | Use EXIT_FAILURE and EXIT_SUCCESS, not 1 and 0. Apply these commands: perl -pi -e 's/\berror \(1,/error (EXIT_FAILURE,/' \ $(git grep -l '\<error (1,') perl -pi -e 's/\bexit \(1\)/exit (EXIT_FAILURE)/' \ $(git grep -l '\<exit (1)') perl -pi -e 's/\bexit \(0\)/exit (EXIT_SUCCESS)/' \ $(git grep -l '\<exit (0)') * libidu/idread.c (read_id_file, maybe_read_id_file, io_read): * libidu/idu-hash.c (hash_init): * libidu/idwrite.c (io_write): * libidu/scanners.c (parse_language_map, parse_language_map_file): (read_language_map_file): * libidu/walker.c (include_languages, exclude_languages): (get_current_dir_link): * src/fid.c (usage, help_me, main): * src/fnid.c (usage, help_me, main): * src/lid.c (usage, help_me, main, report_grep, report_edit): (query_regexp): * src/mkid.c (main, assert_writeable, write_id_file): * src/xtokid.c (help_me):
* build: update gnulib submodule to latestJim Meyering2009-10-301-0/+0
|
* build: update gnulib submodule to latestJim Meyering2009-10-191-0/+0
|
* build: update bootstrap from coreutilsJim Meyering2009-10-182-11/+60
| | | | | * bootstrap: Update from coreutils. * bootstrap.conf: Likewise.
* build: update gnulib submodule to latestJim Meyering2009-10-181-0/+0
|
* maint: use proper distribution upload urlJim Meyering2009-09-301-1/+1
| | | | * cfg.mk (url_dir_list): Use $(PACKAGE), not coreutils.
* build: avoid warning exposed by gcc-4.4.1Jim Meyering2009-09-305-7/+5
| | | | | | | | * src/fid.c (help_me): Declare with noreturn attribute. * src/fnid.c (help_me): Likewise. * src/lid.c (help_me): Likewise. * src/mkid.c (help_me): Likewise. * src/xtokid.c (help_me): Likewise.
* build: use more gnulib modules for better POSIX complianceJim Meyering2009-09-301-0/+7
| | | | | | | | | * bootstrap.conf (gnulib_modules): Add modules exposed via make CFLAGS=-DGNULIB_POSIXCHECK 2>&1 \ |perl -lne '/.* use gnulib module (\S+).*/ and print $1' \ |sort |uniq -c|sort -nr calloc, fflush, fopen, freopen, fprintf-posix, printf-posix, sprintf-posix
* maint: update gnulib submodule to latestJim Meyering2009-08-311-0/+0
|
* maint: declare usage with "noreturn" attribute, so...Jim Meyering2009-08-311-1/+1
| | | | * libidu/scanners.c: ...tools like llvm understand flow control better.
* maint: use better syntax: NULL, not 0, in pointer comparisonJim Meyering2009-08-311-1/+1
| | | | * libidu/scanners.c (language_save_arg): Compare pointer to NULL, not 0.
* maint: mkid, xtokid: remove unnecessary initializationJim Meyering2009-08-312-2/+0
| | | | | * src/xtokid.c (main): Don't set "skip_file" unnecessarily. * src/mkid.c (main): Likewise.
* build: don't use -Werror in lib/Jim Meyering2009-08-311-1/+1
| | | | * lib/Makefile.am (AM_CFLAGS): Don't use $(WERROR_CFLAGS).
* build: enable warning options also in lib/Jim Meyering2009-08-161-1/+1
| | | | * lib/Makefile.am (AM_CFLAGS): Fix typo: s/WARNING_CFLAGS/WARN_CFLAGS/
* maint: configure update-copyright to use intervalsJim Meyering2009-08-151-0/+2
| | | | * cfg.mk (update-copyright-env): Define.
* maint: update copyright year lists to include 2009Jim Meyering2009-08-1523-27/+27
|
* maint: make @copyright line recognizable to update-copyrightJim Meyering2009-08-151-2/+1
| | | | * doc/idutils.texi: Remove "(C)" from copyright line.
* build: avoid "make distcheck" failure and distracting diagnosticsJim Meyering2009-08-151-5/+5
| | | | | | * testsuite/check.mk (built_programs): Rewrite so that it works. (TESTS_ENVIRONMENT): Use $$f, not $$tst. The latter included a $(srcdir)/ prefix that was fatal in the non-srcdir build case.
* rename hash.? to idu-hash.? to avoid conflict with gnulib's hash.hJim Meyering2009-08-158-9/+9
| | | | | | | | | | | | | Now that gnulib's exclude module uses gnulib's hash module, which includes a hash.h file, idutils' use of a hash.h file conflicted. Rename the one here in idutils: * libidu/idu-hash.c: Rename from hash.c. * libidu/idu-hash.h: Rename from hash.h. * libidu/idfile.h: Reflect renaming. * libidu/idread.c: Likewise. * libidu/idwrite.c: Likewise. * src/mkid.c: Likewise. * libidu/Makefile.am: Likewise.
* build: use gnulib's update-copyright moduleJim Meyering2009-08-151-0/+1
| | | | * bootstrap.conf (gnulib_modules): Add update-copyright.
* build: use gnulib's getopt-gnu module (getopt is now deprecated)Jim Meyering2009-08-151-1/+1
| | | | | * bootstrap.conf (gnulib_modules): Gnulib's getopt module is now deprecated; use the new, preferred name, getopt-gnu.
* build: update from gnulibJim Meyering2009-08-151-0/+0
| | | | * gnulib: Update submodule to latest.
* build: avoid a legitimate warning exposed by newer gccJim Meyering2009-08-151-1/+0
| | | | | * libidu/scanners.c (language_save_arg): Remove decl of unused static local, horizontal_space.
* tests: run the latest testJim Meyering2009-08-153-2/+4
| | | | | | * testsuite/Makefile.am (EXTRA_DIST): Add mkid-langopt. * NEWS: Tweak wording. * testsuite/mkid-langopt: Add a comment.
* mkid: avoid segfault with "-l OPT"Pedro J. Ruiz Lopez2009-08-134-8/+23
| | | | | | | | | * libidu/scanners.c: languages_0[] is not const anymore, since this would make impossible to set lang->lg_argv * libidu/scanners.c: language_save_arg now manages language options with zero or one argument. * doc/idutils.texi: update to reflect the behavior of mkid "-l" option. * testsuite/mkid-langopt: new test program.
* maint: ignore *.1 man pagesJim Meyering2009-07-041-0/+1
| | | | * .gitignore: Ignore man/*.1.
* build: require/use newer automakeJim Meyering2009-07-041-1/+1
| | | | | * configure.ac: require automake-1.11. Enable color-tests and parallel-tests options.
* tests: remove now-unnecessary build-aux/check.mkJim Meyering2009-07-042-285/+1
| | | | | * build-aux/check.mk: Remove file. * testsuite/check.mk: Don't include build-aux/check.mk.
* tests: avoid a false-positive failureJim Meyering2009-07-041-2/+2
| | | | | | * testsuite/consistency: Manually remove single_file_token_bug.c from the list of files to be compared, since it would provoke a false positive.
* tests: update CuTmpdir.pm from coreutilsJim Meyering2009-07-041-11/+13
| | | | * testsuite/CuTmpdir.pm: Update from coreutils.
* mkid, xtokid: read and process --files0-from= input a name at a time,Jim Meyering2009-07-044-97/+160
| | | | | | | | | | | | rather than by reading the entire input into memory and *then* processing each file name. * src/mkid.c: Include "argv-iter.h", not "readtokens0.h". (main): Rewrite to use argv-iter. * src/xtokid.c: Likewise. Include <assert.h>. * bootstrap.conf (gnulib_modules): Add argv-iter. Remove readtokens0. * libidu/iduglobal.h (STREQ): Define. (bad_cast): Define.
* remove wc-related code that doesn't apply hereJim Meyering2009-07-043-27/+0
| | | | | | * src/mkid.c: Don't handle a file name of "-" specially. * src/xtokid.c: Likewise. * testsuite/files0-from: Don't test for it.
* tests: add testing framework, and tests for the new optionJim Meyering2009-07-0411-9/+1260
| | | | | | | | | | | | | | | | | * NEWS (New features): Mention the new option. * src/mkid.c (main): Adjust a diagnostic. * src/xtokid.c (main): Adjust a diagnostic. * bootstrap.conf (gnulib_modules): Add perl and posix_shell * build-aux/check.mk: New file, from coreutils. * testsuite/Coreutils.pm: Likewise. * testsuite/CuTmpdir.pm: Likewise. * testsuite/check.mk: Likewise. * testsuite/envvar-check: Likewise. * testsuite/files0-from: New test, based on one from coreutils. * testsuite/Makefile.am (TESTS): Add files0-from. (TESTS_ENVIRONMENT): Remove definition. Now it's in check.mk. (EXTRA_DIST): Add Coreutils.pm CuTmpdir.pm envvar-check and check.mk. Include $(srcdir)/check.mk.
* mkid, xtokid: accept a new option --files0-from=FILEPedro J. Ruiz Lopez2009-07-044-39/+230
| | | | | | | | | * bootstrap.conf (gnulib_modules): Add quote and readtokens0. * doc/idutils.texi: Document the option. * src/mkid.c (usage, FILES0_FROM_OPTION, long_options, help_me) (main): Implement. * src/xtokid.c (usage, FILES0_FROM_OPTION, long_options, help_me) (main): Likewise.
* gnulib: update to latest, to get argv-iterJim Meyering2009-07-041-0/+0
|
* build: update from coreutilsJim Meyering2009-06-305-126/+253
| | | | | | | * README-hacking: Update from coreutils. * bootstrap.conf: Likewise. * bootstrap: Likewise. * dist-check.mk: Likewise.
* Fixed bug #22154: --default-lang does nothingPedro J. Ruiz Lopez2009-06-161-0/+16
| | | | * libidu/scanners.c: set_default_language function implemented.
* maint: add const attribute to a few declarationsJim Meyering2009-06-073-9/+9
| | | | | | * libidu/hash.c (hash_print_stats, hash_dump): Add const. * libidu/hash.h: Likewise. * src/mkid.c (scan_files): Likewise.
* build: avoid warning from newer gccJim Meyering2009-06-071-0/+1
| | | | * configure.ac: Turn off -Wunsafe-loop-optimizations.
* build: update from gnulibJim Meyering2009-06-071-0/+0
| | | | * gnulib: Update submodule to latest.
* elisp: use `read-shell-command' in `gid'Ludovic Courtès2009-05-181-2/+2
| | | | | * lisp/idutils.el (gid): Use `read-shell-command' instead of `read-string', to allow for completion.
* maint: cfg.mk: remove now-unnecessary gnulib_dir definitionJim Meyering2009-05-171-4/+0
| | | | | * cfg.mk (gnulib_dir): Remove definition, now that gnulib's maint.mk provides the default we want.