aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (skip_initializer): Return void.Pavel Janík2002-04-242-1/+5
|
* *** empty log message ***Colin Walters2002-04-231-0/+5
|
* (read_score) [HAVE_GETDELIM]: Trim trailing space.Colin Walters2002-04-231-0/+2
|
* (last_node): Make it a global variable.Francesco Potortì2002-04-222-36/+99
| | | | | | | | | | | (process_file): Print the tags from the nodes as soon as possible, and delete the nodes. This brings down the memory occupancy as etags to almost the same level as when the #line directives were not parsed. (free_fdesc): New function. (find_entries): Use it. (invalidate_nodes): In etags mode, do not just mark the nodes as invalid, do delete them.
* (add_declarator): Test *CLS instead of CLS.Gerd Moellmann2002-04-212-1/+5
|
* Move config.h before the other headers, to prevent compiler warningsEli Zaretskii2002-04-162-1/+7
| | | | due to redifinition of _FILE_OFFSET_BITS.
* Add update-game-score.Eli Zaretskii2002-04-161-0/+1
|
* (find_entries): Bug fix in list management.Francesco Potortì2002-04-161-7/+14
|
* *** empty log message ***Francesco Potortì2002-04-161-0/+4
|
* * etags.c (get_language_from_filename): Add one argument.Francesco Potortì2002-04-151-3/+3
| | | | | | | | (strcaseeq): New function. (get_language_from_filename): Use it to do a case insenstitive comparison if called with appropriate args. (find_entries): Try with case insensitive match. (process_file): Bug fixed.
* *** empty log message ***Francesco Potortì2002-04-151-0/+9
|
* Bug fix. New version to come soon.Francesco Potortì2002-04-151-30/+74
|
* Avoid doubly tagging parse.y when both parse.c and parse.y are given onFrancesco Potortì2002-04-151-309/+465
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the command line, in either order. * etags.c (find_entries): Delete tags previously obtained from file xxx.c's #line directives when parsing file xxx.y. This is generally done for automatically generated files containing #line directives. This handles the case when xxx.y is tagged before xxx.c, and the entries of xxx.c pointing to xxx.y should be discarded. (language): Added the metasource member. Initializers changed. (invalidate_nodes): New function. (readline): Discard lines after having found a #line directive pointing to an already tagged file. This handles the case when xxx.y is tagged before xxx.c, and the entries of xxx.c pointing to xxx.y should be discarded. (fdesc): New structure for keeping track of input files. (fdesc): Remove `file' member (a string) and use instead a pointer to a file description structure. (curfile, curfiledir, curtagfname, curlang, nocharno, forced_lang): Global variables removed in favor of fdhead and curfdp, pointers to file description strucures. (longopts, main, print_help): Use the CTAGS conditional to include or exclude options that work on etags or ctags only. (process_file, find_entries, pfnote, add_node, put_entries, readline): Use fdhead and curfdp. (process_file, find_entries): Do not take an arg string, all callers changed. * etags.c (longopts, print_help, main): Test CTAGS to disallow options that are not right for either etags or ctags. * etags.c (number_len, total_size_of_entries): Define them also in CTAGS mode, because gcc does not compile all refs away.
* *** empty log message ***Francesco Potortì2002-04-151-4/+37
|
* *** empty log message ***Colin Walters2002-04-141-0/+6
|
* (lock_file): If the lock file is older than an hour, delete it. ResetColin Walters2002-04-141-1/+9
| | | | attempts to zero if we have to break the lock.
* (read_score): Fix type of second parameterAndreas Schwab2002-04-142-3/+9
| | | | | of getdelim to be of type size_t instead of int. Use 0 instead of ESUCCES.
* *** empty log message ***Colin Walters2002-04-101-0/+15
|
* *** empty log message ***Colin Walters2002-04-101-0/+6
|
* (toplevel): Include stdarg.h.Colin Walters2002-04-101-99/+80
| | | | | | | | | | | | | | | | (MAX_DATA_LEN, MAX_SCORES): New. (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined, default to ~/.emacs.d/games. (get_user_id): Don't zero uid in the case where we can't get the username. (lose): New function. (main): Actually use `max', and default it to MAX_SCORES. Correctly handle new default for SCORE_FILE_PREFIX. Use `lose' function. (read_score): Handle the case of reading unamelen characters, then finishing. Use mktemp if mkstemp isn't available. (lock_file, unlock_file): Delete unused versions. (lock_file): Always sleep, even if we unlinked the lock file.
* (gamedir, gameuser): New variables.Colin Walters2002-04-101-2/+19
| | | | | (toplevel, UTILITIES): Add update-game-score. (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
* update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.Colin Walters2002-04-072-9/+46
| | | | | | | | (get_user_id): Take struct passwd as an argument. (get_home_dir): New function. (main): Read in user information here. Discover home directory if necessary. (read_score): Trim newline only in `getline' case.
* Actually make previous changes work (oops).Colin Walters2002-04-051-3/+9
|
* (toplevel): Include pwd.h.Colin Walters2002-04-052-15/+100
| | | | | | | | | | | | (struct score_entry): Add username field. (push_score): Use it. (get_user_id): New function. (main): Don't malloc excessively. (main): Use username field. (read_score): Read it. (push_score): Handle it. (write_scores) Write it. (read_score): Handle arbitrary length data.
* *** empty log message ***Eli Zaretskii2002-03-301-0/+4
|
* (add_declarator): Fix the first call to add_member_defn.Eli Zaretskii2002-03-301-1/+1
|
* (add_declarator, skip_initializer): New functions.Gerd Moellmann2002-03-292-38/+86
| | | | (declaration): Use them.
* Move backquote.elc into emacs-lisp.Jason Rumney2002-03-282-1/+5
|
* Initial version.Colin Walters2002-03-271-0/+373
|
* * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead ofPaul Eggert2002-03-231-0/+6
| | | | | `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows the latter usage.
* (main): Use `sort -o TAGFILE TAGFILE' instead of `sort TAGFILE -oPaul Eggert2002-03-231-1/+1
| | | | TAGFILE', as POSIX 1003.1-2001 disallows the latter usage.
* Fix formatting of previous entryJason Rumney2002-03-121-0/+1
|
* *** empty log message ***Francesco Potortì2002-03-121-0/+7
|
* * etags.c (Python_functions): Skip spaces at beginning of lines.Francesco Potortì2002-03-121-38/+70
| | | | | | | | | (Python_functions, PHP_functions): Name tags, for ctags' sake. (TeX_commands): Name tags. Correction of old disabled code. * etags.c (curfiledir, curtagfname): New global variables. (process_file): Initialise them. (readline): Canonicalize the name found in #line directive.
* *** empty log message ***Francesco Potortì2002-03-121-1/+3
|
* *** empty log message ***Jason Rumney2002-03-061-0/+5
|
* (put_entries): Use #if !CTAGS, to fix link error onJason Rumney2002-03-061-3/+3
| | | | compilers that don't optimize out dead code.
* * etags.c: Honour #line directives.Francesco Potortì2002-03-051-274/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (no_line_directive): New global var; set it for old behaviour. (main): Remove some #ifdef in the getopt switch. (add_node, put_entries): Code added to merge different chunks of nodes referring to the same file. Currently the tags are just appended, without any check for duplicates. (Perl_functions): Do not special case ctags. (readline): Identify #line directives and do the right thing. (nocharno, invalidcharno): New global vars. (process_file): Reset nocharno. (readline): Set nocharno. (pfnote): Read nocharno and maybe put invalidcharno in node. (total_size_of_entries, put_entries): Use invalidcharno. * etags.c: Keep the whole tag table in memory, even in etags mode. (main): Call put_entries here even in CTAGS mode. (main, process_file): Check the return values of fclose and pclose. (process_file): Do not call put_entries after parsing each file. (process_file): Canonicalise file names even for ctags. (process_file): Set curfile here... (find_entries): ... not here any more. (add_node): In etags mode, build a linked list of entries (on right pointer) for each file, and link the first entry of each file on left nodes. (put_entries): Print here the name of the file. (put_entries): Print the entries starting from the first file. (number_len, total_size_of_entries): Define these only iin etags mode, make the second work only on the right nodes. * etags.c: Make all global variables static.
* *** empty log message ***Francesco Potortì2002-03-051-0/+33
|
* *** empty log message ***Juanma Barranquero2002-02-251-0/+4
|
* Add missing backslash.Juanma Barranquero2002-02-251-1/+1
|
* *** empty log message ***Jason Rumney2002-02-241-0/+7
|
* (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to using .elc files.Jason Rumney2002-02-241-54/+64
| | | | | (lisp): Sync with list in src/Makefile.in (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
* *** empty log message ***Richard M. Stallman2002-02-151-3/+1
|
* Update copyright date.Paul Eggert2002-02-101-1/+1
|
* * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001Paul Eggert2002-02-101-0/+5
| | | | disallows the old syntax.
* Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001Paul Eggert2002-02-101-1/+1
| | | | disallows the old syntax.
* * rcs2log(Copyright): Update to 2002.Paul Eggert2002-02-031-1/+9
| | | | | | | (AWK, TMPDIR): Work around portability problem in broken shells that don't understand `: ${VAR=val}'. (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001. Prefer the new -k option to the traditional +M -N option.
* (Copyright): Update to 2002.Paul Eggert2002-02-031-6/+12
| | | | | | | (AWK, TMPDIR): Work around portability problem in broken shells that don't understand `: ${VAR=val}'. (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001. Prefer the new -k option to the traditional +M -N option.
* Remove unnecessary whitespaces.Pavel Janík2002-01-051-15/+15
|