| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Check for declaration of strsep.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
* lib/strtok.c: Remove file.
* configure.in: Check for strsep instead of strtok.
* libidu/idfile.c (locate_id_file_name): Use strsep instead of strtok.
* libidu/scanners.c (language_save_arg, language_save_arg,
tokenize_args_string): Ditto.
* libidu/walker.c (append_strings_to_vector, vectorize_string): Ditto.
|
| |
|
|
|
|
|
|
| |
Keep directories, no matter what their size. DOS always
returns zero size for directories.
[From tbisp@uswest.net]
|
| |
|
| |
|
| |
|
|
|
|
|
| |
to fopen mode string. [From tbisp@uswest.net]
* src/lid.c (report_grep): Change name of gid_FILE to source_FILE.
|
| |
|
| |
|
|
|
|
| |
[From jbb6@acpub.duke.edu]
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
* configure.in (ALL_LINGUAS): Add pl & nl.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
if the system doesn't provide it.
|
| |
|
| |
|
| |
|
|
|
|
| |
other obsolete contents.
|
| |
|
| |
|
|
|
|
|
|
| |
comment_tokens, occurrences, hits_length, tokens_length, output_length):
Change type from size_t to unsigned long.
(report_statistics): Fix printf formats.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|