comparison lib-src/ChangeLog @ 90650:02cf29720f31

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 490-504) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 161-163) - Update from CVS - Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-130
author Miles Bader <miles@gnu.org>
date Tue, 07 Nov 2006 23:22:48 +0000
parents 8dd8c8286063 46eea1cb4780
children dbe3f29e61d6
comparison
equal deleted inserted replaced
90649:d53934e7ddef 90650:02cf29720f31
1 2006-11-07 Juanma Barranquero <lekktu@gmail.com>
2
3 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
4 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
5
6 * emacsclient.c (get_server_config): Extract also the Emacs pid
7 from the server file. On Windows, try to force the Emacs frame to
8 the foreground.
9
10 2006-11-06 Juanma Barranquero <lekktu@gmail.com>
11
12 * emacsclient.c (longopts) [! NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
13 option --socket-name.
14 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
15 command line options.
16 (decode_options) [! NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
17 (fail): Don't check for missing arguments, it is now done in set_socket.
18 (file_name_absolute_p): New function (loosely based on the one in
19 fileio.c).
20 (initialize_sockets): Don't check for duplicate loading of Winsock.
21 (get_server_config): Only try relative paths in the default
22 directory locations.
23 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
24 a remote server.
25 (set_socket): Call INITIALIZE(). Search explicit command-line
26 arguments, then environment variable EMACS_SERVER_FILE, then implicit
27 socket paths, before trying the alternate editor.
28 (main): Use file_name_absolute_p.
29
30 2006-11-04 Eli Zaretskii <eliz@gnu.org>
31
32 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
33 file if it doesn't already exist.
34
35 2006-11-03 Juanma Barranquero <lekktu@gmail.com>
36
37 * emacsclient.c (initialize_sockets): Don't initialize Winsock
38 more than once.
39
40 2006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
41
42 * Makefile.in (INSTALL_SCRIPT): New macro.
43 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
44
45 2006-11-02 Juanma Barranquero <lekktu@gmail.com>
46
47 * grep-changelog: When called with no arguments (not even a
48 filter), show help instead of blindingly dumping every single
49 ChangeLog available. Doc fix. Update version.
50
51 2006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
52
53 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
54 [!WINDOWSNT]: Include <netinet/in.h> if available.
55 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
56 (IOCTL, IOCTL_BOOL_ARG): Remove.
57 (set_tcp_socket): Don't set the socket in blocking mode.
58 Remove c_arg.
59
60 2006-11-01 Juanma Barranquero <lekktu@gmail.com>
61
62 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
63 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
64
65 2006-10-31 ,bS(Bscar Fuentes <ofv@wanadoo.es> (tiny change)
66
67 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
68 (close_winsock): Declare as __cdecl.
69
70 2006-10-31 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
71
72 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
73 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
74 to set the socket in non-blocking mode.
75
76 2006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
77
78 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
79 (INVALID_SOCKET): Define.
80 (initialize_sockets): Put #endif at the right place.
81 (set_local_socket): Use progname, not argv[0].
82
83 2006-10-31 Juanma Barranquero <lekktu@gmail.com>
84
85 * makefile.w32-in (ALL): Add emacsclient.
86 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
87 (emacsclient, $(BLD)/emacsclient.exe): New targets.
88 (install): Install emacsclient.
89
90 * emacsclient.c: Add support for TCP sockets.
91 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
92 (INITIALIZE): New macros.
93 (IOCTL_BOOL_ARG): New typedef.
94 (server_file): New global variable.
95 (longopts): New option --server-file.
96 (decode_options): Process new option --server-file and environment
97 variable EMACS_SERVER_FILE.
98 (print_help_and_exit): Document new option.
99 (fail): If no connection available and no alternate editor,
100 suggest using options to make them explicit.
101 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
102 (send_buffer, sblen): New variables.
103 (send_to_emacs): New function to buffer output and send it with
104 send().
105 (quote_file_name): Use SEND_STRING.
106 (close_winsock, initialize_sockets): New functions to load and
107 unload Winsock.
108 (get_server_config, set_tcp_socket): New functions to create and
109 set up TCP sockets.
110 (set_local_socket): New function to create and set up Unix
111 socket (code moved from previous implementation).
112 (set_socket): New function to chose between TCP and Unix sockets.
113 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
114 set_local_socket. Use set_socket. Get answers from server.el with
115 recv(), not file stream functions.
116
1 2006-10-09 Eli Zaretskii <eliz@gnu.org> 117 2006-10-09 Eli Zaretskii <eliz@gnu.org>
2 118
3 * makefile.w32-in (../src/config.h): Fix error message. 119 * makefile.w32-in (../src/config.h): Fix error message.
4 120
5 2006-09-30 Eli Zaretskii <eliz@gnu.org> 121 2006-09-30 Eli Zaretskii <eliz@gnu.org>
11 * COPYING: Replace "Library Public License" by "Lesser Public 127 * COPYING: Replace "Library Public License" by "Lesser Public
12 License" throughout. 128 License" throughout.
13 129
14 2006-08-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 130 2006-08-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
15 131
16 * etags.c (readline): expect sscanf returns >= 1. 132 * etags.c (readline): Expect sscanf returns >= 1.
17 (readline): Change position on %n and \" in sscanf. 133 (readline): Change position on %n and \" in sscanf.
18 134
19 2006-08-07 Masatake YAMATO <jet@gyve.org> 135 2006-08-07 Masatake YAMATO <jet@gyve.org>
20 136
21 * etags.c (readline): expect sscanf returns 2, 137 * etags.c (readline): Expect sscanf returns 2, not 1.
22 not 1. 138
23
24 2006-08-07 Masatake YAMATO <jet@gyve.org> 139 2006-08-07 Masatake YAMATO <jet@gyve.org>
25 140
26 * etags.c (TEX_mode): Check getc returns EOF. 141 * etags.c (TEX_mode): Check getc returns EOF.
27 File ended without newline causes infinite loop. 142 File ended without newline causes infinite loop.
28 143
29 2002-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change) 144 2002-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
30 145
31 * etags.c: It's XEmacs, not Xemacs: change all the occurences. 146 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
32 147
33 2006-07-30 Francesco Potort,Al(B <pot@gnu.org> 148 2006-07-30 Francesco Potort,Al(B <pot@gnu.org>
34 149
35 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined. 150 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
36 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined. 151 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
160 275
161 2005-12-22 Richard M. Stallman <rms@gnu.org> 276 2005-12-22 Richard M. Stallman <rms@gnu.org>
162 277
163 * Makefile.in (update-game-score.o): Delete spurious final `\'. 278 * Makefile.in (update-game-score.o): Delete spurious final `\'.
164 279
165 2005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change) 280 2005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
166 281
167 * etags.c (main): Cxref mode writes to stdout: do not close tagf, 282 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
168 which was never opened. 283 which was never opened.
169 284
170 2005-10-20 Olli Savia <ops@iki.fi> (tiny change) 285 2005-10-20 Olli Savia <ops@iki.fi> (tiny change)
197 Compile and link this progranm separately. 312 Compile and link this progranm separately.
198 (update-game-score${EXEEXT}): Use GETOPTDEPTS. 313 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
199 314
200 2005-09-11 Jason Rumney <jasonr@gnu.org> 315 2005-09-11 Jason Rumney <jasonr@gnu.org>
201 316
202 * makefile.w32-in (../src/config.h): Don't overwrite. Print a 317 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
203 message instead. 318 message instead.
204 (../src/paths.h): Removed. 319 (../src/paths.h): Removed.
205 320
206 2005-07-27 Juanma Barranquero <lekktu@gmail.com> 321 2005-07-27 Juanma Barranquero <lekktu@gmail.com>
207 322
333 (consider_token, C_entries): Numerous changes for making the 448 (consider_token, C_entries): Numerous changes for making the
334 parser more robust and adding support for __attribute__. 449 parser more robust and adding support for __attribute__.
335 450
336 2004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change) 451 2004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
337 452
338 * etags.c: (Lua_suffixes, Lua_help, lang_names, Lua_functions): 453 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
339 Support the Lua scripting language <http://www.lua.org>. 454 Support the Lua scripting language <http://www.lua.org>.
340 455
341 2004-09-08 Francesco Potort,Al(B <pot@gnu.org> 456 2004-09-08 Francesco Potort,Al(B <pot@gnu.org>
342 457
343 * etags.c: [LONG_OPTIONS]: make it TRUE (ifdef) or FALSE (ifndef) 458 * etags.c [LONG_OPTIONS]: make it TRUE (ifdef) or FALSE (ifndef)
344 for ease of use. 459 for ease of use.
345 460
346 2004-07-17 Richard M. Stallman <rms@gnu.org> 461 2004-07-17 Richard M. Stallman <rms@gnu.org>
347 462
348 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it. 463 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
700 2002-09-17 Stefan Monnier <monnier@cs.yale.edu> 815 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
701 816
702 * emacsclient.c (quote_file_name): Quote \n. 817 * emacsclient.c (quote_file_name): Quote \n.
703 (main): Print a final \n when needed. 818 (main): Print a final \n when needed.
704 819
705 2002-09-03 Francesco Potorti` <pot@gnu.org> 820 2002-09-03 Francesco Potort,Al(B <pot@gnu.org>
706 821
707 * etags.c (regex_tag_multiline, readline): Never pass pfnote a 822 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
708 string that cannot be freed. 823 string that cannot be freed.
709 824
710 2002-08-30 Francesco Potorti` <pot@gnu.org> 825 2002-08-30 Francesco Potort,Al(B <pot@gnu.org>
711 826
712 * etags.c (consider_token, C_entries): Switch to C++ parsing when 827 * etags.c (consider_token, C_entries): Switch to C++ parsing when
713 auto-detection is enabled and the `::' qualifier is met. 828 auto-detection is enabled and the `::' qualifier is met.
714 (consider_token, C_entries): Several bugs corrected that tagged 829 (consider_token, C_entries): Several bugs corrected that tagged
715 some declarations even though --declarations was not used. 830 some declarations even though --declarations was not used.
716 (plainc): New macro. 831 (plainc): New macro.
717 (C_entries): Use it. 832 (C_entries): Use it.
718 (C_entries): Several cosmetic changes. 833 (C_entries): Several cosmetic changes.
719 (C_entries): Invalidate the token is some cases. 834 (C_entries): Invalidate the token is some cases.
720 835
721 2002-08-29 Francesco Potorti` <pot@gnu.org> 836 2002-08-29 Francesco Potort,Al(B <pot@gnu.org>
722 837
723 * etags.c (C_entries): Correct a problem with const C++ funcs. 838 * etags.c (C_entries): Correct a problem with const C++ funcs.
724 (ignoreindent): Renamed from noindentypedefs. 839 (ignoreindent): Renamed from noindentypedefs.
725 (cjava, cplpl): They are now macros instead of local vars. 840 (cjava, cplpl): They are now macros instead of local vars.
726 841
727 2002-08-28 Francesco Potorti` <pot@gnu.org> 842 2002-08-28 Francesco Potort,Al(B <pot@gnu.org>
728 843
729 * etags.c (HTML_labels): Tag ID= also. 844 * etags.c (HTML_labels): Tag ID= also.
730 845
731 2002-08-27 Francesco Potorti` <pot@gnu.org> 846 2002-08-27 Francesco Potort,Al(B <pot@gnu.org>
732 847
733 * etags.c (Ada_funcs): Do not tag "use type Xxxx;". 848 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
734 849
735 * etags.c: (HTML_labels): New language HTML. 850 * etags.c (HTML_labels): New language HTML.
736 (etags_strcasecmp): Like BSD's, for compatibility. 851 (etags_strcasecmp): Like BSD's, for compatibility.
737 (strcaseeq): Make it into a macro. 852 (strcaseeq): Make it into a macro.
738 853
739 * etags.c (make_tag): Never generate null length tag names. 854 * etags.c (make_tag): Never generate null length tag names.
740 (linebuffer_init): Renamed from initbuffer. All callers changed. 855 (linebuffer_init): Renamed from initbuffer. All callers changed.
782 897
783 2002-06-26 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 898 2002-06-26 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
784 899
785 * b2m.pl: New file. 900 * b2m.pl: New file.
786 901
787 2002-06-21 Francesco Potorti` <pot@gnu.org> 902 2002-06-21 Francesco Potort,Al(B <pot@gnu.org>
788 903
789 * etags.c: (F_getit, Fortran_functions, Ada_getit, Asm_labels) 904 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
790 (Python_functions, PHP_functions, PHP_functions, PHP_functions) 905 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
791 (PHP_functions, PHP_functions, Cobol_paragraphs) 906 (PHP_functions, PHP_functions, Cobol_paragraphs)
792 (Makefile_targets, Postscript_functions, Texinfo_nodes) 907 (Makefile_targets, Postscript_functions, Texinfo_nodes)
793 (prolog_pr, erlang_func, erlang_attribute) 908 (prolog_pr, erlang_func, erlang_attribute)
794 (Perl_functions, Perl_functions, Pascal_functions) 909 (Perl_functions, Perl_functions, Pascal_functions)
795 (TeX_commands, get_tag): Use make_tag instead of pfnote. 910 (TeX_commands, get_tag): Use make_tag instead of pfnote.
796 (get_tag): Prototype changed, all callers changed. 911 (get_tag): Prototype changed, all callers changed.
797 912
798 2002-06-20 Francesco Potorti` <pot@gnu.org> 913 2002-06-20 Francesco Potort,Al(B <pot@gnu.org>
799 914
800 * etags.c: Implement implicit tag names, that is, unnamed tags 915 * etags.c: Implement implicit tag names, that is, unnamed tags
801 whose name is automatically deduced by etags.el. The advantage is 916 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 917 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 918 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. 919 accurate as with named tags. See the comment in make_tag for details.
805 (make_tag): New function (was the disabled function new_pfnote). 920 (make_tag): New function (was the disabled function new_pfnote).
806 (make_C_tag): Use it. 921 (make_C_tag): Use it.
807 922
808 2002-06-19 Francesco Potorti` <pot@gnu.org> 923 2002-06-19 Francesco Potort,Al(B <pot@gnu.org>
809 924
810 * etags.c (add_regex): Invalid regexp modifiers are ignored. 925 * etags.c (add_regex): Invalid regexp modifiers are ignored.
811 (Makefile_targets): Tag variables unless --no-globals. 926 (Makefile_targets): Tag variables unless --no-globals.
812 (LOOP_ON_INPUT_LINES): Serious bug corrected. 927 (LOOP_ON_INPUT_LINES): Serious bug corrected.
813 928
814 2002-06-13 Francesco Potorti` <pot@gnu.org> 929 2002-06-13 Francesco Potort,Al(B <pot@gnu.org>
815 930
816 * etags.c (erlang_atom, erlang_attribute): Bugs corrected. 931 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
817 (invalidate_nodes): Bug corrected. 932 (invalidate_nodes): Bug corrected.
818 (print_help): Better help for regexps. 933 (print_help): Better help for regexps.
819 934
820 2002-06-13 Juanma Barranquero <lektu@terra.es> 935 2002-06-13 Juanma Barranquero <lektu@terra.es>
821 936
822 * makefile.w32-in (lisp): Add international/ucs-tables.elc and 937 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
823 font-core.elc. 938 font-core.elc.
824 939
825 2002-06-12 Francesco Potorti` <pot@gnu.org> 940 2002-06-12 Francesco Potort,Al(B <pot@gnu.org>
826 941
827 * etags.c: New multi-line regexp and new regexp syntax. 942 * etags.c: New multi-line regexp and new regexp syntax.
828 (arg_type): at_icregexp label removed (obsolete). 943 (arg_type): at_icregexp label removed (obsolete).
829 (pattern): New member multi_line for multi-line regexps. 944 (pattern): New member multi_line for multi-line regexps.
830 (filebuf): A global buffer containing the whole file as a string 945 (filebuf): A global buffer containing the whole file as a string
842 (add_regex): Manage the regexp modifiers. 957 (add_regex): Manage the regexp modifiers.
843 (regex_tag_multiline): New function. Reads from filebuf. 958 (regex_tag_multiline): New function. Reads from filebuf.
844 (readline_internal): If necessary, copy the whole file into filebuf. 959 (readline_internal): If necessary, copy the whole file into filebuf.
845 (readline): Skip multi-line regexps, leave them to regex_tag_multiline. 960 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
846 961
847 2002-06-11 Francesco Potorti` <pot@gnu.org> 962 2002-06-11 Francesco Potort,Al(B <pot@gnu.org>
848 963
849 * etags.c (add_regex): Better check for null regexps. 964 * etags.c (add_regex): Better check for null regexps.
850 (readline): Check for regex matching null string. 965 (readline): Check for regex matching null string.
851 (find_entries): Reorganisation. 966 (find_entries): Reorganisation.
852 967
853 2002-06-07 Francesco Potorti` <pot@gnu.org> 968 2002-06-07 Francesco Potort,Al(B <pot@gnu.org>
854 969
855 * etags.c (scan_separators): Support all character escape 970 * etags.c (scan_separators): Support all character escape
856 sequences supported by Gcc. 971 sequences supported by Gcc.
857 (find_entries): Rewind unconditionally. 972 (find_entries): Rewind unconditionally.
858 (find_entries): Do not call language functions directly, now calls 973 (find_entries): Do not call language functions directly, now calls
863 (prolog_skip_comment): Do not do them here. 978 (prolog_skip_comment): Do not do them here.
864 (readline_internal): Increment lineno here. 979 (readline_internal): Increment lineno here.
865 (readline): Conditionally undo readline_internal increment. 980 (readline): Conditionally undo readline_internal increment.
866 (readline): Do not return a value. 981 (readline): Do not return a value.
867 982
868 2002-06-06 Francesco Potorti` <pot@gnu.org> 983 2002-06-06 Francesco Potort,Al(B <pot@gnu.org>
869 984
870 * etags.c: New option --parse-stdin=FILE. 985 * etags.c: New option --parse-stdin=FILE.
871 (enum arg_type): New label at_stdin. 986 (enum arg_type): New label at_stdin.
872 (STDIN): New constant. 987 (STDIN): New constant.
873 (parsing_stdin): New flag. 988 (parsing_stdin): New flag.
886 (TeX_commands): Names do not include numeric args #n. 1001 (TeX_commands): Names do not include numeric args #n.
887 (TeX_commands): Correct line char number in tags. 1002 (TeX_commands): Correct line char number in tags.
888 (TEX_tabent, TEX_token): Deleted. 1003 (TEX_tabent, TEX_token): Deleted.
889 (TeX_commands, TEX_decode_env): Streamlined. 1004 (TeX_commands, TEX_decode_env): Streamlined.
890 1005
891 2002-06-05 Francesco Potorti` <pot@gnu.org> 1006 2002-06-05 Francesco Potort,Al(B <pot@gnu.org>
892 1007
893 * etags.c (main): Avoid a buffer overrun with sprintf. 1008 * etags.c (main): Avoid a buffer overrun with sprintf.
894 1009
895 2002-05-30 Richard M. Stallman <rms@gnu.org> 1010 2002-05-30 Richard M. Stallman <rms@gnu.org>
896 1011
934 2002-04-23 Colin Walters <walters@verbum.org> 1049 2002-04-23 Colin Walters <walters@verbum.org>
935 1050
936 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing 1051 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
937 space. 1052 space.
938 1053
939 2002-04-22 Francesco Potorti` <pot@gnu.org> 1054 2002-04-22 Francesco Potort,Al(B <pot@gnu.org>
940 1055
941 * etags.c: (last_node): Make it a global variable. 1056 * etags.c (last_node): Make it a global variable.
942 (process_file): Print the tags from the nodes as soon as 1057 (process_file): Print the tags from the nodes as soon as
943 possible, and delete the nodes. This brings down the memory 1058 possible, and delete the nodes. This brings down the memory
944 occupancy as etags to almost the same level as when the #line 1059 occupancy as etags to almost the same level as when the #line
945 directives were not parsed. 1060 directives were not parsed.
946 (free_fdesc): New function. 1061 (free_fdesc): New function.
955 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il> 1070 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
956 1071
957 * update-game-score.c: Move config.h before the other headers, to 1072 * update-game-score.c: Move config.h before the other headers, to
958 avoid compiler warnings. 1073 avoid compiler warnings.
959 1074
960 2002-04-16 Francesco Potorti` <pot@gnu.org> 1075 2002-04-16 Francesco Potort,Al(B <pot@gnu.org>
961 1076
962 * etags.c (find_entries): Bug fix in list management. 1077 * etags.c (find_entries): Bug fix in list management.
963 1078
964 2002-04-15 Francesco Potorti` <pot@gnu.org> 1079 2002-04-15 Francesco Potort,Al(B <pot@gnu.org>
965 1080
966 * etags.c (get_language_from_filename): Add one argument. 1081 * etags.c (get_language_from_filename): Add one argument.
967 (strcaseeq): New function. 1082 (strcaseeq): New function.
968 (get_language_from_filename): Use it to do a case insenstitive 1083 (get_language_from_filename): Use it to do a case insenstitive
969 comparison if called with appropriate args. 1084 comparison if called with appropriate args.
970 (find_entries): Try with case insensitive match. 1085 (find_entries): Try with case insensitive match.
971 (process_file): Bug fixed. 1086 (process_file): Bug fixed.
972 1087
973 2002-04-13 Francesco Potorti` <pot@gnu.org> 1088 2002-04-13 Francesco Potort,Al(B <pot@gnu.org>
974 1089
975 * etags.c (find_entries): Delete tags previously obtained from 1090 * etags.c (find_entries): Delete tags previously obtained from
976 file xxx.c's #line directives when parsing file xxx.y. This is 1091 file xxx.c's #line directives when parsing file xxx.y. This is
977 generally done for automatically generated files containing 1092 generally done for automatically generated files containing
978 #line directives. This handles the case when xxx.y is tagged 1093 #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 1130 of getdelim to be of type size_t instead of int. Use 0 instead of
1016 ESUCCES. 1131 ESUCCES.
1017 1132
1018 2002-04-10 Colin Walters <walters@verbum.org> 1133 2002-04-10 Colin Walters <walters@verbum.org>
1019 1134
1020 * update-game-score.c: (toplevel): Include stdarg.h. 1135 * update-game-score.c (toplevel): Include stdarg.h.
1021 (MAX_DATA_LEN, MAX_SCORES): New. 1136 (MAX_DATA_LEN, MAX_SCORES): New.
1022 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined, 1137 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
1023 default to ~/.emacs.d/games. 1138 default to ~/.emacs.d/games.
1024 (get_user_id): Don't zero uid in the case where we can't get the 1139 (get_user_id): Don't zero uid in the case where we can't get the
1025 username. 1140 username.
1079 1194
1080 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of 1195 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1081 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows 1196 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1082 the latter usage. 1197 the latter usage.
1083 1198
1084 2002-03-12 Francesco Potorti` <pot@gnu.org> 1199 2002-03-12 Francesco Potort,Al(B <pot@gnu.org>
1085 1200
1086 * etags.c (Python_functions): Skip spaces at beginning of lines. 1201 * etags.c (Python_functions): Skip spaces at beginning of lines.
1087 (Python_functions, PHP_functions): Name tags, for ctags' sake. 1202 (Python_functions, PHP_functions): Name tags, for ctags' sake.
1088 (TeX_commands): Name tags. Correction of old disabled code. 1203 (TeX_commands): Name tags. Correction of old disabled code.
1089 1204
1094 2002-03-06 Jason Rumney <jasonr@gnu.org> 1209 2002-03-06 Jason Rumney <jasonr@gnu.org>
1095 1210
1096 * etags.c (put_entries): Use #if !CTAGS, to fix link error on 1211 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
1097 compilers that don't optimize out dead code. 1212 compilers that don't optimize out dead code.
1098 1213
1099 2002-03-05 Francesco Potorti` <pot@gnu.org> 1214 2002-03-05 Francesco Potort,Al(B <pot@gnu.org>
1100 1215
1101 * etags.c: Honour #line directives. 1216 * etags.c: Honour #line directives.
1102 (no_line_directive): New global var; set it for old behaviour. 1217 (no_line_directive): New global var; set it for old behaviour.
1103 (main): Remove some #ifdef in the getopt switch. 1218 (main): Remove some #ifdef in the getopt switch.
1104 (add_node, put_entries): Code added to merge different chunks of 1219 (add_node, put_entries): Code added to merge different chunks of
1163 2001-12-29 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 1278 2001-12-29 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
1164 1279
1165 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c, 1280 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
1166 * yow.c: Include <config.h>. 1281 * yow.c: Include <config.h>.
1167 1282
1168 2001-12-21 Francesco Potorti` <pot@gnu.org> 1283 2001-12-21 Francesco Potort,Al(B <pot@gnu.org>
1169 1284
1170 * etags.c (Perl_functions): Tag packages and use them in sub tags. 1285 * etags.c (Perl_functions): Tag packages and use them in sub tags.
1171 (get_tag): Return a pointer to the tag that is found. 1286 (get_tag): Return a pointer to the tag that is found.
1172 1287
1173 * etags.c (LOOKING_AT): Use !intoken instead of iswhite. 1288 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
1183 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions): 1298 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
1184 Clarified, using strneq or notinname. 1299 Clarified, using strneq or notinname.
1185 (L_isdef, L_isquote): Removed. 1300 (L_isdef, L_isquote): Removed.
1186 (Lisp_functions, L_getit): Clarified. 1301 (Lisp_functions, L_getit): Clarified.
1187 1302
1188 * etags.c: (P_): Renamed to __P for consistency with config.h. 1303 * etags.c (P_): Renamed to __P for consistency with config.h.
1189 [HAVE_CONFIG_H]: Let config.h deal with __P. 1304 [HAVE_CONFIG_H]: Let config.h deal with __P.
1190 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h. 1305 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
1191 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because 1306 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
1192 gperf code needs it. 1307 gperf code needs it.
1193 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs). 1308 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
1194 [HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs). 1309 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
1195 (xmalloc, xrealloc): Use PTR instead of long *. 1310 (xmalloc, xrealloc): Use PTR instead of long *.
1196 (bool): Make it a define, not a typedef, for C++ compilers. 1311 (bool): Make it a define, not a typedef, for C++ compilers.
1197 (pattern): Members renamed to avoid name clash in some C++ compilers. 1312 (pattern): Members renamed to avoid name clash in some C++ compilers.
1198 (get_language_from_langname): Use const argument. 1313 (get_language_from_langname): Use const argument.
1199 1314
1235 1350
1236 * yow.c: Conditionally include various headers. Use "epaths.h", 1351 * yow.c: Conditionally include various headers. Use "epaths.h",
1237 not <../src/epaths.h>. 1352 not <../src/epaths.h>.
1238 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype. 1353 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
1239 1354
1240 2001-12-12 Francesco Potorti` <pot@gnu.org> 1355 2001-12-12 Francesco Potort,Al(B <pot@gnu.org>
1241 1356
1242 * etags.c (PHP_functions): New function for parsing PHP. 1357 * etags.c (PHP_functions): New function for parsing PHP.
1243 (LOOKING_AT): New macro. 1358 (LOOKING_AT): New macro.
1244 (Perl_functions, Python_functions, PHP_functions) 1359 (Perl_functions, Python_functions, PHP_functions)
1245 (Scheme_functions, Texinfo_nodes): Use it. 1360 (Scheme_functions, Texinfo_nodes): Use it.
1470 2001-07-16 Gerd Moellmann <gerd@gnu.org> 1585 2001-07-16 Gerd Moellmann <gerd@gnu.org>
1471 1586
1472 * ebrowse.c (main): Check that the output file exists and 1587 * ebrowse.c (main): Check that the output file exists and
1473 is non-empty if invoked with `--append'. 1588 is non-empty if invoked with `--append'.
1474 1589
1475 2001-05-14 Francesco Potorti` <pot@gnu.org> 1590 2001-05-14 Francesco Potort,Al(B <pot@gnu.org>
1476 1591
1477 * etags.c (add_regex): Reset the whole newly allocated pattern 1592 * etags.c (add_regex): Reset the whole newly allocated pattern
1478 buffer instead of the individual members. It's safer and works 1593 buffer instead of the individual members. It's safer and works
1479 with Xemacs. 1594 with XEmacs.
1480 1595
1481 * etags.1: Markups corrected. 1596 * etags.1: Markups corrected.
1482 1597
1483 2001-05-08 Gerd Moellmann <gerd@gnu.org> 1598 2001-05-08 Gerd Moellmann <gerd@gnu.org>
1484 1599
1512 1627
1513 2001-02-24 Andrew Innes <andrewi@gnu.org> 1628 2001-02-24 Andrew Innes <andrewi@gnu.org>
1514 1629
1515 * makefile.w32-in: Fix copyright notice. 1630 * makefile.w32-in: Fix copyright notice.
1516 1631
1517 2001-02-23 Francesco Potorti` <pot@gnu.org> 1632 2001-02-23 Francesco Potort,Al(B <pot@gnu.org>
1518 1633
1519 * etags.c (enum sym_type): New label st_C_template. 1634 * etags.c (enum sym_type): New label st_C_template.
1520 (gperf input): Use it for switching to C++ from C. 1635 (gperf input): Use it for switching to C++ from C.
1521 (consider_token): Do it. 1636 (consider_token): Do it.
1522 (C_entries): Initialise typdefcblev to quiet compilers. 1637 (C_entries): Initialise typdefcblev to quiet compilers.
1539 1654
1540 2001-01-31 Dave Love <fx@gnu.org> 1655 2001-01-31 Dave Love <fx@gnu.org>
1541 1656
1542 * etags.c (in_word_set): Use `static' in definition (for pcc). 1657 * etags.c (in_word_set): Use `static' in definition (for pcc).
1543 1658
1544 2001-01-31 Francesco Potorti` <pot@gnu.org> 1659 2001-01-31 Francesco Potort,Al(B <pot@gnu.org>
1545 1660
1546 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for 1661 * 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). 1662 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 1663 (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 1664 pcc wants to expand it as the token() macro even though it has no
1550 arguments. 1665 arguments.
1551 1666
1552 2001-01-30 Andrew Innes <andrewi@gnu.org> 1667 2001-01-30 Andrew Innes <andrewi@gnu.org>
1553 1668
1554 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a 1669 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
1555 bug in the Mingw32 assert.h header file. 1670 bug in the Mingw32 assert.h header file.
1556 1671
1557 2001-01-30 Francesco Potorti` <pot@gnu.org> 1672 2001-01-30 Francesco Potort,Al(B <pot@gnu.org>
1558 1673
1559 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and 1674 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
1560 #define it for the sake of Xemacs. 1675 #define it for the sake of XEmacs.
1561 [WINDOWSNT]: #undef HAVE_NTGUI even if built without 1676 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
1562 HAVE_CONFIG_H. This change only affects a standalone etags. 1677 HAVE_CONFIG_H. This change only affects a standalone etags.
1563 [WINDOWSNT]: #undef DOS_NT and #define it even if built with 1678 [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 1679 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. 1680 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
1566 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare 1681 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
1567 WINDOWSNT, as this is the correct way to use it. 1682 WINDOWSNT, as this is the correct way to use it.
1568 1683
1569 2001-01-28 Francesco Potorti` <pot@gnu.org> 1684 2001-01-28 Francesco Potort,Al(B <pot@gnu.org>
1570 1685
1571 * etags.c: Be capable to parse nested struct-like structures. 1686 * etags.c: Be capable to parse nested struct-like structures.
1572 (structdef, structtag): Struct state machine revisited. 1687 (structdef, structtag): Struct state machine revisited.
1573 (struct tok): Revisited. 1688 (struct tok): Revisited.
1574 (cstack, nestlev, instruct): New struct and macros. 1689 (cstack, nestlev, instruct): New struct and macros.
1598 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf): 1713 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
1599 New variables. 1714 New variables.
1600 (matching_regexp): Use them instead of static variables in 1715 (matching_regexp): Use them instead of static variables in
1601 function scope. 1716 function scope.
1602 1717
1603 2001-01-25 Francesco Potorti` <pot@gnu.org> 1718 2001-01-25 Francesco Potort,Al(B <pot@gnu.org>
1604 1719
1605 * etags.c (struct tok): Renamed from struct token. 1720 * etags.c (struct tok): Renamed from struct token.
1606 (token): Renamed from tok. 1721 (token): Renamed from tok.
1607 (structtype): Make it a local variable. 1722 (structtype): Make it a local variable.
1608 [DEBUG]: Use assert. 1723 [DEBUG]: Use assert.
1627 2001-01-22 Gerd Moellmann <gerd@gnu.org> 1742 2001-01-22 Gerd Moellmann <gerd@gnu.org>
1628 1743
1629 * ebrowse.c (xfree): New function. 1744 * ebrowse.c (xfree): New function.
1630 (member, declaration, globals): Use xmalloc instead of alloca. 1745 (member, declaration, globals): Use xmalloc instead of alloca.
1631 1746
1632 2001-01-15 Francesco Potorti` <pot@gnu.org> 1747 2001-01-15 Francesco Potort,Al(B <pot@gnu.org>
1633 1748
1634 * etags.c (print_language_names): Print filenames in addition to 1749 * etags.c (print_language_names): Print filenames in addition to
1635 suffixes. 1750 suffixes.
1636 1751
1637 2001-01-14 Francesco Potorti` <pot@gnu.org> 1752 2001-01-14 Francesco Potort,Al(B <pot@gnu.org>
1638 1753
1639 * etags.c (get_language_from_langname): Renamed from 1754 * etags.c (get_language_from_langname): Renamed from
1640 get_language_from_name. 1755 get_language_from_name.
1641 (get_language_from_filename): Renamed from get_language_from_suffix. 1756 (get_language_from_filename): Renamed from get_language_from_suffix.
1642 Now first looks for the complete file name. 1757 Now first looks for the complete file name.
1871 1986
1872 2000-03-02 Gerd Moellmann <gerd@gnu.org> 1987 2000-03-02 Gerd Moellmann <gerd@gnu.org>
1873 1988
1874 * etags.c (lisp_suffixes) Add `LSP'. 1989 * etags.c (lisp_suffixes) Add `LSP'.
1875 1990
1876 2000-02-10 Francesco Potorti` <pot@gnu.org> 1991 2000-02-10 Francesco Potort,Al(B <pot@gnu.org>
1877 1992
1878 * etags.c (iswhite): Redefine not to consider '\0' as white 1993 * etags.c (iswhite): Redefine not to consider '\0' as white
1879 space, and use it throughout in place of isspace, thus preventing a 1994 space, and use it throughout in place of isspace, thus preventing a
1880 potential signed char to int conversion problem. 1995 potential signed char to int conversion problem.
1881 (MSDOS): #undefine befere redefining 1996 (MSDOS): #undefine befere redefining
1882 1997
1883 2000-02-04 Francesco Potorti` <pot@gnu.org> 1998 2000-02-04 Francesco Potort,Al(B <pot@gnu.org>
1884 1999
1885 * etags.c (many functions): Add prototypes. 2000 * etags.c (many functions): Add prototypes.
1886 2001
1887 2000-02-10 Dave Love <fx@gnu.org> 2002 2000-02-10 Dave Love <fx@gnu.org>
1888 2003
1889 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred) 2004 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
1890 (erlang_func): Add `static' to definitions to keep pcc happy. 2005 (erlang_func): Add `static' to definitions to keep pcc happy.
1891 2006
1892 2000-01-31 Francesco Potorti` <pot@gnu.org> 2007 2000-01-31 Francesco Potort,Al(B <pot@gnu.org>
1893 2008
1894 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise. 2009 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
1895 (get_compressor_from_suffix, process_file): Use MSDOS in if clause. 2010 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
1896 (etags_strchr, etags_strrchr): Use const char * and int as arguments. 2011 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
1897 (getenv, getcwd): Only declare them if necessary. 2012 (getenv, getcwd): Only declare them if necessary.
1926 1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us> 2041 1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
1927 2042
1928 * movemail.c (popmail): Allow mailbox specifications of the 2043 * movemail.c (popmail): Allow mailbox specifications of the
1929 form `po:username:hostname'. 2044 form `po:username:hostname'.
1930 2045
1931 1999-11-19 Francesco Potorti` <pot@gnu.org> 2046 1999-11-19 Francesco Potort,Al(B <pot@gnu.org>
1932 2047
1933 * etags.c (_GNU_SOURCE): Define only if undefined. 2048 * etags.c (_GNU_SOURCE): Define only if undefined.
1934 (get_scheme): Declaration deleted. 2049 (get_scheme): Declaration deleted.
1935 (main): Error was called with an integer as second arg, instead of 2050 (main): Error was called with an integer as second arg, instead of
1936 a char pointer. 2051 a char pointer.
1947 2062
1948 1999-11-03 Gerd Moellmann <gerd@gnu.org> 2063 1999-11-03 Gerd Moellmann <gerd@gnu.org>
1949 2064
1950 * etags.c (print_help): Change email address to send bugs to. 2065 * etags.c (print_help): Change email address to send bugs to.
1951 2066
1952 1999-11-01 Francesco Potorti` <pot@gnu.org>> 2067 1999-11-01 Francesco Potort,Al(B <pot@gnu.org>>
1953 2068
1954 * etags.c: Add suffix psw for PSWrap. 2069 * etags.c: Add suffix psw for PSWrap.
1955 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)". 2070 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
1956 (Postscript_functions): Add code for PSWrap. 2071 (Postscript_functions): Add code for PSWrap.
1957 (Scheme_functions): Use local pointer and new get_tag function. 2072 (Scheme_functions): Use local pointer and new get_tag function.
2001 non-zero, returns a pointer to where the extension begins; callers 2116 non-zero, returns a pointer to where the extension begins; callers
2002 changed. 2117 changed.
2003 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it 2118 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
2004 were foo.c.gz. 2119 were foo.c.gz.
2005 2120
2006 1999-11-01 Francesco Potorti` <pot@gnu.org> 2121 1999-11-01 Francesco Potort,Al(B <pot@gnu.org>
2007 2122
2008 * etags.c (sym_type, C_stab_entry): New constant st_C_operator. 2123 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
2009 (fvdev): New constant foperator. 2124 (fvdev): New constant foperator.
2010 (consider_token): Use it to get "operator" in C++. 2125 (consider_token): Use it to get "operator" in C++.
2011 (C_entries): Extend length of operator@ function name. 2126 (C_entries): Extend length of operator@ function name.
2035 (lc_trans): New global. 2150 (lc_trans): New global.
2036 (main): Fill lc_trans. Process -c args. 2151 (main): Fill lc_trans. Process -c args.
2037 (add_regex): New arg determining whether to use translation table. 2152 (add_regex): New arg determining whether to use translation table.
2038 (analyse_regex): New arg. Use it for add_regex. 2153 (analyse_regex): New arg. Use it for add_regex.
2039 2154
2040 1999-11-01 Francesco Potorti` <pot@gnu.org> 2155 1999-11-01 Francesco Potort,Al(B <pot@gnu.org>
2041 2156
2042 * etags.c (init): Cosmetic change: NULL --> '\0'. 2157 * etags.c (init): Cosmetic change: NULL --> '\0'.
2043 (erlang_attribute): Bug corrected (uninitialized variable). 2158 (erlang_attribute): Bug corrected (uninitialized variable).
2044 (filename_is_absolute): New function replaces absolutefn macro and 2159 (filename_is_absolute): New function replaces absolutefn macro and
2045 corrects a bug. All callers changed. 2160 corrects a bug. All callers changed.
2071 (free_patterns): New function called from main and add_regex. 2186 (free_patterns): New function called from main and add_regex.
2072 (initbuffer, readline_internal, readline, grow_linebuffer): 2187 (initbuffer, readline_internal, readline, grow_linebuffer):
2073 Change name of local vars to avoid clashes with typedef linebuffer. 2188 Change name of local vars to avoid clashes with typedef linebuffer.
2074 (readline): Rewritten for new functionality. 2189 (readline): Rewritten for new functionality.
2075 2190
2076 * etags.c: (Scheme_suffixes): New suffix ".ss". 2191 * etags.c (Scheme_suffixes): New suffix ".ss".
2077 (print_help): --globals is now used for more than C-type languages. 2192 (print_help): --globals is now used for more than C-type languages.
2078 (Perl_functions): Tag global variables ("my" and "local"). 2193 (Perl_functions): Tag global variables ("my" and "local").
2079 2194
2080 * etags.c (print_help): Some messages clarified. 2195 * etags.c (print_help): Some messages clarified.
2081 (LOOP_ON_INPUT_LINES): New macro. 2196 (LOOP_ON_INPUT_LINES): New macro.
2099 2214
2100 * etags.c (CHAR, init): Keep into account non US-ASCII 2215 * etags.c (CHAR, init): Keep into account non US-ASCII
2101 characters and compilers with default signed chars. 2216 characters and compilers with default signed chars.
2102 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar 2217 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
2103 constructs. 2218 constructs.
2104 2219 (C_stab_entry): "interface" in Java behaves like "class".
2105 * (C_stab_entry): "interface" in Java behaves like "class". 2220
2106 2221 * 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. 2222 (main): Put interval syntax here.
2109 (add_regex): And remove it from here. 2223 (add_regex): And remove it from here.
2110 2224
2111 * etags.c (suggest_asking_for_help): Provide a 2225 * etags.c (suggest_asking_for_help): Provide a
2112 meaningful help message with and without LONG_OPTIONS. 2226 meaningful help message with and without LONG_OPTIONS.
2459 * pop.c (fullwrite): Get rid of an extra call to write. Problem 2573 * pop.c (fullwrite): Get rid of an extra call to write. Problem
2460 pointed out by Chiaki Ishikawa. 2574 pointed out by Chiaki Ishikawa.
2461 2575
2462 1997-10-16 Dave Love <d.love@dl.ac.uk> 2576 1997-10-16 Dave Love <d.love@dl.ac.uk>
2463 2577
2464 * etags.c (L_getit): Always make named tags so that Emacs 2578 * etags.c (L_getit): Always make named tags so that Emacs
2465 completion on symbols containing `:' etc. works. 2579 completion on symbols containing `:' etc. works.
2466 (get_scheme): Likewise. 2580 (get_scheme): Likewise.
2467 2581
2468 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us> 2582 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2469 2583
2470 * pop.c: Use system header files instead of declaring C-library 2584 * pop.c: Use system header files instead of declaring C-library
2471 functions explicitly. 2585 functions explicitly.
2521 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives. 2635 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
2522 2636
2523 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us> 2637 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2524 2638
2525 * pop.c: Support auto-configuration of both Kerberos V4 and 2639 * pop.c: Support auto-configuration of both Kerberos V4 and
2526 Kerberos V5 for movemail, including detection of V4 and V5 header 2640 Kerberos V5 for movemail, including detection of V4 and V5 header
2527 files and libraries. 2641 files and libraries.
2528 Include <string.h> when STDC_HEADERS is defined, to get 2642 Include <string.h> when STDC_HEADERS is defined, to get
2529 declarations of string functions. 2643 declarations of string functions.
2530 [KERBEROS5] (socket_connection): Support the current MIT Kerberos 2644 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
2531 V5 API rather than the old one. 2645 V5 API rather than the old one.
2532 [KERBEROS] (socket_connection): Change a constant name from 2646 [KERBEROS] (socket_connection): Change a constant name from
2533 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict 2647 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
2534 with a constant in a header file. 2648 with a constant in a header file.
2535 2649
2536 * Makefile.in: Support auto-configuration of both Kerberos V4 and 2650 * Makefile.in: Support auto-configuration of both Kerberos V4 and
2537 Kerberos V5 for movemail, including detection of V4 and V5 header 2651 Kerberos V5 for movemail, including detection of V4 and V5 header
2538 files and libraries. 2652 files and libraries.
2539 2653
2540 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 2654 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2541 2655
2542 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h. 2656 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
2543 2657
2570 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu> 2684 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
2571 2685
2572 * b2m.c (readline): Terminate buffer properly when EOF seen. 2686 * b2m.c (readline): Terminate buffer properly when EOF seen.
2573 Test for valid pointer before dereferencing it. 2687 Test for valid pointer before dereferencing it.
2574 2688
2575 1997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2689 1997-05-30 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2576 2690
2577 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is 2691 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
2578 defined inside etags.c if HAVE_CONFIG_H is defined. 2692 defined inside etags.c if HAVE_CONFIG_H is defined.
2579 2693
2580 1997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2694 1997-05-29 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2581 2695
2582 * etags.c: (logical): Type name changed to bool. 2696 * etags.c (logical): Type name changed to bool.
2583 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them. 2697 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
2584 (<getopt.h>) [LONG_OPTIONS]: Include conditionally. 2698 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
2585 (getopt_long) [!LONG_OPTIONS]: Redefine as macro. 2699 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
2586 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS. 2700 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
2587 (longopts): New long options without short counterpart are 2701 (longopts): New long options without short counterpart are
2588 globals, members, no-globals, no-members. Regexp options are now 2702 globals, members, no-globals, no-members. Regexp options are now
2589 defined conditionally to ETAGS_REGEXPS. 2703 defined conditionally to ETAGS_REGEXPS.
2590 (print_help): Updated. 2704 (print_help): Updated.
2591 2705
2592 1997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2706 1997-05-22 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2593 2707
2594 * etags.c (C_entries): Use "." instead of "::" for Java. 2708 * etags.c (C_entries): Use "." instead of "::" for Java.
2595 (consider_token): is_func renamed to is_func_or_var. 2709 (consider_token): is_func renamed to is_func_or_var.
2596 (C_entries): is_func renamed to funorvar. 2710 (C_entries): is_func renamed to funorvar.
2597 (C_entries): Initialise tok.named. 2711 (C_entries): Initialise tok.named.
2602 (C_entries): Make separate tags for variables separated by comma. 2716 (C_entries): Make separate tags for variables separated by comma.
2603 (globals, members): New flags. 2717 (globals, members): New flags.
2604 (main, C_entries): Use them. 2718 (main, C_entries): Use them.
2605 (make_C_tag, C_entries): Make tok a global variable. 2719 (make_C_tag, C_entries): Make tok a global variable.
2606 2720
2607 1997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2721 1997-05-16 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2608 2722
2609 * etags.c (funcdef): New vignore constant. 2723 * etags.c (funcdef): New vignore constant.
2610 (consider_token, C_entries): Use it to tag global variables. 2724 (consider_token, C_entries): Use it to tag global variables.
2611 (print_help): Update for global variables. 2725 (print_help): Update for global variables.
2612 (consider_token, C_entries): Set the len member of token_name. 2726 (consider_token, C_entries): Set the len member of token_name.
2613 (prolog_pred): Cleanup according to GNU coding standards. 2727 (prolog_pred): Cleanup according to GNU coding standards.
2614 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support. 2728 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
2615 (prolog_white, erlang_white): Renamed to eat_white, callers changed. 2729 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
2616 2730
2617 1997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2731 1997-05-15 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2618 2732
2619 * etags.c (CHARS, CHAR): New constant and macro. 2733 * etags.c (CHARS, CHAR): New constant and macro.
2620 (iswhite, begtoken, intoken, endtoken): Use them. 2734 (iswhite, begtoken, intoken, endtoken): Use them.
2621 (notinname, _nin, nonam): New macro, array, string. 2735 (notinname, _nin, nonam): New macro, array, string.
2622 (init): Cleanup and init _nin. 2736 (init): Cleanup and init _nin.
2623 (new_pfnote): New function. 2737 (new_pfnote): New function.
2624 (make_C_tag) [traditional_tag_style]: Use it. 2738 (make_C_tag) [traditional_tag_style]: Use it.
2625 (traditional_tag_style): Costant set to TRUE for now. 2739 (traditional_tag_style): Costant set to TRUE for now.
2626 2740
2627 1997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2741 1997-05-14 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2628 2742
2629 * etags.c (C_entries, Pascal_functions): Cleanup. 2743 * etags.c (C_entries, Pascal_functions): Cleanup.
2630 (TeX_functions): NULL as a function arg needs a cast. 2744 (TeX_functions): NULL as a function arg needs a cast.
2631 (Erlang_functions, erlang_func, erlang_attribute): Cleanup. 2745 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
2632 2746
2633 1997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2747 1997-05-13 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2634 2748
2635 * etags.c (TeX_functions): Cleaned up. 2749 * etags.c (TeX_functions): Cleaned up.
2636 (tex_getit): Removed. 2750 (tex_getit): Removed.
2637 2751
2638 1997-05-13 Paul Eggert <eggert@twinsun.com> 2752 1997-05-13 Paul Eggert <eggert@twinsun.com>
2639 2753
2640 * rcs2log (files): When computing arguments automatically, ignore 2754 * rcs2log (files): When computing arguments automatically, ignore
2641 non-files within the RCS subdirectory. 2755 non-files within the RCS subdirectory.
2642 2756
2643 1997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2757 1997-05-13 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2644 2758
2645 * etags.c (C_JAVA): New #define. 2759 * etags.c (C_JAVA): New #define.
2646 (Cjava_suffixes): .java is Java. 2760 (Cjava_suffixes): .java is Java.
2647 (Cjava_entries): New function. 2761 (Cjava_entries): New function.
2648 (lang_names): Add Java. 2762 (lang_names): Add Java.
2649 (sym_type): Add st_C_javastruct for Java. 2763 (sym_type): Add st_C_javastruct for Java.
2650 (C_stab_entry): Add `extends' and `implements' keywords. 2764 (C_stab_entry): Add `extends' and `implements' keywords.
2651 (consider_token, C_entries): Recognise Java structures. 2765 (consider_token, C_entries): Recognise Java structures.
2652 2766
2653 1997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2767 1997-05-12 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2654 2768
2655 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax. 2769 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
2656 (Postscript_suffixes): .ps is Postscript. 2770 (Postscript_suffixes): .ps is Postscript.
2657 (lang_names): Add Postscript. 2771 (lang_names): Add Postscript.
2658 (Postscript_functions): New function. 2772 (Postscript_functions): New function.
2659 (TEX_decode_env): Close minor memory leak. 2773 (TEX_decode_env): Close minor memory leak.
2660 (just_read_file): Correct the char number of the tag. 2774 (just_read_file): Correct the char number of the tag.
2661 2775
2662 1997-05-11 Paul Eggert <eggert@twinsun.com> 2776 1997-05-11 Paul Eggert <eggert@twinsun.com>
2663 2777
2664 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files): 2778 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
2665 Don't prepend $nl since this causes some shells to generate the 2779 Don't prepend $nl since this causes some shells to generate the
2666 empty string when IFS is $nl. 2780 empty string when IFS is $nl.
2667 (printlogline): Use SOH (octal code 1), not CR, since some 2781 (printlogline): Use SOH (octal code 1), not CR, since some
2668 PC-based shells mishandle CR. 2782 PC-based shells mishandle CR.
2669 (initialize_fullname): Set NIS_PATH to the empty string before invoking 2783 (initialize_fullname): Set NIS_PATH to the empty string before invoking
2670 nismatch, in case it's set to some nonstandard value. 2784 nismatch, in case it's set to some nonstandard value.
2671 2785
2672 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us> 2786 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2673 2787
2674 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are 2788 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
2675 read in separate blocks. 2789 read in separate blocks.
2676 2790
2677 1997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2791 1997-04-30 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2678 2792
2679 * etags.c [TeX_named_tokens]: Set to FALSE if undefined. 2793 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
2680 (struct linebuffer): New member `len' is the length of the string. 2794 (struct linebuffer): New member `len' is the length of the string.
2681 (find_entries, Pascal_functions, TeX_functions, TEX_getit): 2795 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
2682 Use it instead of strlen. 2796 Use it instead of strlen.
2690 1997-04-23 Geoff Voelker <voelker@cs.washington.edu> 2804 1997-04-23 Geoff Voelker <voelker@cs.washington.edu>
2691 2805
2692 * makefile.nt: Change references of windowsnt.h to ms-w32.h. 2806 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
2693 (obj): Change references of nt*.c files to w32*.c files. 2807 (obj): Change references of nt*.c files to w32*.c files.
2694 2808
2695 1997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2809 1997-04-15 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2696 2810
2697 * etags.c (xnew): Add support for debugging with chkmalloc. 2811 * etags.c (xnew): Add support for debugging with chkmalloc.
2698 (error): Use this instead of printf whenever possible. 2812 (error): Use this instead of printf whenever possible.
2699 (main): Only call xnew after having initialised progname. 2813 (main): Only call xnew after having initialised progname.
2700 (substitute): Bad memory corruption error corrected. 2814 (substitute): Bad memory corruption error corrected.
2701 2815
2702 1997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2816 1997-04-08 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2703 2817
2704 * etags.c (add_regex): Undo previous change. 2818 * etags.c (add_regex): Undo previous change.
2705 (relative_filename): Small memory leak closed. 2819 (relative_filename): Small memory leak closed.
2706 (absolute_filename): Cleaned up the code, possibly closing a bug. 2820 (absolute_filename): Cleaned up the code, possibly closing a bug.
2707 (absolute_dirname): Always return a newly allocated string. 2821 (absolute_dirname): Always return a newly allocated string.
2708 2822
2709 1997-03-21 Paul Eggert <eggert@twinsun.com> 2823 1997-03-21 Paul Eggert <eggert@twinsun.com>
2710 2824
2711 * rcs2log (files): Ignore files in RCS directory whose names are 2825 * rcs2log (files): Ignore files in RCS directory whose names are
2712 of the form ,*, or *_; they are probably RCS lock files. 2826 of the form ,*, or *_; they are probably RCS lock files.
2713 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver; 2827 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
2714 they are used by rcsfreeze. 2828 they are used by rcsfreeze.
2715 2829
2716 1997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2830 1997-03-14 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2717 2831
2718 * etags.c (add_regex): reset *putbuf before using it. 2832 * etags.c (add_regex): reset *putbuf before using it.
2719 2833
2720 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us> 2834 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2721 2835
2741 2855
2742 * Makefile.in (movemail): Link with getopt. 2856 * Makefile.in (movemail): Link with getopt.
2743 2857
2744 1997-01-20 Paul Eggert <eggert@twinsun.com> 2858 1997-01-20 Paul Eggert <eggert@twinsun.com>
2745 2859
2746 * rcs2log: (--help, --version): New options, per GNU coding standards. 2860 * rcs2log (--help, --version): New options, per GNU coding standards.
2747 (Copyright, Help, Id): New variables, for above. 2861 (Copyright, Help, Id): New variables, for above.
2748 (rlog): Use -q option with cvs log, to avoid useless chatter. 2862 (rlog): Use -q option with cvs log, to avoid useless chatter.
2749 2863
2750 Treat logs of "Initial revision" (RCS) or "file F was initially added 2864 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 2865 on branch B." (CVS) as if they said "New file.", for consistency with
2762 * etags.c (streq, strneq): Use == NULL rather than !. 2876 * etags.c (streq, strneq): Use == NULL rather than !.
2763 2877
2764 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com> 2878 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
2765 2879
2766 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail. 2880 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
2767 (movemail): Use LIBMAIL, to link against -lmail. 2881 (movemail): Use LIBMAIL, to link against -lmail.
2768 2882
2769 * movemail.c: Include maillock.h (conditionally). 2883 * movemail.c: Include maillock.h (conditionally).
2770 Remove a redundant inclusion of <stdio.h>. 2884 Remove a redundant inclusion of <stdio.h>.
2771 (MAIL_USE_MAILLOCK): New macro, conditionally defined. 2885 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
2772 (main): Add variable spool_name. 2886 (main): Add variable spool_name.
2773 Support the usage of maillock and mailunlock to 2887 Support the usage of maillock and mailunlock to
2774 lock and unlock mailboxes. 2888 lock and unlock mailboxes.
2775 (mail_spool_name): New function. 2889 (mail_spool_name): New function.
2776 2890
2777 * movemail.c: Fix an uninitialized variable which could cause 2891 * movemail.c: Fix an uninitialized variable which could cause
2778 movemail to exit with an error status incorrectly on systems which 2892 movemail to exit with an error status incorrectly on systems which
2779 use lock files rather than a system locking function to lock 2893 use lock files rather than a system locking function to lock
2780 mailboxes. 2894 mailboxes.
2781 2895
2782 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 2896 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2783 2897
2784 * pop.c (socket_connection): Free realhost after using it. 2898 * pop.c (socket_connection): Free realhost after using it.
2785 2899
2786 1996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2900 1996-12-04 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2787 2901
2788 * etags.c (C_entries): Test tok.valid. This handles some 2902 * etags.c (C_entries): Test tok.valid. This handles some
2789 particular cases involving function declarations that failed. 2903 particular cases involving function declarations that failed.
2790 2904
2791 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu> 2905 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
2792 2906
2793 * pop.c (socket_connection): 2907 * pop.c (socket_connection):
2794 gethostbyname may return a pointer to static data. 2908 gethostbyname may return a pointer to static data.
2795 krb_realmofhost can clobber it. So copy it. 2909 krb_realmofhost can clobber it. So copy it.
2796 2910
2797 1996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2911 1996-11-14 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2798 2912
2799 * etags.c (pfnote, fatal, error): Callers using a NULL pointer 2913 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
2800 must cast it to (char *) because we have no prototypes. 2914 must cast it to (char *) because we have no prototypes.
2801 (make_C_tag): Macro deleted, new function. 2915 (make_C_tag): Macro deleted, new function.
2802 (C_entries): Calls to make_C_tag macro changed to call function. 2916 (C_entries): Calls to make_C_tag macro changed to call function.
2803 2917
2804 1996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2918 1996-11-13 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2805 2919
2806 * etags.c (grow_linebuffer): New function. 2920 * etags.c (grow_linebuffer): New function.
2807 (GROW_LINEBUFFER): Macro deleted. All callers changed. 2921 (GROW_LINEBUFFER): Macro deleted. All callers changed.
2808 (make_tag): Macro renamed to make_C_tag. All callers changed. 2922 (make_tag): Macro renamed to make_C_tag. All callers changed.
2809 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's. 2923 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
2810 (Prolog_functions): prolog_skip_comment was called with wrong 2924 (Prolog_functions): prolog_skip_comment was called with wrong
2811 number of arguments. 2925 number of arguments.
2812 (xrealloc): fatal was called with wrong number of arguments 2926 (xrealloc): fatal was called with wrong number of arguments
2813 2927
2814 1996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2928 1996-11-08 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2815 2929
2816 * etags.c (relative_filename): Bug corrected. 2930 * etags.c (relative_filename): Bug corrected.
2817 (etags_getcwd): Avoid warning of unused variable. 2931 (etags_getcwd): Avoid warning of unused variable.
2818 (C_entries, consider_token): Added support for enum labels. 2932 (C_entries, consider_token): Added support for enum labels.
2819 2933
2820 1996-11-03 Paul Eggert <eggert@twinsun.com> 2934 1996-11-03 Paul Eggert <eggert@twinsun.com>
2821 2935
2822 * rcs2log: When processing cvs log output, remove `Attic/' from 2936 * rcs2log: When processing cvs log output, remove `Attic/' from
2823 repository file names. 2937 repository file names.
2824 2938
2825 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu> 2939 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
2826 2940
2827 * emacsserver.c: Fix 1996-09-02 change. 2941 * emacsserver.c: Fix 1996-09-02 change.
2828 2942
2829 1996-10-12 Paul Eggert <eggert@twinsun.com> 2943 1996-10-12 Paul Eggert <eggert@twinsun.com>
2830 2944
2831 * rcs2log (rlog_options): Look for ' option' rather than 'unknown 2945 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
2832 option', since CVS says 'invalid option'. 2946 option', since CVS says 'invalid option'.
2833 (datearg): Use the empty string, not '-d>1970-01-01', to extract all 2947 (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. 2948 revisions, since some hosts reject 1970-01-01 when east of UTC.
2835 (date): Remove. 2949 (date): Remove.
2836 2950
2837 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 2951 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2838 2952
2839 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes. 2953 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
2840 2954
2841 1996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 2955 1996-10-02 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
2842 2956
2843 * etags.c (print_version): Print copyright info. 2957 * etags.c (print_version): Print copyright info.
2844 2958
2845 * etags.c (print_help): Print the bug reporting address. 2959 * etags.c (print_help): Print the bug reporting address.
2846 (main): Use return as the last instruction, instead of exit. 2960 (main): Use return as the last instruction, instead of exit.
2848 * etags.c (main): Don't open the tags file in cxref mode. 2962 * etags.c (main): Don't open the tags file in cxref mode.
2849 2963
2850 1996-09-29 Dave Love <d.love@dl.ac.uk> 2964 1996-09-29 Dave Love <d.love@dl.ac.uk>
2851 2965
2852 * rcs2log (date): Make default format acceptable to CVS post v1.8 2966 * rcs2log (date): Make default format acceptable to CVS post v1.8
2853 as well as earlier CVSs and RCS. 2967 as well as earlier CVSs and RCS.
2854 2968
2855 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 2969 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2856 2970
2857 * movemail.c (main): If the lock call fails with EBUSY or 2971 * movemail.c (main): If the lock call fails with EBUSY or
2858 EAGAIN, retry a few times. 2972 EAGAIN, retry a few times.
2859 2973
2860 1996-09-25 Paul Eggert <eggert@twinsun.com> 2974 1996-09-25 Paul Eggert <eggert@twinsun.com>
2861 2975
2862 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding 2976 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
2863 whether to append -zLT. 2977 whether to append -zLT.
2864 2978
2865 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu> 2979 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2866 2980
2867 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM. 2981 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
2868 * emacsclient.c, movemail.c: Likewise. 2982 * emacsclient.c, movemail.c: Likewise.
2888 * emacsserver.c: Include signal.h properly; 3002 * emacsserver.c: Include signal.h properly;
2889 delete the duplicate includes for it. 3003 delete the duplicate includes for it.
2890 3004
2891 * emacsserver.c: On fatal signal, delete socket-file: 3005 * emacsserver.c: On fatal signal, delete socket-file:
2892 * emacsserver.c: Include signal.h. 3006 * emacsserver.c: Include signal.h.
2893 (xmalloc, fatal, error): New functions. 3007 (xmalloc, fatal, error): New functions.
2894 (delete_socket, handle_signals): New functions. 3008 (delete_socket, handle_signals): New functions.
2895 (progname, socket_name): New variables. 3009 (progname, socket_name): New variables.
2896 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables. 3010 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
2897 3011
2898 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 3012 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2982 3096
2983 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change. 3097 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
2984 3098
2985 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com> 3099 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
2986 3100
2987 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>. 3101 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
2988 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen. 3102 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
2989 * etags.c, fakemail.c, profile.c: Declare main as int, not void. 3103 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
2990 3104
2991 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk> 3105 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
2992 3106
3000 3114
3001 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk> 3115 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
3002 3116
3003 * makefile.nt: Remove all references to wakeup. 3117 * makefile.nt: Remove all references to wakeup.
3004 3118
3005 1996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 3119 1996-06-28 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
3006 3120
3007 * etags.c (C_stab_entry): New keywords for C++ namespace, bool, 3121 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
3008 explicit, mutable, typename. 3122 explicit, mutable, typename.
3009 3123
3010 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 3124 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3031 3145
3032 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu> 3146 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3033 3147
3034 * Version 19.31 released. 3148 * Version 19.31 released.
3035 3149
3036 1996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 3150 1996-05-17 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
3037 3151
3038 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline. 3152 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
3039 (Pascal_functions): Increase linecharno by the correct number of 3153 (Pascal_functions): Increase linecharno by the correct number of
3040 chars, inline the GET_NEW_LINE macro and delete its definition. 3154 chars, inline the GET_NEW_LINE macro and delete its definition.
3041 3155
3144 3258
3145 1996-03-27 Geoff Voelker <voelker@cs.washington.edu> 3259 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
3146 3260
3147 * makefile.nt: Change uses of del to $(DEL). 3261 * makefile.nt: Change uses of del to $(DEL).
3148 3262
3149 1996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 3263 1996-03-22 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
3150 3264
3151 * etags.c (just_read_file): Reset lineno and charno on entry. 3265 * etags.c (just_read_file): Reset lineno and charno on entry.
3152 3266
3153 1996-03-15 Anders Lindgren <andersl@csd.uu.se> 3267 1996-03-15 Anders Lindgren <andersl@csd.uu.se>
3154 3268
3155 * etags.c: Prolog language totaly rewritten. 3269 * etags.c: Prolog language totaly rewritten.
3156 (Prolog_functions): Rewritten from scratch. 3270 (Prolog_functions): Rewritten from scratch.
3157 (skip_comment, prolog_getit): Removed. 3271 (skip_comment, prolog_getit): Removed.
3158 (prolog_skip_comment): New function, like old skip_comment. 3272 (prolog_skip_comment): New function, like old skip_comment.
3159 (prolog_pred, prolog_atom, prolog_white): New functions. 3273 (prolog_pred, prolog_atom, prolog_white): New functions.
3160 (erlang_func, erlang_attributes): Forward declarations added. 3274 (erlang_func, erlang_attributes): Forward declarations added.
3161 (erlang_atom): Check if backslash ends line inside quoted atom. 3275 (erlang_atom): Check if backslash ends line inside quoted atom.
3162 3276
3163 1996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it> 3277 1996-03-14 Francesco Potort,Al(B <F.Potorti@cnuce.cnr.it>
3164 3278
3165 * etags.c (absolutefn): DOS_NT version corrected. 3279 * etags.c (absolutefn): DOS_NT version corrected.
3166 (main): Append "/" to the dir name only if not already there. 3280 (main): Append "/" to the dir name only if not already there.
3167 (print_help): Explain the absolute/relative file name issue. 3281 (print_help): Explain the absolute/relative file name issue.
3168 3282
3246 3360
3247 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> 3361 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3248 3362
3249 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE. 3363 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
3250 3364
3251 1995-12-07 Francesco Potorti` <pot@cnuce.cnr.it> 3365 1995-12-07 Francesco Potort,Al(B <pot@cnuce.cnr.it>
3252 3366
3253 * etags.c (pfnote): Don't make a tag for ctags if there is no name. 3367 * 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, 3368 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
3255 get_scheme, prolog_getit): Name the tag in ctags mode. 3369 get_scheme, prolog_getit): Name the tag in ctags mode.
3256 (pfnote): Truncate ctags lines to 50 chars, like it worked once. 3370 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
3258 (suggest_asking_for_help): New function. 3372 (suggest_asking_for_help): New function.
3259 (main, get_language_from_name): Use suggest_asking_for_help. 3373 (main, get_language_from_name): Use suggest_asking_for_help.
3260 (main): Let get_language_from_name make language existence check. 3374 (main): Let get_language_from_name make language existence check.
3261 (streq, strneq): Check the arguments #if DEBUG. 3375 (streq, strneq): Check the arguments #if DEBUG.
3262 3376
3263 1995-12-06 Francesco Potorti` <pot@cnuce.cnr.it> 3377 1995-12-06 Francesco Potort,Al(B <pot@cnuce.cnr.it>
3264 3378
3265 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++. 3379 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
3266 (gperf): Added keywords for Objective C and GNU macros. 3380 (gperf): Added keywords for Objective C and GNU macros.
3267 (sym_type): Added values to account for Objective C and GNU macros. 3381 (sym_type): Added values to account for Objective C and GNU macros.
3268 (begtk): The '@' character can start a token. 3382 (begtk): The '@' character can start a token.
3275 (consider_token): Take one more argument. Caller changed. 3389 (consider_token): Take one more argument. Caller changed.
3276 (consider_token): Use the hashing function to spot GNU macros. 3390 (consider_token): Use the hashing function to spot GNU macros.
3277 (C_entries): Consider // as a comment start even in plain C for 3391 (C_entries): Consider // as a comment start even in plain C for
3278 the sake of Objective C parsing. 3392 the sake of Objective C parsing.
3279 3393
3280 1995-12-04 Francesco Potorti` <pot@cnuce.cnr.it> 3394 1995-12-04 Francesco Potort,Al(B <pot@cnuce.cnr.it>
3281 3395
3282 * Makefile.in (ctags): depend on etags only for simplicity; 3396 * Makefile.in (ctags): depend on etags only for simplicity;
3283 compile with regexp support enabled. 3397 compile with regexp support enabled.
3284 3398
3285 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3399 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3286 3400
3287 * Version 19.30 released. 3401 * Version 19.30 released.
3288 3402
3304 3418
3305 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c, 3419 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
3306 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove 3420 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
3307 Windows 95 conditional. 3421 Windows 95 conditional.
3308 3422
3309 1995-11-06 Francesco Potorti` (pot@cnuce.cnr.it) 3423 1995-11-06 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3310 3424
3311 * etags.c (get_lang_from_name, get_lang_from_interpreter, 3425 * etags.c (get_lang_from_name, get_lang_from_interpreter,
3312 get_lang_from_suffix): New functions. 3426 get_lang_from_suffix): New functions.
3313 (get_language): Function deleted. 3427 (get_language): Function deleted.
3314 (lang_entry): Two members added to struct. 3428 (lang_entry): Two members added to struct.
3317 (find_entries): Look at the first line for #! if no language. 3431 (find_entries): Look at the first line for #! if no language.
3318 (C_entries): Invalidate the token when funcdef is reset. 3432 (C_entries): Invalidate the token when funcdef is reset.
3319 (Perl_functions): New function. 3433 (Perl_functions): New function.
3320 (lang_suffixes): .pl and .pm are Perl suffixes. 3434 (lang_suffixes): .pl and .pm are Perl suffixes.
3321 3435
3322 1995-11-02 Francesco Potorti` (pot@cnuce.cnr.it) 3436 1995-11-02 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3323 3437
3324 * etags.c (lowcase): Use the standard tolower function. 3438 * etags.c (lowcase): Use the standard tolower function.
3325 (substitute): Remove some wrong and some useless code related with 3439 (substitute): Remove some wrong and some useless code related with
3326 escape '\' character in regexp replacement string. 3440 escape '\' character in regexp replacement string.
3327 (TEX_defenv): Added part, appendix, entry, index. Removed typeout. 3441 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
3345 3459
3346 * test-distrib.c [HAVE_CONFIG_H]: Include config.h. 3460 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
3347 [! O_RDONLY]: Define it to zero. 3461 [! O_RDONLY]: Define it to zero.
3348 (main): Use O_RDONLY instead of explicit zero. 3462 (main): Use O_RDONLY instead of explicit zero.
3349 3463
3350 1995-08-17 Francesco Potorti` (pot@cnuce.cnr.it) 3464 1995-08-17 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3351 3465
3352 * etags.c (Pascal_functions): Close comment bug corrected. 3466 * etags.c (Pascal_functions): Close comment bug corrected.
3353 (add_node): Correctly compare node file names. 3467 (add_node): Correctly compare node file names.
3354 (Pascal_functions): Correctly allocate and free memory for tline. 3468 (Pascal_functions): Correctly allocate and free memory for tline.
3355 (pfnote): Put the definition of fp in the innermost block. 3469 (pfnote): Put the definition of fp in the innermost block.
3400 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu> 3514 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3401 3515
3402 * Makefile.in.in (install, maybe-blessmail): Don't cd ..; 3516 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
3403 configure has already set $(INSTALL) to the proper relative path. 3517 configure has already set $(INSTALL) to the proper relative path.
3404 3518
3405 1995-06-27 Francesco Potorti` (pot@cnuce.cnr.it) 3519 1995-06-27 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3406 3520
3407 * etags.c (plain_C_entries): new function. 3521 * etags.c (plain_C_entries): new function.
3408 (lowcase): new macro. 3522 (lowcase): new macro.
3409 (tail, Fortran_functions, Pascal_functions): use new macro lowcase. 3523 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3410 (lang_suffixes): new suffix ".pc" for Pro*C files. 3524 (lang_suffixes): new suffix ".pc" for Pro*C files.
3431 "po:" prefix. 3545 "po:" prefix.
3432 3546
3433 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3547 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3434 3548
3435 * emacsserver.c: Make all error messages start with `Error: '. 3549 * emacsserver.c: Make all error messages start with `Error: '.
3436 (fatal_error, perror_1): New functions, use throughout. 3550 (fatal_error, perror_1): New functions, use throughout.
3437 3551
3438 1995-06-28 Paul Eggert <eggert@twinsun.com> 3552 1995-06-28 Paul Eggert <eggert@twinsun.com>
3439 3553
3440 * rcs2log (CVSROOT, repository): 3554 * rcs2log (CVSROOT, repository):
3441 Allow remote repositories a la CVS 1.4. 3555 Allow remote repositories a la CVS 1.4.
3442 3556
3443 1995-06-27 Francesco Potorti` (pot@cnuce.cnr.it) 3557 1995-06-27 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3444 3558
3445 * etags.c (plain_C_entries): new function. 3559 * etags.c (plain_C_entries): new function.
3446 (lowcase): new macro. 3560 (lowcase): new macro.
3447 (tail, Fortran_functions, Pascal_functions): use new macro lowcase. 3561 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3448 (lang_suffixes): new suffix ".pc" for Pro*C files. 3562 (lang_suffixes): new suffix ".pc" for Pro*C files.
3456 3570
3457 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3571 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3458 3572
3459 * make-docfile.c (scan_file): Make sure it never looks at filename[-1]. 3573 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
3460 3574
3461 1995-06-21 Francesco Potorti` (pot@cnuce.cnr.it) 3575 1995-06-21 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3462 3576
3463 * etags.c (find_entries): Rewind before rereading the input file. 3577 * etags.c (find_entries): Rewind before rereading the input file.
3464 3578
3465 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3579 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3466 3580
3488 1995-06-04 Paul Eggert <eggert@twinsun.com> 3602 1995-06-04 Paul Eggert <eggert@twinsun.com>
3489 3603
3490 * rcs2log (output_authors): Allow ':' in time zone, 3604 * rcs2log (output_authors): Allow ':' in time zone,
3491 as per ISO 8601 and RCS 5.6.8 beta. 3605 as per ISO 8601 and RCS 5.6.8 beta.
3492 3606
3493 1995-05-29 Francesco Potorti` (pot@cnuce.cnr.it) 3607 1995-05-29 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3494 3608
3495 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise 3609 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
3496 compatibility problems. 3610 compatibility problems.
3497 3611
3498 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu> 3612 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
3511 (config.h,paths.h): Use $(CP) instead of cp. 3625 (config.h,paths.h): Use $(CP) instead of cp.
3512 (config.h): Use $(CONFIG_H) 3626 (config.h): Use $(CONFIG_H)
3513 (make-docfile.obj): Depend upon config.h. 3627 (make-docfile.obj): Depend upon config.h.
3514 Clean up comments. 3628 Clean up comments.
3515 3629
3516 1995-05-23 Francesco Potorti` (pot@cnuce.cnr.it) 3630 1995-05-23 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3517 3631
3518 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the 3632 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
3519 former gives the true path even in the presence of simlinks. 3633 former gives the true path even in the presence of simlinks.
3520 3634
3521 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3635 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3621 3735
3622 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available, 3736 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
3623 even if HAVE_SYSVIPC. 3737 even if HAVE_SYSVIPC.
3624 * emacsclient.c (main): Use getcwd if not BSD. 3738 * emacsclient.c (main): Use getcwd if not BSD.
3625 3739
3626 1995-03-13 Francesco Potorti` (pot@cnuce.cnr.it) 3740 1995-03-13 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3627 3741
3628 * etags.c (process_file): free (filename) after using it. 3742 * etags.c (process_file): free (filename) after using it.
3629 (readline_internal): Do not access the char before start of line. 3743 (readline_internal): Do not access the char before start of line.
3630 3744
3631 1995-02-22 Francesco Potorti` (pot@cnuce.cnr.it) 3745 1995-02-22 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3632 3746
3633 * etags.c (C_entries): token_saved removed. Initialise tok.valid and 3747 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
3634 savetok.valid. Mark token as valid when it is initialised. 3748 savetok.valid. Mark token as valid when it is initialised.
3635 (make_tag): Make token only if token is valid and reset validity. 3749 (make_tag): Make token only if token is valid and reset validity.
3636 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved. 3750 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
3637 (TOKEN): Added a new member: valid. 3751 (TOKEN): Added a new member: valid.
3638 3752
3639 1995-02-15 Francesco Potorti` (pot@cnuce.cnr.it) 3753 1995-02-15 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3640 3754
3641 * etags.c (C_entries): Bug corrected in xrealloc of token_str. 3755 * 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. 3756 (main): Do not read twice the last filename in the stdin file list.
3643 3757
3644 1995-02-14 Francesco Potorti` (pot@cnuce.cnr.it) 3758 1995-02-14 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3645 3759
3646 * etags.c (C_entries): Initialise the new members of TOKEN. 3760 * etags.c (C_entries): Initialise the new members of TOKEN.
3647 (C_entries): Do not allocate a new space for each token found by 3761 (C_entries): Do not allocate a new space for each token found by
3648 consider_token. Let make_tag do that instead. 3762 consider_token. Let make_tag do that instead.
3649 (make_tag): Since now TOKEN has memory of where it is taken from, 3763 (make_tag): Since now TOKEN has memory of where it is taken from,
3656 3770
3657 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu> 3771 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
3658 3772
3659 * Makefile.in.in (maintainer-clean): Renamed from realclean. 3773 * Makefile.in.in (maintainer-clean): Renamed from realclean.
3660 3774
3661 1995-02-01 Francesco Potorti` (pot@cnuce.cnr.it) 3775 1995-02-01 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3662 3776
3663 * etags.c (pfnote): Initialise been_warned in the node. 3777 * etags.c (pfnote): Initialise been_warned in the node.
3664 (C_entries): Removed a speed hack for the sake of clarity. 3778 (C_entries): Removed a speed hack for the sake of clarity.
3665 3779
3666 1995-01-18 Francesco Potorti` (pot@cnuce.cnr.it) 3780 1995-01-18 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3667 3781
3668 * etags.c (longopts, print_help, main): Use -I as abbreviation 3782 * etags.c (longopts, print_help, main): Use -I as abbreviation
3669 for the --ignore-indentation option. 3783 for the --ignore-indentation option.
3670 (main): Do not print an error message for unknown options. 3784 (main): Do not print an error message for unknown options.
3671 3785
3672 1995-01-12 Francesco Potorti` (pot@cnuce.cnr.it) 3786 1995-01-12 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3673 3787
3674 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted. 3788 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
3675 (append_to_tagfile, typedefs, typedefs_and_cplusplus, 3789 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
3676 constantypedefs, update, vgrind_style, no_warnings, 3790 constantypedefs, update, vgrind_style, no_warnings,
3677 cxref_style, cplusplus, noindentypedefs): Were int, now logical. 3791 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
3699 3813
3700 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3814 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3701 3815
3702 * movemail.c (main): Skip past the colon in inname. 3816 * movemail.c (main): Skip past the colon in inname.
3703 3817
3704 1995-01-10 Francesco Potorti` (pot@cnuce.cnr.it) 3818 1995-01-10 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3705 3819
3706 * etags.c (pfatal): New function. 3820 * etags.c (pfatal): New function.
3707 (main, etags_getcwd): Use pfatal. 3821 (main, etags_getcwd): Use pfatal.
3708 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version. 3822 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
3709 3823
3710 1995-01-10 Francesco Potorti` (pot@cnuce.cnr.it) 3824 1995-01-10 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3711 3825
3712 * etags.c (Lang_function): Use void instead to declare the 3826 * etags.c (Lang_function): Use void instead to declare the
3713 language functions, because many compilers are buggy. 3827 language functions, because many compilers are buggy.
3714 (etags_getcwd): Fix the previous fix on the #else branch. 3828 (etags_getcwd): Fix the previous fix on the #else branch.
3715 (readline_internal): Discard possible \r before \n here. 3829 (readline_internal): Discard possible \r before \n here.
3716 (C_entries): Do not deal with \r here: undo previous fix. 3830 (C_entries): Do not deal with \r here: undo previous fix.
3717 3831
3718 1995-01-09 Francesco Potorti` (pot@fly) 3832 1995-01-09 Francesco Potort,Al(B (pot@fly)
3719 3833
3720 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new 3834 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
3721 functions and a macro that allow the program to work on input 3835 functions and a macro that allow the program to work on input
3722 lines of whatever length. Copied from etags.c. 3836 lines of whatever length. Copied from etags.c.
3723 (fatal): Print a fatal error message and exit. 3837 (fatal): Print a fatal error message and exit.
3754 3868
3755 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3869 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3756 3870
3757 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction. 3871 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
3758 3872
3759 1994-11-22 Francesco Potorti` (pot@cnuce.cnr.it) 3873 1994-11-22 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3760 3874
3761 * etags.c (print_help): print --regex usage for ctags also. 3875 * etags.c (print_help): print --regex usage for ctags also.
3762 (main): use -h in addition to -H as abbreviation for --help. 3876 (main): use -h in addition to -H as abbreviation for --help.
3763 3877
3764 1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it) 3878 1994-11-16 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3765 3879
3766 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps 3880 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
3767 is compiled if this is defined. The new functions and variables 3881 is compiled if this is defined. The new functions and variables
3768 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog. 3882 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
3769 [VMS]: All VMS specific code previously contained in 3883 [VMS]: All VMS specific code previously contained in
3788 (find_entries): Use the new method for choosing the language. 3902 (find_entries): Use the new method for choosing the language.
3789 (Pascal_functions): Allow intermixing of comment styles. 3903 (Pascal_functions): Allow intermixing of comment styles.
3790 (prolog_getit, skip_comment): Rewritten for speed. 3904 (prolog_getit, skip_comment): Rewritten for speed.
3791 (readline): Rewritten to deal with regexps. 3905 (readline): Rewritten to deal with regexps.
3792 3906
3793 1994-11-16 Francesco Potorti` (pot@cnuce.cnr.it) 3907 1994-11-16 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3794 3908
3795 * etags.c (<errno.h>): #include added. 3909 * etags.c (<errno.h>): #include added.
3796 (etags_getcwd): Check return value from getcwd. 3910 (etags_getcwd): Check return value from getcwd.
3797 3911
3798 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu> 3912 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3820 3934
3821 * pop.c (getline): When determining whether or not it's necessary 3935 * 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 3936 to grow the input buffer, take into account the null that's stored
3823 at the end of already-read input in the buffer. 3937 at the end of already-read input in the buffer.
3824 3938
3825 1994-10-21 Francesco Potorti` (pot@cnuce.cnr.it) 3939 1994-10-21 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3826 3940
3827 * etags.c (prestr, substr): return a logical type. 3941 * etags.c (prestr, substr): return a logical type.
3828 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF". 3942 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
3829 (consider_token): set funcdef to fignore when a DEFUN is met. 3943 (consider_token): set funcdef to fignore when a DEFUN is met.
3830 (C_entries): Now we can use Tom Hageman patch for extern "C". 3944 (C_entries): Now we can use Tom Hageman patch for extern "C".
3843 * movemail.c: Don't declare malloc. 3957 * movemail.c: Don't declare malloc.
3844 3958
3845 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu> 3959 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3846 3960
3847 * rcs-checkin: Use test -r instead of < to check readability, to 3961 * rcs-checkin: Use test -r instead of < to check readability, to
3848 avoid syntax error. 3962 avoid syntax error.
3849 3963
3850 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com) 3964 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
3851 3965
3852 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is 3966 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
3853 defined, and if HAVE_CONFIG_H isn't defined, define 3967 defined, and if HAVE_CONFIG_H isn't defined, define
3905 4019
3906 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu> 4020 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
3907 4021
3908 * Makefile.in.in (regex.o): Use full path to find regex.c. 4022 * Makefile.in.in (regex.o): Use full path to find regex.c.
3909 4023
3910 1994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4024 1994-10-17 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
3911 4025
3912 * Makefile.in.in (etags): add dependency on regex.o, link with it. 4026 * Makefile.in.in (etags): add dependency on regex.o, link with it.
3913 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added. 4027 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
3914 4028
3915 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu) 4029 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
3932 * Makefile.in.in (clean): rm DOC* and *.tab.[ch]. 4046 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
3933 (distclean): Not here. 4047 (distclean): Not here.
3934 4048
3935 * Makefile.in.in (libexecdir): Renamed from libdir. 4049 * Makefile.in.in (libexecdir): Renamed from libdir.
3936 4050
3937 1994-10-11 Francesco Potorti` (pot@cnuce.cnr.it) 4051 1994-10-11 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3938 4052
3939 * etags.c (C_entries): Name the #define's that are macros. 4053 * etags.c (C_entries): Name the #define's that are macros.
3940 4054
3941 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 4055 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3942 4056
3943 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros: 4057 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
3944 fd_set arg is a pointer, descriptor arg comes first. 4058 fd_set arg is a pointer, descriptor arg comes first.
3945 4059
3946 1994-09-29 Francesco Potorti` (pot@cnuce.cnr.it) 4060 1994-09-29 Francesco Potort,Al(B (pot@cnuce.cnr.it)
3947 4061
3948 * etags.c (C_entries): Recognise typedef of ANSI style functions. 4062 * etags.c (C_entries): Recognise typedef of ANSI style functions.
3949 (C_entries): Recognise #define inside a struct. 4063 (C_entries): Recognise #define inside a struct.
3950 (C_entries): ANSI tells that preprocessor commands do not have to 4064 (C_entries): ANSI tells that preprocessor commands do not have to
3951 start on the first column. 4065 start on the first column.
4058 * Makefile.in.in (ALLOCA_CFLAGS): New variable. 4172 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
4059 (alloca.o): New target. 4173 (alloca.o): New target.
4060 4174
4061 1994-07-08 Dave Love (d.love@dl.ac.uk) 4175 1994-07-08 Dave Love (d.love@dl.ac.uk)
4062 4176
4063 * etags.c (takeprec): recognise `character*(*) function' 4177 * etags.c (takeprec): recognise `character*(*) function'
4064 4178
4065 1994-07-08 Francesco Potorti` (pot@cnuce.cnr.it) 4179 1994-07-08 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4066 4180
4067 * etags.c (main): Don't barf on obsolete -t and -T switches. 4181 * etags.c (main): Don't barf on obsolete -t and -T switches.
4068 (main): Print an explicative message when a switch is not known. 4182 (main): Print an explicative message when a switch is not known.
4069 4183
4070 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4184 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4071 4185
4072 * hexl.c: Don't declare exit or perror. 4186 * hexl.c: Don't declare exit or perror.
4073 4187
4076 4190
4077 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4191 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4078 4192
4079 * Makefile.in.in (test-distrib): Use ALL_CFLAGS. 4193 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
4080 4194
4081 1994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4195 1994-06-03 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
4082 4196
4083 * etags.c (absolute_filename): Remove infinite loop bug when 4197 * etags.c (absolute_filename): Remove infinite loop bug when
4084 accessing files in directories whose name begins with a dot. 4198 accessing files in directories whose name begins with a dot.
4085 4199
4086 1994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4200 1994-06-03 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
4087 4201
4088 * etags.c (etags_getcwd): Delete the trailing newline from cwd. 4202 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
4089 4203
4090 1994-06-01 Morten Welinder (terra@diku.dk) 4204 1994-06-01 Morten Welinder (terra@diku.dk)
4091 4205
4204 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4318 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4205 4319
4206 * fakemail.c (readline): When extending the buffer, 4320 * fakemail.c (readline): When extending the buffer,
4207 calculate end afresh using the new size. 4321 calculate end afresh using the new size.
4208 4322
4209 1994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4323 1994-04-18 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
4210 4324
4211 * etags.c (main, print_help): eliminate the -F option. 4325 * etags.c (main, print_help): eliminate the -F option.
4212 4326
4213 1994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4327 1994-04-18 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
4214 4328
4215 * etags.c (absolute_filename): compare against '\0' instead of NULL. 4329 * etags.c (absolute_filename): compare against '\0' instead of NULL.
4216 4330
4217 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4331 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4218 4332
4225 4339
4226 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4340 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4227 4341
4228 * movemail.c [HAVE_UNISTD_H]: Include unistd.h. 4342 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
4229 4343
4230 1994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4344 1994-04-12 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
4231 4345
4232 * etags.c (etags_getcwd): Initialize bufsize. 4346 * etags.c (etags_getcwd): Initialize bufsize.
4233 4347
4234 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4348 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4235 4349
4242 4356
4243 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4357 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4244 4358
4245 * etags.c: #undef static. 4359 * etags.c: #undef static.
4246 4360
4247 1994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4361 1994-04-08 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
4248 4362
4249 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir. 4363 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
4250 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs, 4364 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
4251 Scheme_funcs, prolog_funcs): renamed to Fortran_functions, 4365 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
4252 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions, 4366 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
4255 (C_entries): take 2nd parameter `inf' instead of using the global one. 4369 (C_entries): take 2nd parameter `inf' instead of using the global one.
4256 (find_entries): added the cp1 var for optimisation. 4370 (find_entries): added the cp1 var for optimisation.
4257 (find_entries): added more suffixes for assembler files. 4371 (find_entries): added more suffixes for assembler files.
4258 (Asm_funcs): Now finds labels even without an ending colon. 4372 (Asm_funcs): Now finds labels even without an ending colon.
4259 4373
4260 1994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it) 4374 1994-03-30 Francesco Potort,Al(B (pot@fly.cnuce.cnr.it)
4261 4375
4262 * etags.c (main): use etags_getcwd for compatibility. 4376 * etags.c (main): use etags_getcwd for compatibility.
4263 (etags_getcwd): new function. 4377 (etags_getcwd): new function.
4264 4378
4265 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4379 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4266 4380
4267 * Makefile.in (etags, ctags): Pass -D for VERSION. 4381 * Makefile.in (etags, ctags): Pass -D for VERSION.
4268 4382
4269 1994-03-25 Francesco Potorti` (pot@cnuce.cnr.it) 4383 1994-03-25 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4270 4384
4271 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead. 4385 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
4272 (main): don't allow the use of -t and -T in etags mode. 4386 (main): don't allow the use of -t and -T in etags mode.
4273 (print_help): don't show options enabled by default. 4387 (print_help): don't show options enabled by default.
4274 (print_version): show the emacs version number if VERSION is #defined. 4388 (print_version): show the emacs version number if VERSION is #defined.
4275 (find_entries): add "ss" as suffix for Chez Scheme. 4389 (find_entries): add "ss" as suffix for Chez Scheme.
4276 4390
4277 1994-03-23 Francesco Potorti` (pot@cnuce.cnr.it) 4391 1994-03-23 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4278 4392
4279 * etags.c (cwd, outfiledir): vars added. 4393 * etags.c (cwd, outfiledir): vars added.
4280 (relative_filename, absolute_filename, absolute_dirname): 4394 (relative_filename, absolute_filename, absolute_dirname):
4281 functions added to compute filenames in tags files. 4395 functions added to compute filenames in tags files.
4282 (process_file): filenames in tags file are relative to the 4396 (process_file): filenames in tags file are relative to the
4294 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4408 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4295 4409
4296 * Makefile.in (install, ${archlibdir}): Switch back to .. 4410 * Makefile.in (install, ${archlibdir}): Switch back to ..
4297 before running INSTALL_PROGRAM. 4411 before running INSTALL_PROGRAM.
4298 4412
4299 1994-03-14 Francesco Potorti` (pot@cnuce.cnr.it) 4413 1994-03-14 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4300 4414
4301 * etags.c (TYPEDST): added the `tignore' value. 4415 * etags.c (TYPEDST): added the `tignore' value.
4302 (C_entries): corrected various bugs, now correctly parses the 4416 (C_entries): corrected various bugs, now correctly parses the
4303 `extern "C" {' construction (patch by Tom R.Hageman). 4417 `extern "C" {' construction (patch by Tom R.Hageman).
4304 4418
4340 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu) 4454 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
4341 4455
4342 * profile.c (get_time): Simplify; avoid calling index. 4456 * profile.c (get_time): Simplify; avoid calling index.
4343 (main): exit on EOF. 4457 (main): exit on EOF.
4344 4458
4345 1994-02-17 Francesco Potorti` (pot@cnuce.cnr.it) 4459 1994-02-17 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4346 4460
4347 * etags.c (--absolute-pathnames): Option removed. 4461 * etags.c (--absolute-pathnames): Option removed.
4348 4462
4349 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4463 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4350 4464
4351 * fakemail.c (put_line): Don't break the line if it all fits. 4465 * fakemail.c (put_line): Don't break the line if it all fits.
4352 4466
4353 1994-02-14 Francesco Potorti` (pot@fly) 4467 1994-02-14 Francesco Potort,Al(B (pot@fly)
4354 4468
4355 * etags.c (absolute_pathnames, cwd): added global vars. 4469 * etags.c (absolute_pathnames, cwd): added global vars.
4356 (longopts, print_help, main, process_file): put absolute filenames 4470 (longopts, print_help, main, process_file): put absolute filenames
4357 in the tag file if the -A --absolute-pathnames option is used. 4471 in the tag file if the -A --absolute-pathnames option is used.
4358 (print_help): alfabetically order the options. 4472 (print_help): alfabetically order the options.
4380 Lisp docstrings do. 4494 Lisp docstrings do.
4381 (write_c_args): Take new arg FUNC. Make output 4495 (write_c_args): Take new arg FUNC. Make output
4382 look like lisp call prototypes: (function ARG1 ARG2), upcasing args. 4496 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
4383 (scan_c_file): Pass BUF to write_c_args for FUNC arg. 4497 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
4384 4498
4385 1994-01-14 Francesco Potorti` (pot@cnuce.cnr.it) 4499 1994-01-14 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4386 4500
4387 * etags.c (stab_entry, stab_create, stab_find, stab_search, 4501 * etags.c (stab_entry, stab_create, stab_find, stab_search,
4388 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted. 4502 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
4389 Use gperf generated hash table instead of linked list. 4503 Use gperf generated hash table instead of linked list.
4390 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added. 4504 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
4524 4638
4525 * Version 19.20 released. 4639 * Version 19.20 released.
4526 4640
4527 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl) 4641 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
4528 4642
4529 * etags.c: (C_entries): Keep track of ()-parenthesis level so that 4643 * etags.c (C_entries): Keep track of ()-parenthesis level so that
4530 functions returning a pointer to a function, a la `signal', can be 4644 functions returning a pointer to a function, a la `signal', can be
4531 parsed. This also required new state `fstartlist' to `FUNCST'. 4645 parsed. This also required new state `fstartlist' to `FUNCST'.
4532 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack. 4646 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
4533 (C_entries, CNL): use it to isolate preprocessor directive processing 4647 (C_entries, CNL): use it to isolate preprocessor directive processing
4534 from the other state engines. 4648 from the other state engines.
4535 (begtk): add '~', for C++ class destructors. 4649 (begtk): add '~', for C++ class destructors.
4536 4650
4537 1993-11-02 Francesco Potorti` (pot@cnuce.cnr.it) 4651 1993-11-02 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4538 4652
4539 * etags.c (consider_token): removed unused variable firsttok. 4653 * etags.c (consider_token): removed unused variable firsttok.
4540 (prolog_getit): call pfnote with the right number of arguments. 4654 (prolog_getit): call pfnote with the right number of arguments.
4541 4655
4542 1993-10-19 Paul Eggert (eggert@twinsun.com) 4656 1993-10-19 Paul Eggert (eggert@twinsun.com)
4552 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 4666 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4553 4667
4554 * Makefile.in: Fixed typos or brainos of whoever thought `@' was 4668 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
4555 the comment character. 4669 the comment character.
4556 4670
4557 1993-10-01 Francesco Potorti` (pot@cnuce.cnr.it) 4671 1993-10-01 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4558 4672
4559 * etags.c (process_file): dead code removed. 4673 * etags.c (process_file): dead code removed.
4560 (S_ISREG): #define it using S_IFREG if not defined. 4674 (S_ISREG): #define it using S_IFREG if not defined.
4561 (process_file): regular files have nothing to do with symlinks. 4675 (process_file): regular files have nothing to do with symlinks.
4562 4676
4583 4697
4584 * rcs2log: Add -h, -n, -r options. 4698 * rcs2log: Add -h, -n, -r options.
4585 By default, look for *,v files as well as RCS/*,v files. 4699 By default, look for *,v files as well as RCS/*,v files.
4586 Use $TMPDIR (default /tmp) instead of /tmp. 4700 Use $TMPDIR (default /tmp) instead of /tmp.
4587 4701
4588 1993-09-20 Francesco Potorti` (pot@fly) 4702 1993-09-20 Francesco Potort,Al(B (pot@fly)
4589 4703
4590 * etags.c (C_entries): is_func is initialised here instead of in 4704 * etags.c (C_entries): is_func is initialised here instead of in
4591 consider_token for the sake of the yacc rules section. 4705 consider_token for the sake of the yacc rules section.
4592 (C_entries): Now class, struct, enum, union and typedef produce 4706 (C_entries): Now class, struct, enum, union and typedef produce
4593 named tags. 4707 named tags.
4637 4751
4638 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4752 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4639 4753
4640 * Version 19.18 released. 4754 * Version 19.18 released.
4641 4755
4642 1993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu) 4756 1993-08-04 Francesco Potort,Al(B (pot@spiff.gnu.ai.mit.edu)
4643 4757
4644 * etags.c (L_isdef, L_isquote, L_getit): small optimisations. 4758 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
4645 (L_funcs): the (foo::defmumble stuff now should work. 4759 (L_funcs): the (foo::defmumble stuff now should work.
4646 (consider_token): function returned random value--corrected. 4760 (consider_token): function returned random value--corrected.
4647 (C_entries): corrected == versus = typo. 4761 (C_entries): corrected == versus = typo.
4653 4767
4654 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4768 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4655 4769
4656 * timer.c (main): Generate a SIGIO as soon as we've initialized. 4770 * timer.c (main): Generate a SIGIO as soon as we've initialized.
4657 4771
4658 1993-07-30 Francesco Potorti` (pot@cnuce.cnr.it) 4772 1993-07-30 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4659 4773
4660 * etags.c (FINCST): added the fignore status. Means we are 4774 * etags.c (FINCST): Added the fignore status. Means we are
4661 after the parameter list and before the open curly brace. 4775 after the parameter list and before the open curly brace.
4662 Allows correct parsing of C++ constructors. 4776 Allows correct parsing of C++ constructors.
4663 (C_entries, consider_token): make use of fignore. 4777 (C_entries, consider_token): make use of fignore.
4664 (consider_token): reset funcdef when next_token_is_func: when in 4778 (consider_token): reset funcdef when next_token_is_func: when in
4665 ctags mode makes DEFVAR and others work better. 4779 ctags mode makes DEFVAR and others work better.
4681 4795
4682 * Makefile.in (install): Use .n, not .new, for temporary filenames. 4796 * Makefile.in (install): Use .n, not .new, for temporary filenames.
4683 4797
4684 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) 4798 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4685 4799
4686 * Version 19.17 released. 4800 * Version 19.17 released.
4687 4801
4688 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu) 4802 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4689 4803
4690 * etags.c (print_help): Break up the very long strings containing 4804 * etags.c (print_help): Break up the very long strings containing
4691 the help message into shorter strings, to placate chintzy C 4805 the help message into shorter strings, to placate chintzy C
4692 compilers which can't handle strings that long. 4806 compilers which can't handle strings that long.
4693 4807
4694 * wakeup.c: Use CPP tangle from autoconf manual to #include the 4808 * wakeup.c: Use CPP tangle from autoconf manual to #include the
4695 correct combination of <time.h> and <sys/time.h>. 4809 correct combination of <time.h> and <sys/time.h>.
4696 4810
4697 1993-07-08 Francesco Potorti` (pot@cnuce.cnr.it) 4811 1993-07-08 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4698 4812
4699 * etags.c (alloca): removed all references to it. 4813 * etags.c (alloca): removed all references to it.
4700 (main): now calls xnew instead of alloca for portability. 4814 (main): now calls xnew instead of alloca for portability.
4701 (../src/config.h): included only if HAVE_CONFIG_H. 4815 (../src/config.h): included only if HAVE_CONFIG_H.
4702 (const): void definition removed--config.h takes care of it. 4816 (const): void definition removed--config.h takes care of it.
4703 4817
4704 1993-07-08 Francesco Potorti` (pot@cnuce.cnr.it) 4818 1993-07-08 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4705 4819
4706 * etags.c (consider_token): was `==', now is `='. 4820 * etags.c (consider_token): was `==', now is `='.
4707 (consider_token): DEFUNs now treated like funcs in ctags mode. 4821 (consider_token): DEFUNs now treated like funcs in ctags mode.
4708 4822
4709 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed. 4823 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
4746 4860
4747 * Version 19.14 released. 4861 * Version 19.14 released.
4748 4862
4749 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) 4863 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4750 4864
4751 Bring mumbleclean targets into conformance with GNU coding standards. 4865 Bring mumbleclean targets into conformance with GNU coding standards.
4752 * Makefile.in (distclean): Call clean to do most of the work. 4866 * Makefile.in (distclean): Call clean to do most of the work.
4753 Delete aixcc.c and TAGS. 4867 Delete aixcc.c and TAGS.
4754 (realclean): Just call distclean. 4868 (realclean): Just call distclean.
4755 4869
4756 * Makefile.in: Remember, spaces are not tabs. 4870 * Makefile.in: Remember, spaces are not tabs.
4803 4917
4804 * wakeup.c (main): Make when a time_t. 4918 * wakeup.c (main): Make when a time_t.
4805 4919
4806 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) 4920 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4807 4921
4808 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)' instead of 4922 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
4809 `(cd foo ; pwd)' to get the canonical name of a directory; cd 4923 `(cd foo ; pwd)' to get the canonical name of a directory; cd
4810 might fail, and have pwd print out the current directory. 4924 might fail, and have pwd print out the current directory.
4811 4925
4812 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable 4926 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
4813 string-handling functions. 4927 string-handling functions.
4889 5003
4890 * make-path.c (main): Return 0. 5004 * make-path.c (main): Return 0.
4891 5005
4892 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu) 5006 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4893 5007
4894 * Version 19.7 released. 5008 * Version 19.7 released.
4895 5009
4896 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) 5010 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4897 5011
4898 * make-docfile.c (scan_lisp_file): Recognize defalias like fset. 5012 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
4899 5013
4981 5095
4982 * Makefile.in (C_SWITCH_SYSTEM): New variable. 5096 * Makefile.in (C_SWITCH_SYSTEM): New variable.
4983 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the 5097 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
4984 compiler. 5098 compiler.
4985 5099
4986 1993-03-22 Francesco Potorti` (pot@cnuce.cnr.it) 5100 1993-03-22 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4987 5101
4988 * etags.c (YACC): flag added to c_ext. 5102 * etags.c (YACC): flag added to c_ext.
4989 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC. 5103 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
4990 (find_entries): consistently use streq when reasonable. 5104 (find_entries): consistently use streq when reasonable.
4991 (find_entries): a .y file is a yacc file. 5105 (find_entries): a .y file is a yacc file.
4992 (get_C_stab): c_ext becomes c_ext&C_PLPL. 5106 (get_C_stab): c_ext becomes c_ext&C_PLPL.
4993 (C_entries): logical cplpl means c_ext&C_PLPL. 5107 (C_entries): logical cplpl means c_ext&C_PLPL.
4994 (C_entries): logical yacc_rules means we are after the first %%. 5108 (C_entries): logical yacc_rules means we are after the first %%.
4995 (C_entries): added logic for yacc files. 5109 (C_entries): added logic for yacc files.
4996 5110
4997 1993-03-16 Francesco Potorti` (pot@cnuce.cnr.it) 5111 1993-03-16 Francesco Potort,Al(B (pot@cnuce.cnr.it)
4998 5112
4999 * etags.c (C_entries): ':' case moved to the second switch. 5113 * etags.c (C_entries): ':' case moved to the second switch.
5000 (C_entries): do not examine token if structdef==scolonseen. 5114 (C_entries): do not examine token if structdef==scolonseen.
5001 (consider_token): structtag set to null string for enum. 5115 (consider_token): structtag set to null string for enum.
5002 5116
5003 1993-03-12 Francesco Potorti` (pot@cnuce.cnr.it) 5117 1993-03-12 Francesco Potort,Al(B (pot@cnuce.cnr.it)
5004 5118
5005 * etags.c (GET_COOKIE): and related macros removed. 5119 * etags.c (GET_COOKIE): and related macros removed.
5006 (logical): is now int, no more a char. 5120 (logical): is now int, no more a char.
5007 (reg): define deleted. 5121 (reg): define deleted.
5008 (isgood, _gd, notgd): deleted. 5122 (isgood, _gd, notgd): deleted.
5016 All C state machines rewritten. 5130 All C state machines rewritten.
5017 (C_entries): complete rewrite. 5131 (C_entries): complete rewrite.
5018 (condider_token): complete rewrite. 5132 (condider_token): complete rewrite.
5019 (getline): deleted. 5133 (getline): deleted.
5020 5134
5021 1993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT) 5135 1993-03-01 Francesco Potort,Al(B (pot@fly.CNUCE.CNR.IT)
5022 5136
5023 * etags.c (C_entries): Added the quotednl logical variable. 5137 * etags.c (C_entries): Added the quotednl logical variable.
5024 Used for parsing of #define's spanning multiple lines. 5138 Used for parsing of #define's spanning multiple lines.
5025 5139
5026 1993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT) 5140 1993-02-23 Francesco Potort,Al(B (pot@fly.CNUCE.CNR.IT)
5027 5141
5028 * etags.c (C_entries): Save the definedef status even when a 5142 * etags.c (C_entries): Save the definedef status even when a
5029 newline is met inside a string. 5143 newline is met inside a string.
5030 5144
5031 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) 5145 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
5032 5146
5033 * Makefile.in (EXECUTABLES): added rcs-checkin. 5147 * Makefile.in (EXECUTABLES): added rcs-checkin.
5034 5148
5035 * Makefile.in (unlock, relock): New productions. 5149 * Makefile.in (unlock, relock): New productions.
5036 5150
5037 1993-03-16 Paul Eggert (eggert@twinsun.com) 5151 1993-03-16 Paul Eggert (eggert@twinsun.com)
5038 5152
5052 5166
5053 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu) 5167 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5054 5168
5055 * b2m.c (main): Don't exit upon reading a blank line. 5169 * b2m.c (main): Don't exit upon reading a blank line.
5056 5170
5057 1993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT) 5171 1993-03-01 Francesco Potort,Al(B (pot@fly.CNUCE.CNR.IT)
5058 5172
5059 * etags.c (C_entries): New local variable quotednl. Used for 5173 * etags.c (C_entries): New local variable quotednl. Used for
5060 parsing of #define's spanning multiple lines. 5174 parsing of #define's spanning multiple lines.
5061 5175
5062 * etags.c (C_entries): Save the definedef status 5176 * etags.c (C_entries): Save the definedef status
5064 5178
5065 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu) 5179 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5066 5180
5067 * timer.c (notify): Initialize waitfor properly. 5181 * timer.c (notify): Initialize waitfor properly.
5068 5182
5069 1993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT) 5183 1993-02-22 Francesco Potort,Al(B (pot@CNUCE.CNR.IT)
5070 5184
5071 * etags.c (C_entries): Don't reset definedef when a newline inside a 5185 * etags.c (C_entries): Don't reset definedef when a newline inside a
5072 comment is met. 5186 comment is met.
5073 5187
5074 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) 5188 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5393 (TAGS, check): New targets. 5507 (TAGS, check): New targets.
5394 (INSTALL, INSTALLFLAGS): New variables. 5508 (INSTALL, INSTALLFLAGS): New variables.
5395 5509
5396 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu) 5510 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5397 5511
5398 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to 5512 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
5399 `config.emacs' to `configure'. 5513 `config.emacs' to `configure'.
5400 5514
5401 * lib-src/Makefile: Adjusted for renaming of share-lib to etc. 5515 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
5402 * etc/MACHINES: Same. 5516 * etc/MACHINES: Same.
5403 5517
5560 5674
5561 * emacsclient.c: Change usage message. 5675 * emacsclient.c: Change usage message.
5562 5676
5563 1990-08-30 David Lawrence (tale@pogo.ai.mit.edu) 5677 1990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
5564 5678
5565 * emacs.1: Add break before -nw option. 5679 * emacs.1: Add break before -nw option.
5566 5680
5567 1990-08-19 David J. MacKenzie (djm@apple-gunkies) 5681 1990-08-19 David J. MacKenzie (djm@apple-gunkies)
5568 5682
5569 * qsort.c: Replace with GNU version. 5683 * qsort.c: Replace with GNU version.
5570 5684
5767 Check that outfile is in a writable directory. 5881 Check that outfile is in a writable directory.
5768 On fatal error, delete the lock file. 5882 On fatal error, delete the lock file.
5769 5883
5770 1988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu) 5884 1988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
5771 5885
5772 * env.c: Add decl for my-index 5886 * env.c: Add decl for my-index
5773 * etags.c (file-entries): .oak => scheme 5887 * etags.c (file-entries): .oak => scheme
5774 5888
5775 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 5889 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5776 5890
5777 * movemail.c: Use `access' to check input and output files. 5891 * movemail.c: Use `access' to check input and output files.
5778 5892
5812 5926
5813 * movemail.c: Do fsync before closing output. 5927 * movemail.c: Do fsync before closing output.
5814 5928
5815 1988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu) 5929 1988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
5816 5930
5817 * movemail.c: Better error message when can't create tempname. 5931 * movemail.c: Better error message when can't create tempname.
5818 This file needs a great deal of extra error-checking and lucid reporting... 5932 This file needs a great deal of extra error-checking and lucid reporting...
5819 5933
5820 1988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu) 5934 1988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5821 5935
5822 * etags.c: Support assembler code for .s and .a files. 5936 * etags.c: Support assembler code for .s and .a files.
5823 (getit): Allow underscore in a tag. 5937 (getit): Allow underscore in a tag.