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