lib-src/makefile.w32-in (CTAGS_CFLAGS): Remove EMACS_NAME.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
b95b7254
JB
12012-06-30 Juanma Barranquero <lekktu@gmail.com>
2
3 * makefile.w32-in (CTAGS_CFLAGS): Remove EMACS_NAME;
4 already defined in ETAGS_CFLAGS.
5
1ba6038a
GM
62012-06-27 Glenn Morris <rgm@gnu.org>
7
8 * makefile.w32-in (lisp2): Remove paths.el.
9
cf38a720
PE
102012-06-26 Paul Eggert <eggert@cs.ucla.edu>
11
12 Clean out last vestiges of the old HAVE_CONFIG_H stuff.
13 * Makefile.in (BASE_CFLAGS):
14 * makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H.
15 * etags.c, hexl.c, pop.c: Include <config.h> unconditionally.
16 * etags.c (DOS_NT):
17 * pop.c (MAIL_USE_POP, h_errno):
18 Remove code that was conditioned on !HAVE_CONFIG_H.
19
3511c784
DA
202012-06-25 Dmitry Antipov <dmantipov@yandex.ru>
21
22 * etags.c (etags_strcasecmp, etags_strncasecmp): Define to
23 library functions strcasecmp and strncasecmp if available.
24
845ca893
PE
252012-06-24 Paul Eggert <eggert@cs.ucla.edu>
26
27 Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
28 * ebrowse.c (usage, version):
29 * emacsclient.c (print_help_and_exit, fail):
30 * etags.c (suggest_asking_for_help, fatal, pfatal):
31 * hexl.c (usage):
32 * make-docfile.c (fatal):
33 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
34 * update-game-score.c (usage):
35 * ebrowse.c (usage, version):
36 * emacsclient.c (print_help_and_exit, fail):
37 Use _Noreturn rather than NO_RETURN.
38 No need for separate decl merely because of _Noreturn.
39
dd1ff7c0
SB
402012-06-24 Samuel Bronson <naesten@gmail.com> (tiny change)
41
42 * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838).
43
d35af63c
PE
442012-06-22 Paul Eggert <eggert@cs.ucla.edu>
45
46 Support higher-resolution time stamps (Bug#9000).
47 * Makefile.in (LIB_CLOCK_GETTIME): New macro.
48 (profile${EXEEXT}): Use it.
10b6eb0d 49 * profile.c: Include inttypes.h, intprops.h.
d35af63c
PE
50 (time_string): Size conservatively; do not guess size.
51 (get_time): Now prints nanoseconds.
52 (gettimeofday): Remove replacement function; gnulib now does this.
53
7cb70fd7
AS
542012-06-08 Andreas Schwab <schwab@linux-m68k.org>
55
56 * make-docfile.c (search_lisp_doc_at_eol): Unget last read
57 character.
58
276d5f5d
GM
592012-06-06 Glenn Morris <rgm@gnu.org>
60
67163749
GM
61 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPTS, insrcdir)
62 (stamp-rcs2log, stamp-grep-changelog): Remove.
63 (all, clean): Remove references to stamps.
64
276d5f5d
GM
65 * vcdiff: Remove file.
66 * Makefile.in (SCRIPTS, STAMP_SCRIPTS): Remove vcdiff.
67 (stamp-vcdiff): Remove.
68
b3c659a1
GM
692012-06-05 Glenn Morris <rgm@gnu.org>
70
71 * makefile.w32-in ($(BLD)/getdate.$(O), $(BLD)/leditcfns.$(O)):
72 ($(BLD)/make-path.$(O), $(BLD)/qsort.$(O)):
73 ($(BLD)/timer.$(O)): Remove cruft.
74
418cd726
GM
752012-06-03 Glenn Morris <rgm@gnu.org>
76
77 * rcs-checkin: Remove file.
78 * Makefile.in (INSTALLABLE_SCRIPTS, STAMP_INST_SCRIPTS):
79 Remove rcs-checkin.
80 (stamp-rcs-checkin): Remove.
81
efc00ab1 822012-05-31 Eli Zaretskii <eliz@gnu.org>
06523364
EZ
83
84 * makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS)
85 instead of a literal -mwindows, which is not supported by MSVC.
86 (Bug#11405)
87
61b108cc
SM
882012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * make-docfile.c: Improve comment style.
91 (search_lisp_doc_at_eol): New function.
92 (scan_lisp_file): Use it.
93
fe453991
GM
942012-05-26 Glenn Morris <rgm@gnu.org>
95
96 * Makefile.in (INSTALL_DATA): Remove; unused.
97
34374650
PE
982012-05-22 Paul Eggert <eggert@cs.ucla.edu>
99
100 Remove src/m/*.
101 * makefile.w32-in: Remove dependencies on
102 $(EMACS_ROOT)/src/m/intel386.h.
103
32514cfe
GM
1042012-05-22 Glenn Morris <rgm@gnu.org>
105
106 * Makefile.in (install): Remove unneeded chmods.
107
261cb4bb
PE
1082012-05-21 Paul Eggert <eggert@cs.ucla.edu>
109
110 Assume C89 or later.
111 * etags.c (static, const): Remove macros.
112 (PTR): Remove; all uses replaced with void *. Omit needless casts.
113
b847032c
GM
1142012-05-21 Glenn Morris <rgm@gnu.org>
115
116 * Makefile.in (insrcdir, $(DESTDIR)${archlibdir}):
117 Scrap superfluous subshells.
118
ed4affe1
GM
1192012-05-18 Glenn Morris <rgm@gnu.org>
120
121 * Makefile.in (install): Ensure $bindir exists.
122
3a4155de
GM
1232012-05-17 Glenn Morris <rgm@gnu.org>
124
125 * Makefile.in (ns_appbindir): New, set by configure.
126
005ad204
GM
1272012-05-12 Glenn Morris <rgm@gnu.org>
128
129 * Makefile.in (MKDIR_P): New, set by configure.
130 ($(DESTDIR)${archlibdir}): Use $MKDIR_P.
131
db5a3003
PE
1322012-05-10 Paul Eggert <eggert@cs.ucla.edu>
133
134 etags: pacify gcc -Wstack-protector on Ubuntu 12.04 x86
135 * etags.c: Include <stdarg.h>.
136 (error): Declare as printf-style, as that's what it really is.
137 All uses changed.
138 (add_regex): Use single char rather than array-of-one char.
139
eceeb5fc
CY
1402012-05-05 Jim Meyering <meyering@redhat.com>
141
142 * lib-src/pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
143 NUL-terminate the error buffer (Bug#11372).
144
069a7756
JB
1452012-05-02 Juanma Barranquero <lekktu@gmail.com>
146
147 * emacsclient.c (min): Undef before redefining it.
148
1e6f32f8
JM
1492012-05-02 Jim Meyering <jim@meyering.net>
150
151 * emacsclient.c (send_to_emacs): Avoid invalid strcpy upon partial
152 send (Bug#11374).
153
a706a3bc
AS
1542012-04-29 Andreas Schwab <schwab@linux-m68k.org>
155
156 * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
157 byte-code forms. (Bug#11380)
158
c07a4c0b 1592012-04-20 Chong Yidong <cyd@gnu.org>
9a864fa2
CY
160
161 * emacsclient.c (decode_options): Move -t -n corner case handling
162 into server.el (Bug#11102).
5d3385a0 163 (main): Send -tty to Emacs under more circumstances (Bug#8314).
9a864fa2 164
6c94c34f 1652012-04-18 Paul Eggert <eggert@cs.ucla.edu>
b8df54ff 166
9f46df23 167 configure: new option --enable-gcc-warnings (Bug#11207)
b8df54ff
PE
168 * Makefile.in (C_WARNINGS_SWITCH): Remove.
169 (WARN_CFLAGS, WERROR_CFLAGS): New macros.
170 (BASE_CFLAGS): Use new macros rather than old.
171
15142f27
PE
1722012-04-16 Paul Eggert <eggert@cs.ucla.edu>
173
174 Assume less-ancient POSIX support.
175 * update-game-score.c: Include <getopt.h> rather than rolling our
176 own decls for optarg, optind, opterr. See
177 <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>.
178
bdf35b6a 1792012-04-14 Juanma Barranquero <lekktu@gmail.com>
6c91c9f0 180
9401b326
JB
181 * emacsclient.c (decode_options) [WINDOWSNT]:
182 Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
183
9078ead6
EZ
1842012-04-07 Eli Zaretskii <eliz@gnu.org>
185
186 * makefile.w32-in (obj): Add xml.o.
187
d67a9a85
EZ
1882012-04-07 Eli Zaretskii <eliz@gnu.org>
189
190 * makefile.w32-in (ALL): Now the list of executables, not of phony
191 targets.
192 (.PHONY): Only make-docfile is its prerequisite now.
193 (make-docfile): Don't depend on stamp_BLD. Add a comment about
194 the need in this target.
195 (ctags, etags, ebrowse, hexl, movemail, emacsclient)
196 (test-distrib): Phony targets removed.
197 ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe.
198 (all): Don't depend on stamp_BLD.
e4ecc6a2 199 (ALL): Include $(BLD)/test-distrib.exe.
d67a9a85 200
6b0c8984
AS
2012012-03-11 Andreas Schwab <schwab@linux-m68k.org>
202
e29ab36b
AS
203 * emacsclient.c (main): Handle -print-nonl command.
204
2b84f674
AS
205 * emacsclient.c (main): Handle multiple messages in a single
206 datagram.
207
6b0c8984
AS
208 * emacsclient.c (socket_name): Add const.
209 (get_server_config): Add parameter config_file, use it instead of
210 global server_file.
211 (set_tcp_socket): Add parameter local_server_file, pass it down to
212 get_server_config.
213 (set_local_socket): Add parameter local_socket_name, use it
214 instead of global socket_name.
215 (set_socket): Adjust calls to set_local_socket and set_tcp_socket.
216 Don't clobber global server_file or socket_name.
217 (main): No longer reset server_file or socket_name.
218
1c6e5a32
GM
2192012-01-05 Glenn Morris <rgm@gnu.org>
220
221 * ebrowse.c (version) <emacs_copyright>:
222 * etags.c (print_version) <emacs_copyright>:
223 * rcs2log (Copyright): Update short copyright year to 2012.
224
28796b3a
AS
2252011-12-25 Andreas Schwab <schwab@linux-m68k.org>
226
227 * etags.c (C_entries): Properly skip over string and character
228 constants and comments inside brackets. (Bug#10357)
229
520fca41
JB
2302011-12-04 Juanma Barranquero <lekktu@gmail.com>
231
232 * emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0;
233 instead, treat both -c and -t as always requesting a new "tty" frame,
234 and let server.el decide which kind is actually required.
235 Reported by Uwe Siart <usenet@siart.de> in this thread:
236 http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html
237
e7308292
CY
2382011-11-30 Chong Yidong <cyd@gnu.org>
239
240 * emacsclient.c (main): Condition last change on WINDOWSNT
241 (Bug#10155).
242
8c9afb46
EZ
2432011-11-27 Eli Zaretskii <eliz@gnu.org>
244
245 * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
246
247 * emacsclient.c (main) <environ>: Remove declaration, already
75f1671a 248 pulled in by unistd.h on POSIX hosts and stdlib.h on MS-Windows.
8c9afb46 249
420b63ad
GM
2502011-11-24 Glenn Morris <rgm@gnu.org>
251
252 * make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
253
5ef215d8
DN
2542011-11-14 Dan Nicolaescu <dann@ics.uci.edu>
255
256 * Makefile.in (all): Make sure "all" is the first target.
257
657d08d3
JB
2582011-10-27 Juanma Barranquero <lekktu@gmail.com>
259
260 * emacsclient.c (w32_getenv): Silence compiler warnings.
261
0f054abc
GM
2622011-09-07 Glenn Morris <rgm@gnu.org>
263
264 * etags.c (Fortran_functions): Handle "elemental" functions.
265
d0417b4c
DS
2662011-09-07 Dieter Schuster <didischuster@arcor.de> (tiny change)
267
268 * etags.c (Fortran_functions): Handle "pure" functions. (Bug#9359)
269
e39b275c 2702011-09-06 Paul Eggert <eggert@cs.ucla.edu>
24e0f6b1
PE
271
272 * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
abec06ff 273 to build-aux (Bug#9169).
24e0f6b1 274
86633eab 2752011-09-04 Paul Eggert <eggert@cs.ucla.edu>
17107bb6 276
005d87bd 277 Integer and memory overflow issues (Bug#9397).
17107bb6
PE
278
279 * emacsclient.c (xmalloc): Accept size_t, not unsigned int, to
280 avoid potential buffer overflow issues on typical 64-bit hosts.
281 Return void *, not long *.
282 (get_current_dir_name): Report a failure, instead of looping
283 forever, if buffer size calculation overflows. Treat malloc
284 failures like realloc failures, as that has better behavior and is
285 more consistent. Do not check whether xmalloc returns NULL, as
286 that's not possible.
287 (message): Do not arbitrarily truncate message to 2048 bytes when
288 sending it to stderr; use vfprintf instead.
289 (get_server_config, set_local_socket)
290 (start_daemon_and_retry_set_socket): Do not alloca
291 arbitrarily-large buffers; that's not safe.
292 (get_server_config, set_local_socket): Do not use sprintf when its
293 result might not fit in 'int'.
294 (set_local_socket): Do not assume uid fits in 'int'.
295
9250f758
PE
296 * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
297 to avoid potential buffer overflow issues on typical 64-bit hosts.
298 (whatlen_max): New static var.
299 (main): Avoid buffer overflow if subsidiary command length is
300 greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its
301 result might not fit in 'int'.
302
644a0faa
PE
303 * movemail.c (main): Do not use sprintf when its result might not fit
304 in 'int'. Instead, put the possibly-long file name into the
305 output of pfatal_with_name.
306
0c6d656d
PE
307 * update-game-score.c: Include <limits.h>
308 (get_user_id): Do not assume uid fits in 'int'. Simplify.
309
044c22e5 3102011-07-28 Paul Eggert <eggert@cs.ucla.edu>
9cfdb3ec 311
0e926e56
PE
312 Assume freestanding C89 headers, string.h, stdlib.h.
313 * ebrowse.c: Include stdlib.h unconditionally.
314 * etags.c, update-game-score.c:
315 Include string.h and stdlib.h unconditionally.
316 * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS.
317 * movemail.c, pop.c: Include string.h unconditionally.
318 * update-game-score.c: No need to include stdarg.h; not used.
319
9cfdb3ec
PE
320 Assume support for memcmp, memcpy, memmove, memset.
321 * etags.c (absolute_filename): Assume memmove exists.
322
ec3b5374
AS
3232011-07-09 Andreas Schwab <schwab@linux-m68k.org>
324
325 * update-game-score.c (usage): Update usage line.
326
bc92abd2
JR
3272011-07-02 Jason Rumney <jasonr@gnu.org>
328
329 * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
330 Windows (Bug#5486).
331
3794a2d3
GM
3322011-06-25 Glenn Morris <rgm@gnu.org>
333
334 * emacsclient.c (decode_options) <opt>: Add `F:'.
335 (print_help_and_exit): Mention --frame-parameters.
336
18a4ce5e
AR
3372011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
338
339 * emacsclient.c (longopts, decode_options, main): Add frame-parameters.
340
529a133c
PE
3412011-06-10 Paul Eggert <eggert@cs.ucla.edu>
342
343 * movemail.c: Fix race condition and related bugs (Bug#8836).
344 (main) [!MAIL_USE_SYSTEM_LOCK]: Prefer mkstemp to mktemp, as this
345 fixes some race conditions. Report mkstemp/mktemp errno rather
346 than a possibly-garbage errno. Reinitialize the template each
347 time through the loop, as earlier mkstemp/mktemp calls could have
348 trashed it. Pass 0600 (not 0666) to mktemp, for consistency
349 with mkstemp; the permissions don't matter anyway.
350
fe91f5a0
DN
3512011-06-01 Dan Nicolaescu <dann@ics.uci.edu>
352
353 * emacsclient.c (socket_status): Use constant pointer.
354
55d4c1b2
PE
3552011-05-28 Paul Eggert <eggert@cs.ucla.edu>
356
357 Use 'inline', not 'INLINE'.
358 * etags.c (hash): Now inline unconditionally.
359 * make-docfile.c (put_char): inline, not INLINE.
360
7bdede3f
GM
3612011-05-25 Glenn Morris <rgm@gnu.org>
362
e9490743
GM
363 * Makefile.in (.c.o): Remove (every .o file has an explicit rule).
364 (insrcdir): New.
365 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
366 Use $insrcdir to suppress unaesthetic ignored errors.
367 (clean): Simplify list of things to delete.
497c74cd 368 (all, clean): Use $EXE_FILES.
e9490743 369
d114d4f3
GM
370 * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
371
7bdede3f
GM
372 * Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
373 (etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
374
1c728a9d
GM
3752011-05-24 Glenn Morris <rgm@gnu.org>
376
377 * Makefile.in (update-game-score${EXEEXT}): Use a single rule.
378
4a720484
GM
3792011-05-19 Glenn Morris <rgm@gnu.org>
380
381 * makefile.w32-in (echolisp): Remove rule that is no longer needed.
382 (clean): No more echolisp.tmp.
383
c136e5cd
GM
3842011-05-18 Glenn Morris <rgm@gnu.org>
385
386 * fakemail.c: Remove file.
387 * makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
388 ($(BLD)/fakemail.$(O)): Remove.
389 * Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
390 (fakemail${EXEEXT}): Remove rule.
391
418401a5
TZ
3922011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
393
17519c90 394 * makefile.w32-in (obj): Add gnutls.o.
418401a5 395
c5443aa5
PE
3962011-04-16 Paul Eggert <eggert@cs.ucla.edu>
397
fd35b6f9
PE
398 Static checks with GCC 4.6.0 and non-default toolkits.
399
5a9c1e26
PE
400 * movemail.c (mail_spool_name): Protoize.
401 (main): Remove unused var. Mark var as initialized.
402 Move locals to avoid shadowing, and use time_t for times.
403
cd52b244
PE
404 * fakemail.c (xmalloc, xreallc): Use standard C prototypes
405 with void *. This avoids warnings about pointer casts.
406
c5443aa5
PE
407 * emacsclient.c (main): Don't use uninitialized var.
408 (IS_ANY_SEP): Remove; unused.
409 (get_current_dir_name): Add an extern decl.
410
41cf7d1a 4112011-04-06 Paul Eggert <eggert@cs.ucla.edu>
72b04a8a 412
41cf7d1a 413 Fix more problems found by GCC 4.6.0's static checks.
72b04a8a 414
41cf7d1a 415 * emacsclient.c (message): Mark it as a printf-like function.
8e48d7bc
PE
416
417 * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
418 (write_c_args): Use it to suppress GCC warning.
419
77861b95 4202011-03-30 Paul Eggert <eggert@cs.ucla.edu>
8c422c30 421
77861b95 422 Fix a problem found by GCC 4.6.0's static checks.
8c422c30
PE
423 * etags.c (just_read_file): Remove dummy variable and simplify.
424
9af30bdf
GM
4252011-03-27 Glenn Morris <rgm@gnu.org>
426
427 * emacsclient.c: Replace SIGTYPE with void.
428
9c88f339
JB
4292011-03-23 Juanma Barranquero <lekktu@gmail.com>
430
431 * ntlib.c: Include <ctype.h>.
432
8cc1d519
GM
4332011-03-23 Glenn Morris <rgm@gnu.org>
434
435 * Makefile.in ($(DESTDIR)${archlibdir}):
436 Use `install-sh -d' rather than mkinstalldirs.
437
c9c49752 4382011-03-23 Paul Eggert <eggert@cs.ucla.edu>
d5cad867 439
b1f961e1
PE
440 * ebrowse.c: Use size_t, not int, for sizes.
441 This avoids a warning with gcc -Wstrict-overflow, and works
442 better for very large objects.
443 (inbuffer_size): Now size_t. All uses changed.
444 (xmalloc, xrealloc, operator_name, process_file): Use size_t for
445 sizes. Don't bother testing whether a size_t value can be negative.
446
58cb46fb
PE
447 * etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
448
3ef271f2
PE
449 etags: In Prolog functions, don't assume int fits in size_t.
450 This avoids a warning with gcc -Wstrict-overflow.
451 * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
452 not int, to store sizes.
453 (prolog_atom): Return 0, not -1, on error. All callers changed.
454
f0d80d43
PE
455 update-game-score: fix bug with -r
456 * update-game-score.c (main): Don't set 'scores' to garbage when
5d6d7e57
PE
457 -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug
458 was introduced in the 2002-04-10 change, and was found with gcc
f0d80d43
PE
459 -Wstrict-overflow (GCC 4.5.2, x86-64).
460
d5cad867
PE
461 fakemail: Remove dependency on ignore-value.
462 This undoes some of the recent fakemail-related changes.
463 It is made possible due to recent changes to gnulib's stdio module.
464 * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
465 * fakemail.c: Do not include ignore-value.h.
466 (put_line): Do not use ignore_value.
467
33383987
JB
4682011-03-07 Chong Yidong <cyd@stupidchicken.com>
469
470 * Version 23.3 released.
471
0b973fc5
DW
4722011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change)
473
474 * emacsclient.c (longopts): Add quiet.
475 (decode_options): Handle q/quiet.
476 (print_help_and_exit): Add q/quiet.
477 (main): Suppress some messages if quiet option is used.
478
a54af40e
EZ
4792011-02-26 Eli Zaretskii <eliz@gnu.org>
480
00030ef0
EZ
481 * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
482
a54af40e
EZ
483 * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
484 (w32_getenv): Use xstrdup to return all values in malloc'ed
485 storage.
486
34e6d782
PE
4872011-02-26 Paul Eggert <eggert@cs.ucla.edu>
488
6c0668d9
PE
489 * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
490 to reader (and to the compiler) that the loop always executes at
491 least once. This prevents a warning with recent GCC.
9e1b7fe6 492 (BROWSE_STRUCT): Remove unused macro.
6c0668d9 493
a4fe4e89
PE
494 * fakemail.c: Include <ignore-value.h>.
495 (put_line): Explicitly ignore fwrite return value, for benefit of
496 recent glibc + gcc.
497 (close_the_streams): Diagnose output errors instead of merely
498 exiting with nonzero status.
499 (my_fclose, main): Diagnose input errors, and exit with nonzero status.
500 Formerly, input errors were silently ignored.
501
34e6d782
PE
502 * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
503 All callers changed. This is cleaner, and avoids GCC warnings about
504 passing NULL to fputs.
70279bd1 505 (insert_keyword): Rename parameter to avoid shadowing diagnostic.
34e6d782 506
564ff1f2
PE
5072011-02-25 Paul Eggert <eggert@cs.ucla.edu>
508
7e6bb4c9 509 * emacsclient.c (main): Avoid dangling 'if'.
b9170155
PE
510 (xstrdup): Remove; no longer needed.
511 (get_current_dir_name, w32_getenv, get_server_config, find_tty):
512 (set_local_socket, main):
513 Use const char *, not char *, for pointers that are not assigned
514 through.
4be3dfc5
PE
515 (IF_LINT): New macro.
516 (set_local_socket, main): Use it to suppress warnings with
517 GCC -Wuninitialized.
7e6bb4c9 518
b0bbc07d
PE
519 * emacsclient.c: Redo local variables to avoid shadowing problems.
520 (message, socket_status, start_daemon_and_retry_set_socket):
521 Rename locals.
522 (main): Move decl of "i".
523
3f5e6230
PE
524 * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
525 This avoids an unused-macro warning with some GCC settings.
526
564ff1f2
PE
527 * make-docfile.c (write_globals): Change char * to char const *
528 to avoid a GCC "assignment discards qualifiers" diagnostic
529 in some configurations.
8dfa32f6
PE
530 (scan_c_file): Refactor local variable decls to make their scope
531 more accurate and to avoid a GCC -Wuninitialized diagnostic.
564ff1f2 532
b97decf2
EZ
5332011-02-22 Eli Zaretskii <eliz@gnu.org>
534
32e793fa
EZ
535 * etags.c (canonicalize_filename, ISUPPER): Fix last change.
536
61b108cc
SM
537 * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)):
538 Depend on ../lib/min-max.h.
b97decf2 539
f68c809d
PE
5402011-02-22 Paul Eggert <eggert@cs.ucla.edu>
541
e5075711
PE
542 etags: Downcase drive letters, for consistency with Emacs proper.
543 * etags.c (upcase): Remove; no longer used.
544 (canonicalize_filename): Downcase drive letters.
545
f68c809d
PE
546 Assume S_ISLNK etc. work, since gnulib supports this.
547 * etags.c (S_ISREG): Remove.
548
b97decf2
EZ
5492011-02-22 Paul Eggert <eggert@cs.ucla.edu>
550
551 Assume S_ISLNK etc. work, since gnulib supports this.
552 * etags.c (S_ISREG): Remove.
553
602a5739
JB
5542011-02-22 Juanma Barranquero <lekktu@gmail.com>
555
556 * makefile.w32-in (obj): Remove filemode.o.
557
b23b5a5b
PE
5582011-02-21 Paul Eggert <eggert@cs.ucla.edu>
559
ba01e9d7
PE
560 New file "lib/min-max.h".
561 * ebrowse.c (min, max): Define them by including <min-max.h>
562 instead of defining it ourselves.
563 * pop.c (min): Likewise.
d47d6319 564 * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
ba01e9d7 565
f0939c31
PE
566 * movemail.c (popmail): Report fchown failure instead of ignoring it.
567 But if the file already has the right ownership, don't worry about it.
568
4df52042 569 * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
08c69097 570 * test-distrib.c (buf): Make this local, to avoid shadowing.
4df52042 571
27d41fb4 572 * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
1afca8cc 573 (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
5ecec6a7
PE
574 (DONE): Remove unused macro.
575 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
576 Define these macros only in the contexts that need them.
0d7fdc0e
PE
577 * pop.c (index): Remove unused macro.
578 (KPOP_PORT): Define only if KERBEROS is defined.
27d41fb4 579
b23b5a5b
PE
580 Declare file-scope functions and variables static if not exported.
581 This is more consistent, and is nicer with gcc -Wstrict-prototypes.
582 * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
583 * profile.c, test-distrib.c, update-game-score.c:
584 Declare non-'main' functions and variables to be static.
585 * ebrowse.c: Omit redundant function prototypes.
586
25c51af3
EZ
5872011-02-21 Eli Zaretskii <eliz@gnu.org>
588
589 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
590 ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
591 Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
592
e18c0aa3 5932011-02-21 Ben Key <bkey76@gmail.com>
6ca1c3b4
BK
594
595 * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
596 the new BVAR macro.
597
50a4e25a
JB
5982011-02-20 Juanma Barranquero <lekktu@gmail.com>
599
600 * makefile.w32-in (obj): Remove md5.o.
601
b166dcd8
KC
6022011-02-18 Karl Chen <Karl.Chen@quarl.org>
603
604 * emacsclient.c (main): Loop while `recv' return EINTR.
605
64df8c10
PE
6062011-02-09 Paul Eggert <eggert@cs.ucla.edu>
607
608 * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
609 This avoids collision with config.h's EMACS_INT on some
610 configurations. All uses changed.
611
00b3c7ac
TT
6122011-02-08 Tom Tromey <tromey@redhat.com>
613
614 * make-docfile.c: Unconditionally include stdlib.h.
615 (generate_globals): New global.
616 (xrealloc): New function.
617 (main): Handle '-g'. Call start_globals, write_globals.
618 (scan_file): Conditionally call put_filename.
619 (start_globals): New function.
620 (struct global): New.
621 (num_globals, globals): New globals.
622 (add_global, compare_globals, write_globals): New functions.
623 (scan_c_file): Update for "-g".
624 (scan_lisp_file): Fail if "-g".
625
03fc768b
PE
6262011-02-05 Paul Eggert <eggert@cs.ucla.edu>
627
602a5739 628 * emacsclient.c: Conform to C89 pointer rules.
03fc768b
PE
629 (file_name_absolute_p): Accept const char *, not const unsigned
630 char *, to satisfy C89 rules.
631
d9f1f55e
EZ
6322011-02-02 Eli Zaretskii <eliz@gnu.org>
633
b166dcd8
KC
634 * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
635 Add ``-DEMACS_NAME="\"GNU Emacs\""''.
83cc5772 636 (obj): Remove strftime.o.
d9f1f55e 637
70b0d280
EZ
6382011-01-31 Eli Zaretskii <eliz@gnu.org>
639
640 * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
641 (ECLIENT_CFLAGS): Remove -DVERSION.
642 ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
643
16fab143
PE
6442011-01-31 Paul Eggert <eggert@cs.ucla.edu>
645
646 src/emacs.c now gets version number from configure.in
647 * ebrowse.c: Adjust comment to say that.
648
8aec9916
JM
6492011-01-30 Jim Meyering <meyering@redhat.com>
650
651 make-docfile: don't corrupt heap for an invalid .elc file
652 "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
653 one byte before just-malloc'd saved_string buffer.
654 * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
655 doc string length. Also fix an always-false while-loop test.
656
f915f0f7
EZ
6572011-01-29 Eli Zaretskii <eliz@gnu.org>
658
659 * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
660 (GETOPTOBJS, GETOPTDEPS): Remove targets.
661 (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
662 ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
663 (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
664 and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
665 (clean): Don't remove getopt.h.
666 (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
667 ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
668 $(EMACS_ROOT)/lib/getopt.h.
669
6702011-01-28 Chong Yidong <cyd@stupidchicken.com>
671
672 * ntlib.c (setregid): New stub, renamed from setegid.
673
674 * ntlib.h: Update prototype.
675
06d8ace5 6762011-01-25 Chong Yidong <cyd@stupidchicken.com>
fbf4af3a
CY
677
678 * movemail.c (main): Use setregid instead of setegid, which is
679 missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
680
9055082e
PE
6812011-01-23 Paul Eggert <eggert@cs.ucla.edu>
682
683 Check return values of some library calls.
684 * hexl.c (main): Check fread result.
685 * make-docfile.c (main): Check chdir result.
686 (scan_c_file): Check fscanf result.
687 * movemail.c (main): Check ftruncate result.
688
33fe4243 6892011-01-17 Paul Eggert <eggert@cs.ucla.edu>
e275c824 690
4004364e
PE
691 Include <unistd.h> unilaterally.
692 * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
693 * pop.c, test-distrib.c, update-game-score.c:
694 Include <unistd.h> without worrying about HAVE_UNISTD_H, since
695 unistd.h is always present now, possibly supplied by gnulib.
696
613f7bda
PE
697 Include <getopt.h> not "getopt.h".
698 * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
699 Since getopt.h is no longer in this directory, there's no point
700 using the form with double-quotes.
701
e275c824
PE
702 Remove unused files.
703 * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
704 These files are now in ../lib, copied from gnulib.
705
706 Use gnulib's getopt-gnu module.
707 * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
708 as these are now done by gnulib.
709 (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
710 Remove; now done by gnulib. All uses removed.
711
9a514d4a
PE
712 Automate syncing from gnulib.
713 * Makefile.in (EXE_FILES): New macro.
714 (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
715 for gnulib's .h files.
716 (LOADLIBES): Add ../lib/libgnu.a.
717 ($(EXE_FILES)): Depend on ../lib/libgnu.a.
718 (../lib/libgnu.a): New rule.
719
72427c46
PE
7202011-01-08 Paul Eggert <eggert@cs.ucla.edu>
721
722 * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
723
4967fa34
GM
7242011-01-08 Glenn Morris <rgm@gnu.org>
725
e7a42417
GM
726 * Makefile.in (EMACSOPT): Add --no-site-lisp.
727
4967fa34
GM
728 * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
729
d7bfa7a1
GM
7302011-01-02 Glenn Morris <rgm@gnu.org>
731
732 * ebrowse.c (version) <emacs_copyright>:
733 * etags.c (print_version) <emacs_copyright>:
734 * rcs2log (Copyright): Set short copyright year to 2011.
735
da2b5401
JM
7362010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change)
737
738 * ebrowse.c (yylex): If end of input buffer encountered while
739 searching for a newline after "//", return YYEOF. (Bug#7446)
740
4a47c275 7412010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
76cc4cd6
YM
742
743 * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
744 definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
745
f16cafe3
DN
7462010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
747
748 * test-distrib.c: Remove include guards for config.h and fcntl.h.
749 (O_RDONLY): Do not define.
750 (cool_read): Fix type for variable "sofar".
751
6a5c2175
GM
7522010-10-25 Glenn Morris <rgm@gnu.org>
753
754 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
755
17284e30
GM
7562010-10-23 Glenn Morris <rgm@gnu.org>
757
758 * digest-doc.c, sorted-doc.c: Remove files.
759 * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
760 (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
761 * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
762 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
763 ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
764 (install): Don't install digest-doc.exe or sorted-doc.exe.
765
a4daeecf
DN
7662010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
767
768 * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
769
3fb78d1f
GM
7702010-10-09 Glenn Morris <rgm@gnu.org>
771
772 * b2m.c, b2m.pl: Remove files.
773 * Makefile.in (INSTALLABLES): Remove b2m.
774 * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
775
4628bef1 7762010-10-08 Glenn Morris <rgm@gnu.org>
b336bfcd
GM
777
778 * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
779 DARWIN_USER_TEMP_DIR. (Bug#3992)
780
f99d75f5
DN
7812010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
782
728a982d
DN
783 * test-distrib.c (cool_read):
784 * movemail.c (main, concat):
785 * make-docfile.c (scan_file, write_c_args):
602a5739 786 * emacsclient.c (get_server_config): Fix -Wconversion warning.
728a982d
DN
787 (egetenv): Move conditional definition earlier.
788 (progname): Use const.
789 * sorted-doc.c (xstrdup): Use const.
790
f99d75f5
DN
791 * Makefile.in: Remove ^L, old makes choke on it.
792
3ecb8d93
WS
7932010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change)
794
795 * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
796 error string (Bug#6963).
797
54b65f7b
JB
7982010-10-02 Juanma Barranquero <lekktu@gmail.com>
799
800 * makefile.w32-in (tags): Remove target.
801
73077a9a
EZ
8022010-10-01 Eli Zaretskii <eliz@gnu.org>
803
804 * makefile.w32-in (tags, TAGS): New targets.
805
968ef9b4
JB
8062010-09-30 Juanma Barranquero <lekktu@gmail.com>
807
808 * emacsclient.c (get_server_config): Don't read Emacs pid from
809 the authentication file.
810
6ab88e02
JB
8112010-09-29 Juanma Barranquero <lekktu@gmail.com>
812
a69edb8a
JB
813 * makefile.w32-in (../src/config.h): Remove target, it is stale.
814
6ab88e02
JB
815 * emacsclient.c (main): Remove unused variables.
816 (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
817
4c964351
UM
8182010-09-25 Ulrich Mueller <ulm@gentoo.org>
819
820 * etags.c (compressors, print_language_names): Support xz compression.
821
988e88ab
J
8222010-08-11 Jan Djärv <jan.h.d@swipnet.se>
823
70e31436 824 * fakemail.c: Include stdlib.h for getenv. Remove declaration of
5e3b9a89 825 popen, fclose and pclose.
70e31436 826 (my_name, fatal, error, put_line): Use const char*.
5e3b9a89
J
827 (main): Remove extern getenv, mail_program_name is const char*.
828
988e88ab
J
829 * update-game-score.c (get_prefix, write_scores, main): Use const char*.
830
831 * sorted-doc.c (error, fatal, states): Use const char *.
832
833 * pop.h (pop_multi_first): Use const char *.
834 (_ARGS): Remove.
835
70e31436 836 * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
988e88ab
J
837
838 * movemail.c (fatal, error, concat): Use const char *.
839
b166dcd8
KC
840 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
841 Use const char *.
988e88ab
J
842
843 * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
844 (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
845 (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
846 (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
847 (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
848 (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
849 (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
850 (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
851 (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
852 (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
853 (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
854 (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
855 (no_lang_help, print_language_names)
856 (get_language_from_interpreter, get_language_from_filename)
857 (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
858 (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
859 (concat): Use const char*.
860
861 * emacsclient.c (message, sock_err_message, send_to_emacs)
862 (quote_argument, set_local_socket)
863 (start_daemon_and_retry_set_socket): Use const char*.
864
865 * ebrowse.c (struct member): filename, def_filename is const.
866 (struct sym): filename, sfilename is const.
867 (struct kw): name is const.
868 (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
869
870 * b2m.c (concat, fatal): Use const char*.
871 (main): Don't assign labels a string literal.
872
0e9c8657
JB
8732010-08-07 Juanma Barranquero <lekktu@gmail.com>
874
875 * ebrowse.c (usage, version, mark_virtual):
876 Remove duplicate declarations.
877
0613f5d5
DN
8782010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
879
880 * emacsclient.c: Move socket related #includes together with the
70e31436 881 rest of the #includes. Move WINDOWSNT includes closer together.
0613f5d5
DN
882 (HAVE_CONFIG_H): Remove.
883 (NO_RETURN): Remove, defined in config.h.
884 (main): Convert definition to standard C.
885
a94a477d
JB
8862010-07-29 Juanma Barranquero <lekktu@gmail.com>
887
888 * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
889
35a7804d
JB
8902010-07-25 Juanma Barranquero <lekktu@gmail.com>
891
892 * emacsclient.c (getcwd): Fix previous change: make getcwd
893 conditional on HAVE_GETCWD and declare with the correct POSIX
894 profile (for some reason MinGW headers define its 2nd arg as int,
895 not size_t; but getcwd is not used on Windows nonetheless).
896
361358ea
JB
8972010-07-25 Juanma Barranquero <lekktu@gmail.com>
898
899 * emacsclient.c (getcwd, w32_getenv):
900 * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
901
68441b90
DN
9022010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
903
087b38a0 904 * update-game-score.c (usage): Add NO_RETURN specifier.
68441b90
DN
905 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
906 * make-docfile.c (fatal):
907 * hexl.c (usage):
908 * fakemail.c (fatal):
909 * etags.c (fatal, suggest_asking_for_help, pfatal):
910 * emacsclient.c (fatal):
911 * b2m.c (fatal): Likewise.
912
554d39be
JB
9132010-07-23 Juanma Barranquero <lekktu@gmail.com>
914
915 * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
916
7c3320d8
JB
9172010-07-20 Juanma Barranquero <lekktu@gmail.com>
918
919 * emacsclient.c (get_current_dir_name, w32_get_resource)
920 (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
921 (close_winsock, initialize_sockets, w32_find_emacs_process)
922 (w32_give_focus):
923 * ntlib.c (getlogin, getuid, getgid, getegid):
924 Convert definitions to standard C.
925
e6cfa7c3
AS
9262010-07-12 Andreas Schwab <schwab@linux-m68k.org>
927
928 * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
929 (PROFILING_LDFLAGS): Set from substitution.
930 (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
931 (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
932 (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
933
f09e4c6b
EZ
9342010-07-12 Eli Zaretskii <eliz@gnu.org>
935
936 * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
937 2010-07-12T05:25:46Z!handa@etlken).
938
8966b757
AS
9392010-07-11 Andreas Schwab <schwab@linux-m68k.org>
940
941 * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
942 index, rindex.
943 * movemail.c (mail_spool_name, popmail): Likewise.
944 * pop.c (pop_list): Likewise.
945
994a7c3b
EZ
9462010-07-11 Eli Zaretskii <eliz@gnu.org>
947
a628ad9d 948 * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
994a7c3b
EZ
949 and unexw32.o. (Bug#6603)
950
c971758d
EZ
9512010-07-10 Eli Zaretskii <eliz@gnu.org>
952
953 * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
954
91a7f76d
AS
9552010-07-09 Andreas Schwab <schwab@linux-m68k.org>
956
957 * make-docfile.c (write_c_args): Restructure scanning loop.
958
0508c67f
DN
9592010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
960
961 * make-docfile.c (write_c_args): Deal with type names in DEFUN
962 arguments.
963
0216627e
DN
9642010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
965
966 * update-game-score.c (P_): Remove macro.
967 * ebrowse.c: Remove include guards.
968 (P_): Remove macro.
969
72af86bd
AS
9702010-07-07 Andreas Schwab <schwab@linux-m68k.org>
971
972 * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
973 memcpy, memmove, memset.
974 * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
975
e2ad23ef
AS
9762010-07-06 Andreas Schwab <schwab@linux-m68k.org>
977
978 * movemail.c: Add MAIL_USE_POP around prototypes.
1725ae55
AS
979 Include <string.h> if HAVE_STRING_H.
980 (strerror): Only declare if !HAVE_STRERROR.
981 (fatal): Make static.
982 (error): Likewise.
983 (pfatal_with_name): Likewise.
70e31436 984 (pfatal_and_delete): Likewise.
1725ae55
AS
985 (concat): Likewise.
986 (xmalloc): Likewise.
987 (popmail): Likewise.
988 (pop_retr): Likewise.
989 (mbx_write): Likewise.
990 (mbx_delimit_begin): Likewise.
991 (mbx_delimit_end): Likewise.
e2ad23ef 992
b8463cbf
DN
9932010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
994
995 * fakemail.c (action): Convert function definitions to standard C.
996 (add_a_stream):
997 * test-distrib.c (cool_read):
998 (main): Likewise.
999
a52a00a3
AS
10002010-07-03 Andreas Schwab <schwab@linux-m68k.org>
1001
1002 * sorted-doc.c (cmpdoc): Fix signature.
1003 (qsort_compare): Delete.
1004 (main): Remove cast.
1005
35d99b72
JB
10062010-07-03 Juanma Barranquero <lekktu@gmail.com>
1007
1008 * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
1009
3a35a84c
JB
10102010-07-03 Juanma Barranquero <lekktu@gmail.com>
1011
1012 Fix prototype warnings.
1013
1014 * ebrowse.c (match_qualified_namespace_alias):
1015 Pass sym* to find_namespace, not link*.
1016
1017 * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
1018
1019 * sorted-doc.c (qsort_compare): New typedef.
1020 (main): Use it to cast cmpdoc.
1021
873fbd0b
DN
10222010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
1023
1024 * update-game-score.c: Convert function definitions to standard C.
1025 * sorted-doc.c:
1026 * profile.c:
1027 * pop.c:
1028 * movemail.c:
1029 * make-docfile.c:
1030 * hexl.c:
1031 * fakemail.c:
1032 * etags.c:
1033 * ebrowse.c:
1034 * digest-doc.c:
1035 * b2m.c: Likewise.
1036
c532d349
DN
10372010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
1038
1039 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
1040 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
1041 standard C prototypes.
1042
f57e2426
J
10432010-07-02 Jan Djärv <jan.h.d@swipnet.se>
1044
1045 * ebrowse.c: Remove P_ and __P.
1046 * etags.c:
1047 * movemail.c:
1048 * pop.c:
1049 * update-game-score.c: Likewise.
1050
3b3807f8
JB
10512010-06-24 Juanma Barranquero <lekktu@gmail.com>
1052
1053 * movemail.c (error): Avoid warning when there are no args.
1054
5fee75d4
JB
10552010-06-11 Juanma Barranquero <lekktu@gmail.com>
1056
1057 * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
1058 and vc/ediff-hook.elc.
1059
3085237c
DN
10602010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
1061
1062 * ntlib.h: Remove code dealing with BSTRING.
1063
0191e222
CY
10642010-05-29 Chong Yidong <cyd@stupidchicken.com>
1065
1066 * emacsclient.c (longopts, decode_options, print_help_and_exit):
1067 New arg `-parent-id'.
1068 (main): Send parent-id to Emacs.
1069
81ac4f35
GM
10702010-05-27 Glenn Morris <rgm@gnu.org>
1071
1072 * Makefile.in (distclean): No more Makefile.c.
1073
4e3028f8
JD
10742010-05-22 Jan Djärv <jan.h.d@swipnet.se>
1075
1076 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
1077 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
1078 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
1079 New rules (Bug #6246).
1080 (clean): Remove stamp-* (Bug #6246).
1081
44b031a6
GM
10822010-05-12 Glenn Morris <rgm@gnu.org>
1083
1084 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
1085
acddf8ae
GM
10862010-05-11 Glenn Morris <rgm@gnu.org>
1087
c88b05a9
GM
1088 * Makefile.in (.m.o): Remove, there are no .m files.
1089 (BASE_CFLAGS): New variable.
1090 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
1091 (check): Update the message.
1092 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
1093
d3b23034
GM
1094 * Makefile.in: Convert comments to makefile format.
1095
acddf8ae
GM
1096 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
1097 (config.h) [MSDOS]: Do not include.
1098
7490175b
GM
10992010-05-10 Glenn Morris <rgm@gnu.org>
1100
97efb629
GM
1101 * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
1102 (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
1103 (NOT_C_CODE): Remove, no longer used.
1104 (config.h) [!MSDOS]: No longer include.
1105 (LOADLIBES): Use LIBS_SYSTEM as a variable.
1106
7490175b
GM
1107 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
1108
7b42b29f
GM
11092010-05-08 Glenn Morris <rgm@gnu.org>
1110
1111 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
1112
61a808e8
CY
11132010-05-07 Chong Yidong <cyd@stupidchicken.com>
1114
1115 * Version 23.2 released.
1116
f6c0ee20
GM
11172010-05-06 Glenn Morris <rgm@gnu.org>
1118
1119 * Makefile.in: Minimize blessmail-related cpp usage.
1120 (BLESSMAIL_TARGET): New variable.
1121 (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
1122 (blessmail): Always define this rule.
1123 (need-blessmail): New rule, split out from maybe-blessmail.
1124 (maybe-blessmail): Use BLESSMAIL_TARGET.
1125
49628785
GM
11262010-05-04 Glenn Morris <rgm@gnu.org>
1127
1128 * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
1129 @c_switch_system@, @c_switch_machine@.
1130
7e10844c
DN
11312010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
1132
1133 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
1134
4794a582
DN
11352010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
1136
1137 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
1138 non-cpp section.
1139
76bd8202
DN
11402010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
1141
1142 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
1143 autoconf, not cpp.
1144 (ALL_CFLAGS): Use them as make variables.
1145
53cfe624 11462010-04-07 Christoph Scholtes <cschol2112@googlemail.com>
42d3cab7
C
1147
1148 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
1149 for macros for nmake compatibility.
1150
b372fceb
JB
11512010-04-03 Juanma Barranquero <lekktu@gmail.com>
1152
1153 Add stubs for Windows, required after CVE-2010-0825 change.
1154 * ntlib.c (getgid, getegid, setegid): New stubs.
1155 * ntlib.h (getgid, getegid, setegid): Declare them.
1156
51a91f9d
CY
11572010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
1158
b166dcd8
KC
1159 * movemail.c (main): Check return values of setuid.
1160 Avoid possibility of symlink attack when movemail is setgid mail
51a91f9d
CY
1161 (CVE-2010-0825).
1162
42a2c622
DN
11632010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
1164
1165 Remove extern errno declarations.
1166 * movemail.c:
1167 * etags.c:
1168 * emacsclient.c: Remove extern errno declarations.
1169
5e58e3a4
GM
11702010-03-20 Glenn Morris <rgm@gnu.org>
1171
1172 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
1173 (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
1174 defining these as Makefile variables.
1175 (LIBS_MOVE): Add LIBS_MAIL into this.
1176 (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
1177
aded53ff
GM
11782010-03-18 Glenn Morris <rgm@gnu.org>
1179
1180 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
1181 (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
1182 (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
1183
f8388570
TO
11842010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
1185
1186 * Makefile.in (uninstall): Handle the case where archlibdir does not
1187 exist. (Bug#5720)
1188
288f9fc0
CY
11892010-03-10 Chong Yidong <cyd@stupidchicken.com>
1190
1191 * Branch for 23.2.
1192
f9b84f9f
CY
11932010-02-20 Kevin Ryde <user42@zip.com.au>
1194
1195 * etags.c (Scheme_functions): Don't loop past a null character
1196 (Bug#5601).
1197
c14902e0 11982010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
9d77a91f 1199
a628ad9d 1200 * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
9d77a91f 1201
6589a2f9
GM
12022010-01-11 Glenn Morris <rgm@gnu.org>
1203
1204 * ebrowse.c (version):
1205 * etags.c (print_version):
1206 * rcs2log (Copyright): Set copyright year to 2010.
1207
03dcfe01
CY
12082009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
1209
1210 * makefile.w32-in: Use parenthesis for macros for nmake
1211 compatibility.
1212
5ce6e4f4 12132009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
46f3381a 1214
f7e0618c 1215 * etags.c (absolute_filename): Use memmove if we have it for
46f3381a
JD
1216 overlapping copy.
1217
f6195dfb
DN
12182009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
1219
1220 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
1221
b53f6df2
JB
12222009-10-15 Juanma Barranquero <lekktu@gmail.com>
1223
1224 * .gitignore: Add echolisp.tmp.
1225
9fc3db2b
GM
12262009-10-15 Glenn Morris <rgm@gnu.org>
1227
5f54cae6
GM
1228 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
1229
9fc3db2b
GM
1230 * makefile.w32-in (echolisp): New rule.
1231 (clean): Delete echolisp.tmp.
1232
614bd9cf
EZ
12332009-09-27 Eli Zaretskii <eliz@gnu.org>
1234
1235 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
1236 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
1237 be consistent with src/Makefile.in.
1238
24e9e996
SM
12392009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1240
1241 * update-game-score.c (main): Sort scores before trimming them,
1242 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
1243
c5a139ca
GM
12442009-09-09 Glenn Morris <rgm@gnu.org>
1245
1246 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
1247 before creating directories and game score files.
1248
a8a8ec61
GM
12492009-08-19 Glenn Morris <rgm@gnu.org>
1250
0916a29e 1251 * cvtmail.c: Remove file.
a8a8ec61
GM
1252 * Makefile.in (UTILITIES): Remove cvtmail.
1253 (cvtmail${EXEEXT}): Remove.
1254
678bc1f5
CY
12552009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
1256
1257 * b2m.c (main): Ensure that each message ends in two newlines.
1258
0a3472c7
JR
12592009-07-03 Jason Rumney <jasonr@gnu.org>
1260
1261 * emacsclient.c (w32_set_user_model_id): Use standard types.
1262
f2d6b714
EZ
12632009-07-03 Eli Zaretskii <eliz@gnu.org>
1264
1265 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
1266 src/Makefile.in did.
1267
ff90fbde
JR
12682009-06-30 Jason Rumney <jasonr@gnu.org>
1269
1270 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
1271 that is already loaded.
1272 (w32_set_user_model_id): New function.
1273 (main): Use it to associate emacsclient with emacs (bug#1849).
1274
e0f59195
JM
12752009-06-29 Jim Meyering <meyering@redhat.com>
1276
1277 Remove useless if-before-free test.
1278 * make-docfile.c (scan_lisp_file): Remove useless test.
1279
f5f20f6c
DN
12802009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
1281
1282 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
1283
70243478
CY
12842009-06-21 Chong Yidong <cyd@stupidchicken.com>
1285
1286 * Branch for 23.1.
1287
fa44da6e
AR
12882006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
1289
1290 * mac-fix-env.m:
1291 * Makefile.in (mac-fix-env): Remove.
1292
a7f2b0b1
AR
12932006-06-06 David Reitter <david.reitter@gmail.com>
1294
1295 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
1296
9dfda22f
JB
12972009-04-20 Juanma Barranquero <lekktu@gmail.com>
1298
1299 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
1300 spacing is required in the message output, as the comment suggests).
1301
24d5010d
CY
13022009-04-20 Chong Yidong <cyd@stupidchicken.com>
1303
1304 * emacsclient.c (print_help_and_exit): Clarify argument placement
1305 for short option names.
1306
6133a1a9
DN
13072009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
1308
1309 * emacsclient.c (print_help_and_exit): Fix typo.
1310
22749e9a
EZ
13112009-03-21 Eli Zaretskii <eliz@gnu.org>
1312
1313 * ntlib.c (setuid): Argument is now unsigned.
1314 (getuid): Return value is now unsigned.
1315 (getpwuid): Argument is now unsigned.
1316 (fchown): UID and GID arguments are now unsigned.
1317
1318 * ntlib.h (fchown): UID and GID arguments are now unsigned.
1319 (getuid): Return value is now unsigned.
1320 (setuid): Argument is now unsigned.
1321 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
1322
b57ac69d 13232009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
1324
1325 * emacsclient.c (main): Revert part of last change, so
1326 drive-relative file names again work on Windows.
1327
ba528748
SM
13282009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1329
1330 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
1331 names without prepending cwd to them, so Emacs uses its customary
1332 rules to determine how to interpret the file name.
1333
f213f2c0
GM
13342009-03-04 Glenn Morris <rgm@gnu.org>
1335
1336 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
1337
8ee7d7be
CY
13382009-02-13 Sven Joachim <svenjoac@gmx.de>
1339
1340 * movemail.c: Include time.h unconditionally.
1341 (main): Use time_t for time variables.
1342
d228a23c
GM
13432009-02-11 Glenn Morris <rgm@gnu.org>
1344
1345 * movemail.c (mbx_delimit_begin): Also write the current time.
1346
3f32be22
GM
13472009-02-10 Glenn Morris <rgm@gnu.org>
1348
1349 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
1350 than Babyl format. (Bug#2196)
1351
e7534fc4
AR
13522009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
1353
1354 * emacsclient.c (decode_options): Use a dummy display name under
1355 NS/Cocoa.
1356
9eb67dd9
CY
13572009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
1358
1359 * ebrowse.c (matching_regexp): Fix OB1 error.
1360
b433a991
GM
13612009-01-05 Glenn Morris <rgm@gnu.org>
1362
1363 * ebrowse.c (version):
1364 * etags.c (print_version):
1365 * rcs2log (Copyright): Update copyright for 2009.
1366
81f82586
CY
13672009-01-01 Chong Yidong <cyd@stupidchicken.com>
1368
1369 * movemail.c (main): Fatal if hard links cannot be created.
1370
fd95644b
DN
13712008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
1372
1373 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
1374 checking.
1375
67c1df01
DN
13762008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
1377
1378 * emacsclient.c: Include syswait.h instead of sys/types.h.
1379
f0131492 13802008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 1381
d4835507
JB
1382 * emacsclient.c (WCONTINUED): New compatibility define
1383 for older systems.
5445ab06 1384
d50299d5
DN
13852008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1386
1387 * emacsclient.c (main): Fix previous change.
1388
52016647
JB
13892008-12-10 Juanma Barranquero <lekktu@gmail.com>
1390
1391 * emacsclient.c (main): Fix mindless breakage where emacsclient
1392 does not work *at all* on Windows, even if it *can* connect.
1393
802bdb3c
DN
13942008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1395
1396 * emacsclient.c (EMACS_DAEMON): Remove definition.
1397 (decode_options): Do not allow an empty alternate_editor on
1398 WINDOWSNT.
1399 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
1400 (start_daemon_and_retry_set_socket): Likewise.
45ce4570 1401 (main): Fail in case of not being able to connect.
802bdb3c 1402
c3f995a2
JB
14032008-12-10 Juanma Barranquero <lekktu@gmail.com>
1404
1405 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
1406 Changes when EMACS_DAEMON is not defined:
1407 (print_help_and_exit): Don't add daemon information to help.
1408 (start_daemon_and_retry_set_socket): Make a no-op.
1409 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
1410
636b507b
DN
14112008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1412
1413 * emacsclient.c (print_help_and_exit): Describe what an empty
1414 string argument does for --alternate-editor.
1415 (set_socket): Make it possible to not exit in case of an error.
1416 (start_daemon_and_retry_set_socket): New function.
1417 (main): Use it. Restore the NULL value for socket_name and
1418 server_file after the set_socket call.
1419
448d4085
DN
14202008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1421
7b641241 1422 * emacsclient.c: Include <arpa/inet.h>.
448d4085 1423
938ebc4f
DN
14242008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
1425
1426 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
1427
3d864325
GM
14282008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
1429
1430 * etags.c (add_regex): Pass correct length to re_compile_pattern.
1431
48c2dc68
CY
14322008-11-02 Chong Yidong <cyd@stupidchicken.com>
1433
1434 * emacsclient.c (window_system): Delete redundant variable.
1435 (decode_options): Don't use it.
1436 (find_tty): New function.
1437 (main): Use find_tty, and don't use window_system.
1438
d41784ee
EZ
14392008-11-01 Eli Zaretskii <eliz@gnu.org>
1440
1441 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
1442 `ttyname'.
1443 (w32_getenv): Treat $TERM specially: if not found in the
1444 environment and in the Registry, return "w32console".
1445 (ttyname) [WINDOWSNT]: New function.
1446
322ca650
AS
14472008-10-31 Andreas Schwab <schwab@suse.de>
1448
1449 * emacsclient.c (main): Don't force sending tty when in eval mode.
1450
8a8a7cd3
CY
14512008-10-30 Chong Yidong <cyd@stupidchicken.com>
1452
1453 * emacsclient.c (main): If using the current frame, send tty
1454 information to Emacs in case daemon mode needs to occupy this tty.
1455
f8baa639
JB
14562008-10-29 Juanma Barranquero <lekktu@gmail.com>
1457
bc558f3e
JB
1458 * emacsclient.c (EXTRA_SPACE): New macro.
1459 (get_server_config, set_local_socket): Use it.
1460
f8baa639
JB
1461 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
1462 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
1463
f77b11a0
JB
14642008-10-29 Ulrich Mueller <ulm@gentoo.org>
1465
1466 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
1467 instead of hardcoded /tmp.
1468
dc1cd5f7
DN
14692008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
1470
1471 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
1472 (decode_options): Use getopt_long_only.
1473
7a09249b
EZ
14742008-09-30 Eli Zaretskii <eliz@gnu.org>
1475
1476 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
1477 codepage.elc.
1478
997ec957
CY
14792008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
1480
1481 * emacsclient.c (main): Use stdout rather than stdin to obtain the
1482 terminal (bug#427).
1483
0d80bf29
FP
14842008-08-25 Francesco Potortì <pot@gnu.org>
1485
1486 * etags.c (main): Do not use static space for the tagfile string.
1487
34a23e94
FP
14882008-08-17 Francesco Potortì <pot@gnu.org>
1489
1490 * etags.c (main): Use canonicalize_filename on tags file name.
1491 (relative_filename): Revert 3.85: do not collapse slashes here.
1492 (absolute_dirname): Remove useless call to canonicalize_filename.
1493 (canonicalize_filename): Collapse multiple slashes here.
1494
48fad8e8
DN
14952008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
1496
10d1d0af
JB
1497 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
1498 Do not special case for NS_IMPL_COCOA.
48fad8e8 1499
6088b51f 15002008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
f4494e84
AR
1501
1502 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
1503 (.m.o): Dispense with GNUstep-specific flags.
1504
39b8bb9b
CY
15052008-08-05 Ulrich Mueller <ulm@gentoo.org>
1506
1507 * pop.c (socket_connection): Add conditionals for
1508 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
1509 compilation with MIT Kerberos and Heimdal, respectively.
1510
7c2fb837
DN
15112008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
1512
1513 * etags.c:
1514 * emacsclient.c: Remove VMS support.
1515
9e2a2647
DN
15162008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
1517
1518 Remove support for Mac Carbon.
1519 * makefile.w32-in:
1520 * emacsclient.c: Remove code for Carbon.
1521
7f619bab
DN
15222008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
1523
1524 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
1525
32cc3925
AS
15262008-07-17 Andreas Schwab <schwab@suse.de>
1527
1528 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
1529 (LIB_STANDARD_LIBSRC): Don't define.
1530 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
1531
ba60bd44 15322008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
1533
1534 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
1535 NS_IMPL_COCOA.
1536
50863f58
DN
15372008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
1538
ba60bd44
JB
1539 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
1540 Remove, unused.
50863f58 1541
ba60bd44 15422008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
1543
1544 * .cvsignore: Add mac-fix-env.
1545 * mac-fix-env.m: New file, automatically update
1546 ~/.MacOSX/environment.plist on OS X systems to expose environment
1547 variables inside Emacs started from icon.
1548 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
1549 programs to build.
1550 * make-docfile.c: Add .m to list of file extensions.
1551
bba104c1
DN
15522008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
1553
1554 * movemail.c (main): Use int instead of WAITTYPE.
1555
da007124
JB
15562008-07-05 Juanma Barranquero <lekktu@gmail.com>
1557
1558 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
1559 Remove vmsproc.el and vms-patch.el.
1560
c9fc02c7
JB
15612008-06-26 Juanma Barranquero <lekktu@gmail.com>
1562
1563 * makefile.w32-in (obj): Remove w32bdf.o.
1564
f2a77c3a
DN
15652008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
1566
1567 * fakemail.c: Remove references to obsolete variables.
1568
c2cd06e6
JM
15692008-06-02 Jim Meyering <meyering@redhat.com>
1570
e914c409 1571 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 1572
e914c409 1573 Remove useless if-before-free tests.
70fdbb46
JM
1574 * ebrowse.c (xfree): Likewise.
1575 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 1576 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 1577 * pop.c (pop_quit): Likewise.
c2cd06e6 1578
01b996ad
JB
15792008-05-30 Juanma Barranquero <lekktu@gmail.com>
1580
1581 * makefile.w32-in (lisp2): Add minibuffer.elc.
1582
2926947a
SM
15832008-05-29 Tom Tromey <tromey@redhat.com>
1584
1585 * etags.c (relative_filename): Treat "///" like "/" in filenames.
1586
10fea9c4
EZ
15872008-05-09 Eli Zaretskii <eliz@gnu.org>
1588
1589 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
1590 (IS_DIRECTORY_SEP): New macro.
1591 (convert_time, is_exec, stat): New functions.
1592
86914123
EZ
15932008-05-08 Eli Zaretskii <eliz@gnu.org>
1594
1595 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
1596
58bb7d50
EZ
15972008-05-03 Eli Zaretskii <eliz@gnu.org>
1598
1599 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
1600 corresponding change in src/Makefile.in.
1601
63b9b605
GM
16022008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
1603
1604 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
1605
4429f88c
JR
16062008-04-10 Jason Rumney <jasonr@gnu.org>
1607
1608 * makefile.w32-in (CLIENTRES): New variable and target.
1609 (TRES): Remove.
1610 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
1611
14b11401
SM
16122008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
1615
95de358c
RF
16162008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
1617
1618 * vcdiff: Use mktemp (CVE-2008-1694).
1619
6948400c
JR
16202008-04-09 Jason Rumney <jasonr@gnu.org>
1621
1622 * makefile.w32-in (distclean, maintainer-clean): New targets.
1623
afd27920
GM
16242008-03-13 Glenn Morris <rgm@gnu.org>
1625
1626 * makefile.w32-in (VERSION): Set to 23.0.60.
1627
3d193d0f
JB
16282008-03-04 Juanma Barranquero <lekktu@gmail.com>
1629
1630 * .cvsignore: Add oo.
1631
1797886f
SM
16322008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
1633
1634 * etags.c (Perl_functions): Fix call to skip_spaces.
1635
9d2818d6
DN
16362008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
1637
1638 * Makefile.in (NO_SHORTNAMES):
1639 * emacsclient.c (NO_SHORTNAMES):
1640 * fakemail.c (NO_SHORTNAMES):
1641 * make-docfile.c (NO_SHORTNAMES):
1642 * movemail.c (NO_SHORTNAMES):
1643 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
1644
79d48c1a
JR
16452008-02-23 Jason Rumney <jasonr@gnu.org>
1646
1647 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
1648 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 1649 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
1650 (lisp2): Add new languages.
1651 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
1652
9c61c734
JB
16532008-02-22 Juanma Barranquero <lekktu@gmail.com>
1654
1655 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
1656 malayalam.el, and tamil.el. Add sinhala.el.
1657
50f271cb
JB
16582008-02-20 Juanma Barranquero <lekktu@gmail.com>
1659
1660 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
1661 where NAME is relative to DRIVE'S current directory.
1662
d07529f3
JB
16632008-02-15 Juanma Barranquero <lekktu@gmail.com>
1664
1665 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
1666
45c1955d
DN
16672008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
1668
1669 * fakemail.c: Undo previous change.
1670
deeaffe1
DN
16712008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
1672
4624371d
DN
1673 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
1674 (main): Replace MAIL_PROGRAM_NAME with its value.
1675
d07529f3 1676 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 1677
9997dc15
SM
16782008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1679
1680 * emacsclient.c (decode_options): Pass --display implicitly if -c
1681 is specified. Only set tty if -t or -c is specified.
1682
0c55bf82
JR
16832008-02-04 Jason Rumney <jasonr@gnu.org>
1684
1685 * makefile.w32-in (lisp1): Use (), not {}.
1686
31cdf671
CY
16872008-02-04 Tom Tromey <tromey@redhat.com>
1688
d07529f3
JB
1689 * etags.c: Add "GTY" as synonym for __attribute__.
1690 Update gperf output.
31cdf671 1691
9303f985 16922008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 1693
c4cc8b9a 1694 * makefile.w32-in (obj): Sync with src/Makefile.in.
aca7a3d2
MB
1695 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
1696 (WINNT_SUPPORT): Add term/w32-win.elc.
1697 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
1698
9303f985 16992008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 1700
d07529f3 1701 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 1702
d07529f3 17032008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 1704
290afd83 1705 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
1706 utf-8.elc, and latin-*.el.
1707
0ea5797a
SM
17082008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1709
bcc891c2 1710 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
1711 Allow the -d option under w32 again, for those rare cases where it
1712 actually does make sense.
1713
5ab73228
JB
17142008-01-25 Juanma Barranquero <lekktu@gmail.com>
1715
1716 * emacsclient.c (set_tcp_socket): Don't send "\n" after
1717 the authentication string; there's no need to haste.
1718
702123a8
CY
17192008-01-22 Chong Yidong <cyd@stupidchicken.com>
1720
1721 * pop.c (pop_stat, pop_last): Fix last fix.
1722
76ed5e01
DN
17232008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
1724
1725 * movemail.c: Remove references to XENIX.
1726
e39a993c
DN
17272008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
1728
1729 * movemail.c:
1730 * make-docfile.c: Remove reference to symbols defined by systems
1731 not supported anymore: MAC_OS8, XENIX and STRIDE.
1732
0ebec7d3
EZ
17332008-01-12 Eli Zaretskii <eliz@gnu.org>
1734
1735 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
1736 of DISPLAY in the environment. Don't support -d.
1737 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
1738 (longopts) [WINDOWSNT]: Remove --display.
1739
6eae3ad4
CY
17402008-01-10 Chong Yidong <cyd@stupidchicken.com>
1741
1742 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
1743 conversion. Mistakes spotted by Nico Golde.
1744
78da39c6
GM
17452008-01-09 Glenn Morris <rgm@gnu.org>
1746
1747 * emacsclient.c: Add missing final newlines to message calls.
1748
34a14ec9 17492008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
1750
1751 * emacsclient.c (set_socket): Add final newline to socket error message.
1752
a408ea17
GM
17532008-01-04 Glenn Morris <rgm@gnu.org>
1754
07655e62
JB
1755 * ebrowse.c (version) <emacs_copyright>: New variable.
1756 Just use current year for copyright.
a408ea17
GM
1757
1758 * etags.c (print_version):
1759 * rcs2log (Copyright): Update to 2008.
1760
0dc7a8bc
JR
17612007-11-28 Jason Rumney <jasonr@gnu.org>
1762
1763 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
1764
880820fe 17652007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
1766
1767 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
1768
880820fe 17692007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
1770
1771 * pop.c (socket_connection): Move realhost out of #ifdefs.
1772 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
1773
880820fe 17742007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
1775
1776 * pop.c (socket_connection): Use getaddrinfo if available.
1777
880820fe 17782007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 1779
65841dd8 1780 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 1781 as the defaults in ctags are different from etags.
63f018cd 1782
880820fe 17832007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
1784
1785 * etags.c: Make prototypes for extern definitions, and add all
1786 that are needed to quench warnings on 64-bit.
1787 (main): Use the same defaults for ctags as for etags: find
1788 typedefs, structure tags, macro constants, enum constants, struct
1789 members and global variables.
1790 (make_C_tag) [DEBUG]: Add debugging printout.
1791 (C_entries): In case '}' decrement bracelev before testing it.
1792
7455effc
FP
17932007-11-15 Masatake YAMATO <jet@gyve.org>
1794
1795 * etags.c (C_entries): In case '}', set fvdef to fvnone
1796 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
1797
04a697fe
DN
17982007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
1799
1800 * makefile.w32-in (obj): Remove sunfns.o.
1801
a2666217
JB
18022007-10-28 Juanma Barranquero <lekktu@gmail.com>
1803
1804 * makefile.w32-in (obj): Remove abbrev.o.
1805
7ce8671d
JB
18062007-10-26 Juanma Barranquero <lekktu@gmail.com>
1807
1808 * emacsclient.c: Add a wrapper for getenv so it also checks the
1809 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
1810 Code partially based on w32_get_resource and init_environment (w32.c).
1811 (egetenv): New wrapper for getenv.
1812 (get_current_dir_name, decode_options, get_server_config)
1813 (set_local_socket, set_socket, main): Use egetenv, not getenv.
1814 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
1815
d22b00e5
JR
18162007-10-25 Jason Rumney <jasonr@gnu.org>
1817
1818 * emacsclient.c (sock_err_message): New function.
1819 (set_tcp_socket): Use it.
1820
c4b858e3
JB
18212007-10-09 Juanma Barranquero <lekktu@gmail.com>
1822
1823 * emacsclient.c (print_help_and_exit): Fix space to improve
1824 alignment in output messages.
1825
dbf60b07
JR
18262007-09-27 Jason Rumney <jasonr@gnu.org>
1827
1828 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
1829
1830 * emacsclient.c (w32_window_app): Init common controls when windowed.
1831
165e85b2
GM
18322007-09-21 Glenn Morris <rgm@gnu.org>
1833
1834 * emacstool.c: Remove file.
1835 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
1836 Delete targets built from emacstool.
1837
c1b8e896
SM
18382007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * emacsclient.c (decode_options): -t implies -c.
1841
cb06b8dc
SM
18422007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1843
1844 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
1845 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
1846 (main_argc): Remove.
1847 (strprefix): Use strncmp.
1848
c801ad51
JR
18492007-09-20 Jason Rumney <jasonr@gnu.org>
1850
1851 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
1852
31fa6595
SM
18532007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1854
1855 * emacsclient.c (current_frame): Change the default.
1856 (longopts): Replace --current-frame by --create-frame.
1857 (decode_options): Reverse the meaning of -c.
1858 (print_help_and_exit): Update help text accordingly.
1859 (main): Remove the -version and -good-version messages.
1860
58573230
GM
18612007-09-12 Glenn Morris <rgm@gnu.org>
1862
1863 * Makefile.in (SOURCES, unlock, relock): Delete.
1864
bfd9ce71
GM
18652007-08-29 Glenn Morris <rgm@gnu.org>
1866
1867 * makefile.w32-in (VERSION): Increase to 23.0.50.
1868
8d9cc0b7
MB
18692007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
1870
1871 * emacsclient.c (w32_execvp): Move definition before use.
1872 (decode_options): Don't use a tty on mac carbon or windows.
1873
18742007-08-29 Jason Rumney <jasonr@gnu.org>
1875
31fa6595 1876 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
1877 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
1878 (main): Expand removed macros inline.
1879 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
1880 option.
1881 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
1882
880820fe 18832007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
1884
1885 * emacsclient.c (signal.h): New include.
1886 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
1887 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
1888 Copy definitions here from src/lisp.h.
1889 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
1890 (longopts): Add tty, current-frame.
1891 (xmalloc, xstrdup): New functions.
1892 (get_current_dir_name): New function, copied from src/sysdep.c.
1893 (decode_options): Set display from environment. Add tty and
1894 current_frame options. Make --no-wait imply --current-frame,
1895 except when it is the only option given. Make sure no frame is
1896 opened when --current-frame is set.
1897 (print_help_and_exit): Document tty and current-frame options.
1898 (fail): Change arguments to void.
1899 (main): When sockets are not defined, set main_argc, main_argv,
1900 and call fail() with no arguments.
1901 (emacs_socket): New variable (moved out from main `s').
1902 (quote_file_name): Rename to quote_argument.
1903 (quote_argument): New name for old quote_file_name.
1904 (unquote_argument, strprefix, pass_signal_to_emacs)
1905 (handle_sigcont, handle_sigtstp, init_signals): New functions.
1906 (set_local_socket): Initialize saved_errno to 0. If socket-name
1907 is too long, call `fail' rather than `exit'.
1908 (main): Doc update. Set main_argc, main_argv. New var `str'.
1909 Don't need a filename or argument if tty or window_system set.
1910 Call fail with no arguments. Use get_current_dir_name to send
1911 over the current directory. Send version number to Emacs for
1912 verification. If tty is set, check TERM, and pass name and type
1913 to Emacs. Pass window_system to Emacs. Move sending of eval to
1914 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
1915 fflush. Check for a client/server version match.
1916 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
1917 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
1918 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
1919 environment and pwd to Emacs. Send current-frame to Emacs.
1920
ca4ea90f
EZ
19212007-08-25 Eli Zaretskii <eliz@gnu.org>
1922
1923 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1924 Prepend "-" to the command, in case srcdir=. and file is copied
1925 into itself.
1926
cacc7b51
GM
19272007-07-25 Glenn Morris <rgm@gnu.org>
1928
1929 * Relicense all FSF files to GPLv3 or later.
1930
1931 * COPYING: Switch to GPLv3.
1932
880820fe 19332007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
1934
1935 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
1936 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
1937 (print_help): Use it in if() rather than #if.
1938 (print_help): Conditionally print help about --no-line-directive.
180f5b99 1939
9724908a
EZ
19402007-07-16 Eli Zaretskii <eliz@gnu.org>
1941
1942 * makefile.w32-in (clean): Don't delete *~.
1943
5cf9ca93
GM
19442007-06-07 Glenn Morris <rgm@gnu.org>
1945
1946 * etags.c (print_version): Add `emacs_copyright' string, for
1947 easier automatic updating.
1948
880820fe 19492007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
1950
1951 * etags.c: Extern definitions of some more pointer functions for
1952 standalone compilation, especially important for 64bit platforms.
1953 (main, print_help): --members is now the default for etags.
1954 (C_entries): Parse start of C comment as a space == end of token.
1955 This is not necessary for C++ comment, already parsed as newline.
1956
07016031
GM
19572007-04-26 Glenn Morris <rgm@gnu.org>
1958
1959 * makefile.w32-in (VERSION): Increase to 22.1.50.
1960
7dfc4cda
CY
19612007-06-02 Chong Yidong <cyd@stupidchicken.com>
1962
1963 * Version 22.1 released.
1964
880820fe 19652007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 1966
d620ddb3 1967 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 1968
0971f887
GM
19692007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
1970
1971 * Makefile.in (EMACS, EMACSOPT): New variables.
1972 (blessmail): Use `--no-site-file' when compiling.
1973
880820fe 19742007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
1975
1976 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
1977 (main): Now --members is the default for etags, not for ctags yet.
1978
d881944f 19792007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 1980
47dad44f 1981 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
1982 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
1983 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
1984 import, package, extends, implements and interface to be treated
1985 specially for all kinds of C-style files, not just Java files.
1986
880820fe 19872007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 1988
47dad44f 1989 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
1990 (no_duplicates): Static variables for the above option.
1991 (print_help): Do not print help for --no-warn, now undocumented.
1992 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 1993 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 1994
880820fe 19952006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
1996
1997 * etags.c (readline): When creating a relative file name from a
1998 #line directive, leave the file name alone. The previous
a7c29764 1999 behavior was to make it relative to the tags file directory,
18f9bf25
FP
2000 under the hypothesis that the #line directive file name was
2001 relative to the directory of the tagged file. That hypothesis is
2002 wrong with Cpp and Lex.
17d5f8a6 2003 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 2004
5e059fc1
EZ
20052006-12-22 Eli Zaretskii <eliz@gnu.org>
2006
2007 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
2008 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 2009 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
2010 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
2011 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
2012 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
2013 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
2014 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 2015 (clean): Delete stamp_BLD.
5e059fc1 2016
880820fe 20172006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
2018
2019 * etags.c (C_entries): DEFUN names were longer by one: corrected.
2020
0e0dced5
JB
20212006-12-18 Juanma Barranquero <lekktu@gmail.com>
2022
2023 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
2024 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
2025 (main) [WINDOWSNT]: Remove code to release the focus; call
2026 w32_give_focus instead.
2027
4472aef4
JB
20282006-12-15 Juanma Barranquero <lekktu@gmail.com>
2029
2030 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
2031 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
2032 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
2033 Suggestions and comment by Eli Zaretskii.
2034
12f7728e 20352006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
2036
2037 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
2038 Use $(USER32) for compatibility with Visual Studio .NET 2003.
2039
310afa17
JB
20402006-11-30 Juanma Barranquero <lekktu@gmail.com>
2041
2042 * emacsclient.c (emacs_pid): New variable.
2043 (message): Remove leftover code.
2044 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
2045 focus yet; emacsclient can still display an informational message
2046 before sending requests to Emacs.
2047 (main): Allow Emacs to grab the focus. Simplify message() call.
2048
20492006-11-30 Michael Mauger <mmaug@yahoo.com>
2050
2051 * emacsclient.c (message): Make sure the message is properly
2052 written even if it contains printf escapes, and flush the result.
2053 (set_tcp_socket): Make the message for non-local connections
2054 informational rather than an error.
2055
8c57275b 20562006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
2057
2058 * etags.c (readline): Check for double quote after #line.
2059
880820fe 20602006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
2061
2062 * etags.c (readline): sscanf could in principle return 2.
2063
880820fe 20642006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
2065
2066 * etags.c (readline): lno is unsigned.
2067 (TeX_commands): Use p++ (rather than *p++) to increment p.
2068 (Lua_functions): Explicitly discard LOOKING_AT's return value.
2069
4d91c8f9
JB
20702006-11-27 Juanma Barranquero <lekktu@gmail.com>
2071
2072 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
2073 ($(TRES)): New rule (copied from nt/makefile.w32-in).
2074 ($(BLD)/emacsclientw.exe): Add dependency.
2075
340d34a5
EZ
20762006-11-27 Eli Zaretskii <eliz@gnu.org>
2077
d620ddb3 2078 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 2079
7dce1990
JB
20802006-11-25 Juanma Barranquero <lekktu@gmail.com>
2081
2082 * makefile.w32-in (VERSION): New macro.
2083 (ECLIENT_CFLAGS): Add -DVERSION.
2084
410797a5 20852006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
2086
2087 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
2088
410797a5 20892006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 2090
4472aef4
JB
2091 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
2092 file names with forward slashes.
cb0297bb 2093
30aa95ce
JB
20942006-11-23 Juanma Barranquero <lekktu@gmail.com>
2095
2096 * emacsclient.c (print_help_and_exit): Tweak message contents and
2097 tabs/spaces to improve alignment in message boxes.
2098
42073bfb
JB
20992006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
2100
2101 * emacsclient.c: Include <stdarg.h>.
2102 [WINDOWSNT]: Include <windows.h>.
2103 (w32_check_console_app): New function.
2104 (message): New function.
2105 (decode_options, print_help_and_exit, fail, main)
2106 (initialize_sockets, get_server_config, set_tcp_socket)
2107 (set_local_socket, set_socket): Use message().
2108
32dd9283 21092006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 2110
32dd9283
JR
2111 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
2112 HAVE_INET_SOCKETS.
2113
1bbea9fc
JB
21142006-11-13 Juanma Barranquero <lekktu@gmail.com>
2115
2116 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
2117 ($(BLD)/emacsclientw.exe): New target.
2118 (install): Install emacsclientw.exe.
2119 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
2120 (ECLIENT_CFLAGS): Remove redundant flags.
2121
2122 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
2123
a48db427
JR
21242006-11-13 Jason Rumney <jasonr@gnu.org>
2125
2126 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
2127
21f89bb7 21282006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
2129
2130 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
2131
d5abc12c
JB
21322006-11-08 Juanma Barranquero <lekktu@gmail.com>
2133
ed4a3730
JB
2134 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
2135 FARPROC to avoid a compiler warning.
d5abc12c 2136
18b8c421
JB
21372006-11-07 Juanma Barranquero <lekktu@gmail.com>
2138
88b46d84
JB
2139 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
2140 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
2141
18b8c421
JB
2142 * emacsclient.c (get_server_config): Extract also the Emacs pid
2143 from the server file. On Windows, try to force the Emacs frame to
2144 the foreground.
2145
b03d27bd
JB
21462006-11-06 Juanma Barranquero <lekktu@gmail.com>
2147
21f89bb7 2148 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
2149 option --socket-name.
2150 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
2151 command line options.
21f89bb7 2152 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
2153 (fail): Don't check for missing arguments, it is now done in set_socket.
2154 (file_name_absolute_p): New function (loosely based on the one in
2155 fileio.c).
2156 (initialize_sockets): Don't check for duplicate loading of Winsock.
2157 (get_server_config): Only try relative paths in the default
2158 directory locations.
2159 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
2160 a remote server.
2161 (set_socket): Call INITIALIZE(). Search explicit command-line
2162 arguments, then environment variable EMACS_SERVER_FILE, then implicit
2163 socket paths, before trying the alternate editor.
2164 (main): Use file_name_absolute_p.
2165
b20d6154
EZ
21662006-11-04 Eli Zaretskii <eliz@gnu.org>
2167
2168 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
2169 file if it doesn't already exist.
2170
9c92edca
JB
21712006-11-03 Juanma Barranquero <lekktu@gmail.com>
2172
2173 * emacsclient.c (initialize_sockets): Don't initialize Winsock
2174 more than once.
2175
b6ce9c46
JB
21762006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
2177
2178 * Makefile.in (INSTALL_SCRIPT): New macro.
2179 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
2180
4418616b
JB
21812006-11-02 Juanma Barranquero <lekktu@gmail.com>
2182
2183 * grep-changelog: When called with no arguments (not even a
2184 filter), show help instead of blindingly dumping every single
2185 ChangeLog available. Doc fix. Update version.
2186
1e7823d0
JB
21872006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
2188
2189 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
2190 [!WINDOWSNT]: Include <netinet/in.h> if available.
2191 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
2192 (IOCTL, IOCTL_BOOL_ARG): Remove.
2193 (set_tcp_socket): Don't set the socket in blocking mode.
2194 Remove c_arg.
2195
ebc20ca0
JB
21962006-11-01 Juanma Barranquero <lekktu@gmail.com>
2197
2198 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
2199 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
2200
880820fe 22012006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
2202
2203 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
2204 (close_winsock): Declare as __cdecl.
2205
880820fe 22062006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
2207
2208 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
2209 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
2210 to set the socket in non-blocking mode.
2211
e35fc962
JB
22122006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
2213
d4fa60c8 2214 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
2215 (INVALID_SOCKET): Define.
2216 (initialize_sockets): Put #endif at the right place.
2217 (set_local_socket): Use progname, not argv[0].
2218
ecc54057
JB
22192006-10-31 Juanma Barranquero <lekktu@gmail.com>
2220
2221 * makefile.w32-in (ALL): Add emacsclient.
2222 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
2223 (emacsclient, $(BLD)/emacsclient.exe): New targets.
2224 (install): Install emacsclient.
2225
2226 * emacsclient.c: Add support for TCP sockets.
2227 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
2228 (INITIALIZE): New macros.
2229 (IOCTL_BOOL_ARG): New typedef.
2230 (server_file): New global variable.
2231 (longopts): New option --server-file.
2232 (decode_options): Process new option --server-file and environment
2233 variable EMACS_SERVER_FILE.
2234 (print_help_and_exit): Document new option.
2235 (fail): If no connection available and no alternate editor,
2236 suggest using options to make them explicit.
2237 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
2238 (send_buffer, sblen): New variables.
31fa6595 2239 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
2240 (quote_file_name): Use SEND_STRING.
2241 (close_winsock, initialize_sockets): New functions to load and
2242 unload Winsock.
2243 (get_server_config, set_tcp_socket): New functions to create and
2244 set up TCP sockets.
2245 (set_local_socket): New function to create and set up Unix
2246 socket (code moved from previous implementation).
10d1d0af 2247 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
2248 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
2249 set_local_socket. Use set_socket. Get answers from server.el with
2250 recv(), not file stream functions.
2251
70846e2a
EZ
22522006-10-09 Eli Zaretskii <eliz@gnu.org>
2253
2254 * makefile.w32-in (../src/config.h): Fix error message.
2255
e2247cd0
EZ
22562006-09-30 Eli Zaretskii <eliz@gnu.org>
2257
2258 * .cvsignore: Add blessmail.
2259
45a2056c
JB
22602006-09-15 Jay Belanger <belanger@truman.edu>
2261
2262 * COPYING: Replace "Library Public License" by "Lesser Public
2263 License" throughout.
2264
880820fe 22652006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 2266
ecc54057 2267 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 2268 (readline): Change position on %n and \" in sscanf.
1f4edc37 2269
1520a816
JD
22702006-08-07 Masatake YAMATO <jet@gyve.org>
2271
ecc54057
JB
2272 * etags.c (readline): Expect sscanf returns 2, not 1.
2273
867cc23e
JD
22742006-08-07 Masatake YAMATO <jet@gyve.org>
2275
9984b9d5 2276 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
2277 File ended without newline causes infinite loop.
2278
6088b51f 22792006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
fc185ae6 2280
ecc54057 2281 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 2282
880820fe 22832006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
2284
2285 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
2286 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
2287 (Objc_suffixes): Suggest using --lang=c for full help.
e1dbe924 2288 (C_entries): Initialize savetoken to 0 to shut up the compiler.
fc185ae6 2289
116e754b
AS
22902006-07-20 Andreas Schwab <schwab@suse.de>
2291
2292 * fakemail.c (fatal): Drop second parameter and treat first
2293 parameter as a plain string. Callers changed.
2294
2381d38d
DN
22952006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
2296
2297 * ebrowse.c (usage, version): Mark as NO_RETURN.
2298
2299 * emacsclient.c (print_help_and_exit): Likewise.
2300
880820fe 23012006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
2302
2303 * etags.c (absolute_filename): Free unused space (cosmetic change).
2304 (in_word_set): In C, also tag #undef symbols.
2305
7cb93181
EZ
23062006-06-09 Eli Zaretskii <eliz@gnu.org>
2307
2308 * yow.c: Remove file.
2309
2310 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
2311
2312 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
2313 yow${EXEEXT}: Remove target.
2314
0f29c66d
MY
23152006-06-04 Masatake YAMATO <jet@gyve.org>
2316
63fbb644 2317 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
2318 doesn't exist, is not seekable, not is failed in ftall.
2319
a941b26b
EZ
23202006-06-03 Eli Zaretskii <eliz@gnu.org>
2321
9781fb53
EZ
2322 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
2323 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
2324 ($(BLD)/test-distrib.exe): New targets.
2325 (sorted-doc, digest-doc, test-distrib): New targets.
2326 (install): Install sorted-doc.exe and digest-doc.exe.
2327 ($(BLD)/sorted-doc.$(O)): Update dependencies.
2328
1b178b99
EZ
2329 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2330 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2331 terminal device.
2332
ae85efdb
EZ
2333 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2334 [WINDOWSNT] <top level>: Don't redeclare malloc.
2335 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2336 terminal device.
6088b51f 2337 (main): Initialize bp, to avoid compiler warnings.
ae85efdb 2338
a941b26b
EZ
2339 * makefile.w32-in: Delete traces of leditcfns.c.
2340
2341 * leditcfns.c: Remove file.
2342
880820fe 23432006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 2344
31fa6595
SM
2345 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
2346 Add comments explaining why the "kpop" service is never used.
8a6d5da7 2347
642c61f3
EZ
23482006-05-13 Eli Zaretskii <eliz@gnu.org>
2349
2350 * makefile.w32-in (lisp1): Add fringe.elc.
2351
880820fe 23522006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
2353
2354 * etags.c (Perl_functions): Free space allocated for var package.
2355 (Erlang_functions): Possibly free space allocated for var last.
2356 (Prolog_functions): Possibly free space allocated for var last.
2357
7c47913b
DN
23582006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
2359
7fe8b491
DN
2360 * sorted-doc.c (main): Initialize docs to NULL.
2361
cdeda579
DN
2362 * yow.c (yow): Free buf.
2363
7c47913b
DN
2364 * etags.c: Delete c-indentation-style local variable.
2365
2ef88a94
RS
23662006-04-29 Richard Stallman <rms@gnu.org>
2367
5e5b35c7
RS
2368 * movemail.c (main): Check for negative value from `read'.
2369
2ef88a94
RS
2370 * fakemail.c (read_header): Give fatal error if input has no header.
2371
d65b4235
PE
23722006-04-02 Paul Eggert <eggert@cs.ucla.edu>
2373
2374 * b2m.c (main): Don't include <limits.h>.
2375 (TM_YEAR_BASE): New macro.
2376 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
2377 that s/ files can override this. Use the more-conservative range
2378 1000-9999.
2379 (main): Check for asctime returning NULL.
2380 * fakemail.c: Likewise.
2381
f5565804
PE
23822006-03-27 Paul Eggert <eggert@cs.ucla.edu>
2383
2384 * b2m.c: Include <limits.h>.
2385 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
2386 (main): Check for out-of-range time stamps.
2387 * fakemail.c: Likewise.
2388
90c9c343
AS
23892006-03-18 Andre Spiegel <spiegel@gnu.org>
2390
2391 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
2392 execute $DIFF twice, and once with the wrong options.
2393
a6a2b5d4
EZ
23942006-02-23 Claudio Fontana <claudio@gnu.org>
2395
9e2bcc86
EZ
2396 * Makefile.in (install, uninstall): Add DESTDIR variable to
2397 support staged installations.
a6a2b5d4 2398
ef3f69f9
EZ
23992005-12-30 Eli Zaretskii <eliz@gnu.org>
2400
2401 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
2402 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
2403 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
2404 Rearrange the list to be similar to $(shortlisp) in
2405 src/Makefile.in.
ef3f69f9
EZ
2406 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
2407 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
2408 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
2409 src/Makefile.in.
2410
30cfcf7f
RS
24112005-12-22 Richard M. Stallman <rms@gnu.org>
2412
2413 * Makefile.in (update-game-score.o): Delete spurious final `\'.
2414
ecc54057 24152005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
2416
2417 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
2418 which was never opened.
2419
283879ef 24202005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
2421
2422 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
2423 header files.)
2424
880820fe 24252005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
2426
2427 * etags.c: Preliminary Forth support.
2428 (prolog_pr): Cast strlen to int before comparison.
2429 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
2430 the second argument is indeed a literal string.
b9509712 2431 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
2432
24332005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
2434
2435 * etags.c (longopts, print_help, main): The -a (--append) option
2436 can be used in ctags also; for one, the Linux make file uses it.
2437
41ea4df8
CY
24382005-09-20 Chong Yidong <cyd@stupidchicken.com>
2439
2440 * ebrowse.c (add_sym): Compare namespace names instead of
2441 namespace objects. This prevents the parser from incorrectly
2442 treating classes whose superclass is in another namespace.
2443
5c4757d3
RS
24442005-09-15 Richard M. Stallman <rms@gnu.org>
2445
2446 * Makefile.in (update-game-score.o): New target.
10d1d0af 2447 Compile and link this program separately.
5c4757d3
RS
2448 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
2449
df1b2142
JR
24502005-09-11 Jason Rumney <jasonr@gnu.org>
2451
ecc54057 2452 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 2453 message instead.
31fa6595 2454 (../src/paths.h): Remove.
df1b2142 2455
c638055f
JB
24562005-07-27 Juanma Barranquero <lekktu@gmail.com>
2457
2458 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
2459 generated. Ignore also ctags.c and getopt.h.
2460
2461 * makefile.w32-in (clean): Delete getopt.h.
2462 (getopt.h): New rule.
2463
9eff9fe3
PE
24642005-07-26 Paul Eggert <eggert@cs.ucla.edu>
2465
2466 Merge gnulib getopt implementation into Emacs.
2467
2468 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
2469 (GETOPT_H): New macro, from gnulib.
2470 (getopt.h): New rule, from gnulib.
2471 (GETOPTOBJS): Now autoconfigured.
2472 (GETOPTDEPS): getopt.h is now autoconfigured.
2473 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
2474 (getopt.o): Depend on ${srcdir}/gettext.h.
2475 (movemail.o): Depend on $(GETOPT_H).
2476 * getopt.c, getopt1.c: Sync from gnulib.
2477 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
2478 * getopt.h: Removed (now is getopt_.h).
2479
ec641d50
KR
24802005-07-13 Ken Raeburn <raeburn@gnu.org>
2481
0e0dced5
JB
2482 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
2483 (sendline): Add the \r\n to the line in a temporary buffer, and write
2484 it all at once.
ec641d50 2485
a0ec7a4a
LK
24862005-07-04 Lute Kamstra <lute@gnu.org>
2487
2488 Update FSF's address in GPL notices.
2489
0e0dddda
EZ
24902005-06-13 Eli Zaretskii <eliz@gnu.org>
2491
2492 * makefile.w32-in ($(DOC)): Fix last change.
2493
5a77c8e2
EZ
24942005-06-12 Eli Zaretskii <eliz@gnu.org>
2495
2496 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
2497 temacs.exe, and the preloaded *.elc files. This avoids
2498 unnecessary dumping and DOC rebuilding.
2499
1a8fb426
EZ
25002005-06-04 Eli Zaretskii <eliz@gnu.org>
2501
2502 * ntlib.h (fileno): Don't define if already defined.
2503
7235a58f
TTN
25042005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
2505
2506 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
2507 (yow): Use EXIT_FAILURE in case of memory error.
2508
5063dbbf
YM
25092005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2510
2511 * make-docfile.c (DIRECTORY_SEP): New macro.
2512 (IS_DIRECTORY_SEP): Use it.
2513
880820fe 25142005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
2515
2516 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
2517
ba025f6d
YM
25182005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2519
2520 * make-docfile.c: Undo previous change.
2521
a9eedf40
AS
25222005-02-04 Andreas Schwab <schwab@suse.de>
2523
0e0dced5
JB
2524 * movemail.c (fatal): Accept third parameter and pass down to error.
2525 (pfatal_with_name): Pass error string as format parameter instead of
2526 as part of format string.
a9eedf40
AS
2527 (pfatal_and_delete): Likewise.
2528 (main): Adjust call to fatal.
2529 (xmalloc): Likewise.
2530
5a92a9eb
RS
25312005-01-29 Richard M. Stallman <rms@gnu.org>
2532
2533 * movemail.c (popmail): Don't use Errmsg as format string.
2534
e6973a25
ST
25352004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2536
0e0dced5 2537 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 2538
1bb3da38
AS
25392004-12-15 Andreas Schwab <schwab@suse.de>
2540
2541 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
2542 preprocessing to compile time constant.
2543
d4a38fdd
KS
25442004-11-17 Kim F. Storm <storm@cua.dk>
2545
2546 * etags.c: Undo last change.
2547
f2eb41c8
KS
25482004-11-09 Kim F. Storm <storm@cua.dk>
2549
2550 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
2551 silence compiler.
2552
2553 * hexl.c (main): Init local var c to silence compiler.
2554
2555 * etags.c (main, consider_token, C_entries): Add misc switch
2556 default targets to silence compiler.
2557
880820fe 25582004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
2559
2560 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
2561 resulting DOC file can be used on Unix/Mac also.
2562
880820fe 25632004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
2564
2565 * etags.c (main): When relative file names are given as argument,
2566 make them relative to the current working dir, rather than
2567 relative to the output tags file, if the latter is in /dev.
2568
880820fe 25692004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
2570
2571 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
2572 <stdlib.h> is available.
2573 (enum sym_type): New st_C_attribute value for parsing
2574 gcc's __attribute__. Deleted st_C_typespec value.
2575 (gperf, in_word_set): Use gperf 3, options changed. Added the
2576 __attribute__ keyword, removed all the st_C_typespec keywords,
2577 changed attribute for Java to (C_JAVA & !C_PLPL).
2578 (inattribute): New global bool, part of the C state machine.
2579 (cblev): Identifier renamed to bracelev throughout.
2580 (consider_token, C_entries): Numerous changes for making the
2581 parser more robust and adding support for __attribute__.
2582
25832004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
2584
ecc54057 2585 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
2586 Support the Lua scripting language <http://www.lua.org>.
2587
880820fe 25882004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 2589
d57727c9 2590 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
2591 for ease of use.
2592
3751eb00
RS
25932004-07-17 Richard M. Stallman <rms@gnu.org>
2594
2595 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
2596
86d373e6
JB
25972004-06-01 Juanma Barranquero <lektu@terra.es>
2598
2599 * makefile.w32-in (obj): Add image.c.
2600
80e26b66
TTN
26012004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
2602
0e0dced5 2603 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 2604
e6662c8b
JR
26052004-05-08 Jason Rumney <jasonr@gnu.org>
2606
2607 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
2608 command-lines.
2609
65396510
TTN
26102004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2611
2612 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
2613 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
2614 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2615
2616 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
2617 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
2618 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 2619
c2bcfb19
TTN
26202004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2621
2622 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
2623
3f0656ff
TTN
26242004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
2625
2626 * b2m.c (GOOD, BAD): Delete macros. Throughout,
2627 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
2628 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2629
2630 * etags.c: Likewise.
2631
238add5e
JR
26322004-05-03 Jason Rumney <jasonr@gnu.org>
2633
2634 * makefile.nt: Remove.
2635
b09c5608
EZ
26362004-04-26 Eli Zaretskii <eliz@gnu.org>
2637
2638 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
2639 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
2640 instead of a literal '/'.
2641
d814862a
JB
26422004-04-23 Juanma Barranquero <lektu@terra.es>
2643
2644 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
2645
442a2160
PE
26462004-04-17 Paul Eggert <eggert@gnu.org>
2647
2648 * rcs2log (Help): Clarify wording of the usage message.
2649 Problem reported by Alan Mackenzie in
2650 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
2651
d5d66b7e
SM
26522004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2653
2654 * make-docfile.c (xmalloc): Fix return type.
2655 (put_filename): New fun.
2656 (scan_file): Use it.
2657
bdfd0369
JB
26582004-03-09 Juanma Barranquero <lektu@terra.es>
2659
2660 * grep-changelog: Changes to support ChangeLog.10+.
2661 (main): Tidy up usage string. Fix "Use of uninitialized value"
2662 warning. Set version to 0.2. Parse the directory listing to get
2663 any ChangeLog.n file, not just 1..9.
2664 (header_match_p, entry_match_p, print_log, parse_changelog):
2665 Remove Perl prototypes (their purpose is to help the parser, which
2666 isn't needed here, not declare arguments).
2667 (parse_changelog): Make --reverse faster on big batches by not
2668 modifying the entries list.
2669
a64387ee
JB
26702004-03-01 Juanma Barranquero <lektu@terra.es>
2671
2672 * makefile.w32-in (obj): Add fringe.c.
2673
9766d41b
PE
26742004-02-14 Paul Eggert <eggert@twinsun.com>
2675
2676 * rcs2log: Work correctly if CVSROOT specifies :fork: or
2677 :local: methods, or omits the colon between the hostname
2678 and the path. Allow :/ in repository path, since CVS does.
2679 Fix typo: "pository" should be set from $CVSROOT, not $repository.
2680 This fixes a bug reported by Wolfgang Scherer in
2681 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
2682 along with some related bugs I discovered by inspecting how
2683 CVS itself parses $CVSROOT.
2684
880820fe 26852004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
2686
2687 * emacsclient.c (decode_options): Fix handling of alternate editor.
2688
0734b0d0
SM
26892004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * emacsclient.c (main): Don't use the hostname in the socket name.
2692 Look for relative socket names in the /tmp dir rather than in cwd.
2693
2a6fc2d9
RS
26942004-01-24 Richard M. Stallman <rms@gnu.org>
2695
2696 * emacsclient.c (main): Restore errno from saved_errno,
2697 so the error message comes from socket_status.
2698
0734b0d0
SM
26992004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2700
2701 * emacsclient.c (main): Stop if socket name too long.
2702 Only try su-fallback if the socket name was not explicit.
2703 Check socket name length in su-fallback case as well.
2704
152b6e83
AS
27052004-01-08 Andreas Schwab <schwab@suse.de>
2706
2707 * emacsclient.c (main): Save errno from socket_status.
2708
e8228824
AS
27092004-01-04 Andreas Schwab <schwab@suse.de>
2710
2711 * emacsclient.c (main): Fix socket name when using another user.
2712
c9140662
PE
27132003-12-27 Paul Eggert <eggert@twinsun.com>
2714
2715 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
2716 a tag, and if the user has not specified an rlog option.
2717 Adapted from a suggestion by Martin Stjernholm in
2718 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
2719 (Copyright): Update to 2003.
2720
8babaa59
TTN
27212003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
2722
2723 * make-docfile.c (main): For return code, no longer special-case VMS.
2724 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
2725
880820fe 27262003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
2727
2728 * emacsclient.c (quote_file_name): Print the result instead of
2729 returning it. Fix the return type accordingly.
1ae7cf5e
RS
2730 (main): With --eval, if no file name, read from stdin.
2731 Quote file names.
14ef7288 2732
f387bdea
RS
27332003-09-10 Richard M. Stallman <rms@gnu.org>
2734
07655e62 2735 * emacsclient.c (main): Use socket_name.
f387bdea 2736
880820fe 27372003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
2738
2739 * emacsclient.c (socket_name): New variable.
2740 (longopts, decode_options, print_help_and_exit):
2741 Handle --socket-name argument.
2742
0b7e7337
FP
27432003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
2744
783bcffa 2745 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
2746 token len is long enough.
2747
ac06b30b
DL
27482003-08-20 Dave Love <fx@gnu.org>
2749
2750 * Makefile.in: Remove obsolete references to alloca.
2751
32b0a3c6
JB
27522003-07-29 Ken Brush <ken@wirex.com>
2753
2754 * emacsclient.c (main)
2755 * etags.c (suggest_asking_for_help)
2756 * movemail.c (main): Fix having macros in a printf statement.
2757
3867c42d
JB
27582003-05-31 Juanma Barranquero <lektu@terra.es>
2759
2760 * makefile.w32-in (lisp): Fix references to byte-run.el,
2761 float-sup.el and map-ynp.el, which are now in emacs-lisp.
2762
7933722a
DL
27632003-05-22 Dave Love <fx@gnu.org>
2764
2765 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
2766 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
2767
463f55ee
DL
27682003-05-20 Dave Love <fx@gnu.org>
2769
2770 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
2771
2772 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
2773
1b7a835b
JB
27742003-04-27 Oliver Scholz <alkibiades@gmx.de>
2775
0e0dced5 2776 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 2777
eec54bd7
SM
27782003-04-12 Stefan Monnier <monnier@cs.yale.edu>
2779
2780 * emacsclient.c (main): Use new safe location for socket.
2781
ff4bd681
JB
27822003-03-12 Tom Tromey <tromey@redhat.com>
2783
eec54bd7
SM
2784 * emacsclient.c (print_help_and_exit): Print to stdout.
2785 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
2786 (decode_options): Don't call print_help_and_exit in default case.
2787 Print version information to stdout.
2788 (main): Don't call print_help_and_exit.
2789
dd132e44
RS
27902003-02-15 Richard M. Stallman <rms@gnu.org>
2791
2792 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 2793 Don't include stdlib.h, because config.h does.
dd132e44 2794 (malloc, realloc): Declarations deleted.
ff4bd681 2795
dd132e44
RS
2796 * yow.c (yow): Cast result of malloc and realloc.
2797 (malloc, realloc): Declarations deleted.
2798
71ffc53a
JB
27992003-02-11 Juanma Barranquero <lektu@terra.es>
2800
2801 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
2802
0dfd93c0
AS
28032003-02-08 Andreas Schwab <schwab@suse.de>
2804
2805 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
2806 instead of the substitution.
2807
37d1e680
RS
28082003-02-04 Richard M. Stallman <rms@gnu.org>
2809
2810 * update-game-score.c (push_score, read_scores): Cast values
2811 of malloc and realloc.
2812 (main, lock_file): Avoid assignment inside if.
2813
c60ee5e7
JB
28142003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
2815
2816 * Makefile.in: Use @EXEEXT@ for Cygwin.
2817
b24e2dc7
DL
28182003-01-21 Dave Love <fx@gnu.org>
2819
2820 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
2821 column-0 `('.
2822
2823 * yow.c: Don't include string.h.
2824
675d000f
RS
28252003-01-20 Richard M. Stallman <rms@gnu.org>
2826
2827 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2828 New targets.
2829
207aa3ff
KS
28302003-01-06 Kim F. Storm <storm@cua.dk>
2831
31fa6595 2832 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
2833 All uses changed.
2834
cf6d30d7
AI
28352002-12-18 Andrew Innes <andrewi@gnu.org>
2836
2837 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
2838 because GNU make doesn't append when using >> redirection.
2839
f0131492 28402002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
2841
2842 * b2m.pl: Make sure every message ends with a blank line, because
2843 some mbox parsers require a blank line before "From " lines.
2844
85cce843
RS
28452002-12-08 Richard M. Stallman <rms@gnu.org>
2846
2847 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
2848 (_): Test only HAVE_LIBINTL_H to decide what to do.
2849
2ccc4d34
RS
28502002-12-05 Richard M. Stallman <rms@gnu.org>
2851
2852 * getopt.c: Comment out include of libintl.h or gettext.h.
2853
c5992177
RS
28542002-12-04 Richard M. Stallman <rms@gnu.org>
2855
2856 * Update getopt from gnulib version; changes described below.
2857
2858 * getopt1.c: Conditionally find getopt.h.
2859 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
2860
2861 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
2862 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 2863 (wchar.h): Include, maybe.
10d1d0af 2864 (attribute_hidden): Define if not defined.
c5992177 2865 (__getopt_initialized): Use attribute_hidden.
b166dcd8 2866 (__libc_argc, __libc_argv): Rename from original_argc, etc.
d7982012
JB
2867 (__getopt_nonoption_flags, nonoption_flags_max_len)
2868 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
2869 (SWAP_FLAGS): New definitions.
2870 (exchange): Test USE_NONOPTION_FLAGS.
2871 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
2872 (_getopt_internal): Error if argc < 1. New local var print_errors.
2873 Improve test for ambiguous long option.
2874 Add LIBIO support for error message output.
2875 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
2876
2877 * getopt.h: Maybe include ctype.h.
2878 Treat __cplusplus like __STDC__.
2879 (decls): Use __ in arg names.
2880
4b5e69bd
SE
28812002-12-02 Stephen Eglen <stephen@gnu.org>
2882
2883 * emacsclient.c (main): Tell user how to start server within Emacs
2884 if socket could not be found.
2885
19fa03f3
RS
28862002-12-02 Richard M. Stallman <rms@gnu.org>
2887
2888 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
2889
7be215b4
JB
28902002-11-19 Ben Key <bkey1@tampabay.rr.com>
2891
29f538e6
BK
2892 * makefile.w32-in: Fixed a bug that caused the documentation for
2893 the built in function play-sound-internal not to be included in
2894 /etc/DOC.
7be215b4 2895
1998560a
DL
28962002-11-18 Dave Love <fx@gnu.org>
2897
2898 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
2899 fcntl.h, stdarg.h conditionally.
2900 (_GNU_SOURCE, __attribute__): Don't define.
2901 (optarg, optind, opterr): Declare.
2902 (lose, lose_syserr): Use NO_RETURN.
2903 (get_user_id): Use P_.
2904
8b96caf3
RS
29052002-11-17 Richard M. Stallman <rms@gnu.org>
2906
2907 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
2908
59daa29a
DL
29092002-11-14 Dave Love <fx@gnu.org>
2910
2911 * movemail.c (pop_retr): Declare comment.
2912
2913 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7 2914
61b108cc 2915 * Makefile.in (YACC): Delete.
9a007cb7 2916
f1b443bf
AS
29172002-10-19 Andreas Schwab <schwab@suse.de>
2918
2919 * Makefile.in (${archlibdir}): Always create $(gamedir).
2920 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
2921
52402e4f
JB
29222002-10-04 Juanma Barranquero <lektu@terra.es>
2923
2924 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
2925
15dab115
MR
29262002-09-30 Markus Rost <rost@math.ohio-state.edu>
2927
2928 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
2929 completely.
2930
30be2360
SM
29312002-09-27 Stefan Monnier <monnier@cs.yale.edu>
2932
2933 * emacsclient.c: Remove SYSV support.
2934 (eval, display): New vars.
2935 (longopts): Add --eval and --display.
2936 (decode_options): Add -e and -d processing.
2937 (print_help_and_exit): Update the usage string.
2938 (main): Add support for --eval and --display.
3ecdcd59 2939 (main): Always use /tmp and non-qualified hostname.
30be2360 2940
4208da83
SM
29412002-09-25 Stefan Monnier <monnier@cs.yale.edu>
2942
2943 * emacsserver.c: Remove.
2944
3cf8c6aa
SM
29452002-09-17 Stefan Monnier <monnier@cs.yale.edu>
2946
2947 * emacsclient.c (quote_file_name): Quote \n.
2948 (main): Print a final \n when needed.
2949
880820fe 29502002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
2951
2952 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
2953 string that cannot be freed.
2954
880820fe 29552002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
2956
2957 * etags.c (consider_token, C_entries): Switch to C++ parsing when
2958 auto-detection is enabled and the `::' qualifier is met.
2959 (consider_token, C_entries): Several bugs corrected that tagged
2960 some declarations even though --declarations was not used.
2961 (plainc): New macro.
2962 (C_entries): Use it.
2963 (C_entries): Several cosmetic changes.
2964 (C_entries): Invalidate the token is some cases.
2965
880820fe 29662002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 2967
eec54bd7 2968 * etags.c (C_entries): Correct a problem with const C++ funcs.
b166dcd8 2969 (ignoreindent): Rename from noindentypedefs.
09cd1a74
FP
2970 (cjava, cplpl): They are now macros instead of local vars.
2971
880820fe 29722002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
2973
2974 * etags.c (HTML_labels): Tag ID= also.
2975
880820fe 29762002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
2977
2978 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
2979
ecc54057 2980 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
2981 (etags_strcasecmp): Like BSD's, for compatibility.
2982 (strcaseeq): Make it into a macro.
2983
2984 * etags.c (make_tag): Never generate null length tag names.
b166dcd8 2985 (linebuffer_init): Rename from initbuffer. All callers changed.
87046df8
FP
2986 (pattern): Structure renamed to `regexp', member regex renamed to
2987 pattern.
2988 (node_st): Member pat renamed to regex.
eec54bd7
SM
2989 (pattern); New member force_explicit_name, for future use.
2990 Now always set to true, cannot be reset.
87046df8
FP
2991 (add_regex, regex_tag_multiline, readline): Use it.
2992 (main): Free some global structures.
8ee14629 2993 (fdesc): New member `written'.
e1dbe924 2994 (readline, process_file): Initialize it.
87046df8
FP
2995 (put_entries): Set it.
2996 (main): Use it to create entries for files without tags.
2997 (total_size_of_entries): Do not count invalid tags.
87046df8 2998
02ce3e80
SM
29992002-08-19 Stefan Monnier <monnier@cs.yale.edu>
3000
3001 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
3002 for the function name in the usage info.
3003
5fba5c21
CW
30042002-07-31 Colin Walters <walters@gnu.org>
3005
3006 * update-game-score.c (P_): New macro. Use it for all prototypes.
3007 (lose): Don't use varargs.
3008 (lose_syserr): New function.
3009
3010 * update-game-score.c: Change all functions to K&R style.
3011
712eaee0
AS
30122002-07-30 Andreas Schwab <schwab@suse.de>
3013
3014 * Makefile.in (localstatedir): New variable.
3015
f0131492 30162002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
3017
3018 * b2m.pl: Fix regexp for finding return address fields.
3019
1e042160
SM
30202002-07-15 Stefan Monnier <monnier@cs.yale.edu>
3021
3022 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
3023
f0131492 30242002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 3025
02ce3e80 3026 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 3027
880820fe 30282002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
3029
3030 * b2m.pl: New file.
3031
880820fe 30322002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 3033
ecc54057 3034 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
3035 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
3036 (PHP_functions, PHP_functions, Cobol_paragraphs)
3037 (Makefile_targets, Postscript_functions, Texinfo_nodes)
3038 (prolog_pr, erlang_func, erlang_attribute)
3039 (Perl_functions, Perl_functions, Pascal_functions)
3040 (TeX_commands, get_tag): Use make_tag instead of pfnote.
3041 (get_tag): Prototype changed, all callers changed.
3042
880820fe 30432002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 3044
d76132d0
FP
3045 * etags.c: Implement implicit tag names, that is, unnamed tags
3046 whose name is automatically deduced by etags.el. The advantage is
3047 that there is no explicit tag name in most tags, so the size of
3048 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 3049 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
3050 (make_tag): New function (was the disabled function new_pfnote).
3051 (make_C_tag): Use it.
3052
880820fe 30532002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
3054
3055 * etags.c (add_regex): Invalid regexp modifiers are ignored.
3056 (Makefile_targets): Tag variables unless --no-globals.
3057 (LOOP_ON_INPUT_LINES): Serious bug corrected.
3058
880820fe 30592002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
3060
3061 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
3062 (invalidate_nodes): Bug corrected.
3063 (print_help): Better help for regexps.
3064
7a8940da
JB
30652002-06-13 Juanma Barranquero <lektu@terra.es>
3066
3067 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
3068 font-core.elc.
3069
880820fe 30702002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
3071
3072 * etags.c: New multi-line regexp and new regexp syntax.
3073 (arg_type): at_icregexp label removed (obsolete).
3074 (pattern): New member multi_line for multi-line regexps.
3075 (filebuf): A global buffer containing the whole file as a string
3076 for multi-line regexp matching.
3077 (need_filebuf): Global flag raised if multi-line regexps used.
3078 (print_help): Document new regexp modifiers, remove references to
3079 obsolete option --ignore-case-regexp.
3080 (main): Do not set regexp syntax and translation table here.
3081 (main): Treat -c option as a backward compatibility hack.
3082 (main, find_entries): Init and free filebuf.
3083 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 3084 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
3085 (analyse_regex, add_regex): Remove the ignore_case argument, which
3086 is now a modifier to the regexp. All callers changed.
3087 (add_regex): Manage the regexp modifiers.
3088 (regex_tag_multiline): New function. Reads from filebuf.
3089 (readline_internal): If necessary, copy the whole file into filebuf.
3090 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
3091
880820fe 30922002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
3093
3094 * etags.c (add_regex): Better check for null regexps.
3095 (readline): Check for regex matching null string.
6772c8e1 3096 (find_entries): Reorganization.
6861f0e3 3097
880820fe 30982002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
3099
3100 * etags.c (scan_separators): Support all character escape
3101 sequences supported by Gcc.
02ce3e80 3102 (find_entries): Rewind unconditionally.
f0da41a6
FP
3103 (find_entries): Do not call language functions directly, now calls
3104 itself.
e1dbe924 3105 (find_entries): Do general initializations here.
f0da41a6
FP
3106 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
3107 (Ada_getit, Pascal_functions, Pascal_functions)
3108 (prolog_skip_comment): Do not do them here.
3109 (readline_internal): Increment lineno here.
3110 (readline): Conditionally undo readline_internal increment.
3111 (readline): Do not return a value.
3112
880820fe 31132002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 3114
88c71720 3115 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
3116 (enum arg_type): New label at_stdin.
3117 (STDIN): New constant.
3118 (parsing_stdin): New flag.
3119 (longopts): New option --parse-stdin=NAME.
3120 (print_help): Document it.
3121 (main): Handle it.
3122 (process_file): Split into process_file and process_file_name.
3123 (process_file_name): New function.
3124
88c71720 3125 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 3126 (TeX_commands): Skip comments.
10d1d0af 3127 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
3128 (TEX_cmt): Make it a static char and move it before TeX_commands.
3129 (TeX_commands): Shorten the tag to the brace after the name.
3130 (TeX_commands): Names now include the initial backslash.
3131 (TeX_commands): Names do not include numeric args #n.
3132 (TeX_commands): Correct line char number in tags.
61b108cc 3133 (TEX_tabent, TEX_token): Delete.
5526f1f6
FP
3134 (TeX_commands, TEX_decode_env): Streamlined.
3135
880820fe 31362002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
3137
3138 * etags.c (main): Avoid a buffer overrun with sprintf.
3139
a71867c5
RS
31402002-05-30 Richard M. Stallman <rms@gnu.org>
3141
b166dcd8
KC
3142 * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
3143 (LIBS_MOVE): Rename from MOVE_LIBS.
a71867c5 3144
b7e67db6
PE
31452002-05-26 Paul Eggert <eggert@twinsun.com>
3146
3147 Reinstate the following change from 2002-03-22, which was
3148 inadvertently lost on 2002-04-13.
3149
3150 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
3151 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
3152 the latter usage.
3153
5f226e2c
EZ
31542002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
3155
3156 * pop.c (socket_connection): Move the code to resolve the POP
3157 host right before trying to connect with it.
3158
9021bb49
GM
31592002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
3160
3161 * tcp.c: Delete file since the TCP emulation is no longer in use on any
3162 platform.
3163
5167cfda
CW
31642002-04-28 Colin Walters <walters@verbum.org>
3165
3166 * Makefile.in (${archlibdir}): Don't conditionalize on
3167 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
3168 or not we have access to the specified game user.
50496bd9 3169
5167cfda
CW
3170 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
3171 (main): New argument -d, for specifying directory.
3172 (usage): Document.
02ce3e80 3173 (get_user_id): Compute.
61b108cc 3174 (get_home_dir): Delete.
5167cfda
CW
3175 (get_prefix): New function, taken from main.
3176 (main): Check whether or not we are running setuid. Move prefix
3177 computation to get_prefix. Don't call getpwent; we don't need to
3178 any more. Instead, move it to get_user_id().
3179
880820fe 31802002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
3181
3182 * ebrowse.c (skip_initializer): Return void.
3183
973c3c87
CW
31842002-04-23 Colin Walters <walters@verbum.org>
3185
3186 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
3187 space.
3188
880820fe 31892002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 3190
ecc54057 3191 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
3192 (process_file): Print the tags from the nodes as soon as
3193 possible, and delete the nodes. This brings down the memory
3194 occupancy as etags to almost the same level as when the #line
3195 directives were not parsed.
3196 (free_fdesc): New function.
3197 (find_entries): Use it.
3198 (invalidate_nodes): In etags mode, do not just mark the nodes as
3199 invalid, do delete them.
3200
c901ceff
GM
32012002-04-21 Gerd Moellmann <gerd@gnu.org>
3202
3203 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
3204
c42d6dbd
EZ
32052002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
3206
3207 * update-game-score.c: Move config.h before the other headers, to
3208 avoid compiler warnings.
3209
880820fe 32102002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
3211
3212 * etags.c (find_entries): Bug fix in list management.
3213
880820fe 32142002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
3215
3216 * etags.c (get_language_from_filename): Add one argument.
3217 (strcaseeq): New function.
10d1d0af 3218 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
3219 comparison if called with appropriate args.
3220 (find_entries): Try with case insensitive match.
3221 (process_file): Bug fixed.
3222
880820fe 32232002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
3224
3225 * etags.c (find_entries): Delete tags previously obtained from
3226 file xxx.c's #line directives when parsing file xxx.y. This is
3227 generally done for automatically generated files containing
3228 #line directives. This handles the case when xxx.y is tagged
3229 before xxx.c, and the entries of xxx.c pointing to xxx.y should
3230 be discarded.
eec54bd7 3231 (language): Add the metasource member. Initializers changed.
c150db23
FP
3232 (invalidate_nodes): New function.
3233 (readline): Discard lines after having found a #line
02ce3e80 3234 directive pointing to an already tagged file. This handles the
c150db23
FP
3235 case when xxx.y is tagged before xxx.c, and the entries of
3236 xxx.c pointing to xxx.y should be discarded.
3237 (fdesc): New structure for keeping track of input files.
3238 (fdesc): Remove `file' member (a string) and use instead a pointer
3239 to a file description structure.
02ce3e80
SM
3240 (curfile, curfiledir, curtagfname, curlang, nocharno)
3241 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 3242 curfdp, pointers to file description structures.
c150db23
FP
3243 (longopts, main, print_help): Use the CTAGS conditional to include
3244 or exclude options that work on etags or ctags only.
02ce3e80
SM
3245 (process_file, find_entries, pfnote, add_node, put_entries)
3246 (readline): Use fdhead and curfdp.
c150db23
FP
3247 (process_file, find_entries): Do not take an arg string, all
3248 callers changed.
3249
3250 * etags.c (longopts, print_help, main): Test CTAGS to disallow
3251 options that are not right for either etags or ctags.
3252
3253 * etags.c (number_len, total_size_of_entries): Define them also
3254 in CTAGS mode, because gcc does not compile all refs away.
3255
e9d1f248
CW
32562002-04-14 Colin Walters <walters@debian.org>
3257
3258 * update-game-score.c (lock_file): If the lock file is older than
3259 an hour, delete it. Reset attempts to zero if we have to break
3260 the lock.
3261
7605f1bd
AS
32622002-04-14 Andreas Schwab <schwab@suse.de>
3263
3264 * update-game-score.c (read_score): Fix type of second parameter
3265 of getdelim to be of type size_t instead of int. Use 0 instead of
3266 ESUCCES.
3267
e82defd1
CW
32682002-04-10 Colin Walters <walters@verbum.org>
3269
ecc54057 3270 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
3271 (MAX_DATA_LEN, MAX_SCORES): New.
3272 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
3273 default to ~/.emacs.d/games.
3274 (get_user_id): Don't zero uid in the case where we can't get the
3275 username.
3276 (lose): New function.
3277 (main): Actually use `max', and default it to MAX_SCORES.
3278 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
3279 function.
3280 (read_score): Handle the case of reading unamelen characters, then
3281 finishing. Use mktemp if mkstemp isn't available.
3282 (lock_file, unlock_file): Delete unused versions.
3283 (lock_file): Always sleep, even if we unlinked the lock file.
3284
e82defd1
CW
3285 * Makefile.in (gamedir, gameuser): New variables.
3286 (toplevel, UTILITIES): Add update-game-score.
3287 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
3288
5795b420
CW
32892002-04-07 Colin Walters <walters@verbum.org>
3290
3291 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
3292 (get_user_id): Take struct passwd as an argument.
3293 (get_home_dir): New function.
3294 (main): Read in user information here. Discover home directory if
3295 necessary.
3296 (read_score): Trim newline only in `getline' case.
3297
cd553ffb 32982002-04-05 Colin Walters <walters@debian.org>
c150db23 3299
cd553ffb
CW
3300 * update-game-score.c (toplevel): Include pwd.h.
3301 (struct score_entry): Add username field.
3302 (push_score): Use it.
3303 (get_user_id): New function.
3304 (main): Don't malloc excessively.
3305 (main): Use username field.
3306 (read_score): Read it.
3307 (push_score): Handle it.
07655e62 3308 (write_scores): Write it.
c150db23
FP
3309 (read_score): Handle arbitrary length data.
3310
b74bd4a3
EZ
33112002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
3312
3313 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
3314
fa8bc89d
GM
33152002-03-29 Gerd Moellmann <gerd@gnu.org>
3316
3317 * ebrowse.c (add_declarator, skip_initializer): New functions.
3318 (declaration): Use them.
3319
dd87b4cc
JR
33202002-03-28 Jason Rumney <jasonr@gnu.org>
3321
3322 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
3323
cd553ffb
CW
33242002-03-27 Colin Walters <walters@debian.org>
3325
3326 * update-game-score.c: New file.
3327
dfef6d49
PE
33282002-03-22 Paul Eggert <eggert@twinsun.com>
3329
3330 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
3331 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
3332 the latter usage.
3333
880820fe 33342002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 3335
4fff90e4 3336 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
3337 (Python_functions, PHP_functions): Name tags, for ctags' sake.
3338 (TeX_commands): Name tags. Correction of old disabled code.
3339
3340 * etags.c (curfiledir, curtagfname): New global variables.
e1dbe924 3341 (process_file): Initialize them.
a13d6523 3342 (readline): Canonicalize the name found in #line directive.
893a741e 3343
4fff90e4 33442002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 3345
893a741e
JR
3346 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
3347 compilers that don't optimize out dead code.
3348
880820fe 33492002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
3350
3351 * etags.c: Honour #line directives.
a7c29764 3352 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
3353 (main): Remove some #ifdef in the getopt switch.
3354 (add_node, put_entries): Code added to merge different chunks of
3355 nodes referring to the same file. Currently the tags are just
3356 appended, without any check for duplicates.
3357 (Perl_functions): Do not special case ctags.
3358 (readline): Identify #line directives and do the right thing.
3359 (nocharno, invalidcharno): New global vars.
3360 (process_file): Reset nocharno.
3361 (readline): Set nocharno.
3362 (pfnote): Read nocharno and maybe put invalidcharno in node.
3363 (total_size_of_entries, put_entries): Use invalidcharno.
3364
3365 * etags.c: Keep the whole tag table in memory, even in etags mode.
3366 (main): Call put_entries here even in CTAGS mode.
3367 (main, process_file): Check the return values of fclose and pclose.
3368 (process_file): Do not call put_entries after parsing each file.
333f9019 3369 (process_file): Canonicalize file names even for ctags.
51aeded3
FP
3370 (process_file): Set curfile here...
3371 (find_entries): ... not here any more.
3372 (add_node): In etags mode, build a linked list of entries (on
3373 right pointer) for each file, and link the first entry of each
3374 file on left nodes.
3375 (put_entries): Print here the name of the file.
3376 (put_entries): Print the entries starting from the first file.
c150db23 3377 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
3378 mode, make the second work only on the right nodes.
3379
3380 * etags.c: Make all global variables static.
3381
50ce1f62
JB
33822002-02-25 Juanma Barranquero <lektu@terra.es>
3383
3384 * makefile.w32-in (lisp): Add missing backslash.
3385
82a399d2
JR
33862002-02-24 Jason Rumney <jasonr@gnu.org>
3387
3388 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
3389 using .elc files.
c4cc8b9a 3390 (lisp): Sync with list in src/Makefile.in.
82a399d2
JR
3391 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
3392
a279c920
PE
33932002-02-10 Paul Eggert <eggert@twinsun.com>
3394
3395 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
3396 disallows the old syntax.
3397
0caa685d
PE
33982002-02-03 Paul Eggert <eggert@twinsun.com>
3399
d7982012 3400 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
3401 (AWK, TMPDIR): Work around portability problem in broken shells that
3402 don't understand `: ${VAR=val}'.
3403 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
3404 Prefer the new -k option to the traditional +M -N option.
3405
880820fe 34062002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
3407
3408 * b2m.c (main): Parenthesize assignment when used as truth value
3409 to prevent gcc warnings.
3410
3411 * fakemail.c: Include <config.h>.
3412
880820fe 34132001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
3414
3415 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
3416 * yow.c: Include <config.h>.
3417
880820fe 34182001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
3419
3420 * etags.c (Perl_functions): Tag packages and use them in sub tags.
3421 (get_tag): Return a pointer to the tag that is found.
3422
3423 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
b166dcd8
KC
3424 (F_takeprec): Rename from takeprec. All callers changed.
3425 (F_getit): Rename from getit. All callers changed.
3426 (nocase_tail): Rename from tail. All callers changed.
3427 (Ada_getit): Rename from adagetit. All callers changed.
eec54bd7 3428 (L_getit): Simplify by using get_tag.
a60e4de9
FP
3429 (Perl_functions, Postscript_functions, erlang_attribute): Use the
3430 modified LOOKING_AT.
e1dbe924 3431 (notinname): Remove '[' and added ')' to the recognized chars.
a60e4de9
FP
3432 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
3433 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
3434 Clarified, using strneq or notinname.
61b108cc 3435 (L_isdef, L_isquote): Remove.
a60e4de9
FP
3436 (Lisp_functions, L_getit): Clarified.
3437
b166dcd8 3438 * etags.c (P_): Rename to __P for consistency with config.h.
a60e4de9
FP
3439 [HAVE_CONFIG_H]: Let config.h deal with __P.
3440 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
3441 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
3442 gperf code needs it.
ecc54057
JB
3443 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
3444 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
3445 (xmalloc, xrealloc): Use PTR instead of long *.
3446 (bool): Make it a define, not a typedef, for C++ compilers.
3447 (pattern): Members renamed to avoid name clash in some C++ compilers.
3448 (get_language_from_langname): Use const argument.
3449
880820fe 34502001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
3451
3452 * makefile.nt, makefile.w32-in: Remove mocklisp files.
3453
880820fe 34542001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 3455
b8509940
PJ
3456 * emacsserver.c: Conditionally include config.h.
3457
594aa066
PJ
3458 * fakemail.c: Likewise.
3459
e69233c2
PJ
3460 * emacsclient.c: Include "config.h", not <../src/config.h>.
3461 (main): Parenthesize assignment when used as truth value to
3462 prevent gcc warnings.
3463
69bfc389
PJ
3464 * ebrowse.c: Include stdlib.h and string.h conditionally.
3465
e4e34e31
EZ
34662001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
3467
3468 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
3469
880820fe 34702001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
3471
3472 * test-distrib.c: Fix previous change.
3473
fb5aa7ac
DL
34742001-12-18 Dave Love <fx@gnu.org>
3475
3476 * test-distrib.c: Conditionally include fcntl.h.
3477
3478 * fakemail.c: Include "config.h", not <../src/config.h>.
3479 (_XOPEN_SOURCE): Define as 500.
3480
3481 * emacsserver.c: Include "config.h", not <../src/config.h>.
3482
3483 * cvtmail.c: Include config.h, stdlib.h.
3484 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
3485
3486 * yow.c: Conditionally include various headers. Use "epaths.h",
3487 not <../src/epaths.h>.
3488 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
3489
880820fe 34902001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 3491
13dc0576 3492 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
3493 (LOOKING_AT): New macro.
3494 (Perl_functions, Python_functions, PHP_functions)
3495 (Scheme_functions, Texinfo_nodes): Use it.
3496 (Perl_functions): Use strneq.
b166dcd8 3497 (prolog_pred): Rename to prolog_pr.
e1dbe924 3498 (prolog_pr): Recognize Prolog rules in addition to predicates.
e94a3679 3499 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 3500 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
3501 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
3502
34e39c95
RS
35032001-12-11 Richard M. Stallman <rms@gnu.org>
3504
3505 * Makefile.in (clean): Don't delete ../etc/DOC*.
3506
880820fe 35072001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
3508
3509 * COPYING: Moved back.
3510
76054cc8
AI
35112001-11-30 Andrew Innes <andrewi@gnu.org>
3512
e94a3679
FP
3513 * makefile.w32-in (FACE_SUPPORT):
3514 (MOUSE_SUPPORT):
3515 (FLOAT_SUPPORT):
3516 (WINNT_SUPPORT):
76054cc8
AI
3517 (lisp): Reference .el files instead of .elc files, to simplify
3518 bootstrapping.
3519 ($(DOC)): Change dependency to just `make-docfile'.
3520
880820fe 35212001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
3522
3523 * COPYING: Removed.
3524
e8d6a09b
PE
35252001-11-28 Paul Eggert <eggert@twinsun.com>
3526
3527 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
3528
3529 The following changes are derived from suggestions by Bob Chapman
3530 <rechapman@compuserve.com>.
3531
3532 * rcs2log (printlogline): Also allow tab and newline to separate
3533 '(function):' from the rest of a comment.
3534 (reformat the sorted log entries): Require date and author to
3535 match the clumpname.
3536
9a190096
GM
35372001-11-16 Gerd Moellmann <gerd@gnu.org>
3538
3539 * ebrowse.c (matching_regexp): Escape '\\'.
3540
880820fe 35412001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
3542
3543 * Makefile.in: Add support for --program-prefix, --program-suffix
3544 and --program-transform-name options.
3545
6d8f7d5d
RS
35462001-11-03 Richard M. Stallman <rms@gnu.org>
3547
3548 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
3549
3550 * movemail.c (popmail): Always pass two args to `error'.
3551
84e70f78
KR
35522001-10-24 Ken Raeburn <raeburn@gnu.org>
3553
3554 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
3555 -lhesiod and maybe -lresolv.
3556 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
3557 support if it's available.
3558
386ca361
MB
35592001-10-21 Miles Bader <miles@gnu.org>
3560
a3b10252
MB
3561 * make-docfile.c (struct rcsoc_state): New type.
3562 (read_c_string_or_comment): Add SAW_USAGE
386ca361 3563 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
3564 Use a variable of type `rcsoc_state' to hold most of our state.
3565 (put_char): Add STATE parameter, and remove all other parameters
3566 except CH. Use STATE to get access to all needed state.
3567 (scan_keyword_or_put_char): New function.
386ca361
MB
3568 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
3569 Don't output a usage-string if there was one in the doc-string.
3570
71431a0e
GM
35712001-10-20 Gerd Moellmann <gerd@gnu.org>
3572
6aa97356 3573 * (Version 21.1 released.)
71431a0e 3574
880820fe 35752001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
3576
3577 * b2m.c: Properly spell the name of Emacs.
3578
945220bd
MB
35792001-10-17 Miles Bader <miles@gnu.org>
3580
3581 * make-docfile.c (put_char): New function.
3582 (read_c_string_or_comment): Strip trailing spaces and newlines.
3583
14242528
MB
35842001-10-16 Miles Bader <miles@gnu.org>
3585
3586 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
3587 comments [with `doc:' keyword prefix].
3588
9f5eb4a3
GM
35892001-10-15 Gerd Moellmann <gerd@gnu.org>
3590
3591 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
3592 in a C doc comment.
3593
e641b454
GM
35942001-10-13 Gerd Moellmann <gerd@gnu.org>
3595
b166dcd8 3596 * make-docfile.c (read_c_string_or_comment): Rename from
e641b454
GM
3597 read_c_string. Add parameter COMMENT. Read C-style comments.
3598 (scan_c_file): Handle doc strings in C comments.
3599
967d7793
AI
36002001-10-12 Andrew Innes <andrewi@gnu.org>
3601
3602 * makefile.nt (ALL): Do not include fakemail.
3603
3604 * makefile.w32-in (install): Do not copy fakemail.
3605
d682756a
JR
36062001-10-10 Jason Rumney <jasonr@gnu.org>
3607
07655e62 3608 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 3609
07655e62 3610 * makefile.nt (install): Ditto.
d682756a 3611
14a3dff7
GM
36122001-10-09 Gerd Moellmann <gerd@gnu.org>
3613
3614 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 3615
95bc7904 3616 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 3617
880820fe 36182001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
3619
3620 * profile.c: Include config.h, not ../src/config.h.
3621 Include systime.h, not ../src/systime.h.
3622
ab952a4f
GM
36232001-10-05 Gerd Moellmann <gerd@gnu.org>
3624
3625 * Branch for 21.1.
dff28924 3626
12c64503
GM
36272001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
3628
3629 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
3630 ALIASEE to help work with namespace aliases.
3631 (struct sym): Remove struct member NAMESP_ALIASES.
3632 (namespace_alias_table): New variable.
3633 (make_namespace): Add parameter CONTEXT.
3634 (check_namespace): New function.
3635 (find_namespace): Add parameter CONTEXT.
3636 (check_namespace_alias): New function.
02ce3e80
SM
3637 (register_namespace_alias): Change type of parameter OLD_NAME.
3638 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
3639 (check_namespace): New function.
3640 (enter_namespace): Call find_namespace with CONTEXT parameter.
3641 (match_qualified_namespace_alias): New function.
eec54bd7 3642 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 3643 While parsing qualified ident or type update namespace context and
12c64503 3644 restore it on exit.
eec54bd7
SM
3645 (parse_qualified_param_ident_or_type): Fix typo in comment.
3646 (globals): Change handling of namespace aliases.
3647 (version): Add year 2001.
12c64503 3648
990e1190
FP
36492001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
3650
3651 * etags.c (analyse_regex): If regex_arg is NULL, return
3652 immediately after a call to free_patterns.
3653
f2e7e23e
AS
36542001-09-05 Paul Eggert <eggert@twinsun.com>
3655
3656 * rcs2log (Help, mainline code): Add new option -L FILE.
3657 (Copyright): Update year.
02ce3e80
SM
3658 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
3659 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
3660 C locale.
3661 (mainline code): Handle nonstandard -u option differently, by
3662 transforming it to standard form. Check for "Working file: ", not
3663 "Working file:". Allow file names with spaces.
3664 (SOH, rlogfile): New shell vars.
dff28924 3665 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
3666 rlogfile.
3667
3668 Append ';;' to the last arm of every case statement, for
3669 portability to ancient broken BSD shells.
3670
02ce3e80 3671 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
3672 (pository): New var. This fixes some bugs where repositories are
3673 remote, or have trailing slashes.
02ce3e80 3674 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 3675 about that possibility.
dff28924 3676 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 3677 the output.
dff28924 3678
75c911eb
EZ
36792001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3680
3681 * ebrowse.c (SEEK_END): #define if not defined by system headers.
3682 Suggested by Dave Love <d.love@dl.ac.uk>.
3683
5ae10f4a
EZ
36842001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3685
3686 * makefile.nt (lisp): Synchronize with src/Makefile.in.
3687 * makefile.w32-in (lisp): Ditto.
3688
0e4011d8 36892001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
3690
3691 * grep-changelog (parse_changelog): Remove unused local variable.
3692
3693 * grep-changelog (main): Add new option --reverse.
3694 (print_log): Use it.
3695 (parse_changelog): Use it.
3696
3c88ae74
GM
36972001-07-20 Gerd Moellmann <gerd@gnu.org>
3698
3699 * grep-changelog: Remove RCS Id keyword.
3700
41848daa
GM
37012001-07-20 Juanma Barranquero <lektu@terra.es>
3702
6e07c0a5
GM
3703 * grep-changelog (parse_changelog): Add tests for defined values
3704 to quiet warning from Perl 5.005 or above.
177ab8ce 3705 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
3706 argument to prevent duplicate headers.
3707
3708 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 3709
467f1209
GM
37102001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
3711
3712 * emacsclient.c (print_help_and_exit): Fix help message for
3713 +LINE:COLUMN option.
3714
37152000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 3716
467f1209
GM
3717 * emacsclient.c (main): Add support for +LINE:COLUMN command line
3718 argument.
3719
bb24c64f
GM
37202001-07-16 Gerd Moellmann <gerd@gnu.org>
3721
3722 * ebrowse.c (main): Check that the output file exists and
3723 is non-empty if invoked with `--append'.
3724
880820fe 37252001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 3726
e335b66a
GM
3727 * etags.c (add_regex): Reset the whole newly allocated pattern
3728 buffer instead of the individual members. It's safer and works
ecc54057 3729 with XEmacs.
fa829470 3730
e335b66a 3731 * etags.1: Markups corrected.
fa829470 3732
6da5c7da
GM
37332001-05-08 Gerd Moellmann <gerd@gnu.org>
3734
02ce3e80 3735 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 3736
efbecf9d
GM
37372001-05-03 Gerd Moellmann <gerd@gnu.org>
3738
3739 * ebrowse.c (globals): Fix handling of namespace aliases.
3740
f4976ebc
EZ
37412001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
3742
3743 * etags.c (print_help): Enclose the regexp in the help text
3744 example in quotes.
3745
23431241
DL
37462001-04-05 Dave Love <fx@gnu.org>
3747
3748 * emacsclient.c (fail): Don't return a value.
fa829470 3749 (main): Cast uid values for sprintf.
23431241 3750
476bf681
GM
37512001-04-03 Gerd Moellmann <gerd@gnu.org>
3752
b3f6107b
GM
3753 * emacsclient.c (fail, main): Don't use implicit int return type.
3754
476bf681
GM
3755 * b2m.c (main): Always return a value.
3756
ef53d75e
GM
37572001-03-02 Gerd Moellmann <gerd@gnu.org>
3758
3759 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
3760 freshly allocated object in *LAST_ID.
3761 (read_line): Accept \r\n line endings.
3762
425de386
AI
37632001-02-24 Andrew Innes <andrewi@gnu.org>
3764
3765 * makefile.w32-in: Fix copyright notice.
3766
880820fe 37672001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
3768
3769 * etags.c (enum sym_type): New label st_C_template.
3770 (gperf input): Use it for switching to C++ from C.
3771 (consider_token): Do it.
e1dbe924 3772 (C_entries): Initialize typdefcblev to quiet compilers.
c2a642c0 3773 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 3774
f6839838
AI
37752001-02-22 Andrew Innes <andrewi@gnu.org>
3776
3777 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
3778 VMS header files.
3779 ($(BLD)\profile.obj): Ditto.
3780
3781 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
3782 VMS header files.
3783 ($(BLD)/profile.$(O)): Ditto.
3784
193fba87
AI
37852001-02-05 Andrew Innes <andrewi@gnu.org>
3786
3787 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
3788 invocation of make-docfile, to work with Windows 2000.
3789
30526cc6
DL
37902001-01-31 Dave Love <fx@gnu.org>
3791
3792 * etags.c (in_word_set): Use `static' in definition (for pcc).
3793
880820fe 37942001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 3795
ecc54057 3796 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
3797 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
3798 (C_entries): Tag token renamed to still_in_token because sunos4
3799 pcc wants to expand it as the token() macro even though it has no
3800 arguments.
3801
914d7258
AI
38022001-01-30 Andrew Innes <andrewi@gnu.org>
3803
3804 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
3805 bug in the Mingw32 assert.h header file.
3806
880820fe 38072001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 3808
ecc54057
JB
3809 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
3810 #define it for the sake of XEmacs.
b28e26be
FP
3811 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
3812 HAVE_CONFIG_H. This change only affects a standalone etags.
3813 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
3814 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
3815 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 3816 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
3817 WINDOWSNT, as this is the correct way to use it.
3818
880820fe 38192001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
3820
3821 * etags.c: Be capable to parse nested struct-like structures.
3822 (structdef, structtag): Struct state machine revisited.
3823 (struct tok): Revisited.
3824 (cstack, nestlev, instruct): New struct and macros.
3825 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 3826 for dealing with nested class names.
8c463abe
FP
3827 (consider_token, make_C_tag, C_entries): Many changes for dealing
3828 with arbitrarily nested structures.
3829 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
3830 (C_entries): Consider templates in C++.
3831 (sym_type): New constant st_C_class for detecting "class" also in
3832 C mode.
3833 (C_AUTO): New macro for automatic detection of C++.
3834 (consider_token): Automatic set C++ mode.
3835 (C_entries): New security check for yacc.
3836 (print_language_names, print_help): Mention the autodetect
07655e62 3837 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
3838 (C_entries): Tag C++ forward declarations if --declarations.
3839 (C_entries): Don't be fooled by things like XDEFUN.
3840 (consider_token): Discard asm pseudo function.
3841
e26f9ced
EZ
38422001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
3843
3844 * etags.c: Add a coding: tag.
3845
a47b7816
GM
38462001-01-26 Gerd Moellmann <gerd@gnu.org>
3847
8c463abe 3848 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
3849 New variables.
3850 (matching_regexp): Use them instead of static variables in
3851 function scope.
3852
880820fe 38532001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa 3854
b166dcd8
KC
3855 * etags.c (struct tok): Rename from struct token.
3856 (token): Rename from tok.
d22a24fa
FP
3857 (structtype): Make it a local variable.
3858 [DEBUG]: Use assert.
3859 (xrnew): Change the synopsis.
b166dcd8 3860 (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
d22a24fa 3861 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 3862 (token): Buffer renamed to line.
d22a24fa 3863 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 3864 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
3865 (linebuffer_setlen): Was grow_buffer, now also sets len.
3866 (consider_token, C_entries, Pascal_functions): Use it.
3867 (C_entries): Preventing problems relative to extern "C".
3868 (C_entries): Can tag more than one variable or func separated by
3869 comma when --declarations is used.
3870 (C_entries): More accurate tagging of members and declarations.
3871 (yacc_rules): Was global, made local to C_entries.
61b108cc 3872 (next_token_is_func): Remove.
d22a24fa
FP
3873 (fvdef): New constants fdefunkey, fdefunname.
3874 (consider_token, C_entries): Use them.
3875 (C_entries): Build proper lisp names for Emacs DEFUNs.
3876
21c2bbe0
GM
38772001-01-22 Gerd Moellmann <gerd@gnu.org>
3878
3879 * ebrowse.c (xfree): New function.
3880 (member, declaration, globals): Use xmalloc instead of alloca.
3881
880820fe 38822001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
3883
3884 * etags.c (print_language_names): Print filenames in addition to
3885 suffixes.
3886
880820fe 38872001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e 3888
b166dcd8 3889 * etags.c (get_language_from_langname): Rename from
47df1a5e 3890 get_language_from_name.
b166dcd8 3891 (get_language_from_filename): Rename from get_language_from_suffix.
eec54bd7 3892 Now first looks for the complete file name.
47df1a5e
EZ
3893 (language): New member char **filenames.
3894 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 3895 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 3896 for makefiles.
13dc0576 3897 (Makefile_targets): New function.
c5e87d10 3898 (Texinfo_nodes): Rename from Texinfo_functions and made
47df1a5e
EZ
3899 it conformant to the style of the rest of the code.
3900
291c7e74
GM
39012001-01-13 Gerd Moellmann <gerd@gnu.org>
3902
3903 * make-docfile.c (write_c_args): Print newlines as spaces.
3904
0dac6924
AI
39052001-01-06 Andrew Innes <andrewi@gnu.org>
3906
3907 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
3908 of *.pdb.
3909
3e99d3b4
GM
39102001-01-03 Paul Eggert <eggert@twinsun.com>
3911
290afd83 3912 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
3913 cause user of rcs2log to overwrite arbitrary files, fixing
3914 a bug reported by Morten Welinder.
3915
3916 Don't put "exit 1" at the end of the exit trap; it's
3917 ineffective in POSIX shells.
3918
d6bb0c0d
GM
39192001-01-02 Gerd Moellmann <gerd@gnu.org>
3920
eec54bd7
SM
3921 * ebrowse.c (yyerror): Change to take two arguments.
3922 Add prototype. Change callers.
d6bb0c0d 3923
d5c00476 39242001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
3925
3926 * ebrowse.c (enter_namespace, main): Cast variables to shut up
3927 compiler warnings.
3928 (yyerror): Change parameter declarations to be of type long, so
3929 that they can take pointers on 64-bit platforms.
3930
3931 * emacsclient.c (main): Remove unused local variable statbfr.
3932 (main) <homedir>: Make its declaration conditional on
3933 SERVER_HOME_DIR, to avoid compiler warnings.
3934
3935 * emacsserver.c (main) <homedir>: Make its declaration conditional
3936 on SERVER_HOME_DIR, to avoid compiler warnings.
3937
3938 * fakemail.c (readline): Cast buffer to "long *" to pacify
3939 over-zealous compilers.
3940
7c89ea61
EZ
39412000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
3942
3943 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
3944
a6768cc5
GM
39452000-12-15 Gerd Moellmann <gerd@gnu.org>
3946
3947 * ebrowse.c (operator_name): Cast argument of isalpha to
3948 unsigned char.
3949
3950 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
3951 Use them throughout instead of ctype functions/macros.
3952 (lowcase): Cast to unsigned char.
3953 (UPCASE): New macro.
3954 (canonicalize_filename): Use UPCASE instead toupper.
3955
3956 * fakemail.c (get_keyword): Make sure that isspace and
3957 similar aren't called with a negative argument.
3958
70de49cc
DL
39592000-12-13 Dave Love <fx@gnu.org>
3960
3961 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
3962
4e8b894c
AI
39632000-12-06 Andrew Innes <andrewi@gnu.org>
3964
3965 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
3966 don't know the real version, and I can't seem to get the quoting
3967 right in all circumstances.
3968
3969 * ebrowse.c (VERSION): Provide default definition, like etags.c
3970 does, because Windows build can't snarf this from version.el.
3971
88257bc8
AI
39722000-11-30 Andrew Innes <andrewi@gnu.org>
3973
3974 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
3975 (install): Ditto.
3976
d19249e7
JR
39772000-11-23 Jason Rumney <jasonr@gnu.org>
3978
3979 * makefile.w32-in: Add targets for ebrowse.exe.
3980 (LOCAL_FLAGS): Add -DVERSION flag.
3981
7df6adc3
DL
39822000-09-25 Dave Love <fx@gnu.org>
3983
3984 * sorted-doc.c: Include config.h.
3985 [!HAVE_STDLIB_H]: Declare malloc.
3986
fe83b953
AI
39872000-09-14 Andrew Innes <andrewi@gnu.org>
3988
3989 * makefile.w32-in: Revert to Unix line endings.
3990
517699ca
DL
39912000-09-04 Dave Love <fx@gnu.org>
3992
3993 * movemail.c (index, rindex): Prototype conditionally.
3994
f8803e97
AI
39952000-09-03 Andrew Innes <andrewi@gnu.org>
3996
3997 * makefile.w32-in: Change to DOS line endings.
3998
f72adc12
EZ
39992000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
4000
4034f3a8 4001 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
4002 [!F_OK]: Provide default definitions only after including both
4003 fcntl.h and unistd.h.
4004
f678f592
DL
40052000-08-29 Dave Love <fx@gnu.org>
4006
4007 * movemail.c: Revert previous change.
4008
5b671d04
EZ
40092000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4010
4011 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
4012
6fa86045
DL
40132000-08-28 Dave Love <fx@gnu.org>
4014
4015 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
4016 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
4017
746d9caf
AI
40182000-08-22 Andrew Innes <andrewi@gnu.org>
4019
4020 * ntlib.h (WIN32): Remove unnecessary definition.
4021 (sleep): Make argument unsigned long.
4022 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
4023
4024 * ntlib.c (sleep): Make argument unsigned long.
4025
4026 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
4027
4028 * makefile.w32-in: New file.
4029
3b541489
EZ
40302000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
4031
4032 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
4033 letter only if it is a drive letter.
4034
e5acf0ca
GM
40352000-07-14 Gerd Moellmann <gerd@gnu.org>
4036
b166dcd8 4037 * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
e5acf0ca
GM
4038
4039 * etags.c (xmalloc, xrealloc): Make externally visible, for use
4040 by alloca.o.
4041
02ce3e80 4042 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 4043
4b92c49a
GM
40442000-07-10 Gerd Moellmann <gerd@gnu.org>
4045
4046 * ebrowse.c (yylex): Accept string literals with newlines in them.
4047 (process_pp_line): Handle case of string literal with newline
4048 in it in replacement text, which counts as continuing the
4049 replacement text in GNU C.
4050
831a6cb0
GM
40512000-07-02 Gerd Moellmann <gerd@gnu.org>
4052
4053 * ebrowse.c (token_string): Add missing tokens.
4054 (parm_list): Handle case of qualified pointers.
4055
53245ee2
DL
40562000-06-23 Dave Love <fx@gnu.org>
4057
4058 * ebrowse.c: Move config.h before other includes (which may use
4059 feature tests).
4060
dcbf2cd2
JM
40612000-06-14 Jim Meyering <meyering@lucent.com>
4062
4063 * grep-changelog: Fix typos in comments. Remove trailing blanks.
4064
f1c7754a
JR
40652000-06-11 Jason Rumney <jasonr@gnu.org>
4066
4067 * makefile.nt: Add targets for ebrowse.
4068
4069 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
4070 compare filenames.
4071
5f1aea9a
GM
40722000-06-06 Gerd Moellmann <gerd@gnu.org>
4073
b166dcd8
KC
4074 * ebrowse.c (ymalloc): Rename from xmalloc.
4075 (yrealloc): Rename from xrealloc.
5f1aea9a 4076
5bf244f1
DL
40772000-05-21 Dave Love <fx@gnu.org>
4078
4079 * movemail.c: Include config.h, not ../src/config.h.
4080 (Errmsg): Bump length.
4081
4082 * pop.c (ERROR_MAX): Increase to 160.
4083
ec82fb2f
GM
40842000-05-04 Gerd Moellmann <gerd@gnu.org>
4085
4086 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
4087
5c922ea7
EZ
40882000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
4089
02ce3e80
SM
4090 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
4091 Define to semi-colon.
5c922ea7 4092 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 4093 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
4094 (process_file): Don't assume that fread always reads as many bytes
4095 as it was told to (DOS-style CR-LF text files fail this logic).
4096 (open_file): Allocate enough space for path->path plus the file
4097 name and the slash.
4098
6142fdcb 40992000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
4100
4101 * etags.c (Texinfo_functions): New function.
4102 (lang_names): Install it.
4103 (Texinfo_suffixes): New variable.
4104
cb9215e4
GM
41052000-04-19 Gerd Moellmann <gerd@gnu.org>
4106
4107 * ebrowse.c (xmalloc, xrealloc): Rewritten.
4108 (declaration): Remove parameter IS_EXTERN.
4109 (class_definition): Remove unused variable.
4110
be0dbdab
GM
41112000-04-09 Gerd Moellmann <gerd@gnu.org>
4112
4113 * Makefile.in (INSTALLABLES): Add ebrowse.
4114 (ebrowse): New target.
4115
4116 * ebrowse.c: New file.
4117
c5aa0fc2
AS
41182000-03-29 Andreas Schwab <schwab@suse.de>
4119
4120 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
4121
d054101f
GM
41222000-03-02 Gerd Moellmann <gerd@gnu.org>
4123
07e99590 4124 * etags.c (lisp_suffixes): Add `LSP'.
d054101f 4125
880820fe 41262000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 4127
eec54bd7 4128 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
4129 space, and use it throughout in place of isspace, thus preventing a
4130 potential signed char to int conversion problem.
10d1d0af 4131 (MSDOS): #undefine before redefining.
71cbb895 4132
880820fe 41332000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
4134
4135 * etags.c (many functions): Add prototypes.
4136
97fa0cc8
DL
41372000-02-10 Dave Love <fx@gnu.org>
4138
4139 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
4140 (erlang_func): Add `static' to definitions to keep pcc happy.
4141
880820fe 41422000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
4143
4144 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
4145 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
4146 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
4147 (getenv, getcwd): Only declare them if necessary.
4148 (EMACS_NAME): New constant macro.
4149 (print_version): Use it.
4150 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 4151
19e262bd 41522000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
4153
4154 * etags.c [WINDOWSNT]: #include <direct.h>
4155
19e262bd 41562000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 4157
19e262bd
FP
4158 * etags.c (all functions): Made them static.
4159 (all functions): Write prototypes.
e4100b7f 4160
55e30d2a
RS
41612000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
4162
4163 * movemail.c (main): Improve error message if can't create lock file.
4164
c60ee5e7 41652000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
4166
4167 * emacsclient.c (socket_status): New function.
02ce3e80 4168 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
4169 for a socket based on the UID associated with the name.
4170
e4936aa9
GM
41712000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
4172
4173 * emacsclient.c: Add option -a EDITOR and environment variable
4174 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
4175
f0131492 41761999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
4177
4178 * movemail.c (popmail): Allow mailbox specifications of the
4179 form `po:username:hostname'.
4180
880820fe 41811999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
4182
4183 * etags.c (_GNU_SOURCE): Define only if undefined.
4184 (get_scheme): Declaration deleted.
02ce3e80 4185 (main): Error was called with an integer as second arg, instead of
e2081362
FP
4186 a char pointer.
4187 (canonicalize_filename): Bug removed.
4188
41891999-11-18 Dave Love <d.love@dl.ac.uk>
4190
4191 * etags.c (C_entries): Rename label `intoken', avoiding K&R
4192 lossage from name clash with macro.
4193
b05d3bee
GM
41941999-11-13 Gerd Moellmann <gerd@gnu.org>
4195
4196 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
4197
cb3a6c48
GM
41981999-11-03 Gerd Moellmann <gerd@gnu.org>
4199
4200 * etags.c (print_help): Change email address to send bugs to.
4201
6088b51f 42021999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
4203
4204 * etags.c: Add suffix psw for PSWrap.
4205 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
4206 (Postscript_functions): Add code for PSWrap.
4207 (Scheme_functions): Use local pointer and new get_tag function.
4208 (get_tag): New name for old get_scheme.
4209 (process_file): Do not free NULL when file does not exist.
4210 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
4211 (C_entries): Modifications that make --members tag even inside
4212 typedefs and C nested structs (one level only).
eec54bd7 4213 (consider_token): Correct a bug which prevented tagging of enum
1c478461 4214 constants.
eec54bd7 4215 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
4216 st_C_ignore. This makes it simpler to work when cblev!=0.
4217
02ce3e80 4218 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
4219 --declarations is used.
4220
4221 * etags.c (C_entries, consider_token): C++ `operator' now is
4222 tagged in most cases.
e1dbe924 4223 As before, :: is not recognized if surrounded by spaces.
1c478461
FP
4224
4225 * etags.c (relative_filename): Account for DOS file names such
4226 that is impossible to make one relative to another.
4227
4228 * etags.c (sym_type): New st_C_extern tag.
4229 (gperf input): Use it for spotting external declarations.
a7c29764 4230 (print_help): Document the new behavior of --declarations.
1c478461
FP
4231 (fvextern): New global variable.
4232 (consider_token, C_entries): Use it.
4233
4234 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
4235 (etags_getcwd): Remove test for WINDOWSNT.
4236
4237 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
4238 foo.cgz, foo.cz, etc.
4239
4240 * etags.c (declarations): New global switch.
4241 (longopts): Describe it.
4242 (print_help): Document it.
4243 (C_entries): Use it.
4244 (process_file): Don't process a file twice.
4245
4246 * etags.c (Fortran_functions): No tags for "procedure".
4247
42481999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
4249
4250 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
4251 non-zero, returns a pointer to where the extension begins; callers
4252 changed.
4253 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
4254 were foo.c.gz.
4255
880820fe 42561999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
4257
4258 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
4259 (fvdev): New constant foperator.
4260 (consider_token): Use it to get "operator" in C++.
4261 (C_entries): Extend length of operator@ function name.
4262 (C_entries): Use foperator when necessary.
4263
4264 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
4265
4266 * etags.c (compressor): New struct for compressed files.
4267 (get_compressor_from_suffix): New function.
4268 (get_language_from_suffix): Use it. Also, semantics changed.
4269 (process_file): Consider compressed files, close file.
4270 (find_entries): Use different call arg for get_language_from_suffix,
4271 don't close file.
4272
4273 * etags.c (main): Call free_tree.
4274 (find_entries): Do not free curfile.
4275 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
4276 (prolog_pred, erlang_func, substitute): Cast strlen to int when
4277 comparing.
4278 (canonicalize_filename): Shut up compiler warning.
4279 (Perl_functions): Make tag significant.
4280
42811999-11-01 Dave Love <d.love@dl.ac.uk>
4282
4283 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
4284 (argument_type): New member at_icregexp.
4285 (lc_trans): New global.
4286 (main): Fill lc_trans. Process -c args.
4287 (add_regex): New arg determining whether to use translation table.
4288 (analyse_regex): New arg. Use it for add_regex.
4289
880820fe 42901999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
4291
4292 * etags.c (init): Cosmetic change: NULL --> '\0'.
4293 (erlang_attribute): Bug corrected (uninitialized variable).
4294 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 4295 corrects a bug. All callers changed.
1c478461
FP
4296 (canonicalize_filename): New function.
4297 (process_file, etags_getcwd, absolute_dirname): Use it.
b166dcd8 4298 (relative_filename, absolute_filename): Remove var shadowing.
1c478461 4299 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 4300 compilers quiet.
1c478461
FP
4301 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
4302
4303 * etags.c (xrnew): New macro. All callers of xrealloc changed.
4304 (language): New typedef (was struct lang_entry).
4305 (curlang): New global variable.
02ce3e80 4306 (node): Typedef renamed from NODE.
1c478461
FP
4307 (linebuffer): New typedef (was struct linebuffer).
4308 (pattern): New typedef (was struct pattern). Some members added.
4309 Now used as element of a linked list.
4310 (patterns, num_patterns): Global variables deleted.
4311 (p_head): New global variable.
a64387ee 4312 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
4313 (get_language_from_name, get_language_from_interpreter)
4314 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 4315 (last_node): New global variable.
02ce3e80
SM
4316 (free_tree, add_node, put_entries, total_size_of_entries):
4317 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
4318 (number_len): Rewritten for elegance.
4319 (token): New typedef replaces TOKEN.
4320 (analyse_regex, add_regex): Rewritten for new functionality.
4321 (free_patterns): New function called from main and add_regex.
4322 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 4323 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
4324 (readline): Rewritten for new functionality.
4325
ecc54057 4326 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
4327 (print_help): --globals is now used for more than C-type languages.
4328 (Perl_functions): Tag global variables ("my" and "local").
4329
4330 * etags.c (print_help): Some messages clarified.
4331 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
4332 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
4333 (Python_functions, Cobol_paragraphs, Pascal_functions)
4334 (Lisp_functions, Postscript_functions, Scheme_functions)
4335 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
4336 (Cobol_paragraphs, Postscript_functions, TeX_functions)
4337 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
4338 of the global variable dbp.
4339 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
4340 standard indentation.
4341
02ce3e80
SM
4342 * etags.c (Python_suffixes, lang_names, Python_functions):
4343 Python support.
1c478461 4344 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
4345 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
4346 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
4347 (prolog_pred, erlanf_func, erlang_attribute): Use them.
61b108cc 4348 (eat_white): Delete.
1c478461
FP
4349
4350 * etags.c (CHAR, init): Keep into account non US-ASCII
4351 characters and compilers with default signed chars.
4352 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
4353 constructs.
ecc54057 4354 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 4355
ecc54057 4356 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
4357 (main): Put interval syntax here.
4358 (add_regex): And remove it from here.
4359
4360 * etags.c (suggest_asking_for_help): Provide a
4361 meaningful help message with and without LONG_OPTIONS.
4362
d07529f3 4363 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
4364 <stdlib.h, string.h>: Don't test MSDOS when including them.
4365 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
4366 (put_entries): Correctly use %ld instead of %d in printf.
4367
d07529f3 4368 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
4369 declare getcwd if HAVE_GETCWD.
4370 (consider_token): Dead break instruction removed.
4371
4ee9629e
PE
43721999-10-19 Paul Eggert <eggert@twinsun.com>
4373
4374 Add support for large files. Merge glibc 2.1.2.
1c478461 4375
4ee9629e 4376 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 4377 * movemail.c, pop.c:
4ee9629e
PE
4378 Do not include <stdlib.h>, as <config.h> does this now.
4379
4380 * b2m.c, emacsserver.c, etags.c, profile.c:
4381 Include <config.h> before any system include files.
1c478461 4382
4ee9629e 4383 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 4384 * test-distrib.c:
4ee9629e
PE
4385 (read, write, open, close): Do not undef.
4386
4387 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
4388 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
4389
4390 * getopt.h: Adopt glibc 2.1.2.
1c478461 4391
93c8d183
DL
43921999-10-15 Dave Love <fx@gnu.org>
4393
4394 * Makefile.in (pop.o): Depend on config.h.
4395
b358f91c
GM
43961999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4397
4398 * pop.c: Use "pop3" as the POP service name on all platforms,
4399 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
4400 has been the standard service name since RFC 1340 was published in
4401 July 1992, so I think it's safe to start using it by default.
4402
362bc2da
DL
44031999-09-27 Dave Love <fx@gnu.org>
4404
4405 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
4406
74e4cb59
PR
44071999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
4408
4409 * make-docfile.c (scan_lisp_file): Fix previous changes;
4410 swallow CRLF like just CR or just LF.
4411
362bc2da
DL
44121999-09-03 Richard Stallman <rms@gnu.org>
4413
4414 * make-docfile.c: Include config.h not ../src/config.h.
4415 (main, fopen, chdir): Add #undef.
4416 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
4417 (scan_lisp_file): Handle \r like \n.
4418
44191999-08-30 Andreas Schwab <schwab@gnu.org>
4420
4421 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
4422
4423 * emacsserver.c: Include <stdlib.h> if available. Don't declare
4424 errno if it's a macro.
4425
4426 * test-distrib.c: Include <unistd.h> if available.
4427
44281999-08-29 Richard Stallman <rms@gnu.org>
4429
4430 * emacsclient.c (print_help_and_exit): Mention --version.
4431
44321999-08-25 Richard M. Stallman <rms@gnu.org>
4433
4434 * emacsclient.c (decode_options): Update version output.
4435 (print_help_and_exit): Update bug report address.
4436
44371999-08-13 Richard M. Stallman <rms@gnu.org>
4438
4439 * emacsclient.c (main): Move the dynamic allocation of
4440 system_name outside of the SERVER_HOME_DIR conditional.
4441 * emacsserver.c (main): Likewise.
4442
44431999-08-10 Gerd Moellmann <gerd@gnu.org>
4444
4445 * grep-changelog: New.
4446 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
4447
44481999-07-12 Richard Stallman <rms@gnu.org>
4449
4450 * Version 20.4 released.
4451
44521999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
4453
1c478461 4454 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
4455
44561999-06-23 Dave Love <fx@gnu.org>
4457
4458 * etags.c (erlang_attribute): Fix undefined variable usage (after
4459 Potorti).
4460
86e888c2 44611999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
4462
4463 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
4464 mapped to _chsize.
4465
44661999-04-29 Richard M. Stallman <rms@gnu.org>
4467
4468 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
4469
44701999-03-30 Dave Love <fx@gnu.org>
4471
4472 * sorted-doc.c (main): Split up tables. Modify the preamble
4473 somewhat.
4474
44751999-03-05 Geoff Voelker <voelker@cs.washington.edu>
4476
4477 * makefile.nt: Remove common multiple file compilation commands.
4478
44791999-02-26 Richard Stallman <rms@gnu.org>
4480
362bc2da
DL
4481 * Makefile.in (yow): Depend on epaths.h, not paths.h.
4482
4483 * yow.c: Refer to epaths.h.
4484
44851999-02-22 Simon Josefsson <jas@pdc.kth.se>
4486
4487 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
4488
44891999-01-27 Andrew Innes <andrewi@gnu.org>
4490
4491 * makefile.nt: Do make version comparison as strings.
4492
44931999-01-25 Richard Stallman <rms@gnu.org>
4494
4495 * emacsclient.c (xmalloc): Fix previous change.
4496
44971999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
4498
4499 * emacsclient.c (xmalloc): Declare to return long.
4500
45011999-01-22 Geoff Voelker <voelker@cs.washington.edu>
4502
4503 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
4504 the case of the drive letter.
4505
45061999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
4507
4508 * emacsserver.c (main): Eliminate arbitrary limit on
4509 length of system_name.
4510
4511 * emacsclient.c (main): Eliminate arbitrary limit on
4512 length of system_name.
4513 (xmalloc): Define unconditionally.
4514
45151999-01-12 Darrin B. Jewell <jewell@mit.edu>
4516
4517 * etags.c (relative_filename): Stop backward search at beginning
4518 of string, since non-Unix systems can have absolute paths with no
4519 initial slash.
4520
45211998-12-08 Geoff Voelker <voelker@cs.washington.edu>
4522
b0b19974 4523 * makefile.nt: Do string comparison of _NMAKE_VER.
362bc2da 4524
c60ee5e7 45251998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
4526
4527 * makefile.nt: Compile multiple source files when possible.
4528
45291998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
4530
4531 * Makefile.in: Replace tabs with spaces
4532 when they might confuse some Make versions.
4533
45341998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
4535
4536 * emacsclient.c (main): Null-terminate system_name.
4537
4538 * emacsserver.c (main): Null-terminate system_name.
4539
45401998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4541
4542 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
4543 an error message from POP, mention that it's from POP, to
4544 distinguish it from local error messages.
4545
45461998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4547
4548 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
4549 order of messages downloaded from a POP server (e.g., if the
4550 server stores messages in mailboxes in reverse order).
4551
45521998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
4553
4554 * Version 20.3 released.
4555
45561998-08-11 Paul Eggert <eggert@twinsun.com>
4557
4558 * rcs2log: Update copyright date and bug report address.
4559 (initialize_fullname): Prefer getent if available.
4560
45611998-07-30 Paul Eggert <eggert@twinsun.com>
4562
290afd83 4563 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 4564 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 4565
362bc2da
DL
45661998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
4567
4568 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
4569
45701998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
4571
4572 * Makefile.in: Properly terminate a comment.
4573
45741998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
4575
4576 * movemail.c (sys_wait): Rename to wait.
4577
4578 * ntlib.h: Undefine _WINSOCKAPI_.
4579
4580 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
4581
45821998-05-30 Geoff Voelker <voelker@cs.washington.edu>
4583
4584 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
4585
45861998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
4587
b166dcd8
KC
4588 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
4589 Force all file i/o to be in binary mode. Include ntlib.h.
362bc2da
DL
4590
45911998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
4592
4593 * make-docfile.c: Include <unistd.h> for chdir.
4594
45951998-04-25 Richard Stallman <rms@psilocin.gnu.org>
4596
4597 * etags.c (TEX_decode_env): Don't free the value getenv returns.
4598
45991998-04-17 Geoff Voelker <voelker@cs.washington.edu>
4600
4601 * makefile.nt (obj): Update with new files in src.
4602 (clean): Delete patch scratch files, optimized compilation dir.
4603
46041998-04-08 Dave Love <fx@gnu.org>
4605
4606 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
4607 Irix6, at least.
4608
46091998-04-06 Andreas Schwab <schwab@gnu.org>
4610
4611 Silence -Wimplicit:
4612 * movemail.c: Move cancelations up. Include <stdlib.h> if
4613 available.
4614 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
4615 (parse_header): Explicitly declare return type.
4616 * emacsserver.c: Include <unistd.h> if available.
4617 (main, handle_signals, perror_1, fatal_error): Explicitly declare
4618 return types. Add forward declarations.
4619 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
4620 Don't declare geteuid.
b166dcd8
KC
4621 (print_help_and_exit): Change return type to void.
4622 Forward declare it.
362bc2da
DL
4623 * b2m.c: Include <stdlib.h> if available.
4624 (main): Explicitly declare return type.
4625
362bc2da
DL
46261998-04-03 Richard Stallman <rms@psilocin.gnu.org>
4627
4628 * etags.c (put_entries): Use %ld.
4629
4630 * b2m.c (fatal): Declare the arg.
4631
46321998-03-26 Richard Stallman <rms@psilocin.gnu.org>
4633
b166dcd8 4634 * pop.c (pop_getline): Rename from getline.
362bc2da
DL
4635
46361998-03-05 Richard Stallman <rms@psilocin.gnu.org>
4637
4638 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
4639 for the utilities.
4640
46411998-01-23 Dave Love <d.love@dl.ac.uk>
4642
4643 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
4644 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
4645 Always make named tags.
4646 (Fortran_functions): Grok BLOCK DATA.
4647
46481998-01-23 Andreas Schwab <schwab@gnu.org>
4649
4650 * movemail.c (main): Fix interwoven brace and cpp conditional
4651 nesting.
4652
362bc2da
DL
46531997-12-03 Paul Eggert <eggert@delysid.gnu.org>
4654
cb438d6e
JB
4655 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
4656 with a '>' any lines starting with "From " read from the POP server,
4657 but leave the code in place, wrapped in #ifdef
362bc2da 4658 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
4659 because it turns out that something is depending on it.
4660 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
4661 Convert the character \037 (^_) at the beginning of a line into
4662 the character '^' followed by the character '_', because otherwise
4663 Emacs can't parse the resulting file as a valid BABYL file.
4664 Change suggested by Paul Eggert <eggert@twinsun.com>.
4665
46661997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4667
4668 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
4669 server to contain embedded nulls.
4670
46711997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 4672
362bc2da
DL
4673 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
4674 quotes with a '>' any lines starting with "From " read from the
4675 POP server, but leave the code in place, wrapped in #ifdef
4676 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
4677 because it turns out that something is depending on it.
4678 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
4679
4680 Convert the character \037 (^_) at the beginning of a line into
4681 the character '^' followed by the character '_', because otherwise
4682 Emacs can't parse the resulting file as a valid BABYL file.
4683 Change suggested by Paul Eggert <eggert@twinsun.com>.
4684
46851997-11-22 Richard Stallman <rms@gnu.org>
4686
4687 * b2m.c: Include getopt.h.
4688 (main): Use getopt_long to handle --version and --help.
4689
4690 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
4691
46921997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4693
b166dcd8
KC
4694 * pop.c (fullwrite): Get rid of an extra call to write.
4695 Problem pointed out by Chiaki Ishikawa.
362bc2da
DL
4696
46971997-10-16 Dave Love <d.love@dl.ac.uk>
4698
ecc54057
JB
4699 * etags.c (L_getit): Always make named tags so that Emacs
4700 completion on symbols containing `:' etc. works.
4701 (get_scheme): Likewise.
362bc2da
DL
4702
47031997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4704
4705 * pop.c: Use system header files instead of declaring C-library
4706 functions explicitly.
4707
47081997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4709
4710 * Version 20.2 released.
4711
47121997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4713
4714 * Version 20.1 released.
4715
47161997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
4717
4718 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
4719
4720 * ntlib.c (getpid): Delete function.
4721
47221997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4723
4724 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
4725
47261997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4727
4728 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
4729 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
4730
47311997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4732
4733 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
4734
47351997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
4736
4737 * profile.c (get_time): Cast arg to fprintf.
4738
4739 * hexl.c (main): Use %08lx instead of %08x in printf because the
4740 variable named addresses is long.
4741
47421997-08-08 Geoff Voelker <voelker@cs.washington.edu>
4743
4744 * makefile.nt (lisp): Update paths to lisp files that have moved.
4745
47461997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
4747
4748 * makefile.nt (ctags.obj): New target.
4749 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
4750
4751 * ntlib.h: Add includes.
4752 Undo definitions of crt routines from config.h.
4753
47541997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4755
4756 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
4757
47581997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4759
4760 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
4761 Kerberos V5 for movemail, including detection of V4 and V5 header
4762 files and libraries.
362bc2da 4763 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 4764 declarations of string functions.
362bc2da 4765 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 4766 V5 API rather than the old one.
362bc2da 4767 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
4768 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
4769 with a constant in a header file.
362bc2da
DL
4770
4771 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
4772 Kerberos V5 for movemail, including detection of V4 and V5 header
4773 files and libraries.
362bc2da
DL
4774
47751997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4776
4777 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
4778
4779 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 4780
362bc2da
DL
47811997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4782
4783 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
4784
47851997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4786
4787 * movemail.c (rindex): Add declaration.
4788
d57727c9 47891997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4790
4791 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
4792 (movemail.exe): Depend upon and link with getopt files.
4793 (obj): Include new source files.
4794 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
4795 (lisp): Include new and reorganized elisp files.
4796
47971997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4798
4799 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
4800
48011997-06-25 Paul Eggert <eggert@twinsun.com>
4802
4803 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
4804
48051997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
4806
4807 * b2m.c (readline): Terminate buffer properly when EOF seen.
4808 Test for valid pointer before dereferencing it.
4809
880820fe 48101997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4811
4812 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
4813 defined inside etags.c if HAVE_CONFIG_H is defined.
4814
880820fe 48151997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4816
ecc54057 4817 * etags.c (logical): Type name changed to bool.
362bc2da
DL
4818 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
4819 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
4820 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
4821 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
4822 (longopts): New long options without short counterpart are
4823 globals, members, no-globals, no-members. Regexp options are now
4824 defined conditionally to ETAGS_REGEXPS.
4825 (print_help): Updated.
4826
880820fe 48271997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4828
4829 * etags.c (C_entries): Use "." instead of "::" for Java.
4830 (consider_token): is_func renamed to is_func_or_var.
4831 (C_entries): is_func renamed to funorvar.
e1dbe924 4832 (C_entries): Initialize tok.named.
362bc2da
DL
4833 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
4834 get rid of "import", "package" and "friend".
b166dcd8
KC
4835 (fvdef): Rename from funcdef. Also some constants renamed.
4836 All users changed.
362bc2da
DL
4837 (C_entries): Make separate tags for variables separated by comma.
4838 (globals, members): New flags.
4839 (main, C_entries): Use them.
4840 (make_C_tag, C_entries): Make tok a global variable.
1c478461 4841
880820fe 48421997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4843
4844 * etags.c (funcdef): New vignore constant.
4845 (consider_token, C_entries): Use it to tag global variables.
4846 (print_help): Update for global variables.
4847 (consider_token, C_entries): Set the len member of token_name.
4848 (prolog_pred): Cleanup according to GNU coding standards.
4849 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
b166dcd8 4850 (prolog_white, erlang_white): Rename to eat_white, callers changed.
362bc2da 4851
880820fe 48521997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4853
4854 * etags.c (CHARS, CHAR): New constant and macro.
4855 (iswhite, begtoken, intoken, endtoken): Use them.
4856 (notinname, _nin, nonam): New macro, array, string.
4857 (init): Cleanup and init _nin.
4858 (new_pfnote): New function.
4859 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 4860 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 4861
880820fe 48621997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4863
4864 * etags.c (C_entries, Pascal_functions): Cleanup.
4865 (TeX_functions): NULL as a function arg needs a cast.
4866 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
4867
880820fe 48681997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4869
4870 * etags.c (TeX_functions): Cleaned up.
61b108cc 4871 (tex_getit): Remove.
362bc2da
DL
4872
48731997-05-13 Paul Eggert <eggert@twinsun.com>
4874
4875 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 4876 non-files within the RCS subdirectory.
362bc2da 4877
880820fe 48781997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4879
4880 * etags.c (C_JAVA): New #define.
4881 (Cjava_suffixes): .java is Java.
4882 (Cjava_entries): New function.
4883 (lang_names): Add Java.
4884 (sym_type): Add st_C_javastruct for Java.
4885 (C_stab_entry): Add `extends' and `implements' keywords.
e1dbe924 4886 (consider_token, C_entries): Recognize Java structures.
362bc2da 4887
880820fe 48881997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4889
7877f373
JB
4890 * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax.
4891 (Postscript_suffixes): .ps is PostScript.
4892 (lang_names): Add postscript.
362bc2da
DL
4893 (Postscript_functions): New function.
4894 (TEX_decode_env): Close minor memory leak.
4895 (just_read_file): Correct the char number of the tag.
4896
48971997-05-11 Paul Eggert <eggert@twinsun.com>
4898
4899 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
4900 Don't prepend $nl since this causes some shells to generate the
4901 empty string when IFS is $nl.
362bc2da 4902 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 4903 PC-based shells mishandle CR.
362bc2da
DL
4904 (initialize_fullname): Set NIS_PATH to the empty string before invoking
4905 nismatch, in case it's set to some nonstandard value.
1c478461 4906
362bc2da
DL
49071997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4908
4909 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
4910 read in separate blocks.
4911
880820fe 49121997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4913
4914 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
4915 (struct linebuffer): New member `len' is the length of the string.
4916 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
4917 Use it instead of strlen.
4918 (TEX_getit): Declare and define unconditionally as static.
4919 (TeX_functions): Use if instead of #if TeX_named_tokens.
4920 (add_regex): Set RE_INTERVALS flag for regex compilation.
4921 (substitute): Code cleanup.
4922 (readline_internal): Code cleanup, set new member `len'.
4923 (readline): Bug corrected.
4924
49251997-04-23 Geoff Voelker <voelker@cs.washington.edu>
4926
4927 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
4928 (obj): Change references of nt*.c files to w32*.c files.
4929
880820fe 49301997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4931
4932 * etags.c (xnew): Add support for debugging with chkmalloc.
4933 (error): Use this instead of printf whenever possible.
e1dbe924 4934 (main): Only call xnew after having initialized progname.
362bc2da
DL
4935 (substitute): Bad memory corruption error corrected.
4936
880820fe 49371997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4938
4939 * etags.c (add_regex): Undo previous change.
4940 (relative_filename): Small memory leak closed.
4941 (absolute_filename): Cleaned up the code, possibly closing a bug.
4942 (absolute_dirname): Always return a newly allocated string.
1c478461 4943
362bc2da
DL
49441997-03-21 Paul Eggert <eggert@twinsun.com>
4945
4946 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
4947 of the form ,*, or *_; they are probably RCS lock files.
4948 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
4949 they are used by rcsfreeze.
4950
880820fe 49511997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4952
2f2c687b 4953 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
4954
49551997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4956
4957 * movemail.c (popmail): Remove some unnecessary function
4958 declarations.
4959 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
4960 into pop_retr, there's no reason to pass in mbx_write, and the
4961 file argument can be declared FILE * explicitly. This fixes a
4962 compilation problem on systems with 64-bit pointers.
4963
49641997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4965
4966 * movemail.c: Delete duplicate inclusion of fcntl.h
4967 and duplicate #undefs of open, read, write, close.
4968
49691997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4970
4971 * movemail.c (main): Do not display "[POP-password]" in the usage
4972 message when movemail is compiled without POP support.
4973 (main, popmail): Add the optional "-p" argument, which causes
4974 movemail to leave mail in the inbox after copying it into the
4975 output file.
1c478461 4976
362bc2da
DL
4977 * Makefile.in (movemail): Link with getopt.
4978
49791997-01-20 Paul Eggert <eggert@twinsun.com>
4980
ecc54057 4981 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
4982 (Copyright, Help, Id): New variables, for above.
4983 (rlog): Use -q option with cvs log, to avoid useless chatter.
4984
4985 Treat logs of "Initial revision" (RCS) or "file F was initially added
4986 on branch B." (CVS) as if they said "New file.", for consistency with
4987 change log entries.
4988
49891997-01-01 Paul Eggert <eggert@twinsun.com>
4990
4991 * vcdiff (PATH): Add /usr/xpg4/bin,
4992 where XPG4 SCCS hangs out in Solaris 2.5.
4993 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
4994
49951996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4996
4997 * etags.c (streq, strneq): Use == NULL rather than !.
4998
49991996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
5000
5001 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 5002 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
5003
5004 * movemail.c: Include maillock.h (conditionally).
5005 Remove a redundant inclusion of <stdio.h>.
5006 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
5007 (main): Add variable spool_name.
5008 Support the usage of maillock and mailunlock to
ecc54057 5009 lock and unlock mailboxes.
362bc2da
DL
5010 (mail_spool_name): New function.
5011
5012 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
5013 movemail to exit with an error status incorrectly on systems which
5014 use lock files rather than a system locking function to lock
5015 mailboxes.
362bc2da
DL
5016
50171996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5018
5019 * pop.c (socket_connection): Free realhost after using it.
5020
880820fe 50211996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5022
5023 * etags.c (C_entries): Test tok.valid. This handles some
5024 particular cases involving function declarations that failed.
5025
50261996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 5027
362bc2da
DL
5028 * pop.c (socket_connection):
5029 gethostbyname may return a pointer to static data.
5030 krb_realmofhost can clobber it. So copy it.
5031
880820fe 50321996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5033
5034 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
5035 must cast it to (char *) because we have no prototypes.
5036 (make_C_tag): Macro deleted, new function.
5037 (C_entries): Calls to make_C_tag macro changed to call function.
5038
880820fe 50391996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5040
5041 * etags.c (grow_linebuffer): New function.
5042 (GROW_LINEBUFFER): Macro deleted. All callers changed.
5043 (make_tag): Macro renamed to make_C_tag. All callers changed.
5044 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
5045 (Prolog_functions): prolog_skip_comment was called with wrong
5046 number of arguments.
6088b51f 5047 (xrealloc): fatal was called with wrong number of arguments.
362bc2da 5048
880820fe 50491996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5050
5051 * etags.c (relative_filename): Bug corrected.
5052 (etags_getcwd): Avoid warning of unused variable.
b166dcd8 5053 (C_entries, consider_token): Add support for enum labels.
362bc2da
DL
5054
50551996-11-03 Paul Eggert <eggert@twinsun.com>
5056
5057 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 5058 repository file names.
362bc2da
DL
5059
50601996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
5061
5062 * emacsserver.c: Fix 1996-09-02 change.
5063
50641996-10-12 Paul Eggert <eggert@twinsun.com>
5065
5066 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 5067 option', since CVS says 'invalid option'.
362bc2da
DL
5068 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
5069 revisions, since some hosts reject 1970-01-01 when east of UTC.
5070 (date): Remove.
5071
50721996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5073
5074 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
5075
880820fe 50761996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5077
5078 * etags.c (print_version): Print copyright info.
5079
5080 * etags.c (print_help): Print the bug reporting address.
5081 (main): Use return as the last instruction, instead of exit.
5082
5083 * etags.c (main): Don't open the tags file in cxref mode.
5084
50851996-09-29 Dave Love <d.love@dl.ac.uk>
5086
5087 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 5088 as well as earlier CVSs and RCS.
362bc2da
DL
5089
50901996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5091
5092 * movemail.c (main): If the lock call fails with EBUSY or
5093 EAGAIN, retry a few times.
5094
50951996-09-25 Paul Eggert <eggert@twinsun.com>
5096
5097 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 5098 whether to append -zLT.
362bc2da
DL
5099
51001996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5101
5102 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
5103 * emacsclient.c, movemail.c: Likewise.
5104
51051996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5106
5107 * emacsclient.c (longopts): Change nowait to no-wait.
5108 (print_help_and_exit): Fix option name; upcase metavars.
5109
51101996-09-06 Erik Naggum <erik@naggum.no>
5111
5112 * emacsserver.c (main): Declare `fromlen' as size_t.
5113
51141996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5115
5116 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
5117
51181996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5119
5120 * emacsclient.c (quote_file_name): Quote with &, not \.
5121 Quote `-' only at start of file name. Terminate the value string.
5122
5123 * emacsserver.c: Include signal.h properly;
5124 delete the duplicate includes for it.
5125
5126 * emacsserver.c: On fatal signal, delete socket-file:
5127 * emacsserver.c: Include signal.h.
ecc54057 5128 (xmalloc, fatal, error): New functions.
362bc2da
DL
5129 (delete_socket, handle_signals): New functions.
5130 (progname, socket_name): New variables.
194d44e7 5131 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
362bc2da
DL
5132
51331996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5134
5135 * emacsclient.c (quote_file_name): New function.
5136 (main, both versions): Use quote_file_name.
5137 (decode_options): Don't return a value.
5138 (main, both versions): Use optind.
5139 Don't check for -nowait here.
1c478461 5140
362bc2da
DL
5141 * emacsclient.c (decode_options): New function.
5142 (main, both versions): Call decode_options.
5143 (print_help_and_exit): New function.
5144 (VERSION): New macro.
5145
5146 * Makefile.in (emacsclient): Link with getopt.
5147 Add -DVERSION so emacsclient knows its version number.
5148
51491996-08-31 Geoff Voelker <voelker@cs.washington.edu>
5150
5151 * makefile.nt (lisp): Include dos-nt.elc.
5152
51531996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5154
5155 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
5156
51571996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5158
5159 * emacsclient.c (both versions): Handle -nowait and --nowait
5160 by sending data to the server.
5161
51621996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5163
5164 * Makefile.in (INSTALL_STRIP): New variable.
5165 (${archlibdir}): Use INSTALL_STRIP.
5166
5167 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
5168 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
5169
5170 * pop.c: Reverse conditional in previous change.
5171
51721996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5173
5174 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
5175
51761996-08-24 Paul Eggert <eggert@twinsun.com>
5177
5178 * rcs2log: Use ISO 8601 date format, with time zone appended
5179 if change-log-time-zone-rule is non-nil, instead of
5180 traditional Unix date format.
5181
5182 (datearg): When computing default from ChangeLog, handle ISO format
5183 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
5184 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 5185 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
5186 "$datearg" option to $rlog.
5187 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
5188 (month_data): Remove `mo'; no longer needed.
10d1d0af 5189 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
5190
5191 Match `revision' line of rlog output more accurately.
5192
5193 Add -c, -v options.
5194
51951996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
5196
5197 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
5198
51991996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5200
5201 * Version 19.33 released.
5202
52031996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5204
5205 * Version 19.32 released.
5206
52071996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
5208
5209 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
5210 computing character positions in source files.
5211
52121996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
5213
5214 * makefile.nt (clean): Use OBJDIR macro.
5215
52161996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5217
5218 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
5219
c60ee5e7 52201996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 5221
ecc54057 5222 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
5223 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
5224 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
5225
52261996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
5227
5228 * ntlib.h: Correct return type of getwd.
5229 * ntlib.c (getwd): Correct return type.
5230
52311996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5232
5233 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
5234 to infile.
5235
52361996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
5237
5238 * makefile.nt: Remove all references to wakeup.
5239
880820fe 52401996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5241
5242 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
5243 explicit, mutable, typename.
5244
52451996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5246
5247 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
5248 streams, one for sending and one for reading the reply.
5249
52501996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5251
5252 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
5253 (wakeup): Target deleted.
5254 (UTILITIES): Delete wakeup and timer.
5255
5256 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
5257
52581996-06-11 Geoff Voelker <voelker@cs.washington.edu>
5259
5260 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
5261 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
5262
52631996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5264
5265 * etags.c (main): Copy cwd when appending slash.
5266
52671996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
5268
5269 * Version 19.31 released.
5270
880820fe 52711996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5272
5273 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
5274 (Pascal_functions): Increase linecharno by the correct number of
5275 chars, inline the GET_NEW_LINE macro and delete its definition.
5276
c60ee5e7 52771996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
5278
5279 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
5280
c60ee5e7 52811996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
5282
5283 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6088b51f 5284 (movemail.exe, fakemail.exe): Now built under Win32.o.
362bc2da
DL
5285
5286 * ntlib.c: Include ntlib.h.
5287 (nt_sleep): Rename to sleep.
5288 (getwd): Return directory.
5289 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
5290 sys_ctime, sys_fopen): New functions.
5291
5292 * ntlib.h: New file.
5293
52941996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5295
b166dcd8 5296 * pop.c (SEND, RECV): Rename from send, recv.
362bc2da
DL
5297 (pop_open, pop_trash): Make the trash_started code unconditional.
5298 (socket_connection): Delete casts to void.
5299
53001996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5301
b166dcd8
KC
5302 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
5303 Definitions copied from lisp.h.
362bc2da
DL
5304
53051996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
5306
5307 * fakemail.c [WINDOWSNT]: Include ntlib.h.
5308
5309 * hexl.c [DOSNT]: Include fcntl.h.
5310 [WINDOWSNT]: Include io.h.
5311 (main) [MSDOS]: Change conditional to DOS_NT.
5312
5313 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
5314 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
5315 [WINDOWSNT]: Include locking.h.
5316 (main): Update usage message. Use IS_DIRECTORY_SEP.
5317 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
5318 (main) [WINDOWSNT]: Invoke locking instead of flock.
5319 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
5320 (main) [MAIL_USE_POP]: Pass password to popmail if used.
5321 Include winsock.h; don't include unix inet headers.
5322 (popmail): Add password argument and pass it to pop_open.
5323 Open output file in binary mode.
5324
5325 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 5326 Macro SOCKET_ERROR undefined.
362bc2da
DL
5327 Don't declare h_errno.
5328 [!WINDOWSNT]: Define macros recv and send.
5329 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
5330 (pop_open) [WINDOWSNT]: Initialize trash_started.
5331 (have_winsock) [WINDOWSNT]: New variable.
5332 (socket_connection) [WINDOWSNT]: Initialize winsock.
5333 (socket_connection): Use closesocket instead of close.
5334 (getline): Use recv instead of read.
5335 (fullwrite): Use send instead of write.
5336 (pop_trash): Use closesocket instead of close.
5337 (pop_trash) [WINDOWSNT]: Cleanup winsock.
5338 Check if being called recursively by sendline.
5339
5340 * pop.h (struct _popserver): New field trash_started.
5341
5342 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
5343
53441996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5345
5346 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
5347
53481996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5349
5350 * etags.c [WINDOWSNT]: Include io.h.
5351
53521996-04-10 Geoff Voelker <voelker@cs.washington.edu>
5353
5354 * makefile.nt (CTAGSOBJ): Compile with regexp support.
5355
53561996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
5357
5358 * hexl.c [DJGPP v2]: Include io.h.
5359 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
5360
5361 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
5362 DJGPP v2.
5363
53641996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5365
5366 * etags.c (absolute_filename): Use absolutefn.
5367
53681996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
5369
5370 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
5371 letter isn't an alphabetic character.
5372 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
5373 (process_file) [DOS_NT]: Convert all slashes to forward style.
5374 (absolute_filename) [DOS_NT]: Emit error message for relative
5375 paths with a drive letter.
5376 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
5377 DOS/NT drive letters which try to reference the parent of the root.
5378 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
5379
53801996-03-27 Geoff Voelker <voelker@cs.washington.edu>
5381
5382 * makefile.nt: Change uses of del to $(DEL).
5383
880820fe 53841996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5385
5386 * etags.c (just_read_file): Reset lineno and charno on entry.
5387
53881996-03-15 Anders Lindgren <andersl@csd.uu.se>
5389
58179cce 5390 * etags.c: Prolog language totally rewritten.
ecc54057 5391 (Prolog_functions): Rewritten from scratch.
61b108cc 5392 (skip_comment, prolog_getit): Remove.
ecc54057
JB
5393 (prolog_skip_comment): New function, like old skip_comment.
5394 (prolog_pred, prolog_atom, prolog_white): New functions.
5395 (erlang_func, erlang_attributes): Forward declarations added.
5396 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 5397
880820fe 53981996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5399
5400 * etags.c (absolutefn): DOS_NT version corrected.
5401 (main): Append "/" to the dir name only if not already there.
5402 (print_help): Explain the absolute/relative file name issue.
1c478461 5403
362bc2da
DL
54041996-03-08 Anders Lindgren <andersl@csd.uu.se>
5405
10d1d0af
JB
5406 * etags.c: New Language Erlang added.
5407 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
5408 (erlang_white): New functions.
362bc2da
DL
5409 (Erlang_suffixes): New suffix list.
5410 (lang_names): Erlang entry added.
5411 (prolog_getit): Accepts headers spanning several lines.
5412 Always name tags.
b166dcd8 5413 (Prolog_functions): Remove incorrect compensation for
362bc2da
DL
5414 newline characters.
5415 (readline_internal): Zero-terminate last line.
5416
54171996-03-20 Mike Long <mike.long@analog.com>
5418
5419 * b2m.c (main): Initialize progname variable before using it.
5420 Quote `username' in From_ header.
5421
54221996-03-18 Geoff Voelker <voelker@cs.washington.edu>
5423
5424 * ntlib.c (getpid): New function.
5425
54261996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5427
5428 * emacsclient.c (main, both definitions):
5429 Print a newline for normal termination.
5430
54311996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
5432
5433 * tcp.c (main): Convert port to network byte order.
5434
54351996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
5436
5437 * pop.c (pop_retrieve, getline): Avoid type clashes.
5438
54391996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
5440
5441 * etags.c (enum sym_type, anonymous enum): Delete final comma.
5442
54431996-01-15 Paul Eggert <eggert@twinsun.com>
5444
5445 * rcs2log (initialize_fullname): Add support for NIS+.
5446 (hostname): Fully qualify the default hostname with the domainname
5447 if the hostname lacks a `.'.
5448
362bc2da
DL
54491996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
5450
5451 * etags.c (consider_token): Fix typo in expression.
5452
54531996-01-04 Paul Eggert <eggert@twinsun.com>
5454
5455 * etags.c (substitute): Fix spelling in message.
5456
54571996-01-03 George V. Reilly <georger@microcrafts.com>
5458
5459 * makefile.nt (etags, ctags): Compile with regexp support.
5460 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
5461 subdirectory exists before compiling.
1c478461 5462
362bc2da
DL
54631996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
5464
5465 * emacsserver.c (main): Do chmod based on existing permission.
5466
54671995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5468
5469 * Makefile.in (install): Turn on read/execute permission.
5470
54711995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5472
5473 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
5474 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
5475
54761995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5477
b166dcd8 5478 * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
362bc2da 5479
880820fe 54801995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
5481
5482 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
5483 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
5484 get_scheme, prolog_getit): Name the tag in ctags mode.
5485 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
5486 (Perl_interpreters): Accept "@PERL@" as an interpreter.
5487 (suggest_asking_for_help): New function.
5488 (main, get_language_from_name): Use suggest_asking_for_help.
5489 (main): Let get_language_from_name make language existence check.
5490 (streq, strneq): Check the arguments #if DEBUG.
5491
880820fe 54921995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
5493
5494 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
b166dcd8
KC
5495 (gperf): Add keywords for Objective C and GNU macros.
5496 (sym_type): Add values to account for Objective C and GNU macros.
362bc2da
DL
5497 (begtk): The '@' character can start a token.
5498 (objdef, methodlen, objtag): New variables for Objective C.
b166dcd8 5499 (consider_token, C_entries): Add code for Objective C.
362bc2da
DL
5500 (plain_C_suffixes): Add .m and .lm for Objective C.
5501 (Yacc_suffixes): Add .ym for Objective yacc.
5502 (GROW_LINEBUFFER): New macro.
5503 (consider_token, C_entries, Pascal_functions): Use the new macro.
5504 (consider_token): Take one more argument. Caller changed.
5505 (consider_token): Use the hashing function to spot GNU macros.
5506 (C_entries): Consider // as a comment start even in plain C for
5507 the sake of Objective C parsing.
5508
880820fe 55091995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 5510
2f2c687b 5511 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 5512 compile with regexp support enabled.
362bc2da
DL
5513
55141995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5515
5516 * Version 19.30 released.
5517
55181995-11-22 Geoff Voelker <voelker@cs.washington.edu>
5519
5520 * makefile.nt (DOC, clean): Don't use switches to del not
5521 supported by Windows 95.
5522
55231995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5524
5525 * Makefile.in (regex.o): Depend on ../src/config.h.
5526
55271995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5528
5529 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
5530 (LOADLIBES): Use LIB_STANDARD.
5531
55321995-11-07 Kevin Gallo <kgallo@microsoft.com>
5533
5534 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
5535 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
5536 Windows 95 conditional.
5537
880820fe 55381995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5539
b166dcd8
KC
5540 * etags.c (get_lang_from_name, get_lang_from_interpreter)
5541 (get_lang_from_suffix): New functions.
362bc2da
DL
5542 (get_language): Function deleted.
5543 (lang_entry): Two members added to struct.
5544 (lang_names): Reflect the new layout of lang_entry.
5545 (print_language_names, main, find_entries): Use the new functions.
5546 (find_entries): Look at the first line for #! if no language.
5547 (C_entries): Invalidate the token when funcdef is reset.
5548 (Perl_functions): New function.
5549 (lang_suffixes): .pl and .pm are Perl suffixes.
5550
880820fe 55511995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5552
5553 * etags.c (lowcase): Use the standard tolower function.
5554 (substitute): Remove some wrong and some useless code related with
a64387ee 5555 escape '\' character in regexp replacement string.
b166dcd8 5556 (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
362bc2da
DL
5557 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
5558 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
5559 .prolog for prolog (.pl removed).
5560 (massage_name, etags_getcwd): Use lowcase instead of tolower.
b166dcd8 5561 (C_entries, find_entries): Add comments about memory leakage.
362bc2da
DL
5562 (add_node): Dead code removed.
5563
55641995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5565
5566 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
5567 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
5568
55691995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5570
5571 * test-distrib.c: Add #undef for open, close, read, write.
5572
55731995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5574
5575 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
5576 [! O_RDONLY]: Define it to zero.
5577 (main): Use O_RDONLY instead of explicit zero.
5578
880820fe 55791995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5580
5581 * etags.c (Pascal_functions): Close comment bug corrected.
5582 (add_node): Correctly compare node file names.
5583 (Pascal_functions): Correctly allocate and free memory for tline.
5584 (pfnote): Put the definition of fp in the innermost block.
5585 (NODE): `named' member removed.
5586 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 5587 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
5588 (pfnote): `named' argument removed, all callers changed.
5589 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
5590 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 5591 removed from pfnote call, some code cleanup.
362bc2da
DL
5592 (relative_filename): Free temporary space allocated by concat.
5593
55941995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5595
5596 * Makefile.in (getdate.c): New target.
5597 (getdate.o): Just compile getdate.c.
5598
55991995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
5600
5601 * fakemail.c (xrealloc): Change cast to match return type.
5602
56031995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5604
5605 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
5606
56071995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5608
5609 * movemail.c (main): Fix previous change.
5610 Add error check for empty OUTNAME.
5611
56121995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5613
5614 * movemail.c (main): Mention lock file name in error message.
5615
56161995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5617
5618 * profile.c (gettimeofday): New function, defined if necessary.
5619
56201995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5621
5622 * Makefile.in: Renamed from Makefile.in.in.
5623 (distclean): Delete Makefile.c, not Makefile.in.
5624
56251995-07-17 Michael Shields <shields@tembel.org>
5626
5627 * Makefile.in.in (tags): Synonym for `TAGS'.
5628
56291995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5630
5631 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
5632 configure has already set $(INSTALL) to the proper relative path.
5633
362bc2da
DL
56341995-07-08 Paul Eggert <eggert@twinsun.com>
5635
5636 * rcs2log (datearg): Separate date from time with comma, not space,
5637 to work around CVS 1.5 bug.
5638 (CVSROOT): Don't abort when unset if repository is absolute.
5639
56401995-07-07 Paul Eggert <eggert@twinsun.com>
5641
5642 * rcs-checkin, rcs2log, vcdiff:
5643 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
5644 that interpret `#! /' as a 4-byte magic number.
5645
56461995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
5647
5648 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
5649 mailbox with "po:mailbox", the mailbox is everything after the
5650 "po:" prefix.
5651
56521995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5653
5654 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 5655 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
5656
56571995-06-28 Paul Eggert <eggert@twinsun.com>
5658
5659 * rcs2log (CVSROOT, repository):
5660 Allow remote repositories a la CVS 1.4.
5661
880820fe 56621995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5663
2f2c687b
JB
5664 * etags.c (plain_C_entries): New function.
5665 (lowcase): New macro.
5666 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
5667 (lang_suffixes): New suffix ".pc" for Pro*C files.
5668 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
5669 (tail): Look for the end of the token when comparing.
5670 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
5671
56721995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5673
5674 * movemail.c (main): Add newline in usage message.
5675
56761995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5677
5678 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
5679
880820fe 56801995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5681
5682 * etags.c (find_entries): Rewind before rereading the input file.
5683
56841995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5685
5686 * Version 19.29 released.
5687
5688 * make-docfile.c (main) [MSDOS]: Do set _fmode.
5689 This undoes part of the previous change.
5690
56911995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5692
5693 * make-docfile.c (main): On MSDOS, don't change stdout
5694 to binary, and insist on an -o option.
5695
56961995-06-13 Geoff Voelker <voelker@cs.washington.edu>
5697
5698 * etags.c (process_file,absolute_filename): Handle filenames
5699 starting with a drive letter.
5700
5701 * makefile.nt (install): Copy wakeup.exe properly.
5702
57031995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
5704
5705 * make-docfile.c [MSDOS]: #undef chdir.
5706
57071995-06-04 Paul Eggert <eggert@twinsun.com>
5708
5709 * rcs2log (output_authors): Allow ':' in time zone,
5710 as per ISO 8601 and RCS 5.6.8 beta.
5711
880820fe 57121995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5713
5714 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
5715 compatibility problems.
5716
57171995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
5718
5719 * etags.c (etags_getcwd): Don't use #elif.
5720 Have just one function body.
5721
57221995-05-25 Geoff Voelker <voelker@cs.washington.edu>
5723
5724 * makefile.nt (LIBS): Use BASE_LIBS.
5725 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
5726 upon LIBS.
5727 (DOC): Use del instead of rm.
5728 (DOC) [WINDOWS95]: Use DOC.
5729 (clean): Handle MSVC aux files.
5730 (config.h,paths.h): Use $(CP) instead of cp.
5731 (config.h): Use $(CONFIG_H)
5732 (make-docfile.obj): Depend upon config.h.
5733 Clean up comments.
5734
880820fe 57351995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5736
5737 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
5738 former gives the true path even in the presence of simlinks.
5739
57401995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5741
5742 * movemail.c (main): Increase lock timeout to five minutes.
5743
57441995-05-06 Geoff Voelker <voelker@cs.washington.edu>
5745
5746 * makefile.nt (obj): Use .c files.
5747
57481995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5749
5750 * make-docfile.c: Include config.h.
5751 (NO_SHORTNAMES): New definition.
5752 (xmalloc): Return long *.
5753
5754 * etags.c (C_entries): Cast result of xrealloc.
5755 (xmalloc, xrealloc): Declare them to return long *.
5756
5757 * b2m.c (xmalloc, xrealloc): Declare them long *.
5758
5759 * movemail.c (xmalloc): Declare it to return long *.
5760
57611995-04-30 Paul Eggert <eggert@twinsun.com>
5762
5763 * rcs2log (datearg): If rlog options are specified explicitly,
5764 omit the implicit '-d>DATE' option.
5765 (repository, rlog): Allow absolute paths to CVS repositories.
5766 Look only at the first line of CVS/Repository.
5767
57681995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
5769
5770 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
5771 realclean.
5772
57731995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5774
5775 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
5776 Alternative (empty) definitions.
5777
57781995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5779
5780 * emacsclient.c (main): Add argv[0] to an error message.
5781
57821995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
5783
5784 * emacsclient.c (main): Improve error handling.
5785 * cvtmail.c (main, skip_to_lf): Improve error handling.
5786 (sysfail): New function.
5787
5788 * b2m.c (main): Check for trailing ", " before trying to delete it.
5789
57901995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5791
5792 * Makefile.in.in (all): Build test-distrib and make-docfile.
5793
5794 * make-docfile.c (scan_c_file): At end, restore file name last char
5795 to its original value.
5796
57971995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5798
5799 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
5800
58011995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5802
b166dcd8 5803 * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
362bc2da
DL
5804 (alloca.o, regex.o): Use BASE_CFLAGS.
5805
58061995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5807
5808 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
5809
58101995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
5811
5812 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
b166dcd8 5813 (SOURCES, distclean): Remove obsolete references to aixcc.
362bc2da
DL
5814
58151995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5816
5817 * aixcc.lex: File deleted--surely obsolete now.
5818
58191995-03-23 Paul Eggert <eggert@twinsun.com>
5820
5821 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
5822 portability to mawk and nawk.
5823
58241995-03-21 Paul Eggert <eggert@twinsun.com>
5825
5826 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
5827 -u "login<tab>fullname<tab>mailaddr".
5828
58291995-03-21 Paul Eggert <eggert@twinsun.com>
5830
5831 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
5832 replaces the (now obsolescent) -n login fullname mailaddr option.
5833 Add -R option for recursive rlog.
07655e62 5834 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
5835 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
5836 Quote authors and fullnames correctly.
5837 Don't omit path from repository root when logging CVS files.
5838
58391995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5840
5841 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
5842 even if HAVE_SYSVIPC.
5843 * emacsclient.c (main): Use getcwd if not BSD.
5844
880820fe 58451995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5846
2f2c687b 5847 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
5848 (readline_internal): Do not access the char before start of line.
5849
880820fe 58501995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5851
e1dbe924
PE
5852 * etags.c (C_entries): token_saved removed. Initialize tok.valid and
5853 savetok.valid. Mark token as valid when it is initialized.
362bc2da
DL
5854 (make_tag): Make token only if token is valid and reset validity.
5855 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
b166dcd8 5856 (TOKEN): Add a new member: valid.
362bc2da 5857
880820fe 58581995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5859
5860 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
5861 (main): Do not read twice the last filename in the stdin file list.
5862
880820fe 58631995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5864
e1dbe924 5865 * etags.c (C_entries): Initialize the new members of TOKEN.
362bc2da
DL
5866 (C_entries): Do not allocate a new space for each token found by
5867 consider_token. Let make_tag do that instead.
5868 (make_tag): Since now TOKEN has memory of where it is taken from,
5869 this new macro substitutes both make_tag_from_new_lb and
5870 make_tag_from_oth_lb. All callers changed.
5871 (TOKEN): Add linepos and buffer members.
e1dbe924
PE
5872 (main): Initialize token_str.
5873 (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes.
362bc2da
DL
5874 (token_str): New global variable used by C_entries.
5875
58761995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
5877
b166dcd8 5878 * Makefile.in.in (maintainer-clean): Rename from realclean.
362bc2da 5879
880820fe 58801995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5881
e1dbe924 5882 * etags.c (pfnote): Initialize been_warned in the node.
b166dcd8 5883 (C_entries): Remove a speed hack for the sake of clarity.
362bc2da 5884
880820fe 58851995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5886
5887 * etags.c (longopts, print_help, main): Use -I as abbreviation
5888 for the --ignore-indentation option.
5889 (main): Do not print an error message for unknown options.
5890
880820fe 58911995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5892
61b108cc 5893 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Delete.
194d44e7
JB
5894 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
5895 (constantypedefs, update, vgrind_style, no_warnings)
5896 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
362bc2da
DL
5897 (permit_duplicates): Was a var, now a #define.
5898 (filename_lb): Was global, now local to main.
5899 (main): Open the tag file when in cxref mode.
5900 Use a BUFSIZ size buffer for making the shell commands.
5901 Look at the return value from the system routine.
5902 Exit when cannot open the tag file.
5903 (process_file): Open the file and pass the FILE* to find_entries.
5904 (find_entries): Now void, because does not open the file itself.
5905 (pfnote): Recovering from lack of memory does not work. Removed.
5906 Use savenstr and simplify the code.
5907 (free_tree): Only free the name space if node is named.
5908 (structtag): Now a pointer, not a fixed length array of chars.
5909 (consider_token): Don't take a token as argument. Use savenstr
5910 when saving a tag in structtag. Callers changed.
5911 (TOKEN): Structure changed. Now used only in C_entries.
61b108cc 5912 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Delete.
362bc2da 5913 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
61b108cc 5914 (pfcnt): Delete. Users updated.
194d44e7
JB
5915 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
5916 (TEX_getit, prolog_getit): Use dinamic allocation for storing
362bc2da
DL
5917 the tag instead of a fixed size buffer.
5918
59191995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5920
5921 * movemail.c (main): Skip past the colon in inname.
5922
880820fe 59231995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5924
5925 * etags.c (pfatal): New function.
5926 (main, etags_getcwd): Use pfatal.
5927 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
5928
880820fe 59291995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5930
5931 * etags.c (Lang_function): Use void instead to declare the
5932 language functions, because many compilers are buggy.
5933 (etags_getcwd): Fix the previous fix on the #else branch.
5934 (readline_internal): Discard possible \r before \n here.
5935 (C_entries): Do not deal with \r here: undo previous fix.
5936
880820fe 59371995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
5938
5939 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
5940 functions and a macro that allow the program to work on input
5941 lines of whatever length. Copied from etags.c.
5942 (fatal): Print a fatal error message and exit.
5943 (main): Use the new functions. Fixed a bug that made a \037 char
5944 appear at the end of the output.
5945
59461995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5947
5948 * etags.c (C_entries): Ignore carriage return at end of line.
5949
59501994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5951
5952 * fakemail.c (xmalloc, xrealloc): Add casts.
5953 (add_field): Handle <...> and "..." syntax.
5954 (setup_files, get_keyword): Clean up parens and line breaks.
5955 (args_size): Likewise.
5956
59571994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
5958
5959 * yow.c: Include program name in error messages.
5960
59611994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5962
5963 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
5964 (xmalloc, fatal, error): New functions.
5965 (progname): New variable.
5966 (main): Set progname.
5967
59681994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5969
5970 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
5971 (main): If socket/mqueue name is in home dir, add in the host name.
5972 Rename .emacs_server to .emacs-server....
5973
59741994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5975
5976 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
5977
880820fe 59781994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5979
2f2c687b
JB
5980 * etags.c (print_help): Print --regex usage for ctags also.
5981 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 5982
880820fe 59831994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5984
5985 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
5986 is compiled if this is defined. The new functions and variables
5987 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
5988 [VMS]: All VMS specific code previously contained in
5989 etags-vmslib.c is now included here, modified for dealing with
5990 language and regex options intermixed with filenames.
5991 (header_file): Global variable deleted.
5992 (Lang_Function): New typedef. All language parser functions
5993 changed to this new type.
5994 (string_numeric_p, substr, prestr): Functions deleted.
5995 (readline_internal): Does the job that readline did previously.
5996 (longopts): --language and --regex options added.
5997 (lang_names, lang_extensions, lang_func, print_language_names):
5998 New structures, variables and functions for choosing languages.
5999 (print_help): Help strings updated. Calls print_language_names.
6000 (argument_type, ARGUMENT): Typedefs for dealing with language and
6001 regex options intermixed with filenames.
b166dcd8 6002 (main): Change the way of dealing with arguments on the command
362bc2da
DL
6003 line to deal with language and regex options intermixed with
6004 filenames.
6005 (get_language, default_C_entries, Cplusplus_entries,
6006 Cstar_entries, Yacc_entries, just_read_file): New functions.
6007 (find_entries): Use the new method for choosing the language.
6008 (Pascal_functions): Allow intermixing of comment styles.
6009 (prolog_getit, skip_comment): Rewritten for speed.
6010 (readline): Rewritten to deal with regexps.
6011
880820fe 60121994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6013
6014 * etags.c (<errno.h>): #include added.
6015 (etags_getcwd): Check return value from getcwd.
6016
60171994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6018
6019 * profile.c (TV1, TV2): Use EMACS_TIME as type.
6020 (get_time): Use EMACS_SUB_TIME.
6021
d57727c9 60221994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
6023
6024 * ntlib.c: New file.
6025 * makefile.nt: New file.
6026
6027 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
6028 [WINDOWSNT]: Include the NT headers.
6029 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
6030
6031 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
6032 [WINDOWSNT]: Include some NT headers.
6033
60341994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
6035
6036 * pop.c (getline): When a search of already-read input for CRLF
6037 fails, store the fact that we've searched it and don't search it
6038 again after reading more data.
6039
6040 * pop.c (getline): When determining whether or not it's necessary
6041 to grow the input buffer, take into account the null that's stored
6042 at the end of already-read input in the buffer.
6043
880820fe 60441994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6045
2f2c687b 6046 * etags.c (prestr, substr): Return a logical type.
362bc2da 6047 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 6048 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
6049 (C_entries): Now we can use Tom Hageman patch for extern "C".
6050
60511994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6052
6053 * movemail.c: PopServer renamed to popserver throughout.
6054
60551994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
6056
6057 * etags.c: Don't declare malloc, since we include config.h.
6058 * fakemail.c: Likewise.
6059
60601994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6061
6062 * movemail.c: Don't declare malloc.
6063
60641994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
6065
6066 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 6067 avoid syntax error.
362bc2da
DL
6068
60691994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
6070
6071 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
6072 defined, and if HAVE_CONFIG_H isn't defined, define
6073 MAIL_USE_POP always (so that this file can be included in
6074 other programs besides emacs).
6075
6076 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
6077 HAVE_CONFIG_H isn't defined.
6078
6079 * pop.c (find_crlf, getline): Instead of using strstr, use a
6080 custom function for finding CRLF.
6081 (my_strstr): Function deleted.
6082
60831994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
6084
6085 * pop.c (getline): Fix a segfault because of passing a
6086 non-null-terminated string into strstr(). Fix from
6087 djm@va.pubnix.com (David J. MacKenzie).
6088
6089 * pop.c: Don't include <string.h> and <strings.h>.
6090
b166dcd8
KC
6091 * pop.c: Include <des.h> before <krb.h>, rather than after.
6092 They should be interchangeable, and indeed the inclusion is done in
362bc2da
DL
6093 both orders in various files in the Kerberos 4 library sources,
6094 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
6095 requires that <des.h> be included first, and I don't see any harm
6096 in changing the order.
6097
6098 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
6099 STDC_HEADERS, if they're defined. Undef open, read, write and
6100 close after including it.
6101
61021994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6103
6104 * pop.c: Fix mismatch in conditionals.
6105
6106 * make-docfile.c (main): Don't process one input file twice.
6107 Never use exit code > 1.
6108
6109 * pop.c (open, close, read, write): Add #undefs.
6110
6111 * pop.c: Don't declare malloc, realloc, free.
6112 Include ../src/config.h.
6113 Don't include string.h or strings.h.
6114 Include des.h before krb.h.
6115 Do declare my_strstr.
6116 (getline): Really use my_strstr.
6117 Leave one empty place in server->buffer,
6118 and put a null at the end of the data in it.
6119
61201994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6121
b166dcd8
KC
6122 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
6123 Don't call kill with pid 0. Handle EINTR when receiving messages.
362bc2da
DL
6124
61251994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
6126
6127 * Makefile.in.in (regex.o): Use full path to find regex.c.
6128
880820fe 61291994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6130
2f2c687b
JB
6131 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
6132 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
6133
61341994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
6135
6136 * Makefile.in.in (DONT_INSTALL): Remove make-path.
6137 (${archlibdir}): Use mkinstalldirs instead.
6138
6139 * movemail.c: Make functions that return nothing void, not
6140 implicitly int.
6141 (main): Improve usage message.
6142 (error): Write to stderr, not stdout.
6143
e43b1141
GM
6144 * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
6145 * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
6146 * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
6147 warnings from unused variables and implicitly declared functions.
362bc2da
DL
6148
61491994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6150
6151 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
6152 (distclean): Not here.
6153
b166dcd8 6154 * Makefile.in.in (libexecdir): Rename from libdir.
362bc2da 6155
880820fe 61561994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6157
6158 * etags.c (C_entries): Name the #define's that are macros.
6159
61601994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6161
6162 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
6163 fd_set arg is a pointer, descriptor arg comes first.
6164
880820fe 61651994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6166
e1dbe924
PE
6167 * etags.c (C_entries): Recognize typedef of ANSI style functions.
6168 (C_entries): Recognize #define inside a struct.
362bc2da
DL
6169 (C_entries): ANSI tells that preprocessor commands do not have to
6170 start on the first column.
6171 (print_help): Documentation corrected for -d and -D.
6172 (white, endtk): ANSI tells the vertical tab is a separator.
6173
61741994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
6175
6176 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
6177 (pop.o, movemail.o): New targets.
6178 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
6179
6180 * pop.c, pop.h: New files.
6181
6182 * movemail.c: Improve POP code, move most of it into a separate file.
6183 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
6184 (mbx_write): Check for errors and for From line.
6185 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
6186 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
6187 (pop_init): Functions deleted.
6188
61891994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
6190
6191 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
6192 Rename path to dirname.
6193
61941994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6195
6196 * Makefile.in.in (UTILITIES):
6197 Remove test-distrib, make-docfile, make-path.
6198 (DONT_INSTALL): New variable--list those files here.
6199 (clean): Delete the files in DONT_INSTALL.
6200
62011994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6202
6203 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
6204 (main): Use fgets, not gets.
6205
62061994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6207
6208 * timer.c: Don't declare malloc.
6209
62101994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
6211
6212 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
6213 defined, use simple 32-bit versions of these macros.
6214 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
6215
c60ee5e7 62161994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
6217
6218 * etags.c (etags_getcwd): Use getcwd if available.
6219
62201994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6221
6222 * Version 19.27 released.
6223
62241994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6225
6226 * Version 19.26 released.
6227
62281994-08-15 Paul Eggert <eggert@twinsun.com>
6229
6230 * rcs2log: Add support for CVS.
6231 Work with `rlog's that output ISO 8601 dates.
6232
62331994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
6234
6235 * rcs2log: Use <> to delimit email address.
6236
62371994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6238
6239 * emacsserver.c [SYSV_IPC] (main): Make a separate process
6240 so we can listen for multiple requests.
6241
62421994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6243
6244 * movemail.c: Include config.h first thing.
6245
62461994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6247
6248 * emacsserver.c (main): Add casts to avoid warnings.
6249
62501994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6251
6252 * Makefile.in.in (${archlibdir}): Compare the proper dir
6253 before installing the scripts.
6254
62551994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6256
6257 * emacsclient.c (main): New local var progname saves argv[0].
6258
62591994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6260
6261 * emacsclient.c (main): Don't actually modify argv[0].
6262 Modify a copy instead.
6263
62641994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6265
6266 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
6267 (tzp): Var deleted.
6268
6269 * Makefile.in.in: Add #undef alloca.
6270
62711994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6272
6273 * timer.c (xmalloc): New function.
6274
62751994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6276
6277 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
6278 (alloca.o): New target.
6279
62801994-07-08 Dave Love (d.love@dl.ac.uk)
6281
e1dbe924 6282 * etags.c (takeprec): Recognize `character*(*) function'.
362bc2da 6283
880820fe 62841994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6285
ecc54057
JB
6286 * etags.c (main): Don't barf on obsolete -t and -T switches.
6287 (main): Print an explicative message when a switch is not known.
362bc2da
DL
6288
62891994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6290
6291 * hexl.c: Don't declare exit or perror.
6292
6293 * emacsserver.c (main): Don't declare geteuid.
6294 Don't declare getenv if convex.
6295
62961994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6297
6298 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
6299
880820fe 63001994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6301
6302 * etags.c (absolute_filename): Remove infinite loop bug when
6303 accessing files in directories whose name begins with a dot.
6304
880820fe 63051994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6306
6307 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
6308
63091994-06-01 Morten Welinder (terra@diku.dk)
6310
6311 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
6312 location of data directory.
6313
63141994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6315
6316 * Version 19.25 released.
6317
63181994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6319
6320 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
6321
63221994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6323
6324 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
6325
63261994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6327
6328 * Version 19.24 released.
6329
63301994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6331
6332 * make-docfile.c (write_c_args): Put `default' in upper case.
6333
63341994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6335
6336 * etags.c (etags_getcwd): Cast result of popen.
6337 (popen): Declaration deleted.
6338
63391994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
6340
6341 * etags.c [!MSDOS]: Declare popen.
6342
63431994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6344
6345 * b2m.c (main): Avoid crash if argc is 1.
6346
63471994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6348
6349 * Version 19.23 released.
6350
6351 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
6352
63531994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6354
6355 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
6356
63571994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6358
6359 * Makefile.in.in: Fix out of date comment.
6360
63611994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6362
6363 * Makefile.in.in: Put in a separator for where to start cpp procssing.
6364 Move all autoconf substitutions above that point.
6365 Above that point, use Make-style comments.
6366 This goes with changes in ../configure.in.
6367
63681994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6369
6370 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
6371 warning message.
6372 (${archlibdir}): Don't do it here. Don't depend on blessmail.
6373
63741994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
6375
6376 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
6377
63781994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6379
6380 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
6381 print advice to run it, if it has anything significant to do.
6382 And only if MOVEMAIL_NEEDS_BLESSING.
6383 (blessmail): Use emacs, not temacs.
b166dcd8 6384 (configuration): Rename from configname.
362bc2da
DL
6385
63861994-04-30 Morten Welinder (terra@diku.dk)
6387
6388 * etags.c (find_entries): Treat `*.cpp' as C++ files.
6389
63901994-04-30 Morten Welinder (terra@diku.dk)
6391
6392 * etags.c [MSDOS]: #include <sys/param.h> for the following.
6393 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
6394 a shell.
6395
63961994-04-29 Morten Welinder (terra@diku.dk)
6397
6398 * hexl.c [MSDOS]: Don't define proto type for exit.
6399
64001994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6401
6402 * b2m.c: Don't include string.h or strings.h.
6403
64041994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
6405
6406 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
6407 symbols, not make variables.
6408
64091994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6410
6411 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
6412 * etags.c (print_version): Print VERSION as a string.
6413
64141994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6415
6416 * fakemail.c (readline): Fix updating of p when buffer grows.
6417
64181994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
6419
6420 * Makefile.in.in (blessmail): New target.
6421 ${archlibdir}: Use blessmail when installing movemail.
6422
64231994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6424
6425 * fakemail.c (readline): When extending the buffer,
6426 calculate end afresh using the new size.
6427
880820fe 64281994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6429
2f2c687b 6430 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 6431
880820fe 64321994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6433
2f2c687b 6434 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
6435
64361994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6437
6438 * Makefile.in.in: Renamed from Makefile.in.
6439 Makefile.in is now generated from it, and then preprocessed.
6440 Change comments to C syntax.
6441 Include config.h.
6442 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
6443 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
6444
64451994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6446
6447 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
6448
880820fe 64491994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6450
6451 * etags.c (etags_getcwd): Initialize bufsize.
6452
64531994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6454
6455 * profile.c (gettimeofday): If system doesn't have this, define it
6456 to give a fatal error.
6457
64581994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
6459
6460 * movemail.c (main): Use setuid, not seteuid.
6461
64621994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6463
6464 * etags.c: #undef static.
6465
880820fe 64661994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6467
b166dcd8 6468 * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
2f2c687b 6469 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
b166dcd8 6470 (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
362bc2da
DL
6471 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
6472 TeX_functions, Prolog_functions.
2f2c687b
JB
6473 (inf): No more a global variable.
6474 (C_entries): Take 2nd parameter `inf' instead of using the global one.
e1dbe924 6475 (find_entries): Add the cp1 var for optimization.
b166dcd8 6476 (find_entries): Add more suffixes for assembler files.
362bc2da
DL
6477 (Asm_funcs): Now finds labels even without an ending colon.
6478
880820fe 64791994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6480
2f2c687b
JB
6481 * etags.c (main): Use etags_getcwd for compatibility.
6482 (etags_getcwd): New function.
362bc2da
DL
6483
64841994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6485
6486 * Makefile.in (etags, ctags): Pass -D for VERSION.
6487
880820fe 64881994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6489
61b108cc 6490 * etags.c (emacs_tags_format, ETAGS): Remove. Use CTAGS instead.
2f2c687b
JB
6491 (main): Don't allow the use of -t and -T in etags mode.
6492 (print_help): Don't show options enabled by default.
6493 (print_version): Show the emacs version number if VERSION is #defined.
6494 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 6495
880820fe 64961994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6497
2f2c687b 6498 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
6499 (relative_filename, absolute_filename, absolute_dirname):
6500 functions added to compute filenames in tags files.
2f2c687b 6501 (process_file): Filenames in tags file are relative to the
362bc2da 6502 directory where the tags file is (useful with the -o option).
e1dbe924 6503 (main): Initialize the outfiledir var.
b166dcd8 6504 (TYPEDST): Add the `tignore' value.
2f2c687b 6505 (C_entries): Corrected various small bugs.
362bc2da
DL
6506
65071994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6508
6509 * Makefile.in (UTILITIES): `env' deleted.
6510 (env): Target deleted.
6511 * env.c: File deleted.
1c478461 6512
362bc2da
DL
65131994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6514
6515 * Makefile.in (install, ${archlibdir}): Switch back to ..
6516 before running INSTALL_PROGRAM.
6517
880820fe 65181994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6519
b166dcd8 6520 * etags.c (TYPEDST): Add the `tignore' value.
2f2c687b 6521 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
6522 `extern "C" {' construction (patch by Tom R.Hageman).
6523
65241994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6525
6526 * b2m.c: Use <...> to include config.h.
6527 Don't include stdlib.h.
6528
177c0ea7 65291994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
6530
6531 * b2m.c (main): Change delimiter from "^L" to "^_^L".
6532 Allow for text following "BABYL OPTIONS:".
6533 Add --help option. Use argv[0] in error messages.
6534
65351994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6536
6537 * emacsclient.c (main) [HAVE_SYSVIPC]:
6538 Make msgp->mtext longer if necessary.
6539 On HPUX, error if it's more than 512 chars.
6540
65411994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
6542
6543 * etags-vmslib.c: Use GPL.
6544 * emacstool.c: Use GPL.
6545 * fakemail.c: Update GPL.
6546
6547 * make-path.c (main): Return 1 on error, not -1.
6548 Update GPL.
6549
6550 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
6551 (xmalloc, xrealloc): Return char *, not int.
6552 (error): Write to stderr, not stdout.
6553 Update GPL.
6554
65551994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
6556
6557 * profile.c (main, get_time): Don't crash on invalid input.
6558
65591994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
6560
6561 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 6562 (main): Exit on EOF.
362bc2da 6563
880820fe 65641994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6565
a64387ee 6566 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
6567
65681994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6569
6570 * fakemail.c (put_line): Don't break the line if it all fits.
6571
880820fe 65721994-02-14 Francesco Potortì (pot@fly)
362bc2da 6573
b166dcd8 6574 * etags.c (absolute_pathnames, cwd): Add global vars.
2f2c687b 6575 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 6576 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 6577 (print_help): Alphabetically order the options.
2f2c687b 6578 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
6579
65801994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6581
6582 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
6583 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
6584
65851994-02-07 Christian Lynbech (lynbech@avignon)
6586
6587 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
6588
65891994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6590
6591 * Makefile.in (UTILITIES): Mention profile.
6592 (profile): New target.
6593
6594 * profile.c: New file.
6595
65961994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 6597
88c71720 6598 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 6599 Lisp docstrings do.
88c71720 6600 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
6601 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
6602 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
6603
880820fe 66041994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6605
6606 * etags.c (stab_entry, stab_create, stab_find, stab_search,
61b108cc 6607 stab_type, add_keyword, C_reate_stab, C_create_stabs): Delete.
362bc2da 6608 Use gperf generated hash table instead of linked list.
61b108cc 6609 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Add.
362bc2da 6610 Mostly code generated by gperf.
b166dcd8 6611 (consider_token): Remove unused parameter `lp'.
2f2c687b 6612 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 6613 to span multiple lines.
2f2c687b
JB
6614 (C_entries): Check for newline if inchar to avoid bus errors.
6615 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
6616 and not regular file.
6617
66181994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6619
6620 * timer.c: Include errno.h; don't include fasync.h.
6621 (schedule): Don't return a value.
6622 (sigcatch): Reestablish the handler first.
6623 (getevent): Always call notify at the end.
6624 (notify): Defer alarms around the whole body of function.
6625
66261994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6627
6628 * timer.c (main): Don't request SIGIO, and don't handle it.
6629 Loop calling getevent.
6630 (sigcatch): Delete code to handle SIGIO.
6631 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 6632 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
6633 Set defer_alarms around realloc and schedule.
6634 If alarm_deferred gets set, call notify.
6635 Likewise if this event is the only pending event.
6636 Make buf and buf_size global variables.
6637 Don't malloc buf if it is already non-zero.
6638 (schedule): Just exit if run out of memory.
6639 Return the number of events.
6640 (signal) [_CX_UX]: Add #undef.
6641
66421994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6643
6644 * timer.c [USG] (SIGIO): Define as SIGPOLL.
6645 (main) [USG]: Do ioctl to enable SIGPOLL.
6646
66471994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6648
6649 * timer.c: Don't declare sys_errlist; declare strerror instead.
6650 (schedule, main): Call strerror instead of using sys_errlist.
6651 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
6652 Call strerror instead of using sys_errlist.
6653 * env.c (main): Call strerror instead of using sys_errlist.
6654 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
6655 (main): Call strerror instead of using sys_errlist.
6656 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
6657 * env.c [! HAVE_STRERROR] (strerror): Likewise.
6658 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
6659 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
6660
66611994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6662
6663 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
6664
6665 * movemail.c (malloc): Don't declare it.
6666 (xmalloc): Cast result of malloc.
6667 (strcpy): Don't declare it.
6668
66691993-11-14 Morten Welinder (terra@diku.dk)
6670
6671 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
6672 (main): Use fclose to close file opened by fopen.
6673
6674 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
6675
6676 * movemail.c [MSDOS]: #undef `access'.
6677
6678 * b2m.c (main) [MSDOS]: Open all files as binary.
6679 * etags.c (main) [MSDOS]: Open all files as binary.
6680
6681 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
6682 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
6683 with.
6684
66851994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6686
6687 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
6688 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
6689 (LINK_CFLAGS): New variable.
6690 (timer): Use LINK_CFLAGS.
6691
66921993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6693
6694 * movemail.c: Include syswait.h.
6695 Fork a subprocess and use it to copy the mail file.
6696
66971993-12-07 Richard Stallman (rms@srarc2)
6698
6699 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
6700
67011993-12-04 Richard Stallman (rms@srarc2)
6702
6703 * movemail.c (main): When making tempname, cast result of xmalloc.
6704 Include room for EXXXXXX in the size.
6705 Don't use result of strcpy.
6706
67071993-12-03 Paul Eggert (eggert@twinsun.com)
6708
6709 * vcdiff: Add --brief option.
6710
67111993-12-02 Richard Stallman (rms@srarc2)
6712
6713 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
6714 for all executables and scripts.
6715
67161993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6717
6718 * Version 19.22 released.
6719
67201993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6721
6722 * Makefile.in (mostlyclean): Make it distinct from clean.
6723
67241993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6725
6726 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
6727
67281993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6729
6730 * Version 19.21 released.
6731
6732 * Makefile.in (install): Don't change mode or group when installing.
6733
6734 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
6735
67361993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6737
6738 * make-docfile.c (read_c_string): For "", concatenate the two strings.
6739
6740 * movemail.c (main): Fix error message text.
6741
67421993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6743
6744 * Version 19.20 released.
6745
177c0ea7 67461993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 6747
ecc54057 6748 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
6749 functions returning a pointer to a function, a la `signal', can be
6750 parsed. This also required new state `fstartlist' to `FUNCST'.
6751 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 6752 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 6753 from the other state engines.
2f2c687b 6754 (begtk): Add '~', for C++ class destructors.
362bc2da 6755
880820fe 67561993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6757
b166dcd8 6758 * etags.c (consider_token): Remove unused variable firsttok.
2f2c687b 6759 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
6760
67611993-10-19 Paul Eggert (eggert@twinsun.com)
6762
6763 * rcs2log (printlogline): Don't generate lines containing only
6764 white space.
6765
67661993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6767
6768 * Makefile.in (${archlibdir}):
6769 Install ${SCRIPTS} from ${srcdir}, not cwd.
6770
67711993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6772
6773 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
6774 the comment character.
6775
880820fe 67761993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6777
2f2c687b 6778 * etags.c (process_file): Dead code removed.
362bc2da 6779 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 6780 (process_file): Regular files have nothing to do with symlinks.
362bc2da 6781
f0131492 67821993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
6783
6784 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
6785 from current directory. Only chmod and chgrp files that we
6786 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
6787 ${bindir}.
b166dcd8 6788 (INSTALLFLAGS): Delete definition, since it is an unused variable
362bc2da
DL
6789 now.
6790
f0131492 67911993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 6792
b166dcd8
KC
6793 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
6794 Let configure figure out the correct values for these variables.
362bc2da 6795
f0131492 67961993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 6797
10d1d0af 6798 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
6799 used by emacs; don't install bindir binaries here.
6800
68011993-09-24 Paul Eggert (eggert@twinsun.com)
6802
6803 * rcs2log: Add -h, -n, -r options.
6804 By default, look for *,v files as well as RCS/*,v files.
6805 Use $TMPDIR (default /tmp) instead of /tmp.
6806
880820fe 68071993-09-20 Francesco Potortì (pot@fly)
362bc2da 6808
e1dbe924 6809 * etags.c (C_entries): is_func is initialized here instead of in
362bc2da
DL
6810 consider_token for the sake of the yacc rules section.
6811 (C_entries): Now class, struct, enum, union and typedef produce
6812 named tags.
6813
68141993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
6815
6816 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
6817
68181993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6819
88c71720
KS
6820 * Makefile.in: Support configuring in a different directory when
6821 ${srcdir} has already been configured.
6822 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
6823 -I${srcdir}/../src.
362bc2da
DL
6824 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
6825 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
6826 is already in CPP_FLAGS.
6827 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
6828 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
6829
68301993-08-25 Paul Eggert (eggert@twinsun.com)
6831
75f1671a 6832 * rcs2log: Change /{/ to /\{/ for POSIX ERE compatibility;
362bc2da
DL
6833 otherwise, HP awk complains.
6834
6835 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
6836 are common hangouts for SCCS commands.
6837
68381993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6839
6840 * Version 19.19 released.
6841
68421993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6843
6844 * Makefile.in (make-path): Dep on config.h.
6845
68461993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6847
6848 * b2m.c (TRUE, FALSE): Don't define if already defined.
6849
68501993-08-09 Paul Eggert (eggert@twinsun.com)
6851
6852 * rcs2log (awkscript):
6853 Some sites put comma-separated junk after the fullname.
6854 Remove it, but leave "Bill Gates, Jr" alone.
6855 Remove the junk from fullnames like "0000-Admin(0000)".
6856
68571993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6858
6859 * Version 19.18 released.
6860
880820fe 68611993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 6862
e1dbe924 6863 * etags.c (L_isdef, L_isquote, L_getit): Small optimizations.
2f2c687b
JB
6864 (L_funcs): The (foo::defmumble stuff now should work.
6865 (consider_token): Function returned random value--corrected.
6866 (C_entries): Corrected == versus = typo.
362bc2da
DL
6867
68681993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6869
6870 * etags.c (put_entries): For NODE->rewritten, put pattern before
6871 \177 and name after, not vice versa.
6872
68731993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6874
6875 * timer.c (main): Generate a SIGIO as soon as we've initialized.
6876
880820fe 68771993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6878
b166dcd8 6879 * etags.c (FINCST): Add the fignore status. Means we are
362bc2da
DL
6880 after the parameter list and before the open curly brace.
6881 Allows correct parsing of C++ constructors.
2f2c687b
JB
6882 (C_entries, consider_token): Make use of fignore.
6883 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 6884 ctags mode makes DEFVAR and others work better.
e1dbe924 6885 (L_isquote): Function that recognizes the "(quote" string.
2f2c687b 6886 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
6887
68881993-07-29 Paul Eggert (eggert@twinsun.com)
6889
6890 * rcs-checkin: Don't check whether a file is readable until we have
6891 decided not to ignore it.
6892
68931993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6894
6895 * Makefile.in (etags): Depend on ../src/config.h.
6896
6897 * emacsserver.c: Include types.h before file.h.
6898
68991993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6900
6901 * Makefile.in (install): Use .n, not .new, for temporary filenames.
6902
69031993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6904
ecc54057 6905 * Version 19.17 released.
362bc2da
DL
6906
69071993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6908
6909 * etags.c (print_help): Break up the very long strings containing
6910 the help message into shorter strings, to placate chintzy C
6911 compilers which can't handle strings that long.
6912
6913 * wakeup.c: Use CPP tangle from autoconf manual to #include the
6914 correct combination of <time.h> and <sys/time.h>.
6915
880820fe 69161993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6917
b166dcd8 6918 * etags.c (alloca): Remove all references to it.
2f2c687b
JB
6919 (main): Now calls xnew instead of alloca for portability.
6920 (../src/config.h): Included only if HAVE_CONFIG_H.
6921 (const): Void definition removed--config.h takes care of it.
362bc2da 6922
880820fe 69231993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6924
2f2c687b 6925 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
6926 (consider_token): DEFUNs now treated like funcs in ctags mode.
6927
61b108cc 6928 * etags.c (LEVEL_OK_FOR_FUNCDEF): Remove.
2f2c687b 6929 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
b166dcd8 6930 (C_entries): Remove a piece of useless code.
2f2c687b 6931 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
6932 is met. This handles "typedef int X, Y, Z;" correctly.
6933
69341993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6935
6936 * Version 19.16 released.
6937
6938 * b2m.c: #include <sys/types.h>.
6939 (ltoday): Declare this to be time_t.
6940
69411993-06-30 Paul Eggert (eggert@twinsun.com)
6942
6943 * vcdiff: Add -q option.
6944
69451993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6946
6947 * etags.c: #include "config.h" and the alloca CPP tangle before
6948 #including the system headers and getopt.h. AIX requires the
6949 #pragma to come before any actual C code.
6950
69511993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6952
6953 * Makefile.in (ctags): Depend on etags, so that parallel makes
6954 don't write etags.o files on top of each other.
6955
69561993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6957
6958 * version 19.15 released.
6959
69601993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6961
6962 * etags.c (add_node): Move var last_node to file scope.
6963
69641993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6965
6966 * Version 19.14 released.
6967
69681993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6969
ecc54057 6970 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
6971 * Makefile.in (distclean): Call clean to do most of the work.
6972 Delete aixcc.c and TAGS.
6973 (realclean): Just call distclean.
1c478461 6974
362bc2da
DL
6975 * Makefile.in: Remember, spaces are not tabs.
6976
69771993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6978
6979 * Makefile.in (CPP_CFLAGS): New variable.
6980 Use it instead of ALL_CFLAGS when compiling a .c file.
6981 (getopt.o, getopt1.o): Add explicit compilation commands.
6982
69831993-06-10 Mark D. Baushke (mdb@cisco.com)
6984
6985 * etags.c: Reinstate old -f option as an alias for -o for
6986 installed base uses.
6987
69881993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6989
6990 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
6991 to bind or accept, cast the pointer, to avoid warnings on systems
6992 which declare prototypes for this.
6993 * emacsclient.c (main): Same.
6994
6995 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
6996
69971993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6998
6999 * Version 19.13 released.
7000
7001 * wakeup.c: Include sys/types.h, too; I think that's where time_t
7002 comes from, not sys/time.h.
7003
70041993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7005
7006 * wakeup.c: Include sys/time.h.
7007
7008 * etags.c: #undef static.
7009
7010 * Version 19.12 released.
7011
7012 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
7013
70141993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7015
7016 * Version 19.11 released.
7017
7018 * timer.c [LINUX]: #undef signal.
7019 * emacsserver.c: #undef signal.
7020
70211993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7022
7023 * wakeup.c (main): Make when a time_t.
7024
70251993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7026
ecc54057 7027 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 7028 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
7029 might fail, and have pwd print out the current directory.
7030
7031 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
7032 string-handling functions.
7033
70341993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7035
7036 * Version 19.10 released.
7037
70381993-05-29 Paul Eggert (eggert@twinsun.com)
7039
7040 * rcs2log: When given no file arguments, inspect RCS/.* as well
7041 as RCS/*. Don't report an error if RCS is empty or nonexistent.
7042
70431993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7044
7045 * Makefile.in (timer): Link with $(LOADLIBES).
7046
70471993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7048
7049 * fakemail.c (put_line): Don't output \n\t unless more text follows.
7050
70511993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7052
7053 * etags.c: Replace the CPP tangle for alloca with the one from the
7054 autoconf documentation, since that's working elsewhere.
7055
70561993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7057
7058 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
7059 description files can find their ancestors.
7060
70611993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7062
7063 * Makefile.in (install): Get the scripts from ${srcdir},
7064 unlike the executables.
6088b51f 7065 (ALL_CFLAGS): Add -I../src.
362bc2da
DL
7066
70671993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7068
7069 * Version 19.9 released.
7070
70711993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7072
7073 * Makefile.in (install): Do install the programs listed in
7074 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
7075 INSTALLABLE_SCRIPTS, instead of writing the programs out.
7076
7077 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
7078 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
7079
70801993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7081
7082 * etags.c: Include ../src/config.h.
7083
7084 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
7085 in first loop. Delete files from bindir before installing new ones.
7086 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
7087
70881993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7089
7090 * Version 19.8 released.
7091
7092 * make-docfile.c: Doc fix.
7093
70941993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7095
7096 * tcp.c: Fix comment syntax at top of file.
7097 (main): Don't call htons with the port number.
7098
70991993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7100
7101 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 7102 appropriate.
362bc2da
DL
7103
7104 * Makefile.in (install): Refer to the variables INSTALLABLES and
7105 INSTALLABLE_SCRIPTS, instead of writing them out.
7106
71071993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7108
7109 * make-path.c (main): Return 0.
7110
71111993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7112
ecc54057 7113 * Version 19.7 released.
362bc2da
DL
7114
71151993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7116
7117 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
7118
71191993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7120
7121 * tcp.c: New file.
7122
71231993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7124
7125 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
7126
71271993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7128
7129 * timer.c (notify): Don't call sighold or sigrelse; they're USG
7130 only. We should really fix this later, but let's just make it
7131 compile for now.
7132
7133 Install patches from David J. Mackenzie to make the srcdir option
7134 work.
7135 * Makefile.in (srcdir, VPATH): Get this value from the top-level
7136 Makefile.
7137 (INSTALLABLES): Split this into two lists - INSTALLABLES and
7138 INSTALLABLE_SCRIPTS.
7139 (INSTALLABLE_SCRIPTS): New list.
7140 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
7141 (${archlibdir}): The scripts to be installed live in the source
7142 tree, not in the object tree.
7143 (test-distrib): Note that the data file lives in the source tree,
7144 not the object tree.
7145 (GETOPTDEPS): Note that getopt.h lives in the source tree.
7146 (all other targets): Change references to source files to use
7147 ${srcdir}, except for config.h, which lives in the object dir.
7148 (timer.o): Note that this depends on ../src/config.h.
7149 * make-docfile.c (main): Add a -d option, to tell it where to find
7150 the source files.
7151 * test-distrib.c (main): Take the name of the distribution file to
7152 test from the command line.
7153
10d1d0af 7154 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
7155
71561993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7157
7158 * etags.c (main):
7159 Don't require that there be input files if -i switches were given.
7160
71611993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7162
7163 The GNU coding standards specify that CFLAGS should be left for
7164 users to set.
7165 * Makefile.in (CFLAGS): Put this in the "things configure might
7166 edit" section, and have it default to -g.
7167 (ALL_CFLAGS): New variable, set to all the flags which should be
7168 passed to compilations. Replace all other uses of CFLAGS with
7169 ALL_CFLAGS.
7170 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
7171
7172 * Makefile.in (DEFS): Remove this; it's always just going to be
7173 "-DHAVE_CONFIG_H -Demacs".
7174
71751993-05-03 Paul Eggert (eggert@twinsun.com)
7176
7177 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
7178 /[/]/, so change it to /[\/]/. This should work on all
75f1671a 7179 POSIX-compliant awks. It's slightly wrong with traditional awk,
362bc2da
DL
7180 since it matches \ too, but that's a minor problem compared to awk
7181 syntax errors.
7182
71831993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7184
7185 * Makefile.in (ALLOCA): New variable, whose value we should
7186 inherit from the top-level makefile.
7187 (etags, ctags): Include ALLOCA in the list of object files that
7188 these executables depend on and link.
7189
71901993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7191
b166dcd8 7192 * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
362bc2da
DL
7193
71941993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
7195
7196 * make-docfile.c (write_c_args): Print an argument named "defalt"
7197 as "default".
7198
71991993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7200
7201 * Makefile.in (C_SWITCH_SYSTEM): New variable.
7202 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
7203 compiler.
7204
880820fe 72051993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7206
2f2c687b
JB
7207 * etags.c (YACC): Flag added to c_ext.
7208 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
7209 (find_entries): Consistently use streq when reasonable.
7210 (find_entries): A .y file is a yacc file.
362bc2da 7211 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
7212 (C_entries): Logical cplpl means c_ext&C_PLPL.
7213 (C_entries): Logical yacc_rules means we are after the first %%.
b166dcd8 7214 (C_entries): Add logic for yacc files.
362bc2da 7215
880820fe 72161993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
7217
7218 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 7219 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
7220 (consider_token): structtag set to null string for enum.
7221
880820fe 72221993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7223
2f2c687b
JB
7224 * etags.c (GET_COOKIE): And related macros removed.
7225 (logical): Is now int, no more a char.
7226 (reg): Define deleted.
61b108cc
SM
7227 (isgood, _gd, notgd): Delete.
7228 (gotone): Delete.
2f2c687b 7229 (TOKEN): Member linestart removed.
61b108cc 7230 (linepos, prev_linepos, lb1): Delete.
2f2c687b 7231 (main): Call initbuffer on lbs array instead of lb1.
e1dbe924 7232 (init): Remove the initialization of the logical _gd array.
2f2c687b 7233 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
7234 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
7235 All C state machines rewritten.
2f2c687b
JB
7236 (C_entries): Complete rewrite.
7237 (condider_token): Complete rewrite.
61b108cc 7238 (getline): Delete.
362bc2da 7239
880820fe 72401993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da 7241
b166dcd8 7242 * etags.c (C_entries): Add the quotednl logical variable.
362bc2da
DL
7243 Used for parsing of #define's spanning multiple lines.
7244
880820fe 72451993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
7246
7247 * etags.c (C_entries): Save the definedef status even when a
7248 newline is met inside a string.
7249
72501993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
7251
b166dcd8 7252 * Makefile.in (EXECUTABLES): Add rcs-checkin.
362bc2da
DL
7253
7254 * Makefile.in (unlock, relock): New productions.
7255
72561993-03-16 Paul Eggert (eggert@twinsun.com)
7257
7258 * rcs2log: Some awks don't understand "\r". Code around this.
7259 Unfortunately this requires putting a carriage return in the
7260 source code. Don't assume that rlog will tolerate times like
7261 `10:10:60'; RCS 5.7 won't allow this.
7262
72631993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7264
7265 * timer.c (main): Set the ownership of the stdin file descriptor
7266 to the current process. Print error messages if either of the
7267 fcntl's fails.
7268
7269 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
7270 ../src/config.h), not void.
7271
72721993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7273
7274 * b2m.c (main): Don't exit upon reading a blank line.
7275
880820fe 72761993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
7277
7278 * etags.c (C_entries): New local variable quotednl. Used for
7279 parsing of #define's spanning multiple lines.
7280
7281 * etags.c (C_entries): Save the definedef status
7282 even when a newline is met inside a string.
7283
72841993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7285
7286 * timer.c (notify): Initialize waitfor properly.
7287
880820fe 72881993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
7289
7290 * etags.c (C_entries): Don't reset definedef when a newline inside a
7291 comment is met.
7292
72931993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7294
7295 * etags.c (find_entries): If filename ends in .f or .for,
7296 don't try anything but Fortran.
7297
72981993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
7299
7300 * timer.c (notify): Flush stdout after writing message to avoid lossage
7301 on terminals.
7302
7303 (notify): Also, write a newline after the token.
7304
73051992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7306
7307 * Makefile.in (exec_prefix): New variable.
7308 (bindir, libdir): Use it instead of `prefix'.
7309
7310 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
7311
7312 * Makefile.in (libdir): Default to ${prefix}/lib.
b166dcd8 7313 (archlibdir): Adjust to match.
362bc2da
DL
7314
7315 * Makefile.in (distclean): Don't delete backup or autosave files.
7316 (extraclean): Like realclean, but does delete backup and autosave
7317 files.
7318
7319 * Makefile.in (realclean): Ignore errors from rm.
7320
7321 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
7322 that doesn't exist anymore.
7323
73241992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7325
7326 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
7327 described in the top-level Makefile.
7328 (UTILITIES): Add make-path to the list of utility programs.
7329 (../arch-lib): Replaced by the ${archlibdir} target, which places
7330 the executables in their permanent home.
7331 (install, install.sysv, install.xenix): Consolidated into one
7332 target which should work under all circumstances, modulo a few
7333 ignored error messages.
7334
7335 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
7336 a different number of arguments than other DEFVARs, recognize it
7337 specially, and expect the right number of commas.
7338
73391992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7340
7341 * make-path.c: New program, to help with the installation process.
7342 * Makefile.in (make-path): New target.
7343
7344 * make-path.c (touchy_mkdir): Remove debugging output.
7345
73461992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7347
b166dcd8 7348 * Makefile.in (getdate.o): Add explicit target for this, so we
362bc2da
DL
7349 can indicate that it depends on ../src/config.h.
7350
73511992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7352
7353 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
7354 instead of CFLAGS.
7355 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
7356
73571992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7358
7359 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
7360 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
7361 that system.
7362
7363 * Makefile.in (arch-lib): Give rm the `-f' option.
7364
73651992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7366
7367 * make-docfile.c (write_c_args): Rewritten to correctly print
7368 &optionals before the first identifier, but after the first paren.
7369 This code used to just wait for commas or spaces; now it notices
7370 identifier boundaries.
7371
73721992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7373
7374 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
7375
73761992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7377
7378 * make-docfile.c (write_c_args): Print the argument lists properly
7379 when the first argument is optional.
7380
73811992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7382
7383 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
7384 Redefine @item. Set catcode of +.
7385
73861992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7387
7388 * emacsclient.c (main): Set IPC_CREAT in msgget call.
7389
73901992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7391
7392 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
7393 (TEX_decode_env): Make `tab' one element longer.
7394
73951992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7396
7397 * etags.c (PF_funcs): Recognize the "entry" keyword.
7398
73991992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7400
7401 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
7402
74031992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7404
7405 * timer.c (events): Rather than having slots marked as in use or
7406 out of use by the `token' field, keep all pending events at the
7407 beginning of the array. When we delete an event in the middle of
7408 the array, we move the last event into its place.
7409 (num_events): New variable.
7410 (schedule): It is now cheaper to find a free event slot;
7411 events[num_events] is the first free slot.
7412 (notify): Scan events[0 .. num_events-1], instead of the whole
7413 array. When an event fires, move the last event in the array into
7414 its spot. Use num_events to determine whether or not there are
7415 any pending events, not wait_for.
b166dcd8 7416 (getevent): Delete unused variable `ep'.
362bc2da
DL
7417 (sigcatch): It's now easier to find all the active events.
7418 (main): Initialize num_events.
7419
7420 * etags.c: Rather than fret about which systems have index and
7421 which systems have strchr, and how to tell the difference between
7422 them, we just write out our own versions. Big deal.
7423 (index, rindex): Extern declarations removed.
7424 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
7425 (etags_index, etags_rindex): New declarations.
7426 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
7427 TEX_getit, substr): Use the etags_*index functions, rather than
7428 the native *index functions.
b166dcd8 7429 (rindex, index): Rename to etags_rindex and tags_rindex, and
362bc2da
DL
7430 made them unconditionally defined, rather than having them depend
7431 on NEED_*INDEX.
7432
7433 * etags.c (savenstr): Add declaration for this at top of file.
7434 (TEX_decode_env): Don't declare it local to this function.
7435
7436 * b2m.c: #include "../src/config.h", so we can test for the USG
7437 macro, and decide whether to include <string.h> or <strings.h>.
7438 * Makefile.in: Note that b2m.c depends on ../src/config.h.
7439
74401992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7441
7442 * timer.c: Reformatted according to the GNU coding standards.
7443 Removed arbitrary limits on the number of events queued and the
7444 length of the tokens used to identify them.
7445 Removed casts to (void).
7446 Removed debugging printfs; they clutter the code, and the need
7447 can be better filled using a real debugger.
7448
74491992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7450
7451 * timer.c: Installed new version from Eric Raymond; this is more
7452 portable, since it doesn't try to use SIGIO.
7453
74541992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7455
7456 * emacsclient.c (main): If we can't find the socket in this
7457 person's home directory, print a message which asks if they've
7458 started the server, instead of just printing the message from
7459 sys_errmsg; Cygnus finds that people are much less confused by
7460 this.
7461
74621992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7463
7464 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
7465 so that index and rindex get defined, why don't we actually
7466 control index and rindex using symbols called "NEED_INDEX" and
7467 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
7468 little more readable than defining something whose name implies
7469 that it's not?
7470
74711992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7472
7473 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
7474 distribution:
7475 Miscellaneous doc fixes.
1c478461 7476 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
7477 (scan_lisp_file): Instead of using long hairy strings of ifs, call
7478 read_lisp_symbol and then see what we got. Call skip_white
7479 instead of writing out a loop to do its job. Correctly extract
7480 docstrings from "defmacro" declarations.
7481
74821992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7483
7484 * movemail.c (strcpy): Declare this to return char *.
7485
74861992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7487
7488 * etags.c (C_entries): When we find a C++ comment, do actually
7489 skip to the end of the line; do a 'break' instead of a 'continue'.
7490
74911992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7492
7493 * etags.c (getit): Add missing parenthesis to expression which
7494 decides if this token is an identifier.
7495
74961992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7497
7498 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
7499
75001992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7501
7502 * etags.c (put_entries): Always put space between name and line num.
7503
75041992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
7505
7506 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
7507 warning.
7508 (LEVEL_OK_FOR_FUNCDEF): Ditto.
7509
75101992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7511
7512 * make-docfile.c (write_c_args): Pass both arguments to putc.
7513
75141992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
7515
b166dcd8 7516 * etags.c (C_entries): Fix reading of "..." strings.
362bc2da
DL
7517 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
7518 the C library source.
7519
7520 * etags.c (C_entries): When we see a backslash inside a quoted
7521 string, skip to the next character. This allows us to correctly
7522 deal with strings containing quotes.
7523
75241992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7525
7526 * make-docfile.c (write_c_args): Print the C argument names as
7527 they would be written in Elisp; print '_' as '-'.
7528
75291992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7530
7531 * movemail.c [POP]: Get user name via getpwuid.
7532
75331992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7534
2f2c687b 7535 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
7536
75371992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7538
10d1d0af 7539 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
7540 strings - end the lines with `\n\'.
7541
75421992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7543
b166dcd8 7544 * timer.c (getevent): Remove declaration of memcpy; since
362bc2da
DL
7545 different systems have different return types, and we're not even
7546 using the return type anyway, it wasn't doing us any good.
7547
75481992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7549
7550 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
7551 type of this function.
7552
75531992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7554
7555 * ChangeLog: Since the old etc contents have been split into etc
7556 and lib-src, the old etc's ChangeLog has been duplicated in the
7557 new etc and lib-src. That means that each contains complete and
7558 coherent information, although each contains extraneous
1c478461 7559 information.
362bc2da
DL
7560
75611992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7562
290afd83 7563 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
7564 to be consistent with other GNU programs, like makeinfo.
7565
290afd83 7566 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
7567 will edit this to produce Makefile.
7568
75691992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7570
7571 * etags.c (print_help, print_version): New functions.
7572 (main): Options added to support them.
7573
7574 * etags.c (longopts): New array of long names for the options.
7575 (main): Recognize them.
7576
75771992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7578
b166dcd8 7579 * etags.c (C_entries): Remove comment saying that \" in a string
362bc2da
DL
7580 isn't recognized as magic, because it is correctly handled.
7581
7582 * getopt.c, getopt.h: New files, from GNU C library.
7583 * etags.c: Rewritten to use getopt.
7584 #include "getopt.h".
7585 (file_num): Variable deleted; its role is now played by getopt's
7586 optind.
7587 (main): Argument processing loop rewritten to call getopt to get
7588 next option. Options which take parameters (-o and -i) rewritten
b166dcd8
KC
7589 to get parameter from optarg instead of argv[1].
7590 Filename preprocessing loop and update command changed similarly.
362bc2da
DL
7591 * Makefile (etags, ctags): Depend on and link with getopt.h,
7592 getopt.o, and getopt1.o.
7593 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
7594
7595 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
7596 is non-zero.
7597
7598 (main): In the argument processing loop, the 'goto next_arg'
7599 statements are breaking out of the switch statement in exactly the
7600 same way that a simple 'break' statement would; replace the gotos
7601 with breaks, and remove the label.
7602
76031992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7604
7605 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
7606 (consider_token): Move next_token_is_func to global.
7607
76081992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7609
7610 * Makefile: Conform with GNU coding standards:
7611 (mostlyclean): New target, synonymous with clean.
7612 (TAGS, check): New targets.
7613 (INSTALL, INSTALLFLAGS): New variables.
7614
76151992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7616
ecc54057 7617 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
7618 `config.emacs' to `configure'.
7619
7620 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
7621 * etc/MACHINES: Same.
7622
76231992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7624
7625 * movemail.c (main): Allow tempname to be as long as necessary,
7626 instead of limiting it to 39 characters.
7627
7628 * movemail.c (main): Move declaration of buf from top of function
7629 to local block surrounding the copy loop. This makes it less
7630 likely to be confused with the buf used by the code which checks the
7631 permissions on outname's directory.
7632
76331992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
7634
7635 * SERVICE: Remove my entry.
7636
76371992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
7638
7639 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
7640 hardcoded -g.
7641
7642 * movemail.c (xmalloc): Return char *, not int.
7643 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
7644 that is off by default -- normally don't unlink the mail spool
7645 file, just empty it. Pass creat mode 0600, not 0666.
7646
dff28924 76471992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7648
7649 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
7650 (all): Instead of here.
7651 (install): Don't use the -s option, since people need symbols to
7652 debug code.
7653
dff28924 76541992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
7655
7656 * etags-vmslib.c (fn_exp): Add type cast.
7657
76581992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7659
7660 * movemail.c: Changes in comments.
7661
dff28924 76621992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7663
7664 * Makefile: Make the distclean target erase the DOC files from
7665 ../share-lib and the executables from ../arch-lib.
7666
dff28924 76671992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7668
7669 * emacsclient.c: #include <sys/stat.h>
7670 (main): Do declare statbfr.
7671
dff28924 76721991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7673
7674 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
7675 for the socket, depending on SERVER_HOME_DIR.
7676 If using /tmp, put host name in the socket name.
7677
7678 * movemail.c (pfatal_and_delete): New function.
7679 (main, popmail): Use it.
7680 (popmail): Close output before deleting messages.
7681 Check for error on close and on fsync.
7682 Use `fatal' where appropriate.
7683 (main): Remove (void).
7684
7685 * aixcc.lex: New file. Not officially part of Emacs.
7686 * Makefile: Rules for that.
7687
dff28924 76881991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
7689
7690 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
7691
7692 * etags.c (main): Properly cast call to alloca that initializes
7693 included_files.
7694
76951991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7696
7697 * etags.c (files_are_tag_tables): Remove global var.
7698 (process_file): Don't test it. Also remove hack checking for a
7699 file named "TAGS".
7700 (main): -i now takes an arg which is the name of a file to include.
7701 Collect these names and emit include tags for them after processing
7702 all the argument files.
7703
dff28924 77041991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7705
7706 * wakeup.c: Terminate if parent goes away.
7707
dff28924 77081991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7709
7710 * etags.c (C_entries): Process token before handling end of line.
7711 When inner loops reach end of line, just back up.
7712 Let the real end of line processing happen in just one place.
a64387ee 7713 (consider_token): Likewise.
362bc2da 7714
dff28924 77151991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
7716
7717 * etags.c (TEX_mode): Skip comments while scanning the text to see
7718 which escape character this file uses.
7719
dff28924 77201991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7721
7722 * emacsserver.c [USG]: Terminate if msgrcv fails.
7723
dff28924 77241991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7725
7726 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
7727
dff28924 77281991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
7729
7730 * make-docfile: Find the arguments to a C function correctly,
b166dcd8
KC
7731 by not ignoring the character that read_c_string returns.
7732 Don't even try to find argument names for functions that take MANY
362bc2da
DL
7733 or UNEVALLED arguments, since they're a figment of the docstring's
7734 imagination.
7735
dff28924 77361991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
7737
7738 * make-docfile: Read the .elc files generated by the new byte
7739 compiler.
7740
dff28924 77411990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7742
7743 * refcard.tex: Use cm fonts, not am, in multi-column mode.
7744
dff28924 77451990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7746
7747 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
7748
dff28924 77491990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7750
7751 * Makefile (install*): No need to install wakeup.
7752
dff28924 77531990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7754
7755 * Makefile (install*): Install emacsclient like etags.
7756
dff28924 77571990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7758
7759 * movemail.c (error): Handle 3 args.
7760 (main): Don't check input access if using pop.
7761
dff28924 77621990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7763
7764 * etags.c (find_entries): Check for numbers after Scheme suffix.
7765
dff28924 77661990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7767
7768 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
7769
dff28924 77701990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7771
7772 * Makefile (nemacstool, xvetool): New targets.
7773
dff28924 77741990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7775
7776 * emacsclient.c: Include errno.h and define related variables.
7777
dff28924 77781990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7779
7780 * emacsclient.c: Change usage message.
7781
dff28924 77821990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 7783
ecc54057 7784 * emacs.1: Add break before -nw option.
362bc2da 7785
dff28924 77861990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
7787
7788 * qsort.c: Replace with GNU version.
7789
dff28924 77901990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
7791
7792 * wakeup.c: New program replacing loadst.c.
7793
dff28924 77941990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7795
7796 * emacsclient.c [USG]: Pass msgsnd only 4 args.
7797
dff28924 77981990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
7799
7800 * etags.c: Rename `flag' variables for what they do instead of
7801 which option character sets them.
7802
dff28924 78031990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7804
7805 * loadst.c (main): Conditional to get load average on Apollo.
7806
dff28924 78071990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
7808
7809 * emacsserver.c: Set the permission on the socket to 0600.
7810
dff28924 78111990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7812
7813 * emacsclient.c [BSD]: Print clean message for failing getwd.
7814
dff28924 78151990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
7816
7817 * getdate.y: Use the getdate.y from GNU tar for timer.
7818
dff28924 78191990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
7820
7821 * emacsclient.c (main): Don't put brackets around "filename" in
7822 usage message. It isn't optional.
7823
dff28924 78241990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 7825
a64387ee 7826 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 7827
dff28924 78281990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
7829
7830 * emacsserver.c: Renamed from server.c.
7831 * Makefile: Reference emacsserver rather than server.
7832 * MACHINES: Doc fix for new emacsserver name.
7833
dff28924 78341990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7835
7836 * emacsclient.c: Print program name in error messages.
7837
dff28924 78381990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
7839
7840 * timer.c, getdate.y (new files) and Makefile:
194d44e7
JB
7841 Sub-process support for run-at-time in timer.el.
7842 Doesn't yet work correctly for USG.
362bc2da 7843
dff28924 78441990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
7845
7846 * MACHINES: Add HP 300 running BSD.
7847
dff28924 78481990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7849
7850 * yow.c: Dynamically allocate buffer; skip header before random
7851 choice to avoid bias toward first item.
7852
dff28924 78531989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7854
7855 * etags.c (readline): Separate out init of `pend'.
7856
dff28924 78571989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7858
7859 * etags.c: Undo changes relating to isgoodhdr.
7860
dff28924 78611989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7862
7863 * etags.c (isgoodhdr): New macro.
7864 (_gdh, notgdh): New variable used by that.
7865 (init): Initialize _gdh.
7866 (find_entries): Set header_file.
7867 (consider_token): Use isgoodhdr if in header file.
7868
7869 * etags.c (total_size_of_entries):
7870 Was miscalculating by 1 in rewritten case.
7871
7872 * etags.c (PAS_funcs): One arg to pfnote was missing.
7873
dff28924 78741989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
7875
7876 * MACHINES: Change for the ULTRIX entry.
7877
dff28924 78781989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
7879
7880 * etags.c (process_file): If file is not regular, return.
7881
dff28924 78821989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7883
7884 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
7885
dff28924 78861989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7887
7888 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
7889 (main): If HAVE_GETLOADAVG, don't call `nlist'.
7890
dff28924 78911989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7892
7893 * etags.c (consider_token): Allow any number of typespec keywords
7894 after `typedef', before new type name.
7895 (enum sym_type): Add st_C_typespec.
7896 (C_create_stab): Put typespec kwds in table.
7897
dff28924 78981989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7899
7900 * etags.c (main): Don't depend on name invoked by.
7901 If CTAGS is not defined, assume it is ETAGS.
7902
dff28924 79031989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7904
7905 * etags.c (L_funcs): Allow package name in define construct,
7906 as in (foo::defmumble name-defined ...).
7907
dff28924 79081989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7909
7910 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
7911
7912 * Makefile (yow): Depends on ../src/paths.h.
7913
dff28924 79141989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7915
7916 * etags.c: Fix compilation by moving Pascal after Fortran.
7917
dff28924 79181989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7919
7920 * movemail.c [USG]: Define F_OK, etc., if not found in header.
7921
dff28924 79221989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7923
7924 * hexl.c: New file, supports hexl-mode.
7925
dff28924 79261989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7927
7928 * movemail.c: New compilation flag MAIL_USE_MMDF.
7929
dff28924 79301989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7931
7932 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
7933 * server.c: Likewise.
7934
7935 * make-docfile.c (scan_c_file): Output argument names at end of string.
7936 (write_c_args): New subroutine.
7937
dff28924 79381989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7939
7940 * movemail.c: Report failure of flock.
7941
dff28924 79421989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7943
7944 * etags.c (find_entries): Allow multi-letter extensions for fortran.
7945
dff28924 79461989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7947
2f2c687b 7948 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 7949
dff28924 79501989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7951
7952 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
7953
30a7ee9f 7954 * emacstool.1: Update to document environment variables.
362bc2da 7955
dff28924 79561989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7957
7958 * etags.c (PAS_funcs): New function by Mosur Mohan.
7959
7960 * movemail.c: On sysv, include unistd.h.
7961
dff28924 79621989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7963
7964 * b2m.c: New file.
7965
dff28924 79661989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7967
6088b51f 7968 * etags.c: Prolog support from Sunichirou Sugou.
362bc2da 7969
dff28924 79701989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7971
7972 * Makefile (clean): New target.
7973
dff28924 79741989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7975
7976 * fakemail.c (put_line): Break header lines at 79 cols.
7977
dff28924 79781989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7979
7980 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
7981 multiple tags per line.
7982
dff28924 79831989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7984
7985 * movemail.c: Check access before doing real work.
7986 Check that outfile is in a writable directory.
7987 On fatal error, delete the lock file.
7988
dff28924 79891988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 7990
ecc54057 7991 * env.c: Add decl for my-index
6088b51f 7992 * etags.c (file-entries): .oak => scheme.
362bc2da 7993
dff28924 79941988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7995
7996 * movemail.c: Use `access' to check input and output files.
7997
dff28924 79981988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7999
8000 * emacsclient.c (main): Ignore all of CWD before first slash.
8001
dff28924 80021988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8003
8004 * etags.c (readline): Double linebuffer->size outside the xrealloc.
8005
dff28924 80061988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8007
8008 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
8009 * server.c: chmod the socket to 0700.
8010
dff28924 80111988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8012
8013 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
8014 (add_field): Delete comments and turn `<', `>' to spaces
8015 in header lines.
8016 (USE_FAKEMAIL): New customization macro says to make fakemail
8017 not be a no-op even on a BSD system.
8018
dff28924 80191988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8020
8021 * etags.c (consider_token): Skip comments just like whitespace.
8022 Notice `struct', etc. and set strtag for those tokens.
8023 Return 1 for the token following `struct' if an open-brace follows it.
8024 (C_entries): Special handling of token following `struct'
8025 needed because we have probably advanced to the following line
8026 to find the `{'.
8027 (main): New option `T' sets tflag and strflag.
8028 Set both of them by default if eflags.
8029
dff28924 80301988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8031
8032 * movemail.c: Do fsync before closing output.
8033
dff28924 80341988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 8035
ecc54057
JB
8036 * movemail.c: Better error message when can't create tempname.
8037 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 8038
dff28924 80391988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8040
8041 * etags.c: Support assembler code for .s and .a files.
8042 (getit): Allow underscore in a tag.
8043
dff28924 80441988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8045
8046 * movemail.c: Close output and check errors before deleting input.
8047
dff28924 80481988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
8049
8050 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
8051 whether to prefix it. Handle line number args.
8052
dff28924 80531988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 8054
2f2c687b 8055 * etags.c (main): Default setting of eflag was backwards.
362bc2da 8056
dff28924 80571988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8058
8059 * etags.c: New option -i. -f renamed -o.
8060 `-' as input file means read input file names from stdin.
8061 -i spec'd or input file named TAGS means the input file is another
8062 tag table; output an "include" line for it.
8063
dff28924 80641988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8065
8066 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
8067 New targets install, install.sysv, install.xenix.
8068 This makefile is now responsible for installing executables
8069 and documentation from this directory into system directories.
8070
dff28924 80711988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
8072
8073 * server.c, emacsclient.c (main): Compute socket name from euid.
8074
dff28924 80751988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8076
8077 * emacsclient.c: Args like +DIGITS are passed through unchanged.
8078
dff28924 80791988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8080
8081 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
8082 * emacsclient.c: Likewise.
8083 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
8084
dff28924 80851988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8086
8087 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 8088 (istoken): New string-comparison macro.
362bc2da
DL
8089 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
8090
dff28924 80911988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8092
8093 * etags.c: Changes for VMS.
8094 Always define ETAGS on VMS.
8095 Define macros GOOD and BAD for success and failure exit codes.
c4cc8b9a 8096 (begtk, intk): Allow `$' in identifiers.
362bc2da
DL
8097 (main): Don't support -B, -F or -u on VMS.
8098 Alternate loop for scanning filename arguments.
8099 (system): Delete definition of this function.
8100
8101 * etags-vmslib.c (system): Undefine this; VMS now provides it.
8102
dff28924 81031988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8104
8105 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
8106 around include of param.h. (Like fns.c.)
8107
dff28924 81081988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
8109
8110 * loadst.c (load_average): Move load-average code to this new fn.
8111 Add conditionals to compute load ave on UMAX.
8112
dff28924 81131988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
8114
8115 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
8116 with opposite sense.
8117
dff28924 81181988-05-13 Chris Hanson (cph@kleph)
362bc2da 8119
b166dcd8
KC
8120 * emacsclient.c: Delete references to unused variable `out'.
8121 This caused a bus error when used under hp-ux.
362bc2da 8122
dff28924 81231988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
8124
8125 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
8126
dff28924 81271988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
8128
8129 * etags.c (find_entries): `.t' or `.sch' means scheme code.
8130
dff28924 81311988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
8132
8133 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
8134
dff28924 81351988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
8136
8137 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 8138 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 8139
dff28924 81401988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
8141
8142 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
8143 invalid escape sequences such as `\{'.
8144
8145 * loadst.c: Add `sequent' conditional for file dk.h.
8146
dff28924 81471988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 8148
2f2c687b 8149 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 8150
2f2c687b 8151 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
8152
8153;; Local Variables:
880820fe 8154;; coding: utf-8
6922b018 8155;; End:
2a34a036 8156
acaf905b 8157 Copyright (C) 1988-1999, 2001-2012 Free Software Foundation, Inc.
5b87ad55
GM
8158
8159 This file is part of GNU Emacs.
8160
294981c7 8161 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 8162 it under the terms of the GNU General Public License as published by
294981c7
GM
8163 the Free Software Foundation, either version 3 of the License, or
8164 (at your option) any later version.
5b87ad55
GM
8165
8166 GNU Emacs is distributed in the hope that it will be useful,
8167 but WITHOUT ANY WARRANTY; without even the implied warranty of
8168 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8169 GNU General Public License for more details.
8170
8171 You should have received a copy of the GNU General Public License
294981c7 8172 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.