summaryrefslogtreecommitdiff
path: root/lib-src
AgeCommit message (Collapse)Author
2002-03-12*** empty log message ***Francesco Potortì
2002-03-12* etags.c (Python_functions): Skip spaces at beginning of lines.Francesco Potortì
(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.
2002-03-12*** empty log message ***Francesco Potortì
2002-03-06*** empty log message ***Jason Rumney
2002-03-06(put_entries): Use #if !CTAGS, to fix link error onJason Rumney
compilers that don't optimize out dead code.
2002-03-05* etags.c: Honour #line directives.Francesco Potortì
(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.
2002-03-05*** empty log message ***Francesco Potortì
2002-02-25*** empty log message ***Juanma Barranquero
2002-02-25Add missing backslash.Juanma Barranquero
2002-02-24*** empty log message ***Jason Rumney
2002-02-24(WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to using .elc files.Jason Rumney
(lisp): Sync with list in src/Makefile.in (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
2002-02-15*** empty log message ***Richard M. Stallman
2002-02-10Update copyright date.Paul Eggert
2002-02-10* rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001Paul Eggert
disallows the old syntax.
2002-02-10Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001Paul Eggert
disallows the old syntax.
2002-02-03* rcs2log(Copyright): Update to 2002.Paul Eggert
(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.
2002-02-03(Copyright): Update to 2002.Paul Eggert
(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.
2002-01-05Remove unnecessary whitespaces.Pavel Janík
2002-01-01*** empty log message ***Pavel Janík
2002-01-01(main): Parenthesize assignment when used as truth value to prevent gccPavel Janík
warnings.
2002-01-01Include <config.h>.Pavel Janík
2001-12-30Remove unnecessary whitespaces.Pavel Janík
2001-12-30Remove unnecessary whitespace.Pavel Janík
2001-12-29Include <config.h>.Pavel Janík
2001-12-29Remove trailing whitespaces.Pavel Janík
2001-12-26support for Perl packagesFrancesco Potortì
* etags.c (Perl_functions): Tag packages and use them in sub tags. (get_tag): Return a pointer to the tag that is found. general cleanup and streamlining * etags.c (LOOKING_AT): Use !intoken instead of iswhite. (F_takeprec): Renamed from takeprec. All callers changed. (F_getit): Renamed from getit. All callers changed. (nocase_tail): Renamed from tail. All callers changed. (Ada_getit): Renamed from adagetit. All callers changed. (L_getit): Simplified by using get_tag. (Perl_functions, Postscript_functions, erlang_attribute): Use the modified LOOKING_AT. (notinname): Removed '[' and added ')' to the recognised chars. (LOOKING_AT, get_tag, PHP_functions): Use notinname. (Ada_getit, Ada_funcs, Python_functions, Scheme_functions): Clarified, using strneq or notinname. (L_isdef, L_isquote): Removed. (Lisp_functions, L_getit): Clarified. changes for standalone compilation * etags.c: (P_): Renamed to __P for consistency with config.h. [HAVE_CONFIG_H]: Let config.h deal with __P. [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h. [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because gperf code needs it. [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs). [HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs). (xmalloc, xrealloc): Use PTR instead of long *. (bool): Make it a define, not a typedef, for C++ compilers. (pattern): Members renamed to avoid name clash in some C++ compilers. (get_language_from_langname): Use const argument.
2001-12-26Etags.c:Francesco Potortì
support for Perl packages general cleanup and streamlining changes for standalone compilation
2001-12-26Removed names of people from etags.c change log entries.Francesco Potortì
2001-12-22*** empty log message ***Pavel Janík
2001-12-22Remove mocklisp files.Pavel Janík
2001-12-22Comment change.Richard M. Stallman
2001-12-22*** empty log message ***Richard M. Stallman
2001-12-22Comment change.Richard M. Stallman
2001-12-19Conditionally include config.h.Pavel Janík
Clean-up whitespaces.
2001-12-19Clean-up whitespaces.Pavel Janík
2001-12-19Conditionally include config.h.Pavel Janík
2001-12-19Include "config.h", not <../src/config.h>.Pavel Janík
(main): Parenthesize assignment when used as truth value to prevent gcc warnings.
2001-12-19Include stdlib.h and string.h conditionally.Pavel Janík
2001-12-18*** empty log message ***Eli Zaretskii
2001-12-18(main): Use time_t, not long, to avoid a compiler warning.Eli Zaretskii
2001-12-18*** empty log message ***Pavel Janík
2001-12-18Fix previous change.Pavel Janík
2001-12-18*** empty log message ***Dave Love
2001-12-18Conditionally include fcntl.h.Dave Love
2001-12-18Include "config.h", not <../src/config.h>.Dave Love
(_XOPEN_SOURCE): Define as 500.
2001-12-18Include "config.h", not <../src/config.h>.Dave Love
2001-12-18Include config.h, stdlib.h.Dave Love
(xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
2001-12-18Conditionally include various headers. Use "epaths.h",Dave Love
not <../src/epaths.h>. (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
2001-12-15Etags changes for Prolog and PHP.Francesco Potortì
2001-12-15* etags.c (PHP_functions): New function by Diez B. Roggisch,Francesco Potortì
heavily adapted by me, for parsing PHP. (LOOKING_AT): New macro. (Perl_functions, Python_functions, PHP_functions) (Scheme_functions, Texinfo_nodes): Use it. (Perl_functions): Use strneq. (prolog_pred): Renamed to prolog_pr. (prolog_pr): Recognise Prolog rules (thanks to Geert Kloosterman) in addition to predicates. [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent unmodified compile, as Cygwin's regex.h is incompatible with us (thanks to Markus Hoenicka). [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.