summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* build: use maint.mk from gnulibJim Meyering2009-04-293-895/+3
| | | | | | | * maint.mk: Remove file. Now it's generated. * .gitignore: Ignore it. * bootstrap.conf (gnulib_modules): Add maintainer-makefile. Remove obsolete modules.
* maint: use a git submodule for gnulibJim Meyering2009-04-292-0/+3
| | | | | | * .gitmodules: New file, to track gnulib. * gnulib: New file, created by running this: git submodule add git://git.sv.gnu.org/gnulib.git gnulib
* * configure.ac (AM_INIT_AUTOMAKE): Require automake-1.10b or newer.Jim Meyering2009-04-291-1/+1
|
* build: make automake's silent-rules option the defaultJim Meyering2009-04-271-0/+1
| | | | | | * configure.ac (AM_SILENT_RULES): Use this, with it's "yes" argument. Those who want verbose build output may configure with --disable-silent-rules or use "make V=1".
* * maint.mk: sync from coreutilsJim Meyering2009-03-211-14/+18
|
* maint.mk: update from coreutilsJim Meyering2009-03-182-3/+8
| | | | | * maint.mk: Sync. * cfg.mk (manual_title): Define.
* * cfg.mk (old_NEWS_hash): Update.Jim Meyering2009-03-021-1/+1
|
* maint.mk: update from coreutilsJim Meyering2009-03-023-230/+212
| | | | | | | * maint.mk: Modernize (sc_tight_scope): Move this rule to... * idutils/cfg.mk (sc_tight_scope): ...here. * .x-sc_require_config_h_first: New file.
* * doc/idutils.texi: Update copyright year.Jim Meyering2009-03-021-1/+2
|
* * configure.ac: Use dist-xz rather than dist-lzma.Jim Meyering2009-03-021-1/+1
|
* recognize `.org' files as textLudovic Courtès2009-03-021-0/+1
| | | | * libidu/id-lang.map: Add `.org' extension, for Emacs Org-Mode files.
* * src/lid.c: Remove duplicate inclusion of <termios.h>.Jim Meyering2008-11-301-1/+0
|
* * src/fnid.c: Remove duplicate inclusion of <errno.h>.Jim Meyering2008-11-301-1/+0
|
* recognize a few more file typesJim Meyering2008-10-261-0/+6
| | | | | * libidu/id-lang.map: Recognize .rb, .in.h, .PL, configure.in, and GNUmakefile.
* avoid a start-up leakJim Meyering2008-10-261-10/+4
| | | | * libidu/walker.c (get_current_dir_link): Don't leak cwd_0.
* accommodate gnulib header removalsPedro J. Ruiz Lopez2008-10-224-4/+4
| | | | | | | * libidu/idfile.c: Include <sys/stat.h>, not "lstat.h". * libidu/scanners.c: Likewise. * libidu/walker.c: Likewise. * src/mkid.c: Likewise.
* post-release administriviaJim Meyering2008-10-183-2/+5
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* * NEWS: Record release date; add copyright at bottom.v4.3.92Jim Meyering2008-10-181-6/+11
|
* sync from coreutilsJim Meyering2008-10-184-55/+153
| | | | | | | | * maint.mk: Sync from coreutils. * bootstrap: Likewise. * README-hacking: Likewise. * bootstrap.conf: Standardize copyright comments. (gnulib_modules): Add announce-gen and strcasestr.
* add idutils.spec.inJim Meyering2008-10-183-0/+84
| | | | | | | * idutils.spec.in: New file, mostly from from Markus Armbruster. * Makefile.am (idutils.spec): New rule. (EXTRA_DIST): Add idutils.spec.in and idutils.spec. * .gitignore: Add idutils.spec.
* set coding system to utf8 in THANKSJim Meyering2008-09-131-2/+6
| | | | * THANKS: and adjust François' name accordingly.
* * lisp/idutils.el: Update suggested autoload syntax in comment.Jim Meyering2008-09-121-1/+1
|
* use dist_man1_MANS rather than dist_man_MANS: efficiencyJim Meyering2008-09-121-5/+5
| | | | | * man/Makefile.am: Use dist_man1_MANS rather than dist_man_MANS. Recommended in automake documentation, for more efficient install.
* tests: adjust failure diagnostic to match realityJim Meyering2008-08-301-3/+3
| | | | | * testsuite/consistency: Correct suffix, s/xtokid/xti/ in diagnostics. Also fix a double temp-file naming bug: s/fid/lid/g.
* * bootstrap: Update from coreutils.Jim Meyering2008-08-301-8/+8
|
* avoid warnings, adjust for const-correctnessJim Meyering2008-06-246-17/+24
| | | | | | | | | | | | | | * libidu/scanners.c (long_options_c, long_options_asm) (long_options_text, long_options_perl): Add initializers. * src/fid.c (long_options): Add initializers. * src/fnid.c (long_options): Add initializers. * src/lid.c (ATTRIBUTE_UNUSED): Define. (long_options): Add initializers. (report_nothing): Mark parameter as unused. (get_editor_argv, report_edit): Adjust for const-correctness. * src/mkid.c (long_options): Add initializers. (report_statistics): Don't subtract "void*" pointers. Cast to "char*". * src/xtokid.c (long_options): Add initializers.
* remove redundant "const" in declarationsJim Meyering2008-06-246-10/+10
| | | | | | | | | | * libidu/scanners.c (languages_0, long_options_c): Likewise. (long_options_asm, long_options_text, long_options_perl): Likewise. * src/fid.c (long_options): Likewise. * src/fnid.c (long_options): Likewise. * src/lid.c (long_options): Likewise. * src/mkid.c (long_options): Likewise. * src/xtokid.c (long_options): Likewise.
* * maint.mk: sync from coreutilsJim Meyering2008-06-241-2/+10
|
* sync maint.mk from coreutils, and adjust to conformJim Meyering2008-06-145-22/+63
| | | | | | | | * libidu/scanners.c (long_options_c, long_options_asm): Add "const". (long_options_text, long_options_perl): Likewise. * src/fnid.c (long_options): Likewise. * src/lid.c (long_options): Likewise. * src/xtokid.c (long_options): Likewise.
* exempt the four new src/lid-?id.c files from config.h testJim Meyering2008-06-041-0/+1
| | | | * .x-sc_require_config_h: Add the regexp.
* use gnulib's progname moduleJim Meyering2008-06-046-17/+11
| | | | | | | | | | | * bootstrap.conf (gnulib_modules): Add progname. * src/mkid.c: Include "progname.h". (program_name): Remove declaration. (main): Call set_program_name rather than setting program_name. * src/fid.c: Likewise. * src/fnid.c: Likewise. * src/lid.c: Likewise. * src/xtokid.c: Likewise.
* * maint.mk: sync from coreutilsJim Meyering2008-06-041-5/+29
|
* * bootstrap.conf (gnulib_modules): Add autobuild.Jim Meyering2008-05-301-0/+1
|
* * maint.mk: Merge from coreutils.Jim Meyering2008-05-281-10/+43
|
* build aid, eid, and gid as binaries (were scripts)Jim Meyering2008-05-2812-14/+54
| | | | | | | | | | | | | | * src/lid.c: Include "lid.h". (main): Set defaults based on new global, lid_mode. * src/Makefile.am (bin_PROGRAMS): Add aid, eid, gid. (dist_bin_SCRIPTS): Remove them from this list. (noinst_HEADERS, aid_SOURCES, eid_SOURCES): Define. (gid_SOURCES, lid_SOURCES): Define. * src/aid, src/eid, src/gid: Remove scripts. * src/lid-aid.c, src/lid-eid.c, src/lid-gid.c, src/lid-lid.c: * src/lid.h: New files. * man/Makefile.am (aid.1, eid.1, gid.1): Adjust dependencies. * .gitignore: Add src/aid, src/eid, src/gid.
* enforce --help and --version complianceJim Meyering2008-05-271-1/+1
| | | | * configure.ac (AM_INIT_AUTOMAKE): Add std-options.
* perform gnulib tests firstJim Meyering2008-05-271-1/+1
| | | | * Makefile.am (SUBDIRS): Make gnulib-tests precede testsuite.
* don't ignore pre-fclose ID-file write errorJim Meyering2008-05-221-1/+1
| | | | * src/mkid.c (write_id_file): Test ferror, too.
* detect write error on stdoutJim Meyering2008-05-206-8/+23
| | | | | | | | | | * src/fid.c: Include "closeout.h". (main): Use it via atexit. * src/fnid.c (main): Likewise. * src/lid.c (main): Likewise. * src/mkid.c (main): Likewise. * src/xtokid.c (main): Likewise. * NEWS: Mention the bug fixes.
* recognize more suffixes: .mk, .ac, .bz2, .lzma.Jim Meyering2008-05-192-2/+19
| | | | | | * libidu/id-lang.map: Add .mk -> make, .ac -> m4. Handle .bz2 and .lzma, too. * NEWS: Mention this. Add a few more news items.
* tighten scope in libidu/, tooJim Meyering2008-05-1711-47/+50
| | | | | | | | | | | | | | | | | | Mark with "extern" the symbols that belong that way. Make the others static. * libidu/dynvec.h (dv_fill): * libidu/fnprint.c (cw_dlink): * libidu/hash.h (qsort_cmp_t): * libidu/idfile.h (io_func_t): * libidu/scanners.c (lang_args_obstack, languages_0, languages_N): (language_help_me, language_getopt, get_language): (lang_args_index): * libidu/walker.c (largest_member_file): * maint.mk (extract_char, today): * src/fid.c (long_options): * src/fnid.c (cw_dlink): * src/lid.c (cw_dlink): * src/xtokid.c (cw_dlink):
* * src/Makefile.am (sc_tight_scope): Improve.Jim Meyering2008-05-171-4/+4
|
* make more functions staticJim Meyering2008-05-177-84/+100
|
* declare many global variable to be "static"Jim Meyering2008-05-175-69/+65
| | | | | Remove the few that were thus exposed as being unused. Remove some unused prototypes.
* tests: make scope check work when $(noinst_HEADERS) is emptyJim Meyering2008-05-171-1/+1
| | | | | * src/Makefile.am (sc_tight_scope): Add /dev/null as an argument to the sed-based variable filter, in case $(noinst_HEADERS) is empty.
* Remove unused functions.Jim Meyering2008-05-171-85/+0
| | | | | * src/lid.c (linetty): Remove unused function. (file_name_wildcard): Likewise.
* * src/lid.c (strcasestr): Remove function.Jim Meyering2008-05-171-18/+0
|
* make functions staticJim Meyering2008-05-175-147/+154
|
* tests: enable scoping checkJim Meyering2008-05-172-2/+28
| | | | | * cfg.mk (local-checks-to-skip): Don't skip sc_tight_scope anymore. * src/Makefile.am (sc_tight_scope): New rule. From coreutils.
* * bootstrap: Sync from coreutils.Jim Meyering2008-05-171-28/+14
|