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