aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (lisp): Add international/ucs-tables.elc and font-core.elc.Juanma Barranquero2002-06-132-0/+7
|
* New multi-line regexp and new regexp syntax.Francesco Potortì2002-06-131-0/+28
|
* New multi-line regexp and new regexp syntax.Francesco Potortì2002-06-131-114/+292
| | | | | | | | | | | | | | | | | | | | | | | | | (arg_type): at_icregexp label removed (obsolete). (pattern): New member multi_line for multi-line regexps. (filebuf): A global buffer containing the whole file as a string for multi-line regexp matching. (need_filebuf): Global flag raised if multi-line regexps used. (print_help): Document new regexp modifiers, remove references to obsolete option --ignore-case-regexp. (main): Do not set regexp syntax and translation table here. (main): Treat -c option as a backward compatibility hack. (main, find_entries): Init and free filebuf. (find_entries): Call regex_tag_multiline after the regular parser. (scan_separators): Check for untermintaed regexp and return NULL. (analyse_regex, add_regex): Remove the ignore_case argument, which is now a modifier to the regexp. All callers changed. (add_regex): Manage the regexp modifiers. (regex_tag_multiline): New function. Reads from filebuf. (readline_internal): If necessary, copy the whole file into filebuf. (readline): Skip multi-line regexps, leave them to regex_tag_multiline. (add_regex): Better check for null regexps. (readline): Check for regex matching null string. (find_entries): Reorganisation.
* (scan_separators): Support all character escapeFrancesco Potortì2002-06-061-51/+60
| | | | | | | | | | | | | | sequences supported by gcc. (find_entries): rewind unconditionally. (find_entries): Do not call language functions directly, now calls itself. (find_entries): Do general initialisations here. (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit) (Ada_getit, Pascal_functions, Pascal_functions) (prolog_skip_comment): Do not do them here. (readline_internal): Increment lineno here. (readline): Conditionally undo readline_internal increment. (readline): Do not return a value.
* *** empty log message ***Francesco Potortì2002-06-061-0/+15
|
* (enum arg_type): New label at_stdin.Francesco Potortì2002-06-062-129/+176
| | | | | | | | | | (STDIN): New constant. (parsing_stdin): New flag. (longopts): New option --parse-stdin=NAME. (print_help): Document it. (main): Handle it. (process_file): Split into process_file and process_file_name. (process_file_name): New function.
* (TeX_commands): Skip comments.Francesco Potortì2002-06-061-74/+69
| | | | | | | | | | | (TEX_defenv): Now contains more contructs. (TEX_cmt): Make it a static char and move it before TeX_commands. (TeX_commands): Shorten the tag to the brace after the name. (TeX_commands): Names now include the initial backslash. (TeX_commands): Names do not include numeric args #n. (TeX_commands): Correct line char number in tags. (TEX_tabent, TEX_token): Deleted. (TeX_commands, TEX_decode_env): Streamlined.
* *** empty log message ***Francesco Potortì2002-06-061-0/+12
|
* (main): Avoid a buffer overrun with sprintf.Francesco Potortì2002-06-052-5/+9
|
* *** empty log message ***Richard M. Stallman2002-05-301-0/+5
|
* (LIBS_MAIL): Renamed from LIB_MAIL.Richard M. Stallman2002-05-301-3/+3
| | | | (LIBS_MOVE): Renamed from MOVE_LIBS.
* Reinstate the following change from 2002-03-22, which wasPaul Eggert2002-05-271-0/+9
| | | | | | | | inadvertently lost on 2002-04-13. * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows the latter usage.
* Reinstate the following change from 2002-03-22, which wasPaul Eggert2002-05-271-1/+1
| | | | | | | inadvertently lost on 2002-04-13. (main): Use `sort -o TAGFILE TAGFILE' instead of `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows the latter usage.
* *** empty log message ***Eli Zaretskii2002-05-251-0/+5
|
* (socket_connection): Move the code to resolve the POPEli Zaretskii2002-05-171-11/+11
| | | | host right before trying to connect with it.
* This file was deleted since the TCP emulation is no longer in useEli Zaretskii2002-05-051-242/+0
| | | | on any platform.
* *** empty log message ***Colin Walters2002-04-291-0/+16
|
* (SCORE_FILE_PREFIX): Delete.Colin Walters2002-04-291-45/+41
| | | | | | | | | | | (main): New argument -d, for specifying directory. (usage): Document. (get_user_id): Compute (get_home_dir): Deleted. (get_prefix): New function, taken from main. (main): Check whether or not we are running setuid. Move prefix computation to get_prefix. Don't call getpwent; we don't need to any more. Instead, move it to get_user_id().
* (${archlibdir}): Don't conditionalize onColin Walters2002-04-291-11/+10
| | | | | HAVE_SHARED_GAME_DIR. Instead, test at installation time whether or not we have access to the specified game user.
* (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.