make-docfile: don't corrupt heap for an invalid .elc file
[bpt/emacs.git] / lib-src / ChangeLog
1 2011-01-30 Jim Meyering <meyering@redhat.com>
2
3 make-docfile: don't corrupt heap for an invalid .elc file
4 "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
5 one byte before just-malloc'd saved_string buffer.
6 * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
7 doc string length. Also fix an always-false while-loop test.
8
9 2011-01-29 Eli Zaretskii <eliz@gnu.org>
10
11 * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
12 (GETOPTOBJS, GETOPTDEPS): Remove targets.
13 (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
14 ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
15 (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
16 and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
17 (clean): Don't remove getopt.h.
18 (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
19 ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
20 $(EMACS_ROOT)/lib/getopt.h.
21
22 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
23
24 * ntlib.c (setregid): New stub, renamed from setegid.
25
26 * ntlib.h: Update prototype.
27
28 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
29
30 * movemail.c (main): Use setregid instead of setegid, which is
31 missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
32
33 2011-01-23 Paul Eggert <eggert@cs.ucla.edu>
34
35 Check return values of some library calls.
36 * hexl.c (main): Check fread result.
37 * make-docfile.c (main): Check chdir result.
38 (scan_c_file): Check fscanf result.
39 * movemail.c (main): Check ftruncate result.
40
41 2011-01-17 Paul Eggert <eggert@cs.ucla.edu>
42
43 Include <unistd.h> unilaterally.
44 * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
45 * pop.c, test-distrib.c, update-game-score.c:
46 Include <unistd.h> without worrying about HAVE_UNISTD_H, since
47 unistd.h is always present now, possibly supplied by gnulib.
48
49 Include <getopt.h> not "getopt.h".
50 * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
51 Since getopt.h is no longer in this directory, there's no point
52 using the form with double-quotes.
53
54 Remove unused files.
55 * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
56 These files are now in ../lib, copied from gnulib.
57
58 Use gnulib's getopt-gnu module.
59 * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
60 as these are now done by gnulib.
61 (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
62 Remove; now done by gnulib. All uses removed.
63
64 Automate syncing from gnulib.
65 * Makefile.in (EXE_FILES): New macro.
66 (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
67 for gnulib's .h files.
68 (LOADLIBES): Add ../lib/libgnu.a.
69 ($(EXE_FILES)): Depend on ../lib/libgnu.a.
70 (../lib/libgnu.a): New rule.
71
72 2011-01-08 Paul Eggert <eggert@cs.ucla.edu>
73
74 * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
75
76 2011-01-08 Glenn Morris <rgm@gnu.org>
77
78 * Makefile.in (EMACSOPT): Add --no-site-lisp.
79
80 * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
81
82 2011-01-02 Glenn Morris <rgm@gnu.org>
83
84 * ebrowse.c (version) <emacs_copyright>:
85 * etags.c (print_version) <emacs_copyright>:
86 * rcs2log (Copyright): Set short copyright year to 2011.
87
88 2010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change)
89
90 * ebrowse.c (yylex): If end of input buffer encountered while
91 searching for a newline after "//", return YYEOF. (Bug#7446)
92
93 2010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
94
95 * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
96 definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
97
98 2010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
99
100 * test-distrib.c: Remove include guards for config.h and fcntl.h.
101 (O_RDONLY): Do not define.
102 (cool_read): Fix type for variable "sofar".
103
104 2010-10-25 Glenn Morris <rgm@gnu.org>
105
106 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
107
108 2010-10-23 Glenn Morris <rgm@gnu.org>
109
110 * digest-doc.c, sorted-doc.c: Remove files.
111 * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
112 (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
113 * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
114 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
115 ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
116 (install): Don't install digest-doc.exe or sorted-doc.exe.
117
118 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
119
120 * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
121
122 2010-10-09 Glenn Morris <rgm@gnu.org>
123
124 * b2m.c, b2m.pl: Remove files.
125 * Makefile.in (INSTALLABLES): Remove b2m.
126 * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
127
128 2010-10-08 Glenn Morris <rgm@gnu.org>
129
130 * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
131 DARWIN_USER_TEMP_DIR. (Bug#3992)
132
133 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
134
135 * test-distrib.c (cool_read):
136 * movemail.c (main, concat):
137 * make-docfile.c (scan_file, write_c_args):
138 * emacsclient.c (get_server_config): Fix -Wconversion warning.
139 (egetenv): Move conditional definition earlier.
140 (progname): Use const.
141 * sorted-doc.c (xstrdup): Use const.
142
143 * Makefile.in: Remove ^L, old makes choke on it.
144
145 2010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change)
146
147 * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
148 error string (Bug#6963).
149
150 2010-10-02 Juanma Barranquero <lekktu@gmail.com>
151
152 * makefile.w32-in (tags): Remove target.
153
154 2010-10-01 Eli Zaretskii <eliz@gnu.org>
155
156 * makefile.w32-in (tags, TAGS): New targets.
157
158 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
159
160 * emacsclient.c (get_server_config): Don't read Emacs pid from
161 the authentication file.
162
163 2010-09-29 Juanma Barranquero <lekktu@gmail.com>
164
165 * makefile.w32-in (../src/config.h): Remove target, it is stale.
166
167 * emacsclient.c (main): Remove unused variables.
168 (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
169
170 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
171
172 * etags.c (compressors, print_language_names): Support xz compression.
173
174 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
175
176 * fakemail.c: Include stdlib.h for getenv. Remove declaration of
177 popen, fclose and pclose.
178 (my_name, fatal, error, put_line): Use const char*.
179 (main): Remove extern getenv, mail_program_name is const char*.
180
181 * update-game-score.c (get_prefix, write_scores, main): Use const char*.
182
183 * sorted-doc.c (error, fatal, states): Use const char *.
184
185 * pop.h (pop_multi_first): Use const char *.
186 (_ARGS): Remove.
187
188 * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
189
190 * movemail.c (fatal, error, concat): Use const char *.
191
192 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file): Use
193 const char *.
194
195 * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
196 (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
197 (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
198 (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
199 (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
200 (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
201 (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
202 (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
203 (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
204 (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
205 (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
206 (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
207 (no_lang_help, print_language_names)
208 (get_language_from_interpreter, get_language_from_filename)
209 (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
210 (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
211 (concat): Use const char*.
212
213 * emacsclient.c (message, sock_err_message, send_to_emacs)
214 (quote_argument, set_local_socket)
215 (start_daemon_and_retry_set_socket): Use const char*.
216
217 * ebrowse.c (struct member): filename, def_filename is const.
218 (struct sym): filename, sfilename is const.
219 (struct kw): name is const.
220 (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
221
222 * b2m.c (concat, fatal): Use const char*.
223 (main): Don't assign labels a string literal.
224
225 2010-08-07 Juanma Barranquero <lekktu@gmail.com>
226
227 * ebrowse.c (usage, version, mark_virtual):
228 Remove duplicate declarations.
229
230 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
231
232 * emacsclient.c: Move socket related #includes together with the
233 rest of the #includes. Move WINDOWSNT includes closer together.
234 (HAVE_CONFIG_H): Remove.
235 (NO_RETURN): Remove, defined in config.h.
236 (main): Convert definition to standard C.
237
238 2010-07-29 Juanma Barranquero <lekktu@gmail.com>
239
240 * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
241
242 2010-07-25 Juanma Barranquero <lekktu@gmail.com>
243
244 * emacsclient.c (getcwd): Fix previous change: make getcwd
245 conditional on HAVE_GETCWD and declare with the correct POSIX
246 profile (for some reason MinGW headers define its 2nd arg as int,
247 not size_t; but getcwd is not used on Windows nonetheless).
248
249 2010-07-25 Juanma Barranquero <lekktu@gmail.com>
250
251 * emacsclient.c (getcwd, w32_getenv):
252 * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
253
254 2010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
255
256 * update-game-score.c (usage): Add NO_RETURN specifier.
257 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
258 * make-docfile.c (fatal):
259 * hexl.c (usage):
260 * fakemail.c (fatal):
261 * etags.c (fatal, suggest_asking_for_help, pfatal):
262 * emacsclient.c (fatal):
263 * b2m.c (fatal): Likewise.
264
265 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
266
267 * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
268
269 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
270
271 * emacsclient.c (get_current_dir_name, w32_get_resource)
272 (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
273 (close_winsock, initialize_sockets, w32_find_emacs_process)
274 (w32_give_focus):
275 * ntlib.c (getlogin, getuid, getgid, getegid):
276 Convert definitions to standard C.
277
278 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
279
280 * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
281 (PROFILING_LDFLAGS): Set from substitution.
282 (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
283 (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
284 (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
285
286 2010-07-12 Eli Zaretskii <eliz@gnu.org>
287
288 * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
289 2010-07-12T05:25:46Z!handa@etlken).
290
291 2010-07-11 Andreas Schwab <schwab@linux-m68k.org>
292
293 * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
294 index, rindex.
295 * movemail.c (mail_spool_name, popmail): Likewise.
296 * pop.c (pop_list): Likewise.
297
298 2010-07-11 Eli Zaretskii <eliz@gnu.org>
299
300 * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
301 and unexw32.o. (Bug#6603)
302
303 2010-07-10 Eli Zaretskii <eliz@gnu.org>
304
305 * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
306
307 2010-07-09 Andreas Schwab <schwab@linux-m68k.org>
308
309 * make-docfile.c (write_c_args): Restructure scanning loop.
310
311 2010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
312
313 * make-docfile.c (write_c_args): Deal with type names in DEFUN
314 arguments.
315
316 2010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
317
318 * update-game-score.c (P_): Remove macro.
319 * ebrowse.c: Remove include guards.
320 (P_): Remove macro.
321
322 2010-07-07 Andreas Schwab <schwab@linux-m68k.org>
323
324 * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
325 memcpy, memmove, memset.
326 * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
327
328 2010-07-06 Andreas Schwab <schwab@linux-m68k.org>
329
330 * movemail.c: Add MAIL_USE_POP around prototypes.
331 Include <string.h> if HAVE_STRING_H.
332 (strerror): Only declare if !HAVE_STRERROR.
333 (fatal): Make static.
334 (error): Likewise.
335 (pfatal_with_name): Likewise.
336 (pfatal_and_delete): Likewise.
337 (concat): Likewise.
338 (xmalloc): Likewise.
339 (popmail): Likewise.
340 (pop_retr): Likewise.
341 (mbx_write): Likewise.
342 (mbx_delimit_begin): Likewise.
343 (mbx_delimit_end): Likewise.
344
345 2010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
346
347 * fakemail.c (action): Convert function definitions to standard C.
348 (add_a_stream):
349 * test-distrib.c (cool_read):
350 (main): Likewise.
351
352 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
353
354 * sorted-doc.c (cmpdoc): Fix signature.
355 (qsort_compare): Delete.
356 (main): Remove cast.
357
358 2010-07-03 Juanma Barranquero <lekktu@gmail.com>
359
360 * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
361
362 2010-07-03 Juanma Barranquero <lekktu@gmail.com>
363
364 Fix prototype warnings.
365
366 * ebrowse.c (match_qualified_namespace_alias):
367 Pass sym* to find_namespace, not link*.
368
369 * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
370
371 * sorted-doc.c (qsort_compare): New typedef.
372 (main): Use it to cast cmpdoc.
373
374 2010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
375
376 * update-game-score.c: Convert function definitions to standard C.
377 * sorted-doc.c:
378 * profile.c:
379 * pop.c:
380 * movemail.c:
381 * make-docfile.c:
382 * hexl.c:
383 * fakemail.c:
384 * etags.c:
385 * ebrowse.c:
386 * digest-doc.c:
387 * b2m.c: Likewise.
388
389 2010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
390
391 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
392 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
393 standard C prototypes.
394
395 2010-07-02 Jan Djärv <jan.h.d@swipnet.se>
396
397 * ebrowse.c: Remove P_ and __P.
398 * etags.c:
399 * movemail.c:
400 * pop.c:
401 * update-game-score.c: Likewise.
402
403 2010-06-24 Juanma Barranquero <lekktu@gmail.com>
404
405 * movemail.c (error): Avoid warning when there are no args.
406
407 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
408
409 * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
410 and vc/ediff-hook.elc.
411
412 2010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
413
414 * ntlib.h: Remove code dealing with BSTRING.
415
416 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
417
418 * emacsclient.c (longopts, decode_options, print_help_and_exit):
419 New arg `-parent-id'.
420 (main): Send parent-id to Emacs.
421
422 2010-05-27 Glenn Morris <rgm@gnu.org>
423
424 * Makefile.in (distclean): No more Makefile.c.
425
426 2010-05-22 Jan Djärv <jan.h.d@swipnet.se>
427
428 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
429 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
430 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
431 New rules (Bug #6246).
432 (clean): Remove stamp-* (Bug #6246).
433
434 2010-05-12 Glenn Morris <rgm@gnu.org>
435
436 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
437
438 2010-05-11 Glenn Morris <rgm@gnu.org>
439
440 * Makefile.in (.m.o): Remove, there are no .m files.
441 (BASE_CFLAGS): New variable.
442 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
443 (check): Update the message.
444 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
445
446 * Makefile.in: Convert comments to makefile format.
447
448 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
449 (config.h) [MSDOS]: Do not include.
450
451 2010-05-10 Glenn Morris <rgm@gnu.org>
452
453 * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
454 (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
455 (NOT_C_CODE): Remove, no longer used.
456 (config.h) [!MSDOS]: No longer include.
457 (LOADLIBES): Use LIBS_SYSTEM as a variable.
458
459 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
460
461 2010-05-08 Glenn Morris <rgm@gnu.org>
462
463 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
464
465 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
466
467 * Version 23.2 released.
468
469 2010-05-06 Glenn Morris <rgm@gnu.org>
470
471 * Makefile.in: Minimize blessmail-related cpp usage.
472 (BLESSMAIL_TARGET): New variable.
473 (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
474 (blessmail): Always define this rule.
475 (need-blessmail): New rule, split out from maybe-blessmail.
476 (maybe-blessmail): Use BLESSMAIL_TARGET.
477
478 2010-05-04 Glenn Morris <rgm@gnu.org>
479
480 * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
481 @c_switch_system@, @c_switch_machine@.
482
483 2010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
484
485 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
486
487 2010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
488
489 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
490 non-cpp section.
491
492 2010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
493
494 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
495 autoconf, not cpp.
496 (ALL_CFLAGS): Use them as make variables.
497
498 2010-04-07 Christoph <cschol2112@googlemail.com> (tiny change)
499
500 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
501 for macros for nmake compatibility.
502
503 2010-04-03 Juanma Barranquero <lekktu@gmail.com>
504
505 Add stubs for Windows, required after CVE-2010-0825 change.
506 * ntlib.c (getgid, getegid, setegid): New stubs.
507 * ntlib.h (getgid, getegid, setegid): Declare them.
508
509 2010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
510
511 * movemail.c (main): Check return values of setuid. Avoid
512 possibility of symlink attack when movemail is setgid mail
513 (CVE-2010-0825).
514
515 2010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
516
517 Remove extern errno declarations.
518 * movemail.c:
519 * etags.c:
520 * emacsclient.c: Remove extern errno declarations.
521
522 2010-03-20 Glenn Morris <rgm@gnu.org>
523
524 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
525 (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
526 defining these as Makefile variables.
527 (LIBS_MOVE): Add LIBS_MAIL into this.
528 (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
529
530 2010-03-18 Glenn Morris <rgm@gnu.org>
531
532 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
533 (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
534 (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
535
536 2010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
537
538 * Makefile.in (uninstall): Handle the case where archlibdir does not
539 exist. (Bug#5720)
540
541 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
542
543 * Branch for 23.2.
544
545 2010-02-20 Kevin Ryde <user42@zip.com.au>
546
547 * etags.c (Scheme_functions): Don't loop past a null character
548 (Bug#5601).
549
550 2010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
551
552 * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
553
554 2010-01-11 Glenn Morris <rgm@gnu.org>
555
556 * ebrowse.c (version):
557 * etags.c (print_version):
558 * rcs2log (Copyright): Set copyright year to 2010.
559
560 2009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
561
562 * makefile.w32-in: Use parenthesis for macros for nmake
563 compatibility.
564
565 2009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
566
567 * etags.c (absolute_filename): Use memmove if we have it for
568 overlapping copy.
569
570 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
571
572 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
573
574 2009-10-15 Juanma Barranquero <lekktu@gmail.com>
575
576 * .gitignore: Add echolisp.tmp.
577
578 2009-10-15 Glenn Morris <rgm@gnu.org>
579
580 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
581
582 * makefile.w32-in (echolisp): New rule.
583 (clean): Delete echolisp.tmp.
584
585 2009-09-27 Eli Zaretskii <eliz@gnu.org>
586
587 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
588 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
589 be consistent with src/Makefile.in.
590
591 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 * update-game-score.c (main): Sort scores before trimming them,
594 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
595
596 2009-09-09 Glenn Morris <rgm@gnu.org>
597
598 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
599 before creating directories and game score files.
600
601 2009-08-19 Glenn Morris <rgm@gnu.org>
602
603 * cvtmail.c: Remove file.
604 * Makefile.in (UTILITIES): Remove cvtmail.
605 (cvtmail${EXEEXT}): Remove.
606
607 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
608
609 * b2m.c (main): Ensure that each message ends in two newlines.
610
611 2009-07-03 Jason Rumney <jasonr@gnu.org>
612
613 * emacsclient.c (w32_set_user_model_id): Use standard types.
614
615 2009-07-03 Eli Zaretskii <eliz@gnu.org>
616
617 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
618 src/Makefile.in did.
619
620 2009-06-30 Jason Rumney <jasonr@gnu.org>
621
622 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
623 that is already loaded.
624 (w32_set_user_model_id): New function.
625 (main): Use it to associate emacsclient with emacs (bug#1849).
626
627 2009-06-29 Jim Meyering <meyering@redhat.com>
628
629 Remove useless if-before-free test.
630 * make-docfile.c (scan_lisp_file): Remove useless test.
631
632 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
633
634 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
635
636 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
637
638 * Branch for 23.1.
639
640 2006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
641
642 * mac-fix-env.m:
643 * Makefile.in (mac-fix-env): Remove.
644
645 2006-06-06 David Reitter <david.reitter@gmail.com>
646
647 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
648
649 2009-04-20 Juanma Barranquero <lekktu@gmail.com>
650
651 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
652 spacing is required in the message output, as the comment suggests).
653
654 2009-04-20 Chong Yidong <cyd@stupidchicken.com>
655
656 * emacsclient.c (print_help_and_exit): Clarify argument placement
657 for short option names.
658
659 2009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
660
661 * emacsclient.c (print_help_and_exit): Fix typo.
662
663 2009-03-21 Eli Zaretskii <eliz@gnu.org>
664
665 * ntlib.c (setuid): Argument is now unsigned.
666 (getuid): Return value is now unsigned.
667 (getpwuid): Argument is now unsigned.
668 (fchown): UID and GID arguments are now unsigned.
669
670 * ntlib.h (fchown): UID and GID arguments are now unsigned.
671 (getuid): Return value is now unsigned.
672 (setuid): Argument is now unsigned.
673 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
674
675 2009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * emacsclient.c (main): Revert part of last change, so
678 drive-relative file names again work on Windows.
679
680 2009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
681
682 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
683 names without prepending cwd to them, so Emacs uses its customary
684 rules to determine how to interpret the file name.
685
686 2009-03-04 Glenn Morris <rgm@gnu.org>
687
688 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
689
690 2009-02-13 Sven Joachim <svenjoac@gmx.de>
691
692 * movemail.c: Include time.h unconditionally.
693 (main): Use time_t for time variables.
694
695 2009-02-11 Glenn Morris <rgm@gnu.org>
696
697 * movemail.c (mbx_delimit_begin): Also write the current time.
698
699 2009-02-10 Glenn Morris <rgm@gnu.org>
700
701 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
702 than Babyl format. (Bug#2196)
703
704 2009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
705
706 * emacsclient.c (decode_options): Use a dummy display name under
707 NS/Cocoa.
708
709 2009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
710
711 * ebrowse.c (matching_regexp): Fix OB1 error.
712
713 2009-01-05 Glenn Morris <rgm@gnu.org>
714
715 * ebrowse.c (version):
716 * etags.c (print_version):
717 * rcs2log (Copyright): Update copyright for 2009.
718
719 2009-01-01 Chong Yidong <cyd@stupidchicken.com>
720
721 * movemail.c (main): Fatal if hard links cannot be created.
722
723 2008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
724
725 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
726 checking.
727
728 2008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
729
730 * emacsclient.c: Include syswait.h instead of sys/types.h.
731
732 2008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
733
734 * emacsclient.c (WCONTINUED): New compatibility define
735 for older systems.
736
737 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
738
739 * emacsclient.c (main): Fix previous change.
740
741 2008-12-10 Juanma Barranquero <lekktu@gmail.com>
742
743 * emacsclient.c (main): Fix mindless breakage where emacsclient
744 does not work *at all* on Windows, even if it *can* connect.
745
746 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
747
748 * emacsclient.c (EMACS_DAEMON): Remove definition.
749 (decode_options): Do not allow an empty alternate_editor on
750 WINDOWSNT.
751 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
752 (start_daemon_and_retry_set_socket): Likewise.
753 (main): Fail in case of not being able to connect.
754
755 2008-12-10 Juanma Barranquero <lekktu@gmail.com>
756
757 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
758 Changes when EMACS_DAEMON is not defined:
759 (print_help_and_exit): Don't add daemon information to help.
760 (start_daemon_and_retry_set_socket): Make a no-op.
761 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
762
763 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
764
765 * emacsclient.c (print_help_and_exit): Describe what an empty
766 string argument does for --alternate-editor.
767 (set_socket): Make it possible to not exit in case of an error.
768 (start_daemon_and_retry_set_socket): New function.
769 (main): Use it. Restore the NULL value for socket_name and
770 server_file after the set_socket call.
771
772 2008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
773
774 * emacsclient.c: Include <arpa/inet.h>.
775
776 2008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
777
778 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
779
780 2008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
781
782 * etags.c (add_regex): Pass correct length to re_compile_pattern.
783
784 2008-11-02 Chong Yidong <cyd@stupidchicken.com>
785
786 * emacsclient.c (window_system): Delete redundant variable.
787 (decode_options): Don't use it.
788 (find_tty): New function.
789 (main): Use find_tty, and don't use window_system.
790
791 2008-11-01 Eli Zaretskii <eliz@gnu.org>
792
793 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
794 `ttyname'.
795 (w32_getenv): Treat $TERM specially: if not found in the
796 environment and in the Registry, return "w32console".
797 (ttyname) [WINDOWSNT]: New function.
798
799 2008-10-31 Andreas Schwab <schwab@suse.de>
800
801 * emacsclient.c (main): Don't force sending tty when in eval mode.
802
803 2008-10-30 Chong Yidong <cyd@stupidchicken.com>
804
805 * emacsclient.c (main): If using the current frame, send tty
806 information to Emacs in case daemon mode needs to occupy this tty.
807
808 2008-10-29 Juanma Barranquero <lekktu@gmail.com>
809
810 * emacsclient.c (EXTRA_SPACE): New macro.
811 (get_server_config, set_local_socket): Use it.
812
813 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
814 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
815
816 2008-10-29 Ulrich Mueller <ulm@gentoo.org>
817
818 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
819 instead of hardcoded /tmp.
820
821 2008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
822
823 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
824 (decode_options): Use getopt_long_only.
825
826 2008-09-30 Eli Zaretskii <eliz@gnu.org>
827
828 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
829 codepage.elc.
830
831 2008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
832
833 * emacsclient.c (main): Use stdout rather than stdin to obtain the
834 terminal (bug#427).
835
836 2008-08-25 Francesco Potortì <pot@gnu.org>
837
838 * etags.c (main): Do not use static space for the tagfile string.
839
840 2008-08-17 Francesco Potortì <pot@gnu.org>
841
842 * etags.c (main): Use canonicalize_filename on tags file name.
843 (relative_filename): Revert 3.85: do not collapse slashes here.
844 (absolute_dirname): Remove useless call to canonicalize_filename.
845 (canonicalize_filename): Collapse multiple slashes here.
846
847 2008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
848
849 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
850 Do not special case for NS_IMPL_COCOA.
851
852 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
853
854 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
855 (.m.o): Dispense with GNUstep-specific flags.
856
857 2008-08-05 Ulrich Mueller <ulm@gentoo.org>
858
859 * pop.c (socket_connection): Add conditionals for
860 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
861 compilation with MIT Kerberos and Heimdal, respectively.
862
863 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
864
865 * etags.c:
866 * emacsclient.c: Remove VMS support.
867
868 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
869
870 Remove support for Mac Carbon.
871 * makefile.w32-in:
872 * emacsclient.c: Remove code for Carbon.
873
874 2008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
875
876 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
877
878 2008-07-17 Andreas Schwab <schwab@suse.de>
879
880 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
881 (LIB_STANDARD_LIBSRC): Don't define.
882 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
883
884 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
885
886 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
887 NS_IMPL_COCOA.
888
889 2008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
890
891 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
892 Remove, unused.
893
894 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
895
896 * .cvsignore: Add mac-fix-env.
897 * mac-fix-env.m: New file, automatically update
898 ~/.MacOSX/environment.plist on OS X systems to expose environment
899 variables inside Emacs started from icon.
900 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
901 programs to build.
902 * make-docfile.c: Add .m to list of file extensions.
903
904 2008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
905
906 * movemail.c (main): Use int instead of WAITTYPE.
907
908 2008-07-05 Juanma Barranquero <lekktu@gmail.com>
909
910 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
911 Remove vmsproc.el and vms-patch.el.
912
913 2008-06-26 Juanma Barranquero <lekktu@gmail.com>
914
915 * makefile.w32-in (obj): Remove w32bdf.o.
916
917 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
918
919 * fakemail.c: Remove references to obsolete variables.
920
921 2008-06-02 Jim Meyering <meyering@redhat.com>
922
923 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
924
925 Remove useless if-before-free tests.
926 * ebrowse.c (xfree): Likewise.
927 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
928 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
929 * pop.c (pop_quit): Likewise.
930
931 2008-05-30 Juanma Barranquero <lekktu@gmail.com>
932
933 * makefile.w32-in (lisp2): Add minibuffer.elc.
934
935 2008-05-29 Tom Tromey <tromey@redhat.com>
936
937 * etags.c (relative_filename): Treat "///" like "/" in filenames.
938
939 2008-05-09 Eli Zaretskii <eliz@gnu.org>
940
941 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
942 (IS_DIRECTORY_SEP): New macro.
943 (convert_time, is_exec, stat): New functions.
944
945 2008-05-08 Eli Zaretskii <eliz@gnu.org>
946
947 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
948
949 2008-05-03 Eli Zaretskii <eliz@gnu.org>
950
951 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
952 corresponding change in src/Makefile.in.
953
954 2008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
955
956 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
957
958 2008-04-10 Jason Rumney <jasonr@gnu.org>
959
960 * makefile.w32-in (CLIENTRES): New variable and target.
961 (TRES): Remove.
962 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
963
964 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
967
968 2008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
969
970 * vcdiff: Use mktemp (CVE-2008-1694).
971
972 2008-04-09 Jason Rumney <jasonr@gnu.org>
973
974 * makefile.w32-in (distclean, maintainer-clean): New targets.
975
976 2008-03-13 Glenn Morris <rgm@gnu.org>
977
978 * makefile.w32-in (VERSION): Set to 23.0.60.
979
980 2008-03-04 Juanma Barranquero <lekktu@gmail.com>
981
982 * .cvsignore: Add oo.
983
984 2008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
985
986 * etags.c (Perl_functions): Fix call to skip_spaces.
987
988 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
989
990 * Makefile.in (NO_SHORTNAMES):
991 * emacsclient.c (NO_SHORTNAMES):
992 * fakemail.c (NO_SHORTNAMES):
993 * make-docfile.c (NO_SHORTNAMES):
994 * movemail.c (NO_SHORTNAMES):
995 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
996
997 2008-02-23 Jason Rumney <jasonr@gnu.org>
998
999 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
1000 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
1001 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
1002 (lisp2): Add new languages.
1003 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
1004
1005 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
1006
1007 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
1008 malayalam.el, and tamil.el. Add sinhala.el.
1009
1010 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
1011
1012 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
1013 where NAME is relative to DRIVE'S current directory.
1014
1015 2008-02-15 Juanma Barranquero <lekktu@gmail.com>
1016
1017 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
1018
1019 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
1020
1021 * fakemail.c: Undo previous change.
1022
1023 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
1024
1025 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
1026 (main): Replace MAIL_PROGRAM_NAME with its value.
1027
1028 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
1029
1030 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 * emacsclient.c (decode_options): Pass --display implicitly if -c
1033 is specified. Only set tty if -t or -c is specified.
1034
1035 2008-02-04 Jason Rumney <jasonr@gnu.org>
1036
1037 * makefile.w32-in (lisp1): Use (), not {}.
1038
1039 2008-02-04 Tom Tromey <tromey@redhat.com>
1040
1041 * etags.c: Add "GTY" as synonym for __attribute__.
1042 Update gperf output.
1043
1044 2008-02-01 Jason Rumney <jasonr@gnu.org>
1045
1046 * makefile.w32-in (obj): Sync with src/Makefile.in.
1047 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
1048 (WINNT_SUPPORT): Add term/w32-win.elc.
1049 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
1050
1051 2008-02-01 Jason Rumney <jasonr@gnu.org>
1052
1053 * makefile.w32-in (obj): Add font.o and w32font.o.
1054
1055 2008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
1056
1057 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
1058 utf-8.elc, and latin-*.el.
1059
1060 2008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1061
1062 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
1063 Allow the -d option under w32 again, for those rare cases where it
1064 actually does make sense.
1065
1066 2008-01-25 Juanma Barranquero <lekktu@gmail.com>
1067
1068 * emacsclient.c (set_tcp_socket): Don't send "\n" after
1069 the authentication string; there's no need to haste.
1070
1071 2008-01-22 Chong Yidong <cyd@stupidchicken.com>
1072
1073 * pop.c (pop_stat, pop_last): Fix last fix.
1074
1075 2008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
1076
1077 * movemail.c: Remove references to XENIX.
1078
1079 2008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
1080
1081 * movemail.c:
1082 * make-docfile.c: Remove reference to symbols defined by systems
1083 not supported anymore: MAC_OS8, XENIX and STRIDE.
1084
1085 2008-01-12 Eli Zaretskii <eliz@gnu.org>
1086
1087 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
1088 of DISPLAY in the environment. Don't support -d.
1089 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
1090 (longopts) [WINDOWSNT]: Remove --display.
1091
1092 2008-01-10 Chong Yidong <cyd@stupidchicken.com>
1093
1094 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
1095 conversion. Mistakes spotted by Nico Golde.
1096
1097 2008-01-09 Glenn Morris <rgm@gnu.org>
1098
1099 * emacsclient.c: Add missing final newlines to message calls.
1100
1101 2008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
1102
1103 * emacsclient.c (set_socket): Add final newline to socket error message.
1104
1105 2008-01-04 Glenn Morris <rgm@gnu.org>
1106
1107 * ebrowse.c (version) <emacs_copyright>: New variable.
1108 Just use current year for copyright.
1109
1110 * etags.c (print_version):
1111 * rcs2log (Copyright): Update to 2008.
1112
1113 2007-11-28 Jason Rumney <jasonr@gnu.org>
1114
1115 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
1116
1117 2007-11-27 Jan Djärv <jan.h.d@swipnet.se>
1118
1119 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
1120
1121 2007-11-19 Jan Djärv <jan.h.d@swipnet.se>
1122
1123 * pop.c (socket_connection): Move realhost out of #ifdefs.
1124 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
1125
1126 2007-11-18 Jan Djärv <jan.h.d@swipnet.se>
1127
1128 * pop.c (socket_connection): Use getaddrinfo if available.
1129
1130 2007-11-22 Francesco Potortì <pot@gnu.org>
1131
1132 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
1133 as the defaults in ctags are different from etags.
1134
1135 2007-11-15 Francesco Potortì <pot@gnu.org>
1136
1137 * etags.c: Make prototypes for extern definitions, and add all
1138 that are needed to quench warnings on 64-bit.
1139 (main): Use the same defaults for ctags as for etags: find
1140 typedefs, structure tags, macro constants, enum constants, struct
1141 members and global variables.
1142 (make_C_tag) [DEBUG]: Add debugging printout.
1143 (C_entries): In case '}' decrement bracelev before testing it.
1144
1145 2007-11-15 Masatake YAMATO <jet@gyve.org>
1146
1147 * etags.c (C_entries): In case '}', set fvdef to fvnone
1148 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
1149
1150 2007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
1151
1152 * makefile.w32-in (obj): Remove sunfns.o.
1153
1154 2007-10-28 Juanma Barranquero <lekktu@gmail.com>
1155
1156 * makefile.w32-in (obj): Remove abbrev.o.
1157
1158 2007-10-26 Juanma Barranquero <lekktu@gmail.com>
1159
1160 * emacsclient.c: Add a wrapper for getenv so it also checks the
1161 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
1162 Code partially based on w32_get_resource and init_environment (w32.c).
1163 (egetenv): New wrapper for getenv.
1164 (get_current_dir_name, decode_options, get_server_config)
1165 (set_local_socket, set_socket, main): Use egetenv, not getenv.
1166 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
1167
1168 2007-10-25 Jason Rumney <jasonr@gnu.org>
1169
1170 * emacsclient.c (sock_err_message): New function.
1171 (set_tcp_socket): Use it.
1172
1173 2007-10-09 Juanma Barranquero <lekktu@gmail.com>
1174
1175 * emacsclient.c (print_help_and_exit): Fix space to improve
1176 alignment in output messages.
1177
1178 2007-09-27 Jason Rumney <jasonr@gnu.org>
1179
1180 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
1181
1182 * emacsclient.c (w32_window_app): Init common controls when windowed.
1183
1184 2007-09-21 Glenn Morris <rgm@gnu.org>
1185
1186 * emacstool.c: Remove file.
1187 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
1188 Delete targets built from emacstool.
1189
1190 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1191
1192 * emacsclient.c (decode_options): -t implies -c.
1193
1194 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
1197 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
1198 (main_argc): Remove.
1199 (strprefix): Use strncmp.
1200
1201 2007-09-20 Jason Rumney <jasonr@gnu.org>
1202
1203 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
1204
1205 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1206
1207 * emacsclient.c (current_frame): Change the default.
1208 (longopts): Replace --current-frame by --create-frame.
1209 (decode_options): Reverse the meaning of -c.
1210 (print_help_and_exit): Update help text accordingly.
1211 (main): Remove the -version and -good-version messages.
1212
1213 2007-09-12 Glenn Morris <rgm@gnu.org>
1214
1215 * Makefile.in (SOURCES, unlock, relock): Delete.
1216
1217 2007-08-29 Glenn Morris <rgm@gnu.org>
1218
1219 * makefile.w32-in (VERSION): Increase to 23.0.50.
1220
1221 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
1222
1223 * emacsclient.c (w32_execvp): Move definition before use.
1224 (decode_options): Don't use a tty on mac carbon or windows.
1225
1226 2007-08-29 Jason Rumney <jasonr@gnu.org>
1227
1228 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
1229 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
1230 (main): Expand removed macros inline.
1231 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
1232 option.
1233 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
1234
1235 2007-08-29 Károly Lőrentey <lorentey@elte.hu>
1236
1237 * emacsclient.c (signal.h): New include.
1238 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
1239 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
1240 Copy definitions here from src/lisp.h.
1241 (main_argc, main_argv, current_frame, window_system, tty): New vars.
1242 (longopts): Add tty, current-frame.
1243 (xmalloc, xstrdup): New functions.
1244 (get_current_dir_name): New function, copied from src/sysdep.c.
1245 (decode_options): Set display from environment. Add tty and
1246 current_frame options. Make --no-wait imply --current-frame,
1247 except when it is the only option given. Make sure no frame is
1248 opened when --current-frame is set.
1249 (print_help_and_exit): Document tty and current-frame options.
1250 (fail): Change arguments to void.
1251 (main): When sockets are not defined, set main_argc, main_argv,
1252 and call fail() with no arguments.
1253 (emacs_socket): New variable (moved out from main `s').
1254 (quote_file_name): Rename to quote_argument.
1255 (quote_argument): New name for old quote_file_name.
1256 (unquote_argument, strprefix, pass_signal_to_emacs)
1257 (handle_sigcont, handle_sigtstp, init_signals): New functions.
1258 (set_local_socket): Initialize saved_errno to 0. If socket-name
1259 is too long, call `fail' rather than `exit'.
1260 (main): Doc update. Set main_argc, main_argv. New var `str'.
1261 Don't need a filename or argument if tty or window_system set.
1262 Call fail with no arguments. Use get_current_dir_name to send
1263 over the current directory. Send version number to Emacs for
1264 verification. If tty is set, check TERM, and pass name and type
1265 to Emacs. Pass window_system to Emacs. Move sending of eval to
1266 optind loop. Send -position, -file to Emacs. Call fsync after
1267 fflush. Check for a client/server version match.
1268 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
1269 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
1270 close the connection for us. When creating a new frame, send
1271 environment and pwd to Emacs. Send current-frame to Emacs.
1272
1273 2007-08-25 Eli Zaretskii <eliz@gnu.org>
1274
1275 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1276 Prepend "-" to the command, in case srcdir=. and file is copied
1277 into itself.
1278
1279 2007-07-25 Glenn Morris <rgm@gnu.org>
1280
1281 * Relicense all FSF files to GPLv3 or later.
1282
1283 * COPYING: Switch to GPLv3.
1284
1285 2007-07-17 Francesco Potortì <pot@gnu.org>
1286
1287 * etags.c (C_entries): Reset the fvdef machine when out of function.
1288 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
1289 (print_help): Use it in if() rather than #if.
1290 (print_help): Conditionally print help about --no-line-directive.
1291
1292 2007-07-16 Eli Zaretskii <eliz@gnu.org>
1293
1294 * makefile.w32-in (clean): Don't delete *~.
1295
1296 2007-06-07 Glenn Morris <rgm@gnu.org>
1297
1298 * etags.c (print_version): Add `emacs_copyright' string, for
1299 easier automatic updating.
1300
1301 2007-05-18 Francesco Potortì <pot@gnu.org>
1302
1303 * etags.c: Extern definitions of some more pointer functions for
1304 standalone compilation, especially important for 64bit platforms.
1305 (main, print_help): --members is now the default for etags.
1306 (C_entries): Parse start of C comment as a space == end of token.
1307 This is not necessary for C++ comment, already parsed as newline.
1308
1309 2007-04-26 Glenn Morris <rgm@gnu.org>
1310
1311 * makefile.w32-in (VERSION): Increase to 22.1.50.
1312
1313 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
1314
1315 * Version 22.1 released.
1316
1317 2007-02-26 Francesco Potortì <pot@gnu.org>
1318
1319 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
1320
1321 2007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
1322
1323 * Makefile.in (EMACS, EMACSOPT): New variables.
1324 (blessmail): Use `--no-site-file' when compiling.
1325
1326 2007-02-05 Francesco Potortì <pot@gnu.org>
1327
1328 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
1329 (main): Now --members is the default for etags, not for ctags yet.
1330
1331 2007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
1332
1333 * etags.c (gperf, in_word_set): Change attribute for Java to
1334 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
1335 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
1336 import, package, extends, implements and interface to be treated
1337 specially for all kinds of C-style files, not just Java files.
1338
1339 2007-01-02 Francesco Potortì <pot@gnu.org>
1340
1341 * etags.c (longopts): New undocumented option --no-duplicates.
1342 (no_duplicates): Static variables for the above option.
1343 (print_help): Do not print help for --no-warn, now undocumented.
1344 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
1345 (main): Pass the -u option to sort in ctags mode.
1346
1347 2006-12-28 Francesco Potortì <pot@gnu.org>
1348
1349 * etags.c (readline): When creating a relative file name from a
1350 #line directive, leave the file name alone. The previous
1351 behavior was to make it relative to the tags file directory,
1352 under the hypothesis that the #line directive file name was
1353 relative to the directory of the tagged file. That hypothesis is
1354 wrong with Cpp and Lex.
1355 (Makefile_targets): Do not include spaces in tag names.
1356
1357 2006-12-22 Eli Zaretskii <eliz@gnu.org>
1358
1359 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
1360 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
1361 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
1362 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
1363 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
1364 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
1365 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
1366 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
1367 (clean): Delete stamp_BLD.
1368
1369 2006-12-20 Francesco Potortì <pot@gnu.org>
1370
1371 * etags.c (C_entries): DEFUN names were longer by one: corrected.
1372
1373 2006-12-18 Juanma Barranquero <lekktu@gmail.com>
1374
1375 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
1376 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
1377 (main) [WINDOWSNT]: Remove code to release the focus; call
1378 w32_give_focus instead.
1379
1380 2006-12-15 Juanma Barranquero <lekktu@gmail.com>
1381
1382 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
1383 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
1384 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
1385 Suggestions and comment by Eli Zaretskii.
1386
1387 2006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
1388
1389 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
1390 Use $(USER32) for compatibility with Visual Studio .NET 2003.
1391
1392 2006-11-30 Juanma Barranquero <lekktu@gmail.com>
1393
1394 * emacsclient.c (emacs_pid): New variable.
1395 (message): Remove leftover code.
1396 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
1397 focus yet; emacsclient can still display an informational message
1398 before sending requests to Emacs.
1399 (main): Allow Emacs to grab the focus. Simplify message() call.
1400
1401 2006-11-30 Michael Mauger <mmaug@yahoo.com>
1402
1403 * emacsclient.c (message): Make sure the message is properly
1404 written even if it contains printf escapes, and flush the result.
1405 (set_tcp_socket): Make the message for non-local connections
1406 informational rather than an error.
1407
1408 2006-11-28 Kevin Ryde <user42@zip.com.au>
1409
1410 * etags.c (readline): Check for double quote after #line.
1411
1412 2006-11-28 Jan Djärv <jan.h.d@swipnet.se>
1413
1414 * etags.c (readline): sscanf could in principle return 2.
1415
1416 2006-11-28 Francesco Potortì <pot@gnu.org>
1417
1418 * etags.c (readline): lno is unsigned.
1419 (TeX_commands): Use p++ (rather than *p++) to increment p.
1420 (Lua_functions): Explicitly discard LOOKING_AT's return value.
1421
1422 2006-11-27 Juanma Barranquero <lekktu@gmail.com>
1423
1424 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
1425 ($(TRES)): New rule (copied from nt/makefile.w32-in).
1426 ($(BLD)/emacsclientw.exe): Add dependency.
1427
1428 2006-11-27 Eli Zaretskii <eliz@gnu.org>
1429
1430 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
1431
1432 2006-11-25 Juanma Barranquero <lekktu@gmail.com>
1433
1434 * makefile.w32-in (VERSION): New macro.
1435 (ECLIENT_CFLAGS): Add -DVERSION.
1436
1437 2006-11-25 Jason Rumney <jasonr@gnu.org>
1438
1439 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
1440
1441 2006-11-24 Michael Mauger <mmaug@yahoo.com>
1442
1443 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
1444 file names with forward slashes.
1445
1446 2006-11-23 Juanma Barranquero <lekktu@gmail.com>
1447
1448 * emacsclient.c (print_help_and_exit): Tweak message contents and
1449 tabs/spaces to improve alignment in message boxes.
1450
1451 2006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
1452
1453 * emacsclient.c: Include <stdarg.h>.
1454 [WINDOWSNT]: Include <windows.h>.
1455 (w32_check_console_app): New function.
1456 (message): New function.
1457 (decode_options, print_help_and_exit, fail, main)
1458 (initialize_sockets, get_server_config, set_tcp_socket)
1459 (set_local_socket, set_socket): Use message().
1460
1461 2006-11-13 Jason Rumney <jasonr@gnu.org>
1462
1463 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
1464 HAVE_INET_SOCKETS.
1465
1466 2006-11-13 Juanma Barranquero <lekktu@gmail.com>
1467
1468 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
1469 ($(BLD)/emacsclientw.exe): New target.
1470 (install): Install emacsclientw.exe.
1471 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
1472 (ECLIENT_CFLAGS): Remove redundant flags.
1473
1474 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
1475
1476 2006-11-13 Jason Rumney <jasonr@gnu.org>
1477
1478 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
1479
1480 2006-11-10 David Reitter <david.reitter@gmail.com>
1481
1482 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
1483
1484 2006-11-08 Juanma Barranquero <lekktu@gmail.com>
1485
1486 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
1487 FARPROC to avoid a compiler warning.
1488
1489 2006-11-07 Juanma Barranquero <lekktu@gmail.com>
1490
1491 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
1492 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
1493
1494 * emacsclient.c (get_server_config): Extract also the Emacs pid
1495 from the server file. On Windows, try to force the Emacs frame to
1496 the foreground.
1497
1498 2006-11-06 Juanma Barranquero <lekktu@gmail.com>
1499
1500 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
1501 option --socket-name.
1502 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
1503 command line options.
1504 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
1505 (fail): Don't check for missing arguments, it is now done in set_socket.
1506 (file_name_absolute_p): New function (loosely based on the one in
1507 fileio.c).
1508 (initialize_sockets): Don't check for duplicate loading of Winsock.
1509 (get_server_config): Only try relative paths in the default
1510 directory locations.
1511 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
1512 a remote server.
1513 (set_socket): Call INITIALIZE(). Search explicit command-line
1514 arguments, then environment variable EMACS_SERVER_FILE, then implicit
1515 socket paths, before trying the alternate editor.
1516 (main): Use file_name_absolute_p.
1517
1518 2006-11-04 Eli Zaretskii <eliz@gnu.org>
1519
1520 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
1521 file if it doesn't already exist.
1522
1523 2006-11-03 Juanma Barranquero <lekktu@gmail.com>
1524
1525 * emacsclient.c (initialize_sockets): Don't initialize Winsock
1526 more than once.
1527
1528 2006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
1529
1530 * Makefile.in (INSTALL_SCRIPT): New macro.
1531 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
1532
1533 2006-11-02 Juanma Barranquero <lekktu@gmail.com>
1534
1535 * grep-changelog: When called with no arguments (not even a
1536 filter), show help instead of blindingly dumping every single
1537 ChangeLog available. Doc fix. Update version.
1538
1539 2006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1540
1541 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
1542 [!WINDOWSNT]: Include <netinet/in.h> if available.
1543 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
1544 (IOCTL, IOCTL_BOOL_ARG): Remove.
1545 (set_tcp_socket): Don't set the socket in blocking mode.
1546 Remove c_arg.
1547
1548 2006-11-01 Juanma Barranquero <lekktu@gmail.com>
1549
1550 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
1551 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
1552
1553 2006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
1554
1555 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
1556 (close_winsock): Declare as __cdecl.
1557
1558 2006-10-31 Jan Djärv <jan.h.d@swipnet.se>
1559
1560 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
1561 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
1562 to set the socket in non-blocking mode.
1563
1564 2006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1565
1566 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
1567 (INVALID_SOCKET): Define.
1568 (initialize_sockets): Put #endif at the right place.
1569 (set_local_socket): Use progname, not argv[0].
1570
1571 2006-10-31 Juanma Barranquero <lekktu@gmail.com>
1572
1573 * makefile.w32-in (ALL): Add emacsclient.
1574 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
1575 (emacsclient, $(BLD)/emacsclient.exe): New targets.
1576 (install): Install emacsclient.
1577
1578 * emacsclient.c: Add support for TCP sockets.
1579 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
1580 (INITIALIZE): New macros.
1581 (IOCTL_BOOL_ARG): New typedef.
1582 (server_file): New global variable.
1583 (longopts): New option --server-file.
1584 (decode_options): Process new option --server-file and environment
1585 variable EMACS_SERVER_FILE.
1586 (print_help_and_exit): Document new option.
1587 (fail): If no connection available and no alternate editor,
1588 suggest using options to make them explicit.
1589 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
1590 (send_buffer, sblen): New variables.
1591 (send_to_emacs): New function to buffer output and send it with `send'.
1592 (quote_file_name): Use SEND_STRING.
1593 (close_winsock, initialize_sockets): New functions to load and
1594 unload Winsock.
1595 (get_server_config, set_tcp_socket): New functions to create and
1596 set up TCP sockets.
1597 (set_local_socket): New function to create and set up Unix
1598 socket (code moved from previous implementation).
1599 (set_socket): New function to choose between TCP and Unix sockets.
1600 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
1601 set_local_socket. Use set_socket. Get answers from server.el with
1602 recv(), not file stream functions.
1603
1604 2006-10-09 Eli Zaretskii <eliz@gnu.org>
1605
1606 * makefile.w32-in (../src/config.h): Fix error message.
1607
1608 2006-09-30 Eli Zaretskii <eliz@gnu.org>
1609
1610 * .cvsignore: Add blessmail.
1611
1612 2006-09-15 Jay Belanger <belanger@truman.edu>
1613
1614 * COPYING: Replace "Library Public License" by "Lesser Public
1615 License" throughout.
1616
1617 2006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1618
1619 * etags.c (readline): Expect sscanf returns >= 1.
1620 (readline): Change position on %n and \" in sscanf.
1621
1622 2006-08-07 Masatake YAMATO <jet@gyve.org>
1623
1624 * etags.c (readline): Expect sscanf returns 2, not 1.
1625
1626 2006-08-07 Masatake YAMATO <jet@gyve.org>
1627
1628 * etags.c (TEX_mode): Check getc returns EOF.
1629 File ended without newline causes infinite loop.
1630
1631 2006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
1632
1633 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
1634
1635 2006-07-30 Francesco Potortì <pot@gnu.org>
1636
1637 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
1638 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
1639 (Objc_suffixes): Suggest using --lang=c for full help.
1640 (C_entries): Initialise savetoken to 0 to shut up the compiler.
1641
1642 2006-07-20 Andreas Schwab <schwab@suse.de>
1643
1644 * fakemail.c (fatal): Drop second parameter and treat first
1645 parameter as a plain string. Callers changed.
1646
1647 2006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
1648
1649 * ebrowse.c (usage, version): Mark as NO_RETURN.
1650
1651 * emacsclient.c (print_help_and_exit): Likewise.
1652
1653 2006-07-10 Francesco Potortì <pot@gnu.org>
1654
1655 * etags.c (absolute_filename): Free unused space (cosmetic change).
1656 (in_word_set): In C, also tag #undef symbols.
1657
1658 2006-06-09 Eli Zaretskii <eliz@gnu.org>
1659
1660 * yow.c: Remove file.
1661
1662 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
1663
1664 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
1665 yow${EXEEXT}: Remove target.
1666
1667 2006-06-04 Masatake YAMATO <jet@gyve.org>
1668
1669 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
1670 doesn't exist, is not seekable, not is failed in ftall.
1671
1672 2006-06-03 Eli Zaretskii <eliz@gnu.org>
1673
1674 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
1675 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
1676 ($(BLD)/test-distrib.exe): New targets.
1677 (sorted-doc, digest-doc, test-distrib): New targets.
1678 (install): Install sorted-doc.exe and digest-doc.exe.
1679 ($(BLD)/sorted-doc.$(O)): Update dependencies.
1680
1681 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1682 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1683 terminal device.
1684
1685 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1686 [WINDOWSNT] <top level>: Don't redeclare malloc.
1687 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1688 terminal device.
1689 (main): Initialize bp, to avoid compiler warnings.
1690
1691 * makefile.w32-in: Delete traces of leditcfns.c.
1692
1693 * leditcfns.c: Remove file.
1694
1695 2006-05-23 Francesco Potortì <pot@gnu.org>
1696
1697 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
1698 Add comments explaining why the "kpop" service is never used.
1699
1700 2006-05-13 Eli Zaretskii <eliz@gnu.org>
1701
1702 * makefile.w32-in (lisp1): Add fringe.elc.
1703
1704 2006-05-02 Francesco Potortì <pot@gnu.org>
1705
1706 * etags.c (Perl_functions): Free space allocated for var package.
1707 (Erlang_functions): Possibly free space allocated for var last.
1708 (Prolog_functions): Possibly free space allocated for var last.
1709
1710 2006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
1711
1712 * sorted-doc.c (main): Initialize docs to NULL.
1713
1714 * yow.c (yow): Free buf.
1715
1716 * etags.c: Delete c-indentation-style local variable.
1717
1718 2006-04-29 Richard Stallman <rms@gnu.org>
1719
1720 * movemail.c (main): Check for negative value from `read'.
1721
1722 * fakemail.c (read_header): Give fatal error if input has no header.
1723
1724 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
1725
1726 * b2m.c (main): Don't include <limits.h>.
1727 (TM_YEAR_BASE): New macro.
1728 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
1729 that s/ files can override this. Use the more-conservative range
1730 1000-9999.
1731 (main): Check for asctime returning NULL.
1732 * fakemail.c: Likewise.
1733
1734 2006-03-27 Paul Eggert <eggert@cs.ucla.edu>
1735
1736 * b2m.c: Include <limits.h>.
1737 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
1738 (main): Check for out-of-range time stamps.
1739 * fakemail.c: Likewise.
1740
1741 2006-03-18 Andre Spiegel <spiegel@gnu.org>
1742
1743 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
1744 execute $DIFF twice, and once with the wrong options.
1745
1746 2006-02-23 Claudio Fontana <claudio@gnu.org>
1747
1748 * Makefile.in (install, uninstall): Add DESTDIR variable to
1749 support staged installations.
1750
1751 2005-12-30 Eli Zaretskii <eliz@gnu.org>
1752
1753 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
1754 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
1755 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
1756 Rearrange the list to be similar to $(shortlisp) in
1757 src/Makefile.in.
1758 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
1759 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
1760 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
1761 src/Makefile.in.
1762
1763 2005-12-22 Richard M. Stallman <rms@gnu.org>
1764
1765 * Makefile.in (update-game-score.o): Delete spurious final `\'.
1766
1767 2005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
1768
1769 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
1770 which was never opened.
1771
1772 2005-10-20 Olli Savia <ops@iki.fi> (tiny change)
1773
1774 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
1775 header files.)
1776
1777 2005-09-27 Francesco Potortì <pot@gnu.org>
1778
1779 * etags.c: Preliminary Forth support.
1780 (prolog_pr): Cast strlen to int before comparison.
1781 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
1782 the second argument is indeed a literal string.
1783 (main): In append mode, sort the tags file after writing it.
1784
1785 2005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
1786
1787 * etags.c (longopts, print_help, main): The -a (--append) option
1788 can be used in ctags also; for one, the Linux make file uses it.
1789
1790 2005-09-20 Chong Yidong <cyd@stupidchicken.com>
1791
1792 * ebrowse.c (add_sym): Compare namespace names instead of
1793 namespace objects. This prevents the parser from incorrectly
1794 treating classes whose superclass is in another namespace.
1795
1796 2005-09-15 Richard M. Stallman <rms@gnu.org>
1797
1798 * Makefile.in (update-game-score.o): New target.
1799 Compile and link this program separately.
1800 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
1801
1802 2005-09-11 Jason Rumney <jasonr@gnu.org>
1803
1804 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
1805 message instead.
1806 (../src/paths.h): Remove.
1807
1808 2005-07-27 Juanma Barranquero <lekktu@gmail.com>
1809
1810 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
1811 generated. Ignore also ctags.c and getopt.h.
1812
1813 * makefile.w32-in (clean): Delete getopt.h.
1814 (getopt.h): New rule.
1815
1816 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1817
1818 Merge gnulib getopt implementation into Emacs.
1819
1820 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
1821 (GETOPT_H): New macro, from gnulib.
1822 (getopt.h): New rule, from gnulib.
1823 (GETOPTOBJS): Now autoconfigured.
1824 (GETOPTDEPS): getopt.h is now autoconfigured.
1825 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
1826 (getopt.o): Depend on ${srcdir}/gettext.h.
1827 (movemail.o): Depend on $(GETOPT_H).
1828 * getopt.c, getopt1.c: Sync from gnulib.
1829 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
1830 * getopt.h: Removed (now is getopt_.h).
1831
1832 2005-07-13 Ken Raeburn <raeburn@gnu.org>
1833
1834 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
1835 (sendline): Add the \r\n to the line in a temporary buffer, and write
1836 it all at once.
1837
1838 2005-07-04 Lute Kamstra <lute@gnu.org>
1839
1840 Update FSF's address in GPL notices.
1841
1842 2005-06-13 Eli Zaretskii <eliz@gnu.org>
1843
1844 * makefile.w32-in ($(DOC)): Fix last change.
1845
1846 2005-06-12 Eli Zaretskii <eliz@gnu.org>
1847
1848 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
1849 temacs.exe, and the preloaded *.elc files. This avoids
1850 unnecessary dumping and DOC rebuilding.
1851
1852 2005-06-04 Eli Zaretskii <eliz@gnu.org>
1853
1854 * ntlib.h (fileno): Don't define if already defined.
1855
1856 2005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1857
1858 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
1859 (yow): Use EXIT_FAILURE in case of memory error.
1860
1861 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1862
1863 * make-docfile.c (DIRECTORY_SEP): New macro.
1864 (IS_DIRECTORY_SEP): Use it.
1865
1866 2005-03-18 Jan Djärv <jan.h.d@swipnet.se>
1867
1868 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
1869
1870 2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1871
1872 * make-docfile.c: Undo previous change.
1873
1874 2005-02-04 Andreas Schwab <schwab@suse.de>
1875
1876 * movemail.c (fatal): Accept third parameter and pass down to error.
1877 (pfatal_with_name): Pass error string as format parameter instead of
1878 as part of format string.
1879 (pfatal_and_delete): Likewise.
1880 (main): Adjust call to fatal.
1881 (xmalloc): Likewise.
1882
1883 2005-01-29 Richard M. Stallman <rms@gnu.org>
1884
1885 * movemail.c (popmail): Don't use Errmsg as format string.
1886
1887 2004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1888
1889 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
1890
1891 2004-12-15 Andreas Schwab <schwab@suse.de>
1892
1893 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
1894 preprocessing to compile time constant.
1895
1896 2004-11-17 Kim F. Storm <storm@cua.dk>
1897
1898 * etags.c: Undo last change.
1899
1900 2004-11-09 Kim F. Storm <storm@cua.dk>
1901
1902 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
1903 silence compiler.
1904
1905 * hexl.c (main): Init local var c to silence compiler.
1906
1907 * etags.c (main, consider_token, C_entries): Add misc switch
1908 default targets to silence compiler.
1909
1910 2004-11-09 Jan Djärv <jan.h.d@swipnet.se>
1911
1912 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
1913 resulting DOC file can be used on Unix/Mac also.
1914
1915 2004-09-13 Francesco Potortì <pot@gnu.org>
1916
1917 * etags.c (main): When relative file names are given as argument,
1918 make them relative to the current working dir, rather than
1919 relative to the output tags file, if the latter is in /dev.
1920
1921 2004-09-13 Francesco Potortì <pot@gnu.org>
1922
1923 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
1924 <stdlib.h> is available.
1925 (enum sym_type): New st_C_attribute value for parsing
1926 gcc's __attribute__. Deleted st_C_typespec value.
1927 (gperf, in_word_set): Use gperf 3, options changed. Added the
1928 __attribute__ keyword, removed all the st_C_typespec keywords,
1929 changed attribute for Java to (C_JAVA & !C_PLPL).
1930 (inattribute): New global bool, part of the C state machine.
1931 (cblev): Identifier renamed to bracelev throughout.
1932 (consider_token, C_entries): Numerous changes for making the
1933 parser more robust and adding support for __attribute__.
1934
1935 2004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
1936
1937 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
1938 Support the Lua scripting language <http://www.lua.org>.
1939
1940 2004-09-08 Francesco Potortì <pot@gnu.org>
1941
1942 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
1943 for ease of use.
1944
1945 2004-07-17 Richard M. Stallman <rms@gnu.org>
1946
1947 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
1948
1949 2004-06-01 Juanma Barranquero <lektu@terra.es>
1950
1951 * makefile.w32-in (obj): Add image.c.
1952
1953 2004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
1954
1955 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
1956
1957 2004-05-08 Jason Rumney <jasonr@gnu.org>
1958
1959 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
1960 command-lines.
1961
1962 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1963
1964 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
1965 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
1966 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1967
1968 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
1969 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
1970 * test-distrib.c, update-game-score.c, yow.c: Likewise.
1971
1972 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1973
1974 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
1975
1976 2004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
1977
1978 * b2m.c (GOOD, BAD): Delete macros. Throughout,
1979 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
1980 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1981
1982 * etags.c: Likewise.
1983
1984 2004-05-03 Jason Rumney <jasonr@gnu.org>
1985
1986 * makefile.nt: Remove.
1987
1988 2004-04-26 Eli Zaretskii <eliz@gnu.org>
1989
1990 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
1991 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
1992 instead of a literal '/'.
1993
1994 2004-04-23 Juanma Barranquero <lektu@terra.es>
1995
1996 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
1997
1998 2004-04-17 Paul Eggert <eggert@gnu.org>
1999
2000 * rcs2log (Help): Clarify wording of the usage message.
2001 Problem reported by Alan Mackenzie in
2002 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
2003
2004 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * make-docfile.c (xmalloc): Fix return type.
2007 (put_filename): New fun.
2008 (scan_file): Use it.
2009
2010 2004-03-09 Juanma Barranquero <lektu@terra.es>
2011
2012 * grep-changelog: Changes to support ChangeLog.10+.
2013 (main): Tidy up usage string. Fix "Use of uninitialized value"
2014 warning. Set version to 0.2. Parse the directory listing to get
2015 any ChangeLog.n file, not just 1..9.
2016 (header_match_p, entry_match_p, print_log, parse_changelog):
2017 Remove Perl prototypes (their purpose is to help the parser, which
2018 isn't needed here, not declare arguments).
2019 (parse_changelog): Make --reverse faster on big batches by not
2020 modifying the entries list.
2021
2022 2004-03-01 Juanma Barranquero <lektu@terra.es>
2023
2024 * makefile.w32-in (obj): Add fringe.c.
2025
2026 2004-02-14 Paul Eggert <eggert@twinsun.com>
2027
2028 * rcs2log: Work correctly if CVSROOT specifies :fork: or
2029 :local: methods, or omits the colon between the hostname
2030 and the path. Allow :/ in repository path, since CVS does.
2031 Fix typo: "pository" should be set from $CVSROOT, not $repository.
2032 This fixes a bug reported by Wolfgang Scherer in
2033 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
2034 along with some related bugs I discovered by inspecting how
2035 CVS itself parses $CVSROOT.
2036
2037 2004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
2038
2039 * emacsclient.c (decode_options): Fix handling of alternate editor.
2040
2041 2004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2042
2043 * emacsclient.c (main): Don't use the hostname in the socket name.
2044 Look for relative socket names in the /tmp dir rather than in cwd.
2045
2046 2004-01-24 Richard M. Stallman <rms@gnu.org>
2047
2048 * emacsclient.c (main): Restore errno from saved_errno,
2049 so the error message comes from socket_status.
2050
2051 2004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2052
2053 * emacsclient.c (main): Stop if socket name too long.
2054 Only try su-fallback if the socket name was not explicit.
2055 Check socket name length in su-fallback case as well.
2056
2057 2004-01-08 Andreas Schwab <schwab@suse.de>
2058
2059 * emacsclient.c (main): Save errno from socket_status.
2060
2061 2004-01-04 Andreas Schwab <schwab@suse.de>
2062
2063 * emacsclient.c (main): Fix socket name when using another user.
2064
2065 2003-12-27 Paul Eggert <eggert@twinsun.com>
2066
2067 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
2068 a tag, and if the user has not specified an rlog option.
2069 Adapted from a suggestion by Martin Stjernholm in
2070 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
2071 (Copyright): Update to 2003.
2072
2073 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
2074
2075 * make-docfile.c (main): For return code, no longer special-case VMS.
2076 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
2077
2078 2003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
2079
2080 * emacsclient.c (quote_file_name): Print the result instead of
2081 returning it. Fix the return type accordingly.
2082 (main): With --eval, if no file name, read from stdin.
2083 Quote file names.
2084
2085 2003-09-10 Richard M. Stallman <rms@gnu.org>
2086
2087 * emacsclient.c (main): Use socket_name.
2088
2089 2003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
2090
2091 * emacsclient.c (socket_name): New variable.
2092 (longopts, decode_options, print_help_and_exit):
2093 Handle --socket-name argument.
2094
2095 2003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
2096
2097 * etags.c (consider_token): Check C++ `operator' only when the
2098 token len is long enough.
2099
2100 2003-08-20 Dave Love <fx@gnu.org>
2101
2102 * Makefile.in: Remove obsolete references to alloca.
2103
2104 2003-07-29 Ken Brush <ken@wirex.com>
2105
2106 * emacsclient.c (main)
2107 * etags.c (suggest_asking_for_help)
2108 * movemail.c (main): Fix having macros in a printf statement.
2109
2110 2003-05-31 Juanma Barranquero <lektu@terra.es>
2111
2112 * makefile.w32-in (lisp): Fix references to byte-run.el,
2113 float-sup.el and map-ynp.el, which are now in emacs-lisp.
2114
2115 2003-05-22 Dave Love <fx@gnu.org>
2116
2117 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
2118 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
2119
2120 2003-05-20 Dave Love <fx@gnu.org>
2121
2122 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
2123
2124 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
2125
2126 2003-04-27 Oliver Scholz <alkibiades@gmx.de>
2127
2128 * update-game-score.c (read_scores): Fix corruption of scores on read.
2129
2130 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
2131
2132 * emacsclient.c (main): Use new safe location for socket.
2133
2134 2003-03-12 Tom Tromey <tromey@redhat.com>
2135
2136 * emacsclient.c (print_help_and_exit): Print to stdout.
2137 Exit successfully. Added some blank lines for readability.
2138 (decode_options): Don't call print_help_and_exit in default case.
2139 Print version information to stdout.
2140 (main): Don't call print_help_and_exit.
2141
2142 2003-02-15 Richard M. Stallman <rms@gnu.org>
2143
2144 * cvtmail.c: Cast result of malloc and realloc.
2145 Don't include stdlib.h, because config.h does.
2146 (malloc, realloc): Declarations deleted.
2147
2148 * yow.c (yow): Cast result of malloc and realloc.
2149 (malloc, realloc): Declarations deleted.
2150
2151 2003-02-11 Juanma Barranquero <lektu@terra.es>
2152
2153 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
2154
2155 2003-02-08 Andreas Schwab <schwab@suse.de>
2156
2157 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
2158 instead of the substitution.
2159
2160 2003-02-04 Richard M. Stallman <rms@gnu.org>
2161
2162 * update-game-score.c (push_score, read_scores): Cast values
2163 of malloc and realloc.
2164 (main, lock_file): Avoid assignment inside if.
2165
2166 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
2167
2168 * Makefile.in: Use @EXEEXT@ for Cygwin.
2169
2170 2003-01-21 Dave Love <fx@gnu.org>
2171
2172 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
2173 column-0 `('.
2174
2175 * yow.c: Don't include string.h.
2176
2177 2003-01-20 Richard M. Stallman <rms@gnu.org>
2178
2179 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2180 New targets.
2181
2182 2003-01-06 Kim F. Storm <storm@cua.dk>
2183
2184 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
2185 All uses changed.
2186
2187 2002-12-18 Andrew Innes <andrewi@gnu.org>
2188
2189 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
2190 because GNU make doesn't append when using >> redirection.
2191
2192 2002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2193
2194 * b2m.pl: Make sure every message ends with a blank line, because
2195 some mbox parsers require a blank line before "From " lines.
2196
2197 2002-12-08 Richard M. Stallman <rms@gnu.org>
2198
2199 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
2200 (_): Test only HAVE_LIBINTL_H to decide what to do.
2201
2202 2002-12-05 Richard M. Stallman <rms@gnu.org>
2203
2204 * getopt.c: Comment out include of libintl.h or gettext.h.
2205
2206 2002-12-04 Richard M. Stallman <rms@gnu.org>
2207
2208 * Update getopt from gnulib version; changes described below.
2209
2210 * getopt1.c: Conditionally find getopt.h.
2211 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
2212
2213 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
2214 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
2215 (wchar.h): Include, maybe.
2216 (attribute_hidden): Define if not defined.
2217 (__getopt_initialized): Use attribute_hidden.
2218 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
2219 (__getopt_nonoption_flags, nonoption_flags_max_len)
2220 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
2221 (SWAP_FLAGS): New definitions.
2222 (exchange): Test USE_NONOPTION_FLAGS.
2223 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
2224 (_getopt_internal): Error if argc < 1. New local var print_errors.
2225 Improve test for ambiguous long option.
2226 Add LIBIO support for error message output.
2227 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
2228
2229 * getopt.h: Maybe include ctype.h.
2230 Treat __cplusplus like __STDC__.
2231 (decls): Use __ in arg names.
2232
2233 2002-12-02 Stephen Eglen <stephen@gnu.org>
2234
2235 * emacsclient.c (main): Tell user how to start server within Emacs
2236 if socket could not be found.
2237
2238 2002-12-02 Richard M. Stallman <rms@gnu.org>
2239
2240 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
2241
2242 2002-11-19 Ben Key <bkey1@tampabay.rr.com>
2243
2244 * makefile.w32-in: Fixed a bug that caused the documentation for
2245 the built in function play-sound-internal not to be included in
2246 /etc/DOC.
2247
2248 2002-11-18 Dave Love <fx@gnu.org>
2249
2250 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
2251 fcntl.h, stdarg.h conditionally.
2252 (_GNU_SOURCE, __attribute__): Don't define.
2253 (optarg, optind, opterr): Declare.
2254 (lose, lose_syserr): Use NO_RETURN.
2255 (get_user_id): Use P_.
2256
2257 2002-11-17 Richard M. Stallman <rms@gnu.org>
2258
2259 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
2260
2261 2002-11-14 Dave Love <fx@gnu.org>
2262
2263 * movemail.c (pop_retr): Declare comment.
2264
2265 * make-docfile.c (read_c_string_or_comment): Declare msgno.
2266
2267 * Makefile.in (YACC): Deleted.
2268
2269 2002-10-19 Andreas Schwab <schwab@suse.de>
2270
2271 * Makefile.in (${archlibdir}): Always create $(gamedir).
2272 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
2273
2274 2002-10-04 Juanma Barranquero <lektu@terra.es>
2275
2276 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
2277
2278 2002-09-30 Markus Rost <rost@math.ohio-state.edu>
2279
2280 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
2281 completely.
2282
2283 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
2284
2285 * emacsclient.c: Remove SYSV support.
2286 (eval, display): New vars.
2287 (longopts): Add --eval and --display.
2288 (decode_options): Add -e and -d processing.
2289 (print_help_and_exit): Update the usage string.
2290 (main): Add support for --eval and --display.
2291 (main): Always use /tmp and non-qualified hostname.
2292
2293 2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
2294
2295 * emacsserver.c: Remove.
2296
2297 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
2298
2299 * emacsclient.c (quote_file_name): Quote \n.
2300 (main): Print a final \n when needed.
2301
2302 2002-09-03 Francesco Potortì <pot@gnu.org>
2303
2304 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
2305 string that cannot be freed.
2306
2307 2002-08-30 Francesco Potortì <pot@gnu.org>
2308
2309 * etags.c (consider_token, C_entries): Switch to C++ parsing when
2310 auto-detection is enabled and the `::' qualifier is met.
2311 (consider_token, C_entries): Several bugs corrected that tagged
2312 some declarations even though --declarations was not used.
2313 (plainc): New macro.
2314 (C_entries): Use it.
2315 (C_entries): Several cosmetic changes.
2316 (C_entries): Invalidate the token is some cases.
2317
2318 2002-08-29 Francesco Potortì <pot@gnu.org>
2319
2320 * etags.c (C_entries): Correct a problem with const C++ funcs.
2321 (ignoreindent): Renamed from noindentypedefs.
2322 (cjava, cplpl): They are now macros instead of local vars.
2323
2324 2002-08-28 Francesco Potortì <pot@gnu.org>
2325
2326 * etags.c (HTML_labels): Tag ID= also.
2327
2328 2002-08-27 Francesco Potortì <pot@gnu.org>
2329
2330 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
2331
2332 * etags.c (HTML_labels): New language HTML.
2333 (etags_strcasecmp): Like BSD's, for compatibility.
2334 (strcaseeq): Make it into a macro.
2335
2336 * etags.c (make_tag): Never generate null length tag names.
2337 (linebuffer_init): Renamed from initbuffer. All callers changed.
2338 (pattern): Structure renamed to `regexp', member regex renamed to
2339 pattern.
2340 (node_st): Member pat renamed to regex.
2341 (pattern); New member force_explicit_name, for future use.
2342 Now always set to true, cannot be reset.
2343 (add_regex, regex_tag_multiline, readline): Use it.
2344 (main): Free some global structures.
2345 (fdesc): New member `written'.
2346 (readline, process_file): Initialise it.
2347 (put_entries): Set it.
2348 (main): Use it to create entries for files without tags.
2349 (total_size_of_entries): Do not count invalid tags.
2350
2351 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
2352
2353 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
2354 for the function name in the usage info.
2355
2356 2002-07-31 Colin Walters <walters@gnu.org>
2357
2358 * update-game-score.c (P_): New macro. Use it for all prototypes.
2359 (lose): Don't use varargs.
2360 (lose_syserr): New function.
2361
2362 * update-game-score.c: Change all functions to K&R style.
2363
2364 2002-07-30 Andreas Schwab <schwab@suse.de>
2365
2366 * Makefile.in (localstatedir): New variable.
2367
2368 2002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2369
2370 * b2m.pl: Fix regexp for finding return address fields.
2371
2372 2002-07-15 Stefan Monnier <monnier@cs.yale.edu>
2373
2374 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
2375
2376 2002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2377
2378 * b2m.pl: Obey the rmail file and use the unpruned header properly.
2379
2380 2002-06-26 Pavel Janík <Pavel@Janik.cz>
2381
2382 * b2m.pl: New file.
2383
2384 2002-06-21 Francesco Potortì <pot@gnu.org>
2385
2386 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
2387 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
2388 (PHP_functions, PHP_functions, Cobol_paragraphs)
2389 (Makefile_targets, Postscript_functions, Texinfo_nodes)
2390 (prolog_pr, erlang_func, erlang_attribute)
2391 (Perl_functions, Perl_functions, Pascal_functions)
2392 (TeX_commands, get_tag): Use make_tag instead of pfnote.
2393 (get_tag): Prototype changed, all callers changed.
2394
2395 2002-06-20 Francesco Potortì <pot@gnu.org>
2396
2397 * etags.c: Implement implicit tag names, that is, unnamed tags
2398 whose name is automatically deduced by etags.el. The advantage is
2399 that there is no explicit tag name in most tags, so the size of
2400 the tags file is reduced, yet find-tag is able to do a match as
2401 accurate as with named tags. See the comment in make_tag for details.
2402 (make_tag): New function (was the disabled function new_pfnote).
2403 (make_C_tag): Use it.
2404
2405 2002-06-19 Francesco Potortì <pot@gnu.org>
2406
2407 * etags.c (add_regex): Invalid regexp modifiers are ignored.
2408 (Makefile_targets): Tag variables unless --no-globals.
2409 (LOOP_ON_INPUT_LINES): Serious bug corrected.
2410
2411 2002-06-13 Francesco Potortì <pot@gnu.org>
2412
2413 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
2414 (invalidate_nodes): Bug corrected.
2415 (print_help): Better help for regexps.
2416
2417 2002-06-13 Juanma Barranquero <lektu@terra.es>
2418
2419 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
2420 font-core.elc.
2421
2422 2002-06-12 Francesco Potortì <pot@gnu.org>
2423
2424 * etags.c: New multi-line regexp and new regexp syntax.
2425 (arg_type): at_icregexp label removed (obsolete).
2426 (pattern): New member multi_line for multi-line regexps.
2427 (filebuf): A global buffer containing the whole file as a string
2428 for multi-line regexp matching.
2429 (need_filebuf): Global flag raised if multi-line regexps used.
2430 (print_help): Document new regexp modifiers, remove references to
2431 obsolete option --ignore-case-regexp.
2432 (main): Do not set regexp syntax and translation table here.
2433 (main): Treat -c option as a backward compatibility hack.
2434 (main, find_entries): Init and free filebuf.
2435 (find_entries): Call regex_tag_multiline after the regular parser.
2436 (scan_separators): Check for unterminated regexp and return NULL.
2437 (analyse_regex, add_regex): Remove the ignore_case argument, which
2438 is now a modifier to the regexp. All callers changed.
2439 (add_regex): Manage the regexp modifiers.
2440 (regex_tag_multiline): New function. Reads from filebuf.
2441 (readline_internal): If necessary, copy the whole file into filebuf.
2442 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
2443
2444 2002-06-11 Francesco Potortì <pot@gnu.org>
2445
2446 * etags.c (add_regex): Better check for null regexps.
2447 (readline): Check for regex matching null string.
2448 (find_entries): Reorganization.
2449
2450 2002-06-07 Francesco Potortì <pot@gnu.org>
2451
2452 * etags.c (scan_separators): Support all character escape
2453 sequences supported by Gcc.
2454 (find_entries): Rewind unconditionally.
2455 (find_entries): Do not call language functions directly, now calls
2456 itself.
2457 (find_entries): Do general initialisations here.
2458 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
2459 (Ada_getit, Pascal_functions, Pascal_functions)
2460 (prolog_skip_comment): Do not do them here.
2461 (readline_internal): Increment lineno here.
2462 (readline): Conditionally undo readline_internal increment.
2463 (readline): Do not return a value.
2464
2465 2002-06-06 Francesco Potortì <pot@gnu.org>
2466
2467 * etags.c: New option --parse-stdin=FILE.
2468 (enum arg_type): New label at_stdin.
2469 (STDIN): New constant.
2470 (parsing_stdin): New flag.
2471 (longopts): New option --parse-stdin=NAME.
2472 (print_help): Document it.
2473 (main): Handle it.
2474 (process_file): Split into process_file and process_file_name.
2475 (process_file_name): New function.
2476
2477 * etags.c: Improvements and bug squashing in TeX handling.
2478 (TeX_commands): Skip comments.
2479 (TEX_defenv): Now contains more constructs.
2480 (TEX_cmt): Make it a static char and move it before TeX_commands.
2481 (TeX_commands): Shorten the tag to the brace after the name.
2482 (TeX_commands): Names now include the initial backslash.
2483 (TeX_commands): Names do not include numeric args #n.
2484 (TeX_commands): Correct line char number in tags.
2485 (TEX_tabent, TEX_token): Deleted.
2486 (TeX_commands, TEX_decode_env): Streamlined.
2487
2488 2002-06-05 Francesco Potortì <pot@gnu.org>
2489
2490 * etags.c (main): Avoid a buffer overrun with sprintf.
2491
2492 2002-05-30 Richard M. Stallman <rms@gnu.org>
2493
2494 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
2495 (LIBS_MOVE): Renamed from MOVE_LIBS.
2496
2497 2002-05-26 Paul Eggert <eggert@twinsun.com>
2498
2499 Reinstate the following change from 2002-03-22, which was
2500 inadvertently lost on 2002-04-13.
2501
2502 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2503 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2504 the latter usage.
2505
2506 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
2507
2508 * pop.c (socket_connection): Move the code to resolve the POP
2509 host right before trying to connect with it.
2510
2511 2002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
2512
2513 * tcp.c: Delete file since the TCP emulation is no longer in use on any
2514 platform.
2515
2516 2002-04-28 Colin Walters <walters@verbum.org>
2517
2518 * Makefile.in (${archlibdir}): Don't conditionalize on
2519 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
2520 or not we have access to the specified game user.
2521
2522 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
2523 (main): New argument -d, for specifying directory.
2524 (usage): Document.
2525 (get_user_id): Compute.
2526 (get_home_dir): Deleted.
2527 (get_prefix): New function, taken from main.
2528 (main): Check whether or not we are running setuid. Move prefix
2529 computation to get_prefix. Don't call getpwent; we don't need to
2530 any more. Instead, move it to get_user_id().
2531
2532 2002-04-24 Pavel Janík <Pavel@Janik.cz>
2533
2534 * ebrowse.c (skip_initializer): Return void.
2535
2536 2002-04-23 Colin Walters <walters@verbum.org>
2537
2538 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
2539 space.
2540
2541 2002-04-22 Francesco Potortì <pot@gnu.org>
2542
2543 * etags.c (last_node): Make it a global variable.
2544 (process_file): Print the tags from the nodes as soon as
2545 possible, and delete the nodes. This brings down the memory
2546 occupancy as etags to almost the same level as when the #line
2547 directives were not parsed.
2548 (free_fdesc): New function.
2549 (find_entries): Use it.
2550 (invalidate_nodes): In etags mode, do not just mark the nodes as
2551 invalid, do delete them.
2552
2553 2002-04-21 Gerd Moellmann <gerd@gnu.org>
2554
2555 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
2556
2557 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
2558
2559 * update-game-score.c: Move config.h before the other headers, to
2560 avoid compiler warnings.
2561
2562 2002-04-16 Francesco Potortì <pot@gnu.org>
2563
2564 * etags.c (find_entries): Bug fix in list management.
2565
2566 2002-04-15 Francesco Potortì <pot@gnu.org>
2567
2568 * etags.c (get_language_from_filename): Add one argument.
2569 (strcaseeq): New function.
2570 (get_language_from_filename): Use it to do a case insensitive
2571 comparison if called with appropriate args.
2572 (find_entries): Try with case insensitive match.
2573 (process_file): Bug fixed.
2574
2575 2002-04-13 Francesco Potortì <pot@gnu.org>
2576
2577 * etags.c (find_entries): Delete tags previously obtained from
2578 file xxx.c's #line directives when parsing file xxx.y. This is
2579 generally done for automatically generated files containing
2580 #line directives. This handles the case when xxx.y is tagged
2581 before xxx.c, and the entries of xxx.c pointing to xxx.y should
2582 be discarded.
2583 (language): Add the metasource member. Initializers changed.
2584 (invalidate_nodes): New function.
2585 (readline): Discard lines after having found a #line
2586 directive pointing to an already tagged file. This handles the
2587 case when xxx.y is tagged before xxx.c, and the entries of
2588 xxx.c pointing to xxx.y should be discarded.
2589 (fdesc): New structure for keeping track of input files.
2590 (fdesc): Remove `file' member (a string) and use instead a pointer
2591 to a file description structure.
2592 (curfile, curfiledir, curtagfname, curlang, nocharno)
2593 (forced_lang): Global variables removed in favor of fdhead and
2594 curfdp, pointers to file description structures.
2595 (longopts, main, print_help): Use the CTAGS conditional to include
2596 or exclude options that work on etags or ctags only.
2597 (process_file, find_entries, pfnote, add_node, put_entries)
2598 (readline): Use fdhead and curfdp.
2599 (process_file, find_entries): Do not take an arg string, all
2600 callers changed.
2601
2602 * etags.c (longopts, print_help, main): Test CTAGS to disallow
2603 options that are not right for either etags or ctags.
2604
2605 * etags.c (number_len, total_size_of_entries): Define them also
2606 in CTAGS mode, because gcc does not compile all refs away.
2607
2608 2002-04-14 Colin Walters <walters@debian.org>
2609
2610 * update-game-score.c (lock_file): If the lock file is older than
2611 an hour, delete it. Reset attempts to zero if we have to break
2612 the lock.
2613
2614 2002-04-14 Andreas Schwab <schwab@suse.de>
2615
2616 * update-game-score.c (read_score): Fix type of second parameter
2617 of getdelim to be of type size_t instead of int. Use 0 instead of
2618 ESUCCES.
2619
2620 2002-04-10 Colin Walters <walters@verbum.org>
2621
2622 * update-game-score.c (toplevel): Include stdarg.h.
2623 (MAX_DATA_LEN, MAX_SCORES): New.
2624 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
2625 default to ~/.emacs.d/games.
2626 (get_user_id): Don't zero uid in the case where we can't get the
2627 username.
2628 (lose): New function.
2629 (main): Actually use `max', and default it to MAX_SCORES.
2630 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
2631 function.
2632 (read_score): Handle the case of reading unamelen characters, then
2633 finishing. Use mktemp if mkstemp isn't available.
2634 (lock_file, unlock_file): Delete unused versions.
2635 (lock_file): Always sleep, even if we unlinked the lock file.
2636
2637 * Makefile.in (gamedir, gameuser): New variables.
2638 (toplevel, UTILITIES): Add update-game-score.
2639 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
2640
2641 2002-04-07 Colin Walters <walters@verbum.org>
2642
2643 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
2644 (get_user_id): Take struct passwd as an argument.
2645 (get_home_dir): New function.
2646 (main): Read in user information here. Discover home directory if
2647 necessary.
2648 (read_score): Trim newline only in `getline' case.
2649
2650 2002-04-05 Colin Walters <walters@debian.org>
2651
2652 * update-game-score.c (toplevel): Include pwd.h.
2653 (struct score_entry): Add username field.
2654 (push_score): Use it.
2655 (get_user_id): New function.
2656 (main): Don't malloc excessively.
2657 (main): Use username field.
2658 (read_score): Read it.
2659 (push_score): Handle it.
2660 (write_scores): Write it.
2661 (read_score): Handle arbitrary length data.
2662
2663 2002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
2664
2665 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
2666
2667 2002-03-29 Gerd Moellmann <gerd@gnu.org>
2668
2669 * ebrowse.c (add_declarator, skip_initializer): New functions.
2670 (declaration): Use them.
2671
2672 2002-03-28 Jason Rumney <jasonr@gnu.org>
2673
2674 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
2675
2676 2002-03-27 Colin Walters <walters@debian.org>
2677
2678 * update-game-score.c: New file.
2679
2680 2002-03-22 Paul Eggert <eggert@twinsun.com>
2681
2682 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2683 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2684 the latter usage.
2685
2686 2002-03-12 Francesco Potortì <pot@gnu.org>
2687
2688 * etags.c (Python_functions): Skip spaces at beginning of lines.
2689 (Python_functions, PHP_functions): Name tags, for ctags' sake.
2690 (TeX_commands): Name tags. Correction of old disabled code.
2691
2692 * etags.c (curfiledir, curtagfname): New global variables.
2693 (process_file): Initialise them.
2694 (readline): Canonicalize the name found in #line directive.
2695
2696 2002-03-06 Jason Rumney <jasonr@gnu.org>
2697
2698 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
2699 compilers that don't optimize out dead code.
2700
2701 2002-03-05 Francesco Potortì <pot@gnu.org>
2702
2703 * etags.c: Honour #line directives.
2704 (no_line_directive): New global var; set it for old behavior.
2705 (main): Remove some #ifdef in the getopt switch.
2706 (add_node, put_entries): Code added to merge different chunks of
2707 nodes referring to the same file. Currently the tags are just
2708 appended, without any check for duplicates.
2709 (Perl_functions): Do not special case ctags.
2710 (readline): Identify #line directives and do the right thing.
2711 (nocharno, invalidcharno): New global vars.
2712 (process_file): Reset nocharno.
2713 (readline): Set nocharno.
2714 (pfnote): Read nocharno and maybe put invalidcharno in node.
2715 (total_size_of_entries, put_entries): Use invalidcharno.
2716
2717 * etags.c: Keep the whole tag table in memory, even in etags mode.
2718 (main): Call put_entries here even in CTAGS mode.
2719 (main, process_file): Check the return values of fclose and pclose.
2720 (process_file): Do not call put_entries after parsing each file.
2721 (process_file): Canonicalise file names even for ctags.
2722 (process_file): Set curfile here...
2723 (find_entries): ... not here any more.
2724 (add_node): In etags mode, build a linked list of entries (on
2725 right pointer) for each file, and link the first entry of each
2726 file on left nodes.
2727 (put_entries): Print here the name of the file.
2728 (put_entries): Print the entries starting from the first file.
2729 (number_len, total_size_of_entries): Define these only in etags
2730 mode, make the second work only on the right nodes.
2731
2732 * etags.c: Make all global variables static.
2733
2734 2002-02-25 Juanma Barranquero <lektu@terra.es>
2735
2736 * makefile.w32-in (lisp): Add missing backslash.
2737
2738 2002-02-24 Jason Rumney <jasonr@gnu.org>
2739
2740 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
2741 using .elc files.
2742 (lisp): Sync with list in src/Makefile.in.
2743 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
2744
2745 2002-02-10 Paul Eggert <eggert@twinsun.com>
2746
2747 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
2748 disallows the old syntax.
2749
2750 2002-02-03 Paul Eggert <eggert@twinsun.com>
2751
2752 * rcs2log (Copyright): Update to 2002.
2753 (AWK, TMPDIR): Work around portability problem in broken shells that
2754 don't understand `: ${VAR=val}'.
2755 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
2756 Prefer the new -k option to the traditional +M -N option.
2757
2758 2002-01-01 Pavel Janík <Pavel@Janik.cz>
2759
2760 * b2m.c (main): Parenthesize assignment when used as truth value
2761 to prevent gcc warnings.
2762
2763 * fakemail.c: Include <config.h>.
2764
2765 2001-12-29 Pavel Janík <Pavel@Janik.cz>
2766
2767 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
2768 * yow.c: Include <config.h>.
2769
2770 2001-12-21 Francesco Potortì <pot@gnu.org>
2771
2772 * etags.c (Perl_functions): Tag packages and use them in sub tags.
2773 (get_tag): Return a pointer to the tag that is found.
2774
2775 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
2776 (F_takeprec): Renamed from takeprec. All callers changed.
2777 (F_getit): Renamed from getit. All callers changed.
2778 (nocase_tail): Renamed from tail. All callers changed.
2779 (Ada_getit): Renamed from adagetit. All callers changed.
2780 (L_getit): Simplify by using get_tag.
2781 (Perl_functions, Postscript_functions, erlang_attribute): Use the
2782 modified LOOKING_AT.
2783 (notinname): Removed '[' and added ')' to the recognised chars.
2784 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
2785 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
2786 Clarified, using strneq or notinname.
2787 (L_isdef, L_isquote): Removed.
2788 (Lisp_functions, L_getit): Clarified.
2789
2790 * etags.c (P_): Renamed to __P for consistency with config.h.
2791 [HAVE_CONFIG_H]: Let config.h deal with __P.
2792 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
2793 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
2794 gperf code needs it.
2795 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
2796 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
2797 (xmalloc, xrealloc): Use PTR instead of long *.
2798 (bool): Make it a define, not a typedef, for C++ compilers.
2799 (pattern): Members renamed to avoid name clash in some C++ compilers.
2800 (get_language_from_langname): Use const argument.
2801
2802 2001-12-22 Pavel Janík <Pavel@Janik.cz>
2803
2804 * makefile.nt, makefile.w32-in: Remove mocklisp files.
2805
2806 2001-12-19 Pavel Janík <Pavel@Janik.cz>
2807
2808 * emacsserver.c: Conditionally include config.h.
2809
2810 * fakemail.c: Likewise.
2811
2812 * emacsclient.c: Include "config.h", not <../src/config.h>.
2813 (main): Parenthesize assignment when used as truth value to
2814 prevent gcc warnings.
2815
2816 * ebrowse.c: Include stdlib.h and string.h conditionally.
2817
2818 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
2819
2820 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
2821
2822 2001-12-18 Pavel Janík <Pavel@Janik.cz>
2823
2824 * test-distrib.c: Fix previous change.
2825
2826 2001-12-18 Dave Love <fx@gnu.org>
2827
2828 * test-distrib.c: Conditionally include fcntl.h.
2829
2830 * fakemail.c: Include "config.h", not <../src/config.h>.
2831 (_XOPEN_SOURCE): Define as 500.
2832
2833 * emacsserver.c: Include "config.h", not <../src/config.h>.
2834
2835 * cvtmail.c: Include config.h, stdlib.h.
2836 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
2837
2838 * yow.c: Conditionally include various headers. Use "epaths.h",
2839 not <../src/epaths.h>.
2840 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
2841
2842 2001-12-12 Francesco Potortì <pot@gnu.org>
2843
2844 * etags.c (PHP_functions): New function for parsing PHP.
2845 (LOOKING_AT): New macro.
2846 (Perl_functions, Python_functions, PHP_functions)
2847 (Scheme_functions, Texinfo_nodes): Use it.
2848 (Perl_functions): Use strneq.
2849 (prolog_pred): Renamed to prolog_pr.
2850 (prolog_pr): Recognise Prolog rules in addition to predicates.
2851 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
2852 unmodified compile, as Cygwin's regex.h is incompatible with us.
2853 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
2854
2855 2001-12-11 Richard M. Stallman <rms@gnu.org>
2856
2857 * Makefile.in (clean): Don't delete ../etc/DOC*.
2858
2859 2001-12-11 Pavel Janík <Pavel@Janik.cz>
2860
2861 * COPYING: Moved back.
2862
2863 2001-11-30 Andrew Innes <andrewi@gnu.org>
2864
2865 * makefile.w32-in (FACE_SUPPORT):
2866 (MOUSE_SUPPORT):
2867 (FLOAT_SUPPORT):
2868 (WINNT_SUPPORT):
2869 (lisp): Reference .el files instead of .elc files, to simplify
2870 bootstrapping.
2871 ($(DOC)): Change dependency to just `make-docfile'.
2872
2873 2001-11-29 Pavel Janík <Pavel@Janik.cz>
2874
2875 * COPYING: Removed.
2876
2877 2001-11-28 Paul Eggert <eggert@twinsun.com>
2878
2879 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
2880
2881 The following changes are derived from suggestions by Bob Chapman
2882 <rechapman@compuserve.com>.
2883
2884 * rcs2log (printlogline): Also allow tab and newline to separate
2885 '(function):' from the rest of a comment.
2886 (reformat the sorted log entries): Require date and author to
2887 match the clumpname.
2888
2889 2001-11-16 Gerd Moellmann <gerd@gnu.org>
2890
2891 * ebrowse.c (matching_regexp): Escape '\\'.
2892
2893 2001-11-15 Pavel Janík <Pavel@Janik.cz>
2894
2895 * Makefile.in: Add support for --program-prefix, --program-suffix
2896 and --program-transform-name options.
2897
2898 2001-11-03 Richard M. Stallman <rms@gnu.org>
2899
2900 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
2901
2902 * movemail.c (popmail): Always pass two args to `error'.
2903
2904 2001-10-24 Ken Raeburn <raeburn@gnu.org>
2905
2906 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
2907 -lhesiod and maybe -lresolv.
2908 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
2909 support if it's available.
2910
2911 2001-10-21 Miles Bader <miles@gnu.org>
2912
2913 * make-docfile.c (struct rcsoc_state): New type.
2914 (read_c_string_or_comment): Add SAW_USAGE
2915 parameter, and implement scanning for a `usage:' keyword.
2916 Use a variable of type `rcsoc_state' to hold most of our state.
2917 (put_char): Add STATE parameter, and remove all other parameters
2918 except CH. Use STATE to get access to all needed state.
2919 (scan_keyword_or_put_char): New function.
2920 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
2921 Don't output a usage-string if there was one in the doc-string.
2922
2923 2001-10-20 Gerd Moellmann <gerd@gnu.org>
2924
2925 * (Version 21.1 released.)
2926
2927 2001-10-19 Pavel Janík <Pavel@Janik.cz>
2928
2929 * b2m.c: Properly spell the name of Emacs.
2930
2931 2001-10-17 Miles Bader <miles@gnu.org>
2932
2933 * make-docfile.c (put_char): New function.
2934 (read_c_string_or_comment): Strip trailing spaces and newlines.
2935
2936 2001-10-16 Miles Bader <miles@gnu.org>
2937
2938 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
2939 comments [with `doc:' keyword prefix].
2940
2941 2001-10-15 Gerd Moellmann <gerd@gnu.org>
2942
2943 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
2944 in a C doc comment.
2945
2946 2001-10-13 Gerd Moellmann <gerd@gnu.org>
2947
2948 * make-docfile.c (read_c_string_or_comment): Renamed from
2949 read_c_string. Add parameter COMMENT. Read C-style comments.
2950 (scan_c_file): Handle doc strings in C comments.
2951
2952 2001-10-12 Andrew Innes <andrewi@gnu.org>
2953
2954 * makefile.nt (ALL): Do not include fakemail.
2955
2956 * makefile.w32-in (install): Do not copy fakemail.
2957
2958 2001-10-10 Jason Rumney <jasonr@gnu.org>
2959
2960 * makefile.w32-in (ALL): Do not include fakemail.
2961
2962 * makefile.nt (install): Ditto.
2963
2964 2001-10-09 Gerd Moellmann <gerd@gnu.org>
2965
2966 * emacsserver.c (main): Cast geteuid in sprintf to int.
2967
2968 * emacsclient.c (main): Cast isdigit argument to unsigned char.
2969
2970 2001-10-07 Pavel Janík <Pavel@Janik.cz>
2971
2972 * profile.c: Include config.h, not ../src/config.h.
2973 Include systime.h, not ../src/systime.h.
2974
2975 2001-10-05 Gerd Moellmann <gerd@gnu.org>
2976
2977 * Branch for 21.1.
2978
2979 2001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
2980
2981 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
2982 ALIASEE to help work with namespace aliases.
2983 (struct sym): Remove struct member NAMESP_ALIASES.
2984 (namespace_alias_table): New variable.
2985 (make_namespace): Add parameter CONTEXT.
2986 (check_namespace): New function.
2987 (find_namespace): Add parameter CONTEXT.
2988 (check_namespace_alias): New function.
2989 (register_namespace_alias): Change type of parameter OLD_NAME.
2990 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
2991 (check_namespace): New function.
2992 (enter_namespace): Call find_namespace with CONTEXT parameter.
2993 (match_qualified_namespace_alias): New function.
2994 (parse_qualified_ident_or_type): Fix typo in comment.
2995 While parsing qualified ident or type update namespace context and
2996 restore it on exit.
2997 (parse_qualified_param_ident_or_type): Fix typo in comment.
2998 (globals): Change handling of namespace aliases.
2999 (version): Add year 2001.
3000
3001 2001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
3002
3003 * etags.c (analyse_regex): If regex_arg is NULL, return
3004 immediately after a call to free_patterns.
3005
3006 2001-09-05 Paul Eggert <eggert@twinsun.com>
3007
3008 * rcs2log (Help, mainline code): Add new option -L FILE.
3009 (Copyright): Update year.
3010 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
3011 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
3012 C locale.
3013 (mainline code): Handle nonstandard -u option differently, by
3014 transforming it to standard form. Check for "Working file: ", not
3015 "Working file:". Allow file names with spaces.
3016 (SOH, rlogfile): New shell vars.
3017 (rlogout): Remove. Its old functionality is mostly migrated to
3018 rlogfile.
3019
3020 Append ';;' to the last arm of every case statement, for
3021 portability to ancient broken BSD shells.
3022
3023 (logins): Fix bug; was not being computed at all, lowering performance.
3024 (pository): New var. This fixes some bugs where repositories are
3025 remote, or have trailing slashes.
3026 (authors): $llogout is never an empty shell var, so don't worry
3027 about that possibility.
3028 (printlogline, mainline code): Fix bug with SOH's being put into
3029 the output.
3030
3031 2001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3032
3033 * ebrowse.c (SEEK_END): #define if not defined by system headers.
3034 Suggested by Dave Love <d.love@dl.ac.uk>.
3035
3036 2001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3037
3038 * makefile.nt (lisp): Synchronize with src/Makefile.in.
3039 * makefile.w32-in (lisp): Ditto.
3040
3041 2001-07-25 Juanma Barranquero <lektu@terra.es>
3042
3043 * grep-changelog (parse_changelog): Remove unused local variable.
3044
3045 * grep-changelog (main): Add new option --reverse.
3046 (print_log): Use it.
3047 (parse_changelog): Use it.
3048
3049 2001-07-20 Gerd Moellmann <gerd@gnu.org>
3050
3051 * grep-changelog: Remove RCS Id keyword.
3052
3053 2001-07-20 Juanma Barranquero <lektu@terra.es>
3054
3055 * grep-changelog (parse_changelog): Add tests for defined values
3056 to quiet warning from Perl 5.005 or above.
3057 (entry_match_p, header_match_p): Fix handling of null or empty
3058 argument to prevent duplicate headers.
3059
3060 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
3061
3062 2001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
3063
3064 * emacsclient.c (print_help_and_exit): Fix help message for
3065 +LINE:COLUMN option.
3066
3067 2000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
3068
3069 * emacsclient.c (main): Add support for +LINE:COLUMN command line
3070 argument.
3071
3072 2001-07-16 Gerd Moellmann <gerd@gnu.org>
3073
3074 * ebrowse.c (main): Check that the output file exists and
3075 is non-empty if invoked with `--append'.
3076
3077 2001-05-14 Francesco Potortì <pot@gnu.org>
3078
3079 * etags.c (add_regex): Reset the whole newly allocated pattern
3080 buffer instead of the individual members. It's safer and works
3081 with XEmacs.
3082
3083 * etags.1: Markups corrected.
3084
3085 2001-05-08 Gerd Moellmann <gerd@gnu.org>
3086
3087 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
3088
3089 2001-05-03 Gerd Moellmann <gerd@gnu.org>
3090
3091 * ebrowse.c (globals): Fix handling of namespace aliases.
3092
3093 2001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
3094
3095 * etags.c (print_help): Enclose the regexp in the help text
3096 example in quotes.
3097
3098 2001-04-05 Dave Love <fx@gnu.org>
3099
3100 * emacsclient.c (fail): Don't return a value.
3101 (main): Cast uid values for sprintf.
3102
3103 2001-04-03 Gerd Moellmann <gerd@gnu.org>
3104
3105 * emacsclient.c (fail, main): Don't use implicit int return type.
3106
3107 * b2m.c (main): Always return a value.
3108
3109 2001-03-02 Gerd Moellmann <gerd@gnu.org>
3110
3111 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
3112 freshly allocated object in *LAST_ID.
3113 (read_line): Accept \r\n line endings.
3114
3115 2001-02-24 Andrew Innes <andrewi@gnu.org>
3116
3117 * makefile.w32-in: Fix copyright notice.
3118
3119 2001-02-23 Francesco Potortì <pot@gnu.org>
3120
3121 * etags.c (enum sym_type): New label st_C_template.
3122 (gperf input): Use it for switching to C++ from C.
3123 (consider_token): Do it.
3124 (C_entries): Initialise typdefcblev to quiet compilers.
3125 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
3126
3127 2001-02-22 Andrew Innes <andrewi@gnu.org>
3128
3129 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
3130 VMS header files.
3131 ($(BLD)\profile.obj): Ditto.
3132
3133 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
3134 VMS header files.
3135 ($(BLD)/profile.$(O)): Ditto.
3136
3137 2001-02-05 Andrew Innes <andrewi@gnu.org>
3138
3139 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
3140 invocation of make-docfile, to work with Windows 2000.
3141
3142 2001-01-31 Dave Love <fx@gnu.org>
3143
3144 * etags.c (in_word_set): Use `static' in definition (for pcc).
3145
3146 2001-01-31 Francesco Potortì <pot@gnu.org>
3147
3148 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
3149 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
3150 (C_entries): Tag token renamed to still_in_token because sunos4
3151 pcc wants to expand it as the token() macro even though it has no
3152 arguments.
3153
3154 2001-01-30 Andrew Innes <andrewi@gnu.org>
3155
3156 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
3157 bug in the Mingw32 assert.h header file.
3158
3159 2001-01-30 Francesco Potortì <pot@gnu.org>
3160
3161 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
3162 #define it for the sake of XEmacs.
3163 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
3164 HAVE_CONFIG_H. This change only affects a standalone etags.
3165 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
3166 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
3167 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
3168 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
3169 WINDOWSNT, as this is the correct way to use it.
3170
3171 2001-01-28 Francesco Potortì <pot@gnu.org>
3172
3173 * etags.c: Be capable to parse nested struct-like structures.
3174 (structdef, structtag): Struct state machine revisited.
3175 (struct tok): Revisited.
3176 (cstack, nestlev, instruct): New struct and macros.
3177 (pushclass_above, popclass_above, write_classname): New functions
3178 for dealing with nested class names.
3179 (consider_token, make_C_tag, C_entries): Many changes for dealing
3180 with arbitrarily nested structures.
3181 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
3182 (C_entries): Consider templates in C++.
3183 (sym_type): New constant st_C_class for detecting "class" also in
3184 C mode.
3185 (C_AUTO): New macro for automatic detection of C++.
3186 (consider_token): Automatic set C++ mode.
3187 (C_entries): New security check for yacc.
3188 (print_language_names, print_help): Mention the autodetect
3189 feature, do not show help for the -C option, now mostly useless.
3190 (C_entries): Tag C++ forward declarations if --declarations.
3191 (C_entries): Don't be fooled by things like XDEFUN.
3192 (consider_token): Discard asm pseudo function.
3193
3194 2001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
3195
3196 * etags.c: Add a coding: tag.
3197
3198 2001-01-26 Gerd Moellmann <gerd@gnu.org>
3199
3200 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
3201 New variables.
3202 (matching_regexp): Use them instead of static variables in
3203 function scope.
3204
3205 2001-01-25 Francesco Potortì <pot@gnu.org>
3206
3207 * etags.c (struct tok): Renamed from struct token.
3208 (token): Renamed from tok.
3209 (structtype): Make it a local variable.
3210 [DEBUG]: Use assert.
3211 (xrnew): Change the synopsis.
3212 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
3213 (grow_linebuffer): Don't call xrnew when not needed.
3214 (token): Buffer renamed to line.
3215 (C_entries): Three calls to inibuffer moved here from main.
3216 (C_entries): Remove all references to var methodlen, delete it.
3217 (linebuffer_setlen): Was grow_buffer, now also sets len.
3218 (consider_token, C_entries, Pascal_functions): Use it.
3219 (C_entries): Preventing problems relative to extern "C".
3220 (C_entries): Can tag more than one variable or func separated by
3221 comma when --declarations is used.
3222 (C_entries): More accurate tagging of members and declarations.
3223 (yacc_rules): Was global, made local to C_entries.
3224 (next_token_is_func): Removed.
3225 (fvdef): New constants fdefunkey, fdefunname.
3226 (consider_token, C_entries): Use them.
3227 (C_entries): Build proper lisp names for Emacs DEFUNs.
3228
3229 2001-01-22 Gerd Moellmann <gerd@gnu.org>
3230
3231 * ebrowse.c (xfree): New function.
3232 (member, declaration, globals): Use xmalloc instead of alloca.
3233
3234 2001-01-15 Francesco Potortì <pot@gnu.org>
3235
3236 * etags.c (print_language_names): Print filenames in addition to
3237 suffixes.
3238
3239 2001-01-14 Francesco Potortì <pot@gnu.org>
3240
3241 * etags.c (get_language_from_langname): Renamed from
3242 get_language_from_name.
3243 (get_language_from_filename): Renamed from get_language_from_suffix.
3244 Now first looks for the complete file name.
3245 (language): New member char **filenames.
3246 (Makefile_filenames): List of possible filenames for makefiles.
3247 (lang_names): Add a NULL member for every entry, added an entry
3248 for makefiles.
3249 (Makefile_targets): New function.
3250 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
3251 it conformant to the style of the rest of the code.
3252
3253 2001-01-13 Gerd Moellmann <gerd@gnu.org>
3254
3255 * make-docfile.c (write_c_args): Print newlines as spaces.
3256
3257 2001-01-06 Andrew Innes <andrewi@gnu.org>
3258
3259 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
3260 of *.pdb.
3261
3262 2001-01-03 Paul Eggert <eggert@twinsun.com>
3263
3264 * rcs2log: Avoid security hole allowing attacker to
3265 cause user of rcs2log to overwrite arbitrary files, fixing
3266 a bug reported by Morten Welinder.
3267
3268 Don't put "exit 1" at the end of the exit trap; it's
3269 ineffective in POSIX shells.
3270
3271 2001-01-02 Gerd Moellmann <gerd@gnu.org>
3272
3273 * ebrowse.c (yyerror): Change to take two arguments.
3274 Add prototype. Change callers.
3275
3276 2001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
3277
3278 * ebrowse.c (enter_namespace, main): Cast variables to shut up
3279 compiler warnings.
3280 (yyerror): Change parameter declarations to be of type long, so
3281 that they can take pointers on 64-bit platforms.
3282
3283 * emacsclient.c (main): Remove unused local variable statbfr.
3284 (main) <homedir>: Make its declaration conditional on
3285 SERVER_HOME_DIR, to avoid compiler warnings.
3286
3287 * emacsserver.c (main) <homedir>: Make its declaration conditional
3288 on SERVER_HOME_DIR, to avoid compiler warnings.
3289
3290 * fakemail.c (readline): Cast buffer to "long *" to pacify
3291 over-zealous compilers.
3292
3293 2000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
3294
3295 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
3296
3297 2000-12-15 Gerd Moellmann <gerd@gnu.org>
3298
3299 * ebrowse.c (operator_name): Cast argument of isalpha to
3300 unsigned char.
3301
3302 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
3303 Use them throughout instead of ctype functions/macros.
3304 (lowcase): Cast to unsigned char.
3305 (UPCASE): New macro.
3306 (canonicalize_filename): Use UPCASE instead toupper.
3307
3308 * fakemail.c (get_keyword): Make sure that isspace and
3309 similar aren't called with a negative argument.
3310
3311 2000-12-13 Dave Love <fx@gnu.org>
3312
3313 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
3314
3315 2000-12-06 Andrew Innes <andrewi@gnu.org>
3316
3317 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
3318 don't know the real version, and I can't seem to get the quoting
3319 right in all circumstances.
3320
3321 * ebrowse.c (VERSION): Provide default definition, like etags.c
3322 does, because Windows build can't snarf this from version.el.
3323
3324 2000-11-30 Andrew Innes <andrewi@gnu.org>
3325
3326 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
3327 (install): Ditto.
3328
3329 2000-11-23 Jason Rumney <jasonr@gnu.org>
3330
3331 * makefile.w32-in: Add targets for ebrowse.exe.
3332 (LOCAL_FLAGS): Add -DVERSION flag.
3333
3334 2000-09-25 Dave Love <fx@gnu.org>
3335
3336 * sorted-doc.c: Include config.h.
3337 [!HAVE_STDLIB_H]: Declare malloc.
3338
3339 2000-09-14 Andrew Innes <andrewi@gnu.org>
3340
3341 * makefile.w32-in: Revert to Unix line endings.
3342
3343 2000-09-04 Dave Love <fx@gnu.org>
3344
3345 * movemail.c (index, rindex): Prototype conditionally.
3346
3347 2000-09-03 Andrew Innes <andrewi@gnu.org>
3348
3349 * makefile.w32-in: Change to DOS line endings.
3350
3351 2000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3352
3353 * movemail.c (toplevel): Remove redundant fcntl.h.
3354 [!F_OK]: Provide default definitions only after including both
3355 fcntl.h and unistd.h.
3356
3357 2000-08-29 Dave Love <fx@gnu.org>
3358
3359 * movemail.c: Revert previous change.
3360
3361 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3362
3363 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
3364
3365 2000-08-28 Dave Love <fx@gnu.org>
3366
3367 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
3368 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
3369
3370 2000-08-22 Andrew Innes <andrewi@gnu.org>
3371
3372 * ntlib.h (WIN32): Remove unnecessary definition.
3373 (sleep): Make argument unsigned long.
3374 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
3375
3376 * ntlib.c (sleep): Make argument unsigned long.
3377
3378 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
3379
3380 * makefile.w32-in: New file.
3381
3382 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
3383
3384 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
3385 letter only if it is a drive letter.
3386
3387 2000-07-14 Gerd Moellmann <gerd@gnu.org>
3388
3389 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
3390
3391 * etags.c (xmalloc, xrealloc): Make externally visible, for use
3392 by alloca.o.
3393
3394 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
3395
3396 2000-07-10 Gerd Moellmann <gerd@gnu.org>
3397
3398 * ebrowse.c (yylex): Accept string literals with newlines in them.
3399 (process_pp_line): Handle case of string literal with newline
3400 in it in replacement text, which counts as continuing the
3401 replacement text in GNU C.
3402
3403 2000-07-02 Gerd Moellmann <gerd@gnu.org>
3404
3405 * ebrowse.c (token_string): Add missing tokens.
3406 (parm_list): Handle case of qualified pointers.
3407
3408 2000-06-23 Dave Love <fx@gnu.org>
3409
3410 * ebrowse.c: Move config.h before other includes (which may use
3411 feature tests).
3412
3413 2000-06-14 Jim Meyering <meyering@lucent.com>
3414
3415 * grep-changelog: Fix typos in comments. Remove trailing blanks.
3416
3417 2000-06-11 Jason Rumney <jasonr@gnu.org>
3418
3419 * makefile.nt: Add targets for ebrowse.
3420
3421 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
3422 compare filenames.
3423
3424 2000-06-06 Gerd Moellmann <gerd@gnu.org>
3425
3426 * ebrowse.c (ymalloc): Renamed from xmalloc.
3427 (yrealloc): Renamed from xrealloc.
3428
3429 2000-05-21 Dave Love <fx@gnu.org>
3430
3431 * movemail.c: Include config.h, not ../src/config.h.
3432 (Errmsg): Bump length.
3433
3434 * pop.c (ERROR_MAX): Increase to 160.
3435
3436 2000-05-04 Gerd Moellmann <gerd@gnu.org>
3437
3438 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
3439
3440 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
3441
3442 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
3443 Define to semi-colon.
3444 (FILENAME_EQ): New macro, for comparing file names.
3445 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
3446 (process_file): Don't assume that fread always reads as many bytes
3447 as it was told to (DOS-style CR-LF text files fail this logic).
3448 (open_file): Allocate enough space for path->path plus the file
3449 name and the slash.
3450
3451 2000-04-19 Dave Love <fx@gnu.org>
3452
3453 * etags.c (Texinfo_functions): New function.
3454 (lang_names): Install it.
3455 (Texinfo_suffixes): New variable.
3456
3457 2000-04-19 Gerd Moellmann <gerd@gnu.org>
3458
3459 * ebrowse.c (xmalloc, xrealloc): Rewritten.
3460 (declaration): Remove parameter IS_EXTERN.
3461 (class_definition): Remove unused variable.
3462
3463 2000-04-09 Gerd Moellmann <gerd@gnu.org>
3464
3465 * Makefile.in (INSTALLABLES): Add ebrowse.
3466 (ebrowse): New target.
3467
3468 * ebrowse.c: New file.
3469
3470 2000-03-29 Andreas Schwab <schwab@suse.de>
3471
3472 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
3473
3474 2000-03-02 Gerd Moellmann <gerd@gnu.org>
3475
3476 * etags.c (lisp_suffixes): Add `LSP'.
3477
3478 2000-02-10 Francesco Potortì <pot@gnu.org>
3479
3480 * etags.c (iswhite): Redefine not to consider '\0' as white
3481 space, and use it throughout in place of isspace, thus preventing a
3482 potential signed char to int conversion problem.
3483 (MSDOS): #undefine before redefining.
3484
3485 2000-02-04 Francesco Potortì <pot@gnu.org>
3486
3487 * etags.c (many functions): Add prototypes.
3488
3489 2000-02-10 Dave Love <fx@gnu.org>
3490
3491 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
3492 (erlang_func): Add `static' to definitions to keep pcc happy.
3493
3494 2000-01-31 Francesco Potortì <pot@gnu.org>
3495
3496 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
3497 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
3498 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
3499 (getenv, getcwd): Only declare them if necessary.
3500 (EMACS_NAME): New constant macro.
3501 (print_version): Use it.
3502 (P_) [__STDC__]: Macro for defining function prototypes.
3503
3504 2000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
3505
3506 * etags.c [WINDOWSNT]: #include <direct.h>
3507
3508 2000-01-18 Martin Buchholz <martin@xemacs.org>
3509
3510 * etags.c (all functions): Made them static.
3511 (all functions): Write prototypes.
3512
3513 2000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3514
3515 * movemail.c (main): Improve error message if can't create lock file.
3516
3517 2000-01-28 Eric Hanchrow <offby1@blarg.net>
3518
3519 * emacsclient.c (socket_status): New function.
3520 (main): If $LOGNAME or $USER exist and differ from our euid, look
3521 for a socket based on the UID associated with the name.
3522
3523 2000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
3524
3525 * emacsclient.c: Add option -a EDITOR and environment variable
3526 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
3527
3528 1999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3529
3530 * movemail.c (popmail): Allow mailbox specifications of the
3531 form `po:username:hostname'.
3532
3533 1999-11-19 Francesco Potortì <pot@gnu.org>
3534
3535 * etags.c (_GNU_SOURCE): Define only if undefined.
3536 (get_scheme): Declaration deleted.
3537 (main): Error was called with an integer as second arg, instead of
3538 a char pointer.
3539 (canonicalize_filename): Bug removed.
3540
3541 1999-11-18 Dave Love <d.love@dl.ac.uk>
3542
3543 * etags.c (C_entries): Rename label `intoken', avoiding K&R
3544 lossage from name clash with macro.
3545
3546 1999-11-13 Gerd Moellmann <gerd@gnu.org>
3547
3548 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
3549
3550 1999-11-03 Gerd Moellmann <gerd@gnu.org>
3551
3552 * etags.c (print_help): Change email address to send bugs to.
3553
3554 1999-11-01 Francesco Potortì <pot@gnu.org>
3555
3556 * etags.c: Add suffix psw for PSWrap.
3557 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
3558 (Postscript_functions): Add code for PSWrap.
3559 (Scheme_functions): Use local pointer and new get_tag function.
3560 (get_tag): New name for old get_scheme.
3561 (process_file): Do not free NULL when file does not exist.
3562 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
3563 (C_entries): Modifications that make --members tag even inside
3564 typedefs and C nested structs (one level only).
3565 (consider_token): Correct a bug which prevented tagging of enum
3566 constants.
3567 (C_stab_entry): Add if, for, while, switch, return as
3568 st_C_ignore. This makes it simpler to work when cblev!=0.
3569
3570 * etags.c (C_entries): Tag member function declarations when
3571 --declarations is used.
3572
3573 * etags.c (C_entries, consider_token): C++ `operator' now is
3574 tagged in most cases.
3575 As before, :: is not recognised if surrounded by spaces.
3576
3577 * etags.c (relative_filename): Account for DOS file names such
3578 that is impossible to make one relative to another.
3579
3580 * etags.c (sym_type): New st_C_extern tag.
3581 (gperf input): Use it for spotting external declarations.
3582 (print_help): Document the new behavior of --declarations.
3583 (fvextern): New global variable.
3584 (consider_token, C_entries): Use it.
3585
3586 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
3587 (etags_getcwd): Remove test for WINDOWSNT.
3588
3589 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
3590 foo.cgz, foo.cz, etc.
3591
3592 * etags.c (declarations): New global switch.
3593 (longopts): Describe it.
3594 (print_help): Document it.
3595 (C_entries): Use it.
3596 (process_file): Don't process a file twice.
3597
3598 * etags.c (Fortran_functions): No tags for "procedure".
3599
3600 1999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
3601
3602 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
3603 non-zero, returns a pointer to where the extension begins; callers
3604 changed.
3605 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
3606 were foo.c.gz.
3607
3608 1999-11-01 Francesco Potortì <pot@gnu.org>
3609
3610 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
3611 (fvdev): New constant foperator.
3612 (consider_token): Use it to get "operator" in C++.
3613 (C_entries): Extend length of operator@ function name.
3614 (C_entries): Use foperator when necessary.
3615
3616 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
3617
3618 * etags.c (compressor): New struct for compressed files.
3619 (get_compressor_from_suffix): New function.
3620 (get_language_from_suffix): Use it. Also, semantics changed.
3621 (process_file): Consider compressed files, close file.
3622 (find_entries): Use different call arg for get_language_from_suffix,
3623 don't close file.
3624
3625 * etags.c (main): Call free_tree.
3626 (find_entries): Do not free curfile.
3627 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
3628 (prolog_pred, erlang_func, substitute): Cast strlen to int when
3629 comparing.
3630 (canonicalize_filename): Shut up compiler warning.
3631 (Perl_functions): Make tag significant.
3632
3633 1999-11-01 Dave Love <d.love@dl.ac.uk>
3634
3635 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
3636 (argument_type): New member at_icregexp.
3637 (lc_trans): New global.
3638 (main): Fill lc_trans. Process -c args.
3639 (add_regex): New arg determining whether to use translation table.
3640 (analyse_regex): New arg. Use it for add_regex.
3641
3642 1999-11-01 Francesco Potortì <pot@gnu.org>
3643
3644 * etags.c (init): Cosmetic change: NULL --> '\0'.
3645 (erlang_attribute): Bug corrected (uninitialized variable).
3646 (filename_is_absolute): New function replaces absolutefn macro and
3647 corrects a bug. All callers changed.
3648 (canonicalize_filename): New function.
3649 (process_file, etags_getcwd, absolute_dirname): Use it.
3650 (relative_filename, absolute_filename): Removed var shadowing.
3651 (C_entries, Pascal_functions): Add fake initializations to keep
3652 compilers quiet.
3653 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
3654
3655 * etags.c (xrnew): New macro. All callers of xrealloc changed.
3656 (language): New typedef (was struct lang_entry).
3657 (curlang): New global variable.
3658 (node): Typedef renamed from NODE.
3659 (linebuffer): New typedef (was struct linebuffer).
3660 (pattern): New typedef (was struct pattern). Some members added.
3661 Now used as element of a linked list.
3662 (patterns, num_patterns): Global variables deleted.
3663 (p_head): New global variable.
3664 (forced_lang): New global variable (replaces lang_func).
3665 (get_language_from_name, get_language_from_interpreter)
3666 (get_language_from_suffix): Semantics changed. All callers changed.
3667 (last_node): New global variable.
3668 (free_tree, add_node, put_entries, total_size_of_entries):
3669 Change name of local vars to avoid clashes with typedef node.
3670 (number_len): Rewritten for elegance.
3671 (token): New typedef replaces TOKEN.
3672 (analyse_regex, add_regex): Rewritten for new functionality.
3673 (free_patterns): New function called from main and add_regex.
3674 (initbuffer, readline_internal, readline, grow_linebuffer):
3675 Change name of local vars to avoid clashes with typedef linebuffer.
3676 (readline): Rewritten for new functionality.
3677
3678 * etags.c (Scheme_suffixes): New suffix ".ss".
3679 (print_help): --globals is now used for more than C-type languages.
3680 (Perl_functions): Tag global variables ("my" and "local").
3681
3682 * etags.c (print_help): Some messages clarified.
3683 (LOOP_ON_INPUT_LINES): New macro.
3684 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
3685 (Python_functions, Cobol_paragraphs, Pascal_functions)
3686 (Lisp_functions, Postscript_functions, Scheme_functions)
3687 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
3688 (Cobol_paragraphs, Postscript_functions, TeX_functions)
3689 (Prolog_functions, Erlang_functions): Use a local variable instead
3690 of the global variable dbp.
3691 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
3692 standard indentation.
3693
3694 * etags.c (Python_suffixes, lang_names, Python_functions):
3695 Python support.
3696 (skip_spaces, skip_non_spaces): Utility functions.
3697 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
3698 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
3699 (prolog_pred, erlanf_func, erlang_attribute): Use them.
3700 (eat_white): Deleted.
3701
3702 * etags.c (CHAR, init): Keep into account non US-ASCII
3703 characters and compilers with default signed chars.
3704 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
3705 constructs.
3706 (C_stab_entry): "interface" in Java behaves like "class".
3707
3708 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
3709 (main): Put interval syntax here.
3710 (add_regex): And remove it from here.
3711
3712 * etags.c (suggest_asking_for_help): Provide a
3713 meaningful help message with and without LONG_OPTIONS.
3714
3715 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
3716 <stdlib.h, string.h>: Don't test MSDOS when including them.
3717 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
3718 (put_entries): Correctly use %ld instead of %d in printf.
3719
3720 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
3721 declare getcwd if HAVE_GETCWD.
3722 (consider_token): Dead break instruction removed.
3723
3724 1999-10-19 Paul Eggert <eggert@twinsun.com>
3725
3726 Add support for large files. Merge glibc 2.1.2.
3727
3728 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
3729 * movemail.c, pop.c:
3730 Do not include <stdlib.h>, as <config.h> does this now.
3731
3732 * b2m.c, emacsserver.c, etags.c, profile.c:
3733 Include <config.h> before any system include files.
3734
3735 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
3736 * test-distrib.c:
3737 (read, write, open, close): Do not undef.
3738
3739 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
3740 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
3741
3742 * getopt.h: Adopt glibc 2.1.2.
3743
3744 1999-10-15 Dave Love <fx@gnu.org>
3745
3746 * Makefile.in (pop.o): Depend on config.h.
3747
3748 1999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3749
3750 * pop.c: Use "pop3" as the POP service name on all platforms,
3751 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
3752 has been the standard service name since RFC 1340 was published in
3753 July 1992, so I think it's safe to start using it by default.
3754
3755 1999-09-27 Dave Love <fx@gnu.org>
3756
3757 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
3758
3759 1999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3760
3761 * make-docfile.c (scan_lisp_file): Fix previous changes;
3762 swallow CRLF like just CR or just LF.
3763
3764 1999-09-03 Richard Stallman <rms@gnu.org>
3765
3766 * make-docfile.c: Include config.h not ../src/config.h.
3767 (main, fopen, chdir): Add #undef.
3768 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
3769 (scan_lisp_file): Handle \r like \n.
3770
3771 1999-08-30 Andreas Schwab <schwab@gnu.org>
3772
3773 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
3774
3775 * emacsserver.c: Include <stdlib.h> if available. Don't declare
3776 errno if it's a macro.
3777
3778 * test-distrib.c: Include <unistd.h> if available.
3779
3780 1999-08-29 Richard Stallman <rms@gnu.org>
3781
3782 * emacsclient.c (print_help_and_exit): Mention --version.
3783
3784 1999-08-25 Richard M. Stallman <rms@gnu.org>
3785
3786 * emacsclient.c (decode_options): Update version output.
3787 (print_help_and_exit): Update bug report address.
3788
3789 1999-08-13 Richard M. Stallman <rms@gnu.org>
3790
3791 * emacsclient.c (main): Move the dynamic allocation of
3792 system_name outside of the SERVER_HOME_DIR conditional.
3793 * emacsserver.c (main): Likewise.
3794
3795 1999-08-10 Gerd Moellmann <gerd@gnu.org>
3796
3797 * grep-changelog: New.
3798 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
3799
3800 1999-07-12 Richard Stallman <rms@gnu.org>
3801
3802 * Version 20.4 released.
3803
3804 1999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
3805
3806 * Makefile.in (clean): Remove fns*.el.
3807
3808 1999-06-23 Dave Love <fx@gnu.org>
3809
3810 * etags.c (erlang_attribute): Fix undefined variable usage (after
3811 Potorti).
3812
3813 1999-05-02 Andrew Innes <andrewi@gnu.org>
3814
3815 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
3816 mapped to _chsize.
3817
3818 1999-04-29 Richard M. Stallman <rms@gnu.org>
3819
3820 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
3821
3822 1999-03-30 Dave Love <fx@gnu.org>
3823
3824 * sorted-doc.c (main): Split up tables. Modify the preamble
3825 somewhat.
3826
3827 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
3828
3829 * makefile.nt: Remove common multiple file compilation commands.
3830
3831 1999-02-26 Richard Stallman <rms@gnu.org>
3832
3833 * Makefile.in (yow): Depend on epaths.h, not paths.h.
3834
3835 * yow.c: Refer to epaths.h.
3836
3837 1999-02-22 Simon Josefsson <jas@pdc.kth.se>
3838
3839 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
3840
3841 1999-01-27 Andrew Innes <andrewi@gnu.org>
3842
3843 * makefile.nt: Do make version comparison as strings.
3844
3845 1999-01-25 Richard Stallman <rms@gnu.org>
3846
3847 * emacsclient.c (xmalloc): Fix previous change.
3848
3849 1999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
3850
3851 * emacsclient.c (xmalloc): Declare to return long.
3852
3853 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
3854
3855 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
3856 the case of the drive letter.
3857
3858 1999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
3859
3860 * emacsserver.c (main): Eliminate arbitrary limit on
3861 length of system_name.
3862
3863 * emacsclient.c (main): Eliminate arbitrary limit on
3864 length of system_name.
3865 (xmalloc): Define unconditionally.
3866
3867 1999-01-12 Darrin B. Jewell <jewell@mit.edu>
3868
3869 * etags.c (relative_filename): Stop backward search at beginning
3870 of string, since non-Unix systems can have absolute paths with no
3871 initial slash.
3872
3873 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
3874
3875 * makefile.nt: Do string comparision of _NMAKE_VER.
3876
3877 1998-11-03 Theodore Jump <tjump@cais.com>
3878
3879 * makefile.nt: Compile multiple source files when possible.
3880
3881 1998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
3882
3883 * Makefile.in: Replace tabs with spaces
3884 when they might confuse some Make versions.
3885
3886 1998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
3887
3888 * emacsclient.c (main): Null-terminate system_name.
3889
3890 * emacsserver.c (main): Null-terminate system_name.
3891
3892 1998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3893
3894 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
3895 an error message from POP, mention that it's from POP, to
3896 distinguish it from local error messages.
3897
3898 1998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3899
3900 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
3901 order of messages downloaded from a POP server (e.g., if the
3902 server stores messages in mailboxes in reverse order).
3903
3904 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
3905
3906 * Version 20.3 released.
3907
3908 1998-08-11 Paul Eggert <eggert@twinsun.com>
3909
3910 * rcs2log: Update copyright date and bug report address.
3911 (initialize_fullname): Prefer getent if available.
3912
3913 1998-07-30 Paul Eggert <eggert@twinsun.com>
3914
3915 * Makefile.in (REGEXPDEPS, regex.o):
3916 Prepend $(srcdir)/ to rule dependencies outside this dir.
3917
3918 1998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
3919
3920 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
3921
3922 1998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
3923
3924 * Makefile.in: Properly terminate a comment.
3925
3926 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
3927
3928 * movemail.c (sys_wait): Rename to wait.
3929
3930 * ntlib.h: Undefine _WINSOCKAPI_.
3931
3932 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
3933
3934 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
3935
3936 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
3937
3938 1998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
3939
3940 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
3941 all file i/o to be in binary mode. Include ntlib.h.
3942
3943 1998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
3944
3945 * make-docfile.c: Include <unistd.h> for chdir.
3946
3947 1998-04-25 Richard Stallman <rms@psilocin.gnu.org>
3948
3949 * etags.c (TEX_decode_env): Don't free the value getenv returns.
3950
3951 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
3952
3953 * makefile.nt (obj): Update with new files in src.
3954 (clean): Delete patch scratch files, optimized compilation dir.
3955
3956 1998-04-08 Dave Love <fx@gnu.org>
3957
3958 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
3959 Irix6, at least.
3960
3961 1998-04-06 Andreas Schwab <schwab@gnu.org>
3962
3963 Silence -Wimplicit:
3964 * movemail.c: Move cancelations up. Include <stdlib.h> if
3965 available.
3966 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
3967 (parse_header): Explicitly declare return type.
3968 * emacsserver.c: Include <unistd.h> if available.
3969 (main, handle_signals, perror_1, fatal_error): Explicitly declare
3970 return types. Add forward declarations.
3971 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
3972 Don't declare geteuid.
3973 (print_help_and_exit): Change return type to void. Forward
3974 declare it.
3975 * b2m.c: Include <stdlib.h> if available.
3976 (main): Explicitly declare return type.
3977
3978 1998-04-03 Richard Stallman <rms@psilocin.gnu.org>
3979
3980 * etags.c (put_entries): Use %ld.
3981
3982 * b2m.c (fatal): Declare the arg.
3983
3984 1998-03-26 Richard Stallman <rms@psilocin.gnu.org>
3985
3986 * pop.c (pop_getline): Renamed from getline.
3987
3988 1998-03-05 Richard Stallman <rms@psilocin.gnu.org>
3989
3990 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
3991 for the utilities.
3992
3993 1998-01-23 Dave Love <d.love@dl.ac.uk>
3994
3995 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
3996 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
3997 Always make named tags.
3998 (Fortran_functions): Grok BLOCK DATA.
3999
4000 1998-01-23 Andreas Schwab <schwab@gnu.org>
4001
4002 * movemail.c (main): Fix interwoven brace and cpp conditional
4003 nesting.
4004
4005 1997-12-03 Paul Eggert <eggert@delysid.gnu.org>
4006
4007 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
4008 with a '>' any lines starting with "From " read from the POP server,
4009 but leave the code in place, wrapped in #ifdef
4010 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
4011 because it turns out that something is depending on it. Change
4012 suggested by Paul Eggert <eggert@twinsun.com>.
4013 Convert the character \037 (^_) at the beginning of a line into
4014 the character '^' followed by the character '_', because otherwise
4015 Emacs can't parse the resulting file as a valid BABYL file.
4016 Change suggested by Paul Eggert <eggert@twinsun.com>.
4017
4018 1997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4019
4020 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
4021 server to contain embedded nulls.
4022
4023 1997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4024
4025 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
4026 quotes with a '>' any lines starting with "From " read from the
4027 POP server, but leave the code in place, wrapped in #ifdef
4028 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
4029 because it turns out that something is depending on it. Change
4030 suggested by Paul Eggert <eggert@twinsun.com>.
4031
4032 Convert the character \037 (^_) at the beginning of a line into
4033 the character '^' followed by the character '_', because otherwise
4034 Emacs can't parse the resulting file as a valid BABYL file.
4035 Change suggested by Paul Eggert <eggert@twinsun.com>.
4036
4037 1997-11-22 Richard Stallman <rms@gnu.org>
4038
4039 * b2m.c: Include getopt.h.
4040 (main): Use getopt_long to handle --version and --help.
4041
4042 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
4043
4044 1997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4045
4046 * pop.c (fullwrite): Get rid of an extra call to write. Problem
4047 pointed out by Chiaki Ishikawa.
4048
4049 1997-10-16 Dave Love <d.love@dl.ac.uk>
4050
4051 * etags.c (L_getit): Always make named tags so that Emacs
4052 completion on symbols containing `:' etc. works.
4053 (get_scheme): Likewise.
4054
4055 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4056
4057 * pop.c: Use system header files instead of declaring C-library
4058 functions explicitly.
4059
4060 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4061
4062 * Version 20.2 released.
4063
4064 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4065
4066 * Version 20.1 released.
4067
4068 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
4069
4070 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
4071
4072 * ntlib.c (getpid): Delete function.
4073
4074 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4075
4076 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
4077
4078 1997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4079
4080 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
4081 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
4082
4083 1997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4084
4085 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
4086
4087 1997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
4088
4089 * profile.c (get_time): Cast arg to fprintf.
4090
4091 * hexl.c (main): Use %08lx instead of %08x in printf because the
4092 variable named addresses is long.
4093
4094 1997-08-08 Geoff Voelker <voelker@cs.washington.edu>
4095
4096 * makefile.nt (lisp): Update paths to lisp files that have moved.
4097
4098 1997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
4099
4100 * makefile.nt (ctags.obj): New target.
4101 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
4102
4103 * ntlib.h: Add includes.
4104 Undo definitions of crt routines from config.h.
4105
4106 1997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4107
4108 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
4109
4110 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4111
4112 * pop.c: Support auto-configuration of both Kerberos V4 and
4113 Kerberos V5 for movemail, including detection of V4 and V5 header
4114 files and libraries.
4115 Include <string.h> when STDC_HEADERS is defined, to get
4116 declarations of string functions.
4117 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
4118 V5 API rather than the old one.
4119 [KERBEROS] (socket_connection): Change a constant name from
4120 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
4121 with a constant in a header file.
4122
4123 * Makefile.in: Support auto-configuration of both Kerberos V4 and
4124 Kerberos V5 for movemail, including detection of V4 and V5 header
4125 files and libraries.
4126
4127 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4128
4129 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
4130
4131 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
4132
4133 1997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4134
4135 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
4136
4137 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4138
4139 * movemail.c (rindex): Add declaration.
4140
4141 1997-07-01 Geoff Voelker <voelker@cs.washington.edu>
4142
4143 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
4144 (movemail.exe): Depend upon and link with getopt files.
4145 (obj): Include new source files.
4146 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
4147 (lisp): Include new and reorganized elisp files.
4148
4149 1997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4150
4151 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
4152
4153 1997-06-25 Paul Eggert <eggert@twinsun.com>
4154
4155 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
4156
4157 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
4158
4159 * b2m.c (readline): Terminate buffer properly when EOF seen.
4160 Test for valid pointer before dereferencing it.
4161
4162 1997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4163
4164 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
4165 defined inside etags.c if HAVE_CONFIG_H is defined.
4166
4167 1997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4168
4169 * etags.c (logical): Type name changed to bool.
4170 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
4171 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
4172 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
4173 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
4174 (longopts): New long options without short counterpart are
4175 globals, members, no-globals, no-members. Regexp options are now
4176 defined conditionally to ETAGS_REGEXPS.
4177 (print_help): Updated.
4178
4179 1997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4180
4181 * etags.c (C_entries): Use "." instead of "::" for Java.
4182 (consider_token): is_func renamed to is_func_or_var.
4183 (C_entries): is_func renamed to funorvar.
4184 (C_entries): Initialise tok.named.
4185 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
4186 get rid of "import", "package" and "friend".
4187 (fvdef): Renamed from funcdef. Also some constants renamed. All
4188 users changed.
4189 (C_entries): Make separate tags for variables separated by comma.
4190 (globals, members): New flags.
4191 (main, C_entries): Use them.
4192 (make_C_tag, C_entries): Make tok a global variable.
4193
4194 1997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4195
4196 * etags.c (funcdef): New vignore constant.
4197 (consider_token, C_entries): Use it to tag global variables.
4198 (print_help): Update for global variables.
4199 (consider_token, C_entries): Set the len member of token_name.
4200 (prolog_pred): Cleanup according to GNU coding standards.
4201 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
4202 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
4203
4204 1997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4205
4206 * etags.c (CHARS, CHAR): New constant and macro.
4207 (iswhite, begtoken, intoken, endtoken): Use them.
4208 (notinname, _nin, nonam): New macro, array, string.
4209 (init): Cleanup and init _nin.
4210 (new_pfnote): New function.
4211 (make_C_tag) [traditional_tag_style]: Use it.
4212 (traditional_tag_style): Constant set to TRUE for now.
4213
4214 1997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4215
4216 * etags.c (C_entries, Pascal_functions): Cleanup.
4217 (TeX_functions): NULL as a function arg needs a cast.
4218 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
4219
4220 1997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4221
4222 * etags.c (TeX_functions): Cleaned up.
4223 (tex_getit): Removed.
4224
4225 1997-05-13 Paul Eggert <eggert@twinsun.com>
4226
4227 * rcs2log (files): When computing arguments automatically, ignore
4228 non-files within the RCS subdirectory.
4229
4230 1997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4231
4232 * etags.c (C_JAVA): New #define.
4233 (Cjava_suffixes): .java is Java.
4234 (Cjava_entries): New function.
4235 (lang_names): Add Java.
4236 (sym_type): Add st_C_javastruct for Java.
4237 (C_stab_entry): Add `extends' and `implements' keywords.
4238 (consider_token, C_entries): Recognise Java structures.
4239
4240 1997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4241
4242 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
4243 (Postscript_suffixes): .ps is Postscript.
4244 (lang_names): Add Postscript.
4245 (Postscript_functions): New function.
4246 (TEX_decode_env): Close minor memory leak.
4247 (just_read_file): Correct the char number of the tag.
4248
4249 1997-05-11 Paul Eggert <eggert@twinsun.com>
4250
4251 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
4252 Don't prepend $nl since this causes some shells to generate the
4253 empty string when IFS is $nl.
4254 (printlogline): Use SOH (octal code 1), not CR, since some
4255 PC-based shells mishandle CR.
4256 (initialize_fullname): Set NIS_PATH to the empty string before invoking
4257 nismatch, in case it's set to some nonstandard value.
4258
4259 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4260
4261 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
4262 read in separate blocks.
4263
4264 1997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4265
4266 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
4267 (struct linebuffer): New member `len' is the length of the string.
4268 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
4269 Use it instead of strlen.
4270 (TEX_getit): Declare and define unconditionally as static.
4271 (TeX_functions): Use if instead of #if TeX_named_tokens.
4272 (add_regex): Set RE_INTERVALS flag for regex compilation.
4273 (substitute): Code cleanup.
4274 (readline_internal): Code cleanup, set new member `len'.
4275 (readline): Bug corrected.
4276
4277 1997-04-23 Geoff Voelker <voelker@cs.washington.edu>
4278
4279 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
4280 (obj): Change references of nt*.c files to w32*.c files.
4281
4282 1997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4283
4284 * etags.c (xnew): Add support for debugging with chkmalloc.
4285 (error): Use this instead of printf whenever possible.
4286 (main): Only call xnew after having initialised progname.
4287 (substitute): Bad memory corruption error corrected.
4288
4289 1997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4290
4291 * etags.c (add_regex): Undo previous change.
4292 (relative_filename): Small memory leak closed.
4293 (absolute_filename): Cleaned up the code, possibly closing a bug.
4294 (absolute_dirname): Always return a newly allocated string.
4295
4296 1997-03-21 Paul Eggert <eggert@twinsun.com>
4297
4298 * rcs2log (files): Ignore files in RCS directory whose names are
4299 of the form ,*, or *_; they are probably RCS lock files.
4300 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
4301 they are used by rcsfreeze.
4302
4303 1997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4304
4305 * etags.c (add_regex): Reset *putbuf before using it.
4306
4307 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4308
4309 * movemail.c (popmail): Remove some unnecessary function
4310 declarations.
4311 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
4312 into pop_retr, there's no reason to pass in mbx_write, and the
4313 file argument can be declared FILE * explicitly. This fixes a
4314 compilation problem on systems with 64-bit pointers.
4315
4316 1997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4317
4318 * movemail.c: Delete duplicate inclusion of fcntl.h
4319 and duplicate #undefs of open, read, write, close.
4320
4321 1997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4322
4323 * movemail.c (main): Do not display "[POP-password]" in the usage
4324 message when movemail is compiled without POP support.
4325 (main, popmail): Add the optional "-p" argument, which causes
4326 movemail to leave mail in the inbox after copying it into the
4327 output file.
4328
4329 * Makefile.in (movemail): Link with getopt.
4330
4331 1997-01-20 Paul Eggert <eggert@twinsun.com>
4332
4333 * rcs2log (--help, --version): New options, per GNU coding standards.
4334 (Copyright, Help, Id): New variables, for above.
4335 (rlog): Use -q option with cvs log, to avoid useless chatter.
4336
4337 Treat logs of "Initial revision" (RCS) or "file F was initially added
4338 on branch B." (CVS) as if they said "New file.", for consistency with
4339 change log entries.
4340
4341 1997-01-01 Paul Eggert <eggert@twinsun.com>
4342
4343 * vcdiff (PATH): Add /usr/xpg4/bin,
4344 where XPG4 SCCS hangs out in Solaris 2.5.
4345 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
4346
4347 1996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4348
4349 * etags.c (streq, strneq): Use == NULL rather than !.
4350
4351 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
4352
4353 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
4354 (movemail): Use LIBMAIL, to link against -lmail.
4355
4356 * movemail.c: Include maillock.h (conditionally).
4357 Remove a redundant inclusion of <stdio.h>.
4358 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
4359 (main): Add variable spool_name.
4360 Support the usage of maillock and mailunlock to
4361 lock and unlock mailboxes.
4362 (mail_spool_name): New function.
4363
4364 * movemail.c: Fix an uninitialized variable which could cause
4365 movemail to exit with an error status incorrectly on systems which
4366 use lock files rather than a system locking function to lock
4367 mailboxes.
4368
4369 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4370
4371 * pop.c (socket_connection): Free realhost after using it.
4372
4373 1996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4374
4375 * etags.c (C_entries): Test tok.valid. This handles some
4376 particular cases involving function declarations that failed.
4377
4378 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
4379
4380 * pop.c (socket_connection):
4381 gethostbyname may return a pointer to static data.
4382 krb_realmofhost can clobber it. So copy it.
4383
4384 1996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4385
4386 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
4387 must cast it to (char *) because we have no prototypes.
4388 (make_C_tag): Macro deleted, new function.
4389 (C_entries): Calls to make_C_tag macro changed to call function.
4390
4391 1996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4392
4393 * etags.c (grow_linebuffer): New function.
4394 (GROW_LINEBUFFER): Macro deleted. All callers changed.
4395 (make_tag): Macro renamed to make_C_tag. All callers changed.
4396 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
4397 (Prolog_functions): prolog_skip_comment was called with wrong
4398 number of arguments.
4399 (xrealloc): fatal was called with wrong number of arguments.
4400
4401 1996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4402
4403 * etags.c (relative_filename): Bug corrected.
4404 (etags_getcwd): Avoid warning of unused variable.
4405 (C_entries, consider_token): Added support for enum labels.
4406
4407 1996-11-03 Paul Eggert <eggert@twinsun.com>
4408
4409 * rcs2log: When processing cvs log output, remove `Attic/' from
4410 repository file names.
4411
4412 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
4413
4414 * emacsserver.c: Fix 1996-09-02 change.
4415
4416 1996-10-12 Paul Eggert <eggert@twinsun.com>
4417
4418 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
4419 option', since CVS says 'invalid option'.
4420 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
4421 revisions, since some hosts reject 1970-01-01 when east of UTC.
4422 (date): Remove.
4423
4424 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4425
4426 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
4427
4428 1996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4429
4430 * etags.c (print_version): Print copyright info.
4431
4432 * etags.c (print_help): Print the bug reporting address.
4433 (main): Use return as the last instruction, instead of exit.
4434
4435 * etags.c (main): Don't open the tags file in cxref mode.
4436
4437 1996-09-29 Dave Love <d.love@dl.ac.uk>
4438
4439 * rcs2log (date): Make default format acceptable to CVS post v1.8
4440 as well as earlier CVSs and RCS.
4441
4442 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4443
4444 * movemail.c (main): If the lock call fails with EBUSY or
4445 EAGAIN, retry a few times.
4446
4447 1996-09-25 Paul Eggert <eggert@twinsun.com>
4448
4449 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
4450 whether to append -zLT.
4451
4452 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4453
4454 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
4455 * emacsclient.c, movemail.c: Likewise.
4456
4457 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4458
4459 * emacsclient.c (longopts): Change nowait to no-wait.
4460 (print_help_and_exit): Fix option name; upcase metavars.
4461
4462 1996-09-06 Erik Naggum <erik@naggum.no>
4463
4464 * emacsserver.c (main): Declare `fromlen' as size_t.
4465
4466 1996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4467
4468 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
4469
4470 1996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4471
4472 * emacsclient.c (quote_file_name): Quote with &, not \.
4473 Quote `-' only at start of file name. Terminate the value string.
4474
4475 * emacsserver.c: Include signal.h properly;
4476 delete the duplicate includes for it.
4477
4478 * emacsserver.c: On fatal signal, delete socket-file:
4479 * emacsserver.c: Include signal.h.
4480 (xmalloc, fatal, error): New functions.
4481 (delete_socket, handle_signals): New functions.
4482 (progname, socket_name): New variables.
4483 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
4484
4485 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4486
4487 * emacsclient.c (quote_file_name): New function.
4488 (main, both versions): Use quote_file_name.
4489 (decode_options): Don't return a value.
4490 (main, both versions): Use optind.
4491 Don't check for -nowait here.
4492
4493 * emacsclient.c (decode_options): New function.
4494 (main, both versions): Call decode_options.
4495 (print_help_and_exit): New function.
4496 (VERSION): New macro.
4497
4498 * Makefile.in (emacsclient): Link with getopt.
4499 Add -DVERSION so emacsclient knows its version number.
4500
4501 1996-08-31 Geoff Voelker <voelker@cs.washington.edu>
4502
4503 * makefile.nt (lisp): Include dos-nt.elc.
4504
4505 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4506
4507 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
4508
4509 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4510
4511 * emacsclient.c (both versions): Handle -nowait and --nowait
4512 by sending data to the server.
4513
4514 1996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4515
4516 * Makefile.in (INSTALL_STRIP): New variable.
4517 (${archlibdir}): Use INSTALL_STRIP.
4518
4519 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
4520 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
4521
4522 * pop.c: Reverse conditional in previous change.
4523
4524 1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4525
4526 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
4527
4528 1996-08-24 Paul Eggert <eggert@twinsun.com>
4529
4530 * rcs2log: Use ISO 8601 date format, with time zone appended
4531 if change-log-time-zone-rule is non-nil, instead of
4532 traditional Unix date format.
4533
4534 (datearg): When computing default from ChangeLog, handle ISO format
4535 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
4536 Don't worry about hh:mm:ss since the resolution is now by day.
4537 Use empty datearg, not empty rlog_options, to decide whether to pass
4538 "$datearg" option to $rlog.
4539 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
4540 (month_data): Remove `mo'; no longer needed.
4541 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
4542
4543 Match `revision' line of rlog output more accurately.
4544
4545 Add -c, -v options.
4546
4547 1996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
4548
4549 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
4550
4551 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4552
4553 * Version 19.33 released.
4554
4555 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4556
4557 * Version 19.32 released.
4558
4559 1996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
4560
4561 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
4562 computing character positions in source files.
4563
4564 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
4565
4566 * makefile.nt (clean): Use OBJDIR macro.
4567
4568 1996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4569
4570 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
4571
4572 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
4573
4574 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
4575 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
4576 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
4577
4578 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
4579
4580 * ntlib.h: Correct return type of getwd.
4581 * ntlib.c (getwd): Correct return type.
4582
4583 1996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4584
4585 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
4586 to infile.
4587
4588 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
4589
4590 * makefile.nt: Remove all references to wakeup.
4591
4592 1996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4593
4594 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
4595 explicit, mutable, typename.
4596
4597 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4598
4599 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
4600 streams, one for sending and one for reading the reply.
4601
4602 1996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4603
4604 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
4605 (wakeup): Target deleted.
4606 (UTILITIES): Delete wakeup and timer.
4607
4608 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
4609
4610 1996-06-11 Geoff Voelker <voelker@cs.washington.edu>
4611
4612 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
4613 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
4614
4615 1996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4616
4617 * etags.c (main): Copy cwd when appending slash.
4618
4619 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
4620
4621 * Version 19.31 released.
4622
4623 1996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4624
4625 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
4626 (Pascal_functions): Increase linecharno by the correct number of
4627 chars, inline the GET_NEW_LINE macro and delete its definition.
4628
4629 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
4630
4631 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
4632
4633 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
4634
4635 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
4636 (movemail.exe, fakemail.exe): Now built under Win32.o.
4637
4638 * ntlib.c: Include ntlib.h.
4639 (nt_sleep): Rename to sleep.
4640 (getwd): Return directory.
4641 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
4642 sys_ctime, sys_fopen): New functions.
4643
4644 * ntlib.h: New file.
4645
4646 1996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4647
4648 * pop.c (SEND, RECV): Renamed from send, recv.
4649 (pop_open, pop_trash): Make the trash_started code unconditional.
4650 (socket_connection): Delete casts to void.
4651
4652 1996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4653
4654 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
4655 copied from lisp.h.
4656
4657 1996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
4658
4659 * fakemail.c [WINDOWSNT]: Include ntlib.h.
4660
4661 * hexl.c [DOSNT]: Include fcntl.h.
4662 [WINDOWSNT]: Include io.h.
4663 (main) [MSDOS]: Change conditional to DOS_NT.
4664
4665 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
4666 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
4667 [WINDOWSNT]: Include locking.h.
4668 (main): Update usage message. Use IS_DIRECTORY_SEP.
4669 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
4670 (main) [WINDOWSNT]: Invoke locking instead of flock.
4671 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
4672 (main) [MAIL_USE_POP]: Pass password to popmail if used.
4673 Include winsock.h; don't include unix inet headers.
4674 (popmail): Add password argument and pass it to pop_open.
4675 Open output file in binary mode.
4676
4677 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
4678 Macro SOCKET_ERROR undefined.
4679 Don't declare h_errno.
4680 [!WINDOWSNT]: Define macros recv and send.
4681 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
4682 (pop_open) [WINDOWSNT]: Initialize trash_started.
4683 (have_winsock) [WINDOWSNT]: New variable.
4684 (socket_connection) [WINDOWSNT]: Initialize winsock.
4685 (socket_connection): Use closesocket instead of close.
4686 (getline): Use recv instead of read.
4687 (fullwrite): Use send instead of write.
4688 (pop_trash): Use closesocket instead of close.
4689 (pop_trash) [WINDOWSNT]: Cleanup winsock.
4690 Check if being called recursively by sendline.
4691
4692 * pop.h (struct _popserver): New field trash_started.
4693
4694 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
4695
4696 1996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4697
4698 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
4699
4700 1996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4701
4702 * etags.c [WINDOWSNT]: Include io.h.
4703
4704 1996-04-10 Geoff Voelker <voelker@cs.washington.edu>
4705
4706 * makefile.nt (CTAGSOBJ): Compile with regexp support.
4707
4708 1996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
4709
4710 * hexl.c [DJGPP v2]: Include io.h.
4711 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
4712
4713 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
4714 DJGPP v2.
4715
4716 1996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4717
4718 * etags.c (absolute_filename): Use absolutefn.
4719
4720 1996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
4721
4722 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
4723 letter isn't an alphabetic character.
4724 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
4725 (process_file) [DOS_NT]: Convert all slashes to forward style.
4726 (absolute_filename) [DOS_NT]: Emit error message for relative
4727 paths with a drive letter.
4728 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
4729 DOS/NT drive letters which try to reference the parent of the root.
4730 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
4731
4732 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
4733
4734 * makefile.nt: Change uses of del to $(DEL).
4735
4736 1996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4737
4738 * etags.c (just_read_file): Reset lineno and charno on entry.
4739
4740 1996-03-15 Anders Lindgren <andersl@csd.uu.se>
4741
4742 * etags.c: Prolog language totaly rewritten.
4743 (Prolog_functions): Rewritten from scratch.
4744 (skip_comment, prolog_getit): Removed.
4745 (prolog_skip_comment): New function, like old skip_comment.
4746 (prolog_pred, prolog_atom, prolog_white): New functions.
4747 (erlang_func, erlang_attributes): Forward declarations added.
4748 (erlang_atom): Check if backslash ends line inside quoted atom.
4749
4750 1996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4751
4752 * etags.c (absolutefn): DOS_NT version corrected.
4753 (main): Append "/" to the dir name only if not already there.
4754 (print_help): Explain the absolute/relative file name issue.
4755
4756 1996-03-08 Anders Lindgren <andersl@csd.uu.se>
4757
4758 * etags.c: New Language Erlang added.
4759 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
4760 (erlang_white): New functions.
4761 (Erlang_suffixes): New suffix list.
4762 (lang_names): Erlang entry added.
4763 (prolog_getit): Accepts headers spanning several lines.
4764 Always name tags.
4765 (Prolog_functions): Removed incorrect compensation for
4766 newline characters.
4767 (readline_internal): Zero-terminate last line.
4768
4769 1996-03-20 Mike Long <mike.long@analog.com>
4770
4771 * b2m.c (main): Initialize progname variable before using it.
4772 Quote `username' in From_ header.
4773
4774 1996-03-18 Geoff Voelker <voelker@cs.washington.edu>
4775
4776 * ntlib.c (getpid): New function.
4777
4778 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4779
4780 * emacsclient.c (main, both definitions):
4781 Print a newline for normal termination.
4782
4783 1996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
4784
4785 * tcp.c (main): Convert port to network byte order.
4786
4787 1996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
4788
4789 * pop.c (pop_retrieve, getline): Avoid type clashes.
4790
4791 1996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
4792
4793 * etags.c (enum sym_type, anonymous enum): Delete final comma.
4794
4795 1996-01-15 Paul Eggert <eggert@twinsun.com>
4796
4797 * rcs2log (initialize_fullname): Add support for NIS+.
4798 (hostname): Fully qualify the default hostname with the domainname
4799 if the hostname lacks a `.'.
4800
4801 1996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
4802
4803 * etags.c (consider_token): Fix typo in expression.
4804
4805 1996-01-04 Paul Eggert <eggert@twinsun.com>
4806
4807 * etags.c (substitute): Fix spelling in message.
4808
4809 1996-01-03 George V. Reilly <georger@microcrafts.com>
4810
4811 * makefile.nt (etags, ctags): Compile with regexp support.
4812 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
4813 subdirectory exists before compiling.
4814
4815 1996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
4816
4817 * emacsserver.c (main): Do chmod based on existing permission.
4818
4819 1995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4820
4821 * Makefile.in (install): Turn on read/execute permission.
4822
4823 1995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4824
4825 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
4826 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
4827
4828 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4829
4830 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
4831
4832 1995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
4833
4834 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
4835 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
4836 get_scheme, prolog_getit): Name the tag in ctags mode.
4837 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
4838 (Perl_interpreters): Accept "@PERL@" as an interpreter.
4839 (suggest_asking_for_help): New function.
4840 (main, get_language_from_name): Use suggest_asking_for_help.
4841 (main): Let get_language_from_name make language existence check.
4842 (streq, strneq): Check the arguments #if DEBUG.
4843
4844 1995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
4845
4846 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
4847 (gperf): Added keywords for Objective C and GNU macros.
4848 (sym_type): Added values to account for Objective C and GNU macros.
4849 (begtk): The '@' character can start a token.
4850 (objdef, methodlen, objtag): New variables for Objective C.
4851 (consider_token, C_entries): Added code for Objective C.
4852 (plain_C_suffixes): Add .m and .lm for Objective C.
4853 (Yacc_suffixes): Add .ym for Objective yacc.
4854 (GROW_LINEBUFFER): New macro.
4855 (consider_token, C_entries, Pascal_functions): Use the new macro.
4856 (consider_token): Take one more argument. Caller changed.
4857 (consider_token): Use the hashing function to spot GNU macros.
4858 (C_entries): Consider // as a comment start even in plain C for
4859 the sake of Objective C parsing.
4860
4861 1995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
4862
4863 * Makefile.in (ctags): Depend on etags only for simplicity;
4864 compile with regexp support enabled.
4865
4866 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4867
4868 * Version 19.30 released.
4869
4870 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
4871
4872 * makefile.nt (DOC, clean): Don't use switches to del not
4873 supported by Windows 95.
4874
4875 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4876
4877 * Makefile.in (regex.o): Depend on ../src/config.h.
4878
4879 1995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4880
4881 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
4882 (LOADLIBES): Use LIB_STANDARD.
4883
4884 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
4885
4886 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
4887 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
4888 Windows 95 conditional.
4889
4890 1995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
4891
4892 * etags.c (get_lang_from_name, get_lang_from_interpreter,
4893 get_lang_from_suffix): New functions.
4894 (get_language): Function deleted.
4895 (lang_entry): Two members added to struct.
4896 (lang_names): Reflect the new layout of lang_entry.
4897 (print_language_names, main, find_entries): Use the new functions.
4898 (find_entries): Look at the first line for #! if no language.
4899 (C_entries): Invalidate the token when funcdef is reset.
4900 (Perl_functions): New function.
4901 (lang_suffixes): .pl and .pm are Perl suffixes.
4902
4903 1995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
4904
4905 * etags.c (lowcase): Use the standard tolower function.
4906 (substitute): Remove some wrong and some useless code related with
4907 escape '\' character in regexp replacement string.
4908 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
4909 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
4910 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
4911 .prolog for prolog (.pl removed).
4912 (massage_name, etags_getcwd): Use lowcase instead of tolower.
4913 (C_entries, find_entries): Added comments about memory leakage.
4914 (add_node): Dead code removed.
4915
4916 1995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4917
4918 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
4919 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
4920
4921 1995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4922
4923 * test-distrib.c: Add #undef for open, close, read, write.
4924
4925 1995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4926
4927 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
4928 [! O_RDONLY]: Define it to zero.
4929 (main): Use O_RDONLY instead of explicit zero.
4930
4931 1995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
4932
4933 * etags.c (Pascal_functions): Close comment bug corrected.
4934 (add_node): Correctly compare node file names.
4935 (Pascal_functions): Correctly allocate and free memory for tline.
4936 (pfnote): Put the definition of fp in the innermost block.
4937 (NODE): `named' member removed.
4938 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
4939 use the `named' member, check whether `name' is NULL instead.
4940 (pfnote): `named' argument removed, all callers changed.
4941 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4942 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
4943 removed from pfnote call, some code cleanup.
4944 (relative_filename): Free temporary space allocated by concat.
4945
4946 1995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4947
4948 * Makefile.in (getdate.c): New target.
4949 (getdate.o): Just compile getdate.c.
4950
4951 1995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
4952
4953 * fakemail.c (xrealloc): Change cast to match return type.
4954
4955 1995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4956
4957 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
4958
4959 1995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4960
4961 * movemail.c (main): Fix previous change.
4962 Add error check for empty OUTNAME.
4963
4964 1995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4965
4966 * movemail.c (main): Mention lock file name in error message.
4967
4968 1995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4969
4970 * profile.c (gettimeofday): New function, defined if necessary.
4971
4972 1995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4973
4974 * Makefile.in: Renamed from Makefile.in.in.
4975 (distclean): Delete Makefile.c, not Makefile.in.
4976
4977 1995-07-17 Michael Shields <shields@tembel.org>
4978
4979 * Makefile.in.in (tags): Synonym for `TAGS'.
4980
4981 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4982
4983 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
4984 configure has already set $(INSTALL) to the proper relative path.
4985
4986 1995-07-08 Paul Eggert <eggert@twinsun.com>
4987
4988 * rcs2log (datearg): Separate date from time with comma, not space,
4989 to work around CVS 1.5 bug.
4990 (CVSROOT): Don't abort when unset if repository is absolute.
4991
4992 1995-07-07 Paul Eggert <eggert@twinsun.com>
4993
4994 * rcs-checkin, rcs2log, vcdiff:
4995 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
4996 that interpret `#! /' as a 4-byte magic number.
4997
4998 1995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
4999
5000 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
5001 mailbox with "po:mailbox", the mailbox is everything after the
5002 "po:" prefix.
5003
5004 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5005
5006 * emacsserver.c: Make all error messages start with `Error: '.
5007 (fatal_error, perror_1): New functions, use throughout.
5008
5009 1995-06-28 Paul Eggert <eggert@twinsun.com>
5010
5011 * rcs2log (CVSROOT, repository):
5012 Allow remote repositories a la CVS 1.4.
5013
5014 1995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
5015
5016 * etags.c (plain_C_entries): New function.
5017 (lowcase): New macro.
5018 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
5019 (lang_suffixes): New suffix ".pc" for Pro*C files.
5020 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
5021 (tail): Look for the end of the token when comparing.
5022 (takeprec): Since now tail behaves differently, use strneq.
5023
5024 1995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5025
5026 * movemail.c (main): Add newline in usage message.
5027
5028 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5029
5030 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
5031
5032 1995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
5033
5034 * etags.c (find_entries): Rewind before rereading the input file.
5035
5036 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5037
5038 * Version 19.29 released.
5039
5040 * make-docfile.c (main) [MSDOS]: Do set _fmode.
5041 This undoes part of the previous change.
5042
5043 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5044
5045 * make-docfile.c (main): On MSDOS, don't change stdout
5046 to binary, and insist on an -o option.
5047
5048 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
5049
5050 * etags.c (process_file,absolute_filename): Handle filenames
5051 starting with a drive letter.
5052
5053 * makefile.nt (install): Copy wakeup.exe properly.
5054
5055 1995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
5056
5057 * make-docfile.c [MSDOS]: #undef chdir.
5058
5059 1995-06-04 Paul Eggert <eggert@twinsun.com>
5060
5061 * rcs2log (output_authors): Allow ':' in time zone,
5062 as per ISO 8601 and RCS 5.6.8 beta.
5063
5064 1995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
5065
5066 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
5067 compatibility problems.
5068
5069 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
5070
5071 * etags.c (etags_getcwd): Don't use #elif.
5072 Have just one function body.
5073
5074 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
5075
5076 * makefile.nt (LIBS): Use BASE_LIBS.
5077 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
5078 upon LIBS.
5079 (DOC): Use del instead of rm.
5080 (DOC) [WINDOWS95]: Use DOC.
5081 (clean): Handle MSVC aux files.
5082 (config.h,paths.h): Use $(CP) instead of cp.
5083 (config.h): Use $(CONFIG_H)
5084 (make-docfile.obj): Depend upon config.h.
5085 Clean up comments.
5086
5087 1995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
5088
5089 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
5090 former gives the true path even in the presence of simlinks.
5091
5092 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5093
5094 * movemail.c (main): Increase lock timeout to five minutes.
5095
5096 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
5097
5098 * makefile.nt (obj): Use .c files.
5099
5100 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5101
5102 * make-docfile.c: Include config.h.
5103 (NO_SHORTNAMES): New definition.
5104 (xmalloc): Return long *.
5105
5106 * etags.c (C_entries): Cast result of xrealloc.
5107 (xmalloc, xrealloc): Declare them to return long *.
5108
5109 * b2m.c (xmalloc, xrealloc): Declare them long *.
5110
5111 * movemail.c (xmalloc): Declare it to return long *.
5112
5113 1995-04-30 Paul Eggert <eggert@twinsun.com>
5114
5115 * rcs2log (datearg): If rlog options are specified explicitly,
5116 omit the implicit '-d>DATE' option.
5117 (repository, rlog): Allow absolute paths to CVS repositories.
5118 Look only at the first line of CVS/Repository.
5119
5120 1995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
5121
5122 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
5123 realclean.
5124
5125 1995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5126
5127 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
5128 Alternative (empty) definitions.
5129
5130 1995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5131
5132 * emacsclient.c (main): Add argv[0] to an error message.
5133
5134 1995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
5135
5136 * emacsclient.c (main): Improve error handling.
5137 * cvtmail.c (main, skip_to_lf): Improve error handling.
5138 (sysfail): New function.
5139
5140 * b2m.c (main): Check for trailing ", " before trying to delete it.
5141
5142 1995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5143
5144 * Makefile.in.in (all): Build test-distrib and make-docfile.
5145
5146 * make-docfile.c (scan_c_file): At end, restore file name last char
5147 to its original value.
5148
5149 1995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5150
5151 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
5152
5153 1995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5154
5155 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
5156 (alloca.o, regex.o): Use BASE_CFLAGS.
5157
5158 1995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5159
5160 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
5161
5162 1995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
5163
5164 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
5165 (SOURCES, distclean): Removed obsolete references to aixcc.
5166
5167 1995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5168
5169 * aixcc.lex: File deleted--surely obsolete now.
5170
5171 1995-03-23 Paul Eggert <eggert@twinsun.com>
5172
5173 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
5174 portability to mawk and nawk.
5175
5176 1995-03-21 Paul Eggert <eggert@twinsun.com>
5177
5178 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
5179 -u "login<tab>fullname<tab>mailaddr".
5180
5181 1995-03-21 Paul Eggert <eggert@twinsun.com>
5182
5183 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
5184 replaces the (now obsolescent) -n login fullname mailaddr option.
5185 Add -R option for recursive rlog.
5186 (AWK): New environment variable (default `awk') for awk program name.
5187 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
5188 Quote authors and fullnames correctly.
5189 Don't omit path from repository root when logging CVS files.
5190
5191 1995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5192
5193 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
5194 even if HAVE_SYSVIPC.
5195 * emacsclient.c (main): Use getcwd if not BSD.
5196
5197 1995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
5198
5199 * etags.c (process_file): Free (filename) after using it.
5200 (readline_internal): Do not access the char before start of line.
5201
5202 1995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
5203
5204 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
5205 savetok.valid. Mark token as valid when it is initialised.
5206 (make_tag): Make token only if token is valid and reset validity.
5207 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
5208 (TOKEN): Added a new member: valid.
5209
5210 1995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
5211
5212 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
5213 (main): Do not read twice the last filename in the stdin file list.
5214
5215 1995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
5216
5217 * etags.c (C_entries): Initialise the new members of TOKEN.
5218 (C_entries): Do not allocate a new space for each token found by
5219 consider_token. Let make_tag do that instead.
5220 (make_tag): Since now TOKEN has memory of where it is taken from,
5221 this new macro substitutes both make_tag_from_new_lb and
5222 make_tag_from_oth_lb. All callers changed.
5223 (TOKEN): Add linepos and buffer members.
5224 (main): Initialise token_str.
5225 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
5226 (token_str): New global variable used by C_entries.
5227
5228 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
5229
5230 * Makefile.in.in (maintainer-clean): Renamed from realclean.
5231
5232 1995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
5233
5234 * etags.c (pfnote): Initialise been_warned in the node.
5235 (C_entries): Removed a speed hack for the sake of clarity.
5236
5237 1995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
5238
5239 * etags.c (longopts, print_help, main): Use -I as abbreviation
5240 for the --ignore-indentation option.
5241 (main): Do not print an error message for unknown options.
5242
5243 1995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
5244
5245 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
5246 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
5247 (constantypedefs, update, vgrind_style, no_warnings)
5248 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
5249 (permit_duplicates): Was a var, now a #define.
5250 (filename_lb): Was global, now local to main.
5251 (main): Open the tag file when in cxref mode.
5252 Use a BUFSIZ size buffer for making the shell commands.
5253 Look at the return value from the system routine.
5254 Exit when cannot open the tag file.
5255 (process_file): Open the file and pass the FILE* to find_entries.
5256 (find_entries): Now void, because does not open the file itself.
5257 (pfnote): Recovering from lack of memory does not work. Removed.
5258 Use savenstr and simplify the code.
5259 (free_tree): Only free the name space if node is named.
5260 (structtag): Now a pointer, not a fixed length array of chars.
5261 (consider_token): Don't take a token as argument. Use savenstr
5262 when saving a tag in structtag. Callers changed.
5263 (TOKEN): Structure changed. Now used only in C_entries.
5264 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
5265 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
5266 (pfcnt): Deleted. Users updated.
5267 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
5268 (TEX_getit, prolog_getit): Use dinamic allocation for storing
5269 the tag instead of a fixed size buffer.
5270
5271 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5272
5273 * movemail.c (main): Skip past the colon in inname.
5274
5275 1995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
5276
5277 * etags.c (pfatal): New function.
5278 (main, etags_getcwd): Use pfatal.
5279 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
5280
5281 1995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
5282
5283 * etags.c (Lang_function): Use void instead to declare the
5284 language functions, because many compilers are buggy.
5285 (etags_getcwd): Fix the previous fix on the #else branch.
5286 (readline_internal): Discard possible \r before \n here.
5287 (C_entries): Do not deal with \r here: undo previous fix.
5288
5289 1995-01-09 Francesco Potortì (pot@fly)
5290
5291 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
5292 functions and a macro that allow the program to work on input
5293 lines of whatever length. Copied from etags.c.
5294 (fatal): Print a fatal error message and exit.
5295 (main): Use the new functions. Fixed a bug that made a \037 char
5296 appear at the end of the output.
5297
5298 1995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5299
5300 * etags.c (C_entries): Ignore carriage return at end of line.
5301
5302 1994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5303
5304 * fakemail.c (xmalloc, xrealloc): Add casts.
5305 (add_field): Handle <...> and "..." syntax.
5306 (setup_files, get_keyword): Clean up parens and line breaks.
5307 (args_size): Likewise.
5308
5309 1994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
5310
5311 * yow.c: Include program name in error messages.
5312
5313 1994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5314
5315 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
5316 (xmalloc, fatal, error): New functions.
5317 (progname): New variable.
5318 (main): Set progname.
5319
5320 1994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5321
5322 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
5323 (main): If socket/mqueue name is in home dir, add in the host name.
5324 Rename .emacs_server to .emacs-server....
5325
5326 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5327
5328 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
5329
5330 1994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
5331
5332 * etags.c (print_help): Print --regex usage for ctags also.
5333 (main): Use -h in addition to -H as abbreviation for --help.
5334
5335 1994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
5336
5337 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
5338 is compiled if this is defined. The new functions and variables
5339 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
5340 [VMS]: All VMS specific code previously contained in
5341 etags-vmslib.c is now included here, modified for dealing with
5342 language and regex options intermixed with filenames.
5343 (header_file): Global variable deleted.
5344 (Lang_Function): New typedef. All language parser functions
5345 changed to this new type.
5346 (string_numeric_p, substr, prestr): Functions deleted.
5347 (readline_internal): Does the job that readline did previously.
5348 (longopts): --language and --regex options added.
5349 (lang_names, lang_extensions, lang_func, print_language_names):
5350 New structures, variables and functions for choosing languages.
5351 (print_help): Help strings updated. Calls print_language_names.
5352 (argument_type, ARGUMENT): Typedefs for dealing with language and
5353 regex options intermixed with filenames.
5354 (main): Changed the way of dealing with arguments on the command
5355 line to deal with language and regex options intermixed with
5356 filenames.
5357 (get_language, default_C_entries, Cplusplus_entries,
5358 Cstar_entries, Yacc_entries, just_read_file): New functions.
5359 (find_entries): Use the new method for choosing the language.
5360 (Pascal_functions): Allow intermixing of comment styles.
5361 (prolog_getit, skip_comment): Rewritten for speed.
5362 (readline): Rewritten to deal with regexps.
5363
5364 1994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
5365
5366 * etags.c (<errno.h>): #include added.
5367 (etags_getcwd): Check return value from getcwd.
5368
5369 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5370
5371 * profile.c (TV1, TV2): Use EMACS_TIME as type.
5372 (get_time): Use EMACS_SUB_TIME.
5373
5374 1994-10-30 Geoff Voelker <voelker@cs.washington.edu>
5375
5376 * ntlib.c: New file.
5377 * makefile.nt: New file.
5378
5379 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
5380 [WINDOWSNT]: Include the NT headers.
5381 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
5382
5383 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
5384 [WINDOWSNT]: Include some NT headers.
5385
5386 1994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
5387
5388 * pop.c (getline): When a search of already-read input for CRLF
5389 fails, store the fact that we've searched it and don't search it
5390 again after reading more data.
5391
5392 * pop.c (getline): When determining whether or not it's necessary
5393 to grow the input buffer, take into account the null that's stored
5394 at the end of already-read input in the buffer.
5395
5396 1994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
5397
5398 * etags.c (prestr, substr): Return a logical type.
5399 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
5400 (consider_token): Set funcdef to fignore when a DEFUN is met.
5401 (C_entries): Now we can use Tom Hageman patch for extern "C".
5402
5403 1994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5404
5405 * movemail.c: PopServer renamed to popserver throughout.
5406
5407 1994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5408
5409 * etags.c: Don't declare malloc, since we include config.h.
5410 * fakemail.c: Likewise.
5411
5412 1994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5413
5414 * movemail.c: Don't declare malloc.
5415
5416 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5417
5418 * rcs-checkin: Use test -r instead of < to check readability, to
5419 avoid syntax error.
5420
5421 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
5422
5423 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
5424 defined, and if HAVE_CONFIG_H isn't defined, define
5425 MAIL_USE_POP always (so that this file can be included in
5426 other programs besides emacs).
5427
5428 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
5429 HAVE_CONFIG_H isn't defined.
5430
5431 * pop.c (find_crlf, getline): Instead of using strstr, use a
5432 custom function for finding CRLF.
5433 (my_strstr): Function deleted.
5434
5435 1994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
5436
5437 * pop.c (getline): Fix a segfault because of passing a
5438 non-null-terminated string into strstr(). Fix from
5439 djm@va.pubnix.com (David J. MacKenzie).
5440
5441 * pop.c: Don't include <string.h> and <strings.h>.
5442
5443 * pop.c: Include <des.h> before <krb.h>, rather than after. They
5444 should be interchangeable, and indeed the inclusion is done in
5445 both orders in various files in the Kerberos 4 library sources,
5446 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
5447 requires that <des.h> be included first, and I don't see any harm
5448 in changing the order.
5449
5450 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
5451 STDC_HEADERS, if they're defined. Undef open, read, write and
5452 close after including it.
5453
5454 1994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5455
5456 * pop.c: Fix mismatch in conditionals.
5457
5458 * make-docfile.c (main): Don't process one input file twice.
5459 Never use exit code > 1.
5460
5461 * pop.c (open, close, read, write): Add #undefs.
5462
5463 * pop.c: Don't declare malloc, realloc, free.
5464 Include ../src/config.h.
5465 Don't include string.h or strings.h.
5466 Include des.h before krb.h.
5467 Do declare my_strstr.
5468 (getline): Really use my_strstr.
5469 Leave one empty place in server->buffer,
5470 and put a null at the end of the data in it.
5471
5472 1994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5473
5474 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
5475 call kill with pid 0. Handle EINTR when receiving messages.
5476
5477 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
5478
5479 * Makefile.in.in (regex.o): Use full path to find regex.c.
5480
5481 1994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
5482
5483 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
5484 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
5485
5486 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
5487
5488 * Makefile.in.in (DONT_INSTALL): Remove make-path.
5489 (${archlibdir}): Use mkinstalldirs instead.
5490
5491 * movemail.c: Make functions that return nothing void, not
5492 implicitly int.
5493 (main): Improve usage message.
5494 (error): Write to stderr, not stdout.
5495
5496 * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
5497 * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
5498 * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
5499 warnings from unused variables and implicitly declared functions.
5500
5501 1994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5502
5503 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
5504 (distclean): Not here.
5505
5506 * Makefile.in.in (libexecdir): Renamed from libdir.
5507
5508 1994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
5509
5510 * etags.c (C_entries): Name the #define's that are macros.
5511
5512 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5513
5514 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
5515 fd_set arg is a pointer, descriptor arg comes first.
5516
5517 1994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
5518
5519 * etags.c (C_entries): Recognise typedef of ANSI style functions.
5520 (C_entries): Recognise #define inside a struct.
5521 (C_entries): ANSI tells that preprocessor commands do not have to
5522 start on the first column.
5523 (print_help): Documentation corrected for -d and -D.
5524 (white, endtk): ANSI tells the vertical tab is a separator.
5525
5526 1994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
5527
5528 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
5529 (pop.o, movemail.o): New targets.
5530 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
5531
5532 * pop.c, pop.h: New files.
5533
5534 * movemail.c: Improve POP code, move most of it into a separate file.
5535 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
5536 (mbx_write): Check for errors and for From line.
5537 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
5538 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
5539 (pop_init): Functions deleted.
5540
5541 1994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
5542
5543 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
5544 Rename path to dirname.
5545
5546 1994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5547
5548 * Makefile.in.in (UTILITIES):
5549 Remove test-distrib, make-docfile, make-path.
5550 (DONT_INSTALL): New variable--list those files here.
5551 (clean): Delete the files in DONT_INSTALL.
5552
5553 1994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5554
5555 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
5556 (main): Use fgets, not gets.
5557
5558 1994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5559
5560 * timer.c: Don't declare malloc.
5561
5562 1994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5563
5564 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
5565 defined, use simple 32-bit versions of these macros.
5566 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
5567
5568 1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5569
5570 * etags.c (etags_getcwd): Use getcwd if available.
5571
5572 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5573
5574 * Version 19.27 released.
5575
5576 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5577
5578 * Version 19.26 released.
5579
5580 1994-08-15 Paul Eggert <eggert@twinsun.com>
5581
5582 * rcs2log: Add support for CVS.
5583 Work with `rlog's that output ISO 8601 dates.
5584
5585 1994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
5586
5587 * rcs2log: Use <> to delimit email address.
5588
5589 1994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5590
5591 * emacsserver.c [SYSV_IPC] (main): Make a separate process
5592 so we can listen for multiple requests.
5593
5594 1994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5595
5596 * movemail.c: Include config.h first thing.
5597
5598 1994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5599
5600 * emacsserver.c (main): Add casts to avoid warnings.
5601
5602 1994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5603
5604 * Makefile.in.in (${archlibdir}): Compare the proper dir
5605 before installing the scripts.
5606
5607 1994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5608
5609 * emacsclient.c (main): New local var progname saves argv[0].
5610
5611 1994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5612
5613 * emacsclient.c (main): Don't actually modify argv[0].
5614 Modify a copy instead.
5615
5616 1994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5617
5618 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
5619 (tzp): Var deleted.
5620
5621 * Makefile.in.in: Add #undef alloca.
5622
5623 1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5624
5625 * timer.c (xmalloc): New function.
5626
5627 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5628
5629 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
5630 (alloca.o): New target.
5631
5632 1994-07-08 Dave Love (d.love@dl.ac.uk)
5633
5634 * etags.c (takeprec): Recognise `character*(*) function'.
5635
5636 1994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
5637
5638 * etags.c (main): Don't barf on obsolete -t and -T switches.
5639 (main): Print an explicative message when a switch is not known.
5640
5641 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5642
5643 * hexl.c: Don't declare exit or perror.
5644
5645 * emacsserver.c (main): Don't declare geteuid.
5646 Don't declare getenv if convex.
5647
5648 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5649
5650 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
5651
5652 1994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
5653
5654 * etags.c (absolute_filename): Remove infinite loop bug when
5655 accessing files in directories whose name begins with a dot.
5656
5657 1994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
5658
5659 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
5660
5661 1994-06-01 Morten Welinder (terra@diku.dk)
5662
5663 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
5664 location of data directory.
5665
5666 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5667
5668 * Version 19.25 released.
5669
5670 1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5671
5672 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
5673
5674 1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5675
5676 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
5677
5678 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5679
5680 * Version 19.24 released.
5681
5682 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5683
5684 * make-docfile.c (write_c_args): Put `default' in upper case.
5685
5686 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5687
5688 * etags.c (etags_getcwd): Cast result of popen.
5689 (popen): Declaration deleted.
5690
5691 1994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
5692
5693 * etags.c [!MSDOS]: Declare popen.
5694
5695 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5696
5697 * b2m.c (main): Avoid crash if argc is 1.
5698
5699 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5700
5701 * Version 19.23 released.
5702
5703 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
5704
5705 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5706
5707 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
5708
5709 1994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5710
5711 * Makefile.in.in: Fix out of date comment.
5712
5713 1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5714
5715 * Makefile.in.in: Put in a separator for where to start cpp procssing.
5716 Move all autoconf substitutions above that point.
5717 Above that point, use Make-style comments.
5718 This goes with changes in ../configure.in.
5719
5720 1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5721
5722 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
5723 warning message.
5724 (${archlibdir}): Don't do it here. Don't depend on blessmail.
5725
5726 1994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
5727
5728 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
5729
5730 1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5731
5732 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
5733 print advice to run it, if it has anything significant to do.
5734 And only if MOVEMAIL_NEEDS_BLESSING.
5735 (blessmail): Use emacs, not temacs.
5736 (configuration): Renamed from configname.
5737
5738 1994-04-30 Morten Welinder (terra@diku.dk)
5739
5740 * etags.c (find_entries): Treat `*.cpp' as C++ files.
5741
5742 1994-04-30 Morten Welinder (terra@diku.dk)
5743
5744 * etags.c [MSDOS]: #include <sys/param.h> for the following.
5745 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
5746 a shell.
5747
5748 1994-04-29 Morten Welinder (terra@diku.dk)
5749
5750 * hexl.c [MSDOS]: Don't define proto type for exit.
5751
5752 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5753
5754 * b2m.c: Don't include string.h or strings.h.
5755
5756 1994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
5757
5758 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
5759 symbols, not make variables.
5760
5761 1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5762
5763 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
5764 * etags.c (print_version): Print VERSION as a string.
5765
5766 1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5767
5768 * fakemail.c (readline): Fix updating of p when buffer grows.
5769
5770 1994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
5771
5772 * Makefile.in.in (blessmail): New target.
5773 ${archlibdir}: Use blessmail when installing movemail.
5774
5775 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5776
5777 * fakemail.c (readline): When extending the buffer,
5778 calculate end afresh using the new size.
5779
5780 1994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
5781
5782 * etags.c (main, print_help): Eliminate the -F option.
5783
5784 1994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
5785
5786 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
5787
5788 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5789
5790 * Makefile.in.in: Renamed from Makefile.in.
5791 Makefile.in is now generated from it, and then preprocessed.
5792 Change comments to C syntax.
5793 Include config.h.
5794 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
5795 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
5796
5797 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5798
5799 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
5800
5801 1994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
5802
5803 * etags.c (etags_getcwd): Initialize bufsize.
5804
5805 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5806
5807 * profile.c (gettimeofday): If system doesn't have this, define it
5808 to give a fatal error.
5809
5810 1994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
5811
5812 * movemail.c (main): Use setuid, not seteuid.
5813
5814 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5815
5816 * etags.c: #undef static.
5817
5818 1994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
5819
5820 * etags.c (outf, outfiledir): Renamed to tagf, tagfiledir.
5821 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
5822 (Scheme_funcs, prolog_funcs): Renamed to Fortran_functions,
5823 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
5824 TeX_functions, Prolog_functions.
5825 (inf): No more a global variable.
5826 (C_entries): Take 2nd parameter `inf' instead of using the global one.
5827 (find_entries): Added the cp1 var for optimisation.
5828 (find_entries): Added more suffixes for assembler files.
5829 (Asm_funcs): Now finds labels even without an ending colon.
5830
5831 1994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
5832
5833 * etags.c (main): Use etags_getcwd for compatibility.
5834 (etags_getcwd): New function.
5835
5836 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5837
5838 * Makefile.in (etags, ctags): Pass -D for VERSION.
5839
5840 1994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
5841
5842 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
5843 (main): Don't allow the use of -t and -T in etags mode.
5844 (print_help): Don't show options enabled by default.
5845 (print_version): Show the emacs version number if VERSION is #defined.
5846 (find_entries): Add "ss" as suffix for Chez Scheme.
5847
5848 1994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
5849
5850 * etags.c (cwd, outfiledir): Vars added.
5851 (relative_filename, absolute_filename, absolute_dirname):
5852 functions added to compute filenames in tags files.
5853 (process_file): Filenames in tags file are relative to the
5854 directory where the tags file is (useful with the -o option).
5855 (main): Initialise the outfiledir var.
5856 (TYPEDST): Added the `tignore' value.
5857 (C_entries): Corrected various small bugs.
5858
5859 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5860
5861 * Makefile.in (UTILITIES): `env' deleted.
5862 (env): Target deleted.
5863 * env.c: File deleted.
5864
5865 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5866
5867 * Makefile.in (install, ${archlibdir}): Switch back to ..
5868 before running INSTALL_PROGRAM.
5869
5870 1994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
5871
5872 * etags.c (TYPEDST): Added the `tignore' value.
5873 (C_entries): Corrected various bugs, now correctly parses the
5874 `extern "C" {' construction (patch by Tom R.Hageman).
5875
5876 1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5877
5878 * b2m.c: Use <...> to include config.h.
5879 Don't include stdlib.h.
5880
5881 1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
5882
5883 * b2m.c (main): Change delimiter from "^L" to "^_^L".
5884 Allow for text following "BABYL OPTIONS:".
5885 Add --help option. Use argv[0] in error messages.
5886
5887 1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5888
5889 * emacsclient.c (main) [HAVE_SYSVIPC]:
5890 Make msgp->mtext longer if necessary.
5891 On HPUX, error if it's more than 512 chars.
5892
5893 1994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
5894
5895 * etags-vmslib.c: Use GPL.
5896 * emacstool.c: Use GPL.
5897 * fakemail.c: Update GPL.
5898
5899 * make-path.c (main): Return 1 on error, not -1.
5900 Update GPL.
5901
5902 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
5903 (xmalloc, xrealloc): Return char *, not int.
5904 (error): Write to stderr, not stdout.
5905 Update GPL.
5906
5907 1994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
5908
5909 * profile.c (main, get_time): Don't crash on invalid input.
5910
5911 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
5912
5913 * profile.c (get_time): Simplify; avoid calling index.
5914 (main): Exit on EOF.
5915
5916 1994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
5917
5918 * etags.c (--absolute-pathnames): Option removed.
5919
5920 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5921
5922 * fakemail.c (put_line): Don't break the line if it all fits.
5923
5924 1994-02-14 Francesco Potortì (pot@fly)
5925
5926 * etags.c (absolute_pathnames, cwd): Added global vars.
5927 (longopts, print_help, main, process_file): Put absolute filenames
5928 in the tag file if the -A --absolute-pathnames option is used.
5929 (print_help): Alphabetically order the options.
5930 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
5931
5932 1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5933
5934 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
5935 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
5936
5937 1994-02-07 Christian Lynbech (lynbech@avignon)
5938
5939 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
5940
5941 1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5942
5943 * Makefile.in (UTILITIES): Mention profile.
5944 (profile): New target.
5945
5946 * profile.c: New file.
5947
5948 1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5949
5950 * make-docfile.c: Make the argument list output look more like the
5951 Lisp docstrings do.
5952 (write_c_args): Take new arg FUNC. Make output
5953 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
5954 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
5955
5956 1994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
5957
5958 * etags.c (stab_entry, stab_create, stab_find, stab_search,
5959 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
5960 Use gperf generated hash table instead of linked list.
5961 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
5962 Mostly code generated by gperf.
5963 (consider_token): Removed unused parameter `lp'.
5964 (PF_funcs, getit): Allow subroutine and similar declarations
5965 to span multiple lines.
5966 (C_entries): Check for newline if inchar to avoid bus errors.
5967 (process_file, find_entries): Distinguish among nonexistent
5968 and not regular file.
5969
5970 1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5971
5972 * timer.c: Include errno.h; don't include fasync.h.
5973 (schedule): Don't return a value.
5974 (sigcatch): Reestablish the handler first.
5975 (getevent): Always call notify at the end.
5976 (notify): Defer alarms around the whole body of function.
5977
5978 1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5979
5980 * timer.c (main): Don't request SIGIO, and don't handle it.
5981 Loop calling getevent.
5982 (sigcatch): Delete code to handle SIGIO.
5983 if defer_alarms is set, don't call notify, just set alarm_deferred.
5984 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
5985 Set defer_alarms around realloc and schedule.
5986 If alarm_deferred gets set, call notify.
5987 Likewise if this event is the only pending event.
5988 Make buf and buf_size global variables.
5989 Don't malloc buf if it is already non-zero.
5990 (schedule): Just exit if run out of memory.
5991 Return the number of events.
5992 (signal) [_CX_UX]: Add #undef.
5993
5994 1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5995
5996 * timer.c [USG] (SIGIO): Define as SIGPOLL.
5997 (main) [USG]: Do ioctl to enable SIGPOLL.
5998
5999 1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6000
6001 * timer.c: Don't declare sys_errlist; declare strerror instead.
6002 (schedule, main): Call strerror instead of using sys_errlist.
6003 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
6004 Call strerror instead of using sys_errlist.
6005 * env.c (main): Call strerror instead of using sys_errlist.
6006 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
6007 (main): Call strerror instead of using sys_errlist.
6008 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
6009 * env.c [! HAVE_STRERROR] (strerror): Likewise.
6010 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
6011 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
6012
6013 1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6014
6015 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
6016
6017 * movemail.c (malloc): Don't declare it.
6018 (xmalloc): Cast result of malloc.
6019 (strcpy): Don't declare it.
6020
6021 1993-11-14 Morten Welinder (terra@diku.dk)
6022
6023 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
6024 (main): Use fclose to close file opened by fopen.
6025
6026 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
6027
6028 * movemail.c [MSDOS]: #undef `access'.
6029
6030 * b2m.c (main) [MSDOS]: Open all files as binary.
6031 * etags.c (main) [MSDOS]: Open all files as binary.
6032
6033 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
6034 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
6035 with.
6036
6037 1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6038
6039 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
6040 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
6041 (LINK_CFLAGS): New variable.
6042 (timer): Use LINK_CFLAGS.
6043
6044 1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6045
6046 * movemail.c: Include syswait.h.
6047 Fork a subprocess and use it to copy the mail file.
6048
6049 1993-12-07 Richard Stallman (rms@srarc2)
6050
6051 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
6052
6053 1993-12-04 Richard Stallman (rms@srarc2)
6054
6055 * movemail.c (main): When making tempname, cast result of xmalloc.
6056 Include room for EXXXXXX in the size.
6057 Don't use result of strcpy.
6058
6059 1993-12-03 Paul Eggert (eggert@twinsun.com)
6060
6061 * vcdiff: Add --brief option.
6062
6063 1993-12-02 Richard Stallman (rms@srarc2)
6064
6065 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
6066 for all executables and scripts.
6067
6068 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6069
6070 * Version 19.22 released.
6071
6072 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6073
6074 * Makefile.in (mostlyclean): Make it distinct from clean.
6075
6076 1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6077
6078 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
6079
6080 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6081
6082 * Version 19.21 released.
6083
6084 * Makefile.in (install): Don't change mode or group when installing.
6085
6086 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
6087
6088 1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6089
6090 * make-docfile.c (read_c_string): For "", concatenate the two strings.
6091
6092 * movemail.c (main): Fix error message text.
6093
6094 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6095
6096 * Version 19.20 released.
6097
6098 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
6099
6100 * etags.c (C_entries): Keep track of ()-parenthesis level so that
6101 functions returning a pointer to a function, a la `signal', can be
6102 parsed. This also required new state `fstartlist' to `FUNCST'.
6103 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
6104 (C_entries, CNL): Use it to isolate preprocessor directive processing
6105 from the other state engines.
6106 (begtk): Add '~', for C++ class destructors.
6107
6108 1993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
6109
6110 * etags.c (consider_token): Removed unused variable firsttok.
6111 (prolog_getit): Call pfnote with the right number of arguments.
6112
6113 1993-10-19 Paul Eggert (eggert@twinsun.com)
6114
6115 * rcs2log (printlogline): Don't generate lines containing only
6116 white space.
6117
6118 1993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6119
6120 * Makefile.in (${archlibdir}):
6121 Install ${SCRIPTS} from ${srcdir}, not cwd.
6122
6123 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6124
6125 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
6126 the comment character.
6127
6128 1993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
6129
6130 * etags.c (process_file): Dead code removed.
6131 (S_ISREG): #define it using S_IFREG if not defined.
6132 (process_file): Regular files have nothing to do with symlinks.
6133
6134 1993-09-28 Brian J. Fox (bfox@ai.mit.edu)
6135
6136 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
6137 from current directory. Only chmod and chgrp files that we
6138 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
6139 ${bindir}.
6140 (INSTALLFLAGS): Deleted definition, since it is an unused variable
6141 now.
6142
6143 1993-09-27 Brian J. Fox (bfox@ai.mit.edu)
6144
6145 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
6146 configure figure out the correct values for these variables.
6147
6148 1993-09-14 Brian J. Fox (bfox@ai.mit.edu)
6149
6150 * Makefile.in (archlibdir): Only install executables internally
6151 used by emacs; don't install bindir binaries here.
6152
6153 1993-09-24 Paul Eggert (eggert@twinsun.com)
6154
6155 * rcs2log: Add -h, -n, -r options.
6156 By default, look for *,v files as well as RCS/*,v files.
6157 Use $TMPDIR (default /tmp) instead of /tmp.
6158
6159 1993-09-20 Francesco Potortì (pot@fly)
6160
6161 * etags.c (C_entries): is_func is initialised here instead of in
6162 consider_token for the sake of the yacc rules section.
6163 (C_entries): Now class, struct, enum, union and typedef produce
6164 named tags.
6165
6166 1993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
6167
6168 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
6169
6170 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6171
6172 * Makefile.in: Support configuring in a different directory when
6173 ${srcdir} has already been configured.
6174 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
6175 -I${srcdir}/../src.
6176 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
6177 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
6178 is already in CPP_FLAGS.
6179 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
6180 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
6181
6182 1993-08-25 Paul Eggert (eggert@twinsun.com)
6183
6184 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
6185 otherwise, HP awk complains.
6186
6187 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
6188 are common hangouts for SCCS commands.
6189
6190 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6191
6192 * Version 19.19 released.
6193
6194 1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6195
6196 * Makefile.in (make-path): Dep on config.h.
6197
6198 1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6199
6200 * b2m.c (TRUE, FALSE): Don't define if already defined.
6201
6202 1993-08-09 Paul Eggert (eggert@twinsun.com)
6203
6204 * rcs2log (awkscript):
6205 Some sites put comma-separated junk after the fullname.
6206 Remove it, but leave "Bill Gates, Jr" alone.
6207 Remove the junk from fullnames like "0000-Admin(0000)".
6208
6209 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6210
6211 * Version 19.18 released.
6212
6213 1993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
6214
6215 * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
6216 (L_funcs): The (foo::defmumble stuff now should work.
6217 (consider_token): Function returned random value--corrected.
6218 (C_entries): Corrected == versus = typo.
6219
6220 1993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6221
6222 * etags.c (put_entries): For NODE->rewritten, put pattern before
6223 \177 and name after, not vice versa.
6224
6225 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6226
6227 * timer.c (main): Generate a SIGIO as soon as we've initialized.
6228
6229 1993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
6230
6231 * etags.c (FINCST): Added the fignore status. Means we are
6232 after the parameter list and before the open curly brace.
6233 Allows correct parsing of C++ constructors.
6234 (C_entries, consider_token): Make use of fignore.
6235 (consider_token): Reset funcdef when next_token_is_func: when in
6236 ctags mode makes DEFVAR and others work better.
6237 (L_isquote): Function that recognises the "(quote" string.
6238 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
6239
6240 1993-07-29 Paul Eggert (eggert@twinsun.com)
6241
6242 * rcs-checkin: Don't check whether a file is readable until we have
6243 decided not to ignore it.
6244
6245 1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6246
6247 * Makefile.in (etags): Depend on ../src/config.h.
6248
6249 * emacsserver.c: Include types.h before file.h.
6250
6251 1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6252
6253 * Makefile.in (install): Use .n, not .new, for temporary filenames.
6254
6255 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6256
6257 * Version 19.17 released.
6258
6259 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6260
6261 * etags.c (print_help): Break up the very long strings containing
6262 the help message into shorter strings, to placate chintzy C
6263 compilers which can't handle strings that long.
6264
6265 * wakeup.c: Use CPP tangle from autoconf manual to #include the
6266 correct combination of <time.h> and <sys/time.h>.
6267
6268 1993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
6269
6270 * etags.c (alloca): Removed all references to it.
6271 (main): Now calls xnew instead of alloca for portability.
6272 (../src/config.h): Included only if HAVE_CONFIG_H.
6273 (const): Void definition removed--config.h takes care of it.
6274
6275 1993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
6276
6277 * etags.c (consider_token): Was `==', now is `='.
6278 (consider_token): DEFUNs now treated like funcs in ctags mode.
6279
6280 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
6281 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
6282 (C_entries): Removed a piece of useless code.
6283 (C_entries): Making typedef tags is delayed until a semicolon
6284 is met. This handles "typedef int X, Y, Z;" correctly.
6285
6286 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6287
6288 * Version 19.16 released.
6289
6290 * b2m.c: #include <sys/types.h>.
6291 (ltoday): Declare this to be time_t.
6292
6293 1993-06-30 Paul Eggert (eggert@twinsun.com)
6294
6295 * vcdiff: Add -q option.
6296
6297 1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6298
6299 * etags.c: #include "config.h" and the alloca CPP tangle before
6300 #including the system headers and getopt.h. AIX requires the
6301 #pragma to come before any actual C code.
6302
6303 1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6304
6305 * Makefile.in (ctags): Depend on etags, so that parallel makes
6306 don't write etags.o files on top of each other.
6307
6308 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6309
6310 * version 19.15 released.
6311
6312 1993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6313
6314 * etags.c (add_node): Move var last_node to file scope.
6315
6316 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6317
6318 * Version 19.14 released.
6319
6320 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6321
6322 Bring mumbleclean targets into conformance with GNU coding standards.
6323 * Makefile.in (distclean): Call clean to do most of the work.
6324 Delete aixcc.c and TAGS.
6325 (realclean): Just call distclean.
6326
6327 * Makefile.in: Remember, spaces are not tabs.
6328
6329 1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6330
6331 * Makefile.in (CPP_CFLAGS): New variable.
6332 Use it instead of ALL_CFLAGS when compiling a .c file.
6333 (getopt.o, getopt1.o): Add explicit compilation commands.
6334
6335 1993-06-10 Mark D. Baushke (mdb@cisco.com)
6336
6337 * etags.c: Reinstate old -f option as an alias for -o for
6338 installed base uses.
6339
6340 1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6341
6342 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
6343 to bind or accept, cast the pointer, to avoid warnings on systems
6344 which declare prototypes for this.
6345 * emacsclient.c (main): Same.
6346
6347 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
6348
6349 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6350
6351 * Version 19.13 released.
6352
6353 * wakeup.c: Include sys/types.h, too; I think that's where time_t
6354 comes from, not sys/time.h.
6355
6356 1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6357
6358 * wakeup.c: Include sys/time.h.
6359
6360 * etags.c: #undef static.
6361
6362 * Version 19.12 released.
6363
6364 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
6365
6366 1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6367
6368 * Version 19.11 released.
6369
6370 * timer.c [LINUX]: #undef signal.
6371 * emacsserver.c: #undef signal.
6372
6373 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6374
6375 * wakeup.c (main): Make when a time_t.
6376
6377 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6378
6379 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
6380 `(cd foo ; pwd)' to get the canonical name of a directory; cd
6381 might fail, and have pwd print out the current directory.
6382
6383 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
6384 string-handling functions.
6385
6386 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6387
6388 * Version 19.10 released.
6389
6390 1993-05-29 Paul Eggert (eggert@twinsun.com)
6391
6392 * rcs2log: When given no file arguments, inspect RCS/.* as well
6393 as RCS/*. Don't report an error if RCS is empty or nonexistent.
6394
6395 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6396
6397 * Makefile.in (timer): Link with $(LOADLIBES).
6398
6399 1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6400
6401 * fakemail.c (put_line): Don't output \n\t unless more text follows.
6402
6403 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6404
6405 * etags.c: Replace the CPP tangle for alloca with the one from the
6406 autoconf documentation, since that's working elsewhere.
6407
6408 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6409
6410 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
6411 description files can find their ancestors.
6412
6413 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6414
6415 * Makefile.in (install): Get the scripts from ${srcdir},
6416 unlike the executables.
6417 (ALL_CFLAGS): Add -I../src.
6418
6419 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6420
6421 * Version 19.9 released.
6422
6423 1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6424
6425 * Makefile.in (install): Do install the programs listed in
6426 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
6427 INSTALLABLE_SCRIPTS, instead of writing the programs out.
6428
6429 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
6430 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
6431
6432 1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6433
6434 * etags.c: Include ../src/config.h.
6435
6436 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
6437 in first loop. Delete files from bindir before installing new ones.
6438 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
6439
6440 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6441
6442 * Version 19.8 released.
6443
6444 * make-docfile.c: Doc fix.
6445
6446 1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6447
6448 * tcp.c: Fix comment syntax at top of file.
6449 (main): Don't call htons with the port number.
6450
6451 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6452
6453 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
6454 appropriate.
6455
6456 * Makefile.in (install): Refer to the variables INSTALLABLES and
6457 INSTALLABLE_SCRIPTS, instead of writing them out.
6458
6459 1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6460
6461 * make-path.c (main): Return 0.
6462
6463 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6464
6465 * Version 19.7 released.
6466
6467 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6468
6469 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
6470
6471 1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6472
6473 * tcp.c: New file.
6474
6475 1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6476
6477 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
6478
6479 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6480
6481 * timer.c (notify): Don't call sighold or sigrelse; they're USG
6482 only. We should really fix this later, but let's just make it
6483 compile for now.
6484
6485 Install patches from David J. Mackenzie to make the srcdir option
6486 work.
6487 * Makefile.in (srcdir, VPATH): Get this value from the top-level
6488 Makefile.
6489 (INSTALLABLES): Split this into two lists - INSTALLABLES and
6490 INSTALLABLE_SCRIPTS.
6491 (INSTALLABLE_SCRIPTS): New list.
6492 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
6493 (${archlibdir}): The scripts to be installed live in the source
6494 tree, not in the object tree.
6495 (test-distrib): Note that the data file lives in the source tree,
6496 not the object tree.
6497 (GETOPTDEPS): Note that getopt.h lives in the source tree.
6498 (all other targets): Change references to source files to use
6499 ${srcdir}, except for config.h, which lives in the object dir.
6500 (timer.o): Note that this depends on ../src/config.h.
6501 * make-docfile.c (main): Add a -d option, to tell it where to find
6502 the source files.
6503 * test-distrib.c (main): Take the name of the distribution file to
6504 test from the command line.
6505
6506 * timer.c: Fix misspellings of get_date function's name.
6507
6508 1993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6509
6510 * etags.c (main):
6511 Don't require that there be input files if -i switches were given.
6512
6513 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6514
6515 The GNU coding standards specify that CFLAGS should be left for
6516 users to set.
6517 * Makefile.in (CFLAGS): Put this in the "things configure might
6518 edit" section, and have it default to -g.
6519 (ALL_CFLAGS): New variable, set to all the flags which should be
6520 passed to compilations. Replace all other uses of CFLAGS with
6521 ALL_CFLAGS.
6522 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
6523
6524 * Makefile.in (DEFS): Remove this; it's always just going to be
6525 "-DHAVE_CONFIG_H -Demacs".
6526
6527 1993-05-03 Paul Eggert (eggert@twinsun.com)
6528
6529 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
6530 /[/]/, so change it to /[\/]/. This should work on all
6531 Posix-compliant awks. It's slightly wrong with traditional awk,
6532 since it matches \ too, but that's a minor problem compared to awk
6533 syntax errors.
6534
6535 1993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6536
6537 * Makefile.in (ALLOCA): New variable, whose value we should
6538 inherit from the top-level makefile.
6539 (etags, ctags): Include ALLOCA in the list of object files that
6540 these executables depend on and link.
6541
6542 1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6543
6544 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
6545
6546 1993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
6547
6548 * make-docfile.c (write_c_args): Print an argument named "defalt"
6549 as "default".
6550
6551 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6552
6553 * Makefile.in (C_SWITCH_SYSTEM): New variable.
6554 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
6555 compiler.
6556
6557 1993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
6558
6559 * etags.c (YACC): Flag added to c_ext.
6560 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
6561 (find_entries): Consistently use streq when reasonable.
6562 (find_entries): A .y file is a yacc file.
6563 (get_C_stab): c_ext becomes c_ext&C_PLPL.
6564 (C_entries): Logical cplpl means c_ext&C_PLPL.
6565 (C_entries): Logical yacc_rules means we are after the first %%.
6566 (C_entries): Added logic for yacc files.
6567
6568 1993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
6569
6570 * etags.c (C_entries): ':' case moved to the second switch.
6571 (C_entries): Do not examine token if structdef==scolonseen.
6572 (consider_token): structtag set to null string for enum.
6573
6574 1993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
6575
6576 * etags.c (GET_COOKIE): And related macros removed.
6577 (logical): Is now int, no more a char.
6578 (reg): Define deleted.
6579 (isgood, _gd, notgd): Deleted.
6580 (gotone): Deleted.
6581 (TOKEN): Member linestart removed.
6582 (linepos, prev_linepos, lb1): Deleted.
6583 (main): Call initbuffer on lbs array instead of lb1.
6584 (init): Removed the initialisation of the logical _gd array.
6585 (find_entries): A .sa suffix means assembler file.
6586 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
6587 All C state machines rewritten.
6588 (C_entries): Complete rewrite.
6589 (condider_token): Complete rewrite.
6590 (getline): Deleted.
6591
6592 1993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
6593
6594 * etags.c (C_entries): Added the quotednl logical variable.
6595 Used for parsing of #define's spanning multiple lines.
6596
6597 1993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
6598
6599 * etags.c (C_entries): Save the definedef status even when a
6600 newline is met inside a string.
6601
6602 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
6603
6604 * Makefile.in (EXECUTABLES): Added rcs-checkin.
6605
6606 * Makefile.in (unlock, relock): New productions.
6607
6608 1993-03-16 Paul Eggert (eggert@twinsun.com)
6609
6610 * rcs2log: Some awks don't understand "\r". Code around this.
6611 Unfortunately this requires putting a carriage return in the
6612 source code. Don't assume that rlog will tolerate times like
6613 `10:10:60'; RCS 5.7 won't allow this.
6614
6615 1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6616
6617 * timer.c (main): Set the ownership of the stdin file descriptor
6618 to the current process. Print error messages if either of the
6619 fcntl's fails.
6620
6621 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
6622 ../src/config.h), not void.
6623
6624 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6625
6626 * b2m.c (main): Don't exit upon reading a blank line.
6627
6628 1993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
6629
6630 * etags.c (C_entries): New local variable quotednl. Used for
6631 parsing of #define's spanning multiple lines.
6632
6633 * etags.c (C_entries): Save the definedef status
6634 even when a newline is met inside a string.
6635
6636 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6637
6638 * timer.c (notify): Initialize waitfor properly.
6639
6640 1993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
6641
6642 * etags.c (C_entries): Don't reset definedef when a newline inside a
6643 comment is met.
6644
6645 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6646
6647 * etags.c (find_entries): If filename ends in .f or .for,
6648 don't try anything but Fortran.
6649
6650 1993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
6651
6652 * timer.c (notify): Flush stdout after writing message to avoid lossage
6653 on terminals.
6654
6655 (notify): Also, write a newline after the token.
6656
6657 1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6658
6659 * Makefile.in (exec_prefix): New variable.
6660 (bindir, libdir): Use it instead of `prefix'.
6661
6662 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
6663
6664 * Makefile.in (libdir): Default to ${prefix}/lib.
6665 (archlibdir): Adjusted to match.
6666
6667 * Makefile.in (distclean): Don't delete backup or autosave files.
6668 (extraclean): Like realclean, but does delete backup and autosave
6669 files.
6670
6671 * Makefile.in (realclean): Ignore errors from rm.
6672
6673 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
6674 that doesn't exist anymore.
6675
6676 1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6677
6678 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
6679 described in the top-level Makefile.
6680 (UTILITIES): Add make-path to the list of utility programs.
6681 (../arch-lib): Replaced by the ${archlibdir} target, which places
6682 the executables in their permanent home.
6683 (install, install.sysv, install.xenix): Consolidated into one
6684 target which should work under all circumstances, modulo a few
6685 ignored error messages.
6686
6687 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
6688 a different number of arguments than other DEFVARs, recognize it
6689 specially, and expect the right number of commas.
6690
6691 1992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6692
6693 * make-path.c: New program, to help with the installation process.
6694 * Makefile.in (make-path): New target.
6695
6696 * make-path.c (touchy_mkdir): Remove debugging output.
6697
6698 1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6699
6700 * Makefile.in (getdate.o): Added explicit target for this, so we
6701 can indicate that it depends on ../src/config.h.
6702
6703 1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6704
6705 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
6706 instead of CFLAGS.
6707 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
6708
6709 1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6710
6711 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
6712 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
6713 that system.
6714
6715 * Makefile.in (arch-lib): Give rm the `-f' option.
6716
6717 1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6718
6719 * make-docfile.c (write_c_args): Rewritten to correctly print
6720 &optionals before the first identifier, but after the first paren.
6721 This code used to just wait for commas or spaces; now it notices
6722 identifier boundaries.
6723
6724 1992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6725
6726 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
6727
6728 1992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6729
6730 * make-docfile.c (write_c_args): Print the argument lists properly
6731 when the first argument is optional.
6732
6733 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6734
6735 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
6736 Redefine @item. Set catcode of +.
6737
6738 1992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6739
6740 * emacsclient.c (main): Set IPC_CREAT in msgget call.
6741
6742 1992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6743
6744 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
6745 (TEX_decode_env): Make `tab' one element longer.
6746
6747 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6748
6749 * etags.c (PF_funcs): Recognize the "entry" keyword.
6750
6751 1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6752
6753 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
6754
6755 1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6756
6757 * timer.c (events): Rather than having slots marked as in use or
6758 out of use by the `token' field, keep all pending events at the
6759 beginning of the array. When we delete an event in the middle of
6760 the array, we move the last event into its place.
6761 (num_events): New variable.
6762 (schedule): It is now cheaper to find a free event slot;
6763 events[num_events] is the first free slot.
6764 (notify): Scan events[0 .. num_events-1], instead of the whole
6765 array. When an event fires, move the last event in the array into
6766 its spot. Use num_events to determine whether or not there are
6767 any pending events, not wait_for.
6768 (getevent): Deleted unused variable `ep'.
6769 (sigcatch): It's now easier to find all the active events.
6770 (main): Initialize num_events.
6771
6772 * etags.c: Rather than fret about which systems have index and
6773 which systems have strchr, and how to tell the difference between
6774 them, we just write out our own versions. Big deal.
6775 (index, rindex): Extern declarations removed.
6776 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
6777 (etags_index, etags_rindex): New declarations.
6778 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
6779 TEX_getit, substr): Use the etags_*index functions, rather than
6780 the native *index functions.
6781 (rindex, index): Renamed to etags_rindex and tags_rindex, and
6782 made them unconditionally defined, rather than having them depend
6783 on NEED_*INDEX.
6784
6785 * etags.c (savenstr): Add declaration for this at top of file.
6786 (TEX_decode_env): Don't declare it local to this function.
6787
6788 * b2m.c: #include "../src/config.h", so we can test for the USG
6789 macro, and decide whether to include <string.h> or <strings.h>.
6790 * Makefile.in: Note that b2m.c depends on ../src/config.h.
6791
6792 1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6793
6794 * timer.c: Reformatted according to the GNU coding standards.
6795 Removed arbitrary limits on the number of events queued and the
6796 length of the tokens used to identify them.
6797 Removed casts to (void).
6798 Removed debugging printfs; they clutter the code, and the need
6799 can be better filled using a real debugger.
6800
6801 1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6802
6803 * timer.c: Installed new version from Eric Raymond; this is more
6804 portable, since it doesn't try to use SIGIO.
6805
6806 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6807
6808 * emacsclient.c (main): If we can't find the socket in this
6809 person's home directory, print a message which asks if they've
6810 started the server, instead of just printing the message from
6811 sys_errmsg; Cygnus finds that people are much less confused by
6812 this.
6813
6814 1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6815
6816 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
6817 so that index and rindex get defined, why don't we actually
6818 control index and rindex using symbols called "NEED_INDEX" and
6819 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
6820 little more readable than defining something whose name implies
6821 that it's not?
6822
6823 1992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6824
6825 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
6826 distribution:
6827 Miscellaneous doc fixes.
6828 (skip_white, read_lisp_symbol): New functions.
6829 (scan_lisp_file): Instead of using long hairy strings of ifs, call
6830 read_lisp_symbol and then see what we got. Call skip_white
6831 instead of writing out a loop to do its job. Correctly extract
6832 docstrings from "defmacro" declarations.
6833
6834 1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6835
6836 * movemail.c (strcpy): Declare this to return char *.
6837
6838 1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6839
6840 * etags.c (C_entries): When we find a C++ comment, do actually
6841 skip to the end of the line; do a 'break' instead of a 'continue'.
6842
6843 1992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6844
6845 * etags.c (getit): Add missing parenthesis to expression which
6846 decides if this token is an identifier.
6847
6848 1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6849
6850 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
6851
6852 1992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6853
6854 * etags.c (put_entries): Always put space between name and line num.
6855
6856 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
6857
6858 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
6859 warning.
6860 (LEVEL_OK_FOR_FUNCDEF): Ditto.
6861
6862 1992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6863
6864 * make-docfile.c (write_c_args): Pass both arguments to putc.
6865
6866 1992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
6867
6868 * etags.c (C_entries): Fixed reading of "..." strings.
6869 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
6870 the C library source.
6871
6872 * etags.c (C_entries): When we see a backslash inside a quoted
6873 string, skip to the next character. This allows us to correctly
6874 deal with strings containing quotes.
6875
6876 1992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6877
6878 * make-docfile.c (write_c_args): Print the C argument names as
6879 they would be written in Elisp; print '_' as '-'.
6880
6881 1992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6882
6883 * movemail.c [POP]: Get user name via getpwuid.
6884
6885 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6886
6887 * Makefile.in: Flags in CC invocations rearranged for no reason.
6888
6889 1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6890
6891 * etags.c (print_help): Remember not to embed raw newlines in
6892 strings - end the lines with `\n\'.
6893
6894 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6895
6896 * timer.c (getevent): Removed declaration of memcpy; since
6897 different systems have different return types, and we're not even
6898 using the return type anyway, it wasn't doing us any good.
6899
6900 1992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6901
6902 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
6903 type of this function.
6904
6905 1992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6906
6907 * ChangeLog: Since the old etc contents have been split into etc
6908 and lib-src, the old etc's ChangeLog has been duplicated in the
6909 new etc and lib-src. That means that each contains complete and
6910 coherent information, although each contains extraneous
6911 information.
6912
6913 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6914
6915 * etags.c: "--no-warning" option renamed to "--no-warn",
6916 to be consistent with other GNU programs, like makeinfo.
6917
6918 * Makefile: Renamed to Makefile.in; the configure script
6919 will edit this to produce Makefile.
6920
6921 1992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6922
6923 * etags.c (print_help, print_version): New functions.
6924 (main): Options added to support them.
6925
6926 * etags.c (longopts): New array of long names for the options.
6927 (main): Recognize them.
6928
6929 1992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6930
6931 * etags.c (C_entries): Removed comment saying that \" in a string
6932 isn't recognized as magic, because it is correctly handled.
6933
6934 * getopt.c, getopt.h: New files, from GNU C library.
6935 * etags.c: Rewritten to use getopt.
6936 #include "getopt.h".
6937 (file_num): Variable deleted; its role is now played by getopt's
6938 optind.
6939 (main): Argument processing loop rewritten to call getopt to get
6940 next option. Options which take parameters (-o and -i) rewritten
6941 to get parameter from optarg instead of argv[1]. Filename
6942 preprocessing loop and update command changed similarly.
6943 * Makefile (etags, ctags): Depend on and link with getopt.h,
6944 getopt.o, and getopt1.o.
6945 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
6946
6947 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
6948 is non-zero.
6949
6950 (main): In the argument processing loop, the 'goto next_arg'
6951 statements are breaking out of the switch statement in exactly the
6952 same way that a simple 'break' statement would; replace the gotos
6953 with breaks, and remove the label.
6954
6955 1992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6956
6957 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
6958 (consider_token): Move next_token_is_func to global.
6959
6960 1992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6961
6962 * Makefile: Conform with GNU coding standards:
6963 (mostlyclean): New target, synonymous with clean.
6964 (TAGS, check): New targets.
6965 (INSTALL, INSTALLFLAGS): New variables.
6966
6967 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6968
6969 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
6970 `config.emacs' to `configure'.
6971
6972 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
6973 * etc/MACHINES: Same.
6974
6975 1992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6976
6977 * movemail.c (main): Allow tempname to be as long as necessary,
6978 instead of limiting it to 39 characters.
6979
6980 * movemail.c (main): Move declaration of buf from top of function
6981 to local block surrounding the copy loop. This makes it less
6982 likely to be confused with the buf used by the code which checks the
6983 permissions on outname's directory.
6984
6985 1992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
6986
6987 * SERVICE: Remove my entry.
6988
6989 1992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6990
6991 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
6992 hardcoded -g.
6993
6994 * movemail.c (xmalloc): Return char *, not int.
6995 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
6996 that is off by default -- normally don't unlink the mail spool
6997 file, just empty it. Pass creat mode 0600, not 0666.
6998
6999 1992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7000
7001 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
7002 (all): Instead of here.
7003 (install): Don't use the -s option, since people need symbols to
7004 debug code.
7005
7006 1992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
7007
7008 * etags-vmslib.c (fn_exp): Add type cast.
7009
7010 1992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7011
7012 * movemail.c: Changes in comments.
7013
7014 1992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7015
7016 * Makefile: Make the distclean target erase the DOC files from
7017 ../share-lib and the executables from ../arch-lib.
7018
7019 1992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7020
7021 * emacsclient.c: #include <sys/stat.h>
7022 (main): Do declare statbfr.
7023
7024 1991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7025
7026 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
7027 for the socket, depending on SERVER_HOME_DIR.
7028 If using /tmp, put host name in the socket name.
7029
7030 * movemail.c (pfatal_and_delete): New function.
7031 (main, popmail): Use it.
7032 (popmail): Close output before deleting messages.
7033 Check for error on close and on fsync.
7034 Use `fatal' where appropriate.
7035 (main): Remove (void).
7036
7037 * aixcc.lex: New file. Not officially part of Emacs.
7038 * Makefile: Rules for that.
7039
7040 1991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
7041
7042 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
7043
7044 * etags.c (main): Properly cast call to alloca that initializes
7045 included_files.
7046
7047 1991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7048
7049 * etags.c (files_are_tag_tables): Remove global var.
7050 (process_file): Don't test it. Also remove hack checking for a
7051 file named "TAGS".
7052 (main): -i now takes an arg which is the name of a file to include.
7053 Collect these names and emit include tags for them after processing
7054 all the argument files.
7055
7056 1991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7057
7058 * wakeup.c: Terminate if parent goes away.
7059
7060 1991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7061
7062 * etags.c (C_entries): Process token before handling end of line.
7063 When inner loops reach end of line, just back up.
7064 Let the real end of line processing happen in just one place.
7065 (consider_token): Likewise.
7066
7067 1991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7068
7069 * etags.c (TEX_mode): Skip comments while scanning the text to see
7070 which escape character this file uses.
7071
7072 1991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7073
7074 * emacsserver.c [USG]: Terminate if msgrcv fails.
7075
7076 1991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
7077
7078 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
7079
7080 1991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
7081
7082 * make-docfile: Find the arguments to a C function correctly,
7083 by not ignoring the character that read_c_string returns. Don't
7084 even try to find argument names for functions that take MANY
7085 or UNEVALLED arguments, since they're a figment of the docstring's
7086 imagination.
7087
7088 1991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
7089
7090 * make-docfile: Read the .elc files generated by the new byte
7091 compiler.
7092
7093 1990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
7094
7095 * refcard.tex: Use cm fonts, not am, in multi-column mode.
7096
7097 1990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
7098
7099 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
7100
7101 1990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
7102
7103 * Makefile (install*): No need to install wakeup.
7104
7105 1990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
7106
7107 * Makefile (install*): Install emacsclient like etags.
7108
7109 1990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
7110
7111 * movemail.c (error): Handle 3 args.
7112 (main): Don't check input access if using pop.
7113
7114 1990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
7115
7116 * etags.c (find_entries): Check for numbers after Scheme suffix.
7117
7118 1990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
7119
7120 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
7121
7122 1990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
7123
7124 * Makefile (nemacstool, xvetool): New targets.
7125
7126 1990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
7127
7128 * emacsclient.c: Include errno.h and define related variables.
7129
7130 1990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
7131
7132 * emacsclient.c: Change usage message.
7133
7134 1990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
7135
7136 * emacs.1: Add break before -nw option.
7137
7138 1990-08-19 David J. MacKenzie (djm@apple-gunkies)
7139
7140 * qsort.c: Replace with GNU version.
7141
7142 1990-08-14 David J. MacKenzie (djm@apple-gunkies)
7143
7144 * wakeup.c: New program replacing loadst.c.
7145
7146 1990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7147
7148 * emacsclient.c [USG]: Pass msgsnd only 4 args.
7149
7150 1990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
7151
7152 * etags.c: Rename `flag' variables for what they do instead of
7153 which option character sets them.
7154
7155 1990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7156
7157 * loadst.c (main): Conditional to get load average on Apollo.
7158
7159 1990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
7160
7161 * emacsserver.c: Set the permission on the socket to 0600.
7162
7163 1990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7164
7165 * emacsclient.c [BSD]: Print clean message for failing getwd.
7166
7167 1990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
7168
7169 * getdate.y: Use the getdate.y from GNU tar for timer.
7170
7171 1990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
7172
7173 * emacsclient.c (main): Don't put brackets around "filename" in
7174 usage message. It isn't optional.
7175
7176 1990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
7177
7178 * etags.c (getit): Recognize '$' as beginning identifiers.
7179
7180 1990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
7181
7182 * emacsserver.c: Renamed from server.c.
7183 * Makefile: Reference emacsserver rather than server.
7184 * MACHINES: Doc fix for new emacsserver name.
7185
7186 1990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7187
7188 * emacsclient.c: Print program name in error messages.
7189
7190 1990-01-19 David Lawrence (tale@cocoa-puffs)
7191
7192 * timer.c, getdate.y (new files) and Makefile:
7193 Sub-process support for run-at-time in timer.el.
7194 Doesn't yet work correctly for USG.
7195
7196 1990-01-10 Jim Kingdon (kingdon@pogo)
7197
7198 * MACHINES: Add HP 300 running BSD.
7199
7200 1990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7201
7202 * yow.c: Dynamically allocate buffer; skip header before random
7203 choice to avoid bias toward first item.
7204
7205 1989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7206
7207 * etags.c (readline): Separate out init of `pend'.
7208
7209 1989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7210
7211 * etags.c: Undo changes relating to isgoodhdr.
7212
7213 1989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
7214
7215 * etags.c (isgoodhdr): New macro.
7216 (_gdh, notgdh): New variable used by that.
7217 (init): Initialize _gdh.
7218 (find_entries): Set header_file.
7219 (consider_token): Use isgoodhdr if in header file.
7220
7221 * etags.c (total_size_of_entries):
7222 Was miscalculating by 1 in rewritten case.
7223
7224 * etags.c (PAS_funcs): One arg to pfnote was missing.
7225
7226 1989-12-05 Joseph Arceneaux (jla@spiff)
7227
7228 * MACHINES: Change for the ULTRIX entry.
7229
7230 1989-11-21 Joseph Arceneaux (jla@spiff)
7231
7232 * etags.c (process_file): If file is not regular, return.
7233
7234 1989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7235
7236 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
7237
7238 1989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7239
7240 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
7241 (main): If HAVE_GETLOADAVG, don't call `nlist'.
7242
7243 1989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7244
7245 * etags.c (consider_token): Allow any number of typespec keywords
7246 after `typedef', before new type name.
7247 (enum sym_type): Add st_C_typespec.
7248 (C_create_stab): Put typespec kwds in table.
7249
7250 1989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
7251
7252 * etags.c (main): Don't depend on name invoked by.
7253 If CTAGS is not defined, assume it is ETAGS.
7254
7255 1989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7256
7257 * etags.c (L_funcs): Allow package name in define construct,
7258 as in (foo::defmumble name-defined ...).
7259
7260 1989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7261
7262 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
7263
7264 * Makefile (yow): Depends on ../src/paths.h.
7265
7266 1989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
7267
7268 * etags.c: Fix compilation by moving Pascal after Fortran.
7269
7270 1989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7271
7272 * movemail.c [USG]: Define F_OK, etc., if not found in header.
7273
7274 1989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7275
7276 * hexl.c: New file, supports hexl-mode.
7277
7278 1989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7279
7280 * movemail.c: New compilation flag MAIL_USE_MMDF.
7281
7282 1989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7283
7284 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
7285 * server.c: Likewise.
7286
7287 * make-docfile.c (scan_c_file): Output argument names at end of string.
7288 (write_c_args): New subroutine.
7289
7290 1989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7291
7292 * movemail.c: Report failure of flock.
7293
7294 1989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7295
7296 * etags.c (find_entries): Allow multi-letter extensions for fortran.
7297
7298 1989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7299
7300 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
7301
7302 1989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
7303
7304 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
7305
7306 * emacstool.1: Update to document environment variables.
7307
7308 1989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7309
7310 * etags.c (PAS_funcs): New function by Mosur Mohan.
7311
7312 * movemail.c: On sysv, include unistd.h.
7313
7314 1989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7315
7316 * b2m.c: New file.
7317
7318 1989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7319
7320 * etags.c: Prolog support from Sunichirou Sugou.
7321
7322 1989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7323
7324 * Makefile (clean): New target.
7325
7326 1989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7327
7328 * fakemail.c (put_line): Break header lines at 79 cols.
7329
7330 1989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7331
7332 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
7333 multiple tags per line.
7334
7335 1989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7336
7337 * movemail.c: Check access before doing real work.
7338 Check that outfile is in a writable directory.
7339 On fatal error, delete the lock file.
7340
7341 1988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
7342
7343 * env.c: Add decl for my-index
7344 * etags.c (file-entries): .oak => scheme.
7345
7346 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7347
7348 * movemail.c: Use `access' to check input and output files.
7349
7350 1988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7351
7352 * emacsclient.c (main): Ignore all of CWD before first slash.
7353
7354 1988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7355
7356 * etags.c (readline): Double linebuffer->size outside the xrealloc.
7357
7358 1988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7359
7360 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
7361 * server.c: chmod the socket to 0700.
7362
7363 1988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7364
7365 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
7366 (add_field): Delete comments and turn `<', `>' to spaces
7367 in header lines.
7368 (USE_FAKEMAIL): New customization macro says to make fakemail
7369 not be a no-op even on a BSD system.
7370
7371 1988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7372
7373 * etags.c (consider_token): Skip comments just like whitespace.
7374 Notice `struct', etc. and set strtag for those tokens.
7375 Return 1 for the token following `struct' if an open-brace follows it.
7376 (C_entries): Special handling of token following `struct'
7377 needed because we have probably advanced to the following line
7378 to find the `{'.
7379 (main): New option `T' sets tflag and strflag.
7380 Set both of them by default if eflags.
7381
7382 1988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7383
7384 * movemail.c: Do fsync before closing output.
7385
7386 1988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
7387
7388 * movemail.c: Better error message when can't create tempname.
7389 This file needs a great deal of extra error-checking and lucid reporting...
7390
7391 1988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7392
7393 * etags.c: Support assembler code for .s and .a files.
7394 (getit): Allow underscore in a tag.
7395
7396 1988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7397
7398 * movemail.c: Close output and check errors before deleting input.
7399
7400 1988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
7401
7402 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
7403 whether to prefix it. Handle line number args.
7404
7405 1988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
7406
7407 * etags.c (main): Default setting of eflag was backwards.
7408
7409 1988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7410
7411 * etags.c: New option -i. -f renamed -o.
7412 `-' as input file means read input file names from stdin.
7413 -i spec'd or input file named TAGS means the input file is another
7414 tag table; output an "include" line for it.
7415
7416 1988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7417
7418 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
7419 New targets install, install.sysv, install.xenix.
7420 This makefile is now responsible for installing executables
7421 and documentation from this directory into system directories.
7422
7423 1988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
7424
7425 * server.c, emacsclient.c (main): Compute socket name from euid.
7426
7427 1988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7428
7429 * emacsclient.c: Args like +DIGITS are passed through unchanged.
7430
7431 1988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7432
7433 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
7434 * emacsclient.c: Likewise.
7435 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
7436
7437 1988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7438
7439 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
7440 (istoken): New string-comparison macro.
7441 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
7442
7443 1988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7444
7445 * etags.c: Changes for VMS.
7446 Always define ETAGS on VMS.
7447 Define macros GOOD and BAD for success and failure exit codes.
7448 (begtk, intk): Allow `$' in identifiers.
7449 (main): Don't support -B, -F or -u on VMS.
7450 Alternate loop for scanning filename arguments.
7451 (system): Delete definition of this function.
7452
7453 * etags-vmslib.c (system): Undefine this; VMS now provides it.
7454
7455 1988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7456
7457 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
7458 around include of param.h. (Like fns.c.)
7459
7460 1988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
7461
7462 * loadst.c (load_average): Move load-average code to this new fn.
7463 Add conditionals to compute load ave on UMAX.
7464
7465 1988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
7466
7467 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
7468 with opposite sense.
7469
7470 1988-05-13 Chris Hanson (cph@kleph)
7471
7472 * emacsclient.c: Delete references to unused variable `out'. This
7473 caused a bus error when used under hp-ux.
7474
7475 1988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
7476
7477 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
7478
7479 1988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
7480
7481 * etags.c (find_entries): `.t' or `.sch' means scheme code.
7482
7483 1988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
7484
7485 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
7486
7487 1988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
7488
7489 * movemail.c: #undef close, since config can #define it on V.3.
7490 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
7491
7492 1988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
7493
7494 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
7495 invalid escape sequences such as `\{'.
7496
7497 * loadst.c: Add `sequent' conditional for file dk.h.
7498
7499 1988-03-20 Richard M. Stallman (rms@wilson)
7500
7501 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
7502
7503 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
7504
7505 ;; Local Variables:
7506 ;; coding: utf-8
7507 ;; End:
7508
7509 Copyright (C) 1988-1999, 2001-2011 Free Software Foundation, Inc.
7510
7511 This file is part of GNU Emacs.
7512
7513 GNU Emacs is free software: you can redistribute it and/or modify
7514 it under the terms of the GNU General Public License as published by
7515 the Free Software Foundation, either version 3 of the License, or
7516 (at your option) any later version.
7517
7518 GNU Emacs is distributed in the hope that it will be useful,
7519 but WITHOUT ANY WARRANTY; without even the implied warranty of
7520 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7521 GNU General Public License for more details.
7522
7523 You should have received a copy of the GNU General Public License
7524 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.