* movemail.c: (DIRECTORY_SEP, IS_DIRECTORY_SEP, DONE, IS_FROM_LINE):
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
b23b5a5b
PE
12011-02-21 Paul Eggert <eggert@cs.ucla.edu>
2
27d41fb4 3 * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
1afca8cc 4 (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
0d7fdc0e
PE
5 (DIRECTORY_SEP, IS_DIRECTORY_SEP, DONE, IS_FROM_LINE):
6 Remove unused macros.
7 * pop.c (index): Remove unused macro.
8 (KPOP_PORT): Define only if KERBEROS is defined.
27d41fb4 9
b23b5a5b
PE
10 Declare file-scope functions and variables static if not exported.
11 This is more consistent, and is nicer with gcc -Wstrict-prototypes.
12 * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
13 * profile.c, test-distrib.c, update-game-score.c:
14 Declare non-'main' functions and variables to be static.
15 * ebrowse.c: Omit redundant function prototypes.
16
50a4e25a
JB
172011-02-20 Juanma Barranquero <lekktu@gmail.com>
18
19 * makefile.w32-in (obj): Remove md5.o.
20
b166dcd8
KC
212011-02-18 Karl Chen <Karl.Chen@quarl.org>
22
23 * emacsclient.c (main): Loop while `recv' return EINTR.
24
64df8c10
PE
252011-02-09 Paul Eggert <eggert@cs.ucla.edu>
26
27 * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
28 This avoids collision with config.h's EMACS_INT on some
29 configurations. All uses changed.
30
00b3c7ac
TT
312011-02-08 Tom Tromey <tromey@redhat.com>
32
33 * make-docfile.c: Unconditionally include stdlib.h.
34 (generate_globals): New global.
35 (xrealloc): New function.
36 (main): Handle '-g'. Call start_globals, write_globals.
37 (scan_file): Conditionally call put_filename.
38 (start_globals): New function.
39 (struct global): New.
40 (num_globals, globals): New globals.
41 (add_global, compare_globals, write_globals): New functions.
42 (scan_c_file): Update for "-g".
43 (scan_lisp_file): Fail if "-g".
44
03fc768b
PE
452011-02-05 Paul Eggert <eggert@cs.ucla.edu>
46
47 * emacsclient.c: conform to C89 pointer rules
48 (file_name_absolute_p): Accept const char *, not const unsigned
49 char *, to satisfy C89 rules.
50
d9f1f55e
EZ
512011-02-02 Eli Zaretskii <eliz@gnu.org>
52
b166dcd8
KC
53 * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
54 Add ``-DEMACS_NAME="\"GNU Emacs\""''.
83cc5772 55 (obj): Remove strftime.o.
d9f1f55e 56
70b0d280
EZ
572011-01-31 Eli Zaretskii <eliz@gnu.org>
58
59 * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
60 (ECLIENT_CFLAGS): Remove -DVERSION.
61 ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
62
16fab143
PE
632011-01-31 Paul Eggert <eggert@cs.ucla.edu>
64
65 src/emacs.c now gets version number from configure.in
66 * ebrowse.c: Adjust comment to say that.
67
8aec9916
JM
682011-01-30 Jim Meyering <meyering@redhat.com>
69
70 make-docfile: don't corrupt heap for an invalid .elc file
71 "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
72 one byte before just-malloc'd saved_string buffer.
73 * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
74 doc string length. Also fix an always-false while-loop test.
75
f915f0f7
EZ
762011-01-29 Eli Zaretskii <eliz@gnu.org>
77
78 * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
79 (GETOPTOBJS, GETOPTDEPS): Remove targets.
80 (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
81 ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
82 (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
83 and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
84 (clean): Don't remove getopt.h.
85 (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
86 ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
87 $(EMACS_ROOT)/lib/getopt.h.
88
892011-01-28 Chong Yidong <cyd@stupidchicken.com>
90
91 * ntlib.c (setregid): New stub, renamed from setegid.
92
93 * ntlib.h: Update prototype.
94
06d8ace5 952011-01-25 Chong Yidong <cyd@stupidchicken.com>
fbf4af3a
CY
96
97 * movemail.c (main): Use setregid instead of setegid, which is
98 missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
99
9055082e
PE
1002011-01-23 Paul Eggert <eggert@cs.ucla.edu>
101
102 Check return values of some library calls.
103 * hexl.c (main): Check fread result.
104 * make-docfile.c (main): Check chdir result.
105 (scan_c_file): Check fscanf result.
106 * movemail.c (main): Check ftruncate result.
107
33fe4243 1082011-01-17 Paul Eggert <eggert@cs.ucla.edu>
e275c824 109
4004364e
PE
110 Include <unistd.h> unilaterally.
111 * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
112 * pop.c, test-distrib.c, update-game-score.c:
113 Include <unistd.h> without worrying about HAVE_UNISTD_H, since
114 unistd.h is always present now, possibly supplied by gnulib.
115
613f7bda
PE
116 Include <getopt.h> not "getopt.h".
117 * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
118 Since getopt.h is no longer in this directory, there's no point
119 using the form with double-quotes.
120
e275c824
PE
121 Remove unused files.
122 * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
123 These files are now in ../lib, copied from gnulib.
124
125 Use gnulib's getopt-gnu module.
126 * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
127 as these are now done by gnulib.
128 (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
129 Remove; now done by gnulib. All uses removed.
130
9a514d4a
PE
131 Automate syncing from gnulib.
132 * Makefile.in (EXE_FILES): New macro.
133 (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
134 for gnulib's .h files.
135 (LOADLIBES): Add ../lib/libgnu.a.
136 ($(EXE_FILES)): Depend on ../lib/libgnu.a.
137 (../lib/libgnu.a): New rule.
138
72427c46
PE
1392011-01-08 Paul Eggert <eggert@cs.ucla.edu>
140
141 * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
142
4967fa34
GM
1432011-01-08 Glenn Morris <rgm@gnu.org>
144
e7a42417
GM
145 * Makefile.in (EMACSOPT): Add --no-site-lisp.
146
4967fa34
GM
147 * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
148
d7bfa7a1
GM
1492011-01-02 Glenn Morris <rgm@gnu.org>
150
151 * ebrowse.c (version) <emacs_copyright>:
152 * etags.c (print_version) <emacs_copyright>:
153 * rcs2log (Copyright): Set short copyright year to 2011.
154
da2b5401
JM
1552010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change)
156
157 * ebrowse.c (yylex): If end of input buffer encountered while
158 searching for a newline after "//", return YYEOF. (Bug#7446)
159
4a47c275 1602010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
76cc4cd6
YM
161
162 * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
163 definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
164
f16cafe3
DN
1652010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
166
167 * test-distrib.c: Remove include guards for config.h and fcntl.h.
168 (O_RDONLY): Do not define.
169 (cool_read): Fix type for variable "sofar".
170
6a5c2175
GM
1712010-10-25 Glenn Morris <rgm@gnu.org>
172
173 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
174
17284e30
GM
1752010-10-23 Glenn Morris <rgm@gnu.org>
176
177 * digest-doc.c, sorted-doc.c: Remove files.
178 * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
179 (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
180 * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
181 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
182 ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
183 (install): Don't install digest-doc.exe or sorted-doc.exe.
184
a4daeecf
DN
1852010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
186
187 * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
188
3fb78d1f
GM
1892010-10-09 Glenn Morris <rgm@gnu.org>
190
191 * b2m.c, b2m.pl: Remove files.
192 * Makefile.in (INSTALLABLES): Remove b2m.
193 * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
194
4628bef1 1952010-10-08 Glenn Morris <rgm@gnu.org>
b336bfcd
GM
196
197 * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
198 DARWIN_USER_TEMP_DIR. (Bug#3992)
199
f99d75f5
DN
2002010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
201
728a982d
DN
202 * test-distrib.c (cool_read):
203 * movemail.c (main, concat):
204 * make-docfile.c (scan_file, write_c_args):
205 * emacsclient.c (get_server_config): Fix -Wconversion warning.
206 (egetenv): Move conditional definition earlier.
207 (progname): Use const.
208 * sorted-doc.c (xstrdup): Use const.
209
f99d75f5
DN
210 * Makefile.in: Remove ^L, old makes choke on it.
211
3ecb8d93
WS
2122010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change)
213
214 * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
215 error string (Bug#6963).
216
54b65f7b
JB
2172010-10-02 Juanma Barranquero <lekktu@gmail.com>
218
219 * makefile.w32-in (tags): Remove target.
220
73077a9a
EZ
2212010-10-01 Eli Zaretskii <eliz@gnu.org>
222
223 * makefile.w32-in (tags, TAGS): New targets.
224
968ef9b4
JB
2252010-09-30 Juanma Barranquero <lekktu@gmail.com>
226
227 * emacsclient.c (get_server_config): Don't read Emacs pid from
228 the authentication file.
229
6ab88e02
JB
2302010-09-29 Juanma Barranquero <lekktu@gmail.com>
231
a69edb8a
JB
232 * makefile.w32-in (../src/config.h): Remove target, it is stale.
233
6ab88e02
JB
234 * emacsclient.c (main): Remove unused variables.
235 (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
236
4c964351
UM
2372010-09-25 Ulrich Mueller <ulm@gentoo.org>
238
239 * etags.c (compressors, print_language_names): Support xz compression.
240
988e88ab
J
2412010-08-11 Jan Djärv <jan.h.d@swipnet.se>
242
70e31436 243 * fakemail.c: Include stdlib.h for getenv. Remove declaration of
5e3b9a89 244 popen, fclose and pclose.
70e31436 245 (my_name, fatal, error, put_line): Use const char*.
5e3b9a89
J
246 (main): Remove extern getenv, mail_program_name is const char*.
247
988e88ab
J
248 * update-game-score.c (get_prefix, write_scores, main): Use const char*.
249
250 * sorted-doc.c (error, fatal, states): Use const char *.
251
252 * pop.h (pop_multi_first): Use const char *.
253 (_ARGS): Remove.
254
70e31436 255 * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
988e88ab
J
256
257 * movemail.c (fatal, error, concat): Use const char *.
258
b166dcd8
KC
259 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
260 Use const char *.
988e88ab
J
261
262 * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
263 (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
264 (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
265 (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
266 (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
267 (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
268 (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
269 (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
270 (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
271 (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
272 (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
273 (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
274 (no_lang_help, print_language_names)
275 (get_language_from_interpreter, get_language_from_filename)
276 (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
277 (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
278 (concat): Use const char*.
279
280 * emacsclient.c (message, sock_err_message, send_to_emacs)
281 (quote_argument, set_local_socket)
282 (start_daemon_and_retry_set_socket): Use const char*.
283
284 * ebrowse.c (struct member): filename, def_filename is const.
285 (struct sym): filename, sfilename is const.
286 (struct kw): name is const.
287 (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
288
289 * b2m.c (concat, fatal): Use const char*.
290 (main): Don't assign labels a string literal.
291
0e9c8657
JB
2922010-08-07 Juanma Barranquero <lekktu@gmail.com>
293
294 * ebrowse.c (usage, version, mark_virtual):
295 Remove duplicate declarations.
296
0613f5d5
DN
2972010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
298
299 * emacsclient.c: Move socket related #includes together with the
70e31436 300 rest of the #includes. Move WINDOWSNT includes closer together.
0613f5d5
DN
301 (HAVE_CONFIG_H): Remove.
302 (NO_RETURN): Remove, defined in config.h.
303 (main): Convert definition to standard C.
304
a94a477d
JB
3052010-07-29 Juanma Barranquero <lekktu@gmail.com>
306
307 * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
308
35a7804d
JB
3092010-07-25 Juanma Barranquero <lekktu@gmail.com>
310
311 * emacsclient.c (getcwd): Fix previous change: make getcwd
312 conditional on HAVE_GETCWD and declare with the correct POSIX
313 profile (for some reason MinGW headers define its 2nd arg as int,
314 not size_t; but getcwd is not used on Windows nonetheless).
315
361358ea
JB
3162010-07-25 Juanma Barranquero <lekktu@gmail.com>
317
318 * emacsclient.c (getcwd, w32_getenv):
319 * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
320
68441b90
DN
3212010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
322
087b38a0 323 * update-game-score.c (usage): Add NO_RETURN specifier.
68441b90
DN
324 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
325 * make-docfile.c (fatal):
326 * hexl.c (usage):
327 * fakemail.c (fatal):
328 * etags.c (fatal, suggest_asking_for_help, pfatal):
329 * emacsclient.c (fatal):
330 * b2m.c (fatal): Likewise.
331
554d39be
JB
3322010-07-23 Juanma Barranquero <lekktu@gmail.com>
333
334 * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
335
7c3320d8
JB
3362010-07-20 Juanma Barranquero <lekktu@gmail.com>
337
338 * emacsclient.c (get_current_dir_name, w32_get_resource)
339 (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
340 (close_winsock, initialize_sockets, w32_find_emacs_process)
341 (w32_give_focus):
342 * ntlib.c (getlogin, getuid, getgid, getegid):
343 Convert definitions to standard C.
344
e6cfa7c3
AS
3452010-07-12 Andreas Schwab <schwab@linux-m68k.org>
346
347 * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
348 (PROFILING_LDFLAGS): Set from substitution.
349 (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
350 (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
351 (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
352
f09e4c6b
EZ
3532010-07-12 Eli Zaretskii <eliz@gnu.org>
354
355 * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
356 2010-07-12T05:25:46Z!handa@etlken).
357
8966b757
AS
3582010-07-11 Andreas Schwab <schwab@linux-m68k.org>
359
360 * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
361 index, rindex.
362 * movemail.c (mail_spool_name, popmail): Likewise.
363 * pop.c (pop_list): Likewise.
364
994a7c3b
EZ
3652010-07-11 Eli Zaretskii <eliz@gnu.org>
366
a628ad9d 367 * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
994a7c3b
EZ
368 and unexw32.o. (Bug#6603)
369
c971758d
EZ
3702010-07-10 Eli Zaretskii <eliz@gnu.org>
371
372 * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
373
91a7f76d
AS
3742010-07-09 Andreas Schwab <schwab@linux-m68k.org>
375
376 * make-docfile.c (write_c_args): Restructure scanning loop.
377
0508c67f
DN
3782010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
379
380 * make-docfile.c (write_c_args): Deal with type names in DEFUN
381 arguments.
382
0216627e
DN
3832010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
384
385 * update-game-score.c (P_): Remove macro.
386 * ebrowse.c: Remove include guards.
387 (P_): Remove macro.
388
72af86bd
AS
3892010-07-07 Andreas Schwab <schwab@linux-m68k.org>
390
391 * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
392 memcpy, memmove, memset.
393 * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
394
e2ad23ef
AS
3952010-07-06 Andreas Schwab <schwab@linux-m68k.org>
396
397 * movemail.c: Add MAIL_USE_POP around prototypes.
1725ae55
AS
398 Include <string.h> if HAVE_STRING_H.
399 (strerror): Only declare if !HAVE_STRERROR.
400 (fatal): Make static.
401 (error): Likewise.
402 (pfatal_with_name): Likewise.
70e31436 403 (pfatal_and_delete): Likewise.
1725ae55
AS
404 (concat): Likewise.
405 (xmalloc): Likewise.
406 (popmail): Likewise.
407 (pop_retr): Likewise.
408 (mbx_write): Likewise.
409 (mbx_delimit_begin): Likewise.
410 (mbx_delimit_end): Likewise.
e2ad23ef 411
b8463cbf
DN
4122010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
413
414 * fakemail.c (action): Convert function definitions to standard C.
415 (add_a_stream):
416 * test-distrib.c (cool_read):
417 (main): Likewise.
418
a52a00a3
AS
4192010-07-03 Andreas Schwab <schwab@linux-m68k.org>
420
421 * sorted-doc.c (cmpdoc): Fix signature.
422 (qsort_compare): Delete.
423 (main): Remove cast.
424
35d99b72
JB
4252010-07-03 Juanma Barranquero <lekktu@gmail.com>
426
427 * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
428
3a35a84c
JB
4292010-07-03 Juanma Barranquero <lekktu@gmail.com>
430
431 Fix prototype warnings.
432
433 * ebrowse.c (match_qualified_namespace_alias):
434 Pass sym* to find_namespace, not link*.
435
436 * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
437
438 * sorted-doc.c (qsort_compare): New typedef.
439 (main): Use it to cast cmpdoc.
440
873fbd0b
DN
4412010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
442
443 * update-game-score.c: Convert function definitions to standard C.
444 * sorted-doc.c:
445 * profile.c:
446 * pop.c:
447 * movemail.c:
448 * make-docfile.c:
449 * hexl.c:
450 * fakemail.c:
451 * etags.c:
452 * ebrowse.c:
453 * digest-doc.c:
454 * b2m.c: Likewise.
455
c532d349
DN
4562010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
457
458 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
459 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
460 standard C prototypes.
461
f57e2426
J
4622010-07-02 Jan Djärv <jan.h.d@swipnet.se>
463
464 * ebrowse.c: Remove P_ and __P.
465 * etags.c:
466 * movemail.c:
467 * pop.c:
468 * update-game-score.c: Likewise.
469
3b3807f8
JB
4702010-06-24 Juanma Barranquero <lekktu@gmail.com>
471
472 * movemail.c (error): Avoid warning when there are no args.
473
5fee75d4
JB
4742010-06-11 Juanma Barranquero <lekktu@gmail.com>
475
476 * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
477 and vc/ediff-hook.elc.
478
3085237c
DN
4792010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
480
481 * ntlib.h: Remove code dealing with BSTRING.
482
0191e222
CY
4832010-05-29 Chong Yidong <cyd@stupidchicken.com>
484
485 * emacsclient.c (longopts, decode_options, print_help_and_exit):
486 New arg `-parent-id'.
487 (main): Send parent-id to Emacs.
488
81ac4f35
GM
4892010-05-27 Glenn Morris <rgm@gnu.org>
490
491 * Makefile.in (distclean): No more Makefile.c.
492
4e3028f8
JD
4932010-05-22 Jan Djärv <jan.h.d@swipnet.se>
494
495 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
496 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
497 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
498 New rules (Bug #6246).
499 (clean): Remove stamp-* (Bug #6246).
500
44b031a6
GM
5012010-05-12 Glenn Morris <rgm@gnu.org>
502
503 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
504
acddf8ae
GM
5052010-05-11 Glenn Morris <rgm@gnu.org>
506
c88b05a9
GM
507 * Makefile.in (.m.o): Remove, there are no .m files.
508 (BASE_CFLAGS): New variable.
509 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
510 (check): Update the message.
511 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
512
d3b23034
GM
513 * Makefile.in: Convert comments to makefile format.
514
acddf8ae
GM
515 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
516 (config.h) [MSDOS]: Do not include.
517
7490175b
GM
5182010-05-10 Glenn Morris <rgm@gnu.org>
519
97efb629
GM
520 * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
521 (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
522 (NOT_C_CODE): Remove, no longer used.
523 (config.h) [!MSDOS]: No longer include.
524 (LOADLIBES): Use LIBS_SYSTEM as a variable.
525
7490175b
GM
526 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
527
7b42b29f
GM
5282010-05-08 Glenn Morris <rgm@gnu.org>
529
530 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
531
61a808e8
CY
5322010-05-07 Chong Yidong <cyd@stupidchicken.com>
533
534 * Version 23.2 released.
535
f6c0ee20
GM
5362010-05-06 Glenn Morris <rgm@gnu.org>
537
538 * Makefile.in: Minimize blessmail-related cpp usage.
539 (BLESSMAIL_TARGET): New variable.
540 (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
541 (blessmail): Always define this rule.
542 (need-blessmail): New rule, split out from maybe-blessmail.
543 (maybe-blessmail): Use BLESSMAIL_TARGET.
544
49628785
GM
5452010-05-04 Glenn Morris <rgm@gnu.org>
546
547 * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
548 @c_switch_system@, @c_switch_machine@.
549
7e10844c
DN
5502010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
551
552 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
553
4794a582
DN
5542010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
555
556 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
557 non-cpp section.
558
76bd8202
DN
5592010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
560
561 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
562 autoconf, not cpp.
563 (ALL_CFLAGS): Use them as make variables.
564
42d3cab7
C
5652010-04-07 Christoph <cschol2112@googlemail.com> (tiny change)
566
567 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
568 for macros for nmake compatibility.
569
b372fceb
JB
5702010-04-03 Juanma Barranquero <lekktu@gmail.com>
571
572 Add stubs for Windows, required after CVE-2010-0825 change.
573 * ntlib.c (getgid, getegid, setegid): New stubs.
574 * ntlib.h (getgid, getegid, setegid): Declare them.
575
51a91f9d
CY
5762010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
577
b166dcd8
KC
578 * movemail.c (main): Check return values of setuid.
579 Avoid possibility of symlink attack when movemail is setgid mail
51a91f9d
CY
580 (CVE-2010-0825).
581
42a2c622
DN
5822010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
583
584 Remove extern errno declarations.
585 * movemail.c:
586 * etags.c:
587 * emacsclient.c: Remove extern errno declarations.
588
5e58e3a4
GM
5892010-03-20 Glenn Morris <rgm@gnu.org>
590
591 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
592 (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
593 defining these as Makefile variables.
594 (LIBS_MOVE): Add LIBS_MAIL into this.
595 (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
596
aded53ff
GM
5972010-03-18 Glenn Morris <rgm@gnu.org>
598
599 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
600 (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
601 (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
602
f8388570
TO
6032010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
604
605 * Makefile.in (uninstall): Handle the case where archlibdir does not
606 exist. (Bug#5720)
607
288f9fc0
CY
6082010-03-10 Chong Yidong <cyd@stupidchicken.com>
609
610 * Branch for 23.2.
611
f9b84f9f
CY
6122010-02-20 Kevin Ryde <user42@zip.com.au>
613
614 * etags.c (Scheme_functions): Don't loop past a null character
615 (Bug#5601).
616
c14902e0 6172010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
9d77a91f 618
a628ad9d 619 * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
9d77a91f 620
6589a2f9
GM
6212010-01-11 Glenn Morris <rgm@gnu.org>
622
623 * ebrowse.c (version):
624 * etags.c (print_version):
625 * rcs2log (Copyright): Set copyright year to 2010.
626
03dcfe01
CY
6272009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
628
629 * makefile.w32-in: Use parenthesis for macros for nmake
630 compatibility.
631
5ce6e4f4 6322009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
46f3381a 633
f7e0618c 634 * etags.c (absolute_filename): Use memmove if we have it for
46f3381a
JD
635 overlapping copy.
636
f6195dfb
DN
6372009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
638
639 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
640
b53f6df2
JB
6412009-10-15 Juanma Barranquero <lekktu@gmail.com>
642
643 * .gitignore: Add echolisp.tmp.
644
9fc3db2b
GM
6452009-10-15 Glenn Morris <rgm@gnu.org>
646
5f54cae6
GM
647 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
648
9fc3db2b
GM
649 * makefile.w32-in (echolisp): New rule.
650 (clean): Delete echolisp.tmp.
651
614bd9cf
EZ
6522009-09-27 Eli Zaretskii <eliz@gnu.org>
653
654 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
655 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
656 be consistent with src/Makefile.in.
657
24e9e996
SM
6582009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * update-game-score.c (main): Sort scores before trimming them,
661 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
662
c5a139ca
GM
6632009-09-09 Glenn Morris <rgm@gnu.org>
664
665 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
666 before creating directories and game score files.
667
a8a8ec61
GM
6682009-08-19 Glenn Morris <rgm@gnu.org>
669
0916a29e 670 * cvtmail.c: Remove file.
a8a8ec61
GM
671 * Makefile.in (UTILITIES): Remove cvtmail.
672 (cvtmail${EXEEXT}): Remove.
673
678bc1f5
CY
6742009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
675
676 * b2m.c (main): Ensure that each message ends in two newlines.
677
0a3472c7
JR
6782009-07-03 Jason Rumney <jasonr@gnu.org>
679
680 * emacsclient.c (w32_set_user_model_id): Use standard types.
681
f2d6b714
EZ
6822009-07-03 Eli Zaretskii <eliz@gnu.org>
683
684 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
685 src/Makefile.in did.
686
ff90fbde
JR
6872009-06-30 Jason Rumney <jasonr@gnu.org>
688
689 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
690 that is already loaded.
691 (w32_set_user_model_id): New function.
692 (main): Use it to associate emacsclient with emacs (bug#1849).
693
e0f59195
JM
6942009-06-29 Jim Meyering <meyering@redhat.com>
695
696 Remove useless if-before-free test.
697 * make-docfile.c (scan_lisp_file): Remove useless test.
698
f5f20f6c
DN
6992009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
700
701 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
702
70243478
CY
7032009-06-21 Chong Yidong <cyd@stupidchicken.com>
704
705 * Branch for 23.1.
706
fa44da6e
AR
7072006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
708
709 * mac-fix-env.m:
710 * Makefile.in (mac-fix-env): Remove.
711
a7f2b0b1
AR
7122006-06-06 David Reitter <david.reitter@gmail.com>
713
714 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
715
9dfda22f
JB
7162009-04-20 Juanma Barranquero <lekktu@gmail.com>
717
718 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
719 spacing is required in the message output, as the comment suggests).
720
24d5010d
CY
7212009-04-20 Chong Yidong <cyd@stupidchicken.com>
722
723 * emacsclient.c (print_help_and_exit): Clarify argument placement
724 for short option names.
725
6133a1a9
DN
7262009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
727
728 * emacsclient.c (print_help_and_exit): Fix typo.
729
22749e9a
EZ
7302009-03-21 Eli Zaretskii <eliz@gnu.org>
731
732 * ntlib.c (setuid): Argument is now unsigned.
733 (getuid): Return value is now unsigned.
734 (getpwuid): Argument is now unsigned.
735 (fchown): UID and GID arguments are now unsigned.
736
737 * ntlib.h (fchown): UID and GID arguments are now unsigned.
738 (getuid): Return value is now unsigned.
739 (setuid): Argument is now unsigned.
740 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
741
b57ac69d 7422009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
743
744 * emacsclient.c (main): Revert part of last change, so
745 drive-relative file names again work on Windows.
746
ba528748
SM
7472009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
750 names without prepending cwd to them, so Emacs uses its customary
751 rules to determine how to interpret the file name.
752
f213f2c0
GM
7532009-03-04 Glenn Morris <rgm@gnu.org>
754
755 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
756
8ee7d7be
CY
7572009-02-13 Sven Joachim <svenjoac@gmx.de>
758
759 * movemail.c: Include time.h unconditionally.
760 (main): Use time_t for time variables.
761
d228a23c
GM
7622009-02-11 Glenn Morris <rgm@gnu.org>
763
764 * movemail.c (mbx_delimit_begin): Also write the current time.
765
3f32be22
GM
7662009-02-10 Glenn Morris <rgm@gnu.org>
767
768 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
769 than Babyl format. (Bug#2196)
770
e7534fc4
AR
7712009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
772
773 * emacsclient.c (decode_options): Use a dummy display name under
774 NS/Cocoa.
775
9eb67dd9
CY
7762009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
777
778 * ebrowse.c (matching_regexp): Fix OB1 error.
779
b433a991
GM
7802009-01-05 Glenn Morris <rgm@gnu.org>
781
782 * ebrowse.c (version):
783 * etags.c (print_version):
784 * rcs2log (Copyright): Update copyright for 2009.
785
81f82586
CY
7862009-01-01 Chong Yidong <cyd@stupidchicken.com>
787
788 * movemail.c (main): Fatal if hard links cannot be created.
789
fd95644b
DN
7902008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
791
792 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
793 checking.
794
67c1df01
DN
7952008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
796
797 * emacsclient.c: Include syswait.h instead of sys/types.h.
798
f0131492 7992008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 800
d4835507
JB
801 * emacsclient.c (WCONTINUED): New compatibility define
802 for older systems.
5445ab06 803
d50299d5
DN
8042008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
805
806 * emacsclient.c (main): Fix previous change.
807
52016647
JB
8082008-12-10 Juanma Barranquero <lekktu@gmail.com>
809
810 * emacsclient.c (main): Fix mindless breakage where emacsclient
811 does not work *at all* on Windows, even if it *can* connect.
812
802bdb3c
DN
8132008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
814
815 * emacsclient.c (EMACS_DAEMON): Remove definition.
816 (decode_options): Do not allow an empty alternate_editor on
817 WINDOWSNT.
818 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
819 (start_daemon_and_retry_set_socket): Likewise.
45ce4570 820 (main): Fail in case of not being able to connect.
802bdb3c 821
c3f995a2
JB
8222008-12-10 Juanma Barranquero <lekktu@gmail.com>
823
824 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
825 Changes when EMACS_DAEMON is not defined:
826 (print_help_and_exit): Don't add daemon information to help.
827 (start_daemon_and_retry_set_socket): Make a no-op.
828 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
829
636b507b
DN
8302008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
831
832 * emacsclient.c (print_help_and_exit): Describe what an empty
833 string argument does for --alternate-editor.
834 (set_socket): Make it possible to not exit in case of an error.
835 (start_daemon_and_retry_set_socket): New function.
836 (main): Use it. Restore the NULL value for socket_name and
837 server_file after the set_socket call.
838
448d4085
DN
8392008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
840
7b641241 841 * emacsclient.c: Include <arpa/inet.h>.
448d4085 842
938ebc4f
DN
8432008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
844
845 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
846
3d864325
GM
8472008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
848
849 * etags.c (add_regex): Pass correct length to re_compile_pattern.
850
48c2dc68
CY
8512008-11-02 Chong Yidong <cyd@stupidchicken.com>
852
853 * emacsclient.c (window_system): Delete redundant variable.
854 (decode_options): Don't use it.
855 (find_tty): New function.
856 (main): Use find_tty, and don't use window_system.
857
d41784ee
EZ
8582008-11-01 Eli Zaretskii <eliz@gnu.org>
859
860 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
861 `ttyname'.
862 (w32_getenv): Treat $TERM specially: if not found in the
863 environment and in the Registry, return "w32console".
864 (ttyname) [WINDOWSNT]: New function.
865
322ca650
AS
8662008-10-31 Andreas Schwab <schwab@suse.de>
867
868 * emacsclient.c (main): Don't force sending tty when in eval mode.
869
8a8a7cd3
CY
8702008-10-30 Chong Yidong <cyd@stupidchicken.com>
871
872 * emacsclient.c (main): If using the current frame, send tty
873 information to Emacs in case daemon mode needs to occupy this tty.
874
f8baa639
JB
8752008-10-29 Juanma Barranquero <lekktu@gmail.com>
876
bc558f3e
JB
877 * emacsclient.c (EXTRA_SPACE): New macro.
878 (get_server_config, set_local_socket): Use it.
879
f8baa639
JB
880 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
881 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
882
f77b11a0
JB
8832008-10-29 Ulrich Mueller <ulm@gentoo.org>
884
885 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
886 instead of hardcoded /tmp.
887
dc1cd5f7
DN
8882008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
889
890 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
891 (decode_options): Use getopt_long_only.
892
7a09249b
EZ
8932008-09-30 Eli Zaretskii <eliz@gnu.org>
894
895 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
896 codepage.elc.
897
997ec957
CY
8982008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
899
900 * emacsclient.c (main): Use stdout rather than stdin to obtain the
901 terminal (bug#427).
902
0d80bf29
FP
9032008-08-25 Francesco Potortì <pot@gnu.org>
904
905 * etags.c (main): Do not use static space for the tagfile string.
906
34a23e94
FP
9072008-08-17 Francesco Potortì <pot@gnu.org>
908
909 * etags.c (main): Use canonicalize_filename on tags file name.
910 (relative_filename): Revert 3.85: do not collapse slashes here.
911 (absolute_dirname): Remove useless call to canonicalize_filename.
912 (canonicalize_filename): Collapse multiple slashes here.
913
48fad8e8
DN
9142008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
915
10d1d0af
JB
916 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
917 Do not special case for NS_IMPL_COCOA.
48fad8e8 918
6088b51f 9192008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
f4494e84
AR
920
921 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
922 (.m.o): Dispense with GNUstep-specific flags.
923
39b8bb9b
CY
9242008-08-05 Ulrich Mueller <ulm@gentoo.org>
925
926 * pop.c (socket_connection): Add conditionals for
927 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
928 compilation with MIT Kerberos and Heimdal, respectively.
929
7c2fb837
DN
9302008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
931
932 * etags.c:
933 * emacsclient.c: Remove VMS support.
934
9e2a2647
DN
9352008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
936
937 Remove support for Mac Carbon.
938 * makefile.w32-in:
939 * emacsclient.c: Remove code for Carbon.
940
7f619bab
DN
9412008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
942
943 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
944
32cc3925
AS
9452008-07-17 Andreas Schwab <schwab@suse.de>
946
947 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
948 (LIB_STANDARD_LIBSRC): Don't define.
949 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
950
ba60bd44 9512008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
952
953 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
954 NS_IMPL_COCOA.
955
50863f58
DN
9562008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
957
ba60bd44
JB
958 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
959 Remove, unused.
50863f58 960
ba60bd44 9612008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
962
963 * .cvsignore: Add mac-fix-env.
964 * mac-fix-env.m: New file, automatically update
965 ~/.MacOSX/environment.plist on OS X systems to expose environment
966 variables inside Emacs started from icon.
967 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
968 programs to build.
969 * make-docfile.c: Add .m to list of file extensions.
970
bba104c1
DN
9712008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
972
973 * movemail.c (main): Use int instead of WAITTYPE.
974
da007124
JB
9752008-07-05 Juanma Barranquero <lekktu@gmail.com>
976
977 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
978 Remove vmsproc.el and vms-patch.el.
979
c9fc02c7
JB
9802008-06-26 Juanma Barranquero <lekktu@gmail.com>
981
982 * makefile.w32-in (obj): Remove w32bdf.o.
983
f2a77c3a
DN
9842008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
985
986 * fakemail.c: Remove references to obsolete variables.
987
c2cd06e6
JM
9882008-06-02 Jim Meyering <meyering@redhat.com>
989
e914c409 990 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 991
e914c409 992 Remove useless if-before-free tests.
70fdbb46
JM
993 * ebrowse.c (xfree): Likewise.
994 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 995 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 996 * pop.c (pop_quit): Likewise.
c2cd06e6 997
01b996ad
JB
9982008-05-30 Juanma Barranquero <lekktu@gmail.com>
999
1000 * makefile.w32-in (lisp2): Add minibuffer.elc.
1001
2926947a
SM
10022008-05-29 Tom Tromey <tromey@redhat.com>
1003
1004 * etags.c (relative_filename): Treat "///" like "/" in filenames.
1005
10fea9c4
EZ
10062008-05-09 Eli Zaretskii <eliz@gnu.org>
1007
1008 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
1009 (IS_DIRECTORY_SEP): New macro.
1010 (convert_time, is_exec, stat): New functions.
1011
86914123
EZ
10122008-05-08 Eli Zaretskii <eliz@gnu.org>
1013
1014 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
1015
58bb7d50
EZ
10162008-05-03 Eli Zaretskii <eliz@gnu.org>
1017
1018 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
1019 corresponding change in src/Makefile.in.
1020
63b9b605
GM
10212008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
1022
1023 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
1024
4429f88c
JR
10252008-04-10 Jason Rumney <jasonr@gnu.org>
1026
1027 * makefile.w32-in (CLIENTRES): New variable and target.
1028 (TRES): Remove.
1029 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
1030
14b11401
SM
10312008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1032
1033 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
1034
95de358c
RF
10352008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
1036
1037 * vcdiff: Use mktemp (CVE-2008-1694).
1038
6948400c
JR
10392008-04-09 Jason Rumney <jasonr@gnu.org>
1040
1041 * makefile.w32-in (distclean, maintainer-clean): New targets.
1042
afd27920
GM
10432008-03-13 Glenn Morris <rgm@gnu.org>
1044
1045 * makefile.w32-in (VERSION): Set to 23.0.60.
1046
3d193d0f
JB
10472008-03-04 Juanma Barranquero <lekktu@gmail.com>
1048
1049 * .cvsignore: Add oo.
1050
1797886f
SM
10512008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
1052
1053 * etags.c (Perl_functions): Fix call to skip_spaces.
1054
9d2818d6
DN
10552008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
1056
1057 * Makefile.in (NO_SHORTNAMES):
1058 * emacsclient.c (NO_SHORTNAMES):
1059 * fakemail.c (NO_SHORTNAMES):
1060 * make-docfile.c (NO_SHORTNAMES):
1061 * movemail.c (NO_SHORTNAMES):
1062 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
1063
79d48c1a
JR
10642008-02-23 Jason Rumney <jasonr@gnu.org>
1065
1066 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
1067 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 1068 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
1069 (lisp2): Add new languages.
1070 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
1071
9c61c734
JB
10722008-02-22 Juanma Barranquero <lekktu@gmail.com>
1073
1074 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
1075 malayalam.el, and tamil.el. Add sinhala.el.
1076
50f271cb
JB
10772008-02-20 Juanma Barranquero <lekktu@gmail.com>
1078
1079 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
1080 where NAME is relative to DRIVE'S current directory.
1081
d07529f3
JB
10822008-02-15 Juanma Barranquero <lekktu@gmail.com>
1083
1084 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
1085
45c1955d
DN
10862008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
1087
1088 * fakemail.c: Undo previous change.
1089
deeaffe1
DN
10902008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
1091
4624371d
DN
1092 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
1093 (main): Replace MAIL_PROGRAM_NAME with its value.
1094
d07529f3 1095 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 1096
9997dc15
SM
10972008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * emacsclient.c (decode_options): Pass --display implicitly if -c
1100 is specified. Only set tty if -t or -c is specified.
1101
0c55bf82
JR
11022008-02-04 Jason Rumney <jasonr@gnu.org>
1103
1104 * makefile.w32-in (lisp1): Use (), not {}.
1105
31cdf671
CY
11062008-02-04 Tom Tromey <tromey@redhat.com>
1107
d07529f3
JB
1108 * etags.c: Add "GTY" as synonym for __attribute__.
1109 Update gperf output.
31cdf671 1110
9303f985 11112008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 1112
c4cc8b9a 1113 * makefile.w32-in (obj): Sync with src/Makefile.in.
aca7a3d2
MB
1114 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
1115 (WINNT_SUPPORT): Add term/w32-win.elc.
1116 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
1117
9303f985 11182008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 1119
d07529f3 1120 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 1121
d07529f3 11222008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 1123
290afd83 1124 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
1125 utf-8.elc, and latin-*.el.
1126
0ea5797a
SM
11272008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1128
bcc891c2 1129 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
1130 Allow the -d option under w32 again, for those rare cases where it
1131 actually does make sense.
1132
5ab73228
JB
11332008-01-25 Juanma Barranquero <lekktu@gmail.com>
1134
1135 * emacsclient.c (set_tcp_socket): Don't send "\n" after
1136 the authentication string; there's no need to haste.
1137
702123a8
CY
11382008-01-22 Chong Yidong <cyd@stupidchicken.com>
1139
1140 * pop.c (pop_stat, pop_last): Fix last fix.
1141
76ed5e01
DN
11422008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
1143
1144 * movemail.c: Remove references to XENIX.
1145
e39a993c
DN
11462008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
1147
1148 * movemail.c:
1149 * make-docfile.c: Remove reference to symbols defined by systems
1150 not supported anymore: MAC_OS8, XENIX and STRIDE.
1151
0ebec7d3
EZ
11522008-01-12 Eli Zaretskii <eliz@gnu.org>
1153
1154 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
1155 of DISPLAY in the environment. Don't support -d.
1156 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
1157 (longopts) [WINDOWSNT]: Remove --display.
1158
6eae3ad4
CY
11592008-01-10 Chong Yidong <cyd@stupidchicken.com>
1160
1161 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
1162 conversion. Mistakes spotted by Nico Golde.
1163
78da39c6
GM
11642008-01-09 Glenn Morris <rgm@gnu.org>
1165
1166 * emacsclient.c: Add missing final newlines to message calls.
1167
34a14ec9 11682008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
1169
1170 * emacsclient.c (set_socket): Add final newline to socket error message.
1171
a408ea17
GM
11722008-01-04 Glenn Morris <rgm@gnu.org>
1173
07655e62
JB
1174 * ebrowse.c (version) <emacs_copyright>: New variable.
1175 Just use current year for copyright.
a408ea17
GM
1176
1177 * etags.c (print_version):
1178 * rcs2log (Copyright): Update to 2008.
1179
0dc7a8bc
JR
11802007-11-28 Jason Rumney <jasonr@gnu.org>
1181
1182 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
1183
880820fe 11842007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
1185
1186 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
1187
880820fe 11882007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
1189
1190 * pop.c (socket_connection): Move realhost out of #ifdefs.
1191 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
1192
880820fe 11932007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
1194
1195 * pop.c (socket_connection): Use getaddrinfo if available.
1196
880820fe 11972007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 1198
65841dd8 1199 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 1200 as the defaults in ctags are different from etags.
63f018cd 1201
880820fe 12022007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
1203
1204 * etags.c: Make prototypes for extern definitions, and add all
1205 that are needed to quench warnings on 64-bit.
1206 (main): Use the same defaults for ctags as for etags: find
1207 typedefs, structure tags, macro constants, enum constants, struct
1208 members and global variables.
1209 (make_C_tag) [DEBUG]: Add debugging printout.
1210 (C_entries): In case '}' decrement bracelev before testing it.
1211
7455effc
FP
12122007-11-15 Masatake YAMATO <jet@gyve.org>
1213
1214 * etags.c (C_entries): In case '}', set fvdef to fvnone
1215 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
1216
04a697fe
DN
12172007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
1218
1219 * makefile.w32-in (obj): Remove sunfns.o.
1220
a2666217
JB
12212007-10-28 Juanma Barranquero <lekktu@gmail.com>
1222
1223 * makefile.w32-in (obj): Remove abbrev.o.
1224
7ce8671d
JB
12252007-10-26 Juanma Barranquero <lekktu@gmail.com>
1226
1227 * emacsclient.c: Add a wrapper for getenv so it also checks the
1228 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
1229 Code partially based on w32_get_resource and init_environment (w32.c).
1230 (egetenv): New wrapper for getenv.
1231 (get_current_dir_name, decode_options, get_server_config)
1232 (set_local_socket, set_socket, main): Use egetenv, not getenv.
1233 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
1234
d22b00e5
JR
12352007-10-25 Jason Rumney <jasonr@gnu.org>
1236
1237 * emacsclient.c (sock_err_message): New function.
1238 (set_tcp_socket): Use it.
1239
c4b858e3
JB
12402007-10-09 Juanma Barranquero <lekktu@gmail.com>
1241
1242 * emacsclient.c (print_help_and_exit): Fix space to improve
1243 alignment in output messages.
1244
dbf60b07
JR
12452007-09-27 Jason Rumney <jasonr@gnu.org>
1246
1247 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
1248
1249 * emacsclient.c (w32_window_app): Init common controls when windowed.
1250
165e85b2
GM
12512007-09-21 Glenn Morris <rgm@gnu.org>
1252
1253 * emacstool.c: Remove file.
1254 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
1255 Delete targets built from emacstool.
1256
c1b8e896
SM
12572007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * emacsclient.c (decode_options): -t implies -c.
1260
cb06b8dc
SM
12612007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
1264 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
1265 (main_argc): Remove.
1266 (strprefix): Use strncmp.
1267
c801ad51
JR
12682007-09-20 Jason Rumney <jasonr@gnu.org>
1269
1270 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
1271
31fa6595
SM
12722007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * emacsclient.c (current_frame): Change the default.
1275 (longopts): Replace --current-frame by --create-frame.
1276 (decode_options): Reverse the meaning of -c.
1277 (print_help_and_exit): Update help text accordingly.
1278 (main): Remove the -version and -good-version messages.
1279
58573230
GM
12802007-09-12 Glenn Morris <rgm@gnu.org>
1281
1282 * Makefile.in (SOURCES, unlock, relock): Delete.
1283
bfd9ce71
GM
12842007-08-29 Glenn Morris <rgm@gnu.org>
1285
1286 * makefile.w32-in (VERSION): Increase to 23.0.50.
1287
8d9cc0b7
MB
12882007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
1289
1290 * emacsclient.c (w32_execvp): Move definition before use.
1291 (decode_options): Don't use a tty on mac carbon or windows.
1292
12932007-08-29 Jason Rumney <jasonr@gnu.org>
1294
31fa6595 1295 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
1296 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
1297 (main): Expand removed macros inline.
1298 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
1299 option.
1300 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
1301
880820fe 13022007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
1303
1304 * emacsclient.c (signal.h): New include.
1305 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
1306 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
1307 Copy definitions here from src/lisp.h.
1308 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
1309 (longopts): Add tty, current-frame.
1310 (xmalloc, xstrdup): New functions.
1311 (get_current_dir_name): New function, copied from src/sysdep.c.
1312 (decode_options): Set display from environment. Add tty and
1313 current_frame options. Make --no-wait imply --current-frame,
1314 except when it is the only option given. Make sure no frame is
1315 opened when --current-frame is set.
1316 (print_help_and_exit): Document tty and current-frame options.
1317 (fail): Change arguments to void.
1318 (main): When sockets are not defined, set main_argc, main_argv,
1319 and call fail() with no arguments.
1320 (emacs_socket): New variable (moved out from main `s').
1321 (quote_file_name): Rename to quote_argument.
1322 (quote_argument): New name for old quote_file_name.
1323 (unquote_argument, strprefix, pass_signal_to_emacs)
1324 (handle_sigcont, handle_sigtstp, init_signals): New functions.
1325 (set_local_socket): Initialize saved_errno to 0. If socket-name
1326 is too long, call `fail' rather than `exit'.
1327 (main): Doc update. Set main_argc, main_argv. New var `str'.
1328 Don't need a filename or argument if tty or window_system set.
1329 Call fail with no arguments. Use get_current_dir_name to send
1330 over the current directory. Send version number to Emacs for
1331 verification. If tty is set, check TERM, and pass name and type
1332 to Emacs. Pass window_system to Emacs. Move sending of eval to
1333 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
1334 fflush. Check for a client/server version match.
1335 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
1336 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
1337 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
1338 environment and pwd to Emacs. Send current-frame to Emacs.
1339
ca4ea90f
EZ
13402007-08-25 Eli Zaretskii <eliz@gnu.org>
1341
1342 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1343 Prepend "-" to the command, in case srcdir=. and file is copied
1344 into itself.
1345
cacc7b51
GM
13462007-07-25 Glenn Morris <rgm@gnu.org>
1347
1348 * Relicense all FSF files to GPLv3 or later.
1349
1350 * COPYING: Switch to GPLv3.
1351
880820fe 13522007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
1353
1354 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
1355 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
1356 (print_help): Use it in if() rather than #if.
1357 (print_help): Conditionally print help about --no-line-directive.
180f5b99 1358
9724908a
EZ
13592007-07-16 Eli Zaretskii <eliz@gnu.org>
1360
1361 * makefile.w32-in (clean): Don't delete *~.
1362
5cf9ca93
GM
13632007-06-07 Glenn Morris <rgm@gnu.org>
1364
1365 * etags.c (print_version): Add `emacs_copyright' string, for
1366 easier automatic updating.
1367
880820fe 13682007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
1369
1370 * etags.c: Extern definitions of some more pointer functions for
1371 standalone compilation, especially important for 64bit platforms.
1372 (main, print_help): --members is now the default for etags.
1373 (C_entries): Parse start of C comment as a space == end of token.
1374 This is not necessary for C++ comment, already parsed as newline.
1375
07016031
GM
13762007-04-26 Glenn Morris <rgm@gnu.org>
1377
1378 * makefile.w32-in (VERSION): Increase to 22.1.50.
1379
7dfc4cda
CY
13802007-06-02 Chong Yidong <cyd@stupidchicken.com>
1381
1382 * Version 22.1 released.
1383
880820fe 13842007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 1385
d620ddb3 1386 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 1387
0971f887
GM
13882007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
1389
1390 * Makefile.in (EMACS, EMACSOPT): New variables.
1391 (blessmail): Use `--no-site-file' when compiling.
1392
880820fe 13932007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
1394
1395 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
1396 (main): Now --members is the default for etags, not for ctags yet.
1397
d881944f 13982007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 1399
47dad44f 1400 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
1401 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
1402 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
1403 import, package, extends, implements and interface to be treated
1404 specially for all kinds of C-style files, not just Java files.
1405
880820fe 14062007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 1407
47dad44f 1408 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
1409 (no_duplicates): Static variables for the above option.
1410 (print_help): Do not print help for --no-warn, now undocumented.
1411 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 1412 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 1413
880820fe 14142006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
1415
1416 * etags.c (readline): When creating a relative file name from a
1417 #line directive, leave the file name alone. The previous
a7c29764 1418 behavior was to make it relative to the tags file directory,
18f9bf25
FP
1419 under the hypothesis that the #line directive file name was
1420 relative to the directory of the tagged file. That hypothesis is
1421 wrong with Cpp and Lex.
17d5f8a6 1422 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 1423
5e059fc1
EZ
14242006-12-22 Eli Zaretskii <eliz@gnu.org>
1425
1426 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
1427 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 1428 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
1429 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
1430 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
1431 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
1432 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
1433 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 1434 (clean): Delete stamp_BLD.
5e059fc1 1435
880820fe 14362006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
1437
1438 * etags.c (C_entries): DEFUN names were longer by one: corrected.
1439
0e0dced5
JB
14402006-12-18 Juanma Barranquero <lekktu@gmail.com>
1441
1442 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
1443 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
1444 (main) [WINDOWSNT]: Remove code to release the focus; call
1445 w32_give_focus instead.
1446
4472aef4
JB
14472006-12-15 Juanma Barranquero <lekktu@gmail.com>
1448
1449 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
1450 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
1451 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
1452 Suggestions and comment by Eli Zaretskii.
1453
12f7728e 14542006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
1455
1456 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
1457 Use $(USER32) for compatibility with Visual Studio .NET 2003.
1458
310afa17
JB
14592006-11-30 Juanma Barranquero <lekktu@gmail.com>
1460
1461 * emacsclient.c (emacs_pid): New variable.
1462 (message): Remove leftover code.
1463 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
1464 focus yet; emacsclient can still display an informational message
1465 before sending requests to Emacs.
1466 (main): Allow Emacs to grab the focus. Simplify message() call.
1467
14682006-11-30 Michael Mauger <mmaug@yahoo.com>
1469
1470 * emacsclient.c (message): Make sure the message is properly
1471 written even if it contains printf escapes, and flush the result.
1472 (set_tcp_socket): Make the message for non-local connections
1473 informational rather than an error.
1474
8c57275b 14752006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
1476
1477 * etags.c (readline): Check for double quote after #line.
1478
880820fe 14792006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
1480
1481 * etags.c (readline): sscanf could in principle return 2.
1482
880820fe 14832006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
1484
1485 * etags.c (readline): lno is unsigned.
1486 (TeX_commands): Use p++ (rather than *p++) to increment p.
1487 (Lua_functions): Explicitly discard LOOKING_AT's return value.
1488
4d91c8f9
JB
14892006-11-27 Juanma Barranquero <lekktu@gmail.com>
1490
1491 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
1492 ($(TRES)): New rule (copied from nt/makefile.w32-in).
1493 ($(BLD)/emacsclientw.exe): Add dependency.
1494
340d34a5
EZ
14952006-11-27 Eli Zaretskii <eliz@gnu.org>
1496
d620ddb3 1497 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 1498
7dce1990
JB
14992006-11-25 Juanma Barranquero <lekktu@gmail.com>
1500
1501 * makefile.w32-in (VERSION): New macro.
1502 (ECLIENT_CFLAGS): Add -DVERSION.
1503
410797a5 15042006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
1505
1506 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
1507
410797a5 15082006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 1509
4472aef4
JB
1510 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
1511 file names with forward slashes.
cb0297bb 1512
30aa95ce
JB
15132006-11-23 Juanma Barranquero <lekktu@gmail.com>
1514
1515 * emacsclient.c (print_help_and_exit): Tweak message contents and
1516 tabs/spaces to improve alignment in message boxes.
1517
42073bfb
JB
15182006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
1519
1520 * emacsclient.c: Include <stdarg.h>.
1521 [WINDOWSNT]: Include <windows.h>.
1522 (w32_check_console_app): New function.
1523 (message): New function.
1524 (decode_options, print_help_and_exit, fail, main)
1525 (initialize_sockets, get_server_config, set_tcp_socket)
1526 (set_local_socket, set_socket): Use message().
1527
32dd9283 15282006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 1529
32dd9283
JR
1530 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
1531 HAVE_INET_SOCKETS.
1532
1bbea9fc
JB
15332006-11-13 Juanma Barranquero <lekktu@gmail.com>
1534
1535 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
1536 ($(BLD)/emacsclientw.exe): New target.
1537 (install): Install emacsclientw.exe.
1538 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
1539 (ECLIENT_CFLAGS): Remove redundant flags.
1540
1541 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
1542
a48db427
JR
15432006-11-13 Jason Rumney <jasonr@gnu.org>
1544
1545 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
1546
21f89bb7 15472006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
1548
1549 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
1550
d5abc12c
JB
15512006-11-08 Juanma Barranquero <lekktu@gmail.com>
1552
ed4a3730
JB
1553 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
1554 FARPROC to avoid a compiler warning.
d5abc12c 1555
18b8c421
JB
15562006-11-07 Juanma Barranquero <lekktu@gmail.com>
1557
88b46d84
JB
1558 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
1559 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
1560
18b8c421
JB
1561 * emacsclient.c (get_server_config): Extract also the Emacs pid
1562 from the server file. On Windows, try to force the Emacs frame to
1563 the foreground.
1564
b03d27bd
JB
15652006-11-06 Juanma Barranquero <lekktu@gmail.com>
1566
21f89bb7 1567 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
1568 option --socket-name.
1569 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
1570 command line options.
21f89bb7 1571 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
1572 (fail): Don't check for missing arguments, it is now done in set_socket.
1573 (file_name_absolute_p): New function (loosely based on the one in
1574 fileio.c).
1575 (initialize_sockets): Don't check for duplicate loading of Winsock.
1576 (get_server_config): Only try relative paths in the default
1577 directory locations.
1578 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
1579 a remote server.
1580 (set_socket): Call INITIALIZE(). Search explicit command-line
1581 arguments, then environment variable EMACS_SERVER_FILE, then implicit
1582 socket paths, before trying the alternate editor.
1583 (main): Use file_name_absolute_p.
1584
b20d6154
EZ
15852006-11-04 Eli Zaretskii <eliz@gnu.org>
1586
1587 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
1588 file if it doesn't already exist.
1589
9c92edca
JB
15902006-11-03 Juanma Barranquero <lekktu@gmail.com>
1591
1592 * emacsclient.c (initialize_sockets): Don't initialize Winsock
1593 more than once.
1594
b6ce9c46
JB
15952006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
1596
1597 * Makefile.in (INSTALL_SCRIPT): New macro.
1598 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
1599
4418616b
JB
16002006-11-02 Juanma Barranquero <lekktu@gmail.com>
1601
1602 * grep-changelog: When called with no arguments (not even a
1603 filter), show help instead of blindingly dumping every single
1604 ChangeLog available. Doc fix. Update version.
1605
1e7823d0
JB
16062006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1607
1608 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
1609 [!WINDOWSNT]: Include <netinet/in.h> if available.
1610 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
1611 (IOCTL, IOCTL_BOOL_ARG): Remove.
1612 (set_tcp_socket): Don't set the socket in blocking mode.
1613 Remove c_arg.
1614
ebc20ca0
JB
16152006-11-01 Juanma Barranquero <lekktu@gmail.com>
1616
1617 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
1618 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
1619
880820fe 16202006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
1621
1622 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
1623 (close_winsock): Declare as __cdecl.
1624
880820fe 16252006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
1626
1627 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
1628 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
1629 to set the socket in non-blocking mode.
1630
e35fc962
JB
16312006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1632
d4fa60c8 1633 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
1634 (INVALID_SOCKET): Define.
1635 (initialize_sockets): Put #endif at the right place.
1636 (set_local_socket): Use progname, not argv[0].
1637
ecc54057
JB
16382006-10-31 Juanma Barranquero <lekktu@gmail.com>
1639
1640 * makefile.w32-in (ALL): Add emacsclient.
1641 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
1642 (emacsclient, $(BLD)/emacsclient.exe): New targets.
1643 (install): Install emacsclient.
1644
1645 * emacsclient.c: Add support for TCP sockets.
1646 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
1647 (INITIALIZE): New macros.
1648 (IOCTL_BOOL_ARG): New typedef.
1649 (server_file): New global variable.
1650 (longopts): New option --server-file.
1651 (decode_options): Process new option --server-file and environment
1652 variable EMACS_SERVER_FILE.
1653 (print_help_and_exit): Document new option.
1654 (fail): If no connection available and no alternate editor,
1655 suggest using options to make them explicit.
1656 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
1657 (send_buffer, sblen): New variables.
31fa6595 1658 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
1659 (quote_file_name): Use SEND_STRING.
1660 (close_winsock, initialize_sockets): New functions to load and
1661 unload Winsock.
1662 (get_server_config, set_tcp_socket): New functions to create and
1663 set up TCP sockets.
1664 (set_local_socket): New function to create and set up Unix
1665 socket (code moved from previous implementation).
10d1d0af 1666 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
1667 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
1668 set_local_socket. Use set_socket. Get answers from server.el with
1669 recv(), not file stream functions.
1670
70846e2a
EZ
16712006-10-09 Eli Zaretskii <eliz@gnu.org>
1672
1673 * makefile.w32-in (../src/config.h): Fix error message.
1674
e2247cd0
EZ
16752006-09-30 Eli Zaretskii <eliz@gnu.org>
1676
1677 * .cvsignore: Add blessmail.
1678
45a2056c
JB
16792006-09-15 Jay Belanger <belanger@truman.edu>
1680
1681 * COPYING: Replace "Library Public License" by "Lesser Public
1682 License" throughout.
1683
880820fe 16842006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 1685
ecc54057 1686 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 1687 (readline): Change position on %n and \" in sscanf.
1f4edc37 1688
1520a816
JD
16892006-08-07 Masatake YAMATO <jet@gyve.org>
1690
ecc54057
JB
1691 * etags.c (readline): Expect sscanf returns 2, not 1.
1692
867cc23e
JD
16932006-08-07 Masatake YAMATO <jet@gyve.org>
1694
9984b9d5 1695 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
1696 File ended without newline causes infinite loop.
1697
6088b51f 16982006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
fc185ae6 1699
ecc54057 1700 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 1701
880820fe 17022006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
1703
1704 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
1705 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
1706 (Objc_suffixes): Suggest using --lang=c for full help.
1707 (C_entries): Initialise savetoken to 0 to shut up the compiler.
1708
116e754b
AS
17092006-07-20 Andreas Schwab <schwab@suse.de>
1710
1711 * fakemail.c (fatal): Drop second parameter and treat first
1712 parameter as a plain string. Callers changed.
1713
2381d38d
DN
17142006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
1715
1716 * ebrowse.c (usage, version): Mark as NO_RETURN.
1717
1718 * emacsclient.c (print_help_and_exit): Likewise.
1719
880820fe 17202006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
1721
1722 * etags.c (absolute_filename): Free unused space (cosmetic change).
1723 (in_word_set): In C, also tag #undef symbols.
1724
7cb93181
EZ
17252006-06-09 Eli Zaretskii <eliz@gnu.org>
1726
1727 * yow.c: Remove file.
1728
1729 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
1730
1731 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
1732 yow${EXEEXT}: Remove target.
1733
0f29c66d
MY
17342006-06-04 Masatake YAMATO <jet@gyve.org>
1735
63fbb644 1736 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
1737 doesn't exist, is not seekable, not is failed in ftall.
1738
a941b26b
EZ
17392006-06-03 Eli Zaretskii <eliz@gnu.org>
1740
9781fb53
EZ
1741 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
1742 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
1743 ($(BLD)/test-distrib.exe): New targets.
1744 (sorted-doc, digest-doc, test-distrib): New targets.
1745 (install): Install sorted-doc.exe and digest-doc.exe.
1746 ($(BLD)/sorted-doc.$(O)): Update dependencies.
1747
1b178b99
EZ
1748 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1749 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1750 terminal device.
1751
ae85efdb
EZ
1752 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1753 [WINDOWSNT] <top level>: Don't redeclare malloc.
1754 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1755 terminal device.
6088b51f 1756 (main): Initialize bp, to avoid compiler warnings.
ae85efdb 1757
a941b26b
EZ
1758 * makefile.w32-in: Delete traces of leditcfns.c.
1759
1760 * leditcfns.c: Remove file.
1761
880820fe 17622006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 1763
31fa6595
SM
1764 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
1765 Add comments explaining why the "kpop" service is never used.
8a6d5da7 1766
642c61f3
EZ
17672006-05-13 Eli Zaretskii <eliz@gnu.org>
1768
1769 * makefile.w32-in (lisp1): Add fringe.elc.
1770
880820fe 17712006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
1772
1773 * etags.c (Perl_functions): Free space allocated for var package.
1774 (Erlang_functions): Possibly free space allocated for var last.
1775 (Prolog_functions): Possibly free space allocated for var last.
1776
7c47913b
DN
17772006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
1778
7fe8b491
DN
1779 * sorted-doc.c (main): Initialize docs to NULL.
1780
cdeda579
DN
1781 * yow.c (yow): Free buf.
1782
7c47913b
DN
1783 * etags.c: Delete c-indentation-style local variable.
1784
2ef88a94
RS
17852006-04-29 Richard Stallman <rms@gnu.org>
1786
5e5b35c7
RS
1787 * movemail.c (main): Check for negative value from `read'.
1788
2ef88a94
RS
1789 * fakemail.c (read_header): Give fatal error if input has no header.
1790
d65b4235
PE
17912006-04-02 Paul Eggert <eggert@cs.ucla.edu>
1792
1793 * b2m.c (main): Don't include <limits.h>.
1794 (TM_YEAR_BASE): New macro.
1795 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
1796 that s/ files can override this. Use the more-conservative range
1797 1000-9999.
1798 (main): Check for asctime returning NULL.
1799 * fakemail.c: Likewise.
1800
f5565804
PE
18012006-03-27 Paul Eggert <eggert@cs.ucla.edu>
1802
1803 * b2m.c: Include <limits.h>.
1804 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
1805 (main): Check for out-of-range time stamps.
1806 * fakemail.c: Likewise.
1807
90c9c343
AS
18082006-03-18 Andre Spiegel <spiegel@gnu.org>
1809
1810 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
1811 execute $DIFF twice, and once with the wrong options.
1812
a6a2b5d4
EZ
18132006-02-23 Claudio Fontana <claudio@gnu.org>
1814
9e2bcc86
EZ
1815 * Makefile.in (install, uninstall): Add DESTDIR variable to
1816 support staged installations.
a6a2b5d4 1817
ef3f69f9
EZ
18182005-12-30 Eli Zaretskii <eliz@gnu.org>
1819
1820 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
1821 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
1822 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
1823 Rearrange the list to be similar to $(shortlisp) in
1824 src/Makefile.in.
ef3f69f9
EZ
1825 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
1826 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
1827 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
1828 src/Makefile.in.
1829
30cfcf7f
RS
18302005-12-22 Richard M. Stallman <rms@gnu.org>
1831
1832 * Makefile.in (update-game-score.o): Delete spurious final `\'.
1833
ecc54057 18342005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
1835
1836 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
1837 which was never opened.
1838
283879ef 18392005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
1840
1841 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
1842 header files.)
1843
880820fe 18442005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
1845
1846 * etags.c: Preliminary Forth support.
1847 (prolog_pr): Cast strlen to int before comparison.
1848 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
1849 the second argument is indeed a literal string.
b9509712 1850 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
1851
18522005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
1853
1854 * etags.c (longopts, print_help, main): The -a (--append) option
1855 can be used in ctags also; for one, the Linux make file uses it.
1856
41ea4df8
CY
18572005-09-20 Chong Yidong <cyd@stupidchicken.com>
1858
1859 * ebrowse.c (add_sym): Compare namespace names instead of
1860 namespace objects. This prevents the parser from incorrectly
1861 treating classes whose superclass is in another namespace.
1862
5c4757d3
RS
18632005-09-15 Richard M. Stallman <rms@gnu.org>
1864
1865 * Makefile.in (update-game-score.o): New target.
10d1d0af 1866 Compile and link this program separately.
5c4757d3
RS
1867 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
1868
df1b2142
JR
18692005-09-11 Jason Rumney <jasonr@gnu.org>
1870
ecc54057 1871 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 1872 message instead.
31fa6595 1873 (../src/paths.h): Remove.
df1b2142 1874
c638055f
JB
18752005-07-27 Juanma Barranquero <lekktu@gmail.com>
1876
1877 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
1878 generated. Ignore also ctags.c and getopt.h.
1879
1880 * makefile.w32-in (clean): Delete getopt.h.
1881 (getopt.h): New rule.
1882
9eff9fe3
PE
18832005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1884
1885 Merge gnulib getopt implementation into Emacs.
1886
1887 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
1888 (GETOPT_H): New macro, from gnulib.
1889 (getopt.h): New rule, from gnulib.
1890 (GETOPTOBJS): Now autoconfigured.
1891 (GETOPTDEPS): getopt.h is now autoconfigured.
1892 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
1893 (getopt.o): Depend on ${srcdir}/gettext.h.
1894 (movemail.o): Depend on $(GETOPT_H).
1895 * getopt.c, getopt1.c: Sync from gnulib.
1896 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
1897 * getopt.h: Removed (now is getopt_.h).
1898
ec641d50
KR
18992005-07-13 Ken Raeburn <raeburn@gnu.org>
1900
0e0dced5
JB
1901 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
1902 (sendline): Add the \r\n to the line in a temporary buffer, and write
1903 it all at once.
ec641d50 1904
a0ec7a4a
LK
19052005-07-04 Lute Kamstra <lute@gnu.org>
1906
1907 Update FSF's address in GPL notices.
1908
0e0dddda
EZ
19092005-06-13 Eli Zaretskii <eliz@gnu.org>
1910
1911 * makefile.w32-in ($(DOC)): Fix last change.
1912
5a77c8e2
EZ
19132005-06-12 Eli Zaretskii <eliz@gnu.org>
1914
1915 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
1916 temacs.exe, and the preloaded *.elc files. This avoids
1917 unnecessary dumping and DOC rebuilding.
1918
1a8fb426
EZ
19192005-06-04 Eli Zaretskii <eliz@gnu.org>
1920
1921 * ntlib.h (fileno): Don't define if already defined.
1922
7235a58f
TTN
19232005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1924
1925 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
1926 (yow): Use EXIT_FAILURE in case of memory error.
1927
5063dbbf
YM
19282005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1929
1930 * make-docfile.c (DIRECTORY_SEP): New macro.
1931 (IS_DIRECTORY_SEP): Use it.
1932
880820fe 19332005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
1934
1935 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
1936
ba025f6d
YM
19372005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1938
1939 * make-docfile.c: Undo previous change.
1940
a9eedf40
AS
19412005-02-04 Andreas Schwab <schwab@suse.de>
1942
0e0dced5
JB
1943 * movemail.c (fatal): Accept third parameter and pass down to error.
1944 (pfatal_with_name): Pass error string as format parameter instead of
1945 as part of format string.
a9eedf40
AS
1946 (pfatal_and_delete): Likewise.
1947 (main): Adjust call to fatal.
1948 (xmalloc): Likewise.
1949
5a92a9eb
RS
19502005-01-29 Richard M. Stallman <rms@gnu.org>
1951
1952 * movemail.c (popmail): Don't use Errmsg as format string.
1953
e6973a25
ST
19542004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1955
0e0dced5 1956 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 1957
1bb3da38
AS
19582004-12-15 Andreas Schwab <schwab@suse.de>
1959
1960 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
1961 preprocessing to compile time constant.
1962
d4a38fdd
KS
19632004-11-17 Kim F. Storm <storm@cua.dk>
1964
1965 * etags.c: Undo last change.
1966
f2eb41c8
KS
19672004-11-09 Kim F. Storm <storm@cua.dk>
1968
1969 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
1970 silence compiler.
1971
1972 * hexl.c (main): Init local var c to silence compiler.
1973
1974 * etags.c (main, consider_token, C_entries): Add misc switch
1975 default targets to silence compiler.
1976
880820fe 19772004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
1978
1979 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
1980 resulting DOC file can be used on Unix/Mac also.
1981
880820fe 19822004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
1983
1984 * etags.c (main): When relative file names are given as argument,
1985 make them relative to the current working dir, rather than
1986 relative to the output tags file, if the latter is in /dev.
1987
880820fe 19882004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
1989
1990 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
1991 <stdlib.h> is available.
1992 (enum sym_type): New st_C_attribute value for parsing
1993 gcc's __attribute__. Deleted st_C_typespec value.
1994 (gperf, in_word_set): Use gperf 3, options changed. Added the
1995 __attribute__ keyword, removed all the st_C_typespec keywords,
1996 changed attribute for Java to (C_JAVA & !C_PLPL).
1997 (inattribute): New global bool, part of the C state machine.
1998 (cblev): Identifier renamed to bracelev throughout.
1999 (consider_token, C_entries): Numerous changes for making the
2000 parser more robust and adding support for __attribute__.
2001
20022004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
2003
ecc54057 2004 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
2005 Support the Lua scripting language <http://www.lua.org>.
2006
880820fe 20072004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 2008
d57727c9 2009 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
2010 for ease of use.
2011
3751eb00
RS
20122004-07-17 Richard M. Stallman <rms@gnu.org>
2013
2014 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
2015
86d373e6
JB
20162004-06-01 Juanma Barranquero <lektu@terra.es>
2017
2018 * makefile.w32-in (obj): Add image.c.
2019
80e26b66
TTN
20202004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
2021
0e0dced5 2022 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 2023
e6662c8b
JR
20242004-05-08 Jason Rumney <jasonr@gnu.org>
2025
2026 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
2027 command-lines.
2028
65396510
TTN
20292004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2030
2031 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
2032 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
2033 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2034
2035 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
2036 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
2037 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 2038
c2bcfb19
TTN
20392004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2040
2041 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
2042
3f0656ff
TTN
20432004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
2044
2045 * b2m.c (GOOD, BAD): Delete macros. Throughout,
2046 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
2047 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2048
2049 * etags.c: Likewise.
2050
238add5e
JR
20512004-05-03 Jason Rumney <jasonr@gnu.org>
2052
2053 * makefile.nt: Remove.
2054
b09c5608
EZ
20552004-04-26 Eli Zaretskii <eliz@gnu.org>
2056
2057 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
2058 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
2059 instead of a literal '/'.
2060
d814862a
JB
20612004-04-23 Juanma Barranquero <lektu@terra.es>
2062
2063 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
2064
442a2160
PE
20652004-04-17 Paul Eggert <eggert@gnu.org>
2066
2067 * rcs2log (Help): Clarify wording of the usage message.
2068 Problem reported by Alan Mackenzie in
2069 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
2070
d5d66b7e
SM
20712004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * make-docfile.c (xmalloc): Fix return type.
2074 (put_filename): New fun.
2075 (scan_file): Use it.
2076
bdfd0369
JB
20772004-03-09 Juanma Barranquero <lektu@terra.es>
2078
2079 * grep-changelog: Changes to support ChangeLog.10+.
2080 (main): Tidy up usage string. Fix "Use of uninitialized value"
2081 warning. Set version to 0.2. Parse the directory listing to get
2082 any ChangeLog.n file, not just 1..9.
2083 (header_match_p, entry_match_p, print_log, parse_changelog):
2084 Remove Perl prototypes (their purpose is to help the parser, which
2085 isn't needed here, not declare arguments).
2086 (parse_changelog): Make --reverse faster on big batches by not
2087 modifying the entries list.
2088
a64387ee
JB
20892004-03-01 Juanma Barranquero <lektu@terra.es>
2090
2091 * makefile.w32-in (obj): Add fringe.c.
2092
9766d41b
PE
20932004-02-14 Paul Eggert <eggert@twinsun.com>
2094
2095 * rcs2log: Work correctly if CVSROOT specifies :fork: or
2096 :local: methods, or omits the colon between the hostname
2097 and the path. Allow :/ in repository path, since CVS does.
2098 Fix typo: "pository" should be set from $CVSROOT, not $repository.
2099 This fixes a bug reported by Wolfgang Scherer in
2100 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
2101 along with some related bugs I discovered by inspecting how
2102 CVS itself parses $CVSROOT.
2103
880820fe 21042004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
2105
2106 * emacsclient.c (decode_options): Fix handling of alternate editor.
2107
0734b0d0
SM
21082004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2109
2110 * emacsclient.c (main): Don't use the hostname in the socket name.
2111 Look for relative socket names in the /tmp dir rather than in cwd.
2112
2a6fc2d9
RS
21132004-01-24 Richard M. Stallman <rms@gnu.org>
2114
2115 * emacsclient.c (main): Restore errno from saved_errno,
2116 so the error message comes from socket_status.
2117
0734b0d0
SM
21182004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 * emacsclient.c (main): Stop if socket name too long.
2121 Only try su-fallback if the socket name was not explicit.
2122 Check socket name length in su-fallback case as well.
2123
152b6e83
AS
21242004-01-08 Andreas Schwab <schwab@suse.de>
2125
2126 * emacsclient.c (main): Save errno from socket_status.
2127
e8228824
AS
21282004-01-04 Andreas Schwab <schwab@suse.de>
2129
2130 * emacsclient.c (main): Fix socket name when using another user.
2131
c9140662
PE
21322003-12-27 Paul Eggert <eggert@twinsun.com>
2133
2134 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
2135 a tag, and if the user has not specified an rlog option.
2136 Adapted from a suggestion by Martin Stjernholm in
2137 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
2138 (Copyright): Update to 2003.
2139
8babaa59
TTN
21402003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
2141
2142 * make-docfile.c (main): For return code, no longer special-case VMS.
2143 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
2144
880820fe 21452003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
2146
2147 * emacsclient.c (quote_file_name): Print the result instead of
2148 returning it. Fix the return type accordingly.
1ae7cf5e
RS
2149 (main): With --eval, if no file name, read from stdin.
2150 Quote file names.
14ef7288 2151
f387bdea
RS
21522003-09-10 Richard M. Stallman <rms@gnu.org>
2153
07655e62 2154 * emacsclient.c (main): Use socket_name.
f387bdea 2155
880820fe 21562003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
2157
2158 * emacsclient.c (socket_name): New variable.
2159 (longopts, decode_options, print_help_and_exit):
2160 Handle --socket-name argument.
2161
0b7e7337
FP
21622003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
2163
783bcffa 2164 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
2165 token len is long enough.
2166
ac06b30b
DL
21672003-08-20 Dave Love <fx@gnu.org>
2168
2169 * Makefile.in: Remove obsolete references to alloca.
2170
32b0a3c6
JB
21712003-07-29 Ken Brush <ken@wirex.com>
2172
2173 * emacsclient.c (main)
2174 * etags.c (suggest_asking_for_help)
2175 * movemail.c (main): Fix having macros in a printf statement.
2176
3867c42d
JB
21772003-05-31 Juanma Barranquero <lektu@terra.es>
2178
2179 * makefile.w32-in (lisp): Fix references to byte-run.el,
2180 float-sup.el and map-ynp.el, which are now in emacs-lisp.
2181
7933722a
DL
21822003-05-22 Dave Love <fx@gnu.org>
2183
2184 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
2185 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
2186
463f55ee
DL
21872003-05-20 Dave Love <fx@gnu.org>
2188
2189 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
2190
2191 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
2192
1b7a835b
JB
21932003-04-27 Oliver Scholz <alkibiades@gmx.de>
2194
0e0dced5 2195 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 2196
eec54bd7
SM
21972003-04-12 Stefan Monnier <monnier@cs.yale.edu>
2198
2199 * emacsclient.c (main): Use new safe location for socket.
2200
ff4bd681
JB
22012003-03-12 Tom Tromey <tromey@redhat.com>
2202
eec54bd7
SM
2203 * emacsclient.c (print_help_and_exit): Print to stdout.
2204 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
2205 (decode_options): Don't call print_help_and_exit in default case.
2206 Print version information to stdout.
2207 (main): Don't call print_help_and_exit.
2208
dd132e44
RS
22092003-02-15 Richard M. Stallman <rms@gnu.org>
2210
2211 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 2212 Don't include stdlib.h, because config.h does.
dd132e44 2213 (malloc, realloc): Declarations deleted.
ff4bd681 2214
dd132e44
RS
2215 * yow.c (yow): Cast result of malloc and realloc.
2216 (malloc, realloc): Declarations deleted.
2217
71ffc53a
JB
22182003-02-11 Juanma Barranquero <lektu@terra.es>
2219
2220 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
2221
0dfd93c0
AS
22222003-02-08 Andreas Schwab <schwab@suse.de>
2223
2224 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
2225 instead of the substitution.
2226
37d1e680
RS
22272003-02-04 Richard M. Stallman <rms@gnu.org>
2228
2229 * update-game-score.c (push_score, read_scores): Cast values
2230 of malloc and realloc.
2231 (main, lock_file): Avoid assignment inside if.
2232
c60ee5e7
JB
22332003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
2234
2235 * Makefile.in: Use @EXEEXT@ for Cygwin.
2236
b24e2dc7
DL
22372003-01-21 Dave Love <fx@gnu.org>
2238
2239 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
2240 column-0 `('.
2241
2242 * yow.c: Don't include string.h.
2243
675d000f
RS
22442003-01-20 Richard M. Stallman <rms@gnu.org>
2245
2246 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2247 New targets.
2248
207aa3ff
KS
22492003-01-06 Kim F. Storm <storm@cua.dk>
2250
31fa6595 2251 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
2252 All uses changed.
2253
cf6d30d7
AI
22542002-12-18 Andrew Innes <andrewi@gnu.org>
2255
2256 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
2257 because GNU make doesn't append when using >> redirection.
2258
f0131492 22592002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
2260
2261 * b2m.pl: Make sure every message ends with a blank line, because
2262 some mbox parsers require a blank line before "From " lines.
2263
85cce843
RS
22642002-12-08 Richard M. Stallman <rms@gnu.org>
2265
2266 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
2267 (_): Test only HAVE_LIBINTL_H to decide what to do.
2268
2ccc4d34
RS
22692002-12-05 Richard M. Stallman <rms@gnu.org>
2270
2271 * getopt.c: Comment out include of libintl.h or gettext.h.
2272
c5992177
RS
22732002-12-04 Richard M. Stallman <rms@gnu.org>
2274
2275 * Update getopt from gnulib version; changes described below.
2276
2277 * getopt1.c: Conditionally find getopt.h.
2278 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
2279
2280 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
2281 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 2282 (wchar.h): Include, maybe.
10d1d0af 2283 (attribute_hidden): Define if not defined.
c5992177 2284 (__getopt_initialized): Use attribute_hidden.
b166dcd8 2285 (__libc_argc, __libc_argv): Rename from original_argc, etc.
d7982012
JB
2286 (__getopt_nonoption_flags, nonoption_flags_max_len)
2287 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
2288 (SWAP_FLAGS): New definitions.
2289 (exchange): Test USE_NONOPTION_FLAGS.
2290 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
2291 (_getopt_internal): Error if argc < 1. New local var print_errors.
2292 Improve test for ambiguous long option.
2293 Add LIBIO support for error message output.
2294 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
2295
2296 * getopt.h: Maybe include ctype.h.
2297 Treat __cplusplus like __STDC__.
2298 (decls): Use __ in arg names.
2299
4b5e69bd
SE
23002002-12-02 Stephen Eglen <stephen@gnu.org>
2301
2302 * emacsclient.c (main): Tell user how to start server within Emacs
2303 if socket could not be found.
2304
19fa03f3
RS
23052002-12-02 Richard M. Stallman <rms@gnu.org>
2306
2307 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
2308
7be215b4
JB
23092002-11-19 Ben Key <bkey1@tampabay.rr.com>
2310
29f538e6
BK
2311 * makefile.w32-in: Fixed a bug that caused the documentation for
2312 the built in function play-sound-internal not to be included in
2313 /etc/DOC.
7be215b4 2314
1998560a
DL
23152002-11-18 Dave Love <fx@gnu.org>
2316
2317 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
2318 fcntl.h, stdarg.h conditionally.
2319 (_GNU_SOURCE, __attribute__): Don't define.
2320 (optarg, optind, opterr): Declare.
2321 (lose, lose_syserr): Use NO_RETURN.
2322 (get_user_id): Use P_.
2323
8b96caf3
RS
23242002-11-17 Richard M. Stallman <rms@gnu.org>
2325
2326 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
2327
59daa29a
DL
23282002-11-14 Dave Love <fx@gnu.org>
2329
2330 * movemail.c (pop_retr): Declare comment.
2331
2332 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
2333
2334 * Makefile.in (YACC): Deleted.
2335
f1b443bf
AS
23362002-10-19 Andreas Schwab <schwab@suse.de>
2337
2338 * Makefile.in (${archlibdir}): Always create $(gamedir).
2339 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
2340
52402e4f
JB
23412002-10-04 Juanma Barranquero <lektu@terra.es>
2342
2343 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
2344
15dab115
MR
23452002-09-30 Markus Rost <rost@math.ohio-state.edu>
2346
2347 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
2348 completely.
2349
30be2360
SM
23502002-09-27 Stefan Monnier <monnier@cs.yale.edu>
2351
2352 * emacsclient.c: Remove SYSV support.
2353 (eval, display): New vars.
2354 (longopts): Add --eval and --display.
2355 (decode_options): Add -e and -d processing.
2356 (print_help_and_exit): Update the usage string.
2357 (main): Add support for --eval and --display.
3ecdcd59 2358 (main): Always use /tmp and non-qualified hostname.
30be2360 2359
4208da83
SM
23602002-09-25 Stefan Monnier <monnier@cs.yale.edu>
2361
2362 * emacsserver.c: Remove.
2363
3cf8c6aa
SM
23642002-09-17 Stefan Monnier <monnier@cs.yale.edu>
2365
2366 * emacsclient.c (quote_file_name): Quote \n.
2367 (main): Print a final \n when needed.
2368
880820fe 23692002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
2370
2371 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
2372 string that cannot be freed.
2373
880820fe 23742002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
2375
2376 * etags.c (consider_token, C_entries): Switch to C++ parsing when
2377 auto-detection is enabled and the `::' qualifier is met.
2378 (consider_token, C_entries): Several bugs corrected that tagged
2379 some declarations even though --declarations was not used.
2380 (plainc): New macro.
2381 (C_entries): Use it.
2382 (C_entries): Several cosmetic changes.
2383 (C_entries): Invalidate the token is some cases.
2384
880820fe 23852002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 2386
eec54bd7 2387 * etags.c (C_entries): Correct a problem with const C++ funcs.
b166dcd8 2388 (ignoreindent): Rename from noindentypedefs.
09cd1a74
FP
2389 (cjava, cplpl): They are now macros instead of local vars.
2390
880820fe 23912002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
2392
2393 * etags.c (HTML_labels): Tag ID= also.
2394
880820fe 23952002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
2396
2397 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
2398
ecc54057 2399 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
2400 (etags_strcasecmp): Like BSD's, for compatibility.
2401 (strcaseeq): Make it into a macro.
2402
2403 * etags.c (make_tag): Never generate null length tag names.
b166dcd8 2404 (linebuffer_init): Rename from initbuffer. All callers changed.
87046df8
FP
2405 (pattern): Structure renamed to `regexp', member regex renamed to
2406 pattern.
2407 (node_st): Member pat renamed to regex.
eec54bd7
SM
2408 (pattern); New member force_explicit_name, for future use.
2409 Now always set to true, cannot be reset.
87046df8
FP
2410 (add_regex, regex_tag_multiline, readline): Use it.
2411 (main): Free some global structures.
8ee14629 2412 (fdesc): New member `written'.
87046df8
FP
2413 (readline, process_file): Initialise it.
2414 (put_entries): Set it.
2415 (main): Use it to create entries for files without tags.
2416 (total_size_of_entries): Do not count invalid tags.
87046df8 2417
02ce3e80
SM
24182002-08-19 Stefan Monnier <monnier@cs.yale.edu>
2419
2420 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
2421 for the function name in the usage info.
2422
5fba5c21
CW
24232002-07-31 Colin Walters <walters@gnu.org>
2424
2425 * update-game-score.c (P_): New macro. Use it for all prototypes.
2426 (lose): Don't use varargs.
2427 (lose_syserr): New function.
2428
2429 * update-game-score.c: Change all functions to K&R style.
2430
712eaee0
AS
24312002-07-30 Andreas Schwab <schwab@suse.de>
2432
2433 * Makefile.in (localstatedir): New variable.
2434
f0131492 24352002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
2436
2437 * b2m.pl: Fix regexp for finding return address fields.
2438
1e042160
SM
24392002-07-15 Stefan Monnier <monnier@cs.yale.edu>
2440
2441 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
2442
f0131492 24432002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 2444
02ce3e80 2445 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 2446
880820fe 24472002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
2448
2449 * b2m.pl: New file.
2450
880820fe 24512002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 2452
ecc54057 2453 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
2454 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
2455 (PHP_functions, PHP_functions, Cobol_paragraphs)
2456 (Makefile_targets, Postscript_functions, Texinfo_nodes)
2457 (prolog_pr, erlang_func, erlang_attribute)
2458 (Perl_functions, Perl_functions, Pascal_functions)
2459 (TeX_commands, get_tag): Use make_tag instead of pfnote.
2460 (get_tag): Prototype changed, all callers changed.
2461
880820fe 24622002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 2463
d76132d0
FP
2464 * etags.c: Implement implicit tag names, that is, unnamed tags
2465 whose name is automatically deduced by etags.el. The advantage is
2466 that there is no explicit tag name in most tags, so the size of
2467 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 2468 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
2469 (make_tag): New function (was the disabled function new_pfnote).
2470 (make_C_tag): Use it.
2471
880820fe 24722002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
2473
2474 * etags.c (add_regex): Invalid regexp modifiers are ignored.
2475 (Makefile_targets): Tag variables unless --no-globals.
2476 (LOOP_ON_INPUT_LINES): Serious bug corrected.
2477
880820fe 24782002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
2479
2480 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
2481 (invalidate_nodes): Bug corrected.
2482 (print_help): Better help for regexps.
2483
7a8940da
JB
24842002-06-13 Juanma Barranquero <lektu@terra.es>
2485
2486 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
2487 font-core.elc.
2488
880820fe 24892002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
2490
2491 * etags.c: New multi-line regexp and new regexp syntax.
2492 (arg_type): at_icregexp label removed (obsolete).
2493 (pattern): New member multi_line for multi-line regexps.
2494 (filebuf): A global buffer containing the whole file as a string
2495 for multi-line regexp matching.
2496 (need_filebuf): Global flag raised if multi-line regexps used.
2497 (print_help): Document new regexp modifiers, remove references to
2498 obsolete option --ignore-case-regexp.
2499 (main): Do not set regexp syntax and translation table here.
2500 (main): Treat -c option as a backward compatibility hack.
2501 (main, find_entries): Init and free filebuf.
2502 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 2503 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
2504 (analyse_regex, add_regex): Remove the ignore_case argument, which
2505 is now a modifier to the regexp. All callers changed.
2506 (add_regex): Manage the regexp modifiers.
2507 (regex_tag_multiline): New function. Reads from filebuf.
2508 (readline_internal): If necessary, copy the whole file into filebuf.
2509 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
2510
880820fe 25112002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
2512
2513 * etags.c (add_regex): Better check for null regexps.
2514 (readline): Check for regex matching null string.
6772c8e1 2515 (find_entries): Reorganization.
6861f0e3 2516
880820fe 25172002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
2518
2519 * etags.c (scan_separators): Support all character escape
2520 sequences supported by Gcc.
02ce3e80 2521 (find_entries): Rewind unconditionally.
f0da41a6
FP
2522 (find_entries): Do not call language functions directly, now calls
2523 itself.
2524 (find_entries): Do general initialisations here.
2525 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
2526 (Ada_getit, Pascal_functions, Pascal_functions)
2527 (prolog_skip_comment): Do not do them here.
2528 (readline_internal): Increment lineno here.
2529 (readline): Conditionally undo readline_internal increment.
2530 (readline): Do not return a value.
2531
880820fe 25322002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 2533
88c71720 2534 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
2535 (enum arg_type): New label at_stdin.
2536 (STDIN): New constant.
2537 (parsing_stdin): New flag.
2538 (longopts): New option --parse-stdin=NAME.
2539 (print_help): Document it.
2540 (main): Handle it.
2541 (process_file): Split into process_file and process_file_name.
2542 (process_file_name): New function.
2543
88c71720 2544 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 2545 (TeX_commands): Skip comments.
10d1d0af 2546 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
2547 (TEX_cmt): Make it a static char and move it before TeX_commands.
2548 (TeX_commands): Shorten the tag to the brace after the name.
2549 (TeX_commands): Names now include the initial backslash.
2550 (TeX_commands): Names do not include numeric args #n.
2551 (TeX_commands): Correct line char number in tags.
2552 (TEX_tabent, TEX_token): Deleted.
2553 (TeX_commands, TEX_decode_env): Streamlined.
2554
880820fe 25552002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
2556
2557 * etags.c (main): Avoid a buffer overrun with sprintf.
2558
a71867c5
RS
25592002-05-30 Richard M. Stallman <rms@gnu.org>
2560
b166dcd8
KC
2561 * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
2562 (LIBS_MOVE): Rename from MOVE_LIBS.
a71867c5 2563
b7e67db6
PE
25642002-05-26 Paul Eggert <eggert@twinsun.com>
2565
2566 Reinstate the following change from 2002-03-22, which was
2567 inadvertently lost on 2002-04-13.
2568
2569 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2570 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2571 the latter usage.
2572
5f226e2c
EZ
25732002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
2574
2575 * pop.c (socket_connection): Move the code to resolve the POP
2576 host right before trying to connect with it.
2577
9021bb49
GM
25782002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
2579
2580 * tcp.c: Delete file since the TCP emulation is no longer in use on any
2581 platform.
2582
5167cfda
CW
25832002-04-28 Colin Walters <walters@verbum.org>
2584
2585 * Makefile.in (${archlibdir}): Don't conditionalize on
2586 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
2587 or not we have access to the specified game user.
50496bd9 2588
5167cfda
CW
2589 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
2590 (main): New argument -d, for specifying directory.
2591 (usage): Document.
02ce3e80 2592 (get_user_id): Compute.
5167cfda
CW
2593 (get_home_dir): Deleted.
2594 (get_prefix): New function, taken from main.
2595 (main): Check whether or not we are running setuid. Move prefix
2596 computation to get_prefix. Don't call getpwent; we don't need to
2597 any more. Instead, move it to get_user_id().
2598
880820fe 25992002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
2600
2601 * ebrowse.c (skip_initializer): Return void.
2602
973c3c87
CW
26032002-04-23 Colin Walters <walters@verbum.org>
2604
2605 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
2606 space.
2607
880820fe 26082002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 2609
ecc54057 2610 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
2611 (process_file): Print the tags from the nodes as soon as
2612 possible, and delete the nodes. This brings down the memory
2613 occupancy as etags to almost the same level as when the #line
2614 directives were not parsed.
2615 (free_fdesc): New function.
2616 (find_entries): Use it.
2617 (invalidate_nodes): In etags mode, do not just mark the nodes as
2618 invalid, do delete them.
2619
c901ceff
GM
26202002-04-21 Gerd Moellmann <gerd@gnu.org>
2621
2622 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
2623
c42d6dbd
EZ
26242002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
2625
2626 * update-game-score.c: Move config.h before the other headers, to
2627 avoid compiler warnings.
2628
880820fe 26292002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
2630
2631 * etags.c (find_entries): Bug fix in list management.
2632
880820fe 26332002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
2634
2635 * etags.c (get_language_from_filename): Add one argument.
2636 (strcaseeq): New function.
10d1d0af 2637 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
2638 comparison if called with appropriate args.
2639 (find_entries): Try with case insensitive match.
2640 (process_file): Bug fixed.
2641
880820fe 26422002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
2643
2644 * etags.c (find_entries): Delete tags previously obtained from
2645 file xxx.c's #line directives when parsing file xxx.y. This is
2646 generally done for automatically generated files containing
2647 #line directives. This handles the case when xxx.y is tagged
2648 before xxx.c, and the entries of xxx.c pointing to xxx.y should
2649 be discarded.
eec54bd7 2650 (language): Add the metasource member. Initializers changed.
c150db23
FP
2651 (invalidate_nodes): New function.
2652 (readline): Discard lines after having found a #line
02ce3e80 2653 directive pointing to an already tagged file. This handles the
c150db23
FP
2654 case when xxx.y is tagged before xxx.c, and the entries of
2655 xxx.c pointing to xxx.y should be discarded.
2656 (fdesc): New structure for keeping track of input files.
2657 (fdesc): Remove `file' member (a string) and use instead a pointer
2658 to a file description structure.
02ce3e80
SM
2659 (curfile, curfiledir, curtagfname, curlang, nocharno)
2660 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 2661 curfdp, pointers to file description structures.
c150db23
FP
2662 (longopts, main, print_help): Use the CTAGS conditional to include
2663 or exclude options that work on etags or ctags only.
02ce3e80
SM
2664 (process_file, find_entries, pfnote, add_node, put_entries)
2665 (readline): Use fdhead and curfdp.
c150db23
FP
2666 (process_file, find_entries): Do not take an arg string, all
2667 callers changed.
2668
2669 * etags.c (longopts, print_help, main): Test CTAGS to disallow
2670 options that are not right for either etags or ctags.
2671
2672 * etags.c (number_len, total_size_of_entries): Define them also
2673 in CTAGS mode, because gcc does not compile all refs away.
2674
e9d1f248
CW
26752002-04-14 Colin Walters <walters@debian.org>
2676
2677 * update-game-score.c (lock_file): If the lock file is older than
2678 an hour, delete it. Reset attempts to zero if we have to break
2679 the lock.
2680
7605f1bd
AS
26812002-04-14 Andreas Schwab <schwab@suse.de>
2682
2683 * update-game-score.c (read_score): Fix type of second parameter
2684 of getdelim to be of type size_t instead of int. Use 0 instead of
2685 ESUCCES.
2686
e82defd1
CW
26872002-04-10 Colin Walters <walters@verbum.org>
2688
ecc54057 2689 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
2690 (MAX_DATA_LEN, MAX_SCORES): New.
2691 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
2692 default to ~/.emacs.d/games.
2693 (get_user_id): Don't zero uid in the case where we can't get the
2694 username.
2695 (lose): New function.
2696 (main): Actually use `max', and default it to MAX_SCORES.
2697 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
2698 function.
2699 (read_score): Handle the case of reading unamelen characters, then
2700 finishing. Use mktemp if mkstemp isn't available.
2701 (lock_file, unlock_file): Delete unused versions.
2702 (lock_file): Always sleep, even if we unlinked the lock file.
2703
e82defd1
CW
2704 * Makefile.in (gamedir, gameuser): New variables.
2705 (toplevel, UTILITIES): Add update-game-score.
2706 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
2707
5795b420
CW
27082002-04-07 Colin Walters <walters@verbum.org>
2709
2710 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
2711 (get_user_id): Take struct passwd as an argument.
2712 (get_home_dir): New function.
2713 (main): Read in user information here. Discover home directory if
2714 necessary.
2715 (read_score): Trim newline only in `getline' case.
2716
cd553ffb 27172002-04-05 Colin Walters <walters@debian.org>
c150db23 2718
cd553ffb
CW
2719 * update-game-score.c (toplevel): Include pwd.h.
2720 (struct score_entry): Add username field.
2721 (push_score): Use it.
2722 (get_user_id): New function.
2723 (main): Don't malloc excessively.
2724 (main): Use username field.
2725 (read_score): Read it.
2726 (push_score): Handle it.
07655e62 2727 (write_scores): Write it.
c150db23
FP
2728 (read_score): Handle arbitrary length data.
2729
b74bd4a3
EZ
27302002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
2731
2732 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
2733
fa8bc89d
GM
27342002-03-29 Gerd Moellmann <gerd@gnu.org>
2735
2736 * ebrowse.c (add_declarator, skip_initializer): New functions.
2737 (declaration): Use them.
2738
dd87b4cc
JR
27392002-03-28 Jason Rumney <jasonr@gnu.org>
2740
2741 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
2742
cd553ffb
CW
27432002-03-27 Colin Walters <walters@debian.org>
2744
2745 * update-game-score.c: New file.
2746
dfef6d49
PE
27472002-03-22 Paul Eggert <eggert@twinsun.com>
2748
2749 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2750 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2751 the latter usage.
2752
880820fe 27532002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 2754
4fff90e4 2755 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
2756 (Python_functions, PHP_functions): Name tags, for ctags' sake.
2757 (TeX_commands): Name tags. Correction of old disabled code.
2758
2759 * etags.c (curfiledir, curtagfname): New global variables.
2760 (process_file): Initialise them.
2761 (readline): Canonicalize the name found in #line directive.
893a741e 2762
4fff90e4 27632002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 2764
893a741e
JR
2765 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
2766 compilers that don't optimize out dead code.
2767
880820fe 27682002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
2769
2770 * etags.c: Honour #line directives.
a7c29764 2771 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
2772 (main): Remove some #ifdef in the getopt switch.
2773 (add_node, put_entries): Code added to merge different chunks of
2774 nodes referring to the same file. Currently the tags are just
2775 appended, without any check for duplicates.
2776 (Perl_functions): Do not special case ctags.
2777 (readline): Identify #line directives and do the right thing.
2778 (nocharno, invalidcharno): New global vars.
2779 (process_file): Reset nocharno.
2780 (readline): Set nocharno.
2781 (pfnote): Read nocharno and maybe put invalidcharno in node.
2782 (total_size_of_entries, put_entries): Use invalidcharno.
2783
2784 * etags.c: Keep the whole tag table in memory, even in etags mode.
2785 (main): Call put_entries here even in CTAGS mode.
2786 (main, process_file): Check the return values of fclose and pclose.
2787 (process_file): Do not call put_entries after parsing each file.
2788 (process_file): Canonicalise file names even for ctags.
2789 (process_file): Set curfile here...
2790 (find_entries): ... not here any more.
2791 (add_node): In etags mode, build a linked list of entries (on
2792 right pointer) for each file, and link the first entry of each
2793 file on left nodes.
2794 (put_entries): Print here the name of the file.
2795 (put_entries): Print the entries starting from the first file.
c150db23 2796 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
2797 mode, make the second work only on the right nodes.
2798
2799 * etags.c: Make all global variables static.
2800
50ce1f62
JB
28012002-02-25 Juanma Barranquero <lektu@terra.es>
2802
2803 * makefile.w32-in (lisp): Add missing backslash.
2804
82a399d2
JR
28052002-02-24 Jason Rumney <jasonr@gnu.org>
2806
2807 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
2808 using .elc files.
c4cc8b9a 2809 (lisp): Sync with list in src/Makefile.in.
82a399d2
JR
2810 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
2811
a279c920
PE
28122002-02-10 Paul Eggert <eggert@twinsun.com>
2813
2814 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
2815 disallows the old syntax.
2816
0caa685d
PE
28172002-02-03 Paul Eggert <eggert@twinsun.com>
2818
d7982012 2819 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
2820 (AWK, TMPDIR): Work around portability problem in broken shells that
2821 don't understand `: ${VAR=val}'.
2822 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
2823 Prefer the new -k option to the traditional +M -N option.
2824
880820fe 28252002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
2826
2827 * b2m.c (main): Parenthesize assignment when used as truth value
2828 to prevent gcc warnings.
2829
2830 * fakemail.c: Include <config.h>.
2831
880820fe 28322001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
2833
2834 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
2835 * yow.c: Include <config.h>.
2836
880820fe 28372001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
2838
2839 * etags.c (Perl_functions): Tag packages and use them in sub tags.
2840 (get_tag): Return a pointer to the tag that is found.
2841
2842 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
b166dcd8
KC
2843 (F_takeprec): Rename from takeprec. All callers changed.
2844 (F_getit): Rename from getit. All callers changed.
2845 (nocase_tail): Rename from tail. All callers changed.
2846 (Ada_getit): Rename from adagetit. All callers changed.
eec54bd7 2847 (L_getit): Simplify by using get_tag.
a60e4de9
FP
2848 (Perl_functions, Postscript_functions, erlang_attribute): Use the
2849 modified LOOKING_AT.
b166dcd8 2850 (notinname): Remove '[' and added ')' to the recognised chars.
a60e4de9
FP
2851 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
2852 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
2853 Clarified, using strneq or notinname.
2854 (L_isdef, L_isquote): Removed.
2855 (Lisp_functions, L_getit): Clarified.
2856
b166dcd8 2857 * etags.c (P_): Rename to __P for consistency with config.h.
a60e4de9
FP
2858 [HAVE_CONFIG_H]: Let config.h deal with __P.
2859 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
2860 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
2861 gperf code needs it.
ecc54057
JB
2862 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
2863 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
2864 (xmalloc, xrealloc): Use PTR instead of long *.
2865 (bool): Make it a define, not a typedef, for C++ compilers.
2866 (pattern): Members renamed to avoid name clash in some C++ compilers.
2867 (get_language_from_langname): Use const argument.
2868
880820fe 28692001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
2870
2871 * makefile.nt, makefile.w32-in: Remove mocklisp files.
2872
880820fe 28732001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 2874
b8509940
PJ
2875 * emacsserver.c: Conditionally include config.h.
2876
594aa066
PJ
2877 * fakemail.c: Likewise.
2878
e69233c2
PJ
2879 * emacsclient.c: Include "config.h", not <../src/config.h>.
2880 (main): Parenthesize assignment when used as truth value to
2881 prevent gcc warnings.
2882
69bfc389
PJ
2883 * ebrowse.c: Include stdlib.h and string.h conditionally.
2884
e4e34e31
EZ
28852001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
2886
2887 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
2888
880820fe 28892001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
2890
2891 * test-distrib.c: Fix previous change.
2892
fb5aa7ac
DL
28932001-12-18 Dave Love <fx@gnu.org>
2894
2895 * test-distrib.c: Conditionally include fcntl.h.
2896
2897 * fakemail.c: Include "config.h", not <../src/config.h>.
2898 (_XOPEN_SOURCE): Define as 500.
2899
2900 * emacsserver.c: Include "config.h", not <../src/config.h>.
2901
2902 * cvtmail.c: Include config.h, stdlib.h.
2903 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
2904
2905 * yow.c: Conditionally include various headers. Use "epaths.h",
2906 not <../src/epaths.h>.
2907 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
2908
880820fe 29092001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 2910
13dc0576 2911 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
2912 (LOOKING_AT): New macro.
2913 (Perl_functions, Python_functions, PHP_functions)
2914 (Scheme_functions, Texinfo_nodes): Use it.
2915 (Perl_functions): Use strneq.
b166dcd8 2916 (prolog_pred): Rename to prolog_pr.
13dc0576 2917 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 2918 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 2919 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
2920 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
2921
34e39c95
RS
29222001-12-11 Richard M. Stallman <rms@gnu.org>
2923
2924 * Makefile.in (clean): Don't delete ../etc/DOC*.
2925
880820fe 29262001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
2927
2928 * COPYING: Moved back.
2929
76054cc8
AI
29302001-11-30 Andrew Innes <andrewi@gnu.org>
2931
e94a3679
FP
2932 * makefile.w32-in (FACE_SUPPORT):
2933 (MOUSE_SUPPORT):
2934 (FLOAT_SUPPORT):
2935 (WINNT_SUPPORT):
76054cc8
AI
2936 (lisp): Reference .el files instead of .elc files, to simplify
2937 bootstrapping.
2938 ($(DOC)): Change dependency to just `make-docfile'.
2939
880820fe 29402001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
2941
2942 * COPYING: Removed.
2943
e8d6a09b
PE
29442001-11-28 Paul Eggert <eggert@twinsun.com>
2945
2946 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
2947
2948 The following changes are derived from suggestions by Bob Chapman
2949 <rechapman@compuserve.com>.
2950
2951 * rcs2log (printlogline): Also allow tab and newline to separate
2952 '(function):' from the rest of a comment.
2953 (reformat the sorted log entries): Require date and author to
2954 match the clumpname.
2955
9a190096
GM
29562001-11-16 Gerd Moellmann <gerd@gnu.org>
2957
2958 * ebrowse.c (matching_regexp): Escape '\\'.
2959
880820fe 29602001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
2961
2962 * Makefile.in: Add support for --program-prefix, --program-suffix
2963 and --program-transform-name options.
2964
6d8f7d5d
RS
29652001-11-03 Richard M. Stallman <rms@gnu.org>
2966
2967 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
2968
2969 * movemail.c (popmail): Always pass two args to `error'.
2970
84e70f78
KR
29712001-10-24 Ken Raeburn <raeburn@gnu.org>
2972
2973 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
2974 -lhesiod and maybe -lresolv.
2975 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
2976 support if it's available.
2977
386ca361
MB
29782001-10-21 Miles Bader <miles@gnu.org>
2979
a3b10252
MB
2980 * make-docfile.c (struct rcsoc_state): New type.
2981 (read_c_string_or_comment): Add SAW_USAGE
386ca361 2982 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
2983 Use a variable of type `rcsoc_state' to hold most of our state.
2984 (put_char): Add STATE parameter, and remove all other parameters
2985 except CH. Use STATE to get access to all needed state.
2986 (scan_keyword_or_put_char): New function.
386ca361
MB
2987 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
2988 Don't output a usage-string if there was one in the doc-string.
2989
71431a0e
GM
29902001-10-20 Gerd Moellmann <gerd@gnu.org>
2991
6aa97356 2992 * (Version 21.1 released.)
71431a0e 2993
880820fe 29942001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
2995
2996 * b2m.c: Properly spell the name of Emacs.
2997
945220bd
MB
29982001-10-17 Miles Bader <miles@gnu.org>
2999
3000 * make-docfile.c (put_char): New function.
3001 (read_c_string_or_comment): Strip trailing spaces and newlines.
3002
14242528
MB
30032001-10-16 Miles Bader <miles@gnu.org>
3004
3005 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
3006 comments [with `doc:' keyword prefix].
3007
9f5eb4a3
GM
30082001-10-15 Gerd Moellmann <gerd@gnu.org>
3009
3010 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
3011 in a C doc comment.
3012
e641b454
GM
30132001-10-13 Gerd Moellmann <gerd@gnu.org>
3014
b166dcd8 3015 * make-docfile.c (read_c_string_or_comment): Rename from
e641b454
GM
3016 read_c_string. Add parameter COMMENT. Read C-style comments.
3017 (scan_c_file): Handle doc strings in C comments.
3018
967d7793
AI
30192001-10-12 Andrew Innes <andrewi@gnu.org>
3020
3021 * makefile.nt (ALL): Do not include fakemail.
3022
3023 * makefile.w32-in (install): Do not copy fakemail.
3024
d682756a
JR
30252001-10-10 Jason Rumney <jasonr@gnu.org>
3026
07655e62 3027 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 3028
07655e62 3029 * makefile.nt (install): Ditto.
d682756a 3030
14a3dff7
GM
30312001-10-09 Gerd Moellmann <gerd@gnu.org>
3032
3033 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 3034
95bc7904 3035 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 3036
880820fe 30372001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
3038
3039 * profile.c: Include config.h, not ../src/config.h.
3040 Include systime.h, not ../src/systime.h.
3041
ab952a4f
GM
30422001-10-05 Gerd Moellmann <gerd@gnu.org>
3043
3044 * Branch for 21.1.
dff28924 3045
12c64503
GM
30462001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
3047
3048 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
3049 ALIASEE to help work with namespace aliases.
3050 (struct sym): Remove struct member NAMESP_ALIASES.
3051 (namespace_alias_table): New variable.
3052 (make_namespace): Add parameter CONTEXT.
3053 (check_namespace): New function.
3054 (find_namespace): Add parameter CONTEXT.
3055 (check_namespace_alias): New function.
02ce3e80
SM
3056 (register_namespace_alias): Change type of parameter OLD_NAME.
3057 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
3058 (check_namespace): New function.
3059 (enter_namespace): Call find_namespace with CONTEXT parameter.
3060 (match_qualified_namespace_alias): New function.
eec54bd7 3061 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 3062 While parsing qualified ident or type update namespace context and
12c64503 3063 restore it on exit.
eec54bd7
SM
3064 (parse_qualified_param_ident_or_type): Fix typo in comment.
3065 (globals): Change handling of namespace aliases.
3066 (version): Add year 2001.
12c64503 3067
990e1190
FP
30682001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
3069
3070 * etags.c (analyse_regex): If regex_arg is NULL, return
3071 immediately after a call to free_patterns.
3072
f2e7e23e
AS
30732001-09-05 Paul Eggert <eggert@twinsun.com>
3074
3075 * rcs2log (Help, mainline code): Add new option -L FILE.
3076 (Copyright): Update year.
02ce3e80
SM
3077 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
3078 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
3079 C locale.
3080 (mainline code): Handle nonstandard -u option differently, by
3081 transforming it to standard form. Check for "Working file: ", not
3082 "Working file:". Allow file names with spaces.
3083 (SOH, rlogfile): New shell vars.
dff28924 3084 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
3085 rlogfile.
3086
3087 Append ';;' to the last arm of every case statement, for
3088 portability to ancient broken BSD shells.
3089
02ce3e80 3090 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
3091 (pository): New var. This fixes some bugs where repositories are
3092 remote, or have trailing slashes.
02ce3e80 3093 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 3094 about that possibility.
dff28924 3095 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 3096 the output.
dff28924 3097
75c911eb
EZ
30982001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3099
3100 * ebrowse.c (SEEK_END): #define if not defined by system headers.
3101 Suggested by Dave Love <d.love@dl.ac.uk>.
3102
5ae10f4a
EZ
31032001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3104
3105 * makefile.nt (lisp): Synchronize with src/Makefile.in.
3106 * makefile.w32-in (lisp): Ditto.
3107
0e4011d8 31082001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
3109
3110 * grep-changelog (parse_changelog): Remove unused local variable.
3111
3112 * grep-changelog (main): Add new option --reverse.
3113 (print_log): Use it.
3114 (parse_changelog): Use it.
3115
3c88ae74
GM
31162001-07-20 Gerd Moellmann <gerd@gnu.org>
3117
3118 * grep-changelog: Remove RCS Id keyword.
3119
41848daa
GM
31202001-07-20 Juanma Barranquero <lektu@terra.es>
3121
6e07c0a5
GM
3122 * grep-changelog (parse_changelog): Add tests for defined values
3123 to quiet warning from Perl 5.005 or above.
177ab8ce 3124 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
3125 argument to prevent duplicate headers.
3126
3127 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 3128
467f1209
GM
31292001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
3130
3131 * emacsclient.c (print_help_and_exit): Fix help message for
3132 +LINE:COLUMN option.
3133
31342000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 3135
467f1209
GM
3136 * emacsclient.c (main): Add support for +LINE:COLUMN command line
3137 argument.
3138
bb24c64f
GM
31392001-07-16 Gerd Moellmann <gerd@gnu.org>
3140
3141 * ebrowse.c (main): Check that the output file exists and
3142 is non-empty if invoked with `--append'.
3143
880820fe 31442001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 3145
e335b66a
GM
3146 * etags.c (add_regex): Reset the whole newly allocated pattern
3147 buffer instead of the individual members. It's safer and works
ecc54057 3148 with XEmacs.
fa829470 3149
e335b66a 3150 * etags.1: Markups corrected.
fa829470 3151
6da5c7da
GM
31522001-05-08 Gerd Moellmann <gerd@gnu.org>
3153
02ce3e80 3154 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 3155
efbecf9d
GM
31562001-05-03 Gerd Moellmann <gerd@gnu.org>
3157
3158 * ebrowse.c (globals): Fix handling of namespace aliases.
3159
f4976ebc
EZ
31602001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
3161
3162 * etags.c (print_help): Enclose the regexp in the help text
3163 example in quotes.
3164
23431241
DL
31652001-04-05 Dave Love <fx@gnu.org>
3166
3167 * emacsclient.c (fail): Don't return a value.
fa829470 3168 (main): Cast uid values for sprintf.
23431241 3169
476bf681
GM
31702001-04-03 Gerd Moellmann <gerd@gnu.org>
3171
b3f6107b
GM
3172 * emacsclient.c (fail, main): Don't use implicit int return type.
3173
476bf681
GM
3174 * b2m.c (main): Always return a value.
3175
ef53d75e
GM
31762001-03-02 Gerd Moellmann <gerd@gnu.org>
3177
3178 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
3179 freshly allocated object in *LAST_ID.
3180 (read_line): Accept \r\n line endings.
3181
425de386
AI
31822001-02-24 Andrew Innes <andrewi@gnu.org>
3183
3184 * makefile.w32-in: Fix copyright notice.
3185
880820fe 31862001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
3187
3188 * etags.c (enum sym_type): New label st_C_template.
3189 (gperf input): Use it for switching to C++ from C.
3190 (consider_token): Do it.
c2a642c0
FP
3191 (C_entries): Initialise typdefcblev to quiet compilers.
3192 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 3193
f6839838
AI
31942001-02-22 Andrew Innes <andrewi@gnu.org>
3195
3196 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
3197 VMS header files.
3198 ($(BLD)\profile.obj): Ditto.
3199
3200 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
3201 VMS header files.
3202 ($(BLD)/profile.$(O)): Ditto.
3203
193fba87
AI
32042001-02-05 Andrew Innes <andrewi@gnu.org>
3205
3206 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
3207 invocation of make-docfile, to work with Windows 2000.
3208
30526cc6
DL
32092001-01-31 Dave Love <fx@gnu.org>
3210
3211 * etags.c (in_word_set): Use `static' in definition (for pcc).
3212
880820fe 32132001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 3214
ecc54057 3215 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
3216 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
3217 (C_entries): Tag token renamed to still_in_token because sunos4
3218 pcc wants to expand it as the token() macro even though it has no
3219 arguments.
3220
914d7258
AI
32212001-01-30 Andrew Innes <andrewi@gnu.org>
3222
3223 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
3224 bug in the Mingw32 assert.h header file.
3225
880820fe 32262001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 3227
ecc54057
JB
3228 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
3229 #define it for the sake of XEmacs.
b28e26be
FP
3230 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
3231 HAVE_CONFIG_H. This change only affects a standalone etags.
3232 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
3233 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
3234 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 3235 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
3236 WINDOWSNT, as this is the correct way to use it.
3237
880820fe 32382001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
3239
3240 * etags.c: Be capable to parse nested struct-like structures.
3241 (structdef, structtag): Struct state machine revisited.
3242 (struct tok): Revisited.
3243 (cstack, nestlev, instruct): New struct and macros.
3244 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 3245 for dealing with nested class names.
8c463abe
FP
3246 (consider_token, make_C_tag, C_entries): Many changes for dealing
3247 with arbitrarily nested structures.
3248 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
3249 (C_entries): Consider templates in C++.
3250 (sym_type): New constant st_C_class for detecting "class" also in
3251 C mode.
3252 (C_AUTO): New macro for automatic detection of C++.
3253 (consider_token): Automatic set C++ mode.
3254 (C_entries): New security check for yacc.
3255 (print_language_names, print_help): Mention the autodetect
07655e62 3256 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
3257 (C_entries): Tag C++ forward declarations if --declarations.
3258 (C_entries): Don't be fooled by things like XDEFUN.
3259 (consider_token): Discard asm pseudo function.
3260
e26f9ced
EZ
32612001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
3262
3263 * etags.c: Add a coding: tag.
3264
a47b7816
GM
32652001-01-26 Gerd Moellmann <gerd@gnu.org>
3266
8c463abe 3267 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
3268 New variables.
3269 (matching_regexp): Use them instead of static variables in
3270 function scope.
3271
880820fe 32722001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa 3273
b166dcd8
KC
3274 * etags.c (struct tok): Rename from struct token.
3275 (token): Rename from tok.
d22a24fa
FP
3276 (structtype): Make it a local variable.
3277 [DEBUG]: Use assert.
3278 (xrnew): Change the synopsis.
b166dcd8 3279 (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
d22a24fa 3280 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 3281 (token): Buffer renamed to line.
d22a24fa 3282 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 3283 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
3284 (linebuffer_setlen): Was grow_buffer, now also sets len.
3285 (consider_token, C_entries, Pascal_functions): Use it.
3286 (C_entries): Preventing problems relative to extern "C".
3287 (C_entries): Can tag more than one variable or func separated by
3288 comma when --declarations is used.
3289 (C_entries): More accurate tagging of members and declarations.
3290 (yacc_rules): Was global, made local to C_entries.
3291 (next_token_is_func): Removed.
3292 (fvdef): New constants fdefunkey, fdefunname.
3293 (consider_token, C_entries): Use them.
3294 (C_entries): Build proper lisp names for Emacs DEFUNs.
3295
21c2bbe0
GM
32962001-01-22 Gerd Moellmann <gerd@gnu.org>
3297
3298 * ebrowse.c (xfree): New function.
3299 (member, declaration, globals): Use xmalloc instead of alloca.
3300
880820fe 33012001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
3302
3303 * etags.c (print_language_names): Print filenames in addition to
3304 suffixes.
3305
880820fe 33062001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e 3307
b166dcd8 3308 * etags.c (get_language_from_langname): Rename from
47df1a5e 3309 get_language_from_name.
b166dcd8 3310 (get_language_from_filename): Rename from get_language_from_suffix.
eec54bd7 3311 Now first looks for the complete file name.
47df1a5e
EZ
3312 (language): New member char **filenames.
3313 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 3314 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 3315 for makefiles.
13dc0576 3316 (Makefile_targets): New function.
b166dcd8 3317 (Texinfo_nodes): Rename from Texinfo_fuctions and made
47df1a5e
EZ
3318 it conformant to the style of the rest of the code.
3319
291c7e74
GM
33202001-01-13 Gerd Moellmann <gerd@gnu.org>
3321
3322 * make-docfile.c (write_c_args): Print newlines as spaces.
3323
0dac6924
AI
33242001-01-06 Andrew Innes <andrewi@gnu.org>
3325
3326 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
3327 of *.pdb.
3328
3e99d3b4
GM
33292001-01-03 Paul Eggert <eggert@twinsun.com>
3330
290afd83 3331 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
3332 cause user of rcs2log to overwrite arbitrary files, fixing
3333 a bug reported by Morten Welinder.
3334
3335 Don't put "exit 1" at the end of the exit trap; it's
3336 ineffective in POSIX shells.
3337
d6bb0c0d
GM
33382001-01-02 Gerd Moellmann <gerd@gnu.org>
3339
eec54bd7
SM
3340 * ebrowse.c (yyerror): Change to take two arguments.
3341 Add prototype. Change callers.
d6bb0c0d 3342
d5c00476 33432001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
3344
3345 * ebrowse.c (enter_namespace, main): Cast variables to shut up
3346 compiler warnings.
3347 (yyerror): Change parameter declarations to be of type long, so
3348 that they can take pointers on 64-bit platforms.
3349
3350 * emacsclient.c (main): Remove unused local variable statbfr.
3351 (main) <homedir>: Make its declaration conditional on
3352 SERVER_HOME_DIR, to avoid compiler warnings.
3353
3354 * emacsserver.c (main) <homedir>: Make its declaration conditional
3355 on SERVER_HOME_DIR, to avoid compiler warnings.
3356
3357 * fakemail.c (readline): Cast buffer to "long *" to pacify
3358 over-zealous compilers.
3359
7c89ea61
EZ
33602000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
3361
3362 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
3363
a6768cc5
GM
33642000-12-15 Gerd Moellmann <gerd@gnu.org>
3365
3366 * ebrowse.c (operator_name): Cast argument of isalpha to
3367 unsigned char.
3368
3369 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
3370 Use them throughout instead of ctype functions/macros.
3371 (lowcase): Cast to unsigned char.
3372 (UPCASE): New macro.
3373 (canonicalize_filename): Use UPCASE instead toupper.
3374
3375 * fakemail.c (get_keyword): Make sure that isspace and
3376 similar aren't called with a negative argument.
3377
70de49cc
DL
33782000-12-13 Dave Love <fx@gnu.org>
3379
3380 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
3381
4e8b894c
AI
33822000-12-06 Andrew Innes <andrewi@gnu.org>
3383
3384 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
3385 don't know the real version, and I can't seem to get the quoting
3386 right in all circumstances.
3387
3388 * ebrowse.c (VERSION): Provide default definition, like etags.c
3389 does, because Windows build can't snarf this from version.el.
3390
88257bc8
AI
33912000-11-30 Andrew Innes <andrewi@gnu.org>
3392
3393 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
3394 (install): Ditto.
3395
d19249e7
JR
33962000-11-23 Jason Rumney <jasonr@gnu.org>
3397
3398 * makefile.w32-in: Add targets for ebrowse.exe.
3399 (LOCAL_FLAGS): Add -DVERSION flag.
3400
7df6adc3
DL
34012000-09-25 Dave Love <fx@gnu.org>
3402
3403 * sorted-doc.c: Include config.h.
3404 [!HAVE_STDLIB_H]: Declare malloc.
3405
fe83b953
AI
34062000-09-14 Andrew Innes <andrewi@gnu.org>
3407
3408 * makefile.w32-in: Revert to Unix line endings.
3409
517699ca
DL
34102000-09-04 Dave Love <fx@gnu.org>
3411
3412 * movemail.c (index, rindex): Prototype conditionally.
3413
f8803e97
AI
34142000-09-03 Andrew Innes <andrewi@gnu.org>
3415
3416 * makefile.w32-in: Change to DOS line endings.
3417
f72adc12
EZ
34182000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3419
4034f3a8 3420 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
3421 [!F_OK]: Provide default definitions only after including both
3422 fcntl.h and unistd.h.
3423
f678f592
DL
34242000-08-29 Dave Love <fx@gnu.org>
3425
3426 * movemail.c: Revert previous change.
3427
5b671d04
EZ
34282000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3429
3430 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
3431
6fa86045
DL
34322000-08-28 Dave Love <fx@gnu.org>
3433
3434 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
3435 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
3436
746d9caf
AI
34372000-08-22 Andrew Innes <andrewi@gnu.org>
3438
3439 * ntlib.h (WIN32): Remove unnecessary definition.
3440 (sleep): Make argument unsigned long.
3441 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
3442
3443 * ntlib.c (sleep): Make argument unsigned long.
3444
3445 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
3446
3447 * makefile.w32-in: New file.
3448
3b541489
EZ
34492000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
3450
3451 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
3452 letter only if it is a drive letter.
3453
e5acf0ca
GM
34542000-07-14 Gerd Moellmann <gerd@gnu.org>
3455
b166dcd8 3456 * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
e5acf0ca
GM
3457
3458 * etags.c (xmalloc, xrealloc): Make externally visible, for use
3459 by alloca.o.
3460
02ce3e80 3461 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 3462
4b92c49a
GM
34632000-07-10 Gerd Moellmann <gerd@gnu.org>
3464
3465 * ebrowse.c (yylex): Accept string literals with newlines in them.
3466 (process_pp_line): Handle case of string literal with newline
3467 in it in replacement text, which counts as continuing the
3468 replacement text in GNU C.
3469
831a6cb0
GM
34702000-07-02 Gerd Moellmann <gerd@gnu.org>
3471
3472 * ebrowse.c (token_string): Add missing tokens.
3473 (parm_list): Handle case of qualified pointers.
3474
53245ee2
DL
34752000-06-23 Dave Love <fx@gnu.org>
3476
3477 * ebrowse.c: Move config.h before other includes (which may use
3478 feature tests).
3479
dcbf2cd2
JM
34802000-06-14 Jim Meyering <meyering@lucent.com>
3481
3482 * grep-changelog: Fix typos in comments. Remove trailing blanks.
3483
f1c7754a
JR
34842000-06-11 Jason Rumney <jasonr@gnu.org>
3485
3486 * makefile.nt: Add targets for ebrowse.
3487
3488 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
3489 compare filenames.
3490
5f1aea9a
GM
34912000-06-06 Gerd Moellmann <gerd@gnu.org>
3492
b166dcd8
KC
3493 * ebrowse.c (ymalloc): Rename from xmalloc.
3494 (yrealloc): Rename from xrealloc.
5f1aea9a 3495
5bf244f1
DL
34962000-05-21 Dave Love <fx@gnu.org>
3497
3498 * movemail.c: Include config.h, not ../src/config.h.
3499 (Errmsg): Bump length.
3500
3501 * pop.c (ERROR_MAX): Increase to 160.
3502
ec82fb2f
GM
35032000-05-04 Gerd Moellmann <gerd@gnu.org>
3504
3505 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
3506
5c922ea7
EZ
35072000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
3508
02ce3e80
SM
3509 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
3510 Define to semi-colon.
5c922ea7 3511 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 3512 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
3513 (process_file): Don't assume that fread always reads as many bytes
3514 as it was told to (DOS-style CR-LF text files fail this logic).
3515 (open_file): Allocate enough space for path->path plus the file
3516 name and the slash.
3517
6142fdcb 35182000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
3519
3520 * etags.c (Texinfo_functions): New function.
3521 (lang_names): Install it.
3522 (Texinfo_suffixes): New variable.
3523
cb9215e4
GM
35242000-04-19 Gerd Moellmann <gerd@gnu.org>
3525
3526 * ebrowse.c (xmalloc, xrealloc): Rewritten.
3527 (declaration): Remove parameter IS_EXTERN.
3528 (class_definition): Remove unused variable.
3529
be0dbdab
GM
35302000-04-09 Gerd Moellmann <gerd@gnu.org>
3531
3532 * Makefile.in (INSTALLABLES): Add ebrowse.
3533 (ebrowse): New target.
3534
3535 * ebrowse.c: New file.
3536
c5aa0fc2
AS
35372000-03-29 Andreas Schwab <schwab@suse.de>
3538
3539 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
3540
d054101f
GM
35412000-03-02 Gerd Moellmann <gerd@gnu.org>
3542
07e99590 3543 * etags.c (lisp_suffixes): Add `LSP'.
d054101f 3544
880820fe 35452000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 3546
eec54bd7 3547 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
3548 space, and use it throughout in place of isspace, thus preventing a
3549 potential signed char to int conversion problem.
10d1d0af 3550 (MSDOS): #undefine before redefining.
71cbb895 3551
880820fe 35522000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
3553
3554 * etags.c (many functions): Add prototypes.
3555
97fa0cc8
DL
35562000-02-10 Dave Love <fx@gnu.org>
3557
3558 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
3559 (erlang_func): Add `static' to definitions to keep pcc happy.
3560
880820fe 35612000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
3562
3563 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
3564 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
3565 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
3566 (getenv, getcwd): Only declare them if necessary.
3567 (EMACS_NAME): New constant macro.
3568 (print_version): Use it.
3569 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 3570
19e262bd 35712000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
3572
3573 * etags.c [WINDOWSNT]: #include <direct.h>
3574
19e262bd 35752000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 3576
19e262bd
FP
3577 * etags.c (all functions): Made them static.
3578 (all functions): Write prototypes.
e4100b7f 3579
55e30d2a
RS
35802000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3581
3582 * movemail.c (main): Improve error message if can't create lock file.
3583
c60ee5e7 35842000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
3585
3586 * emacsclient.c (socket_status): New function.
02ce3e80 3587 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
3588 for a socket based on the UID associated with the name.
3589
e4936aa9
GM
35902000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
3591
3592 * emacsclient.c: Add option -a EDITOR and environment variable
3593 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
3594
f0131492 35951999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
3596
3597 * movemail.c (popmail): Allow mailbox specifications of the
3598 form `po:username:hostname'.
3599
880820fe 36001999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
3601
3602 * etags.c (_GNU_SOURCE): Define only if undefined.
3603 (get_scheme): Declaration deleted.
02ce3e80 3604 (main): Error was called with an integer as second arg, instead of
e2081362
FP
3605 a char pointer.
3606 (canonicalize_filename): Bug removed.
3607
36081999-11-18 Dave Love <d.love@dl.ac.uk>
3609
3610 * etags.c (C_entries): Rename label `intoken', avoiding K&R
3611 lossage from name clash with macro.
3612
b05d3bee
GM
36131999-11-13 Gerd Moellmann <gerd@gnu.org>
3614
3615 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
3616
cb3a6c48
GM
36171999-11-03 Gerd Moellmann <gerd@gnu.org>
3618
3619 * etags.c (print_help): Change email address to send bugs to.
3620
6088b51f 36211999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3622
3623 * etags.c: Add suffix psw for PSWrap.
3624 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
3625 (Postscript_functions): Add code for PSWrap.
3626 (Scheme_functions): Use local pointer and new get_tag function.
3627 (get_tag): New name for old get_scheme.
3628 (process_file): Do not free NULL when file does not exist.
3629 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
3630 (C_entries): Modifications that make --members tag even inside
3631 typedefs and C nested structs (one level only).
eec54bd7 3632 (consider_token): Correct a bug which prevented tagging of enum
1c478461 3633 constants.
eec54bd7 3634 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
3635 st_C_ignore. This makes it simpler to work when cblev!=0.
3636
02ce3e80 3637 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
3638 --declarations is used.
3639
3640 * etags.c (C_entries, consider_token): C++ `operator' now is
3641 tagged in most cases.
3642 As before, :: is not recognised if surrounded by spaces.
3643
3644 * etags.c (relative_filename): Account for DOS file names such
3645 that is impossible to make one relative to another.
3646
3647 * etags.c (sym_type): New st_C_extern tag.
3648 (gperf input): Use it for spotting external declarations.
a7c29764 3649 (print_help): Document the new behavior of --declarations.
1c478461
FP
3650 (fvextern): New global variable.
3651 (consider_token, C_entries): Use it.
3652
3653 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
3654 (etags_getcwd): Remove test for WINDOWSNT.
3655
3656 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
3657 foo.cgz, foo.cz, etc.
3658
3659 * etags.c (declarations): New global switch.
3660 (longopts): Describe it.
3661 (print_help): Document it.
3662 (C_entries): Use it.
3663 (process_file): Don't process a file twice.
3664
3665 * etags.c (Fortran_functions): No tags for "procedure".
3666
36671999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
3668
3669 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
3670 non-zero, returns a pointer to where the extension begins; callers
3671 changed.
3672 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
3673 were foo.c.gz.
3674
880820fe 36751999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3676
3677 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
3678 (fvdev): New constant foperator.
3679 (consider_token): Use it to get "operator" in C++.
3680 (C_entries): Extend length of operator@ function name.
3681 (C_entries): Use foperator when necessary.
3682
3683 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
3684
3685 * etags.c (compressor): New struct for compressed files.
3686 (get_compressor_from_suffix): New function.
3687 (get_language_from_suffix): Use it. Also, semantics changed.
3688 (process_file): Consider compressed files, close file.
3689 (find_entries): Use different call arg for get_language_from_suffix,
3690 don't close file.
3691
3692 * etags.c (main): Call free_tree.
3693 (find_entries): Do not free curfile.
3694 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
3695 (prolog_pred, erlang_func, substitute): Cast strlen to int when
3696 comparing.
3697 (canonicalize_filename): Shut up compiler warning.
3698 (Perl_functions): Make tag significant.
3699
37001999-11-01 Dave Love <d.love@dl.ac.uk>
3701
3702 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
3703 (argument_type): New member at_icregexp.
3704 (lc_trans): New global.
3705 (main): Fill lc_trans. Process -c args.
3706 (add_regex): New arg determining whether to use translation table.
3707 (analyse_regex): New arg. Use it for add_regex.
3708
880820fe 37091999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3710
3711 * etags.c (init): Cosmetic change: NULL --> '\0'.
3712 (erlang_attribute): Bug corrected (uninitialized variable).
3713 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 3714 corrects a bug. All callers changed.
1c478461
FP
3715 (canonicalize_filename): New function.
3716 (process_file, etags_getcwd, absolute_dirname): Use it.
b166dcd8 3717 (relative_filename, absolute_filename): Remove var shadowing.
1c478461 3718 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 3719 compilers quiet.
1c478461
FP
3720 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
3721
3722 * etags.c (xrnew): New macro. All callers of xrealloc changed.
3723 (language): New typedef (was struct lang_entry).
3724 (curlang): New global variable.
02ce3e80 3725 (node): Typedef renamed from NODE.
1c478461
FP
3726 (linebuffer): New typedef (was struct linebuffer).
3727 (pattern): New typedef (was struct pattern). Some members added.
3728 Now used as element of a linked list.
3729 (patterns, num_patterns): Global variables deleted.
3730 (p_head): New global variable.
a64387ee 3731 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
3732 (get_language_from_name, get_language_from_interpreter)
3733 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 3734 (last_node): New global variable.
02ce3e80
SM
3735 (free_tree, add_node, put_entries, total_size_of_entries):
3736 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
3737 (number_len): Rewritten for elegance.
3738 (token): New typedef replaces TOKEN.
3739 (analyse_regex, add_regex): Rewritten for new functionality.
3740 (free_patterns): New function called from main and add_regex.
3741 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 3742 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
3743 (readline): Rewritten for new functionality.
3744
ecc54057 3745 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
3746 (print_help): --globals is now used for more than C-type languages.
3747 (Perl_functions): Tag global variables ("my" and "local").
3748
3749 * etags.c (print_help): Some messages clarified.
3750 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
3751 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
3752 (Python_functions, Cobol_paragraphs, Pascal_functions)
3753 (Lisp_functions, Postscript_functions, Scheme_functions)
3754 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
3755 (Cobol_paragraphs, Postscript_functions, TeX_functions)
3756 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
3757 of the global variable dbp.
3758 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
3759 standard indentation.
3760
02ce3e80
SM
3761 * etags.c (Python_suffixes, lang_names, Python_functions):
3762 Python support.
1c478461 3763 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
3764 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
3765 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
3766 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
3767 (eat_white): Deleted.
3768
3769 * etags.c (CHAR, init): Keep into account non US-ASCII
3770 characters and compilers with default signed chars.
3771 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
3772 constructs.
ecc54057 3773 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 3774
ecc54057 3775 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
3776 (main): Put interval syntax here.
3777 (add_regex): And remove it from here.
3778
3779 * etags.c (suggest_asking_for_help): Provide a
3780 meaningful help message with and without LONG_OPTIONS.
3781
d07529f3 3782 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
3783 <stdlib.h, string.h>: Don't test MSDOS when including them.
3784 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
3785 (put_entries): Correctly use %ld instead of %d in printf.
3786
d07529f3 3787 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
3788 declare getcwd if HAVE_GETCWD.
3789 (consider_token): Dead break instruction removed.
3790
4ee9629e
PE
37911999-10-19 Paul Eggert <eggert@twinsun.com>
3792
3793 Add support for large files. Merge glibc 2.1.2.
1c478461 3794
4ee9629e 3795 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 3796 * movemail.c, pop.c:
4ee9629e
PE
3797 Do not include <stdlib.h>, as <config.h> does this now.
3798
3799 * b2m.c, emacsserver.c, etags.c, profile.c:
3800 Include <config.h> before any system include files.
1c478461 3801
4ee9629e 3802 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 3803 * test-distrib.c:
4ee9629e
PE
3804 (read, write, open, close): Do not undef.
3805
3806 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
3807 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
3808
3809 * getopt.h: Adopt glibc 2.1.2.
1c478461 3810
93c8d183
DL
38111999-10-15 Dave Love <fx@gnu.org>
3812
3813 * Makefile.in (pop.o): Depend on config.h.
3814
b358f91c
GM
38151999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3816
3817 * pop.c: Use "pop3" as the POP service name on all platforms,
3818 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
3819 has been the standard service name since RFC 1340 was published in
3820 July 1992, so I think it's safe to start using it by default.
3821
362bc2da
DL
38221999-09-27 Dave Love <fx@gnu.org>
3823
3824 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
3825
74e4cb59
PR
38261999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3827
3828 * make-docfile.c (scan_lisp_file): Fix previous changes;
3829 swallow CRLF like just CR or just LF.
3830
362bc2da
DL
38311999-09-03 Richard Stallman <rms@gnu.org>
3832
3833 * make-docfile.c: Include config.h not ../src/config.h.
3834 (main, fopen, chdir): Add #undef.
3835 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
3836 (scan_lisp_file): Handle \r like \n.
3837
38381999-08-30 Andreas Schwab <schwab@gnu.org>
3839
3840 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
3841
3842 * emacsserver.c: Include <stdlib.h> if available. Don't declare
3843 errno if it's a macro.
3844
3845 * test-distrib.c: Include <unistd.h> if available.
3846
38471999-08-29 Richard Stallman <rms@gnu.org>
3848
3849 * emacsclient.c (print_help_and_exit): Mention --version.
3850
38511999-08-25 Richard M. Stallman <rms@gnu.org>
3852
3853 * emacsclient.c (decode_options): Update version output.
3854 (print_help_and_exit): Update bug report address.
3855
38561999-08-13 Richard M. Stallman <rms@gnu.org>
3857
3858 * emacsclient.c (main): Move the dynamic allocation of
3859 system_name outside of the SERVER_HOME_DIR conditional.
3860 * emacsserver.c (main): Likewise.
3861
38621999-08-10 Gerd Moellmann <gerd@gnu.org>
3863
3864 * grep-changelog: New.
3865 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
3866
38671999-07-12 Richard Stallman <rms@gnu.org>
3868
3869 * Version 20.4 released.
3870
38711999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
3872
1c478461 3873 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
3874
38751999-06-23 Dave Love <fx@gnu.org>
3876
3877 * etags.c (erlang_attribute): Fix undefined variable usage (after
3878 Potorti).
3879
86e888c2 38801999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
3881
3882 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
3883 mapped to _chsize.
3884
38851999-04-29 Richard M. Stallman <rms@gnu.org>
3886
3887 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
3888
38891999-03-30 Dave Love <fx@gnu.org>
3890
3891 * sorted-doc.c (main): Split up tables. Modify the preamble
3892 somewhat.
3893
38941999-03-05 Geoff Voelker <voelker@cs.washington.edu>
3895
3896 * makefile.nt: Remove common multiple file compilation commands.
3897
38981999-02-26 Richard Stallman <rms@gnu.org>
3899
362bc2da
DL
3900 * Makefile.in (yow): Depend on epaths.h, not paths.h.
3901
3902 * yow.c: Refer to epaths.h.
3903
39041999-02-22 Simon Josefsson <jas@pdc.kth.se>
3905
3906 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
3907
39081999-01-27 Andrew Innes <andrewi@gnu.org>
3909
3910 * makefile.nt: Do make version comparison as strings.
3911
39121999-01-25 Richard Stallman <rms@gnu.org>
3913
3914 * emacsclient.c (xmalloc): Fix previous change.
3915
39161999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
3917
3918 * emacsclient.c (xmalloc): Declare to return long.
3919
39201999-01-22 Geoff Voelker <voelker@cs.washington.edu>
3921
3922 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
3923 the case of the drive letter.
3924
39251999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
3926
3927 * emacsserver.c (main): Eliminate arbitrary limit on
3928 length of system_name.
3929
3930 * emacsclient.c (main): Eliminate arbitrary limit on
3931 length of system_name.
3932 (xmalloc): Define unconditionally.
3933
39341999-01-12 Darrin B. Jewell <jewell@mit.edu>
3935
3936 * etags.c (relative_filename): Stop backward search at beginning
3937 of string, since non-Unix systems can have absolute paths with no
3938 initial slash.
3939
39401998-12-08 Geoff Voelker <voelker@cs.washington.edu>
3941
3942 * makefile.nt: Do string comparision of _NMAKE_VER.
3943
c60ee5e7 39441998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
3945
3946 * makefile.nt: Compile multiple source files when possible.
3947
39481998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
3949
3950 * Makefile.in: Replace tabs with spaces
3951 when they might confuse some Make versions.
3952
39531998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
3954
3955 * emacsclient.c (main): Null-terminate system_name.
3956
3957 * emacsserver.c (main): Null-terminate system_name.
3958
39591998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3960
3961 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
3962 an error message from POP, mention that it's from POP, to
3963 distinguish it from local error messages.
3964
39651998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3966
3967 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
3968 order of messages downloaded from a POP server (e.g., if the
3969 server stores messages in mailboxes in reverse order).
3970
39711998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
3972
3973 * Version 20.3 released.
3974
39751998-08-11 Paul Eggert <eggert@twinsun.com>
3976
3977 * rcs2log: Update copyright date and bug report address.
3978 (initialize_fullname): Prefer getent if available.
3979
39801998-07-30 Paul Eggert <eggert@twinsun.com>
3981
290afd83 3982 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 3983 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 3984
362bc2da
DL
39851998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
3986
3987 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
3988
39891998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
3990
3991 * Makefile.in: Properly terminate a comment.
3992
39931998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
3994
3995 * movemail.c (sys_wait): Rename to wait.
3996
3997 * ntlib.h: Undefine _WINSOCKAPI_.
3998
3999 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
4000
40011998-05-30 Geoff Voelker <voelker@cs.washington.edu>
4002
4003 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
4004
40051998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
4006
b166dcd8
KC
4007 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
4008 Force all file i/o to be in binary mode. Include ntlib.h.
362bc2da
DL
4009
40101998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
4011
4012 * make-docfile.c: Include <unistd.h> for chdir.
4013
40141998-04-25 Richard Stallman <rms@psilocin.gnu.org>
4015
4016 * etags.c (TEX_decode_env): Don't free the value getenv returns.
4017
40181998-04-17 Geoff Voelker <voelker@cs.washington.edu>
4019
4020 * makefile.nt (obj): Update with new files in src.
4021 (clean): Delete patch scratch files, optimized compilation dir.
4022
40231998-04-08 Dave Love <fx@gnu.org>
4024
4025 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
4026 Irix6, at least.
4027
40281998-04-06 Andreas Schwab <schwab@gnu.org>
4029
4030 Silence -Wimplicit:
4031 * movemail.c: Move cancelations up. Include <stdlib.h> if
4032 available.
4033 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
4034 (parse_header): Explicitly declare return type.
4035 * emacsserver.c: Include <unistd.h> if available.
4036 (main, handle_signals, perror_1, fatal_error): Explicitly declare
4037 return types. Add forward declarations.
4038 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
4039 Don't declare geteuid.
b166dcd8
KC
4040 (print_help_and_exit): Change return type to void.
4041 Forward declare it.
362bc2da
DL
4042 * b2m.c: Include <stdlib.h> if available.
4043 (main): Explicitly declare return type.
4044
362bc2da
DL
40451998-04-03 Richard Stallman <rms@psilocin.gnu.org>
4046
4047 * etags.c (put_entries): Use %ld.
4048
4049 * b2m.c (fatal): Declare the arg.
4050
40511998-03-26 Richard Stallman <rms@psilocin.gnu.org>
4052
b166dcd8 4053 * pop.c (pop_getline): Rename from getline.
362bc2da
DL
4054
40551998-03-05 Richard Stallman <rms@psilocin.gnu.org>
4056
4057 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
4058 for the utilities.
4059
40601998-01-23 Dave Love <d.love@dl.ac.uk>
4061
4062 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
4063 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
4064 Always make named tags.
4065 (Fortran_functions): Grok BLOCK DATA.
4066
40671998-01-23 Andreas Schwab <schwab@gnu.org>
4068
4069 * movemail.c (main): Fix interwoven brace and cpp conditional
4070 nesting.
4071
362bc2da
DL
40721997-12-03 Paul Eggert <eggert@delysid.gnu.org>
4073
cb438d6e
JB
4074 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
4075 with a '>' any lines starting with "From " read from the POP server,
4076 but leave the code in place, wrapped in #ifdef
362bc2da 4077 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
4078 because it turns out that something is depending on it.
4079 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
4080 Convert the character \037 (^_) at the beginning of a line into
4081 the character '^' followed by the character '_', because otherwise
4082 Emacs can't parse the resulting file as a valid BABYL file.
4083 Change suggested by Paul Eggert <eggert@twinsun.com>.
4084
40851997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4086
4087 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
4088 server to contain embedded nulls.
4089
40901997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 4091
362bc2da
DL
4092 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
4093 quotes with a '>' any lines starting with "From " read from the
4094 POP server, but leave the code in place, wrapped in #ifdef
4095 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
4096 because it turns out that something is depending on it.
4097 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
4098
4099 Convert the character \037 (^_) at the beginning of a line into
4100 the character '^' followed by the character '_', because otherwise
4101 Emacs can't parse the resulting file as a valid BABYL file.
4102 Change suggested by Paul Eggert <eggert@twinsun.com>.
4103
41041997-11-22 Richard Stallman <rms@gnu.org>
4105
4106 * b2m.c: Include getopt.h.
4107 (main): Use getopt_long to handle --version and --help.
4108
4109 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
4110
41111997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4112
b166dcd8
KC
4113 * pop.c (fullwrite): Get rid of an extra call to write.
4114 Problem pointed out by Chiaki Ishikawa.
362bc2da
DL
4115
41161997-10-16 Dave Love <d.love@dl.ac.uk>
4117
ecc54057
JB
4118 * etags.c (L_getit): Always make named tags so that Emacs
4119 completion on symbols containing `:' etc. works.
4120 (get_scheme): Likewise.
362bc2da
DL
4121
41221997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4123
4124 * pop.c: Use system header files instead of declaring C-library
4125 functions explicitly.
4126
41271997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4128
4129 * Version 20.2 released.
4130
41311997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4132
4133 * Version 20.1 released.
4134
41351997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
4136
4137 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
4138
4139 * ntlib.c (getpid): Delete function.
4140
41411997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4142
4143 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
4144
41451997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4146
4147 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
4148 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
4149
41501997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4151
4152 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
4153
41541997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
4155
4156 * profile.c (get_time): Cast arg to fprintf.
4157
4158 * hexl.c (main): Use %08lx instead of %08x in printf because the
4159 variable named addresses is long.
4160
41611997-08-08 Geoff Voelker <voelker@cs.washington.edu>
4162
4163 * makefile.nt (lisp): Update paths to lisp files that have moved.
4164
41651997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
4166
4167 * makefile.nt (ctags.obj): New target.
4168 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
4169
4170 * ntlib.h: Add includes.
4171 Undo definitions of crt routines from config.h.
4172
41731997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4174
4175 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
4176
41771997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4178
4179 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
4180 Kerberos V5 for movemail, including detection of V4 and V5 header
4181 files and libraries.
362bc2da 4182 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 4183 declarations of string functions.
362bc2da 4184 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 4185 V5 API rather than the old one.
362bc2da 4186 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
4187 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
4188 with a constant in a header file.
362bc2da
DL
4189
4190 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
4191 Kerberos V5 for movemail, including detection of V4 and V5 header
4192 files and libraries.
362bc2da
DL
4193
41941997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4195
4196 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
4197
4198 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 4199
362bc2da
DL
42001997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4201
4202 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
4203
42041997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4205
4206 * movemail.c (rindex): Add declaration.
4207
d57727c9 42081997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4209
4210 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
4211 (movemail.exe): Depend upon and link with getopt files.
4212 (obj): Include new source files.
4213 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
4214 (lisp): Include new and reorganized elisp files.
4215
42161997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4217
4218 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
4219
42201997-06-25 Paul Eggert <eggert@twinsun.com>
4221
4222 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
4223
42241997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
4225
4226 * b2m.c (readline): Terminate buffer properly when EOF seen.
4227 Test for valid pointer before dereferencing it.
4228
880820fe 42291997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4230
4231 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
4232 defined inside etags.c if HAVE_CONFIG_H is defined.
4233
880820fe 42341997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4235
ecc54057 4236 * etags.c (logical): Type name changed to bool.
362bc2da
DL
4237 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
4238 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
4239 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
4240 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
4241 (longopts): New long options without short counterpart are
4242 globals, members, no-globals, no-members. Regexp options are now
4243 defined conditionally to ETAGS_REGEXPS.
4244 (print_help): Updated.
4245
880820fe 42461997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4247
4248 * etags.c (C_entries): Use "." instead of "::" for Java.
4249 (consider_token): is_func renamed to is_func_or_var.
4250 (C_entries): is_func renamed to funorvar.
4251 (C_entries): Initialise tok.named.
4252 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
4253 get rid of "import", "package" and "friend".
b166dcd8
KC
4254 (fvdef): Rename from funcdef. Also some constants renamed.
4255 All users changed.
362bc2da
DL
4256 (C_entries): Make separate tags for variables separated by comma.
4257 (globals, members): New flags.
4258 (main, C_entries): Use them.
4259 (make_C_tag, C_entries): Make tok a global variable.
1c478461 4260
880820fe 42611997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4262
4263 * etags.c (funcdef): New vignore constant.
4264 (consider_token, C_entries): Use it to tag global variables.
4265 (print_help): Update for global variables.
4266 (consider_token, C_entries): Set the len member of token_name.
4267 (prolog_pred): Cleanup according to GNU coding standards.
4268 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
b166dcd8 4269 (prolog_white, erlang_white): Rename to eat_white, callers changed.
362bc2da 4270
880820fe 42711997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4272
4273 * etags.c (CHARS, CHAR): New constant and macro.
4274 (iswhite, begtoken, intoken, endtoken): Use them.
4275 (notinname, _nin, nonam): New macro, array, string.
4276 (init): Cleanup and init _nin.
4277 (new_pfnote): New function.
4278 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 4279 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 4280
880820fe 42811997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4282
4283 * etags.c (C_entries, Pascal_functions): Cleanup.
4284 (TeX_functions): NULL as a function arg needs a cast.
4285 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
4286
880820fe 42871997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4288
4289 * etags.c (TeX_functions): Cleaned up.
4290 (tex_getit): Removed.
4291
42921997-05-13 Paul Eggert <eggert@twinsun.com>
4293
4294 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 4295 non-files within the RCS subdirectory.
362bc2da 4296
880820fe 42971997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4298
4299 * etags.c (C_JAVA): New #define.
4300 (Cjava_suffixes): .java is Java.
4301 (Cjava_entries): New function.
4302 (lang_names): Add Java.
4303 (sym_type): Add st_C_javastruct for Java.
4304 (C_stab_entry): Add `extends' and `implements' keywords.
4305 (consider_token, C_entries): Recognise Java structures.
4306
880820fe 43071997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4308
ecc54057 4309 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
4310 (Postscript_suffixes): .ps is Postscript.
4311 (lang_names): Add Postscript.
4312 (Postscript_functions): New function.
4313 (TEX_decode_env): Close minor memory leak.
4314 (just_read_file): Correct the char number of the tag.
4315
43161997-05-11 Paul Eggert <eggert@twinsun.com>
4317
4318 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
4319 Don't prepend $nl since this causes some shells to generate the
4320 empty string when IFS is $nl.
362bc2da 4321 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 4322 PC-based shells mishandle CR.
362bc2da
DL
4323 (initialize_fullname): Set NIS_PATH to the empty string before invoking
4324 nismatch, in case it's set to some nonstandard value.
1c478461 4325
362bc2da
DL
43261997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4327
4328 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
4329 read in separate blocks.
4330
880820fe 43311997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4332
4333 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
4334 (struct linebuffer): New member `len' is the length of the string.
4335 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
4336 Use it instead of strlen.
4337 (TEX_getit): Declare and define unconditionally as static.
4338 (TeX_functions): Use if instead of #if TeX_named_tokens.
4339 (add_regex): Set RE_INTERVALS flag for regex compilation.
4340 (substitute): Code cleanup.
4341 (readline_internal): Code cleanup, set new member `len'.
4342 (readline): Bug corrected.
4343
43441997-04-23 Geoff Voelker <voelker@cs.washington.edu>
4345
4346 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
4347 (obj): Change references of nt*.c files to w32*.c files.
4348
880820fe 43491997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4350
4351 * etags.c (xnew): Add support for debugging with chkmalloc.
4352 (error): Use this instead of printf whenever possible.
4353 (main): Only call xnew after having initialised progname.
4354 (substitute): Bad memory corruption error corrected.
4355
880820fe 43561997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4357
4358 * etags.c (add_regex): Undo previous change.
4359 (relative_filename): Small memory leak closed.
4360 (absolute_filename): Cleaned up the code, possibly closing a bug.
4361 (absolute_dirname): Always return a newly allocated string.
1c478461 4362
362bc2da
DL
43631997-03-21 Paul Eggert <eggert@twinsun.com>
4364
4365 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
4366 of the form ,*, or *_; they are probably RCS lock files.
4367 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
4368 they are used by rcsfreeze.
4369
880820fe 43701997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4371
2f2c687b 4372 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
4373
43741997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4375
4376 * movemail.c (popmail): Remove some unnecessary function
4377 declarations.
4378 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
4379 into pop_retr, there's no reason to pass in mbx_write, and the
4380 file argument can be declared FILE * explicitly. This fixes a
4381 compilation problem on systems with 64-bit pointers.
4382
43831997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4384
4385 * movemail.c: Delete duplicate inclusion of fcntl.h
4386 and duplicate #undefs of open, read, write, close.
4387
43881997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4389
4390 * movemail.c (main): Do not display "[POP-password]" in the usage
4391 message when movemail is compiled without POP support.
4392 (main, popmail): Add the optional "-p" argument, which causes
4393 movemail to leave mail in the inbox after copying it into the
4394 output file.
1c478461 4395
362bc2da
DL
4396 * Makefile.in (movemail): Link with getopt.
4397
43981997-01-20 Paul Eggert <eggert@twinsun.com>
4399
ecc54057 4400 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
4401 (Copyright, Help, Id): New variables, for above.
4402 (rlog): Use -q option with cvs log, to avoid useless chatter.
4403
4404 Treat logs of "Initial revision" (RCS) or "file F was initially added
4405 on branch B." (CVS) as if they said "New file.", for consistency with
4406 change log entries.
4407
44081997-01-01 Paul Eggert <eggert@twinsun.com>
4409
4410 * vcdiff (PATH): Add /usr/xpg4/bin,
4411 where XPG4 SCCS hangs out in Solaris 2.5.
4412 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
4413
44141996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4415
4416 * etags.c (streq, strneq): Use == NULL rather than !.
4417
44181996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
4419
4420 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 4421 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
4422
4423 * movemail.c: Include maillock.h (conditionally).
4424 Remove a redundant inclusion of <stdio.h>.
4425 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
4426 (main): Add variable spool_name.
4427 Support the usage of maillock and mailunlock to
ecc54057 4428 lock and unlock mailboxes.
362bc2da
DL
4429 (mail_spool_name): New function.
4430
4431 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
4432 movemail to exit with an error status incorrectly on systems which
4433 use lock files rather than a system locking function to lock
4434 mailboxes.
362bc2da
DL
4435
44361996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4437
4438 * pop.c (socket_connection): Free realhost after using it.
4439
880820fe 44401996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4441
4442 * etags.c (C_entries): Test tok.valid. This handles some
4443 particular cases involving function declarations that failed.
4444
44451996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 4446
362bc2da
DL
4447 * pop.c (socket_connection):
4448 gethostbyname may return a pointer to static data.
4449 krb_realmofhost can clobber it. So copy it.
4450
880820fe 44511996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4452
4453 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
4454 must cast it to (char *) because we have no prototypes.
4455 (make_C_tag): Macro deleted, new function.
4456 (C_entries): Calls to make_C_tag macro changed to call function.
4457
880820fe 44581996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4459
4460 * etags.c (grow_linebuffer): New function.
4461 (GROW_LINEBUFFER): Macro deleted. All callers changed.
4462 (make_tag): Macro renamed to make_C_tag. All callers changed.
4463 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
4464 (Prolog_functions): prolog_skip_comment was called with wrong
4465 number of arguments.
6088b51f 4466 (xrealloc): fatal was called with wrong number of arguments.
362bc2da 4467
880820fe 44681996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4469
4470 * etags.c (relative_filename): Bug corrected.
4471 (etags_getcwd): Avoid warning of unused variable.
b166dcd8 4472 (C_entries, consider_token): Add support for enum labels.
362bc2da
DL
4473
44741996-11-03 Paul Eggert <eggert@twinsun.com>
4475
4476 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 4477 repository file names.
362bc2da
DL
4478
44791996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
4480
4481 * emacsserver.c: Fix 1996-09-02 change.
4482
44831996-10-12 Paul Eggert <eggert@twinsun.com>
4484
4485 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 4486 option', since CVS says 'invalid option'.
362bc2da
DL
4487 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
4488 revisions, since some hosts reject 1970-01-01 when east of UTC.
4489 (date): Remove.
4490
44911996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4492
4493 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
4494
880820fe 44951996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4496
4497 * etags.c (print_version): Print copyright info.
4498
4499 * etags.c (print_help): Print the bug reporting address.
4500 (main): Use return as the last instruction, instead of exit.
4501
4502 * etags.c (main): Don't open the tags file in cxref mode.
4503
45041996-09-29 Dave Love <d.love@dl.ac.uk>
4505
4506 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 4507 as well as earlier CVSs and RCS.
362bc2da
DL
4508
45091996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4510
4511 * movemail.c (main): If the lock call fails with EBUSY or
4512 EAGAIN, retry a few times.
4513
45141996-09-25 Paul Eggert <eggert@twinsun.com>
4515
4516 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 4517 whether to append -zLT.
362bc2da
DL
4518
45191996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4520
4521 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
4522 * emacsclient.c, movemail.c: Likewise.
4523
45241996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4525
4526 * emacsclient.c (longopts): Change nowait to no-wait.
4527 (print_help_and_exit): Fix option name; upcase metavars.
4528
45291996-09-06 Erik Naggum <erik@naggum.no>
4530
4531 * emacsserver.c (main): Declare `fromlen' as size_t.
4532
45331996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
4534
4535 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
4536
45371996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4538
4539 * emacsclient.c (quote_file_name): Quote with &, not \.
4540 Quote `-' only at start of file name. Terminate the value string.
4541
4542 * emacsserver.c: Include signal.h properly;
4543 delete the duplicate includes for it.
4544
4545 * emacsserver.c: On fatal signal, delete socket-file:
4546 * emacsserver.c: Include signal.h.
ecc54057 4547 (xmalloc, fatal, error): New functions.
362bc2da
DL
4548 (delete_socket, handle_signals): New functions.
4549 (progname, socket_name): New variables.
194d44e7 4550 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
362bc2da
DL
4551
45521996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4553
4554 * emacsclient.c (quote_file_name): New function.
4555 (main, both versions): Use quote_file_name.
4556 (decode_options): Don't return a value.
4557 (main, both versions): Use optind.
4558 Don't check for -nowait here.
1c478461 4559
362bc2da
DL
4560 * emacsclient.c (decode_options): New function.
4561 (main, both versions): Call decode_options.
4562 (print_help_and_exit): New function.
4563 (VERSION): New macro.
4564
4565 * Makefile.in (emacsclient): Link with getopt.
4566 Add -DVERSION so emacsclient knows its version number.
4567
45681996-08-31 Geoff Voelker <voelker@cs.washington.edu>
4569
4570 * makefile.nt (lisp): Include dos-nt.elc.
4571
45721996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4573
4574 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
4575
45761996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4577
4578 * emacsclient.c (both versions): Handle -nowait and --nowait
4579 by sending data to the server.
4580
45811996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4582
4583 * Makefile.in (INSTALL_STRIP): New variable.
4584 (${archlibdir}): Use INSTALL_STRIP.
4585
4586 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
4587 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
4588
4589 * pop.c: Reverse conditional in previous change.
4590
45911996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4592
4593 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
4594
45951996-08-24 Paul Eggert <eggert@twinsun.com>
4596
4597 * rcs2log: Use ISO 8601 date format, with time zone appended
4598 if change-log-time-zone-rule is non-nil, instead of
4599 traditional Unix date format.
4600
4601 (datearg): When computing default from ChangeLog, handle ISO format
4602 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
4603 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 4604 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
4605 "$datearg" option to $rlog.
4606 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
4607 (month_data): Remove `mo'; no longer needed.
10d1d0af 4608 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
4609
4610 Match `revision' line of rlog output more accurately.
4611
4612 Add -c, -v options.
4613
46141996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
4615
4616 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
4617
46181996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4619
4620 * Version 19.33 released.
4621
46221996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4623
4624 * Version 19.32 released.
4625
46261996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
4627
4628 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
4629 computing character positions in source files.
4630
46311996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
4632
4633 * makefile.nt (clean): Use OBJDIR macro.
4634
46351996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4636
4637 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
4638
c60ee5e7 46391996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 4640
ecc54057 4641 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
4642 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
4643 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
4644
46451996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
4646
4647 * ntlib.h: Correct return type of getwd.
4648 * ntlib.c (getwd): Correct return type.
4649
46501996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4651
4652 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
4653 to infile.
4654
46551996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
4656
4657 * makefile.nt: Remove all references to wakeup.
4658
880820fe 46591996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4660
4661 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
4662 explicit, mutable, typename.
4663
46641996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4665
4666 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
4667 streams, one for sending and one for reading the reply.
4668
46691996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4670
4671 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
4672 (wakeup): Target deleted.
4673 (UTILITIES): Delete wakeup and timer.
4674
4675 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
4676
46771996-06-11 Geoff Voelker <voelker@cs.washington.edu>
4678
4679 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
4680 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
4681
46821996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4683
4684 * etags.c (main): Copy cwd when appending slash.
4685
46861996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
4687
4688 * Version 19.31 released.
4689
880820fe 46901996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4691
4692 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
4693 (Pascal_functions): Increase linecharno by the correct number of
4694 chars, inline the GET_NEW_LINE macro and delete its definition.
4695
c60ee5e7 46961996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4697
4698 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
4699
c60ee5e7 47001996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4701
4702 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6088b51f 4703 (movemail.exe, fakemail.exe): Now built under Win32.o.
362bc2da
DL
4704
4705 * ntlib.c: Include ntlib.h.
4706 (nt_sleep): Rename to sleep.
4707 (getwd): Return directory.
4708 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
4709 sys_ctime, sys_fopen): New functions.
4710
4711 * ntlib.h: New file.
4712
47131996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4714
b166dcd8 4715 * pop.c (SEND, RECV): Rename from send, recv.
362bc2da
DL
4716 (pop_open, pop_trash): Make the trash_started code unconditional.
4717 (socket_connection): Delete casts to void.
4718
47191996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4720
b166dcd8
KC
4721 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
4722 Definitions copied from lisp.h.
362bc2da
DL
4723
47241996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
4725
4726 * fakemail.c [WINDOWSNT]: Include ntlib.h.
4727
4728 * hexl.c [DOSNT]: Include fcntl.h.
4729 [WINDOWSNT]: Include io.h.
4730 (main) [MSDOS]: Change conditional to DOS_NT.
4731
4732 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
4733 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
4734 [WINDOWSNT]: Include locking.h.
4735 (main): Update usage message. Use IS_DIRECTORY_SEP.
4736 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
4737 (main) [WINDOWSNT]: Invoke locking instead of flock.
4738 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
4739 (main) [MAIL_USE_POP]: Pass password to popmail if used.
4740 Include winsock.h; don't include unix inet headers.
4741 (popmail): Add password argument and pass it to pop_open.
4742 Open output file in binary mode.
4743
4744 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 4745 Macro SOCKET_ERROR undefined.
362bc2da
DL
4746 Don't declare h_errno.
4747 [!WINDOWSNT]: Define macros recv and send.
4748 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
4749 (pop_open) [WINDOWSNT]: Initialize trash_started.
4750 (have_winsock) [WINDOWSNT]: New variable.
4751 (socket_connection) [WINDOWSNT]: Initialize winsock.
4752 (socket_connection): Use closesocket instead of close.
4753 (getline): Use recv instead of read.
4754 (fullwrite): Use send instead of write.
4755 (pop_trash): Use closesocket instead of close.
4756 (pop_trash) [WINDOWSNT]: Cleanup winsock.
4757 Check if being called recursively by sendline.
4758
4759 * pop.h (struct _popserver): New field trash_started.
4760
4761 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
4762
47631996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4764
4765 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
4766
47671996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4768
4769 * etags.c [WINDOWSNT]: Include io.h.
4770
47711996-04-10 Geoff Voelker <voelker@cs.washington.edu>
4772
4773 * makefile.nt (CTAGSOBJ): Compile with regexp support.
4774
47751996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
4776
4777 * hexl.c [DJGPP v2]: Include io.h.
4778 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
4779
4780 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
4781 DJGPP v2.
4782
47831996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4784
4785 * etags.c (absolute_filename): Use absolutefn.
4786
47871996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
4788
4789 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
4790 letter isn't an alphabetic character.
4791 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
4792 (process_file) [DOS_NT]: Convert all slashes to forward style.
4793 (absolute_filename) [DOS_NT]: Emit error message for relative
4794 paths with a drive letter.
4795 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
4796 DOS/NT drive letters which try to reference the parent of the root.
4797 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
4798
47991996-03-27 Geoff Voelker <voelker@cs.washington.edu>
4800
4801 * makefile.nt: Change uses of del to $(DEL).
4802
880820fe 48031996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4804
4805 * etags.c (just_read_file): Reset lineno and charno on entry.
4806
48071996-03-15 Anders Lindgren <andersl@csd.uu.se>
4808
4809 * etags.c: Prolog language totaly rewritten.
ecc54057 4810 (Prolog_functions): Rewritten from scratch.
362bc2da 4811 (skip_comment, prolog_getit): Removed.
ecc54057
JB
4812 (prolog_skip_comment): New function, like old skip_comment.
4813 (prolog_pred, prolog_atom, prolog_white): New functions.
4814 (erlang_func, erlang_attributes): Forward declarations added.
4815 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 4816
880820fe 48171996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4818
4819 * etags.c (absolutefn): DOS_NT version corrected.
4820 (main): Append "/" to the dir name only if not already there.
4821 (print_help): Explain the absolute/relative file name issue.
1c478461 4822
362bc2da
DL
48231996-03-08 Anders Lindgren <andersl@csd.uu.se>
4824
10d1d0af
JB
4825 * etags.c: New Language Erlang added.
4826 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
4827 (erlang_white): New functions.
362bc2da
DL
4828 (Erlang_suffixes): New suffix list.
4829 (lang_names): Erlang entry added.
4830 (prolog_getit): Accepts headers spanning several lines.
4831 Always name tags.
b166dcd8 4832 (Prolog_functions): Remove incorrect compensation for
362bc2da
DL
4833 newline characters.
4834 (readline_internal): Zero-terminate last line.
4835
48361996-03-20 Mike Long <mike.long@analog.com>
4837
4838 * b2m.c (main): Initialize progname variable before using it.
4839 Quote `username' in From_ header.
4840
48411996-03-18 Geoff Voelker <voelker@cs.washington.edu>
4842
4843 * ntlib.c (getpid): New function.
4844
48451996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4846
4847 * emacsclient.c (main, both definitions):
4848 Print a newline for normal termination.
4849
48501996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
4851
4852 * tcp.c (main): Convert port to network byte order.
4853
48541996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
4855
4856 * pop.c (pop_retrieve, getline): Avoid type clashes.
4857
48581996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
4859
4860 * etags.c (enum sym_type, anonymous enum): Delete final comma.
4861
48621996-01-15 Paul Eggert <eggert@twinsun.com>
4863
4864 * rcs2log (initialize_fullname): Add support for NIS+.
4865 (hostname): Fully qualify the default hostname with the domainname
4866 if the hostname lacks a `.'.
4867
362bc2da
DL
48681996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
4869
4870 * etags.c (consider_token): Fix typo in expression.
4871
48721996-01-04 Paul Eggert <eggert@twinsun.com>
4873
4874 * etags.c (substitute): Fix spelling in message.
4875
48761996-01-03 George V. Reilly <georger@microcrafts.com>
4877
4878 * makefile.nt (etags, ctags): Compile with regexp support.
4879 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
4880 subdirectory exists before compiling.
1c478461 4881
362bc2da
DL
48821996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
4883
4884 * emacsserver.c (main): Do chmod based on existing permission.
4885
48861995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4887
4888 * Makefile.in (install): Turn on read/execute permission.
4889
48901995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4891
4892 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
4893 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
4894
48951995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4896
b166dcd8 4897 * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
362bc2da 4898
880820fe 48991995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4900
4901 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
4902 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
4903 get_scheme, prolog_getit): Name the tag in ctags mode.
4904 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
4905 (Perl_interpreters): Accept "@PERL@" as an interpreter.
4906 (suggest_asking_for_help): New function.
4907 (main, get_language_from_name): Use suggest_asking_for_help.
4908 (main): Let get_language_from_name make language existence check.
4909 (streq, strneq): Check the arguments #if DEBUG.
4910
880820fe 49111995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4912
4913 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
b166dcd8
KC
4914 (gperf): Add keywords for Objective C and GNU macros.
4915 (sym_type): Add values to account for Objective C and GNU macros.
362bc2da
DL
4916 (begtk): The '@' character can start a token.
4917 (objdef, methodlen, objtag): New variables for Objective C.
b166dcd8 4918 (consider_token, C_entries): Add code for Objective C.
362bc2da
DL
4919 (plain_C_suffixes): Add .m and .lm for Objective C.
4920 (Yacc_suffixes): Add .ym for Objective yacc.
4921 (GROW_LINEBUFFER): New macro.
4922 (consider_token, C_entries, Pascal_functions): Use the new macro.
4923 (consider_token): Take one more argument. Caller changed.
4924 (consider_token): Use the hashing function to spot GNU macros.
4925 (C_entries): Consider // as a comment start even in plain C for
4926 the sake of Objective C parsing.
4927
880820fe 49281995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 4929
2f2c687b 4930 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 4931 compile with regexp support enabled.
362bc2da
DL
4932
49331995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4934
4935 * Version 19.30 released.
4936
49371995-11-22 Geoff Voelker <voelker@cs.washington.edu>
4938
4939 * makefile.nt (DOC, clean): Don't use switches to del not
4940 supported by Windows 95.
4941
49421995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4943
4944 * Makefile.in (regex.o): Depend on ../src/config.h.
4945
49461995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4947
4948 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
4949 (LOADLIBES): Use LIB_STANDARD.
4950
49511995-11-07 Kevin Gallo <kgallo@microsoft.com>
4952
4953 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
4954 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
4955 Windows 95 conditional.
4956
880820fe 49571995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4958
b166dcd8
KC
4959 * etags.c (get_lang_from_name, get_lang_from_interpreter)
4960 (get_lang_from_suffix): New functions.
362bc2da
DL
4961 (get_language): Function deleted.
4962 (lang_entry): Two members added to struct.
4963 (lang_names): Reflect the new layout of lang_entry.
4964 (print_language_names, main, find_entries): Use the new functions.
4965 (find_entries): Look at the first line for #! if no language.
4966 (C_entries): Invalidate the token when funcdef is reset.
4967 (Perl_functions): New function.
4968 (lang_suffixes): .pl and .pm are Perl suffixes.
4969
880820fe 49701995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4971
4972 * etags.c (lowcase): Use the standard tolower function.
4973 (substitute): Remove some wrong and some useless code related with
a64387ee 4974 escape '\' character in regexp replacement string.
b166dcd8 4975 (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
362bc2da
DL
4976 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
4977 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
4978 .prolog for prolog (.pl removed).
4979 (massage_name, etags_getcwd): Use lowcase instead of tolower.
b166dcd8 4980 (C_entries, find_entries): Add comments about memory leakage.
362bc2da
DL
4981 (add_node): Dead code removed.
4982
49831995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4984
4985 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
4986 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
4987
49881995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4989
4990 * test-distrib.c: Add #undef for open, close, read, write.
4991
49921995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4993
4994 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
4995 [! O_RDONLY]: Define it to zero.
4996 (main): Use O_RDONLY instead of explicit zero.
4997
880820fe 49981995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4999
5000 * etags.c (Pascal_functions): Close comment bug corrected.
5001 (add_node): Correctly compare node file names.
5002 (Pascal_functions): Correctly allocate and free memory for tline.
5003 (pfnote): Put the definition of fp in the innermost block.
5004 (NODE): `named' member removed.
5005 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 5006 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
5007 (pfnote): `named' argument removed, all callers changed.
5008 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
5009 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 5010 removed from pfnote call, some code cleanup.
362bc2da
DL
5011 (relative_filename): Free temporary space allocated by concat.
5012
50131995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5014
5015 * Makefile.in (getdate.c): New target.
5016 (getdate.o): Just compile getdate.c.
5017
50181995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
5019
5020 * fakemail.c (xrealloc): Change cast to match return type.
5021
50221995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5023
5024 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
5025
50261995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5027
5028 * movemail.c (main): Fix previous change.
5029 Add error check for empty OUTNAME.
5030
50311995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5032
5033 * movemail.c (main): Mention lock file name in error message.
5034
50351995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5036
5037 * profile.c (gettimeofday): New function, defined if necessary.
5038
50391995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5040
5041 * Makefile.in: Renamed from Makefile.in.in.
5042 (distclean): Delete Makefile.c, not Makefile.in.
5043
50441995-07-17 Michael Shields <shields@tembel.org>
5045
5046 * Makefile.in.in (tags): Synonym for `TAGS'.
5047
50481995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5049
5050 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
5051 configure has already set $(INSTALL) to the proper relative path.
5052
362bc2da
DL
50531995-07-08 Paul Eggert <eggert@twinsun.com>
5054
5055 * rcs2log (datearg): Separate date from time with comma, not space,
5056 to work around CVS 1.5 bug.
5057 (CVSROOT): Don't abort when unset if repository is absolute.
5058
50591995-07-07 Paul Eggert <eggert@twinsun.com>
5060
5061 * rcs-checkin, rcs2log, vcdiff:
5062 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
5063 that interpret `#! /' as a 4-byte magic number.
5064
50651995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
5066
5067 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
5068 mailbox with "po:mailbox", the mailbox is everything after the
5069 "po:" prefix.
5070
50711995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5072
5073 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 5074 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
5075
50761995-06-28 Paul Eggert <eggert@twinsun.com>
5077
5078 * rcs2log (CVSROOT, repository):
5079 Allow remote repositories a la CVS 1.4.
5080
880820fe 50811995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5082
2f2c687b
JB
5083 * etags.c (plain_C_entries): New function.
5084 (lowcase): New macro.
5085 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
5086 (lang_suffixes): New suffix ".pc" for Pro*C files.
5087 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
5088 (tail): Look for the end of the token when comparing.
5089 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
5090
50911995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5092
5093 * movemail.c (main): Add newline in usage message.
5094
50951995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5096
5097 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
5098
880820fe 50991995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5100
5101 * etags.c (find_entries): Rewind before rereading the input file.
5102
51031995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5104
5105 * Version 19.29 released.
5106
5107 * make-docfile.c (main) [MSDOS]: Do set _fmode.
5108 This undoes part of the previous change.
5109
51101995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5111
5112 * make-docfile.c (main): On MSDOS, don't change stdout
5113 to binary, and insist on an -o option.
5114
51151995-06-13 Geoff Voelker <voelker@cs.washington.edu>
5116
5117 * etags.c (process_file,absolute_filename): Handle filenames
5118 starting with a drive letter.
5119
5120 * makefile.nt (install): Copy wakeup.exe properly.
5121
51221995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
5123
5124 * make-docfile.c [MSDOS]: #undef chdir.
5125
51261995-06-04 Paul Eggert <eggert@twinsun.com>
5127
5128 * rcs2log (output_authors): Allow ':' in time zone,
5129 as per ISO 8601 and RCS 5.6.8 beta.
5130
880820fe 51311995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5132
5133 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
5134 compatibility problems.
5135
51361995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
5137
5138 * etags.c (etags_getcwd): Don't use #elif.
5139 Have just one function body.
5140
51411995-05-25 Geoff Voelker <voelker@cs.washington.edu>
5142
5143 * makefile.nt (LIBS): Use BASE_LIBS.
5144 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
5145 upon LIBS.
5146 (DOC): Use del instead of rm.
5147 (DOC) [WINDOWS95]: Use DOC.
5148 (clean): Handle MSVC aux files.
5149 (config.h,paths.h): Use $(CP) instead of cp.
5150 (config.h): Use $(CONFIG_H)
5151 (make-docfile.obj): Depend upon config.h.
5152 Clean up comments.
5153
880820fe 51541995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5155
5156 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
5157 former gives the true path even in the presence of simlinks.
5158
51591995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5160
5161 * movemail.c (main): Increase lock timeout to five minutes.
5162
51631995-05-06 Geoff Voelker <voelker@cs.washington.edu>
5164
5165 * makefile.nt (obj): Use .c files.
5166
51671995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5168
5169 * make-docfile.c: Include config.h.
5170 (NO_SHORTNAMES): New definition.
5171 (xmalloc): Return long *.
5172
5173 * etags.c (C_entries): Cast result of xrealloc.
5174 (xmalloc, xrealloc): Declare them to return long *.
5175
5176 * b2m.c (xmalloc, xrealloc): Declare them long *.
5177
5178 * movemail.c (xmalloc): Declare it to return long *.
5179
51801995-04-30 Paul Eggert <eggert@twinsun.com>
5181
5182 * rcs2log (datearg): If rlog options are specified explicitly,
5183 omit the implicit '-d>DATE' option.
5184 (repository, rlog): Allow absolute paths to CVS repositories.
5185 Look only at the first line of CVS/Repository.
5186
51871995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
5188
5189 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
5190 realclean.
5191
51921995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5193
5194 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
5195 Alternative (empty) definitions.
5196
51971995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5198
5199 * emacsclient.c (main): Add argv[0] to an error message.
5200
52011995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
5202
5203 * emacsclient.c (main): Improve error handling.
5204 * cvtmail.c (main, skip_to_lf): Improve error handling.
5205 (sysfail): New function.
5206
5207 * b2m.c (main): Check for trailing ", " before trying to delete it.
5208
52091995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5210
5211 * Makefile.in.in (all): Build test-distrib and make-docfile.
5212
5213 * make-docfile.c (scan_c_file): At end, restore file name last char
5214 to its original value.
5215
52161995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5217
5218 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
5219
52201995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5221
b166dcd8 5222 * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
362bc2da
DL
5223 (alloca.o, regex.o): Use BASE_CFLAGS.
5224
52251995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5226
5227 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
5228
52291995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
5230
5231 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
b166dcd8 5232 (SOURCES, distclean): Remove obsolete references to aixcc.
362bc2da
DL
5233
52341995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5235
5236 * aixcc.lex: File deleted--surely obsolete now.
5237
52381995-03-23 Paul Eggert <eggert@twinsun.com>
5239
5240 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
5241 portability to mawk and nawk.
5242
52431995-03-21 Paul Eggert <eggert@twinsun.com>
5244
5245 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
5246 -u "login<tab>fullname<tab>mailaddr".
5247
52481995-03-21 Paul Eggert <eggert@twinsun.com>
5249
5250 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
5251 replaces the (now obsolescent) -n login fullname mailaddr option.
5252 Add -R option for recursive rlog.
07655e62 5253 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
5254 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
5255 Quote authors and fullnames correctly.
5256 Don't omit path from repository root when logging CVS files.
5257
52581995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5259
5260 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
5261 even if HAVE_SYSVIPC.
5262 * emacsclient.c (main): Use getcwd if not BSD.
5263
880820fe 52641995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5265
2f2c687b 5266 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
5267 (readline_internal): Do not access the char before start of line.
5268
880820fe 52691995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5270
5271 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
5272 savetok.valid. Mark token as valid when it is initialised.
5273 (make_tag): Make token only if token is valid and reset validity.
5274 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
b166dcd8 5275 (TOKEN): Add a new member: valid.
362bc2da 5276
880820fe 52771995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5278
5279 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
5280 (main): Do not read twice the last filename in the stdin file list.
5281
880820fe 52821995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5283
5284 * etags.c (C_entries): Initialise the new members of TOKEN.
5285 (C_entries): Do not allocate a new space for each token found by
5286 consider_token. Let make_tag do that instead.
5287 (make_tag): Since now TOKEN has memory of where it is taken from,
5288 this new macro substitutes both make_tag_from_new_lb and
5289 make_tag_from_oth_lb. All callers changed.
5290 (TOKEN): Add linepos and buffer members.
5291 (main): Initialise token_str.
5292 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
5293 (token_str): New global variable used by C_entries.
5294
52951995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
5296
b166dcd8 5297 * Makefile.in.in (maintainer-clean): Rename from realclean.
362bc2da 5298
880820fe 52991995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5300
5301 * etags.c (pfnote): Initialise been_warned in the node.
b166dcd8 5302 (C_entries): Remove a speed hack for the sake of clarity.
362bc2da 5303
880820fe 53041995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5305
5306 * etags.c (longopts, print_help, main): Use -I as abbreviation
5307 for the --ignore-indentation option.
5308 (main): Do not print an error message for unknown options.
5309
880820fe 53101995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5311
5312 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
194d44e7
JB
5313 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
5314 (constantypedefs, update, vgrind_style, no_warnings)
5315 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
362bc2da
DL
5316 (permit_duplicates): Was a var, now a #define.
5317 (filename_lb): Was global, now local to main.
5318 (main): Open the tag file when in cxref mode.
5319 Use a BUFSIZ size buffer for making the shell commands.
5320 Look at the return value from the system routine.
5321 Exit when cannot open the tag file.
5322 (process_file): Open the file and pass the FILE* to find_entries.
5323 (find_entries): Now void, because does not open the file itself.
5324 (pfnote): Recovering from lack of memory does not work. Removed.
5325 Use savenstr and simplify the code.
5326 (free_tree): Only free the name space if node is named.
5327 (structtag): Now a pointer, not a fixed length array of chars.
5328 (consider_token): Don't take a token as argument. Use savenstr
5329 when saving a tag in structtag. Callers changed.
5330 (TOKEN): Structure changed. Now used only in C_entries.
5331 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
5332 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
5333 (pfcnt): Deleted. Users updated.
194d44e7
JB
5334 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
5335 (TEX_getit, prolog_getit): Use dinamic allocation for storing
362bc2da
DL
5336 the tag instead of a fixed size buffer.
5337
53381995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5339
5340 * movemail.c (main): Skip past the colon in inname.
5341
880820fe 53421995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5343
5344 * etags.c (pfatal): New function.
5345 (main, etags_getcwd): Use pfatal.
5346 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
5347
880820fe 53481995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5349
5350 * etags.c (Lang_function): Use void instead to declare the
5351 language functions, because many compilers are buggy.
5352 (etags_getcwd): Fix the previous fix on the #else branch.
5353 (readline_internal): Discard possible \r before \n here.
5354 (C_entries): Do not deal with \r here: undo previous fix.
5355
880820fe 53561995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
5357
5358 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
5359 functions and a macro that allow the program to work on input
5360 lines of whatever length. Copied from etags.c.
5361 (fatal): Print a fatal error message and exit.
5362 (main): Use the new functions. Fixed a bug that made a \037 char
5363 appear at the end of the output.
5364
53651995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5366
5367 * etags.c (C_entries): Ignore carriage return at end of line.
5368
53691994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5370
5371 * fakemail.c (xmalloc, xrealloc): Add casts.
5372 (add_field): Handle <...> and "..." syntax.
5373 (setup_files, get_keyword): Clean up parens and line breaks.
5374 (args_size): Likewise.
5375
53761994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
5377
5378 * yow.c: Include program name in error messages.
5379
53801994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5381
5382 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
5383 (xmalloc, fatal, error): New functions.
5384 (progname): New variable.
5385 (main): Set progname.
5386
53871994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5388
5389 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
5390 (main): If socket/mqueue name is in home dir, add in the host name.
5391 Rename .emacs_server to .emacs-server....
5392
53931994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5394
5395 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
5396
880820fe 53971994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5398
2f2c687b
JB
5399 * etags.c (print_help): Print --regex usage for ctags also.
5400 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 5401
880820fe 54021994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5403
5404 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
5405 is compiled if this is defined. The new functions and variables
5406 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
5407 [VMS]: All VMS specific code previously contained in
5408 etags-vmslib.c is now included here, modified for dealing with
5409 language and regex options intermixed with filenames.
5410 (header_file): Global variable deleted.
5411 (Lang_Function): New typedef. All language parser functions
5412 changed to this new type.
5413 (string_numeric_p, substr, prestr): Functions deleted.
5414 (readline_internal): Does the job that readline did previously.
5415 (longopts): --language and --regex options added.
5416 (lang_names, lang_extensions, lang_func, print_language_names):
5417 New structures, variables and functions for choosing languages.
5418 (print_help): Help strings updated. Calls print_language_names.
5419 (argument_type, ARGUMENT): Typedefs for dealing with language and
5420 regex options intermixed with filenames.
b166dcd8 5421 (main): Change the way of dealing with arguments on the command
362bc2da
DL
5422 line to deal with language and regex options intermixed with
5423 filenames.
5424 (get_language, default_C_entries, Cplusplus_entries,
5425 Cstar_entries, Yacc_entries, just_read_file): New functions.
5426 (find_entries): Use the new method for choosing the language.
5427 (Pascal_functions): Allow intermixing of comment styles.
5428 (prolog_getit, skip_comment): Rewritten for speed.
5429 (readline): Rewritten to deal with regexps.
5430
880820fe 54311994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5432
5433 * etags.c (<errno.h>): #include added.
5434 (etags_getcwd): Check return value from getcwd.
5435
54361994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5437
5438 * profile.c (TV1, TV2): Use EMACS_TIME as type.
5439 (get_time): Use EMACS_SUB_TIME.
5440
d57727c9 54411994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
5442
5443 * ntlib.c: New file.
5444 * makefile.nt: New file.
5445
5446 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
5447 [WINDOWSNT]: Include the NT headers.
5448 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
5449
5450 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
5451 [WINDOWSNT]: Include some NT headers.
5452
54531994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
5454
5455 * pop.c (getline): When a search of already-read input for CRLF
5456 fails, store the fact that we've searched it and don't search it
5457 again after reading more data.
5458
5459 * pop.c (getline): When determining whether or not it's necessary
5460 to grow the input buffer, take into account the null that's stored
5461 at the end of already-read input in the buffer.
5462
880820fe 54631994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5464
2f2c687b 5465 * etags.c (prestr, substr): Return a logical type.
362bc2da 5466 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 5467 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
5468 (C_entries): Now we can use Tom Hageman patch for extern "C".
5469
54701994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5471
5472 * movemail.c: PopServer renamed to popserver throughout.
5473
54741994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5475
5476 * etags.c: Don't declare malloc, since we include config.h.
5477 * fakemail.c: Likewise.
5478
54791994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5480
5481 * movemail.c: Don't declare malloc.
5482
54831994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5484
5485 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 5486 avoid syntax error.
362bc2da
DL
5487
54881994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
5489
5490 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
5491 defined, and if HAVE_CONFIG_H isn't defined, define
5492 MAIL_USE_POP always (so that this file can be included in
5493 other programs besides emacs).
5494
5495 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
5496 HAVE_CONFIG_H isn't defined.
5497
5498 * pop.c (find_crlf, getline): Instead of using strstr, use a
5499 custom function for finding CRLF.
5500 (my_strstr): Function deleted.
5501
55021994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
5503
5504 * pop.c (getline): Fix a segfault because of passing a
5505 non-null-terminated string into strstr(). Fix from
5506 djm@va.pubnix.com (David J. MacKenzie).
5507
5508 * pop.c: Don't include <string.h> and <strings.h>.
5509
b166dcd8
KC
5510 * pop.c: Include <des.h> before <krb.h>, rather than after.
5511 They should be interchangeable, and indeed the inclusion is done in
362bc2da
DL
5512 both orders in various files in the Kerberos 4 library sources,
5513 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
5514 requires that <des.h> be included first, and I don't see any harm
5515 in changing the order.
5516
5517 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
5518 STDC_HEADERS, if they're defined. Undef open, read, write and
5519 close after including it.
5520
55211994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5522
5523 * pop.c: Fix mismatch in conditionals.
5524
5525 * make-docfile.c (main): Don't process one input file twice.
5526 Never use exit code > 1.
5527
5528 * pop.c (open, close, read, write): Add #undefs.
5529
5530 * pop.c: Don't declare malloc, realloc, free.
5531 Include ../src/config.h.
5532 Don't include string.h or strings.h.
5533 Include des.h before krb.h.
5534 Do declare my_strstr.
5535 (getline): Really use my_strstr.
5536 Leave one empty place in server->buffer,
5537 and put a null at the end of the data in it.
5538
55391994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5540
b166dcd8
KC
5541 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
5542 Don't call kill with pid 0. Handle EINTR when receiving messages.
362bc2da
DL
5543
55441994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
5545
5546 * Makefile.in.in (regex.o): Use full path to find regex.c.
5547
880820fe 55481994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5549
2f2c687b
JB
5550 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
5551 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
5552
55531994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
5554
5555 * Makefile.in.in (DONT_INSTALL): Remove make-path.
5556 (${archlibdir}): Use mkinstalldirs instead.
5557
5558 * movemail.c: Make functions that return nothing void, not
5559 implicitly int.
5560 (main): Improve usage message.
5561 (error): Write to stderr, not stdout.
5562
e43b1141
GM
5563 * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
5564 * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
5565 * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
5566 warnings from unused variables and implicitly declared functions.
362bc2da
DL
5567
55681994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5569
5570 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
5571 (distclean): Not here.
5572
b166dcd8 5573 * Makefile.in.in (libexecdir): Rename from libdir.
362bc2da 5574
880820fe 55751994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5576
5577 * etags.c (C_entries): Name the #define's that are macros.
5578
55791994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5580
5581 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
5582 fd_set arg is a pointer, descriptor arg comes first.
5583
880820fe 55841994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5585
5586 * etags.c (C_entries): Recognise typedef of ANSI style functions.
5587 (C_entries): Recognise #define inside a struct.
5588 (C_entries): ANSI tells that preprocessor commands do not have to
5589 start on the first column.
5590 (print_help): Documentation corrected for -d and -D.
5591 (white, endtk): ANSI tells the vertical tab is a separator.
5592
55931994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
5594
5595 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
5596 (pop.o, movemail.o): New targets.
5597 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
5598
5599 * pop.c, pop.h: New files.
5600
5601 * movemail.c: Improve POP code, move most of it into a separate file.
5602 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
5603 (mbx_write): Check for errors and for From line.
5604 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
5605 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
5606 (pop_init): Functions deleted.
5607
56081994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
5609
5610 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
5611 Rename path to dirname.
5612
56131994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5614
5615 * Makefile.in.in (UTILITIES):
5616 Remove test-distrib, make-docfile, make-path.
5617 (DONT_INSTALL): New variable--list those files here.
5618 (clean): Delete the files in DONT_INSTALL.
5619
56201994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5621
5622 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
5623 (main): Use fgets, not gets.
5624
56251994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5626
5627 * timer.c: Don't declare malloc.
5628
56291994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5630
5631 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
5632 defined, use simple 32-bit versions of these macros.
5633 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
5634
c60ee5e7 56351994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
5636
5637 * etags.c (etags_getcwd): Use getcwd if available.
5638
56391994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5640
5641 * Version 19.27 released.
5642
56431994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5644
5645 * Version 19.26 released.
5646
56471994-08-15 Paul Eggert <eggert@twinsun.com>
5648
5649 * rcs2log: Add support for CVS.
5650 Work with `rlog's that output ISO 8601 dates.
5651
56521994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
5653
5654 * rcs2log: Use <> to delimit email address.
5655
56561994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5657
5658 * emacsserver.c [SYSV_IPC] (main): Make a separate process
5659 so we can listen for multiple requests.
5660
56611994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5662
5663 * movemail.c: Include config.h first thing.
5664
56651994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5666
5667 * emacsserver.c (main): Add casts to avoid warnings.
5668
56691994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5670
5671 * Makefile.in.in (${archlibdir}): Compare the proper dir
5672 before installing the scripts.
5673
56741994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5675
5676 * emacsclient.c (main): New local var progname saves argv[0].
5677
56781994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5679
5680 * emacsclient.c (main): Don't actually modify argv[0].
5681 Modify a copy instead.
5682
56831994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5684
5685 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
5686 (tzp): Var deleted.
5687
5688 * Makefile.in.in: Add #undef alloca.
5689
56901994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5691
5692 * timer.c (xmalloc): New function.
5693
56941994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5695
5696 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
5697 (alloca.o): New target.
5698
56991994-07-08 Dave Love (d.love@dl.ac.uk)
5700
2f2c687b 5701 * etags.c (takeprec): Recognise `character*(*) function'.
362bc2da 5702
880820fe 57031994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5704
ecc54057
JB
5705 * etags.c (main): Don't barf on obsolete -t and -T switches.
5706 (main): Print an explicative message when a switch is not known.
362bc2da
DL
5707
57081994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5709
5710 * hexl.c: Don't declare exit or perror.
5711
5712 * emacsserver.c (main): Don't declare geteuid.
5713 Don't declare getenv if convex.
5714
57151994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5716
5717 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
5718
880820fe 57191994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5720
5721 * etags.c (absolute_filename): Remove infinite loop bug when
5722 accessing files in directories whose name begins with a dot.
5723
880820fe 57241994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5725
5726 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
5727
57281994-06-01 Morten Welinder (terra@diku.dk)
5729
5730 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
5731 location of data directory.
5732
57331994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5734
5735 * Version 19.25 released.
5736
57371994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5738
5739 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
5740
57411994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5742
5743 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
5744
57451994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5746
5747 * Version 19.24 released.
5748
57491994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5750
5751 * make-docfile.c (write_c_args): Put `default' in upper case.
5752
57531994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5754
5755 * etags.c (etags_getcwd): Cast result of popen.
5756 (popen): Declaration deleted.
5757
57581994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
5759
5760 * etags.c [!MSDOS]: Declare popen.
5761
57621994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5763
5764 * b2m.c (main): Avoid crash if argc is 1.
5765
57661994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5767
5768 * Version 19.23 released.
5769
5770 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
5771
57721994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5773
5774 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
5775
57761994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5777
5778 * Makefile.in.in: Fix out of date comment.
5779
57801994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5781
5782 * Makefile.in.in: Put in a separator for where to start cpp procssing.
5783 Move all autoconf substitutions above that point.
5784 Above that point, use Make-style comments.
5785 This goes with changes in ../configure.in.
5786
57871994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5788
5789 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
5790 warning message.
5791 (${archlibdir}): Don't do it here. Don't depend on blessmail.
5792
57931994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
5794
5795 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
5796
57971994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5798
5799 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
5800 print advice to run it, if it has anything significant to do.
5801 And only if MOVEMAIL_NEEDS_BLESSING.
5802 (blessmail): Use emacs, not temacs.
b166dcd8 5803 (configuration): Rename from configname.
362bc2da
DL
5804
58051994-04-30 Morten Welinder (terra@diku.dk)
5806
5807 * etags.c (find_entries): Treat `*.cpp' as C++ files.
5808
58091994-04-30 Morten Welinder (terra@diku.dk)
5810
5811 * etags.c [MSDOS]: #include <sys/param.h> for the following.
5812 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
5813 a shell.
5814
58151994-04-29 Morten Welinder (terra@diku.dk)
5816
5817 * hexl.c [MSDOS]: Don't define proto type for exit.
5818
58191994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5820
5821 * b2m.c: Don't include string.h or strings.h.
5822
58231994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
5824
5825 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
5826 symbols, not make variables.
5827
58281994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5829
5830 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
5831 * etags.c (print_version): Print VERSION as a string.
5832
58331994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5834
5835 * fakemail.c (readline): Fix updating of p when buffer grows.
5836
58371994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
5838
5839 * Makefile.in.in (blessmail): New target.
5840 ${archlibdir}: Use blessmail when installing movemail.
5841
58421994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5843
5844 * fakemail.c (readline): When extending the buffer,
5845 calculate end afresh using the new size.
5846
880820fe 58471994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5848
2f2c687b 5849 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 5850
880820fe 58511994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5852
2f2c687b 5853 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
5854
58551994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5856
5857 * Makefile.in.in: Renamed from Makefile.in.
5858 Makefile.in is now generated from it, and then preprocessed.
5859 Change comments to C syntax.
5860 Include config.h.
5861 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
5862 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
5863
58641994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5865
5866 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
5867
880820fe 58681994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5869
5870 * etags.c (etags_getcwd): Initialize bufsize.
5871
58721994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5873
5874 * profile.c (gettimeofday): If system doesn't have this, define it
5875 to give a fatal error.
5876
58771994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
5878
5879 * movemail.c (main): Use setuid, not seteuid.
5880
58811994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5882
5883 * etags.c: #undef static.
5884
880820fe 58851994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5886
b166dcd8 5887 * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
2f2c687b 5888 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
b166dcd8 5889 (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
362bc2da
DL
5890 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
5891 TeX_functions, Prolog_functions.
2f2c687b
JB
5892 (inf): No more a global variable.
5893 (C_entries): Take 2nd parameter `inf' instead of using the global one.
b166dcd8
KC
5894 (find_entries): Add the cp1 var for optimisation.
5895 (find_entries): Add more suffixes for assembler files.
362bc2da
DL
5896 (Asm_funcs): Now finds labels even without an ending colon.
5897
880820fe 58981994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5899
2f2c687b
JB
5900 * etags.c (main): Use etags_getcwd for compatibility.
5901 (etags_getcwd): New function.
362bc2da
DL
5902
59031994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5904
5905 * Makefile.in (etags, ctags): Pass -D for VERSION.
5906
880820fe 59071994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5908
2f2c687b
JB
5909 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
5910 (main): Don't allow the use of -t and -T in etags mode.
5911 (print_help): Don't show options enabled by default.
5912 (print_version): Show the emacs version number if VERSION is #defined.
5913 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 5914
880820fe 59151994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5916
2f2c687b 5917 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
5918 (relative_filename, absolute_filename, absolute_dirname):
5919 functions added to compute filenames in tags files.
2f2c687b 5920 (process_file): Filenames in tags file are relative to the
362bc2da 5921 directory where the tags file is (useful with the -o option).
2f2c687b 5922 (main): Initialise the outfiledir var.
b166dcd8 5923 (TYPEDST): Add the `tignore' value.
2f2c687b 5924 (C_entries): Corrected various small bugs.
362bc2da
DL
5925
59261994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5927
5928 * Makefile.in (UTILITIES): `env' deleted.
5929 (env): Target deleted.
5930 * env.c: File deleted.
1c478461 5931
362bc2da
DL
59321994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5933
5934 * Makefile.in (install, ${archlibdir}): Switch back to ..
5935 before running INSTALL_PROGRAM.
5936
880820fe 59371994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5938
b166dcd8 5939 * etags.c (TYPEDST): Add the `tignore' value.
2f2c687b 5940 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
5941 `extern "C" {' construction (patch by Tom R.Hageman).
5942
59431994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5944
5945 * b2m.c: Use <...> to include config.h.
5946 Don't include stdlib.h.
5947
177c0ea7 59481994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
5949
5950 * b2m.c (main): Change delimiter from "^L" to "^_^L".
5951 Allow for text following "BABYL OPTIONS:".
5952 Add --help option. Use argv[0] in error messages.
5953
59541994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5955
5956 * emacsclient.c (main) [HAVE_SYSVIPC]:
5957 Make msgp->mtext longer if necessary.
5958 On HPUX, error if it's more than 512 chars.
5959
59601994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
5961
5962 * etags-vmslib.c: Use GPL.
5963 * emacstool.c: Use GPL.
5964 * fakemail.c: Update GPL.
5965
5966 * make-path.c (main): Return 1 on error, not -1.
5967 Update GPL.
5968
5969 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
5970 (xmalloc, xrealloc): Return char *, not int.
5971 (error): Write to stderr, not stdout.
5972 Update GPL.
5973
59741994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
5975
5976 * profile.c (main, get_time): Don't crash on invalid input.
5977
59781994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
5979
5980 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 5981 (main): Exit on EOF.
362bc2da 5982
880820fe 59831994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5984
a64387ee 5985 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
5986
59871994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5988
5989 * fakemail.c (put_line): Don't break the line if it all fits.
5990
880820fe 59911994-02-14 Francesco Potortì (pot@fly)
362bc2da 5992
b166dcd8 5993 * etags.c (absolute_pathnames, cwd): Add global vars.
2f2c687b 5994 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 5995 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 5996 (print_help): Alphabetically order the options.
2f2c687b 5997 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
5998
59991994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6000
6001 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
6002 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
6003
60041994-02-07 Christian Lynbech (lynbech@avignon)
6005
6006 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
6007
60081994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6009
6010 * Makefile.in (UTILITIES): Mention profile.
6011 (profile): New target.
6012
6013 * profile.c: New file.
6014
60151994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 6016
88c71720 6017 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 6018 Lisp docstrings do.
88c71720 6019 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
6020 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
6021 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
6022
880820fe 60231994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6024
6025 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 6026 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 6027 Use gperf generated hash table instead of linked list.
2f2c687b 6028 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 6029 Mostly code generated by gperf.
b166dcd8 6030 (consider_token): Remove unused parameter `lp'.
2f2c687b 6031 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 6032 to span multiple lines.
2f2c687b
JB
6033 (C_entries): Check for newline if inchar to avoid bus errors.
6034 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
6035 and not regular file.
6036
60371994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6038
6039 * timer.c: Include errno.h; don't include fasync.h.
6040 (schedule): Don't return a value.
6041 (sigcatch): Reestablish the handler first.
6042 (getevent): Always call notify at the end.
6043 (notify): Defer alarms around the whole body of function.
6044
60451994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6046
6047 * timer.c (main): Don't request SIGIO, and don't handle it.
6048 Loop calling getevent.
6049 (sigcatch): Delete code to handle SIGIO.
6050 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 6051 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
6052 Set defer_alarms around realloc and schedule.
6053 If alarm_deferred gets set, call notify.
6054 Likewise if this event is the only pending event.
6055 Make buf and buf_size global variables.
6056 Don't malloc buf if it is already non-zero.
6057 (schedule): Just exit if run out of memory.
6058 Return the number of events.
6059 (signal) [_CX_UX]: Add #undef.
6060
60611994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6062
6063 * timer.c [USG] (SIGIO): Define as SIGPOLL.
6064 (main) [USG]: Do ioctl to enable SIGPOLL.
6065
60661994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6067
6068 * timer.c: Don't declare sys_errlist; declare strerror instead.
6069 (schedule, main): Call strerror instead of using sys_errlist.
6070 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
6071 Call strerror instead of using sys_errlist.
6072 * env.c (main): Call strerror instead of using sys_errlist.
6073 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
6074 (main): Call strerror instead of using sys_errlist.
6075 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
6076 * env.c [! HAVE_STRERROR] (strerror): Likewise.
6077 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
6078 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
6079
60801994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6081
6082 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
6083
6084 * movemail.c (malloc): Don't declare it.
6085 (xmalloc): Cast result of malloc.
6086 (strcpy): Don't declare it.
6087
60881993-11-14 Morten Welinder (terra@diku.dk)
6089
6090 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
6091 (main): Use fclose to close file opened by fopen.
6092
6093 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
6094
6095 * movemail.c [MSDOS]: #undef `access'.
6096
6097 * b2m.c (main) [MSDOS]: Open all files as binary.
6098 * etags.c (main) [MSDOS]: Open all files as binary.
6099
6100 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
6101 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
6102 with.
6103
61041994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6105
6106 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
6107 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
6108 (LINK_CFLAGS): New variable.
6109 (timer): Use LINK_CFLAGS.
6110
61111993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6112
6113 * movemail.c: Include syswait.h.
6114 Fork a subprocess and use it to copy the mail file.
6115
61161993-12-07 Richard Stallman (rms@srarc2)
6117
6118 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
6119
61201993-12-04 Richard Stallman (rms@srarc2)
6121
6122 * movemail.c (main): When making tempname, cast result of xmalloc.
6123 Include room for EXXXXXX in the size.
6124 Don't use result of strcpy.
6125
61261993-12-03 Paul Eggert (eggert@twinsun.com)
6127
6128 * vcdiff: Add --brief option.
6129
61301993-12-02 Richard Stallman (rms@srarc2)
6131
6132 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
6133 for all executables and scripts.
6134
61351993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6136
6137 * Version 19.22 released.
6138
61391993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6140
6141 * Makefile.in (mostlyclean): Make it distinct from clean.
6142
61431993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6144
6145 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
6146
61471993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6148
6149 * Version 19.21 released.
6150
6151 * Makefile.in (install): Don't change mode or group when installing.
6152
6153 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
6154
61551993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6156
6157 * make-docfile.c (read_c_string): For "", concatenate the two strings.
6158
6159 * movemail.c (main): Fix error message text.
6160
61611993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6162
6163 * Version 19.20 released.
6164
177c0ea7 61651993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 6166
ecc54057 6167 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
6168 functions returning a pointer to a function, a la `signal', can be
6169 parsed. This also required new state `fstartlist' to `FUNCST'.
6170 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 6171 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 6172 from the other state engines.
2f2c687b 6173 (begtk): Add '~', for C++ class destructors.
362bc2da 6174
880820fe 61751993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6176
b166dcd8 6177 * etags.c (consider_token): Remove unused variable firsttok.
2f2c687b 6178 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
6179
61801993-10-19 Paul Eggert (eggert@twinsun.com)
6181
6182 * rcs2log (printlogline): Don't generate lines containing only
6183 white space.
6184
61851993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6186
6187 * Makefile.in (${archlibdir}):
6188 Install ${SCRIPTS} from ${srcdir}, not cwd.
6189
61901993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6191
6192 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
6193 the comment character.
6194
880820fe 61951993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6196
2f2c687b 6197 * etags.c (process_file): Dead code removed.
362bc2da 6198 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 6199 (process_file): Regular files have nothing to do with symlinks.
362bc2da 6200
f0131492 62011993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
6202
6203 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
6204 from current directory. Only chmod and chgrp files that we
6205 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
6206 ${bindir}.
b166dcd8 6207 (INSTALLFLAGS): Delete definition, since it is an unused variable
362bc2da
DL
6208 now.
6209
f0131492 62101993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 6211
b166dcd8
KC
6212 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
6213 Let configure figure out the correct values for these variables.
362bc2da 6214
f0131492 62151993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 6216
10d1d0af 6217 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
6218 used by emacs; don't install bindir binaries here.
6219
62201993-09-24 Paul Eggert (eggert@twinsun.com)
6221
6222 * rcs2log: Add -h, -n, -r options.
6223 By default, look for *,v files as well as RCS/*,v files.
6224 Use $TMPDIR (default /tmp) instead of /tmp.
6225
880820fe 62261993-09-20 Francesco Potortì (pot@fly)
362bc2da
DL
6227
6228 * etags.c (C_entries): is_func is initialised here instead of in
6229 consider_token for the sake of the yacc rules section.
6230 (C_entries): Now class, struct, enum, union and typedef produce
6231 named tags.
6232
62331993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
6234
6235 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
6236
62371993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6238
88c71720
KS
6239 * Makefile.in: Support configuring in a different directory when
6240 ${srcdir} has already been configured.
6241 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
6242 -I${srcdir}/../src.
362bc2da
DL
6243 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
6244 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
6245 is already in CPP_FLAGS.
6246 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
6247 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
6248
62491993-08-25 Paul Eggert (eggert@twinsun.com)
6250
6251 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
6252 otherwise, HP awk complains.
6253
6254 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
6255 are common hangouts for SCCS commands.
6256
62571993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6258
6259 * Version 19.19 released.
6260
62611993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6262
6263 * Makefile.in (make-path): Dep on config.h.
6264
62651993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6266
6267 * b2m.c (TRUE, FALSE): Don't define if already defined.
6268
62691993-08-09 Paul Eggert (eggert@twinsun.com)
6270
6271 * rcs2log (awkscript):
6272 Some sites put comma-separated junk after the fullname.
6273 Remove it, but leave "Bill Gates, Jr" alone.
6274 Remove the junk from fullnames like "0000-Admin(0000)".
6275
62761993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6277
6278 * Version 19.18 released.
6279
880820fe 62801993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 6281
2f2c687b
JB
6282 * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
6283 (L_funcs): The (foo::defmumble stuff now should work.
6284 (consider_token): Function returned random value--corrected.
6285 (C_entries): Corrected == versus = typo.
362bc2da
DL
6286
62871993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6288
6289 * etags.c (put_entries): For NODE->rewritten, put pattern before
6290 \177 and name after, not vice versa.
6291
62921993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6293
6294 * timer.c (main): Generate a SIGIO as soon as we've initialized.
6295
880820fe 62961993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6297
b166dcd8 6298 * etags.c (FINCST): Add the fignore status. Means we are
362bc2da
DL
6299 after the parameter list and before the open curly brace.
6300 Allows correct parsing of C++ constructors.
2f2c687b
JB
6301 (C_entries, consider_token): Make use of fignore.
6302 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 6303 ctags mode makes DEFVAR and others work better.
2f2c687b
JB
6304 (L_isquote): Function that recognises the "(quote" string.
6305 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
6306
63071993-07-29 Paul Eggert (eggert@twinsun.com)
6308
6309 * rcs-checkin: Don't check whether a file is readable until we have
6310 decided not to ignore it.
6311
63121993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6313
6314 * Makefile.in (etags): Depend on ../src/config.h.
6315
6316 * emacsserver.c: Include types.h before file.h.
6317
63181993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6319
6320 * Makefile.in (install): Use .n, not .new, for temporary filenames.
6321
63221993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6323
ecc54057 6324 * Version 19.17 released.
362bc2da
DL
6325
63261993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6327
6328 * etags.c (print_help): Break up the very long strings containing
6329 the help message into shorter strings, to placate chintzy C
6330 compilers which can't handle strings that long.
6331
6332 * wakeup.c: Use CPP tangle from autoconf manual to #include the
6333 correct combination of <time.h> and <sys/time.h>.
6334
880820fe 63351993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6336
b166dcd8 6337 * etags.c (alloca): Remove all references to it.
2f2c687b
JB
6338 (main): Now calls xnew instead of alloca for portability.
6339 (../src/config.h): Included only if HAVE_CONFIG_H.
6340 (const): Void definition removed--config.h takes care of it.
362bc2da 6341
880820fe 63421993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6343
2f2c687b 6344 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
6345 (consider_token): DEFUNs now treated like funcs in ctags mode.
6346
2f2c687b
JB
6347 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
6348 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
b166dcd8 6349 (C_entries): Remove a piece of useless code.
2f2c687b 6350 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
6351 is met. This handles "typedef int X, Y, Z;" correctly.
6352
63531993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6354
6355 * Version 19.16 released.
6356
6357 * b2m.c: #include <sys/types.h>.
6358 (ltoday): Declare this to be time_t.
6359
63601993-06-30 Paul Eggert (eggert@twinsun.com)
6361
6362 * vcdiff: Add -q option.
6363
63641993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6365
6366 * etags.c: #include "config.h" and the alloca CPP tangle before
6367 #including the system headers and getopt.h. AIX requires the
6368 #pragma to come before any actual C code.
6369
63701993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6371
6372 * Makefile.in (ctags): Depend on etags, so that parallel makes
6373 don't write etags.o files on top of each other.
6374
63751993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6376
6377 * version 19.15 released.
6378
63791993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6380
6381 * etags.c (add_node): Move var last_node to file scope.
6382
63831993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6384
6385 * Version 19.14 released.
6386
63871993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6388
ecc54057 6389 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
6390 * Makefile.in (distclean): Call clean to do most of the work.
6391 Delete aixcc.c and TAGS.
6392 (realclean): Just call distclean.
1c478461 6393
362bc2da
DL
6394 * Makefile.in: Remember, spaces are not tabs.
6395
63961993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6397
6398 * Makefile.in (CPP_CFLAGS): New variable.
6399 Use it instead of ALL_CFLAGS when compiling a .c file.
6400 (getopt.o, getopt1.o): Add explicit compilation commands.
6401
64021993-06-10 Mark D. Baushke (mdb@cisco.com)
6403
6404 * etags.c: Reinstate old -f option as an alias for -o for
6405 installed base uses.
6406
64071993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6408
6409 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
6410 to bind or accept, cast the pointer, to avoid warnings on systems
6411 which declare prototypes for this.
6412 * emacsclient.c (main): Same.
6413
6414 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
6415
64161993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6417
6418 * Version 19.13 released.
6419
6420 * wakeup.c: Include sys/types.h, too; I think that's where time_t
6421 comes from, not sys/time.h.
6422
64231993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6424
6425 * wakeup.c: Include sys/time.h.
6426
6427 * etags.c: #undef static.
6428
6429 * Version 19.12 released.
6430
6431 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
6432
64331993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6434
6435 * Version 19.11 released.
6436
6437 * timer.c [LINUX]: #undef signal.
6438 * emacsserver.c: #undef signal.
6439
64401993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6441
6442 * wakeup.c (main): Make when a time_t.
6443
64441993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6445
ecc54057 6446 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 6447 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
6448 might fail, and have pwd print out the current directory.
6449
6450 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
6451 string-handling functions.
6452
64531993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6454
6455 * Version 19.10 released.
6456
64571993-05-29 Paul Eggert (eggert@twinsun.com)
6458
6459 * rcs2log: When given no file arguments, inspect RCS/.* as well
6460 as RCS/*. Don't report an error if RCS is empty or nonexistent.
6461
64621993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6463
6464 * Makefile.in (timer): Link with $(LOADLIBES).
6465
64661993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6467
6468 * fakemail.c (put_line): Don't output \n\t unless more text follows.
6469
64701993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6471
6472 * etags.c: Replace the CPP tangle for alloca with the one from the
6473 autoconf documentation, since that's working elsewhere.
6474
64751993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6476
6477 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
6478 description files can find their ancestors.
6479
64801993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6481
6482 * Makefile.in (install): Get the scripts from ${srcdir},
6483 unlike the executables.
6088b51f 6484 (ALL_CFLAGS): Add -I../src.
362bc2da
DL
6485
64861993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6487
6488 * Version 19.9 released.
6489
64901993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6491
6492 * Makefile.in (install): Do install the programs listed in
6493 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
6494 INSTALLABLE_SCRIPTS, instead of writing the programs out.
6495
6496 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
6497 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
6498
64991993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6500
6501 * etags.c: Include ../src/config.h.
6502
6503 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
6504 in first loop. Delete files from bindir before installing new ones.
6505 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
6506
65071993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6508
6509 * Version 19.8 released.
6510
6511 * make-docfile.c: Doc fix.
6512
65131993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6514
6515 * tcp.c: Fix comment syntax at top of file.
6516 (main): Don't call htons with the port number.
6517
65181993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6519
6520 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 6521 appropriate.
362bc2da
DL
6522
6523 * Makefile.in (install): Refer to the variables INSTALLABLES and
6524 INSTALLABLE_SCRIPTS, instead of writing them out.
6525
65261993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6527
6528 * make-path.c (main): Return 0.
6529
65301993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6531
ecc54057 6532 * Version 19.7 released.
362bc2da
DL
6533
65341993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6535
6536 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
6537
65381993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6539
6540 * tcp.c: New file.
6541
65421993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6543
6544 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
6545
65461993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6547
6548 * timer.c (notify): Don't call sighold or sigrelse; they're USG
6549 only. We should really fix this later, but let's just make it
6550 compile for now.
6551
6552 Install patches from David J. Mackenzie to make the srcdir option
6553 work.
6554 * Makefile.in (srcdir, VPATH): Get this value from the top-level
6555 Makefile.
6556 (INSTALLABLES): Split this into two lists - INSTALLABLES and
6557 INSTALLABLE_SCRIPTS.
6558 (INSTALLABLE_SCRIPTS): New list.
6559 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
6560 (${archlibdir}): The scripts to be installed live in the source
6561 tree, not in the object tree.
6562 (test-distrib): Note that the data file lives in the source tree,
6563 not the object tree.
6564 (GETOPTDEPS): Note that getopt.h lives in the source tree.
6565 (all other targets): Change references to source files to use
6566 ${srcdir}, except for config.h, which lives in the object dir.
6567 (timer.o): Note that this depends on ../src/config.h.
6568 * make-docfile.c (main): Add a -d option, to tell it where to find
6569 the source files.
6570 * test-distrib.c (main): Take the name of the distribution file to
6571 test from the command line.
6572
10d1d0af 6573 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
6574
65751993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6576
6577 * etags.c (main):
6578 Don't require that there be input files if -i switches were given.
6579
65801993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6581
6582 The GNU coding standards specify that CFLAGS should be left for
6583 users to set.
6584 * Makefile.in (CFLAGS): Put this in the "things configure might
6585 edit" section, and have it default to -g.
6586 (ALL_CFLAGS): New variable, set to all the flags which should be
6587 passed to compilations. Replace all other uses of CFLAGS with
6588 ALL_CFLAGS.
6589 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
6590
6591 * Makefile.in (DEFS): Remove this; it's always just going to be
6592 "-DHAVE_CONFIG_H -Demacs".
6593
65941993-05-03 Paul Eggert (eggert@twinsun.com)
6595
6596 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
6597 /[/]/, so change it to /[\/]/. This should work on all
6598 Posix-compliant awks. It's slightly wrong with traditional awk,
6599 since it matches \ too, but that's a minor problem compared to awk
6600 syntax errors.
6601
66021993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6603
6604 * Makefile.in (ALLOCA): New variable, whose value we should
6605 inherit from the top-level makefile.
6606 (etags, ctags): Include ALLOCA in the list of object files that
6607 these executables depend on and link.
6608
66091993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6610
b166dcd8 6611 * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
362bc2da
DL
6612
66131993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
6614
6615 * make-docfile.c (write_c_args): Print an argument named "defalt"
6616 as "default".
6617
66181993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6619
6620 * Makefile.in (C_SWITCH_SYSTEM): New variable.
6621 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
6622 compiler.
6623
880820fe 66241993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6625
2f2c687b
JB
6626 * etags.c (YACC): Flag added to c_ext.
6627 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
6628 (find_entries): Consistently use streq when reasonable.
6629 (find_entries): A .y file is a yacc file.
362bc2da 6630 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
6631 (C_entries): Logical cplpl means c_ext&C_PLPL.
6632 (C_entries): Logical yacc_rules means we are after the first %%.
b166dcd8 6633 (C_entries): Add logic for yacc files.
362bc2da 6634
880820fe 66351993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6636
6637 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 6638 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
6639 (consider_token): structtag set to null string for enum.
6640
880820fe 66411993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6642
2f2c687b
JB
6643 * etags.c (GET_COOKIE): And related macros removed.
6644 (logical): Is now int, no more a char.
6645 (reg): Define deleted.
6646 (isgood, _gd, notgd): Deleted.
6647 (gotone): Deleted.
6648 (TOKEN): Member linestart removed.
6649 (linepos, prev_linepos, lb1): Deleted.
6650 (main): Call initbuffer on lbs array instead of lb1.
b166dcd8 6651 (init): Remove the initialisation of the logical _gd array.
2f2c687b 6652 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
6653 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
6654 All C state machines rewritten.
2f2c687b
JB
6655 (C_entries): Complete rewrite.
6656 (condider_token): Complete rewrite.
6657 (getline): Deleted.
362bc2da 6658
880820fe 66591993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da 6660
b166dcd8 6661 * etags.c (C_entries): Add the quotednl logical variable.
362bc2da
DL
6662 Used for parsing of #define's spanning multiple lines.
6663
880820fe 66641993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6665
6666 * etags.c (C_entries): Save the definedef status even when a
6667 newline is met inside a string.
6668
66691993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
6670
b166dcd8 6671 * Makefile.in (EXECUTABLES): Add rcs-checkin.
362bc2da
DL
6672
6673 * Makefile.in (unlock, relock): New productions.
6674
66751993-03-16 Paul Eggert (eggert@twinsun.com)
6676
6677 * rcs2log: Some awks don't understand "\r". Code around this.
6678 Unfortunately this requires putting a carriage return in the
6679 source code. Don't assume that rlog will tolerate times like
6680 `10:10:60'; RCS 5.7 won't allow this.
6681
66821993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6683
6684 * timer.c (main): Set the ownership of the stdin file descriptor
6685 to the current process. Print error messages if either of the
6686 fcntl's fails.
6687
6688 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
6689 ../src/config.h), not void.
6690
66911993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6692
6693 * b2m.c (main): Don't exit upon reading a blank line.
6694
880820fe 66951993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6696
6697 * etags.c (C_entries): New local variable quotednl. Used for
6698 parsing of #define's spanning multiple lines.
6699
6700 * etags.c (C_entries): Save the definedef status
6701 even when a newline is met inside a string.
6702
67031993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6704
6705 * timer.c (notify): Initialize waitfor properly.
6706
880820fe 67071993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
6708
6709 * etags.c (C_entries): Don't reset definedef when a newline inside a
6710 comment is met.
6711
67121993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6713
6714 * etags.c (find_entries): If filename ends in .f or .for,
6715 don't try anything but Fortran.
6716
67171993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
6718
6719 * timer.c (notify): Flush stdout after writing message to avoid lossage
6720 on terminals.
6721
6722 (notify): Also, write a newline after the token.
6723
67241992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6725
6726 * Makefile.in (exec_prefix): New variable.
6727 (bindir, libdir): Use it instead of `prefix'.
6728
6729 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
6730
6731 * Makefile.in (libdir): Default to ${prefix}/lib.
b166dcd8 6732 (archlibdir): Adjust to match.
362bc2da
DL
6733
6734 * Makefile.in (distclean): Don't delete backup or autosave files.
6735 (extraclean): Like realclean, but does delete backup and autosave
6736 files.
6737
6738 * Makefile.in (realclean): Ignore errors from rm.
6739
6740 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
6741 that doesn't exist anymore.
6742
67431992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6744
6745 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
6746 described in the top-level Makefile.
6747 (UTILITIES): Add make-path to the list of utility programs.
6748 (../arch-lib): Replaced by the ${archlibdir} target, which places
6749 the executables in their permanent home.
6750 (install, install.sysv, install.xenix): Consolidated into one
6751 target which should work under all circumstances, modulo a few
6752 ignored error messages.
6753
6754 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
6755 a different number of arguments than other DEFVARs, recognize it
6756 specially, and expect the right number of commas.
6757
67581992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6759
6760 * make-path.c: New program, to help with the installation process.
6761 * Makefile.in (make-path): New target.
6762
6763 * make-path.c (touchy_mkdir): Remove debugging output.
6764
67651992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6766
b166dcd8 6767 * Makefile.in (getdate.o): Add explicit target for this, so we
362bc2da
DL
6768 can indicate that it depends on ../src/config.h.
6769
67701992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6771
6772 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
6773 instead of CFLAGS.
6774 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
6775
67761992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6777
6778 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
6779 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
6780 that system.
6781
6782 * Makefile.in (arch-lib): Give rm the `-f' option.
6783
67841992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6785
6786 * make-docfile.c (write_c_args): Rewritten to correctly print
6787 &optionals before the first identifier, but after the first paren.
6788 This code used to just wait for commas or spaces; now it notices
6789 identifier boundaries.
6790
67911992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6792
6793 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
6794
67951992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6796
6797 * make-docfile.c (write_c_args): Print the argument lists properly
6798 when the first argument is optional.
6799
68001992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6801
6802 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
6803 Redefine @item. Set catcode of +.
6804
68051992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6806
6807 * emacsclient.c (main): Set IPC_CREAT in msgget call.
6808
68091992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6810
6811 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
6812 (TEX_decode_env): Make `tab' one element longer.
6813
68141992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6815
6816 * etags.c (PF_funcs): Recognize the "entry" keyword.
6817
68181992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6819
6820 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
6821
68221992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6823
6824 * timer.c (events): Rather than having slots marked as in use or
6825 out of use by the `token' field, keep all pending events at the
6826 beginning of the array. When we delete an event in the middle of
6827 the array, we move the last event into its place.
6828 (num_events): New variable.
6829 (schedule): It is now cheaper to find a free event slot;
6830 events[num_events] is the first free slot.
6831 (notify): Scan events[0 .. num_events-1], instead of the whole
6832 array. When an event fires, move the last event in the array into
6833 its spot. Use num_events to determine whether or not there are
6834 any pending events, not wait_for.
b166dcd8 6835 (getevent): Delete unused variable `ep'.
362bc2da
DL
6836 (sigcatch): It's now easier to find all the active events.
6837 (main): Initialize num_events.
6838
6839 * etags.c: Rather than fret about which systems have index and
6840 which systems have strchr, and how to tell the difference between
6841 them, we just write out our own versions. Big deal.
6842 (index, rindex): Extern declarations removed.
6843 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
6844 (etags_index, etags_rindex): New declarations.
6845 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
6846 TEX_getit, substr): Use the etags_*index functions, rather than
6847 the native *index functions.
b166dcd8 6848 (rindex, index): Rename to etags_rindex and tags_rindex, and
362bc2da
DL
6849 made them unconditionally defined, rather than having them depend
6850 on NEED_*INDEX.
6851
6852 * etags.c (savenstr): Add declaration for this at top of file.
6853 (TEX_decode_env): Don't declare it local to this function.
6854
6855 * b2m.c: #include "../src/config.h", so we can test for the USG
6856 macro, and decide whether to include <string.h> or <strings.h>.
6857 * Makefile.in: Note that b2m.c depends on ../src/config.h.
6858
68591992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6860
6861 * timer.c: Reformatted according to the GNU coding standards.
6862 Removed arbitrary limits on the number of events queued and the
6863 length of the tokens used to identify them.
6864 Removed casts to (void).
6865 Removed debugging printfs; they clutter the code, and the need
6866 can be better filled using a real debugger.
6867
68681992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6869
6870 * timer.c: Installed new version from Eric Raymond; this is more
6871 portable, since it doesn't try to use SIGIO.
6872
68731992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6874
6875 * emacsclient.c (main): If we can't find the socket in this
6876 person's home directory, print a message which asks if they've
6877 started the server, instead of just printing the message from
6878 sys_errmsg; Cygnus finds that people are much less confused by
6879 this.
6880
68811992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6882
6883 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
6884 so that index and rindex get defined, why don't we actually
6885 control index and rindex using symbols called "NEED_INDEX" and
6886 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
6887 little more readable than defining something whose name implies
6888 that it's not?
6889
68901992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6891
6892 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
6893 distribution:
6894 Miscellaneous doc fixes.
1c478461 6895 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
6896 (scan_lisp_file): Instead of using long hairy strings of ifs, call
6897 read_lisp_symbol and then see what we got. Call skip_white
6898 instead of writing out a loop to do its job. Correctly extract
6899 docstrings from "defmacro" declarations.
6900
69011992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6902
6903 * movemail.c (strcpy): Declare this to return char *.
6904
69051992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6906
6907 * etags.c (C_entries): When we find a C++ comment, do actually
6908 skip to the end of the line; do a 'break' instead of a 'continue'.
6909
69101992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6911
6912 * etags.c (getit): Add missing parenthesis to expression which
6913 decides if this token is an identifier.
6914
69151992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6916
6917 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
6918
69191992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6920
6921 * etags.c (put_entries): Always put space between name and line num.
6922
69231992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
6924
6925 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
6926 warning.
6927 (LEVEL_OK_FOR_FUNCDEF): Ditto.
6928
69291992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6930
6931 * make-docfile.c (write_c_args): Pass both arguments to putc.
6932
69331992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
6934
b166dcd8 6935 * etags.c (C_entries): Fix reading of "..." strings.
362bc2da
DL
6936 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
6937 the C library source.
6938
6939 * etags.c (C_entries): When we see a backslash inside a quoted
6940 string, skip to the next character. This allows us to correctly
6941 deal with strings containing quotes.
6942
69431992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6944
6945 * make-docfile.c (write_c_args): Print the C argument names as
6946 they would be written in Elisp; print '_' as '-'.
6947
69481992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6949
6950 * movemail.c [POP]: Get user name via getpwuid.
6951
69521992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6953
2f2c687b 6954 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
6955
69561992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6957
10d1d0af 6958 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
6959 strings - end the lines with `\n\'.
6960
69611992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6962
b166dcd8 6963 * timer.c (getevent): Remove declaration of memcpy; since
362bc2da
DL
6964 different systems have different return types, and we're not even
6965 using the return type anyway, it wasn't doing us any good.
6966
69671992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6968
6969 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
6970 type of this function.
6971
69721992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6973
6974 * ChangeLog: Since the old etc contents have been split into etc
6975 and lib-src, the old etc's ChangeLog has been duplicated in the
6976 new etc and lib-src. That means that each contains complete and
6977 coherent information, although each contains extraneous
1c478461 6978 information.
362bc2da
DL
6979
69801992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6981
290afd83 6982 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
6983 to be consistent with other GNU programs, like makeinfo.
6984
290afd83 6985 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
6986 will edit this to produce Makefile.
6987
69881992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6989
6990 * etags.c (print_help, print_version): New functions.
6991 (main): Options added to support them.
6992
6993 * etags.c (longopts): New array of long names for the options.
6994 (main): Recognize them.
6995
69961992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6997
b166dcd8 6998 * etags.c (C_entries): Remove comment saying that \" in a string
362bc2da
DL
6999 isn't recognized as magic, because it is correctly handled.
7000
7001 * getopt.c, getopt.h: New files, from GNU C library.
7002 * etags.c: Rewritten to use getopt.
7003 #include "getopt.h".
7004 (file_num): Variable deleted; its role is now played by getopt's
7005 optind.
7006 (main): Argument processing loop rewritten to call getopt to get
7007 next option. Options which take parameters (-o and -i) rewritten
b166dcd8
KC
7008 to get parameter from optarg instead of argv[1].
7009 Filename preprocessing loop and update command changed similarly.
362bc2da
DL
7010 * Makefile (etags, ctags): Depend on and link with getopt.h,
7011 getopt.o, and getopt1.o.
7012 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
7013
7014 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
7015 is non-zero.
7016
7017 (main): In the argument processing loop, the 'goto next_arg'
7018 statements are breaking out of the switch statement in exactly the
7019 same way that a simple 'break' statement would; replace the gotos
7020 with breaks, and remove the label.
7021
70221992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7023
7024 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
7025 (consider_token): Move next_token_is_func to global.
7026
70271992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7028
7029 * Makefile: Conform with GNU coding standards:
7030 (mostlyclean): New target, synonymous with clean.
7031 (TAGS, check): New targets.
7032 (INSTALL, INSTALLFLAGS): New variables.
7033
70341992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7035
ecc54057 7036 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
7037 `config.emacs' to `configure'.
7038
7039 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
7040 * etc/MACHINES: Same.
7041
70421992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7043
7044 * movemail.c (main): Allow tempname to be as long as necessary,
7045 instead of limiting it to 39 characters.
7046
7047 * movemail.c (main): Move declaration of buf from top of function
7048 to local block surrounding the copy loop. This makes it less
7049 likely to be confused with the buf used by the code which checks the
7050 permissions on outname's directory.
7051
70521992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
7053
7054 * SERVICE: Remove my entry.
7055
70561992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
7057
7058 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
7059 hardcoded -g.
7060
7061 * movemail.c (xmalloc): Return char *, not int.
7062 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
7063 that is off by default -- normally don't unlink the mail spool
7064 file, just empty it. Pass creat mode 0600, not 0666.
7065
dff28924 70661992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7067
7068 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
7069 (all): Instead of here.
7070 (install): Don't use the -s option, since people need symbols to
7071 debug code.
7072
dff28924 70731992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
7074
7075 * etags-vmslib.c (fn_exp): Add type cast.
7076
70771992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7078
7079 * movemail.c: Changes in comments.
7080
dff28924 70811992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7082
7083 * Makefile: Make the distclean target erase the DOC files from
7084 ../share-lib and the executables from ../arch-lib.
7085
dff28924 70861992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7087
7088 * emacsclient.c: #include <sys/stat.h>
7089 (main): Do declare statbfr.
7090
dff28924 70911991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7092
7093 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
7094 for the socket, depending on SERVER_HOME_DIR.
7095 If using /tmp, put host name in the socket name.
7096
7097 * movemail.c (pfatal_and_delete): New function.
7098 (main, popmail): Use it.
7099 (popmail): Close output before deleting messages.
7100 Check for error on close and on fsync.
7101 Use `fatal' where appropriate.
7102 (main): Remove (void).
7103
7104 * aixcc.lex: New file. Not officially part of Emacs.
7105 * Makefile: Rules for that.
7106
dff28924 71071991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
7108
7109 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
7110
7111 * etags.c (main): Properly cast call to alloca that initializes
7112 included_files.
7113
71141991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7115
7116 * etags.c (files_are_tag_tables): Remove global var.
7117 (process_file): Don't test it. Also remove hack checking for a
7118 file named "TAGS".
7119 (main): -i now takes an arg which is the name of a file to include.
7120 Collect these names and emit include tags for them after processing
7121 all the argument files.
7122
dff28924 71231991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7124
7125 * wakeup.c: Terminate if parent goes away.
7126
dff28924 71271991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7128
7129 * etags.c (C_entries): Process token before handling end of line.
7130 When inner loops reach end of line, just back up.
7131 Let the real end of line processing happen in just one place.
a64387ee 7132 (consider_token): Likewise.
362bc2da 7133
dff28924 71341991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
7135
7136 * etags.c (TEX_mode): Skip comments while scanning the text to see
7137 which escape character this file uses.
7138
dff28924 71391991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7140
7141 * emacsserver.c [USG]: Terminate if msgrcv fails.
7142
dff28924 71431991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7144
7145 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
7146
dff28924 71471991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
7148
7149 * make-docfile: Find the arguments to a C function correctly,
b166dcd8
KC
7150 by not ignoring the character that read_c_string returns.
7151 Don't even try to find argument names for functions that take MANY
362bc2da
DL
7152 or UNEVALLED arguments, since they're a figment of the docstring's
7153 imagination.
7154
dff28924 71551991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
7156
7157 * make-docfile: Read the .elc files generated by the new byte
7158 compiler.
7159
dff28924 71601990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7161
7162 * refcard.tex: Use cm fonts, not am, in multi-column mode.
7163
dff28924 71641990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7165
7166 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
7167
dff28924 71681990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7169
7170 * Makefile (install*): No need to install wakeup.
7171
dff28924 71721990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7173
7174 * Makefile (install*): Install emacsclient like etags.
7175
dff28924 71761990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7177
7178 * movemail.c (error): Handle 3 args.
7179 (main): Don't check input access if using pop.
7180
dff28924 71811990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7182
7183 * etags.c (find_entries): Check for numbers after Scheme suffix.
7184
dff28924 71851990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7186
7187 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
7188
dff28924 71891990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7190
7191 * Makefile (nemacstool, xvetool): New targets.
7192
dff28924 71931990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7194
7195 * emacsclient.c: Include errno.h and define related variables.
7196
dff28924 71971990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7198
7199 * emacsclient.c: Change usage message.
7200
dff28924 72011990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 7202
ecc54057 7203 * emacs.1: Add break before -nw option.
362bc2da 7204
dff28924 72051990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
7206
7207 * qsort.c: Replace with GNU version.
7208
dff28924 72091990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
7210
7211 * wakeup.c: New program replacing loadst.c.
7212
dff28924 72131990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7214
7215 * emacsclient.c [USG]: Pass msgsnd only 4 args.
7216
dff28924 72171990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
7218
7219 * etags.c: Rename `flag' variables for what they do instead of
7220 which option character sets them.
7221
dff28924 72221990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7223
7224 * loadst.c (main): Conditional to get load average on Apollo.
7225
dff28924 72261990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
7227
7228 * emacsserver.c: Set the permission on the socket to 0600.
7229
dff28924 72301990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7231
7232 * emacsclient.c [BSD]: Print clean message for failing getwd.
7233
dff28924 72341990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
7235
7236 * getdate.y: Use the getdate.y from GNU tar for timer.
7237
dff28924 72381990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
7239
7240 * emacsclient.c (main): Don't put brackets around "filename" in
7241 usage message. It isn't optional.
7242
dff28924 72431990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 7244
a64387ee 7245 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 7246
dff28924 72471990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
7248
7249 * emacsserver.c: Renamed from server.c.
7250 * Makefile: Reference emacsserver rather than server.
7251 * MACHINES: Doc fix for new emacsserver name.
7252
dff28924 72531990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7254
7255 * emacsclient.c: Print program name in error messages.
7256
dff28924 72571990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
7258
7259 * timer.c, getdate.y (new files) and Makefile:
194d44e7
JB
7260 Sub-process support for run-at-time in timer.el.
7261 Doesn't yet work correctly for USG.
362bc2da 7262
dff28924 72631990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
7264
7265 * MACHINES: Add HP 300 running BSD.
7266
dff28924 72671990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7268
7269 * yow.c: Dynamically allocate buffer; skip header before random
7270 choice to avoid bias toward first item.
7271
dff28924 72721989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7273
7274 * etags.c (readline): Separate out init of `pend'.
7275
dff28924 72761989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7277
7278 * etags.c: Undo changes relating to isgoodhdr.
7279
dff28924 72801989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7281
7282 * etags.c (isgoodhdr): New macro.
7283 (_gdh, notgdh): New variable used by that.
7284 (init): Initialize _gdh.
7285 (find_entries): Set header_file.
7286 (consider_token): Use isgoodhdr if in header file.
7287
7288 * etags.c (total_size_of_entries):
7289 Was miscalculating by 1 in rewritten case.
7290
7291 * etags.c (PAS_funcs): One arg to pfnote was missing.
7292
dff28924 72931989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
7294
7295 * MACHINES: Change for the ULTRIX entry.
7296
dff28924 72971989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
7298
7299 * etags.c (process_file): If file is not regular, return.
7300
dff28924 73011989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7302
7303 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
7304
dff28924 73051989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7306
7307 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
7308 (main): If HAVE_GETLOADAVG, don't call `nlist'.
7309
dff28924 73101989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7311
7312 * etags.c (consider_token): Allow any number of typespec keywords
7313 after `typedef', before new type name.
7314 (enum sym_type): Add st_C_typespec.
7315 (C_create_stab): Put typespec kwds in table.
7316
dff28924 73171989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7318
7319 * etags.c (main): Don't depend on name invoked by.
7320 If CTAGS is not defined, assume it is ETAGS.
7321
dff28924 73221989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7323
7324 * etags.c (L_funcs): Allow package name in define construct,
7325 as in (foo::defmumble name-defined ...).
7326
dff28924 73271989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7328
7329 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
7330
7331 * Makefile (yow): Depends on ../src/paths.h.
7332
dff28924 73331989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7334
7335 * etags.c: Fix compilation by moving Pascal after Fortran.
7336
dff28924 73371989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7338
7339 * movemail.c [USG]: Define F_OK, etc., if not found in header.
7340
dff28924 73411989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7342
7343 * hexl.c: New file, supports hexl-mode.
7344
dff28924 73451989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7346
7347 * movemail.c: New compilation flag MAIL_USE_MMDF.
7348
dff28924 73491989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7350
7351 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
7352 * server.c: Likewise.
7353
7354 * make-docfile.c (scan_c_file): Output argument names at end of string.
7355 (write_c_args): New subroutine.
7356
dff28924 73571989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7358
7359 * movemail.c: Report failure of flock.
7360
dff28924 73611989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7362
7363 * etags.c (find_entries): Allow multi-letter extensions for fortran.
7364
dff28924 73651989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7366
2f2c687b 7367 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 7368
dff28924 73691989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7370
7371 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
7372
30a7ee9f 7373 * emacstool.1: Update to document environment variables.
362bc2da 7374
dff28924 73751989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7376
7377 * etags.c (PAS_funcs): New function by Mosur Mohan.
7378
7379 * movemail.c: On sysv, include unistd.h.
7380
dff28924 73811989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7382
7383 * b2m.c: New file.
7384
dff28924 73851989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7386
6088b51f 7387 * etags.c: Prolog support from Sunichirou Sugou.
362bc2da 7388
dff28924 73891989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7390
7391 * Makefile (clean): New target.
7392
dff28924 73931989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7394
7395 * fakemail.c (put_line): Break header lines at 79 cols.
7396
dff28924 73971989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7398
7399 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
7400 multiple tags per line.
7401
dff28924 74021989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7403
7404 * movemail.c: Check access before doing real work.
7405 Check that outfile is in a writable directory.
7406 On fatal error, delete the lock file.
7407
dff28924 74081988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 7409
ecc54057 7410 * env.c: Add decl for my-index
6088b51f 7411 * etags.c (file-entries): .oak => scheme.
362bc2da 7412
dff28924 74131988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7414
7415 * movemail.c: Use `access' to check input and output files.
7416
dff28924 74171988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7418
7419 * emacsclient.c (main): Ignore all of CWD before first slash.
7420
dff28924 74211988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7422
7423 * etags.c (readline): Double linebuffer->size outside the xrealloc.
7424
dff28924 74251988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7426
7427 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
7428 * server.c: chmod the socket to 0700.
7429
dff28924 74301988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7431
7432 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
7433 (add_field): Delete comments and turn `<', `>' to spaces
7434 in header lines.
7435 (USE_FAKEMAIL): New customization macro says to make fakemail
7436 not be a no-op even on a BSD system.
7437
dff28924 74381988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7439
7440 * etags.c (consider_token): Skip comments just like whitespace.
7441 Notice `struct', etc. and set strtag for those tokens.
7442 Return 1 for the token following `struct' if an open-brace follows it.
7443 (C_entries): Special handling of token following `struct'
7444 needed because we have probably advanced to the following line
7445 to find the `{'.
7446 (main): New option `T' sets tflag and strflag.
7447 Set both of them by default if eflags.
7448
dff28924 74491988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7450
7451 * movemail.c: Do fsync before closing output.
7452
dff28924 74531988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 7454
ecc54057
JB
7455 * movemail.c: Better error message when can't create tempname.
7456 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 7457
dff28924 74581988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7459
7460 * etags.c: Support assembler code for .s and .a files.
7461 (getit): Allow underscore in a tag.
7462
dff28924 74631988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7464
7465 * movemail.c: Close output and check errors before deleting input.
7466
dff28924 74671988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7468
7469 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
7470 whether to prefix it. Handle line number args.
7471
dff28924 74721988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 7473
2f2c687b 7474 * etags.c (main): Default setting of eflag was backwards.
362bc2da 7475
dff28924 74761988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7477
7478 * etags.c: New option -i. -f renamed -o.
7479 `-' as input file means read input file names from stdin.
7480 -i spec'd or input file named TAGS means the input file is another
7481 tag table; output an "include" line for it.
7482
dff28924 74831988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7484
7485 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
7486 New targets install, install.sysv, install.xenix.
7487 This makefile is now responsible for installing executables
7488 and documentation from this directory into system directories.
7489
dff28924 74901988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
7491
7492 * server.c, emacsclient.c (main): Compute socket name from euid.
7493
dff28924 74941988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7495
7496 * emacsclient.c: Args like +DIGITS are passed through unchanged.
7497
dff28924 74981988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7499
7500 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
7501 * emacsclient.c: Likewise.
7502 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
7503
dff28924 75041988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7505
7506 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 7507 (istoken): New string-comparison macro.
362bc2da
DL
7508 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
7509
dff28924 75101988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7511
7512 * etags.c: Changes for VMS.
7513 Always define ETAGS on VMS.
7514 Define macros GOOD and BAD for success and failure exit codes.
c4cc8b9a 7515 (begtk, intk): Allow `$' in identifiers.
362bc2da
DL
7516 (main): Don't support -B, -F or -u on VMS.
7517 Alternate loop for scanning filename arguments.
7518 (system): Delete definition of this function.
7519
7520 * etags-vmslib.c (system): Undefine this; VMS now provides it.
7521
dff28924 75221988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7523
7524 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
7525 around include of param.h. (Like fns.c.)
7526
dff28924 75271988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7528
7529 * loadst.c (load_average): Move load-average code to this new fn.
7530 Add conditionals to compute load ave on UMAX.
7531
dff28924 75321988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
7533
7534 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
7535 with opposite sense.
7536
dff28924 75371988-05-13 Chris Hanson (cph@kleph)
362bc2da 7538
b166dcd8
KC
7539 * emacsclient.c: Delete references to unused variable `out'.
7540 This caused a bus error when used under hp-ux.
362bc2da 7541
dff28924 75421988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7543
7544 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
7545
dff28924 75461988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
7547
7548 * etags.c (find_entries): `.t' or `.sch' means scheme code.
7549
dff28924 75501988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7551
7552 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
7553
dff28924 75541988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
7555
7556 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 7557 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 7558
dff28924 75591988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
7560
7561 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
7562 invalid escape sequences such as `\{'.
7563
7564 * loadst.c: Add `sequent' conditional for file dk.h.
7565
dff28924 75661988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 7567
2f2c687b 7568 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 7569
2f2c687b 7570 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
7571
7572;; Local Variables:
880820fe 7573;; coding: utf-8
6922b018 7574;; End:
2a34a036 7575
73b0cd50 7576 Copyright (C) 1988-1999, 2001-2011 Free Software Foundation, Inc.
5b87ad55
GM
7577
7578 This file is part of GNU Emacs.
7579
294981c7 7580 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 7581 it under the terms of the GNU General Public License as published by
294981c7
GM
7582 the Free Software Foundation, either version 3 of the License, or
7583 (at your option) any later version.
5b87ad55
GM
7584
7585 GNU Emacs is distributed in the hope that it will be useful,
7586 but WITHOUT ANY WARRANTY; without even the implied warranty of
7587 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7588 GNU General Public License for more details.
7589
7590 You should have received a copy of the GNU General Public License
294981c7 7591 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.