Adapt MS-Windows build to import of filemode.c from gnulib.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
25c51af3
EZ
12011-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
6ca1c3b4
BK
72011-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
50a4e25a
JB
122011-02-20 Juanma Barranquero <lekktu@gmail.com>
13
14 * makefile.w32-in (obj): Remove md5.o.
15
b166dcd8
KC
162011-02-18 Karl Chen <Karl.Chen@quarl.org>
17
18 * emacsclient.c (main): Loop while `recv' return EINTR.
19
64df8c10
PE
202011-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
00b3c7ac
TT
262011-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
03fc768b
PE
402011-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
d9f1f55e
EZ
462011-02-02 Eli Zaretskii <eliz@gnu.org>
47
b166dcd8
KC
48 * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
49 Add ``-DEMACS_NAME="\"GNU Emacs\""''.
83cc5772 50 (obj): Remove strftime.o.
d9f1f55e 51
70b0d280
EZ
522011-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
16fab143
PE
582011-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
8aec9916
JM
632011-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
f915f0f7
EZ
712011-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
842011-01-28 Chong Yidong <cyd@stupidchicken.com>
85
86 * ntlib.c (setregid): New stub, renamed from setegid.
87
88 * ntlib.h: Update prototype.
89
06d8ace5 902011-01-25 Chong Yidong <cyd@stupidchicken.com>
fbf4af3a
CY
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
9055082e
PE
952011-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
33fe4243 1032011-01-17 Paul Eggert <eggert@cs.ucla.edu>
e275c824 104
4004364e
PE
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
613f7bda
PE
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
e275c824
PE
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
9a514d4a
PE
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
72427c46
PE
1342011-01-08 Paul Eggert <eggert@cs.ucla.edu>
135
136 * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
137
4967fa34
GM
1382011-01-08 Glenn Morris <rgm@gnu.org>
139
e7a42417
GM
140 * Makefile.in (EMACSOPT): Add --no-site-lisp.
141
4967fa34
GM
142 * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
143
d7bfa7a1
GM
1442011-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
da2b5401
JM
1502010-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
4a47c275 1552010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
76cc4cd6
YM
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
f16cafe3
DN
1602010-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
6a5c2175
GM
1662010-10-25 Glenn Morris <rgm@gnu.org>
167
168 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
169
17284e30
GM
1702010-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
a4daeecf
DN
1802010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
181
182 * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
183
3fb78d1f
GM
1842010-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
4628bef1 1902010-10-08 Glenn Morris <rgm@gnu.org>
b336bfcd
GM
191
192 * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
193 DARWIN_USER_TEMP_DIR. (Bug#3992)
194
f99d75f5
DN
1952010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
196
728a982d
DN
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
f99d75f5
DN
205 * Makefile.in: Remove ^L, old makes choke on it.
206
3ecb8d93
WS
2072010-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
54b65f7b
JB
2122010-10-02 Juanma Barranquero <lekktu@gmail.com>
213
214 * makefile.w32-in (tags): Remove target.
215
73077a9a
EZ
2162010-10-01 Eli Zaretskii <eliz@gnu.org>
217
218 * makefile.w32-in (tags, TAGS): New targets.
219
968ef9b4
JB
2202010-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
6ab88e02
JB
2252010-09-29 Juanma Barranquero <lekktu@gmail.com>
226
a69edb8a
JB
227 * makefile.w32-in (../src/config.h): Remove target, it is stale.
228
6ab88e02
JB
229 * emacsclient.c (main): Remove unused variables.
230 (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
231
4c964351
UM
2322010-09-25 Ulrich Mueller <ulm@gentoo.org>
233
234 * etags.c (compressors, print_language_names): Support xz compression.
235
988e88ab
J
2362010-08-11 Jan Djärv <jan.h.d@swipnet.se>
237
70e31436 238 * fakemail.c: Include stdlib.h for getenv. Remove declaration of
5e3b9a89 239 popen, fclose and pclose.
70e31436 240 (my_name, fatal, error, put_line): Use const char*.
5e3b9a89
J
241 (main): Remove extern getenv, mail_program_name is const char*.
242
988e88ab
J
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
70e31436 250 * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
988e88ab
J
251
252 * movemail.c (fatal, error, concat): Use const char *.
253
b166dcd8
KC
254 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
255 Use const char *.
988e88ab
J
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
0e9c8657
JB
2872010-08-07 Juanma Barranquero <lekktu@gmail.com>
288
289 * ebrowse.c (usage, version, mark_virtual):
290 Remove duplicate declarations.
291
0613f5d5
DN
2922010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
293
294 * emacsclient.c: Move socket related #includes together with the
70e31436 295 rest of the #includes. Move WINDOWSNT includes closer together.
0613f5d5
DN
296 (HAVE_CONFIG_H): Remove.
297 (NO_RETURN): Remove, defined in config.h.
298 (main): Convert definition to standard C.
299
a94a477d
JB
3002010-07-29 Juanma Barranquero <lekktu@gmail.com>
301
302 * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
303
35a7804d
JB
3042010-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
361358ea
JB
3112010-07-25 Juanma Barranquero <lekktu@gmail.com>
312
313 * emacsclient.c (getcwd, w32_getenv):
314 * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
315
68441b90
DN
3162010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
317
087b38a0 318 * update-game-score.c (usage): Add NO_RETURN specifier.
68441b90
DN
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
554d39be
JB
3272010-07-23 Juanma Barranquero <lekktu@gmail.com>
328
329 * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
330
7c3320d8
JB
3312010-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
e6cfa7c3
AS
3402010-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
f09e4c6b
EZ
3482010-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
8966b757
AS
3532010-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
994a7c3b
EZ
3602010-07-11 Eli Zaretskii <eliz@gnu.org>
361
a628ad9d 362 * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
994a7c3b
EZ
363 and unexw32.o. (Bug#6603)
364
c971758d
EZ
3652010-07-10 Eli Zaretskii <eliz@gnu.org>
366
367 * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
368
91a7f76d
AS
3692010-07-09 Andreas Schwab <schwab@linux-m68k.org>
370
371 * make-docfile.c (write_c_args): Restructure scanning loop.
372
0508c67f
DN
3732010-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
0216627e
DN
3782010-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
72af86bd
AS
3842010-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
e2ad23ef
AS
3902010-07-06 Andreas Schwab <schwab@linux-m68k.org>
391
392 * movemail.c: Add MAIL_USE_POP around prototypes.
1725ae55
AS
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.
70e31436 398 (pfatal_and_delete): Likewise.
1725ae55
AS
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.
e2ad23ef 406
b8463cbf
DN
4072010-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
a52a00a3
AS
4142010-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
35d99b72
JB
4202010-07-03 Juanma Barranquero <lekktu@gmail.com>
421
422 * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
423
3a35a84c
JB
4242010-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
873fbd0b
DN
4362010-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
c532d349
DN
4512010-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
f57e2426
J
4572010-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
3b3807f8
JB
4652010-06-24 Juanma Barranquero <lekktu@gmail.com>
466
467 * movemail.c (error): Avoid warning when there are no args.
468
5fee75d4
JB
4692010-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
3085237c
DN
4742010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
475
476 * ntlib.h: Remove code dealing with BSTRING.
477
0191e222
CY
4782010-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
81ac4f35
GM
4842010-05-27 Glenn Morris <rgm@gnu.org>
485
486 * Makefile.in (distclean): No more Makefile.c.
487
4e3028f8
JD
4882010-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
44b031a6
GM
4962010-05-12 Glenn Morris <rgm@gnu.org>
497
498 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
499
acddf8ae
GM
5002010-05-11 Glenn Morris <rgm@gnu.org>
501
c88b05a9
GM
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
d3b23034
GM
508 * Makefile.in: Convert comments to makefile format.
509
acddf8ae
GM
510 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
511 (config.h) [MSDOS]: Do not include.
512
7490175b
GM
5132010-05-10 Glenn Morris <rgm@gnu.org>
514
97efb629
GM
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
7490175b
GM
521 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
522
7b42b29f
GM
5232010-05-08 Glenn Morris <rgm@gnu.org>
524
525 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
526
61a808e8
CY
5272010-05-07 Chong Yidong <cyd@stupidchicken.com>
528
529 * Version 23.2 released.
530
f6c0ee20
GM
5312010-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
49628785
GM
5402010-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
7e10844c
DN
5452010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
546
547 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
548
4794a582
DN
5492010-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
76bd8202
DN
5542010-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
42d3cab7
C
5602010-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
b372fceb
JB
5652010-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
51a91f9d
CY
5712010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
572
b166dcd8
KC
573 * movemail.c (main): Check return values of setuid.
574 Avoid possibility of symlink attack when movemail is setgid mail
51a91f9d
CY
575 (CVE-2010-0825).
576
42a2c622
DN
5772010-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
5e58e3a4
GM
5842010-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
aded53ff
GM
5922010-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
f8388570
TO
5982010-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
288f9fc0
CY
6032010-03-10 Chong Yidong <cyd@stupidchicken.com>
604
605 * Branch for 23.2.
606
f9b84f9f
CY
6072010-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
c14902e0 6122010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
9d77a91f 613
a628ad9d 614 * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
9d77a91f 615
6589a2f9
GM
6162010-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
03dcfe01
CY
6222009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
623
624 * makefile.w32-in: Use parenthesis for macros for nmake
625 compatibility.
626
5ce6e4f4 6272009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
46f3381a 628
f7e0618c 629 * etags.c (absolute_filename): Use memmove if we have it for
46f3381a
JD
630 overlapping copy.
631
f6195dfb
DN
6322009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
633
634 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
635
b53f6df2
JB
6362009-10-15 Juanma Barranquero <lekktu@gmail.com>
637
638 * .gitignore: Add echolisp.tmp.
639
9fc3db2b
GM
6402009-10-15 Glenn Morris <rgm@gnu.org>
641
5f54cae6
GM
642 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
643
9fc3db2b
GM
644 * makefile.w32-in (echolisp): New rule.
645 (clean): Delete echolisp.tmp.
646
614bd9cf
EZ
6472009-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
24e9e996
SM
6532009-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
c5a139ca
GM
6582009-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
a8a8ec61
GM
6632009-08-19 Glenn Morris <rgm@gnu.org>
664
0916a29e 665 * cvtmail.c: Remove file.
a8a8ec61
GM
666 * Makefile.in (UTILITIES): Remove cvtmail.
667 (cvtmail${EXEEXT}): Remove.
668
678bc1f5
CY
6692009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
670
671 * b2m.c (main): Ensure that each message ends in two newlines.
672
0a3472c7
JR
6732009-07-03 Jason Rumney <jasonr@gnu.org>
674
675 * emacsclient.c (w32_set_user_model_id): Use standard types.
676
f2d6b714
EZ
6772009-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
ff90fbde
JR
6822009-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
e0f59195
JM
6892009-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
f5f20f6c
DN
6942009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
695
696 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
697
70243478
CY
6982009-06-21 Chong Yidong <cyd@stupidchicken.com>
699
700 * Branch for 23.1.
701
fa44da6e
AR
7022006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
703
704 * mac-fix-env.m:
705 * Makefile.in (mac-fix-env): Remove.
706
a7f2b0b1
AR
7072006-06-06 David Reitter <david.reitter@gmail.com>
708
709 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
710
9dfda22f
JB
7112009-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
24d5010d
CY
7162009-04-20 Chong Yidong <cyd@stupidchicken.com>
717
718 * emacsclient.c (print_help_and_exit): Clarify argument placement
719 for short option names.
720
6133a1a9
DN
7212009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
722
723 * emacsclient.c (print_help_and_exit): Fix typo.
724
22749e9a
EZ
7252009-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
b57ac69d 7372009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
738
739 * emacsclient.c (main): Revert part of last change, so
740 drive-relative file names again work on Windows.
741
ba528748
SM
7422009-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
f213f2c0
GM
7482009-03-04 Glenn Morris <rgm@gnu.org>
749
750 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
751
8ee7d7be
CY
7522009-02-13 Sven Joachim <svenjoac@gmx.de>
753
754 * movemail.c: Include time.h unconditionally.
755 (main): Use time_t for time variables.
756
d228a23c
GM
7572009-02-11 Glenn Morris <rgm@gnu.org>
758
759 * movemail.c (mbx_delimit_begin): Also write the current time.
760
3f32be22
GM
7612009-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
e7534fc4
AR
7662009-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
9eb67dd9
CY
7712009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
772
773 * ebrowse.c (matching_regexp): Fix OB1 error.
774
b433a991
GM
7752009-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
81f82586
CY
7812009-01-01 Chong Yidong <cyd@stupidchicken.com>
782
783 * movemail.c (main): Fatal if hard links cannot be created.
784
fd95644b
DN
7852008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
786
787 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
788 checking.
789
67c1df01
DN
7902008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
791
792 * emacsclient.c: Include syswait.h instead of sys/types.h.
793
f0131492 7942008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 795
d4835507
JB
796 * emacsclient.c (WCONTINUED): New compatibility define
797 for older systems.
5445ab06 798
d50299d5
DN
7992008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
800
801 * emacsclient.c (main): Fix previous change.
802
52016647
JB
8032008-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
802bdb3c
DN
8082008-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.
45ce4570 815 (main): Fail in case of not being able to connect.
802bdb3c 816
c3f995a2
JB
8172008-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
636b507b
DN
8252008-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
448d4085
DN
8342008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
835
7b641241 836 * emacsclient.c: Include <arpa/inet.h>.
448d4085 837
938ebc4f
DN
8382008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
839
840 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
841
3d864325
GM
8422008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
843
844 * etags.c (add_regex): Pass correct length to re_compile_pattern.
845
48c2dc68
CY
8462008-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
d41784ee
EZ
8532008-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
322ca650
AS
8612008-10-31 Andreas Schwab <schwab@suse.de>
862
863 * emacsclient.c (main): Don't force sending tty when in eval mode.
864
8a8a7cd3
CY
8652008-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
f8baa639
JB
8702008-10-29 Juanma Barranquero <lekktu@gmail.com>
871
bc558f3e
JB
872 * emacsclient.c (EXTRA_SPACE): New macro.
873 (get_server_config, set_local_socket): Use it.
874
f8baa639
JB
875 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
876 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
877
f77b11a0
JB
8782008-10-29 Ulrich Mueller <ulm@gentoo.org>
879
880 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
881 instead of hardcoded /tmp.
882
dc1cd5f7
DN
8832008-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
7a09249b
EZ
8882008-09-30 Eli Zaretskii <eliz@gnu.org>
889
890 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
891 codepage.elc.
892
997ec957
CY
8932008-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
0d80bf29
FP
8982008-08-25 Francesco Potortì <pot@gnu.org>
899
900 * etags.c (main): Do not use static space for the tagfile string.
901
34a23e94
FP
9022008-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
48fad8e8
DN
9092008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
910
10d1d0af
JB
911 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
912 Do not special case for NS_IMPL_COCOA.
48fad8e8 913
6088b51f 9142008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
f4494e84
AR
915
916 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
917 (.m.o): Dispense with GNUstep-specific flags.
918
39b8bb9b
CY
9192008-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
7c2fb837
DN
9252008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
926
927 * etags.c:
928 * emacsclient.c: Remove VMS support.
929
9e2a2647
DN
9302008-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
7f619bab
DN
9362008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
937
938 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
939
32cc3925
AS
9402008-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
ba60bd44 9462008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
947
948 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
949 NS_IMPL_COCOA.
950
50863f58
DN
9512008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
952
ba60bd44
JB
953 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
954 Remove, unused.
50863f58 955
ba60bd44 9562008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
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
bba104c1
DN
9662008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
967
968 * movemail.c (main): Use int instead of WAITTYPE.
969
da007124
JB
9702008-07-05 Juanma Barranquero <lekktu@gmail.com>
971
972 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
973 Remove vmsproc.el and vms-patch.el.
974
c9fc02c7
JB
9752008-06-26 Juanma Barranquero <lekktu@gmail.com>
976
977 * makefile.w32-in (obj): Remove w32bdf.o.
978
f2a77c3a
DN
9792008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
980
981 * fakemail.c: Remove references to obsolete variables.
982
c2cd06e6
JM
9832008-06-02 Jim Meyering <meyering@redhat.com>
984
e914c409 985 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 986
e914c409 987 Remove useless if-before-free tests.
70fdbb46
JM
988 * ebrowse.c (xfree): Likewise.
989 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 990 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 991 * pop.c (pop_quit): Likewise.
c2cd06e6 992
01b996ad
JB
9932008-05-30 Juanma Barranquero <lekktu@gmail.com>
994
995 * makefile.w32-in (lisp2): Add minibuffer.elc.
996
2926947a
SM
9972008-05-29 Tom Tromey <tromey@redhat.com>
998
999 * etags.c (relative_filename): Treat "///" like "/" in filenames.
1000
10fea9c4
EZ
10012008-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
86914123
EZ
10072008-05-08 Eli Zaretskii <eliz@gnu.org>
1008
1009 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
1010
58bb7d50
EZ
10112008-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
63b9b605
GM
10162008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
1017
1018 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
1019
4429f88c
JR
10202008-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
14b11401
SM
10262008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
1029
95de358c
RF
10302008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
1031
1032 * vcdiff: Use mktemp (CVE-2008-1694).
1033
6948400c
JR
10342008-04-09 Jason Rumney <jasonr@gnu.org>
1035
1036 * makefile.w32-in (distclean, maintainer-clean): New targets.
1037
afd27920
GM
10382008-03-13 Glenn Morris <rgm@gnu.org>
1039
1040 * makefile.w32-in (VERSION): Set to 23.0.60.
1041
3d193d0f
JB
10422008-03-04 Juanma Barranquero <lekktu@gmail.com>
1043
1044 * .cvsignore: Add oo.
1045
1797886f
SM
10462008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
1047
1048 * etags.c (Perl_functions): Fix call to skip_spaces.
1049
9d2818d6
DN
10502008-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
79d48c1a
JR
10592008-02-23 Jason Rumney <jasonr@gnu.org>
1060
1061 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
1062 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 1063 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
1064 (lisp2): Add new languages.
1065 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
1066
9c61c734
JB
10672008-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
50f271cb
JB
10722008-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
d07529f3
JB
10772008-02-15 Juanma Barranquero <lekktu@gmail.com>
1078
1079 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
1080
45c1955d
DN
10812008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
1082
1083 * fakemail.c: Undo previous change.
1084
deeaffe1
DN
10852008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
1086
4624371d
DN
1087 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
1088 (main): Replace MAIL_PROGRAM_NAME with its value.
1089
d07529f3 1090 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 1091
9997dc15
SM
10922008-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
0c55bf82
JR
10972008-02-04 Jason Rumney <jasonr@gnu.org>
1098
1099 * makefile.w32-in (lisp1): Use (), not {}.
1100
31cdf671
CY
11012008-02-04 Tom Tromey <tromey@redhat.com>
1102
d07529f3
JB
1103 * etags.c: Add "GTY" as synonym for __attribute__.
1104 Update gperf output.
31cdf671 1105
9303f985 11062008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 1107
c4cc8b9a 1108 * makefile.w32-in (obj): Sync with src/Makefile.in.
aca7a3d2
MB
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
9303f985 11132008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 1114
d07529f3 1115 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 1116
d07529f3 11172008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 1118
290afd83 1119 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
1120 utf-8.elc, and latin-*.el.
1121
0ea5797a
SM
11222008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1123
bcc891c2 1124 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
1125 Allow the -d option under w32 again, for those rare cases where it
1126 actually does make sense.
1127
5ab73228
JB
11282008-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
702123a8
CY
11332008-01-22 Chong Yidong <cyd@stupidchicken.com>
1134
1135 * pop.c (pop_stat, pop_last): Fix last fix.
1136
76ed5e01
DN
11372008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
1138
1139 * movemail.c: Remove references to XENIX.
1140
e39a993c
DN
11412008-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
0ebec7d3
EZ
11472008-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
6eae3ad4
CY
11542008-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
78da39c6
GM
11592008-01-09 Glenn Morris <rgm@gnu.org>
1160
1161 * emacsclient.c: Add missing final newlines to message calls.
1162
34a14ec9 11632008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
1164
1165 * emacsclient.c (set_socket): Add final newline to socket error message.
1166
a408ea17
GM
11672008-01-04 Glenn Morris <rgm@gnu.org>
1168
07655e62
JB
1169 * ebrowse.c (version) <emacs_copyright>: New variable.
1170 Just use current year for copyright.
a408ea17
GM
1171
1172 * etags.c (print_version):
1173 * rcs2log (Copyright): Update to 2008.
1174
0dc7a8bc
JR
11752007-11-28 Jason Rumney <jasonr@gnu.org>
1176
1177 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
1178
880820fe 11792007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
1180
1181 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
1182
880820fe 11832007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
1184
1185 * pop.c (socket_connection): Move realhost out of #ifdefs.
1186 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
1187
880820fe 11882007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
1189
1190 * pop.c (socket_connection): Use getaddrinfo if available.
1191
880820fe 11922007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 1193
65841dd8 1194 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 1195 as the defaults in ctags are different from etags.
63f018cd 1196
880820fe 11972007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
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
7455effc
FP
12072007-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
04a697fe
DN
12122007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
1213
1214 * makefile.w32-in (obj): Remove sunfns.o.
1215
a2666217
JB
12162007-10-28 Juanma Barranquero <lekktu@gmail.com>
1217
1218 * makefile.w32-in (obj): Remove abbrev.o.
1219
7ce8671d
JB
12202007-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
d22b00e5
JR
12302007-10-25 Jason Rumney <jasonr@gnu.org>
1231
1232 * emacsclient.c (sock_err_message): New function.
1233 (set_tcp_socket): Use it.
1234
c4b858e3
JB
12352007-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
dbf60b07
JR
12402007-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
165e85b2
GM
12462007-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
c1b8e896
SM
12522007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1253
1254 * emacsclient.c (decode_options): -t implies -c.
1255
cb06b8dc
SM
12562007-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
c801ad51
JR
12632007-09-20 Jason Rumney <jasonr@gnu.org>
1264
1265 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
1266
31fa6595
SM
12672007-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
58573230
GM
12752007-09-12 Glenn Morris <rgm@gnu.org>
1276
1277 * Makefile.in (SOURCES, unlock, relock): Delete.
1278
bfd9ce71
GM
12792007-08-29 Glenn Morris <rgm@gnu.org>
1280
1281 * makefile.w32-in (VERSION): Increase to 23.0.50.
1282
8d9cc0b7
MB
12832007-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
12882007-08-29 Jason Rumney <jasonr@gnu.org>
1289
31fa6595 1290 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
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
880820fe 12972007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
1298
1299 * emacsclient.c (signal.h): New include.
1300 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
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.
8d9cc0b7
MB
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
31fa6595
SM
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
8d9cc0b7
MB
1333 environment and pwd to Emacs. Send current-frame to Emacs.
1334
ca4ea90f
EZ
13352007-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
cacc7b51
GM
13412007-07-25 Glenn Morris <rgm@gnu.org>
1342
1343 * Relicense all FSF files to GPLv3 or later.
1344
1345 * COPYING: Switch to GPLv3.
1346
880820fe 13472007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
1348
1349 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
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.
180f5b99 1353
9724908a
EZ
13542007-07-16 Eli Zaretskii <eliz@gnu.org>
1355
1356 * makefile.w32-in (clean): Don't delete *~.
1357
5cf9ca93
GM
13582007-06-07 Glenn Morris <rgm@gnu.org>
1359
1360 * etags.c (print_version): Add `emacs_copyright' string, for
1361 easier automatic updating.
1362
880820fe 13632007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
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
07016031
GM
13712007-04-26 Glenn Morris <rgm@gnu.org>
1372
1373 * makefile.w32-in (VERSION): Increase to 22.1.50.
1374
7dfc4cda
CY
13752007-06-02 Chong Yidong <cyd@stupidchicken.com>
1376
1377 * Version 22.1 released.
1378
880820fe 13792007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 1380
d620ddb3 1381 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 1382
0971f887
GM
13832007-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
880820fe 13882007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
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
d881944f 13932007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 1394
47dad44f 1395 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
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
880820fe 14012007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 1402
47dad44f 1403 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
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.
56c0d866 1407 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 1408
880820fe 14092006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
1410
1411 * etags.c (readline): When creating a relative file name from a
1412 #line directive, leave the file name alone. The previous
a7c29764 1413 behavior was to make it relative to the tags file directory,
18f9bf25
FP
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.
17d5f8a6 1417 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 1418
5e059fc1
EZ
14192006-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)
47dad44f 1423 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
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.
6808dce1 1429 (clean): Delete stamp_BLD.
5e059fc1 1430
880820fe 14312006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
1432
1433 * etags.c (C_entries): DEFUN names were longer by one: corrected.
1434
0e0dced5
JB
14352006-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
4472aef4
JB
14422006-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
12f7728e 14492006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
1450
1451 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
1452 Use $(USER32) for compatibility with Visual Studio .NET 2003.
1453
310afa17
JB
14542006-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
14632006-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
8c57275b 14702006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
1471
1472 * etags.c (readline): Check for double quote after #line.
1473
880820fe 14742006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
1475
1476 * etags.c (readline): sscanf could in principle return 2.
1477
880820fe 14782006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
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
4d91c8f9
JB
14842006-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
340d34a5
EZ
14902006-11-27 Eli Zaretskii <eliz@gnu.org>
1491
d620ddb3 1492 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 1493
7dce1990
JB
14942006-11-25 Juanma Barranquero <lekktu@gmail.com>
1495
1496 * makefile.w32-in (VERSION): New macro.
1497 (ECLIENT_CFLAGS): Add -DVERSION.
1498
410797a5 14992006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
1500
1501 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
1502
410797a5 15032006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 1504
4472aef4
JB
1505 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
1506 file names with forward slashes.
cb0297bb 1507
30aa95ce
JB
15082006-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
42073bfb
JB
15132006-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
32dd9283 15232006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 1524
32dd9283
JR
1525 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
1526 HAVE_INET_SOCKETS.
1527
1bbea9fc
JB
15282006-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
a48db427
JR
15382006-11-13 Jason Rumney <jasonr@gnu.org>
1539
1540 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
1541
21f89bb7 15422006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
1543
1544 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
1545
d5abc12c
JB
15462006-11-08 Juanma Barranquero <lekktu@gmail.com>
1547
ed4a3730
JB
1548 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
1549 FARPROC to avoid a compiler warning.
d5abc12c 1550
18b8c421
JB
15512006-11-07 Juanma Barranquero <lekktu@gmail.com>
1552
88b46d84
JB
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
18b8c421
JB
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
b03d27bd
JB
15602006-11-06 Juanma Barranquero <lekktu@gmail.com>
1561
21f89bb7 1562 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
1563 option --socket-name.
1564 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
1565 command line options.
21f89bb7 1566 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
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
b20d6154
EZ
15802006-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
9c92edca
JB
15852006-11-03 Juanma Barranquero <lekktu@gmail.com>
1586
1587 * emacsclient.c (initialize_sockets): Don't initialize Winsock
1588 more than once.
1589
b6ce9c46
JB
15902006-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
4418616b
JB
15952006-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
1e7823d0
JB
16012006-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
ebc20ca0
JB
16102006-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
880820fe 16152006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
1616
1617 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
1618 (close_winsock): Declare as __cdecl.
1619
880820fe 16202006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
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
e35fc962
JB
16262006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1627
d4fa60c8 1628 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
1629 (INVALID_SOCKET): Define.
1630 (initialize_sockets): Put #endif at the right place.
1631 (set_local_socket): Use progname, not argv[0].
1632
ecc54057
JB
16332006-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.
31fa6595 1653 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
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).
10d1d0af 1661 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
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
70846e2a
EZ
16662006-10-09 Eli Zaretskii <eliz@gnu.org>
1667
1668 * makefile.w32-in (../src/config.h): Fix error message.
1669
e2247cd0
EZ
16702006-09-30 Eli Zaretskii <eliz@gnu.org>
1671
1672 * .cvsignore: Add blessmail.
1673
45a2056c
JB
16742006-09-15 Jay Belanger <belanger@truman.edu>
1675
1676 * COPYING: Replace "Library Public License" by "Lesser Public
1677 License" throughout.
1678
880820fe 16792006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 1680
ecc54057 1681 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 1682 (readline): Change position on %n and \" in sscanf.
1f4edc37 1683
1520a816
JD
16842006-08-07 Masatake YAMATO <jet@gyve.org>
1685
ecc54057
JB
1686 * etags.c (readline): Expect sscanf returns 2, not 1.
1687
867cc23e
JD
16882006-08-07 Masatake YAMATO <jet@gyve.org>
1689
9984b9d5 1690 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
1691 File ended without newline causes infinite loop.
1692
6088b51f 16932006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
fc185ae6 1694
ecc54057 1695 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 1696
880820fe 16972006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
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
116e754b
AS
17042006-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
2381d38d
DN
17092006-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
880820fe 17152006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
1716
1717 * etags.c (absolute_filename): Free unused space (cosmetic change).
1718 (in_word_set): In C, also tag #undef symbols.
1719
7cb93181
EZ
17202006-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
0f29c66d
MY
17292006-06-04 Masatake YAMATO <jet@gyve.org>
1730
63fbb644 1731 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
1732 doesn't exist, is not seekable, not is failed in ftall.
1733
a941b26b
EZ
17342006-06-03 Eli Zaretskii <eliz@gnu.org>
1735
9781fb53
EZ
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
1b178b99
EZ
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
ae85efdb
EZ
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.
6088b51f 1751 (main): Initialize bp, to avoid compiler warnings.
ae85efdb 1752
a941b26b
EZ
1753 * makefile.w32-in: Delete traces of leditcfns.c.
1754
1755 * leditcfns.c: Remove file.
1756
880820fe 17572006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 1758
31fa6595
SM
1759 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
1760 Add comments explaining why the "kpop" service is never used.
8a6d5da7 1761
642c61f3
EZ
17622006-05-13 Eli Zaretskii <eliz@gnu.org>
1763
1764 * makefile.w32-in (lisp1): Add fringe.elc.
1765
880820fe 17662006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
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
7c47913b
DN
17722006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
1773
7fe8b491
DN
1774 * sorted-doc.c (main): Initialize docs to NULL.
1775
cdeda579
DN
1776 * yow.c (yow): Free buf.
1777
7c47913b
DN
1778 * etags.c: Delete c-indentation-style local variable.
1779
2ef88a94
RS
17802006-04-29 Richard Stallman <rms@gnu.org>
1781
5e5b35c7
RS
1782 * movemail.c (main): Check for negative value from `read'.
1783
2ef88a94
RS
1784 * fakemail.c (read_header): Give fatal error if input has no header.
1785
d65b4235
PE
17862006-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
f5565804
PE
17962006-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
90c9c343
AS
18032006-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
a6a2b5d4
EZ
18082006-02-23 Claudio Fontana <claudio@gnu.org>
1809
9e2bcc86
EZ
1810 * Makefile.in (install, uninstall): Add DESTDIR variable to
1811 support staged installations.
a6a2b5d4 1812
ef3f69f9
EZ
18132005-12-30 Eli Zaretskii <eliz@gnu.org>
1814
1815 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
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.
ef3f69f9
EZ
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
30cfcf7f
RS
18252005-12-22 Richard M. Stallman <rms@gnu.org>
1826
1827 * Makefile.in (update-game-score.o): Delete spurious final `\'.
1828
ecc54057 18292005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
1830
1831 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
1832 which was never opened.
1833
283879ef 18342005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
1835
1836 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
1837 header files.)
1838
880820fe 18392005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
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.
b9509712 1845 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
1846
18472005-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
41ea4df8
CY
18522005-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
5c4757d3
RS
18582005-09-15 Richard M. Stallman <rms@gnu.org>
1859
1860 * Makefile.in (update-game-score.o): New target.
10d1d0af 1861 Compile and link this program separately.
5c4757d3
RS
1862 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
1863
df1b2142
JR
18642005-09-11 Jason Rumney <jasonr@gnu.org>
1865
ecc54057 1866 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 1867 message instead.
31fa6595 1868 (../src/paths.h): Remove.
df1b2142 1869
c638055f
JB
18702005-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
9eff9fe3
PE
18782005-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
ec641d50
KR
18942005-07-13 Ken Raeburn <raeburn@gnu.org>
1895
0e0dced5
JB
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.
ec641d50 1899
a0ec7a4a
LK
19002005-07-04 Lute Kamstra <lute@gnu.org>
1901
1902 Update FSF's address in GPL notices.
1903
0e0dddda
EZ
19042005-06-13 Eli Zaretskii <eliz@gnu.org>
1905
1906 * makefile.w32-in ($(DOC)): Fix last change.
1907
5a77c8e2
EZ
19082005-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
1a8fb426
EZ
19142005-06-04 Eli Zaretskii <eliz@gnu.org>
1915
1916 * ntlib.h (fileno): Don't define if already defined.
1917
7235a58f
TTN
19182005-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
5063dbbf
YM
19232005-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
880820fe 19282005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
1929
1930 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
1931
ba025f6d
YM
19322005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1933
1934 * make-docfile.c: Undo previous change.
1935
a9eedf40
AS
19362005-02-04 Andreas Schwab <schwab@suse.de>
1937
0e0dced5
JB
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.
a9eedf40
AS
1941 (pfatal_and_delete): Likewise.
1942 (main): Adjust call to fatal.
1943 (xmalloc): Likewise.
1944
5a92a9eb
RS
19452005-01-29 Richard M. Stallman <rms@gnu.org>
1946
1947 * movemail.c (popmail): Don't use Errmsg as format string.
1948
e6973a25
ST
19492004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1950
0e0dced5 1951 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 1952
1bb3da38
AS
19532004-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
d4a38fdd
KS
19582004-11-17 Kim F. Storm <storm@cua.dk>
1959
1960 * etags.c: Undo last change.
1961
f2eb41c8
KS
19622004-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
880820fe 19722004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
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
880820fe 19772004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
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
880820fe 19832004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
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
19972004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
1998
ecc54057 1999 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
2000 Support the Lua scripting language <http://www.lua.org>.
2001
880820fe 20022004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 2003
d57727c9 2004 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
2005 for ease of use.
2006
3751eb00
RS
20072004-07-17 Richard M. Stallman <rms@gnu.org>
2008
2009 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
2010
86d373e6
JB
20112004-06-01 Juanma Barranquero <lektu@terra.es>
2012
2013 * makefile.w32-in (obj): Add image.c.
2014
80e26b66
TTN
20152004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
2016
0e0dced5 2017 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 2018
e6662c8b
JR
20192004-05-08 Jason Rumney <jasonr@gnu.org>
2020
2021 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
2022 command-lines.
2023
65396510
TTN
20242004-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,
86d373e6
JB
2031 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
2032 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 2033
c2bcfb19
TTN
20342004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2035
2036 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
2037
3f0656ff
TTN
20382004-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
238add5e
JR
20462004-05-03 Jason Rumney <jasonr@gnu.org>
2047
2048 * makefile.nt: Remove.
2049
b09c5608
EZ
20502004-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
d814862a
JB
20562004-04-23 Juanma Barranquero <lektu@terra.es>
2057
2058 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
2059
442a2160
PE
20602004-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
d5d66b7e
SM
20662004-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
bdfd0369
JB
20722004-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
a64387ee
JB
20842004-03-01 Juanma Barranquero <lektu@terra.es>
2085
2086 * makefile.w32-in (obj): Add fringe.c.
2087
9766d41b
PE
20882004-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
880820fe 20992004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
2100
2101 * emacsclient.c (decode_options): Fix handling of alternate editor.
2102
0734b0d0
SM
21032004-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
2a6fc2d9
RS
21082004-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
0734b0d0
SM
21132004-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
152b6e83
AS
21192004-01-08 Andreas Schwab <schwab@suse.de>
2120
2121 * emacsclient.c (main): Save errno from socket_status.
2122
e8228824
AS
21232004-01-04 Andreas Schwab <schwab@suse.de>
2124
2125 * emacsclient.c (main): Fix socket name when using another user.
2126
c9140662
PE
21272003-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
8babaa59
TTN
21352003-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
880820fe 21402003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
2141
2142 * emacsclient.c (quote_file_name): Print the result instead of
2143 returning it. Fix the return type accordingly.
1ae7cf5e
RS
2144 (main): With --eval, if no file name, read from stdin.
2145 Quote file names.
14ef7288 2146
f387bdea
RS
21472003-09-10 Richard M. Stallman <rms@gnu.org>
2148
07655e62 2149 * emacsclient.c (main): Use socket_name.
f387bdea 2150
880820fe 21512003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
2152
2153 * emacsclient.c (socket_name): New variable.
2154 (longopts, decode_options, print_help_and_exit):
2155 Handle --socket-name argument.
2156
0b7e7337
FP
21572003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
2158
783bcffa 2159 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
2160 token len is long enough.
2161
ac06b30b
DL
21622003-08-20 Dave Love <fx@gnu.org>
2163
2164 * Makefile.in: Remove obsolete references to alloca.
2165
32b0a3c6
JB
21662003-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
3867c42d
JB
21722003-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
7933722a
DL
21772003-05-22 Dave Love <fx@gnu.org>
2178
2179 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
2180 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
2181
463f55ee
DL
21822003-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
1b7a835b
JB
21882003-04-27 Oliver Scholz <alkibiades@gmx.de>
2189
0e0dced5 2190 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 2191
eec54bd7
SM
21922003-04-12 Stefan Monnier <monnier@cs.yale.edu>
2193
2194 * emacsclient.c (main): Use new safe location for socket.
2195
ff4bd681
JB
21962003-03-12 Tom Tromey <tromey@redhat.com>
2197
eec54bd7
SM
2198 * emacsclient.c (print_help_and_exit): Print to stdout.
2199 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
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
dd132e44
RS
22042003-02-15 Richard M. Stallman <rms@gnu.org>
2205
2206 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 2207 Don't include stdlib.h, because config.h does.
dd132e44 2208 (malloc, realloc): Declarations deleted.
ff4bd681 2209
dd132e44
RS
2210 * yow.c (yow): Cast result of malloc and realloc.
2211 (malloc, realloc): Declarations deleted.
2212
71ffc53a
JB
22132003-02-11 Juanma Barranquero <lektu@terra.es>
2214
2215 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
2216
0dfd93c0
AS
22172003-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
37d1e680
RS
22222003-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
c60ee5e7
JB
22282003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
2229
2230 * Makefile.in: Use @EXEEXT@ for Cygwin.
2231
b24e2dc7
DL
22322003-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
675d000f
RS
22392003-01-20 Richard M. Stallman <rms@gnu.org>
2240
2241 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2242 New targets.
2243
207aa3ff
KS
22442003-01-06 Kim F. Storm <storm@cua.dk>
2245
31fa6595 2246 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
2247 All uses changed.
2248
cf6d30d7
AI
22492002-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
f0131492 22542002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
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
85cce843
RS
22592002-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
2ccc4d34
RS
22642002-12-05 Richard M. Stallman <rms@gnu.org>
2265
2266 * getopt.c: Comment out include of libintl.h or gettext.h.
2267
c5992177
RS
22682002-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.
c60ee5e7 2277 (wchar.h): Include, maybe.
10d1d0af 2278 (attribute_hidden): Define if not defined.
c5992177 2279 (__getopt_initialized): Use attribute_hidden.
b166dcd8 2280 (__libc_argc, __libc_argv): Rename from original_argc, etc.
d7982012
JB
2281 (__getopt_nonoption_flags, nonoption_flags_max_len)
2282 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
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
4b5e69bd
SE
22952002-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
19fa03f3
RS
23002002-12-02 Richard M. Stallman <rms@gnu.org>
2301
2302 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
2303
7be215b4
JB
23042002-11-19 Ben Key <bkey1@tampabay.rr.com>
2305
29f538e6
BK
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.
7be215b4 2309
1998560a
DL
23102002-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
8b96caf3
RS
23192002-11-17 Richard M. Stallman <rms@gnu.org>
2320
2321 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
2322
59daa29a
DL
23232002-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.
9a007cb7
DL
2328
2329 * Makefile.in (YACC): Deleted.
2330
f1b443bf
AS
23312002-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
52402e4f
JB
23362002-10-04 Juanma Barranquero <lektu@terra.es>
2337
2338 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
2339
15dab115
MR
23402002-09-30 Markus Rost <rost@math.ohio-state.edu>
2341
2342 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
2343 completely.
2344
30be2360
SM
23452002-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.
3ecdcd59 2353 (main): Always use /tmp and non-qualified hostname.
30be2360 2354
4208da83
SM
23552002-09-25 Stefan Monnier <monnier@cs.yale.edu>
2356
2357 * emacsserver.c: Remove.
2358
3cf8c6aa
SM
23592002-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
880820fe 23642002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
2365
2366 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
2367 string that cannot be freed.
2368
880820fe 23692002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
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
880820fe 23802002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 2381
eec54bd7 2382 * etags.c (C_entries): Correct a problem with const C++ funcs.
b166dcd8 2383 (ignoreindent): Rename from noindentypedefs.
09cd1a74
FP
2384 (cjava, cplpl): They are now macros instead of local vars.
2385
880820fe 23862002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
2387
2388 * etags.c (HTML_labels): Tag ID= also.
2389
880820fe 23902002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
2391
2392 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
2393
ecc54057 2394 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
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.
b166dcd8 2399 (linebuffer_init): Rename from initbuffer. All callers changed.
87046df8
FP
2400 (pattern): Structure renamed to `regexp', member regex renamed to
2401 pattern.
2402 (node_st): Member pat renamed to regex.
eec54bd7
SM
2403 (pattern); New member force_explicit_name, for future use.
2404 Now always set to true, cannot be reset.
87046df8
FP
2405 (add_regex, regex_tag_multiline, readline): Use it.
2406 (main): Free some global structures.
8ee14629 2407 (fdesc): New member `written'.
87046df8
FP
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.
87046df8 2412
02ce3e80
SM
24132002-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
5fba5c21
CW
24182002-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
712eaee0
AS
24262002-07-30 Andreas Schwab <schwab@suse.de>
2427
2428 * Makefile.in (localstatedir): New variable.
2429
f0131492 24302002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
2431
2432 * b2m.pl: Fix regexp for finding return address fields.
2433
1e042160
SM
24342002-07-15 Stefan Monnier <monnier@cs.yale.edu>
2435
2436 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
2437
f0131492 24382002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 2439
02ce3e80 2440 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 2441
880820fe 24422002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
2443
2444 * b2m.pl: New file.
2445
880820fe 24462002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 2447
ecc54057 2448 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
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
880820fe 24572002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 2458
d76132d0
FP
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
eec54bd7 2463 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
2464 (make_tag): New function (was the disabled function new_pfnote).
2465 (make_C_tag): Use it.
2466
880820fe 24672002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
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
880820fe 24732002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
2474
2475 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
2476 (invalidate_nodes): Bug corrected.
2477 (print_help): Better help for regexps.
2478
7a8940da
JB
24792002-06-13 Juanma Barranquero <lektu@terra.es>
2480
2481 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
2482 font-core.elc.
2483
880820fe 24842002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
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.
10d1d0af 2498 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
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
880820fe 25062002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
2507
2508 * etags.c (add_regex): Better check for null regexps.
2509 (readline): Check for regex matching null string.
6772c8e1 2510 (find_entries): Reorganization.
6861f0e3 2511
880820fe 25122002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
2513
2514 * etags.c (scan_separators): Support all character escape
2515 sequences supported by Gcc.
02ce3e80 2516 (find_entries): Rewind unconditionally.
f0da41a6
FP
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
880820fe 25272002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 2528
88c71720 2529 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
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
88c71720 2539 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 2540 (TeX_commands): Skip comments.
10d1d0af 2541 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
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
880820fe 25502002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
2551
2552 * etags.c (main): Avoid a buffer overrun with sprintf.
2553
a71867c5
RS
25542002-05-30 Richard M. Stallman <rms@gnu.org>
2555
b166dcd8
KC
2556 * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
2557 (LIBS_MOVE): Rename from MOVE_LIBS.
a71867c5 2558
b7e67db6
PE
25592002-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
5f226e2c
EZ
25682002-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
9021bb49
GM
25732002-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
5167cfda
CW
25782002-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.
50496bd9 2583
5167cfda
CW
2584 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
2585 (main): New argument -d, for specifying directory.
2586 (usage): Document.
02ce3e80 2587 (get_user_id): Compute.
5167cfda
CW
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
880820fe 25942002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
2595
2596 * ebrowse.c (skip_initializer): Return void.
2597
973c3c87
CW
25982002-04-23 Colin Walters <walters@verbum.org>
2599
2600 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
2601 space.
2602
880820fe 26032002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 2604
ecc54057 2605 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
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
c901ceff
GM
26152002-04-21 Gerd Moellmann <gerd@gnu.org>
2616
2617 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
2618
c42d6dbd
EZ
26192002-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
880820fe 26242002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
2625
2626 * etags.c (find_entries): Bug fix in list management.
2627
880820fe 26282002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
2629
2630 * etags.c (get_language_from_filename): Add one argument.
2631 (strcaseeq): New function.
10d1d0af 2632 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
2633 comparison if called with appropriate args.
2634 (find_entries): Try with case insensitive match.
2635 (process_file): Bug fixed.
2636
880820fe 26372002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
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.
eec54bd7 2645 (language): Add the metasource member. Initializers changed.
c150db23
FP
2646 (invalidate_nodes): New function.
2647 (readline): Discard lines after having found a #line
02ce3e80 2648 directive pointing to an already tagged file. This handles the
c150db23
FP
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.
02ce3e80
SM
2654 (curfile, curfiledir, curtagfname, curlang, nocharno)
2655 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 2656 curfdp, pointers to file description structures.
c150db23
FP
2657 (longopts, main, print_help): Use the CTAGS conditional to include
2658 or exclude options that work on etags or ctags only.
02ce3e80
SM
2659 (process_file, find_entries, pfnote, add_node, put_entries)
2660 (readline): Use fdhead and curfdp.
c150db23
FP
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
e9d1f248
CW
26702002-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
7605f1bd
AS
26762002-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
e82defd1
CW
26822002-04-10 Colin Walters <walters@verbum.org>
2683
ecc54057 2684 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
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
e82defd1
CW
2699 * Makefile.in (gamedir, gameuser): New variables.
2700 (toplevel, UTILITIES): Add update-game-score.
2701 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
2702
5795b420
CW
27032002-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
cd553ffb 27122002-04-05 Colin Walters <walters@debian.org>
c150db23 2713
cd553ffb
CW
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.
07655e62 2722 (write_scores): Write it.
c150db23
FP
2723 (read_score): Handle arbitrary length data.
2724
b74bd4a3
EZ
27252002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
2726
2727 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
2728
fa8bc89d
GM
27292002-03-29 Gerd Moellmann <gerd@gnu.org>
2730
2731 * ebrowse.c (add_declarator, skip_initializer): New functions.
2732 (declaration): Use them.
2733
dd87b4cc
JR
27342002-03-28 Jason Rumney <jasonr@gnu.org>
2735
2736 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
2737
cd553ffb
CW
27382002-03-27 Colin Walters <walters@debian.org>
2739
2740 * update-game-score.c: New file.
2741
dfef6d49
PE
27422002-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
880820fe 27482002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 2749
4fff90e4 2750 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
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.
893a741e 2757
4fff90e4 27582002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 2759
893a741e
JR
2760 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
2761 compilers that don't optimize out dead code.
2762
880820fe 27632002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
2764
2765 * etags.c: Honour #line directives.
a7c29764 2766 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
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.
c150db23 2791 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
2792 mode, make the second work only on the right nodes.
2793
2794 * etags.c: Make all global variables static.
2795
50ce1f62
JB
27962002-02-25 Juanma Barranquero <lektu@terra.es>
2797
2798 * makefile.w32-in (lisp): Add missing backslash.
2799
82a399d2
JR
28002002-02-24 Jason Rumney <jasonr@gnu.org>
2801
2802 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
2803 using .elc files.
c4cc8b9a 2804 (lisp): Sync with list in src/Makefile.in.
82a399d2
JR
2805 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
2806
a279c920
PE
28072002-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
0caa685d
PE
28122002-02-03 Paul Eggert <eggert@twinsun.com>
2813
d7982012 2814 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
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
880820fe 28202002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
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
880820fe 28272001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
2828
2829 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
2830 * yow.c: Include <config.h>.
2831
880820fe 28322001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
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.
b166dcd8
KC
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.
eec54bd7 2842 (L_getit): Simplify by using get_tag.
a60e4de9
FP
2843 (Perl_functions, Postscript_functions, erlang_attribute): Use the
2844 modified LOOKING_AT.
b166dcd8 2845 (notinname): Remove '[' and added ')' to the recognised chars.
a60e4de9
FP
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
b166dcd8 2852 * etags.c (P_): Rename to __P for consistency with config.h.
a60e4de9
FP
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.
ecc54057
JB
2857 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
2858 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
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
880820fe 28642001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
2865
2866 * makefile.nt, makefile.w32-in: Remove mocklisp files.
2867
880820fe 28682001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 2869
b8509940
PJ
2870 * emacsserver.c: Conditionally include config.h.
2871
594aa066
PJ
2872 * fakemail.c: Likewise.
2873
e69233c2
PJ
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
69bfc389
PJ
2878 * ebrowse.c: Include stdlib.h and string.h conditionally.
2879
e4e34e31
EZ
28802001-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
880820fe 28842001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
2885
2886 * test-distrib.c: Fix previous change.
2887
fb5aa7ac
DL
28882001-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
880820fe 29042001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 2905
13dc0576 2906 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
2907 (LOOKING_AT): New macro.
2908 (Perl_functions, Python_functions, PHP_functions)
2909 (Scheme_functions, Texinfo_nodes): Use it.
2910 (Perl_functions): Use strneq.
b166dcd8 2911 (prolog_pred): Rename to prolog_pr.
13dc0576 2912 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 2913 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 2914 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
2915 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
2916
34e39c95
RS
29172001-12-11 Richard M. Stallman <rms@gnu.org>
2918
2919 * Makefile.in (clean): Don't delete ../etc/DOC*.
2920
880820fe 29212001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
2922
2923 * COPYING: Moved back.
2924
76054cc8
AI
29252001-11-30 Andrew Innes <andrewi@gnu.org>
2926
e94a3679
FP
2927 * makefile.w32-in (FACE_SUPPORT):
2928 (MOUSE_SUPPORT):
2929 (FLOAT_SUPPORT):
2930 (WINNT_SUPPORT):
76054cc8
AI
2931 (lisp): Reference .el files instead of .elc files, to simplify
2932 bootstrapping.
2933 ($(DOC)): Change dependency to just `make-docfile'.
2934
880820fe 29352001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
2936
2937 * COPYING: Removed.
2938
e8d6a09b
PE
29392001-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
9a190096
GM
29512001-11-16 Gerd Moellmann <gerd@gnu.org>
2952
2953 * ebrowse.c (matching_regexp): Escape '\\'.
2954
880820fe 29552001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
2956
2957 * Makefile.in: Add support for --program-prefix, --program-suffix
2958 and --program-transform-name options.
2959
6d8f7d5d
RS
29602001-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
84e70f78
KR
29662001-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
386ca361
MB
29732001-10-21 Miles Bader <miles@gnu.org>
2974
a3b10252
MB
2975 * make-docfile.c (struct rcsoc_state): New type.
2976 (read_c_string_or_comment): Add SAW_USAGE
386ca361 2977 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
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.
386ca361
MB
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
71431a0e
GM
29852001-10-20 Gerd Moellmann <gerd@gnu.org>
2986
6aa97356 2987 * (Version 21.1 released.)
71431a0e 2988
880820fe 29892001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
2990
2991 * b2m.c: Properly spell the name of Emacs.
2992
945220bd
MB
29932001-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
14242528
MB
29982001-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
9f5eb4a3
GM
30032001-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
e641b454
GM
30082001-10-13 Gerd Moellmann <gerd@gnu.org>
3009
b166dcd8 3010 * make-docfile.c (read_c_string_or_comment): Rename from
e641b454
GM
3011 read_c_string. Add parameter COMMENT. Read C-style comments.
3012 (scan_c_file): Handle doc strings in C comments.
3013
967d7793
AI
30142001-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
d682756a
JR
30202001-10-10 Jason Rumney <jasonr@gnu.org>
3021
07655e62 3022 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 3023
07655e62 3024 * makefile.nt (install): Ditto.
d682756a 3025
14a3dff7
GM
30262001-10-09 Gerd Moellmann <gerd@gnu.org>
3027
3028 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 3029
95bc7904 3030 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 3031
880820fe 30322001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
3033
3034 * profile.c: Include config.h, not ../src/config.h.
3035 Include systime.h, not ../src/systime.h.
3036
ab952a4f
GM
30372001-10-05 Gerd Moellmann <gerd@gnu.org>
3038
3039 * Branch for 21.1.
dff28924 3040
12c64503
GM
30412001-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.
02ce3e80
SM
3051 (register_namespace_alias): Change type of parameter OLD_NAME.
3052 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
3053 (check_namespace): New function.
3054 (enter_namespace): Call find_namespace with CONTEXT parameter.
3055 (match_qualified_namespace_alias): New function.
eec54bd7 3056 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 3057 While parsing qualified ident or type update namespace context and
12c64503 3058 restore it on exit.
eec54bd7
SM
3059 (parse_qualified_param_ident_or_type): Fix typo in comment.
3060 (globals): Change handling of namespace aliases.
3061 (version): Add year 2001.
12c64503 3062
990e1190
FP
30632001-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
f2e7e23e
AS
30682001-09-05 Paul Eggert <eggert@twinsun.com>
3069
3070 * rcs2log (Help, mainline code): Add new option -L FILE.
3071 (Copyright): Update year.
02ce3e80
SM
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
f2e7e23e
AS
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.
dff28924 3079 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
3080 rlogfile.
3081
3082 Append ';;' to the last arm of every case statement, for
3083 portability to ancient broken BSD shells.
3084
02ce3e80 3085 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
3086 (pository): New var. This fixes some bugs where repositories are
3087 remote, or have trailing slashes.
02ce3e80 3088 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 3089 about that possibility.
dff28924 3090 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 3091 the output.
dff28924 3092
75c911eb
EZ
30932001-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
5ae10f4a
EZ
30982001-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
0e4011d8 31032001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
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
3c88ae74
GM
31112001-07-20 Gerd Moellmann <gerd@gnu.org>
3112
3113 * grep-changelog: Remove RCS Id keyword.
3114
41848daa
GM
31152001-07-20 Juanma Barranquero <lektu@terra.es>
3116
6e07c0a5
GM
3117 * grep-changelog (parse_changelog): Add tests for defined values
3118 to quiet warning from Perl 5.005 or above.
177ab8ce 3119 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
3120 argument to prevent duplicate headers.
3121
3122 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 3123
467f1209
GM
31242001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
3125
3126 * emacsclient.c (print_help_and_exit): Fix help message for
3127 +LINE:COLUMN option.
3128
31292000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 3130
467f1209
GM
3131 * emacsclient.c (main): Add support for +LINE:COLUMN command line
3132 argument.
3133
bb24c64f
GM
31342001-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
880820fe 31392001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 3140
e335b66a
GM
3141 * etags.c (add_regex): Reset the whole newly allocated pattern
3142 buffer instead of the individual members. It's safer and works
ecc54057 3143 with XEmacs.
fa829470 3144
e335b66a 3145 * etags.1: Markups corrected.
fa829470 3146
6da5c7da
GM
31472001-05-08 Gerd Moellmann <gerd@gnu.org>
3148
02ce3e80 3149 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 3150
efbecf9d
GM
31512001-05-03 Gerd Moellmann <gerd@gnu.org>
3152
3153 * ebrowse.c (globals): Fix handling of namespace aliases.
3154
f4976ebc
EZ
31552001-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
23431241
DL
31602001-04-05 Dave Love <fx@gnu.org>
3161
3162 * emacsclient.c (fail): Don't return a value.
fa829470 3163 (main): Cast uid values for sprintf.
23431241 3164
476bf681
GM
31652001-04-03 Gerd Moellmann <gerd@gnu.org>
3166
b3f6107b
GM
3167 * emacsclient.c (fail, main): Don't use implicit int return type.
3168
476bf681
GM
3169 * b2m.c (main): Always return a value.
3170
ef53d75e
GM
31712001-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
425de386
AI
31772001-02-24 Andrew Innes <andrewi@gnu.org>
3178
3179 * makefile.w32-in: Fix copyright notice.
3180
880820fe 31812001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
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.
c2a642c0
FP
3186 (C_entries): Initialise typdefcblev to quiet compilers.
3187 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 3188
f6839838
AI
31892001-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
193fba87
AI
31992001-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
30526cc6
DL
32042001-01-31 Dave Love <fx@gnu.org>
3205
3206 * etags.c (in_word_set): Use `static' in definition (for pcc).
3207
880820fe 32082001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 3209
ecc54057 3210 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
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
914d7258
AI
32162001-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
880820fe 32212001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 3222
ecc54057
JB
3223 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
3224 #define it for the sake of XEmacs.
b28e26be
FP
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.
2f2c687b 3230 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
3231 WINDOWSNT, as this is the correct way to use it.
3232
880820fe 32332001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
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
13dc0576 3240 for dealing with nested class names.
8c463abe
FP
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
07655e62 3251 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
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
e26f9ced
EZ
32562001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
3257
3258 * etags.c: Add a coding: tag.
3259
a47b7816
GM
32602001-01-26 Gerd Moellmann <gerd@gnu.org>
3261
8c463abe 3262 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
3263 New variables.
3264 (matching_regexp): Use them instead of static variables in
3265 function scope.
3266
880820fe 32672001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa 3268
b166dcd8
KC
3269 * etags.c (struct tok): Rename from struct token.
3270 (token): Rename from tok.
d22a24fa
FP
3271 (structtype): Make it a local variable.
3272 [DEBUG]: Use assert.
3273 (xrnew): Change the synopsis.
b166dcd8 3274 (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
d22a24fa 3275 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 3276 (token): Buffer renamed to line.
d22a24fa 3277 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 3278 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
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
21c2bbe0
GM
32912001-01-22 Gerd Moellmann <gerd@gnu.org>
3292
3293 * ebrowse.c (xfree): New function.
3294 (member, declaration, globals): Use xmalloc instead of alloca.
3295
880820fe 32962001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
3297
3298 * etags.c (print_language_names): Print filenames in addition to
3299 suffixes.
3300
880820fe 33012001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e 3302
b166dcd8 3303 * etags.c (get_language_from_langname): Rename from
47df1a5e 3304 get_language_from_name.
b166dcd8 3305 (get_language_from_filename): Rename from get_language_from_suffix.
eec54bd7 3306 Now first looks for the complete file name.
47df1a5e
EZ
3307 (language): New member char **filenames.
3308 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 3309 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 3310 for makefiles.
13dc0576 3311 (Makefile_targets): New function.
b166dcd8 3312 (Texinfo_nodes): Rename from Texinfo_fuctions and made
47df1a5e
EZ
3313 it conformant to the style of the rest of the code.
3314
291c7e74
GM
33152001-01-13 Gerd Moellmann <gerd@gnu.org>
3316
3317 * make-docfile.c (write_c_args): Print newlines as spaces.
3318
0dac6924
AI
33192001-01-06 Andrew Innes <andrewi@gnu.org>
3320
3321 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
3322 of *.pdb.
3323
3e99d3b4
GM
33242001-01-03 Paul Eggert <eggert@twinsun.com>
3325
290afd83 3326 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
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
d6bb0c0d
GM
33332001-01-02 Gerd Moellmann <gerd@gnu.org>
3334
eec54bd7
SM
3335 * ebrowse.c (yyerror): Change to take two arguments.
3336 Add prototype. Change callers.
d6bb0c0d 3337
d5c00476 33382001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
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
7c89ea61
EZ
33552000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
3356
3357 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
3358
a6768cc5
GM
33592000-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
70de49cc
DL
33732000-12-13 Dave Love <fx@gnu.org>
3374
3375 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
3376
4e8b894c
AI
33772000-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
88257bc8
AI
33862000-11-30 Andrew Innes <andrewi@gnu.org>
3387
3388 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
3389 (install): Ditto.
3390
d19249e7
JR
33912000-11-23 Jason Rumney <jasonr@gnu.org>
3392
3393 * makefile.w32-in: Add targets for ebrowse.exe.
3394 (LOCAL_FLAGS): Add -DVERSION flag.
3395
7df6adc3
DL
33962000-09-25 Dave Love <fx@gnu.org>
3397
3398 * sorted-doc.c: Include config.h.
3399 [!HAVE_STDLIB_H]: Declare malloc.
3400
fe83b953
AI
34012000-09-14 Andrew Innes <andrewi@gnu.org>
3402
3403 * makefile.w32-in: Revert to Unix line endings.
3404
517699ca
DL
34052000-09-04 Dave Love <fx@gnu.org>
3406
3407 * movemail.c (index, rindex): Prototype conditionally.
3408
f8803e97
AI
34092000-09-03 Andrew Innes <andrewi@gnu.org>
3410
3411 * makefile.w32-in: Change to DOS line endings.
3412
f72adc12
EZ
34132000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3414
4034f3a8 3415 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
3416 [!F_OK]: Provide default definitions only after including both
3417 fcntl.h and unistd.h.
3418
f678f592
DL
34192000-08-29 Dave Love <fx@gnu.org>
3420
3421 * movemail.c: Revert previous change.
3422
5b671d04
EZ
34232000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3424
3425 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
3426
6fa86045
DL
34272000-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
746d9caf
AI
34322000-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
3b541489
EZ
34442000-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
e5acf0ca
GM
34492000-07-14 Gerd Moellmann <gerd@gnu.org>
3450
b166dcd8 3451 * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
e5acf0ca
GM
3452
3453 * etags.c (xmalloc, xrealloc): Make externally visible, for use
3454 by alloca.o.
3455
02ce3e80 3456 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 3457
4b92c49a
GM
34582000-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
831a6cb0
GM
34652000-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
53245ee2
DL
34702000-06-23 Dave Love <fx@gnu.org>
3471
3472 * ebrowse.c: Move config.h before other includes (which may use
3473 feature tests).
3474
dcbf2cd2
JM
34752000-06-14 Jim Meyering <meyering@lucent.com>
3476
3477 * grep-changelog: Fix typos in comments. Remove trailing blanks.
3478
f1c7754a
JR
34792000-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
5f1aea9a
GM
34862000-06-06 Gerd Moellmann <gerd@gnu.org>
3487
b166dcd8
KC
3488 * ebrowse.c (ymalloc): Rename from xmalloc.
3489 (yrealloc): Rename from xrealloc.
5f1aea9a 3490
5bf244f1
DL
34912000-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
ec82fb2f
GM
34982000-05-04 Gerd Moellmann <gerd@gnu.org>
3499
3500 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
3501
5c922ea7
EZ
35022000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
3503
02ce3e80
SM
3504 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
3505 Define to semi-colon.
5c922ea7 3506 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 3507 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
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
6142fdcb 35132000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
3514
3515 * etags.c (Texinfo_functions): New function.
3516 (lang_names): Install it.
3517 (Texinfo_suffixes): New variable.
3518
cb9215e4
GM
35192000-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
be0dbdab
GM
35252000-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
c5aa0fc2
AS
35322000-03-29 Andreas Schwab <schwab@suse.de>
3533
3534 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
3535
d054101f
GM
35362000-03-02 Gerd Moellmann <gerd@gnu.org>
3537
07e99590 3538 * etags.c (lisp_suffixes): Add `LSP'.
d054101f 3539
880820fe 35402000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 3541
eec54bd7 3542 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
3543 space, and use it throughout in place of isspace, thus preventing a
3544 potential signed char to int conversion problem.
10d1d0af 3545 (MSDOS): #undefine before redefining.
71cbb895 3546
880820fe 35472000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
3548
3549 * etags.c (many functions): Add prototypes.
3550
97fa0cc8
DL
35512000-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
880820fe 35562000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
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.
e4100b7f 3565
19e262bd 35662000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
3567
3568 * etags.c [WINDOWSNT]: #include <direct.h>
3569
19e262bd 35702000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 3571
19e262bd
FP
3572 * etags.c (all functions): Made them static.
3573 (all functions): Write prototypes.
e4100b7f 3574
55e30d2a
RS
35752000-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
c60ee5e7 35792000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
3580
3581 * emacsclient.c (socket_status): New function.
02ce3e80 3582 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
3583 for a socket based on the UID associated with the name.
3584
e4936aa9
GM
35852000-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
f0131492 35901999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
3591
3592 * movemail.c (popmail): Allow mailbox specifications of the
3593 form `po:username:hostname'.
3594
880820fe 35951999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
3596
3597 * etags.c (_GNU_SOURCE): Define only if undefined.
3598 (get_scheme): Declaration deleted.
02ce3e80 3599 (main): Error was called with an integer as second arg, instead of
e2081362
FP
3600 a char pointer.
3601 (canonicalize_filename): Bug removed.
3602
36031999-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
b05d3bee
GM
36081999-11-13 Gerd Moellmann <gerd@gnu.org>
3609
3610 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
3611
cb3a6c48
GM
36121999-11-03 Gerd Moellmann <gerd@gnu.org>
3613
3614 * etags.c (print_help): Change email address to send bugs to.
3615
6088b51f 36161999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
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).
eec54bd7 3627 (consider_token): Correct a bug which prevented tagging of enum
1c478461 3628 constants.
eec54bd7 3629 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
3630 st_C_ignore. This makes it simpler to work when cblev!=0.
3631
02ce3e80 3632 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
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.
a7c29764 3644 (print_help): Document the new behavior of --declarations.
1c478461
FP
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
36621999-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
880820fe 36701999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
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
36951999-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
880820fe 37041999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
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
02ce3e80 3709 corrects a bug. All callers changed.
1c478461
FP
3710 (canonicalize_filename): New function.
3711 (process_file, etags_getcwd, absolute_dirname): Use it.
b166dcd8 3712 (relative_filename, absolute_filename): Remove var shadowing.
1c478461 3713 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 3714 compilers quiet.
1c478461
FP
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.
02ce3e80 3720 (node): Typedef renamed from NODE.
1c478461
FP
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.
a64387ee 3726 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
3727 (get_language_from_name, get_language_from_interpreter)
3728 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 3729 (last_node): New global variable.
02ce3e80
SM
3730 (free_tree, add_node, put_entries, total_size_of_entries):
3731 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
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):
02ce3e80 3737 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
3738 (readline): Rewritten for new functionality.
3739
ecc54057 3740 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
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.
02ce3e80
SM
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
1c478461
FP
3752 of the global variable dbp.
3753 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
3754 standard indentation.
3755
02ce3e80
SM
3756 * etags.c (Python_suffixes, lang_names, Python_functions):
3757 Python support.
1c478461 3758 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
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.
1c478461
FP
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.
ecc54057 3768 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 3769
ecc54057 3770 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
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
d07529f3 3777 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
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
d07529f3 3782 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
3783 declare getcwd if HAVE_GETCWD.
3784 (consider_token): Dead break instruction removed.
3785
4ee9629e
PE
37861999-10-19 Paul Eggert <eggert@twinsun.com>
3787
3788 Add support for large files. Merge glibc 2.1.2.
1c478461 3789
4ee9629e 3790 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 3791 * movemail.c, pop.c:
4ee9629e
PE
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.
1c478461 3796
4ee9629e 3797 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 3798 * test-distrib.c:
4ee9629e
PE
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.
1c478461 3805
93c8d183
DL
38061999-10-15 Dave Love <fx@gnu.org>
3807
3808 * Makefile.in (pop.o): Depend on config.h.
3809
b358f91c
GM
38101999-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
362bc2da
DL
38171999-09-27 Dave Love <fx@gnu.org>
3818
3819 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
3820
74e4cb59
PR
38211999-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
362bc2da
DL
38261999-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
38331999-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
38421999-08-29 Richard Stallman <rms@gnu.org>
3843
3844 * emacsclient.c (print_help_and_exit): Mention --version.
3845
38461999-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
38511999-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
38571999-08-10 Gerd Moellmann <gerd@gnu.org>
3858
3859 * grep-changelog: New.
3860 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
3861
38621999-07-12 Richard Stallman <rms@gnu.org>
3863
3864 * Version 20.4 released.
3865
38661999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
3867
1c478461 3868 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
3869
38701999-06-23 Dave Love <fx@gnu.org>
3871
3872 * etags.c (erlang_attribute): Fix undefined variable usage (after
3873 Potorti).
3874
86e888c2 38751999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
3876
3877 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
3878 mapped to _chsize.
3879
38801999-04-29 Richard M. Stallman <rms@gnu.org>
3881
3882 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
3883
38841999-03-30 Dave Love <fx@gnu.org>
3885
3886 * sorted-doc.c (main): Split up tables. Modify the preamble
3887 somewhat.
3888
38891999-03-05 Geoff Voelker <voelker@cs.washington.edu>
3890
3891 * makefile.nt: Remove common multiple file compilation commands.
3892
38931999-02-26 Richard Stallman <rms@gnu.org>
3894
362bc2da
DL
3895 * Makefile.in (yow): Depend on epaths.h, not paths.h.
3896
3897 * yow.c: Refer to epaths.h.
3898
38991999-02-22 Simon Josefsson <jas@pdc.kth.se>
3900
3901 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
3902
39031999-01-27 Andrew Innes <andrewi@gnu.org>
3904
3905 * makefile.nt: Do make version comparison as strings.
3906
39071999-01-25 Richard Stallman <rms@gnu.org>
3908
3909 * emacsclient.c (xmalloc): Fix previous change.
3910
39111999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
3912
3913 * emacsclient.c (xmalloc): Declare to return long.
3914
39151999-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
39201999-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
39291999-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
39351998-12-08 Geoff Voelker <voelker@cs.washington.edu>
3936
3937 * makefile.nt: Do string comparision of _NMAKE_VER.
3938
c60ee5e7 39391998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
3940
3941 * makefile.nt: Compile multiple source files when possible.
3942
39431998-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
39481998-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
39541998-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
39601998-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
39661998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
3967
3968 * Version 20.3 released.
3969
39701998-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
39751998-07-30 Paul Eggert <eggert@twinsun.com>
3976
290afd83 3977 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 3978 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 3979
362bc2da
DL
39801998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
3981
3982 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
3983
39841998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
3985
3986 * Makefile.in: Properly terminate a comment.
3987
39881998-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
39961998-05-30 Geoff Voelker <voelker@cs.washington.edu>
3997
3998 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
3999
40001998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
4001
b166dcd8
KC
4002 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
4003 Force all file i/o to be in binary mode. Include ntlib.h.
362bc2da
DL
4004
40051998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
4006
4007 * make-docfile.c: Include <unistd.h> for chdir.
4008
40091998-04-25 Richard Stallman <rms@psilocin.gnu.org>
4010
4011 * etags.c (TEX_decode_env): Don't free the value getenv returns.
4012
40131998-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
40181998-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
40231998-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.
b166dcd8
KC
4035 (print_help_and_exit): Change return type to void.
4036 Forward declare it.
362bc2da
DL
4037 * b2m.c: Include <stdlib.h> if available.
4038 (main): Explicitly declare return type.
4039
362bc2da
DL
40401998-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
40461998-03-26 Richard Stallman <rms@psilocin.gnu.org>
4047
b166dcd8 4048 * pop.c (pop_getline): Rename from getline.
362bc2da
DL
4049
40501998-03-05 Richard Stallman <rms@psilocin.gnu.org>
4051
4052 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
4053 for the utilities.
4054
40551998-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
40621998-01-23 Andreas Schwab <schwab@gnu.org>
4063
4064 * movemail.c (main): Fix interwoven brace and cpp conditional
4065 nesting.
4066
362bc2da
DL
40671997-12-03 Paul Eggert <eggert@delysid.gnu.org>
4068
cb438d6e
JB
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
362bc2da 4072 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
4073 because it turns out that something is depending on it.
4074 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
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
40801997-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
40851997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 4086
362bc2da
DL
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
b166dcd8
KC
4091 because it turns out that something is depending on it.
4092 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
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
40991997-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
41061997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4107
b166dcd8
KC
4108 * pop.c (fullwrite): Get rid of an extra call to write.
4109 Problem pointed out by Chiaki Ishikawa.
362bc2da
DL
4110
41111997-10-16 Dave Love <d.love@dl.ac.uk>
4112
ecc54057
JB
4113 * etags.c (L_getit): Always make named tags so that Emacs
4114 completion on symbols containing `:' etc. works.
4115 (get_scheme): Likewise.
362bc2da
DL
4116
41171997-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
41221997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4123
4124 * Version 20.2 released.
4125
41261997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4127
4128 * Version 20.1 released.
4129
41301997-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
41361997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4137
4138 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
4139
41401997-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
41451997-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
41491997-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
41561997-08-08 Geoff Voelker <voelker@cs.washington.edu>
4157
4158 * makefile.nt (lisp): Update paths to lisp files that have moved.
4159
41601997-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
41681997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4169
4170 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
4171
41721997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4173
4174 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
4175 Kerberos V5 for movemail, including detection of V4 and V5 header
4176 files and libraries.
362bc2da 4177 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 4178 declarations of string functions.
362bc2da 4179 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 4180 V5 API rather than the old one.
362bc2da 4181 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
4182 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
4183 with a constant in a header file.
362bc2da
DL
4184
4185 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
4186 Kerberos V5 for movemail, including detection of V4 and V5 header
4187 files and libraries.
362bc2da
DL
4188
41891997-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.
1c478461 4194
362bc2da
DL
41951997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4196
4197 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
4198
41991997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4200
4201 * movemail.c (rindex): Add declaration.
4202
d57727c9 42031997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
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
42111997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4212
4213 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
4214
42151997-06-25 Paul Eggert <eggert@twinsun.com>
4216
4217 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
4218
42191997-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
880820fe 42241997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4225
4226 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
4227 defined inside etags.c if HAVE_CONFIG_H is defined.
4228
880820fe 42291997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4230
ecc54057 4231 * etags.c (logical): Type name changed to bool.
362bc2da
DL
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
880820fe 42411997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
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".
b166dcd8
KC
4249 (fvdef): Rename from funcdef. Also some constants renamed.
4250 All users changed.
362bc2da
DL
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.
1c478461 4255
880820fe 42561997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
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.
b166dcd8 4264 (prolog_white, erlang_white): Rename to eat_white, callers changed.
362bc2da 4265
880820fe 42661997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
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.
10d1d0af 4274 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 4275
880820fe 42761997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
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
880820fe 42821997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4283
4284 * etags.c (TeX_functions): Cleaned up.
4285 (tex_getit): Removed.
4286
42871997-05-13 Paul Eggert <eggert@twinsun.com>
4288
4289 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 4290 non-files within the RCS subdirectory.
362bc2da 4291
880820fe 42921997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
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
880820fe 43021997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4303
ecc54057 4304 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
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
43111997-05-11 Paul Eggert <eggert@twinsun.com>
4312
4313 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
4314 Don't prepend $nl since this causes some shells to generate the
4315 empty string when IFS is $nl.
362bc2da 4316 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 4317 PC-based shells mishandle CR.
362bc2da
DL
4318 (initialize_fullname): Set NIS_PATH to the empty string before invoking
4319 nismatch, in case it's set to some nonstandard value.
1c478461 4320
362bc2da
DL
43211997-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
880820fe 43261997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
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
43391997-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
880820fe 43441997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
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
880820fe 43511997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
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.
1c478461 4357
362bc2da
DL
43581997-03-21 Paul Eggert <eggert@twinsun.com>
4359
4360 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
4361 of the form ,*, or *_; they are probably RCS lock files.
4362 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
4363 they are used by rcsfreeze.
4364
880820fe 43651997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4366
2f2c687b 4367 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
4368
43691997-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
43781997-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
43831997-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.
1c478461 4390
362bc2da
DL
4391 * Makefile.in (movemail): Link with getopt.
4392
43931997-01-20 Paul Eggert <eggert@twinsun.com>
4394
ecc54057 4395 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
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
44031997-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
44091996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4410
4411 * etags.c (streq, strneq): Use == NULL rather than !.
4412
44131996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
4414
4415 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 4416 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
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
ecc54057 4423 lock and unlock mailboxes.
362bc2da
DL
4424 (mail_spool_name): New function.
4425
4426 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
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.
362bc2da
DL
4430
44311996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4432
4433 * pop.c (socket_connection): Free realhost after using it.
4434
880820fe 44351996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4436
4437 * etags.c (C_entries): Test tok.valid. This handles some
4438 particular cases involving function declarations that failed.
4439
44401996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 4441
362bc2da
DL
4442 * pop.c (socket_connection):
4443 gethostbyname may return a pointer to static data.
4444 krb_realmofhost can clobber it. So copy it.
4445
880820fe 44461996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
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
880820fe 44531996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
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.
6088b51f 4461 (xrealloc): fatal was called with wrong number of arguments.
362bc2da 4462
880820fe 44631996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4464
4465 * etags.c (relative_filename): Bug corrected.
4466 (etags_getcwd): Avoid warning of unused variable.
b166dcd8 4467 (C_entries, consider_token): Add support for enum labels.
362bc2da
DL
4468
44691996-11-03 Paul Eggert <eggert@twinsun.com>
4470
4471 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 4472 repository file names.
362bc2da
DL
4473
44741996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
4475
4476 * emacsserver.c: Fix 1996-09-02 change.
4477
44781996-10-12 Paul Eggert <eggert@twinsun.com>
4479
4480 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 4481 option', since CVS says 'invalid option'.
362bc2da
DL
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
44861996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4487
4488 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
4489
880820fe 44901996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
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
44991996-09-29 Dave Love <d.love@dl.ac.uk>
4500
4501 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 4502 as well as earlier CVSs and RCS.
362bc2da
DL
4503
45041996-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
45091996-09-25 Paul Eggert <eggert@twinsun.com>
4510
4511 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 4512 whether to append -zLT.
362bc2da
DL
4513
45141996-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
45191996-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
45241996-09-06 Erik Naggum <erik@naggum.no>
4525
4526 * emacsserver.c (main): Declare `fromlen' as size_t.
4527
45281996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4529
4530 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
4531
45321996-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.
ecc54057 4542 (xmalloc, fatal, error): New functions.
362bc2da
DL
4543 (delete_socket, handle_signals): New functions.
4544 (progname, socket_name): New variables.
194d44e7 4545 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
362bc2da
DL
4546
45471996-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.
1c478461 4554
362bc2da
DL
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
45631996-08-31 Geoff Voelker <voelker@cs.washington.edu>
4564
4565 * makefile.nt (lisp): Include dos-nt.elc.
4566
45671996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4568
4569 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
4570
45711996-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
45761996-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
45861996-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
45901996-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.
10d1d0af 4599 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
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.
10d1d0af 4603 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
4604
4605 Match `revision' line of rlog output more accurately.
4606
4607 Add -c, -v options.
4608
46091996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
4610
4611 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
4612
46131996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4614
4615 * Version 19.33 released.
4616
46171996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4618
4619 * Version 19.32 released.
4620
46211996-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
46261996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
4627
4628 * makefile.nt (clean): Use OBJDIR macro.
4629
46301996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4631
4632 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
4633
c60ee5e7 46341996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 4635
ecc54057 4636 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
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
46401996-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
46451996-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
46501996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
4651
4652 * makefile.nt: Remove all references to wakeup.
4653
880820fe 46541996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4655
4656 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
4657 explicit, mutable, typename.
4658
46591996-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
46641996-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
46721996-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
46771996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4678
4679 * etags.c (main): Copy cwd when appending slash.
4680
46811996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
4682
4683 * Version 19.31 released.
4684
880820fe 46851996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
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
c60ee5e7 46911996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4692
4693 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
4694
c60ee5e7 46951996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4696
4697 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6088b51f 4698 (movemail.exe, fakemail.exe): Now built under Win32.o.
362bc2da
DL
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
47081996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4709
b166dcd8 4710 * pop.c (SEND, RECV): Rename from send, recv.
362bc2da
DL
4711 (pop_open, pop_trash): Make the trash_started code unconditional.
4712 (socket_connection): Delete casts to void.
4713
47141996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4715
b166dcd8
KC
4716 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
4717 Definitions copied from lisp.h.
362bc2da
DL
4718
47191996-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.
1c478461 4740 Macro SOCKET_ERROR undefined.
362bc2da
DL
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
47581996-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
47621996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4763
4764 * etags.c [WINDOWSNT]: Include io.h.
4765
47661996-04-10 Geoff Voelker <voelker@cs.washington.edu>
4767
4768 * makefile.nt (CTAGSOBJ): Compile with regexp support.
4769
47701996-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
47781996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4779
4780 * etags.c (absolute_filename): Use absolutefn.
4781
47821996-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
47941996-03-27 Geoff Voelker <voelker@cs.washington.edu>
4795
4796 * makefile.nt: Change uses of del to $(DEL).
4797
880820fe 47981996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4799
4800 * etags.c (just_read_file): Reset lineno and charno on entry.
4801
48021996-03-15 Anders Lindgren <andersl@csd.uu.se>
4803
4804 * etags.c: Prolog language totaly rewritten.
ecc54057 4805 (Prolog_functions): Rewritten from scratch.
362bc2da 4806 (skip_comment, prolog_getit): Removed.
ecc54057
JB
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.
362bc2da 4811
880820fe 48121996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
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.
1c478461 4817
362bc2da
DL
48181996-03-08 Anders Lindgren <andersl@csd.uu.se>
4819
10d1d0af
JB
4820 * etags.c: New Language Erlang added.
4821 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
4822 (erlang_white): New functions.
362bc2da
DL
4823 (Erlang_suffixes): New suffix list.
4824 (lang_names): Erlang entry added.
4825 (prolog_getit): Accepts headers spanning several lines.
4826 Always name tags.
b166dcd8 4827 (Prolog_functions): Remove incorrect compensation for
362bc2da
DL
4828 newline characters.
4829 (readline_internal): Zero-terminate last line.
4830
48311996-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
48361996-03-18 Geoff Voelker <voelker@cs.washington.edu>
4837
4838 * ntlib.c (getpid): New function.
4839
48401996-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
48451996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
4846
4847 * tcp.c (main): Convert port to network byte order.
4848
48491996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
4850
4851 * pop.c (pop_retrieve, getline): Avoid type clashes.
4852
48531996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
4854
4855 * etags.c (enum sym_type, anonymous enum): Delete final comma.
4856
48571996-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
362bc2da
DL
48631996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
4864
4865 * etags.c (consider_token): Fix typo in expression.
4866
48671996-01-04 Paul Eggert <eggert@twinsun.com>
4868
4869 * etags.c (substitute): Fix spelling in message.
4870
48711996-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.
1c478461 4876
362bc2da
DL
48771996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
4878
4879 * emacsserver.c (main): Do chmod based on existing permission.
4880
48811995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4882
4883 * Makefile.in (install): Turn on read/execute permission.
4884
48851995-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
48901995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4891
b166dcd8 4892 * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
362bc2da 4893
880820fe 48941995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
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
880820fe 49061995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4907
4908 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
b166dcd8
KC
4909 (gperf): Add keywords for Objective C and GNU macros.
4910 (sym_type): Add values to account for Objective C and GNU macros.
362bc2da
DL
4911 (begtk): The '@' character can start a token.
4912 (objdef, methodlen, objtag): New variables for Objective C.
b166dcd8 4913 (consider_token, C_entries): Add code for Objective C.
362bc2da
DL
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
880820fe 49231995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 4924
2f2c687b 4925 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 4926 compile with regexp support enabled.
362bc2da
DL
4927
49281995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4929
4930 * Version 19.30 released.
4931
49321995-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
49371995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4938
4939 * Makefile.in (regex.o): Depend on ../src/config.h.
4940
49411995-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
49461995-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
880820fe 49521995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4953
b166dcd8
KC
4954 * etags.c (get_lang_from_name, get_lang_from_interpreter)
4955 (get_lang_from_suffix): New functions.
362bc2da
DL
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
880820fe 49651995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4966
4967 * etags.c (lowcase): Use the standard tolower function.
4968 (substitute): Remove some wrong and some useless code related with
a64387ee 4969 escape '\' character in regexp replacement string.
b166dcd8 4970 (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
362bc2da
DL
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.
b166dcd8 4975 (C_entries, find_entries): Add comments about memory leakage.
362bc2da
DL
4976 (add_node): Dead code removed.
4977
49781995-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
49831995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4984
4985 * test-distrib.c: Add #undef for open, close, read, write.
4986
49871995-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
880820fe 49931995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
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
1c478461 5001 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
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
1c478461 5005 removed from pfnote call, some code cleanup.
362bc2da
DL
5006 (relative_filename): Free temporary space allocated by concat.
5007
50081995-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
50131995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
5014
5015 * fakemail.c (xrealloc): Change cast to match return type.
5016
50171995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5018
5019 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
5020
50211995-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
50261995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5027
5028 * movemail.c (main): Mention lock file name in error message.
5029
50301995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5031
5032 * profile.c (gettimeofday): New function, defined if necessary.
5033
50341995-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
50391995-07-17 Michael Shields <shields@tembel.org>
5040
5041 * Makefile.in.in (tags): Synonym for `TAGS'.
5042
50431995-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
362bc2da
DL
50481995-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
50541995-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
50601995-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
50661995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5067
5068 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 5069 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
5070
50711995-06-28 Paul Eggert <eggert@twinsun.com>
5072
5073 * rcs2log (CVSROOT, repository):
5074 Allow remote repositories a la CVS 1.4.
5075
880820fe 50761995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5077
2f2c687b
JB
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.
362bc2da
DL
5085
50861995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5087
5088 * movemail.c (main): Add newline in usage message.
5089
50901995-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
880820fe 50941995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5095
5096 * etags.c (find_entries): Rewind before rereading the input file.
5097
50981995-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
51051995-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
51101995-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
51171995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
5118
5119 * make-docfile.c [MSDOS]: #undef chdir.
5120
51211995-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
880820fe 51261995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5127
5128 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
5129 compatibility problems.
5130
51311995-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
51361995-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
880820fe 51491995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
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
51541995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5155
5156 * movemail.c (main): Increase lock timeout to five minutes.
5157
51581995-05-06 Geoff Voelker <voelker@cs.washington.edu>
5159
5160 * makefile.nt (obj): Use .c files.
5161
51621995-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
51751995-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
51821995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
5183
5184 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
5185 realclean.
5186
51871995-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
51921995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5193
5194 * emacsclient.c (main): Add argv[0] to an error message.
5195
51961995-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
52041995-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
52111995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5212
5213 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
5214
52151995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5216
b166dcd8 5217 * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
362bc2da
DL
5218 (alloca.o, regex.o): Use BASE_CFLAGS.
5219
52201995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5221
5222 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
5223
52241995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
5225
5226 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
b166dcd8 5227 (SOURCES, distclean): Remove obsolete references to aixcc.
362bc2da
DL
5228
52291995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5230
5231 * aixcc.lex: File deleted--surely obsolete now.
5232
52331995-03-23 Paul Eggert <eggert@twinsun.com>
5234
5235 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
5236 portability to mawk and nawk.
5237
52381995-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
52431995-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.
07655e62 5248 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
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
52531995-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
880820fe 52591995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5260
2f2c687b 5261 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
5262 (readline_internal): Do not access the char before start of line.
5263
880820fe 52641995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
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.
b166dcd8 5270 (TOKEN): Add a new member: valid.
362bc2da 5271
880820fe 52721995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
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
880820fe 52771995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
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
52901995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
5291
b166dcd8 5292 * Makefile.in.in (maintainer-clean): Rename from realclean.
362bc2da 5293
880820fe 52941995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5295
5296 * etags.c (pfnote): Initialise been_warned in the node.
b166dcd8 5297 (C_entries): Remove a speed hack for the sake of clarity.
362bc2da 5298
880820fe 52991995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
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
880820fe 53051995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5306
5307 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
194d44e7
JB
5308 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
5309 (constantypedefs, update, vgrind_style, no_warnings)
5310 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
362bc2da
DL
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.
194d44e7
JB
5329 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
5330 (TEX_getit, prolog_getit): Use dinamic allocation for storing
362bc2da
DL
5331 the tag instead of a fixed size buffer.
5332
53331995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5334
5335 * movemail.c (main): Skip past the colon in inname.
5336
880820fe 53371995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
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
880820fe 53431995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
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
880820fe 53511995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
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
53601995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5361
5362 * etags.c (C_entries): Ignore carriage return at end of line.
5363
53641994-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
53711994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
5372
5373 * yow.c: Include program name in error messages.
5374
53751994-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
53821994-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
53881994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5389
5390 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
5391
880820fe 53921994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5393
2f2c687b
JB
5394 * etags.c (print_help): Print --regex usage for ctags also.
5395 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 5396
880820fe 53971994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
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.
b166dcd8 5416 (main): Change the way of dealing with arguments on the command
362bc2da
DL
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
880820fe 54261994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5427
5428 * etags.c (<errno.h>): #include added.
5429 (etags_getcwd): Check return value from getcwd.
5430
54311994-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
d57727c9 54361994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
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
54481994-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
880820fe 54581994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5459
2f2c687b 5460 * etags.c (prestr, substr): Return a logical type.
362bc2da 5461 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 5462 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
5463 (C_entries): Now we can use Tom Hageman patch for extern "C".
5464
54651994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5466
5467 * movemail.c: PopServer renamed to popserver throughout.
5468
54691994-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
54741994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5475
5476 * movemail.c: Don't declare malloc.
5477
54781994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5479
5480 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 5481 avoid syntax error.
362bc2da
DL
5482
54831994-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
54971994-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
b166dcd8
KC
5505 * pop.c: Include <des.h> before <krb.h>, rather than after.
5506 They should be interchangeable, and indeed the inclusion is done in
362bc2da
DL
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
55161994-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
55341994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5535
b166dcd8
KC
5536 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
5537 Don't call kill with pid 0. Handle EINTR when receiving messages.
362bc2da
DL
5538
55391994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
5540
5541 * Makefile.in.in (regex.o): Use full path to find regex.c.
5542
880820fe 55431994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5544
2f2c687b
JB
5545 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
5546 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
5547
55481994-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
e43b1141
GM
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.
362bc2da
DL
5562
55631994-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
b166dcd8 5568 * Makefile.in.in (libexecdir): Rename from libdir.
362bc2da 5569
880820fe 55701994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5571
5572 * etags.c (C_entries): Name the #define's that are macros.
5573
55741994-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
880820fe 55791994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
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
55881994-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
56031994-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
56081994-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
56151994-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
56201994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5621
5622 * timer.c: Don't declare malloc.
5623
56241994-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
c60ee5e7 56301994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
5631
5632 * etags.c (etags_getcwd): Use getcwd if available.
5633
56341994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5635
5636 * Version 19.27 released.
5637
56381994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5639
5640 * Version 19.26 released.
5641
56421994-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
56471994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
5648
5649 * rcs2log: Use <> to delimit email address.
5650
56511994-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
56561994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5657
5658 * movemail.c: Include config.h first thing.
5659
56601994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5661
5662 * emacsserver.c (main): Add casts to avoid warnings.
5663
56641994-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
56691994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5670
5671 * emacsclient.c (main): New local var progname saves argv[0].
5672
56731994-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
56781994-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
56851994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5686
5687 * timer.c (xmalloc): New function.
5688
56891994-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
56941994-07-08 Dave Love (d.love@dl.ac.uk)
5695
2f2c687b 5696 * etags.c (takeprec): Recognise `character*(*) function'.
362bc2da 5697
880820fe 56981994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5699
ecc54057
JB
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.
362bc2da
DL
5702
57031994-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
57101994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5711
5712 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
5713
880820fe 57141994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5715
5716 * etags.c (absolute_filename): Remove infinite loop bug when
5717 accessing files in directories whose name begins with a dot.
5718
880820fe 57191994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5720
5721 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
5722
57231994-06-01 Morten Welinder (terra@diku.dk)
5724
5725 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
5726 location of data directory.
5727
57281994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5729
5730 * Version 19.25 released.
5731
57321994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5733
5734 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
5735
57361994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5737
5738 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
5739
57401994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5741
5742 * Version 19.24 released.
5743
57441994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5745
5746 * make-docfile.c (write_c_args): Put `default' in upper case.
5747
57481994-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
57531994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
5754
5755 * etags.c [!MSDOS]: Declare popen.
5756
57571994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5758
5759 * b2m.c (main): Avoid crash if argc is 1.
5760
57611994-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
57671994-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
57711994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5772
5773 * Makefile.in.in: Fix out of date comment.
5774
57751994-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
57821994-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
57881994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
5789
5790 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
5791
57921994-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.
b166dcd8 5798 (configuration): Rename from configname.
362bc2da
DL
5799
58001994-04-30 Morten Welinder (terra@diku.dk)
5801
5802 * etags.c (find_entries): Treat `*.cpp' as C++ files.
5803
58041994-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
58101994-04-29 Morten Welinder (terra@diku.dk)
5811
5812 * hexl.c [MSDOS]: Don't define proto type for exit.
5813
58141994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5815
5816 * b2m.c: Don't include string.h or strings.h.
5817
58181994-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
58231994-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
58281994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5829
5830 * fakemail.c (readline): Fix updating of p when buffer grows.
5831
58321994-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
58371994-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
880820fe 58421994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5843
2f2c687b 5844 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 5845
880820fe 58461994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5847
2f2c687b 5848 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
5849
58501994-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
58591994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5860
5861 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
5862
880820fe 58631994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5864
5865 * etags.c (etags_getcwd): Initialize bufsize.
5866
58671994-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
58721994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
5873
5874 * movemail.c (main): Use setuid, not seteuid.
5875
58761994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5877
5878 * etags.c: #undef static.
5879
880820fe 58801994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5881
b166dcd8 5882 * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
2f2c687b 5883 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
b166dcd8 5884 (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
362bc2da
DL
5885 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
5886 TeX_functions, Prolog_functions.
2f2c687b
JB
5887 (inf): No more a global variable.
5888 (C_entries): Take 2nd parameter `inf' instead of using the global one.
b166dcd8
KC
5889 (find_entries): Add the cp1 var for optimisation.
5890 (find_entries): Add more suffixes for assembler files.
362bc2da
DL
5891 (Asm_funcs): Now finds labels even without an ending colon.
5892
880820fe 58931994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5894
2f2c687b
JB
5895 * etags.c (main): Use etags_getcwd for compatibility.
5896 (etags_getcwd): New function.
362bc2da
DL
5897
58981994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5899
5900 * Makefile.in (etags, ctags): Pass -D for VERSION.
5901
880820fe 59021994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5903
2f2c687b
JB
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.
362bc2da 5909
880820fe 59101994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5911
2f2c687b 5912 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
5913 (relative_filename, absolute_filename, absolute_dirname):
5914 functions added to compute filenames in tags files.
2f2c687b 5915 (process_file): Filenames in tags file are relative to the
362bc2da 5916 directory where the tags file is (useful with the -o option).
2f2c687b 5917 (main): Initialise the outfiledir var.
b166dcd8 5918 (TYPEDST): Add the `tignore' value.
2f2c687b 5919 (C_entries): Corrected various small bugs.
362bc2da
DL
5920
59211994-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.
1c478461 5926
362bc2da
DL
59271994-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
880820fe 59321994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5933
b166dcd8 5934 * etags.c (TYPEDST): Add the `tignore' value.
2f2c687b 5935 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
5936 `extern "C" {' construction (patch by Tom R.Hageman).
5937
59381994-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
177c0ea7 59431994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
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
59491994-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
59551994-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
59691994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
5970
5971 * profile.c (main, get_time): Don't crash on invalid input.
5972
59731994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
5974
5975 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 5976 (main): Exit on EOF.
362bc2da 5977
880820fe 59781994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5979
a64387ee 5980 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
5981
59821994-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
880820fe 59861994-02-14 Francesco Potortì (pot@fly)
362bc2da 5987
b166dcd8 5988 * etags.c (absolute_pathnames, cwd): Add global vars.
2f2c687b 5989 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 5990 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 5991 (print_help): Alphabetically order the options.
2f2c687b 5992 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
5993
59941994-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
59991994-02-07 Christian Lynbech (lynbech@avignon)
6000
6001 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
6002
60031994-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
60101994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 6011
88c71720 6012 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 6013 Lisp docstrings do.
88c71720 6014 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
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
880820fe 60181994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6019
6020 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 6021 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 6022 Use gperf generated hash table instead of linked list.
2f2c687b 6023 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 6024 Mostly code generated by gperf.
b166dcd8 6025 (consider_token): Remove unused parameter `lp'.
2f2c687b 6026 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 6027 to span multiple lines.
2f2c687b
JB
6028 (C_entries): Check for newline if inchar to avoid bus errors.
6029 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
6030 and not regular file.
6031
60321994-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
60401994-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.
1c478461 6046 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
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
60561994-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
60611994-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
60751994-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
60831993-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
60991994-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
61061993-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
61111993-12-07 Richard Stallman (rms@srarc2)
6112
6113 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
6114
61151993-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
61211993-12-03 Paul Eggert (eggert@twinsun.com)
6122
6123 * vcdiff: Add --brief option.
6124
61251993-12-02 Richard Stallman (rms@srarc2)
6126
6127 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
6128 for all executables and scripts.
6129
61301993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6131
6132 * Version 19.22 released.
6133
61341993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6135
6136 * Makefile.in (mostlyclean): Make it distinct from clean.
6137
61381993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6139
6140 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
6141
61421993-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
61501993-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
61561993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6157
6158 * Version 19.20 released.
6159
177c0ea7 61601993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 6161
ecc54057 6162 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
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.
2f2c687b 6166 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 6167 from the other state engines.
2f2c687b 6168 (begtk): Add '~', for C++ class destructors.
362bc2da 6169
880820fe 61701993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6171
b166dcd8 6172 * etags.c (consider_token): Remove unused variable firsttok.
2f2c687b 6173 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
6174
61751993-10-19 Paul Eggert (eggert@twinsun.com)
6176
6177 * rcs2log (printlogline): Don't generate lines containing only
6178 white space.
6179
61801993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6181
6182 * Makefile.in (${archlibdir}):
6183 Install ${SCRIPTS} from ${srcdir}, not cwd.
6184
61851993-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
880820fe 61901993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6191
2f2c687b 6192 * etags.c (process_file): Dead code removed.
362bc2da 6193 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 6194 (process_file): Regular files have nothing to do with symlinks.
362bc2da 6195
f0131492 61961993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
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}.
b166dcd8 6202 (INSTALLFLAGS): Delete definition, since it is an unused variable
362bc2da
DL
6203 now.
6204
f0131492 62051993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 6206
b166dcd8
KC
6207 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
6208 Let configure figure out the correct values for these variables.
362bc2da 6209
f0131492 62101993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 6211
10d1d0af 6212 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
6213 used by emacs; don't install bindir binaries here.
6214
62151993-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
880820fe 62211993-09-20 Francesco Potortì (pot@fly)
362bc2da
DL
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
62281993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
6229
6230 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
6231
62321993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6233
88c71720
KS
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.
362bc2da
DL
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
62441993-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
62521993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6253
6254 * Version 19.19 released.
6255
62561993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6257
6258 * Makefile.in (make-path): Dep on config.h.
6259
62601993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6261
6262 * b2m.c (TRUE, FALSE): Don't define if already defined.
6263
62641993-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
62711993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6272
6273 * Version 19.18 released.
6274
880820fe 62751993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 6276
2f2c687b
JB
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.
362bc2da
DL
6281
62821993-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
62871993-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
880820fe 62911993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6292
b166dcd8 6293 * etags.c (FINCST): Add the fignore status. Means we are
362bc2da
DL
6294 after the parameter list and before the open curly brace.
6295 Allows correct parsing of C++ constructors.
2f2c687b
JB
6296 (C_entries, consider_token): Make use of fignore.
6297 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 6298 ctags mode makes DEFVAR and others work better.
2f2c687b
JB
6299 (L_isquote): Function that recognises the "(quote" string.
6300 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
6301
63021993-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
63071993-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
63131993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6314
6315 * Makefile.in (install): Use .n, not .new, for temporary filenames.
6316
63171993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6318
ecc54057 6319 * Version 19.17 released.
362bc2da
DL
6320
63211993-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
880820fe 63301993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6331
b166dcd8 6332 * etags.c (alloca): Remove all references to it.
2f2c687b
JB
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.
362bc2da 6336
880820fe 63371993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6338
2f2c687b 6339 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
6340 (consider_token): DEFUNs now treated like funcs in ctags mode.
6341
2f2c687b
JB
6342 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
6343 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
b166dcd8 6344 (C_entries): Remove a piece of useless code.
2f2c687b 6345 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
6346 is met. This handles "typedef int X, Y, Z;" correctly.
6347
63481993-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
63551993-06-30 Paul Eggert (eggert@twinsun.com)
6356
6357 * vcdiff: Add -q option.
6358
63591993-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
63651993-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
63701993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6371
6372 * version 19.15 released.
6373
63741993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6375
6376 * etags.c (add_node): Move var last_node to file scope.
6377
63781993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6379
6380 * Version 19.14 released.
6381
63821993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6383
ecc54057 6384 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
6385 * Makefile.in (distclean): Call clean to do most of the work.
6386 Delete aixcc.c and TAGS.
6387 (realclean): Just call distclean.
1c478461 6388
362bc2da
DL
6389 * Makefile.in: Remember, spaces are not tabs.
6390
63911993-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
63971993-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
64021993-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
64111993-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
64181993-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
64281993-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
64351993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6436
6437 * wakeup.c (main): Make when a time_t.
6438
64391993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6440
ecc54057 6441 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 6442 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
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
64481993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6449
6450 * Version 19.10 released.
6451
64521993-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
64571993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6458
6459 * Makefile.in (timer): Link with $(LOADLIBES).
6460
64611993-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
64651993-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
64701993-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
64751993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6476
6477 * Makefile.in (install): Get the scripts from ${srcdir},
6478 unlike the executables.
6088b51f 6479 (ALL_CFLAGS): Add -I../src.
362bc2da
DL
6480
64811993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6482
6483 * Version 19.9 released.
6484
64851993-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
64941993-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
65021993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6503
6504 * Version 19.8 released.
6505
6506 * make-docfile.c: Doc fix.
6507
65081993-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
65131993-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
1c478461 6516 appropriate.
362bc2da
DL
6517
6518 * Makefile.in (install): Refer to the variables INSTALLABLES and
6519 INSTALLABLE_SCRIPTS, instead of writing them out.
6520
65211993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6522
6523 * make-path.c (main): Return 0.
6524
65251993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6526
ecc54057 6527 * Version 19.7 released.
362bc2da
DL
6528
65291993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6530
6531 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
6532
65331993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6534
6535 * tcp.c: New file.
6536
65371993-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
65411993-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
10d1d0af 6568 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
6569
65701993-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
65751993-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
65891993-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
65971993-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
66041993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6605
b166dcd8 6606 * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
362bc2da
DL
6607
66081993-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
66131993-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
880820fe 66191993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6620
2f2c687b
JB
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.
362bc2da 6625 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
6626 (C_entries): Logical cplpl means c_ext&C_PLPL.
6627 (C_entries): Logical yacc_rules means we are after the first %%.
b166dcd8 6628 (C_entries): Add logic for yacc files.
362bc2da 6629
880820fe 66301993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6631
6632 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 6633 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
6634 (consider_token): structtag set to null string for enum.
6635
880820fe 66361993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6637
2f2c687b
JB
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.
b166dcd8 6646 (init): Remove the initialisation of the logical _gd array.
2f2c687b 6647 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
6648 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
6649 All C state machines rewritten.
2f2c687b
JB
6650 (C_entries): Complete rewrite.
6651 (condider_token): Complete rewrite.
6652 (getline): Deleted.
362bc2da 6653
880820fe 66541993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da 6655
b166dcd8 6656 * etags.c (C_entries): Add the quotednl logical variable.
362bc2da
DL
6657 Used for parsing of #define's spanning multiple lines.
6658
880820fe 66591993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6660
6661 * etags.c (C_entries): Save the definedef status even when a
6662 newline is met inside a string.
6663
66641993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
6665
b166dcd8 6666 * Makefile.in (EXECUTABLES): Add rcs-checkin.
362bc2da
DL
6667
6668 * Makefile.in (unlock, relock): New productions.
6669
66701993-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
66771993-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
66861993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6687
6688 * b2m.c (main): Don't exit upon reading a blank line.
6689
880820fe 66901993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
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
66981993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6699
6700 * timer.c (notify): Initialize waitfor properly.
6701
880820fe 67021993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
6703
6704 * etags.c (C_entries): Don't reset definedef when a newline inside a
6705 comment is met.
6706
67071993-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
67121993-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
67191992-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.
b166dcd8 6727 (archlibdir): Adjust to match.
362bc2da
DL
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
67381992-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
67531992-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
67601992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6761
b166dcd8 6762 * Makefile.in (getdate.o): Add explicit target for this, so we
362bc2da
DL
6763 can indicate that it depends on ../src/config.h.
6764
67651992-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
67711992-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
67791992-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
67861992-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
67901992-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
67951992-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
68001992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6801
6802 * emacsclient.c (main): Set IPC_CREAT in msgget call.
6803
68041992-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
68091992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6810
6811 * etags.c (PF_funcs): Recognize the "entry" keyword.
6812
68131992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6814
6815 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
6816
68171992-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.
b166dcd8 6830 (getevent): Delete unused variable `ep'.
362bc2da
DL
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.
b166dcd8 6843 (rindex, index): Rename to etags_rindex and tags_rindex, and
362bc2da
DL
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
68541992-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
68631992-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
68681992-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
68761992-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
68851992-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.
1c478461 6890 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
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
68961992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6897
6898 * movemail.c (strcpy): Declare this to return char *.
6899
69001992-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
69051992-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
69101992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6911
6912 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
6913
69141992-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
69181992-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
69241992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6925
6926 * make-docfile.c (write_c_args): Pass both arguments to putc.
6927
69281992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
6929
b166dcd8 6930 * etags.c (C_entries): Fix reading of "..." strings.
362bc2da
DL
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
69381992-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
69431992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6944
6945 * movemail.c [POP]: Get user name via getpwuid.
6946
69471992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6948
2f2c687b 6949 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
6950
69511992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6952
10d1d0af 6953 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
6954 strings - end the lines with `\n\'.
6955
69561992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6957
b166dcd8 6958 * timer.c (getevent): Remove declaration of memcpy; since
362bc2da
DL
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
69621992-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
69671992-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
1c478461 6973 information.
362bc2da
DL
6974
69751992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6976
290afd83 6977 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
6978 to be consistent with other GNU programs, like makeinfo.
6979
290afd83 6980 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
6981 will edit this to produce Makefile.
6982
69831992-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
69911992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6992
b166dcd8 6993 * etags.c (C_entries): Remove comment saying that \" in a string
362bc2da
DL
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
b166dcd8
KC
7003 to get parameter from optarg instead of argv[1].
7004 Filename preprocessing loop and update command changed similarly.
362bc2da
DL
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
70171992-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
70221992-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
70291992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7030
ecc54057 7031 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
7032 `config.emacs' to `configure'.
7033
7034 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
7035 * etc/MACHINES: Same.
7036
70371992-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
70471992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
7048
7049 * SERVICE: Remove my entry.
7050
70511992-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
dff28924 70611992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
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
dff28924 70681992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
7069
7070 * etags-vmslib.c (fn_exp): Add type cast.
7071
70721992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7073
7074 * movemail.c: Changes in comments.
7075
dff28924 70761992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7077
7078 * Makefile: Make the distclean target erase the DOC files from
7079 ../share-lib and the executables from ../arch-lib.
7080
dff28924 70811992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7082
7083 * emacsclient.c: #include <sys/stat.h>
7084 (main): Do declare statbfr.
7085
dff28924 70861991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
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
dff28924 71021991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
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
71091991-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
dff28924 71181991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7119
7120 * wakeup.c: Terminate if parent goes away.
7121
dff28924 71221991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
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.
a64387ee 7127 (consider_token): Likewise.
362bc2da 7128
dff28924 71291991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
7130
7131 * etags.c (TEX_mode): Skip comments while scanning the text to see
7132 which escape character this file uses.
7133
dff28924 71341991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7135
7136 * emacsserver.c [USG]: Terminate if msgrcv fails.
7137
dff28924 71381991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7139
7140 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
7141
dff28924 71421991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
7143
7144 * make-docfile: Find the arguments to a C function correctly,
b166dcd8
KC
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
362bc2da
DL
7147 or UNEVALLED arguments, since they're a figment of the docstring's
7148 imagination.
7149
dff28924 71501991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
7151
7152 * make-docfile: Read the .elc files generated by the new byte
7153 compiler.
7154
dff28924 71551990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7156
7157 * refcard.tex: Use cm fonts, not am, in multi-column mode.
7158
dff28924 71591990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7160
7161 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
7162
dff28924 71631990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7164
7165 * Makefile (install*): No need to install wakeup.
7166
dff28924 71671990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7168
7169 * Makefile (install*): Install emacsclient like etags.
7170
dff28924 71711990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7172
7173 * movemail.c (error): Handle 3 args.
7174 (main): Don't check input access if using pop.
7175
dff28924 71761990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7177
7178 * etags.c (find_entries): Check for numbers after Scheme suffix.
7179
dff28924 71801990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7181
7182 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
7183
dff28924 71841990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7185
7186 * Makefile (nemacstool, xvetool): New targets.
7187
dff28924 71881990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7189
7190 * emacsclient.c: Include errno.h and define related variables.
7191
dff28924 71921990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7193
7194 * emacsclient.c: Change usage message.
7195
dff28924 71961990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 7197
ecc54057 7198 * emacs.1: Add break before -nw option.
362bc2da 7199
dff28924 72001990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
7201
7202 * qsort.c: Replace with GNU version.
7203
dff28924 72041990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
7205
7206 * wakeup.c: New program replacing loadst.c.
7207
dff28924 72081990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7209
7210 * emacsclient.c [USG]: Pass msgsnd only 4 args.
7211
dff28924 72121990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
7213
7214 * etags.c: Rename `flag' variables for what they do instead of
7215 which option character sets them.
7216
dff28924 72171990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7218
7219 * loadst.c (main): Conditional to get load average on Apollo.
7220
dff28924 72211990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
7222
7223 * emacsserver.c: Set the permission on the socket to 0600.
7224
dff28924 72251990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7226
7227 * emacsclient.c [BSD]: Print clean message for failing getwd.
7228
dff28924 72291990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
7230
7231 * getdate.y: Use the getdate.y from GNU tar for timer.
7232
dff28924 72331990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
7234
7235 * emacsclient.c (main): Don't put brackets around "filename" in
7236 usage message. It isn't optional.
7237
dff28924 72381990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 7239
a64387ee 7240 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 7241
dff28924 72421990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
7243
7244 * emacsserver.c: Renamed from server.c.
7245 * Makefile: Reference emacsserver rather than server.
7246 * MACHINES: Doc fix for new emacsserver name.
7247
dff28924 72481990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7249
7250 * emacsclient.c: Print program name in error messages.
7251
dff28924 72521990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
7253
7254 * timer.c, getdate.y (new files) and Makefile:
194d44e7
JB
7255 Sub-process support for run-at-time in timer.el.
7256 Doesn't yet work correctly for USG.
362bc2da 7257
dff28924 72581990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
7259
7260 * MACHINES: Add HP 300 running BSD.
7261
dff28924 72621990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7263
7264 * yow.c: Dynamically allocate buffer; skip header before random
7265 choice to avoid bias toward first item.
7266
dff28924 72671989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7268
7269 * etags.c (readline): Separate out init of `pend'.
7270
dff28924 72711989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7272
7273 * etags.c: Undo changes relating to isgoodhdr.
7274
dff28924 72751989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
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
dff28924 72881989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
7289
7290 * MACHINES: Change for the ULTRIX entry.
7291
dff28924 72921989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
7293
7294 * etags.c (process_file): If file is not regular, return.
7295
dff28924 72961989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7297
7298 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
7299
dff28924 73001989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7301
7302 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
7303 (main): If HAVE_GETLOADAVG, don't call `nlist'.
7304
dff28924 73051989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
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
dff28924 73121989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7313
7314 * etags.c (main): Don't depend on name invoked by.
7315 If CTAGS is not defined, assume it is ETAGS.
7316
dff28924 73171989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7318
7319 * etags.c (L_funcs): Allow package name in define construct,
7320 as in (foo::defmumble name-defined ...).
7321
dff28924 73221989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7323
7324 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
7325
7326 * Makefile (yow): Depends on ../src/paths.h.
7327
dff28924 73281989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7329
7330 * etags.c: Fix compilation by moving Pascal after Fortran.
7331
dff28924 73321989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7333
7334 * movemail.c [USG]: Define F_OK, etc., if not found in header.
7335
dff28924 73361989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7337
7338 * hexl.c: New file, supports hexl-mode.
7339
dff28924 73401989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7341
7342 * movemail.c: New compilation flag MAIL_USE_MMDF.
7343
dff28924 73441989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
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
dff28924 73521989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7353
7354 * movemail.c: Report failure of flock.
7355
dff28924 73561989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7357
7358 * etags.c (find_entries): Allow multi-letter extensions for fortran.
7359
dff28924 73601989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7361
2f2c687b 7362 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 7363
dff28924 73641989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7365
7366 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
7367
30a7ee9f 7368 * emacstool.1: Update to document environment variables.
362bc2da 7369
dff28924 73701989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7371
7372 * etags.c (PAS_funcs): New function by Mosur Mohan.
7373
7374 * movemail.c: On sysv, include unistd.h.
7375
dff28924 73761989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7377
7378 * b2m.c: New file.
7379
dff28924 73801989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7381
6088b51f 7382 * etags.c: Prolog support from Sunichirou Sugou.
362bc2da 7383
dff28924 73841989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7385
7386 * Makefile (clean): New target.
7387
dff28924 73881989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7389
7390 * fakemail.c (put_line): Break header lines at 79 cols.
7391
dff28924 73921989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7393
7394 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
7395 multiple tags per line.
7396
dff28924 73971989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
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
dff28924 74031988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 7404
ecc54057 7405 * env.c: Add decl for my-index
6088b51f 7406 * etags.c (file-entries): .oak => scheme.
362bc2da 7407
dff28924 74081988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7409
7410 * movemail.c: Use `access' to check input and output files.
7411
dff28924 74121988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7413
7414 * emacsclient.c (main): Ignore all of CWD before first slash.
7415
dff28924 74161988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7417
7418 * etags.c (readline): Double linebuffer->size outside the xrealloc.
7419
dff28924 74201988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
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
dff28924 74251988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
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
dff28924 74331988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
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
dff28924 74441988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7445
7446 * movemail.c: Do fsync before closing output.
7447
dff28924 74481988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 7449
ecc54057
JB
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...
362bc2da 7452
dff28924 74531988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7454
7455 * etags.c: Support assembler code for .s and .a files.
7456 (getit): Allow underscore in a tag.
7457
dff28924 74581988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7459
7460 * movemail.c: Close output and check errors before deleting input.
7461
dff28924 74621988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7463
7464 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
7465 whether to prefix it. Handle line number args.
7466
dff28924 74671988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 7468
2f2c687b 7469 * etags.c (main): Default setting of eflag was backwards.
362bc2da 7470
dff28924 74711988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
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
dff28924 74781988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
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
dff28924 74851988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
7486
7487 * server.c, emacsclient.c (main): Compute socket name from euid.
7488
dff28924 74891988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7490
7491 * emacsclient.c: Args like +DIGITS are passed through unchanged.
7492
dff28924 74931988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
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
dff28924 74991988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7500
7501 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 7502 (istoken): New string-comparison macro.
362bc2da
DL
7503 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
7504
dff28924 75051988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
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.
c4cc8b9a 7510 (begtk, intk): Allow `$' in identifiers.
362bc2da
DL
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
dff28924 75171988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7518
7519 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
7520 around include of param.h. (Like fns.c.)
7521
dff28924 75221988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7523
7524 * loadst.c (load_average): Move load-average code to this new fn.
7525 Add conditionals to compute load ave on UMAX.
7526
dff28924 75271988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
7528
7529 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
7530 with opposite sense.
7531
dff28924 75321988-05-13 Chris Hanson (cph@kleph)
362bc2da 7533
b166dcd8
KC
7534 * emacsclient.c: Delete references to unused variable `out'.
7535 This caused a bus error when used under hp-ux.
362bc2da 7536
dff28924 75371988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7538
7539 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
7540
dff28924 75411988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
7542
7543 * etags.c (find_entries): `.t' or `.sch' means scheme code.
7544
dff28924 75451988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7546
7547 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
7548
dff28924 75491988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7550
7551 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 7552 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 7553
dff28924 75541988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
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
dff28924 75611988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 7562
2f2c687b 7563 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 7564
2f2c687b 7565 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
7566
7567;; Local Variables:
880820fe 7568;; coding: utf-8
6922b018 7569;; End:
2a34a036 7570
73b0cd50 7571 Copyright (C) 1988-1999, 2001-2011 Free Software Foundation, Inc.
5b87ad55
GM
7572
7573 This file is part of GNU Emacs.
7574
294981c7 7575 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 7576 it under the terms of the GNU General Public License as published by
294981c7
GM
7577 the Free Software Foundation, either version 3 of the License, or
7578 (at your option) any later version.
5b87ad55
GM
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
294981c7 7586 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.