summaryrefslogtreecommitdiff
path: root/lib-src
Commit message (Collapse)AuthorAgeFilesLines
* * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because theFrancesco Potortì1995-05-231-4/+4
| | | | former gives the true path even in the presence of simlinks.
* (main): Increase lock timeout to five minutes.Richard M. Stallman1995-05-071-2/+5
|
* (obj): Use .c files.Richard M. Stallman1995-05-071-1/+1
|
* Include config.h.Richard M. Stallman1995-05-041-2/+5
| | | | | (NO_SHORTNAMES): New definition. (xmalloc): Return long *.
* (xmalloc): Declare it to return long *.Richard M. Stallman1995-05-041-3/+3
|
* (xmalloc, xrealloc): Declare them long *.Richard M. Stallman1995-05-041-5/+5
|
* (C_entries): Cast result of xrealloc.Richard M. Stallman1995-05-041-9/+11
| | | | (xmalloc, xrealloc): Declare them to return long *.
* (datearg): If rlog options are specified explicitly,Paul Eggert1995-04-302-116/+140
| | | | | | omit the implicit '-d>DATE' option. (repository, rlog): Allow absolute paths to CVS repositories. Look only at the first line of CVS/Repository.
* (extraclean): Depend on maintainer-clean, notKarl Heuer1995-04-261-1/+1
| | | | realclean.
* [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):Richard M. Stallman1995-04-251-0/+6
| | | | Alternative (empty) definitions.
* (main): Add argv[0] to an error message.Richard M. Stallman1995-04-181-1/+1
|
* (main): Improve error handling.Karl Heuer1995-04-141-4/+6
|
* (main, skip_to_lf): Improve error handling.Karl Heuer1995-04-131-9/+29
| | | | (sysfail): New function.
* (main): Check for trailing ", " before trying to delete it.Karl Heuer1995-04-131-1/+3
|
* (scan_c_file): At end, restore file name last char to its original value.Richard M. Stallman1995-04-131-1/+5
|
* (all): Build test-distrib and make-docfile.Richard M. Stallman1995-04-131-1/+1
|
* (obj, lisp): Update to expanded list of source files.Karl Heuer1995-04-121-13/+14
| | | | | | | | (DOC): Place DOC strings in DOC-X. (config.h, paths.h): New source location. (all): Use COMPAT_LIB in library list. Use DEL_TREE instead of delnode. (etags.exe): Use $(LINK) instead of link32.
* Test NO_SOCKETS_IN_FILE_SYSTEM.Richard M. Stallman1995-04-112-2/+2
|
* (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.Richard M. Stallman1995-04-081-3/+4
| | | | (alloca.o, regex.o): Use BASE_CFLAGS.
* [Berkeley sockets version] (main): Declare getcwd.Richard M. Stallman1995-04-071-0/+1
|
* Update copyright.Karl Heuer1995-04-071-1/+2
|
* (aixcc, aixcc.c): Targets deleted.Karl Heuer1995-04-041-9/+2
| | | | (SOURCES, distclean): Removed obsolete references to aixcc.
* Comment change.Richard M. Stallman1995-04-021-0/+3
|
* (output_authors): Replace /[/]/ by /[\/]/, for portability to mawk and nawk.Paul Eggert1995-03-232-4/+4
|
* Treat -u 'LOGIN:FULLNAME:MAILADDR' as if it werePaul Eggert1995-03-212-8/+28
| | | | -u 'LOGIN<tab>FULLNAME<tab>MAILADDR'.
* Add -u "login<tab>fullname<tab>mailaddr" option, which replaces thePaul Eggert1995-03-212-120/+318
| | | | | | | | | (now obsolescent) -n login fullname mailaddr option. Don't omit path from repository root when logging CVS files. Add -R option for recursive rlog. (AWK): New environment variable (default `awk') for name of awk program. (output_authors, tab, loginFullnameMailaddrs, recursive): New variables. Quote authors and fullnames correctly.
* Use BSD sockets whenever available, even if HAVE_SYSVIPC.Richard M. Stallman1995-03-151-1/+1
|
* Use BSD sockets whenever available, even if HAVE_SYSVIPC.Richard M. Stallman1995-03-151-1/+5
| | | | (main): Use getcwd if not BSD.
* * etags.c (process_file): free (filename) after using it.Francesco Potortì1995-03-131-2/+3
| | | | (readline_internal): Do not access the char before start of line.
* * etags.c (C_entries): token_saved removed. Initialise tok.valid andFrancesco Potortì1995-02-221-26/+37
| | | | | | | savetok.valid. Mark token as valid when it is initialised. (make_tag): Make token only if token is valid and reset validity. (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved. (TOKEN): Added a new member: valid.
* * etags.c (C_entries): Bug corrected in xrealloc of token_str.Francesco Potortì1995-02-151-12/+9
| | | | (main): Do not read twice the last filename in the stdin file list.
* * etags.c (C_entries): Initialise the new members of TOKEN.Francesco Potortì1995-02-141-23/+40
| | | | | | | | | | | | (C_entries): Do not allocate a new space for each token found by consider_token. Let make_tag do that instead. (make_tag): Since now TOKEN has memory of where it is taken from, this new macro substitutes both make_tag_from_new_lb and make_tag_from_oth_lb. All callers changed. (TOKEN): Add linepos and buffer members. (main): Initialise token_str. (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes. (token_str): New global variable used by C_entries.
* (maintainer-clean): Renamed from realclean.Richard M. Stallman1995-02-071-1/+1
|
* * etags.c (pfnote): Initialise been_warned in the node.Francesco Potortì1995-02-011-16/+5
| | | | (C_entries): Removed a speed hack for the sake of clarity.
* * etags.c (longopts, print_help, main): Use -I as abbreviationFrancesco Potortì1995-01-181-14/+13
| | | | | for the --ignore-indentation option. (main): Do not print an error message for unknown options.
* Global polishing, some bugs corrected, dynamic allocation used insteadFrancesco Potortì1995-01-121-390/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | of fixed length static buffers in many places. * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted. (append_to_tagfile, typedefs, typedefs_and_cplusplus, constantypedefs, update, vgrind_style, no_warnings, cxref_style, cplusplus, noindentypedefs): Were int, now logical. (permit_duplicates): Was a var, now a #define. (filename_lb): Was global, now local to main. (main): Open the tag file when in cxref mode. Use a BUFSIZ size buffer for making the shell commands. Look at the return value from the system routine. Exit when cannot open the tag file. (process_file): Open the file and pass the FILE* to find_entries. (find_entries): Now void, because does not open the file itself. (pfnote): Recovering from lack of memory does not work. Removed. Use savenstr and simplify the code. (free_tree): Only free the name space if node is named. (structtag): Now a pointer, not a fixed length array of chars. (consider_token): Don't take a token as argument. Use savenstr when saving a tag in structtag. Callers changed. (TOKEN): Structure changed. Now used only in C_entries. (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted. (C_entries): nameb and savenameb deleted. Use dinamic allocation. (pfcnt): Deleted. Users updated. (getit, Asm_labels, Pascal_functions, L_getit, get_scheme, TEX_getit, prolog_getit): Use dinamic allocation for storing the tag instead of a fixed size buffer.
* (main): Skip past the colon in inname.Richard M. Stallman1995-01-111-0/+1
|
* * etags.c (pfatal): New function.Francesco Potortì1995-01-101-56/+41
| | | | | (main, etags_getcwd): Use pfatal. (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
* * etags.c (Lang_function): Use void instead to declare theFrancesco Potortì1995-01-101-59/+72
| | | | | | | language functions, because many compilers are buggy. (etags_getcwd): Fix the previous fix on the #else branch. (readline_internal): Discard possible \r before \n here. (C_entries): Do not deal with \r here: undo previous fix.
* (concat, xmalloc, xrealloc, readline, xnew): Four newRichard M. Stallman1995-01-091-59/+194
| | | | | | | | functions and a macro that allow the program to work on input lines of whatever length. Copied from etags.c. (fatal): Print a fatal error message and exit. (main): Use the new functions. Fixed a bug that made a \037 char appear at the end of the output.
* (C_entries): Ignore carriage return at end of line.Richard M. Stallman1995-01-061-0/+3
|
* (xmalloc, xrealloc): Add casts.Richard M. Stallman1994-12-261-25/+96
| | | | | | (add_field): Handle <...> and "..." syntax. (setup_files, get_keyword): Clean up parens and line breaks. (args_size): Likewise.
* (scan_lisp_file): Handle dynamic doc strings.Richard M. Stallman1994-12-211-41/+148
| | | | | | (xmalloc, fatal, error): New functions. (progname): New variable. (main): Set progname.
* Include program name in error messages.David J. MacKenzie1994-12-211-7/+11
|
* [HAVE_SYSVIPC]: Include sys/utsname.h.Richard M. Stallman1994-12-071-6/+17
| | | | | | | (main): If socket/mqueue name is in home dir, add in the host name. Rename .emacs_server to .emacs-server-.... [!HAVE_SYSVIPC] (main): Fix error message diction.
* [HAVE_SYSVIPC]: Include sys/utsname.h.Richard M. Stallman1994-12-071-4/+16
| | | | | (main): If socket/mqueue name is in home dir, add in the host name. Rename .emacs_server to .emacs-server-....
* (get_time): Fix up whitespace.Richard M. Stallman1994-11-281-1/+1
|
* * etags.c (print_help): print --regex usage for ctags also.Francesco Potortì1994-11-221-14/+11
| | | | (main): use -h in addition to -H as abbreviation for --help.
* * etags.c [ETAGS_REGEXP]: All the new code that deals with regexpsFrancesco Potortì1994-11-161-285/+854
| | | | | | | | | | | | | | | | | | | | | | | | | | | | is compiled if this is defined. The new functions and variables added #ifdef ETAGS_REGEXP are not listed in this ChangeLog. [VMS]: All VMS specific code previously contained in etags-vmslib.c is now included here, modified for dealing with language and regex options intermixed with filenames. (header_file): Global variable deleted. (Lang_Function): New typedef. All language parser functions changed to this new type. (string_numeric_p, substr, prestr): Functions deleted. (readline_internal): Does the job that readline did previously. (longopts): --language and --regex options added. (lang_names, lang_extensions, lang_func, print_language_names): New structures, variables and functions for choosing languages. (print_help): Help strings updated. Calls print_language_names. (argument_type, ARGUMENT): Typedefs for dealing with language and regex options intermixed with filenames. (main): Changed the way of dealing with arguments on the command line to deal with language and regex options intermixed with filenames. (get_language, default_C_entries, Cplusplus_entries, Cstar_entries, Yacc_entries, just_read_file): New functions. (find_entries): Use the new method for choosing the language. (Pascal_functions): Allow intermixing of comment styles. (prolog_getit, skip_comment): Rewritten for speed. (readline): Rewritten to deal with regexps.
* * etags.c (<errno.h>): #include added.Francesco Potortì1994-11-161-7/+15
| | | | (etags_getcwd): Check return value from getcwd.