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