comparison lib-src/ChangeLog @ 73566:c1cca3ff04f8

*** empty log message ***
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 31 Oct 2006 01:08:02 +0000
parents af4efe22238c
children 253ddf6ac03a
comparison
equal deleted inserted replaced
73565:e9cef9a59abe 73566:c1cca3ff04f8
1 2006-10-31 Juanma Barranquero <lekktu@gmail.com>
2
3 * makefile.w32-in (ALL): Add emacsclient.
4 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
5 (emacsclient, $(BLD)/emacsclient.exe): New targets.
6 (install): Install emacsclient.
7
8 * emacsclient.c: Add support for TCP sockets.
9 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
10 (INITIALIZE): New macros.
11 (IOCTL_BOOL_ARG): New typedef.
12 (server_file): New global variable.
13 (longopts): New option --server-file.
14 (decode_options): Process new option --server-file and environment
15 variable EMACS_SERVER_FILE.
16 (print_help_and_exit): Document new option.
17 (fail): If no connection available and no alternate editor,
18 suggest using options to make them explicit.
19 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
20 (send_buffer, sblen): New variables.
21 (send_to_emacs): New function to buffer output and send it with
22 send().
23 (quote_file_name): Use SEND_STRING.
24 (close_winsock, initialize_sockets): New functions to load and
25 unload Winsock.
26 (get_server_config, set_tcp_socket): New functions to create and
27 set up TCP sockets.
28 (set_local_socket): New function to create and set up Unix
29 socket (code moved from previous implementation).
30 (set_socket): New function to chose between TCP and Unix sockets.
31 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
32 set_local_socket. Use set_socket. Get answers from server.el with
33 recv(), not file stream functions.
34
1 2006-10-09 Eli Zaretskii <eliz@gnu.org> 35 2006-10-09 Eli Zaretskii <eliz@gnu.org>
2 36
3 * makefile.w32-in (../src/config.h): Fix error message. 37 * makefile.w32-in (../src/config.h): Fix error message.
4 38
5 2006-09-30 Eli Zaretskii <eliz@gnu.org> 39 2006-09-30 Eli Zaretskii <eliz@gnu.org>
11 * COPYING: Replace "Library Public License" by "Lesser Public 45 * COPYING: Replace "Library Public License" by "Lesser Public
12 License" throughout. 46 License" throughout.
13 47
14 2006-08-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 48 2006-08-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
15 49
16 * etags.c (readline): expect sscanf returns >= 1. 50 * etags.c (readline): Expect sscanf returns >= 1.
17 (readline): Change position on %n and \" in sscanf. 51 (readline): Change position on %n and \" in sscanf.
18 52
19 2006-08-07 Masatake YAMATO <jet@gyve.org> 53 2006-08-07 Masatake YAMATO <jet@gyve.org>
20 54
21 * etags.c (readline): expect sscanf returns 2, 55 * etags.c (readline): Expect sscanf returns 2, not 1.
22 not 1. 56
23
24 2006-08-07 Masatake YAMATO <jet@gyve.org> 57 2006-08-07 Masatake YAMATO <jet@gyve.org>
25 58
26 * etags.c (TEX_mode): Check getc returns EOF. 59 * etags.c (TEX_mode): Check getc returns EOF.
27 File ended without newline causes infinite loop. 60 File ended without newline causes infinite loop.
28 61
29 2002-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change) 62 2002-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
30 63
31 * etags.c: It's XEmacs, not Xemacs: change all the occurences. 64 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
32 65
33 2006-07-30 Francesco Potort,Al(B <pot@gnu.org> 66 2006-07-30 Francesco Potort,Al(B <pot@gnu.org>
34 67
35 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined. 68 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
36 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined. 69 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
160 193
161 2005-12-22 Richard M. Stallman <rms@gnu.org> 194 2005-12-22 Richard M. Stallman <rms@gnu.org>
162 195
163 * Makefile.in (update-game-score.o): Delete spurious final `\'. 196 * Makefile.in (update-game-score.o): Delete spurious final `\'.
164 197
165 2005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change) 198 2005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
166 199
167 * etags.c (main): Cxref mode writes to stdout: do not close tagf, 200 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
168 which was never opened. 201 which was never opened.
169 202
170 2005-10-20 Olli Savia <ops@iki.fi> (tiny change) 203 2005-10-20 Olli Savia <ops@iki.fi> (tiny change)
197 Compile and link this progranm separately. 230 Compile and link this progranm separately.
198 (update-game-score${EXEEXT}): Use GETOPTDEPTS. 231 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
199 232
200 2005-09-11 Jason Rumney <jasonr@gnu.org> 233 2005-09-11 Jason Rumney <jasonr@gnu.org>
201 234
202 * makefile.w32-in (../src/config.h): Don't overwrite. Print a 235 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
203 message instead. 236 message instead.
204 (../src/paths.h): Removed. 237 (../src/paths.h): Removed.
205 238
206 2005-07-27 Juanma Barranquero <lekktu@gmail.com> 239 2005-07-27 Juanma Barranquero <lekktu@gmail.com>
207 240
333 (consider_token, C_entries): Numerous changes for making the 366 (consider_token, C_entries): Numerous changes for making the
334 parser more robust and adding support for __attribute__. 367 parser more robust and adding support for __attribute__.
335 368
336 2004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change) 369 2004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
337 370
338 * etags.c: (Lua_suffixes, Lua_help, lang_names, Lua_functions): 371 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
339 Support the Lua scripting language <http://www.lua.org>. 372 Support the Lua scripting language <http://www.lua.org>.
340 373
341 2004-09-08 Francesco Potort,Al(B <pot@gnu.org> 374 2004-09-08 Francesco Potort,Al(B <pot@gnu.org>
342 375
343 * etags.c: [LONG_OPTIONS]: make it TRUE (ifdef) or FALSE (ifndef) 376 * etags.c [LONG_OPTIONS]: make it TRUE (ifdef) or FALSE (ifndef)
344 for ease of use. 377 for ease of use.
345 378
346 2004-07-17 Richard M. Stallman <rms@gnu.org> 379 2004-07-17 Richard M. Stallman <rms@gnu.org>
347 380
348 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it. 381 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
700 2002-09-17 Stefan Monnier <monnier@cs.yale.edu> 733 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
701 734
702 * emacsclient.c (quote_file_name): Quote \n. 735 * emacsclient.c (quote_file_name): Quote \n.
703 (main): Print a final \n when needed. 736 (main): Print a final \n when needed.
704 737
705 2002-09-03 Francesco Potorti` <pot@gnu.org> 738 2002-09-03 Francesco Potort,Al(B <pot@gnu.org>
706 739
707 * etags.c (regex_tag_multiline, readline): Never pass pfnote a 740 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
708 string that cannot be freed. 741 string that cannot be freed.
709 742
710 2002-08-30 Francesco Potorti` <pot@gnu.org> 743 2002-08-30 Francesco Potort,Al(B <pot@gnu.org>
711 744
712 * etags.c (consider_token, C_entries): Switch to C++ parsing when 745 * etags.c (consider_token, C_entries): Switch to C++ parsing when
713 auto-detection is enabled and the `::' qualifier is met. 746 auto-detection is enabled and the `::' qualifier is met.
714 (consider_token, C_entries): Several bugs corrected that tagged 747 (consider_token, C_entries): Several bugs corrected that tagged
715 some declarations even though --declarations was not used. 748 some declarations even though --declarations was not used.
716 (plainc): New macro. 749 (plainc): New macro.
717 (C_entries): Use it. 750 (C_entries): Use it.
718 (C_entries): Several cosmetic changes. 751 (C_entries): Several cosmetic changes.
719 (C_entries): Invalidate the token is some cases. 752 (C_entries): Invalidate the token is some cases.
720 753
721 2002-08-29 Francesco Potorti` <pot@gnu.org> 754 2002-08-29 Francesco Potort,Al(B <pot@gnu.org>
722 755
723 * etags.c (C_entries): Correct a problem with const C++ funcs. 756 * etags.c (C_entries): Correct a problem with const C++ funcs.
724 (ignoreindent): Renamed from noindentypedefs. 757 (ignoreindent): Renamed from noindentypedefs.
725 (cjava, cplpl): They are now macros instead of local vars. 758 (cjava, cplpl): They are now macros instead of local vars.
726 759
727 2002-08-28 Francesco Potorti` <pot@gnu.org> 760 2002-08-28 Francesco Potort,Al(B <pot@gnu.org>
728 761
729 * etags.c (HTML_labels): Tag ID= also. 762 * etags.c (HTML_labels): Tag ID= also.
730 763
731 2002-08-27 Francesco Potorti` <pot@gnu.org> 764 2002-08-27 Francesco Potort,Al(B <pot@gnu.org>
732 765
733 * etags.c (Ada_funcs): Do not tag "use type Xxxx;". 766 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
734 767
735 * etags.c: (HTML_labels): New language HTML. 768 * etags.c (HTML_labels): New language HTML.
736 (etags_strcasecmp): Like BSD's, for compatibility. 769 (etags_strcasecmp): Like BSD's, for compatibility.
737 (strcaseeq): Make it into a macro. 770 (strcaseeq): Make it into a macro.
738 771
739 * etags.c (make_tag): Never generate null length tag names. 772 * etags.c (make_tag): Never generate null length tag names.
740 (linebuffer_init): Renamed from initbuffer. All callers changed. 773 (linebuffer_init): Renamed from initbuffer. All callers changed.
782 815
783 2002-06-26 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 816 2002-06-26 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
784 817
785 * b2m.pl: New file. 818 * b2m.pl: New file.
786 819
787 2002-06-21 Francesco Potorti` <pot@gnu.org> 820 2002-06-21 Francesco Potort,Al(B <pot@gnu.org>
788 821
789 * etags.c: (F_getit, Fortran_functions, Ada_getit, Asm_labels) 822 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
790 (Python_functions, PHP_functions, PHP_functions, PHP_functions) 823 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
791 (PHP_functions, PHP_functions, Cobol_paragraphs) 824 (PHP_functions, PHP_functions, Cobol_paragraphs)
792 (Makefile_targets, Postscript_functions, Texinfo_nodes) 825 (Makefile_targets, Postscript_functions, Texinfo_nodes)
793 (prolog_pr, erlang_func, erlang_attribute) 826 (prolog_pr, erlang_func, erlang_attribute)
794 (Perl_functions, Perl_functions, Pascal_functions) 827 (Perl_functions, Perl_functions, Pascal_functions)
795 (TeX_commands, get_tag): Use make_tag instead of pfnote. 828 (TeX_commands, get_tag): Use make_tag instead of pfnote.
796 (get_tag): Prototype changed, all callers changed. 829 (get_tag): Prototype changed, all callers changed.
797 830
798 2002-06-20 Francesco Potorti` <pot@gnu.org> 831 2002-06-20 Francesco Potort,Al(B <pot@gnu.org>
799 832
800 * etags.c: Implement implicit tag names, that is, unnamed tags 833 * etags.c: Implement implicit tag names, that is, unnamed tags
801 whose name is automatically deduced by etags.el. The advantage is 834 whose name is automatically deduced by etags.el. The advantage is
802 that there is no explicit tag name in most tags, so the size of 835 that there is no explicit tag name in most tags, so the size of
803 the tags file is reduced, yet find-tag is able to do a match as 836 the tags file is reduced, yet find-tag is able to do a match as
804 accurate as with named tags. See the comment in make_tag for details. 837 accurate as with named tags. See the comment in make_tag for details.
805 (make_tag): New function (was the disabled function new_pfnote). 838 (make_tag): New function (was the disabled function new_pfnote).
806 (make_C_tag): Use it. 839 (make_C_tag): Use it.
807 840
808 2002-06-19 Francesco Potorti` <pot@gnu.org> 841 2002-06-19 Francesco Potort,Al(B <pot@gnu.org>
809 842
810 * etags.c (add_regex): Invalid regexp modifiers are ignored. 843 * etags.c (add_regex): Invalid regexp modifiers are ignored.
811 (Makefile_targets): Tag variables unless --no-globals. 844 (Makefile_targets): Tag variables unless --no-globals.
812 (LOOP_ON_INPUT_LINES): Serious bug corrected. 845 (LOOP_ON_INPUT_LINES): Serious bug corrected.
813 846
814 2002-06-13 Francesco Potorti` <pot@gnu.org> 847 2002-06-13 Francesco Potort,Al(B <pot@gnu.org>
815 848
816 * etags.c (erlang_atom, erlang_attribute): Bugs corrected. 849 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
817 (invalidate_nodes): Bug corrected. 850 (invalidate_nodes): Bug corrected.
818 (print_help): Better help for regexps. 851 (print_help): Better help for regexps.
819 852
820 2002-06-13 Juanma Barranquero <lektu@terra.es> 853 2002-06-13 Juanma Barranquero <lektu@terra.es>
821 854
822 * makefile.w32-in (lisp): Add international/ucs-tables.elc and 855 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
823 font-core.elc. 856 font-core.elc.
824 857
825 2002-06-12 Francesco Potorti` <pot@gnu.org> 858 2002-06-12 Francesco Potort,Al(B <pot@gnu.org>
826 859
827 * etags.c: New multi-line regexp and new regexp syntax. 860 * etags.c: New multi-line regexp and new regexp syntax.
828 (arg_type): at_icregexp label removed (obsolete). 861 (arg_type): at_icregexp label removed (obsolete).
829 (pattern): New member multi_line for multi-line regexps. 862 (pattern): New member multi_line for multi-line regexps.
830 (filebuf): A global buffer containing the whole file as a string 863 (filebuf): A global buffer containing the whole file as a string
842 (add_regex): Manage the regexp modifiers. 875 (add_regex): Manage the regexp modifiers.
843 (regex_tag_multiline): New function. Reads from filebuf. 876 (regex_tag_multiline): New function. Reads from filebuf.
844 (readline_internal): If necessary, copy the whole file into filebuf. 877 (readline_internal): If necessary, copy the whole file into filebuf.
845 (readline): Skip multi-line regexps, leave them to regex_tag_multiline. 878 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
846 879
847 2002-06-11 Francesco Potorti` <pot@gnu.org> 880 2002-06-11 Francesco Potort,Al(B <pot@gnu.org>
848 881
849 * etags.c (add_regex): Better check for null regexps. 882 * etags.c (add_regex): Better check for null regexps.
850 (readline): Check for regex matching null string. 883 (readline): Check for regex matching null string.
851 (find_entries): Reorganisation. 884 (find_entries): Reorganisation.
852 885
853 2002-06-07 Francesco Potorti` <pot@gnu.org> 886 2002-06-07 Francesco Potort,Al(B <pot@gnu.org>
854 887
855 * etags.c (scan_separators): Support all character escape 888 * etags.c (scan_separators): Support all character escape
856 sequences supported by Gcc. 889 sequences supported by Gcc.
857 (find_entries): Rewind unconditionally. 890 (find_entries): Rewind unconditionally.
858 (find_entries): Do not call language functions directly, now calls 891 (find_entries): Do not call language functions directly, now calls
863 (prolog_skip_comment): Do not do them here. 896 (prolog_skip_comment): Do not do them here.
864 (readline_internal): Increment lineno here. 897 (readline_internal): Increment lineno here.
865 (readline): Conditionally undo readline_internal increment. 898 (readline): Conditionally undo readline_internal increment.
866 (readline): Do not return a value. 899 (readline): Do not return a value.
867 900
868 2002-06-06 Francesco Potorti` <pot@gnu.org> 901 2002-06-06 Francesco Potort,Al(B <pot@gnu.org>
869 902
870 * etags.c: New option --parse-stdin=FILE. 903 * etags.c: New option --parse-stdin=FILE.
871 (enum arg_type): New label at_stdin. 904 (enum arg_type): New label at_stdin.
872 (STDIN): New constant. 905 (STDIN): New constant.
873 (parsing_stdin): New flag. 906 (parsing_stdin): New flag.
886 (TeX_commands): Names do not include numeric args #n. 919 (TeX_commands): Names do not include numeric args #n.
887 (TeX_commands): Correct line char number in tags. 920 (TeX_commands): Correct line char number in tags.
888 (TEX_tabent, TEX_token): Deleted. 921 (TEX_tabent, TEX_token): Deleted.
889 (TeX_commands, TEX_decode_env): Streamlined. 922 (TeX_commands, TEX_decode_env): Streamlined.
890 923
891 2002-06-05 Francesco Potorti` <pot@gnu.org> 924 2002-06-05 Francesco Potort,Al(B <pot@gnu.org>
892 925
893 * etags.c (main): Avoid a buffer overrun with sprintf. 926 * etags.c (main): Avoid a buffer overrun with sprintf.
894 927
895 2002-05-30 Richard M. Stallman <rms@gnu.org> 928 2002-05-30 Richard M. Stallman <rms@gnu.org>
896 929
934 2002-04-23 Colin Walters <walters@verbum.org> 967 2002-04-23 Colin Walters <walters@verbum.org>
935 968
936 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing 969 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
937 space. 970 space.
938 971
939 2002-04-22 Francesco Potorti` <pot@gnu.org> 972 2002-04-22 Francesco Potort,Al(B <pot@gnu.org>
940 973
941 * etags.c: (last_node): Make it a global variable. 974 * etags.c (last_node): Make it a global variable.
942 (process_file): Print the tags from the nodes as soon as 975 (process_file): Print the tags from the nodes as soon as
943 possible, and delete the nodes. This brings down the memory 976 possible, and delete the nodes. This brings down the memory
944 occupancy as etags to almost the same level as when the #line 977 occupancy as etags to almost the same level as when the #line
945 directives were not parsed. 978 directives were not parsed.
946 (free_fdesc): New function. 979 (free_fdesc): New function.
955 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il> 988 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
956 989
957 * update-game-score.c: Move config.h before the other headers, to 990 * update-game-score.c: Move config.h before the other headers, to
958 avoid compiler warnings. 991 avoid compiler warnings.
959 992
960 2002-04-16 Francesco Potorti` <pot@gnu.org> 993 2002-04-16 Francesco Potort,Al(B <pot@gnu.org>
961 994
962 * etags.c (find_entries): Bug fix in list management. 995 * etags.c (find_entries): Bug fix in list management.
963 996
964 2002-04-15 Francesco Potorti` <pot@gnu.org> 997 2002-04-15 Francesco Potort,Al(B <pot@gnu.org>
965 998
966 * etags.c (get_language_from_filename): Add one argument. 999 * etags.c (get_language_from_filename): Add one argument.
967 (strcaseeq): New function. 1000 (strcaseeq): New function.
968 (get_language_from_filename): Use it to do a case insenstitive 1001 (get_language_from_filename): Use it to do a case insenstitive
969 comparison if called with appropriate args. 1002 comparison if called with appropriate args.
970 (find_entries): Try with case insensitive match. 1003 (find_entries): Try with case insensitive match.
971 (process_file): Bug fixed. 1004 (process_file): Bug fixed.
972 1005
973 2002-04-13 Francesco Potorti` <pot@gnu.org> 1006 2002-04-13 Francesco Potort,Al(B <pot@gnu.org>
974 1007
975 * etags.c (find_entries): Delete tags previously obtained from 1008 * etags.c (find_entries): Delete tags previously obtained from
976 file xxx.c's #line directives when parsing file xxx.y. This is 1009 file xxx.c's #line directives when parsing file xxx.y. This is
977 generally done for automatically generated files containing 1010 generally done for automatically generated files containing
978 #line directives. This handles the case when xxx.y is tagged 1011 #line directives. This handles the case when xxx.y is tagged
1015 of getdelim to be of type size_t instead of int. Use 0 instead of 1048 of getdelim to be of type size_t instead of int. Use 0 instead of
1016 ESUCCES. 1049 ESUCCES.
1017 1050
1018 2002-04-10 Colin Walters <walters@verbum.org> 1051 2002-04-10 Colin Walters <walters@verbum.org>
1019 1052
1020 * update-game-score.c: (toplevel): Include stdarg.h. 1053 * update-game-score.c (toplevel): Include stdarg.h.
1021 (MAX_DATA_LEN, MAX_SCORES): New. 1054 (MAX_DATA_LEN, MAX_SCORES): New.
1022 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined, 1055 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
1023 default to ~/.emacs.d/games. 1056 default to ~/.emacs.d/games.
1024 (get_user_id): Don't zero uid in the case where we can't get the 1057 (get_user_id): Don't zero uid in the case where we can't get the
1025 username. 1058 username.
1079 1112
1080 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of 1113 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1081 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows 1114 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1082 the latter usage. 1115 the latter usage.
1083 1116
1084 2002-03-12 Francesco Potorti` <pot@gnu.org> 1117 2002-03-12 Francesco Potort,Al(B <pot@gnu.org>
1085 1118
1086 * etags.c (Python_functions): Skip spaces at beginning of lines. 1119 * etags.c (Python_functions): Skip spaces at beginning of lines.
1087 (Python_functions, PHP_functions): Name tags, for ctags' sake. 1120 (Python_functions, PHP_functions): Name tags, for ctags' sake.
1088 (TeX_commands): Name tags. Correction of old disabled code. 1121 (TeX_commands): Name tags. Correction of old disabled code.
1089 1122
1094 2002-03-06 Jason Rumney <jasonr@gnu.org> 1127 2002-03-06 Jason Rumney <jasonr@gnu.org>
1095 1128
1096 * etags.c (put_entries): Use #if !CTAGS, to fix link error on 1129 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
1097 compilers that don't optimize out dead code. 1130 compilers that don't optimize out dead code.
1098 1131
1099 2002-03-05 Francesco Potorti` <pot@gnu.org> 1132 2002-03-05 Francesco Potort,Al(B <pot@gnu.org>
1100 1133
1101 * etags.c: Honour #line directives. 1134 * etags.c: Honour #line directives.
1102 (no_line_directive): New global var; set it for old behaviour. 1135 (no_line_directive): New global var; set it for old behaviour.
1103 (main): Remove some #ifdef in the getopt switch. 1136 (main): Remove some #ifdef in the getopt switch.
1104 (add_node, put_entries): Code added to merge different chunks of 1137 (add_node, put_entries): Code added to merge different chunks of
1163 2001-12-29 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 1196 2001-12-29 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
1164 1197
1165 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c, 1198 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
1166 * yow.c: Include <config.h>. 1199 * yow.c: Include <config.h>.
1167 1200
1168 2001-12-21 Francesco Potorti` <pot@gnu.org> 1201 2001-12-21 Francesco Potort,Al(B <pot@gnu.org>
1169 1202
1170 * etags.c (Perl_functions): Tag packages and use them in sub tags. 1203 * etags.c (Perl_functions): Tag packages and use them in sub tags.
1171 (get_tag): Return a pointer to the tag that is found. 1204 (get_tag): Return a pointer to the tag that is found.
1172 1205
1173 * etags.c (LOOKING_AT): Use !intoken instead of iswhite. 1206 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
1183 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions): 1216 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
1184 Clarified, using strneq or notinname. 1217 Clarified, using strneq or notinname.
1185 (L_isdef, L_isquote): Removed. 1218 (L_isdef, L_isquote): Removed.
1186 (Lisp_functions, L_getit): Clarified. 1219 (Lisp_functions, L_getit): Clarified.
1187 1220
1188 * etags.c: (P_): Renamed to __P for consistency with config.h. 1221 * etags.c (P_): Renamed to __P for consistency with config.h.
1189 [HAVE_CONFIG_H]: Let config.h deal with __P. 1222 [HAVE_CONFIG_H]: Let config.h deal with __P.
1190 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h. 1223 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
1191 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because 1224 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
1192 gperf code needs it. 1225 gperf code needs it.
1193 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs). 1226 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
1194 [HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs). 1227 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
1195 (xmalloc, xrealloc): Use PTR instead of long *. 1228 (xmalloc, xrealloc): Use PTR instead of long *.
1196 (bool): Make it a define, not a typedef, for C++ compilers. 1229 (bool): Make it a define, not a typedef, for C++ compilers.
1197 (pattern): Members renamed to avoid name clash in some C++ compilers. 1230 (pattern): Members renamed to avoid name clash in some C++ compilers.
1198 (get_language_from_langname): Use const argument. 1231 (get_language_from_langname): Use const argument.
1199 1232
1235 1268
1236 * yow.c: Conditionally include various headers. Use "epaths.h", 1269 * yow.c: Conditionally include various headers. Use "epaths.h",
1237 not <../src/epaths.h>. 1270 not <../src/epaths.h>.
1238 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype. 1271 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
1239 1272
1240 2001-12-12 Francesco Potorti` <pot@gnu.org> 1273 2001-12-12 Francesco Potort,Al(B <pot@gnu.org>
1241 1274
1242 * etags.c (PHP_functions): New function for parsing PHP. 1275 * etags.c (PHP_functions): New function for parsing PHP.
1243 (LOOKING_AT): New macro. 1276 (LOOKING_AT): New macro.
1244 (Perl_functions, Python_functions, PHP_functions) 1277 (Perl_functions, Python_functions, PHP_functions)
1245 (Scheme_functions, Texinfo_nodes): Use it. 1278 (Scheme_functions, Texinfo_nodes): Use it.
1470 2001-07-16 Gerd Moellmann <gerd@gnu.org> 1503 2001-07-16 Gerd Moellmann <gerd@gnu.org>
1471 1504
1472 * ebrowse.c (main): Check that the output file exists and 1505 * ebrowse.c (main): Check that the output file exists and
1473 is non-empty if invoked with `--append'. 1506 is non-empty if invoked with `--append'.
1474 1507
1475 2001-05-14 Francesco Potorti` <pot@gnu.org> 1508 2001-05-14 Francesco Potort,Al(B <pot@gnu.org>
1476 1509
1477 * etags.c (add_regex): Reset the whole newly allocated pattern 1510 * etags.c (add_regex): Reset the whole newly allocated pattern
1478 buffer instead of the individual members. It's safer and works 1511 buffer instead of the individual members. It's safer and works
1479 with Xemacs. 1512 with XEmacs.
1480 1513
1481 * etags.1: Markups corrected. 1514 * etags.1: Markups corrected.
1482 1515
1483 2001-05-08 Gerd Moellmann <gerd@gnu.org> 1516 2001-05-08 Gerd Moellmann <gerd@gnu.org>
1484 1517
1512 1545
1513 2001-02-24 Andrew Innes <andrewi@gnu.org> 1546 2001-02-24 Andrew Innes <andrewi@gnu.org>
1514 1547
1515 * makefile.w32-in: Fix copyright notice. 1548 * makefile.w32-in: Fix copyright notice.
1516 1549
1517 2001-02-23 Francesco Potorti` <pot@gnu.org> 1550 2001-02-23 Francesco Potort,Al(B <pot@gnu.org>
1518 1551
1519 * etags.c (enum sym_type): New label st_C_template. 1552 * etags.c (enum sym_type): New label st_C_template.
1520 (gperf input): Use it for switching to C++ from C. 1553 (gperf input): Use it for switching to C++ from C.
1521 (consider_token): Do it. 1554 (consider_token): Do it.
1522 (C_entries): Initialise typdefcblev to quiet compilers. 1555 (C_entries): Initialise typdefcblev to quiet compilers.
1539 1572
1540 2001-01-31 Dave Love <fx@gnu.org> 1573 2001-01-31 Dave Love <fx@gnu.org>
1541 1574
1542 * etags.c (in_word_set): Use `static' in definition (for pcc). 1575 * etags.c (in_word_set): Use `static' in definition (for pcc).
1543 1576
1544 2001-01-31 Francesco Potorti` <pot@gnu.org> 1577 2001-01-31 Francesco Potort,Al(B <pot@gnu.org>
1545 1578
1546 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for 1579 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
1547 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc). 1580 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
1548 (C_entries): Tag token renamed to still_in_token because sunos4 1581 (C_entries): Tag token renamed to still_in_token because sunos4
1549 pcc wants to expand it as the token() macro even though it has no 1582 pcc wants to expand it as the token() macro even though it has no
1550 arguments. 1583 arguments.
1551 1584
1552 2001-01-30 Andrew Innes <andrewi@gnu.org> 1585 2001-01-30 Andrew Innes <andrewi@gnu.org>
1553 1586
1554 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a 1587 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
1555 bug in the Mingw32 assert.h header file. 1588 bug in the Mingw32 assert.h header file.
1556 1589
1557 2001-01-30 Francesco Potorti` <pot@gnu.org> 1590 2001-01-30 Francesco Potort,Al(B <pot@gnu.org>
1558 1591
1559 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and 1592 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
1560 #define it for the sake of Xemacs. 1593 #define it for the sake of XEmacs.
1561 [WINDOWSNT]: #undef HAVE_NTGUI even if built without 1594 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
1562 HAVE_CONFIG_H. This change only affects a standalone etags. 1595 HAVE_CONFIG_H. This change only affects a standalone etags.
1563 [WINDOWSNT]: #undef DOS_NT and #define it even if built with 1596 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
1564 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is 1597 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
1565 always defined when HAVE_CONFIG_H and WINDOWS are both defined. 1598 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
1566 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare 1599 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
1567 WINDOWSNT, as this is the correct way to use it. 1600 WINDOWSNT, as this is the correct way to use it.
1568 1601
1569 2001-01-28 Francesco Potorti` <pot@gnu.org> 1602 2001-01-28 Francesco Potort,Al(B <pot@gnu.org>
1570 1603
1571 * etags.c: Be capable to parse nested struct-like structures. 1604 * etags.c: Be capable to parse nested struct-like structures.
1572 (structdef, structtag): Struct state machine revisited. 1605 (structdef, structtag): Struct state machine revisited.
1573 (struct tok): Revisited. 1606 (struct tok): Revisited.
1574 (cstack, nestlev, instruct): New struct and macros. 1607 (cstack, nestlev, instruct): New struct and macros.
1598 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf): 1631 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
1599 New variables. 1632 New variables.
1600 (matching_regexp): Use them instead of static variables in 1633 (matching_regexp): Use them instead of static variables in
1601 function scope. 1634 function scope.
1602 1635
1603 2001-01-25 Francesco Potorti` <pot@gnu.org> 1636 2001-01-25 Francesco Potort,Al(B <pot@gnu.org>
1604 1637
1605 * etags.c (struct tok): Renamed from struct token. 1638 * etags.c (struct tok): Renamed from struct token.
1606 (token): Renamed from tok. 1639 (token): Renamed from tok.
1607 (structtype): Make it a local variable. 1640 (structtype): Make it a local variable.
1608 [DEBUG]: Use assert. 1641 [DEBUG]: Use assert.
1627 2001-01-22 Gerd Moellmann <gerd@gnu.org> 1660 2001-01-22 Gerd Moellmann <gerd@gnu.org>
1628 1661
1629 * ebrowse.c (xfree): New function. 1662 * ebrowse.c (xfree): New function.
1630 (member, declaration, globals): Use xmalloc instead of alloca. 1663 (member, declaration, globals): Use xmalloc instead of alloca.
1631 1664
1632 2001-01-15 Francesco Potorti` <pot@gnu.org> 1665 2001-01-15 Francesco Potort,Al(B <pot@gnu.org>
1633 1666
1634 * etags.c (print_language_names): Print filenames in addition to 1667 * etags.c (print_language_names): Print filenames in addition to
1635 suffixes. 1668 suffixes.
1636 1669
1637 2001-01-14 Francesco Potorti` <pot@gnu.org> 1670 2001-01-14 Francesco Potort,Al(B <pot@gnu.org>
1638 1671
1639 * etags.c (get_language_from_langname): Renamed from 1672 * etags.c (get_language_from_langname): Renamed from
1640 get_language_from_name. 1673 get_language_from_name.
1641 (get_language_from_filename): Renamed from get_language_from_suffix. 1674 (get_language_from_filename): Renamed from get_language_from_suffix.
1642 Now first looks for the complete file name. 1675 Now first looks for the complete file name.
1871 1904
1872 2000-03-02 Gerd Moellmann <gerd@gnu.org> 1905 2000-03-02 Gerd Moellmann <gerd@gnu.org>
1873 1906
1874 * etags.c (lisp_suffixes) Add `LSP'. 1907 * etags.c (lisp_suffixes) Add `LSP'.
1875 1908
1876 2000-02-10 Francesco Potorti` <pot@gnu.org> 1909 2000-02-10 Francesco Potort,Al(B <pot@gnu.org>
1877 1910
1878 * etags.c (iswhite): Redefine not to consider '\0' as white 1911 * etags.c (iswhite): Redefine not to consider '\0' as white
1879 space, and use it throughout in place of isspace, thus preventing a 1912 space, and use it throughout in place of isspace, thus preventing a
1880 potential signed char to int conversion problem. 1913 potential signed char to int conversion problem.
1881 (MSDOS): #undefine befere redefining 1914 (MSDOS): #undefine befere redefining
1882 1915
1883 2000-02-04 Francesco Potorti` <pot@gnu.org> 1916 2000-02-04 Francesco Potort,Al(B <pot@gnu.org>
1884 1917
1885 * etags.c (many functions): Add prototypes. 1918 * etags.c (many functions): Add prototypes.
1886 1919
1887 2000-02-10 Dave Love <fx@gnu.org> 1920 2000-02-10 Dave Love <fx@gnu.org>
1888 1921
1889 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred) 1922 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
1890 (erlang_func): Add `static' to definitions to keep pcc happy. 1923 (erlang_func): Add `static' to definitions to keep pcc happy.
1891 1924
1892 2000-01-31 Francesco Potorti` <pot@gnu.org> 1925 2000-01-31 Francesco Potort,Al(B <pot@gnu.org>
1893 1926
1894 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise. 1927 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
1895 (get_compressor_from_suffix, process_file): Use MSDOS in if clause. 1928 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
1896 (etags_strchr, etags_strrchr): Use const char * and int as arguments. 1929 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
1897 (getenv, getcwd): Only declare them if necessary. 1930 (getenv, getcwd): Only declare them if necessary.
1926 1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us> 1959 1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
1927 1960
1928 * movemail.c (popmail): Allow mailbox specifications of the 1961 * movemail.c (popmail): Allow mailbox specifications of the
1929 form `po:username:hostname'. 1962 form `po:username:hostname'.
1930 1963
1931 1999-11-19 Francesco Potorti` <pot@gnu.org> 1964 1999-11-19 Francesco Potort,Al(B <pot@gnu.org>
1932 1965
1933 * etags.c (_GNU_SOURCE): Define only if undefined. 1966 * etags.c (_GNU_SOURCE): Define only if undefined.
1934 (get_scheme): Declaration deleted. 1967 (get_scheme): Declaration deleted.
1935 (main): Error was called with an integer as second arg, instead of 1968 (main): Error was called with an integer as second arg, instead of
1936 a char pointer. 1969 a char pointer.
1947 1980
1948 1999-11-03 Gerd Moellmann <gerd@gnu.org> 1981 1999-11-03 Gerd Moellmann <gerd@gnu.org>
1949 1982
1950 * etags.c (print_help): Change email address to send bugs to. 1983 * etags.c (print_help): Change email address to send bugs to.
1951 1984
1952 1999-11-01 Francesco Potorti` <pot@gnu.org>> 1985 1999-11-01 Francesco Potort,Al(B <pot@gnu.org>>
1953 1986
1954 * etags.c: Add suffix psw for PSWrap. 1987 * etags.c: Add suffix psw for PSWrap.
1955 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)". 1988 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
1956 (Postscript_functions): Add code for PSWrap. 1989 (Postscript_functions): Add code for PSWrap.
1957 (Scheme_functions): Use local pointer and new get_tag function. 1990 (Scheme_functions): Use local pointer and new get_tag function.
2001 non-zero, returns a pointer to where the extension begins; callers 2034 non-zero, returns a pointer to where the extension begins; callers
2002 changed. 2035 changed.
2003 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it 2036 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
2004 were foo.c.gz. 2037 were foo.c.gz.
2005 2038
2006 1999-11-01 Francesco Potorti` <pot@gnu.org> 2039 1999-11-01 Francesco Potort,Al(B <pot@gnu.org>
2007 2040
2008 * etags.c (sym_type, C_stab_entry): New constant st_C_operator. 2041 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
2009 (fvdev): New constant foperator. 2042 (fvdev): New constant foperator.
2010 (consider_token): Use it to get "operator" in C++. 2043 (consider_token): Use it to get "operator" in C++.
2011 (C_entries): Extend length of operator@ function name. 2044 (C_entries): Extend length of operator@ function name.
2035 (lc_trans): New global. 2068 (lc_trans): New global.
2036 (main): Fill lc_trans. Process -c args. 2069 (main): Fill lc_trans. Process -c args.
2037 (add_regex): New arg determining whether to use translation table. 2070 (add_regex): New arg determining whether to use translation table.
2038 (analyse_regex): New arg. Use it for add_regex. 2071 (analyse_regex): New arg. Use it for add_regex.
2039 2072
2040 1999-11-01 Francesco Potorti` <pot@gnu.org> 2073 1999-11-01 Francesco Potort,Al(B <pot@gnu.org>
2041 2074
2042 * etags.c (init): Cosmetic change: NULL --> '\0'. 2075 * etags.c (init): Cosmetic change: NULL --> '\0'.
2043 (erlang_attribute): Bug corrected (uninitialized variable). 2076 (erlang_attribute): Bug corrected (uninitialized variable).
2044 (filename_is_absolute): New function replaces absolutefn macro and 2077 (filename_is_absolute): New function replaces absolutefn macro and
2045 corrects a bug. All callers changed. 2078 corrects a bug. All callers changed.
2071 (free_patterns): New function called from main and add_regex. 2104 (free_patterns): New function called from main and add_regex.
2072 (initbuffer, readline_internal, readline, grow_linebuffer): 2105 (initbuffer, readline_internal, readline, grow_linebuffer):
2073 Change name of local vars to avoid clashes with typedef linebuffer. 2106 Change name of local vars to avoid clashes with typedef linebuffer.
2074 (readline): Rewritten for new functionality. 2107 (readline): Rewritten for new functionality.
2075 2108
2076 * etags.c: (Scheme_suffixes): New suffix ".ss". 2109 * etags.c (Scheme_suffixes): New suffix ".ss".
2077 (print_help): --globals is now used for more than C-type languages. 2110 (print_help): --globals is now used for more than C-type languages.
2078 (Perl_functions): Tag global variables ("my" and "local"). 2111 (Perl_functions): Tag global variables ("my" and "local").
2079 2112
2080 * etags.c (print_help): Some messages clarified. 2113 * etags.c (print_help): Some messages clarified.
2081 (LOOP_ON_INPUT_LINES): New macro. 2114 (LOOP_ON_INPUT_LINES): New macro.
2099 2132
2100 * etags.c (CHAR, init): Keep into account non US-ASCII 2133 * etags.c (CHAR, init): Keep into account non US-ASCII
2101 characters and compilers with default signed chars. 2134 characters and compilers with default signed chars.
2102 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar 2135 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
2103 constructs. 2136 constructs.
2104 2137 (C_stab_entry): "interface" in Java behaves like "class".
2105 * (C_stab_entry): "interface" in Java behaves like "class". 2138
2106 2139 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
2107 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
2108 (main): Put interval syntax here. 2140 (main): Put interval syntax here.
2109 (add_regex): And remove it from here. 2141 (add_regex): And remove it from here.
2110 2142
2111 * etags.c (suggest_asking_for_help): Provide a 2143 * etags.c (suggest_asking_for_help): Provide a
2112 meaningful help message with and without LONG_OPTIONS. 2144 meaningful help message with and without LONG_OPTIONS.
2459 * pop.c (fullwrite): Get rid of an extra call to write. Problem 2491 * pop.c (fullwrite): Get rid of an extra call to write. Problem
2460 pointed out by Chiaki Ishikawa. 2492 pointed out by Chiaki Ishikawa.
2461 2493
2462 1997-10-16 Dave Love <d.love@dl.ac.uk> 2494 1997-10-16 Dave Love <d.love@dl.ac.uk>
2463 2495
2464 * etags.c (L_getit): Always make named tags so that Emacs 2496 * etags.c (L_getit): Always make named tags so that Emacs
2465 completion on symbols containing `:' etc. works. 2497 completion on symbols containing `:' etc. works.
2466 (get_scheme): Likewise. 2498 (get_scheme): Likewise.
2467 2499
2468 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us> 2500 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2469 2501
2470 * pop.c: Use system header files instead of declaring C-library 2502 * pop.c: Use system header files instead of declaring C-library
2471 functions explicitly. 2503 functions explicitly.
2521 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives. 2553 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
2522 2554
2523 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us> 2555 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2524 2556
2525 * pop.c: Support auto-configuration of both Kerberos V4 and 2557 * pop.c: Support auto-configuration of both Kerberos V4 and
2526 Kerberos V5 for movemail, including detection of V4 and V5 header 2558 Kerberos V5 for movemail, including detection of V4 and V5 header
2527 files and libraries. 2559 files and libraries.
2528 Include <string.h> when STDC_HEADERS is defined, to get 2560 Include <string.h> when STDC_HEADERS is defined, to get
2529 declarations of string functions. 2561 declarations of string functions.
2530 [KERBEROS5] (socket_connection): Support the current MIT Kerberos 2562 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
2531 V5 API rather than the old one. 2563 V5 API rather than the old one.
2532 [KERBEROS] (socket_connection): Change a constant name from 2564 [KERBEROS] (socket_connection): Change a constant name from
2533 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict 2565 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
2534 with a constant in a header file. 2566 with a constant in a header file.
2535 2567
2536 * Makefile.in: Support auto-configuration of both Kerberos V4 and 2568 * Makefile.in: Support auto-configuration of both Kerberos V4 and
2537 Kerberos V5 for movemail, including detection of V4 and V5 header 2569 Kerberos V5 for movemail, including detection of V4 and V5 header
2538 files and libraries. 2570 files and libraries.
2539 2571
2540 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 2572 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2541 2573
2542 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h. 2574 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
2543 2575
2570 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu> 2602 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
2571 2603
2572 * b2m.c (readline): Terminate buffer properly when EOF seen. 2604 * b2m.c (readline): Terminate buffer properly when EOF seen.
2573 Test for valid pointer before dereferencing it. 2605 Test for valid pointer before dereferencing it.
2574 2606
2575 1997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2607 1997-05-30 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2576 2608
2577 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is 2609 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
2578 defined inside etags.c if HAVE_CONFIG_H is defined. 2610 defined inside etags.c if HAVE_CONFIG_H is defined.
2579 2611
2580 1997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2612 1997-05-29 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2581 2613
2582 * etags.c: (logical): Type name changed to bool. 2614 * etags.c (logical): Type name changed to bool.
2583 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them. 2615 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
2584 (<getopt.h>) [LONG_OPTIONS]: Include conditionally. 2616 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
2585 (getopt_long) [!LONG_OPTIONS]: Redefine as macro. 2617 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
2586 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS. 2618 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
2587 (longopts): New long options without short counterpart are 2619 (longopts): New long options without short counterpart are
2588 globals, members, no-globals, no-members. Regexp options are now 2620 globals, members, no-globals, no-members. Regexp options are now
2589 defined conditionally to ETAGS_REGEXPS. 2621 defined conditionally to ETAGS_REGEXPS.
2590 (print_help): Updated. 2622 (print_help): Updated.
2591 2623
2592 1997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2624 1997-05-22 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2593 2625
2594 * etags.c (C_entries): Use "." instead of "::" for Java. 2626 * etags.c (C_entries): Use "." instead of "::" for Java.
2595 (consider_token): is_func renamed to is_func_or_var. 2627 (consider_token): is_func renamed to is_func_or_var.
2596 (C_entries): is_func renamed to funorvar. 2628 (C_entries): is_func renamed to funorvar.
2597 (C_entries): Initialise tok.named. 2629 (C_entries): Initialise tok.named.
2602 (C_entries): Make separate tags for variables separated by comma. 2634 (C_entries): Make separate tags for variables separated by comma.
2603 (globals, members): New flags. 2635 (globals, members): New flags.
2604 (main, C_entries): Use them. 2636 (main, C_entries): Use them.
2605 (make_C_tag, C_entries): Make tok a global variable. 2637 (make_C_tag, C_entries): Make tok a global variable.
2606 2638
2607 1997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2639 1997-05-16 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2608 2640
2609 * etags.c (funcdef): New vignore constant. 2641 * etags.c (funcdef): New vignore constant.
2610 (consider_token, C_entries): Use it to tag global variables. 2642 (consider_token, C_entries): Use it to tag global variables.
2611 (print_help): Update for global variables. 2643 (print_help): Update for global variables.
2612 (consider_token, C_entries): Set the len member of token_name. 2644 (consider_token, C_entries): Set the len member of token_name.
2613 (prolog_pred): Cleanup according to GNU coding standards. 2645 (prolog_pred): Cleanup according to GNU coding standards.
2614 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support. 2646 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
2615 (prolog_white, erlang_white): Renamed to eat_white, callers changed. 2647 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
2616 2648
2617 1997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2649 1997-05-15 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2618 2650
2619 * etags.c (CHARS, CHAR): New constant and macro. 2651 * etags.c (CHARS, CHAR): New constant and macro.
2620 (iswhite, begtoken, intoken, endtoken): Use them. 2652 (iswhite, begtoken, intoken, endtoken): Use them.
2621 (notinname, _nin, nonam): New macro, array, string. 2653 (notinname, _nin, nonam): New macro, array, string.
2622 (init): Cleanup and init _nin. 2654 (init): Cleanup and init _nin.
2623 (new_pfnote): New function. 2655 (new_pfnote): New function.
2624 (make_C_tag) [traditional_tag_style]: Use it. 2656 (make_C_tag) [traditional_tag_style]: Use it.
2625 (traditional_tag_style): Costant set to TRUE for now. 2657 (traditional_tag_style): Costant set to TRUE for now.
2626 2658
2627 1997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2659 1997-05-14 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2628 2660
2629 * etags.c (C_entries, Pascal_functions): Cleanup. 2661 * etags.c (C_entries, Pascal_functions): Cleanup.
2630 (TeX_functions): NULL as a function arg needs a cast. 2662 (TeX_functions): NULL as a function arg needs a cast.
2631 (Erlang_functions, erlang_func, erlang_attribute): Cleanup. 2663 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
2632 2664
2633 1997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2665 1997-05-13 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2634 2666
2635 * etags.c (TeX_functions): Cleaned up. 2667 * etags.c (TeX_functions): Cleaned up.
2636 (tex_getit): Removed. 2668 (tex_getit): Removed.
2637 2669
2638 1997-05-13 Paul Eggert <eggert@twinsun.com> 2670 1997-05-13 Paul Eggert <eggert@twinsun.com>
2639 2671
2640 * rcs2log (files): When computing arguments automatically, ignore 2672 * rcs2log (files): When computing arguments automatically, ignore
2641 non-files within the RCS subdirectory. 2673 non-files within the RCS subdirectory.
2642 2674
2643 1997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2675 1997-05-13 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2644 2676
2645 * etags.c (C_JAVA): New #define. 2677 * etags.c (C_JAVA): New #define.
2646 (Cjava_suffixes): .java is Java. 2678 (Cjava_suffixes): .java is Java.
2647 (Cjava_entries): New function. 2679 (Cjava_entries): New function.
2648 (lang_names): Add Java. 2680 (lang_names): Add Java.
2649 (sym_type): Add st_C_javastruct for Java. 2681 (sym_type): Add st_C_javastruct for Java.
2650 (C_stab_entry): Add `extends' and `implements' keywords. 2682 (C_stab_entry): Add `extends' and `implements' keywords.
2651 (consider_token, C_entries): Recognise Java structures. 2683 (consider_token, C_entries): Recognise Java structures.
2652 2684
2653 1997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2685 1997-05-12 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2654 2686
2655 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax. 2687 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
2656 (Postscript_suffixes): .ps is Postscript. 2688 (Postscript_suffixes): .ps is Postscript.
2657 (lang_names): Add Postscript. 2689 (lang_names): Add Postscript.
2658 (Postscript_functions): New function. 2690 (Postscript_functions): New function.
2659 (TEX_decode_env): Close minor memory leak. 2691 (TEX_decode_env): Close minor memory leak.
2660 (just_read_file): Correct the char number of the tag. 2692 (just_read_file): Correct the char number of the tag.
2661 2693
2662 1997-05-11 Paul Eggert <eggert@twinsun.com> 2694 1997-05-11 Paul Eggert <eggert@twinsun.com>
2663 2695
2664 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files): 2696 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
2665 Don't prepend $nl since this causes some shells to generate the 2697 Don't prepend $nl since this causes some shells to generate the
2666 empty string when IFS is $nl. 2698 empty string when IFS is $nl.
2667 (printlogline): Use SOH (octal code 1), not CR, since some 2699 (printlogline): Use SOH (octal code 1), not CR, since some
2668 PC-based shells mishandle CR. 2700 PC-based shells mishandle CR.
2669 (initialize_fullname): Set NIS_PATH to the empty string before invoking 2701 (initialize_fullname): Set NIS_PATH to the empty string before invoking
2670 nismatch, in case it's set to some nonstandard value. 2702 nismatch, in case it's set to some nonstandard value.
2671 2703
2672 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us> 2704 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2673 2705
2674 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are 2706 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
2675 read in separate blocks. 2707 read in separate blocks.
2676 2708
2677 1997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2709 1997-04-30 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2678 2710
2679 * etags.c [TeX_named_tokens]: Set to FALSE if undefined. 2711 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
2680 (struct linebuffer): New member `len' is the length of the string. 2712 (struct linebuffer): New member `len' is the length of the string.
2681 (find_entries, Pascal_functions, TeX_functions, TEX_getit): 2713 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
2682 Use it instead of strlen. 2714 Use it instead of strlen.
2690 1997-04-23 Geoff Voelker <voelker@cs.washington.edu> 2722 1997-04-23 Geoff Voelker <voelker@cs.washington.edu>
2691 2723
2692 * makefile.nt: Change references of windowsnt.h to ms-w32.h. 2724 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
2693 (obj): Change references of nt*.c files to w32*.c files. 2725 (obj): Change references of nt*.c files to w32*.c files.
2694 2726
2695 1997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2727 1997-04-15 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2696 2728
2697 * etags.c (xnew): Add support for debugging with chkmalloc. 2729 * etags.c (xnew): Add support for debugging with chkmalloc.
2698 (error): Use this instead of printf whenever possible. 2730 (error): Use this instead of printf whenever possible.
2699 (main): Only call xnew after having initialised progname. 2731 (main): Only call xnew after having initialised progname.
2700 (substitute): Bad memory corruption error corrected. 2732 (substitute): Bad memory corruption error corrected.
2701 2733
2702 1997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2734 1997-04-08 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2703 2735
2704 * etags.c (add_regex): Undo previous change. 2736 * etags.c (add_regex): Undo previous change.
2705 (relative_filename): Small memory leak closed. 2737 (relative_filename): Small memory leak closed.
2706 (absolute_filename): Cleaned up the code, possibly closing a bug. 2738 (absolute_filename): Cleaned up the code, possibly closing a bug.
2707 (absolute_dirname): Always return a newly allocated string. 2739 (absolute_dirname): Always return a newly allocated string.
2708 2740
2709 1997-03-21 Paul Eggert <eggert@twinsun.com> 2741 1997-03-21 Paul Eggert <eggert@twinsun.com>
2710 2742
2711 * rcs2log (files): Ignore files in RCS directory whose names are 2743 * rcs2log (files): Ignore files in RCS directory whose names are
2712 of the form ,*, or *_; they are probably RCS lock files. 2744 of the form ,*, or *_; they are probably RCS lock files.
2713 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver; 2745 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
2714 they are used by rcsfreeze. 2746 they are used by rcsfreeze.
2715 2747
2716 1997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2748 1997-03-14 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2717 2749
2718 * etags.c (add_regex): reset *putbuf before using it. 2750 * etags.c (add_regex): reset *putbuf before using it.
2719 2751
2720 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us> 2752 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2721 2753
2741 2773
2742 * Makefile.in (movemail): Link with getopt. 2774 * Makefile.in (movemail): Link with getopt.
2743 2775
2744 1997-01-20 Paul Eggert <eggert@twinsun.com> 2776 1997-01-20 Paul Eggert <eggert@twinsun.com>
2745 2777
2746 * rcs2log: (--help, --version): New options, per GNU coding standards. 2778 * rcs2log (--help, --version): New options, per GNU coding standards.
2747 (Copyright, Help, Id): New variables, for above. 2779 (Copyright, Help, Id): New variables, for above.
2748 (rlog): Use -q option with cvs log, to avoid useless chatter. 2780 (rlog): Use -q option with cvs log, to avoid useless chatter.
2749 2781
2750 Treat logs of "Initial revision" (RCS) or "file F was initially added 2782 Treat logs of "Initial revision" (RCS) or "file F was initially added
2751 on branch B." (CVS) as if they said "New file.", for consistency with 2783 on branch B." (CVS) as if they said "New file.", for consistency with
2762 * etags.c (streq, strneq): Use == NULL rather than !. 2794 * etags.c (streq, strneq): Use == NULL rather than !.
2763 2795
2764 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com> 2796 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
2765 2797
2766 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail. 2798 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
2767 (movemail): Use LIBMAIL, to link against -lmail. 2799 (movemail): Use LIBMAIL, to link against -lmail.
2768 2800
2769 * movemail.c: Include maillock.h (conditionally). 2801 * movemail.c: Include maillock.h (conditionally).
2770 Remove a redundant inclusion of <stdio.h>. 2802 Remove a redundant inclusion of <stdio.h>.
2771 (MAIL_USE_MAILLOCK): New macro, conditionally defined. 2803 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
2772 (main): Add variable spool_name. 2804 (main): Add variable spool_name.
2773 Support the usage of maillock and mailunlock to 2805 Support the usage of maillock and mailunlock to
2774 lock and unlock mailboxes. 2806 lock and unlock mailboxes.
2775 (mail_spool_name): New function. 2807 (mail_spool_name): New function.
2776 2808
2777 * movemail.c: Fix an uninitialized variable which could cause 2809 * movemail.c: Fix an uninitialized variable which could cause
2778 movemail to exit with an error status incorrectly on systems which 2810 movemail to exit with an error status incorrectly on systems which
2779 use lock files rather than a system locking function to lock 2811 use lock files rather than a system locking function to lock
2780 mailboxes. 2812 mailboxes.
2781 2813
2782 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 2814 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2783 2815
2784 * pop.c (socket_connection): Free realhost after using it. 2816 * pop.c (socket_connection): Free realhost after using it.
2785 2817
2786 1996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2818 1996-12-04 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2787 2819
2788 * etags.c (C_entries): Test tok.valid. This handles some 2820 * etags.c (C_entries): Test tok.valid. This handles some
2789 particular cases involving function declarations that failed. 2821 particular cases involving function declarations that failed.
2790 2822
2791 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu> 2823 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
2792 2824
2793 * pop.c (socket_connection): 2825 * pop.c (socket_connection):
2794 gethostbyname may return a pointer to static data. 2826 gethostbyname may return a pointer to static data.
2795 krb_realmofhost can clobber it. So copy it. 2827 krb_realmofhost can clobber it. So copy it.
2796 2828
2797 1996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2829 1996-11-14 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2798 2830
2799 * etags.c (pfnote, fatal, error): Callers using a NULL pointer 2831 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
2800 must cast it to (char *) because we have no prototypes. 2832 must cast it to (char *) because we have no prototypes.
2801 (make_C_tag): Macro deleted, new function. 2833 (make_C_tag): Macro deleted, new function.
2802 (C_entries): Calls to make_C_tag macro changed to call function. 2834 (C_entries): Calls to make_C_tag macro changed to call function.
2803 2835
2804 1996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2836 1996-11-13 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2805 2837
2806 * etags.c (grow_linebuffer): New function. 2838 * etags.c (grow_linebuffer): New function.
2807 (GROW_LINEBUFFER): Macro deleted. All callers changed. 2839 (GROW_LINEBUFFER): Macro deleted. All callers changed.
2808 (make_tag): Macro renamed to make_C_tag. All callers changed. 2840 (make_tag): Macro renamed to make_C_tag. All callers changed.
2809 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's. 2841 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
2810 (Prolog_functions): prolog_skip_comment was called with wrong 2842 (Prolog_functions): prolog_skip_comment was called with wrong
2811 number of arguments. 2843 number of arguments.
2812 (xrealloc): fatal was called with wrong number of arguments 2844 (xrealloc): fatal was called with wrong number of arguments
2813 2845
2814 1996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2846 1996-11-08 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2815 2847
2816 * etags.c (relative_filename): Bug corrected. 2848 * etags.c (relative_filename): Bug corrected.
2817 (etags_getcwd): Avoid warning of unused variable. 2849 (etags_getcwd): Avoid warning of unused variable.
2818 (C_entries, consider_token): Added support for enum labels. 2850 (C_entries, consider_token): Added support for enum labels.
2819 2851
2820 1996-11-03 Paul Eggert <eggert@twinsun.com> 2852 1996-11-03 Paul Eggert <eggert@twinsun.com>
2821 2853
2822 * rcs2log: When processing cvs log output, remove `Attic/' from 2854 * rcs2log: When processing cvs log output, remove `Attic/' from
2823 repository file names. 2855 repository file names.
2824 2856
2825 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu> 2857 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
2826 2858
2827 * emacsserver.c: Fix 1996-09-02 change. 2859 * emacsserver.c: Fix 1996-09-02 change.
2828 2860
2829 1996-10-12 Paul Eggert <eggert@twinsun.com> 2861 1996-10-12 Paul Eggert <eggert@twinsun.com>
2830 2862
2831 * rcs2log (rlog_options): Look for ' option' rather than 'unknown 2863 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
2832 option', since CVS says 'invalid option'. 2864 option', since CVS says 'invalid option'.
2833 (datearg): Use the empty string, not '-d>1970-01-01', to extract all 2865 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
2834 revisions, since some hosts reject 1970-01-01 when east of UTC. 2866 revisions, since some hosts reject 1970-01-01 when east of UTC.
2835 (date): Remove. 2867 (date): Remove.
2836 2868
2837 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 2869 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2838 2870
2839 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes. 2871 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
2840 2872
2841 1996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2873 1996-10-02 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2842 2874
2843 * etags.c (print_version): Print copyright info. 2875 * etags.c (print_version): Print copyright info.
2844 2876
2845 * etags.c (print_help): Print the bug reporting address. 2877 * etags.c (print_help): Print the bug reporting address.
2846 (main): Use return as the last instruction, instead of exit. 2878 (main): Use return as the last instruction, instead of exit.
2848 * etags.c (main): Don't open the tags file in cxref mode. 2880 * etags.c (main): Don't open the tags file in cxref mode.
2849 2881
2850 1996-09-29 Dave Love <d.love@dl.ac.uk> 2882 1996-09-29 Dave Love <d.love@dl.ac.uk>
2851 2883
2852 * rcs2log (date): Make default format acceptable to CVS post v1.8 2884 * rcs2log (date): Make default format acceptable to CVS post v1.8
2853 as well as earlier CVSs and RCS. 2885 as well as earlier CVSs and RCS.
2854 2886
2855 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 2887 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2856 2888
2857 * movemail.c (main): If the lock call fails with EBUSY or 2889 * movemail.c (main): If the lock call fails with EBUSY or
2858 EAGAIN, retry a few times. 2890 EAGAIN, retry a few times.
2859 2891
2860 1996-09-25 Paul Eggert <eggert@twinsun.com> 2892 1996-09-25 Paul Eggert <eggert@twinsun.com>
2861 2893
2862 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding 2894 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
2863 whether to append -zLT. 2895 whether to append -zLT.
2864 2896
2865 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu> 2897 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2866 2898
2867 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM. 2899 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
2868 * emacsclient.c, movemail.c: Likewise. 2900 * emacsclient.c, movemail.c: Likewise.
2888 * emacsserver.c: Include signal.h properly; 2920 * emacsserver.c: Include signal.h properly;
2889 delete the duplicate includes for it. 2921 delete the duplicate includes for it.
2890 2922
2891 * emacsserver.c: On fatal signal, delete socket-file: 2923 * emacsserver.c: On fatal signal, delete socket-file:
2892 * emacsserver.c: Include signal.h. 2924 * emacsserver.c: Include signal.h.
2893 (xmalloc, fatal, error): New functions. 2925 (xmalloc, fatal, error): New functions.
2894 (delete_socket, handle_signals): New functions. 2926 (delete_socket, handle_signals): New functions.
2895 (progname, socket_name): New variables. 2927 (progname, socket_name): New variables.
2896 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables. 2928 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
2897 2929
2898 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 2930 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2982 3014
2983 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change. 3015 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
2984 3016
2985 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com> 3017 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
2986 3018
2987 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>. 3019 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
2988 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen. 3020 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
2989 * etags.c, fakemail.c, profile.c: Declare main as int, not void. 3021 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
2990 3022
2991 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk> 3023 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
2992 3024
3000 3032
3001 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk> 3033 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
3002 3034
3003 * makefile.nt: Remove all references to wakeup. 3035 * makefile.nt: Remove all references to wakeup.
3004 3036
3005 1996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 3037 1996-06-28 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
3006 3038
3007 * etags.c (C_stab_entry): New keywords for C++ namespace, bool, 3039 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
3008 explicit, mutable, typename. 3040 explicit, mutable, typename.
3009 3041
3010 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 3042 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3031 3063
3032 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu> 3064 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3033 3065
3034 * Version 19.31 released. 3066 * Version 19.31 released.
3035 3067
3036 1996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 3068 1996-05-17 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
3037 3069
3038 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline. 3070 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
3039 (Pascal_functions): Increase linecharno by the correct number of 3071 (Pascal_functions): Increase linecharno by the correct number of
3040 chars, inline the GET_NEW_LINE macro and delete its definition. 3072 chars, inline the GET_NEW_LINE macro and delete its definition.
3041 3073
3144 3176
3145 1996-03-27 Geoff Voelker <voelker@cs.washington.edu> 3177 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
3146 3178
3147 * makefile.nt: Change uses of del to $(DEL). 3179 * makefile.nt: Change uses of del to $(DEL).
3148 3180
3149 1996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 3181 1996-03-22 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
3150 3182
3151 * etags.c (just_read_file): Reset lineno and charno on entry. 3183 * etags.c (just_read_file): Reset lineno and charno on entry.
3152 3184
3153 1996-03-15 Anders Lindgren <andersl@csd.uu.se> 3185 1996-03-15 Anders Lindgren <andersl@csd.uu.se>
3154 3186
3155 * etags.c: Prolog language totaly rewritten. 3187 * etags.c: Prolog language totaly rewritten.
3156 (Prolog_functions): Rewritten from scratch. 3188 (Prolog_functions): Rewritten from scratch.
3157 (skip_comment, prolog_getit): Removed. 3189 (skip_comment, prolog_getit): Removed.
3158 (prolog_skip_comment): New function, like old skip_comment. 3190 (prolog_skip_comment): New function, like old skip_comment.
3159 (prolog_pred, prolog_atom, prolog_white): New functions. 3191 (prolog_pred, prolog_atom, prolog_white): New functions.
3160 (erlang_func, erlang_attributes): Forward declarations added. 3192 (erlang_func, erlang_attributes): Forward declarations added.
3161 (erlang_atom): Check if backslash ends line inside quoted atom. 3193 (erlang_atom): Check if backslash ends line inside quoted atom.
3162 3194
3163 1996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 3195 1996-03-14 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
3164 3196
3165 * etags.c (absolutefn): DOS_NT version corrected. 3197 * etags.c (absolutefn): DOS_NT version corrected.
3166 (main): Append "/" to the dir name only if not already there. 3198 (main): Append "/" to the dir name only if not already there.
3167 (print_help): Explain the absolute/relative file name issue. 3199 (print_help): Explain the absolute/relative file name issue.
3168 3200
3246 3278
3247 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> 3279 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3248 3280
3249 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE. 3281 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
3250 3282
3251 1995-12-07 Francesco Potorti` <pot@cnuce.cnr.it> 3283 1995-12-07 Francesco Potort,Al(B <pot@cnuce.cnr.it>
3252 3284
3253 * etags.c (pfnote): Don't make a tag for ctags if there is no name. 3285 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
3254 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit, 3286 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
3255 get_scheme, prolog_getit): Name the tag in ctags mode. 3287 get_scheme, prolog_getit): Name the tag in ctags mode.
3256 (pfnote): Truncate ctags lines to 50 chars, like it worked once. 3288 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
3258 (suggest_asking_for_help): New function. 3290 (suggest_asking_for_help): New function.
3259 (main, get_language_from_name): Use suggest_asking_for_help. 3291 (main, get_language_from_name): Use suggest_asking_for_help.
3260 (main): Let get_language_from_name make language existence check. 3292 (main): Let get_language_from_name make language existence check.
3261 (streq, strneq): Check the arguments #if DEBUG. 3293 (streq, strneq): Check the arguments #if DEBUG.
3262 3294
3263 1995-12-06 Francesco Potorti` <pot@cnuce.cnr.it> 3295 1995-12-06 Francesco Potort,Al(B <pot@cnuce.cnr.it>
3264 3296
3265 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++. 3297 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
3266 (gperf): Added keywords for Objective C and GNU macros. 3298 (gperf): Added keywords for Objective C and GNU macros.
3267 (sym_type): Added values to account for Objective C and GNU macros. 3299 (sym_type): Added values to account for Objective C and GNU macros.
3268 (begtk): The '@' character can start a token. 3300 (begtk): The '@' character can start a token.
3275 (consider_token): Take one more argument. Caller changed. 3307 (consider_token): Take one more argument. Caller changed.
3276 (consider_token): Use the hashing function to spot GNU macros. 3308 (consider_token): Use the hashing function to spot GNU macros.
3277 (C_entries): Consider // as a comment start even in plain C for 3309 (C_entries): Consider // as a comment start even in plain C for
3278 the sake of Objective C parsing. 3310 the sake of Objective C parsing.
3279 3311
3280 1995-12-04 Francesco Potorti` <pot@cnuce.cnr.it> 3312 1995-12-04 Francesco Potort,Al(B <pot@cnuce.cnr.it>
3281 3313
3282 * Makefile.in (ctags): depend on etags only for simplicity; 3314 * Makefile.in (ctags): depend on etags only for simplicity;
3283 compile with regexp support enabled. 3315 compile with regexp support enabled.
3284 3316
3285 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3317 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3286 3318
3287 * Version 19.30 released. 3319 * Version 19.30 released.
3288 3320
3304 3336
3305 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c, 3337 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
3306 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove 3338 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
3307 Windows 95 conditional. 3339 Windows 95 conditional.
3308 3340
3309 1995-11-06 Francesco Potorti` (pot@cnuce.cnr.it) 3341 1995-11-06 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3310 3342
3311 * etags.c (get_lang_from_name, get_lang_from_interpreter, 3343 * etags.c (get_lang_from_name, get_lang_from_interpreter,
3312 get_lang_from_suffix): New functions. 3344 get_lang_from_suffix): New functions.
3313 (get_language): Function deleted. 3345 (get_language): Function deleted.
3314 (lang_entry): Two members added to struct. 3346 (lang_entry): Two members added to struct.
3317 (find_entries): Look at the first line for #! if no language. 3349 (find_entries): Look at the first line for #! if no language.
3318 (C_entries): Invalidate the token when funcdef is reset. 3350 (C_entries): Invalidate the token when funcdef is reset.
3319 (Perl_functions): New function. 3351 (Perl_functions): New function.
3320 (lang_suffixes): .pl and .pm are Perl suffixes. 3352 (lang_suffixes): .pl and .pm are Perl suffixes.
3321 3353
3322 1995-11-02 Francesco Potorti` (pot@cnuce.cnr.it) 3354 1995-11-02 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3323 3355
3324 * etags.c (lowcase): Use the standard tolower function. 3356 * etags.c (lowcase): Use the standard tolower function.
3325 (substitute): Remove some wrong and some useless code related with 3357 (substitute): Remove some wrong and some useless code related with
3326 escape '\' character in regexp replacement string. 3358 escape '\' character in regexp replacement string.
3327 (TEX_defenv): Added part, appendix, entry, index. Removed typeout. 3359 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
3345 3377
3346 * test-distrib.c [HAVE_CONFIG_H]: Include config.h. 3378 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
3347 [! O_RDONLY]: Define it to zero. 3379 [! O_RDONLY]: Define it to zero.
3348 (main): Use O_RDONLY instead of explicit zero. 3380 (main): Use O_RDONLY instead of explicit zero.
3349 3381
3350 1995-08-17 Francesco Potorti` (pot@cnuce.cnr.it) 3382 1995-08-17 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3351 3383
3352 * etags.c (Pascal_functions): Close comment bug corrected. 3384 * etags.c (Pascal_functions): Close comment bug corrected.
3353 (add_node): Correctly compare node file names. 3385 (add_node): Correctly compare node file names.
3354 (Pascal_functions): Correctly allocate and free memory for tline. 3386 (Pascal_functions): Correctly allocate and free memory for tline.
3355 (pfnote): Put the definition of fp in the innermost block. 3387 (pfnote): Put the definition of fp in the innermost block.
3400 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu> 3432 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3401 3433
3402 * Makefile.in.in (install, maybe-blessmail): Don't cd ..; 3434 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
3403 configure has already set $(INSTALL) to the proper relative path. 3435 configure has already set $(INSTALL) to the proper relative path.
3404 3436
3405 1995-06-27 Francesco Potorti` (pot@cnuce.cnr.it) 3437 1995-06-27 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3406 3438
3407 * etags.c (plain_C_entries): new function. 3439 * etags.c (plain_C_entries): new function.
3408 (lowcase): new macro. 3440 (lowcase): new macro.
3409 (tail, Fortran_functions, Pascal_functions): use new macro lowcase. 3441 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3410 (lang_suffixes): new suffix ".pc" for Pro*C files. 3442 (lang_suffixes): new suffix ".pc" for Pro*C files.
3431 "po:" prefix. 3463 "po:" prefix.
3432 3464
3433 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3465 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3434 3466
3435 * emacsserver.c: Make all error messages start with `Error: '. 3467 * emacsserver.c: Make all error messages start with `Error: '.
3436 (fatal_error, perror_1): New functions, use throughout. 3468 (fatal_error, perror_1): New functions, use throughout.
3437 3469
3438 1995-06-28 Paul Eggert <eggert@twinsun.com> 3470 1995-06-28 Paul Eggert <eggert@twinsun.com>
3439 3471
3440 * rcs2log (CVSROOT, repository): 3472 * rcs2log (CVSROOT, repository):
3441 Allow remote repositories a la CVS 1.4. 3473 Allow remote repositories a la CVS 1.4.
3442 3474
3443 1995-06-27 Francesco Potorti` (pot@cnuce.cnr.it) 3475 1995-06-27 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3444 3476
3445 * etags.c (plain_C_entries): new function. 3477 * etags.c (plain_C_entries): new function.
3446 (lowcase): new macro. 3478 (lowcase): new macro.
3447 (tail, Fortran_functions, Pascal_functions): use new macro lowcase. 3479 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3448 (lang_suffixes): new suffix ".pc" for Pro*C files. 3480 (lang_suffixes): new suffix ".pc" for Pro*C files.
3456 3488
3457 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3489 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3458 3490
3459 * make-docfile.c (scan_file): Make sure it never looks at filename[-1]. 3491 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
3460 3492
3461 1995-06-21 Francesco Potorti` (pot@cnuce.cnr.it) 3493 1995-06-21 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3462 3494
3463 * etags.c (find_entries): Rewind before rereading the input file. 3495 * etags.c (find_entries): Rewind before rereading the input file.
3464 3496
3465 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3497 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3466 3498
3488 1995-06-04 Paul Eggert <eggert@twinsun.com> 3520 1995-06-04 Paul Eggert <eggert@twinsun.com>
3489 3521
3490 * rcs2log (output_authors): Allow ':' in time zone, 3522 * rcs2log (output_authors): Allow ':' in time zone,
3491 as per ISO 8601 and RCS 5.6.8 beta. 3523 as per ISO 8601 and RCS 5.6.8 beta.
3492 3524
3493 1995-05-29 Francesco Potorti` (pot@cnuce.cnr.it) 3525 1995-05-29 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3494 3526
3495 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise 3527 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
3496 compatibility problems. 3528 compatibility problems.
3497 3529
3498 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu> 3530 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
3511 (config.h,paths.h): Use $(CP) instead of cp. 3543 (config.h,paths.h): Use $(CP) instead of cp.
3512 (config.h): Use $(CONFIG_H) 3544 (config.h): Use $(CONFIG_H)
3513 (make-docfile.obj): Depend upon config.h. 3545 (make-docfile.obj): Depend upon config.h.
3514 Clean up comments. 3546 Clean up comments.
3515 3547
3516 1995-05-23 Francesco Potorti` (pot@cnuce.cnr.it) 3548 1995-05-23 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3517 3549
3518 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the 3550 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
3519 former gives the true path even in the presence of simlinks. 3551 former gives the true path even in the presence of simlinks.
3520 3552
3521 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3553 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3621 3653
3622 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available, 3654 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
3623 even if HAVE_SYSVIPC. 3655 even if HAVE_SYSVIPC.
3624 * emacsclient.c (main): Use getcwd if not BSD. 3656 * emacsclient.c (main): Use getcwd if not BSD.
3625 3657
3626 1995-03-13 Francesco Potorti` (pot@cnuce.cnr.it) 3658 1995-03-13 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3627 3659
3628 * etags.c (process_file): free (filename) after using it. 3660 * etags.c (process_file): free (filename) after using it.
3629 (readline_internal): Do not access the char before start of line. 3661 (readline_internal): Do not access the char before start of line.
3630 3662
3631 1995-02-22 Francesco Potorti` (pot@cnuce.cnr.it) 3663 1995-02-22 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3632 3664
3633 * etags.c (C_entries): token_saved removed. Initialise tok.valid and 3665 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
3634 savetok.valid. Mark token as valid when it is initialised. 3666 savetok.valid. Mark token as valid when it is initialised.
3635 (make_tag): Make token only if token is valid and reset validity. 3667 (make_tag): Make token only if token is valid and reset validity.
3636 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved. 3668 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
3637 (TOKEN): Added a new member: valid. 3669 (TOKEN): Added a new member: valid.
3638 3670
3639 1995-02-15 Francesco Potorti` (pot@cnuce.cnr.it) 3671 1995-02-15 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3640 3672
3641 * etags.c (C_entries): Bug corrected in xrealloc of token_str. 3673 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
3642 (main): Do not read twice the last filename in the stdin file list. 3674 (main): Do not read twice the last filename in the stdin file list.
3643 3675
3644 1995-02-14 Francesco Potorti` (pot@cnuce.cnr.it) 3676 1995-02-14 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3645 3677
3646 * etags.c (C_entries): Initialise the new members of TOKEN. 3678 * etags.c (C_entries): Initialise the new members of TOKEN.
3647 (C_entries): Do not allocate a new space for each token found by 3679 (C_entries): Do not allocate a new space for each token found by
3648 consider_token. Let make_tag do that instead. 3680 consider_token. Let make_tag do that instead.
3649 (make_tag): Since now TOKEN has memory of where it is taken from, 3681 (make_tag): Since now TOKEN has memory of where it is taken from,
3656 3688
3657 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu> 3689 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
3658 3690
3659 * Makefile.in.in (maintainer-clean): Renamed from realclean. 3691 * Makefile.in.in (maintainer-clean): Renamed from realclean.
3660 3692
3661 1995-02-01 Francesco Potorti` (pot@cnuce.cnr.it) 3693 1995-02-01 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3662 3694
3663 * etags.c (pfnote): Initialise been_warned in the node. 3695 * etags.c (pfnote): Initialise been_warned in the node.
3664 (C_entries): Removed a speed hack for the sake of clarity. 3696 (C_entries): Removed a speed hack for the sake of clarity.
3665 3697
3666 1995-01-18 Francesco Potorti` (pot@cnuce.cnr.it) 3698 1995-01-18 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3667 3699
3668 * etags.c (longopts, print_help, main): Use -I as abbreviation 3700 * etags.c (longopts, print_help, main): Use -I as abbreviation
3669 for the --ignore-indentation option. 3701 for the --ignore-indentation option.
3670 (main): Do not print an error message for unknown options. 3702 (main): Do not print an error message for unknown options.
3671 3703
3672 1995-01-12 Francesco Potorti` (pot@cnuce.cnr.it) 3704 1995-01-12 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3673 3705
3674 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted. 3706 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
3675 (append_to_tagfile, typedefs, typedefs_and_cplusplus, 3707 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
3676 constantypedefs, update, vgrind_style, no_warnings, 3708 constantypedefs, update, vgrind_style, no_warnings,
3677 cxref_style, cplusplus, noindentypedefs): Were int, now logical. 3709 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
3699 3731
3700 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3732 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3701 3733
3702 * movemail.c (main): Skip past the colon in inname. 3734 * movemail.c (main): Skip past the colon in inname.
3703 3735
3704 1995-01-10 Francesco Potorti` (pot@cnuce.cnr.it) 3736 1995-01-10 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3705 3737
3706 * etags.c (pfatal): New function. 3738 * etags.c (pfatal): New function.
3707 (main, etags_getcwd): Use pfatal. 3739 (main, etags_getcwd): Use pfatal.
3708 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version. 3740 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
3709 3741
3710 1995-01-10 Francesco Potorti` (pot@cnuce.cnr.it) 3742 1995-01-10 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3711 3743
3712 * etags.c (Lang_function): Use void instead to declare the 3744 * etags.c (Lang_function): Use void instead to declare the
3713 language functions, because many compilers are buggy. 3745 language functions, because many compilers are buggy.
3714 (etags_getcwd): Fix the previous fix on the #else branch. 3746 (etags_getcwd): Fix the previous fix on the #else branch.
3715 (readline_internal): Discard possible \r before \n here. 3747 (readline_internal): Discard possible \r before \n here.
3716 (C_entries): Do not deal with \r here: undo previous fix. 3748 (C_entries): Do not deal with \r here: undo previous fix.
3717 3749
3718 1995-01-09 Francesco Potorti` (pot@fly) 3750 1995-01-09 Francesco Potort,Al(B (pot@fly)
3719 3751
3720 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new 3752 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
3721 functions and a macro that allow the program to work on input 3753 functions and a macro that allow the program to work on input
3722 lines of whatever length. Copied from etags.c. 3754 lines of whatever length. Copied from etags.c.
3723 (fatal): Print a fatal error message and exit. 3755 (fatal): Print a fatal error message and exit.
3754 3786
3755 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3787 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3756 3788
3757 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction. 3789 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
3758 3790
3759 1994-11-22 Francesco Potorti` (pot@cnuce.cnr.it) 3791 1994-11-22 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3760 3792
3761 * etags.c (print_help): print --regex usage for ctags also. 3793 * etags.c (print_help): print --regex usage for ctags also.
3762 (main): use -h in addition to -H as abbreviation for --help. 3794 (main): use -h in addition to -H as abbreviation for --help.
3763 3795
3764 1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it) 3796 1994-11-16 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3765 3797
3766 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps 3798 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
3767 is compiled if this is defined. The new functions and variables 3799 is compiled if this is defined. The new functions and variables
3768 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog. 3800 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
3769 [VMS]: All VMS specific code previously contained in 3801 [VMS]: All VMS specific code previously contained in
3788 (find_entries): Use the new method for choosing the language. 3820 (find_entries): Use the new method for choosing the language.
3789 (Pascal_functions): Allow intermixing of comment styles. 3821 (Pascal_functions): Allow intermixing of comment styles.
3790 (prolog_getit, skip_comment): Rewritten for speed. 3822 (prolog_getit, skip_comment): Rewritten for speed.
3791 (readline): Rewritten to deal with regexps. 3823 (readline): Rewritten to deal with regexps.
3792 3824
3793 1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it) 3825 1994-11-16 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3794 3826
3795 * etags.c (<errno.h>): #include added. 3827 * etags.c (<errno.h>): #include added.
3796 (etags_getcwd): Check return value from getcwd. 3828 (etags_getcwd): Check return value from getcwd.
3797 3829
3798 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3830 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3820 3852
3821 * pop.c (getline): When determining whether or not it's necessary 3853 * pop.c (getline): When determining whether or not it's necessary
3822 to grow the input buffer, take into account the null that's stored 3854 to grow the input buffer, take into account the null that's stored
3823 at the end of already-read input in the buffer. 3855 at the end of already-read input in the buffer.
3824 3856
3825 1994-10-21 Francesco Potorti` (pot@cnuce.cnr.it) 3857 1994-10-21 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3826 3858
3827 * etags.c (prestr, substr): return a logical type. 3859 * etags.c (prestr, substr): return a logical type.
3828 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF". 3860 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
3829 (consider_token): set funcdef to fignore when a DEFUN is met. 3861 (consider_token): set funcdef to fignore when a DEFUN is met.
3830 (C_entries): Now we can use Tom Hageman patch for extern "C". 3862 (C_entries): Now we can use Tom Hageman patch for extern "C".
3843 * movemail.c: Don't declare malloc. 3875 * movemail.c: Don't declare malloc.
3844 3876
3845 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu> 3877 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3846 3878
3847 * rcs-checkin: Use test -r instead of < to check readability, to 3879 * rcs-checkin: Use test -r instead of < to check readability, to
3848 avoid syntax error. 3880 avoid syntax error.
3849 3881
3850 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com) 3882 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
3851 3883
3852 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is 3884 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
3853 defined, and if HAVE_CONFIG_H isn't defined, define 3885 defined, and if HAVE_CONFIG_H isn't defined, define
3905 3937
3906 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu> 3938 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
3907 3939
3908 * Makefile.in.in (regex.o): Use full path to find regex.c. 3940 * Makefile.in.in (regex.o): Use full path to find regex.c.
3909 3941
3910 1994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it) 3942 1994-10-17 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
3911 3943
3912 * Makefile.in.in (etags): add dependency on regex.o, link with it. 3944 * Makefile.in.in (etags): add dependency on regex.o, link with it.
3913 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added. 3945 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
3914 3946
3915 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu) 3947 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
3932 * Makefile.in.in (clean): rm DOC* and *.tab.[ch]. 3964 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
3933 (distclean): Not here. 3965 (distclean): Not here.
3934 3966
3935 * Makefile.in.in (libexecdir): Renamed from libdir. 3967 * Makefile.in.in (libexecdir): Renamed from libdir.
3936 3968
3937 1994-10-11 Francesco Potorti` (pot@cnuce.cnr.it) 3969 1994-10-11 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3938 3970
3939 * etags.c (C_entries): Name the #define's that are macros. 3971 * etags.c (C_entries): Name the #define's that are macros.
3940 3972
3941 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 3973 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3942 3974
3943 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros: 3975 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
3944 fd_set arg is a pointer, descriptor arg comes first. 3976 fd_set arg is a pointer, descriptor arg comes first.
3945 3977
3946 1994-09-29 Francesco Potorti` (pot@cnuce.cnr.it) 3978 1994-09-29 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3947 3979
3948 * etags.c (C_entries): Recognise typedef of ANSI style functions. 3980 * etags.c (C_entries): Recognise typedef of ANSI style functions.
3949 (C_entries): Recognise #define inside a struct. 3981 (C_entries): Recognise #define inside a struct.
3950 (C_entries): ANSI tells that preprocessor commands do not have to 3982 (C_entries): ANSI tells that preprocessor commands do not have to
3951 start on the first column. 3983 start on the first column.
4058 * Makefile.in.in (ALLOCA_CFLAGS): New variable. 4090 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
4059 (alloca.o): New target. 4091 (alloca.o): New target.
4060 4092
4061 1994-07-08 Dave Love (d.love@dl.ac.uk) 4093 1994-07-08 Dave Love (d.love@dl.ac.uk)
4062 4094
4063 * etags.c (takeprec): recognise `character*(*) function' 4095 * etags.c (takeprec): recognise `character*(*) function'
4064 4096
4065 1994-07-08 Francesco Potorti` (pot@cnuce.cnr.it) 4097 1994-07-08 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4066 4098
4067 * etags.c (main): Don't barf on obsolete -t and -T switches. 4099 * etags.c (main): Don't barf on obsolete -t and -T switches.
4068 (main): Print an explicative message when a switch is not known. 4100 (main): Print an explicative message when a switch is not known.
4069 4101
4070 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4102 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4071 4103
4072 * hexl.c: Don't declare exit or perror. 4104 * hexl.c: Don't declare exit or perror.
4073 4105
4076 4108
4077 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4109 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4078 4110
4079 * Makefile.in.in (test-distrib): Use ALL_CFLAGS. 4111 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
4080 4112
4081 1994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4113 1994-06-03 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
4082 4114
4083 * etags.c (absolute_filename): Remove infinite loop bug when 4115 * etags.c (absolute_filename): Remove infinite loop bug when
4084 accessing files in directories whose name begins with a dot. 4116 accessing files in directories whose name begins with a dot.
4085 4117
4086 1994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4118 1994-06-03 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
4087 4119
4088 * etags.c (etags_getcwd): Delete the trailing newline from cwd. 4120 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
4089 4121
4090 1994-06-01 Morten Welinder (terra@diku.dk) 4122 1994-06-01 Morten Welinder (terra@diku.dk)
4091 4123
4204 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4236 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4205 4237
4206 * fakemail.c (readline): When extending the buffer, 4238 * fakemail.c (readline): When extending the buffer,
4207 calculate end afresh using the new size. 4239 calculate end afresh using the new size.
4208 4240
4209 1994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4241 1994-04-18 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
4210 4242
4211 * etags.c (main, print_help): eliminate the -F option. 4243 * etags.c (main, print_help): eliminate the -F option.
4212 4244
4213 1994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4245 1994-04-18 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
4214 4246
4215 * etags.c (absolute_filename): compare against '\0' instead of NULL. 4247 * etags.c (absolute_filename): compare against '\0' instead of NULL.
4216 4248
4217 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4249 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4218 4250
4225 4257
4226 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4258 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4227 4259
4228 * movemail.c [HAVE_UNISTD_H]: Include unistd.h. 4260 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
4229 4261
4230 1994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4262 1994-04-12 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
4231 4263
4232 * etags.c (etags_getcwd): Initialize bufsize. 4264 * etags.c (etags_getcwd): Initialize bufsize.
4233 4265
4234 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4266 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4235 4267
4242 4274
4243 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4275 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4244 4276
4245 * etags.c: #undef static. 4277 * etags.c: #undef static.
4246 4278
4247 1994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4279 1994-04-08 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
4248 4280
4249 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir. 4281 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
4250 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs, 4282 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
4251 Scheme_funcs, prolog_funcs): renamed to Fortran_functions, 4283 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
4252 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions, 4284 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
4255 (C_entries): take 2nd parameter `inf' instead of using the global one. 4287 (C_entries): take 2nd parameter `inf' instead of using the global one.
4256 (find_entries): added the cp1 var for optimisation. 4288 (find_entries): added the cp1 var for optimisation.
4257 (find_entries): added more suffixes for assembler files. 4289 (find_entries): added more suffixes for assembler files.
4258 (Asm_funcs): Now finds labels even without an ending colon. 4290 (Asm_funcs): Now finds labels even without an ending colon.
4259 4291
4260 1994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4292 1994-03-30 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
4261 4293
4262 * etags.c (main): use etags_getcwd for compatibility. 4294 * etags.c (main): use etags_getcwd for compatibility.
4263 (etags_getcwd): new function. 4295 (etags_getcwd): new function.
4264 4296
4265 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4297 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4266 4298
4267 * Makefile.in (etags, ctags): Pass -D for VERSION. 4299 * Makefile.in (etags, ctags): Pass -D for VERSION.
4268 4300
4269 1994-03-25 Francesco Potorti` (pot@cnuce.cnr.it) 4301 1994-03-25 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4270 4302
4271 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead. 4303 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
4272 (main): don't allow the use of -t and -T in etags mode. 4304 (main): don't allow the use of -t and -T in etags mode.
4273 (print_help): don't show options enabled by default. 4305 (print_help): don't show options enabled by default.
4274 (print_version): show the emacs version number if VERSION is #defined. 4306 (print_version): show the emacs version number if VERSION is #defined.
4275 (find_entries): add "ss" as suffix for Chez Scheme. 4307 (find_entries): add "ss" as suffix for Chez Scheme.
4276 4308
4277 1994-03-23 Francesco Potorti` (pot@cnuce.cnr.it) 4309 1994-03-23 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4278 4310
4279 * etags.c (cwd, outfiledir): vars added. 4311 * etags.c (cwd, outfiledir): vars added.
4280 (relative_filename, absolute_filename, absolute_dirname): 4312 (relative_filename, absolute_filename, absolute_dirname):
4281 functions added to compute filenames in tags files. 4313 functions added to compute filenames in tags files.
4282 (process_file): filenames in tags file are relative to the 4314 (process_file): filenames in tags file are relative to the
4294 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4326 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4295 4327
4296 * Makefile.in (install, ${archlibdir}): Switch back to .. 4328 * Makefile.in (install, ${archlibdir}): Switch back to ..
4297 before running INSTALL_PROGRAM. 4329 before running INSTALL_PROGRAM.
4298 4330
4299 1994-03-14 Francesco Potorti` (pot@cnuce.cnr.it) 4331 1994-03-14 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4300 4332
4301 * etags.c (TYPEDST): added the `tignore' value. 4333 * etags.c (TYPEDST): added the `tignore' value.
4302 (C_entries): corrected various bugs, now correctly parses the 4334 (C_entries): corrected various bugs, now correctly parses the
4303 `extern "C" {' construction (patch by Tom R.Hageman). 4335 `extern "C" {' construction (patch by Tom R.Hageman).
4304 4336
4340 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu) 4372 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
4341 4373
4342 * profile.c (get_time): Simplify; avoid calling index. 4374 * profile.c (get_time): Simplify; avoid calling index.
4343 (main): exit on EOF. 4375 (main): exit on EOF.
4344 4376
4345 1994-02-17 Francesco Potorti` (pot@cnuce.cnr.it) 4377 1994-02-17 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4346 4378
4347 * etags.c (--absolute-pathnames): Option removed. 4379 * etags.c (--absolute-pathnames): Option removed.
4348 4380
4349 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4381 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4350 4382
4351 * fakemail.c (put_line): Don't break the line if it all fits. 4383 * fakemail.c (put_line): Don't break the line if it all fits.
4352 4384
4353 1994-02-14 Francesco Potorti` (pot@fly) 4385 1994-02-14 Francesco Potort,Al(B (pot@fly)
4354 4386
4355 * etags.c (absolute_pathnames, cwd): added global vars. 4387 * etags.c (absolute_pathnames, cwd): added global vars.
4356 (longopts, print_help, main, process_file): put absolute filenames 4388 (longopts, print_help, main, process_file): put absolute filenames
4357 in the tag file if the -A --absolute-pathnames option is used. 4389 in the tag file if the -A --absolute-pathnames option is used.
4358 (print_help): alfabetically order the options. 4390 (print_help): alfabetically order the options.
4380 Lisp docstrings do. 4412 Lisp docstrings do.
4381 (write_c_args): Take new arg FUNC. Make output 4413 (write_c_args): Take new arg FUNC. Make output
4382 look like lisp call prototypes: (function ARG1 ARG2), upcasing args. 4414 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
4383 (scan_c_file): Pass BUF to write_c_args for FUNC arg. 4415 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
4384 4416
4385 1994-01-14 Francesco Potorti` (pot@cnuce.cnr.it) 4417 1994-01-14 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4386 4418
4387 * etags.c (stab_entry, stab_create, stab_find, stab_search, 4419 * etags.c (stab_entry, stab_create, stab_find, stab_search,
4388 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted. 4420 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
4389 Use gperf generated hash table instead of linked list. 4421 Use gperf generated hash table instead of linked list.
4390 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added. 4422 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
4524 4556
4525 * Version 19.20 released. 4557 * Version 19.20 released.
4526 4558
4527 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl) 4559 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
4528 4560
4529 * etags.c: (C_entries): Keep track of ()-parenthesis level so that 4561 * etags.c (C_entries): Keep track of ()-parenthesis level so that
4530 functions returning a pointer to a function, a la `signal', can be 4562 functions returning a pointer to a function, a la `signal', can be
4531 parsed. This also required new state `fstartlist' to `FUNCST'. 4563 parsed. This also required new state `fstartlist' to `FUNCST'.
4532 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack. 4564 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
4533 (C_entries, CNL): use it to isolate preprocessor directive processing 4565 (C_entries, CNL): use it to isolate preprocessor directive processing
4534 from the other state engines. 4566 from the other state engines.
4535 (begtk): add '~', for C++ class destructors. 4567 (begtk): add '~', for C++ class destructors.
4536 4568
4537 1993-11-02 Francesco Potorti` (pot@cnuce.cnr.it) 4569 1993-11-02 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4538 4570
4539 * etags.c (consider_token): removed unused variable firsttok. 4571 * etags.c (consider_token): removed unused variable firsttok.
4540 (prolog_getit): call pfnote with the right number of arguments. 4572 (prolog_getit): call pfnote with the right number of arguments.
4541 4573
4542 1993-10-19 Paul Eggert (eggert@twinsun.com) 4574 1993-10-19 Paul Eggert (eggert@twinsun.com)
4552 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 4584 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4553 4585
4554 * Makefile.in: Fixed typos or brainos of whoever thought `@' was 4586 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
4555 the comment character. 4587 the comment character.
4556 4588
4557 1993-10-01 Francesco Potorti` (pot@cnuce.cnr.it) 4589 1993-10-01 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4558 4590
4559 * etags.c (process_file): dead code removed. 4591 * etags.c (process_file): dead code removed.
4560 (S_ISREG): #define it using S_IFREG if not defined. 4592 (S_ISREG): #define it using S_IFREG if not defined.
4561 (process_file): regular files have nothing to do with symlinks. 4593 (process_file): regular files have nothing to do with symlinks.
4562 4594
4583 4615
4584 * rcs2log: Add -h, -n, -r options. 4616 * rcs2log: Add -h, -n, -r options.
4585 By default, look for *,v files as well as RCS/*,v files. 4617 By default, look for *,v files as well as RCS/*,v files.
4586 Use $TMPDIR (default /tmp) instead of /tmp. 4618 Use $TMPDIR (default /tmp) instead of /tmp.
4587 4619
4588 1993-09-20 Francesco Potorti` (pot@fly) 4620 1993-09-20 Francesco Potort,Al(B (pot@fly)
4589 4621
4590 * etags.c (C_entries): is_func is initialised here instead of in 4622 * etags.c (C_entries): is_func is initialised here instead of in
4591 consider_token for the sake of the yacc rules section. 4623 consider_token for the sake of the yacc rules section.
4592 (C_entries): Now class, struct, enum, union and typedef produce 4624 (C_entries): Now class, struct, enum, union and typedef produce
4593 named tags. 4625 named tags.
4637 4669
4638 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4670 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4639 4671
4640 * Version 19.18 released. 4672 * Version 19.18 released.
4641 4673
4642 1993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu) 4674 1993-08-04 Francesco Potort,Al(B (pot@spiff.gnu.ai.mit.edu)
4643 4675
4644 * etags.c (L_isdef, L_isquote, L_getit): small optimisations. 4676 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
4645 (L_funcs): the (foo::defmumble stuff now should work. 4677 (L_funcs): the (foo::defmumble stuff now should work.
4646 (consider_token): function returned random value--corrected. 4678 (consider_token): function returned random value--corrected.
4647 (C_entries): corrected == versus = typo. 4679 (C_entries): corrected == versus = typo.
4653 4685
4654 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4686 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4655 4687
4656 * timer.c (main): Generate a SIGIO as soon as we've initialized. 4688 * timer.c (main): Generate a SIGIO as soon as we've initialized.
4657 4689
4658 1993-07-30 Francesco Potorti` (pot@cnuce.cnr.it) 4690 1993-07-30 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4659 4691
4660 * etags.c (FINCST): added the fignore status. Means we are 4692 * etags.c (FINCST): Added the fignore status. Means we are
4661 after the parameter list and before the open curly brace. 4693 after the parameter list and before the open curly brace.
4662 Allows correct parsing of C++ constructors. 4694 Allows correct parsing of C++ constructors.
4663 (C_entries, consider_token): make use of fignore. 4695 (C_entries, consider_token): make use of fignore.
4664 (consider_token): reset funcdef when next_token_is_func: when in 4696 (consider_token): reset funcdef when next_token_is_func: when in
4665 ctags mode makes DEFVAR and others work better. 4697 ctags mode makes DEFVAR and others work better.
4681 4713
4682 * Makefile.in (install): Use .n, not .new, for temporary filenames. 4714 * Makefile.in (install): Use .n, not .new, for temporary filenames.
4683 4715
4684 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4716 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4685 4717
4686 * Version 19.17 released. 4718 * Version 19.17 released.
4687 4719
4688 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu) 4720 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4689 4721
4690 * etags.c (print_help): Break up the very long strings containing 4722 * etags.c (print_help): Break up the very long strings containing
4691 the help message into shorter strings, to placate chintzy C 4723 the help message into shorter strings, to placate chintzy C
4692 compilers which can't handle strings that long. 4724 compilers which can't handle strings that long.
4693 4725
4694 * wakeup.c: Use CPP tangle from autoconf manual to #include the 4726 * wakeup.c: Use CPP tangle from autoconf manual to #include the
4695 correct combination of <time.h> and <sys/time.h>. 4727 correct combination of <time.h> and <sys/time.h>.
4696 4728
4697 1993-07-08 Francesco Potorti` (pot@cnuce.cnr.it) 4729 1993-07-08 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4698 4730
4699 * etags.c (alloca): removed all references to it. 4731 * etags.c (alloca): removed all references to it.
4700 (main): now calls xnew instead of alloca for portability. 4732 (main): now calls xnew instead of alloca for portability.
4701 (../src/config.h): included only if HAVE_CONFIG_H. 4733 (../src/config.h): included only if HAVE_CONFIG_H.
4702 (const): void definition removed--config.h takes care of it. 4734 (const): void definition removed--config.h takes care of it.
4703 4735
4704 1993-07-08 Francesco Potorti` (pot@cnuce.cnr.it) 4736 1993-07-08 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4705 4737
4706 * etags.c (consider_token): was `==', now is `='. 4738 * etags.c (consider_token): was `==', now is `='.
4707 (consider_token): DEFUNs now treated like funcs in ctags mode. 4739 (consider_token): DEFUNs now treated like funcs in ctags mode.
4708 4740
4709 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed. 4741 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
4746 4778
4747 * Version 19.14 released. 4779 * Version 19.14 released.
4748 4780
4749 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) 4781 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4750 4782
4751 Bring mumbleclean targets into conformance with GNU coding standards. 4783 Bring mumbleclean targets into conformance with GNU coding standards.
4752 * Makefile.in (distclean): Call clean to do most of the work. 4784 * Makefile.in (distclean): Call clean to do most of the work.
4753 Delete aixcc.c and TAGS. 4785 Delete aixcc.c and TAGS.
4754 (realclean): Just call distclean. 4786 (realclean): Just call distclean.
4755 4787
4756 * Makefile.in: Remember, spaces are not tabs. 4788 * Makefile.in: Remember, spaces are not tabs.
4803 4835
4804 * wakeup.c (main): Make when a time_t. 4836 * wakeup.c (main): Make when a time_t.
4805 4837
4806 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) 4838 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4807 4839
4808 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)' instead of 4840 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
4809 `(cd foo ; pwd)' to get the canonical name of a directory; cd 4841 `(cd foo ; pwd)' to get the canonical name of a directory; cd
4810 might fail, and have pwd print out the current directory. 4842 might fail, and have pwd print out the current directory.
4811 4843
4812 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable 4844 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
4813 string-handling functions. 4845 string-handling functions.
4889 4921
4890 * make-path.c (main): Return 0. 4922 * make-path.c (main): Return 0.
4891 4923
4892 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu) 4924 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4893 4925
4894 * Version 19.7 released. 4926 * Version 19.7 released.
4895 4927
4896 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4928 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4897 4929
4898 * make-docfile.c (scan_lisp_file): Recognize defalias like fset. 4930 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
4899 4931
4981 5013
4982 * Makefile.in (C_SWITCH_SYSTEM): New variable. 5014 * Makefile.in (C_SWITCH_SYSTEM): New variable.
4983 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the 5015 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
4984 compiler. 5016 compiler.
4985 5017
4986 1993-03-22 Francesco Potorti` (pot@cnuce.cnr.it) 5018 1993-03-22 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4987 5019
4988 * etags.c (YACC): flag added to c_ext. 5020 * etags.c (YACC): flag added to c_ext.
4989 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC. 5021 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
4990 (find_entries): consistently use streq when reasonable. 5022 (find_entries): consistently use streq when reasonable.
4991 (find_entries): a .y file is a yacc file. 5023 (find_entries): a .y file is a yacc file.
4992 (get_C_stab): c_ext becomes c_ext&C_PLPL. 5024 (get_C_stab): c_ext becomes c_ext&C_PLPL.
4993 (C_entries): logical cplpl means c_ext&C_PLPL. 5025 (C_entries): logical cplpl means c_ext&C_PLPL.
4994 (C_entries): logical yacc_rules means we are after the first %%. 5026 (C_entries): logical yacc_rules means we are after the first %%.
4995 (C_entries): added logic for yacc files. 5027 (C_entries): added logic for yacc files.
4996 5028
4997 1993-03-16 Francesco Potorti` (pot@cnuce.cnr.it) 5029 1993-03-16 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4998 5030
4999 * etags.c (C_entries): ':' case moved to the second switch. 5031 * etags.c (C_entries): ':' case moved to the second switch.
5000 (C_entries): do not examine token if structdef==scolonseen. 5032 (C_entries): do not examine token if structdef==scolonseen.
5001 (consider_token): structtag set to null string for enum. 5033 (consider_token): structtag set to null string for enum.
5002 5034
5003 1993-03-12 Francesco Potorti` (pot@cnuce.cnr.it) 5035 1993-03-12 Francesco Potort,Al(B (pot@cnuce.cnr.it)
5004 5036
5005 * etags.c (GET_COOKIE): and related macros removed. 5037 * etags.c (GET_COOKIE): and related macros removed.
5006 (logical): is now int, no more a char. 5038 (logical): is now int, no more a char.
5007 (reg): define deleted. 5039 (reg): define deleted.
5008 (isgood, _gd, notgd): deleted. 5040 (isgood, _gd, notgd): deleted.
5016 All C state machines rewritten. 5048 All C state machines rewritten.
5017 (C_entries): complete rewrite. 5049 (C_entries): complete rewrite.
5018 (condider_token): complete rewrite. 5050 (condider_token): complete rewrite.
5019 (getline): deleted. 5051 (getline): deleted.
5020 5052
5021 1993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT) 5053 1993-03-01 Francesco Potort,Al(B (pot@fly.CNUCE.CNR.IT)
5022 5054
5023 * etags.c (C_entries): Added the quotednl logical variable. 5055 * etags.c (C_entries): Added the quotednl logical variable.
5024 Used for parsing of #define's spanning multiple lines. 5056 Used for parsing of #define's spanning multiple lines.
5025 5057
5026 1993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT) 5058 1993-02-23 Francesco Potort,Al(B (pot@fly.CNUCE.CNR.IT)
5027 5059
5028 * etags.c (C_entries): Save the definedef status even when a 5060 * etags.c (C_entries): Save the definedef status even when a
5029 newline is met inside a string. 5061 newline is met inside a string.
5030 5062
5031 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) 5063 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
5032 5064
5033 * Makefile.in (EXECUTABLES): added rcs-checkin. 5065 * Makefile.in (EXECUTABLES): added rcs-checkin.
5034 5066
5035 * Makefile.in (unlock, relock): New productions. 5067 * Makefile.in (unlock, relock): New productions.
5036 5068
5037 1993-03-16 Paul Eggert (eggert@twinsun.com) 5069 1993-03-16 Paul Eggert (eggert@twinsun.com)
5038 5070
5052 5084
5053 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu) 5085 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5054 5086
5055 * b2m.c (main): Don't exit upon reading a blank line. 5087 * b2m.c (main): Don't exit upon reading a blank line.
5056 5088
5057 1993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT) 5089 1993-03-01 Francesco Potort,Al(B (pot@fly.CNUCE.CNR.IT)
5058 5090
5059 * etags.c (C_entries): New local variable quotednl. Used for 5091 * etags.c (C_entries): New local variable quotednl. Used for
5060 parsing of #define's spanning multiple lines. 5092 parsing of #define's spanning multiple lines.
5061 5093
5062 * etags.c (C_entries): Save the definedef status 5094 * etags.c (C_entries): Save the definedef status
5064 5096
5065 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu) 5097 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5066 5098
5067 * timer.c (notify): Initialize waitfor properly. 5099 * timer.c (notify): Initialize waitfor properly.
5068 5100
5069 1993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT) 5101 1993-02-22 Francesco Potort,Al(B (pot@CNUCE.CNR.IT)
5070 5102
5071 * etags.c (C_entries): Don't reset definedef when a newline inside a 5103 * etags.c (C_entries): Don't reset definedef when a newline inside a
5072 comment is met. 5104 comment is met.
5073 5105
5074 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) 5106 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5393 (TAGS, check): New targets. 5425 (TAGS, check): New targets.
5394 (INSTALL, INSTALLFLAGS): New variables. 5426 (INSTALL, INSTALLFLAGS): New variables.
5395 5427
5396 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu) 5428 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5397 5429
5398 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to 5430 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
5399 `config.emacs' to `configure'. 5431 `config.emacs' to `configure'.
5400 5432
5401 * lib-src/Makefile: Adjusted for renaming of share-lib to etc. 5433 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
5402 * etc/MACHINES: Same. 5434 * etc/MACHINES: Same.
5403 5435
5560 5592
5561 * emacsclient.c: Change usage message. 5593 * emacsclient.c: Change usage message.
5562 5594
5563 1990-08-30 David Lawrence (tale@pogo.ai.mit.edu) 5595 1990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
5564 5596
5565 * emacs.1: Add break before -nw option. 5597 * emacs.1: Add break before -nw option.
5566 5598
5567 1990-08-19 David J. MacKenzie (djm@apple-gunkies) 5599 1990-08-19 David J. MacKenzie (djm@apple-gunkies)
5568 5600
5569 * qsort.c: Replace with GNU version. 5601 * qsort.c: Replace with GNU version.
5570 5602
5767 Check that outfile is in a writable directory. 5799 Check that outfile is in a writable directory.
5768 On fatal error, delete the lock file. 5800 On fatal error, delete the lock file.
5769 5801
5770 1988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu) 5802 1988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
5771 5803
5772 * env.c: Add decl for my-index 5804 * env.c: Add decl for my-index
5773 * etags.c (file-entries): .oak => scheme 5805 * etags.c (file-entries): .oak => scheme
5774 5806
5775 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 5807 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5776 5808
5777 * movemail.c: Use `access' to check input and output files. 5809 * movemail.c: Use `access' to check input and output files.
5778 5810
5812 5844
5813 * movemail.c: Do fsync before closing output. 5845 * movemail.c: Do fsync before closing output.
5814 5846
5815 1988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu) 5847 1988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
5816 5848
5817 * movemail.c: Better error message when can't create tempname. 5849 * movemail.c: Better error message when can't create tempname.
5818 This file needs a great deal of extra error-checking and lucid reporting... 5850 This file needs a great deal of extra error-checking and lucid reporting...
5819 5851
5820 1988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 5852 1988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5821 5853
5822 * etags.c: Support assembler code for .s and .a files. 5854 * etags.c: Support assembler code for .s and .a files.
5823 (getit): Allow underscore in a tag. 5855 (getit): Allow underscore in a tag.