1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699
|
2007-08-18 Pedro J. Ruiz Lopez <holzplatten@es.gnu.org>
* License upgrade to "GPL-3 or later".
* po/pl.po: new version of this file.
2007-07-11 Jim Meyering <jim@meyering.net>
Ensure that idutils.el's "Version:" comment stays up to date.
* Makefile.am (distcheck-hook): New rule.
2007-07-10 Tom Tromey <tromey@redhat.com>
Adjust idutils.el comments to work with package.el.
* lisp/idutils.el: Fix comments.
(gid): Add autoload comment.
2007-06-26 Tom Tromey <tromey@redhat.com>
Don't treat the last line in the gid buffer as a match.
* lisp/idutils.el (gid-mode-font-lock-keywords): Also match "finished".
2007-06-19 Tom Tromey <tromey@redhat.com>
* lisp/idutils.el: Require thingatpt.
(gid-mode-font-lock-keywords): New variable.
(gid-use-search-in-buffer-name): New variable.
(gid-mode): New mode.
(gid): Use compilation-start, thing-at-point.
(word-around-point): Removed.
Details in <http://thread.gmane.org/gmane.comp.gnu.idutils.bugs/70>.
2007-02-19 Pedro J. Ruiz Lopez <holzplatten@es.gnu.org>
* Upgraded gnulib.
* Upgraded gettext.
* lib/regex_internal.h: fix warnings about redefined cpp macros.
2007-01-19 Jim Meyering <jim@meyering.net>
temporary fix simply to avoid the infloop.
* libidu/scanners.c (get_token_lisp): Disable the code that
treats '[]' as part of a kawa identifier. It could call ungetc
two or three times in a row. One is the maximum.
* testsuite/infloop-kawa-el: New file. Test for the above.
* testsuite/Makefile.am (TESTS): Add infloop-kawa-el.
(TESTS_ENVIRONMENT): Prepend build directory to PATH so that
invoking e.g., "mkid" runs the just-built version of the tool.
2006-11-25 Claudio Fontana <claudio@gnu.org>
* libidu/scanners.c (get_token_lisp): provide rough support for
character constants.
2006-10-19 Claudio Fontana <claudio@gnu.org>
* libidu/scanners.c (get_token_lisp): (tiny) fix bug in double
quoted string parsing (fix provided by Walter Sosa).
2006-08-22 Claudio Fontana <claudio@gnu.org>
* doc/idutils.texi: fix wrong example .emacs entry, where
a nonexistent 'gid' lisp is loaded instead of 'idutils'.
2006-08-05 Claudio Fontana <claudio@gnu.org>
version 4.2 released.
2006-07-22 Claudio Fontana <claudio@gnu.org>
* configure.ac: add header checks for terminal-related stuff.
* configure.ac: add check for lstat, bumped to 4.2
* libidu/idfile.c: replace include sys/stat.h with lstat.h.
* libidu/scanners.c: likewise.
* libidu/walker.c: likewise.
* src/mkid.c: likewise.
* libidu/walker.c: provide replacement function for lstat
in a somewhat convoluted way, using plain stat.
2006-07-22 Claudio Fontana <claudio@gnu.org>
* configure.ac: add check for sbrk
* src/mkid.c (get_process_heap): new function.
Calls sbrk() if available, or NULL if unsupported.
* src/mkid.c (report_statistics): (nochange)
the reported heap usage is 0+0 if sbrk is
not available.
2006-07-22 Claudio Fontana <claudio@gnu.org>
upgraded gnulib.
2006-07-22 Claudio Fontana <claudio@gnu.org>
removed generated files from CVS
* src/lid.c (get_editor_argv): new function that
tokenizes EDITOR environment variable.
* src/lid.c (report_edit): use get_editor_argv;
some cleanup; set using_vi for vim too.
2006-07-06 Claudio Fontana <claudio@gnu.org>
* src/Makefile.in: regenerated.
* src/mkid.c: remove useless (and wrong) const.
2006-06-26 Claudio Fontana <claudio@gnu.org>
* libidu/walker.c (walk_flink): add missing #ifdef HAVE_LINK before
calling hard-link specific code (patch #5165).
* libidu/scanners.c (get_token_perl): fix problem in perl support
with comments and quotation.
Patch appended to patch #2775 by Madhu Gogulapati.
2006-03-12 Claudio Fontana <claudio@gnu.org>
version 4.1 released.
2006-03-05 Claudio Fontana <claudio@gnu.org>
* src/lid.c::isnumber(): fixed bug in pattern recognition.
A single 'l' or 'u' does not make a pattern a number.
It must come after ciphers.
* src/lid.c::help_me(): add bug report string
* src/mkid.c: likewise
* src/xtokid.c: likewise
* src/fid.c: likewise
* src/fnid.c: likewise
2006-02-15 Jim Meyering <jim@meyering.net>
* lib/verify.h: New file, from gnulib.
2006-02-15 Claudio Fontana <claudio@gnu.org>
* libidu/scanners.c: integrated a lisp+java support patch,
based on the original work by Edouard G. Parmelan
2006-01-11 Claudio Fontana <claudio@gnu.org>
* lib/fnmatch.c, lib/fnmatch_loop.c: included workaround for a
possible gcc bug in handling multibyte char sequences.
Fix by Paul Eggert <eggert@gnu.org>, problems reported by
Nelson H. F. Beebe <beebe@math.utah.edu>
* src/mkid.c, src/lid.c: replace dirname() and basename() usage
with dir_name() and base_name() to fix a portability problem
spotted by Nelson H. F. Beebe <beebe@math.utah.edu>
2006-01-08 Claudio Fontana <claudio@gnu.org>
* src/mkid.c: fixed bad offtostr usage (now uses return value)
2006-01-06 Claudio Fontana <claudio@gnu.org>
* configure.ac: reverted change to "conditionally add -I ../intl to the
CFLAGS to let all subdirs find the included libintl.h"
* m4/gettext.m4: offer a more general solution to the above problem,
by automatically adding the internal intl directory to the CPPFLAGS
when used.
* lib/regex_internal.h: apply workaround for buggy pgcc preprocessor
handling large unsigned 64 bit values as signed, and thus breaking
compilation. Fix by Paul Eggert <eggert@gnu.org>, catch by
Nelson H. F. Beebe <beebe@math.utah.edu>
* distribute.sh: changed id-utils to idutils
* distribute-alpha.sh: likewise
* BLURB: likewise
* README-alpha: likewise
* configure.ac: changed bug report address to bug-idutils@gnu.org
* doc/id-utils.texi: renamed to doc/idutils.texi, and fixed content
accordingly
* doc/Makefile.am: reflect filename change
* lisp/id-utils.el: renamed to lisp/idutils.el, and fixed content
accordingly
* lisp/Makefile.am: reflect filename change
* po/*.po: replaced bug-id-utils@gnu.org with bug-idutils@gnu.org
2005-12-27 Claudio Fontana <claudio@gnu.org>
* README-alpha: added information about successful builds
* configure.ac: fixed unwanted change in bugs mailing list address
* configure.ac: moved development to version 4.1
* configure.ac: conditionally add -I ../intl to the CFLAGS,
to let all subdirs find the included libintl.h
* m4/extra_dist.sh: added script to autogenerate extra dist Makefile.am
* src/Makefile.am: pass libgnu to the linker before and after libintl
to solve mutual dependencies problems caused by gnulib modules
getopt and regex, which include libintl.h
* lib/dirname.c, lib/dirname.h [new files]: added dirname module
* lib/basename.c [new file]: likewise
* lib/stripslash.c [new file]: likewise
* lib/Makefile.am: likewise (gnulib-generated)
* m4/dirname.m4, m4/dos.m4 [new files]: likewise
* libidu/idfile.c: add missing include directive for strsep.h
* libidu/scanners.c: likewise
* libidu/walker.c: likewise
* libidu/scanners.c: add missing include for alloca.h
* libidu/walker.c: likewise
* src/mkid.c: add include directive for dirname.h
* src/lid.c: likewise
* src/*.c, libidu/*.c: enforce <> for system includes or their gnulib
replacements, and "" for program specific headers
2005-12-24 Claudio Fontana <claudio@gnu.org>
version 4.0 released.
2005-12-15 Claudio Fontana <claudio@gnu.org>
* src/mkid.c: tweak alloc-ed size of token signature to a minimum
of 1 byte. Fixes assertion failure filed as savannah support request
sr #104712.
* testsuite/consistency: added test case for this bug
* testsuite/single_file_token_bug.c [new file]: needed for new test
* testsuite/Makefile.am: add new file to distribution
2005-12-11 Claudio Fontana <claudio@gnu.org>
* libidu/scanners.c: Fixed signed/unsigned char* assignments by
making both 'scanner_buffer' and 'id' unsigned char*.
characters from scanner_buffer are first assigned to an int prior
to checking with the class-macros;
* src/mkid.c, configure.ac, libidu/iduglobal.h:
print an off_t value portably by using offtostr (gnulib)
* intl/*, po/*: updated to latest version
2005-12-10 Claudio Fontana <claudio@gnu.org>
* applied savannah patch 2775: include scanner for the perl language
2005-11-01 Claudio Fontana <claudio@gnu.org>
* libidu/scanners.c: applied (with changes) savannah patch 2702:
Fix language options handling bugs, and removed redundant C options
help.
2005-05-31 Claudio Fontana <sick_soul@users.sourceforge.net>
* configure.in: moved to configure.ac
* configure.ac (new file): rewritten using gnulib and new macros
* Makefile.am: all makefiles revisited
* lib/: removed everything and replaced with gnulib imports
* m4/: removed everything and replaced with gnulib imports
* i18n support updated to gettext 0.14.1
* po/fr.po: fixed broken headers. FRENCH TRANSLATOR MARKED UNKNOWN.
* intl/: updated - Did some nasty things to make libintl work in
most circumstances
* libidu/iduglobal.h (new file): common definitions moved here
* *.c, *.h: updated to use gnulib functions, removed redundant
definitions and checks
* *.c, *.h: reverted __P() macro introduction, and assume prototypes.
Times are mature for that, and I follow gnulib in this.
2000-06-06 Jim Meyering <meyering@lucent.com>
* po/POTFILES.in: Add libidu/fnprint.c and remove libidu/xnls.h.
* mkinstalldirs: Update.
* missing: Update.
* depcomp: New file.
* lib/malloc.c: New file.
* lib/realloc.c: New file.
* configure.in: Require 2.14a.
Check for declaration of strsep.
* libidu/idfile.c: Declare strsep if necessary.
* libidu/scanners.c: Likewise.
* libidu/walker.c: Likewise.
2000-04-26 Greg McGary <gkm@gnu.org>
* lid.c (add_regexp_word_delimiters): Rename from
maybe_add_word_delimiters--action is now unconditional.
(query_literal_word): Call query_literal_substring if ignoring case.
(query_literal_prefix): Call query_regexp if ignoring case.
(query_regexp): Test delimiter_style before calling
add_regexp_word_delimiters.
(query_literal_substring): Add local var arg_length.
Handle word matches which can happen when ignoring case.
Add local var match.
1999-04-10 Greg McGary <gkm@gnu.org>
* walker.c (classify_link): Only return 0 for zero-length files.
Keep directories, no matter what their size. DOS always
returns zero size for directories.
[From tbisp@uswest.net]
1999-04-09 Greg McGary <gkm@gnu.org>
* po/Makefile.in.in (DISTFILES): Remove ChangeLog.
* po/ChangeLog: Remove empty file.
1999-04-08 Greg McGary <gkm@gnu.org>
* libidu/idread.c (maybe_read_id_file): Add `b' for binary
to fopen mode string. [From tbisp@uswest.net]
* src/lid.c (report_grep): Change name of gid_FILE to source_FILE.
* src/mkid.c (write_id_file): Complain if fclose fails.
[From jbb6@acpub.duke.edu]
* src/lid.c (limits.h): Include earlier to avoid RE_DUP_MAX
conflict. [From Erick.Branderhorst@asml.nl]
(search_flinkv): Bash terminating newline. [From marc@snafu.org]
* lisp/elisp-comp: Import more recent version from automake.
* libidu/scanners.c (SCAN_CPP_DIRECTIVE): Tolerate
leading whitespace before first '#' [From rodneybrown@pmsc.com]
(get_token_asm, get_token_c): Move some common leading context
into SCAN_CPP_DIRECTIVE.
* po/pl.po, po/nl.po: Add files.
* configure.in (ALL_LINGUAS): Add pl & nl.
1999-04-06 Greg McGary <gkm@gnu.org>
* Version 3.2d released.
* libidu/idfile.h (largest_member_file): Add variable decl.
(MAX_LARGEST_MEMBER_FILE): Add constant.
* libidu/scanners.h (scanner_buffer): Add variable decl.
* libidu/scanners.c (scanner_buffer): Rename from id_0.
* libidu/walker.c (largest_member_file): Add veriable defn.
(walk_flink): Maintain largest_member_file.
Call print_member_file.
(maybe_get_member_file): Don't call print_member_file.
(classify_link): Return 0 if file size is zero.
* src/mkid.c (scan_files): Report size of largest file.
Cap scanner_buffer size at MAX_LARGEST_MEMBER_FILE.
Allocate scanner_buffer.
* src/xtokid.c (scan_files): Cap scanner_buffer size at
MAX_LARGEST_MEMBER_FILE. Allocate scanner_buffer.
1999-04-04 Greg McGary <gkm@gnu.org>
* configure.in: Check for regcomp and compile lib/regex.c
if the system doesn't provide it.
* lisp/Makefile.am (lisp_LISP): Add variable. Remove all
other obsolete contents.
* src/lid.c (search_flinkv): Replace `gets' with `fgets'.
1999-04-03 Greg McGary <gkm@gnu.org>
* Version 3.2c released.
* libidu/id-file.h (walker_verbose_flag): Add extern variable decl.
* libidu/scanners.c (SCAN_CPP_DIRECTIVE): Add macro.
(get_token_c, get_token_asm): Call SCAN_CPP_DIRECTIVE.
* libidu/walker.c (walker_verbose_flag): Add variable defn.
(print_member_file): Add function.
(maybe_get_member_file): Call print_member_file in verbose mode.
* src/mkid.c: Add coments. (ceil_log_2): Add function.
(main): Handle 'V' option for extra verbosity.
(scan_files): Use MAX (1M, n*lg(n)*64) to estimate initial size
of token hash table.
(name_tokens, number_tokens, string_tokens, literal_tokens,
comment_tokens, occurrences, hits_length, tokens_length, output_length):
Change type from size_t to unsigned long.
(report_statistics): Fix printf formats.
1999-03-29 Greg McGary <gkm@gnu.org>
* Version 3.2b released.
* libidu/idfile.h (struct member_file) [mf_index]: Change
type to long.
* libidu/scanners.h (MAX_LEVELS): Remove constant.
(struct token) [tok_hits, tok_name]: Remove members.
[tok_hits_name]: Add member.
(TOKEN_HITS, TOKEN_NAME, OFFSETOF_TOKEN_NAME): Add macros.
* libidu/scanners.c (log_8_member_files): Add variable definition.
(get_token_c, get_token_asm, get_token_text): Use OFFSETOF_TOKEN_NAME.
* libidu/walker.c (mark_member_file_links) [new_index]: Change
variable type to long.
* src/idx.c (scan_member_file): Use TOKEN_NAME.
* src/mkid.c (ceil_log_8) Add function.
(current_hits_signature): Change variable type to (char *).
(main) [log_8_member_files]: Initialize new variable.
[current_hits_signature] Allocate storage.
(scan_member_file): Print member->mf_index as long.
(scan_member_file_1, write_id_file, token_hash_1, token_hash_2,
token_hash_cmp, token_qsort_cmp, summarize, write_hits):
use TOKEN_NAME & TOKEN_HITS.
(init_hits_signature, write_hits): Replace MAX_LEVELS
with log_8_member_files.
* src/xtokid.c (scan_member_file): Use TOKEN_NAME.
* libidu/idfile.h (vectorize_string) [delimiter_class]:
Declare as pointer to const.
* libidu/walker.c (append_strings_to_vector, vectorize_string)
[delimiter_class]: Declare as pointer to const.
(white_space): Declare as array of const.
1999-03-28 Greg McGary <gkm@gnu.org>
* libidu/hash.c (hash_insert): hash_insert_at no longer
returns old contents, but rather the new slot address.
(hash_insert_at): Return slot address of inserted item.
* libidu/walker.c (get_member_file): return member.
(get_link_from_dirent, get_link_from_string): Conform
to new hash_insert_at API, where return value is slot
address of newly inserted item.
* Makefile.am (AUTOMAKE_OPTIONS): Add macro.
* config.h.in (WITH_REGEX): Remove.
* configure.in (AM_WITH_REGEX): Remove.
* src/lid.c (rx.h): Remove #include.
1999-02-11 Greg McGary <gkm@gnu.org>
* src/lid.c (report_grep): Continue rather than return when
fopen fails.
1999-01-31 Jim Meyering <meyering@ascend.com>
* doc/Makefile.am (DISTCLEANFILES): Remove id-utils.cm.
* doc/id-utils.texi: Remove unused `@defcodeindex cm'.
1999-01-28 Jim Meyering <meyering@ascend.com>
* libidu/scanners.c (set_ushort_ctype): Use an unsigned char index.
(clear_ushort_ctype): Likewise.
(set_uchar_ctype): Likewise.
(clear_uchar_ctype): Likewise.
(id_0): Add `unsigned' to declaration of this file-scope static var.
(get_token_c): Add `unsigned' to declaration of `id'.
(get_token_asm): Likewise.
(get_token_text): Likewise.
* testsuite/Makefile.am (DISTCLEANFILES): Arrange to remove ID.
* libidu/Makefile.am (EXTRA_DIST): Arrange to distribute id-lang.map.
* lisp/Makefile.am (DISTCLEANFILES): Arrange to remove id-utils.elc.
* doc/Makefile.am (DISTCLEANFILES): Arrange to remove id-utils.cm
and id-utils.fl.
1999-01-27 Jim Meyering <meyering@ascend.com> (with some changes from gkm)
* Makefile.maint: New file.
* GNUmakefile: New file.
* lib/Makefile.am (AUTOMAKE_OPTIONS): Use ../src/ansi2knr.
* libidu/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
(ansi2knr.c): Remove rule.
* src/ansi2knr.c: Import new version.
* src/ansi2knr.1: Likewise.
* lib/Makefile.am (EXTRA_DIST): Remove getopt.c and getopt1.c.
* configure.in: Require autoconf-2.13.
Remove some variables that now come with AM_INIT_AUTOMAKE.
Remove deprecated AM_MAINTAINER_MODE.
Use AC_PROG_INSTALL, not deprecated AM_PROG_INSTALL.
Use AM_FUNC_OBSTACK, not AC_REPLACE_OBSTACK.
Use AM_GNU_GETTEXT, not ud_GNU_GETTEXT/AC_LINK_FILES...
Define LIBOBJS for ansi2knr filtering rules.
(AC_OUTPUT): Add m4/Makefile.
* acconfig.h: Remove many #undefs, now that we're using autoconf-2.13's
3-arg form of the AC_DEFINE* macros.
* Makefile.am (SUBDIRS): Add m4.
(EXTRA_DIST): Add Makefile.maint GNUmakefile @README_ALPHA@.
(DISTCLEANFILES): Add intl/libintl.h.
(ACLOCAL_AMFLAGS): Define to `-I m4'
* m4/: New directory.
1999-01-26 Greg McGary <gkm@gnu.org>
* hash.h (struct hash_table) [ht_empty_slots]: Add struct member.
* hash.c (hash_init): Initialize ht_empty_slots. Don't halve
ht_size. (hash_find_slot) Return deleted slot, if available.
(hash_insert_at): Decrement ht_empty_slots if one is consumed.
Rehash if emtpy slots become too scarce. (hash_free_items,
hash_deleted_item, hash_free): Re-initialize ht_empty_slots.
(hash_rehash): Don't double table size if rehashing only because
table is clogged with deleted slots.
1998-11-20 Greg McGary <gkm@gnu.org>
* libidu/fnprint.c (print_filenames): Move ALLOCA outside loop.
* libidu/walker.c (get_lang_args): Ditto.
* src/fnid.c (main): Ditto.
* src/lid.c (report_grep, search_flinkv): Ditto.
* src/mkid.c (scan_member_file): Consolidate two ALLOCA buffers
at inner scopes to a single buffer at an outer scope.
1998-11-18 Greg McGary <gkm@gnu.org>
* missing: Add file.
* configure.in, lib/Makefile.am, libidu/Makefile.am:
Conform macro names to automake-1.3 conventions.
* libidu/scanners.c (id_0): Increase size and make file static.
Tue Aug 6 22:46:16 1996 Greg McGary <gkm@g2>
* Version 3.2 released
* src/fid.c (get_file_index): rename shadowing local decl of
file_name.
* src/lid.c (report_edit): post decrement argv when splicing in
ed_arg_buffer.
* src/xtokid.c, libidu/idfile.h: #include "xstring.h" to avoid
redeclaration of basename/dirname error.
Wed Jul 17 18:06:18 1996 Greg McGary <gkm@g2>
* Version 3.1 released
Sun Jun 30 13:06:18 1996 Greg McGary <gkm@g2>
* src/lid.c (get_query_func): remove unreachable return stmt.
* libidu/hash.h (HASH_VACANT): cast item to (void *) for
comparison.
* libidu/walker.c (append_strings_to_vector): check length of
vector_0, not vector.
* libidu/scanners.c (get_token_c, get_token_asm, get_token_text):
cast return type of obstack_finish.
* src/lid.c (radix, delimiter_style, pattern_style, key_style,
result_style, key_style, result_style) libidu/idfile.h
(separator_style): remove trailing comma from enum list.
* src/xtokid.c: removed include of string.h.
* src/lid.c (savetty, restoretty, linetty, chartty): define stub
versions if no UNIXy tty control is available.
Wed Jun 12 22:15:12 1996 Greg McGary <gkm@g2>
* src/lid.c, src/mkid.c, src/fnid.c (main): change default
argv variables from char* to char[]
Mon Jun 10 15:29:19 1996 Greg McGary <gkm@g2>
* src/mkid.c (main): -v implies -s; handle the case where there's
nothing to do.
* libidu/walker.c (get_lang_args): test lang_args_default before
dereference.
Sun Jun 9 23:46:53 1996 Greg McGary <gkm@g2>
* lid.c (get_radix, otoi, dtoi, xtoi): Test *str before passing it
to strchr--fixes query_number bug.
Sat Feb 25 16:23:49 1995 Greg McGary <gkm@magilla.cichlid.com>
* Version 3.0.8 released.
* configure.in, acconfig.h, Makefile.in (TOUCH, PREV_VERSION):
Added. (check): Export PATH. (TAGS): Eliminate unnecessary `-t'
option to etags. (mostlyclean, clean, distclean,
maintainer-clean, install): Bring into conformance with GNU
standards. (AWK, OLD_PATCH_LEVEL, PATCH_LEVEL, SIZEOF_LONG,
bump-major, bump-minor, bump-patch): Deleted. (ANSI2KNR,
ansi2knr): Added. (depend): Fixed to support ansi2knr.
* configure.in: Update stamp-h inside AC_OUTPUT.
* acconfig.h: Work harder to force #undef of HAVE_TERMIOS_H for NeXT.
(__P): Added.
* bitops.c, fid.c, filenames.c, idfile.c, idx.c, iid.c, lid.c,
misc.c, mkid.c, scanners.c, token.c: Changed "config.h" to <config.h>.
* acconfig.h, bitops.c, bitops.h, fid.c, filenames.h, idfile.c,
idfile.h, idx.c, iid.c, lid.c, misc.h, mkid.c, scanners.c,
scanners.h, token.h: Use __P around function prototype decls.
* acconfig.h, idfile.h, idfile.c (intmin32_t, uintmin32_t):
Deleted in favor of long and unsigned long.
* idtest: Fixed bugs (Thanks to Francois Pinard).
* mkid.c (write_idfile): Delete erroneous remnant of old file name
indexing scheme (Reported by Dave Wiggins). (assert_hits):
Simplified & fixed erroneous assertion.
* lid.c (grep_id): Treat '\0' as end-of-line along with '\n'.
* strerror.c (strerror): Protoize defn.
Mon Feb 20 16:18:47 1995 Greg McGary <gkm@magilla.cichlid.com>
* Version 3.0.7 released.
* scanners.c (scanners, suffixes, init_scanners, get_scanner,
set_scan_args, get_lang_name, get_filter, get_suffix): Fixed
boundary conditions.
* mkid.c (make_sibling_summary): Don't realloc if kid's sum_tokens
is already large enough. (scan_1_file): Ignore blank tokens.
Avoid division by 0 (pinard@iro.umontreal.ca). (write_idfile):
Moved assertions & qsort to top. Don't check for blank tokens--it
can't happen. (rehash): Prefix "Rehashing..." with "\n\t".
* idtest: Test fid more rigorously.
* idfile.c (init_idfile): Don't increment i for non-file args.
* Makefile.in (DEFS, DIST_SHAR, AWK, bump-patch, bump-minor,
bump-major, shar): Added. (.PRECIOUS): Added configure, config.h
config.h.in.
* configure.in (DEPEND): Fixed portability (kazusi-m@is.aist-nara.ac.jp).
(AC_CHECK_FUNCS(basename, dirname)): Added.
* misc.h, misc.c: Made decl/defn of basename, dirname conditional.
Sun Feb 19 19:21:09 1995 Thomas Neumann <tom@smart.ruhr.de>
* configure.in: Check for <sgtty.h>, not <sgttyb.h>.
* accconfig.h: Disbale HAVE_TERMIOS_H for NeXT,
if HAVE_SGTTY_H is present.
* lid.c: Depend on HAVE_SGTTY_H, not HAVE_SGTTYB_H.
(savetty): ANSI'fy arglist declaration.
Sat Feb 18 21:44:39 1995 Greg McGary <gkm@magilla.cichlid.com>
* Version 3.0.6 released.
* Makefile.in, accconfig.h, mkid.c: Revised & simplified package
name & version macros.
* Makefile.in (DIST_MISC_FILES): Added version.texi, stamp-vti.
(TAGS): Fixed. (config.status): Removed dependency on config.cache.
* acconfig.h: Added #ifndef _config_h_ ... #endif around file.
(SIZEOF_INT, SIZEOF_CHAR, SIZEOF_SHORT, uint8_t, uint16_t,
uint32_t, int32_t): Deleted. (SIZEOF_LONG): Changed typedef name
to intmin32_t and uintmin32_t; all uses changed.
* configure.in (AC_CHECK_SIZEOF (int, short, char)): Deleted.
* idfile.h (struct idhead): Dropped uint8_t, uint16_t,
uint32_t, int32_t, added intmin32_t & uintmin32_t.
* idfile.c (io_idhead, io_write, io_read): Use constants to express
integer sizes for I/O on struct idhead.
* idtest, Makefile.in (stamp-vti): Dumbed-down shell code for portability.
* lid.c (enum radix): Deleted trailing comma.
* scanners.c (ctype_c, ctype_asm, ctype_text): Made unsigned.
Thu Feb 16 23:55:44 EST 1995 Greg McGary <gkm@magilla.cichlid.com>
* Version 3.0.5 released.
* iid.y (main): Eliminate useless Do1 variable.
* filenames.c (kshgetwd): Conditionally use getcwd or getwd.
* acconfig.h: Added typedefs of uint8_t, uint16_t, uint32_t, int32_t.
* idfile.h (struct idhead), idfile.c (io_read, io_write): Use
uint8_t, uint16_t, uint32_t, int32_t.
* lid.c (savetty, restoretty, linetty, chartty): Handle POSIX
termios properly. (HAVE_SYS_IOCTL_H): #include <sys/ioctl.h> if
!HAVE_TERMIOS_H.
* configure.in (OLD_PATCH_LEVEL, MAJOR_VERSION, MINOR_VERSION,
FULL_VERSION, AC_CHECK_SIZEOF(int, long, short, char),
AC_CHECK_HEADERS(regex.h), AC_CHECK_FUNCS(regcomp regcmp): Added.
* mkdirhier: Added.
* Makefile.in (DIST_MISC_FILES): Added ChangeLog. (depend):
$(DEPEND) and Makefile are now .PRECIOUS. (dist-dir-links):
Added. (check, install, uninstall): Fixed. (install): Use
mkdirhier.
|