Fix ChangeLog entry by negating its 1st sentence.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
fe453991
GM
12012-05-26 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (INSTALL_DATA): Remove; unused.
4
34374650
PE
52012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6
7 Remove src/m/*.
8 * makefile.w32-in: Remove dependencies on
9 $(EMACS_ROOT)/src/m/intel386.h.
10
32514cfe
GM
112012-05-22 Glenn Morris <rgm@gnu.org>
12
13 * Makefile.in (install): Remove unneeded chmods.
14
261cb4bb
PE
152012-05-21 Paul Eggert <eggert@cs.ucla.edu>
16
17 Assume C89 or later.
18 * etags.c (static, const): Remove macros.
19 (PTR): Remove; all uses replaced with void *. Omit needless casts.
20
b847032c
GM
212012-05-21 Glenn Morris <rgm@gnu.org>
22
23 * Makefile.in (insrcdir, $(DESTDIR)${archlibdir}):
24 Scrap superfluous subshells.
25
ed4affe1
GM
262012-05-18 Glenn Morris <rgm@gnu.org>
27
28 * Makefile.in (install): Ensure $bindir exists.
29
3a4155de
GM
302012-05-17 Glenn Morris <rgm@gnu.org>
31
32 * Makefile.in (ns_appbindir): New, set by configure.
33
005ad204
GM
342012-05-12 Glenn Morris <rgm@gnu.org>
35
36 * Makefile.in (MKDIR_P): New, set by configure.
37 ($(DESTDIR)${archlibdir}): Use $MKDIR_P.
38
db5a3003
PE
392012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40
41 etags: pacify gcc -Wstack-protector on Ubuntu 12.04 x86
42 * etags.c: Include <stdarg.h>.
43 (error): Declare as printf-style, as that's what it really is.
44 All uses changed.
45 (add_regex): Use single char rather than array-of-one char.
46
eceeb5fc
CY
472012-05-05 Jim Meyering <meyering@redhat.com>
48
49 * lib-src/pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
50 NUL-terminate the error buffer (Bug#11372).
51
069a7756
JB
522012-05-02 Juanma Barranquero <lekktu@gmail.com>
53
54 * emacsclient.c (min): Undef before redefining it.
55
1e6f32f8
JM
562012-05-02 Jim Meyering <jim@meyering.net>
57
58 * emacsclient.c (send_to_emacs): Avoid invalid strcpy upon partial
59 send (Bug#11374).
60
a706a3bc
AS
612012-04-29 Andreas Schwab <schwab@linux-m68k.org>
62
63 * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
64 byte-code forms. (Bug#11380)
65
c07a4c0b 662012-04-20 Chong Yidong <cyd@gnu.org>
9a864fa2
CY
67
68 * emacsclient.c (decode_options): Move -t -n corner case handling
69 into server.el (Bug#11102).
5d3385a0 70 (main): Send -tty to Emacs under more circumstances (Bug#8314).
9a864fa2 71
6c94c34f 722012-04-18 Paul Eggert <eggert@cs.ucla.edu>
b8df54ff 73
9f46df23 74 configure: new option --enable-gcc-warnings (Bug#11207)
b8df54ff
PE
75 * Makefile.in (C_WARNINGS_SWITCH): Remove.
76 (WARN_CFLAGS, WERROR_CFLAGS): New macros.
77 (BASE_CFLAGS): Use new macros rather than old.
78
15142f27
PE
792012-04-16 Paul Eggert <eggert@cs.ucla.edu>
80
81 Assume less-ancient POSIX support.
82 * update-game-score.c: Include <getopt.h> rather than rolling our
83 own decls for optarg, optind, opterr. See
84 <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>.
85
bdf35b6a 862012-04-14 Juanma Barranquero <lekktu@gmail.com>
6c91c9f0 87
9401b326
JB
88 * emacsclient.c (decode_options) [WINDOWSNT]:
89 Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
90
9078ead6
EZ
912012-04-07 Eli Zaretskii <eliz@gnu.org>
92
93 * makefile.w32-in (obj): Add xml.o.
94
d67a9a85
EZ
952012-04-07 Eli Zaretskii <eliz@gnu.org>
96
97 * makefile.w32-in (ALL): Now the list of executables, not of phony
98 targets.
99 (.PHONY): Only make-docfile is its prerequisite now.
100 (make-docfile): Don't depend on stamp_BLD. Add a comment about
101 the need in this target.
102 (ctags, etags, ebrowse, hexl, movemail, emacsclient)
103 (test-distrib): Phony targets removed.
104 ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe.
105 (all): Don't depend on stamp_BLD.
e4ecc6a2 106 (ALL): Include $(BLD)/test-distrib.exe.
d67a9a85 107
6b0c8984
AS
1082012-03-11 Andreas Schwab <schwab@linux-m68k.org>
109
e29ab36b
AS
110 * emacsclient.c (main): Handle -print-nonl command.
111
2b84f674
AS
112 * emacsclient.c (main): Handle multiple messages in a single
113 datagram.
114
6b0c8984
AS
115 * emacsclient.c (socket_name): Add const.
116 (get_server_config): Add parameter config_file, use it instead of
117 global server_file.
118 (set_tcp_socket): Add parameter local_server_file, pass it down to
119 get_server_config.
120 (set_local_socket): Add parameter local_socket_name, use it
121 instead of global socket_name.
122 (set_socket): Adjust calls to set_local_socket and set_tcp_socket.
123 Don't clobber global server_file or socket_name.
124 (main): No longer reset server_file or socket_name.
125
1c6e5a32
GM
1262012-01-05 Glenn Morris <rgm@gnu.org>
127
128 * ebrowse.c (version) <emacs_copyright>:
129 * etags.c (print_version) <emacs_copyright>:
130 * rcs2log (Copyright): Update short copyright year to 2012.
131
28796b3a
AS
1322011-12-25 Andreas Schwab <schwab@linux-m68k.org>
133
134 * etags.c (C_entries): Properly skip over string and character
135 constants and comments inside brackets. (Bug#10357)
136
520fca41
JB
1372011-12-04 Juanma Barranquero <lekktu@gmail.com>
138
139 * emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0;
140 instead, treat both -c and -t as always requesting a new "tty" frame,
141 and let server.el decide which kind is actually required.
142 Reported by Uwe Siart <usenet@siart.de> in this thread:
143 http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html
144
e7308292
CY
1452011-11-30 Chong Yidong <cyd@gnu.org>
146
147 * emacsclient.c (main): Condition last change on WINDOWSNT
148 (Bug#10155).
149
8c9afb46
EZ
1502011-11-27 Eli Zaretskii <eliz@gnu.org>
151
152 * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
153
154 * emacsclient.c (main) <environ>: Remove declaration, already
75f1671a 155 pulled in by unistd.h on POSIX hosts and stdlib.h on MS-Windows.
8c9afb46 156
420b63ad
GM
1572011-11-24 Glenn Morris <rgm@gnu.org>
158
159 * make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
160
5ef215d8
DN
1612011-11-14 Dan Nicolaescu <dann@ics.uci.edu>
162
163 * Makefile.in (all): Make sure "all" is the first target.
164
657d08d3
JB
1652011-10-27 Juanma Barranquero <lekktu@gmail.com>
166
167 * emacsclient.c (w32_getenv): Silence compiler warnings.
168
0f054abc
GM
1692011-09-07 Glenn Morris <rgm@gnu.org>
170
171 * etags.c (Fortran_functions): Handle "elemental" functions.
172
d0417b4c
DS
1732011-09-07 Dieter Schuster <didischuster@arcor.de> (tiny change)
174
175 * etags.c (Fortran_functions): Handle "pure" functions. (Bug#9359)
176
e39b275c 1772011-09-06 Paul Eggert <eggert@cs.ucla.edu>
24e0f6b1
PE
178
179 * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
abec06ff 180 to build-aux (Bug#9169).
24e0f6b1 181
86633eab 1822011-09-04 Paul Eggert <eggert@cs.ucla.edu>
17107bb6 183
005d87bd 184 Integer and memory overflow issues (Bug#9397).
17107bb6
PE
185
186 * emacsclient.c (xmalloc): Accept size_t, not unsigned int, to
187 avoid potential buffer overflow issues on typical 64-bit hosts.
188 Return void *, not long *.
189 (get_current_dir_name): Report a failure, instead of looping
190 forever, if buffer size calculation overflows. Treat malloc
191 failures like realloc failures, as that has better behavior and is
192 more consistent. Do not check whether xmalloc returns NULL, as
193 that's not possible.
194 (message): Do not arbitrarily truncate message to 2048 bytes when
195 sending it to stderr; use vfprintf instead.
196 (get_server_config, set_local_socket)
197 (start_daemon_and_retry_set_socket): Do not alloca
198 arbitrarily-large buffers; that's not safe.
199 (get_server_config, set_local_socket): Do not use sprintf when its
200 result might not fit in 'int'.
201 (set_local_socket): Do not assume uid fits in 'int'.
202
9250f758
PE
203 * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
204 to avoid potential buffer overflow issues on typical 64-bit hosts.
205 (whatlen_max): New static var.
206 (main): Avoid buffer overflow if subsidiary command length is
207 greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its
208 result might not fit in 'int'.
209
644a0faa
PE
210 * movemail.c (main): Do not use sprintf when its result might not fit
211 in 'int'. Instead, put the possibly-long file name into the
212 output of pfatal_with_name.
213
0c6d656d
PE
214 * update-game-score.c: Include <limits.h>
215 (get_user_id): Do not assume uid fits in 'int'. Simplify.
216
044c22e5 2172011-07-28 Paul Eggert <eggert@cs.ucla.edu>
9cfdb3ec 218
0e926e56
PE
219 Assume freestanding C89 headers, string.h, stdlib.h.
220 * ebrowse.c: Include stdlib.h unconditionally.
221 * etags.c, update-game-score.c:
222 Include string.h and stdlib.h unconditionally.
223 * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS.
224 * movemail.c, pop.c: Include string.h unconditionally.
225 * update-game-score.c: No need to include stdarg.h; not used.
226
9cfdb3ec
PE
227 Assume support for memcmp, memcpy, memmove, memset.
228 * etags.c (absolute_filename): Assume memmove exists.
229
ec3b5374
AS
2302011-07-09 Andreas Schwab <schwab@linux-m68k.org>
231
232 * update-game-score.c (usage): Update usage line.
233
bc92abd2
JR
2342011-07-02 Jason Rumney <jasonr@gnu.org>
235
236 * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
237 Windows (Bug#5486).
238
3794a2d3
GM
2392011-06-25 Glenn Morris <rgm@gnu.org>
240
241 * emacsclient.c (decode_options) <opt>: Add `F:'.
242 (print_help_and_exit): Mention --frame-parameters.
243
18a4ce5e
AR
2442011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
245
246 * emacsclient.c (longopts, decode_options, main): Add frame-parameters.
247
529a133c
PE
2482011-06-10 Paul Eggert <eggert@cs.ucla.edu>
249
250 * movemail.c: Fix race condition and related bugs (Bug#8836).
251 (main) [!MAIL_USE_SYSTEM_LOCK]: Prefer mkstemp to mktemp, as this
252 fixes some race conditions. Report mkstemp/mktemp errno rather
253 than a possibly-garbage errno. Reinitialize the template each
254 time through the loop, as earlier mkstemp/mktemp calls could have
255 trashed it. Pass 0600 (not 0666) to mktemp, for consistency
256 with mkstemp; the permissions don't matter anyway.
257
fe91f5a0
DN
2582011-06-01 Dan Nicolaescu <dann@ics.uci.edu>
259
260 * emacsclient.c (socket_status): Use constant pointer.
261
55d4c1b2
PE
2622011-05-28 Paul Eggert <eggert@cs.ucla.edu>
263
264 Use 'inline', not 'INLINE'.
265 * etags.c (hash): Now inline unconditionally.
266 * make-docfile.c (put_char): inline, not INLINE.
267
7bdede3f
GM
2682011-05-25 Glenn Morris <rgm@gnu.org>
269
e9490743
GM
270 * Makefile.in (.c.o): Remove (every .o file has an explicit rule).
271 (insrcdir): New.
272 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
273 Use $insrcdir to suppress unaesthetic ignored errors.
274 (clean): Simplify list of things to delete.
497c74cd 275 (all, clean): Use $EXE_FILES.
e9490743 276
d114d4f3
GM
277 * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
278
7bdede3f
GM
279 * Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
280 (etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
281
1c728a9d
GM
2822011-05-24 Glenn Morris <rgm@gnu.org>
283
284 * Makefile.in (update-game-score${EXEEXT}): Use a single rule.
285
4a720484
GM
2862011-05-19 Glenn Morris <rgm@gnu.org>
287
288 * makefile.w32-in (echolisp): Remove rule that is no longer needed.
289 (clean): No more echolisp.tmp.
290
c136e5cd
GM
2912011-05-18 Glenn Morris <rgm@gnu.org>
292
293 * fakemail.c: Remove file.
294 * makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
295 ($(BLD)/fakemail.$(O)): Remove.
296 * Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
297 (fakemail${EXEEXT}): Remove rule.
298
418401a5
TZ
2992011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
300
17519c90 301 * makefile.w32-in (obj): Add gnutls.o.
418401a5 302
c5443aa5
PE
3032011-04-16 Paul Eggert <eggert@cs.ucla.edu>
304
fd35b6f9
PE
305 Static checks with GCC 4.6.0 and non-default toolkits.
306
5a9c1e26
PE
307 * movemail.c (mail_spool_name): Protoize.
308 (main): Remove unused var. Mark var as initialized.
309 Move locals to avoid shadowing, and use time_t for times.
310
cd52b244
PE
311 * fakemail.c (xmalloc, xreallc): Use standard C prototypes
312 with void *. This avoids warnings about pointer casts.
313
c5443aa5
PE
314 * emacsclient.c (main): Don't use uninitialized var.
315 (IS_ANY_SEP): Remove; unused.
316 (get_current_dir_name): Add an extern decl.
317
41cf7d1a 3182011-04-06 Paul Eggert <eggert@cs.ucla.edu>
72b04a8a 319
41cf7d1a 320 Fix more problems found by GCC 4.6.0's static checks.
72b04a8a 321
41cf7d1a 322 * emacsclient.c (message): Mark it as a printf-like function.
8e48d7bc
PE
323
324 * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
325 (write_c_args): Use it to suppress GCC warning.
326
77861b95 3272011-03-30 Paul Eggert <eggert@cs.ucla.edu>
8c422c30 328
77861b95 329 Fix a problem found by GCC 4.6.0's static checks.
8c422c30
PE
330 * etags.c (just_read_file): Remove dummy variable and simplify.
331
9af30bdf
GM
3322011-03-27 Glenn Morris <rgm@gnu.org>
333
334 * emacsclient.c: Replace SIGTYPE with void.
335
9c88f339
JB
3362011-03-23 Juanma Barranquero <lekktu@gmail.com>
337
338 * ntlib.c: Include <ctype.h>.
339
8cc1d519
GM
3402011-03-23 Glenn Morris <rgm@gnu.org>
341
342 * Makefile.in ($(DESTDIR)${archlibdir}):
343 Use `install-sh -d' rather than mkinstalldirs.
344
c9c49752 3452011-03-23 Paul Eggert <eggert@cs.ucla.edu>
d5cad867 346
b1f961e1
PE
347 * ebrowse.c: Use size_t, not int, for sizes.
348 This avoids a warning with gcc -Wstrict-overflow, and works
349 better for very large objects.
350 (inbuffer_size): Now size_t. All uses changed.
351 (xmalloc, xrealloc, operator_name, process_file): Use size_t for
352 sizes. Don't bother testing whether a size_t value can be negative.
353
58cb46fb
PE
354 * etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
355
3ef271f2
PE
356 etags: In Prolog functions, don't assume int fits in size_t.
357 This avoids a warning with gcc -Wstrict-overflow.
358 * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
359 not int, to store sizes.
360 (prolog_atom): Return 0, not -1, on error. All callers changed.
361
f0d80d43
PE
362 update-game-score: fix bug with -r
363 * update-game-score.c (main): Don't set 'scores' to garbage when
5d6d7e57
PE
364 -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug
365 was introduced in the 2002-04-10 change, and was found with gcc
f0d80d43
PE
366 -Wstrict-overflow (GCC 4.5.2, x86-64).
367
d5cad867
PE
368 fakemail: Remove dependency on ignore-value.
369 This undoes some of the recent fakemail-related changes.
370 It is made possible due to recent changes to gnulib's stdio module.
371 * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
372 * fakemail.c: Do not include ignore-value.h.
373 (put_line): Do not use ignore_value.
374
33383987
JB
3752011-03-07 Chong Yidong <cyd@stupidchicken.com>
376
377 * Version 23.3 released.
378
0b973fc5
DW
3792011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change)
380
381 * emacsclient.c (longopts): Add quiet.
382 (decode_options): Handle q/quiet.
383 (print_help_and_exit): Add q/quiet.
384 (main): Suppress some messages if quiet option is used.
385
a54af40e
EZ
3862011-02-26 Eli Zaretskii <eliz@gnu.org>
387
00030ef0
EZ
388 * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
389
a54af40e
EZ
390 * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
391 (w32_getenv): Use xstrdup to return all values in malloc'ed
392 storage.
393
34e6d782
PE
3942011-02-26 Paul Eggert <eggert@cs.ucla.edu>
395
6c0668d9
PE
396 * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
397 to reader (and to the compiler) that the loop always executes at
398 least once. This prevents a warning with recent GCC.
9e1b7fe6 399 (BROWSE_STRUCT): Remove unused macro.
6c0668d9 400
a4fe4e89
PE
401 * fakemail.c: Include <ignore-value.h>.
402 (put_line): Explicitly ignore fwrite return value, for benefit of
403 recent glibc + gcc.
404 (close_the_streams): Diagnose output errors instead of merely
405 exiting with nonzero status.
406 (my_fclose, main): Diagnose input errors, and exit with nonzero status.
407 Formerly, input errors were silently ignored.
408
34e6d782
PE
409 * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
410 All callers changed. This is cleaner, and avoids GCC warnings about
411 passing NULL to fputs.
70279bd1 412 (insert_keyword): Rename parameter to avoid shadowing diagnostic.
34e6d782 413
564ff1f2
PE
4142011-02-25 Paul Eggert <eggert@cs.ucla.edu>
415
7e6bb4c9 416 * emacsclient.c (main): Avoid dangling 'if'.
b9170155
PE
417 (xstrdup): Remove; no longer needed.
418 (get_current_dir_name, w32_getenv, get_server_config, find_tty):
419 (set_local_socket, main):
420 Use const char *, not char *, for pointers that are not assigned
421 through.
4be3dfc5
PE
422 (IF_LINT): New macro.
423 (set_local_socket, main): Use it to suppress warnings with
424 GCC -Wuninitialized.
7e6bb4c9 425
b0bbc07d
PE
426 * emacsclient.c: Redo local variables to avoid shadowing problems.
427 (message, socket_status, start_daemon_and_retry_set_socket):
428 Rename locals.
429 (main): Move decl of "i".
430
3f5e6230
PE
431 * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
432 This avoids an unused-macro warning with some GCC settings.
433
564ff1f2
PE
434 * make-docfile.c (write_globals): Change char * to char const *
435 to avoid a GCC "assignment discards qualifiers" diagnostic
436 in some configurations.
8dfa32f6
PE
437 (scan_c_file): Refactor local variable decls to make their scope
438 more accurate and to avoid a GCC -Wuninitialized diagnostic.
564ff1f2 439
b97decf2
EZ
4402011-02-22 Eli Zaretskii <eliz@gnu.org>
441
32e793fa
EZ
442 * etags.c (canonicalize_filename, ISUPPER): Fix last change.
443
b97decf2
EZ
444 * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)): Depend
445 on ../lib/min-max.h.
446
f68c809d
PE
4472011-02-22 Paul Eggert <eggert@cs.ucla.edu>
448
e5075711
PE
449 etags: Downcase drive letters, for consistency with Emacs proper.
450 * etags.c (upcase): Remove; no longer used.
451 (canonicalize_filename): Downcase drive letters.
452
f68c809d
PE
453 Assume S_ISLNK etc. work, since gnulib supports this.
454 * etags.c (S_ISREG): Remove.
455
b97decf2
EZ
4562011-02-22 Paul Eggert <eggert@cs.ucla.edu>
457
458 Assume S_ISLNK etc. work, since gnulib supports this.
459 * etags.c (S_ISREG): Remove.
460
602a5739
JB
4612011-02-22 Juanma Barranquero <lekktu@gmail.com>
462
463 * makefile.w32-in (obj): Remove filemode.o.
464
b23b5a5b
PE
4652011-02-21 Paul Eggert <eggert@cs.ucla.edu>
466
ba01e9d7
PE
467 New file "lib/min-max.h".
468 * ebrowse.c (min, max): Define them by including <min-max.h>
469 instead of defining it ourselves.
470 * pop.c (min): Likewise.
d47d6319 471 * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
ba01e9d7 472
f0939c31
PE
473 * movemail.c (popmail): Report fchown failure instead of ignoring it.
474 But if the file already has the right ownership, don't worry about it.
475
4df52042 476 * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
08c69097 477 * test-distrib.c (buf): Make this local, to avoid shadowing.
4df52042 478
27d41fb4 479 * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
1afca8cc 480 (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
5ecec6a7
PE
481 (DONE): Remove unused macro.
482 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
483 Define these macros only in the contexts that need them.
0d7fdc0e
PE
484 * pop.c (index): Remove unused macro.
485 (KPOP_PORT): Define only if KERBEROS is defined.
27d41fb4 486
b23b5a5b
PE
487 Declare file-scope functions and variables static if not exported.
488 This is more consistent, and is nicer with gcc -Wstrict-prototypes.
489 * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
490 * profile.c, test-distrib.c, update-game-score.c:
491 Declare non-'main' functions and variables to be static.
492 * ebrowse.c: Omit redundant function prototypes.
493
25c51af3
EZ
4942011-02-21 Eli Zaretskii <eliz@gnu.org>
495
496 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
497 ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
498 Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
499
e18c0aa3 5002011-02-21 Ben Key <bkey76@gmail.com>
6ca1c3b4
BK
501
502 * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
503 the new BVAR macro.
504
50a4e25a
JB
5052011-02-20 Juanma Barranquero <lekktu@gmail.com>
506
507 * makefile.w32-in (obj): Remove md5.o.
508
b166dcd8
KC
5092011-02-18 Karl Chen <Karl.Chen@quarl.org>
510
511 * emacsclient.c (main): Loop while `recv' return EINTR.
512
64df8c10
PE
5132011-02-09 Paul Eggert <eggert@cs.ucla.edu>
514
515 * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
516 This avoids collision with config.h's EMACS_INT on some
517 configurations. All uses changed.
518
00b3c7ac
TT
5192011-02-08 Tom Tromey <tromey@redhat.com>
520
521 * make-docfile.c: Unconditionally include stdlib.h.
522 (generate_globals): New global.
523 (xrealloc): New function.
524 (main): Handle '-g'. Call start_globals, write_globals.
525 (scan_file): Conditionally call put_filename.
526 (start_globals): New function.
527 (struct global): New.
528 (num_globals, globals): New globals.
529 (add_global, compare_globals, write_globals): New functions.
530 (scan_c_file): Update for "-g".
531 (scan_lisp_file): Fail if "-g".
532
03fc768b
PE
5332011-02-05 Paul Eggert <eggert@cs.ucla.edu>
534
602a5739 535 * emacsclient.c: Conform to C89 pointer rules.
03fc768b
PE
536 (file_name_absolute_p): Accept const char *, not const unsigned
537 char *, to satisfy C89 rules.
538
d9f1f55e
EZ
5392011-02-02 Eli Zaretskii <eliz@gnu.org>
540
b166dcd8
KC
541 * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
542 Add ``-DEMACS_NAME="\"GNU Emacs\""''.
83cc5772 543 (obj): Remove strftime.o.
d9f1f55e 544
70b0d280
EZ
5452011-01-31 Eli Zaretskii <eliz@gnu.org>
546
547 * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
548 (ECLIENT_CFLAGS): Remove -DVERSION.
549 ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
550
16fab143
PE
5512011-01-31 Paul Eggert <eggert@cs.ucla.edu>
552
553 src/emacs.c now gets version number from configure.in
554 * ebrowse.c: Adjust comment to say that.
555
8aec9916
JM
5562011-01-30 Jim Meyering <meyering@redhat.com>
557
558 make-docfile: don't corrupt heap for an invalid .elc file
559 "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
560 one byte before just-malloc'd saved_string buffer.
561 * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
562 doc string length. Also fix an always-false while-loop test.
563
f915f0f7
EZ
5642011-01-29 Eli Zaretskii <eliz@gnu.org>
565
566 * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
567 (GETOPTOBJS, GETOPTDEPS): Remove targets.
568 (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
569 ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
570 (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
571 and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
572 (clean): Don't remove getopt.h.
573 (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
574 ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
575 $(EMACS_ROOT)/lib/getopt.h.
576
5772011-01-28 Chong Yidong <cyd@stupidchicken.com>
578
579 * ntlib.c (setregid): New stub, renamed from setegid.
580
581 * ntlib.h: Update prototype.
582
06d8ace5 5832011-01-25 Chong Yidong <cyd@stupidchicken.com>
fbf4af3a
CY
584
585 * movemail.c (main): Use setregid instead of setegid, which is
586 missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
587
9055082e
PE
5882011-01-23 Paul Eggert <eggert@cs.ucla.edu>
589
590 Check return values of some library calls.
591 * hexl.c (main): Check fread result.
592 * make-docfile.c (main): Check chdir result.
593 (scan_c_file): Check fscanf result.
594 * movemail.c (main): Check ftruncate result.
595
33fe4243 5962011-01-17 Paul Eggert <eggert@cs.ucla.edu>
e275c824 597
4004364e
PE
598 Include <unistd.h> unilaterally.
599 * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
600 * pop.c, test-distrib.c, update-game-score.c:
601 Include <unistd.h> without worrying about HAVE_UNISTD_H, since
602 unistd.h is always present now, possibly supplied by gnulib.
603
613f7bda
PE
604 Include <getopt.h> not "getopt.h".
605 * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
606 Since getopt.h is no longer in this directory, there's no point
607 using the form with double-quotes.
608
e275c824
PE
609 Remove unused files.
610 * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
611 These files are now in ../lib, copied from gnulib.
612
613 Use gnulib's getopt-gnu module.
614 * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
615 as these are now done by gnulib.
616 (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
617 Remove; now done by gnulib. All uses removed.
618
9a514d4a
PE
619 Automate syncing from gnulib.
620 * Makefile.in (EXE_FILES): New macro.
621 (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
622 for gnulib's .h files.
623 (LOADLIBES): Add ../lib/libgnu.a.
624 ($(EXE_FILES)): Depend on ../lib/libgnu.a.
625 (../lib/libgnu.a): New rule.
626
72427c46
PE
6272011-01-08 Paul Eggert <eggert@cs.ucla.edu>
628
629 * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
630
4967fa34
GM
6312011-01-08 Glenn Morris <rgm@gnu.org>
632
e7a42417
GM
633 * Makefile.in (EMACSOPT): Add --no-site-lisp.
634
4967fa34
GM
635 * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
636
d7bfa7a1
GM
6372011-01-02 Glenn Morris <rgm@gnu.org>
638
639 * ebrowse.c (version) <emacs_copyright>:
640 * etags.c (print_version) <emacs_copyright>:
641 * rcs2log (Copyright): Set short copyright year to 2011.
642
da2b5401
JM
6432010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change)
644
645 * ebrowse.c (yylex): If end of input buffer encountered while
646 searching for a newline after "//", return YYEOF. (Bug#7446)
647
4a47c275 6482010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
76cc4cd6
YM
649
650 * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
651 definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
652
f16cafe3
DN
6532010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
654
655 * test-distrib.c: Remove include guards for config.h and fcntl.h.
656 (O_RDONLY): Do not define.
657 (cool_read): Fix type for variable "sofar".
658
6a5c2175
GM
6592010-10-25 Glenn Morris <rgm@gnu.org>
660
661 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
662
17284e30
GM
6632010-10-23 Glenn Morris <rgm@gnu.org>
664
665 * digest-doc.c, sorted-doc.c: Remove files.
666 * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
667 (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
668 * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
669 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
670 ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
671 (install): Don't install digest-doc.exe or sorted-doc.exe.
672
a4daeecf
DN
6732010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
674
675 * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
676
3fb78d1f
GM
6772010-10-09 Glenn Morris <rgm@gnu.org>
678
679 * b2m.c, b2m.pl: Remove files.
680 * Makefile.in (INSTALLABLES): Remove b2m.
681 * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
682
4628bef1 6832010-10-08 Glenn Morris <rgm@gnu.org>
b336bfcd
GM
684
685 * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
686 DARWIN_USER_TEMP_DIR. (Bug#3992)
687
f99d75f5
DN
6882010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
689
728a982d
DN
690 * test-distrib.c (cool_read):
691 * movemail.c (main, concat):
692 * make-docfile.c (scan_file, write_c_args):
602a5739 693 * emacsclient.c (get_server_config): Fix -Wconversion warning.
728a982d
DN
694 (egetenv): Move conditional definition earlier.
695 (progname): Use const.
696 * sorted-doc.c (xstrdup): Use const.
697
f99d75f5
DN
698 * Makefile.in: Remove ^L, old makes choke on it.
699
3ecb8d93
WS
7002010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change)
701
702 * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
703 error string (Bug#6963).
704
54b65f7b
JB
7052010-10-02 Juanma Barranquero <lekktu@gmail.com>
706
707 * makefile.w32-in (tags): Remove target.
708
73077a9a
EZ
7092010-10-01 Eli Zaretskii <eliz@gnu.org>
710
711 * makefile.w32-in (tags, TAGS): New targets.
712
968ef9b4
JB
7132010-09-30 Juanma Barranquero <lekktu@gmail.com>
714
715 * emacsclient.c (get_server_config): Don't read Emacs pid from
716 the authentication file.
717
6ab88e02
JB
7182010-09-29 Juanma Barranquero <lekktu@gmail.com>
719
a69edb8a
JB
720 * makefile.w32-in (../src/config.h): Remove target, it is stale.
721
6ab88e02
JB
722 * emacsclient.c (main): Remove unused variables.
723 (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
724
4c964351
UM
7252010-09-25 Ulrich Mueller <ulm@gentoo.org>
726
727 * etags.c (compressors, print_language_names): Support xz compression.
728
988e88ab
J
7292010-08-11 Jan Djärv <jan.h.d@swipnet.se>
730
70e31436 731 * fakemail.c: Include stdlib.h for getenv. Remove declaration of
5e3b9a89 732 popen, fclose and pclose.
70e31436 733 (my_name, fatal, error, put_line): Use const char*.
5e3b9a89
J
734 (main): Remove extern getenv, mail_program_name is const char*.
735
988e88ab
J
736 * update-game-score.c (get_prefix, write_scores, main): Use const char*.
737
738 * sorted-doc.c (error, fatal, states): Use const char *.
739
740 * pop.h (pop_multi_first): Use const char *.
741 (_ARGS): Remove.
742
70e31436 743 * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
988e88ab
J
744
745 * movemail.c (fatal, error, concat): Use const char *.
746
b166dcd8
KC
747 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
748 Use const char *.
988e88ab
J
749
750 * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
751 (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
752 (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
753 (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
754 (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
755 (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
756 (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
757 (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
758 (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
759 (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
760 (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
761 (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
762 (no_lang_help, print_language_names)
763 (get_language_from_interpreter, get_language_from_filename)
764 (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
765 (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
766 (concat): Use const char*.
767
768 * emacsclient.c (message, sock_err_message, send_to_emacs)
769 (quote_argument, set_local_socket)
770 (start_daemon_and_retry_set_socket): Use const char*.
771
772 * ebrowse.c (struct member): filename, def_filename is const.
773 (struct sym): filename, sfilename is const.
774 (struct kw): name is const.
775 (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
776
777 * b2m.c (concat, fatal): Use const char*.
778 (main): Don't assign labels a string literal.
779
0e9c8657
JB
7802010-08-07 Juanma Barranquero <lekktu@gmail.com>
781
782 * ebrowse.c (usage, version, mark_virtual):
783 Remove duplicate declarations.
784
0613f5d5
DN
7852010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
786
787 * emacsclient.c: Move socket related #includes together with the
70e31436 788 rest of the #includes. Move WINDOWSNT includes closer together.
0613f5d5
DN
789 (HAVE_CONFIG_H): Remove.
790 (NO_RETURN): Remove, defined in config.h.
791 (main): Convert definition to standard C.
792
a94a477d
JB
7932010-07-29 Juanma Barranquero <lekktu@gmail.com>
794
795 * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
796
35a7804d
JB
7972010-07-25 Juanma Barranquero <lekktu@gmail.com>
798
799 * emacsclient.c (getcwd): Fix previous change: make getcwd
800 conditional on HAVE_GETCWD and declare with the correct POSIX
801 profile (for some reason MinGW headers define its 2nd arg as int,
802 not size_t; but getcwd is not used on Windows nonetheless).
803
361358ea
JB
8042010-07-25 Juanma Barranquero <lekktu@gmail.com>
805
806 * emacsclient.c (getcwd, w32_getenv):
807 * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
808
68441b90
DN
8092010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
810
087b38a0 811 * update-game-score.c (usage): Add NO_RETURN specifier.
68441b90
DN
812 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
813 * make-docfile.c (fatal):
814 * hexl.c (usage):
815 * fakemail.c (fatal):
816 * etags.c (fatal, suggest_asking_for_help, pfatal):
817 * emacsclient.c (fatal):
818 * b2m.c (fatal): Likewise.
819
554d39be
JB
8202010-07-23 Juanma Barranquero <lekktu@gmail.com>
821
822 * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
823
7c3320d8
JB
8242010-07-20 Juanma Barranquero <lekktu@gmail.com>
825
826 * emacsclient.c (get_current_dir_name, w32_get_resource)
827 (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
828 (close_winsock, initialize_sockets, w32_find_emacs_process)
829 (w32_give_focus):
830 * ntlib.c (getlogin, getuid, getgid, getegid):
831 Convert definitions to standard C.
832
e6cfa7c3
AS
8332010-07-12 Andreas Schwab <schwab@linux-m68k.org>
834
835 * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
836 (PROFILING_LDFLAGS): Set from substitution.
837 (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
838 (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
839 (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
840
f09e4c6b
EZ
8412010-07-12 Eli Zaretskii <eliz@gnu.org>
842
843 * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
844 2010-07-12T05:25:46Z!handa@etlken).
845
8966b757
AS
8462010-07-11 Andreas Schwab <schwab@linux-m68k.org>
847
848 * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
849 index, rindex.
850 * movemail.c (mail_spool_name, popmail): Likewise.
851 * pop.c (pop_list): Likewise.
852
994a7c3b
EZ
8532010-07-11 Eli Zaretskii <eliz@gnu.org>
854
a628ad9d 855 * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
994a7c3b
EZ
856 and unexw32.o. (Bug#6603)
857
c971758d
EZ
8582010-07-10 Eli Zaretskii <eliz@gnu.org>
859
860 * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
861
91a7f76d
AS
8622010-07-09 Andreas Schwab <schwab@linux-m68k.org>
863
864 * make-docfile.c (write_c_args): Restructure scanning loop.
865
0508c67f
DN
8662010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
867
868 * make-docfile.c (write_c_args): Deal with type names in DEFUN
869 arguments.
870
0216627e
DN
8712010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
872
873 * update-game-score.c (P_): Remove macro.
874 * ebrowse.c: Remove include guards.
875 (P_): Remove macro.
876
72af86bd
AS
8772010-07-07 Andreas Schwab <schwab@linux-m68k.org>
878
879 * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
880 memcpy, memmove, memset.
881 * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
882
e2ad23ef
AS
8832010-07-06 Andreas Schwab <schwab@linux-m68k.org>
884
885 * movemail.c: Add MAIL_USE_POP around prototypes.
1725ae55
AS
886 Include <string.h> if HAVE_STRING_H.
887 (strerror): Only declare if !HAVE_STRERROR.
888 (fatal): Make static.
889 (error): Likewise.
890 (pfatal_with_name): Likewise.
70e31436 891 (pfatal_and_delete): Likewise.
1725ae55
AS
892 (concat): Likewise.
893 (xmalloc): Likewise.
894 (popmail): Likewise.
895 (pop_retr): Likewise.
896 (mbx_write): Likewise.
897 (mbx_delimit_begin): Likewise.
898 (mbx_delimit_end): Likewise.
e2ad23ef 899
b8463cbf
DN
9002010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
901
902 * fakemail.c (action): Convert function definitions to standard C.
903 (add_a_stream):
904 * test-distrib.c (cool_read):
905 (main): Likewise.
906
a52a00a3
AS
9072010-07-03 Andreas Schwab <schwab@linux-m68k.org>
908
909 * sorted-doc.c (cmpdoc): Fix signature.
910 (qsort_compare): Delete.
911 (main): Remove cast.
912
35d99b72
JB
9132010-07-03 Juanma Barranquero <lekktu@gmail.com>
914
915 * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
916
3a35a84c
JB
9172010-07-03 Juanma Barranquero <lekktu@gmail.com>
918
919 Fix prototype warnings.
920
921 * ebrowse.c (match_qualified_namespace_alias):
922 Pass sym* to find_namespace, not link*.
923
924 * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
925
926 * sorted-doc.c (qsort_compare): New typedef.
927 (main): Use it to cast cmpdoc.
928
873fbd0b
DN
9292010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
930
931 * update-game-score.c: Convert function definitions to standard C.
932 * sorted-doc.c:
933 * profile.c:
934 * pop.c:
935 * movemail.c:
936 * make-docfile.c:
937 * hexl.c:
938 * fakemail.c:
939 * etags.c:
940 * ebrowse.c:
941 * digest-doc.c:
942 * b2m.c: Likewise.
943
c532d349
DN
9442010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
945
946 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
947 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
948 standard C prototypes.
949
f57e2426
J
9502010-07-02 Jan Djärv <jan.h.d@swipnet.se>
951
952 * ebrowse.c: Remove P_ and __P.
953 * etags.c:
954 * movemail.c:
955 * pop.c:
956 * update-game-score.c: Likewise.
957
3b3807f8
JB
9582010-06-24 Juanma Barranquero <lekktu@gmail.com>
959
960 * movemail.c (error): Avoid warning when there are no args.
961
5fee75d4
JB
9622010-06-11 Juanma Barranquero <lekktu@gmail.com>
963
964 * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
965 and vc/ediff-hook.elc.
966
3085237c
DN
9672010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
968
969 * ntlib.h: Remove code dealing with BSTRING.
970
0191e222
CY
9712010-05-29 Chong Yidong <cyd@stupidchicken.com>
972
973 * emacsclient.c (longopts, decode_options, print_help_and_exit):
974 New arg `-parent-id'.
975 (main): Send parent-id to Emacs.
976
81ac4f35
GM
9772010-05-27 Glenn Morris <rgm@gnu.org>
978
979 * Makefile.in (distclean): No more Makefile.c.
980
4e3028f8
JD
9812010-05-22 Jan Djärv <jan.h.d@swipnet.se>
982
983 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
984 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
985 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
986 New rules (Bug #6246).
987 (clean): Remove stamp-* (Bug #6246).
988
44b031a6
GM
9892010-05-12 Glenn Morris <rgm@gnu.org>
990
991 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
992
acddf8ae
GM
9932010-05-11 Glenn Morris <rgm@gnu.org>
994
c88b05a9
GM
995 * Makefile.in (.m.o): Remove, there are no .m files.
996 (BASE_CFLAGS): New variable.
997 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
998 (check): Update the message.
999 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
1000
d3b23034
GM
1001 * Makefile.in: Convert comments to makefile format.
1002
acddf8ae
GM
1003 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
1004 (config.h) [MSDOS]: Do not include.
1005
7490175b
GM
10062010-05-10 Glenn Morris <rgm@gnu.org>
1007
97efb629
GM
1008 * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
1009 (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
1010 (NOT_C_CODE): Remove, no longer used.
1011 (config.h) [!MSDOS]: No longer include.
1012 (LOADLIBES): Use LIBS_SYSTEM as a variable.
1013
7490175b
GM
1014 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
1015
7b42b29f
GM
10162010-05-08 Glenn Morris <rgm@gnu.org>
1017
1018 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
1019
61a808e8
CY
10202010-05-07 Chong Yidong <cyd@stupidchicken.com>
1021
1022 * Version 23.2 released.
1023
f6c0ee20
GM
10242010-05-06 Glenn Morris <rgm@gnu.org>
1025
1026 * Makefile.in: Minimize blessmail-related cpp usage.
1027 (BLESSMAIL_TARGET): New variable.
1028 (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
1029 (blessmail): Always define this rule.
1030 (need-blessmail): New rule, split out from maybe-blessmail.
1031 (maybe-blessmail): Use BLESSMAIL_TARGET.
1032
49628785
GM
10332010-05-04 Glenn Morris <rgm@gnu.org>
1034
1035 * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
1036 @c_switch_system@, @c_switch_machine@.
1037
7e10844c
DN
10382010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
1039
1040 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
1041
4794a582
DN
10422010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
1043
1044 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
1045 non-cpp section.
1046
76bd8202
DN
10472010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
1048
1049 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
1050 autoconf, not cpp.
1051 (ALL_CFLAGS): Use them as make variables.
1052
53cfe624 10532010-04-07 Christoph Scholtes <cschol2112@googlemail.com>
42d3cab7
C
1054
1055 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
1056 for macros for nmake compatibility.
1057
b372fceb
JB
10582010-04-03 Juanma Barranquero <lekktu@gmail.com>
1059
1060 Add stubs for Windows, required after CVE-2010-0825 change.
1061 * ntlib.c (getgid, getegid, setegid): New stubs.
1062 * ntlib.h (getgid, getegid, setegid): Declare them.
1063
51a91f9d
CY
10642010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
1065
b166dcd8
KC
1066 * movemail.c (main): Check return values of setuid.
1067 Avoid possibility of symlink attack when movemail is setgid mail
51a91f9d
CY
1068 (CVE-2010-0825).
1069
42a2c622
DN
10702010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
1071
1072 Remove extern errno declarations.
1073 * movemail.c:
1074 * etags.c:
1075 * emacsclient.c: Remove extern errno declarations.
1076
5e58e3a4
GM
10772010-03-20 Glenn Morris <rgm@gnu.org>
1078
1079 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
1080 (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
1081 defining these as Makefile variables.
1082 (LIBS_MOVE): Add LIBS_MAIL into this.
1083 (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
1084
aded53ff
GM
10852010-03-18 Glenn Morris <rgm@gnu.org>
1086
1087 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
1088 (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
1089 (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
1090
f8388570
TO
10912010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
1092
1093 * Makefile.in (uninstall): Handle the case where archlibdir does not
1094 exist. (Bug#5720)
1095
288f9fc0
CY
10962010-03-10 Chong Yidong <cyd@stupidchicken.com>
1097
1098 * Branch for 23.2.
1099
f9b84f9f
CY
11002010-02-20 Kevin Ryde <user42@zip.com.au>
1101
1102 * etags.c (Scheme_functions): Don't loop past a null character
1103 (Bug#5601).
1104
c14902e0 11052010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
9d77a91f 1106
a628ad9d 1107 * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
9d77a91f 1108
6589a2f9
GM
11092010-01-11 Glenn Morris <rgm@gnu.org>
1110
1111 * ebrowse.c (version):
1112 * etags.c (print_version):
1113 * rcs2log (Copyright): Set copyright year to 2010.
1114
03dcfe01
CY
11152009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
1116
1117 * makefile.w32-in: Use parenthesis for macros for nmake
1118 compatibility.
1119
5ce6e4f4 11202009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
46f3381a 1121
f7e0618c 1122 * etags.c (absolute_filename): Use memmove if we have it for
46f3381a
JD
1123 overlapping copy.
1124
f6195dfb
DN
11252009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
1126
1127 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
1128
b53f6df2
JB
11292009-10-15 Juanma Barranquero <lekktu@gmail.com>
1130
1131 * .gitignore: Add echolisp.tmp.
1132
9fc3db2b
GM
11332009-10-15 Glenn Morris <rgm@gnu.org>
1134
5f54cae6
GM
1135 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
1136
9fc3db2b
GM
1137 * makefile.w32-in (echolisp): New rule.
1138 (clean): Delete echolisp.tmp.
1139
614bd9cf
EZ
11402009-09-27 Eli Zaretskii <eliz@gnu.org>
1141
1142 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
1143 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
1144 be consistent with src/Makefile.in.
1145
24e9e996
SM
11462009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1147
1148 * update-game-score.c (main): Sort scores before trimming them,
1149 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
1150
c5a139ca
GM
11512009-09-09 Glenn Morris <rgm@gnu.org>
1152
1153 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
1154 before creating directories and game score files.
1155
a8a8ec61
GM
11562009-08-19 Glenn Morris <rgm@gnu.org>
1157
0916a29e 1158 * cvtmail.c: Remove file.
a8a8ec61
GM
1159 * Makefile.in (UTILITIES): Remove cvtmail.
1160 (cvtmail${EXEEXT}): Remove.
1161
678bc1f5
CY
11622009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
1163
1164 * b2m.c (main): Ensure that each message ends in two newlines.
1165
0a3472c7
JR
11662009-07-03 Jason Rumney <jasonr@gnu.org>
1167
1168 * emacsclient.c (w32_set_user_model_id): Use standard types.
1169
f2d6b714
EZ
11702009-07-03 Eli Zaretskii <eliz@gnu.org>
1171
1172 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
1173 src/Makefile.in did.
1174
ff90fbde
JR
11752009-06-30 Jason Rumney <jasonr@gnu.org>
1176
1177 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
1178 that is already loaded.
1179 (w32_set_user_model_id): New function.
1180 (main): Use it to associate emacsclient with emacs (bug#1849).
1181
e0f59195
JM
11822009-06-29 Jim Meyering <meyering@redhat.com>
1183
1184 Remove useless if-before-free test.
1185 * make-docfile.c (scan_lisp_file): Remove useless test.
1186
f5f20f6c
DN
11872009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
1188
1189 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
1190
70243478
CY
11912009-06-21 Chong Yidong <cyd@stupidchicken.com>
1192
1193 * Branch for 23.1.
1194
fa44da6e
AR
11952006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
1196
1197 * mac-fix-env.m:
1198 * Makefile.in (mac-fix-env): Remove.
1199
a7f2b0b1
AR
12002006-06-06 David Reitter <david.reitter@gmail.com>
1201
1202 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
1203
9dfda22f
JB
12042009-04-20 Juanma Barranquero <lekktu@gmail.com>
1205
1206 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
1207 spacing is required in the message output, as the comment suggests).
1208
24d5010d
CY
12092009-04-20 Chong Yidong <cyd@stupidchicken.com>
1210
1211 * emacsclient.c (print_help_and_exit): Clarify argument placement
1212 for short option names.
1213
6133a1a9
DN
12142009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
1215
1216 * emacsclient.c (print_help_and_exit): Fix typo.
1217
22749e9a
EZ
12182009-03-21 Eli Zaretskii <eliz@gnu.org>
1219
1220 * ntlib.c (setuid): Argument is now unsigned.
1221 (getuid): Return value is now unsigned.
1222 (getpwuid): Argument is now unsigned.
1223 (fchown): UID and GID arguments are now unsigned.
1224
1225 * ntlib.h (fchown): UID and GID arguments are now unsigned.
1226 (getuid): Return value is now unsigned.
1227 (setuid): Argument is now unsigned.
1228 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
1229
b57ac69d 12302009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
1231
1232 * emacsclient.c (main): Revert part of last change, so
1233 drive-relative file names again work on Windows.
1234
ba528748
SM
12352009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
1238 names without prepending cwd to them, so Emacs uses its customary
1239 rules to determine how to interpret the file name.
1240
f213f2c0
GM
12412009-03-04 Glenn Morris <rgm@gnu.org>
1242
1243 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
1244
8ee7d7be
CY
12452009-02-13 Sven Joachim <svenjoac@gmx.de>
1246
1247 * movemail.c: Include time.h unconditionally.
1248 (main): Use time_t for time variables.
1249
d228a23c
GM
12502009-02-11 Glenn Morris <rgm@gnu.org>
1251
1252 * movemail.c (mbx_delimit_begin): Also write the current time.
1253
3f32be22
GM
12542009-02-10 Glenn Morris <rgm@gnu.org>
1255
1256 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
1257 than Babyl format. (Bug#2196)
1258
e7534fc4
AR
12592009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
1260
1261 * emacsclient.c (decode_options): Use a dummy display name under
1262 NS/Cocoa.
1263
9eb67dd9
CY
12642009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
1265
1266 * ebrowse.c (matching_regexp): Fix OB1 error.
1267
b433a991
GM
12682009-01-05 Glenn Morris <rgm@gnu.org>
1269
1270 * ebrowse.c (version):
1271 * etags.c (print_version):
1272 * rcs2log (Copyright): Update copyright for 2009.
1273
81f82586
CY
12742009-01-01 Chong Yidong <cyd@stupidchicken.com>
1275
1276 * movemail.c (main): Fatal if hard links cannot be created.
1277
fd95644b
DN
12782008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
1279
1280 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
1281 checking.
1282
67c1df01
DN
12832008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
1284
1285 * emacsclient.c: Include syswait.h instead of sys/types.h.
1286
f0131492 12872008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 1288
d4835507
JB
1289 * emacsclient.c (WCONTINUED): New compatibility define
1290 for older systems.
5445ab06 1291
d50299d5
DN
12922008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1293
1294 * emacsclient.c (main): Fix previous change.
1295
52016647
JB
12962008-12-10 Juanma Barranquero <lekktu@gmail.com>
1297
1298 * emacsclient.c (main): Fix mindless breakage where emacsclient
1299 does not work *at all* on Windows, even if it *can* connect.
1300
802bdb3c
DN
13012008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1302
1303 * emacsclient.c (EMACS_DAEMON): Remove definition.
1304 (decode_options): Do not allow an empty alternate_editor on
1305 WINDOWSNT.
1306 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
1307 (start_daemon_and_retry_set_socket): Likewise.
45ce4570 1308 (main): Fail in case of not being able to connect.
802bdb3c 1309
c3f995a2
JB
13102008-12-10 Juanma Barranquero <lekktu@gmail.com>
1311
1312 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
1313 Changes when EMACS_DAEMON is not defined:
1314 (print_help_and_exit): Don't add daemon information to help.
1315 (start_daemon_and_retry_set_socket): Make a no-op.
1316 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
1317
636b507b
DN
13182008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1319
1320 * emacsclient.c (print_help_and_exit): Describe what an empty
1321 string argument does for --alternate-editor.
1322 (set_socket): Make it possible to not exit in case of an error.
1323 (start_daemon_and_retry_set_socket): New function.
1324 (main): Use it. Restore the NULL value for socket_name and
1325 server_file after the set_socket call.
1326
448d4085
DN
13272008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1328
7b641241 1329 * emacsclient.c: Include <arpa/inet.h>.
448d4085 1330
938ebc4f
DN
13312008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
1332
1333 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
1334
3d864325
GM
13352008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
1336
1337 * etags.c (add_regex): Pass correct length to re_compile_pattern.
1338
48c2dc68
CY
13392008-11-02 Chong Yidong <cyd@stupidchicken.com>
1340
1341 * emacsclient.c (window_system): Delete redundant variable.
1342 (decode_options): Don't use it.
1343 (find_tty): New function.
1344 (main): Use find_tty, and don't use window_system.
1345
d41784ee
EZ
13462008-11-01 Eli Zaretskii <eliz@gnu.org>
1347
1348 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
1349 `ttyname'.
1350 (w32_getenv): Treat $TERM specially: if not found in the
1351 environment and in the Registry, return "w32console".
1352 (ttyname) [WINDOWSNT]: New function.
1353
322ca650
AS
13542008-10-31 Andreas Schwab <schwab@suse.de>
1355
1356 * emacsclient.c (main): Don't force sending tty when in eval mode.
1357
8a8a7cd3
CY
13582008-10-30 Chong Yidong <cyd@stupidchicken.com>
1359
1360 * emacsclient.c (main): If using the current frame, send tty
1361 information to Emacs in case daemon mode needs to occupy this tty.
1362
f8baa639
JB
13632008-10-29 Juanma Barranquero <lekktu@gmail.com>
1364
bc558f3e
JB
1365 * emacsclient.c (EXTRA_SPACE): New macro.
1366 (get_server_config, set_local_socket): Use it.
1367
f8baa639
JB
1368 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
1369 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
1370
f77b11a0
JB
13712008-10-29 Ulrich Mueller <ulm@gentoo.org>
1372
1373 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
1374 instead of hardcoded /tmp.
1375
dc1cd5f7
DN
13762008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
1377
1378 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
1379 (decode_options): Use getopt_long_only.
1380
7a09249b
EZ
13812008-09-30 Eli Zaretskii <eliz@gnu.org>
1382
1383 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
1384 codepage.elc.
1385
997ec957
CY
13862008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
1387
1388 * emacsclient.c (main): Use stdout rather than stdin to obtain the
1389 terminal (bug#427).
1390
0d80bf29
FP
13912008-08-25 Francesco Potortì <pot@gnu.org>
1392
1393 * etags.c (main): Do not use static space for the tagfile string.
1394
34a23e94
FP
13952008-08-17 Francesco Potortì <pot@gnu.org>
1396
1397 * etags.c (main): Use canonicalize_filename on tags file name.
1398 (relative_filename): Revert 3.85: do not collapse slashes here.
1399 (absolute_dirname): Remove useless call to canonicalize_filename.
1400 (canonicalize_filename): Collapse multiple slashes here.
1401
48fad8e8
DN
14022008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
1403
10d1d0af
JB
1404 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
1405 Do not special case for NS_IMPL_COCOA.
48fad8e8 1406
6088b51f 14072008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
f4494e84
AR
1408
1409 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
1410 (.m.o): Dispense with GNUstep-specific flags.
1411
39b8bb9b
CY
14122008-08-05 Ulrich Mueller <ulm@gentoo.org>
1413
1414 * pop.c (socket_connection): Add conditionals for
1415 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
1416 compilation with MIT Kerberos and Heimdal, respectively.
1417
7c2fb837
DN
14182008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
1419
1420 * etags.c:
1421 * emacsclient.c: Remove VMS support.
1422
9e2a2647
DN
14232008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
1424
1425 Remove support for Mac Carbon.
1426 * makefile.w32-in:
1427 * emacsclient.c: Remove code for Carbon.
1428
7f619bab
DN
14292008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
1430
1431 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
1432
32cc3925
AS
14332008-07-17 Andreas Schwab <schwab@suse.de>
1434
1435 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
1436 (LIB_STANDARD_LIBSRC): Don't define.
1437 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
1438
ba60bd44 14392008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
1440
1441 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
1442 NS_IMPL_COCOA.
1443
50863f58
DN
14442008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
1445
ba60bd44
JB
1446 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
1447 Remove, unused.
50863f58 1448
ba60bd44 14492008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
1450
1451 * .cvsignore: Add mac-fix-env.
1452 * mac-fix-env.m: New file, automatically update
1453 ~/.MacOSX/environment.plist on OS X systems to expose environment
1454 variables inside Emacs started from icon.
1455 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
1456 programs to build.
1457 * make-docfile.c: Add .m to list of file extensions.
1458
bba104c1
DN
14592008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
1460
1461 * movemail.c (main): Use int instead of WAITTYPE.
1462
da007124
JB
14632008-07-05 Juanma Barranquero <lekktu@gmail.com>
1464
1465 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
1466 Remove vmsproc.el and vms-patch.el.
1467
c9fc02c7
JB
14682008-06-26 Juanma Barranquero <lekktu@gmail.com>
1469
1470 * makefile.w32-in (obj): Remove w32bdf.o.
1471
f2a77c3a
DN
14722008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
1473
1474 * fakemail.c: Remove references to obsolete variables.
1475
c2cd06e6
JM
14762008-06-02 Jim Meyering <meyering@redhat.com>
1477
e914c409 1478 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 1479
e914c409 1480 Remove useless if-before-free tests.
70fdbb46
JM
1481 * ebrowse.c (xfree): Likewise.
1482 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 1483 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 1484 * pop.c (pop_quit): Likewise.
c2cd06e6 1485
01b996ad
JB
14862008-05-30 Juanma Barranquero <lekktu@gmail.com>
1487
1488 * makefile.w32-in (lisp2): Add minibuffer.elc.
1489
2926947a
SM
14902008-05-29 Tom Tromey <tromey@redhat.com>
1491
1492 * etags.c (relative_filename): Treat "///" like "/" in filenames.
1493
10fea9c4
EZ
14942008-05-09 Eli Zaretskii <eliz@gnu.org>
1495
1496 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
1497 (IS_DIRECTORY_SEP): New macro.
1498 (convert_time, is_exec, stat): New functions.
1499
86914123
EZ
15002008-05-08 Eli Zaretskii <eliz@gnu.org>
1501
1502 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
1503
58bb7d50
EZ
15042008-05-03 Eli Zaretskii <eliz@gnu.org>
1505
1506 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
1507 corresponding change in src/Makefile.in.
1508
63b9b605
GM
15092008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
1510
1511 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
1512
4429f88c
JR
15132008-04-10 Jason Rumney <jasonr@gnu.org>
1514
1515 * makefile.w32-in (CLIENTRES): New variable and target.
1516 (TRES): Remove.
1517 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
1518
14b11401
SM
15192008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1520
1521 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
1522
95de358c
RF
15232008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
1524
1525 * vcdiff: Use mktemp (CVE-2008-1694).
1526
6948400c
JR
15272008-04-09 Jason Rumney <jasonr@gnu.org>
1528
1529 * makefile.w32-in (distclean, maintainer-clean): New targets.
1530
afd27920
GM
15312008-03-13 Glenn Morris <rgm@gnu.org>
1532
1533 * makefile.w32-in (VERSION): Set to 23.0.60.
1534
3d193d0f
JB
15352008-03-04 Juanma Barranquero <lekktu@gmail.com>
1536
1537 * .cvsignore: Add oo.
1538
1797886f
SM
15392008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
1540
1541 * etags.c (Perl_functions): Fix call to skip_spaces.
1542
9d2818d6
DN
15432008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
1544
1545 * Makefile.in (NO_SHORTNAMES):
1546 * emacsclient.c (NO_SHORTNAMES):
1547 * fakemail.c (NO_SHORTNAMES):
1548 * make-docfile.c (NO_SHORTNAMES):
1549 * movemail.c (NO_SHORTNAMES):
1550 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
1551
79d48c1a
JR
15522008-02-23 Jason Rumney <jasonr@gnu.org>
1553
1554 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
1555 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 1556 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
1557 (lisp2): Add new languages.
1558 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
1559
9c61c734
JB
15602008-02-22 Juanma Barranquero <lekktu@gmail.com>
1561
1562 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
1563 malayalam.el, and tamil.el. Add sinhala.el.
1564
50f271cb
JB
15652008-02-20 Juanma Barranquero <lekktu@gmail.com>
1566
1567 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
1568 where NAME is relative to DRIVE'S current directory.
1569
d07529f3
JB
15702008-02-15 Juanma Barranquero <lekktu@gmail.com>
1571
1572 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
1573
45c1955d
DN
15742008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
1575
1576 * fakemail.c: Undo previous change.
1577
deeaffe1
DN
15782008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
1579
4624371d
DN
1580 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
1581 (main): Replace MAIL_PROGRAM_NAME with its value.
1582
d07529f3 1583 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 1584
9997dc15
SM
15852008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1586
1587 * emacsclient.c (decode_options): Pass --display implicitly if -c
1588 is specified. Only set tty if -t or -c is specified.
1589
0c55bf82
JR
15902008-02-04 Jason Rumney <jasonr@gnu.org>
1591
1592 * makefile.w32-in (lisp1): Use (), not {}.
1593
31cdf671
CY
15942008-02-04 Tom Tromey <tromey@redhat.com>
1595
d07529f3
JB
1596 * etags.c: Add "GTY" as synonym for __attribute__.
1597 Update gperf output.
31cdf671 1598
9303f985 15992008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 1600
c4cc8b9a 1601 * makefile.w32-in (obj): Sync with src/Makefile.in.
aca7a3d2
MB
1602 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
1603 (WINNT_SUPPORT): Add term/w32-win.elc.
1604 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
1605
9303f985 16062008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 1607
d07529f3 1608 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 1609
d07529f3 16102008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 1611
290afd83 1612 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
1613 utf-8.elc, and latin-*.el.
1614
0ea5797a
SM
16152008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1616
bcc891c2 1617 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
1618 Allow the -d option under w32 again, for those rare cases where it
1619 actually does make sense.
1620
5ab73228
JB
16212008-01-25 Juanma Barranquero <lekktu@gmail.com>
1622
1623 * emacsclient.c (set_tcp_socket): Don't send "\n" after
1624 the authentication string; there's no need to haste.
1625
702123a8
CY
16262008-01-22 Chong Yidong <cyd@stupidchicken.com>
1627
1628 * pop.c (pop_stat, pop_last): Fix last fix.
1629
76ed5e01
DN
16302008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
1631
1632 * movemail.c: Remove references to XENIX.
1633
e39a993c
DN
16342008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
1635
1636 * movemail.c:
1637 * make-docfile.c: Remove reference to symbols defined by systems
1638 not supported anymore: MAC_OS8, XENIX and STRIDE.
1639
0ebec7d3
EZ
16402008-01-12 Eli Zaretskii <eliz@gnu.org>
1641
1642 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
1643 of DISPLAY in the environment. Don't support -d.
1644 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
1645 (longopts) [WINDOWSNT]: Remove --display.
1646
6eae3ad4
CY
16472008-01-10 Chong Yidong <cyd@stupidchicken.com>
1648
1649 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
1650 conversion. Mistakes spotted by Nico Golde.
1651
78da39c6
GM
16522008-01-09 Glenn Morris <rgm@gnu.org>
1653
1654 * emacsclient.c: Add missing final newlines to message calls.
1655
34a14ec9 16562008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
1657
1658 * emacsclient.c (set_socket): Add final newline to socket error message.
1659
a408ea17
GM
16602008-01-04 Glenn Morris <rgm@gnu.org>
1661
07655e62
JB
1662 * ebrowse.c (version) <emacs_copyright>: New variable.
1663 Just use current year for copyright.
a408ea17
GM
1664
1665 * etags.c (print_version):
1666 * rcs2log (Copyright): Update to 2008.
1667
0dc7a8bc
JR
16682007-11-28 Jason Rumney <jasonr@gnu.org>
1669
1670 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
1671
880820fe 16722007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
1673
1674 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
1675
880820fe 16762007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
1677
1678 * pop.c (socket_connection): Move realhost out of #ifdefs.
1679 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
1680
880820fe 16812007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
1682
1683 * pop.c (socket_connection): Use getaddrinfo if available.
1684
880820fe 16852007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 1686
65841dd8 1687 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 1688 as the defaults in ctags are different from etags.
63f018cd 1689
880820fe 16902007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
1691
1692 * etags.c: Make prototypes for extern definitions, and add all
1693 that are needed to quench warnings on 64-bit.
1694 (main): Use the same defaults for ctags as for etags: find
1695 typedefs, structure tags, macro constants, enum constants, struct
1696 members and global variables.
1697 (make_C_tag) [DEBUG]: Add debugging printout.
1698 (C_entries): In case '}' decrement bracelev before testing it.
1699
7455effc
FP
17002007-11-15 Masatake YAMATO <jet@gyve.org>
1701
1702 * etags.c (C_entries): In case '}', set fvdef to fvnone
1703 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
1704
04a697fe
DN
17052007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
1706
1707 * makefile.w32-in (obj): Remove sunfns.o.
1708
a2666217
JB
17092007-10-28 Juanma Barranquero <lekktu@gmail.com>
1710
1711 * makefile.w32-in (obj): Remove abbrev.o.
1712
7ce8671d
JB
17132007-10-26 Juanma Barranquero <lekktu@gmail.com>
1714
1715 * emacsclient.c: Add a wrapper for getenv so it also checks the
1716 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
1717 Code partially based on w32_get_resource and init_environment (w32.c).
1718 (egetenv): New wrapper for getenv.
1719 (get_current_dir_name, decode_options, get_server_config)
1720 (set_local_socket, set_socket, main): Use egetenv, not getenv.
1721 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
1722
d22b00e5
JR
17232007-10-25 Jason Rumney <jasonr@gnu.org>
1724
1725 * emacsclient.c (sock_err_message): New function.
1726 (set_tcp_socket): Use it.
1727
c4b858e3
JB
17282007-10-09 Juanma Barranquero <lekktu@gmail.com>
1729
1730 * emacsclient.c (print_help_and_exit): Fix space to improve
1731 alignment in output messages.
1732
dbf60b07
JR
17332007-09-27 Jason Rumney <jasonr@gnu.org>
1734
1735 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
1736
1737 * emacsclient.c (w32_window_app): Init common controls when windowed.
1738
165e85b2
GM
17392007-09-21 Glenn Morris <rgm@gnu.org>
1740
1741 * emacstool.c: Remove file.
1742 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
1743 Delete targets built from emacstool.
1744
c1b8e896
SM
17452007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * emacsclient.c (decode_options): -t implies -c.
1748
cb06b8dc
SM
17492007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
1752 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
1753 (main_argc): Remove.
1754 (strprefix): Use strncmp.
1755
c801ad51
JR
17562007-09-20 Jason Rumney <jasonr@gnu.org>
1757
1758 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
1759
31fa6595
SM
17602007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1761
1762 * emacsclient.c (current_frame): Change the default.
1763 (longopts): Replace --current-frame by --create-frame.
1764 (decode_options): Reverse the meaning of -c.
1765 (print_help_and_exit): Update help text accordingly.
1766 (main): Remove the -version and -good-version messages.
1767
58573230
GM
17682007-09-12 Glenn Morris <rgm@gnu.org>
1769
1770 * Makefile.in (SOURCES, unlock, relock): Delete.
1771
bfd9ce71
GM
17722007-08-29 Glenn Morris <rgm@gnu.org>
1773
1774 * makefile.w32-in (VERSION): Increase to 23.0.50.
1775
8d9cc0b7
MB
17762007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
1777
1778 * emacsclient.c (w32_execvp): Move definition before use.
1779 (decode_options): Don't use a tty on mac carbon or windows.
1780
17812007-08-29 Jason Rumney <jasonr@gnu.org>
1782
31fa6595 1783 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
1784 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
1785 (main): Expand removed macros inline.
1786 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
1787 option.
1788 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
1789
880820fe 17902007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
1791
1792 * emacsclient.c (signal.h): New include.
1793 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
1794 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
1795 Copy definitions here from src/lisp.h.
1796 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
1797 (longopts): Add tty, current-frame.
1798 (xmalloc, xstrdup): New functions.
1799 (get_current_dir_name): New function, copied from src/sysdep.c.
1800 (decode_options): Set display from environment. Add tty and
1801 current_frame options. Make --no-wait imply --current-frame,
1802 except when it is the only option given. Make sure no frame is
1803 opened when --current-frame is set.
1804 (print_help_and_exit): Document tty and current-frame options.
1805 (fail): Change arguments to void.
1806 (main): When sockets are not defined, set main_argc, main_argv,
1807 and call fail() with no arguments.
1808 (emacs_socket): New variable (moved out from main `s').
1809 (quote_file_name): Rename to quote_argument.
1810 (quote_argument): New name for old quote_file_name.
1811 (unquote_argument, strprefix, pass_signal_to_emacs)
1812 (handle_sigcont, handle_sigtstp, init_signals): New functions.
1813 (set_local_socket): Initialize saved_errno to 0. If socket-name
1814 is too long, call `fail' rather than `exit'.
1815 (main): Doc update. Set main_argc, main_argv. New var `str'.
1816 Don't need a filename or argument if tty or window_system set.
1817 Call fail with no arguments. Use get_current_dir_name to send
1818 over the current directory. Send version number to Emacs for
1819 verification. If tty is set, check TERM, and pass name and type
1820 to Emacs. Pass window_system to Emacs. Move sending of eval to
1821 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
1822 fflush. Check for a client/server version match.
1823 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
1824 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
1825 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
1826 environment and pwd to Emacs. Send current-frame to Emacs.
1827
ca4ea90f
EZ
18282007-08-25 Eli Zaretskii <eliz@gnu.org>
1829
1830 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1831 Prepend "-" to the command, in case srcdir=. and file is copied
1832 into itself.
1833
cacc7b51
GM
18342007-07-25 Glenn Morris <rgm@gnu.org>
1835
1836 * Relicense all FSF files to GPLv3 or later.
1837
1838 * COPYING: Switch to GPLv3.
1839
880820fe 18402007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
1841
1842 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
1843 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
1844 (print_help): Use it in if() rather than #if.
1845 (print_help): Conditionally print help about --no-line-directive.
180f5b99 1846
9724908a
EZ
18472007-07-16 Eli Zaretskii <eliz@gnu.org>
1848
1849 * makefile.w32-in (clean): Don't delete *~.
1850
5cf9ca93
GM
18512007-06-07 Glenn Morris <rgm@gnu.org>
1852
1853 * etags.c (print_version): Add `emacs_copyright' string, for
1854 easier automatic updating.
1855
880820fe 18562007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
1857
1858 * etags.c: Extern definitions of some more pointer functions for
1859 standalone compilation, especially important for 64bit platforms.
1860 (main, print_help): --members is now the default for etags.
1861 (C_entries): Parse start of C comment as a space == end of token.
1862 This is not necessary for C++ comment, already parsed as newline.
1863
07016031
GM
18642007-04-26 Glenn Morris <rgm@gnu.org>
1865
1866 * makefile.w32-in (VERSION): Increase to 22.1.50.
1867
7dfc4cda
CY
18682007-06-02 Chong Yidong <cyd@stupidchicken.com>
1869
1870 * Version 22.1 released.
1871
880820fe 18722007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 1873
d620ddb3 1874 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 1875
0971f887
GM
18762007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
1877
1878 * Makefile.in (EMACS, EMACSOPT): New variables.
1879 (blessmail): Use `--no-site-file' when compiling.
1880
880820fe 18812007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
1882
1883 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
1884 (main): Now --members is the default for etags, not for ctags yet.
1885
d881944f 18862007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 1887
47dad44f 1888 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
1889 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
1890 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
1891 import, package, extends, implements and interface to be treated
1892 specially for all kinds of C-style files, not just Java files.
1893
880820fe 18942007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 1895
47dad44f 1896 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
1897 (no_duplicates): Static variables for the above option.
1898 (print_help): Do not print help for --no-warn, now undocumented.
1899 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 1900 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 1901
880820fe 19022006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
1903
1904 * etags.c (readline): When creating a relative file name from a
1905 #line directive, leave the file name alone. The previous
a7c29764 1906 behavior was to make it relative to the tags file directory,
18f9bf25
FP
1907 under the hypothesis that the #line directive file name was
1908 relative to the directory of the tagged file. That hypothesis is
1909 wrong with Cpp and Lex.
17d5f8a6 1910 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 1911
5e059fc1
EZ
19122006-12-22 Eli Zaretskii <eliz@gnu.org>
1913
1914 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
1915 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 1916 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
1917 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
1918 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
1919 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
1920 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
1921 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 1922 (clean): Delete stamp_BLD.
5e059fc1 1923
880820fe 19242006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
1925
1926 * etags.c (C_entries): DEFUN names were longer by one: corrected.
1927
0e0dced5
JB
19282006-12-18 Juanma Barranquero <lekktu@gmail.com>
1929
1930 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
1931 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
1932 (main) [WINDOWSNT]: Remove code to release the focus; call
1933 w32_give_focus instead.
1934
4472aef4
JB
19352006-12-15 Juanma Barranquero <lekktu@gmail.com>
1936
1937 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
1938 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
1939 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
1940 Suggestions and comment by Eli Zaretskii.
1941
12f7728e 19422006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
1943
1944 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
1945 Use $(USER32) for compatibility with Visual Studio .NET 2003.
1946
310afa17
JB
19472006-11-30 Juanma Barranquero <lekktu@gmail.com>
1948
1949 * emacsclient.c (emacs_pid): New variable.
1950 (message): Remove leftover code.
1951 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
1952 focus yet; emacsclient can still display an informational message
1953 before sending requests to Emacs.
1954 (main): Allow Emacs to grab the focus. Simplify message() call.
1955
19562006-11-30 Michael Mauger <mmaug@yahoo.com>
1957
1958 * emacsclient.c (message): Make sure the message is properly
1959 written even if it contains printf escapes, and flush the result.
1960 (set_tcp_socket): Make the message for non-local connections
1961 informational rather than an error.
1962
8c57275b 19632006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
1964
1965 * etags.c (readline): Check for double quote after #line.
1966
880820fe 19672006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
1968
1969 * etags.c (readline): sscanf could in principle return 2.
1970
880820fe 19712006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
1972
1973 * etags.c (readline): lno is unsigned.
1974 (TeX_commands): Use p++ (rather than *p++) to increment p.
1975 (Lua_functions): Explicitly discard LOOKING_AT's return value.
1976
4d91c8f9
JB
19772006-11-27 Juanma Barranquero <lekktu@gmail.com>
1978
1979 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
1980 ($(TRES)): New rule (copied from nt/makefile.w32-in).
1981 ($(BLD)/emacsclientw.exe): Add dependency.
1982
340d34a5
EZ
19832006-11-27 Eli Zaretskii <eliz@gnu.org>
1984
d620ddb3 1985 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 1986
7dce1990
JB
19872006-11-25 Juanma Barranquero <lekktu@gmail.com>
1988
1989 * makefile.w32-in (VERSION): New macro.
1990 (ECLIENT_CFLAGS): Add -DVERSION.
1991
410797a5 19922006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
1993
1994 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
1995
410797a5 19962006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 1997
4472aef4
JB
1998 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
1999 file names with forward slashes.
cb0297bb 2000
30aa95ce
JB
20012006-11-23 Juanma Barranquero <lekktu@gmail.com>
2002
2003 * emacsclient.c (print_help_and_exit): Tweak message contents and
2004 tabs/spaces to improve alignment in message boxes.
2005
42073bfb
JB
20062006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
2007
2008 * emacsclient.c: Include <stdarg.h>.
2009 [WINDOWSNT]: Include <windows.h>.
2010 (w32_check_console_app): New function.
2011 (message): New function.
2012 (decode_options, print_help_and_exit, fail, main)
2013 (initialize_sockets, get_server_config, set_tcp_socket)
2014 (set_local_socket, set_socket): Use message().
2015
32dd9283 20162006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 2017
32dd9283
JR
2018 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
2019 HAVE_INET_SOCKETS.
2020
1bbea9fc
JB
20212006-11-13 Juanma Barranquero <lekktu@gmail.com>
2022
2023 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
2024 ($(BLD)/emacsclientw.exe): New target.
2025 (install): Install emacsclientw.exe.
2026 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
2027 (ECLIENT_CFLAGS): Remove redundant flags.
2028
2029 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
2030
a48db427
JR
20312006-11-13 Jason Rumney <jasonr@gnu.org>
2032
2033 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
2034
21f89bb7 20352006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
2036
2037 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
2038
d5abc12c
JB
20392006-11-08 Juanma Barranquero <lekktu@gmail.com>
2040
ed4a3730
JB
2041 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
2042 FARPROC to avoid a compiler warning.
d5abc12c 2043
18b8c421
JB
20442006-11-07 Juanma Barranquero <lekktu@gmail.com>
2045
88b46d84
JB
2046 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
2047 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
2048
18b8c421
JB
2049 * emacsclient.c (get_server_config): Extract also the Emacs pid
2050 from the server file. On Windows, try to force the Emacs frame to
2051 the foreground.
2052
b03d27bd
JB
20532006-11-06 Juanma Barranquero <lekktu@gmail.com>
2054
21f89bb7 2055 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
2056 option --socket-name.
2057 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
2058 command line options.
21f89bb7 2059 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
2060 (fail): Don't check for missing arguments, it is now done in set_socket.
2061 (file_name_absolute_p): New function (loosely based on the one in
2062 fileio.c).
2063 (initialize_sockets): Don't check for duplicate loading of Winsock.
2064 (get_server_config): Only try relative paths in the default
2065 directory locations.
2066 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
2067 a remote server.
2068 (set_socket): Call INITIALIZE(). Search explicit command-line
2069 arguments, then environment variable EMACS_SERVER_FILE, then implicit
2070 socket paths, before trying the alternate editor.
2071 (main): Use file_name_absolute_p.
2072
b20d6154
EZ
20732006-11-04 Eli Zaretskii <eliz@gnu.org>
2074
2075 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
2076 file if it doesn't already exist.
2077
9c92edca
JB
20782006-11-03 Juanma Barranquero <lekktu@gmail.com>
2079
2080 * emacsclient.c (initialize_sockets): Don't initialize Winsock
2081 more than once.
2082
b6ce9c46
JB
20832006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
2084
2085 * Makefile.in (INSTALL_SCRIPT): New macro.
2086 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
2087
4418616b
JB
20882006-11-02 Juanma Barranquero <lekktu@gmail.com>
2089
2090 * grep-changelog: When called with no arguments (not even a
2091 filter), show help instead of blindingly dumping every single
2092 ChangeLog available. Doc fix. Update version.
2093
1e7823d0
JB
20942006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
2095
2096 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
2097 [!WINDOWSNT]: Include <netinet/in.h> if available.
2098 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
2099 (IOCTL, IOCTL_BOOL_ARG): Remove.
2100 (set_tcp_socket): Don't set the socket in blocking mode.
2101 Remove c_arg.
2102
ebc20ca0
JB
21032006-11-01 Juanma Barranquero <lekktu@gmail.com>
2104
2105 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
2106 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
2107
880820fe 21082006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
2109
2110 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
2111 (close_winsock): Declare as __cdecl.
2112
880820fe 21132006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
2114
2115 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
2116 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
2117 to set the socket in non-blocking mode.
2118
e35fc962
JB
21192006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
2120
d4fa60c8 2121 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
2122 (INVALID_SOCKET): Define.
2123 (initialize_sockets): Put #endif at the right place.
2124 (set_local_socket): Use progname, not argv[0].
2125
ecc54057
JB
21262006-10-31 Juanma Barranquero <lekktu@gmail.com>
2127
2128 * makefile.w32-in (ALL): Add emacsclient.
2129 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
2130 (emacsclient, $(BLD)/emacsclient.exe): New targets.
2131 (install): Install emacsclient.
2132
2133 * emacsclient.c: Add support for TCP sockets.
2134 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
2135 (INITIALIZE): New macros.
2136 (IOCTL_BOOL_ARG): New typedef.
2137 (server_file): New global variable.
2138 (longopts): New option --server-file.
2139 (decode_options): Process new option --server-file and environment
2140 variable EMACS_SERVER_FILE.
2141 (print_help_and_exit): Document new option.
2142 (fail): If no connection available and no alternate editor,
2143 suggest using options to make them explicit.
2144 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
2145 (send_buffer, sblen): New variables.
31fa6595 2146 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
2147 (quote_file_name): Use SEND_STRING.
2148 (close_winsock, initialize_sockets): New functions to load and
2149 unload Winsock.
2150 (get_server_config, set_tcp_socket): New functions to create and
2151 set up TCP sockets.
2152 (set_local_socket): New function to create and set up Unix
2153 socket (code moved from previous implementation).
10d1d0af 2154 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
2155 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
2156 set_local_socket. Use set_socket. Get answers from server.el with
2157 recv(), not file stream functions.
2158
70846e2a
EZ
21592006-10-09 Eli Zaretskii <eliz@gnu.org>
2160
2161 * makefile.w32-in (../src/config.h): Fix error message.
2162
e2247cd0
EZ
21632006-09-30 Eli Zaretskii <eliz@gnu.org>
2164
2165 * .cvsignore: Add blessmail.
2166
45a2056c
JB
21672006-09-15 Jay Belanger <belanger@truman.edu>
2168
2169 * COPYING: Replace "Library Public License" by "Lesser Public
2170 License" throughout.
2171
880820fe 21722006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 2173
ecc54057 2174 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 2175 (readline): Change position on %n and \" in sscanf.
1f4edc37 2176
1520a816
JD
21772006-08-07 Masatake YAMATO <jet@gyve.org>
2178
ecc54057
JB
2179 * etags.c (readline): Expect sscanf returns 2, not 1.
2180
867cc23e
JD
21812006-08-07 Masatake YAMATO <jet@gyve.org>
2182
9984b9d5 2183 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
2184 File ended without newline causes infinite loop.
2185
6088b51f 21862006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
fc185ae6 2187
ecc54057 2188 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 2189
880820fe 21902006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
2191
2192 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
2193 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
2194 (Objc_suffixes): Suggest using --lang=c for full help.
e1dbe924 2195 (C_entries): Initialize savetoken to 0 to shut up the compiler.
fc185ae6 2196
116e754b
AS
21972006-07-20 Andreas Schwab <schwab@suse.de>
2198
2199 * fakemail.c (fatal): Drop second parameter and treat first
2200 parameter as a plain string. Callers changed.
2201
2381d38d
DN
22022006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
2203
2204 * ebrowse.c (usage, version): Mark as NO_RETURN.
2205
2206 * emacsclient.c (print_help_and_exit): Likewise.
2207
880820fe 22082006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
2209
2210 * etags.c (absolute_filename): Free unused space (cosmetic change).
2211 (in_word_set): In C, also tag #undef symbols.
2212
7cb93181
EZ
22132006-06-09 Eli Zaretskii <eliz@gnu.org>
2214
2215 * yow.c: Remove file.
2216
2217 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
2218
2219 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
2220 yow${EXEEXT}: Remove target.
2221
0f29c66d
MY
22222006-06-04 Masatake YAMATO <jet@gyve.org>
2223
63fbb644 2224 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
2225 doesn't exist, is not seekable, not is failed in ftall.
2226
a941b26b
EZ
22272006-06-03 Eli Zaretskii <eliz@gnu.org>
2228
9781fb53
EZ
2229 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
2230 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
2231 ($(BLD)/test-distrib.exe): New targets.
2232 (sorted-doc, digest-doc, test-distrib): New targets.
2233 (install): Install sorted-doc.exe and digest-doc.exe.
2234 ($(BLD)/sorted-doc.$(O)): Update dependencies.
2235
1b178b99
EZ
2236 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2237 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2238 terminal device.
2239
ae85efdb
EZ
2240 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2241 [WINDOWSNT] <top level>: Don't redeclare malloc.
2242 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2243 terminal device.
6088b51f 2244 (main): Initialize bp, to avoid compiler warnings.
ae85efdb 2245
a941b26b
EZ
2246 * makefile.w32-in: Delete traces of leditcfns.c.
2247
2248 * leditcfns.c: Remove file.
2249
880820fe 22502006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 2251
31fa6595
SM
2252 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
2253 Add comments explaining why the "kpop" service is never used.
8a6d5da7 2254
642c61f3
EZ
22552006-05-13 Eli Zaretskii <eliz@gnu.org>
2256
2257 * makefile.w32-in (lisp1): Add fringe.elc.
2258
880820fe 22592006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
2260
2261 * etags.c (Perl_functions): Free space allocated for var package.
2262 (Erlang_functions): Possibly free space allocated for var last.
2263 (Prolog_functions): Possibly free space allocated for var last.
2264
7c47913b
DN
22652006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
2266
7fe8b491
DN
2267 * sorted-doc.c (main): Initialize docs to NULL.
2268
cdeda579
DN
2269 * yow.c (yow): Free buf.
2270
7c47913b
DN
2271 * etags.c: Delete c-indentation-style local variable.
2272
2ef88a94
RS
22732006-04-29 Richard Stallman <rms@gnu.org>
2274
5e5b35c7
RS
2275 * movemail.c (main): Check for negative value from `read'.
2276
2ef88a94
RS
2277 * fakemail.c (read_header): Give fatal error if input has no header.
2278
d65b4235
PE
22792006-04-02 Paul Eggert <eggert@cs.ucla.edu>
2280
2281 * b2m.c (main): Don't include <limits.h>.
2282 (TM_YEAR_BASE): New macro.
2283 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
2284 that s/ files can override this. Use the more-conservative range
2285 1000-9999.
2286 (main): Check for asctime returning NULL.
2287 * fakemail.c: Likewise.
2288
f5565804
PE
22892006-03-27 Paul Eggert <eggert@cs.ucla.edu>
2290
2291 * b2m.c: Include <limits.h>.
2292 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
2293 (main): Check for out-of-range time stamps.
2294 * fakemail.c: Likewise.
2295
90c9c343
AS
22962006-03-18 Andre Spiegel <spiegel@gnu.org>
2297
2298 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
2299 execute $DIFF twice, and once with the wrong options.
2300
a6a2b5d4
EZ
23012006-02-23 Claudio Fontana <claudio@gnu.org>
2302
9e2bcc86
EZ
2303 * Makefile.in (install, uninstall): Add DESTDIR variable to
2304 support staged installations.
a6a2b5d4 2305
ef3f69f9
EZ
23062005-12-30 Eli Zaretskii <eliz@gnu.org>
2307
2308 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
2309 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
2310 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
2311 Rearrange the list to be similar to $(shortlisp) in
2312 src/Makefile.in.
ef3f69f9
EZ
2313 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
2314 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
2315 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
2316 src/Makefile.in.
2317
30cfcf7f
RS
23182005-12-22 Richard M. Stallman <rms@gnu.org>
2319
2320 * Makefile.in (update-game-score.o): Delete spurious final `\'.
2321
ecc54057 23222005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
2323
2324 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
2325 which was never opened.
2326
283879ef 23272005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
2328
2329 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
2330 header files.)
2331
880820fe 23322005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
2333
2334 * etags.c: Preliminary Forth support.
2335 (prolog_pr): Cast strlen to int before comparison.
2336 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
2337 the second argument is indeed a literal string.
b9509712 2338 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
2339
23402005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
2341
2342 * etags.c (longopts, print_help, main): The -a (--append) option
2343 can be used in ctags also; for one, the Linux make file uses it.
2344
41ea4df8
CY
23452005-09-20 Chong Yidong <cyd@stupidchicken.com>
2346
2347 * ebrowse.c (add_sym): Compare namespace names instead of
2348 namespace objects. This prevents the parser from incorrectly
2349 treating classes whose superclass is in another namespace.
2350
5c4757d3
RS
23512005-09-15 Richard M. Stallman <rms@gnu.org>
2352
2353 * Makefile.in (update-game-score.o): New target.
10d1d0af 2354 Compile and link this program separately.
5c4757d3
RS
2355 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
2356
df1b2142
JR
23572005-09-11 Jason Rumney <jasonr@gnu.org>
2358
ecc54057 2359 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 2360 message instead.
31fa6595 2361 (../src/paths.h): Remove.
df1b2142 2362
c638055f
JB
23632005-07-27 Juanma Barranquero <lekktu@gmail.com>
2364
2365 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
2366 generated. Ignore also ctags.c and getopt.h.
2367
2368 * makefile.w32-in (clean): Delete getopt.h.
2369 (getopt.h): New rule.
2370
9eff9fe3
PE
23712005-07-26 Paul Eggert <eggert@cs.ucla.edu>
2372
2373 Merge gnulib getopt implementation into Emacs.
2374
2375 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
2376 (GETOPT_H): New macro, from gnulib.
2377 (getopt.h): New rule, from gnulib.
2378 (GETOPTOBJS): Now autoconfigured.
2379 (GETOPTDEPS): getopt.h is now autoconfigured.
2380 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
2381 (getopt.o): Depend on ${srcdir}/gettext.h.
2382 (movemail.o): Depend on $(GETOPT_H).
2383 * getopt.c, getopt1.c: Sync from gnulib.
2384 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
2385 * getopt.h: Removed (now is getopt_.h).
2386
ec641d50
KR
23872005-07-13 Ken Raeburn <raeburn@gnu.org>
2388
0e0dced5
JB
2389 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
2390 (sendline): Add the \r\n to the line in a temporary buffer, and write
2391 it all at once.
ec641d50 2392
a0ec7a4a
LK
23932005-07-04 Lute Kamstra <lute@gnu.org>
2394
2395 Update FSF's address in GPL notices.
2396
0e0dddda
EZ
23972005-06-13 Eli Zaretskii <eliz@gnu.org>
2398
2399 * makefile.w32-in ($(DOC)): Fix last change.
2400
5a77c8e2
EZ
24012005-06-12 Eli Zaretskii <eliz@gnu.org>
2402
2403 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
2404 temacs.exe, and the preloaded *.elc files. This avoids
2405 unnecessary dumping and DOC rebuilding.
2406
1a8fb426
EZ
24072005-06-04 Eli Zaretskii <eliz@gnu.org>
2408
2409 * ntlib.h (fileno): Don't define if already defined.
2410
7235a58f
TTN
24112005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
2412
2413 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
2414 (yow): Use EXIT_FAILURE in case of memory error.
2415
5063dbbf
YM
24162005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2417
2418 * make-docfile.c (DIRECTORY_SEP): New macro.
2419 (IS_DIRECTORY_SEP): Use it.
2420
880820fe 24212005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
2422
2423 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
2424
ba025f6d
YM
24252005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2426
2427 * make-docfile.c: Undo previous change.
2428
a9eedf40
AS
24292005-02-04 Andreas Schwab <schwab@suse.de>
2430
0e0dced5
JB
2431 * movemail.c (fatal): Accept third parameter and pass down to error.
2432 (pfatal_with_name): Pass error string as format parameter instead of
2433 as part of format string.
a9eedf40
AS
2434 (pfatal_and_delete): Likewise.
2435 (main): Adjust call to fatal.
2436 (xmalloc): Likewise.
2437
5a92a9eb
RS
24382005-01-29 Richard M. Stallman <rms@gnu.org>
2439
2440 * movemail.c (popmail): Don't use Errmsg as format string.
2441
e6973a25
ST
24422004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2443
0e0dced5 2444 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 2445
1bb3da38
AS
24462004-12-15 Andreas Schwab <schwab@suse.de>
2447
2448 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
2449 preprocessing to compile time constant.
2450
d4a38fdd
KS
24512004-11-17 Kim F. Storm <storm@cua.dk>
2452
2453 * etags.c: Undo last change.
2454
f2eb41c8
KS
24552004-11-09 Kim F. Storm <storm@cua.dk>
2456
2457 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
2458 silence compiler.
2459
2460 * hexl.c (main): Init local var c to silence compiler.
2461
2462 * etags.c (main, consider_token, C_entries): Add misc switch
2463 default targets to silence compiler.
2464
880820fe 24652004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
2466
2467 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
2468 resulting DOC file can be used on Unix/Mac also.
2469
880820fe 24702004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
2471
2472 * etags.c (main): When relative file names are given as argument,
2473 make them relative to the current working dir, rather than
2474 relative to the output tags file, if the latter is in /dev.
2475
880820fe 24762004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
2477
2478 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
2479 <stdlib.h> is available.
2480 (enum sym_type): New st_C_attribute value for parsing
2481 gcc's __attribute__. Deleted st_C_typespec value.
2482 (gperf, in_word_set): Use gperf 3, options changed. Added the
2483 __attribute__ keyword, removed all the st_C_typespec keywords,
2484 changed attribute for Java to (C_JAVA & !C_PLPL).
2485 (inattribute): New global bool, part of the C state machine.
2486 (cblev): Identifier renamed to bracelev throughout.
2487 (consider_token, C_entries): Numerous changes for making the
2488 parser more robust and adding support for __attribute__.
2489
24902004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
2491
ecc54057 2492 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
2493 Support the Lua scripting language <http://www.lua.org>.
2494
880820fe 24952004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 2496
d57727c9 2497 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
2498 for ease of use.
2499
3751eb00
RS
25002004-07-17 Richard M. Stallman <rms@gnu.org>
2501
2502 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
2503
86d373e6
JB
25042004-06-01 Juanma Barranquero <lektu@terra.es>
2505
2506 * makefile.w32-in (obj): Add image.c.
2507
80e26b66
TTN
25082004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
2509
0e0dced5 2510 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 2511
e6662c8b
JR
25122004-05-08 Jason Rumney <jasonr@gnu.org>
2513
2514 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
2515 command-lines.
2516
65396510
TTN
25172004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2518
2519 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
2520 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
2521 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2522
2523 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
2524 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
2525 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 2526
c2bcfb19
TTN
25272004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2528
2529 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
2530
3f0656ff
TTN
25312004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
2532
2533 * b2m.c (GOOD, BAD): Delete macros. Throughout,
2534 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
2535 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2536
2537 * etags.c: Likewise.
2538
238add5e
JR
25392004-05-03 Jason Rumney <jasonr@gnu.org>
2540
2541 * makefile.nt: Remove.
2542
b09c5608
EZ
25432004-04-26 Eli Zaretskii <eliz@gnu.org>
2544
2545 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
2546 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
2547 instead of a literal '/'.
2548
d814862a
JB
25492004-04-23 Juanma Barranquero <lektu@terra.es>
2550
2551 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
2552
442a2160
PE
25532004-04-17 Paul Eggert <eggert@gnu.org>
2554
2555 * rcs2log (Help): Clarify wording of the usage message.
2556 Problem reported by Alan Mackenzie in
2557 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
2558
d5d66b7e
SM
25592004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2560
2561 * make-docfile.c (xmalloc): Fix return type.
2562 (put_filename): New fun.
2563 (scan_file): Use it.
2564
bdfd0369
JB
25652004-03-09 Juanma Barranquero <lektu@terra.es>
2566
2567 * grep-changelog: Changes to support ChangeLog.10+.
2568 (main): Tidy up usage string. Fix "Use of uninitialized value"
2569 warning. Set version to 0.2. Parse the directory listing to get
2570 any ChangeLog.n file, not just 1..9.
2571 (header_match_p, entry_match_p, print_log, parse_changelog):
2572 Remove Perl prototypes (their purpose is to help the parser, which
2573 isn't needed here, not declare arguments).
2574 (parse_changelog): Make --reverse faster on big batches by not
2575 modifying the entries list.
2576
a64387ee
JB
25772004-03-01 Juanma Barranquero <lektu@terra.es>
2578
2579 * makefile.w32-in (obj): Add fringe.c.
2580
9766d41b
PE
25812004-02-14 Paul Eggert <eggert@twinsun.com>
2582
2583 * rcs2log: Work correctly if CVSROOT specifies :fork: or
2584 :local: methods, or omits the colon between the hostname
2585 and the path. Allow :/ in repository path, since CVS does.
2586 Fix typo: "pository" should be set from $CVSROOT, not $repository.
2587 This fixes a bug reported by Wolfgang Scherer in
2588 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
2589 along with some related bugs I discovered by inspecting how
2590 CVS itself parses $CVSROOT.
2591
880820fe 25922004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
2593
2594 * emacsclient.c (decode_options): Fix handling of alternate editor.
2595
0734b0d0
SM
25962004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2597
2598 * emacsclient.c (main): Don't use the hostname in the socket name.
2599 Look for relative socket names in the /tmp dir rather than in cwd.
2600
2a6fc2d9
RS
26012004-01-24 Richard M. Stallman <rms@gnu.org>
2602
2603 * emacsclient.c (main): Restore errno from saved_errno,
2604 so the error message comes from socket_status.
2605
0734b0d0
SM
26062004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2607
2608 * emacsclient.c (main): Stop if socket name too long.
2609 Only try su-fallback if the socket name was not explicit.
2610 Check socket name length in su-fallback case as well.
2611
152b6e83
AS
26122004-01-08 Andreas Schwab <schwab@suse.de>
2613
2614 * emacsclient.c (main): Save errno from socket_status.
2615
e8228824
AS
26162004-01-04 Andreas Schwab <schwab@suse.de>
2617
2618 * emacsclient.c (main): Fix socket name when using another user.
2619
c9140662
PE
26202003-12-27 Paul Eggert <eggert@twinsun.com>
2621
2622 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
2623 a tag, and if the user has not specified an rlog option.
2624 Adapted from a suggestion by Martin Stjernholm in
2625 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
2626 (Copyright): Update to 2003.
2627
8babaa59
TTN
26282003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
2629
2630 * make-docfile.c (main): For return code, no longer special-case VMS.
2631 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
2632
880820fe 26332003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
2634
2635 * emacsclient.c (quote_file_name): Print the result instead of
2636 returning it. Fix the return type accordingly.
1ae7cf5e
RS
2637 (main): With --eval, if no file name, read from stdin.
2638 Quote file names.
14ef7288 2639
f387bdea
RS
26402003-09-10 Richard M. Stallman <rms@gnu.org>
2641
07655e62 2642 * emacsclient.c (main): Use socket_name.
f387bdea 2643
880820fe 26442003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
2645
2646 * emacsclient.c (socket_name): New variable.
2647 (longopts, decode_options, print_help_and_exit):
2648 Handle --socket-name argument.
2649
0b7e7337
FP
26502003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
2651
783bcffa 2652 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
2653 token len is long enough.
2654
ac06b30b
DL
26552003-08-20 Dave Love <fx@gnu.org>
2656
2657 * Makefile.in: Remove obsolete references to alloca.
2658
32b0a3c6
JB
26592003-07-29 Ken Brush <ken@wirex.com>
2660
2661 * emacsclient.c (main)
2662 * etags.c (suggest_asking_for_help)
2663 * movemail.c (main): Fix having macros in a printf statement.
2664
3867c42d
JB
26652003-05-31 Juanma Barranquero <lektu@terra.es>
2666
2667 * makefile.w32-in (lisp): Fix references to byte-run.el,
2668 float-sup.el and map-ynp.el, which are now in emacs-lisp.
2669
7933722a
DL
26702003-05-22 Dave Love <fx@gnu.org>
2671
2672 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
2673 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
2674
463f55ee
DL
26752003-05-20 Dave Love <fx@gnu.org>
2676
2677 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
2678
2679 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
2680
1b7a835b
JB
26812003-04-27 Oliver Scholz <alkibiades@gmx.de>
2682
0e0dced5 2683 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 2684
eec54bd7
SM
26852003-04-12 Stefan Monnier <monnier@cs.yale.edu>
2686
2687 * emacsclient.c (main): Use new safe location for socket.
2688
ff4bd681
JB
26892003-03-12 Tom Tromey <tromey@redhat.com>
2690
eec54bd7
SM
2691 * emacsclient.c (print_help_and_exit): Print to stdout.
2692 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
2693 (decode_options): Don't call print_help_and_exit in default case.
2694 Print version information to stdout.
2695 (main): Don't call print_help_and_exit.
2696
dd132e44
RS
26972003-02-15 Richard M. Stallman <rms@gnu.org>
2698
2699 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 2700 Don't include stdlib.h, because config.h does.
dd132e44 2701 (malloc, realloc): Declarations deleted.
ff4bd681 2702
dd132e44
RS
2703 * yow.c (yow): Cast result of malloc and realloc.
2704 (malloc, realloc): Declarations deleted.
2705
71ffc53a
JB
27062003-02-11 Juanma Barranquero <lektu@terra.es>
2707
2708 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
2709
0dfd93c0
AS
27102003-02-08 Andreas Schwab <schwab@suse.de>
2711
2712 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
2713 instead of the substitution.
2714
37d1e680
RS
27152003-02-04 Richard M. Stallman <rms@gnu.org>
2716
2717 * update-game-score.c (push_score, read_scores): Cast values
2718 of malloc and realloc.
2719 (main, lock_file): Avoid assignment inside if.
2720
c60ee5e7
JB
27212003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
2722
2723 * Makefile.in: Use @EXEEXT@ for Cygwin.
2724
b24e2dc7
DL
27252003-01-21 Dave Love <fx@gnu.org>
2726
2727 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
2728 column-0 `('.
2729
2730 * yow.c: Don't include string.h.
2731
675d000f
RS
27322003-01-20 Richard M. Stallman <rms@gnu.org>
2733
2734 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2735 New targets.
2736
207aa3ff
KS
27372003-01-06 Kim F. Storm <storm@cua.dk>
2738
31fa6595 2739 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
2740 All uses changed.
2741
cf6d30d7
AI
27422002-12-18 Andrew Innes <andrewi@gnu.org>
2743
2744 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
2745 because GNU make doesn't append when using >> redirection.
2746
f0131492 27472002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
2748
2749 * b2m.pl: Make sure every message ends with a blank line, because
2750 some mbox parsers require a blank line before "From " lines.
2751
85cce843
RS
27522002-12-08 Richard M. Stallman <rms@gnu.org>
2753
2754 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
2755 (_): Test only HAVE_LIBINTL_H to decide what to do.
2756
2ccc4d34
RS
27572002-12-05 Richard M. Stallman <rms@gnu.org>
2758
2759 * getopt.c: Comment out include of libintl.h or gettext.h.
2760
c5992177
RS
27612002-12-04 Richard M. Stallman <rms@gnu.org>
2762
2763 * Update getopt from gnulib version; changes described below.
2764
2765 * getopt1.c: Conditionally find getopt.h.
2766 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
2767
2768 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
2769 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 2770 (wchar.h): Include, maybe.
10d1d0af 2771 (attribute_hidden): Define if not defined.
c5992177 2772 (__getopt_initialized): Use attribute_hidden.
b166dcd8 2773 (__libc_argc, __libc_argv): Rename from original_argc, etc.
d7982012
JB
2774 (__getopt_nonoption_flags, nonoption_flags_max_len)
2775 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
2776 (SWAP_FLAGS): New definitions.
2777 (exchange): Test USE_NONOPTION_FLAGS.
2778 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
2779 (_getopt_internal): Error if argc < 1. New local var print_errors.
2780 Improve test for ambiguous long option.
2781 Add LIBIO support for error message output.
2782 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
2783
2784 * getopt.h: Maybe include ctype.h.
2785 Treat __cplusplus like __STDC__.
2786 (decls): Use __ in arg names.
2787
4b5e69bd
SE
27882002-12-02 Stephen Eglen <stephen@gnu.org>
2789
2790 * emacsclient.c (main): Tell user how to start server within Emacs
2791 if socket could not be found.
2792
19fa03f3
RS
27932002-12-02 Richard M. Stallman <rms@gnu.org>
2794
2795 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
2796
7be215b4
JB
27972002-11-19 Ben Key <bkey1@tampabay.rr.com>
2798
29f538e6
BK
2799 * makefile.w32-in: Fixed a bug that caused the documentation for
2800 the built in function play-sound-internal not to be included in
2801 /etc/DOC.
7be215b4 2802
1998560a
DL
28032002-11-18 Dave Love <fx@gnu.org>
2804
2805 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
2806 fcntl.h, stdarg.h conditionally.
2807 (_GNU_SOURCE, __attribute__): Don't define.
2808 (optarg, optind, opterr): Declare.
2809 (lose, lose_syserr): Use NO_RETURN.
2810 (get_user_id): Use P_.
2811
8b96caf3
RS
28122002-11-17 Richard M. Stallman <rms@gnu.org>
2813
2814 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
2815
59daa29a
DL
28162002-11-14 Dave Love <fx@gnu.org>
2817
2818 * movemail.c (pop_retr): Declare comment.
2819
2820 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
2821
2822 * Makefile.in (YACC): Deleted.
2823
f1b443bf
AS
28242002-10-19 Andreas Schwab <schwab@suse.de>
2825
2826 * Makefile.in (${archlibdir}): Always create $(gamedir).
2827 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
2828
52402e4f
JB
28292002-10-04 Juanma Barranquero <lektu@terra.es>
2830
2831 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
2832
15dab115
MR
28332002-09-30 Markus Rost <rost@math.ohio-state.edu>
2834
2835 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
2836 completely.
2837
30be2360
SM
28382002-09-27 Stefan Monnier <monnier@cs.yale.edu>
2839
2840 * emacsclient.c: Remove SYSV support.
2841 (eval, display): New vars.
2842 (longopts): Add --eval and --display.
2843 (decode_options): Add -e and -d processing.
2844 (print_help_and_exit): Update the usage string.
2845 (main): Add support for --eval and --display.
3ecdcd59 2846 (main): Always use /tmp and non-qualified hostname.
30be2360 2847
4208da83
SM
28482002-09-25 Stefan Monnier <monnier@cs.yale.edu>
2849
2850 * emacsserver.c: Remove.
2851
3cf8c6aa
SM
28522002-09-17 Stefan Monnier <monnier@cs.yale.edu>
2853
2854 * emacsclient.c (quote_file_name): Quote \n.
2855 (main): Print a final \n when needed.
2856
880820fe 28572002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
2858
2859 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
2860 string that cannot be freed.
2861
880820fe 28622002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
2863
2864 * etags.c (consider_token, C_entries): Switch to C++ parsing when
2865 auto-detection is enabled and the `::' qualifier is met.
2866 (consider_token, C_entries): Several bugs corrected that tagged
2867 some declarations even though --declarations was not used.
2868 (plainc): New macro.
2869 (C_entries): Use it.
2870 (C_entries): Several cosmetic changes.
2871 (C_entries): Invalidate the token is some cases.
2872
880820fe 28732002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 2874
eec54bd7 2875 * etags.c (C_entries): Correct a problem with const C++ funcs.
b166dcd8 2876 (ignoreindent): Rename from noindentypedefs.
09cd1a74
FP
2877 (cjava, cplpl): They are now macros instead of local vars.
2878
880820fe 28792002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
2880
2881 * etags.c (HTML_labels): Tag ID= also.
2882
880820fe 28832002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
2884
2885 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
2886
ecc54057 2887 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
2888 (etags_strcasecmp): Like BSD's, for compatibility.
2889 (strcaseeq): Make it into a macro.
2890
2891 * etags.c (make_tag): Never generate null length tag names.
b166dcd8 2892 (linebuffer_init): Rename from initbuffer. All callers changed.
87046df8
FP
2893 (pattern): Structure renamed to `regexp', member regex renamed to
2894 pattern.
2895 (node_st): Member pat renamed to regex.
eec54bd7
SM
2896 (pattern); New member force_explicit_name, for future use.
2897 Now always set to true, cannot be reset.
87046df8
FP
2898 (add_regex, regex_tag_multiline, readline): Use it.
2899 (main): Free some global structures.
8ee14629 2900 (fdesc): New member `written'.
e1dbe924 2901 (readline, process_file): Initialize it.
87046df8
FP
2902 (put_entries): Set it.
2903 (main): Use it to create entries for files without tags.
2904 (total_size_of_entries): Do not count invalid tags.
87046df8 2905
02ce3e80
SM
29062002-08-19 Stefan Monnier <monnier@cs.yale.edu>
2907
2908 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
2909 for the function name in the usage info.
2910
5fba5c21
CW
29112002-07-31 Colin Walters <walters@gnu.org>
2912
2913 * update-game-score.c (P_): New macro. Use it for all prototypes.
2914 (lose): Don't use varargs.
2915 (lose_syserr): New function.
2916
2917 * update-game-score.c: Change all functions to K&R style.
2918
712eaee0
AS
29192002-07-30 Andreas Schwab <schwab@suse.de>
2920
2921 * Makefile.in (localstatedir): New variable.
2922
f0131492 29232002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
2924
2925 * b2m.pl: Fix regexp for finding return address fields.
2926
1e042160
SM
29272002-07-15 Stefan Monnier <monnier@cs.yale.edu>
2928
2929 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
2930
f0131492 29312002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 2932
02ce3e80 2933 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 2934
880820fe 29352002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
2936
2937 * b2m.pl: New file.
2938
880820fe 29392002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 2940
ecc54057 2941 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
2942 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
2943 (PHP_functions, PHP_functions, Cobol_paragraphs)
2944 (Makefile_targets, Postscript_functions, Texinfo_nodes)
2945 (prolog_pr, erlang_func, erlang_attribute)
2946 (Perl_functions, Perl_functions, Pascal_functions)
2947 (TeX_commands, get_tag): Use make_tag instead of pfnote.
2948 (get_tag): Prototype changed, all callers changed.
2949
880820fe 29502002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 2951
d76132d0
FP
2952 * etags.c: Implement implicit tag names, that is, unnamed tags
2953 whose name is automatically deduced by etags.el. The advantage is
2954 that there is no explicit tag name in most tags, so the size of
2955 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 2956 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
2957 (make_tag): New function (was the disabled function new_pfnote).
2958 (make_C_tag): Use it.
2959
880820fe 29602002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
2961
2962 * etags.c (add_regex): Invalid regexp modifiers are ignored.
2963 (Makefile_targets): Tag variables unless --no-globals.
2964 (LOOP_ON_INPUT_LINES): Serious bug corrected.
2965
880820fe 29662002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
2967
2968 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
2969 (invalidate_nodes): Bug corrected.
2970 (print_help): Better help for regexps.
2971
7a8940da
JB
29722002-06-13 Juanma Barranquero <lektu@terra.es>
2973
2974 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
2975 font-core.elc.
2976
880820fe 29772002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
2978
2979 * etags.c: New multi-line regexp and new regexp syntax.
2980 (arg_type): at_icregexp label removed (obsolete).
2981 (pattern): New member multi_line for multi-line regexps.
2982 (filebuf): A global buffer containing the whole file as a string
2983 for multi-line regexp matching.
2984 (need_filebuf): Global flag raised if multi-line regexps used.
2985 (print_help): Document new regexp modifiers, remove references to
2986 obsolete option --ignore-case-regexp.
2987 (main): Do not set regexp syntax and translation table here.
2988 (main): Treat -c option as a backward compatibility hack.
2989 (main, find_entries): Init and free filebuf.
2990 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 2991 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
2992 (analyse_regex, add_regex): Remove the ignore_case argument, which
2993 is now a modifier to the regexp. All callers changed.
2994 (add_regex): Manage the regexp modifiers.
2995 (regex_tag_multiline): New function. Reads from filebuf.
2996 (readline_internal): If necessary, copy the whole file into filebuf.
2997 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
2998
880820fe 29992002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
3000
3001 * etags.c (add_regex): Better check for null regexps.
3002 (readline): Check for regex matching null string.
6772c8e1 3003 (find_entries): Reorganization.
6861f0e3 3004
880820fe 30052002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
3006
3007 * etags.c (scan_separators): Support all character escape
3008 sequences supported by Gcc.
02ce3e80 3009 (find_entries): Rewind unconditionally.
f0da41a6
FP
3010 (find_entries): Do not call language functions directly, now calls
3011 itself.
e1dbe924 3012 (find_entries): Do general initializations here.
f0da41a6
FP
3013 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
3014 (Ada_getit, Pascal_functions, Pascal_functions)
3015 (prolog_skip_comment): Do not do them here.
3016 (readline_internal): Increment lineno here.
3017 (readline): Conditionally undo readline_internal increment.
3018 (readline): Do not return a value.
3019
880820fe 30202002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 3021
88c71720 3022 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
3023 (enum arg_type): New label at_stdin.
3024 (STDIN): New constant.
3025 (parsing_stdin): New flag.
3026 (longopts): New option --parse-stdin=NAME.
3027 (print_help): Document it.
3028 (main): Handle it.
3029 (process_file): Split into process_file and process_file_name.
3030 (process_file_name): New function.
3031
88c71720 3032 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 3033 (TeX_commands): Skip comments.
10d1d0af 3034 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
3035 (TEX_cmt): Make it a static char and move it before TeX_commands.
3036 (TeX_commands): Shorten the tag to the brace after the name.
3037 (TeX_commands): Names now include the initial backslash.
3038 (TeX_commands): Names do not include numeric args #n.
3039 (TeX_commands): Correct line char number in tags.
3040 (TEX_tabent, TEX_token): Deleted.
3041 (TeX_commands, TEX_decode_env): Streamlined.
3042
880820fe 30432002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
3044
3045 * etags.c (main): Avoid a buffer overrun with sprintf.
3046
a71867c5
RS
30472002-05-30 Richard M. Stallman <rms@gnu.org>
3048
b166dcd8
KC
3049 * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
3050 (LIBS_MOVE): Rename from MOVE_LIBS.
a71867c5 3051
b7e67db6
PE
30522002-05-26 Paul Eggert <eggert@twinsun.com>
3053
3054 Reinstate the following change from 2002-03-22, which was
3055 inadvertently lost on 2002-04-13.
3056
3057 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
3058 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
3059 the latter usage.
3060
5f226e2c
EZ
30612002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
3062
3063 * pop.c (socket_connection): Move the code to resolve the POP
3064 host right before trying to connect with it.
3065
9021bb49
GM
30662002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
3067
3068 * tcp.c: Delete file since the TCP emulation is no longer in use on any
3069 platform.
3070
5167cfda
CW
30712002-04-28 Colin Walters <walters@verbum.org>
3072
3073 * Makefile.in (${archlibdir}): Don't conditionalize on
3074 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
3075 or not we have access to the specified game user.
50496bd9 3076
5167cfda
CW
3077 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
3078 (main): New argument -d, for specifying directory.
3079 (usage): Document.
02ce3e80 3080 (get_user_id): Compute.
5167cfda
CW
3081 (get_home_dir): Deleted.
3082 (get_prefix): New function, taken from main.
3083 (main): Check whether or not we are running setuid. Move prefix
3084 computation to get_prefix. Don't call getpwent; we don't need to
3085 any more. Instead, move it to get_user_id().
3086
880820fe 30872002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
3088
3089 * ebrowse.c (skip_initializer): Return void.
3090
973c3c87
CW
30912002-04-23 Colin Walters <walters@verbum.org>
3092
3093 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
3094 space.
3095
880820fe 30962002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 3097
ecc54057 3098 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
3099 (process_file): Print the tags from the nodes as soon as
3100 possible, and delete the nodes. This brings down the memory
3101 occupancy as etags to almost the same level as when the #line
3102 directives were not parsed.
3103 (free_fdesc): New function.
3104 (find_entries): Use it.
3105 (invalidate_nodes): In etags mode, do not just mark the nodes as
3106 invalid, do delete them.
3107
c901ceff
GM
31082002-04-21 Gerd Moellmann <gerd@gnu.org>
3109
3110 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
3111
c42d6dbd
EZ
31122002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
3113
3114 * update-game-score.c: Move config.h before the other headers, to
3115 avoid compiler warnings.
3116
880820fe 31172002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
3118
3119 * etags.c (find_entries): Bug fix in list management.
3120
880820fe 31212002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
3122
3123 * etags.c (get_language_from_filename): Add one argument.
3124 (strcaseeq): New function.
10d1d0af 3125 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
3126 comparison if called with appropriate args.
3127 (find_entries): Try with case insensitive match.
3128 (process_file): Bug fixed.
3129
880820fe 31302002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
3131
3132 * etags.c (find_entries): Delete tags previously obtained from
3133 file xxx.c's #line directives when parsing file xxx.y. This is
3134 generally done for automatically generated files containing
3135 #line directives. This handles the case when xxx.y is tagged
3136 before xxx.c, and the entries of xxx.c pointing to xxx.y should
3137 be discarded.
eec54bd7 3138 (language): Add the metasource member. Initializers changed.
c150db23
FP
3139 (invalidate_nodes): New function.
3140 (readline): Discard lines after having found a #line
02ce3e80 3141 directive pointing to an already tagged file. This handles the
c150db23
FP
3142 case when xxx.y is tagged before xxx.c, and the entries of
3143 xxx.c pointing to xxx.y should be discarded.
3144 (fdesc): New structure for keeping track of input files.
3145 (fdesc): Remove `file' member (a string) and use instead a pointer
3146 to a file description structure.
02ce3e80
SM
3147 (curfile, curfiledir, curtagfname, curlang, nocharno)
3148 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 3149 curfdp, pointers to file description structures.
c150db23
FP
3150 (longopts, main, print_help): Use the CTAGS conditional to include
3151 or exclude options that work on etags or ctags only.
02ce3e80
SM
3152 (process_file, find_entries, pfnote, add_node, put_entries)
3153 (readline): Use fdhead and curfdp.
c150db23
FP
3154 (process_file, find_entries): Do not take an arg string, all
3155 callers changed.
3156
3157 * etags.c (longopts, print_help, main): Test CTAGS to disallow
3158 options that are not right for either etags or ctags.
3159
3160 * etags.c (number_len, total_size_of_entries): Define them also
3161 in CTAGS mode, because gcc does not compile all refs away.
3162
e9d1f248
CW
31632002-04-14 Colin Walters <walters@debian.org>
3164
3165 * update-game-score.c (lock_file): If the lock file is older than
3166 an hour, delete it. Reset attempts to zero if we have to break
3167 the lock.
3168
7605f1bd
AS
31692002-04-14 Andreas Schwab <schwab@suse.de>
3170
3171 * update-game-score.c (read_score): Fix type of second parameter
3172 of getdelim to be of type size_t instead of int. Use 0 instead of
3173 ESUCCES.
3174
e82defd1
CW
31752002-04-10 Colin Walters <walters@verbum.org>
3176
ecc54057 3177 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
3178 (MAX_DATA_LEN, MAX_SCORES): New.
3179 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
3180 default to ~/.emacs.d/games.
3181 (get_user_id): Don't zero uid in the case where we can't get the
3182 username.
3183 (lose): New function.
3184 (main): Actually use `max', and default it to MAX_SCORES.
3185 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
3186 function.
3187 (read_score): Handle the case of reading unamelen characters, then
3188 finishing. Use mktemp if mkstemp isn't available.
3189 (lock_file, unlock_file): Delete unused versions.
3190 (lock_file): Always sleep, even if we unlinked the lock file.
3191
e82defd1
CW
3192 * Makefile.in (gamedir, gameuser): New variables.
3193 (toplevel, UTILITIES): Add update-game-score.
3194 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
3195
5795b420
CW
31962002-04-07 Colin Walters <walters@verbum.org>
3197
3198 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
3199 (get_user_id): Take struct passwd as an argument.
3200 (get_home_dir): New function.
3201 (main): Read in user information here. Discover home directory if
3202 necessary.
3203 (read_score): Trim newline only in `getline' case.
3204
cd553ffb 32052002-04-05 Colin Walters <walters@debian.org>
c150db23 3206
cd553ffb
CW
3207 * update-game-score.c (toplevel): Include pwd.h.
3208 (struct score_entry): Add username field.
3209 (push_score): Use it.
3210 (get_user_id): New function.
3211 (main): Don't malloc excessively.
3212 (main): Use username field.
3213 (read_score): Read it.
3214 (push_score): Handle it.
07655e62 3215 (write_scores): Write it.
c150db23
FP
3216 (read_score): Handle arbitrary length data.
3217
b74bd4a3
EZ
32182002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
3219
3220 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
3221
fa8bc89d
GM
32222002-03-29 Gerd Moellmann <gerd@gnu.org>
3223
3224 * ebrowse.c (add_declarator, skip_initializer): New functions.
3225 (declaration): Use them.
3226
dd87b4cc
JR
32272002-03-28 Jason Rumney <jasonr@gnu.org>
3228
3229 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
3230
cd553ffb
CW
32312002-03-27 Colin Walters <walters@debian.org>
3232
3233 * update-game-score.c: New file.
3234
dfef6d49
PE
32352002-03-22 Paul Eggert <eggert@twinsun.com>
3236
3237 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
3238 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
3239 the latter usage.
3240
880820fe 32412002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 3242
4fff90e4 3243 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
3244 (Python_functions, PHP_functions): Name tags, for ctags' sake.
3245 (TeX_commands): Name tags. Correction of old disabled code.
3246
3247 * etags.c (curfiledir, curtagfname): New global variables.
e1dbe924 3248 (process_file): Initialize them.
a13d6523 3249 (readline): Canonicalize the name found in #line directive.
893a741e 3250
4fff90e4 32512002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 3252
893a741e
JR
3253 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
3254 compilers that don't optimize out dead code.
3255
880820fe 32562002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
3257
3258 * etags.c: Honour #line directives.
a7c29764 3259 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
3260 (main): Remove some #ifdef in the getopt switch.
3261 (add_node, put_entries): Code added to merge different chunks of
3262 nodes referring to the same file. Currently the tags are just
3263 appended, without any check for duplicates.
3264 (Perl_functions): Do not special case ctags.
3265 (readline): Identify #line directives and do the right thing.
3266 (nocharno, invalidcharno): New global vars.
3267 (process_file): Reset nocharno.
3268 (readline): Set nocharno.
3269 (pfnote): Read nocharno and maybe put invalidcharno in node.
3270 (total_size_of_entries, put_entries): Use invalidcharno.
3271
3272 * etags.c: Keep the whole tag table in memory, even in etags mode.
3273 (main): Call put_entries here even in CTAGS mode.
3274 (main, process_file): Check the return values of fclose and pclose.
3275 (process_file): Do not call put_entries after parsing each file.
333f9019 3276 (process_file): Canonicalize file names even for ctags.
51aeded3
FP
3277 (process_file): Set curfile here...
3278 (find_entries): ... not here any more.
3279 (add_node): In etags mode, build a linked list of entries (on
3280 right pointer) for each file, and link the first entry of each
3281 file on left nodes.
3282 (put_entries): Print here the name of the file.
3283 (put_entries): Print the entries starting from the first file.
c150db23 3284 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
3285 mode, make the second work only on the right nodes.
3286
3287 * etags.c: Make all global variables static.
3288
50ce1f62
JB
32892002-02-25 Juanma Barranquero <lektu@terra.es>
3290
3291 * makefile.w32-in (lisp): Add missing backslash.
3292
82a399d2
JR
32932002-02-24 Jason Rumney <jasonr@gnu.org>
3294
3295 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
3296 using .elc files.
c4cc8b9a 3297 (lisp): Sync with list in src/Makefile.in.
82a399d2
JR
3298 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
3299
a279c920
PE
33002002-02-10 Paul Eggert <eggert@twinsun.com>
3301
3302 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
3303 disallows the old syntax.
3304
0caa685d
PE
33052002-02-03 Paul Eggert <eggert@twinsun.com>
3306
d7982012 3307 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
3308 (AWK, TMPDIR): Work around portability problem in broken shells that
3309 don't understand `: ${VAR=val}'.
3310 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
3311 Prefer the new -k option to the traditional +M -N option.
3312
880820fe 33132002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
3314
3315 * b2m.c (main): Parenthesize assignment when used as truth value
3316 to prevent gcc warnings.
3317
3318 * fakemail.c: Include <config.h>.
3319
880820fe 33202001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
3321
3322 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
3323 * yow.c: Include <config.h>.
3324
880820fe 33252001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
3326
3327 * etags.c (Perl_functions): Tag packages and use them in sub tags.
3328 (get_tag): Return a pointer to the tag that is found.
3329
3330 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
b166dcd8
KC
3331 (F_takeprec): Rename from takeprec. All callers changed.
3332 (F_getit): Rename from getit. All callers changed.
3333 (nocase_tail): Rename from tail. All callers changed.
3334 (Ada_getit): Rename from adagetit. All callers changed.
eec54bd7 3335 (L_getit): Simplify by using get_tag.
a60e4de9
FP
3336 (Perl_functions, Postscript_functions, erlang_attribute): Use the
3337 modified LOOKING_AT.
e1dbe924 3338 (notinname): Remove '[' and added ')' to the recognized chars.
a60e4de9
FP
3339 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
3340 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
3341 Clarified, using strneq or notinname.
3342 (L_isdef, L_isquote): Removed.
3343 (Lisp_functions, L_getit): Clarified.
3344
b166dcd8 3345 * etags.c (P_): Rename to __P for consistency with config.h.
a60e4de9
FP
3346 [HAVE_CONFIG_H]: Let config.h deal with __P.
3347 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
3348 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
3349 gperf code needs it.
ecc54057
JB
3350 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
3351 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
3352 (xmalloc, xrealloc): Use PTR instead of long *.
3353 (bool): Make it a define, not a typedef, for C++ compilers.
3354 (pattern): Members renamed to avoid name clash in some C++ compilers.
3355 (get_language_from_langname): Use const argument.
3356
880820fe 33572001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
3358
3359 * makefile.nt, makefile.w32-in: Remove mocklisp files.
3360
880820fe 33612001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 3362
b8509940
PJ
3363 * emacsserver.c: Conditionally include config.h.
3364
594aa066
PJ
3365 * fakemail.c: Likewise.
3366
e69233c2
PJ
3367 * emacsclient.c: Include "config.h", not <../src/config.h>.
3368 (main): Parenthesize assignment when used as truth value to
3369 prevent gcc warnings.
3370
69bfc389
PJ
3371 * ebrowse.c: Include stdlib.h and string.h conditionally.
3372
e4e34e31
EZ
33732001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
3374
3375 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
3376
880820fe 33772001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
3378
3379 * test-distrib.c: Fix previous change.
3380
fb5aa7ac
DL
33812001-12-18 Dave Love <fx@gnu.org>
3382
3383 * test-distrib.c: Conditionally include fcntl.h.
3384
3385 * fakemail.c: Include "config.h", not <../src/config.h>.
3386 (_XOPEN_SOURCE): Define as 500.
3387
3388 * emacsserver.c: Include "config.h", not <../src/config.h>.
3389
3390 * cvtmail.c: Include config.h, stdlib.h.
3391 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
3392
3393 * yow.c: Conditionally include various headers. Use "epaths.h",
3394 not <../src/epaths.h>.
3395 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
3396
880820fe 33972001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 3398
13dc0576 3399 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
3400 (LOOKING_AT): New macro.
3401 (Perl_functions, Python_functions, PHP_functions)
3402 (Scheme_functions, Texinfo_nodes): Use it.
3403 (Perl_functions): Use strneq.
b166dcd8 3404 (prolog_pred): Rename to prolog_pr.
e1dbe924 3405 (prolog_pr): Recognize Prolog rules in addition to predicates.
e94a3679 3406 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 3407 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
3408 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
3409
34e39c95
RS
34102001-12-11 Richard M. Stallman <rms@gnu.org>
3411
3412 * Makefile.in (clean): Don't delete ../etc/DOC*.
3413
880820fe 34142001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
3415
3416 * COPYING: Moved back.
3417
76054cc8
AI
34182001-11-30 Andrew Innes <andrewi@gnu.org>
3419
e94a3679
FP
3420 * makefile.w32-in (FACE_SUPPORT):
3421 (MOUSE_SUPPORT):
3422 (FLOAT_SUPPORT):
3423 (WINNT_SUPPORT):
76054cc8
AI
3424 (lisp): Reference .el files instead of .elc files, to simplify
3425 bootstrapping.
3426 ($(DOC)): Change dependency to just `make-docfile'.
3427
880820fe 34282001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
3429
3430 * COPYING: Removed.
3431
e8d6a09b
PE
34322001-11-28 Paul Eggert <eggert@twinsun.com>
3433
3434 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
3435
3436 The following changes are derived from suggestions by Bob Chapman
3437 <rechapman@compuserve.com>.
3438
3439 * rcs2log (printlogline): Also allow tab and newline to separate
3440 '(function):' from the rest of a comment.
3441 (reformat the sorted log entries): Require date and author to
3442 match the clumpname.
3443
9a190096
GM
34442001-11-16 Gerd Moellmann <gerd@gnu.org>
3445
3446 * ebrowse.c (matching_regexp): Escape '\\'.
3447
880820fe 34482001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
3449
3450 * Makefile.in: Add support for --program-prefix, --program-suffix
3451 and --program-transform-name options.
3452
6d8f7d5d
RS
34532001-11-03 Richard M. Stallman <rms@gnu.org>
3454
3455 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
3456
3457 * movemail.c (popmail): Always pass two args to `error'.
3458
84e70f78
KR
34592001-10-24 Ken Raeburn <raeburn@gnu.org>
3460
3461 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
3462 -lhesiod and maybe -lresolv.
3463 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
3464 support if it's available.
3465
386ca361
MB
34662001-10-21 Miles Bader <miles@gnu.org>
3467
a3b10252
MB
3468 * make-docfile.c (struct rcsoc_state): New type.
3469 (read_c_string_or_comment): Add SAW_USAGE
386ca361 3470 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
3471 Use a variable of type `rcsoc_state' to hold most of our state.
3472 (put_char): Add STATE parameter, and remove all other parameters
3473 except CH. Use STATE to get access to all needed state.
3474 (scan_keyword_or_put_char): New function.
386ca361
MB
3475 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
3476 Don't output a usage-string if there was one in the doc-string.
3477
71431a0e
GM
34782001-10-20 Gerd Moellmann <gerd@gnu.org>
3479
6aa97356 3480 * (Version 21.1 released.)
71431a0e 3481
880820fe 34822001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
3483
3484 * b2m.c: Properly spell the name of Emacs.
3485
945220bd
MB
34862001-10-17 Miles Bader <miles@gnu.org>
3487
3488 * make-docfile.c (put_char): New function.
3489 (read_c_string_or_comment): Strip trailing spaces and newlines.
3490
14242528
MB
34912001-10-16 Miles Bader <miles@gnu.org>
3492
3493 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
3494 comments [with `doc:' keyword prefix].
3495
9f5eb4a3
GM
34962001-10-15 Gerd Moellmann <gerd@gnu.org>
3497
3498 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
3499 in a C doc comment.
3500
e641b454
GM
35012001-10-13 Gerd Moellmann <gerd@gnu.org>
3502
b166dcd8 3503 * make-docfile.c (read_c_string_or_comment): Rename from
e641b454
GM
3504 read_c_string. Add parameter COMMENT. Read C-style comments.
3505 (scan_c_file): Handle doc strings in C comments.
3506
967d7793
AI
35072001-10-12 Andrew Innes <andrewi@gnu.org>
3508
3509 * makefile.nt (ALL): Do not include fakemail.
3510
3511 * makefile.w32-in (install): Do not copy fakemail.
3512
d682756a
JR
35132001-10-10 Jason Rumney <jasonr@gnu.org>
3514
07655e62 3515 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 3516
07655e62 3517 * makefile.nt (install): Ditto.
d682756a 3518
14a3dff7
GM
35192001-10-09 Gerd Moellmann <gerd@gnu.org>
3520
3521 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 3522
95bc7904 3523 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 3524
880820fe 35252001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
3526
3527 * profile.c: Include config.h, not ../src/config.h.
3528 Include systime.h, not ../src/systime.h.
3529
ab952a4f
GM
35302001-10-05 Gerd Moellmann <gerd@gnu.org>
3531
3532 * Branch for 21.1.
dff28924 3533
12c64503
GM
35342001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
3535
3536 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
3537 ALIASEE to help work with namespace aliases.
3538 (struct sym): Remove struct member NAMESP_ALIASES.
3539 (namespace_alias_table): New variable.
3540 (make_namespace): Add parameter CONTEXT.
3541 (check_namespace): New function.
3542 (find_namespace): Add parameter CONTEXT.
3543 (check_namespace_alias): New function.
02ce3e80
SM
3544 (register_namespace_alias): Change type of parameter OLD_NAME.
3545 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
3546 (check_namespace): New function.
3547 (enter_namespace): Call find_namespace with CONTEXT parameter.
3548 (match_qualified_namespace_alias): New function.
eec54bd7 3549 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 3550 While parsing qualified ident or type update namespace context and
12c64503 3551 restore it on exit.
eec54bd7
SM
3552 (parse_qualified_param_ident_or_type): Fix typo in comment.
3553 (globals): Change handling of namespace aliases.
3554 (version): Add year 2001.
12c64503 3555
990e1190
FP
35562001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
3557
3558 * etags.c (analyse_regex): If regex_arg is NULL, return
3559 immediately after a call to free_patterns.
3560
f2e7e23e
AS
35612001-09-05 Paul Eggert <eggert@twinsun.com>
3562
3563 * rcs2log (Help, mainline code): Add new option -L FILE.
3564 (Copyright): Update year.
02ce3e80
SM
3565 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
3566 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
3567 C locale.
3568 (mainline code): Handle nonstandard -u option differently, by
3569 transforming it to standard form. Check for "Working file: ", not
3570 "Working file:". Allow file names with spaces.
3571 (SOH, rlogfile): New shell vars.
dff28924 3572 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
3573 rlogfile.
3574
3575 Append ';;' to the last arm of every case statement, for
3576 portability to ancient broken BSD shells.
3577
02ce3e80 3578 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
3579 (pository): New var. This fixes some bugs where repositories are
3580 remote, or have trailing slashes.
02ce3e80 3581 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 3582 about that possibility.
dff28924 3583 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 3584 the output.
dff28924 3585
75c911eb
EZ
35862001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3587
3588 * ebrowse.c (SEEK_END): #define if not defined by system headers.
3589 Suggested by Dave Love <d.love@dl.ac.uk>.
3590
5ae10f4a
EZ
35912001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3592
3593 * makefile.nt (lisp): Synchronize with src/Makefile.in.
3594 * makefile.w32-in (lisp): Ditto.
3595
0e4011d8 35962001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
3597
3598 * grep-changelog (parse_changelog): Remove unused local variable.
3599
3600 * grep-changelog (main): Add new option --reverse.
3601 (print_log): Use it.
3602 (parse_changelog): Use it.
3603
3c88ae74
GM
36042001-07-20 Gerd Moellmann <gerd@gnu.org>
3605
3606 * grep-changelog: Remove RCS Id keyword.
3607
41848daa
GM
36082001-07-20 Juanma Barranquero <lektu@terra.es>
3609
6e07c0a5
GM
3610 * grep-changelog (parse_changelog): Add tests for defined values
3611 to quiet warning from Perl 5.005 or above.
177ab8ce 3612 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
3613 argument to prevent duplicate headers.
3614
3615 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 3616
467f1209
GM
36172001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
3618
3619 * emacsclient.c (print_help_and_exit): Fix help message for
3620 +LINE:COLUMN option.
3621
36222000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 3623
467f1209
GM
3624 * emacsclient.c (main): Add support for +LINE:COLUMN command line
3625 argument.
3626
bb24c64f
GM
36272001-07-16 Gerd Moellmann <gerd@gnu.org>
3628
3629 * ebrowse.c (main): Check that the output file exists and
3630 is non-empty if invoked with `--append'.
3631
880820fe 36322001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 3633
e335b66a
GM
3634 * etags.c (add_regex): Reset the whole newly allocated pattern
3635 buffer instead of the individual members. It's safer and works
ecc54057 3636 with XEmacs.
fa829470 3637
e335b66a 3638 * etags.1: Markups corrected.
fa829470 3639
6da5c7da
GM
36402001-05-08 Gerd Moellmann <gerd@gnu.org>
3641
02ce3e80 3642 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 3643
efbecf9d
GM
36442001-05-03 Gerd Moellmann <gerd@gnu.org>
3645
3646 * ebrowse.c (globals): Fix handling of namespace aliases.
3647
f4976ebc
EZ
36482001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
3649
3650 * etags.c (print_help): Enclose the regexp in the help text
3651 example in quotes.
3652
23431241
DL
36532001-04-05 Dave Love <fx@gnu.org>
3654
3655 * emacsclient.c (fail): Don't return a value.
fa829470 3656 (main): Cast uid values for sprintf.
23431241 3657
476bf681
GM
36582001-04-03 Gerd Moellmann <gerd@gnu.org>
3659
b3f6107b
GM
3660 * emacsclient.c (fail, main): Don't use implicit int return type.
3661
476bf681
GM
3662 * b2m.c (main): Always return a value.
3663
ef53d75e
GM
36642001-03-02 Gerd Moellmann <gerd@gnu.org>
3665
3666 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
3667 freshly allocated object in *LAST_ID.
3668 (read_line): Accept \r\n line endings.
3669
425de386
AI
36702001-02-24 Andrew Innes <andrewi@gnu.org>
3671
3672 * makefile.w32-in: Fix copyright notice.
3673
880820fe 36742001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
3675
3676 * etags.c (enum sym_type): New label st_C_template.
3677 (gperf input): Use it for switching to C++ from C.
3678 (consider_token): Do it.
e1dbe924 3679 (C_entries): Initialize typdefcblev to quiet compilers.
c2a642c0 3680 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 3681
f6839838
AI
36822001-02-22 Andrew Innes <andrewi@gnu.org>
3683
3684 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
3685 VMS header files.
3686 ($(BLD)\profile.obj): Ditto.
3687
3688 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
3689 VMS header files.
3690 ($(BLD)/profile.$(O)): Ditto.
3691
193fba87
AI
36922001-02-05 Andrew Innes <andrewi@gnu.org>
3693
3694 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
3695 invocation of make-docfile, to work with Windows 2000.
3696
30526cc6
DL
36972001-01-31 Dave Love <fx@gnu.org>
3698
3699 * etags.c (in_word_set): Use `static' in definition (for pcc).
3700
880820fe 37012001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 3702
ecc54057 3703 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
3704 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
3705 (C_entries): Tag token renamed to still_in_token because sunos4
3706 pcc wants to expand it as the token() macro even though it has no
3707 arguments.
3708
914d7258
AI
37092001-01-30 Andrew Innes <andrewi@gnu.org>
3710
3711 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
3712 bug in the Mingw32 assert.h header file.
3713
880820fe 37142001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 3715
ecc54057
JB
3716 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
3717 #define it for the sake of XEmacs.
b28e26be
FP
3718 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
3719 HAVE_CONFIG_H. This change only affects a standalone etags.
3720 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
3721 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
3722 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 3723 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
3724 WINDOWSNT, as this is the correct way to use it.
3725
880820fe 37262001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
3727
3728 * etags.c: Be capable to parse nested struct-like structures.
3729 (structdef, structtag): Struct state machine revisited.
3730 (struct tok): Revisited.
3731 (cstack, nestlev, instruct): New struct and macros.
3732 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 3733 for dealing with nested class names.
8c463abe
FP
3734 (consider_token, make_C_tag, C_entries): Many changes for dealing
3735 with arbitrarily nested structures.
3736 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
3737 (C_entries): Consider templates in C++.
3738 (sym_type): New constant st_C_class for detecting "class" also in
3739 C mode.
3740 (C_AUTO): New macro for automatic detection of C++.
3741 (consider_token): Automatic set C++ mode.
3742 (C_entries): New security check for yacc.
3743 (print_language_names, print_help): Mention the autodetect
07655e62 3744 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
3745 (C_entries): Tag C++ forward declarations if --declarations.
3746 (C_entries): Don't be fooled by things like XDEFUN.
3747 (consider_token): Discard asm pseudo function.
3748
e26f9ced
EZ
37492001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
3750
3751 * etags.c: Add a coding: tag.
3752
a47b7816
GM
37532001-01-26 Gerd Moellmann <gerd@gnu.org>
3754
8c463abe 3755 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
3756 New variables.
3757 (matching_regexp): Use them instead of static variables in
3758 function scope.
3759
880820fe 37602001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa 3761
b166dcd8
KC
3762 * etags.c (struct tok): Rename from struct token.
3763 (token): Rename from tok.
d22a24fa
FP
3764 (structtype): Make it a local variable.
3765 [DEBUG]: Use assert.
3766 (xrnew): Change the synopsis.
b166dcd8 3767 (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
d22a24fa 3768 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 3769 (token): Buffer renamed to line.
d22a24fa 3770 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 3771 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
3772 (linebuffer_setlen): Was grow_buffer, now also sets len.
3773 (consider_token, C_entries, Pascal_functions): Use it.
3774 (C_entries): Preventing problems relative to extern "C".
3775 (C_entries): Can tag more than one variable or func separated by
3776 comma when --declarations is used.
3777 (C_entries): More accurate tagging of members and declarations.
3778 (yacc_rules): Was global, made local to C_entries.
3779 (next_token_is_func): Removed.
3780 (fvdef): New constants fdefunkey, fdefunname.
3781 (consider_token, C_entries): Use them.
3782 (C_entries): Build proper lisp names for Emacs DEFUNs.
3783
21c2bbe0
GM
37842001-01-22 Gerd Moellmann <gerd@gnu.org>
3785
3786 * ebrowse.c (xfree): New function.
3787 (member, declaration, globals): Use xmalloc instead of alloca.
3788
880820fe 37892001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
3790
3791 * etags.c (print_language_names): Print filenames in addition to
3792 suffixes.
3793
880820fe 37942001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e 3795
b166dcd8 3796 * etags.c (get_language_from_langname): Rename from
47df1a5e 3797 get_language_from_name.
b166dcd8 3798 (get_language_from_filename): Rename from get_language_from_suffix.
eec54bd7 3799 Now first looks for the complete file name.
47df1a5e
EZ
3800 (language): New member char **filenames.
3801 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 3802 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 3803 for makefiles.
13dc0576 3804 (Makefile_targets): New function.
c5e87d10 3805 (Texinfo_nodes): Rename from Texinfo_functions and made
47df1a5e
EZ
3806 it conformant to the style of the rest of the code.
3807
291c7e74
GM
38082001-01-13 Gerd Moellmann <gerd@gnu.org>
3809
3810 * make-docfile.c (write_c_args): Print newlines as spaces.
3811
0dac6924
AI
38122001-01-06 Andrew Innes <andrewi@gnu.org>
3813
3814 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
3815 of *.pdb.
3816
3e99d3b4
GM
38172001-01-03 Paul Eggert <eggert@twinsun.com>
3818
290afd83 3819 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
3820 cause user of rcs2log to overwrite arbitrary files, fixing
3821 a bug reported by Morten Welinder.
3822
3823 Don't put "exit 1" at the end of the exit trap; it's
3824 ineffective in POSIX shells.
3825
d6bb0c0d
GM
38262001-01-02 Gerd Moellmann <gerd@gnu.org>
3827
eec54bd7
SM
3828 * ebrowse.c (yyerror): Change to take two arguments.
3829 Add prototype. Change callers.
d6bb0c0d 3830
d5c00476 38312001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
3832
3833 * ebrowse.c (enter_namespace, main): Cast variables to shut up
3834 compiler warnings.
3835 (yyerror): Change parameter declarations to be of type long, so
3836 that they can take pointers on 64-bit platforms.
3837
3838 * emacsclient.c (main): Remove unused local variable statbfr.
3839 (main) <homedir>: Make its declaration conditional on
3840 SERVER_HOME_DIR, to avoid compiler warnings.
3841
3842 * emacsserver.c (main) <homedir>: Make its declaration conditional
3843 on SERVER_HOME_DIR, to avoid compiler warnings.
3844
3845 * fakemail.c (readline): Cast buffer to "long *" to pacify
3846 over-zealous compilers.
3847
7c89ea61
EZ
38482000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
3849
3850 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
3851
a6768cc5
GM
38522000-12-15 Gerd Moellmann <gerd@gnu.org>
3853
3854 * ebrowse.c (operator_name): Cast argument of isalpha to
3855 unsigned char.
3856
3857 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
3858 Use them throughout instead of ctype functions/macros.
3859 (lowcase): Cast to unsigned char.
3860 (UPCASE): New macro.
3861 (canonicalize_filename): Use UPCASE instead toupper.
3862
3863 * fakemail.c (get_keyword): Make sure that isspace and
3864 similar aren't called with a negative argument.
3865
70de49cc
DL
38662000-12-13 Dave Love <fx@gnu.org>
3867
3868 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
3869
4e8b894c
AI
38702000-12-06 Andrew Innes <andrewi@gnu.org>
3871
3872 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
3873 don't know the real version, and I can't seem to get the quoting
3874 right in all circumstances.
3875
3876 * ebrowse.c (VERSION): Provide default definition, like etags.c
3877 does, because Windows build can't snarf this from version.el.
3878
88257bc8
AI
38792000-11-30 Andrew Innes <andrewi@gnu.org>
3880
3881 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
3882 (install): Ditto.
3883
d19249e7
JR
38842000-11-23 Jason Rumney <jasonr@gnu.org>
3885
3886 * makefile.w32-in: Add targets for ebrowse.exe.
3887 (LOCAL_FLAGS): Add -DVERSION flag.
3888
7df6adc3
DL
38892000-09-25 Dave Love <fx@gnu.org>
3890
3891 * sorted-doc.c: Include config.h.
3892 [!HAVE_STDLIB_H]: Declare malloc.
3893
fe83b953
AI
38942000-09-14 Andrew Innes <andrewi@gnu.org>
3895
3896 * makefile.w32-in: Revert to Unix line endings.
3897
517699ca
DL
38982000-09-04 Dave Love <fx@gnu.org>
3899
3900 * movemail.c (index, rindex): Prototype conditionally.
3901
f8803e97
AI
39022000-09-03 Andrew Innes <andrewi@gnu.org>
3903
3904 * makefile.w32-in: Change to DOS line endings.
3905
f72adc12
EZ
39062000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3907
4034f3a8 3908 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
3909 [!F_OK]: Provide default definitions only after including both
3910 fcntl.h and unistd.h.
3911
f678f592
DL
39122000-08-29 Dave Love <fx@gnu.org>
3913
3914 * movemail.c: Revert previous change.
3915
5b671d04
EZ
39162000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3917
3918 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
3919
6fa86045
DL
39202000-08-28 Dave Love <fx@gnu.org>
3921
3922 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
3923 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
3924
746d9caf
AI
39252000-08-22 Andrew Innes <andrewi@gnu.org>
3926
3927 * ntlib.h (WIN32): Remove unnecessary definition.
3928 (sleep): Make argument unsigned long.
3929 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
3930
3931 * ntlib.c (sleep): Make argument unsigned long.
3932
3933 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
3934
3935 * makefile.w32-in: New file.
3936
3b541489
EZ
39372000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
3938
3939 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
3940 letter only if it is a drive letter.
3941
e5acf0ca
GM
39422000-07-14 Gerd Moellmann <gerd@gnu.org>
3943
b166dcd8 3944 * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
e5acf0ca
GM
3945
3946 * etags.c (xmalloc, xrealloc): Make externally visible, for use
3947 by alloca.o.
3948
02ce3e80 3949 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 3950
4b92c49a
GM
39512000-07-10 Gerd Moellmann <gerd@gnu.org>
3952
3953 * ebrowse.c (yylex): Accept string literals with newlines in them.
3954 (process_pp_line): Handle case of string literal with newline
3955 in it in replacement text, which counts as continuing the
3956 replacement text in GNU C.
3957
831a6cb0
GM
39582000-07-02 Gerd Moellmann <gerd@gnu.org>
3959
3960 * ebrowse.c (token_string): Add missing tokens.
3961 (parm_list): Handle case of qualified pointers.
3962
53245ee2
DL
39632000-06-23 Dave Love <fx@gnu.org>
3964
3965 * ebrowse.c: Move config.h before other includes (which may use
3966 feature tests).
3967
dcbf2cd2
JM
39682000-06-14 Jim Meyering <meyering@lucent.com>
3969
3970 * grep-changelog: Fix typos in comments. Remove trailing blanks.
3971
f1c7754a
JR
39722000-06-11 Jason Rumney <jasonr@gnu.org>
3973
3974 * makefile.nt: Add targets for ebrowse.
3975
3976 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
3977 compare filenames.
3978
5f1aea9a
GM
39792000-06-06 Gerd Moellmann <gerd@gnu.org>
3980
b166dcd8
KC
3981 * ebrowse.c (ymalloc): Rename from xmalloc.
3982 (yrealloc): Rename from xrealloc.
5f1aea9a 3983
5bf244f1
DL
39842000-05-21 Dave Love <fx@gnu.org>
3985
3986 * movemail.c: Include config.h, not ../src/config.h.
3987 (Errmsg): Bump length.
3988
3989 * pop.c (ERROR_MAX): Increase to 160.
3990
ec82fb2f
GM
39912000-05-04 Gerd Moellmann <gerd@gnu.org>
3992
3993 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
3994
5c922ea7
EZ
39952000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
3996
02ce3e80
SM
3997 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
3998 Define to semi-colon.
5c922ea7 3999 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 4000 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
4001 (process_file): Don't assume that fread always reads as many bytes
4002 as it was told to (DOS-style CR-LF text files fail this logic).
4003 (open_file): Allocate enough space for path->path plus the file
4004 name and the slash.
4005
6142fdcb 40062000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
4007
4008 * etags.c (Texinfo_functions): New function.
4009 (lang_names): Install it.
4010 (Texinfo_suffixes): New variable.
4011
cb9215e4
GM
40122000-04-19 Gerd Moellmann <gerd@gnu.org>
4013
4014 * ebrowse.c (xmalloc, xrealloc): Rewritten.
4015 (declaration): Remove parameter IS_EXTERN.
4016 (class_definition): Remove unused variable.
4017
be0dbdab
GM
40182000-04-09 Gerd Moellmann <gerd@gnu.org>
4019
4020 * Makefile.in (INSTALLABLES): Add ebrowse.
4021 (ebrowse): New target.
4022
4023 * ebrowse.c: New file.
4024
c5aa0fc2
AS
40252000-03-29 Andreas Schwab <schwab@suse.de>
4026
4027 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
4028
d054101f
GM
40292000-03-02 Gerd Moellmann <gerd@gnu.org>
4030
07e99590 4031 * etags.c (lisp_suffixes): Add `LSP'.
d054101f 4032
880820fe 40332000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 4034
eec54bd7 4035 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
4036 space, and use it throughout in place of isspace, thus preventing a
4037 potential signed char to int conversion problem.
10d1d0af 4038 (MSDOS): #undefine before redefining.
71cbb895 4039
880820fe 40402000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
4041
4042 * etags.c (many functions): Add prototypes.
4043
97fa0cc8
DL
40442000-02-10 Dave Love <fx@gnu.org>
4045
4046 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
4047 (erlang_func): Add `static' to definitions to keep pcc happy.
4048
880820fe 40492000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
4050
4051 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
4052 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
4053 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
4054 (getenv, getcwd): Only declare them if necessary.
4055 (EMACS_NAME): New constant macro.
4056 (print_version): Use it.
4057 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 4058
19e262bd 40592000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
4060
4061 * etags.c [WINDOWSNT]: #include <direct.h>
4062
19e262bd 40632000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 4064
19e262bd
FP
4065 * etags.c (all functions): Made them static.
4066 (all functions): Write prototypes.
e4100b7f 4067
55e30d2a
RS
40682000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
4069
4070 * movemail.c (main): Improve error message if can't create lock file.
4071
c60ee5e7 40722000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
4073
4074 * emacsclient.c (socket_status): New function.
02ce3e80 4075 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
4076 for a socket based on the UID associated with the name.
4077
e4936aa9
GM
40782000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
4079
4080 * emacsclient.c: Add option -a EDITOR and environment variable
4081 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
4082
f0131492 40831999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
4084
4085 * movemail.c (popmail): Allow mailbox specifications of the
4086 form `po:username:hostname'.
4087
880820fe 40881999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
4089
4090 * etags.c (_GNU_SOURCE): Define only if undefined.
4091 (get_scheme): Declaration deleted.
02ce3e80 4092 (main): Error was called with an integer as second arg, instead of
e2081362
FP
4093 a char pointer.
4094 (canonicalize_filename): Bug removed.
4095
40961999-11-18 Dave Love <d.love@dl.ac.uk>
4097
4098 * etags.c (C_entries): Rename label `intoken', avoiding K&R
4099 lossage from name clash with macro.
4100
b05d3bee
GM
41011999-11-13 Gerd Moellmann <gerd@gnu.org>
4102
4103 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
4104
cb3a6c48
GM
41051999-11-03 Gerd Moellmann <gerd@gnu.org>
4106
4107 * etags.c (print_help): Change email address to send bugs to.
4108
6088b51f 41091999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
4110
4111 * etags.c: Add suffix psw for PSWrap.
4112 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
4113 (Postscript_functions): Add code for PSWrap.
4114 (Scheme_functions): Use local pointer and new get_tag function.
4115 (get_tag): New name for old get_scheme.
4116 (process_file): Do not free NULL when file does not exist.
4117 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
4118 (C_entries): Modifications that make --members tag even inside
4119 typedefs and C nested structs (one level only).
eec54bd7 4120 (consider_token): Correct a bug which prevented tagging of enum
1c478461 4121 constants.
eec54bd7 4122 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
4123 st_C_ignore. This makes it simpler to work when cblev!=0.
4124
02ce3e80 4125 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
4126 --declarations is used.
4127
4128 * etags.c (C_entries, consider_token): C++ `operator' now is
4129 tagged in most cases.
e1dbe924 4130 As before, :: is not recognized if surrounded by spaces.
1c478461
FP
4131
4132 * etags.c (relative_filename): Account for DOS file names such
4133 that is impossible to make one relative to another.
4134
4135 * etags.c (sym_type): New st_C_extern tag.
4136 (gperf input): Use it for spotting external declarations.
a7c29764 4137 (print_help): Document the new behavior of --declarations.
1c478461
FP
4138 (fvextern): New global variable.
4139 (consider_token, C_entries): Use it.
4140
4141 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
4142 (etags_getcwd): Remove test for WINDOWSNT.
4143
4144 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
4145 foo.cgz, foo.cz, etc.
4146
4147 * etags.c (declarations): New global switch.
4148 (longopts): Describe it.
4149 (print_help): Document it.
4150 (C_entries): Use it.
4151 (process_file): Don't process a file twice.
4152
4153 * etags.c (Fortran_functions): No tags for "procedure".
4154
41551999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
4156
4157 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
4158 non-zero, returns a pointer to where the extension begins; callers
4159 changed.
4160 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
4161 were foo.c.gz.
4162
880820fe 41631999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
4164
4165 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
4166 (fvdev): New constant foperator.
4167 (consider_token): Use it to get "operator" in C++.
4168 (C_entries): Extend length of operator@ function name.
4169 (C_entries): Use foperator when necessary.
4170
4171 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
4172
4173 * etags.c (compressor): New struct for compressed files.
4174 (get_compressor_from_suffix): New function.
4175 (get_language_from_suffix): Use it. Also, semantics changed.
4176 (process_file): Consider compressed files, close file.
4177 (find_entries): Use different call arg for get_language_from_suffix,
4178 don't close file.
4179
4180 * etags.c (main): Call free_tree.
4181 (find_entries): Do not free curfile.
4182 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
4183 (prolog_pred, erlang_func, substitute): Cast strlen to int when
4184 comparing.
4185 (canonicalize_filename): Shut up compiler warning.
4186 (Perl_functions): Make tag significant.
4187
41881999-11-01 Dave Love <d.love@dl.ac.uk>
4189
4190 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
4191 (argument_type): New member at_icregexp.
4192 (lc_trans): New global.
4193 (main): Fill lc_trans. Process -c args.
4194 (add_regex): New arg determining whether to use translation table.
4195 (analyse_regex): New arg. Use it for add_regex.
4196
880820fe 41971999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
4198
4199 * etags.c (init): Cosmetic change: NULL --> '\0'.
4200 (erlang_attribute): Bug corrected (uninitialized variable).
4201 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 4202 corrects a bug. All callers changed.
1c478461
FP
4203 (canonicalize_filename): New function.
4204 (process_file, etags_getcwd, absolute_dirname): Use it.
b166dcd8 4205 (relative_filename, absolute_filename): Remove var shadowing.
1c478461 4206 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 4207 compilers quiet.
1c478461
FP
4208 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
4209
4210 * etags.c (xrnew): New macro. All callers of xrealloc changed.
4211 (language): New typedef (was struct lang_entry).
4212 (curlang): New global variable.
02ce3e80 4213 (node): Typedef renamed from NODE.
1c478461
FP
4214 (linebuffer): New typedef (was struct linebuffer).
4215 (pattern): New typedef (was struct pattern). Some members added.
4216 Now used as element of a linked list.
4217 (patterns, num_patterns): Global variables deleted.
4218 (p_head): New global variable.
a64387ee 4219 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
4220 (get_language_from_name, get_language_from_interpreter)
4221 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 4222 (last_node): New global variable.
02ce3e80
SM
4223 (free_tree, add_node, put_entries, total_size_of_entries):
4224 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
4225 (number_len): Rewritten for elegance.
4226 (token): New typedef replaces TOKEN.
4227 (analyse_regex, add_regex): Rewritten for new functionality.
4228 (free_patterns): New function called from main and add_regex.
4229 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 4230 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
4231 (readline): Rewritten for new functionality.
4232
ecc54057 4233 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
4234 (print_help): --globals is now used for more than C-type languages.
4235 (Perl_functions): Tag global variables ("my" and "local").
4236
4237 * etags.c (print_help): Some messages clarified.
4238 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
4239 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
4240 (Python_functions, Cobol_paragraphs, Pascal_functions)
4241 (Lisp_functions, Postscript_functions, Scheme_functions)
4242 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
4243 (Cobol_paragraphs, Postscript_functions, TeX_functions)
4244 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
4245 of the global variable dbp.
4246 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
4247 standard indentation.
4248
02ce3e80
SM
4249 * etags.c (Python_suffixes, lang_names, Python_functions):
4250 Python support.
1c478461 4251 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
4252 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
4253 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
4254 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
4255 (eat_white): Deleted.
4256
4257 * etags.c (CHAR, init): Keep into account non US-ASCII
4258 characters and compilers with default signed chars.
4259 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
4260 constructs.
ecc54057 4261 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 4262
ecc54057 4263 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
4264 (main): Put interval syntax here.
4265 (add_regex): And remove it from here.
4266
4267 * etags.c (suggest_asking_for_help): Provide a
4268 meaningful help message with and without LONG_OPTIONS.
4269
d07529f3 4270 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
4271 <stdlib.h, string.h>: Don't test MSDOS when including them.
4272 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
4273 (put_entries): Correctly use %ld instead of %d in printf.
4274
d07529f3 4275 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
4276 declare getcwd if HAVE_GETCWD.
4277 (consider_token): Dead break instruction removed.
4278
4ee9629e
PE
42791999-10-19 Paul Eggert <eggert@twinsun.com>
4280
4281 Add support for large files. Merge glibc 2.1.2.
1c478461 4282
4ee9629e 4283 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 4284 * movemail.c, pop.c:
4ee9629e
PE
4285 Do not include <stdlib.h>, as <config.h> does this now.
4286
4287 * b2m.c, emacsserver.c, etags.c, profile.c:
4288 Include <config.h> before any system include files.
1c478461 4289
4ee9629e 4290 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 4291 * test-distrib.c:
4ee9629e
PE
4292 (read, write, open, close): Do not undef.
4293
4294 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
4295 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
4296
4297 * getopt.h: Adopt glibc 2.1.2.
1c478461 4298
93c8d183
DL
42991999-10-15 Dave Love <fx@gnu.org>
4300
4301 * Makefile.in (pop.o): Depend on config.h.
4302
b358f91c
GM
43031999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4304
4305 * pop.c: Use "pop3" as the POP service name on all platforms,
4306 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
4307 has been the standard service name since RFC 1340 was published in
4308 July 1992, so I think it's safe to start using it by default.
4309
362bc2da
DL
43101999-09-27 Dave Love <fx@gnu.org>
4311
4312 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
4313
74e4cb59
PR
43141999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
4315
4316 * make-docfile.c (scan_lisp_file): Fix previous changes;
4317 swallow CRLF like just CR or just LF.
4318
362bc2da
DL
43191999-09-03 Richard Stallman <rms@gnu.org>
4320
4321 * make-docfile.c: Include config.h not ../src/config.h.
4322 (main, fopen, chdir): Add #undef.
4323 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
4324 (scan_lisp_file): Handle \r like \n.
4325
43261999-08-30 Andreas Schwab <schwab@gnu.org>
4327
4328 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
4329
4330 * emacsserver.c: Include <stdlib.h> if available. Don't declare
4331 errno if it's a macro.
4332
4333 * test-distrib.c: Include <unistd.h> if available.
4334
43351999-08-29 Richard Stallman <rms@gnu.org>
4336
4337 * emacsclient.c (print_help_and_exit): Mention --version.
4338
43391999-08-25 Richard M. Stallman <rms@gnu.org>
4340
4341 * emacsclient.c (decode_options): Update version output.
4342 (print_help_and_exit): Update bug report address.
4343
43441999-08-13 Richard M. Stallman <rms@gnu.org>
4345
4346 * emacsclient.c (main): Move the dynamic allocation of
4347 system_name outside of the SERVER_HOME_DIR conditional.
4348 * emacsserver.c (main): Likewise.
4349
43501999-08-10 Gerd Moellmann <gerd@gnu.org>
4351
4352 * grep-changelog: New.
4353 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
4354
43551999-07-12 Richard Stallman <rms@gnu.org>
4356
4357 * Version 20.4 released.
4358
43591999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
4360
1c478461 4361 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
4362
43631999-06-23 Dave Love <fx@gnu.org>
4364
4365 * etags.c (erlang_attribute): Fix undefined variable usage (after
4366 Potorti).
4367
86e888c2 43681999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
4369
4370 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
4371 mapped to _chsize.
4372
43731999-04-29 Richard M. Stallman <rms@gnu.org>
4374
4375 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
4376
43771999-03-30 Dave Love <fx@gnu.org>
4378
4379 * sorted-doc.c (main): Split up tables. Modify the preamble
4380 somewhat.
4381
43821999-03-05 Geoff Voelker <voelker@cs.washington.edu>
4383
4384 * makefile.nt: Remove common multiple file compilation commands.
4385
43861999-02-26 Richard Stallman <rms@gnu.org>
4387
362bc2da
DL
4388 * Makefile.in (yow): Depend on epaths.h, not paths.h.
4389
4390 * yow.c: Refer to epaths.h.
4391
43921999-02-22 Simon Josefsson <jas@pdc.kth.se>
4393
4394 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
4395
43961999-01-27 Andrew Innes <andrewi@gnu.org>
4397
4398 * makefile.nt: Do make version comparison as strings.
4399
44001999-01-25 Richard Stallman <rms@gnu.org>
4401
4402 * emacsclient.c (xmalloc): Fix previous change.
4403
44041999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
4405
4406 * emacsclient.c (xmalloc): Declare to return long.
4407
44081999-01-22 Geoff Voelker <voelker@cs.washington.edu>
4409
4410 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
4411 the case of the drive letter.
4412
44131999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
4414
4415 * emacsserver.c (main): Eliminate arbitrary limit on
4416 length of system_name.
4417
4418 * emacsclient.c (main): Eliminate arbitrary limit on
4419 length of system_name.
4420 (xmalloc): Define unconditionally.
4421
44221999-01-12 Darrin B. Jewell <jewell@mit.edu>
4423
4424 * etags.c (relative_filename): Stop backward search at beginning
4425 of string, since non-Unix systems can have absolute paths with no
4426 initial slash.
4427
44281998-12-08 Geoff Voelker <voelker@cs.washington.edu>
4429
b0b19974 4430 * makefile.nt: Do string comparison of _NMAKE_VER.
362bc2da 4431
c60ee5e7 44321998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
4433
4434 * makefile.nt: Compile multiple source files when possible.
4435
44361998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
4437
4438 * Makefile.in: Replace tabs with spaces
4439 when they might confuse some Make versions.
4440
44411998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
4442
4443 * emacsclient.c (main): Null-terminate system_name.
4444
4445 * emacsserver.c (main): Null-terminate system_name.
4446
44471998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4448
4449 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
4450 an error message from POP, mention that it's from POP, to
4451 distinguish it from local error messages.
4452
44531998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4454
4455 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
4456 order of messages downloaded from a POP server (e.g., if the
4457 server stores messages in mailboxes in reverse order).
4458
44591998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
4460
4461 * Version 20.3 released.
4462
44631998-08-11 Paul Eggert <eggert@twinsun.com>
4464
4465 * rcs2log: Update copyright date and bug report address.
4466 (initialize_fullname): Prefer getent if available.
4467
44681998-07-30 Paul Eggert <eggert@twinsun.com>
4469
290afd83 4470 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 4471 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 4472
362bc2da
DL
44731998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
4474
4475 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
4476
44771998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
4478
4479 * Makefile.in: Properly terminate a comment.
4480
44811998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
4482
4483 * movemail.c (sys_wait): Rename to wait.
4484
4485 * ntlib.h: Undefine _WINSOCKAPI_.
4486
4487 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
4488
44891998-05-30 Geoff Voelker <voelker@cs.washington.edu>
4490
4491 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
4492
44931998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
4494
b166dcd8
KC
4495 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
4496 Force all file i/o to be in binary mode. Include ntlib.h.
362bc2da
DL
4497
44981998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
4499
4500 * make-docfile.c: Include <unistd.h> for chdir.
4501
45021998-04-25 Richard Stallman <rms@psilocin.gnu.org>
4503
4504 * etags.c (TEX_decode_env): Don't free the value getenv returns.
4505
45061998-04-17 Geoff Voelker <voelker@cs.washington.edu>
4507
4508 * makefile.nt (obj): Update with new files in src.
4509 (clean): Delete patch scratch files, optimized compilation dir.
4510
45111998-04-08 Dave Love <fx@gnu.org>
4512
4513 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
4514 Irix6, at least.
4515
45161998-04-06 Andreas Schwab <schwab@gnu.org>
4517
4518 Silence -Wimplicit:
4519 * movemail.c: Move cancelations up. Include <stdlib.h> if
4520 available.
4521 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
4522 (parse_header): Explicitly declare return type.
4523 * emacsserver.c: Include <unistd.h> if available.
4524 (main, handle_signals, perror_1, fatal_error): Explicitly declare
4525 return types. Add forward declarations.
4526 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
4527 Don't declare geteuid.
b166dcd8
KC
4528 (print_help_and_exit): Change return type to void.
4529 Forward declare it.
362bc2da
DL
4530 * b2m.c: Include <stdlib.h> if available.
4531 (main): Explicitly declare return type.
4532
362bc2da
DL
45331998-04-03 Richard Stallman <rms@psilocin.gnu.org>
4534
4535 * etags.c (put_entries): Use %ld.
4536
4537 * b2m.c (fatal): Declare the arg.
4538
45391998-03-26 Richard Stallman <rms@psilocin.gnu.org>
4540
b166dcd8 4541 * pop.c (pop_getline): Rename from getline.
362bc2da
DL
4542
45431998-03-05 Richard Stallman <rms@psilocin.gnu.org>
4544
4545 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
4546 for the utilities.
4547
45481998-01-23 Dave Love <d.love@dl.ac.uk>
4549
4550 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
4551 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
4552 Always make named tags.
4553 (Fortran_functions): Grok BLOCK DATA.
4554
45551998-01-23 Andreas Schwab <schwab@gnu.org>
4556
4557 * movemail.c (main): Fix interwoven brace and cpp conditional
4558 nesting.
4559
362bc2da
DL
45601997-12-03 Paul Eggert <eggert@delysid.gnu.org>
4561
cb438d6e
JB
4562 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
4563 with a '>' any lines starting with "From " read from the POP server,
4564 but leave the code in place, wrapped in #ifdef
362bc2da 4565 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
4566 because it turns out that something is depending on it.
4567 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
4568 Convert the character \037 (^_) at the beginning of a line into
4569 the character '^' followed by the character '_', because otherwise
4570 Emacs can't parse the resulting file as a valid BABYL file.
4571 Change suggested by Paul Eggert <eggert@twinsun.com>.
4572
45731997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4574
4575 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
4576 server to contain embedded nulls.
4577
45781997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 4579
362bc2da
DL
4580 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
4581 quotes with a '>' any lines starting with "From " read from the
4582 POP server, but leave the code in place, wrapped in #ifdef
4583 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
b166dcd8
KC
4584 because it turns out that something is depending on it.
4585 Change suggested by Paul Eggert <eggert@twinsun.com>.
362bc2da
DL
4586
4587 Convert the character \037 (^_) at the beginning of a line into
4588 the character '^' followed by the character '_', because otherwise
4589 Emacs can't parse the resulting file as a valid BABYL file.
4590 Change suggested by Paul Eggert <eggert@twinsun.com>.
4591
45921997-11-22 Richard Stallman <rms@gnu.org>
4593
4594 * b2m.c: Include getopt.h.
4595 (main): Use getopt_long to handle --version and --help.
4596
4597 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
4598
45991997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4600
b166dcd8
KC
4601 * pop.c (fullwrite): Get rid of an extra call to write.
4602 Problem pointed out by Chiaki Ishikawa.
362bc2da
DL
4603
46041997-10-16 Dave Love <d.love@dl.ac.uk>
4605
ecc54057
JB
4606 * etags.c (L_getit): Always make named tags so that Emacs
4607 completion on symbols containing `:' etc. works.
4608 (get_scheme): Likewise.
362bc2da
DL
4609
46101997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4611
4612 * pop.c: Use system header files instead of declaring C-library
4613 functions explicitly.
4614
46151997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4616
4617 * Version 20.2 released.
4618
46191997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4620
4621 * Version 20.1 released.
4622
46231997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
4624
4625 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
4626
4627 * ntlib.c (getpid): Delete function.
4628
46291997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4630
4631 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
4632
46331997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4634
4635 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
4636 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
4637
46381997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4639
4640 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
4641
46421997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
4643
4644 * profile.c (get_time): Cast arg to fprintf.
4645
4646 * hexl.c (main): Use %08lx instead of %08x in printf because the
4647 variable named addresses is long.
4648
46491997-08-08 Geoff Voelker <voelker@cs.washington.edu>
4650
4651 * makefile.nt (lisp): Update paths to lisp files that have moved.
4652
46531997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
4654
4655 * makefile.nt (ctags.obj): New target.
4656 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
4657
4658 * ntlib.h: Add includes.
4659 Undo definitions of crt routines from config.h.
4660
46611997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4662
4663 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
4664
46651997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4666
4667 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
4668 Kerberos V5 for movemail, including detection of V4 and V5 header
4669 files and libraries.
362bc2da 4670 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 4671 declarations of string functions.
362bc2da 4672 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 4673 V5 API rather than the old one.
362bc2da 4674 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
4675 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
4676 with a constant in a header file.
362bc2da
DL
4677
4678 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
4679 Kerberos V5 for movemail, including detection of V4 and V5 header
4680 files and libraries.
362bc2da
DL
4681
46821997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4683
4684 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
4685
4686 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 4687
362bc2da
DL
46881997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4689
4690 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
4691
46921997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4693
4694 * movemail.c (rindex): Add declaration.
4695
d57727c9 46961997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4697
4698 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
4699 (movemail.exe): Depend upon and link with getopt files.
4700 (obj): Include new source files.
4701 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
4702 (lisp): Include new and reorganized elisp files.
4703
47041997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4705
4706 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
4707
47081997-06-25 Paul Eggert <eggert@twinsun.com>
4709
4710 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
4711
47121997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
4713
4714 * b2m.c (readline): Terminate buffer properly when EOF seen.
4715 Test for valid pointer before dereferencing it.
4716
880820fe 47171997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4718
4719 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
4720 defined inside etags.c if HAVE_CONFIG_H is defined.
4721
880820fe 47221997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4723
ecc54057 4724 * etags.c (logical): Type name changed to bool.
362bc2da
DL
4725 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
4726 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
4727 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
4728 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
4729 (longopts): New long options without short counterpart are
4730 globals, members, no-globals, no-members. Regexp options are now
4731 defined conditionally to ETAGS_REGEXPS.
4732 (print_help): Updated.
4733
880820fe 47341997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4735
4736 * etags.c (C_entries): Use "." instead of "::" for Java.
4737 (consider_token): is_func renamed to is_func_or_var.
4738 (C_entries): is_func renamed to funorvar.
e1dbe924 4739 (C_entries): Initialize tok.named.
362bc2da
DL
4740 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
4741 get rid of "import", "package" and "friend".
b166dcd8
KC
4742 (fvdef): Rename from funcdef. Also some constants renamed.
4743 All users changed.
362bc2da
DL
4744 (C_entries): Make separate tags for variables separated by comma.
4745 (globals, members): New flags.
4746 (main, C_entries): Use them.
4747 (make_C_tag, C_entries): Make tok a global variable.
1c478461 4748
880820fe 47491997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4750
4751 * etags.c (funcdef): New vignore constant.
4752 (consider_token, C_entries): Use it to tag global variables.
4753 (print_help): Update for global variables.
4754 (consider_token, C_entries): Set the len member of token_name.
4755 (prolog_pred): Cleanup according to GNU coding standards.
4756 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
b166dcd8 4757 (prolog_white, erlang_white): Rename to eat_white, callers changed.
362bc2da 4758
880820fe 47591997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4760
4761 * etags.c (CHARS, CHAR): New constant and macro.
4762 (iswhite, begtoken, intoken, endtoken): Use them.
4763 (notinname, _nin, nonam): New macro, array, string.
4764 (init): Cleanup and init _nin.
4765 (new_pfnote): New function.
4766 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 4767 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 4768
880820fe 47691997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4770
4771 * etags.c (C_entries, Pascal_functions): Cleanup.
4772 (TeX_functions): NULL as a function arg needs a cast.
4773 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
4774
880820fe 47751997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4776
4777 * etags.c (TeX_functions): Cleaned up.
4778 (tex_getit): Removed.
4779
47801997-05-13 Paul Eggert <eggert@twinsun.com>
4781
4782 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 4783 non-files within the RCS subdirectory.
362bc2da 4784
880820fe 47851997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4786
4787 * etags.c (C_JAVA): New #define.
4788 (Cjava_suffixes): .java is Java.
4789 (Cjava_entries): New function.
4790 (lang_names): Add Java.
4791 (sym_type): Add st_C_javastruct for Java.
4792 (C_stab_entry): Add `extends' and `implements' keywords.
e1dbe924 4793 (consider_token, C_entries): Recognize Java structures.
362bc2da 4794
880820fe 47951997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4796
7877f373
JB
4797 * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax.
4798 (Postscript_suffixes): .ps is PostScript.
4799 (lang_names): Add postscript.
362bc2da
DL
4800 (Postscript_functions): New function.
4801 (TEX_decode_env): Close minor memory leak.
4802 (just_read_file): Correct the char number of the tag.
4803
48041997-05-11 Paul Eggert <eggert@twinsun.com>
4805
4806 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
4807 Don't prepend $nl since this causes some shells to generate the
4808 empty string when IFS is $nl.
362bc2da 4809 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 4810 PC-based shells mishandle CR.
362bc2da
DL
4811 (initialize_fullname): Set NIS_PATH to the empty string before invoking
4812 nismatch, in case it's set to some nonstandard value.
1c478461 4813
362bc2da
DL
48141997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4815
4816 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
4817 read in separate blocks.
4818
880820fe 48191997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4820
4821 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
4822 (struct linebuffer): New member `len' is the length of the string.
4823 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
4824 Use it instead of strlen.
4825 (TEX_getit): Declare and define unconditionally as static.
4826 (TeX_functions): Use if instead of #if TeX_named_tokens.
4827 (add_regex): Set RE_INTERVALS flag for regex compilation.
4828 (substitute): Code cleanup.
4829 (readline_internal): Code cleanup, set new member `len'.
4830 (readline): Bug corrected.
4831
48321997-04-23 Geoff Voelker <voelker@cs.washington.edu>
4833
4834 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
4835 (obj): Change references of nt*.c files to w32*.c files.
4836
880820fe 48371997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4838
4839 * etags.c (xnew): Add support for debugging with chkmalloc.
4840 (error): Use this instead of printf whenever possible.
e1dbe924 4841 (main): Only call xnew after having initialized progname.
362bc2da
DL
4842 (substitute): Bad memory corruption error corrected.
4843
880820fe 48441997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4845
4846 * etags.c (add_regex): Undo previous change.
4847 (relative_filename): Small memory leak closed.
4848 (absolute_filename): Cleaned up the code, possibly closing a bug.
4849 (absolute_dirname): Always return a newly allocated string.
1c478461 4850
362bc2da
DL
48511997-03-21 Paul Eggert <eggert@twinsun.com>
4852
4853 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
4854 of the form ,*, or *_; they are probably RCS lock files.
4855 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
4856 they are used by rcsfreeze.
4857
880820fe 48581997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 4859
2f2c687b 4860 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
4861
48621997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4863
4864 * movemail.c (popmail): Remove some unnecessary function
4865 declarations.
4866 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
4867 into pop_retr, there's no reason to pass in mbx_write, and the
4868 file argument can be declared FILE * explicitly. This fixes a
4869 compilation problem on systems with 64-bit pointers.
4870
48711997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4872
4873 * movemail.c: Delete duplicate inclusion of fcntl.h
4874 and duplicate #undefs of open, read, write, close.
4875
48761997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4877
4878 * movemail.c (main): Do not display "[POP-password]" in the usage
4879 message when movemail is compiled without POP support.
4880 (main, popmail): Add the optional "-p" argument, which causes
4881 movemail to leave mail in the inbox after copying it into the
4882 output file.
1c478461 4883
362bc2da
DL
4884 * Makefile.in (movemail): Link with getopt.
4885
48861997-01-20 Paul Eggert <eggert@twinsun.com>
4887
ecc54057 4888 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
4889 (Copyright, Help, Id): New variables, for above.
4890 (rlog): Use -q option with cvs log, to avoid useless chatter.
4891
4892 Treat logs of "Initial revision" (RCS) or "file F was initially added
4893 on branch B." (CVS) as if they said "New file.", for consistency with
4894 change log entries.
4895
48961997-01-01 Paul Eggert <eggert@twinsun.com>
4897
4898 * vcdiff (PATH): Add /usr/xpg4/bin,
4899 where XPG4 SCCS hangs out in Solaris 2.5.
4900 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
4901
49021996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4903
4904 * etags.c (streq, strneq): Use == NULL rather than !.
4905
49061996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
4907
4908 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 4909 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
4910
4911 * movemail.c: Include maillock.h (conditionally).
4912 Remove a redundant inclusion of <stdio.h>.
4913 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
4914 (main): Add variable spool_name.
4915 Support the usage of maillock and mailunlock to
ecc54057 4916 lock and unlock mailboxes.
362bc2da
DL
4917 (mail_spool_name): New function.
4918
4919 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
4920 movemail to exit with an error status incorrectly on systems which
4921 use lock files rather than a system locking function to lock
4922 mailboxes.
362bc2da
DL
4923
49241996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4925
4926 * pop.c (socket_connection): Free realhost after using it.
4927
880820fe 49281996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4929
4930 * etags.c (C_entries): Test tok.valid. This handles some
4931 particular cases involving function declarations that failed.
4932
49331996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 4934
362bc2da
DL
4935 * pop.c (socket_connection):
4936 gethostbyname may return a pointer to static data.
4937 krb_realmofhost can clobber it. So copy it.
4938
880820fe 49391996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4940
4941 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
4942 must cast it to (char *) because we have no prototypes.
4943 (make_C_tag): Macro deleted, new function.
4944 (C_entries): Calls to make_C_tag macro changed to call function.
4945
880820fe 49461996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4947
4948 * etags.c (grow_linebuffer): New function.
4949 (GROW_LINEBUFFER): Macro deleted. All callers changed.
4950 (make_tag): Macro renamed to make_C_tag. All callers changed.
4951 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
4952 (Prolog_functions): prolog_skip_comment was called with wrong
4953 number of arguments.
6088b51f 4954 (xrealloc): fatal was called with wrong number of arguments.
362bc2da 4955
880820fe 49561996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4957
4958 * etags.c (relative_filename): Bug corrected.
4959 (etags_getcwd): Avoid warning of unused variable.
b166dcd8 4960 (C_entries, consider_token): Add support for enum labels.
362bc2da
DL
4961
49621996-11-03 Paul Eggert <eggert@twinsun.com>
4963
4964 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 4965 repository file names.
362bc2da
DL
4966
49671996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
4968
4969 * emacsserver.c: Fix 1996-09-02 change.
4970
49711996-10-12 Paul Eggert <eggert@twinsun.com>
4972
4973 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 4974 option', since CVS says 'invalid option'.
362bc2da
DL
4975 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
4976 revisions, since some hosts reject 1970-01-01 when east of UTC.
4977 (date): Remove.
4978
49791996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4980
4981 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
4982
880820fe 49831996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4984
4985 * etags.c (print_version): Print copyright info.
4986
4987 * etags.c (print_help): Print the bug reporting address.
4988 (main): Use return as the last instruction, instead of exit.
4989
4990 * etags.c (main): Don't open the tags file in cxref mode.
4991
49921996-09-29 Dave Love <d.love@dl.ac.uk>
4993
4994 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 4995 as well as earlier CVSs and RCS.
362bc2da
DL
4996
49971996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
4998
4999 * movemail.c (main): If the lock call fails with EBUSY or
5000 EAGAIN, retry a few times.
5001
50021996-09-25 Paul Eggert <eggert@twinsun.com>
5003
5004 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 5005 whether to append -zLT.
362bc2da
DL
5006
50071996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5008
5009 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
5010 * emacsclient.c, movemail.c: Likewise.
5011
50121996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5013
5014 * emacsclient.c (longopts): Change nowait to no-wait.
5015 (print_help_and_exit): Fix option name; upcase metavars.
5016
50171996-09-06 Erik Naggum <erik@naggum.no>
5018
5019 * emacsserver.c (main): Declare `fromlen' as size_t.
5020
50211996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5022
5023 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
5024
50251996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5026
5027 * emacsclient.c (quote_file_name): Quote with &, not \.
5028 Quote `-' only at start of file name. Terminate the value string.
5029
5030 * emacsserver.c: Include signal.h properly;
5031 delete the duplicate includes for it.
5032
5033 * emacsserver.c: On fatal signal, delete socket-file:
5034 * emacsserver.c: Include signal.h.
ecc54057 5035 (xmalloc, fatal, error): New functions.
362bc2da
DL
5036 (delete_socket, handle_signals): New functions.
5037 (progname, socket_name): New variables.
194d44e7 5038 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
362bc2da
DL
5039
50401996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5041
5042 * emacsclient.c (quote_file_name): New function.
5043 (main, both versions): Use quote_file_name.
5044 (decode_options): Don't return a value.
5045 (main, both versions): Use optind.
5046 Don't check for -nowait here.
1c478461 5047
362bc2da
DL
5048 * emacsclient.c (decode_options): New function.
5049 (main, both versions): Call decode_options.
5050 (print_help_and_exit): New function.
5051 (VERSION): New macro.
5052
5053 * Makefile.in (emacsclient): Link with getopt.
5054 Add -DVERSION so emacsclient knows its version number.
5055
50561996-08-31 Geoff Voelker <voelker@cs.washington.edu>
5057
5058 * makefile.nt (lisp): Include dos-nt.elc.
5059
50601996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5061
5062 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
5063
50641996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5065
5066 * emacsclient.c (both versions): Handle -nowait and --nowait
5067 by sending data to the server.
5068
50691996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5070
5071 * Makefile.in (INSTALL_STRIP): New variable.
5072 (${archlibdir}): Use INSTALL_STRIP.
5073
5074 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
5075 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
5076
5077 * pop.c: Reverse conditional in previous change.
5078
50791996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5080
5081 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
5082
50831996-08-24 Paul Eggert <eggert@twinsun.com>
5084
5085 * rcs2log: Use ISO 8601 date format, with time zone appended
5086 if change-log-time-zone-rule is non-nil, instead of
5087 traditional Unix date format.
5088
5089 (datearg): When computing default from ChangeLog, handle ISO format
5090 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
5091 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 5092 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
5093 "$datearg" option to $rlog.
5094 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
5095 (month_data): Remove `mo'; no longer needed.
10d1d0af 5096 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
5097
5098 Match `revision' line of rlog output more accurately.
5099
5100 Add -c, -v options.
5101
51021996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
5103
5104 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
5105
51061996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5107
5108 * Version 19.33 released.
5109
51101996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5111
5112 * Version 19.32 released.
5113
51141996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
5115
5116 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
5117 computing character positions in source files.
5118
51191996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
5120
5121 * makefile.nt (clean): Use OBJDIR macro.
5122
51231996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5124
5125 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
5126
c60ee5e7 51271996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 5128
ecc54057 5129 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
5130 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
5131 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
5132
51331996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
5134
5135 * ntlib.h: Correct return type of getwd.
5136 * ntlib.c (getwd): Correct return type.
5137
51381996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5139
5140 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
5141 to infile.
5142
51431996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
5144
5145 * makefile.nt: Remove all references to wakeup.
5146
880820fe 51471996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5148
5149 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
5150 explicit, mutable, typename.
5151
51521996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5153
5154 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
5155 streams, one for sending and one for reading the reply.
5156
51571996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5158
5159 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
5160 (wakeup): Target deleted.
5161 (UTILITIES): Delete wakeup and timer.
5162
5163 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
5164
51651996-06-11 Geoff Voelker <voelker@cs.washington.edu>
5166
5167 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
5168 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
5169
51701996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5171
5172 * etags.c (main): Copy cwd when appending slash.
5173
51741996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
5175
5176 * Version 19.31 released.
5177
880820fe 51781996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5179
5180 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
5181 (Pascal_functions): Increase linecharno by the correct number of
5182 chars, inline the GET_NEW_LINE macro and delete its definition.
5183
c60ee5e7 51841996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
5185
5186 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
5187
c60ee5e7 51881996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
5189
5190 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6088b51f 5191 (movemail.exe, fakemail.exe): Now built under Win32.o.
362bc2da
DL
5192
5193 * ntlib.c: Include ntlib.h.
5194 (nt_sleep): Rename to sleep.
5195 (getwd): Return directory.
5196 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
5197 sys_ctime, sys_fopen): New functions.
5198
5199 * ntlib.h: New file.
5200
52011996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5202
b166dcd8 5203 * pop.c (SEND, RECV): Rename from send, recv.
362bc2da
DL
5204 (pop_open, pop_trash): Make the trash_started code unconditional.
5205 (socket_connection): Delete casts to void.
5206
52071996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5208
b166dcd8
KC
5209 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
5210 Definitions copied from lisp.h.
362bc2da
DL
5211
52121996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
5213
5214 * fakemail.c [WINDOWSNT]: Include ntlib.h.
5215
5216 * hexl.c [DOSNT]: Include fcntl.h.
5217 [WINDOWSNT]: Include io.h.
5218 (main) [MSDOS]: Change conditional to DOS_NT.
5219
5220 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
5221 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
5222 [WINDOWSNT]: Include locking.h.
5223 (main): Update usage message. Use IS_DIRECTORY_SEP.
5224 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
5225 (main) [WINDOWSNT]: Invoke locking instead of flock.
5226 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
5227 (main) [MAIL_USE_POP]: Pass password to popmail if used.
5228 Include winsock.h; don't include unix inet headers.
5229 (popmail): Add password argument and pass it to pop_open.
5230 Open output file in binary mode.
5231
5232 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 5233 Macro SOCKET_ERROR undefined.
362bc2da
DL
5234 Don't declare h_errno.
5235 [!WINDOWSNT]: Define macros recv and send.
5236 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
5237 (pop_open) [WINDOWSNT]: Initialize trash_started.
5238 (have_winsock) [WINDOWSNT]: New variable.
5239 (socket_connection) [WINDOWSNT]: Initialize winsock.
5240 (socket_connection): Use closesocket instead of close.
5241 (getline): Use recv instead of read.
5242 (fullwrite): Use send instead of write.
5243 (pop_trash): Use closesocket instead of close.
5244 (pop_trash) [WINDOWSNT]: Cleanup winsock.
5245 Check if being called recursively by sendline.
5246
5247 * pop.h (struct _popserver): New field trash_started.
5248
5249 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
5250
52511996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5252
5253 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
5254
52551996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5256
5257 * etags.c [WINDOWSNT]: Include io.h.
5258
52591996-04-10 Geoff Voelker <voelker@cs.washington.edu>
5260
5261 * makefile.nt (CTAGSOBJ): Compile with regexp support.
5262
52631996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
5264
5265 * hexl.c [DJGPP v2]: Include io.h.
5266 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
5267
5268 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
5269 DJGPP v2.
5270
52711996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5272
5273 * etags.c (absolute_filename): Use absolutefn.
5274
52751996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
5276
5277 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
5278 letter isn't an alphabetic character.
5279 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
5280 (process_file) [DOS_NT]: Convert all slashes to forward style.
5281 (absolute_filename) [DOS_NT]: Emit error message for relative
5282 paths with a drive letter.
5283 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
5284 DOS/NT drive letters which try to reference the parent of the root.
5285 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
5286
52871996-03-27 Geoff Voelker <voelker@cs.washington.edu>
5288
5289 * makefile.nt: Change uses of del to $(DEL).
5290
880820fe 52911996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5292
5293 * etags.c (just_read_file): Reset lineno and charno on entry.
5294
52951996-03-15 Anders Lindgren <andersl@csd.uu.se>
5296
58179cce 5297 * etags.c: Prolog language totally rewritten.
ecc54057 5298 (Prolog_functions): Rewritten from scratch.
362bc2da 5299 (skip_comment, prolog_getit): Removed.
ecc54057
JB
5300 (prolog_skip_comment): New function, like old skip_comment.
5301 (prolog_pred, prolog_atom, prolog_white): New functions.
5302 (erlang_func, erlang_attributes): Forward declarations added.
5303 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 5304
880820fe 53051996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
5306
5307 * etags.c (absolutefn): DOS_NT version corrected.
5308 (main): Append "/" to the dir name only if not already there.
5309 (print_help): Explain the absolute/relative file name issue.
1c478461 5310
362bc2da
DL
53111996-03-08 Anders Lindgren <andersl@csd.uu.se>
5312
10d1d0af
JB
5313 * etags.c: New Language Erlang added.
5314 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
5315 (erlang_white): New functions.
362bc2da
DL
5316 (Erlang_suffixes): New suffix list.
5317 (lang_names): Erlang entry added.
5318 (prolog_getit): Accepts headers spanning several lines.
5319 Always name tags.
b166dcd8 5320 (Prolog_functions): Remove incorrect compensation for
362bc2da
DL
5321 newline characters.
5322 (readline_internal): Zero-terminate last line.
5323
53241996-03-20 Mike Long <mike.long@analog.com>
5325
5326 * b2m.c (main): Initialize progname variable before using it.
5327 Quote `username' in From_ header.
5328
53291996-03-18 Geoff Voelker <voelker@cs.washington.edu>
5330
5331 * ntlib.c (getpid): New function.
5332
53331996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5334
5335 * emacsclient.c (main, both definitions):
5336 Print a newline for normal termination.
5337
53381996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
5339
5340 * tcp.c (main): Convert port to network byte order.
5341
53421996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
5343
5344 * pop.c (pop_retrieve, getline): Avoid type clashes.
5345
53461996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
5347
5348 * etags.c (enum sym_type, anonymous enum): Delete final comma.
5349
53501996-01-15 Paul Eggert <eggert@twinsun.com>
5351
5352 * rcs2log (initialize_fullname): Add support for NIS+.
5353 (hostname): Fully qualify the default hostname with the domainname
5354 if the hostname lacks a `.'.
5355
362bc2da
DL
53561996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
5357
5358 * etags.c (consider_token): Fix typo in expression.
5359
53601996-01-04 Paul Eggert <eggert@twinsun.com>
5361
5362 * etags.c (substitute): Fix spelling in message.
5363
53641996-01-03 George V. Reilly <georger@microcrafts.com>
5365
5366 * makefile.nt (etags, ctags): Compile with regexp support.
5367 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
5368 subdirectory exists before compiling.
1c478461 5369
362bc2da
DL
53701996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
5371
5372 * emacsserver.c (main): Do chmod based on existing permission.
5373
53741995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5375
5376 * Makefile.in (install): Turn on read/execute permission.
5377
53781995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5379
5380 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
5381 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
5382
53831995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5384
b166dcd8 5385 * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
362bc2da 5386
880820fe 53871995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
5388
5389 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
5390 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
5391 get_scheme, prolog_getit): Name the tag in ctags mode.
5392 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
5393 (Perl_interpreters): Accept "@PERL@" as an interpreter.
5394 (suggest_asking_for_help): New function.
5395 (main, get_language_from_name): Use suggest_asking_for_help.
5396 (main): Let get_language_from_name make language existence check.
5397 (streq, strneq): Check the arguments #if DEBUG.
5398
880820fe 53991995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
5400
5401 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
b166dcd8
KC
5402 (gperf): Add keywords for Objective C and GNU macros.
5403 (sym_type): Add values to account for Objective C and GNU macros.
362bc2da
DL
5404 (begtk): The '@' character can start a token.
5405 (objdef, methodlen, objtag): New variables for Objective C.
b166dcd8 5406 (consider_token, C_entries): Add code for Objective C.
362bc2da
DL
5407 (plain_C_suffixes): Add .m and .lm for Objective C.
5408 (Yacc_suffixes): Add .ym for Objective yacc.
5409 (GROW_LINEBUFFER): New macro.
5410 (consider_token, C_entries, Pascal_functions): Use the new macro.
5411 (consider_token): Take one more argument. Caller changed.
5412 (consider_token): Use the hashing function to spot GNU macros.
5413 (C_entries): Consider // as a comment start even in plain C for
5414 the sake of Objective C parsing.
5415
880820fe 54161995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 5417
2f2c687b 5418 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 5419 compile with regexp support enabled.
362bc2da
DL
5420
54211995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5422
5423 * Version 19.30 released.
5424
54251995-11-22 Geoff Voelker <voelker@cs.washington.edu>
5426
5427 * makefile.nt (DOC, clean): Don't use switches to del not
5428 supported by Windows 95.
5429
54301995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5431
5432 * Makefile.in (regex.o): Depend on ../src/config.h.
5433
54341995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5435
5436 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
5437 (LOADLIBES): Use LIB_STANDARD.
5438
54391995-11-07 Kevin Gallo <kgallo@microsoft.com>
5440
5441 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
5442 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
5443 Windows 95 conditional.
5444
880820fe 54451995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5446
b166dcd8
KC
5447 * etags.c (get_lang_from_name, get_lang_from_interpreter)
5448 (get_lang_from_suffix): New functions.
362bc2da
DL
5449 (get_language): Function deleted.
5450 (lang_entry): Two members added to struct.
5451 (lang_names): Reflect the new layout of lang_entry.
5452 (print_language_names, main, find_entries): Use the new functions.
5453 (find_entries): Look at the first line for #! if no language.
5454 (C_entries): Invalidate the token when funcdef is reset.
5455 (Perl_functions): New function.
5456 (lang_suffixes): .pl and .pm are Perl suffixes.
5457
880820fe 54581995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5459
5460 * etags.c (lowcase): Use the standard tolower function.
5461 (substitute): Remove some wrong and some useless code related with
a64387ee 5462 escape '\' character in regexp replacement string.
b166dcd8 5463 (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
362bc2da
DL
5464 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
5465 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
5466 .prolog for prolog (.pl removed).
5467 (massage_name, etags_getcwd): Use lowcase instead of tolower.
b166dcd8 5468 (C_entries, find_entries): Add comments about memory leakage.
362bc2da
DL
5469 (add_node): Dead code removed.
5470
54711995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5472
5473 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
5474 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
5475
54761995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5477
5478 * test-distrib.c: Add #undef for open, close, read, write.
5479
54801995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5481
5482 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
5483 [! O_RDONLY]: Define it to zero.
5484 (main): Use O_RDONLY instead of explicit zero.
5485
880820fe 54861995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5487
5488 * etags.c (Pascal_functions): Close comment bug corrected.
5489 (add_node): Correctly compare node file names.
5490 (Pascal_functions): Correctly allocate and free memory for tline.
5491 (pfnote): Put the definition of fp in the innermost block.
5492 (NODE): `named' member removed.
5493 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 5494 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
5495 (pfnote): `named' argument removed, all callers changed.
5496 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
5497 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 5498 removed from pfnote call, some code cleanup.
362bc2da
DL
5499 (relative_filename): Free temporary space allocated by concat.
5500
55011995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5502
5503 * Makefile.in (getdate.c): New target.
5504 (getdate.o): Just compile getdate.c.
5505
55061995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
5507
5508 * fakemail.c (xrealloc): Change cast to match return type.
5509
55101995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5511
5512 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
5513
55141995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5515
5516 * movemail.c (main): Fix previous change.
5517 Add error check for empty OUTNAME.
5518
55191995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5520
5521 * movemail.c (main): Mention lock file name in error message.
5522
55231995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5524
5525 * profile.c (gettimeofday): New function, defined if necessary.
5526
55271995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5528
5529 * Makefile.in: Renamed from Makefile.in.in.
5530 (distclean): Delete Makefile.c, not Makefile.in.
5531
55321995-07-17 Michael Shields <shields@tembel.org>
5533
5534 * Makefile.in.in (tags): Synonym for `TAGS'.
5535
55361995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5537
5538 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
5539 configure has already set $(INSTALL) to the proper relative path.
5540
362bc2da
DL
55411995-07-08 Paul Eggert <eggert@twinsun.com>
5542
5543 * rcs2log (datearg): Separate date from time with comma, not space,
5544 to work around CVS 1.5 bug.
5545 (CVSROOT): Don't abort when unset if repository is absolute.
5546
55471995-07-07 Paul Eggert <eggert@twinsun.com>
5548
5549 * rcs-checkin, rcs2log, vcdiff:
5550 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
5551 that interpret `#! /' as a 4-byte magic number.
5552
55531995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
5554
5555 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
5556 mailbox with "po:mailbox", the mailbox is everything after the
5557 "po:" prefix.
5558
55591995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5560
5561 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 5562 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
5563
55641995-06-28 Paul Eggert <eggert@twinsun.com>
5565
5566 * rcs2log (CVSROOT, repository):
5567 Allow remote repositories a la CVS 1.4.
5568
880820fe 55691995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5570
2f2c687b
JB
5571 * etags.c (plain_C_entries): New function.
5572 (lowcase): New macro.
5573 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
5574 (lang_suffixes): New suffix ".pc" for Pro*C files.
5575 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
5576 (tail): Look for the end of the token when comparing.
5577 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
5578
55791995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5580
5581 * movemail.c (main): Add newline in usage message.
5582
55831995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5584
5585 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
5586
880820fe 55871995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5588
5589 * etags.c (find_entries): Rewind before rereading the input file.
5590
55911995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5592
5593 * Version 19.29 released.
5594
5595 * make-docfile.c (main) [MSDOS]: Do set _fmode.
5596 This undoes part of the previous change.
5597
55981995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5599
5600 * make-docfile.c (main): On MSDOS, don't change stdout
5601 to binary, and insist on an -o option.
5602
56031995-06-13 Geoff Voelker <voelker@cs.washington.edu>
5604
5605 * etags.c (process_file,absolute_filename): Handle filenames
5606 starting with a drive letter.
5607
5608 * makefile.nt (install): Copy wakeup.exe properly.
5609
56101995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
5611
5612 * make-docfile.c [MSDOS]: #undef chdir.
5613
56141995-06-04 Paul Eggert <eggert@twinsun.com>
5615
5616 * rcs2log (output_authors): Allow ':' in time zone,
5617 as per ISO 8601 and RCS 5.6.8 beta.
5618
880820fe 56191995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5620
5621 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
5622 compatibility problems.
5623
56241995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
5625
5626 * etags.c (etags_getcwd): Don't use #elif.
5627 Have just one function body.
5628
56291995-05-25 Geoff Voelker <voelker@cs.washington.edu>
5630
5631 * makefile.nt (LIBS): Use BASE_LIBS.
5632 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
5633 upon LIBS.
5634 (DOC): Use del instead of rm.
5635 (DOC) [WINDOWS95]: Use DOC.
5636 (clean): Handle MSVC aux files.
5637 (config.h,paths.h): Use $(CP) instead of cp.
5638 (config.h): Use $(CONFIG_H)
5639 (make-docfile.obj): Depend upon config.h.
5640 Clean up comments.
5641
880820fe 56421995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5643
5644 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
5645 former gives the true path even in the presence of simlinks.
5646
56471995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5648
5649 * movemail.c (main): Increase lock timeout to five minutes.
5650
56511995-05-06 Geoff Voelker <voelker@cs.washington.edu>
5652
5653 * makefile.nt (obj): Use .c files.
5654
56551995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5656
5657 * make-docfile.c: Include config.h.
5658 (NO_SHORTNAMES): New definition.
5659 (xmalloc): Return long *.
5660
5661 * etags.c (C_entries): Cast result of xrealloc.
5662 (xmalloc, xrealloc): Declare them to return long *.
5663
5664 * b2m.c (xmalloc, xrealloc): Declare them long *.
5665
5666 * movemail.c (xmalloc): Declare it to return long *.
5667
56681995-04-30 Paul Eggert <eggert@twinsun.com>
5669
5670 * rcs2log (datearg): If rlog options are specified explicitly,
5671 omit the implicit '-d>DATE' option.
5672 (repository, rlog): Allow absolute paths to CVS repositories.
5673 Look only at the first line of CVS/Repository.
5674
56751995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
5676
5677 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
5678 realclean.
5679
56801995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5681
5682 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
5683 Alternative (empty) definitions.
5684
56851995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5686
5687 * emacsclient.c (main): Add argv[0] to an error message.
5688
56891995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
5690
5691 * emacsclient.c (main): Improve error handling.
5692 * cvtmail.c (main, skip_to_lf): Improve error handling.
5693 (sysfail): New function.
5694
5695 * b2m.c (main): Check for trailing ", " before trying to delete it.
5696
56971995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5698
5699 * Makefile.in.in (all): Build test-distrib and make-docfile.
5700
5701 * make-docfile.c (scan_c_file): At end, restore file name last char
5702 to its original value.
5703
57041995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5705
5706 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
5707
57081995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5709
b166dcd8 5710 * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
362bc2da
DL
5711 (alloca.o, regex.o): Use BASE_CFLAGS.
5712
57131995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5714
5715 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
5716
57171995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
5718
5719 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
b166dcd8 5720 (SOURCES, distclean): Remove obsolete references to aixcc.
362bc2da
DL
5721
57221995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5723
5724 * aixcc.lex: File deleted--surely obsolete now.
5725
57261995-03-23 Paul Eggert <eggert@twinsun.com>
5727
5728 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
5729 portability to mawk and nawk.
5730
57311995-03-21 Paul Eggert <eggert@twinsun.com>
5732
5733 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
5734 -u "login<tab>fullname<tab>mailaddr".
5735
57361995-03-21 Paul Eggert <eggert@twinsun.com>
5737
5738 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
5739 replaces the (now obsolescent) -n login fullname mailaddr option.
5740 Add -R option for recursive rlog.
07655e62 5741 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
5742 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
5743 Quote authors and fullnames correctly.
5744 Don't omit path from repository root when logging CVS files.
5745
57461995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5747
5748 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
5749 even if HAVE_SYSVIPC.
5750 * emacsclient.c (main): Use getcwd if not BSD.
5751
880820fe 57521995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5753
2f2c687b 5754 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
5755 (readline_internal): Do not access the char before start of line.
5756
880820fe 57571995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5758
e1dbe924
PE
5759 * etags.c (C_entries): token_saved removed. Initialize tok.valid and
5760 savetok.valid. Mark token as valid when it is initialized.
362bc2da
DL
5761 (make_tag): Make token only if token is valid and reset validity.
5762 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
b166dcd8 5763 (TOKEN): Add a new member: valid.
362bc2da 5764
880820fe 57651995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5766
5767 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
5768 (main): Do not read twice the last filename in the stdin file list.
5769
880820fe 57701995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5771
e1dbe924 5772 * etags.c (C_entries): Initialize the new members of TOKEN.
362bc2da
DL
5773 (C_entries): Do not allocate a new space for each token found by
5774 consider_token. Let make_tag do that instead.
5775 (make_tag): Since now TOKEN has memory of where it is taken from,
5776 this new macro substitutes both make_tag_from_new_lb and
5777 make_tag_from_oth_lb. All callers changed.
5778 (TOKEN): Add linepos and buffer members.
e1dbe924
PE
5779 (main): Initialize token_str.
5780 (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes.
362bc2da
DL
5781 (token_str): New global variable used by C_entries.
5782
57831995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
5784
b166dcd8 5785 * Makefile.in.in (maintainer-clean): Rename from realclean.
362bc2da 5786
880820fe 57871995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5788
e1dbe924 5789 * etags.c (pfnote): Initialize been_warned in the node.
b166dcd8 5790 (C_entries): Remove a speed hack for the sake of clarity.
362bc2da 5791
880820fe 57921995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5793
5794 * etags.c (longopts, print_help, main): Use -I as abbreviation
5795 for the --ignore-indentation option.
5796 (main): Do not print an error message for unknown options.
5797
880820fe 57981995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5799
5800 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
194d44e7
JB
5801 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
5802 (constantypedefs, update, vgrind_style, no_warnings)
5803 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
362bc2da
DL
5804 (permit_duplicates): Was a var, now a #define.
5805 (filename_lb): Was global, now local to main.
5806 (main): Open the tag file when in cxref mode.
5807 Use a BUFSIZ size buffer for making the shell commands.
5808 Look at the return value from the system routine.
5809 Exit when cannot open the tag file.
5810 (process_file): Open the file and pass the FILE* to find_entries.
5811 (find_entries): Now void, because does not open the file itself.
5812 (pfnote): Recovering from lack of memory does not work. Removed.
5813 Use savenstr and simplify the code.
5814 (free_tree): Only free the name space if node is named.
5815 (structtag): Now a pointer, not a fixed length array of chars.
5816 (consider_token): Don't take a token as argument. Use savenstr
5817 when saving a tag in structtag. Callers changed.
5818 (TOKEN): Structure changed. Now used only in C_entries.
5819 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
5820 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
5821 (pfcnt): Deleted. Users updated.
194d44e7
JB
5822 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
5823 (TEX_getit, prolog_getit): Use dinamic allocation for storing
362bc2da
DL
5824 the tag instead of a fixed size buffer.
5825
58261995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5827
5828 * movemail.c (main): Skip past the colon in inname.
5829
880820fe 58301995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5831
5832 * etags.c (pfatal): New function.
5833 (main, etags_getcwd): Use pfatal.
5834 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
5835
880820fe 58361995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5837
5838 * etags.c (Lang_function): Use void instead to declare the
5839 language functions, because many compilers are buggy.
5840 (etags_getcwd): Fix the previous fix on the #else branch.
5841 (readline_internal): Discard possible \r before \n here.
5842 (C_entries): Do not deal with \r here: undo previous fix.
5843
880820fe 58441995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
5845
5846 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
5847 functions and a macro that allow the program to work on input
5848 lines of whatever length. Copied from etags.c.
5849 (fatal): Print a fatal error message and exit.
5850 (main): Use the new functions. Fixed a bug that made a \037 char
5851 appear at the end of the output.
5852
58531995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5854
5855 * etags.c (C_entries): Ignore carriage return at end of line.
5856
58571994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5858
5859 * fakemail.c (xmalloc, xrealloc): Add casts.
5860 (add_field): Handle <...> and "..." syntax.
5861 (setup_files, get_keyword): Clean up parens and line breaks.
5862 (args_size): Likewise.
5863
58641994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
5865
5866 * yow.c: Include program name in error messages.
5867
58681994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5869
5870 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
5871 (xmalloc, fatal, error): New functions.
5872 (progname): New variable.
5873 (main): Set progname.
5874
58751994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5876
5877 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
5878 (main): If socket/mqueue name is in home dir, add in the host name.
5879 Rename .emacs_server to .emacs-server....
5880
58811994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5882
5883 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
5884
880820fe 58851994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5886
2f2c687b
JB
5887 * etags.c (print_help): Print --regex usage for ctags also.
5888 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 5889
880820fe 58901994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5891
5892 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
5893 is compiled if this is defined. The new functions and variables
5894 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
5895 [VMS]: All VMS specific code previously contained in
5896 etags-vmslib.c is now included here, modified for dealing with
5897 language and regex options intermixed with filenames.
5898 (header_file): Global variable deleted.
5899 (Lang_Function): New typedef. All language parser functions
5900 changed to this new type.
5901 (string_numeric_p, substr, prestr): Functions deleted.
5902 (readline_internal): Does the job that readline did previously.
5903 (longopts): --language and --regex options added.
5904 (lang_names, lang_extensions, lang_func, print_language_names):
5905 New structures, variables and functions for choosing languages.
5906 (print_help): Help strings updated. Calls print_language_names.
5907 (argument_type, ARGUMENT): Typedefs for dealing with language and
5908 regex options intermixed with filenames.
b166dcd8 5909 (main): Change the way of dealing with arguments on the command
362bc2da
DL
5910 line to deal with language and regex options intermixed with
5911 filenames.
5912 (get_language, default_C_entries, Cplusplus_entries,
5913 Cstar_entries, Yacc_entries, just_read_file): New functions.
5914 (find_entries): Use the new method for choosing the language.
5915 (Pascal_functions): Allow intermixing of comment styles.
5916 (prolog_getit, skip_comment): Rewritten for speed.
5917 (readline): Rewritten to deal with regexps.
5918
880820fe 59191994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5920
5921 * etags.c (<errno.h>): #include added.
5922 (etags_getcwd): Check return value from getcwd.
5923
59241994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5925
5926 * profile.c (TV1, TV2): Use EMACS_TIME as type.
5927 (get_time): Use EMACS_SUB_TIME.
5928
d57727c9 59291994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
5930
5931 * ntlib.c: New file.
5932 * makefile.nt: New file.
5933
5934 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
5935 [WINDOWSNT]: Include the NT headers.
5936 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
5937
5938 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
5939 [WINDOWSNT]: Include some NT headers.
5940
59411994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
5942
5943 * pop.c (getline): When a search of already-read input for CRLF
5944 fails, store the fact that we've searched it and don't search it
5945 again after reading more data.
5946
5947 * pop.c (getline): When determining whether or not it's necessary
5948 to grow the input buffer, take into account the null that's stored
5949 at the end of already-read input in the buffer.
5950
880820fe 59511994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5952
2f2c687b 5953 * etags.c (prestr, substr): Return a logical type.
362bc2da 5954 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 5955 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
5956 (C_entries): Now we can use Tom Hageman patch for extern "C".
5957
59581994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5959
5960 * movemail.c: PopServer renamed to popserver throughout.
5961
59621994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5963
5964 * etags.c: Don't declare malloc, since we include config.h.
5965 * fakemail.c: Likewise.
5966
59671994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5968
5969 * movemail.c: Don't declare malloc.
5970
59711994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
5972
5973 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 5974 avoid syntax error.
362bc2da
DL
5975
59761994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
5977
5978 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
5979 defined, and if HAVE_CONFIG_H isn't defined, define
5980 MAIL_USE_POP always (so that this file can be included in
5981 other programs besides emacs).
5982
5983 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
5984 HAVE_CONFIG_H isn't defined.
5985
5986 * pop.c (find_crlf, getline): Instead of using strstr, use a
5987 custom function for finding CRLF.
5988 (my_strstr): Function deleted.
5989
59901994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
5991
5992 * pop.c (getline): Fix a segfault because of passing a
5993 non-null-terminated string into strstr(). Fix from
5994 djm@va.pubnix.com (David J. MacKenzie).
5995
5996 * pop.c: Don't include <string.h> and <strings.h>.
5997
b166dcd8
KC
5998 * pop.c: Include <des.h> before <krb.h>, rather than after.
5999 They should be interchangeable, and indeed the inclusion is done in
362bc2da
DL
6000 both orders in various files in the Kerberos 4 library sources,
6001 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
6002 requires that <des.h> be included first, and I don't see any harm
6003 in changing the order.
6004
6005 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
6006 STDC_HEADERS, if they're defined. Undef open, read, write and
6007 close after including it.
6008
60091994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6010
6011 * pop.c: Fix mismatch in conditionals.
6012
6013 * make-docfile.c (main): Don't process one input file twice.
6014 Never use exit code > 1.
6015
6016 * pop.c (open, close, read, write): Add #undefs.
6017
6018 * pop.c: Don't declare malloc, realloc, free.
6019 Include ../src/config.h.
6020 Don't include string.h or strings.h.
6021 Include des.h before krb.h.
6022 Do declare my_strstr.
6023 (getline): Really use my_strstr.
6024 Leave one empty place in server->buffer,
6025 and put a null at the end of the data in it.
6026
60271994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6028
b166dcd8
KC
6029 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
6030 Don't call kill with pid 0. Handle EINTR when receiving messages.
362bc2da
DL
6031
60321994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
6033
6034 * Makefile.in.in (regex.o): Use full path to find regex.c.
6035
880820fe 60361994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6037
2f2c687b
JB
6038 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
6039 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
6040
60411994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
6042
6043 * Makefile.in.in (DONT_INSTALL): Remove make-path.
6044 (${archlibdir}): Use mkinstalldirs instead.
6045
6046 * movemail.c: Make functions that return nothing void, not
6047 implicitly int.
6048 (main): Improve usage message.
6049 (error): Write to stderr, not stdout.
6050
e43b1141
GM
6051 * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
6052 * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
6053 * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
6054 warnings from unused variables and implicitly declared functions.
362bc2da
DL
6055
60561994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6057
6058 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
6059 (distclean): Not here.
6060
b166dcd8 6061 * Makefile.in.in (libexecdir): Rename from libdir.
362bc2da 6062
880820fe 60631994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6064
6065 * etags.c (C_entries): Name the #define's that are macros.
6066
60671994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6068
6069 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
6070 fd_set arg is a pointer, descriptor arg comes first.
6071
880820fe 60721994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6073
e1dbe924
PE
6074 * etags.c (C_entries): Recognize typedef of ANSI style functions.
6075 (C_entries): Recognize #define inside a struct.
362bc2da
DL
6076 (C_entries): ANSI tells that preprocessor commands do not have to
6077 start on the first column.
6078 (print_help): Documentation corrected for -d and -D.
6079 (white, endtk): ANSI tells the vertical tab is a separator.
6080
60811994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
6082
6083 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
6084 (pop.o, movemail.o): New targets.
6085 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
6086
6087 * pop.c, pop.h: New files.
6088
6089 * movemail.c: Improve POP code, move most of it into a separate file.
6090 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
6091 (mbx_write): Check for errors and for From line.
6092 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
6093 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
6094 (pop_init): Functions deleted.
6095
60961994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
6097
6098 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
6099 Rename path to dirname.
6100
61011994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6102
6103 * Makefile.in.in (UTILITIES):
6104 Remove test-distrib, make-docfile, make-path.
6105 (DONT_INSTALL): New variable--list those files here.
6106 (clean): Delete the files in DONT_INSTALL.
6107
61081994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6109
6110 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
6111 (main): Use fgets, not gets.
6112
61131994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6114
6115 * timer.c: Don't declare malloc.
6116
61171994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
6118
6119 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
6120 defined, use simple 32-bit versions of these macros.
6121 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
6122
c60ee5e7 61231994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
6124
6125 * etags.c (etags_getcwd): Use getcwd if available.
6126
61271994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6128
6129 * Version 19.27 released.
6130
61311994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6132
6133 * Version 19.26 released.
6134
61351994-08-15 Paul Eggert <eggert@twinsun.com>
6136
6137 * rcs2log: Add support for CVS.
6138 Work with `rlog's that output ISO 8601 dates.
6139
61401994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
6141
6142 * rcs2log: Use <> to delimit email address.
6143
61441994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6145
6146 * emacsserver.c [SYSV_IPC] (main): Make a separate process
6147 so we can listen for multiple requests.
6148
61491994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6150
6151 * movemail.c: Include config.h first thing.
6152
61531994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6154
6155 * emacsserver.c (main): Add casts to avoid warnings.
6156
61571994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6158
6159 * Makefile.in.in (${archlibdir}): Compare the proper dir
6160 before installing the scripts.
6161
61621994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6163
6164 * emacsclient.c (main): New local var progname saves argv[0].
6165
61661994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6167
6168 * emacsclient.c (main): Don't actually modify argv[0].
6169 Modify a copy instead.
6170
61711994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6172
6173 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
6174 (tzp): Var deleted.
6175
6176 * Makefile.in.in: Add #undef alloca.
6177
61781994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6179
6180 * timer.c (xmalloc): New function.
6181
61821994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6183
6184 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
6185 (alloca.o): New target.
6186
61871994-07-08 Dave Love (d.love@dl.ac.uk)
6188
e1dbe924 6189 * etags.c (takeprec): Recognize `character*(*) function'.
362bc2da 6190
880820fe 61911994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6192
ecc54057
JB
6193 * etags.c (main): Don't barf on obsolete -t and -T switches.
6194 (main): Print an explicative message when a switch is not known.
362bc2da
DL
6195
61961994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6197
6198 * hexl.c: Don't declare exit or perror.
6199
6200 * emacsserver.c (main): Don't declare geteuid.
6201 Don't declare getenv if convex.
6202
62031994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6204
6205 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
6206
880820fe 62071994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6208
6209 * etags.c (absolute_filename): Remove infinite loop bug when
6210 accessing files in directories whose name begins with a dot.
6211
880820fe 62121994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6213
6214 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
6215
62161994-06-01 Morten Welinder (terra@diku.dk)
6217
6218 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
6219 location of data directory.
6220
62211994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6222
6223 * Version 19.25 released.
6224
62251994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6226
6227 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
6228
62291994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6230
6231 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
6232
62331994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6234
6235 * Version 19.24 released.
6236
62371994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6238
6239 * make-docfile.c (write_c_args): Put `default' in upper case.
6240
62411994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6242
6243 * etags.c (etags_getcwd): Cast result of popen.
6244 (popen): Declaration deleted.
6245
62461994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
6247
6248 * etags.c [!MSDOS]: Declare popen.
6249
62501994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6251
6252 * b2m.c (main): Avoid crash if argc is 1.
6253
62541994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6255
6256 * Version 19.23 released.
6257
6258 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
6259
62601994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6261
6262 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
6263
62641994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6265
6266 * Makefile.in.in: Fix out of date comment.
6267
62681994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6269
6270 * Makefile.in.in: Put in a separator for where to start cpp procssing.
6271 Move all autoconf substitutions above that point.
6272 Above that point, use Make-style comments.
6273 This goes with changes in ../configure.in.
6274
62751994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6276
6277 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
6278 warning message.
6279 (${archlibdir}): Don't do it here. Don't depend on blessmail.
6280
62811994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
6282
6283 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
6284
62851994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6286
6287 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
6288 print advice to run it, if it has anything significant to do.
6289 And only if MOVEMAIL_NEEDS_BLESSING.
6290 (blessmail): Use emacs, not temacs.
b166dcd8 6291 (configuration): Rename from configname.
362bc2da
DL
6292
62931994-04-30 Morten Welinder (terra@diku.dk)
6294
6295 * etags.c (find_entries): Treat `*.cpp' as C++ files.
6296
62971994-04-30 Morten Welinder (terra@diku.dk)
6298
6299 * etags.c [MSDOS]: #include <sys/param.h> for the following.
6300 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
6301 a shell.
6302
63031994-04-29 Morten Welinder (terra@diku.dk)
6304
6305 * hexl.c [MSDOS]: Don't define proto type for exit.
6306
63071994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6308
6309 * b2m.c: Don't include string.h or strings.h.
6310
63111994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
6312
6313 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
6314 symbols, not make variables.
6315
63161994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6317
6318 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
6319 * etags.c (print_version): Print VERSION as a string.
6320
63211994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6322
6323 * fakemail.c (readline): Fix updating of p when buffer grows.
6324
63251994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
6326
6327 * Makefile.in.in (blessmail): New target.
6328 ${archlibdir}: Use blessmail when installing movemail.
6329
63301994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6331
6332 * fakemail.c (readline): When extending the buffer,
6333 calculate end afresh using the new size.
6334
880820fe 63351994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6336
2f2c687b 6337 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 6338
880820fe 63391994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6340
2f2c687b 6341 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
6342
63431994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6344
6345 * Makefile.in.in: Renamed from Makefile.in.
6346 Makefile.in is now generated from it, and then preprocessed.
6347 Change comments to C syntax.
6348 Include config.h.
6349 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
6350 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
6351
63521994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6353
6354 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
6355
880820fe 63561994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
6357
6358 * etags.c (etags_getcwd): Initialize bufsize.
6359
63601994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6361
6362 * profile.c (gettimeofday): If system doesn't have this, define it
6363 to give a fatal error.
6364
63651994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
6366
6367 * movemail.c (main): Use setuid, not seteuid.
6368
63691994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6370
6371 * etags.c: #undef static.
6372
880820fe 63731994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6374
b166dcd8 6375 * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
2f2c687b 6376 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
b166dcd8 6377 (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
362bc2da
DL
6378 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
6379 TeX_functions, Prolog_functions.
2f2c687b
JB
6380 (inf): No more a global variable.
6381 (C_entries): Take 2nd parameter `inf' instead of using the global one.
e1dbe924 6382 (find_entries): Add the cp1 var for optimization.
b166dcd8 6383 (find_entries): Add more suffixes for assembler files.
362bc2da
DL
6384 (Asm_funcs): Now finds labels even without an ending colon.
6385
880820fe 63861994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 6387
2f2c687b
JB
6388 * etags.c (main): Use etags_getcwd for compatibility.
6389 (etags_getcwd): New function.
362bc2da
DL
6390
63911994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6392
6393 * Makefile.in (etags, ctags): Pass -D for VERSION.
6394
880820fe 63951994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6396
2f2c687b
JB
6397 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
6398 (main): Don't allow the use of -t and -T in etags mode.
6399 (print_help): Don't show options enabled by default.
6400 (print_version): Show the emacs version number if VERSION is #defined.
6401 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 6402
880820fe 64031994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6404
2f2c687b 6405 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
6406 (relative_filename, absolute_filename, absolute_dirname):
6407 functions added to compute filenames in tags files.
2f2c687b 6408 (process_file): Filenames in tags file are relative to the
362bc2da 6409 directory where the tags file is (useful with the -o option).
e1dbe924 6410 (main): Initialize the outfiledir var.
b166dcd8 6411 (TYPEDST): Add the `tignore' value.
2f2c687b 6412 (C_entries): Corrected various small bugs.
362bc2da
DL
6413
64141994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6415
6416 * Makefile.in (UTILITIES): `env' deleted.
6417 (env): Target deleted.
6418 * env.c: File deleted.
1c478461 6419
362bc2da
DL
64201994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6421
6422 * Makefile.in (install, ${archlibdir}): Switch back to ..
6423 before running INSTALL_PROGRAM.
6424
880820fe 64251994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6426
b166dcd8 6427 * etags.c (TYPEDST): Add the `tignore' value.
2f2c687b 6428 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
6429 `extern "C" {' construction (patch by Tom R.Hageman).
6430
64311994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6432
6433 * b2m.c: Use <...> to include config.h.
6434 Don't include stdlib.h.
6435
177c0ea7 64361994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
6437
6438 * b2m.c (main): Change delimiter from "^L" to "^_^L".
6439 Allow for text following "BABYL OPTIONS:".
6440 Add --help option. Use argv[0] in error messages.
6441
64421994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6443
6444 * emacsclient.c (main) [HAVE_SYSVIPC]:
6445 Make msgp->mtext longer if necessary.
6446 On HPUX, error if it's more than 512 chars.
6447
64481994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
6449
6450 * etags-vmslib.c: Use GPL.
6451 * emacstool.c: Use GPL.
6452 * fakemail.c: Update GPL.
6453
6454 * make-path.c (main): Return 1 on error, not -1.
6455 Update GPL.
6456
6457 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
6458 (xmalloc, xrealloc): Return char *, not int.
6459 (error): Write to stderr, not stdout.
6460 Update GPL.
6461
64621994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
6463
6464 * profile.c (main, get_time): Don't crash on invalid input.
6465
64661994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
6467
6468 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 6469 (main): Exit on EOF.
362bc2da 6470
880820fe 64711994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6472
a64387ee 6473 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
6474
64751994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6476
6477 * fakemail.c (put_line): Don't break the line if it all fits.
6478
880820fe 64791994-02-14 Francesco Potortì (pot@fly)
362bc2da 6480
b166dcd8 6481 * etags.c (absolute_pathnames, cwd): Add global vars.
2f2c687b 6482 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 6483 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 6484 (print_help): Alphabetically order the options.
2f2c687b 6485 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
6486
64871994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6488
6489 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
6490 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
6491
64921994-02-07 Christian Lynbech (lynbech@avignon)
6493
6494 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
6495
64961994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6497
6498 * Makefile.in (UTILITIES): Mention profile.
6499 (profile): New target.
6500
6501 * profile.c: New file.
6502
65031994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 6504
88c71720 6505 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 6506 Lisp docstrings do.
88c71720 6507 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
6508 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
6509 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
6510
880820fe 65111994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6512
6513 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 6514 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 6515 Use gperf generated hash table instead of linked list.
2f2c687b 6516 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 6517 Mostly code generated by gperf.
b166dcd8 6518 (consider_token): Remove unused parameter `lp'.
2f2c687b 6519 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 6520 to span multiple lines.
2f2c687b
JB
6521 (C_entries): Check for newline if inchar to avoid bus errors.
6522 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
6523 and not regular file.
6524
65251994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6526
6527 * timer.c: Include errno.h; don't include fasync.h.
6528 (schedule): Don't return a value.
6529 (sigcatch): Reestablish the handler first.
6530 (getevent): Always call notify at the end.
6531 (notify): Defer alarms around the whole body of function.
6532
65331994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6534
6535 * timer.c (main): Don't request SIGIO, and don't handle it.
6536 Loop calling getevent.
6537 (sigcatch): Delete code to handle SIGIO.
6538 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 6539 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
6540 Set defer_alarms around realloc and schedule.
6541 If alarm_deferred gets set, call notify.
6542 Likewise if this event is the only pending event.
6543 Make buf and buf_size global variables.
6544 Don't malloc buf if it is already non-zero.
6545 (schedule): Just exit if run out of memory.
6546 Return the number of events.
6547 (signal) [_CX_UX]: Add #undef.
6548
65491994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6550
6551 * timer.c [USG] (SIGIO): Define as SIGPOLL.
6552 (main) [USG]: Do ioctl to enable SIGPOLL.
6553
65541994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6555
6556 * timer.c: Don't declare sys_errlist; declare strerror instead.
6557 (schedule, main): Call strerror instead of using sys_errlist.
6558 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
6559 Call strerror instead of using sys_errlist.
6560 * env.c (main): Call strerror instead of using sys_errlist.
6561 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
6562 (main): Call strerror instead of using sys_errlist.
6563 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
6564 * env.c [! HAVE_STRERROR] (strerror): Likewise.
6565 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
6566 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
6567
65681994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6569
6570 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
6571
6572 * movemail.c (malloc): Don't declare it.
6573 (xmalloc): Cast result of malloc.
6574 (strcpy): Don't declare it.
6575
65761993-11-14 Morten Welinder (terra@diku.dk)
6577
6578 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
6579 (main): Use fclose to close file opened by fopen.
6580
6581 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
6582
6583 * movemail.c [MSDOS]: #undef `access'.
6584
6585 * b2m.c (main) [MSDOS]: Open all files as binary.
6586 * etags.c (main) [MSDOS]: Open all files as binary.
6587
6588 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
6589 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
6590 with.
6591
65921994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6593
6594 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
6595 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
6596 (LINK_CFLAGS): New variable.
6597 (timer): Use LINK_CFLAGS.
6598
65991993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6600
6601 * movemail.c: Include syswait.h.
6602 Fork a subprocess and use it to copy the mail file.
6603
66041993-12-07 Richard Stallman (rms@srarc2)
6605
6606 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
6607
66081993-12-04 Richard Stallman (rms@srarc2)
6609
6610 * movemail.c (main): When making tempname, cast result of xmalloc.
6611 Include room for EXXXXXX in the size.
6612 Don't use result of strcpy.
6613
66141993-12-03 Paul Eggert (eggert@twinsun.com)
6615
6616 * vcdiff: Add --brief option.
6617
66181993-12-02 Richard Stallman (rms@srarc2)
6619
6620 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
6621 for all executables and scripts.
6622
66231993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6624
6625 * Version 19.22 released.
6626
66271993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6628
6629 * Makefile.in (mostlyclean): Make it distinct from clean.
6630
66311993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6632
6633 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
6634
66351993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6636
6637 * Version 19.21 released.
6638
6639 * Makefile.in (install): Don't change mode or group when installing.
6640
6641 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
6642
66431993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6644
6645 * make-docfile.c (read_c_string): For "", concatenate the two strings.
6646
6647 * movemail.c (main): Fix error message text.
6648
66491993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6650
6651 * Version 19.20 released.
6652
177c0ea7 66531993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 6654
ecc54057 6655 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
6656 functions returning a pointer to a function, a la `signal', can be
6657 parsed. This also required new state `fstartlist' to `FUNCST'.
6658 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 6659 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 6660 from the other state engines.
2f2c687b 6661 (begtk): Add '~', for C++ class destructors.
362bc2da 6662
880820fe 66631993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6664
b166dcd8 6665 * etags.c (consider_token): Remove unused variable firsttok.
2f2c687b 6666 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
6667
66681993-10-19 Paul Eggert (eggert@twinsun.com)
6669
6670 * rcs2log (printlogline): Don't generate lines containing only
6671 white space.
6672
66731993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6674
6675 * Makefile.in (${archlibdir}):
6676 Install ${SCRIPTS} from ${srcdir}, not cwd.
6677
66781993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6679
6680 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
6681 the comment character.
6682
880820fe 66831993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6684
2f2c687b 6685 * etags.c (process_file): Dead code removed.
362bc2da 6686 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 6687 (process_file): Regular files have nothing to do with symlinks.
362bc2da 6688
f0131492 66891993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
6690
6691 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
6692 from current directory. Only chmod and chgrp files that we
6693 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
6694 ${bindir}.
b166dcd8 6695 (INSTALLFLAGS): Delete definition, since it is an unused variable
362bc2da
DL
6696 now.
6697
f0131492 66981993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 6699
b166dcd8
KC
6700 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
6701 Let configure figure out the correct values for these variables.
362bc2da 6702
f0131492 67031993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 6704
10d1d0af 6705 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
6706 used by emacs; don't install bindir binaries here.
6707
67081993-09-24 Paul Eggert (eggert@twinsun.com)
6709
6710 * rcs2log: Add -h, -n, -r options.
6711 By default, look for *,v files as well as RCS/*,v files.
6712 Use $TMPDIR (default /tmp) instead of /tmp.
6713
880820fe 67141993-09-20 Francesco Potortì (pot@fly)
362bc2da 6715
e1dbe924 6716 * etags.c (C_entries): is_func is initialized here instead of in
362bc2da
DL
6717 consider_token for the sake of the yacc rules section.
6718 (C_entries): Now class, struct, enum, union and typedef produce
6719 named tags.
6720
67211993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
6722
6723 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
6724
67251993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6726
88c71720
KS
6727 * Makefile.in: Support configuring in a different directory when
6728 ${srcdir} has already been configured.
6729 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
6730 -I${srcdir}/../src.
362bc2da
DL
6731 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
6732 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
6733 is already in CPP_FLAGS.
6734 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
6735 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
6736
67371993-08-25 Paul Eggert (eggert@twinsun.com)
6738
75f1671a 6739 * rcs2log: Change /{/ to /\{/ for POSIX ERE compatibility;
362bc2da
DL
6740 otherwise, HP awk complains.
6741
6742 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
6743 are common hangouts for SCCS commands.
6744
67451993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6746
6747 * Version 19.19 released.
6748
67491993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6750
6751 * Makefile.in (make-path): Dep on config.h.
6752
67531993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6754
6755 * b2m.c (TRUE, FALSE): Don't define if already defined.
6756
67571993-08-09 Paul Eggert (eggert@twinsun.com)
6758
6759 * rcs2log (awkscript):
6760 Some sites put comma-separated junk after the fullname.
6761 Remove it, but leave "Bill Gates, Jr" alone.
6762 Remove the junk from fullnames like "0000-Admin(0000)".
6763
67641993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6765
6766 * Version 19.18 released.
6767
880820fe 67681993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 6769
e1dbe924 6770 * etags.c (L_isdef, L_isquote, L_getit): Small optimizations.
2f2c687b
JB
6771 (L_funcs): The (foo::defmumble stuff now should work.
6772 (consider_token): Function returned random value--corrected.
6773 (C_entries): Corrected == versus = typo.
362bc2da
DL
6774
67751993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6776
6777 * etags.c (put_entries): For NODE->rewritten, put pattern before
6778 \177 and name after, not vice versa.
6779
67801993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6781
6782 * timer.c (main): Generate a SIGIO as soon as we've initialized.
6783
880820fe 67841993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6785
b166dcd8 6786 * etags.c (FINCST): Add the fignore status. Means we are
362bc2da
DL
6787 after the parameter list and before the open curly brace.
6788 Allows correct parsing of C++ constructors.
2f2c687b
JB
6789 (C_entries, consider_token): Make use of fignore.
6790 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 6791 ctags mode makes DEFVAR and others work better.
e1dbe924 6792 (L_isquote): Function that recognizes the "(quote" string.
2f2c687b 6793 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
6794
67951993-07-29 Paul Eggert (eggert@twinsun.com)
6796
6797 * rcs-checkin: Don't check whether a file is readable until we have
6798 decided not to ignore it.
6799
68001993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6801
6802 * Makefile.in (etags): Depend on ../src/config.h.
6803
6804 * emacsserver.c: Include types.h before file.h.
6805
68061993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6807
6808 * Makefile.in (install): Use .n, not .new, for temporary filenames.
6809
68101993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6811
ecc54057 6812 * Version 19.17 released.
362bc2da
DL
6813
68141993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6815
6816 * etags.c (print_help): Break up the very long strings containing
6817 the help message into shorter strings, to placate chintzy C
6818 compilers which can't handle strings that long.
6819
6820 * wakeup.c: Use CPP tangle from autoconf manual to #include the
6821 correct combination of <time.h> and <sys/time.h>.
6822
880820fe 68231993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6824
b166dcd8 6825 * etags.c (alloca): Remove all references to it.
2f2c687b
JB
6826 (main): Now calls xnew instead of alloca for portability.
6827 (../src/config.h): Included only if HAVE_CONFIG_H.
6828 (const): Void definition removed--config.h takes care of it.
362bc2da 6829
880820fe 68301993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6831
2f2c687b 6832 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
6833 (consider_token): DEFUNs now treated like funcs in ctags mode.
6834
2f2c687b
JB
6835 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
6836 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
b166dcd8 6837 (C_entries): Remove a piece of useless code.
2f2c687b 6838 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
6839 is met. This handles "typedef int X, Y, Z;" correctly.
6840
68411993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6842
6843 * Version 19.16 released.
6844
6845 * b2m.c: #include <sys/types.h>.
6846 (ltoday): Declare this to be time_t.
6847
68481993-06-30 Paul Eggert (eggert@twinsun.com)
6849
6850 * vcdiff: Add -q option.
6851
68521993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6853
6854 * etags.c: #include "config.h" and the alloca CPP tangle before
6855 #including the system headers and getopt.h. AIX requires the
6856 #pragma to come before any actual C code.
6857
68581993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6859
6860 * Makefile.in (ctags): Depend on etags, so that parallel makes
6861 don't write etags.o files on top of each other.
6862
68631993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6864
6865 * version 19.15 released.
6866
68671993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6868
6869 * etags.c (add_node): Move var last_node to file scope.
6870
68711993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6872
6873 * Version 19.14 released.
6874
68751993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6876
ecc54057 6877 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
6878 * Makefile.in (distclean): Call clean to do most of the work.
6879 Delete aixcc.c and TAGS.
6880 (realclean): Just call distclean.
1c478461 6881
362bc2da
DL
6882 * Makefile.in: Remember, spaces are not tabs.
6883
68841993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6885
6886 * Makefile.in (CPP_CFLAGS): New variable.
6887 Use it instead of ALL_CFLAGS when compiling a .c file.
6888 (getopt.o, getopt1.o): Add explicit compilation commands.
6889
68901993-06-10 Mark D. Baushke (mdb@cisco.com)
6891
6892 * etags.c: Reinstate old -f option as an alias for -o for
6893 installed base uses.
6894
68951993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6896
6897 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
6898 to bind or accept, cast the pointer, to avoid warnings on systems
6899 which declare prototypes for this.
6900 * emacsclient.c (main): Same.
6901
6902 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
6903
69041993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6905
6906 * Version 19.13 released.
6907
6908 * wakeup.c: Include sys/types.h, too; I think that's where time_t
6909 comes from, not sys/time.h.
6910
69111993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6912
6913 * wakeup.c: Include sys/time.h.
6914
6915 * etags.c: #undef static.
6916
6917 * Version 19.12 released.
6918
6919 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
6920
69211993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6922
6923 * Version 19.11 released.
6924
6925 * timer.c [LINUX]: #undef signal.
6926 * emacsserver.c: #undef signal.
6927
69281993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6929
6930 * wakeup.c (main): Make when a time_t.
6931
69321993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6933
ecc54057 6934 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 6935 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
6936 might fail, and have pwd print out the current directory.
6937
6938 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
6939 string-handling functions.
6940
69411993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6942
6943 * Version 19.10 released.
6944
69451993-05-29 Paul Eggert (eggert@twinsun.com)
6946
6947 * rcs2log: When given no file arguments, inspect RCS/.* as well
6948 as RCS/*. Don't report an error if RCS is empty or nonexistent.
6949
69501993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6951
6952 * Makefile.in (timer): Link with $(LOADLIBES).
6953
69541993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6955
6956 * fakemail.c (put_line): Don't output \n\t unless more text follows.
6957
69581993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6959
6960 * etags.c: Replace the CPP tangle for alloca with the one from the
6961 autoconf documentation, since that's working elsewhere.
6962
69631993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6964
6965 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
6966 description files can find their ancestors.
6967
69681993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6969
6970 * Makefile.in (install): Get the scripts from ${srcdir},
6971 unlike the executables.
6088b51f 6972 (ALL_CFLAGS): Add -I../src.
362bc2da
DL
6973
69741993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6975
6976 * Version 19.9 released.
6977
69781993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6979
6980 * Makefile.in (install): Do install the programs listed in
6981 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
6982 INSTALLABLE_SCRIPTS, instead of writing the programs out.
6983
6984 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
6985 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
6986
69871993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6988
6989 * etags.c: Include ../src/config.h.
6990
6991 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
6992 in first loop. Delete files from bindir before installing new ones.
6993 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
6994
69951993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6996
6997 * Version 19.8 released.
6998
6999 * make-docfile.c: Doc fix.
7000
70011993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7002
7003 * tcp.c: Fix comment syntax at top of file.
7004 (main): Don't call htons with the port number.
7005
70061993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7007
7008 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 7009 appropriate.
362bc2da
DL
7010
7011 * Makefile.in (install): Refer to the variables INSTALLABLES and
7012 INSTALLABLE_SCRIPTS, instead of writing them out.
7013
70141993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7015
7016 * make-path.c (main): Return 0.
7017
70181993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7019
ecc54057 7020 * Version 19.7 released.
362bc2da
DL
7021
70221993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7023
7024 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
7025
70261993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7027
7028 * tcp.c: New file.
7029
70301993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7031
7032 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
7033
70341993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7035
7036 * timer.c (notify): Don't call sighold or sigrelse; they're USG
7037 only. We should really fix this later, but let's just make it
7038 compile for now.
7039
7040 Install patches from David J. Mackenzie to make the srcdir option
7041 work.
7042 * Makefile.in (srcdir, VPATH): Get this value from the top-level
7043 Makefile.
7044 (INSTALLABLES): Split this into two lists - INSTALLABLES and
7045 INSTALLABLE_SCRIPTS.
7046 (INSTALLABLE_SCRIPTS): New list.
7047 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
7048 (${archlibdir}): The scripts to be installed live in the source
7049 tree, not in the object tree.
7050 (test-distrib): Note that the data file lives in the source tree,
7051 not the object tree.
7052 (GETOPTDEPS): Note that getopt.h lives in the source tree.
7053 (all other targets): Change references to source files to use
7054 ${srcdir}, except for config.h, which lives in the object dir.
7055 (timer.o): Note that this depends on ../src/config.h.
7056 * make-docfile.c (main): Add a -d option, to tell it where to find
7057 the source files.
7058 * test-distrib.c (main): Take the name of the distribution file to
7059 test from the command line.
7060
10d1d0af 7061 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
7062
70631993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7064
7065 * etags.c (main):
7066 Don't require that there be input files if -i switches were given.
7067
70681993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7069
7070 The GNU coding standards specify that CFLAGS should be left for
7071 users to set.
7072 * Makefile.in (CFLAGS): Put this in the "things configure might
7073 edit" section, and have it default to -g.
7074 (ALL_CFLAGS): New variable, set to all the flags which should be
7075 passed to compilations. Replace all other uses of CFLAGS with
7076 ALL_CFLAGS.
7077 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
7078
7079 * Makefile.in (DEFS): Remove this; it's always just going to be
7080 "-DHAVE_CONFIG_H -Demacs".
7081
70821993-05-03 Paul Eggert (eggert@twinsun.com)
7083
7084 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
7085 /[/]/, so change it to /[\/]/. This should work on all
75f1671a 7086 POSIX-compliant awks. It's slightly wrong with traditional awk,
362bc2da
DL
7087 since it matches \ too, but that's a minor problem compared to awk
7088 syntax errors.
7089
70901993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7091
7092 * Makefile.in (ALLOCA): New variable, whose value we should
7093 inherit from the top-level makefile.
7094 (etags, ctags): Include ALLOCA in the list of object files that
7095 these executables depend on and link.
7096
70971993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7098
b166dcd8 7099 * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
362bc2da
DL
7100
71011993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
7102
7103 * make-docfile.c (write_c_args): Print an argument named "defalt"
7104 as "default".
7105
71061993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7107
7108 * Makefile.in (C_SWITCH_SYSTEM): New variable.
7109 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
7110 compiler.
7111
880820fe 71121993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7113
2f2c687b
JB
7114 * etags.c (YACC): Flag added to c_ext.
7115 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
7116 (find_entries): Consistently use streq when reasonable.
7117 (find_entries): A .y file is a yacc file.
362bc2da 7118 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
7119 (C_entries): Logical cplpl means c_ext&C_PLPL.
7120 (C_entries): Logical yacc_rules means we are after the first %%.
b166dcd8 7121 (C_entries): Add logic for yacc files.
362bc2da 7122
880820fe 71231993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
7124
7125 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 7126 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
7127 (consider_token): structtag set to null string for enum.
7128
880820fe 71291993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 7130
2f2c687b
JB
7131 * etags.c (GET_COOKIE): And related macros removed.
7132 (logical): Is now int, no more a char.
7133 (reg): Define deleted.
7134 (isgood, _gd, notgd): Deleted.
7135 (gotone): Deleted.
7136 (TOKEN): Member linestart removed.
7137 (linepos, prev_linepos, lb1): Deleted.
7138 (main): Call initbuffer on lbs array instead of lb1.
e1dbe924 7139 (init): Remove the initialization of the logical _gd array.
2f2c687b 7140 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
7141 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
7142 All C state machines rewritten.
2f2c687b
JB
7143 (C_entries): Complete rewrite.
7144 (condider_token): Complete rewrite.
7145 (getline): Deleted.
362bc2da 7146
880820fe 71471993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da 7148
b166dcd8 7149 * etags.c (C_entries): Add the quotednl logical variable.
362bc2da
DL
7150 Used for parsing of #define's spanning multiple lines.
7151
880820fe 71521993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
7153
7154 * etags.c (C_entries): Save the definedef status even when a
7155 newline is met inside a string.
7156
71571993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
7158
b166dcd8 7159 * Makefile.in (EXECUTABLES): Add rcs-checkin.
362bc2da
DL
7160
7161 * Makefile.in (unlock, relock): New productions.
7162
71631993-03-16 Paul Eggert (eggert@twinsun.com)
7164
7165 * rcs2log: Some awks don't understand "\r". Code around this.
7166 Unfortunately this requires putting a carriage return in the
7167 source code. Don't assume that rlog will tolerate times like
7168 `10:10:60'; RCS 5.7 won't allow this.
7169
71701993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7171
7172 * timer.c (main): Set the ownership of the stdin file descriptor
7173 to the current process. Print error messages if either of the
7174 fcntl's fails.
7175
7176 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
7177 ../src/config.h), not void.
7178
71791993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7180
7181 * b2m.c (main): Don't exit upon reading a blank line.
7182
880820fe 71831993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
7184
7185 * etags.c (C_entries): New local variable quotednl. Used for
7186 parsing of #define's spanning multiple lines.
7187
7188 * etags.c (C_entries): Save the definedef status
7189 even when a newline is met inside a string.
7190
71911993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7192
7193 * timer.c (notify): Initialize waitfor properly.
7194
880820fe 71951993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
7196
7197 * etags.c (C_entries): Don't reset definedef when a newline inside a
7198 comment is met.
7199
72001993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7201
7202 * etags.c (find_entries): If filename ends in .f or .for,
7203 don't try anything but Fortran.
7204
72051993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
7206
7207 * timer.c (notify): Flush stdout after writing message to avoid lossage
7208 on terminals.
7209
7210 (notify): Also, write a newline after the token.
7211
72121992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7213
7214 * Makefile.in (exec_prefix): New variable.
7215 (bindir, libdir): Use it instead of `prefix'.
7216
7217 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
7218
7219 * Makefile.in (libdir): Default to ${prefix}/lib.
b166dcd8 7220 (archlibdir): Adjust to match.
362bc2da
DL
7221
7222 * Makefile.in (distclean): Don't delete backup or autosave files.
7223 (extraclean): Like realclean, but does delete backup and autosave
7224 files.
7225
7226 * Makefile.in (realclean): Ignore errors from rm.
7227
7228 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
7229 that doesn't exist anymore.
7230
72311992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7232
7233 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
7234 described in the top-level Makefile.
7235 (UTILITIES): Add make-path to the list of utility programs.
7236 (../arch-lib): Replaced by the ${archlibdir} target, which places
7237 the executables in their permanent home.
7238 (install, install.sysv, install.xenix): Consolidated into one
7239 target which should work under all circumstances, modulo a few
7240 ignored error messages.
7241
7242 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
7243 a different number of arguments than other DEFVARs, recognize it
7244 specially, and expect the right number of commas.
7245
72461992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7247
7248 * make-path.c: New program, to help with the installation process.
7249 * Makefile.in (make-path): New target.
7250
7251 * make-path.c (touchy_mkdir): Remove debugging output.
7252
72531992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7254
b166dcd8 7255 * Makefile.in (getdate.o): Add explicit target for this, so we
362bc2da
DL
7256 can indicate that it depends on ../src/config.h.
7257
72581992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7259
7260 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
7261 instead of CFLAGS.
7262 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
7263
72641992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7265
7266 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
7267 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
7268 that system.
7269
7270 * Makefile.in (arch-lib): Give rm the `-f' option.
7271
72721992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7273
7274 * make-docfile.c (write_c_args): Rewritten to correctly print
7275 &optionals before the first identifier, but after the first paren.
7276 This code used to just wait for commas or spaces; now it notices
7277 identifier boundaries.
7278
72791992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7280
7281 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
7282
72831992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7284
7285 * make-docfile.c (write_c_args): Print the argument lists properly
7286 when the first argument is optional.
7287
72881992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7289
7290 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
7291 Redefine @item. Set catcode of +.
7292
72931992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7294
7295 * emacsclient.c (main): Set IPC_CREAT in msgget call.
7296
72971992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7298
7299 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
7300 (TEX_decode_env): Make `tab' one element longer.
7301
73021992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7303
7304 * etags.c (PF_funcs): Recognize the "entry" keyword.
7305
73061992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7307
7308 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
7309
73101992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7311
7312 * timer.c (events): Rather than having slots marked as in use or
7313 out of use by the `token' field, keep all pending events at the
7314 beginning of the array. When we delete an event in the middle of
7315 the array, we move the last event into its place.
7316 (num_events): New variable.
7317 (schedule): It is now cheaper to find a free event slot;
7318 events[num_events] is the first free slot.
7319 (notify): Scan events[0 .. num_events-1], instead of the whole
7320 array. When an event fires, move the last event in the array into
7321 its spot. Use num_events to determine whether or not there are
7322 any pending events, not wait_for.
b166dcd8 7323 (getevent): Delete unused variable `ep'.
362bc2da
DL
7324 (sigcatch): It's now easier to find all the active events.
7325 (main): Initialize num_events.
7326
7327 * etags.c: Rather than fret about which systems have index and
7328 which systems have strchr, and how to tell the difference between
7329 them, we just write out our own versions. Big deal.
7330 (index, rindex): Extern declarations removed.
7331 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
7332 (etags_index, etags_rindex): New declarations.
7333 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
7334 TEX_getit, substr): Use the etags_*index functions, rather than
7335 the native *index functions.
b166dcd8 7336 (rindex, index): Rename to etags_rindex and tags_rindex, and
362bc2da
DL
7337 made them unconditionally defined, rather than having them depend
7338 on NEED_*INDEX.
7339
7340 * etags.c (savenstr): Add declaration for this at top of file.
7341 (TEX_decode_env): Don't declare it local to this function.
7342
7343 * b2m.c: #include "../src/config.h", so we can test for the USG
7344 macro, and decide whether to include <string.h> or <strings.h>.
7345 * Makefile.in: Note that b2m.c depends on ../src/config.h.
7346
73471992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7348
7349 * timer.c: Reformatted according to the GNU coding standards.
7350 Removed arbitrary limits on the number of events queued and the
7351 length of the tokens used to identify them.
7352 Removed casts to (void).
7353 Removed debugging printfs; they clutter the code, and the need
7354 can be better filled using a real debugger.
7355
73561992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7357
7358 * timer.c: Installed new version from Eric Raymond; this is more
7359 portable, since it doesn't try to use SIGIO.
7360
73611992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7362
7363 * emacsclient.c (main): If we can't find the socket in this
7364 person's home directory, print a message which asks if they've
7365 started the server, instead of just printing the message from
7366 sys_errmsg; Cygnus finds that people are much less confused by
7367 this.
7368
73691992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7370
7371 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
7372 so that index and rindex get defined, why don't we actually
7373 control index and rindex using symbols called "NEED_INDEX" and
7374 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
7375 little more readable than defining something whose name implies
7376 that it's not?
7377
73781992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7379
7380 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
7381 distribution:
7382 Miscellaneous doc fixes.
1c478461 7383 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
7384 (scan_lisp_file): Instead of using long hairy strings of ifs, call
7385 read_lisp_symbol and then see what we got. Call skip_white
7386 instead of writing out a loop to do its job. Correctly extract
7387 docstrings from "defmacro" declarations.
7388
73891992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7390
7391 * movemail.c (strcpy): Declare this to return char *.
7392
73931992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7394
7395 * etags.c (C_entries): When we find a C++ comment, do actually
7396 skip to the end of the line; do a 'break' instead of a 'continue'.
7397
73981992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7399
7400 * etags.c (getit): Add missing parenthesis to expression which
7401 decides if this token is an identifier.
7402
74031992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7404
7405 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
7406
74071992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7408
7409 * etags.c (put_entries): Always put space between name and line num.
7410
74111992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
7412
7413 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
7414 warning.
7415 (LEVEL_OK_FOR_FUNCDEF): Ditto.
7416
74171992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7418
7419 * make-docfile.c (write_c_args): Pass both arguments to putc.
7420
74211992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
7422
b166dcd8 7423 * etags.c (C_entries): Fix reading of "..." strings.
362bc2da
DL
7424 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
7425 the C library source.
7426
7427 * etags.c (C_entries): When we see a backslash inside a quoted
7428 string, skip to the next character. This allows us to correctly
7429 deal with strings containing quotes.
7430
74311992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7432
7433 * make-docfile.c (write_c_args): Print the C argument names as
7434 they would be written in Elisp; print '_' as '-'.
7435
74361992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7437
7438 * movemail.c [POP]: Get user name via getpwuid.
7439
74401992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7441
2f2c687b 7442 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
7443
74441992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7445
10d1d0af 7446 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
7447 strings - end the lines with `\n\'.
7448
74491992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7450
b166dcd8 7451 * timer.c (getevent): Remove declaration of memcpy; since
362bc2da
DL
7452 different systems have different return types, and we're not even
7453 using the return type anyway, it wasn't doing us any good.
7454
74551992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7456
7457 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
7458 type of this function.
7459
74601992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7461
7462 * ChangeLog: Since the old etc contents have been split into etc
7463 and lib-src, the old etc's ChangeLog has been duplicated in the
7464 new etc and lib-src. That means that each contains complete and
7465 coherent information, although each contains extraneous
1c478461 7466 information.
362bc2da
DL
7467
74681992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7469
290afd83 7470 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
7471 to be consistent with other GNU programs, like makeinfo.
7472
290afd83 7473 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
7474 will edit this to produce Makefile.
7475
74761992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7477
7478 * etags.c (print_help, print_version): New functions.
7479 (main): Options added to support them.
7480
7481 * etags.c (longopts): New array of long names for the options.
7482 (main): Recognize them.
7483
74841992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7485
b166dcd8 7486 * etags.c (C_entries): Remove comment saying that \" in a string
362bc2da
DL
7487 isn't recognized as magic, because it is correctly handled.
7488
7489 * getopt.c, getopt.h: New files, from GNU C library.
7490 * etags.c: Rewritten to use getopt.
7491 #include "getopt.h".
7492 (file_num): Variable deleted; its role is now played by getopt's
7493 optind.
7494 (main): Argument processing loop rewritten to call getopt to get
7495 next option. Options which take parameters (-o and -i) rewritten
b166dcd8
KC
7496 to get parameter from optarg instead of argv[1].
7497 Filename preprocessing loop and update command changed similarly.
362bc2da
DL
7498 * Makefile (etags, ctags): Depend on and link with getopt.h,
7499 getopt.o, and getopt1.o.
7500 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
7501
7502 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
7503 is non-zero.
7504
7505 (main): In the argument processing loop, the 'goto next_arg'
7506 statements are breaking out of the switch statement in exactly the
7507 same way that a simple 'break' statement would; replace the gotos
7508 with breaks, and remove the label.
7509
75101992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7511
7512 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
7513 (consider_token): Move next_token_is_func to global.
7514
75151992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7516
7517 * Makefile: Conform with GNU coding standards:
7518 (mostlyclean): New target, synonymous with clean.
7519 (TAGS, check): New targets.
7520 (INSTALL, INSTALLFLAGS): New variables.
7521
75221992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7523
ecc54057 7524 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
7525 `config.emacs' to `configure'.
7526
7527 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
7528 * etc/MACHINES: Same.
7529
75301992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7531
7532 * movemail.c (main): Allow tempname to be as long as necessary,
7533 instead of limiting it to 39 characters.
7534
7535 * movemail.c (main): Move declaration of buf from top of function
7536 to local block surrounding the copy loop. This makes it less
7537 likely to be confused with the buf used by the code which checks the
7538 permissions on outname's directory.
7539
75401992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
7541
7542 * SERVICE: Remove my entry.
7543
75441992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
7545
7546 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
7547 hardcoded -g.
7548
7549 * movemail.c (xmalloc): Return char *, not int.
7550 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
7551 that is off by default -- normally don't unlink the mail spool
7552 file, just empty it. Pass creat mode 0600, not 0666.
7553
dff28924 75541992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7555
7556 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
7557 (all): Instead of here.
7558 (install): Don't use the -s option, since people need symbols to
7559 debug code.
7560
dff28924 75611992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
7562
7563 * etags-vmslib.c (fn_exp): Add type cast.
7564
75651992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7566
7567 * movemail.c: Changes in comments.
7568
dff28924 75691992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7570
7571 * Makefile: Make the distclean target erase the DOC files from
7572 ../share-lib and the executables from ../arch-lib.
7573
dff28924 75741992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
7575
7576 * emacsclient.c: #include <sys/stat.h>
7577 (main): Do declare statbfr.
7578
dff28924 75791991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7580
7581 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
7582 for the socket, depending on SERVER_HOME_DIR.
7583 If using /tmp, put host name in the socket name.
7584
7585 * movemail.c (pfatal_and_delete): New function.
7586 (main, popmail): Use it.
7587 (popmail): Close output before deleting messages.
7588 Check for error on close and on fsync.
7589 Use `fatal' where appropriate.
7590 (main): Remove (void).
7591
7592 * aixcc.lex: New file. Not officially part of Emacs.
7593 * Makefile: Rules for that.
7594
dff28924 75951991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
7596
7597 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
7598
7599 * etags.c (main): Properly cast call to alloca that initializes
7600 included_files.
7601
76021991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7603
7604 * etags.c (files_are_tag_tables): Remove global var.
7605 (process_file): Don't test it. Also remove hack checking for a
7606 file named "TAGS".
7607 (main): -i now takes an arg which is the name of a file to include.
7608 Collect these names and emit include tags for them after processing
7609 all the argument files.
7610
dff28924 76111991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7612
7613 * wakeup.c: Terminate if parent goes away.
7614
dff28924 76151991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7616
7617 * etags.c (C_entries): Process token before handling end of line.
7618 When inner loops reach end of line, just back up.
7619 Let the real end of line processing happen in just one place.
a64387ee 7620 (consider_token): Likewise.
362bc2da 7621
dff28924 76221991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
7623
7624 * etags.c (TEX_mode): Skip comments while scanning the text to see
7625 which escape character this file uses.
7626
dff28924 76271991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
7628
7629 * emacsserver.c [USG]: Terminate if msgrcv fails.
7630
dff28924 76311991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7632
7633 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
7634
dff28924 76351991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
7636
7637 * make-docfile: Find the arguments to a C function correctly,
b166dcd8
KC
7638 by not ignoring the character that read_c_string returns.
7639 Don't even try to find argument names for functions that take MANY
362bc2da
DL
7640 or UNEVALLED arguments, since they're a figment of the docstring's
7641 imagination.
7642
dff28924 76431991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
7644
7645 * make-docfile: Read the .elc files generated by the new byte
7646 compiler.
7647
dff28924 76481990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7649
7650 * refcard.tex: Use cm fonts, not am, in multi-column mode.
7651
dff28924 76521990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7653
7654 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
7655
dff28924 76561990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7657
7658 * Makefile (install*): No need to install wakeup.
7659
dff28924 76601990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7661
7662 * Makefile (install*): Install emacsclient like etags.
7663
dff28924 76641990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7665
7666 * movemail.c (error): Handle 3 args.
7667 (main): Don't check input access if using pop.
7668
dff28924 76691990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7670
7671 * etags.c (find_entries): Check for numbers after Scheme suffix.
7672
dff28924 76731990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7674
7675 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
7676
dff28924 76771990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7678
7679 * Makefile (nemacstool, xvetool): New targets.
7680
dff28924 76811990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7682
7683 * emacsclient.c: Include errno.h and define related variables.
7684
dff28924 76851990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
7686
7687 * emacsclient.c: Change usage message.
7688
dff28924 76891990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 7690
ecc54057 7691 * emacs.1: Add break before -nw option.
362bc2da 7692
dff28924 76931990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
7694
7695 * qsort.c: Replace with GNU version.
7696
dff28924 76971990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
7698
7699 * wakeup.c: New program replacing loadst.c.
7700
dff28924 77011990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7702
7703 * emacsclient.c [USG]: Pass msgsnd only 4 args.
7704
dff28924 77051990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
7706
7707 * etags.c: Rename `flag' variables for what they do instead of
7708 which option character sets them.
7709
dff28924 77101990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7711
7712 * loadst.c (main): Conditional to get load average on Apollo.
7713
dff28924 77141990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
7715
7716 * emacsserver.c: Set the permission on the socket to 0600.
7717
dff28924 77181990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7719
7720 * emacsclient.c [BSD]: Print clean message for failing getwd.
7721
dff28924 77221990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
7723
7724 * getdate.y: Use the getdate.y from GNU tar for timer.
7725
dff28924 77261990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
7727
7728 * emacsclient.c (main): Don't put brackets around "filename" in
7729 usage message. It isn't optional.
7730
dff28924 77311990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 7732
a64387ee 7733 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 7734
dff28924 77351990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
7736
7737 * emacsserver.c: Renamed from server.c.
7738 * Makefile: Reference emacsserver rather than server.
7739 * MACHINES: Doc fix for new emacsserver name.
7740
dff28924 77411990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7742
7743 * emacsclient.c: Print program name in error messages.
7744
dff28924 77451990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
7746
7747 * timer.c, getdate.y (new files) and Makefile:
194d44e7
JB
7748 Sub-process support for run-at-time in timer.el.
7749 Doesn't yet work correctly for USG.
362bc2da 7750
dff28924 77511990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
7752
7753 * MACHINES: Add HP 300 running BSD.
7754
dff28924 77551990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7756
7757 * yow.c: Dynamically allocate buffer; skip header before random
7758 choice to avoid bias toward first item.
7759
dff28924 77601989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7761
7762 * etags.c (readline): Separate out init of `pend'.
7763
dff28924 77641989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7765
7766 * etags.c: Undo changes relating to isgoodhdr.
7767
dff28924 77681989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7769
7770 * etags.c (isgoodhdr): New macro.
7771 (_gdh, notgdh): New variable used by that.
7772 (init): Initialize _gdh.
7773 (find_entries): Set header_file.
7774 (consider_token): Use isgoodhdr if in header file.
7775
7776 * etags.c (total_size_of_entries):
7777 Was miscalculating by 1 in rewritten case.
7778
7779 * etags.c (PAS_funcs): One arg to pfnote was missing.
7780
dff28924 77811989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
7782
7783 * MACHINES: Change for the ULTRIX entry.
7784
dff28924 77851989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
7786
7787 * etags.c (process_file): If file is not regular, return.
7788
dff28924 77891989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7790
7791 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
7792
dff28924 77931989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7794
7795 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
7796 (main): If HAVE_GETLOADAVG, don't call `nlist'.
7797
dff28924 77981989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7799
7800 * etags.c (consider_token): Allow any number of typespec keywords
7801 after `typedef', before new type name.
7802 (enum sym_type): Add st_C_typespec.
7803 (C_create_stab): Put typespec kwds in table.
7804
dff28924 78051989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7806
7807 * etags.c (main): Don't depend on name invoked by.
7808 If CTAGS is not defined, assume it is ETAGS.
7809
dff28924 78101989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7811
7812 * etags.c (L_funcs): Allow package name in define construct,
7813 as in (foo::defmumble name-defined ...).
7814
dff28924 78151989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7816
7817 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
7818
7819 * Makefile (yow): Depends on ../src/paths.h.
7820
dff28924 78211989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7822
7823 * etags.c: Fix compilation by moving Pascal after Fortran.
7824
dff28924 78251989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7826
7827 * movemail.c [USG]: Define F_OK, etc., if not found in header.
7828
dff28924 78291989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7830
7831 * hexl.c: New file, supports hexl-mode.
7832
dff28924 78331989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7834
7835 * movemail.c: New compilation flag MAIL_USE_MMDF.
7836
dff28924 78371989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7838
7839 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
7840 * server.c: Likewise.
7841
7842 * make-docfile.c (scan_c_file): Output argument names at end of string.
7843 (write_c_args): New subroutine.
7844
dff28924 78451989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7846
7847 * movemail.c: Report failure of flock.
7848
dff28924 78491989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7850
7851 * etags.c (find_entries): Allow multi-letter extensions for fortran.
7852
dff28924 78531989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7854
2f2c687b 7855 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 7856
dff28924 78571989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7858
7859 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
7860
30a7ee9f 7861 * emacstool.1: Update to document environment variables.
362bc2da 7862
dff28924 78631989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7864
7865 * etags.c (PAS_funcs): New function by Mosur Mohan.
7866
7867 * movemail.c: On sysv, include unistd.h.
7868
dff28924 78691989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7870
7871 * b2m.c: New file.
7872
dff28924 78731989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 7874
6088b51f 7875 * etags.c: Prolog support from Sunichirou Sugou.
362bc2da 7876
dff28924 78771989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7878
7879 * Makefile (clean): New target.
7880
dff28924 78811989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7882
7883 * fakemail.c (put_line): Break header lines at 79 cols.
7884
dff28924 78851989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7886
7887 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
7888 multiple tags per line.
7889
dff28924 78901989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7891
7892 * movemail.c: Check access before doing real work.
7893 Check that outfile is in a writable directory.
7894 On fatal error, delete the lock file.
7895
dff28924 78961988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 7897
ecc54057 7898 * env.c: Add decl for my-index
6088b51f 7899 * etags.c (file-entries): .oak => scheme.
362bc2da 7900
dff28924 79011988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7902
7903 * movemail.c: Use `access' to check input and output files.
7904
dff28924 79051988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7906
7907 * emacsclient.c (main): Ignore all of CWD before first slash.
7908
dff28924 79091988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7910
7911 * etags.c (readline): Double linebuffer->size outside the xrealloc.
7912
dff28924 79131988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7914
7915 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
7916 * server.c: chmod the socket to 0700.
7917
dff28924 79181988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7919
7920 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
7921 (add_field): Delete comments and turn `<', `>' to spaces
7922 in header lines.
7923 (USE_FAKEMAIL): New customization macro says to make fakemail
7924 not be a no-op even on a BSD system.
7925
dff28924 79261988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7927
7928 * etags.c (consider_token): Skip comments just like whitespace.
7929 Notice `struct', etc. and set strtag for those tokens.
7930 Return 1 for the token following `struct' if an open-brace follows it.
7931 (C_entries): Special handling of token following `struct'
7932 needed because we have probably advanced to the following line
7933 to find the `{'.
7934 (main): New option `T' sets tflag and strflag.
7935 Set both of them by default if eflags.
7936
dff28924 79371988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7938
7939 * movemail.c: Do fsync before closing output.
7940
dff28924 79411988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 7942
ecc54057
JB
7943 * movemail.c: Better error message when can't create tempname.
7944 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 7945
dff28924 79461988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7947
7948 * etags.c: Support assembler code for .s and .a files.
7949 (getit): Allow underscore in a tag.
7950
dff28924 79511988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7952
7953 * movemail.c: Close output and check errors before deleting input.
7954
dff28924 79551988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
7956
7957 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
7958 whether to prefix it. Handle line number args.
7959
dff28924 79601988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 7961
2f2c687b 7962 * etags.c (main): Default setting of eflag was backwards.
362bc2da 7963
dff28924 79641988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7965
7966 * etags.c: New option -i. -f renamed -o.
7967 `-' as input file means read input file names from stdin.
7968 -i spec'd or input file named TAGS means the input file is another
7969 tag table; output an "include" line for it.
7970
dff28924 79711988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7972
7973 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
7974 New targets install, install.sysv, install.xenix.
7975 This makefile is now responsible for installing executables
7976 and documentation from this directory into system directories.
7977
dff28924 79781988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
7979
7980 * server.c, emacsclient.c (main): Compute socket name from euid.
7981
dff28924 79821988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7983
7984 * emacsclient.c: Args like +DIGITS are passed through unchanged.
7985
dff28924 79861988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7987
7988 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
7989 * emacsclient.c: Likewise.
7990 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
7991
dff28924 79921988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7993
7994 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 7995 (istoken): New string-comparison macro.
362bc2da
DL
7996 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
7997
dff28924 79981988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
7999
8000 * etags.c: Changes for VMS.
8001 Always define ETAGS on VMS.
8002 Define macros GOOD and BAD for success and failure exit codes.
c4cc8b9a 8003 (begtk, intk): Allow `$' in identifiers.
362bc2da
DL
8004 (main): Don't support -B, -F or -u on VMS.
8005 Alternate loop for scanning filename arguments.
8006 (system): Delete definition of this function.
8007
8008 * etags-vmslib.c (system): Undefine this; VMS now provides it.
8009
dff28924 80101988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
8011
8012 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
8013 around include of param.h. (Like fns.c.)
8014
dff28924 80151988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
8016
8017 * loadst.c (load_average): Move load-average code to this new fn.
8018 Add conditionals to compute load ave on UMAX.
8019
dff28924 80201988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
8021
8022 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
8023 with opposite sense.
8024
dff28924 80251988-05-13 Chris Hanson (cph@kleph)
362bc2da 8026
b166dcd8
KC
8027 * emacsclient.c: Delete references to unused variable `out'.
8028 This caused a bus error when used under hp-ux.
362bc2da 8029
dff28924 80301988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
8031
8032 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
8033
dff28924 80341988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
8035
8036 * etags.c (find_entries): `.t' or `.sch' means scheme code.
8037
dff28924 80381988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
8039
8040 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
8041
dff28924 80421988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
8043
8044 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 8045 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 8046
dff28924 80471988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
8048
8049 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
8050 invalid escape sequences such as `\{'.
8051
8052 * loadst.c: Add `sequent' conditional for file dk.h.
8053
dff28924 80541988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 8055
2f2c687b 8056 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 8057
2f2c687b 8058 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
8059
8060;; Local Variables:
880820fe 8061;; coding: utf-8
6922b018 8062;; End:
2a34a036 8063
acaf905b 8064 Copyright (C) 1988-1999, 2001-2012 Free Software Foundation, Inc.
5b87ad55
GM
8065
8066 This file is part of GNU Emacs.
8067
294981c7 8068 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 8069 it under the terms of the GNU General Public License as published by
294981c7
GM
8070 the Free Software Foundation, either version 3 of the License, or
8071 (at your option) any later version.
5b87ad55
GM
8072
8073 GNU Emacs is distributed in the hope that it will be useful,
8074 but WITHOUT ANY WARRANTY; without even the implied warranty of
8075 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8076 GNU General Public License for more details.
8077
8078 You should have received a copy of the GNU General Public License
294981c7 8079 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.