summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Generate man pages, update from coreutils.Jim Meyering2008-05-1716-10/+183
| | | | | | | | | | | | | | | | | | | * configure.ac (AC_CONFIG_FILES): Add man/Makefile. Check for help2man. * man/Makefile.am: New file. * .gitignore: Add .version and .tarball-version. * Makefile.am (SUBDIRS): Add man. * cfg.mk: Update from coreutils. * maint.mk: Likewise. * man/aid.x: New file. * man/defid.x: Likewise. * man/eid.x: Likewise. * man/fid.x: Likewise. * man/fnid.x: Likewise. * man/gid.x: Likewise. * man/lid.x: Likewise. * man/mkid.x: Likewise. * man/xtokid.x: Likewise.
* * src/defid: Handle --help and --version.Jim Meyering2008-05-101-0/+5
|
* * configure.ac (AM_INIT_AUTOMAKE): Add dist-lzma.Jim Meyering2008-05-101-1/+1
|
* Use new gnulib gnumakefile module.Jim Meyering2008-05-106-101/+3
| | | | | | | | | * bootstrap.conf (gnulib_modules): Pull in new module. * GNUmakefile: Remove from version control. * .gitignore: Update. * configure.ac (AC_CONFIG_LINKS): Delete; rely on gnulib to do this now. * Makefile.am (EXTRA_DIST): Remove GNUmakefile.
* Sync GNUmakefile with gnulib.Jim Meyering2008-03-214-58/+93
| | | | | | | | | | | | | | | | | | * GNUmakefile (Makefile.cfg): Rename... (cfg.mk): ...to this, and make optional. (GNUmakefile.cfg): Delete, redundant with cfg.mk. (Makefile.maint): Rename... (maint.mk): ...to this. (all) [!_have-Makefile]: Rename... (abort-due-to-no-makefile): ...to this, and invoke via .DEFAULT_GOAL to pick up all targets. * Makefile.cfg: Rename... * cfg.mk: ...to this. * Makefile.maint: Rename... * maint.mk ...to this. (ME): Reflect rename. (makefile-check, m4-check, author_mark_check, msg): Use $(ME) rather than hard-coded name.
* * bootstrap.conf (gnulib_modules): Add useless-if-before-free.Jim Meyering2008-03-181-0/+1
|
* Update from coreutils.Jim Meyering2008-03-183-69/+73
| | | | | | * GNUmakefile: Likewise. * Makefile.maint: Likewise. * configure.ac: Likewise.
* Update .tarball-version-related rules from coreutils.Jim Meyering2008-03-036-17/+48
| | | | | | | | | * GNUmakefile: Support VPATH "make dist". Namespace clean-up. Remove .version-creating rules. * configure.ac (AC_INIT): Use .tarball-version, not .version * bootstrap: Update from coreutils. * bootstrap.conf (obsolete_gnulib_modules): Remove free. * Makefile.am: Emit .tarball-version into tarball.
* * testsuite/Makefile.am (TESTS_ENVIRONMENT): Remove abs_top_builddir ↵Jim Meyering2008-02-271-1/+0
| | | | setting. Not needed.
* Fix testsuite PATH for VPATH builds.Bob Proulx2008-02-141-1/+2
| | | | * testsuite/Makefile.am (PATH): Prepend $(abs_top_builddir).
* Add version report for aid program test dependency.Bob Proulx2008-02-141-0/+1
| | | | * testsuite/infloop-kawa-el [VERBOSE]: Print aid version.
* aid, eid, gid: Make these scripts executable in srcdir.Jim Meyering2008-02-143-0/+0
| | | | | | | | | This fixes a test failure that would occur when "aid" is not already installed anywhere in your search PATH. * src/aid: chmod a+x. * src/eid: Likewise. * src/gid: Likewise. Reported by Bob Proulx.
* * lisp/idutils.el (gid): Use read-string, not deprecated read-input.Jim Meyering2008-02-091-1/+1
|
* Remove version comment from idutils.el.Jim Meyering2008-02-092-15/+0
| | | | | * lisp/idutils.el: Remove version string comment. * Makefile.am (distcheck-hook): Remove rule.
* * Makefile.am (dist-hook): Write ChangeLog only if .git/ exists.v4.3.90Jim Meyering2008-02-091-3/+6
|
* Modify bootstrap.conf, not bootstrap (for ChangeLog-generation).Jim Meyering2008-02-092-4/+3
| | | | | * bootstrap.conf: touch ChangeLog here, ... * bootstrap: ...not here.
* Generate ChangeLog at "make dist" time.Jim Meyering2008-02-092-0/+6
| | | | | * Makefile.am (dist-hook): New rule. * bootstrap.conf (gnulib_modules): Add gitlog-to-changelog.
* Pull vc-list-files from gnulib.Jim Meyering2008-02-092-50/+1
| | | | | * bootstrap.conf (gnulib_modules): Add vc-list-files. * build-aux/vc-list-files: Remove from version-control.
* Makefile.maint: Update from coreutils.Jim Meyering2008-02-091-7/+8
|
* Remove unnecessary test before "free".Jim Meyering2008-01-301-2/+1
| | | | | * libidu/walker.c (get_current_dir_link): Remove "if (xcwd)" just before "free (xcwd);".
* Remove more files that are now in build-aux/.Jim Meyering2008-01-302-764/+0
| | | | | * config.rpath: Remove file. * mkinstalldirs: Remove file.
* Avoid printf-format-vs-arg type mismatch warnings.Jim Meyering2008-01-301-3/+5
| | | | * src/mkid.c (report_statistics): Cast ptrdiff_t to unsigned long long.
* Remove trailing blanks.Jim Meyering2008-01-308-23/+23
| | | | | | | | | | | | * README-alpha: * TODO: * doc/idutils.texi: * libidu/scanners.c (set_uchar_ctype, ARGS, get_token_lisp): * src/Makefile.am: * src/fid.c (main): * src/lid.c (report_edit): * Makefile.cfg (local-checks-to-skip): Remove sc_trailing_blank, thus enabling that check.
* Remove useless multiply-by-1. Avoid sizeof TYPE: use equivalent sizeof *VAR.Jim Meyering2008-01-302-5/+5
| | | | | | * libidu/dynvec.c (make_dynvec): * libidu/scanners.c (parse_language_map_file, parse_args_c) (parse_args_asm, parse_args_text):
* Allocate safely.Jim Meyering2008-01-303-9/+10
| | | | | | | | * libidu/dynvec.c (make_dynvec, dynvec_freeze, dynvec_append): Use xnmalloc, not xmalloc (n * sizeof T). Use xnrealloc, not xrealloc (p, n * sizeof T). * libidu/walker.c (append_strings_to_vector, vectorize_string): Likewise. * libidu/scanners.c (tokenize_args_string): Likewise.
* Use xstrdup, not strdup.Jim Meyering2008-01-305-11/+12
| | | | | | | | | * src/lid.c (get_editor_argv): Use xstrdup, not strdup. * libidu/walker.c (get_current_dir_link): Likewise. * libidu/idfile.c: Include "xalloc.h". (locate_id_file_name): Handle failed strdup. * libidu/scanners.c (parse_args_text, parse_args_perl): Likewise. (parse_args_c, parse_args_asm): Likewise.
* fid: avoid buffer overrun.Jim Meyering2008-01-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | * libidu/idread.c (deserialize_file_links): Fix typo (or think-o). Here's what valgrind reported: Invalid write of size 4 at 0x804A15A: deserialize_file_links (idread.c:132) by 0x8049DEE: maybe_read_id_file (idread.c:74) by 0x8049C64: read_id_file (idread.c:46) by 0x80492FB: main (fid.c:170) Address 0x41EB944 is 628 bytes inside a block of size 629 alloc'd at 0x4022765: malloc (vg_replace_malloc.c:149) by 0x80516BC: xnmalloc_inline (xmalloc.c:49) by 0x80516EE: xmalloc (xmalloc.c:65) by 0x8049E2F: deserialize_file_links (idread.c:87) by 0x8049DEE: maybe_read_id_file (idread.c:74) by 0x8049C64: read_id_file (idread.c:46) by 0x80492FB: main (fid.c:170) Signed-off-by: Jim Meyering <meyering@redhat.com>
* Replace uses of xrealloc with uses of safer variants.Jim Meyering2008-01-141-7/+11
| | | | | | | * src/mkid.c (write_id_file): Avoid risk of overflow. (make_sibling_summary, add_token_to_summary): Likewise. Signed-off-by: Jim Meyering <meyering@redhat.com>
* src/mkid.c: Remove now-unused declaration of dirname.Jim Meyering2008-01-141-2/+0
| | | | Signed-off-by: Jim Meyering <meyering@redhat.com>
* lisp/idutils.el: Restore "Version: ..." comment.Jim Meyering2008-01-141-1/+3
| | | | Signed-off-by: Jim Meyering <meyering@redhat.com>
* Ensure that a ChangeLog file exists before running automake.Jim Meyering2008-01-142-0/+5
| | | | | | Add ChangeLog to .gitignore. Signed-off-by: Jim Meyering <meyering@redhat.com>
* Convert to coreutils-flavored gnulib.Jim Meyering2008-01-1419-262/+1751
| | | | Signed-off-by: Jim Meyering <meyering@redhat.com>
* ChangeLog-2007: Rename from ChangeLog.Jim Meyering2008-01-141-0/+0
| | | | Signed-off-by: Jim Meyering <meyering@redhat.com>
* distribute.sh: Remove now-unused file.Jim Meyering2008-01-141-209/+0
| | | | | | | * distribute.sh: Remove file. Now, use "make alpha", "make stable", etc. and follow resulting instructions that tell how to invoke build-aux/gnupload. Signed-off-by: Jim Meyering <meyering@redhat.com>
* Update copyright year.Jim Meyering2008-01-141-1/+1
| | | | Signed-off-by: Jim Meyering <meyering@redhat.com>
* Avoid a test failure.Jim Meyering2008-01-142-1/+3
| | | | | | | | * testsuite/infloop-kawa-el: Invoke mkid with -m, since id-lang.map may not be installed yet. * testsuite/Makefile.am (TESTS_ENVIRONMENT): Set abs_top_srcdir. Signed-off-by: Jim Meyering <meyering@redhat.com>
* Mark diagnostics for translation.Jim Meyering2008-01-143-5/+6
| | | | | | | | * src/mkid.c (main): Mark with _(...). * libidu/walker.c (exclude_languages, include_languages): Likewise. * src/lid.c (report_grep): Likewise. Signed-off-by: Jim Meyering <meyering@redhat.com>
* Put at least two spaces between an option and its description.Jim Meyering2008-01-143-6/+7
| | | | | | | | | help2man requires this. * src/lid.c: Add another space before the description. * src/mkid.c: Likewise. * src/xtokid.c: Likewise. Signed-off-by: Jim Meyering <meyering@redhat.com>
* Adjust indentation in ChangeLog to use only TABs.Jim Meyering2008-01-141-9/+9
| | | | Signed-off-by: Jim Meyering <meyering@redhat.com>
* Avoid SPACE-TAB.Jim Meyering2008-01-142-3/+3
| | | | | | | * testsuite/consistency: Use TAB-SPACE, instead. * src/defid: Likewise. Signed-off-by: Jim Meyering <meyering@redhat.com>
* Don't cast x*alloc return value.Jim Meyering2008-01-141-3/+3
| | | | | | | * libidu/hash.c (hash_rehash): Remove cast. (hash_init): Likewise. Signed-off-by: Jim Meyering <meyering@redhat.com>
* Don't include <strsep.h>. Now it's guaranteed to be in <string.h>.Jim Meyering2008-01-043-6/+3
| | | | | | | | * libidu/walker.c: Don't include <strsep.h>. * libidu/idfile.c: Likewise. * libidu/scanners.c: Likewise. Signed-off-by: Jim Meyering <meyering@redhat.com>
* Remove files now pulled from gnulib.Jim Meyering2008-01-04263-55302/+0
| | | | | | Also remove all intl/ files. Signed-off-by: Jim Meyering <meyering@redhat.com>
* ChangeLog up to date.Pedro J. Ruiz Lopez2007-08-171-0/+6
|
* License upgrade to "GPL-3 or later"Pedro J. Ruiz Lopez2007-08-1724-378/+712
|
* Upgraded pl.po file to lastest versionPedro J. Ruiz Lopez2007-08-171-427/+257
|
* Ensure that idutils.el's "Version:" comment stays up to date.Jim Meyering2007-07-112-1/+17
| | | | * Makefile.am (distcheck-hook): New rule.
* Adjust idutils.el comments to work with package.el.Jim Meyering2007-07-112-1/+12
| | | | | * lisp/idutils.el: Fix comments. (gid): Add autoload comment.
* Add a one-line summary to explain "why".Jim Meyering2007-06-271-2/+2
|
* *** empty log message ***Pedro J. Ruiz Lopez2007-06-262-1/+6
|