*** empty log message ***
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
9a007cb7
DL
12002-11-04 Dave Love <fx@gnu.org>
2
3 * Makefile.in (YACC): Deleted.
4
f1b443bf
AS
52002-10-19 Andreas Schwab <schwab@suse.de>
6
7 * Makefile.in (${archlibdir}): Always create $(gamedir).
8 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
9
52402e4f
JB
102002-10-04 Juanma Barranquero <lektu@terra.es>
11
12 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
13
15dab115
MR
142002-09-30 Markus Rost <rost@math.ohio-state.edu>
15
16 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
17 completely.
18
30be2360
SM
192002-09-27 Stefan Monnier <monnier@cs.yale.edu>
20
21 * emacsclient.c: Remove SYSV support.
22 (eval, display): New vars.
23 (longopts): Add --eval and --display.
24 (decode_options): Add -e and -d processing.
25 (print_help_and_exit): Update the usage string.
26 (main): Add support for --eval and --display.
3ecdcd59 27 (main): Always use /tmp and non-qualified hostname.
30be2360 28
4208da83
SM
292002-09-25 Stefan Monnier <monnier@cs.yale.edu>
30
31 * emacsserver.c: Remove.
32
3cf8c6aa
SM
332002-09-17 Stefan Monnier <monnier@cs.yale.edu>
34
35 * emacsclient.c (quote_file_name): Quote \n.
36 (main): Print a final \n when needed.
37
4c6dce51
FP
382002-09-03 Francesco Potorti` <pot@gnu.org>
39
40 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
41 string that cannot be freed.
42
ba88f8eb
FP
432002-08-30 Francesco Potorti` <pot@gnu.org>
44
45 * etags.c (consider_token, C_entries): Switch to C++ parsing when
46 auto-detection is enabled and the `::' qualifier is met.
47 (consider_token, C_entries): Several bugs corrected that tagged
48 some declarations even though --declarations was not used.
49 (plainc): New macro.
50 (C_entries): Use it.
51 (C_entries): Several cosmetic changes.
52 (C_entries): Invalidate the token is some cases.
53
09cd1a74
FP
542002-08-29 Francesco Potorti` <pot@gnu.org>
55
56 * etags.c (C_entries): Corrected a problem with const C++ funcs.
57 (ignoreindent): Renamed from noindentypedefs.
58 (cjava, cplpl): They are now macros instead of local vars.
59
602002-08-28 Francesco Potorti` <pot@gnu.org>
61
62 * etags.c (HTML_labels): Tag ID= also.
63
87046df8
FP
642002-08-27 Francesco Potorti` <pot@gnu.org>
65
66 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
67
8ee14629
FP
68 * etags.c: (HTML_labels): New language HTML.
69 (etags_strcasecmp): Like BSD's, for compatibility.
70 (strcaseeq): Make it into a macro.
71
72 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
73 (linebuffer_init): Renamed from initbuffer. All callers changed.
74 (pattern): Structure renamed to `regexp', member regex renamed to
75 pattern.
76 (node_st): Member pat renamed to regex.
77 (pattern); New member force_explicit_name, for future use. Now
78 always set to true, cannot be reset.
79 (add_regex, regex_tag_multiline, readline): Use it.
80 (main): Free some global structures.
8ee14629 81 (fdesc): New member `written'.
87046df8
FP
82 (readline, process_file): Initialise it.
83 (put_entries): Set it.
84 (main): Use it to create entries for files without tags.
85 (total_size_of_entries): Do not count invalid tags.
87046df8 86
02ce3e80
SM
872002-08-19 Stefan Monnier <monnier@cs.yale.edu>
88
89 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
90 for the function name in the usage info.
91
5fba5c21
CW
922002-07-31 Colin Walters <walters@gnu.org>
93
94 * update-game-score.c (P_): New macro. Use it for all prototypes.
95 (lose): Don't use varargs.
96 (lose_syserr): New function.
97
98 * update-game-score.c: Change all functions to K&R style.
99
712eaee0
AS
1002002-07-30 Andreas Schwab <schwab@suse.de>
101
102 * Makefile.in (localstatedir): New variable.
103
c89ed6ef
PJ
1042002-07-29 Jonathan Kamens <jik@kamens.brookline.ma.us>
105
106 * b2m.pl: Fix regexp for finding return address fields.
107
1e042160
SM
1082002-07-15 Stefan Monnier <monnier@cs.yale.edu>
109
110 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
111
e9b60209
PJ
1122002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
113
02ce3e80 114 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 115
9ee028d2
PJ
1162002-06-26 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
117
118 * b2m.pl: New file.
119
e1af8d40
FP
1202002-06-21 Francesco Potorti` <pot@gnu.org>
121
122 * etags.c: (F_getit, Fortran_functions, Ada_getit, Asm_labels)
123 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
124 (PHP_functions, PHP_functions, Cobol_paragraphs)
125 (Makefile_targets, Postscript_functions, Texinfo_nodes)
126 (prolog_pr, erlang_func, erlang_attribute)
127 (Perl_functions, Perl_functions, Pascal_functions)
128 (TeX_commands, get_tag): Use make_tag instead of pfnote.
129 (get_tag): Prototype changed, all callers changed.
130
ceaeb365
FP
1312002-06-20 Francesco Potorti` <pot@gnu.org>
132
d76132d0
FP
133 * etags.c: Implement implicit tag names, that is, unnamed tags
134 whose name is automatically deduced by etags.el. The advantage is
135 that there is no explicit tag name in most tags, so the size of
136 the tags file is reduced, yet find-tag is able to do a match as
137 accurate as with named tags. See the comment in make_tag for
138 details.
ceaeb365
FP
139 (make_tag): New function (was the disabled function new_pfnote).
140 (make_C_tag): Use it.
141
f175bfff
FP
1422002-06-19 Francesco Potorti` <pot@gnu.org>
143
144 * etags.c (add_regex): Invalid regexp modifiers are ignored.
145 (Makefile_targets): Tag variables unless --no-globals.
146 (LOOP_ON_INPUT_LINES): Serious bug corrected.
147
82ef78b3
FP
1482002-06-13 Francesco Potorti` <pot@gnu.org>
149
150 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
151 (invalidate_nodes): Bug corrected.
152 (print_help): Better help for regexps.
153
7a8940da
JB
1542002-06-13 Juanma Barranquero <lektu@terra.es>
155
156 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
157 font-core.elc.
158
6861f0e3
FP
1592002-06-12 Francesco Potorti` <pot@gnu.org>
160
161 * etags.c: New multi-line regexp and new regexp syntax.
162 (arg_type): at_icregexp label removed (obsolete).
163 (pattern): New member multi_line for multi-line regexps.
164 (filebuf): A global buffer containing the whole file as a string
165 for multi-line regexp matching.
166 (need_filebuf): Global flag raised if multi-line regexps used.
167 (print_help): Document new regexp modifiers, remove references to
168 obsolete option --ignore-case-regexp.
169 (main): Do not set regexp syntax and translation table here.
170 (main): Treat -c option as a backward compatibility hack.
171 (main, find_entries): Init and free filebuf.
172 (find_entries): Call regex_tag_multiline after the regular parser.
173 (scan_separators): Check for untermintaed regexp and return NULL.
174 (analyse_regex, add_regex): Remove the ignore_case argument, which
175 is now a modifier to the regexp. All callers changed.
176 (add_regex): Manage the regexp modifiers.
177 (regex_tag_multiline): New function. Reads from filebuf.
178 (readline_internal): If necessary, copy the whole file into filebuf.
179 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
180
1812002-06-11 Francesco Potorti` <pot@gnu.org>
182
183 * etags.c (add_regex): Better check for null regexps.
184 (readline): Check for regex matching null string.
185 (find_entries): Reorganisation.
186
f0da41a6
FP
1872002-06-07 Francesco Potorti` <pot@gnu.org>
188
189 * etags.c (scan_separators): Support all character escape
190 sequences supported by Gcc.
02ce3e80 191 (find_entries): Rewind unconditionally.
f0da41a6
FP
192 (find_entries): Do not call language functions directly, now calls
193 itself.
194 (find_entries): Do general initialisations here.
195 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
196 (Ada_getit, Pascal_functions, Pascal_functions)
197 (prolog_skip_comment): Do not do them here.
198 (readline_internal): Increment lineno here.
199 (readline): Conditionally undo readline_internal increment.
200 (readline): Do not return a value.
201
5526f1f6
FP
2022002-06-06 Francesco Potorti` <pot@gnu.org>
203
97b90b0a
FP
204 * etags.c New option --parse-stdin=FILE.
205 (enum arg_type): New label at_stdin.
206 (STDIN): New constant.
207 (parsing_stdin): New flag.
208 (longopts): New option --parse-stdin=NAME.
209 (print_help): Document it.
210 (main): Handle it.
211 (process_file): Split into process_file and process_file_name.
212 (process_file_name): New function.
213
214 * etags.c Improvements and bug squashing in TeX handling.
215 (TeX_commands): Skip comments.
5526f1f6
FP
216 (TEX_defenv): Now contains more contructs.
217 (TEX_cmt): Make it a static char and move it before TeX_commands.
218 (TeX_commands): Shorten the tag to the brace after the name.
219 (TeX_commands): Names now include the initial backslash.
220 (TeX_commands): Names do not include numeric args #n.
221 (TeX_commands): Correct line char number in tags.
222 (TEX_tabent, TEX_token): Deleted.
223 (TeX_commands, TEX_decode_env): Streamlined.
224
50496bd9
FP
2252002-06-05 Francesco Potorti` <pot@gnu.org>
226
227 * etags.c (main): Avoid a buffer overrun with sprintf.
228
a71867c5
RS
2292002-05-30 Richard M. Stallman <rms@gnu.org>
230
231 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
232 (LIBS_MOVE): Renamed from MOVE_LIBS.
233
b7e67db6
PE
2342002-05-26 Paul Eggert <eggert@twinsun.com>
235
236 Reinstate the following change from 2002-03-22, which was
237 inadvertently lost on 2002-04-13.
238
239 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
240 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
241 the latter usage.
242
5f226e2c
EZ
2432002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
244
245 * pop.c (socket_connection): Move the code to resolve the POP
246 host right before trying to connect with it.
247
5167cfda
CW
2482002-04-28 Colin Walters <walters@verbum.org>
249
250 * Makefile.in (${archlibdir}): Don't conditionalize on
251 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
252 or not we have access to the specified game user.
50496bd9 253
5167cfda
CW
254 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
255 (main): New argument -d, for specifying directory.
256 (usage): Document.
02ce3e80 257 (get_user_id): Compute.
5167cfda
CW
258 (get_home_dir): Deleted.
259 (get_prefix): New function, taken from main.
260 (main): Check whether or not we are running setuid. Move prefix
261 computation to get_prefix. Don't call getpwent; we don't need to
262 any more. Instead, move it to get_user_id().
263
beedfcf1
PJ
2642002-04-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
265
266 * ebrowse.c (skip_initializer): Return void.
267
973c3c87
CW
2682002-04-23 Colin Walters <walters@verbum.org>
269
270 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
271 space.
272
8378bcd3
FP
2732002-04-22 Francesco Potorti` <pot@gnu.org>
274
275 * etags.c: (last_node): Make it a global variable.
276 (process_file): Print the tags from the nodes as soon as
277 possible, and delete the nodes. This brings down the memory
278 occupancy as etags to almost the same level as when the #line
279 directives were not parsed.
280 (free_fdesc): New function.
281 (find_entries): Use it.
282 (invalidate_nodes): In etags mode, do not just mark the nodes as
283 invalid, do delete them.
284
c901ceff
GM
2852002-04-21 Gerd Moellmann <gerd@gnu.org>
286
287 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
288
c42d6dbd
EZ
2892002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
290
291 * update-game-score.c: Move config.h before the other headers, to
292 avoid compiler warnings.
293
090416ca
FP
2942002-04-16 Francesco Potorti` <pot@gnu.org>
295
296 * etags.c (find_entries): Bug fix in list management.
297
5dab24c1
FP
2982002-04-15 Francesco Potorti` <pot@gnu.org>
299
300 * etags.c (get_language_from_filename): Add one argument.
301 (strcaseeq): New function.
302 (get_language_from_filename): Use it to do a case insenstitive
303 comparison if called with appropriate args.
304 (find_entries): Try with case insensitive match.
305 (process_file): Bug fixed.
306
c150db23
FP
3072002-04-13 Francesco Potorti` <pot@gnu.org>
308
309 * etags.c (find_entries): Delete tags previously obtained from
310 file xxx.c's #line directives when parsing file xxx.y. This is
311 generally done for automatically generated files containing
312 #line directives. This handles the case when xxx.y is tagged
313 before xxx.c, and the entries of xxx.c pointing to xxx.y should
314 be discarded.
315 (language): Added the metasource member. Initializers changed.
316 (invalidate_nodes): New function.
317 (readline): Discard lines after having found a #line
02ce3e80 318 directive pointing to an already tagged file. This handles the
c150db23
FP
319 case when xxx.y is tagged before xxx.c, and the entries of
320 xxx.c pointing to xxx.y should be discarded.
321 (fdesc): New structure for keeping track of input files.
322 (fdesc): Remove `file' member (a string) and use instead a pointer
323 to a file description structure.
02ce3e80
SM
324 (curfile, curfiledir, curtagfname, curlang, nocharno)
325 (forced_lang): Global variables removed in favor of fdhead and
c150db23
FP
326 curfdp, pointers to file description strucures.
327 (longopts, main, print_help): Use the CTAGS conditional to include
328 or exclude options that work on etags or ctags only.
02ce3e80
SM
329 (process_file, find_entries, pfnote, add_node, put_entries)
330 (readline): Use fdhead and curfdp.
c150db23
FP
331 (process_file, find_entries): Do not take an arg string, all
332 callers changed.
333
334 * etags.c (longopts, print_help, main): Test CTAGS to disallow
335 options that are not right for either etags or ctags.
336
337 * etags.c (number_len, total_size_of_entries): Define them also
338 in CTAGS mode, because gcc does not compile all refs away.
339
e9d1f248
CW
3402002-04-14 Colin Walters <walters@debian.org>
341
342 * update-game-score.c (lock_file): If the lock file is older than
343 an hour, delete it. Reset attempts to zero if we have to break
344 the lock.
345
7605f1bd
AS
3462002-04-14 Andreas Schwab <schwab@suse.de>
347
348 * update-game-score.c (read_score): Fix type of second parameter
349 of getdelim to be of type size_t instead of int. Use 0 instead of
350 ESUCCES.
351
e82defd1
CW
3522002-04-10 Colin Walters <walters@verbum.org>
353
b9b966e0
CW
354 * update-game-score.c: (toplevel): Include stdarg.h.
355 (MAX_DATA_LEN, MAX_SCORES): New.
356 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
357 default to ~/.emacs.d/games.
358 (get_user_id): Don't zero uid in the case where we can't get the
359 username.
360 (lose): New function.
361 (main): Actually use `max', and default it to MAX_SCORES.
362 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
363 function.
364 (read_score): Handle the case of reading unamelen characters, then
365 finishing. Use mktemp if mkstemp isn't available.
366 (lock_file, unlock_file): Delete unused versions.
367 (lock_file): Always sleep, even if we unlinked the lock file.
368
e82defd1
CW
369 * Makefile.in (gamedir, gameuser): New variables.
370 (toplevel, UTILITIES): Add update-game-score.
371 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
372
5795b420
CW
3732002-04-07 Colin Walters <walters@verbum.org>
374
375 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
376 (get_user_id): Take struct passwd as an argument.
377 (get_home_dir): New function.
378 (main): Read in user information here. Discover home directory if
379 necessary.
380 (read_score): Trim newline only in `getline' case.
381
cd553ffb 3822002-04-05 Colin Walters <walters@debian.org>
c150db23 383
cd553ffb
CW
384 * update-game-score.c (toplevel): Include pwd.h.
385 (struct score_entry): Add username field.
386 (push_score): Use it.
387 (get_user_id): New function.
388 (main): Don't malloc excessively.
389 (main): Use username field.
390 (read_score): Read it.
391 (push_score): Handle it.
392 (write_scores) Write it.
c150db23
FP
393 (read_score): Handle arbitrary length data.
394
b74bd4a3
EZ
3952002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
396
397 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
398
fa8bc89d
GM
3992002-03-29 Gerd Moellmann <gerd@gnu.org>
400
401 * ebrowse.c (add_declarator, skip_initializer): New functions.
402 (declaration): Use them.
403
dd87b4cc
JR
4042002-03-28 Jason Rumney <jasonr@gnu.org>
405
406 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
407
cd553ffb
CW
4082002-03-27 Colin Walters <walters@debian.org>
409
410 * update-game-score.c: New file.
411
dfef6d49
PE
4122002-03-22 Paul Eggert <eggert@twinsun.com>
413
414 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
415 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
416 the latter usage.
417
4fff90e4 4182002-03-12 Francesco Potorti` <pot@gnu.org>
a13d6523 419
4fff90e4 420 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
421 (Python_functions, PHP_functions): Name tags, for ctags' sake.
422 (TeX_commands): Name tags. Correction of old disabled code.
423
424 * etags.c (curfiledir, curtagfname): New global variables.
425 (process_file): Initialise them.
426 (readline): Canonicalize the name found in #line directive.
893a741e 427
4fff90e4 4282002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 429
893a741e
JR
430 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
431 compilers that don't optimize out dead code.
432
51aeded3
FP
4332002-03-05 Francesco Potorti` <pot@gnu.org>
434
435 * etags.c: Honour #line directives.
436 (no_line_directive): New global var; set it for old behaviour.
437 (main): Remove some #ifdef in the getopt switch.
438 (add_node, put_entries): Code added to merge different chunks of
439 nodes referring to the same file. Currently the tags are just
440 appended, without any check for duplicates.
441 (Perl_functions): Do not special case ctags.
442 (readline): Identify #line directives and do the right thing.
443 (nocharno, invalidcharno): New global vars.
444 (process_file): Reset nocharno.
445 (readline): Set nocharno.
446 (pfnote): Read nocharno and maybe put invalidcharno in node.
447 (total_size_of_entries, put_entries): Use invalidcharno.
448
449 * etags.c: Keep the whole tag table in memory, even in etags mode.
450 (main): Call put_entries here even in CTAGS mode.
451 (main, process_file): Check the return values of fclose and pclose.
452 (process_file): Do not call put_entries after parsing each file.
453 (process_file): Canonicalise file names even for ctags.
454 (process_file): Set curfile here...
455 (find_entries): ... not here any more.
456 (add_node): In etags mode, build a linked list of entries (on
457 right pointer) for each file, and link the first entry of each
458 file on left nodes.
459 (put_entries): Print here the name of the file.
460 (put_entries): Print the entries starting from the first file.
c150db23 461 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
462 mode, make the second work only on the right nodes.
463
464 * etags.c: Make all global variables static.
465
50ce1f62
JB
4662002-02-25 Juanma Barranquero <lektu@terra.es>
467
468 * makefile.w32-in (lisp): Add missing backslash.
469
82a399d2
JR
4702002-02-24 Jason Rumney <jasonr@gnu.org>
471
472 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
473 using .elc files.
474 (lisp): Sync with list in src/Makefile.in
475 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
476
a279c920
PE
4772002-02-10 Paul Eggert <eggert@twinsun.com>
478
479 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
480 disallows the old syntax.
481
0caa685d
PE
4822002-02-03 Paul Eggert <eggert@twinsun.com>
483
484 * rcs2log(Copyright): Update to 2002.
485 (AWK, TMPDIR): Work around portability problem in broken shells that
486 don't understand `: ${VAR=val}'.
487 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
488 Prefer the new -k option to the traditional +M -N option.
489
03950b5b
PJ
4902002-01-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
491
492 * b2m.c (main): Parenthesize assignment when used as truth value
493 to prevent gcc warnings.
494
495 * fakemail.c: Include <config.h>.
496
2f8fe2f4
PJ
4972001-12-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
498
499 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
500 * yow.c: Include <config.h>.
501
a60e4de9
FP
5022001-12-21 Francesco Potorti` <pot@gnu.org>
503
504 * etags.c (Perl_functions): Tag packages and use them in sub tags.
505 (get_tag): Return a pointer to the tag that is found.
506
507 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
508 (F_takeprec): Renamed from takeprec. All callers changed.
509 (F_getit): Renamed from getit. All callers changed.
510 (nocase_tail): Renamed from tail. All callers changed.
511 (Ada_getit): Renamed from adagetit. All callers changed.
512 (L_getit): Simplified by using get_tag.
513 (Perl_functions, Postscript_functions, erlang_attribute): Use the
514 modified LOOKING_AT.
515 (notinname): Removed '[' and added ')' to the recognised chars.
516 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
517 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
518 Clarified, using strneq or notinname.
519 (L_isdef, L_isquote): Removed.
520 (Lisp_functions, L_getit): Clarified.
521
522 * etags.c: (P_): Renamed to __P for consistency with config.h.
523 [HAVE_CONFIG_H]: Let config.h deal with __P.
524 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
525 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
526 gperf code needs it.
527 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs).
528 [HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs).
529 (xmalloc, xrealloc): Use PTR instead of long *.
530 (bool): Make it a define, not a typedef, for C++ compilers.
531 (pattern): Members renamed to avoid name clash in some C++ compilers.
532 (get_language_from_langname): Use const argument.
533
c95eaa61
PJ
5342001-12-22 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
535
536 * makefile.nt, makefile.w32-in: Remove mocklisp files.
537
69bfc389
PJ
5382001-12-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
539
b8509940
PJ
540 * emacsserver.c: Conditionally include config.h.
541
594aa066
PJ
542 * fakemail.c: Likewise.
543
e69233c2
PJ
544 * emacsclient.c: Include "config.h", not <../src/config.h>.
545 (main): Parenthesize assignment when used as truth value to
546 prevent gcc warnings.
547
69bfc389
PJ
548 * ebrowse.c: Include stdlib.h and string.h conditionally.
549
e4e34e31
EZ
5502001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
551
552 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
553
ffb7c9c6
PJ
5542001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
555
556 * test-distrib.c: Fix previous change.
557
fb5aa7ac
DL
5582001-12-18 Dave Love <fx@gnu.org>
559
560 * test-distrib.c: Conditionally include fcntl.h.
561
562 * fakemail.c: Include "config.h", not <../src/config.h>.
563 (_XOPEN_SOURCE): Define as 500.
564
565 * emacsserver.c: Include "config.h", not <../src/config.h>.
566
567 * cvtmail.c: Include config.h, stdlib.h.
568 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
569
570 * yow.c: Conditionally include various headers. Use "epaths.h",
571 not <../src/epaths.h>.
572 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
573
e94a3679
FP
5742001-12-12 Francesco Potorti` <pot@gnu.org>
575
13dc0576 576 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
577 (LOOKING_AT): New macro.
578 (Perl_functions, Python_functions, PHP_functions)
579 (Scheme_functions, Texinfo_nodes): Use it.
580 (Perl_functions): Use strneq.
581 (prolog_pred): Renamed to prolog_pr.
13dc0576 582 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 583 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 584 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
585 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
586
34e39c95
RS
5872001-12-11 Richard M. Stallman <rms@gnu.org>
588
589 * Makefile.in (clean): Don't delete ../etc/DOC*.
590
296071e7
PJ
5912001-12-11 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
592
593 * COPYING: Moved back.
594
76054cc8
AI
5952001-11-30 Andrew Innes <andrewi@gnu.org>
596
e94a3679
FP
597 * makefile.w32-in (FACE_SUPPORT):
598 (MOUSE_SUPPORT):
599 (FLOAT_SUPPORT):
600 (WINNT_SUPPORT):
76054cc8
AI
601 (lisp): Reference .el files instead of .elc files, to simplify
602 bootstrapping.
603 ($(DOC)): Change dependency to just `make-docfile'.
604
0142178a
PJ
6052001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
606
607 * COPYING: Removed.
608
e8d6a09b
PE
6092001-11-28 Paul Eggert <eggert@twinsun.com>
610
611 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
612
613 The following changes are derived from suggestions by Bob Chapman
614 <rechapman@compuserve.com>.
615
616 * rcs2log (printlogline): Also allow tab and newline to separate
617 '(function):' from the rest of a comment.
618 (reformat the sorted log entries): Require date and author to
619 match the clumpname.
620
9a190096
GM
6212001-11-16 Gerd Moellmann <gerd@gnu.org>
622
623 * ebrowse.c (matching_regexp): Escape '\\'.
624
8ec1b917
PJ
6252001-11-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
626
627 * Makefile.in: Add support for --program-prefix, --program-suffix
628 and --program-transform-name options.
629
6d8f7d5d
RS
6302001-11-03 Richard M. Stallman <rms@gnu.org>
631
632 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
633
634 * movemail.c (popmail): Always pass two args to `error'.
635
84e70f78
KR
6362001-10-24 Ken Raeburn <raeburn@gnu.org>
637
638 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
639 -lhesiod and maybe -lresolv.
640 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
641 support if it's available.
642
386ca361
MB
6432001-10-21 Miles Bader <miles@gnu.org>
644
a3b10252
MB
645 * make-docfile.c (struct rcsoc_state): New type.
646 (read_c_string_or_comment): Add SAW_USAGE
386ca361 647 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
648 Use a variable of type `rcsoc_state' to hold most of our state.
649 (put_char): Add STATE parameter, and remove all other parameters
650 except CH. Use STATE to get access to all needed state.
651 (scan_keyword_or_put_char): New function.
386ca361
MB
652 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
653 Don't output a usage-string if there was one in the doc-string.
654
71431a0e
GM
6552001-10-20 Gerd Moellmann <gerd@gnu.org>
656
6aa97356 657 * (Version 21.1 released.)
71431a0e 658
37a9305e
PJ
6592001-10-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
660
661 * b2m.c: Properly spell the name of Emacs.
662
945220bd
MB
6632001-10-17 Miles Bader <miles@gnu.org>
664
665 * make-docfile.c (put_char): New function.
666 (read_c_string_or_comment): Strip trailing spaces and newlines.
667
14242528
MB
6682001-10-16 Miles Bader <miles@gnu.org>
669
670 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
671 comments [with `doc:' keyword prefix].
672
9f5eb4a3
GM
6732001-10-15 Gerd Moellmann <gerd@gnu.org>
674
675 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
676 in a C doc comment.
677
e641b454
GM
6782001-10-13 Gerd Moellmann <gerd@gnu.org>
679
680 * make-docfile.c (read_c_string_or_comment): Renamed from
681 read_c_string. Add parameter COMMENT. Read C-style comments.
682 (scan_c_file): Handle doc strings in C comments.
683
967d7793
AI
6842001-10-12 Andrew Innes <andrewi@gnu.org>
685
686 * makefile.nt (ALL): Do not include fakemail.
687
688 * makefile.w32-in (install): Do not copy fakemail.
689
d682756a
JR
6902001-10-10 Jason Rumney <jasonr@gnu.org>
691
692 * makefile.w32-in (ALL) Do not include fakemail.
693
694 * makefile.nt (install) Ditto.
695
14a3dff7
GM
6962001-10-09 Gerd Moellmann <gerd@gnu.org>
697
698 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 699
95bc7904 700 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 701
f98d41f5
PJ
7022001-10-07 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
703
704 * profile.c: Include config.h, not ../src/config.h.
705 Include systime.h, not ../src/systime.h.
706
ab952a4f
GM
7072001-10-05 Gerd Moellmann <gerd@gnu.org>
708
709 * Branch for 21.1.
dff28924 710
12c64503
GM
7112001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
712
713 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
714 ALIASEE to help work with namespace aliases.
715 (struct sym): Remove struct member NAMESP_ALIASES.
716 (namespace_alias_table): New variable.
717 (make_namespace): Add parameter CONTEXT.
718 (check_namespace): New function.
719 (find_namespace): Add parameter CONTEXT.
720 (check_namespace_alias): New function.
02ce3e80
SM
721 (register_namespace_alias): Change type of parameter OLD_NAME.
722 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
723 (check_namespace): New function.
724 (enter_namespace): Call find_namespace with CONTEXT parameter.
725 (match_qualified_namespace_alias): New function.
02ce3e80
SM
726 (parse_qualified_ident_or_type): Fixed typo in comment.
727 While parsing qualified ident or type update namespace context and
12c64503
GM
728 restore it on exit.
729 (parse_qualified_param_ident_or_type): Fixed typo in comment.
730 (globals): Changed handling of namespace aliases.
731 (version): Added year 2001.
732
990e1190
FP
7332001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
734
735 * etags.c (analyse_regex): If regex_arg is NULL, return
736 immediately after a call to free_patterns.
737
f2e7e23e
AS
7382001-09-05 Paul Eggert <eggert@twinsun.com>
739
740 * rcs2log (Help, mainline code): Add new option -L FILE.
741 (Copyright): Update year.
02ce3e80
SM
742 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
743 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
744 C locale.
745 (mainline code): Handle nonstandard -u option differently, by
746 transforming it to standard form. Check for "Working file: ", not
747 "Working file:". Allow file names with spaces.
748 (SOH, rlogfile): New shell vars.
dff28924 749 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
750 rlogfile.
751
752 Append ';;' to the last arm of every case statement, for
753 portability to ancient broken BSD shells.
754
02ce3e80 755 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
756 (pository): New var. This fixes some bugs where repositories are
757 remote, or have trailing slashes.
02ce3e80 758 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 759 about that possibility.
dff28924 760 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 761 the output.
dff28924 762
75c911eb
EZ
7632001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
764
765 * ebrowse.c (SEEK_END): #define if not defined by system headers.
766 Suggested by Dave Love <d.love@dl.ac.uk>.
767
5ae10f4a
EZ
7682001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
769
770 * makefile.nt (lisp): Synchronize with src/Makefile.in.
771 * makefile.w32-in (lisp): Ditto.
772
0e4011d8 7732001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
774
775 * grep-changelog (parse_changelog): Remove unused local variable.
776
777 * grep-changelog (main): Add new option --reverse.
778 (print_log): Use it.
779 (parse_changelog): Use it.
780
3c88ae74
GM
7812001-07-20 Gerd Moellmann <gerd@gnu.org>
782
783 * grep-changelog: Remove RCS Id keyword.
784
41848daa
GM
7852001-07-20 Juanma Barranquero <lektu@terra.es>
786
6e07c0a5
GM
787 * grep-changelog (parse_changelog): Add tests for defined values
788 to quiet warning from Perl 5.005 or above.
177ab8ce 789 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
790 argument to prevent duplicate headers.
791
792 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 793
467f1209
GM
7942001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
795
796 * emacsclient.c (print_help_and_exit): Fix help message for
797 +LINE:COLUMN option.
798
7992000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 800
467f1209
GM
801 * emacsclient.c (main): Add support for +LINE:COLUMN command line
802 argument.
803
bb24c64f
GM
8042001-07-16 Gerd Moellmann <gerd@gnu.org>
805
806 * ebrowse.c (main): Check that the output file exists and
807 is non-empty if invoked with `--append'.
808
fa829470
FP
8092001-05-14 Francesco Potorti` <pot@gnu.org>
810
e335b66a
GM
811 * etags.c (add_regex): Reset the whole newly allocated pattern
812 buffer instead of the individual members. It's safer and works
813 with Xemacs.
fa829470 814
e335b66a 815 * etags.1: Markups corrected.
fa829470 816
6da5c7da
GM
8172001-05-08 Gerd Moellmann <gerd@gnu.org>
818
02ce3e80 819 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 820
efbecf9d
GM
8212001-05-03 Gerd Moellmann <gerd@gnu.org>
822
823 * ebrowse.c (globals): Fix handling of namespace aliases.
824
f4976ebc
EZ
8252001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
826
827 * etags.c (print_help): Enclose the regexp in the help text
828 example in quotes.
829
23431241
DL
8302001-04-05 Dave Love <fx@gnu.org>
831
832 * emacsclient.c (fail): Don't return a value.
fa829470 833 (main): Cast uid values for sprintf.
23431241 834
476bf681
GM
8352001-04-03 Gerd Moellmann <gerd@gnu.org>
836
b3f6107b
GM
837 * emacsclient.c (fail, main): Don't use implicit int return type.
838
476bf681
GM
839 * b2m.c (main): Always return a value.
840
ef53d75e
GM
8412001-03-02 Gerd Moellmann <gerd@gnu.org>
842
843 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
844 freshly allocated object in *LAST_ID.
845 (read_line): Accept \r\n line endings.
846
425de386
AI
8472001-02-24 Andrew Innes <andrewi@gnu.org>
848
849 * makefile.w32-in: Fix copyright notice.
850
f55ae599
FP
8512001-02-23 Francesco Potorti` <pot@gnu.org>
852
853 * etags.c (enum sym_type): New label st_C_template.
854 (gperf input): Use it for switching to C++ from C.
855 (consider_token): Do it.
c2a642c0
FP
856 (C_entries): Initialise typdefcblev to quiet compilers.
857 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 858
f6839838
AI
8592001-02-22 Andrew Innes <andrewi@gnu.org>
860
861 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
862 VMS header files.
863 ($(BLD)\profile.obj): Ditto.
864
865 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
866 VMS header files.
867 ($(BLD)/profile.$(O)): Ditto.
868
193fba87
AI
8692001-02-05 Andrew Innes <andrewi@gnu.org>
870
871 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
872 invocation of make-docfile, to work with Windows 2000.
873
30526cc6
DL
8742001-01-31 Dave Love <fx@gnu.org>
875
876 * etags.c (in_word_set): Use `static' in definition (for pcc).
877
8f79fe72
FP
8782001-01-31 Francesco Potorti` <pot@gnu.org>
879
880 * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
881 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
882 (C_entries): Tag token renamed to still_in_token because sunos4
883 pcc wants to expand it as the token() macro even though it has no
884 arguments.
885
914d7258
AI
8862001-01-30 Andrew Innes <andrewi@gnu.org>
887
888 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
889 bug in the Mingw32 assert.h header file.
890
b28e26be
FP
8912001-01-30 Francesco Potorti` <pot@gnu.org>
892
893 * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
894 #define it for the sake of Xemacs.
895 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
896 HAVE_CONFIG_H. This change only affects a standalone etags.
897 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
898 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
899 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
900 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
901 WINDOWSNT, as this is the correct way to use it.
902
8c463abe
FP
9032001-01-28 Francesco Potorti` <pot@gnu.org>
904
905 * etags.c: Be capable to parse nested struct-like structures.
906 (structdef, structtag): Struct state machine revisited.
907 (struct tok): Revisited.
908 (cstack, nestlev, instruct): New struct and macros.
909 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 910 for dealing with nested class names.
8c463abe
FP
911 (consider_token, make_C_tag, C_entries): Many changes for dealing
912 with arbitrarily nested structures.
913 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
914 (C_entries): Consider templates in C++.
915 (sym_type): New constant st_C_class for detecting "class" also in
916 C mode.
917 (C_AUTO): New macro for automatic detection of C++.
918 (consider_token): Automatic set C++ mode.
919 (C_entries): New security check for yacc.
920 (print_language_names, print_help): Mention the autodetect
921 feature, do not show help for the -C option, now mostly useless.
922 (C_entries): Tag C++ forward declarations if --declarations.
923 (C_entries): Don't be fooled by things like XDEFUN.
924 (consider_token): Discard asm pseudo function.
925
e26f9ced
EZ
9262001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
927
928 * etags.c: Add a coding: tag.
929
a47b7816
GM
9302001-01-26 Gerd Moellmann <gerd@gnu.org>
931
8c463abe 932 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
933 New variables.
934 (matching_regexp): Use them instead of static variables in
935 function scope.
936
7df65e91 9372001-01-25 Francesco Potorti` <pot@gnu.org>
d22a24fa
FP
938
939 * etags.c (struct tok): Renamed from struct token.
940 (token): Renamed from tok.
941 (structtype): Make it a local variable.
942 [DEBUG]: Use assert.
943 (xrnew): Change the synopsis.
944 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
945 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 946 (token): Buffer renamed to line.
d22a24fa
FP
947 (C_entries): Three calls to inibuffer moved here from main.
948 (C_entries): Removed all references to var methodlen, delete it.
949 (linebuffer_setlen): Was grow_buffer, now also sets len.
950 (consider_token, C_entries, Pascal_functions): Use it.
951 (C_entries): Preventing problems relative to extern "C".
952 (C_entries): Can tag more than one variable or func separated by
953 comma when --declarations is used.
954 (C_entries): More accurate tagging of members and declarations.
955 (yacc_rules): Was global, made local to C_entries.
956 (next_token_is_func): Removed.
957 (fvdef): New constants fdefunkey, fdefunname.
958 (consider_token, C_entries): Use them.
959 (C_entries): Build proper lisp names for Emacs DEFUNs.
960
21c2bbe0
GM
9612001-01-22 Gerd Moellmann <gerd@gnu.org>
962
963 * ebrowse.c (xfree): New function.
964 (member, declaration, globals): Use xmalloc instead of alloca.
965
7df65e91 9662001-01-15 Francesco Potorti` <pot@gnu.org>
83be933c
FP
967
968 * etags.c (print_language_names): Print filenames in addition to
969 suffixes.
970
47df1a5e
EZ
9712001-01-14 Francesco Potorti` <pot@gnu.org>
972
973 * etags.c (get_language_from_langname): Renamed from
974 get_language_from_name.
975 (get_language_from_filename): Renamed from
02ce3e80 976 get_language_from_suffix. Now first looks for the complete file name.
47df1a5e
EZ
977 (language): New member char **filenames.
978 (Makefile_filenames): List of possible filenames for makefiles.
979 (lang_names): Added a NULL member for every entry, added an entry
980 for makefiles.
13dc0576 981 (Makefile_targets): New function.
47df1a5e
EZ
982 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
983 it conformant to the style of the rest of the code.
984
291c7e74
GM
9852001-01-13 Gerd Moellmann <gerd@gnu.org>
986
987 * make-docfile.c (write_c_args): Print newlines as spaces.
988
0dac6924
AI
9892001-01-06 Andrew Innes <andrewi@gnu.org>
990
991 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
992 of *.pdb.
993
3e99d3b4
GM
9942001-01-03 Paul Eggert <eggert@twinsun.com>
995
996 * lib-src/rcs2log: Avoid security hole allowing attacker to
997 cause user of rcs2log to overwrite arbitrary files, fixing
998 a bug reported by Morten Welinder.
999
1000 Don't put "exit 1" at the end of the exit trap; it's
1001 ineffective in POSIX shells.
1002
d6bb0c0d
GM
10032001-01-02 Gerd Moellmann <gerd@gnu.org>
1004
02ce3e80
SM
1005 * ebrowse.c (yyerror): Changed to take two arguments.
1006 Prototype added. Callers changed.
d6bb0c0d 1007
d5c00476 10082001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
1009
1010 * ebrowse.c (enter_namespace, main): Cast variables to shut up
1011 compiler warnings.
1012 (yyerror): Change parameter declarations to be of type long, so
1013 that they can take pointers on 64-bit platforms.
1014
1015 * emacsclient.c (main): Remove unused local variable statbfr.
1016 (main) <homedir>: Make its declaration conditional on
1017 SERVER_HOME_DIR, to avoid compiler warnings.
1018
1019 * emacsserver.c (main) <homedir>: Make its declaration conditional
1020 on SERVER_HOME_DIR, to avoid compiler warnings.
1021
1022 * fakemail.c (readline): Cast buffer to "long *" to pacify
1023 over-zealous compilers.
1024
7c89ea61
EZ
10252000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
1026
1027 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
1028
a6768cc5
GM
10292000-12-15 Gerd Moellmann <gerd@gnu.org>
1030
1031 * ebrowse.c (operator_name): Cast argument of isalpha to
1032 unsigned char.
1033
1034 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
1035 Use them throughout instead of ctype functions/macros.
1036 (lowcase): Cast to unsigned char.
1037 (UPCASE): New macro.
1038 (canonicalize_filename): Use UPCASE instead toupper.
1039
1040 * fakemail.c (get_keyword): Make sure that isspace and
1041 similar aren't called with a negative argument.
1042
70de49cc
DL
10432000-12-13 Dave Love <fx@gnu.org>
1044
1045 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
1046
4e8b894c
AI
10472000-12-06 Andrew Innes <andrewi@gnu.org>
1048
1049 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
1050 don't know the real version, and I can't seem to get the quoting
1051 right in all circumstances.
1052
1053 * ebrowse.c (VERSION): Provide default definition, like etags.c
1054 does, because Windows build can't snarf this from version.el.
1055
88257bc8
AI
10562000-11-30 Andrew Innes <andrewi@gnu.org>
1057
1058 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
1059 (install): Ditto.
1060
d19249e7
JR
10612000-11-23 Jason Rumney <jasonr@gnu.org>
1062
1063 * makefile.w32-in: Add targets for ebrowse.exe.
1064 (LOCAL_FLAGS): Add -DVERSION flag.
1065
7df6adc3
DL
10662000-09-25 Dave Love <fx@gnu.org>
1067
1068 * sorted-doc.c: Include config.h.
1069 [!HAVE_STDLIB_H]: Declare malloc.
1070
fe83b953
AI
10712000-09-14 Andrew Innes <andrewi@gnu.org>
1072
1073 * makefile.w32-in: Revert to Unix line endings.
1074
517699ca
DL
10752000-09-04 Dave Love <fx@gnu.org>
1076
1077 * movemail.c (index, rindex): Prototype conditionally.
1078
f8803e97
AI
10792000-09-03 Andrew Innes <andrewi@gnu.org>
1080
1081 * makefile.w32-in: Change to DOS line endings.
1082
f72adc12
EZ
10832000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
1084
4034f3a8 1085 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
1086 [!F_OK]: Provide default definitions only after including both
1087 fcntl.h and unistd.h.
1088
f678f592
DL
10892000-08-29 Dave Love <fx@gnu.org>
1090
1091 * movemail.c: Revert previous change.
1092
5b671d04
EZ
10932000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
1094
1095 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
1096
6fa86045
DL
10972000-08-28 Dave Love <fx@gnu.org>
1098
1099 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
1100 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
1101
746d9caf
AI
11022000-08-22 Andrew Innes <andrewi@gnu.org>
1103
1104 * ntlib.h (WIN32): Remove unnecessary definition.
1105 (sleep): Make argument unsigned long.
1106 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
1107
1108 * ntlib.c (sleep): Make argument unsigned long.
1109
1110 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
1111
1112 * makefile.w32-in: New file.
1113
3b541489
EZ
11142000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
1115
1116 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
1117 letter only if it is a drive letter.
1118
e5acf0ca
GM
11192000-07-14 Gerd Moellmann <gerd@gnu.org>
1120
02ce3e80 1121 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
1122
1123 * etags.c (xmalloc, xrealloc): Make externally visible, for use
1124 by alloca.o.
1125
02ce3e80 1126 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 1127
4b92c49a
GM
11282000-07-10 Gerd Moellmann <gerd@gnu.org>
1129
1130 * ebrowse.c (yylex): Accept string literals with newlines in them.
1131 (process_pp_line): Handle case of string literal with newline
1132 in it in replacement text, which counts as continuing the
1133 replacement text in GNU C.
1134
831a6cb0
GM
11352000-07-02 Gerd Moellmann <gerd@gnu.org>
1136
1137 * ebrowse.c (token_string): Add missing tokens.
1138 (parm_list): Handle case of qualified pointers.
1139
53245ee2
DL
11402000-06-23 Dave Love <fx@gnu.org>
1141
1142 * ebrowse.c: Move config.h before other includes (which may use
1143 feature tests).
1144
dcbf2cd2
JM
11452000-06-14 Jim Meyering <meyering@lucent.com>
1146
1147 * grep-changelog: Fix typos in comments. Remove trailing blanks.
1148
f1c7754a
JR
11492000-06-11 Jason Rumney <jasonr@gnu.org>
1150
1151 * makefile.nt: Add targets for ebrowse.
1152
1153 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
1154 compare filenames.
1155
5f1aea9a
GM
11562000-06-06 Gerd Moellmann <gerd@gnu.org>
1157
1158 * ebrowse.c (ymalloc): Renamed from xmalloc.
1159 (yrealloc): Renamed from xrealloc.
1160
5bf244f1
DL
11612000-05-21 Dave Love <fx@gnu.org>
1162
1163 * movemail.c: Include config.h, not ../src/config.h.
1164 (Errmsg): Bump length.
1165
1166 * pop.c (ERROR_MAX): Increase to 160.
1167
ec82fb2f
GM
11682000-05-04 Gerd Moellmann <gerd@gnu.org>
1169
1170 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
1171
5c922ea7
EZ
11722000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
1173
02ce3e80
SM
1174 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
1175 Define to semi-colon.
5c922ea7 1176 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 1177 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
1178 (process_file): Don't assume that fread always reads as many bytes
1179 as it was told to (DOS-style CR-LF text files fail this logic).
1180 (open_file): Allocate enough space for path->path plus the file
1181 name and the slash.
1182
6142fdcb 11832000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
1184
1185 * etags.c (Texinfo_functions): New function.
1186 (lang_names): Install it.
1187 (Texinfo_suffixes): New variable.
1188
cb9215e4
GM
11892000-04-19 Gerd Moellmann <gerd@gnu.org>
1190
1191 * ebrowse.c (xmalloc, xrealloc): Rewritten.
1192 (declaration): Remove parameter IS_EXTERN.
1193 (class_definition): Remove unused variable.
1194
be0dbdab
GM
11952000-04-09 Gerd Moellmann <gerd@gnu.org>
1196
1197 * Makefile.in (INSTALLABLES): Add ebrowse.
1198 (ebrowse): New target.
1199
1200 * ebrowse.c: New file.
1201
c5aa0fc2
AS
12022000-03-29 Andreas Schwab <schwab@suse.de>
1203
1204 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
1205
d054101f
GM
12062000-03-02 Gerd Moellmann <gerd@gnu.org>
1207
1208 * etags.c (lisp_suffixes) Add `LSP'.
1209
71cbb895
FP
12102000-02-10 Francesco Potorti` <pot@gnu.org>
1211
1212 * etags.c (iswhite): Redefined not to consider '\0' as white
1213 space, and use it throughout in place of isspace, thus preventing a
1214 potential signed char to int conversion problem.
1215 (MSDOS): #undefine befere redefining
1216
7df65e91 12172000-02-04 Francesco Potorti` <pot@gnu.org>
71cbb895
FP
1218
1219 * etags.c (many functions): Add prototypes.
1220
97fa0cc8
DL
12212000-02-10 Dave Love <fx@gnu.org>
1222
1223 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
1224 (erlang_func): Add `static' to definitions to keep pcc happy.
1225
7df65e91 12262000-01-31 Francesco Potorti` <pot@gnu.org>
e4100b7f
FP
1227
1228 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
1229 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
1230 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
1231 (getenv, getcwd): Only declare them if necessary.
1232 (EMACS_NAME): New constant macro.
1233 (print_version): Use it.
1234 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 1235
19e262bd 12362000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
1237
1238 * etags.c [WINDOWSNT]: #include <direct.h>
1239
19e262bd 12402000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 1241
19e262bd
FP
1242 * etags.c (all functions): Made them static.
1243 (all functions): Write prototypes.
e4100b7f 1244
55e30d2a
RS
12452000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
1246
1247 * movemail.c (main): Improve error message if can't create lock file.
1248
875c1439
GM
12492000-01-28 Eric Hanchrow <offby1@blarg.net>
1250
1251 * emacsclient.c (socket_status): New function.
02ce3e80 1252 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
1253 for a socket based on the UID associated with the name.
1254
e4936aa9
GM
12552000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
1256
1257 * emacsclient.c: Add option -a EDITOR and environment variable
1258 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
1259
791a9087
GM
12601999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
1261
1262 * movemail.c (popmail): Allow mailbox specifications of the
1263 form `po:username:hostname'.
1264
7df65e91 12651999-11-19 Francesco Potorti` <pot@gnu.org>
e2081362
FP
1266
1267 * etags.c (_GNU_SOURCE): Define only if undefined.
1268 (get_scheme): Declaration deleted.
02ce3e80 1269 (main): Error was called with an integer as second arg, instead of
e2081362
FP
1270 a char pointer.
1271 (canonicalize_filename): Bug removed.
1272
12731999-11-18 Dave Love <d.love@dl.ac.uk>
1274
1275 * etags.c (C_entries): Rename label `intoken', avoiding K&R
1276 lossage from name clash with macro.
1277
b05d3bee
GM
12781999-11-13 Gerd Moellmann <gerd@gnu.org>
1279
1280 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
1281
cb3a6c48
GM
12821999-11-03 Gerd Moellmann <gerd@gnu.org>
1283
1284 * etags.c (print_help): Change email address to send bugs to.
1285
7df65e91 12861999-11-01 Francesco Potorti` <pot@gnu.org>>
1c478461
FP
1287
1288 * etags.c: Add suffix psw for PSWrap.
1289 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
1290 (Postscript_functions): Add code for PSWrap.
1291 (Scheme_functions): Use local pointer and new get_tag function.
1292 (get_tag): New name for old get_scheme.
1293 (process_file): Do not free NULL when file does not exist.
1294 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
1295 (C_entries): Modifications that make --members tag even inside
1296 typedefs and C nested structs (one level only).
1297 (consider_token): Corrected a bug which prevented tagging of enum
1298 constants.
1299 (C_stab_entry): Added if, for, while, switch, return as
1300 st_C_ignore. This makes it simpler to work when cblev!=0.
1301
02ce3e80 1302 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
1303 --declarations is used.
1304
1305 * etags.c (C_entries, consider_token): C++ `operator' now is
1306 tagged in most cases.
1307 As before, :: is not recognised if surrounded by spaces.
1308
1309 * etags.c (relative_filename): Account for DOS file names such
1310 that is impossible to make one relative to another.
1311
1312 * etags.c (sym_type): New st_C_extern tag.
1313 (gperf input): Use it for spotting external declarations.
1314 (print_help): Document the new behaviour of --declarations.
1315 (fvextern): New global variable.
1316 (consider_token, C_entries): Use it.
1317
1318 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
1319 (etags_getcwd): Remove test for WINDOWSNT.
1320
1321 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
1322 foo.cgz, foo.cz, etc.
1323
1324 * etags.c (declarations): New global switch.
1325 (longopts): Describe it.
1326 (print_help): Document it.
1327 (C_entries): Use it.
1328 (process_file): Don't process a file twice.
1329
1330 * etags.c (Fortran_functions): No tags for "procedure".
1331
13321999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
1333
1334 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
1335 non-zero, returns a pointer to where the extension begins; callers
1336 changed.
1337 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
1338 were foo.c.gz.
1339
7df65e91 13401999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
1341
1342 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
1343 (fvdev): New constant foperator.
1344 (consider_token): Use it to get "operator" in C++.
1345 (C_entries): Extend length of operator@ function name.
1346 (C_entries): Use foperator when necessary.
1347
1348 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
1349
1350 * etags.c (compressor): New struct for compressed files.
1351 (get_compressor_from_suffix): New function.
1352 (get_language_from_suffix): Use it. Also, semantics changed.
1353 (process_file): Consider compressed files, close file.
1354 (find_entries): Use different call arg for get_language_from_suffix,
1355 don't close file.
1356
1357 * etags.c (main): Call free_tree.
1358 (find_entries): Do not free curfile.
1359 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
1360 (prolog_pred, erlang_func, substitute): Cast strlen to int when
1361 comparing.
1362 (canonicalize_filename): Shut up compiler warning.
1363 (Perl_functions): Make tag significant.
1364
13651999-11-01 Dave Love <d.love@dl.ac.uk>
1366
1367 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
1368 (argument_type): New member at_icregexp.
1369 (lc_trans): New global.
1370 (main): Fill lc_trans. Process -c args.
1371 (add_regex): New arg determining whether to use translation table.
1372 (analyse_regex): New arg. Use it for add_regex.
1373
7df65e91 13741999-11-01 Francesco Potorti` <pot@gnu.org>
1c478461
FP
1375
1376 * etags.c (init): Cosmetic change: NULL --> '\0'.
1377 (erlang_attribute): Bug corrected (uninitialized variable).
1378 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 1379 corrects a bug. All callers changed.
1c478461
FP
1380 (canonicalize_filename): New function.
1381 (process_file, etags_getcwd, absolute_dirname): Use it.
1382 (relative_filename, absolute_filename): Removed var shadowing.
1383 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 1384 compilers quiet.
1c478461
FP
1385 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
1386
1387 * etags.c (xrnew): New macro. All callers of xrealloc changed.
1388 (language): New typedef (was struct lang_entry).
1389 (curlang): New global variable.
02ce3e80 1390 (node): Typedef renamed from NODE.
1c478461
FP
1391 (linebuffer): New typedef (was struct linebuffer).
1392 (pattern): New typedef (was struct pattern). Some members added.
1393 Now used as element of a linked list.
1394 (patterns, num_patterns): Global variables deleted.
1395 (p_head): New global variable.
1396 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
1397 (get_language_from_name, get_language_from_interpreter)
1398 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 1399 (last_node): New global variable.
02ce3e80
SM
1400 (free_tree, add_node, put_entries, total_size_of_entries):
1401 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
1402 (number_len): Rewritten for elegance.
1403 (token): New typedef replaces TOKEN.
1404 (analyse_regex, add_regex): Rewritten for new functionality.
1405 (free_patterns): New function called from main and add_regex.
1406 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 1407 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
1408 (readline): Rewritten for new functionality.
1409
1410 * etags.c: (Scheme_suffixes): New suffix ".ss".
1411 (print_help): --globals is now used for more than C-type languages.
1412 (Perl_functions): Tag global variables ("my" and "local").
1413
1414 * etags.c (print_help): Some messages clarified.
1415 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
1416 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
1417 (Python_functions, Cobol_paragraphs, Pascal_functions)
1418 (Lisp_functions, Postscript_functions, Scheme_functions)
1419 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
1420 (Cobol_paragraphs, Postscript_functions, TeX_functions)
1421 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
1422 of the global variable dbp.
1423 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
1424 standard indentation.
1425
02ce3e80
SM
1426 * etags.c (Python_suffixes, lang_names, Python_functions):
1427 Python support.
1c478461 1428 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
1429 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
1430 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
1431 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
1432 (eat_white): Deleted.
1433
1434 * etags.c (CHAR, init): Keep into account non US-ASCII
1435 characters and compilers with default signed chars.
1436 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
1437 constructs.
1438
1439 * (C_stab_entry): "interface" in Java behaves like "class".
1440
1441 * etags.c: (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1442 (main): Put interval syntax here.
1443 (add_regex): And remove it from here.
1444
1445 * etags.c (suggest_asking_for_help): Provide a
1446 meaningful help message with and without LONG_OPTIONS.
1447
1448 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
1449 <stdlib.h, string.h>: Don't test MSDOS when including them.
1450 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
1451 (put_entries): Correctly use %ld instead of %d in printf.
1452
1453 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
1454 declare getcwd if HAVE_GETCWD.
1455 (consider_token): Dead break instruction removed.
1456
4ee9629e
PE
14571999-10-19 Paul Eggert <eggert@twinsun.com>
1458
1459 Add support for large files. Merge glibc 2.1.2.
1c478461 1460
4ee9629e
PE
1461 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
1462 movemail.c, pop.c:
1463 Do not include <stdlib.h>, as <config.h> does this now.
1464
1465 * b2m.c, emacsserver.c, etags.c, profile.c:
1466 Include <config.h> before any system include files.
1c478461 1467
4ee9629e
PE
1468 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
1469 test-distrib.c:
1470 (read, write, open, close): Do not undef.
1471
1472 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
1473 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
1474
1475 * getopt.h: Adopt glibc 2.1.2.
1c478461 1476
93c8d183
DL
14771999-10-15 Dave Love <fx@gnu.org>
1478
1479 * Makefile.in (pop.o): Depend on config.h.
1480
b358f91c
GM
14811999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1482
1483 * pop.c: Use "pop3" as the POP service name on all platforms,
1484 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
1485 has been the standard service name since RFC 1340 was published in
1486 July 1992, so I think it's safe to start using it by default.
1487
362bc2da
DL
14881999-09-27 Dave Love <fx@gnu.org>
1489
1490 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
1491
74e4cb59
PR
14921999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
1493
1494 * make-docfile.c (scan_lisp_file): Fix previous changes;
1495 swallow CRLF like just CR or just LF.
1496
362bc2da
DL
14971999-09-03 Richard Stallman <rms@gnu.org>
1498
1499 * make-docfile.c: Include config.h not ../src/config.h.
1500 (main, fopen, chdir): Add #undef.
1501 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
1502 (scan_lisp_file): Handle \r like \n.
1503
15041999-08-30 Andreas Schwab <schwab@gnu.org>
1505
1506 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
1507
1508 * emacsserver.c: Include <stdlib.h> if available. Don't declare
1509 errno if it's a macro.
1510
1511 * test-distrib.c: Include <unistd.h> if available.
1512
15131999-08-29 Richard Stallman <rms@gnu.org>
1514
1515 * emacsclient.c (print_help_and_exit): Mention --version.
1516
15171999-08-25 Richard M. Stallman <rms@gnu.org>
1518
1519 * emacsclient.c (decode_options): Update version output.
1520 (print_help_and_exit): Update bug report address.
1521
15221999-08-13 Richard M. Stallman <rms@gnu.org>
1523
1524 * emacsclient.c (main): Move the dynamic allocation of
1525 system_name outside of the SERVER_HOME_DIR conditional.
1526 * emacsserver.c (main): Likewise.
1527
15281999-08-10 Gerd Moellmann <gerd@gnu.org>
1529
1530 * grep-changelog: New.
1531 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
1532
15331999-07-12 Richard Stallman <rms@gnu.org>
1534
1535 * Version 20.4 released.
1536
15371999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
1538
1c478461 1539 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
1540
15411999-06-23 Dave Love <fx@gnu.org>
1542
1543 * etags.c (erlang_attribute): Fix undefined variable usage (after
1544 Potorti).
1545
15461999-05-2 Andrew Innes <andrewi@gnu.org>
1547
1548 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
1549 mapped to _chsize.
1550
15511999-04-29 Richard M. Stallman <rms@gnu.org>
1552
1553 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
1554
15551999-03-30 Dave Love <fx@gnu.org>
1556
1557 * sorted-doc.c (main): Split up tables. Modify the preamble
1558 somewhat.
1559
15601999-03-05 Geoff Voelker <voelker@cs.washington.edu>
1561
1562 * makefile.nt: Remove common multiple file compilation commands.
1563
15641999-02-26 Richard Stallman <rms@gnu.org>
1565
1566 * Version 20.4 released.
1567
1568 * Makefile.in (yow): Depend on epaths.h, not paths.h.
1569
1570 * yow.c: Refer to epaths.h.
1571
15721999-02-22 Simon Josefsson <jas@pdc.kth.se>
1573
1574 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
1575
15761999-01-27 Andrew Innes <andrewi@gnu.org>
1577
1578 * makefile.nt: Do make version comparison as strings.
1579
15801999-01-25 Richard Stallman <rms@gnu.org>
1581
1582 * emacsclient.c (xmalloc): Fix previous change.
1583
15841999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
1585
1586 * emacsclient.c (xmalloc): Declare to return long.
1587
15881999-01-22 Geoff Voelker <voelker@cs.washington.edu>
1589
1590 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
1591 the case of the drive letter.
1592
15931999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
1594
1595 * emacsserver.c (main): Eliminate arbitrary limit on
1596 length of system_name.
1597
1598 * emacsclient.c (main): Eliminate arbitrary limit on
1599 length of system_name.
1600 (xmalloc): Define unconditionally.
1601
16021999-01-12 Darrin B. Jewell <jewell@mit.edu>
1603
1604 * etags.c (relative_filename): Stop backward search at beginning
1605 of string, since non-Unix systems can have absolute paths with no
1606 initial slash.
1607
16081998-12-08 Geoff Voelker <voelker@cs.washington.edu>
1609
1610 * makefile.nt: Do string comparision of _NMAKE_VER.
1611
16121998-11-03 Theodore Jump <tjump@cais.com>
1613
1614 * makefile.nt: Compile multiple source files when possible.
1615
16161998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
1617
1618 * Makefile.in: Replace tabs with spaces
1619 when they might confuse some Make versions.
1620
16211998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
1622
1623 * emacsclient.c (main): Null-terminate system_name.
1624
1625 * emacsserver.c (main): Null-terminate system_name.
1626
16271998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1628
1629 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
1630 an error message from POP, mention that it's from POP, to
1631 distinguish it from local error messages.
1632
16331998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1634
1635 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
1636 order of messages downloaded from a POP server (e.g., if the
1637 server stores messages in mailboxes in reverse order).
1638
16391998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
1640
1641 * Version 20.3 released.
1642
16431998-08-11 Paul Eggert <eggert@twinsun.com>
1644
1645 * rcs2log: Update copyright date and bug report address.
1646 (initialize_fullname): Prefer getent if available.
1647
16481998-07-30 Paul Eggert <eggert@twinsun.com>
1649
1650 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
1651 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 1652
362bc2da
DL
16531998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
1654
1655 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
1656
16571998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
1658
1659 * Makefile.in: Properly terminate a comment.
1660
16611998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
1662
1663 * movemail.c (sys_wait): Rename to wait.
1664
1665 * ntlib.h: Undefine _WINSOCKAPI_.
1666
1667 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
1668
16691998-05-30 Geoff Voelker <voelker@cs.washington.edu>
1670
1671 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
1672
16731998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
1674
1675 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
1676 all file i/o to be in binary mode. Include ntlib.h.
1677
16781998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
1679
1680 * make-docfile.c: Include <unistd.h> for chdir.
1681
16821998-04-25 Richard Stallman <rms@psilocin.gnu.org>
1683
1684 * etags.c (TEX_decode_env): Don't free the value getenv returns.
1685
16861998-04-17 Geoff Voelker <voelker@cs.washington.edu>
1687
1688 * makefile.nt (obj): Update with new files in src.
1689 (clean): Delete patch scratch files, optimized compilation dir.
1690
16911998-04-08 Dave Love <fx@gnu.org>
1692
1693 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
1694 Irix6, at least.
1695
16961998-04-06 Andreas Schwab <schwab@gnu.org>
1697
1698 Silence -Wimplicit:
1699 * movemail.c: Move cancelations up. Include <stdlib.h> if
1700 available.
1701 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
1702 (parse_header): Explicitly declare return type.
1703 * emacsserver.c: Include <unistd.h> if available.
1704 (main, handle_signals, perror_1, fatal_error): Explicitly declare
1705 return types. Add forward declarations.
1706 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
1707 Don't declare geteuid.
1708 (print_help_and_exit): Change return type to void. Forward
1709 declare it.
1710 * b2m.c: Include <stdlib.h> if available.
1711 (main): Explicitly declare return type.
1712
17131998-04-03 Richard Stallman <rms@delysid.gnu.org>
1714
1715 * etags.c (put_entries): Use %ld.
1716
1717 * b2m.c (fatal): Declare the arg.
1718
17191998-04-03 Richard Stallman <rms@psilocin.gnu.org>
1720
1721 * etags.c (put_entries): Use %ld.
1722
1723 * b2m.c (fatal): Declare the arg.
1724
17251998-03-26 Richard Stallman <rms@psilocin.gnu.org>
1726
1727 * pop.c (pop_getline): Renamed from getline.
1728
17291998-03-05 Richard Stallman <rms@psilocin.gnu.org>
1730
1731 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
1732 for the utilities.
1733
17341998-01-23 Dave Love <d.love@dl.ac.uk>
1735
1736 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
1737 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
1738 Always make named tags.
1739 (Fortran_functions): Grok BLOCK DATA.
1740
17411998-01-23 Andreas Schwab <schwab@gnu.org>
1742
1743 * movemail.c (main): Fix interwoven brace and cpp conditional
1744 nesting.
1745
17461997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
1747
1748 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1749 server to contain embedded nulls.
1750
17511997-12-03 Paul Eggert <eggert@delysid.gnu.org>
1752
1753 * movemail.c:
1754 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
1755 '>' any lines starting with "From " read from the POP server, but
1756 leave the code in place, wrapped in #ifdef
1757 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1758 because it turns out that something is depending on it. Change
1759 suggested by Paul Eggert <eggert@twinsun.com>.
1760 Convert the character \037 (^_) at the beginning of a line into
1761 the character '^' followed by the character '_', because otherwise
1762 Emacs can't parse the resulting file as a valid BABYL file.
1763 Change suggested by Paul Eggert <eggert@twinsun.com>.
1764
17651997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1766
1767 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
1768 server to contain embedded nulls.
1769
17701997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 1771
362bc2da
DL
1772 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
1773 quotes with a '>' any lines starting with "From " read from the
1774 POP server, but leave the code in place, wrapped in #ifdef
1775 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
1776 because it turns out that something is depending on it. Change
1777 suggested by Paul Eggert <eggert@twinsun.com>.
1778
1779 Convert the character \037 (^_) at the beginning of a line into
1780 the character '^' followed by the character '_', because otherwise
1781 Emacs can't parse the resulting file as a valid BABYL file.
1782 Change suggested by Paul Eggert <eggert@twinsun.com>.
1783
17841997-11-22 Richard Stallman <rms@gnu.org>
1785
1786 * b2m.c: Include getopt.h.
1787 (main): Use getopt_long to handle --version and --help.
1788
1789 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
1790
17911997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1792
1793 * pop.c (fullwrite): Get rid of an extra call to write. Problem
1794 pointed out by Chiaki Ishikawa.
1795
17961997-10-16 Dave Love <d.love@dl.ac.uk>
1797
1798 * etags.c (L_getit): Always make named tags so that Emacs
1799 completion on symbols containing `:' etc. works.
1800 (get_scheme): Likewise.
1801
18021997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1803
1804 * pop.c: Use system header files instead of declaring C-library
1805 functions explicitly.
1806
18071997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1808
1809 * Version 20.2 released.
1810
18111997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1812
1813 * Version 20.1 released.
1814
18151997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
1816
1817 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
1818
1819 * ntlib.c (getpid): Delete function.
1820
18211997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1822
1823 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
1824
18251997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1826
1827 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
1828 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
1829
18301997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1831
1832 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
1833
18341997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
1835
1836 * profile.c (get_time): Cast arg to fprintf.
1837
1838 * hexl.c (main): Use %08lx instead of %08x in printf because the
1839 variable named addresses is long.
1840
18411997-08-08 Geoff Voelker <voelker@cs.washington.edu>
1842
1843 * makefile.nt (lisp): Update paths to lisp files that have moved.
1844
18451997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
1846
1847 * makefile.nt (ctags.obj): New target.
1848 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
1849
1850 * ntlib.h: Add includes.
1851 Undo definitions of crt routines from config.h.
1852
18531997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1854
1855 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
1856
18571997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1858
1859 * pop.c: Support auto-configuration of both Kerberos V4 and
1860 Kerberos V5 for movemail, including detection of V4 and V5 header
1861 files and libraries.
1862 Include <string.h> when STDC_HEADERS is defined, to get
1863 declarations of string functions.
1864 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
1865 V5 API rather than the old one.
1866 [KERBEROS] (socket_connection): Change a constant name from
1867 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
1868 with a constant in a header file.
1869
1870 * Makefile.in: Support auto-configuration of both Kerberos V4 and
1871 Kerberos V5 for movemail, including detection of V4 and V5 header
1872 files and libraries.
1873
18741997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1875
1876 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
1877
1878 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 1879
362bc2da
DL
18801997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1881
1882 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
1883
18841997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1885
1886 * movemail.c (rindex): Add declaration.
1887
1888Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
1889
1890 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
1891 (movemail.exe): Depend upon and link with getopt files.
1892 (obj): Include new source files.
1893 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
1894 (lisp): Include new and reorganized elisp files.
1895
18961997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1897
1898 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
1899
19001997-06-25 Paul Eggert <eggert@twinsun.com>
1901
1902 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
1903
19041997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
1905
1906 * b2m.c (readline): Terminate buffer properly when EOF seen.
1907 Test for valid pointer before dereferencing it.
1908
19091997-05-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1910
1911 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
1912 defined inside etags.c if HAVE_CONFIG_H is defined.
1913
19141997-05-29 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1915
1916 * etags.c: (logical): Type name changed to bool.
1917 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
1918 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
1919 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
1920 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
1921 (longopts): New long options without short counterpart are
1922 globals, members, no-globals, no-members. Regexp options are now
1923 defined conditionally to ETAGS_REGEXPS.
1924 (print_help): Updated.
1925
19261997-05-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1927
1928 * etags.c (C_entries): Use "." instead of "::" for Java.
1929 (consider_token): is_func renamed to is_func_or_var.
1930 (C_entries): is_func renamed to funorvar.
1931 (C_entries): Initialise tok.named.
1932 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
1933 get rid of "import", "package" and "friend".
1934 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 1935 users changed.
362bc2da
DL
1936 (C_entries): Make separate tags for variables separated by comma.
1937 (globals, members): New flags.
1938 (main, C_entries): Use them.
1939 (make_C_tag, C_entries): Make tok a global variable.
1c478461 1940
362bc2da
DL
19411997-05-16 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1942
1943 * etags.c (funcdef): New vignore constant.
1944 (consider_token, C_entries): Use it to tag global variables.
1945 (print_help): Update for global variables.
1946 (consider_token, C_entries): Set the len member of token_name.
1947 (prolog_pred): Cleanup according to GNU coding standards.
1948 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
1949 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
1950
19511997-05-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1952
1953 * etags.c (CHARS, CHAR): New constant and macro.
1954 (iswhite, begtoken, intoken, endtoken): Use them.
1955 (notinname, _nin, nonam): New macro, array, string.
1956 (init): Cleanup and init _nin.
1957 (new_pfnote): New function.
1958 (make_C_tag) [traditional_tag_style]: Use it.
1959 (traditional_tag_style): Costant set to TRUE for now.
1960
19611997-05-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1962
1963 * etags.c (C_entries, Pascal_functions): Cleanup.
1964 (TeX_functions): NULL as a function arg needs a cast.
1965 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
1966
19671997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1968
1969 * etags.c (TeX_functions): Cleaned up.
1970 (tex_getit): Removed.
1971
19721997-05-13 Paul Eggert <eggert@twinsun.com>
1973
1974 * rcs2log (files): When computing arguments automatically, ignore
1975 non-files within the RCS subdirectory.
1976
19771997-05-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1978
1979 * etags.c (C_JAVA): New #define.
1980 (Cjava_suffixes): .java is Java.
1981 (Cjava_entries): New function.
1982 (lang_names): Add Java.
1983 (sym_type): Add st_C_javastruct for Java.
1984 (C_stab_entry): Add `extends' and `implements' keywords.
1985 (consider_token, C_entries): Recognise Java structures.
1986
19871997-05-12 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
1988
1989 * etags.c: (Cplusplus_suffixes): .pdb is Postscript with C syntax.
1990 (Postscript_suffixes): .ps is Postscript.
1991 (lang_names): Add Postscript.
1992 (Postscript_functions): New function.
1993 (TEX_decode_env): Close minor memory leak.
1994 (just_read_file): Correct the char number of the tag.
1995
19961997-05-11 Paul Eggert <eggert@twinsun.com>
1997
1998 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
1999 Don't prepend $nl since this causes some shells to generate the
2000 empty string when IFS is $nl.
2001 (printlogline): Use SOH (octal code 1), not CR, since some
2002 PC-based shells mishandle CR.
2003 (initialize_fullname): Set NIS_PATH to the empty string before invoking
2004 nismatch, in case it's set to some nonstandard value.
1c478461 2005
362bc2da
DL
20061997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2007
2008 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
2009 read in separate blocks.
2010
20111997-04-30 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2012
2013 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
2014 (struct linebuffer): New member `len' is the length of the string.
2015 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
2016 Use it instead of strlen.
2017 (TEX_getit): Declare and define unconditionally as static.
2018 (TeX_functions): Use if instead of #if TeX_named_tokens.
2019 (add_regex): Set RE_INTERVALS flag for regex compilation.
2020 (substitute): Code cleanup.
2021 (readline_internal): Code cleanup, set new member `len'.
2022 (readline): Bug corrected.
2023
20241997-04-23 Geoff Voelker <voelker@cs.washington.edu>
2025
2026 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
2027 (obj): Change references of nt*.c files to w32*.c files.
2028
20291997-04-15 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2030
2031 * etags.c (xnew): Add support for debugging with chkmalloc.
2032 (error): Use this instead of printf whenever possible.
2033 (main): Only call xnew after having initialised progname.
2034 (substitute): Bad memory corruption error corrected.
2035
20361997-04-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2037
2038 * etags.c (add_regex): Undo previous change.
2039 (relative_filename): Small memory leak closed.
2040 (absolute_filename): Cleaned up the code, possibly closing a bug.
2041 (absolute_dirname): Always return a newly allocated string.
1c478461 2042
362bc2da
DL
20431997-03-21 Paul Eggert <eggert@twinsun.com>
2044
2045 * rcs2log (files): Ignore files in RCS directory whose names are
2046 of the form ,*, or *_; they are probably RCS lock files.
2047 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
2048 they are used by rcsfreeze.
2049
20501997-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2051
2052 * etags.c (add_regex): reset *putbuf before using it.
2053
20541997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2055
2056 * movemail.c (popmail): Remove some unnecessary function
2057 declarations.
2058 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
2059 into pop_retr, there's no reason to pass in mbx_write, and the
2060 file argument can be declared FILE * explicitly. This fixes a
2061 compilation problem on systems with 64-bit pointers.
2062
20631997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2064
2065 * movemail.c: Delete duplicate inclusion of fcntl.h
2066 and duplicate #undefs of open, read, write, close.
2067
20681997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2069
2070 * movemail.c (main): Do not display "[POP-password]" in the usage
2071 message when movemail is compiled without POP support.
2072 (main, popmail): Add the optional "-p" argument, which causes
2073 movemail to leave mail in the inbox after copying it into the
2074 output file.
1c478461 2075
362bc2da
DL
2076 * Makefile.in (movemail): Link with getopt.
2077
20781997-01-20 Paul Eggert <eggert@twinsun.com>
2079
2080 * rcs2log: (--help, --version): New options, per GNU coding standards.
2081 (Copyright, Help, Id): New variables, for above.
2082 (rlog): Use -q option with cvs log, to avoid useless chatter.
2083
2084 Treat logs of "Initial revision" (RCS) or "file F was initially added
2085 on branch B." (CVS) as if they said "New file.", for consistency with
2086 change log entries.
2087
20881997-01-01 Paul Eggert <eggert@twinsun.com>
2089
2090 * vcdiff (PATH): Add /usr/xpg4/bin,
2091 where XPG4 SCCS hangs out in Solaris 2.5.
2092 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
2093
20941996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2095
2096 * etags.c (streq, strneq): Use == NULL rather than !.
2097
20981996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
2099
2100 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
2101 (movemail): Use LIBMAIL, to link against -lmail.
2102
2103 * movemail.c: Include maillock.h (conditionally).
2104 Remove a redundant inclusion of <stdio.h>.
2105 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
2106 (main): Add variable spool_name.
2107 Support the usage of maillock and mailunlock to
2108 lock and unlock mailboxes.
2109 (mail_spool_name): New function.
2110
2111 * movemail.c: Fix an uninitialized variable which could cause
2112 movemail to exit with an error status incorrectly on systems which
2113 use lock files rather than a system locking function to lock
2114 mailboxes.
2115
21161996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2117
2118 * pop.c (socket_connection): Free realhost after using it.
2119
21201996-12-04 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2121
2122 * etags.c (C_entries): Test tok.valid. This handles some
2123 particular cases involving function declarations that failed.
2124
21251996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 2126
362bc2da
DL
2127 * pop.c (socket_connection):
2128 gethostbyname may return a pointer to static data.
2129 krb_realmofhost can clobber it. So copy it.
2130
21311996-11-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2132
2133 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
2134 must cast it to (char *) because we have no prototypes.
2135 (make_C_tag): Macro deleted, new function.
2136 (C_entries): Calls to make_C_tag macro changed to call function.
2137
21381996-11-13 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2139
2140 * etags.c (grow_linebuffer): New function.
2141 (GROW_LINEBUFFER): Macro deleted. All callers changed.
2142 (make_tag): Macro renamed to make_C_tag. All callers changed.
2143 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
2144 (Prolog_functions): prolog_skip_comment was called with wrong
2145 number of arguments.
2146 (xrealloc): fatal was called with wrong number of arguments
2147
21481996-11-08 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2149
2150 * etags.c (relative_filename): Bug corrected.
2151 (etags_getcwd): Avoid warning of unused variable.
2152 (C_entries, consider_token): Added support for enum labels.
2153
21541996-11-03 Paul Eggert <eggert@twinsun.com>
2155
2156 * rcs2log: When processing cvs log output, remove `Attic/' from
2157 repository file names.
2158
21591996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
2160
2161 * emacsserver.c: Fix 1996-09-02 change.
2162
21631996-10-12 Paul Eggert <eggert@twinsun.com>
2164
2165 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
2166 option', since CVS says 'invalid option'.
2167 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
2168 revisions, since some hosts reject 1970-01-01 when east of UTC.
2169 (date): Remove.
2170
21711996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2172
2173 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
2174
21751996-10-02 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2176
2177 * etags.c (print_version): Print copyright info.
2178
2179 * etags.c (print_help): Print the bug reporting address.
2180 (main): Use return as the last instruction, instead of exit.
2181
2182 * etags.c (main): Don't open the tags file in cxref mode.
2183
21841996-09-29 Dave Love <d.love@dl.ac.uk>
2185
2186 * rcs2log (date): Make default format acceptable to CVS post v1.8
2187 as well as earlier CVSs and RCS.
2188
21891996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2190
2191 * movemail.c (main): If the lock call fails with EBUSY or
2192 EAGAIN, retry a few times.
2193
21941996-09-25 Paul Eggert <eggert@twinsun.com>
2195
2196 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
2197 whether to append -zLT.
2198
21991996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2200
2201 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
2202 * emacsclient.c, movemail.c: Likewise.
2203
22041996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2205
2206 * emacsclient.c (longopts): Change nowait to no-wait.
2207 (print_help_and_exit): Fix option name; upcase metavars.
2208
22091996-09-06 Erik Naggum <erik@naggum.no>
2210
2211 * emacsserver.c (main): Declare `fromlen' as size_t.
2212
22131996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2214
2215 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
2216
22171996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2218
2219 * emacsclient.c (quote_file_name): Quote with &, not \.
2220 Quote `-' only at start of file name. Terminate the value string.
2221
2222 * emacsserver.c: Include signal.h properly;
2223 delete the duplicate includes for it.
2224
2225 * emacsserver.c: On fatal signal, delete socket-file:
2226 * emacsserver.c: Include signal.h.
2227 (xmalloc, fatal, error): New functions.
2228 (delete_socket, handle_signals): New functions.
2229 (progname, socket_name): New variables.
2230 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
2231
22321996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2233
2234 * emacsclient.c (quote_file_name): New function.
2235 (main, both versions): Use quote_file_name.
2236 (decode_options): Don't return a value.
2237 (main, both versions): Use optind.
2238 Don't check for -nowait here.
1c478461 2239
362bc2da
DL
2240 * emacsclient.c (decode_options): New function.
2241 (main, both versions): Call decode_options.
2242 (print_help_and_exit): New function.
2243 (VERSION): New macro.
2244
2245 * Makefile.in (emacsclient): Link with getopt.
2246 Add -DVERSION so emacsclient knows its version number.
2247
22481996-08-31 Geoff Voelker <voelker@cs.washington.edu>
2249
2250 * makefile.nt (lisp): Include dos-nt.elc.
2251
22521996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2253
2254 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
2255
22561996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2257
2258 * emacsclient.c (both versions): Handle -nowait and --nowait
2259 by sending data to the server.
2260
22611996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2262
2263 * Makefile.in (INSTALL_STRIP): New variable.
2264 (${archlibdir}): Use INSTALL_STRIP.
2265
2266 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
2267 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
2268
2269 * pop.c: Reverse conditional in previous change.
2270
22711996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
2272
2273 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
2274
22751996-08-24 Paul Eggert <eggert@twinsun.com>
2276
2277 * rcs2log: Use ISO 8601 date format, with time zone appended
2278 if change-log-time-zone-rule is non-nil, instead of
2279 traditional Unix date format.
2280
2281 (datearg): When computing default from ChangeLog, handle ISO format
2282 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
2283 Don't worry about hh:mm:ss since the resolution is now by day.
2284 Use emtpy datearg, not empty rlog_options, to decide whether to pass
2285 "$datearg" option to $rlog.
2286 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
2287 (month_data): Remove `mo'; no longer needed.
2288 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
2289
2290 Match `revision' line of rlog output more accurately.
2291
2292 Add -c, -v options.
2293
22941996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
2295
2296 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
2297
22981996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2299
2300 * Version 19.33 released.
2301
23021996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2303
2304 * Version 19.32 released.
2305
23061996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
2307
2308 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
2309 computing character positions in source files.
2310
23111996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
2312
2313 * makefile.nt (clean): Use OBJDIR macro.
2314
23151996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2316
2317 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
2318
23191996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
2320
2321 * cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
2322 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
2323 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
2324
23251996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
2326
2327 * ntlib.h: Correct return type of getwd.
2328 * ntlib.c (getwd): Correct return type.
2329
23301996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2331
2332 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
2333 to infile.
2334
23351996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
2336
2337 * makefile.nt: Remove all references to wakeup.
2338
23391996-06-28 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2340
2341 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
2342 explicit, mutable, typename.
2343
23441996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2345
2346 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
2347 streams, one for sending and one for reading the reply.
2348
23491996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2350
2351 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
2352 (wakeup): Target deleted.
2353 (UTILITIES): Delete wakeup and timer.
2354
2355 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
2356
23571996-06-11 Geoff Voelker <voelker@cs.washington.edu>
2358
2359 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
2360 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
2361
23621996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2363
2364 * etags.c (main): Copy cwd when appending slash.
2365
23661996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
2367
2368 * Version 19.31 released.
2369
23701996-05-17 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2371
2372 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
2373 (Pascal_functions): Increase linecharno by the correct number of
2374 chars, inline the GET_NEW_LINE macro and delete its definition.
2375
23761996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
2377
2378 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
2379
23801996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
2381
2382 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
2383 (movemail.exe, fakemail.exe): Now built under Win32.o
2384
2385 * ntlib.c: Include ntlib.h.
2386 (nt_sleep): Rename to sleep.
2387 (getwd): Return directory.
2388 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
2389 sys_ctime, sys_fopen): New functions.
2390
2391 * ntlib.h: New file.
2392
23931996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
2394
2395 * pop.c (SEND, RECV): Renamed from send, recv.
2396 (pop_open, pop_trash): Make the trash_started code unconditional.
2397 (socket_connection): Delete casts to void.
2398
23991996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
2400
2401 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
2402 copied from lisp.h.
2403
24041996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
2405
2406 * fakemail.c [WINDOWSNT]: Include ntlib.h.
2407
2408 * hexl.c [DOSNT]: Include fcntl.h.
2409 [WINDOWSNT]: Include io.h.
2410 (main) [MSDOS]: Change conditional to DOS_NT.
2411
2412 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
2413 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
2414 [WINDOWSNT]: Include locking.h.
2415 (main): Update usage message. Use IS_DIRECTORY_SEP.
2416 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
2417 (main) [WINDOWSNT]: Invoke locking instead of flock.
2418 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
2419 (main) [MAIL_USE_POP]: Pass password to popmail if used.
2420 Include winsock.h; don't include unix inet headers.
2421 (popmail): Add password argument and pass it to pop_open.
2422 Open output file in binary mode.
2423
2424 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 2425 Macro SOCKET_ERROR undefined.
362bc2da
DL
2426 Don't declare h_errno.
2427 [!WINDOWSNT]: Define macros recv and send.
2428 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
2429 (pop_open) [WINDOWSNT]: Initialize trash_started.
2430 (have_winsock) [WINDOWSNT]: New variable.
2431 (socket_connection) [WINDOWSNT]: Initialize winsock.
2432 (socket_connection): Use closesocket instead of close.
2433 (getline): Use recv instead of read.
2434 (fullwrite): Use send instead of write.
2435 (pop_trash): Use closesocket instead of close.
2436 (pop_trash) [WINDOWSNT]: Cleanup winsock.
2437 Check if being called recursively by sendline.
2438
2439 * pop.h (struct _popserver): New field trash_started.
2440
2441 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
2442
24431996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2444
2445 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
2446
24471996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2448
2449 * etags.c [WINDOWSNT]: Include io.h.
2450
24511996-04-10 Geoff Voelker <voelker@cs.washington.edu>
2452
2453 * makefile.nt (CTAGSOBJ): Compile with regexp support.
2454
24551996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
2456
2457 * hexl.c [DJGPP v2]: Include io.h.
2458 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
2459
2460 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
2461 DJGPP v2.
2462
24631996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2464
2465 * etags.c (absolute_filename): Use absolutefn.
2466
24671996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
2468
2469 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
2470 letter isn't an alphabetic character.
2471 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
2472 (process_file) [DOS_NT]: Convert all slashes to forward style.
2473 (absolute_filename) [DOS_NT]: Emit error message for relative
2474 paths with a drive letter.
2475 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
2476 DOS/NT drive letters which try to reference the parent of the root.
2477 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
2478
24791996-03-27 Geoff Voelker <voelker@cs.washington.edu>
2480
2481 * makefile.nt: Change uses of del to $(DEL).
2482
24831996-03-22 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2484
2485 * etags.c (just_read_file): Reset lineno and charno on entry.
2486
24871996-03-15 Anders Lindgren <andersl@csd.uu.se>
2488
2489 * etags.c: Prolog language totaly rewritten.
2490 (Prolog_functions): Rewritten from scratch.
2491 (skip_comment, prolog_getit): Removed.
2492 (prolog_skip_comment): New function, like old skip_comment.
2493 (prolog_pred, prolog_atom, prolog_white): New functions.
2494 (erlang_func, erlang_attributes): Forward declarations added.
2495 (erlang_atom): Check if backslash ends line inside quoted atom.
2496
24971996-03-14 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
2498
2499 * etags.c (absolutefn): DOS_NT version corrected.
2500 (main): Append "/" to the dir name only if not already there.
2501 (print_help): Explain the absolute/relative file name issue.
1c478461 2502
362bc2da
DL
25031996-03-08 Anders Lindgren <andersl@csd.uu.se>
2504
2505 * etags.c: New Languange Erlang added.
2506 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
2507 erlang_white): New functions.
2508 (Erlang_suffixes): New suffix list.
2509 (lang_names): Erlang entry added.
2510 (prolog_getit): Accepts headers spanning several lines.
2511 Always name tags.
2512 (Prolog_functions): Removed incorrect compensation for
2513 newline characters.
2514 (readline_internal): Zero-terminate last line.
2515
25161996-03-20 Mike Long <mike.long@analog.com>
2517
2518 * b2m.c (main): Initialize progname variable before using it.
2519 Quote `username' in From_ header.
2520
25211996-03-18 Geoff Voelker <voelker@cs.washington.edu>
2522
2523 * ntlib.c (getpid): New function.
2524
25251996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2526
2527 * emacsclient.c (main, both definitions):
2528 Print a newline for normal termination.
2529
25301996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
2531
2532 * tcp.c (main): Convert port to network byte order.
2533
25341996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
2535
2536 * pop.c (pop_retrieve, getline): Avoid type clashes.
2537
25381996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
2539
2540 * etags.c (enum sym_type, anonymous enum): Delete final comma.
2541
25421996-01-15 Paul Eggert <eggert@twinsun.com>
2543
2544 * rcs2log (initialize_fullname): Add support for NIS+.
2545 (hostname): Fully qualify the default hostname with the domainname
2546 if the hostname lacks a `.'.
2547
25481996-01-15 Paul Eggert <eggert@twinsun.com>
2549
2550 * rcs2log (initialize_fullname): Add support for NIS+.
2551 (hostname): Fully qualify the default hostname with the domainname
2552 if the hostname lacks a `.'.
2553
25541996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
2555
2556 * etags.c (consider_token): Fix typo in expression.
2557
25581996-01-04 Paul Eggert <eggert@twinsun.com>
2559
2560 * etags.c (substitute): Fix spelling in message.
2561
25621996-01-03 George V. Reilly <georger@microcrafts.com>
2563
2564 * makefile.nt (etags, ctags): Compile with regexp support.
2565 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
2566 subdirectory exists before compiling.
1c478461 2567
362bc2da
DL
25681996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
2569
2570 * emacsserver.c (main): Do chmod based on existing permission.
2571
25721995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2573
2574 * Makefile.in (install): Turn on read/execute permission.
2575
25761995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2577
2578 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
2579 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
2580
25811995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
2582
2583 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
2584
25851995-12-07 Francesco Potorti` <pot@cnuce.cnr.it>
2586
2587 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
2588 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
2589 get_scheme, prolog_getit): Name the tag in ctags mode.
2590 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
2591 (Perl_interpreters): Accept "@PERL@" as an interpreter.
2592 (suggest_asking_for_help): New function.
2593 (main, get_language_from_name): Use suggest_asking_for_help.
2594 (main): Let get_language_from_name make language existence check.
2595 (streq, strneq): Check the arguments #if DEBUG.
2596
25971995-12-06 Francesco Potorti` <pot@cnuce.cnr.it>
2598
2599 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
2600 (gperf): Added keywords for Objective C and GNU macros.
2601 (sym_type): Added values to account for Objective C and GNU macros.
2602 (begtk): The '@' character can start a token.
2603 (objdef, methodlen, objtag): New variables for Objective C.
2604 (consider_token, C_entries): Added code for Objective C.
2605 (plain_C_suffixes): Add .m and .lm for Objective C.
2606 (Yacc_suffixes): Add .ym for Objective yacc.
2607 (GROW_LINEBUFFER): New macro.
2608 (consider_token, C_entries, Pascal_functions): Use the new macro.
2609 (consider_token): Take one more argument. Caller changed.
2610 (consider_token): Use the hashing function to spot GNU macros.
2611 (C_entries): Consider // as a comment start even in plain C for
2612 the sake of Objective C parsing.
2613
26141995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
2615
2616 * Makefile.in (ctags): depend on etags only for simplicity;
2617 compile with regexp support enabled.
2618
26191995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2620
2621 * Version 19.30 released.
2622
26231995-11-22 Geoff Voelker <voelker@cs.washington.edu>
2624
2625 * makefile.nt (DOC, clean): Don't use switches to del not
2626 supported by Windows 95.
2627
26281995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2629
2630 * Makefile.in (regex.o): Depend on ../src/config.h.
2631
26321995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2633
2634 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
2635 (LOADLIBES): Use LIB_STANDARD.
2636
26371995-11-07 Kevin Gallo <kgallo@microsoft.com>
2638
2639 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
2640 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
2641 Windows 95 conditional.
2642
26431995-11-06 Francesco Potorti` (pot@cnuce.cnr.it)
2644
2645 * etags.c (get_lang_from_name, get_lang_from_interpreter,
2646 get_lang_from_suffix): New functions.
2647 (get_language): Function deleted.
2648 (lang_entry): Two members added to struct.
2649 (lang_names): Reflect the new layout of lang_entry.
2650 (print_language_names, main, find_entries): Use the new functions.
2651 (find_entries): Look at the first line for #! if no language.
2652 (C_entries): Invalidate the token when funcdef is reset.
2653 (Perl_functions): New function.
2654 (lang_suffixes): .pl and .pm are Perl suffixes.
2655
26561995-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
2657
2658 * etags.c (lowcase): Use the standard tolower function.
2659 (substitute): Remove some wrong and some useless code related with
2660 escape `\` character in regexp replacement string.
2661 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
2662 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
2663 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
2664 .prolog for prolog (.pl removed).
2665 (massage_name, etags_getcwd): Use lowcase instead of tolower.
2666 (C_entries, find_entries): Added comments about memory leakage.
2667 (add_node): Dead code removed.
2668
26691995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2670
2671 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
2672 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
2673
26741995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2675
2676 * test-distrib.c: Add #undef for open, close, read, write.
2677
26781995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2679
2680 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
2681 [! O_RDONLY]: Define it to zero.
2682 (main): Use O_RDONLY instead of explicit zero.
2683
26841995-08-17 Francesco Potorti` (pot@cnuce.cnr.it)
2685
2686 * etags.c (Pascal_functions): Close comment bug corrected.
2687 (add_node): Correctly compare node file names.
2688 (Pascal_functions): Correctly allocate and free memory for tline.
2689 (pfnote): Put the definition of fp in the innermost block.
2690 (NODE): `named' member removed.
2691 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 2692 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
2693 (pfnote): `named' argument removed, all callers changed.
2694 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
2695 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 2696 removed from pfnote call, some code cleanup.
362bc2da
DL
2697 (relative_filename): Free temporary space allocated by concat.
2698
26991995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2700
2701 * Makefile.in (getdate.c): New target.
2702 (getdate.o): Just compile getdate.c.
2703
27041995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
2705
2706 * fakemail.c (xrealloc): Change cast to match return type.
2707
27081995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2709
2710 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
2711
27121995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2713
2714 * movemail.c (main): Fix previous change.
2715 Add error check for empty OUTNAME.
2716
27171995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2718
2719 * movemail.c (main): Mention lock file name in error message.
2720
27211995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2722
2723 * profile.c (gettimeofday): New function, defined if necessary.
2724
27251995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2726
2727 * Makefile.in: Renamed from Makefile.in.in.
2728 (distclean): Delete Makefile.c, not Makefile.in.
2729
27301995-07-17 Michael Shields <shields@tembel.org>
2731
2732 * Makefile.in.in (tags): Synonym for `TAGS'.
2733
27341995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
2735
2736 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
2737 configure has already set $(INSTALL) to the proper relative path.
2738
27391995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2740
2741 * etags.c (plain_C_entries): new function.
2742 (lowcase): new macro.
2743 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2744 (lang_suffixes): new suffix ".pc" for Pro*C files.
2745 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2746 (tail): look for the end of the token when comparing.
2747 (takeprec): since now tail behaves differently, use strneq.
2748
27491995-07-08 Paul Eggert <eggert@twinsun.com>
2750
2751 * rcs2log (datearg): Separate date from time with comma, not space,
2752 to work around CVS 1.5 bug.
2753 (CVSROOT): Don't abort when unset if repository is absolute.
2754
27551995-07-07 Paul Eggert <eggert@twinsun.com>
2756
2757 * rcs-checkin, rcs2log, vcdiff:
2758 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
2759 that interpret `#! /' as a 4-byte magic number.
2760
27611995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
2762
2763 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
2764 mailbox with "po:mailbox", the mailbox is everything after the
2765 "po:" prefix.
2766
27671995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2768
2769 * emacsserver.c: Make all error messages start with `Error: '.
2770 (fatal_error, perror_1): New functions, use throughout.
2771
27721995-06-28 Paul Eggert <eggert@twinsun.com>
2773
2774 * rcs2log (CVSROOT, repository):
2775 Allow remote repositories a la CVS 1.4.
2776
27771995-06-27 Francesco Potorti` (pot@cnuce.cnr.it)
2778
2779 * etags.c (plain_C_entries): new function.
2780 (lowcase): new macro.
2781 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
2782 (lang_suffixes): new suffix ".pc" for Pro*C files.
2783 (consider_token): don't tag all tokens beginning with DEFUN & Co..
2784 (tail): look for the end of the token when comparing.
2785 (takeprec): since now tail behaves differently, use strneq.
2786
27871995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2788
2789 * movemail.c (main): Add newline in usage message.
2790
27911995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2792
2793 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
2794
27951995-06-21 Francesco Potorti` (pot@cnuce.cnr.it)
2796
2797 * etags.c (find_entries): Rewind before rereading the input file.
2798
27991995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2800
2801 * Version 19.29 released.
2802
2803 * make-docfile.c (main) [MSDOS]: Do set _fmode.
2804 This undoes part of the previous change.
2805
28061995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2807
2808 * make-docfile.c (main): On MSDOS, don't change stdout
2809 to binary, and insist on an -o option.
2810
28111995-06-13 Geoff Voelker <voelker@cs.washington.edu>
2812
2813 * etags.c (process_file,absolute_filename): Handle filenames
2814 starting with a drive letter.
2815
2816 * makefile.nt (install): Copy wakeup.exe properly.
2817
28181995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
2819
2820 * make-docfile.c [MSDOS]: #undef chdir.
2821
28221995-06-04 Paul Eggert <eggert@twinsun.com>
2823
2824 * rcs2log (output_authors): Allow ':' in time zone,
2825 as per ISO 8601 and RCS 5.6.8 beta.
2826
28271995-05-29 Francesco Potorti` (pot@cnuce.cnr.it)
2828
2829 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
2830 compatibility problems.
2831
28321995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
2833
2834 * etags.c (etags_getcwd): Don't use #elif.
2835 Have just one function body.
2836
28371995-05-25 Geoff Voelker <voelker@cs.washington.edu>
2838
2839 * makefile.nt (LIBS): Use BASE_LIBS.
2840 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
2841 upon LIBS.
2842 (DOC): Use del instead of rm.
2843 (DOC) [WINDOWS95]: Use DOC.
2844 (clean): Handle MSVC aux files.
2845 (config.h,paths.h): Use $(CP) instead of cp.
2846 (config.h): Use $(CONFIG_H)
2847 (make-docfile.obj): Depend upon config.h.
2848 Clean up comments.
2849
28501995-05-23 Francesco Potorti` (pot@cnuce.cnr.it)
2851
2852 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
2853 former gives the true path even in the presence of simlinks.
2854
28551995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2856
2857 * movemail.c (main): Increase lock timeout to five minutes.
2858
28591995-05-06 Geoff Voelker <voelker@cs.washington.edu>
2860
2861 * makefile.nt (obj): Use .c files.
2862
28631995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2864
2865 * make-docfile.c: Include config.h.
2866 (NO_SHORTNAMES): New definition.
2867 (xmalloc): Return long *.
2868
2869 * etags.c (C_entries): Cast result of xrealloc.
2870 (xmalloc, xrealloc): Declare them to return long *.
2871
2872 * b2m.c (xmalloc, xrealloc): Declare them long *.
2873
2874 * movemail.c (xmalloc): Declare it to return long *.
2875
28761995-04-30 Paul Eggert <eggert@twinsun.com>
2877
2878 * rcs2log (datearg): If rlog options are specified explicitly,
2879 omit the implicit '-d>DATE' option.
2880 (repository, rlog): Allow absolute paths to CVS repositories.
2881 Look only at the first line of CVS/Repository.
2882
28831995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
2884
2885 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
2886 realclean.
2887
28881995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2889
2890 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
2891 Alternative (empty) definitions.
2892
28931995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2894
2895 * emacsclient.c (main): Add argv[0] to an error message.
2896
28971995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
2898
2899 * emacsclient.c (main): Improve error handling.
2900 * cvtmail.c (main, skip_to_lf): Improve error handling.
2901 (sysfail): New function.
2902
2903 * b2m.c (main): Check for trailing ", " before trying to delete it.
2904
29051995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2906
2907 * Makefile.in.in (all): Build test-distrib and make-docfile.
2908
2909 * make-docfile.c (scan_c_file): At end, restore file name last char
2910 to its original value.
2911
29121995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2913
2914 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
2915
29161995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2917
2918 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
2919 (alloca.o, regex.o): Use BASE_CFLAGS.
2920
29211995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2922
2923 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
2924
29251995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
2926
2927 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
2928 (SOURCES, distclean): Removed obsolete references to aixcc.
2929
29301995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2931
2932 * aixcc.lex: File deleted--surely obsolete now.
2933
29341995-03-23 Paul Eggert <eggert@twinsun.com>
2935
2936 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
2937 portability to mawk and nawk.
2938
29391995-03-21 Paul Eggert <eggert@twinsun.com>
2940
2941 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
2942 -u "login<tab>fullname<tab>mailaddr".
2943
29441995-03-21 Paul Eggert <eggert@twinsun.com>
2945
2946 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
2947 replaces the (now obsolescent) -n login fullname mailaddr option.
2948 Add -R option for recursive rlog.
2949 (AWK): New environment variable (default `awk') for awk program name.
2950 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
2951 Quote authors and fullnames correctly.
2952 Don't omit path from repository root when logging CVS files.
2953
29541995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
2955
2956 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
2957 even if HAVE_SYSVIPC.
2958 * emacsclient.c (main): Use getcwd if not BSD.
2959
29601995-03-13 Francesco Potorti` (pot@cnuce.cnr.it)
2961
2962 * etags.c (process_file): free (filename) after using it.
2963 (readline_internal): Do not access the char before start of line.
2964
29651995-02-22 Francesco Potorti` (pot@cnuce.cnr.it)
2966
2967 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
2968 savetok.valid. Mark token as valid when it is initialised.
2969 (make_tag): Make token only if token is valid and reset validity.
2970 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
2971 (TOKEN): Added a new member: valid.
2972
29731995-02-15 Francesco Potorti` (pot@cnuce.cnr.it)
2974
2975 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
2976 (main): Do not read twice the last filename in the stdin file list.
2977
29781995-02-14 Francesco Potorti` (pot@cnuce.cnr.it)
2979
2980 * etags.c (C_entries): Initialise the new members of TOKEN.
2981 (C_entries): Do not allocate a new space for each token found by
2982 consider_token. Let make_tag do that instead.
2983 (make_tag): Since now TOKEN has memory of where it is taken from,
2984 this new macro substitutes both make_tag_from_new_lb and
2985 make_tag_from_oth_lb. All callers changed.
2986 (TOKEN): Add linepos and buffer members.
2987 (main): Initialise token_str.
2988 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
2989 (token_str): New global variable used by C_entries.
2990
29911995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
2992
2993 * Makefile.in.in (maintainer-clean): Renamed from realclean.
2994
29951995-02-01 Francesco Potorti` (pot@cnuce.cnr.it)
2996
2997 * etags.c (pfnote): Initialise been_warned in the node.
2998 (C_entries): Removed a speed hack for the sake of clarity.
2999
30001995-01-18 Francesco Potorti` (pot@cnuce.cnr.it)
3001
3002 * etags.c (longopts, print_help, main): Use -I as abbreviation
3003 for the --ignore-indentation option.
3004 (main): Do not print an error message for unknown options.
3005
30061995-01-12 Francesco Potorti` (pot@cnuce.cnr.it)
3007
3008 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
3009 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
3010 constantypedefs, update, vgrind_style, no_warnings,
3011 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
3012 (permit_duplicates): Was a var, now a #define.
3013 (filename_lb): Was global, now local to main.
3014 (main): Open the tag file when in cxref mode.
3015 Use a BUFSIZ size buffer for making the shell commands.
3016 Look at the return value from the system routine.
3017 Exit when cannot open the tag file.
3018 (process_file): Open the file and pass the FILE* to find_entries.
3019 (find_entries): Now void, because does not open the file itself.
3020 (pfnote): Recovering from lack of memory does not work. Removed.
3021 Use savenstr and simplify the code.
3022 (free_tree): Only free the name space if node is named.
3023 (structtag): Now a pointer, not a fixed length array of chars.
3024 (consider_token): Don't take a token as argument. Use savenstr
3025 when saving a tag in structtag. Callers changed.
3026 (TOKEN): Structure changed. Now used only in C_entries.
3027 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
3028 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
3029 (pfcnt): Deleted. Users updated.
3030 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3031 TEX_getit, prolog_getit): Use dinamic allocation for storing
3032 the tag instead of a fixed size buffer.
3033
30341995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3035
3036 * movemail.c (main): Skip past the colon in inname.
3037
30381995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
3039
3040 * etags.c (pfatal): New function.
3041 (main, etags_getcwd): Use pfatal.
3042 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
3043
30441995-01-10 Francesco Potorti` (pot@cnuce.cnr.it)
3045
3046 * etags.c (Lang_function): Use void instead to declare the
3047 language functions, because many compilers are buggy.
3048 (etags_getcwd): Fix the previous fix on the #else branch.
3049 (readline_internal): Discard possible \r before \n here.
3050 (C_entries): Do not deal with \r here: undo previous fix.
3051
dff28924 30521995-01-09 Francesco Potorti` (pot@fly)
362bc2da
DL
3053
3054 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
3055 functions and a macro that allow the program to work on input
3056 lines of whatever length. Copied from etags.c.
3057 (fatal): Print a fatal error message and exit.
3058 (main): Use the new functions. Fixed a bug that made a \037 char
3059 appear at the end of the output.
3060
30611995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3062
3063 * etags.c (C_entries): Ignore carriage return at end of line.
3064
30651994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3066
3067 * fakemail.c (xmalloc, xrealloc): Add casts.
3068 (add_field): Handle <...> and "..." syntax.
3069 (setup_files, get_keyword): Clean up parens and line breaks.
3070 (args_size): Likewise.
3071
30721994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
3073
3074 * yow.c: Include program name in error messages.
3075
30761994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3077
3078 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
3079 (xmalloc, fatal, error): New functions.
3080 (progname): New variable.
3081 (main): Set progname.
3082
30831994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3084
3085 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
3086 (main): If socket/mqueue name is in home dir, add in the host name.
3087 Rename .emacs_server to .emacs-server....
3088
30891994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3090
3091 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
3092
30931994-11-22 Francesco Potorti` (pot@cnuce.cnr.it)
3094
3095 * etags.c (print_help): print --regex usage for ctags also.
3096 (main): use -h in addition to -H as abbreviation for --help.
3097
30981994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
3099
3100 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
3101 is compiled if this is defined. The new functions and variables
3102 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
3103 [VMS]: All VMS specific code previously contained in
3104 etags-vmslib.c is now included here, modified for dealing with
3105 language and regex options intermixed with filenames.
3106 (header_file): Global variable deleted.
3107 (Lang_Function): New typedef. All language parser functions
3108 changed to this new type.
3109 (string_numeric_p, substr, prestr): Functions deleted.
3110 (readline_internal): Does the job that readline did previously.
3111 (longopts): --language and --regex options added.
3112 (lang_names, lang_extensions, lang_func, print_language_names):
3113 New structures, variables and functions for choosing languages.
3114 (print_help): Help strings updated. Calls print_language_names.
3115 (argument_type, ARGUMENT): Typedefs for dealing with language and
3116 regex options intermixed with filenames.
3117 (main): Changed the way of dealing with arguments on the command
3118 line to deal with language and regex options intermixed with
3119 filenames.
3120 (get_language, default_C_entries, Cplusplus_entries,
3121 Cstar_entries, Yacc_entries, just_read_file): New functions.
3122 (find_entries): Use the new method for choosing the language.
3123 (Pascal_functions): Allow intermixing of comment styles.
3124 (prolog_getit, skip_comment): Rewritten for speed.
3125 (readline): Rewritten to deal with regexps.
3126
31271994-11-16 Francesco Potorti` (pot@cnuce.cnr.it)
3128
3129 * etags.c (<errno.h>): #include added.
3130 (etags_getcwd): Check return value from getcwd.
3131
31321994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3133
3134 * profile.c (TV1, TV2): Use EMACS_TIME as type.
3135 (get_time): Use EMACS_SUB_TIME.
3136
31371994-10-30 voelker <voelker@cs.washington.edu>
3138
3139 * ntlib.c: New file.
3140 * makefile.nt: New file.
3141
3142 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
3143 [WINDOWSNT]: Include the NT headers.
3144 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
3145
3146 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
3147 [WINDOWSNT]: Include some NT headers.
3148
31491994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
3150
3151 * pop.c (getline): When a search of already-read input for CRLF
3152 fails, store the fact that we've searched it and don't search it
3153 again after reading more data.
3154
3155 * pop.c (getline): When determining whether or not it's necessary
3156 to grow the input buffer, take into account the null that's stored
3157 at the end of already-read input in the buffer.
3158
31591994-10-21 Francesco Potorti` (pot@cnuce.cnr.it)
3160
3161 * etags.c (prestr, substr): return a logical type.
3162 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
3163 (consider_token): set funcdef to fignore when a DEFUN is met.
3164 (C_entries): Now we can use Tom Hageman patch for extern "C".
3165
31661994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3167
3168 * movemail.c: PopServer renamed to popserver throughout.
3169
31701994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3171
3172 * etags.c: Don't declare malloc, since we include config.h.
3173 * fakemail.c: Likewise.
3174
31751994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3176
3177 * movemail.c: Don't declare malloc.
3178
31791994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
3180
3181 * rcs-checkin: Use test -r instead of < to check readability, to
3182 avoid syntax error.
3183
31841994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
3185
3186 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
3187 defined, and if HAVE_CONFIG_H isn't defined, define
3188 MAIL_USE_POP always (so that this file can be included in
3189 other programs besides emacs).
3190
3191 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
3192 HAVE_CONFIG_H isn't defined.
3193
3194 * pop.c (find_crlf, getline): Instead of using strstr, use a
3195 custom function for finding CRLF.
3196 (my_strstr): Function deleted.
3197
31981994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
3199
3200 * pop.c (getline): Fix a segfault because of passing a
3201 non-null-terminated string into strstr(). Fix from
3202 djm@va.pubnix.com (David J. MacKenzie).
3203
3204 * pop.c: Don't include <string.h> and <strings.h>.
3205
3206 * pop.c: Include <des.h> before <krb.h>, rather than after. They
3207 should be interchangeable, and indeed the inclusion is done in
3208 both orders in various files in the Kerberos 4 library sources,
3209 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
3210 requires that <des.h> be included first, and I don't see any harm
3211 in changing the order.
3212
3213 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
3214 STDC_HEADERS, if they're defined. Undef open, read, write and
3215 close after including it.
3216
32171994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3218
3219 * pop.c: Fix mismatch in conditionals.
3220
3221 * make-docfile.c (main): Don't process one input file twice.
3222 Never use exit code > 1.
3223
3224 * pop.c (open, close, read, write): Add #undefs.
3225
3226 * pop.c: Don't declare malloc, realloc, free.
3227 Include ../src/config.h.
3228 Don't include string.h or strings.h.
3229 Include des.h before krb.h.
3230 Do declare my_strstr.
3231 (getline): Really use my_strstr.
3232 Leave one empty place in server->buffer,
3233 and put a null at the end of the data in it.
3234
32351994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3236
3237 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
3238 call kill with pid 0. Handle EINTR when receiving messages.
3239
32401994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
3241
3242 * Makefile.in.in (regex.o): Use full path to find regex.c.
3243
32441994-10-17 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3245
3246 * Makefile.in.in (etags): add dependency on regex.o, link with it.
3247 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
3248
32491994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
3250
3251 * Makefile.in.in (DONT_INSTALL): Remove make-path.
3252 (${archlibdir}): Use mkinstalldirs instead.
3253
3254 * movemail.c: Make functions that return nothing void, not
3255 implicitly int.
3256 (main): Improve usage message.
3257 (error): Write to stderr, not stdout.
3258
3259 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
3260 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
3261 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
3262 variables and implicitly declared functions.
3263
32641994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3265
3266 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
3267 (distclean): Not here.
3268
3269 * Makefile.in.in (libexecdir): Renamed from libdir.
3270
32711994-10-11 Francesco Potorti` (pot@cnuce.cnr.it)
3272
3273 * etags.c (C_entries): Name the #define's that are macros.
3274
32751994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3276
3277 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
3278 fd_set arg is a pointer, descriptor arg comes first.
3279
32801994-09-29 Francesco Potorti` (pot@cnuce.cnr.it)
3281
3282 * etags.c (C_entries): Recognise typedef of ANSI style functions.
3283 (C_entries): Recognise #define inside a struct.
3284 (C_entries): ANSI tells that preprocessor commands do not have to
3285 start on the first column.
3286 (print_help): Documentation corrected for -d and -D.
3287 (white, endtk): ANSI tells the vertical tab is a separator.
3288
32891994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
3290
3291 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
3292 (pop.o, movemail.o): New targets.
3293 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
3294
3295 * pop.c, pop.h: New files.
3296
3297 * movemail.c: Improve POP code, move most of it into a separate file.
3298 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
3299 (mbx_write): Check for errors and for From line.
3300 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
3301 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
3302 (pop_init): Functions deleted.
3303
33041994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
3305
3306 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
3307 Rename path to dirname.
3308
33091994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3310
3311 * Makefile.in.in (UTILITIES):
3312 Remove test-distrib, make-docfile, make-path.
3313 (DONT_INSTALL): New variable--list those files here.
3314 (clean): Delete the files in DONT_INSTALL.
3315
33161994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3317
3318 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
3319 (main): Use fgets, not gets.
3320
33211994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3322
3323 * timer.c: Don't declare malloc.
3324
33251994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3326
3327 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
3328 defined, use simple 32-bit versions of these macros.
3329 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
3330
33311994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3332
3333 * etags.c (etags_getcwd): Use getcwd if available.
3334
33351994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3336
3337 * Version 19.27 released.
3338
33391994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3340
3341 * Version 19.26 released.
3342
33431994-08-15 Paul Eggert <eggert@twinsun.com>
3344
3345 * rcs2log: Add support for CVS.
3346 Work with `rlog's that output ISO 8601 dates.
3347
33481994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
3349
3350 * rcs2log: Use <> to delimit email address.
3351
33521994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3353
3354 * emacsserver.c [SYSV_IPC] (main): Make a separate process
3355 so we can listen for multiple requests.
3356
33571994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3358
3359 * movemail.c: Include config.h first thing.
3360
33611994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3362
3363 * emacsserver.c (main): Add casts to avoid warnings.
3364
33651994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3366
3367 * Makefile.in.in (${archlibdir}): Compare the proper dir
3368 before installing the scripts.
3369
33701994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3371
3372 * emacsclient.c (main): New local var progname saves argv[0].
3373
33741994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3375
3376 * emacsclient.c (main): Don't actually modify argv[0].
3377 Modify a copy instead.
3378
33791994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3380
3381 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
3382 (tzp): Var deleted.
3383
3384 * Makefile.in.in: Add #undef alloca.
3385
33861994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3387
3388 * timer.c (xmalloc): New function.
3389
33901994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3391
3392 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
3393 (alloca.o): New target.
3394
33951994-07-08 Dave Love (d.love@dl.ac.uk)
3396
3397 * etags.c (takeprec): recognise `character*(*) function'
3398
33991994-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
3400
3401 * etags.c (main): Don't barf on obsolete -t and -T switches.
3402 (main): Print an explicative message when a switch is not known.
3403
34041994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3405
3406 * hexl.c: Don't declare exit or perror.
3407
3408 * emacsserver.c (main): Don't declare geteuid.
3409 Don't declare getenv if convex.
3410
34111994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3412
3413 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
3414
34151994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3416
3417 * etags.c (absolute_filename): Remove infinite loop bug when
3418 accessing files in directories whose name begins with a dot.
3419
34201994-06-03 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3421
3422 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
3423
34241994-06-01 Morten Welinder (terra@diku.dk)
3425
3426 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
3427 location of data directory.
3428
34291994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3430
3431 * Version 19.25 released.
3432
34331994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3434
3435 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
3436
34371994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3438
3439 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
3440
34411994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3442
3443 * Version 19.24 released.
3444
34451994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3446
3447 * make-docfile.c (write_c_args): Put `default' in upper case.
3448
34491994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3450
3451 * etags.c (etags_getcwd): Cast result of popen.
3452 (popen): Declaration deleted.
3453
34541994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
3455
3456 * etags.c [!MSDOS]: Declare popen.
3457
34581994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3459
3460 * b2m.c (main): Avoid crash if argc is 1.
3461
34621994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3463
3464 * Version 19.23 released.
3465
3466 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
3467
34681994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3469
3470 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
3471
34721994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
3473
3474 * Makefile.in.in: Fix out of date comment.
3475
34761994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3477
3478 * Makefile.in.in: Put in a separator for where to start cpp procssing.
3479 Move all autoconf substitutions above that point.
3480 Above that point, use Make-style comments.
3481 This goes with changes in ../configure.in.
3482
34831994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3484
3485 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
3486 warning message.
3487 (${archlibdir}): Don't do it here. Don't depend on blessmail.
3488
34891994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
3490
3491 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
3492
34931994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3494
3495 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
3496 print advice to run it, if it has anything significant to do.
3497 And only if MOVEMAIL_NEEDS_BLESSING.
3498 (blessmail): Use emacs, not temacs.
3499 (configuration): Renamed from configname.
3500
35011994-04-30 Morten Welinder (terra@diku.dk)
3502
3503 * etags.c (find_entries): Treat `*.cpp' as C++ files.
3504
35051994-04-30 Morten Welinder (terra@diku.dk)
3506
3507 * etags.c [MSDOS]: #include <sys/param.h> for the following.
3508 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
3509 a shell.
3510
35111994-04-29 Morten Welinder (terra@diku.dk)
3512
3513 * hexl.c [MSDOS]: Don't define proto type for exit.
3514
35151994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3516
3517 * b2m.c: Don't include string.h or strings.h.
3518
35191994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
3520
3521 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
3522 symbols, not make variables.
3523
35241994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3525
3526 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
3527 * etags.c (print_version): Print VERSION as a string.
3528
35291994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3530
3531 * fakemail.c (readline): Fix updating of p when buffer grows.
3532
35331994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
3534
3535 * Makefile.in.in (blessmail): New target.
3536 ${archlibdir}: Use blessmail when installing movemail.
3537
35381994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3539
3540 * fakemail.c (readline): When extending the buffer,
3541 calculate end afresh using the new size.
3542
35431994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3544
3545 * etags.c (main, print_help): eliminate the -F option.
3546
35471994-04-18 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3548
3549 * etags.c (absolute_filename): compare against '\0' instead of NULL.
3550
35511994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3552
3553 * Makefile.in.in: Renamed from Makefile.in.
3554 Makefile.in is now generated from it, and then preprocessed.
3555 Change comments to C syntax.
3556 Include config.h.
3557 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
3558 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
3559
35601994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3561
3562 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
3563
35641994-04-12 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3565
3566 * etags.c (etags_getcwd): Initialize bufsize.
3567
35681994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3569
3570 * profile.c (gettimeofday): If system doesn't have this, define it
3571 to give a fatal error.
3572
35731994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
3574
3575 * movemail.c (main): Use setuid, not seteuid.
3576
35771994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3578
3579 * etags.c: #undef static.
3580
35811994-04-08 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3582
3583 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
3584 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
3585 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
3586 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
3587 TeX_functions, Prolog_functions.
3588 (inf): no more a global variable.
3589 (C_entries): take 2nd parameter `inf' instead of using the global one.
3590 (find_entries): added the cp1 var for optimisation.
3591 (find_entries): added more suffixes for assembler files.
3592 (Asm_funcs): Now finds labels even without an ending colon.
3593
35941994-03-30 Francesco Potorti` (pot@fly.cnuce.cnr.it)
3595
3596 * etags.c (main): use etags_getcwd for compatibility.
3597 (etags_getcwd): new function.
3598
35991994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3600
3601 * Makefile.in (etags, ctags): Pass -D for VERSION.
3602
36031994-03-25 Francesco Potorti` (pot@cnuce.cnr.it)
3604
3605 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
3606 (main): don't allow the use of -t and -T in etags mode.
3607 (print_help): don't show options enabled by default.
3608 (print_version): show the emacs version number if VERSION is #defined.
3609 (find_entries): add "ss" as suffix for Chez Scheme.
3610
36111994-03-23 Francesco Potorti` (pot@cnuce.cnr.it)
3612
3613 * etags.c (cwd, outfiledir): vars added.
3614 (relative_filename, absolute_filename, absolute_dirname):
3615 functions added to compute filenames in tags files.
3616 (process_file): filenames in tags file are relative to the
3617 directory where the tags file is (useful with the -o option).
3618 (main): initialise the outfiledir var.
3619 (TYPEDST): added the `tignore' value.
3620 (C_entries): corrected various small bugs.
3621
36221994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3623
3624 * Makefile.in (UTILITIES): `env' deleted.
3625 (env): Target deleted.
3626 * env.c: File deleted.
1c478461 3627
362bc2da
DL
36281994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3629
3630 * Makefile.in (install, ${archlibdir}): Switch back to ..
3631 before running INSTALL_PROGRAM.
3632
36331994-03-14 Francesco Potorti` (pot@cnuce.cnr.it)
3634
3635 * etags.c (TYPEDST): added the `tignore' value.
3636 (C_entries): corrected various bugs, now correctly parses the
3637 `extern "C" {' construction (patch by Tom R.Hageman).
3638
36391994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3640
3641 * b2m.c: Use <...> to include config.h.
3642 Don't include stdlib.h.
3643
36441994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
3645
3646 * b2m.c (main): Change delimiter from "^L" to "^_^L".
3647 Allow for text following "BABYL OPTIONS:".
3648 Add --help option. Use argv[0] in error messages.
3649
36501994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3651
3652 * emacsclient.c (main) [HAVE_SYSVIPC]:
3653 Make msgp->mtext longer if necessary.
3654 On HPUX, error if it's more than 512 chars.
3655
36561994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
3657
3658 * etags-vmslib.c: Use GPL.
3659 * emacstool.c: Use GPL.
3660 * fakemail.c: Update GPL.
3661
3662 * make-path.c (main): Return 1 on error, not -1.
3663 Update GPL.
3664
3665 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
3666 (xmalloc, xrealloc): Return char *, not int.
3667 (error): Write to stderr, not stdout.
3668 Update GPL.
3669
36701994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
3671
3672 * profile.c (main, get_time): Don't crash on invalid input.
3673
36741994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
3675
3676 * profile.c (get_time): Simplify; avoid calling index.
3677 (main): exit on EOF.
3678
36791994-02-17 Francesco Potorti` (pot@cnuce.cnr.it)
3680
3681 * etags.c (--absolute-pathnames): option removed.
3682
36831994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3684
3685 * fakemail.c (put_line): Don't break the line if it all fits.
3686
dff28924 36871994-02-14 Francesco Potorti` (pot@fly)
362bc2da
DL
3688
3689 * etags.c (absolute_pathnames, cwd): added global vars.
3690 (longopts, print_help, main, process_file): put absolute filenames
3691 in the tag file if the -A --absolute-pathnames option is used.
3692 (print_help): alfabetically order the options.
3693 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
3694
36951994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3696
3697 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
3698 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
3699
37001994-02-07 Christian Lynbech (lynbech@avignon)
3701
3702 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
3703
37041994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3705
3706 * Makefile.in (UTILITIES): Mention profile.
3707 (profile): New target.
3708
3709 * profile.c: New file.
3710
37111994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3712
3713 * Make the argument list output look more like the Lisp docstrings do.
3714 make-docfile.c (write_c_args): Take new arg FUNC. Make output
3715 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
3716 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
3717
37181994-01-14 Francesco Potorti` (pot@cnuce.cnr.it)
3719
3720 * etags.c (stab_entry, stab_create, stab_find, stab_search,
3721 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
3722 Use gperf generated hash table instead of linked list.
3723 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
3724 Mostly code generated by gperf.
3725 (consider_token): removed unused parameter `lp'.
3726 (PF_funcs, getit): allow subroutine and similar declarations
3727 to span multiple lines.
3728 (C_entries): check for newline if inchar to avoid bus errors.
3729 (process_file, find_entries): distinguish among nonexistent
3730 and not regular file.
3731
37321994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3733
3734 * timer.c: Include errno.h; don't include fasync.h.
3735 (schedule): Don't return a value.
3736 (sigcatch): Reestablish the handler first.
3737 (getevent): Always call notify at the end.
3738 (notify): Defer alarms around the whole body of function.
3739
37401994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3741
3742 * timer.c (main): Don't request SIGIO, and don't handle it.
3743 Loop calling getevent.
3744 (sigcatch): Delete code to handle SIGIO.
3745 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 3746 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
3747 Set defer_alarms around realloc and schedule.
3748 If alarm_deferred gets set, call notify.
3749 Likewise if this event is the only pending event.
3750 Make buf and buf_size global variables.
3751 Don't malloc buf if it is already non-zero.
3752 (schedule): Just exit if run out of memory.
3753 Return the number of events.
3754 (signal) [_CX_UX]: Add #undef.
3755
37561994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3757
3758 * timer.c [USG] (SIGIO): Define as SIGPOLL.
3759 (main) [USG]: Do ioctl to enable SIGPOLL.
3760
37611994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3762
3763 * timer.c: Don't declare sys_errlist; declare strerror instead.
3764 (schedule, main): Call strerror instead of using sys_errlist.
3765 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
3766 Call strerror instead of using sys_errlist.
3767 * env.c (main): Call strerror instead of using sys_errlist.
3768 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
3769 (main): Call strerror instead of using sys_errlist.
3770 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
3771 * env.c [! HAVE_STRERROR] (strerror): Likewise.
3772 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
3773 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
3774
37751994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3776
3777 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
3778
3779 * movemail.c (malloc): Don't declare it.
3780 (xmalloc): Cast result of malloc.
3781 (strcpy): Don't declare it.
3782
37831993-11-14 Morten Welinder (terra@diku.dk)
3784
3785 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
3786 (main): Use fclose to close file opened by fopen.
3787
3788 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
3789
3790 * movemail.c [MSDOS]: #undef `access'.
3791
3792 * b2m.c (main) [MSDOS]: Open all files as binary.
3793 * etags.c (main) [MSDOS]: Open all files as binary.
3794
3795 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
3796 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
3797 with.
3798
37991994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3800
3801 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
3802 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
3803 (LINK_CFLAGS): New variable.
3804 (timer): Use LINK_CFLAGS.
3805
38061993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3807
3808 * movemail.c: Include syswait.h.
3809 Fork a subprocess and use it to copy the mail file.
3810
38111993-12-07 Richard Stallman (rms@srarc2)
3812
3813 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
3814
38151993-12-04 Richard Stallman (rms@srarc2)
3816
3817 * movemail.c (main): When making tempname, cast result of xmalloc.
3818 Include room for EXXXXXX in the size.
3819 Don't use result of strcpy.
3820
38211993-12-03 Paul Eggert (eggert@twinsun.com)
3822
3823 * vcdiff: Add --brief option.
3824
38251993-12-02 Richard Stallman (rms@srarc2)
3826
3827 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
3828 for all executables and scripts.
3829
38301993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3831
3832 * Version 19.22 released.
3833
38341993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3835
3836 * Makefile.in (mostlyclean): Make it distinct from clean.
3837
38381993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3839
3840 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
3841
38421993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3843
3844 * Version 19.21 released.
3845
3846 * Makefile.in (install): Don't change mode or group when installing.
3847
3848 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
3849
38501993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3851
3852 * make-docfile.c (read_c_string): For "", concatenate the two strings.
3853
3854 * movemail.c (main): Fix error message text.
3855
38561993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3857
3858 * Version 19.20 released.
3859
38601993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
3861
3862 * etags.c: (C_entries): Keep track of ()-parenthesis level so that
3863 functions returning a pointer to a function, a la `signal', can be
3864 parsed. This also required new state `fstartlist' to `FUNCST'.
3865 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
3866 (C_entries, CNL): use it to isolate preprocessor directive processing
3867 from the other state engines.
3868 (begtk): add '~', for C++ class destructors.
3869
38701993-11-02 Francesco Potorti` (pot@cnuce.cnr.it)
3871
3872 * etags.c (consider_token): removed unused variable firsttok.
3873 (prolog_getit): call pfnote with the right number of arguments.
3874
38751993-10-19 Paul Eggert (eggert@twinsun.com)
3876
3877 * rcs2log (printlogline): Don't generate lines containing only
3878 white space.
3879
38801993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3881
3882 * Makefile.in (${archlibdir}):
3883 Install ${SCRIPTS} from ${srcdir}, not cwd.
3884
38851993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3886
3887 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
3888 the comment character.
3889
38901993-10-01 Francesco Potorti` (pot@cnuce.cnr.it)
3891
3892 * etags.c (process_file): dead code removed.
3893 (S_ISREG): #define it using S_IFREG if not defined.
3894 (process_file): regular files have nothing to do with symlinks.
3895
38961993-09-28 Brian Fox (bfox@ai.mit.edu)
3897
3898 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
3899 from current directory. Only chmod and chgrp files that we
3900 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
3901 ${bindir}.
3902 (INSTALLFLAGS): Deleted definition, since it is an unused variable
3903 now.
3904
39051993-09-27 Brian Fox (bfox@ai.mit.edu)
3906
3907 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
3908 configure figure out the correct values for these variables.
3909
39101993-09-14 Brian Fox (bfox@ai.mit.edu)
3911
3912 * Makefile.in (archlibdir): Only install execuatables internally
3913 used by emacs; don't install bindir binaries here.
3914
39151993-09-24 Paul Eggert (eggert@twinsun.com)
3916
3917 * rcs2log: Add -h, -n, -r options.
3918 By default, look for *,v files as well as RCS/*,v files.
3919 Use $TMPDIR (default /tmp) instead of /tmp.
3920
dff28924 39211993-09-20 Francesco Potorti` (pot@fly)
362bc2da
DL
3922
3923 * etags.c (C_entries): is_func is initialised here instead of in
3924 consider_token for the sake of the yacc rules section.
3925 (C_entries): Now class, struct, enum, union and typedef produce
3926 named tags.
3927
39281993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
3929
3930 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
3931
39321993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3933
3934 * Support configuring in a different directory when ${srcdir} has
3935 already been configured.
3936 * Makefile.in (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before
3937 -I${srcdir} -I${srcdir}/../src.
3938 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
3939 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
3940 is already in CPP_FLAGS.
3941 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
3942 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
3943
39441993-08-25 Paul Eggert (eggert@twinsun.com)
3945
3946 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
3947 otherwise, HP awk complains.
3948
3949 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
3950 are common hangouts for SCCS commands.
3951
39521993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3953
3954 * Version 19.19 released.
3955
39561993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3957
3958 * Makefile.in (make-path): Dep on config.h.
3959
39601993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3961
3962 * b2m.c (TRUE, FALSE): Don't define if already defined.
3963
39641993-08-09 Paul Eggert (eggert@twinsun.com)
3965
3966 * rcs2log (awkscript):
3967 Some sites put comma-separated junk after the fullname.
3968 Remove it, but leave "Bill Gates, Jr" alone.
3969 Remove the junk from fullnames like "0000-Admin(0000)".
3970
39711993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3972
3973 * Version 19.18 released.
3974
39751993-08-04 Francesco Potorti` (pot@spiff.gnu.ai.mit.edu)
3976
3977 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
3978 (L_funcs): the (foo::defmumble stuff now should work.
3979 (consider_token): function returned random value--corrected.
3980 (C_entries): corrected == versus = typo.
3981
39821993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
3983
3984 * etags.c (put_entries): For NODE->rewritten, put pattern before
3985 \177 and name after, not vice versa.
3986
39871993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
3988
3989 * timer.c (main): Generate a SIGIO as soon as we've initialized.
3990
39911993-07-30 Francesco Potorti` (pot@cnuce.cnr.it)
3992
3993 * etags.c (FINCST): added the fignore status. Means we are
3994 after the parameter list and before the open curly brace.
3995 Allows correct parsing of C++ constructors.
3996 (C_entries, consider_token): make use of fignore.
3997 (consider_token): reset funcdef when next_token_is_func: when in
3998 ctags mode makes DEFVAR and others work better.
3999 (L_isquote): function that recognises the "(quote" string.
4000 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
4001
40021993-07-29 Paul Eggert (eggert@twinsun.com)
4003
4004 * rcs-checkin: Don't check whether a file is readable until we have
4005 decided not to ignore it.
4006
40071993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4008
4009 * Makefile.in (etags): Depend on ../src/config.h.
4010
4011 * emacsserver.c: Include types.h before file.h.
4012
40131993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4014
4015 * Makefile.in (install): Use .n, not .new, for temporary filenames.
4016
40171993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4018
4019 * Version 19.17 released.
4020
40211993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4022
4023 * etags.c (print_help): Break up the very long strings containing
4024 the help message into shorter strings, to placate chintzy C
4025 compilers which can't handle strings that long.
4026
4027 * wakeup.c: Use CPP tangle from autoconf manual to #include the
4028 correct combination of <time.h> and <sys/time.h>.
4029
40301993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
4031
4032 * etags.c (alloca): removed all references to it.
4033 (main): now calls xnew instead of alloca for portability.
4034 (../src/config.h): included only if HAVE_CONFIG_H.
4035 (const): void definition removed--config.h takes care of it.
4036
40371993-07-08 Francesco Potorti` (pot@cnuce.cnr.it)
4038
4039 * etags.c (consider_token): was `==', now is `='.
4040 (consider_token): DEFUNs now treated like funcs in ctags mode.
4041
4042 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
4043 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
4044 (C_entries): removed a piece of useless code.
4045 (C_entries): making typedef tags is delayed until a semicolon
4046 is met. This handles "typedef int X, Y, Z;" correctly.
4047
40481993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4049
4050 * Version 19.16 released.
4051
4052 * b2m.c: #include <sys/types.h>.
4053 (ltoday): Declare this to be time_t.
4054
40551993-06-30 Paul Eggert (eggert@twinsun.com)
4056
4057 * vcdiff: Add -q option.
4058
40591993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4060
4061 * etags.c: #include "config.h" and the alloca CPP tangle before
4062 #including the system headers and getopt.h. AIX requires the
4063 #pragma to come before any actual C code.
4064
40651993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4066
4067 * Makefile.in (ctags): Depend on etags, so that parallel makes
4068 don't write etags.o files on top of each other.
4069
40701993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4071
4072 * version 19.15 released.
4073
40741993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4075
4076 * etags.c (add_node): Move var last_node to file scope.
4077
40781993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4079
4080 * Version 19.14 released.
4081
40821993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4083
4084 Bring mumbleclean targets into conformance with GNU coding standards.
4085 * Makefile.in (distclean): Call clean to do most of the work.
4086 Delete aixcc.c and TAGS.
4087 (realclean): Just call distclean.
1c478461 4088
362bc2da
DL
4089 * Makefile.in: Remember, spaces are not tabs.
4090
40911993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4092
4093 * Makefile.in (CPP_CFLAGS): New variable.
4094 Use it instead of ALL_CFLAGS when compiling a .c file.
4095 (getopt.o, getopt1.o): Add explicit compilation commands.
4096
40971993-06-10 Mark D. Baushke (mdb@cisco.com)
4098
4099 * etags.c: Reinstate old -f option as an alias for -o for
4100 installed base uses.
4101
41021993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4103
4104 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
4105 to bind or accept, cast the pointer, to avoid warnings on systems
4106 which declare prototypes for this.
4107 * emacsclient.c (main): Same.
4108
4109 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
4110
41111993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4112
4113 * Version 19.13 released.
4114
4115 * wakeup.c: Include sys/types.h, too; I think that's where time_t
4116 comes from, not sys/time.h.
4117
41181993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4119
4120 * wakeup.c: Include sys/time.h.
4121
4122 * etags.c: #undef static.
4123
4124 * Version 19.12 released.
4125
4126 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
4127
41281993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4129
4130 * Version 19.11 released.
4131
4132 * timer.c [LINUX]: #undef signal.
4133 * emacsserver.c: #undef signal.
4134
41351993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4136
4137 * wakeup.c (main): Make when a time_t.
4138
41391993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4140
4141 * Makefile.in: (${archlibdir}): Use `(cd foo && pwd)` instead of
4142 `(cd foo ; pwd)` to get the canonical name of a directory; cd
4143 might fail, and have pwd print out the current directory.
4144
4145 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
4146 string-handling functions.
4147
41481993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4149
4150 * Version 19.10 released.
4151
41521993-05-29 Paul Eggert (eggert@twinsun.com)
4153
4154 * rcs2log: When given no file arguments, inspect RCS/.* as well
4155 as RCS/*. Don't report an error if RCS is empty or nonexistent.
4156
41571993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4158
4159 * Makefile.in (timer): Link with $(LOADLIBES).
4160
41611993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4162
4163 * fakemail.c (put_line): Don't output \n\t unless more text follows.
4164
41651993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4166
4167 * etags.c: Replace the CPP tangle for alloca with the one from the
4168 autoconf documentation, since that's working elsewhere.
4169
41701993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4171
4172 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
4173 description files can find their ancestors.
4174
41751993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4176
4177 * Makefile.in (install): Get the scripts from ${srcdir},
4178 unlike the executables.
4179 (ALL_CFLAGS): Add -I../src
4180
41811993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4182
4183 * Version 19.9 released.
4184
41851993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4186
4187 * Makefile.in (install): Do install the programs listed in
4188 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
4189 INSTALLABLE_SCRIPTS, instead of writing the programs out.
4190
4191 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
4192 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
4193
41941993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4195
4196 * etags.c: Include ../src/config.h.
4197
4198 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
4199 in first loop. Delete files from bindir before installing new ones.
4200 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
4201
42021993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4203
4204 * Version 19.8 released.
4205
4206 * make-docfile.c: Doc fix.
4207
42081993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4209
4210 * tcp.c: Fix comment syntax at top of file.
4211 (main): Don't call htons with the port number.
4212
42131993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4214
4215 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 4216 appropriate.
362bc2da
DL
4217
4218 * Makefile.in (install): Refer to the variables INSTALLABLES and
4219 INSTALLABLE_SCRIPTS, instead of writing them out.
4220
42211993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4222
4223 * make-path.c (main): Return 0.
4224
42251993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4226
4227 * Version 19.7 released.
4228
42291993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4230
4231 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
4232
42331993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4234
4235 * tcp.c: New file.
4236
42371993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4238
4239 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
4240
42411993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4242
4243 * timer.c (notify): Don't call sighold or sigrelse; they're USG
4244 only. We should really fix this later, but let's just make it
4245 compile for now.
4246
4247 Install patches from David J. Mackenzie to make the srcdir option
4248 work.
4249 * Makefile.in (srcdir, VPATH): Get this value from the top-level
4250 Makefile.
4251 (INSTALLABLES): Split this into two lists - INSTALLABLES and
4252 INSTALLABLE_SCRIPTS.
4253 (INSTALLABLE_SCRIPTS): New list.
4254 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
4255 (${archlibdir}): The scripts to be installed live in the source
4256 tree, not in the object tree.
4257 (test-distrib): Note that the data file lives in the source tree,
4258 not the object tree.
4259 (GETOPTDEPS): Note that getopt.h lives in the source tree.
4260 (all other targets): Change references to source files to use
4261 ${srcdir}, except for config.h, which lives in the object dir.
4262 (timer.o): Note that this depends on ../src/config.h.
4263 * make-docfile.c (main): Add a -d option, to tell it where to find
4264 the source files.
4265 * test-distrib.c (main): Take the name of the distribution file to
4266 test from the command line.
4267
4268 * timer.c: Fix mispellings of get_date function's name.
4269
42701993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4271
4272 * etags.c (main):
4273 Don't require that there be input files if -i switches were given.
4274
42751993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4276
4277 The GNU coding standards specify that CFLAGS should be left for
4278 users to set.
4279 * Makefile.in (CFLAGS): Put this in the "things configure might
4280 edit" section, and have it default to -g.
4281 (ALL_CFLAGS): New variable, set to all the flags which should be
4282 passed to compilations. Replace all other uses of CFLAGS with
4283 ALL_CFLAGS.
4284 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
4285
4286 * Makefile.in (DEFS): Remove this; it's always just going to be
4287 "-DHAVE_CONFIG_H -Demacs".
4288
42891993-05-03 Paul Eggert (eggert@twinsun.com)
4290
4291 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
4292 /[/]/, so change it to /[\/]/. This should work on all
4293 Posix-compliant awks. It's slightly wrong with traditional awk,
4294 since it matches \ too, but that's a minor problem compared to awk
4295 syntax errors.
4296
42971993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4298
4299 * Makefile.in (ALLOCA): New variable, whose value we should
4300 inherit from the top-level makefile.
4301 (etags, ctags): Include ALLOCA in the list of object files that
4302 these executables depend on and link.
4303
43041993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4305
4306 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
4307
43081993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
4309
4310 * make-docfile.c (write_c_args): Print an argument named "defalt"
4311 as "default".
4312
43131993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4314
4315 * Makefile.in (C_SWITCH_SYSTEM): New variable.
4316 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
4317 compiler.
4318
43191993-03-22 Francesco Potorti` (pot@cnuce.cnr.it)
4320
4321 * etags.c (YACC): flag added to c_ext.
4322 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
4323 (find_entries): consistently use streq when reasonable.
4324 (find_entries): a .y file is a yacc file.
4325 (get_C_stab): c_ext becomes c_ext&C_PLPL.
4326 (C_entries): logical cplpl means c_ext&C_PLPL.
4327 (C_entries): logical yacc_rules means we are after the first %%.
4328 (C_entries): added logic for yacc files.
4329
43301993-03-16 Francesco Potorti` (pot@cnuce.cnr.it)
4331
4332 * etags.c (C_entries): ':' case moved to the second switch.
4333 (C_entries): do not examine token if structdef==scolonseen.
4334 (consider_token): structtag set to null string for enum.
4335
43361993-03-12 Francesco Potorti` (pot@cnuce.cnr.it)
4337
4338 * etags.c (GET_COOKIE): and related macros removed.
4339 (logical): is now int, no more a char.
4340 (reg): define deleted.
4341 (isgood, _gd, notgd): deleted.
4342 (gotone): deleted.
4343 (TOKEN): member linestart removed.
4344 (linepos, prev_linepos, lb1): deleted.
4345 (main): call initbuffer on lbs array instead of lb1.
4346 (init): removed the initialisation of the logical _gd array;
4347 (find_entries): a .sa suffix means assembler file.
4348 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
4349 All C state machines rewritten.
4350 (C_entries): complete rewrite.
4351 (condider_token): complete rewrite.
4352 (getline): deleted.
4353
43541993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4355
4356 * etags.c (C_entries): Added the quotednl logical variable.
4357 Used for parsing of #define's spanning multiple lines.
4358
43591993-02-23 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4360
4361 * etags.c (C_entries): Save the definedef status even when a
4362 newline is met inside a string.
4363
43641993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
4365
4366 * Makefile.in (EXECUTABLES): added rcs-checkin.
4367
4368 * Makefile.in (unlock, relock): New productions.
4369
43701993-03-16 Paul Eggert (eggert@twinsun.com)
4371
4372 * rcs2log: Some awks don't understand "\r". Code around this.
4373 Unfortunately this requires putting a carriage return in the
4374 source code. Don't assume that rlog will tolerate times like
4375 `10:10:60'; RCS 5.7 won't allow this.
4376
43771993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4378
4379 * timer.c (main): Set the ownership of the stdin file descriptor
4380 to the current process. Print error messages if either of the
4381 fcntl's fails.
4382
4383 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
4384 ../src/config.h), not void.
4385
43861993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4387
4388 * b2m.c (main): Don't exit upon reading a blank line.
4389
43901993-03-01 Francesco Potorti` (pot@fly.CNUCE.CNR.IT)
4391
4392 * etags.c (C_entries): New local variable quotednl. Used for
4393 parsing of #define's spanning multiple lines.
4394
4395 * etags.c (C_entries): Save the definedef status
4396 even when a newline is met inside a string.
4397
43981993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4399
4400 * timer.c (notify): Initialize waitfor properly.
4401
44021993-02-22 Francesco Potorti` (pot@CNUCE.CNR.IT)
4403
4404 * etags.c (C_entries): Don't reset definedef when a newline inside a
4405 comment is met.
4406
44071993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4408
4409 * etags.c (find_entries): If filename ends in .f or .for,
4410 don't try anything but Fortran.
4411
44121993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
4413
4414 * timer.c (notify): Flush stdout after writing message to avoid lossage
4415 on terminals.
4416
4417 (notify): Also, write a newline after the token.
4418
44191992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4420
4421 * Makefile.in (exec_prefix): New variable.
4422 (bindir, libdir): Use it instead of `prefix'.
4423
4424 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
4425
4426 * Makefile.in (libdir): Default to ${prefix}/lib.
4427 (archlibdir): Adjusted to match.
4428
4429 * Makefile.in (distclean): Don't delete backup or autosave files.
4430 (extraclean): Like realclean, but does delete backup and autosave
4431 files.
4432
4433 * Makefile.in (realclean): Ignore errors from rm.
4434
4435 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
4436 that doesn't exist anymore.
4437
44381992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4439
4440 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
4441 described in the top-level Makefile.
4442 (UTILITIES): Add make-path to the list of utility programs.
4443 (../arch-lib): Replaced by the ${archlibdir} target, which places
4444 the executables in their permanent home.
4445 (install, install.sysv, install.xenix): Consolidated into one
4446 target which should work under all circumstances, modulo a few
4447 ignored error messages.
4448
4449 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
4450 a different number of arguments than other DEFVARs, recognize it
4451 specially, and expect the right number of commas.
4452
44531992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4454
4455 * make-path.c: New program, to help with the installation process.
4456 * Makefile.in (make-path): New target.
4457
4458 * make-path.c (touchy_mkdir): Remove debugging output.
4459
44601992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4461
4462 * Makefile.in (getdate.o): Added explicit target for this, so we
4463 can indicate that it depends on ../src/config.h.
4464
44651992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4466
4467 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
4468 instead of CFLAGS.
4469 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
4470
44711992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4472
4473 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
4474 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
4475 that system.
4476
4477 * Makefile.in (arch-lib): Give rm the `-f' option.
4478
44791992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4480
4481 * make-docfile.c (write_c_args): Rewritten to correctly print
4482 &optionals before the first identifier, but after the first paren.
4483 This code used to just wait for commas or spaces; now it notices
4484 identifier boundaries.
4485
44861992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4487
4488 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
4489
44901992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4491
4492 * make-docfile.c (write_c_args): Print the argument lists properly
4493 when the first argument is optional.
4494
44951992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4496
4497 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
4498 Redefine @item. Set catcode of +.
4499
45001992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4501
4502 * emacsclient.c (main): Set IPC_CREAT in msgget call.
4503
45041992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4505
4506 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
4507 (TEX_decode_env): Make `tab' one element longer.
4508
45091992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4510
4511 * etags.c (PF_funcs): Recognize the "entry" keyword.
4512
45131992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4514
4515 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
4516
45171992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4518
4519 * timer.c (events): Rather than having slots marked as in use or
4520 out of use by the `token' field, keep all pending events at the
4521 beginning of the array. When we delete an event in the middle of
4522 the array, we move the last event into its place.
4523 (num_events): New variable.
4524 (schedule): It is now cheaper to find a free event slot;
4525 events[num_events] is the first free slot.
4526 (notify): Scan events[0 .. num_events-1], instead of the whole
4527 array. When an event fires, move the last event in the array into
4528 its spot. Use num_events to determine whether or not there are
4529 any pending events, not wait_for.
4530 (getevent): Deleted unused variable `ep'.
4531 (sigcatch): It's now easier to find all the active events.
4532 (main): Initialize num_events.
4533
4534 * etags.c: Rather than fret about which systems have index and
4535 which systems have strchr, and how to tell the difference between
4536 them, we just write out our own versions. Big deal.
4537 (index, rindex): Extern declarations removed.
4538 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
4539 (etags_index, etags_rindex): New declarations.
4540 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
4541 TEX_getit, substr): Use the etags_*index functions, rather than
4542 the native *index functions.
4543 (rindex, index): Renamed to etags_rindex and tags_rindex, and
4544 made them unconditionally defined, rather than having them depend
4545 on NEED_*INDEX.
4546
4547 * etags.c (savenstr): Add declaration for this at top of file.
4548 (TEX_decode_env): Don't declare it local to this function.
4549
4550 * b2m.c: #include "../src/config.h", so we can test for the USG
4551 macro, and decide whether to include <string.h> or <strings.h>.
4552 * Makefile.in: Note that b2m.c depends on ../src/config.h.
4553
45541992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4555
4556 * timer.c: Reformatted according to the GNU coding standards.
4557 Removed arbitrary limits on the number of events queued and the
4558 length of the tokens used to identify them.
4559 Removed casts to (void).
4560 Removed debugging printfs; they clutter the code, and the need
4561 can be better filled using a real debugger.
4562
45631992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4564
4565 * timer.c: Installed new version from Eric Raymond; this is more
4566 portable, since it doesn't try to use SIGIO.
4567
45681992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4569
4570 * emacsclient.c (main): If we can't find the socket in this
4571 person's home directory, print a message which asks if they've
4572 started the server, instead of just printing the message from
4573 sys_errmsg; Cygnus finds that people are much less confused by
4574 this.
4575
45761992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4577
4578 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
4579 so that index and rindex get defined, why don't we actually
4580 control index and rindex using symbols called "NEED_INDEX" and
4581 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
4582 little more readable than defining something whose name implies
4583 that it's not?
4584
45851992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4586
4587 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
4588 distribution:
4589 Miscellaneous doc fixes.
1c478461 4590 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
4591 (scan_lisp_file): Instead of using long hairy strings of ifs, call
4592 read_lisp_symbol and then see what we got. Call skip_white
4593 instead of writing out a loop to do its job. Correctly extract
4594 docstrings from "defmacro" declarations.
4595
45961992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4597
4598 * movemail.c (strcpy): Declare this to return char *.
4599
46001992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4601
4602 * etags.c (C_entries): When we find a C++ comment, do actually
4603 skip to the end of the line; do a 'break' instead of a 'continue'.
4604
46051992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4606
4607 * etags.c (getit): Add missing parenthesis to expression which
4608 decides if this token is an identifier.
4609
46101992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4611
4612 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
4613
46141992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4615
4616 * etags.c (put_entries): Always put space between name and line num.
4617
46181992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
4619
4620 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
4621 warning.
4622 (LEVEL_OK_FOR_FUNCDEF): Ditto.
4623
46241992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
4625
4626 * make-docfile.c (write_c_args): Pass both arguments to putc.
4627
46281992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
4629
4630 * etags.c (C_entries): Fixed reading of "..." strings.
4631 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
4632 the C library source.
4633
4634 * etags.c (C_entries): When we see a backslash inside a quoted
4635 string, skip to the next character. This allows us to correctly
4636 deal with strings containing quotes.
4637
46381992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4639
4640 * make-docfile.c (write_c_args): Print the C argument names as
4641 they would be written in Elisp; print '_' as '-'.
4642
46431992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4644
4645 * movemail.c [POP]: Get user name via getpwuid.
4646
46471992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4648
4649 * Makefile.in: flags in CC invocations rearranged for no reason.
4650
46511992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4652
4653 * etags.c (print_help): Remember not to imbed raw newlines in
4654 strings - end the lines with `\n\'.
4655
46561992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4657
4658 * timer.c (getevent): Removed declaration of memcpy; since
4659 different systems have different return types, and we're not even
4660 using the return type anyway, it wasn't doing us any good.
4661
46621992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4663
4664 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
4665 type of this function.
4666
46671992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4668
4669 * ChangeLog: Since the old etc contents have been split into etc
4670 and lib-src, the old etc's ChangeLog has been duplicated in the
4671 new etc and lib-src. That means that each contains complete and
4672 coherent information, although each contains extraneous
1c478461 4673 information.
362bc2da
DL
4674
46751992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4676
4677 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
4678 to be consistent with other GNU programs, like makeinfo.
4679
4680 * lib-src/Makefile: Renamed to Makefile.in; the configure script
4681 will edit this to produce Makefile.
4682
46831992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4684
4685 * etags.c (print_help, print_version): New functions.
4686 (main): Options added to support them.
4687
4688 * etags.c (longopts): New array of long names for the options.
4689 (main): Recognize them.
4690
46911992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4692
4693 * etags.c (C_entries): Removed comment saying that \" in a string
4694 isn't recognized as magic, because it is correctly handled.
4695
4696 * getopt.c, getopt.h: New files, from GNU C library.
4697 * etags.c: Rewritten to use getopt.
4698 #include "getopt.h".
4699 (file_num): Variable deleted; its role is now played by getopt's
4700 optind.
4701 (main): Argument processing loop rewritten to call getopt to get
4702 next option. Options which take parameters (-o and -i) rewritten
4703 to get parameter from optarg instead of argv[1]. Filename
4704 preprocessing loop and update command changed similarly.
4705 * Makefile (etags, ctags): Depend on and link with getopt.h,
4706 getopt.o, and getopt1.o.
4707 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
4708
4709 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
4710 is non-zero.
4711
4712 (main): In the argument processing loop, the 'goto next_arg'
4713 statements are breaking out of the switch statement in exactly the
4714 same way that a simple 'break' statement would; replace the gotos
4715 with breaks, and remove the label.
4716
47171992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4718
4719 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
4720 (consider_token): Move next_token_is_func to global.
4721
47221992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4723
4724 * Makefile: Conform with GNU coding standards:
4725 (mostlyclean): New target, synonymous with clean.
4726 (TAGS, check): New targets.
4727 (INSTALL, INSTALLFLAGS): New variables.
4728
47291992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4730
4731 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
4732 `config.emacs' to `configure'.
4733
4734 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
4735 * etc/MACHINES: Same.
4736
47371992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
4738
4739 * movemail.c (main): Allow tempname to be as long as necessary,
4740 instead of limiting it to 39 characters.
4741
4742 * movemail.c (main): Move declaration of buf from top of function
4743 to local block surrounding the copy loop. This makes it less
4744 likely to be confused with the buf used by the code which checks the
4745 permissions on outname's directory.
4746
47471992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
4748
4749 * SERVICE: Remove my entry.
4750
47511992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4752
4753 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
4754 hardcoded -g.
4755
4756 * movemail.c (xmalloc): Return char *, not int.
4757 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
4758 that is off by default -- normally don't unlink the mail spool
4759 file, just empty it. Pass creat mode 0600, not 0666.
4760
dff28924 47611992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
4762
4763 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
4764 (all): Instead of here.
4765 (install): Don't use the -s option, since people need symbols to
4766 debug code.
4767
dff28924 47681992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
4769
4770 * etags-vmslib.c (fn_exp): Add type cast.
4771
47721992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4773
4774 * movemail.c: Changes in comments.
4775
dff28924 47761992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
4777
4778 * Makefile: Make the distclean target erase the DOC files from
4779 ../share-lib and the executables from ../arch-lib.
4780
dff28924 47811992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
4782
4783 * emacsclient.c: #include <sys/stat.h>
4784 (main): Do declare statbfr.
4785
dff28924 47861991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4787
4788 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
4789 for the socket, depending on SERVER_HOME_DIR.
4790 If using /tmp, put host name in the socket name.
4791
4792 * movemail.c (pfatal_and_delete): New function.
4793 (main, popmail): Use it.
4794 (popmail): Close output before deleting messages.
4795 Check for error on close and on fsync.
4796 Use `fatal' where appropriate.
4797 (main): Remove (void).
4798
4799 * aixcc.lex: New file. Not officially part of Emacs.
4800 * Makefile: Rules for that.
4801
dff28924 48021991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
4803
4804 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
4805
4806 * etags.c (main): Properly cast call to alloca that initializes
4807 included_files.
4808
48091991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
4810
4811 * etags.c (files_are_tag_tables): Remove global var.
4812 (process_file): Don't test it. Also remove hack checking for a
4813 file named "TAGS".
4814 (main): -i now takes an arg which is the name of a file to include.
4815 Collect these names and emit include tags for them after processing
4816 all the argument files.
4817
dff28924 48181991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4819
4820 * wakeup.c: Terminate if parent goes away.
4821
dff28924 48221991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4823
4824 * etags.c (C_entries): Process token before handling end of line.
4825 When inner loops reach end of line, just back up.
4826 Let the real end of line processing happen in just one place.
4827 (consider_token): Likewise.
4828
dff28924 48291991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
4830
4831 * etags.c (TEX_mode): Skip comments while scanning the text to see
4832 which escape character this file uses.
4833
dff28924 48341991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
4835
4836 * emacsserver.c [USG]: Terminate if msgrcv fails.
4837
dff28924 48381991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4839
4840 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
4841
dff28924 48421991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
4843
4844 * make-docfile: Find the arguments to a C function correctly,
4845 by not ignoring the character that read_c_string returns. Don't
4846 even try to find argument names for functions that take MANY
4847 or UNEVALLED arguments, since they're a figment of the docstring's
4848 imagination.
4849
dff28924 48501991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
4851
4852 * make-docfile: Read the .elc files generated by the new byte
4853 compiler.
4854
dff28924 48551990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4856
4857 * refcard.tex: Use cm fonts, not am, in multi-column mode.
4858
dff28924 48591990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4860
4861 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
4862
dff28924 48631990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4864
4865 * Makefile (install*): No need to install wakeup.
4866
dff28924 48671990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4868
4869 * Makefile (install*): Install emacsclient like etags.
4870
dff28924 48711990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4872
4873 * movemail.c (error): Handle 3 args.
4874 (main): Don't check input access if using pop.
4875
dff28924 48761990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4877
4878 * etags.c (find_entries): Check for numbers after Scheme suffix.
4879
dff28924 48801990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4881
4882 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
4883
dff28924 48841990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4885
4886 * Makefile (nemacstool, xvetool): New targets.
4887
dff28924 48881990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4889
4890 * emacsclient.c: Include errno.h and define related variables.
4891
dff28924 48921990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
4893
4894 * emacsclient.c: Change usage message.
4895
dff28924 48961990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
4897
4898 * emacs.1: Add break before -nw option.
4899
dff28924 49001990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
4901
4902 * qsort.c: Replace with GNU version.
4903
dff28924 49041990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
4905
4906 * wakeup.c: New program replacing loadst.c.
4907
dff28924 49081990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4909
4910 * emacsclient.c [USG]: Pass msgsnd only 4 args.
4911
dff28924 49121990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
4913
4914 * etags.c: Rename `flag' variables for what they do instead of
4915 which option character sets them.
4916
dff28924 49171990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4918
4919 * loadst.c (main): Conditional to get load average on Apollo.
4920
dff28924 49211990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
4922
4923 * emacsserver.c: Set the permission on the socket to 0600.
4924
dff28924 49251990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4926
4927 * emacsclient.c [BSD]: Print clean message for failing getwd.
4928
dff28924 49291990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
4930
4931 * getdate.y: Use the getdate.y from GNU tar for timer.
4932
dff28924 49331990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
4934
4935 * emacsclient.c (main): Don't put brackets around "filename" in
4936 usage message. It isn't optional.
4937
dff28924 49381990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
4939
4940 * etags.c (getit): Recognize '$' as beginning identifiers.
4941
dff28924 49421990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
4943
4944 * emacsserver.c: Renamed from server.c.
4945 * Makefile: Reference emacsserver rather than server.
4946 * MACHINES: Doc fix for new emacsserver name.
4947
dff28924 49481990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4949
4950 * emacsclient.c: Print program name in error messages.
4951
dff28924 49521990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
4953
4954 * timer.c, getdate.y (new files) and Makefile:
4955 Sub-process support for run-at-time in timer.el.
1c478461 4956 Doesn't yet work correctly for USG.
362bc2da 4957
dff28924 49581990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
4959
4960 * MACHINES: Add HP 300 running BSD.
4961
dff28924 49621990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4963
4964 * yow.c: Dynamically allocate buffer; skip header before random
4965 choice to avoid bias toward first item.
4966
dff28924 49671989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4968
4969 * etags.c (readline): Separate out init of `pend'.
4970
dff28924 49711989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4972
4973 * etags.c: Undo changes relating to isgoodhdr.
4974
dff28924 49751989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4976
4977 * etags.c (isgoodhdr): New macro.
4978 (_gdh, notgdh): New variable used by that.
4979 (init): Initialize _gdh.
4980 (find_entries): Set header_file.
4981 (consider_token): Use isgoodhdr if in header file.
4982
4983 * etags.c (total_size_of_entries):
4984 Was miscalculating by 1 in rewritten case.
4985
4986 * etags.c (PAS_funcs): One arg to pfnote was missing.
4987
dff28924 49881989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
4989
4990 * MACHINES: Change for the ULTRIX entry.
4991
dff28924 49921989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
4993
4994 * etags.c (process_file): If file is not regular, return.
4995
dff28924 49961989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
4997
4998 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
4999
dff28924 50001989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5001
5002 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
5003 (main): If HAVE_GETLOADAVG, don't call `nlist'.
5004
dff28924 50051989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5006
5007 * etags.c (consider_token): Allow any number of typespec keywords
5008 after `typedef', before new type name.
5009 (enum sym_type): Add st_C_typespec.
5010 (C_create_stab): Put typespec kwds in table.
5011
dff28924 50121989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
5013
5014 * etags.c (main): Don't depend on name invoked by.
5015 If CTAGS is not defined, assume it is ETAGS.
5016
dff28924 50171989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5018
5019 * etags.c (L_funcs): Allow package name in define construct,
5020 as in (foo::defmumble name-defined ...).
5021
dff28924 50221989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5023
5024 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
5025
5026 * Makefile (yow): Depends on ../src/paths.h.
5027
dff28924 50281989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
5029
5030 * etags.c: Fix compilation by moving Pascal after Fortran.
5031
dff28924 50321989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5033
5034 * movemail.c [USG]: Define F_OK, etc., if not found in header.
5035
dff28924 50361989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5037
5038 * hexl.c: New file, supports hexl-mode.
5039
dff28924 50401989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5041
5042 * movemail.c: New compilation flag MAIL_USE_MMDF.
5043
dff28924 50441989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5045
5046 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
5047 * server.c: Likewise.
5048
5049 * make-docfile.c (scan_c_file): Output argument names at end of string.
5050 (write_c_args): New subroutine.
5051
dff28924 50521989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5053
5054 * movemail.c: Report failure of flock.
5055
dff28924 50561989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5057
5058 * etags.c (find_entries): Allow multi-letter extensions for fortran.
5059
dff28924 50601989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5061
5062 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
5063
dff28924 50641989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5065
5066 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
5067
5068 * emacsstool.1: update to document environment variables.
5069
dff28924 50701989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5071
5072 * etags.c (PAS_funcs): New function by Mosur Mohan.
5073
5074 * movemail.c: On sysv, include unistd.h.
5075
dff28924 50761989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5077
5078 * b2m.c: New file.
5079
dff28924 50801989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5081
5082 * etags.c: Prolog support from Sunichirou Sugou
5083
dff28924 50841989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5085
5086 * Makefile (clean): New target.
5087
dff28924 50881989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5089
5090 * fakemail.c (put_line): Break header lines at 79 cols.
5091
dff28924 50921989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5093
5094 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
5095 multiple tags per line.
5096
dff28924 50971989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5098
5099 * movemail.c: Check access before doing real work.
5100 Check that outfile is in a writable directory.
5101 On fatal error, delete the lock file.
5102
dff28924 51031988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da
DL
5104
5105 * env.c: Add decl for my-index
5106 * etags.c (file-entries): .oak => scheme
5107
dff28924 51081988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5109
5110 * movemail.c: Use `access' to check input and output files.
5111
dff28924 51121988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5113
5114 * emacsclient.c (main): Ignore all of CWD before first slash.
5115
dff28924 51161988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5117
5118 * etags.c (readline): Double linebuffer->size outside the xrealloc.
5119
dff28924 51201988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5121
5122 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
5123 * server.c: chmod the socket to 0700.
5124
dff28924 51251988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5126
5127 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
5128 (add_field): Delete comments and turn `<', `>' to spaces
5129 in header lines.
5130 (USE_FAKEMAIL): New customization macro says to make fakemail
5131 not be a no-op even on a BSD system.
5132
dff28924 51331988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5134
5135 * etags.c (consider_token): Skip comments just like whitespace.
5136 Notice `struct', etc. and set strtag for those tokens.
5137 Return 1 for the token following `struct' if an open-brace follows it.
5138 (C_entries): Special handling of token following `struct'
5139 needed because we have probably advanced to the following line
5140 to find the `{'.
5141 (main): New option `T' sets tflag and strflag.
5142 Set both of them by default if eflags.
5143
dff28924 51441988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5145
5146 * movemail.c: Do fsync before closing output.
5147
dff28924 51481988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da
DL
5149
5150 * movemail.c: Better error message when can't create tempname.
5151 This file needs a great deal of extra error-checking and lucid reporting...
5152
dff28924 51531988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5154
5155 * etags.c: Support assembler code for .s and .a files.
5156 (getit): Allow underscore in a tag.
5157
dff28924 51581988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5159
5160 * movemail.c: Close output and check errors before deleting input.
5161
dff28924 51621988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
5163
5164 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
5165 whether to prefix it. Handle line number args.
5166
dff28924 51671988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da
DL
5168
5169 * etags.c (main): default setting of eflag was backwards.
5170
dff28924 51711988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5172
5173 * etags.c: New option -i. -f renamed -o.
5174 `-' as input file means read input file names from stdin.
5175 -i spec'd or input file named TAGS means the input file is another
5176 tag table; output an "include" line for it.
5177
dff28924 51781988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5179
5180 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
5181 New targets install, install.sysv, install.xenix.
5182 This makefile is now responsible for installing executables
5183 and documentation from this directory into system directories.
5184
dff28924 51851988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
5186
5187 * server.c, emacsclient.c (main): Compute socket name from euid.
5188
dff28924 51891988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5190
5191 * emacsclient.c: Args like +DIGITS are passed through unchanged.
5192
dff28924 51931988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5194
5195 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
5196 * emacsclient.c: Likewise.
5197 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
5198
dff28924 51991988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5200
5201 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
5202 (istoken) New string-comparison macro.
5203 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
5204
dff28924 52051988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5206
5207 * etags.c: Changes for VMS.
5208 Always define ETAGS on VMS.
5209 Define macros GOOD and BAD for success and failure exit codes.
5210 (begtk, intk): Allow `$' in identifiers
5211 (main): Don't support -B, -F or -u on VMS.
5212 Alternate loop for scanning filename arguments.
5213 (system): Delete definition of this function.
5214
5215 * etags-vmslib.c (system): Undefine this; VMS now provides it.
5216
dff28924 52171988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5218
5219 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
5220 around include of param.h. (Like fns.c.)
5221
dff28924 52221988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5223
5224 * loadst.c (load_average): Move load-average code to this new fn.
5225 Add conditionals to compute load ave on UMAX.
5226
dff28924 52271988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
5228
5229 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
5230 with opposite sense.
5231
dff28924 52321988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
5233
5234 * emacsclient.c: Delete references to unused variable `out'. This
5235 caused a bus error when used under hp-ux.
5236
dff28924 52371988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5238
5239 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
5240
dff28924 52411988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
5242
5243 * etags.c (find_entries): `.t' or `.sch' means scheme code.
5244
dff28924 52451988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5246
5247 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
5248
dff28924 52491988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
5250
5251 * movemail.c: #undef close, since config can #define it on V.3.
5252 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
5253
dff28924 52541988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
5255
5256 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
5257 invalid escape sequences such as `\{'.
5258
5259 * loadst.c: Add `sequent' conditional for file dk.h.
5260
dff28924 52611988-03-20 Richard M. Stallman (rms@wilson)
362bc2da
DL
5262
5263 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
5264
5265 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
6922b018
KH
5266
5267;; Local Variables:
d19249e7 5268;; coding: iso-2022-7bit
6922b018 5269;; End:
2a34a036 5270
0caa685d 5271 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002
2a34a036
GM
5272 Free Software Foundation, Inc.
5273 Copying and distribution of this file, with or without modification,
5274 are permitted provided the copyright notice and this notice are preserved.