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