1 2012-08-09 Glenn Morris <rgm@gnu.org>
3 * ebrowse.c (PATH_LIST_SEPARATOR):
4 Remove, and replace with SEPCHAR from config.h.
6 2012-08-03 Juanma Barranquero <lekktu@gmail.com>
8 * makefile.w32-in (LOCAL_FLAGS): Remove WINDOWSNT and DOS_NT,
9 they are always defined in config.h.
11 2012-08-03 Eli Zaretskii <eliz@gnu.org>
13 * ntlib.c (lstat): New function, calls 'stat'.
15 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
17 Use C99-style 'extern inline' if available.
18 * profile.c (SYSTIME_INLINE): Define.
20 2012-08-02 Glenn Morris <rgm@gnu.org>
22 * makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
24 2012-08-01 Glenn Morris <rgm@gnu.org>
26 * Makefile.in (config_h): New variable.
27 Use throughout in place of ../src/config.h.
29 2012-08-01 Juanma Barranquero <lekktu@gmail.com>
31 * makefile.w32-in (CONFIG_H): Update dependencies.
32 (CONF_POST_H): New macro.
34 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
36 Update .PHONY listings in makefiles.
37 * Makefile.in (.PHONY): Add all, need-blessmail, maybe-blessmail,
38 install, uninstall, mostlyclean, clean, distclean,
39 maintainer-clean, extraclean, check, tags.
41 2012-07-29 Eli Zaretskii <eliz@gnu.org>
43 * makefile.w32-in ($(BLD)/profile.$(O)): Depend on stamp_BLD.
45 2012-07-12 Paul Eggert <eggert@cs.ucla.edu>
47 * movemail.c: Add missing 'defined'.
48 Suggested by Sven Joachim in
49 <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00218.html>.
51 2012-07-11 Paul Eggert <eggert@cs.ucla.edu>
53 Port 'movemail' again to Solaris and similar hosts.
54 See Susan Cragin's report in
55 <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00199.html>.
56 * movemail.c (xmalloc): Also define if !DISABLE_DIRECT_ACCESS &&
57 !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK. Move up, so it doesn't
58 need a forward declaration.
59 (main): Rewrite to avoid no-longer-present function 'concat', if
60 !DISABLE_DIRECT_ACCESS && !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK.
63 * emacsclient.c, movemail.c, update-game-score.c (strerror)
64 [!HAVE_STRERROR]: Remove.
66 2012-07-10 Paul Eggert <eggert@cs.ucla.edu>
68 EMACS_TIME simplification (Bug#11875).
69 * profile.c (TV2): Remove no-longer-needed static var.
71 Simplify by avoiding confusing use of strncpy etc.
72 * etags.c (write_classname, C_entries):
73 Use sprintf rather than strncpy or strncat.
74 * etags.c (consider_token, C_entries, HTML_labels, Prolog_functions)
75 (Erlang_functions, substitute, readline_internal, savenstr):
76 * movemail.c (mail_spool_name):
77 Use memcpy rather than strncpy or strncat when either will do.
78 * make-docfile.c (write_c_args):
79 Use memcmp rather than strncmp when either will do.
80 * movemail.c (pop_retr):
81 * pop.c (pop_stat, pop_list, pop_multi_first, pop_last)
82 (socket_connection, pop_getline, sendline, getok):
83 Use snprintf rather than strncpy or strncat.
84 * movemail.c (concat): Remove; no longer needed.
85 (xmalloc): Define only if needed, now that concat has gone away.
86 Return void *. All uses changed.
88 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
90 Add GCC-style 'const' attribute to functions that can use it.
91 * etags.c (number_len): Add ATTRIBUTE_CONST.
93 2012-07-09 Juanma Barranquero <lekktu@gmail.com>
95 * emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
97 2012-07-09 Juanma Barranquero <lekktu@gmail.com>
99 * makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC.
100 (LIB_SRC, NT_INC, GNU_LIB, MS_W32_H, CONFIG_H, INTTYPES_H, NTLIB_H)
101 (SYSTIME_H): New macros.
102 (SRC): Redefine to point to src/, not current directory.
103 ($(BLD)/ctags.$(O), $(BLD)/ebrowse.$(O), $(BLD)/emacsclient.$(O))
104 ($(BLD)/etags.$(O), $(BLD)/hexl.$(O), $(BLD)/make-docfile.$(O))
105 ($(BLD)/movemail.$(O), $(BLD)/ntlib.$(O), $(BLD)/pop.$(O))
106 ($(BLD)/profile.$(O), $(BLD)/test-distrib.$(O)): Update dependencies.
107 ($(BLD)/regex.$(O)): New dependency.
109 2012-07-09 Juanma Barranquero <lekktu@gmail.com>
111 * makefile.w32-in (ALL): Add profile.exe.
112 (PROFILEOBJS): New macro.
113 ($(BLD)/profile.exe): New target.
114 (install): Copy profile.exe.
115 ($(BLD)/alloca.$(O), $(BLD)/tcp.$(O)): Remove, obsolete.
117 2012-07-07 Juanma Barranquero <lekktu@gmail.com>
119 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)):
122 2012-07-06 Paul Eggert <eggert@cs.ucla.edu>
124 Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786).
125 * etags.c: Include c-strcase.h.
126 (etags_strcasecmp, etags_strncasecmp): Remove.
127 All uses replaced with c_strcasecmp and c_strncasecmp.
129 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
131 * make-docfile.c (write_globals): Warn about duplicate function
132 definitions with differing signatures.
134 2012-07-03 Paul Eggert <eggert@cs.ucla.edu>
136 * make-docfile.c (scan_c_file): Suppress GCC warning.
138 2012-06-29 Tom Tromey <tromey@redhat.com>
140 * make-docfile.c (enum global_type) <FUNCTION>: New constant.
141 (struct global) <value>: New field.
142 (add_global): Add 'value' argument.
143 (compare_globals): Sort functions at the end.
144 (close_emacs_globals): New function.
145 (write_globals): Handle functions.
146 (scan_c_file): Call add_global for DEFUN.
148 2012-06-30 Juanma Barranquero <lekktu@gmail.com>
150 * makefile.w32-in (CTAGS_CFLAGS): Remove EMACS_NAME;
151 already defined in ETAGS_CFLAGS.
153 2012-06-27 Glenn Morris <rgm@gnu.org>
155 * makefile.w32-in (lisp2): Remove paths.el.
157 2012-06-26 Paul Eggert <eggert@cs.ucla.edu>
159 Clean out last vestiges of the old HAVE_CONFIG_H stuff.
160 * Makefile.in (BASE_CFLAGS):
161 * makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H.
162 * etags.c, hexl.c, pop.c: Include <config.h> unconditionally.
164 * pop.c (MAIL_USE_POP, h_errno):
165 Remove code that was conditioned on !HAVE_CONFIG_H.
167 2012-06-25 Dmitry Antipov <dmantipov@yandex.ru>
169 * etags.c (etags_strcasecmp, etags_strncasecmp): Define to
170 library functions strcasecmp and strncasecmp if available.
172 2012-06-24 Paul Eggert <eggert@cs.ucla.edu>
174 Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
175 * ebrowse.c (usage, version):
176 * emacsclient.c (print_help_and_exit, fail):
177 * etags.c (suggest_asking_for_help, fatal, pfatal):
179 * make-docfile.c (fatal):
180 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
181 * update-game-score.c (usage):
182 * ebrowse.c (usage, version):
183 * emacsclient.c (print_help_and_exit, fail):
184 Use _Noreturn rather than NO_RETURN.
185 No need for separate decl merely because of _Noreturn.
187 2012-06-24 Samuel Bronson <naesten@gmail.com> (tiny change)
189 * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838).
191 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
193 Support higher-resolution time stamps (Bug#9000).
194 * Makefile.in (LIB_CLOCK_GETTIME): New macro.
195 (profile${EXEEXT}): Use it.
196 * profile.c: Include inttypes.h, intprops.h.
197 (time_string): Size conservatively; do not guess size.
198 (get_time): Now prints nanoseconds.
199 (gettimeofday): Remove replacement function; gnulib now does this.
201 2012-06-08 Andreas Schwab <schwab@linux-m68k.org>
203 * make-docfile.c (search_lisp_doc_at_eol): Unget last read
206 2012-06-06 Glenn Morris <rgm@gnu.org>
208 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPTS, insrcdir)
209 (stamp-rcs2log, stamp-grep-changelog): Remove.
210 (all, clean): Remove references to stamps.
212 * vcdiff: Remove file.
213 * Makefile.in (SCRIPTS, STAMP_SCRIPTS): Remove vcdiff.
214 (stamp-vcdiff): Remove.
216 2012-06-05 Glenn Morris <rgm@gnu.org>
218 * makefile.w32-in ($(BLD)/getdate.$(O), $(BLD)/leditcfns.$(O)):
219 ($(BLD)/make-path.$(O), $(BLD)/qsort.$(O)):
220 ($(BLD)/timer.$(O)): Remove cruft.
222 2012-06-03 Glenn Morris <rgm@gnu.org>
224 * rcs-checkin: Remove file.
225 * Makefile.in (INSTALLABLE_SCRIPTS, STAMP_INST_SCRIPTS):
227 (stamp-rcs-checkin): Remove.
229 2012-05-31 Eli Zaretskii <eliz@gnu.org>
231 * makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS)
232 instead of a literal -mwindows, which is not supported by MSVC.
235 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
237 * make-docfile.c: Improve comment style.
238 (search_lisp_doc_at_eol): New function.
239 (scan_lisp_file): Use it.
241 2012-05-26 Glenn Morris <rgm@gnu.org>
243 * Makefile.in (INSTALL_DATA): Remove; unused.
245 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
248 * makefile.w32-in: Remove dependencies on
249 $(EMACS_ROOT)/src/m/intel386.h.
251 2012-05-22 Glenn Morris <rgm@gnu.org>
253 * Makefile.in (install): Remove unneeded chmods.
255 2012-05-21 Paul Eggert <eggert@cs.ucla.edu>
258 * etags.c (static, const): Remove macros.
259 (PTR): Remove; all uses replaced with void *. Omit needless casts.
261 2012-05-21 Glenn Morris <rgm@gnu.org>
263 * Makefile.in (insrcdir, $(DESTDIR)${archlibdir}):
264 Scrap superfluous subshells.
266 2012-05-18 Glenn Morris <rgm@gnu.org>
268 * Makefile.in (install): Ensure $bindir exists.
270 2012-05-17 Glenn Morris <rgm@gnu.org>
272 * Makefile.in (ns_appbindir): New, set by configure.
274 2012-05-12 Glenn Morris <rgm@gnu.org>
276 * Makefile.in (MKDIR_P): New, set by configure.
277 ($(DESTDIR)${archlibdir}): Use $MKDIR_P.
279 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
281 etags: pacify gcc -Wstack-protector on Ubuntu 12.04 x86
282 * etags.c: Include <stdarg.h>.
283 (error): Declare as printf-style, as that's what it really is.
285 (add_regex): Use single char rather than array-of-one char.
287 2012-05-05 Jim Meyering <meyering@redhat.com>
289 * lib-src/pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
290 NUL-terminate the error buffer (Bug#11372).
292 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
294 * emacsclient.c (min): Undef before redefining it.
296 2012-05-02 Jim Meyering <jim@meyering.net>
298 * emacsclient.c (send_to_emacs): Avoid invalid strcpy upon partial
301 2012-04-29 Andreas Schwab <schwab@linux-m68k.org>
303 * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
304 byte-code forms. (Bug#11380)
306 2012-04-20 Chong Yidong <cyd@gnu.org>
308 * emacsclient.c (decode_options): Move -t -n corner case handling
309 into server.el (Bug#11102).
310 (main): Send -tty to Emacs under more circumstances (Bug#8314).
312 2012-04-18 Paul Eggert <eggert@cs.ucla.edu>
314 configure: new option --enable-gcc-warnings (Bug#11207)
315 * Makefile.in (C_WARNINGS_SWITCH): Remove.
316 (WARN_CFLAGS, WERROR_CFLAGS): New macros.
317 (BASE_CFLAGS): Use new macros rather than old.
319 2012-04-16 Paul Eggert <eggert@cs.ucla.edu>
321 Assume less-ancient POSIX support.
322 * update-game-score.c: Include <getopt.h> rather than rolling our
323 own decls for optarg, optind, opterr. See
324 <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>.
326 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
328 * emacsclient.c (decode_options) [WINDOWSNT]:
329 Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
331 2012-04-07 Eli Zaretskii <eliz@gnu.org>
333 * makefile.w32-in (obj): Add xml.o.
335 2012-04-07 Eli Zaretskii <eliz@gnu.org>
337 * makefile.w32-in (ALL): Now the list of executables, not of phony
339 (.PHONY): Only make-docfile is its prerequisite now.
340 (make-docfile): Don't depend on stamp_BLD. Add a comment about
341 the need in this target.
342 (ctags, etags, ebrowse, hexl, movemail, emacsclient)
343 (test-distrib): Phony targets removed.
344 ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe.
345 (all): Don't depend on stamp_BLD.
346 (ALL): Include $(BLD)/test-distrib.exe.
348 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
350 * emacsclient.c (main): Handle -print-nonl command.
352 * emacsclient.c (main): Handle multiple messages in a single
355 * emacsclient.c (socket_name): Add const.
356 (get_server_config): Add parameter config_file, use it instead of
358 (set_tcp_socket): Add parameter local_server_file, pass it down to
360 (set_local_socket): Add parameter local_socket_name, use it
361 instead of global socket_name.
362 (set_socket): Adjust calls to set_local_socket and set_tcp_socket.
363 Don't clobber global server_file or socket_name.
364 (main): No longer reset server_file or socket_name.
366 2012-01-05 Glenn Morris <rgm@gnu.org>
368 * ebrowse.c (version) <emacs_copyright>:
369 * etags.c (print_version) <emacs_copyright>:
370 * rcs2log (Copyright): Update short copyright year to 2012.
372 2011-12-25 Andreas Schwab <schwab@linux-m68k.org>
374 * etags.c (C_entries): Properly skip over string and character
375 constants and comments inside brackets. (Bug#10357)
377 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
379 * emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0;
380 instead, treat both -c and -t as always requesting a new "tty" frame,
381 and let server.el decide which kind is actually required.
382 Reported by Uwe Siart <usenet@siart.de> in this thread:
383 http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html
385 2011-11-30 Chong Yidong <cyd@gnu.org>
387 * emacsclient.c (main): Condition last change on WINDOWSNT
390 2011-11-27 Eli Zaretskii <eliz@gnu.org>
392 * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
394 * emacsclient.c (main) <environ>: Remove declaration, already
395 pulled in by unistd.h on POSIX hosts and stdlib.h on MS-Windows.
397 2011-11-24 Glenn Morris <rgm@gnu.org>
399 * make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
401 2011-11-14 Dan Nicolaescu <dann@ics.uci.edu>
403 * Makefile.in (all): Make sure "all" is the first target.
405 2011-10-27 Juanma Barranquero <lekktu@gmail.com>
407 * emacsclient.c (w32_getenv): Silence compiler warnings.
409 2011-09-07 Glenn Morris <rgm@gnu.org>
411 * etags.c (Fortran_functions): Handle "elemental" functions.
413 2011-09-07 Dieter Schuster <didischuster@arcor.de> (tiny change)
415 * etags.c (Fortran_functions): Handle "pure" functions. (Bug#9359)
417 2011-09-06 Paul Eggert <eggert@cs.ucla.edu>
419 * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
420 to build-aux (Bug#9169).
422 2011-09-04 Paul Eggert <eggert@cs.ucla.edu>
424 Integer and memory overflow issues (Bug#9397).
426 * emacsclient.c (xmalloc): Accept size_t, not unsigned int, to
427 avoid potential buffer overflow issues on typical 64-bit hosts.
428 Return void *, not long *.
429 (get_current_dir_name): Report a failure, instead of looping
430 forever, if buffer size calculation overflows. Treat malloc
431 failures like realloc failures, as that has better behavior and is
432 more consistent. Do not check whether xmalloc returns NULL, as
434 (message): Do not arbitrarily truncate message to 2048 bytes when
435 sending it to stderr; use vfprintf instead.
436 (get_server_config, set_local_socket)
437 (start_daemon_and_retry_set_socket): Do not alloca
438 arbitrarily-large buffers; that's not safe.
439 (get_server_config, set_local_socket): Do not use sprintf when its
440 result might not fit in 'int'.
441 (set_local_socket): Do not assume uid fits in 'int'.
443 * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
444 to avoid potential buffer overflow issues on typical 64-bit hosts.
445 (whatlen_max): New static var.
446 (main): Avoid buffer overflow if subsidiary command length is
447 greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its
448 result might not fit in 'int'.
450 * movemail.c (main): Do not use sprintf when its result might not fit
451 in 'int'. Instead, put the possibly-long file name into the
452 output of pfatal_with_name.
454 * update-game-score.c: Include <limits.h>
455 (get_user_id): Do not assume uid fits in 'int'. Simplify.
457 2011-07-28 Paul Eggert <eggert@cs.ucla.edu>
459 Assume freestanding C89 headers, string.h, stdlib.h.
460 * ebrowse.c: Include stdlib.h unconditionally.
461 * etags.c, update-game-score.c:
462 Include string.h and stdlib.h unconditionally.
463 * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS.
464 * movemail.c, pop.c: Include string.h unconditionally.
465 * update-game-score.c: No need to include stdarg.h; not used.
467 Assume support for memcmp, memcpy, memmove, memset.
468 * etags.c (absolute_filename): Assume memmove exists.
470 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
472 * update-game-score.c (usage): Update usage line.
474 2011-07-02 Jason Rumney <jasonr@gnu.org>
476 * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
479 2011-06-25 Glenn Morris <rgm@gnu.org>
481 * emacsclient.c (decode_options) <opt>: Add `F:'.
482 (print_help_and_exit): Mention --frame-parameters.
484 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
486 * emacsclient.c (longopts, decode_options, main): Add frame-parameters.
488 2011-06-10 Paul Eggert <eggert@cs.ucla.edu>
490 * movemail.c: Fix race condition and related bugs (Bug#8836).
491 (main) [!MAIL_USE_SYSTEM_LOCK]: Prefer mkstemp to mktemp, as this
492 fixes some race conditions. Report mkstemp/mktemp errno rather
493 than a possibly-garbage errno. Reinitialize the template each
494 time through the loop, as earlier mkstemp/mktemp calls could have
495 trashed it. Pass 0600 (not 0666) to mktemp, for consistency
496 with mkstemp; the permissions don't matter anyway.
498 2011-06-01 Dan Nicolaescu <dann@ics.uci.edu>
500 * emacsclient.c (socket_status): Use constant pointer.
502 2011-05-28 Paul Eggert <eggert@cs.ucla.edu>
504 Use 'inline', not 'INLINE'.
505 * etags.c (hash): Now inline unconditionally.
506 * make-docfile.c (put_char): inline, not INLINE.
508 2011-05-25 Glenn Morris <rgm@gnu.org>
510 * Makefile.in (.c.o): Remove (every .o file has an explicit rule).
512 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
513 Use $insrcdir to suppress unaesthetic ignored errors.
514 (clean): Simplify list of things to delete.
515 (all, clean): Use $EXE_FILES.
517 * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
519 * Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
520 (etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
522 2011-05-24 Glenn Morris <rgm@gnu.org>
524 * Makefile.in (update-game-score${EXEEXT}): Use a single rule.
526 2011-05-19 Glenn Morris <rgm@gnu.org>
528 * makefile.w32-in (echolisp): Remove rule that is no longer needed.
529 (clean): No more echolisp.tmp.
531 2011-05-18 Glenn Morris <rgm@gnu.org>
533 * fakemail.c: Remove file.
534 * makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
535 ($(BLD)/fakemail.$(O)): Remove.
536 * Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
537 (fakemail${EXEEXT}): Remove rule.
539 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
541 * makefile.w32-in (obj): Add gnutls.o.
543 2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
545 Static checks with GCC 4.6.0 and non-default toolkits.
547 * movemail.c (mail_spool_name): Protoize.
548 (main): Remove unused var. Mark var as initialized.
549 Move locals to avoid shadowing, and use time_t for times.
551 * fakemail.c (xmalloc, xreallc): Use standard C prototypes
552 with void *. This avoids warnings about pointer casts.
554 * emacsclient.c (main): Don't use uninitialized var.
555 (IS_ANY_SEP): Remove; unused.
556 (get_current_dir_name): Add an extern decl.
558 2011-04-06 Paul Eggert <eggert@cs.ucla.edu>
560 Fix more problems found by GCC 4.6.0's static checks.
562 * emacsclient.c (message): Mark it as a printf-like function.
564 * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
565 (write_c_args): Use it to suppress GCC warning.
567 2011-03-30 Paul Eggert <eggert@cs.ucla.edu>
569 Fix a problem found by GCC 4.6.0's static checks.
570 * etags.c (just_read_file): Remove dummy variable and simplify.
572 2011-03-27 Glenn Morris <rgm@gnu.org>
574 * emacsclient.c: Replace SIGTYPE with void.
576 2011-03-23 Juanma Barranquero <lekktu@gmail.com>
578 * ntlib.c: Include <ctype.h>.
580 2011-03-23 Glenn Morris <rgm@gnu.org>
582 * Makefile.in ($(DESTDIR)${archlibdir}):
583 Use `install-sh -d' rather than mkinstalldirs.
585 2011-03-23 Paul Eggert <eggert@cs.ucla.edu>
587 * ebrowse.c: Use size_t, not int, for sizes.
588 This avoids a warning with gcc -Wstrict-overflow, and works
589 better for very large objects.
590 (inbuffer_size): Now size_t. All uses changed.
591 (xmalloc, xrealloc, operator_name, process_file): Use size_t for
592 sizes. Don't bother testing whether a size_t value can be negative.
594 * etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
596 etags: In Prolog functions, don't assume int fits in size_t.
597 This avoids a warning with gcc -Wstrict-overflow.
598 * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
599 not int, to store sizes.
600 (prolog_atom): Return 0, not -1, on error. All callers changed.
602 update-game-score: fix bug with -r
603 * update-game-score.c (main): Don't set 'scores' to garbage when
604 -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug
605 was introduced in the 2002-04-10 change, and was found with gcc
606 -Wstrict-overflow (GCC 4.5.2, x86-64).
608 fakemail: Remove dependency on ignore-value.
609 This undoes some of the recent fakemail-related changes.
610 It is made possible due to recent changes to gnulib's stdio module.
611 * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
612 * fakemail.c: Do not include ignore-value.h.
613 (put_line): Do not use ignore_value.
615 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
617 * Version 23.3 released.
619 2011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change)
621 * emacsclient.c (longopts): Add quiet.
622 (decode_options): Handle q/quiet.
623 (print_help_and_exit): Add q/quiet.
624 (main): Suppress some messages if quiet option is used.
626 2011-02-26 Eli Zaretskii <eliz@gnu.org>
628 * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
630 * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
631 (w32_getenv): Use xstrdup to return all values in malloc'ed
634 2011-02-26 Paul Eggert <eggert@cs.ucla.edu>
636 * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
637 to reader (and to the compiler) that the loop always executes at
638 least once. This prevents a warning with recent GCC.
639 (BROWSE_STRUCT): Remove unused macro.
641 * fakemail.c: Include <ignore-value.h>.
642 (put_line): Explicitly ignore fwrite return value, for benefit of
644 (close_the_streams): Diagnose output errors instead of merely
645 exiting with nonzero status.
646 (my_fclose, main): Diagnose input errors, and exit with nonzero status.
647 Formerly, input errors were silently ignored.
649 * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
650 All callers changed. This is cleaner, and avoids GCC warnings about
651 passing NULL to fputs.
652 (insert_keyword): Rename parameter to avoid shadowing diagnostic.
654 2011-02-25 Paul Eggert <eggert@cs.ucla.edu>
656 * emacsclient.c (main): Avoid dangling 'if'.
657 (xstrdup): Remove; no longer needed.
658 (get_current_dir_name, w32_getenv, get_server_config, find_tty):
659 (set_local_socket, main):
660 Use const char *, not char *, for pointers that are not assigned
662 (IF_LINT): New macro.
663 (set_local_socket, main): Use it to suppress warnings with
666 * emacsclient.c: Redo local variables to avoid shadowing problems.
667 (message, socket_status, start_daemon_and_retry_set_socket):
669 (main): Move decl of "i".
671 * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
672 This avoids an unused-macro warning with some GCC settings.
674 * make-docfile.c (write_globals): Change char * to char const *
675 to avoid a GCC "assignment discards qualifiers" diagnostic
676 in some configurations.
677 (scan_c_file): Refactor local variable decls to make their scope
678 more accurate and to avoid a GCC -Wuninitialized diagnostic.
680 2011-02-22 Eli Zaretskii <eliz@gnu.org>
682 * etags.c (canonicalize_filename, ISUPPER): Fix last change.
684 * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)):
685 Depend on ../lib/min-max.h.
687 2011-02-22 Paul Eggert <eggert@cs.ucla.edu>
689 etags: Downcase drive letters, for consistency with Emacs proper.
690 * etags.c (upcase): Remove; no longer used.
691 (canonicalize_filename): Downcase drive letters.
693 Assume S_ISLNK etc. work, since gnulib supports this.
694 * etags.c (S_ISREG): Remove.
696 2011-02-22 Paul Eggert <eggert@cs.ucla.edu>
698 Assume S_ISLNK etc. work, since gnulib supports this.
699 * etags.c (S_ISREG): Remove.
701 2011-02-22 Juanma Barranquero <lekktu@gmail.com>
703 * makefile.w32-in (obj): Remove filemode.o.
705 2011-02-21 Paul Eggert <eggert@cs.ucla.edu>
707 New file "lib/min-max.h".
708 * ebrowse.c (min, max): Define them by including <min-max.h>
709 instead of defining it ourselves.
710 * pop.c (min): Likewise.
711 * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
713 * movemail.c (popmail): Report fchown failure instead of ignoring it.
714 But if the file already has the right ownership, don't worry about it.
716 * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
717 * test-distrib.c (buf): Make this local, to avoid shadowing.
719 * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
720 (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
721 (DONE): Remove unused macro.
722 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
723 Define these macros only in the contexts that need them.
724 * pop.c (index): Remove unused macro.
725 (KPOP_PORT): Define only if KERBEROS is defined.
727 Declare file-scope functions and variables static if not exported.
728 This is more consistent, and is nicer with gcc -Wstrict-prototypes.
729 * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
730 * profile.c, test-distrib.c, update-game-score.c:
731 Declare non-'main' functions and variables to be static.
732 * ebrowse.c: Omit redundant function prototypes.
734 2011-02-21 Eli Zaretskii <eliz@gnu.org>
736 * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
737 ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
738 Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
740 2011-02-21 Ben Key <bkey76@gmail.com>
742 * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
745 2011-02-20 Juanma Barranquero <lekktu@gmail.com>
747 * makefile.w32-in (obj): Remove md5.o.
749 2011-02-18 Karl Chen <Karl.Chen@quarl.org>
751 * emacsclient.c (main): Loop while `recv' return EINTR.
753 2011-02-09 Paul Eggert <eggert@cs.ucla.edu>
755 * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
756 This avoids collision with config.h's EMACS_INT on some
757 configurations. All uses changed.
759 2011-02-08 Tom Tromey <tromey@redhat.com>
761 * make-docfile.c: Unconditionally include stdlib.h.
762 (generate_globals): New global.
763 (xrealloc): New function.
764 (main): Handle '-g'. Call start_globals, write_globals.
765 (scan_file): Conditionally call put_filename.
766 (start_globals): New function.
767 (struct global): New.
768 (num_globals, globals): New globals.
769 (add_global, compare_globals, write_globals): New functions.
770 (scan_c_file): Update for "-g".
771 (scan_lisp_file): Fail if "-g".
773 2011-02-05 Paul Eggert <eggert@cs.ucla.edu>
775 * emacsclient.c: Conform to C89 pointer rules.
776 (file_name_absolute_p): Accept const char *, not const unsigned
777 char *, to satisfy C89 rules.
779 2011-02-02 Eli Zaretskii <eliz@gnu.org>
781 * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
782 Add ``-DEMACS_NAME="\"GNU Emacs\""''.
783 (obj): Remove strftime.o.
785 2011-01-31 Eli Zaretskii <eliz@gnu.org>
787 * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
788 (ECLIENT_CFLAGS): Remove -DVERSION.
789 ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
791 2011-01-31 Paul Eggert <eggert@cs.ucla.edu>
793 src/emacs.c now gets version number from configure.in
794 * ebrowse.c: Adjust comment to say that.
796 2011-01-30 Jim Meyering <meyering@redhat.com>
798 make-docfile: don't corrupt heap for an invalid .elc file
799 "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
800 one byte before just-malloc'd saved_string buffer.
801 * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
802 doc string length. Also fix an always-false while-loop test.
804 2011-01-29 Eli Zaretskii <eliz@gnu.org>
806 * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
807 (GETOPTOBJS, GETOPTDEPS): Remove targets.
808 (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
809 ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
810 (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
811 and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
812 (clean): Don't remove getopt.h.
813 (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
814 ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
815 $(EMACS_ROOT)/lib/getopt.h.
817 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
819 * ntlib.c (setregid): New stub, renamed from setegid.
821 * ntlib.h: Update prototype.
823 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
825 * movemail.c (main): Use setregid instead of setegid, which is
826 missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
828 2011-01-23 Paul Eggert <eggert@cs.ucla.edu>
830 Check return values of some library calls.
831 * hexl.c (main): Check fread result.
832 * make-docfile.c (main): Check chdir result.
833 (scan_c_file): Check fscanf result.
834 * movemail.c (main): Check ftruncate result.
836 2011-01-17 Paul Eggert <eggert@cs.ucla.edu>
838 Include <unistd.h> unilaterally.
839 * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
840 * pop.c, test-distrib.c, update-game-score.c:
841 Include <unistd.h> without worrying about HAVE_UNISTD_H, since
842 unistd.h is always present now, possibly supplied by gnulib.
844 Include <getopt.h> not "getopt.h".
845 * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
846 Since getopt.h is no longer in this directory, there's no point
847 using the form with double-quotes.
850 * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
851 These files are now in ../lib, copied from gnulib.
853 Use gnulib's getopt-gnu module.
854 * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
855 as these are now done by gnulib.
856 (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
857 Remove; now done by gnulib. All uses removed.
859 Automate syncing from gnulib.
860 * Makefile.in (EXE_FILES): New macro.
861 (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
862 for gnulib's .h files.
863 (LOADLIBES): Add ../lib/libgnu.a.
864 ($(EXE_FILES)): Depend on ../lib/libgnu.a.
865 (../lib/libgnu.a): New rule.
867 2011-01-08 Paul Eggert <eggert@cs.ucla.edu>
869 * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
871 2011-01-08 Glenn Morris <rgm@gnu.org>
873 * Makefile.in (EMACSOPT): Add --no-site-lisp.
875 * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
877 2011-01-02 Glenn Morris <rgm@gnu.org>
879 * ebrowse.c (version) <emacs_copyright>:
880 * etags.c (print_version) <emacs_copyright>:
881 * rcs2log (Copyright): Set short copyright year to 2011.
883 2010-11-27 Joe Matarazzo <joe.matarazzo@gmail.com> (tiny change)
885 * ebrowse.c (yylex): If end of input buffer encountered while
886 searching for a newline after "//", return YYEOF. (Bug#7446)
888 2010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
890 * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
891 definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
893 2010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
895 * test-distrib.c: Remove include guards for config.h and fcntl.h.
896 (O_RDONLY): Do not define.
897 (cool_read): Fix type for variable "sofar".
899 2010-10-25 Glenn Morris <rgm@gnu.org>
901 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
903 2010-10-23 Glenn Morris <rgm@gnu.org>
905 * digest-doc.c, sorted-doc.c: Remove files.
906 * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
907 (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
908 * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
909 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
910 ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
911 (install): Don't install digest-doc.exe or sorted-doc.exe.
913 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
915 * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
917 2010-10-09 Glenn Morris <rgm@gnu.org>
919 * b2m.c, b2m.pl: Remove files.
920 * Makefile.in (INSTALLABLES): Remove b2m.
921 * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
923 2010-10-08 Glenn Morris <rgm@gnu.org>
925 * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
926 DARWIN_USER_TEMP_DIR. (Bug#3992)
928 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
930 * test-distrib.c (cool_read):
931 * movemail.c (main, concat):
932 * make-docfile.c (scan_file, write_c_args):
933 * emacsclient.c (get_server_config): Fix -Wconversion warning.
934 (egetenv): Move conditional definition earlier.
935 (progname): Use const.
936 * sorted-doc.c (xstrdup): Use const.
938 * Makefile.in: Remove ^L, old makes choke on it.
940 2010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change)
942 * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
943 error string (Bug#6963).
945 2010-10-02 Juanma Barranquero <lekktu@gmail.com>
947 * makefile.w32-in (tags): Remove target.
949 2010-10-01 Eli Zaretskii <eliz@gnu.org>
951 * makefile.w32-in (tags, TAGS): New targets.
953 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
955 * emacsclient.c (get_server_config): Don't read Emacs pid from
956 the authentication file.
958 2010-09-29 Juanma Barranquero <lekktu@gmail.com>
960 * makefile.w32-in (../src/config.h): Remove target, it is stale.
962 * emacsclient.c (main): Remove unused variables.
963 (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
965 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
967 * etags.c (compressors, print_language_names): Support xz compression.
969 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
971 * fakemail.c: Include stdlib.h for getenv. Remove declaration of
972 popen, fclose and pclose.
973 (my_name, fatal, error, put_line): Use const char*.
974 (main): Remove extern getenv, mail_program_name is const char*.
976 * update-game-score.c (get_prefix, write_scores, main): Use const char*.
978 * sorted-doc.c (error, fatal, states): Use const char *.
980 * pop.h (pop_multi_first): Use const char *.
983 * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
985 * movemail.c (fatal, error, concat): Use const char *.
987 * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
990 * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
991 (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
992 (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
993 (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
994 (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
995 (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
996 (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
997 (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
998 (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
999 (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
1000 (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
1001 (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
1002 (no_lang_help, print_language_names)
1003 (get_language_from_interpreter, get_language_from_filename)
1004 (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
1005 (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
1006 (concat): Use const char*.
1008 * emacsclient.c (message, sock_err_message, send_to_emacs)
1009 (quote_argument, set_local_socket)
1010 (start_daemon_and_retry_set_socket): Use const char*.
1012 * ebrowse.c (struct member): filename, def_filename is const.
1013 (struct sym): filename, sfilename is const.
1014 (struct kw): name is const.
1015 (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
1017 * b2m.c (concat, fatal): Use const char*.
1018 (main): Don't assign labels a string literal.
1020 2010-08-07 Juanma Barranquero <lekktu@gmail.com>
1022 * ebrowse.c (usage, version, mark_virtual):
1023 Remove duplicate declarations.
1025 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
1027 * emacsclient.c: Move socket related #includes together with the
1028 rest of the #includes. Move WINDOWSNT includes closer together.
1029 (HAVE_CONFIG_H): Remove.
1030 (NO_RETURN): Remove, defined in config.h.
1031 (main): Convert definition to standard C.
1033 2010-07-29 Juanma Barranquero <lekktu@gmail.com>
1035 * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
1037 2010-07-25 Juanma Barranquero <lekktu@gmail.com>
1039 * emacsclient.c (getcwd): Fix previous change: make getcwd
1040 conditional on HAVE_GETCWD and declare with the correct POSIX
1041 profile (for some reason MinGW headers define its 2nd arg as int,
1042 not size_t; but getcwd is not used on Windows nonetheless).
1044 2010-07-25 Juanma Barranquero <lekktu@gmail.com>
1046 * emacsclient.c (getcwd, w32_getenv):
1047 * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
1049 2010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
1051 * update-game-score.c (usage): Add NO_RETURN specifier.
1052 * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
1053 * make-docfile.c (fatal):
1055 * fakemail.c (fatal):
1056 * etags.c (fatal, suggest_asking_for_help, pfatal):
1057 * emacsclient.c (fatal):
1058 * b2m.c (fatal): Likewise.
1060 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
1062 * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
1064 2010-07-20 Juanma Barranquero <lekktu@gmail.com>
1066 * emacsclient.c (get_current_dir_name, w32_get_resource)
1067 (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
1068 (close_winsock, initialize_sockets, w32_find_emacs_process)
1070 * ntlib.c (getlogin, getuid, getgid, getegid):
1071 Convert definitions to standard C.
1073 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
1075 * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
1076 (PROFILING_LDFLAGS): Set from substitution.
1077 (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
1078 (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
1079 (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
1081 2010-07-12 Eli Zaretskii <eliz@gnu.org>
1083 * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
1084 2010-07-12T05:25:46Z!handa@etlken).
1086 2010-07-11 Andreas Schwab <schwab@linux-m68k.org>
1088 * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
1090 * movemail.c (mail_spool_name, popmail): Likewise.
1091 * pop.c (pop_list): Likewise.
1093 2010-07-11 Eli Zaretskii <eliz@gnu.org>
1095 * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
1096 and unexw32.o. (Bug#6603)
1098 2010-07-10 Eli Zaretskii <eliz@gnu.org>
1100 * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
1102 2010-07-09 Andreas Schwab <schwab@linux-m68k.org>
1104 * make-docfile.c (write_c_args): Restructure scanning loop.
1106 2010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
1108 * make-docfile.c (write_c_args): Deal with type names in DEFUN
1111 2010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
1113 * update-game-score.c (P_): Remove macro.
1114 * ebrowse.c: Remove include guards.
1117 2010-07-07 Andreas Schwab <schwab@linux-m68k.org>
1119 * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
1120 memcpy, memmove, memset.
1121 * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
1123 2010-07-06 Andreas Schwab <schwab@linux-m68k.org>
1125 * movemail.c: Add MAIL_USE_POP around prototypes.
1126 Include <string.h> if HAVE_STRING_H.
1127 (strerror): Only declare if !HAVE_STRERROR.
1128 (fatal): Make static.
1130 (pfatal_with_name): Likewise.
1131 (pfatal_and_delete): Likewise.
1133 (xmalloc): Likewise.
1134 (popmail): Likewise.
1135 (pop_retr): Likewise.
1136 (mbx_write): Likewise.
1137 (mbx_delimit_begin): Likewise.
1138 (mbx_delimit_end): Likewise.
1140 2010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
1142 * fakemail.c (action): Convert function definitions to standard C.
1144 * test-distrib.c (cool_read):
1147 2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
1149 * sorted-doc.c (cmpdoc): Fix signature.
1150 (qsort_compare): Delete.
1151 (main): Remove cast.
1153 2010-07-03 Juanma Barranquero <lekktu@gmail.com>
1155 * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
1157 2010-07-03 Juanma Barranquero <lekktu@gmail.com>
1159 Fix prototype warnings.
1161 * ebrowse.c (match_qualified_namespace_alias):
1162 Pass sym* to find_namespace, not link*.
1164 * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
1166 * sorted-doc.c (qsort_compare): New typedef.
1167 (main): Use it to cast cmpdoc.
1169 2010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
1171 * update-game-score.c: Convert function definitions to standard C.
1184 2010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
1186 * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
1187 * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
1188 standard C prototypes.
1190 2010-07-02 Jan Djärv <jan.h.d@swipnet.se>
1192 * ebrowse.c: Remove P_ and __P.
1196 * update-game-score.c: Likewise.
1198 2010-06-24 Juanma Barranquero <lekktu@gmail.com>
1200 * movemail.c (error): Avoid warning when there are no args.
1202 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
1204 * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
1205 and vc/ediff-hook.elc.
1207 2010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
1209 * ntlib.h: Remove code dealing with BSTRING.
1211 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
1213 * emacsclient.c (longopts, decode_options, print_help_and_exit):
1214 New arg `-parent-id'.
1215 (main): Send parent-id to Emacs.
1217 2010-05-27 Glenn Morris <rgm@gnu.org>
1219 * Makefile.in (distclean): No more Makefile.c.
1221 2010-05-22 Jan Djärv <jan.h.d@swipnet.se>
1223 * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
1224 (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
1225 (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
1226 New rules (Bug #6246).
1227 (clean): Remove stamp-* (Bug #6246).
1229 2010-05-12 Glenn Morris <rgm@gnu.org>
1231 * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
1233 2010-05-11 Glenn Morris <rgm@gnu.org>
1235 * Makefile.in (.m.o): Remove, there are no .m files.
1236 (BASE_CFLAGS): New variable.
1237 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
1238 (check): Update the message.
1239 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
1241 * Makefile.in: Convert comments to makefile format.
1243 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
1244 (config.h) [MSDOS]: Do not include.
1246 2010-05-10 Glenn Morris <rgm@gnu.org>
1248 * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
1249 (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
1250 (NOT_C_CODE): Remove, no longer used.
1251 (config.h) [!MSDOS]: No longer include.
1252 (LOADLIBES): Use LIBS_SYSTEM as a variable.
1254 * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
1256 2010-05-08 Glenn Morris <rgm@gnu.org>
1258 * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
1260 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
1262 * Version 23.2 released.
1264 2010-05-06 Glenn Morris <rgm@gnu.org>
1266 * Makefile.in: Minimize blessmail-related cpp usage.
1267 (BLESSMAIL_TARGET): New variable.
1268 (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
1269 (blessmail): Always define this rule.
1270 (need-blessmail): New rule, split out from maybe-blessmail.
1271 (maybe-blessmail): Use BLESSMAIL_TARGET.
1273 2010-05-04 Glenn Morris <rgm@gnu.org>
1275 * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
1276 @c_switch_system@, @c_switch_machine@.
1278 2010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
1280 * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
1282 2010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
1284 * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
1287 2010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
1289 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
1291 (ALL_CFLAGS): Use them as make variables.
1293 2010-04-07 Christoph Scholtes <cschol2112@googlemail.com>
1295 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
1296 for macros for nmake compatibility.
1298 2010-04-03 Juanma Barranquero <lekktu@gmail.com>
1300 Add stubs for Windows, required after CVE-2010-0825 change.
1301 * ntlib.c (getgid, getegid, setegid): New stubs.
1302 * ntlib.h (getgid, getegid, setegid): Declare them.
1304 2010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
1306 * movemail.c (main): Check return values of setuid.
1307 Avoid possibility of symlink attack when movemail is setgid mail
1310 2010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
1312 Remove extern errno declarations.
1315 * emacsclient.c: Remove extern errno declarations.
1317 2010-03-20 Glenn Morris <rgm@gnu.org>
1319 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
1320 (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
1321 defining these as Makefile variables.
1322 (LIBS_MOVE): Add LIBS_MAIL into this.
1323 (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
1325 2010-03-18 Glenn Morris <rgm@gnu.org>
1327 * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
1328 (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
1329 (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
1331 2010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
1333 * Makefile.in (uninstall): Handle the case where archlibdir does not
1336 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
1340 2010-02-20 Kevin Ryde <user42@zip.com.au>
1342 * etags.c (Scheme_functions): Don't loop past a null character
1345 2010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
1347 * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
1349 2010-01-11 Glenn Morris <rgm@gnu.org>
1351 * ebrowse.c (version):
1352 * etags.c (print_version):
1353 * rcs2log (Copyright): Set copyright year to 2010.
1355 2009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
1357 * makefile.w32-in: Use parenthesis for macros for nmake
1360 2009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
1362 * etags.c (absolute_filename): Use memmove if we have it for
1365 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
1367 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
1369 2009-10-15 Juanma Barranquero <lekktu@gmail.com>
1371 * .gitignore: Add echolisp.tmp.
1373 2009-10-15 Glenn Morris <rgm@gnu.org>
1375 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
1377 * makefile.w32-in (echolisp): New rule.
1378 (clean): Delete echolisp.tmp.
1380 2009-09-27 Eli Zaretskii <eliz@gnu.org>
1382 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
1383 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
1384 be consistent with src/Makefile.in.
1386 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1388 * update-game-score.c (main): Sort scores before trimming them,
1389 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
1391 2009-09-09 Glenn Morris <rgm@gnu.org>
1393 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
1394 before creating directories and game score files.
1396 2009-08-19 Glenn Morris <rgm@gnu.org>
1398 * cvtmail.c: Remove file.
1399 * Makefile.in (UTILITIES): Remove cvtmail.
1400 (cvtmail${EXEEXT}): Remove.
1402 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
1404 * b2m.c (main): Ensure that each message ends in two newlines.
1406 2009-07-03 Jason Rumney <jasonr@gnu.org>
1408 * emacsclient.c (w32_set_user_model_id): Use standard types.
1410 2009-07-03 Eli Zaretskii <eliz@gnu.org>
1412 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
1413 src/Makefile.in did.
1415 2009-06-30 Jason Rumney <jasonr@gnu.org>
1417 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
1418 that is already loaded.
1419 (w32_set_user_model_id): New function.
1420 (main): Use it to associate emacsclient with emacs (bug#1849).
1422 2009-06-29 Jim Meyering <meyering@redhat.com>
1424 Remove useless if-before-free test.
1425 * make-docfile.c (scan_lisp_file): Remove useless test.
1427 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
1429 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
1431 2009-06-21 Chong Yidong <cyd@stupidchicken.com>
1435 2006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
1438 * Makefile.in (mac-fix-env): Remove.
1440 2006-06-06 David Reitter <david.reitter@gmail.com>
1442 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
1444 2009-04-20 Juanma Barranquero <lekktu@gmail.com>
1446 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
1447 spacing is required in the message output, as the comment suggests).
1449 2009-04-20 Chong Yidong <cyd@stupidchicken.com>
1451 * emacsclient.c (print_help_and_exit): Clarify argument placement
1452 for short option names.
1454 2009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
1456 * emacsclient.c (print_help_and_exit): Fix typo.
1458 2009-03-21 Eli Zaretskii <eliz@gnu.org>
1460 * ntlib.c (setuid): Argument is now unsigned.
1461 (getuid): Return value is now unsigned.
1462 (getpwuid): Argument is now unsigned.
1463 (fchown): UID and GID arguments are now unsigned.
1465 * ntlib.h (fchown): UID and GID arguments are now unsigned.
1466 (getuid): Return value is now unsigned.
1467 (setuid): Argument is now unsigned.
1468 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
1470 2009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1472 * emacsclient.c (main): Revert part of last change, so
1473 drive-relative file names again work on Windows.
1475 2009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1477 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
1478 names without prepending cwd to them, so Emacs uses its customary
1479 rules to determine how to interpret the file name.
1481 2009-03-04 Glenn Morris <rgm@gnu.org>
1483 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
1485 2009-02-13 Sven Joachim <svenjoac@gmx.de>
1487 * movemail.c: Include time.h unconditionally.
1488 (main): Use time_t for time variables.
1490 2009-02-11 Glenn Morris <rgm@gnu.org>
1492 * movemail.c (mbx_delimit_begin): Also write the current time.
1494 2009-02-10 Glenn Morris <rgm@gnu.org>
1496 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
1497 than Babyl format. (Bug#2196)
1499 2009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
1501 * emacsclient.c (decode_options): Use a dummy display name under
1504 2009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
1506 * ebrowse.c (matching_regexp): Fix OB1 error.
1508 2009-01-05 Glenn Morris <rgm@gnu.org>
1510 * ebrowse.c (version):
1511 * etags.c (print_version):
1512 * rcs2log (Copyright): Update copyright for 2009.
1514 2009-01-01 Chong Yidong <cyd@stupidchicken.com>
1516 * movemail.c (main): Fatal if hard links cannot be created.
1518 2008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
1520 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
1523 2008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
1525 * emacsclient.c: Include syswait.h instead of sys/types.h.
1527 2008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
1529 * emacsclient.c (WCONTINUED): New compatibility define
1532 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1534 * emacsclient.c (main): Fix previous change.
1536 2008-12-10 Juanma Barranquero <lekktu@gmail.com>
1538 * emacsclient.c (main): Fix mindless breakage where emacsclient
1539 does not work *at all* on Windows, even if it *can* connect.
1541 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1543 * emacsclient.c (EMACS_DAEMON): Remove definition.
1544 (decode_options): Do not allow an empty alternate_editor on
1546 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
1547 (start_daemon_and_retry_set_socket): Likewise.
1548 (main): Fail in case of not being able to connect.
1550 2008-12-10 Juanma Barranquero <lekktu@gmail.com>
1552 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
1553 Changes when EMACS_DAEMON is not defined:
1554 (print_help_and_exit): Don't add daemon information to help.
1555 (start_daemon_and_retry_set_socket): Make a no-op.
1556 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
1558 2008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
1560 * emacsclient.c (print_help_and_exit): Describe what an empty
1561 string argument does for --alternate-editor.
1562 (set_socket): Make it possible to not exit in case of an error.
1563 (start_daemon_and_retry_set_socket): New function.
1564 (main): Use it. Restore the NULL value for socket_name and
1565 server_file after the set_socket call.
1567 2008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1569 * emacsclient.c: Include <arpa/inet.h>.
1571 2008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
1573 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
1575 2008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
1577 * etags.c (add_regex): Pass correct length to re_compile_pattern.
1579 2008-11-02 Chong Yidong <cyd@stupidchicken.com>
1581 * emacsclient.c (window_system): Delete redundant variable.
1582 (decode_options): Don't use it.
1583 (find_tty): New function.
1584 (main): Use find_tty, and don't use window_system.
1586 2008-11-01 Eli Zaretskii <eliz@gnu.org>
1588 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
1590 (w32_getenv): Treat $TERM specially: if not found in the
1591 environment and in the Registry, return "w32console".
1592 (ttyname) [WINDOWSNT]: New function.
1594 2008-10-31 Andreas Schwab <schwab@suse.de>
1596 * emacsclient.c (main): Don't force sending tty when in eval mode.
1598 2008-10-30 Chong Yidong <cyd@stupidchicken.com>
1600 * emacsclient.c (main): If using the current frame, send tty
1601 information to Emacs in case daemon mode needs to occupy this tty.
1603 2008-10-29 Juanma Barranquero <lekktu@gmail.com>
1605 * emacsclient.c (EXTRA_SPACE): New macro.
1606 (get_server_config, set_local_socket): Use it.
1608 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
1609 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
1611 2008-10-29 Ulrich Mueller <ulm@gentoo.org>
1613 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
1614 instead of hardcoded /tmp.
1616 2008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
1618 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
1619 (decode_options): Use getopt_long_only.
1621 2008-09-30 Eli Zaretskii <eliz@gnu.org>
1623 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
1626 2008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
1628 * emacsclient.c (main): Use stdout rather than stdin to obtain the
1631 2008-08-25 Francesco Potortì <pot@gnu.org>
1633 * etags.c (main): Do not use static space for the tagfile string.
1635 2008-08-17 Francesco Potortì <pot@gnu.org>
1637 * etags.c (main): Use canonicalize_filename on tags file name.
1638 (relative_filename): Revert 3.85: do not collapse slashes here.
1639 (absolute_dirname): Remove useless call to canonicalize_filename.
1640 (canonicalize_filename): Collapse multiple slashes here.
1642 2008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
1644 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
1645 Do not special case for NS_IMPL_COCOA.
1647 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
1649 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
1650 (.m.o): Dispense with GNUstep-specific flags.
1652 2008-08-05 Ulrich Mueller <ulm@gentoo.org>
1654 * pop.c (socket_connection): Add conditionals for
1655 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
1656 compilation with MIT Kerberos and Heimdal, respectively.
1658 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
1661 * emacsclient.c: Remove VMS support.
1663 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
1665 Remove support for Mac Carbon.
1667 * emacsclient.c: Remove code for Carbon.
1669 2008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
1671 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
1673 2008-07-17 Andreas Schwab <schwab@suse.de>
1675 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
1676 (LIB_STANDARD_LIBSRC): Don't define.
1677 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
1679 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
1681 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
1684 2008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
1686 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
1689 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
1691 * .cvsignore: Add mac-fix-env.
1692 * mac-fix-env.m: New file, automatically update
1693 ~/.MacOSX/environment.plist on OS X systems to expose environment
1694 variables inside Emacs started from icon.
1695 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
1697 * make-docfile.c: Add .m to list of file extensions.
1699 2008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
1701 * movemail.c (main): Use int instead of WAITTYPE.
1703 2008-07-05 Juanma Barranquero <lekktu@gmail.com>
1705 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
1706 Remove vmsproc.el and vms-patch.el.
1708 2008-06-26 Juanma Barranquero <lekktu@gmail.com>
1710 * makefile.w32-in (obj): Remove w32bdf.o.
1712 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
1714 * fakemail.c: Remove references to obsolete variables.
1716 2008-06-02 Jim Meyering <meyering@redhat.com>
1718 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
1720 Remove useless if-before-free tests.
1721 * ebrowse.c (xfree): Likewise.
1722 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
1723 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
1724 * pop.c (pop_quit): Likewise.
1726 2008-05-30 Juanma Barranquero <lekktu@gmail.com>
1728 * makefile.w32-in (lisp2): Add minibuffer.elc.
1730 2008-05-29 Tom Tromey <tromey@redhat.com>
1732 * etags.c (relative_filename): Treat "///" like "/" in filenames.
1734 2008-05-09 Eli Zaretskii <eliz@gnu.org>
1736 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
1737 (IS_DIRECTORY_SEP): New macro.
1738 (convert_time, is_exec, stat): New functions.
1740 2008-05-08 Eli Zaretskii <eliz@gnu.org>
1742 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
1744 2008-05-03 Eli Zaretskii <eliz@gnu.org>
1746 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
1747 corresponding change in src/Makefile.in.
1749 2008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
1751 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
1753 2008-04-10 Jason Rumney <jasonr@gnu.org>
1755 * makefile.w32-in (CLIENTRES): New variable and target.
1757 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
1759 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1761 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
1763 2008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
1765 * vcdiff: Use mktemp (CVE-2008-1694).
1767 2008-04-09 Jason Rumney <jasonr@gnu.org>
1769 * makefile.w32-in (distclean, maintainer-clean): New targets.
1771 2008-03-13 Glenn Morris <rgm@gnu.org>
1773 * makefile.w32-in (VERSION): Set to 23.0.60.
1775 2008-03-04 Juanma Barranquero <lekktu@gmail.com>
1777 * .cvsignore: Add oo.
1779 2008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
1781 * etags.c (Perl_functions): Fix call to skip_spaces.
1783 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
1785 * Makefile.in (NO_SHORTNAMES):
1786 * emacsclient.c (NO_SHORTNAMES):
1787 * fakemail.c (NO_SHORTNAMES):
1788 * make-docfile.c (NO_SHORTNAMES):
1789 * movemail.c (NO_SHORTNAMES):
1790 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
1792 2008-02-23 Jason Rumney <jasonr@gnu.org>
1794 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
1795 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
1796 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
1797 (lisp2): Add new languages.
1798 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
1800 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
1802 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
1803 malayalam.el, and tamil.el. Add sinhala.el.
1805 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
1807 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
1808 where NAME is relative to DRIVE'S current directory.
1810 2008-02-15 Juanma Barranquero <lekktu@gmail.com>
1812 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
1814 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
1816 * fakemail.c: Undo previous change.
1818 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
1820 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
1821 (main): Replace MAIL_PROGRAM_NAME with its value.
1823 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
1825 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1827 * emacsclient.c (decode_options): Pass --display implicitly if -c
1828 is specified. Only set tty if -t or -c is specified.
1830 2008-02-04 Jason Rumney <jasonr@gnu.org>
1832 * makefile.w32-in (lisp1): Use (), not {}.
1834 2008-02-04 Tom Tromey <tromey@redhat.com>
1836 * etags.c: Add "GTY" as synonym for __attribute__.
1837 Update gperf output.
1839 2008-02-01 Jason Rumney <jasonr@gnu.org>
1841 * makefile.w32-in (obj): Sync with src/Makefile.in.
1842 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
1843 (WINNT_SUPPORT): Add term/w32-win.elc.
1844 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
1846 2008-02-01 Jason Rumney <jasonr@gnu.org>
1848 * makefile.w32-in (obj): Add font.o and w32font.o.
1850 2008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
1852 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
1853 utf-8.elc, and latin-*.el.
1855 2008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1857 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
1858 Allow the -d option under w32 again, for those rare cases where it
1859 actually does make sense.
1861 2008-01-25 Juanma Barranquero <lekktu@gmail.com>
1863 * emacsclient.c (set_tcp_socket): Don't send "\n" after
1864 the authentication string; there's no need to haste.
1866 2008-01-22 Chong Yidong <cyd@stupidchicken.com>
1868 * pop.c (pop_stat, pop_last): Fix last fix.
1870 2008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
1872 * movemail.c: Remove references to XENIX.
1874 2008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
1877 * make-docfile.c: Remove reference to symbols defined by systems
1878 not supported anymore: MAC_OS8, XENIX and STRIDE.
1880 2008-01-12 Eli Zaretskii <eliz@gnu.org>
1882 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
1883 of DISPLAY in the environment. Don't support -d.
1884 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
1885 (longopts) [WINDOWSNT]: Remove --display.
1887 2008-01-10 Chong Yidong <cyd@stupidchicken.com>
1889 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
1890 conversion. Mistakes spotted by Nico Golde.
1892 2008-01-09 Glenn Morris <rgm@gnu.org>
1894 * emacsclient.c: Add missing final newlines to message calls.
1896 2008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
1898 * emacsclient.c (set_socket): Add final newline to socket error message.
1900 2008-01-04 Glenn Morris <rgm@gnu.org>
1902 * ebrowse.c (version) <emacs_copyright>: New variable.
1903 Just use current year for copyright.
1905 * etags.c (print_version):
1906 * rcs2log (Copyright): Update to 2008.
1908 2007-11-28 Jason Rumney <jasonr@gnu.org>
1910 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
1912 2007-11-27 Jan Djärv <jan.h.d@swipnet.se>
1914 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
1916 2007-11-19 Jan Djärv <jan.h.d@swipnet.se>
1918 * pop.c (socket_connection): Move realhost out of #ifdefs.
1919 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
1921 2007-11-18 Jan Djärv <jan.h.d@swipnet.se>
1923 * pop.c (socket_connection): Use getaddrinfo if available.
1925 2007-11-22 Francesco Potortì <pot@gnu.org>
1927 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
1928 as the defaults in ctags are different from etags.
1930 2007-11-15 Francesco Potortì <pot@gnu.org>
1932 * etags.c: Make prototypes for extern definitions, and add all
1933 that are needed to quench warnings on 64-bit.
1934 (main): Use the same defaults for ctags as for etags: find
1935 typedefs, structure tags, macro constants, enum constants, struct
1936 members and global variables.
1937 (make_C_tag) [DEBUG]: Add debugging printout.
1938 (C_entries): In case '}' decrement bracelev before testing it.
1940 2007-11-15 Masatake YAMATO <jet@gyve.org>
1942 * etags.c (C_entries): In case '}', set fvdef to fvnone
1943 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
1945 2007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
1947 * makefile.w32-in (obj): Remove sunfns.o.
1949 2007-10-28 Juanma Barranquero <lekktu@gmail.com>
1951 * makefile.w32-in (obj): Remove abbrev.o.
1953 2007-10-26 Juanma Barranquero <lekktu@gmail.com>
1955 * emacsclient.c: Add a wrapper for getenv so it also checks the
1956 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
1957 Code partially based on w32_get_resource and init_environment (w32.c).
1958 (egetenv): New wrapper for getenv.
1959 (get_current_dir_name, decode_options, get_server_config)
1960 (set_local_socket, set_socket, main): Use egetenv, not getenv.
1961 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
1963 2007-10-25 Jason Rumney <jasonr@gnu.org>
1965 * emacsclient.c (sock_err_message): New function.
1966 (set_tcp_socket): Use it.
1968 2007-10-09 Juanma Barranquero <lekktu@gmail.com>
1970 * emacsclient.c (print_help_and_exit): Fix space to improve
1971 alignment in output messages.
1973 2007-09-27 Jason Rumney <jasonr@gnu.org>
1975 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
1977 * emacsclient.c (w32_window_app): Init common controls when windowed.
1979 2007-09-21 Glenn Morris <rgm@gnu.org>
1981 * emacstool.c: Remove file.
1982 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
1983 Delete targets built from emacstool.
1985 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1987 * emacsclient.c (decode_options): -t implies -c.
1989 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1991 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
1992 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
1993 (main_argc): Remove.
1994 (strprefix): Use strncmp.
1996 2007-09-20 Jason Rumney <jasonr@gnu.org>
1998 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
2000 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2002 * emacsclient.c (current_frame): Change the default.
2003 (longopts): Replace --current-frame by --create-frame.
2004 (decode_options): Reverse the meaning of -c.
2005 (print_help_and_exit): Update help text accordingly.
2006 (main): Remove the -version and -good-version messages.
2008 2007-09-12 Glenn Morris <rgm@gnu.org>
2010 * Makefile.in (SOURCES, unlock, relock): Delete.
2012 2007-08-29 Glenn Morris <rgm@gnu.org>
2014 * makefile.w32-in (VERSION): Increase to 23.0.50.
2016 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
2018 * emacsclient.c (w32_execvp): Move definition before use.
2019 (decode_options): Don't use a tty on mac carbon or windows.
2021 2007-08-29 Jason Rumney <jasonr@gnu.org>
2023 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
2024 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
2025 (main): Expand removed macros inline.
2026 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
2028 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
2030 2007-08-29 Károly Lőrentey <lorentey@elte.hu>
2032 * emacsclient.c (signal.h): New include.
2033 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
2034 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
2035 Copy definitions here from src/lisp.h.
2036 (main_argc, main_argv, current_frame, window_system, tty): New vars.
2037 (longopts): Add tty, current-frame.
2038 (xmalloc, xstrdup): New functions.
2039 (get_current_dir_name): New function, copied from src/sysdep.c.
2040 (decode_options): Set display from environment. Add tty and
2041 current_frame options. Make --no-wait imply --current-frame,
2042 except when it is the only option given. Make sure no frame is
2043 opened when --current-frame is set.
2044 (print_help_and_exit): Document tty and current-frame options.
2045 (fail): Change arguments to void.
2046 (main): When sockets are not defined, set main_argc, main_argv,
2047 and call fail() with no arguments.
2048 (emacs_socket): New variable (moved out from main `s').
2049 (quote_file_name): Rename to quote_argument.
2050 (quote_argument): New name for old quote_file_name.
2051 (unquote_argument, strprefix, pass_signal_to_emacs)
2052 (handle_sigcont, handle_sigtstp, init_signals): New functions.
2053 (set_local_socket): Initialize saved_errno to 0. If socket-name
2054 is too long, call `fail' rather than `exit'.
2055 (main): Doc update. Set main_argc, main_argv. New var `str'.
2056 Don't need a filename or argument if tty or window_system set.
2057 Call fail with no arguments. Use get_current_dir_name to send
2058 over the current directory. Send version number to Emacs for
2059 verification. If tty is set, check TERM, and pass name and type
2060 to Emacs. Pass window_system to Emacs. Move sending of eval to
2061 optind loop. Send -position, -file to Emacs. Call fsync after
2062 fflush. Check for a client/server version match.
2063 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
2064 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
2065 close the connection for us. When creating a new frame, send
2066 environment and pwd to Emacs. Send current-frame to Emacs.
2068 2007-08-25 Eli Zaretskii <eliz@gnu.org>
2070 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2071 Prepend "-" to the command, in case srcdir=. and file is copied
2074 2007-07-25 Glenn Morris <rgm@gnu.org>
2076 * Relicense all FSF files to GPLv3 or later.
2078 * COPYING: Switch to GPLv3.
2080 2007-07-17 Francesco Potortì <pot@gnu.org>
2082 * etags.c (C_entries): Reset the fvdef machine when out of function.
2083 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
2084 (print_help): Use it in if() rather than #if.
2085 (print_help): Conditionally print help about --no-line-directive.
2087 2007-07-16 Eli Zaretskii <eliz@gnu.org>
2089 * makefile.w32-in (clean): Don't delete *~.
2091 2007-06-07 Glenn Morris <rgm@gnu.org>
2093 * etags.c (print_version): Add `emacs_copyright' string, for
2094 easier automatic updating.
2096 2007-05-18 Francesco Potortì <pot@gnu.org>
2098 * etags.c: Extern definitions of some more pointer functions for
2099 standalone compilation, especially important for 64bit platforms.
2100 (main, print_help): --members is now the default for etags.
2101 (C_entries): Parse start of C comment as a space == end of token.
2102 This is not necessary for C++ comment, already parsed as newline.
2104 2007-04-26 Glenn Morris <rgm@gnu.org>
2106 * makefile.w32-in (VERSION): Increase to 22.1.50.
2108 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
2110 * Version 22.1 released.
2112 2007-02-26 Francesco Potortì <pot@gnu.org>
2114 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
2116 2007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
2118 * Makefile.in (EMACS, EMACSOPT): New variables.
2119 (blessmail): Use `--no-site-file' when compiling.
2121 2007-02-05 Francesco Potortì <pot@gnu.org>
2123 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
2124 (main): Now --members is the default for etags, not for ctags yet.
2126 2007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
2128 * etags.c (gperf, in_word_set): Change attribute for Java to
2129 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
2130 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
2131 import, package, extends, implements and interface to be treated
2132 specially for all kinds of C-style files, not just Java files.
2134 2007-01-02 Francesco Potortì <pot@gnu.org>
2136 * etags.c (longopts): New undocumented option --no-duplicates.
2137 (no_duplicates): Static variables for the above option.
2138 (print_help): Do not print help for --no-warn, now undocumented.
2139 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
2140 (main): Pass the -u option to sort in ctags mode.
2142 2006-12-28 Francesco Potortì <pot@gnu.org>
2144 * etags.c (readline): When creating a relative file name from a
2145 #line directive, leave the file name alone. The previous
2146 behavior was to make it relative to the tags file directory,
2147 under the hypothesis that the #line directive file name was
2148 relative to the directory of the tagged file. That hypothesis is
2149 wrong with Cpp and Lex.
2150 (Makefile_targets): Do not include spaces in tag names.
2152 2006-12-22 Eli Zaretskii <eliz@gnu.org>
2154 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
2155 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
2156 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
2157 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
2158 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
2159 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
2160 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
2161 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
2162 (clean): Delete stamp_BLD.
2164 2006-12-20 Francesco Potortì <pot@gnu.org>
2166 * etags.c (C_entries): DEFUN names were longer by one: corrected.
2168 2006-12-18 Juanma Barranquero <lekktu@gmail.com>
2170 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
2171 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
2172 (main) [WINDOWSNT]: Remove code to release the focus; call
2173 w32_give_focus instead.
2175 2006-12-15 Juanma Barranquero <lekktu@gmail.com>
2177 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
2178 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
2179 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
2180 Suggestions and comment by Eli Zaretskii.
2182 2006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
2184 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
2185 Use $(USER32) for compatibility with Visual Studio .NET 2003.
2187 2006-11-30 Juanma Barranquero <lekktu@gmail.com>
2189 * emacsclient.c (emacs_pid): New variable.
2190 (message): Remove leftover code.
2191 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
2192 focus yet; emacsclient can still display an informational message
2193 before sending requests to Emacs.
2194 (main): Allow Emacs to grab the focus. Simplify message() call.
2196 2006-11-30 Michael Mauger <mmaug@yahoo.com>
2198 * emacsclient.c (message): Make sure the message is properly
2199 written even if it contains printf escapes, and flush the result.
2200 (set_tcp_socket): Make the message for non-local connections
2201 informational rather than an error.
2203 2006-11-28 Kevin Ryde <user42@zip.com.au>
2205 * etags.c (readline): Check for double quote after #line.
2207 2006-11-28 Jan Djärv <jan.h.d@swipnet.se>
2209 * etags.c (readline): sscanf could in principle return 2.
2211 2006-11-28 Francesco Potortì <pot@gnu.org>
2213 * etags.c (readline): lno is unsigned.
2214 (TeX_commands): Use p++ (rather than *p++) to increment p.
2215 (Lua_functions): Explicitly discard LOOKING_AT's return value.
2217 2006-11-27 Juanma Barranquero <lekktu@gmail.com>
2219 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
2220 ($(TRES)): New rule (copied from nt/makefile.w32-in).
2221 ($(BLD)/emacsclientw.exe): Add dependency.
2223 2006-11-27 Eli Zaretskii <eliz@gnu.org>
2225 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
2227 2006-11-25 Juanma Barranquero <lekktu@gmail.com>
2229 * makefile.w32-in (VERSION): New macro.
2230 (ECLIENT_CFLAGS): Add -DVERSION.
2232 2006-11-25 Jason Rumney <jasonr@gnu.org>
2234 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
2236 2006-11-24 Michael Mauger <mmaug@yahoo.com>
2238 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
2239 file names with forward slashes.
2241 2006-11-23 Juanma Barranquero <lekktu@gmail.com>
2243 * emacsclient.c (print_help_and_exit): Tweak message contents and
2244 tabs/spaces to improve alignment in message boxes.
2246 2006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
2248 * emacsclient.c: Include <stdarg.h>.
2249 [WINDOWSNT]: Include <windows.h>.
2250 (w32_check_console_app): New function.
2251 (message): New function.
2252 (decode_options, print_help_and_exit, fail, main)
2253 (initialize_sockets, get_server_config, set_tcp_socket)
2254 (set_local_socket, set_socket): Use message().
2256 2006-11-13 Jason Rumney <jasonr@gnu.org>
2258 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
2261 2006-11-13 Juanma Barranquero <lekktu@gmail.com>
2263 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
2264 ($(BLD)/emacsclientw.exe): New target.
2265 (install): Install emacsclientw.exe.
2266 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
2267 (ECLIENT_CFLAGS): Remove redundant flags.
2269 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
2271 2006-11-13 Jason Rumney <jasonr@gnu.org>
2273 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
2275 2006-11-10 David Reitter <david.reitter@gmail.com>
2277 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
2279 2006-11-08 Juanma Barranquero <lekktu@gmail.com>
2281 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
2282 FARPROC to avoid a compiler warning.
2284 2006-11-07 Juanma Barranquero <lekktu@gmail.com>
2286 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
2287 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
2289 * emacsclient.c (get_server_config): Extract also the Emacs pid
2290 from the server file. On Windows, try to force the Emacs frame to
2293 2006-11-06 Juanma Barranquero <lekktu@gmail.com>
2295 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
2296 option --socket-name.
2297 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
2298 command line options.
2299 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
2300 (fail): Don't check for missing arguments, it is now done in set_socket.
2301 (file_name_absolute_p): New function (loosely based on the one in
2303 (initialize_sockets): Don't check for duplicate loading of Winsock.
2304 (get_server_config): Only try relative paths in the default
2305 directory locations.
2306 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
2308 (set_socket): Call INITIALIZE(). Search explicit command-line
2309 arguments, then environment variable EMACS_SERVER_FILE, then implicit
2310 socket paths, before trying the alternate editor.
2311 (main): Use file_name_absolute_p.
2313 2006-11-04 Eli Zaretskii <eliz@gnu.org>
2315 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
2316 file if it doesn't already exist.
2318 2006-11-03 Juanma Barranquero <lekktu@gmail.com>
2320 * emacsclient.c (initialize_sockets): Don't initialize Winsock
2323 2006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
2325 * Makefile.in (INSTALL_SCRIPT): New macro.
2326 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
2328 2006-11-02 Juanma Barranquero <lekktu@gmail.com>
2330 * grep-changelog: When called with no arguments (not even a
2331 filter), show help instead of blindingly dumping every single
2332 ChangeLog available. Doc fix. Update version.
2334 2006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
2336 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
2337 [!WINDOWSNT]: Include <netinet/in.h> if available.
2338 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
2339 (IOCTL, IOCTL_BOOL_ARG): Remove.
2340 (set_tcp_socket): Don't set the socket in blocking mode.
2343 2006-11-01 Juanma Barranquero <lekktu@gmail.com>
2345 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
2346 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
2348 2006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
2350 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
2351 (close_winsock): Declare as __cdecl.
2353 2006-10-31 Jan Djärv <jan.h.d@swipnet.se>
2355 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
2356 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
2357 to set the socket in non-blocking mode.
2359 2006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
2361 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
2362 (INVALID_SOCKET): Define.
2363 (initialize_sockets): Put #endif at the right place.
2364 (set_local_socket): Use progname, not argv[0].
2366 2006-10-31 Juanma Barranquero <lekktu@gmail.com>
2368 * makefile.w32-in (ALL): Add emacsclient.
2369 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
2370 (emacsclient, $(BLD)/emacsclient.exe): New targets.
2371 (install): Install emacsclient.
2373 * emacsclient.c: Add support for TCP sockets.
2374 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
2375 (INITIALIZE): New macros.
2376 (IOCTL_BOOL_ARG): New typedef.
2377 (server_file): New global variable.
2378 (longopts): New option --server-file.
2379 (decode_options): Process new option --server-file and environment
2380 variable EMACS_SERVER_FILE.
2381 (print_help_and_exit): Document new option.
2382 (fail): If no connection available and no alternate editor,
2383 suggest using options to make them explicit.
2384 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
2385 (send_buffer, sblen): New variables.
2386 (send_to_emacs): New function to buffer output and send it with `send'.
2387 (quote_file_name): Use SEND_STRING.
2388 (close_winsock, initialize_sockets): New functions to load and
2390 (get_server_config, set_tcp_socket): New functions to create and
2392 (set_local_socket): New function to create and set up Unix
2393 socket (code moved from previous implementation).
2394 (set_socket): New function to choose between TCP and Unix sockets.
2395 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
2396 set_local_socket. Use set_socket. Get answers from server.el with
2397 recv(), not file stream functions.
2399 2006-10-09 Eli Zaretskii <eliz@gnu.org>
2401 * makefile.w32-in (../src/config.h): Fix error message.
2403 2006-09-30 Eli Zaretskii <eliz@gnu.org>
2405 * .cvsignore: Add blessmail.
2407 2006-09-15 Jay Belanger <belanger@truman.edu>
2409 * COPYING: Replace "Library Public License" by "Lesser Public
2410 License" throughout.
2412 2006-08-09 Jan Djärv <jan.h.d@swipnet.se>
2414 * etags.c (readline): Expect sscanf returns >= 1.
2415 (readline): Change position on %n and \" in sscanf.
2417 2006-08-07 Masatake YAMATO <jet@gyve.org>
2419 * etags.c (readline): Expect sscanf returns 2, not 1.
2421 2006-08-07 Masatake YAMATO <jet@gyve.org>
2423 * etags.c (TEX_mode): Check getc returns EOF.
2424 File ended without newline causes infinite loop.
2426 2006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
2428 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
2430 2006-07-30 Francesco Potortì <pot@gnu.org>
2432 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
2433 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
2434 (Objc_suffixes): Suggest using --lang=c for full help.
2435 (C_entries): Initialize savetoken to 0 to shut up the compiler.
2437 2006-07-20 Andreas Schwab <schwab@suse.de>
2439 * fakemail.c (fatal): Drop second parameter and treat first
2440 parameter as a plain string. Callers changed.
2442 2006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
2444 * ebrowse.c (usage, version): Mark as NO_RETURN.
2446 * emacsclient.c (print_help_and_exit): Likewise.
2448 2006-07-10 Francesco Potortì <pot@gnu.org>
2450 * etags.c (absolute_filename): Free unused space (cosmetic change).
2451 (in_word_set): In C, also tag #undef symbols.
2453 2006-06-09 Eli Zaretskii <eliz@gnu.org>
2455 * yow.c: Remove file.
2457 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
2459 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
2460 yow${EXEEXT}: Remove target.
2462 2006-06-04 Masatake YAMATO <jet@gyve.org>
2464 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
2465 doesn't exist, is not seekable, not is failed in ftall.
2467 2006-06-03 Eli Zaretskii <eliz@gnu.org>
2469 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
2470 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
2471 ($(BLD)/test-distrib.exe): New targets.
2472 (sorted-doc, digest-doc, test-distrib): New targets.
2473 (install): Install sorted-doc.exe and digest-doc.exe.
2474 ($(BLD)/sorted-doc.$(O)): Update dependencies.
2476 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2477 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2480 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
2481 [WINDOWSNT] <top level>: Don't redeclare malloc.
2482 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
2484 (main): Initialize bp, to avoid compiler warnings.
2486 * makefile.w32-in: Delete traces of leditcfns.c.
2488 * leditcfns.c: Remove file.
2490 2006-05-23 Francesco Potortì <pot@gnu.org>
2492 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
2493 Add comments explaining why the "kpop" service is never used.
2495 2006-05-13 Eli Zaretskii <eliz@gnu.org>
2497 * makefile.w32-in (lisp1): Add fringe.elc.
2499 2006-05-02 Francesco Potortì <pot@gnu.org>
2501 * etags.c (Perl_functions): Free space allocated for var package.
2502 (Erlang_functions): Possibly free space allocated for var last.
2503 (Prolog_functions): Possibly free space allocated for var last.
2505 2006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
2507 * sorted-doc.c (main): Initialize docs to NULL.
2509 * yow.c (yow): Free buf.
2511 * etags.c: Delete c-indentation-style local variable.
2513 2006-04-29 Richard Stallman <rms@gnu.org>
2515 * movemail.c (main): Check for negative value from `read'.
2517 * fakemail.c (read_header): Give fatal error if input has no header.
2519 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
2521 * b2m.c (main): Don't include <limits.h>.
2522 (TM_YEAR_BASE): New macro.
2523 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
2524 that s/ files can override this. Use the more-conservative range
2526 (main): Check for asctime returning NULL.
2527 * fakemail.c: Likewise.
2529 2006-03-27 Paul Eggert <eggert@cs.ucla.edu>
2531 * b2m.c: Include <limits.h>.
2532 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
2533 (main): Check for out-of-range time stamps.
2534 * fakemail.c: Likewise.
2536 2006-03-18 Andre Spiegel <spiegel@gnu.org>
2538 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
2539 execute $DIFF twice, and once with the wrong options.
2541 2006-02-23 Claudio Fontana <claudio@gnu.org>
2543 * Makefile.in (install, uninstall): Add DESTDIR variable to
2544 support staged installations.
2546 2005-12-30 Eli Zaretskii <eliz@gnu.org>
2548 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
2549 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
2550 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
2551 Rearrange the list to be similar to $(shortlisp) in
2553 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
2554 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
2555 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
2558 2005-12-22 Richard M. Stallman <rms@gnu.org>
2560 * Makefile.in (update-game-score.o): Delete spurious final `\'.
2562 2005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2564 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
2565 which was never opened.
2567 2005-10-20 Olli Savia <ops@iki.fi> (tiny change)
2569 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
2572 2005-09-27 Francesco Potortì <pot@gnu.org>
2574 * etags.c: Preliminary Forth support.
2575 (prolog_pr): Cast strlen to int before comparison.
2576 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
2577 the second argument is indeed a literal string.
2578 (main): In append mode, sort the tags file after writing it.
2580 2005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
2582 * etags.c (longopts, print_help, main): The -a (--append) option
2583 can be used in ctags also; for one, the Linux make file uses it.
2585 2005-09-20 Chong Yidong <cyd@stupidchicken.com>
2587 * ebrowse.c (add_sym): Compare namespace names instead of
2588 namespace objects. This prevents the parser from incorrectly
2589 treating classes whose superclass is in another namespace.
2591 2005-09-15 Richard M. Stallman <rms@gnu.org>
2593 * Makefile.in (update-game-score.o): New target.
2594 Compile and link this program separately.
2595 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
2597 2005-09-11 Jason Rumney <jasonr@gnu.org>
2599 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
2601 (../src/paths.h): Remove.
2603 2005-07-27 Juanma Barranquero <lekktu@gmail.com>
2605 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
2606 generated. Ignore also ctags.c and getopt.h.
2608 * makefile.w32-in (clean): Delete getopt.h.
2609 (getopt.h): New rule.
2611 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
2613 Merge gnulib getopt implementation into Emacs.
2615 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
2616 (GETOPT_H): New macro, from gnulib.
2617 (getopt.h): New rule, from gnulib.
2618 (GETOPTOBJS): Now autoconfigured.
2619 (GETOPTDEPS): getopt.h is now autoconfigured.
2620 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
2621 (getopt.o): Depend on ${srcdir}/gettext.h.
2622 (movemail.o): Depend on $(GETOPT_H).
2623 * getopt.c, getopt1.c: Sync from gnulib.
2624 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
2625 * getopt.h: Removed (now is getopt_.h).
2627 2005-07-13 Ken Raeburn <raeburn@gnu.org>
2629 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
2630 (sendline): Add the \r\n to the line in a temporary buffer, and write
2633 2005-07-04 Lute Kamstra <lute@gnu.org>
2635 Update FSF's address in GPL notices.
2637 2005-06-13 Eli Zaretskii <eliz@gnu.org>
2639 * makefile.w32-in ($(DOC)): Fix last change.
2641 2005-06-12 Eli Zaretskii <eliz@gnu.org>
2643 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
2644 temacs.exe, and the preloaded *.elc files. This avoids
2645 unnecessary dumping and DOC rebuilding.
2647 2005-06-04 Eli Zaretskii <eliz@gnu.org>
2649 * ntlib.h (fileno): Don't define if already defined.
2651 2005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
2653 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
2654 (yow): Use EXIT_FAILURE in case of memory error.
2656 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2658 * make-docfile.c (DIRECTORY_SEP): New macro.
2659 (IS_DIRECTORY_SEP): Use it.
2661 2005-03-18 Jan Djärv <jan.h.d@swipnet.se>
2663 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
2665 2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2667 * make-docfile.c: Undo previous change.
2669 2005-02-04 Andreas Schwab <schwab@suse.de>
2671 * movemail.c (fatal): Accept third parameter and pass down to error.
2672 (pfatal_with_name): Pass error string as format parameter instead of
2673 as part of format string.
2674 (pfatal_and_delete): Likewise.
2675 (main): Adjust call to fatal.
2676 (xmalloc): Likewise.
2678 2005-01-29 Richard M. Stallman <rms@gnu.org>
2680 * movemail.c (popmail): Don't use Errmsg as format string.
2682 2004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2684 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
2686 2004-12-15 Andreas Schwab <schwab@suse.de>
2688 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
2689 preprocessing to compile time constant.
2691 2004-11-17 Kim F. Storm <storm@cua.dk>
2693 * etags.c: Undo last change.
2695 2004-11-09 Kim F. Storm <storm@cua.dk>
2697 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
2700 * hexl.c (main): Init local var c to silence compiler.
2702 * etags.c (main, consider_token, C_entries): Add misc switch
2703 default targets to silence compiler.
2705 2004-11-09 Jan Djärv <jan.h.d@swipnet.se>
2707 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
2708 resulting DOC file can be used on Unix/Mac also.
2710 2004-09-13 Francesco Potortì <pot@gnu.org>
2712 * etags.c (main): When relative file names are given as argument,
2713 make them relative to the current working dir, rather than
2714 relative to the output tags file, if the latter is in /dev.
2716 2004-09-13 Francesco Potortì <pot@gnu.org>
2718 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
2719 <stdlib.h> is available.
2720 (enum sym_type): New st_C_attribute value for parsing
2721 gcc's __attribute__. Deleted st_C_typespec value.
2722 (gperf, in_word_set): Use gperf 3, options changed. Added the
2723 __attribute__ keyword, removed all the st_C_typespec keywords,
2724 changed attribute for Java to (C_JAVA & !C_PLPL).
2725 (inattribute): New global bool, part of the C state machine.
2726 (cblev): Identifier renamed to bracelev throughout.
2727 (consider_token, C_entries): Numerous changes for making the
2728 parser more robust and adding support for __attribute__.
2730 2004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
2732 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
2733 Support the Lua scripting language <http://www.lua.org>.
2735 2004-09-08 Francesco Potortì <pot@gnu.org>
2737 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
2740 2004-07-17 Richard M. Stallman <rms@gnu.org>
2742 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
2744 2004-06-01 Juanma Barranquero <lektu@terra.es>
2746 * makefile.w32-in (obj): Add image.c.
2748 2004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
2750 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
2752 2004-05-08 Jason Rumney <jasonr@gnu.org>
2754 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
2757 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2759 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
2760 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
2761 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2763 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
2764 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
2765 * test-distrib.c, update-game-score.c, yow.c: Likewise.
2767 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
2769 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
2771 2004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
2773 * b2m.c (GOOD, BAD): Delete macros. Throughout,
2774 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
2775 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2777 * etags.c: Likewise.
2779 2004-05-03 Jason Rumney <jasonr@gnu.org>
2781 * makefile.nt: Remove.
2783 2004-04-26 Eli Zaretskii <eliz@gnu.org>
2785 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
2786 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
2787 instead of a literal '/'.
2789 2004-04-23 Juanma Barranquero <lektu@terra.es>
2791 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
2793 2004-04-17 Paul Eggert <eggert@gnu.org>
2795 * rcs2log (Help): Clarify wording of the usage message.
2796 Problem reported by Alan Mackenzie in
2797 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
2799 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2801 * make-docfile.c (xmalloc): Fix return type.
2802 (put_filename): New fun.
2803 (scan_file): Use it.
2805 2004-03-09 Juanma Barranquero <lektu@terra.es>
2807 * grep-changelog: Changes to support ChangeLog.10+.
2808 (main): Tidy up usage string. Fix "Use of uninitialized value"
2809 warning. Set version to 0.2. Parse the directory listing to get
2810 any ChangeLog.n file, not just 1..9.
2811 (header_match_p, entry_match_p, print_log, parse_changelog):
2812 Remove Perl prototypes (their purpose is to help the parser, which
2813 isn't needed here, not declare arguments).
2814 (parse_changelog): Make --reverse faster on big batches by not
2815 modifying the entries list.
2817 2004-03-01 Juanma Barranquero <lektu@terra.es>
2819 * makefile.w32-in (obj): Add fringe.c.
2821 2004-02-14 Paul Eggert <eggert@twinsun.com>
2823 * rcs2log: Work correctly if CVSROOT specifies :fork: or
2824 :local: methods, or omits the colon between the hostname
2825 and the path. Allow :/ in repository path, since CVS does.
2826 Fix typo: "pository" should be set from $CVSROOT, not $repository.
2827 This fixes a bug reported by Wolfgang Scherer in
2828 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
2829 along with some related bugs I discovered by inspecting how
2830 CVS itself parses $CVSROOT.
2832 2004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
2834 * emacsclient.c (decode_options): Fix handling of alternate editor.
2836 2004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2838 * emacsclient.c (main): Don't use the hostname in the socket name.
2839 Look for relative socket names in the /tmp dir rather than in cwd.
2841 2004-01-24 Richard M. Stallman <rms@gnu.org>
2843 * emacsclient.c (main): Restore errno from saved_errno,
2844 so the error message comes from socket_status.
2846 2004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2848 * emacsclient.c (main): Stop if socket name too long.
2849 Only try su-fallback if the socket name was not explicit.
2850 Check socket name length in su-fallback case as well.
2852 2004-01-08 Andreas Schwab <schwab@suse.de>
2854 * emacsclient.c (main): Save errno from socket_status.
2856 2004-01-04 Andreas Schwab <schwab@suse.de>
2858 * emacsclient.c (main): Fix socket name when using another user.
2860 2003-12-27 Paul Eggert <eggert@twinsun.com>
2862 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
2863 a tag, and if the user has not specified an rlog option.
2864 Adapted from a suggestion by Martin Stjernholm in
2865 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
2866 (Copyright): Update to 2003.
2868 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
2870 * make-docfile.c (main): For return code, no longer special-case VMS.
2871 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
2873 2003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
2875 * emacsclient.c (quote_file_name): Print the result instead of
2876 returning it. Fix the return type accordingly.
2877 (main): With --eval, if no file name, read from stdin.
2880 2003-09-10 Richard M. Stallman <rms@gnu.org>
2882 * emacsclient.c (main): Use socket_name.
2884 2003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
2886 * emacsclient.c (socket_name): New variable.
2887 (longopts, decode_options, print_help_and_exit):
2888 Handle --socket-name argument.
2890 2003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
2892 * etags.c (consider_token): Check C++ `operator' only when the
2893 token len is long enough.
2895 2003-08-20 Dave Love <fx@gnu.org>
2897 * Makefile.in: Remove obsolete references to alloca.
2899 2003-07-29 Ken Brush <ken@wirex.com>
2901 * emacsclient.c (main)
2902 * etags.c (suggest_asking_for_help)
2903 * movemail.c (main): Fix having macros in a printf statement.
2905 2003-05-31 Juanma Barranquero <lektu@terra.es>
2907 * makefile.w32-in (lisp): Fix references to byte-run.el,
2908 float-sup.el and map-ynp.el, which are now in emacs-lisp.
2910 2003-05-22 Dave Love <fx@gnu.org>
2912 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
2913 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
2915 2003-05-20 Dave Love <fx@gnu.org>
2917 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
2919 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
2921 2003-04-27 Oliver Scholz <alkibiades@gmx.de>
2923 * update-game-score.c (read_scores): Fix corruption of scores on read.
2925 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
2927 * emacsclient.c (main): Use new safe location for socket.
2929 2003-03-12 Tom Tromey <tromey@redhat.com>
2931 * emacsclient.c (print_help_and_exit): Print to stdout.
2932 Exit successfully. Added some blank lines for readability.
2933 (decode_options): Don't call print_help_and_exit in default case.
2934 Print version information to stdout.
2935 (main): Don't call print_help_and_exit.
2937 2003-02-15 Richard M. Stallman <rms@gnu.org>
2939 * cvtmail.c: Cast result of malloc and realloc.
2940 Don't include stdlib.h, because config.h does.
2941 (malloc, realloc): Declarations deleted.
2943 * yow.c (yow): Cast result of malloc and realloc.
2944 (malloc, realloc): Declarations deleted.
2946 2003-02-11 Juanma Barranquero <lektu@terra.es>
2948 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
2950 2003-02-08 Andreas Schwab <schwab@suse.de>
2952 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
2953 instead of the substitution.
2955 2003-02-04 Richard M. Stallman <rms@gnu.org>
2957 * update-game-score.c (push_score, read_scores): Cast values
2958 of malloc and realloc.
2959 (main, lock_file): Avoid assignment inside if.
2961 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
2963 * Makefile.in: Use @EXEEXT@ for Cygwin.
2965 2003-01-21 Dave Love <fx@gnu.org>
2967 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
2970 * yow.c: Don't include string.h.
2972 2003-01-20 Richard M. Stallman <rms@gnu.org>
2974 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2977 2003-01-06 Kim F. Storm <storm@cua.dk>
2979 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
2982 2002-12-18 Andrew Innes <andrewi@gnu.org>
2984 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
2985 because GNU make doesn't append when using >> redirection.
2987 2002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2989 * b2m.pl: Make sure every message ends with a blank line, because
2990 some mbox parsers require a blank line before "From " lines.
2992 2002-12-08 Richard M. Stallman <rms@gnu.org>
2994 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
2995 (_): Test only HAVE_LIBINTL_H to decide what to do.
2997 2002-12-05 Richard M. Stallman <rms@gnu.org>
2999 * getopt.c: Comment out include of libintl.h or gettext.h.
3001 2002-12-04 Richard M. Stallman <rms@gnu.org>
3003 * Update getopt from gnulib version; changes described below.
3005 * getopt1.c: Conditionally find getopt.h.
3006 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
3008 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
3009 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
3010 (wchar.h): Include, maybe.
3011 (attribute_hidden): Define if not defined.
3012 (__getopt_initialized): Use attribute_hidden.
3013 (__libc_argc, __libc_argv): Rename from original_argc, etc.
3014 (__getopt_nonoption_flags, nonoption_flags_max_len)
3015 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
3016 (SWAP_FLAGS): New definitions.
3017 (exchange): Test USE_NONOPTION_FLAGS.
3018 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
3019 (_getopt_internal): Error if argc < 1. New local var print_errors.
3020 Improve test for ambiguous long option.
3021 Add LIBIO support for error message output.
3022 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
3024 * getopt.h: Maybe include ctype.h.
3025 Treat __cplusplus like __STDC__.
3026 (decls): Use __ in arg names.
3028 2002-12-02 Stephen Eglen <stephen@gnu.org>
3030 * emacsclient.c (main): Tell user how to start server within Emacs
3031 if socket could not be found.
3033 2002-12-02 Richard M. Stallman <rms@gnu.org>
3035 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
3037 2002-11-19 Ben Key <bkey1@tampabay.rr.com>
3039 * makefile.w32-in: Fixed a bug that caused the documentation for
3040 the built in function play-sound-internal not to be included in
3043 2002-11-18 Dave Love <fx@gnu.org>
3045 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
3046 fcntl.h, stdarg.h conditionally.
3047 (_GNU_SOURCE, __attribute__): Don't define.
3048 (optarg, optind, opterr): Declare.
3049 (lose, lose_syserr): Use NO_RETURN.
3050 (get_user_id): Use P_.
3052 2002-11-17 Richard M. Stallman <rms@gnu.org>
3054 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
3056 2002-11-14 Dave Love <fx@gnu.org>
3058 * movemail.c (pop_retr): Declare comment.
3060 * make-docfile.c (read_c_string_or_comment): Declare msgno.
3062 * Makefile.in (YACC): Delete.
3064 2002-10-19 Andreas Schwab <schwab@suse.de>
3066 * Makefile.in (${archlibdir}): Always create $(gamedir).
3067 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
3069 2002-10-04 Juanma Barranquero <lektu@terra.es>
3071 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
3073 2002-09-30 Markus Rost <rost@math.ohio-state.edu>
3075 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
3078 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
3080 * emacsclient.c: Remove SYSV support.
3081 (eval, display): New vars.
3082 (longopts): Add --eval and --display.
3083 (decode_options): Add -e and -d processing.
3084 (print_help_and_exit): Update the usage string.
3085 (main): Add support for --eval and --display.
3086 (main): Always use /tmp and non-qualified hostname.
3088 2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
3090 * emacsserver.c: Remove.
3092 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
3094 * emacsclient.c (quote_file_name): Quote \n.
3095 (main): Print a final \n when needed.
3097 2002-09-03 Francesco Potortì <pot@gnu.org>
3099 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
3100 string that cannot be freed.
3102 2002-08-30 Francesco Potortì <pot@gnu.org>
3104 * etags.c (consider_token, C_entries): Switch to C++ parsing when
3105 auto-detection is enabled and the `::' qualifier is met.
3106 (consider_token, C_entries): Several bugs corrected that tagged
3107 some declarations even though --declarations was not used.
3108 (plainc): New macro.
3109 (C_entries): Use it.
3110 (C_entries): Several cosmetic changes.
3111 (C_entries): Invalidate the token is some cases.
3113 2002-08-29 Francesco Potortì <pot@gnu.org>
3115 * etags.c (C_entries): Correct a problem with const C++ funcs.
3116 (ignoreindent): Rename from noindentypedefs.
3117 (cjava, cplpl): They are now macros instead of local vars.
3119 2002-08-28 Francesco Potortì <pot@gnu.org>
3121 * etags.c (HTML_labels): Tag ID= also.
3123 2002-08-27 Francesco Potortì <pot@gnu.org>
3125 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
3127 * etags.c (HTML_labels): New language HTML.
3128 (etags_strcasecmp): Like BSD's, for compatibility.
3129 (strcaseeq): Make it into a macro.
3131 * etags.c (make_tag): Never generate null length tag names.
3132 (linebuffer_init): Rename from initbuffer. All callers changed.
3133 (pattern): Structure renamed to `regexp', member regex renamed to
3135 (node_st): Member pat renamed to regex.
3136 (pattern); New member force_explicit_name, for future use.
3137 Now always set to true, cannot be reset.
3138 (add_regex, regex_tag_multiline, readline): Use it.
3139 (main): Free some global structures.
3140 (fdesc): New member `written'.
3141 (readline, process_file): Initialize it.
3142 (put_entries): Set it.
3143 (main): Use it to create entries for files without tags.
3144 (total_size_of_entries): Do not count invalid tags.
3146 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
3148 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
3149 for the function name in the usage info.
3151 2002-07-31 Colin Walters <walters@gnu.org>
3153 * update-game-score.c (P_): New macro. Use it for all prototypes.
3154 (lose): Don't use varargs.
3155 (lose_syserr): New function.
3157 * update-game-score.c: Change all functions to K&R style.
3159 2002-07-30 Andreas Schwab <schwab@suse.de>
3161 * Makefile.in (localstatedir): New variable.
3163 2002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3165 * b2m.pl: Fix regexp for finding return address fields.
3167 2002-07-15 Stefan Monnier <monnier@cs.yale.edu>
3169 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
3171 2002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3173 * b2m.pl: Obey the rmail file and use the unpruned header properly.
3175 2002-06-26 Pavel JanÃk <Pavel@Janik.cz>
3179 2002-06-21 Francesco Potortì <pot@gnu.org>
3181 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
3182 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
3183 (PHP_functions, PHP_functions, Cobol_paragraphs)
3184 (Makefile_targets, Postscript_functions, Texinfo_nodes)
3185 (prolog_pr, erlang_func, erlang_attribute)
3186 (Perl_functions, Perl_functions, Pascal_functions)
3187 (TeX_commands, get_tag): Use make_tag instead of pfnote.
3188 (get_tag): Prototype changed, all callers changed.
3190 2002-06-20 Francesco Potortì <pot@gnu.org>
3192 * etags.c: Implement implicit tag names, that is, unnamed tags
3193 whose name is automatically deduced by etags.el. The advantage is
3194 that there is no explicit tag name in most tags, so the size of
3195 the tags file is reduced, yet find-tag is able to do a match as
3196 accurate as with named tags. See the comment in make_tag for details.
3197 (make_tag): New function (was the disabled function new_pfnote).
3198 (make_C_tag): Use it.
3200 2002-06-19 Francesco Potortì <pot@gnu.org>
3202 * etags.c (add_regex): Invalid regexp modifiers are ignored.
3203 (Makefile_targets): Tag variables unless --no-globals.
3204 (LOOP_ON_INPUT_LINES): Serious bug corrected.
3206 2002-06-13 Francesco Potortì <pot@gnu.org>
3208 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
3209 (invalidate_nodes): Bug corrected.
3210 (print_help): Better help for regexps.
3212 2002-06-13 Juanma Barranquero <lektu@terra.es>
3214 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
3217 2002-06-12 Francesco Potortì <pot@gnu.org>
3219 * etags.c: New multi-line regexp and new regexp syntax.
3220 (arg_type): at_icregexp label removed (obsolete).
3221 (pattern): New member multi_line for multi-line regexps.
3222 (filebuf): A global buffer containing the whole file as a string
3223 for multi-line regexp matching.
3224 (need_filebuf): Global flag raised if multi-line regexps used.
3225 (print_help): Document new regexp modifiers, remove references to
3226 obsolete option --ignore-case-regexp.
3227 (main): Do not set regexp syntax and translation table here.
3228 (main): Treat -c option as a backward compatibility hack.
3229 (main, find_entries): Init and free filebuf.
3230 (find_entries): Call regex_tag_multiline after the regular parser.
3231 (scan_separators): Check for unterminated regexp and return NULL.
3232 (analyse_regex, add_regex): Remove the ignore_case argument, which
3233 is now a modifier to the regexp. All callers changed.
3234 (add_regex): Manage the regexp modifiers.
3235 (regex_tag_multiline): New function. Reads from filebuf.
3236 (readline_internal): If necessary, copy the whole file into filebuf.
3237 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
3239 2002-06-11 Francesco Potortì <pot@gnu.org>
3241 * etags.c (add_regex): Better check for null regexps.
3242 (readline): Check for regex matching null string.
3243 (find_entries): Reorganization.
3245 2002-06-07 Francesco Potortì <pot@gnu.org>
3247 * etags.c (scan_separators): Support all character escape
3248 sequences supported by Gcc.
3249 (find_entries): Rewind unconditionally.
3250 (find_entries): Do not call language functions directly, now calls
3252 (find_entries): Do general initializations here.
3253 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
3254 (Ada_getit, Pascal_functions, Pascal_functions)
3255 (prolog_skip_comment): Do not do them here.
3256 (readline_internal): Increment lineno here.
3257 (readline): Conditionally undo readline_internal increment.
3258 (readline): Do not return a value.
3260 2002-06-06 Francesco Potortì <pot@gnu.org>
3262 * etags.c: New option --parse-stdin=FILE.
3263 (enum arg_type): New label at_stdin.
3264 (STDIN): New constant.
3265 (parsing_stdin): New flag.
3266 (longopts): New option --parse-stdin=NAME.
3267 (print_help): Document it.
3269 (process_file): Split into process_file and process_file_name.
3270 (process_file_name): New function.
3272 * etags.c: Improvements and bug squashing in TeX handling.
3273 (TeX_commands): Skip comments.
3274 (TEX_defenv): Now contains more constructs.
3275 (TEX_cmt): Make it a static char and move it before TeX_commands.
3276 (TeX_commands): Shorten the tag to the brace after the name.
3277 (TeX_commands): Names now include the initial backslash.
3278 (TeX_commands): Names do not include numeric args #n.
3279 (TeX_commands): Correct line char number in tags.
3280 (TEX_tabent, TEX_token): Delete.
3281 (TeX_commands, TEX_decode_env): Streamlined.
3283 2002-06-05 Francesco Potortì <pot@gnu.org>
3285 * etags.c (main): Avoid a buffer overrun with sprintf.
3287 2002-05-30 Richard M. Stallman <rms@gnu.org>
3289 * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
3290 (LIBS_MOVE): Rename from MOVE_LIBS.
3292 2002-05-26 Paul Eggert <eggert@twinsun.com>
3294 Reinstate the following change from 2002-03-22, which was
3295 inadvertently lost on 2002-04-13.
3297 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
3298 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
3301 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
3303 * pop.c (socket_connection): Move the code to resolve the POP
3304 host right before trying to connect with it.
3306 2002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
3308 * tcp.c: Delete file since the TCP emulation is no longer in use on any
3311 2002-04-28 Colin Walters <walters@verbum.org>
3313 * Makefile.in (${archlibdir}): Don't conditionalize on
3314 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
3315 or not we have access to the specified game user.
3317 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
3318 (main): New argument -d, for specifying directory.
3320 (get_user_id): Compute.
3321 (get_home_dir): Delete.
3322 (get_prefix): New function, taken from main.
3323 (main): Check whether or not we are running setuid. Move prefix
3324 computation to get_prefix. Don't call getpwent; we don't need to
3325 any more. Instead, move it to get_user_id().
3327 2002-04-24 Pavel JanÃk <Pavel@Janik.cz>
3329 * ebrowse.c (skip_initializer): Return void.
3331 2002-04-23 Colin Walters <walters@verbum.org>
3333 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
3336 2002-04-22 Francesco Potortì <pot@gnu.org>
3338 * etags.c (last_node): Make it a global variable.
3339 (process_file): Print the tags from the nodes as soon as
3340 possible, and delete the nodes. This brings down the memory
3341 occupancy as etags to almost the same level as when the #line
3342 directives were not parsed.
3343 (free_fdesc): New function.
3344 (find_entries): Use it.
3345 (invalidate_nodes): In etags mode, do not just mark the nodes as
3346 invalid, do delete them.
3348 2002-04-21 Gerd Moellmann <gerd@gnu.org>
3350 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
3352 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
3354 * update-game-score.c: Move config.h before the other headers, to
3355 avoid compiler warnings.
3357 2002-04-16 Francesco Potortì <pot@gnu.org>
3359 * etags.c (find_entries): Bug fix in list management.
3361 2002-04-15 Francesco Potortì <pot@gnu.org>
3363 * etags.c (get_language_from_filename): Add one argument.
3364 (strcaseeq): New function.
3365 (get_language_from_filename): Use it to do a case insensitive
3366 comparison if called with appropriate args.
3367 (find_entries): Try with case insensitive match.
3368 (process_file): Bug fixed.
3370 2002-04-13 Francesco Potortì <pot@gnu.org>
3372 * etags.c (find_entries): Delete tags previously obtained from
3373 file xxx.c's #line directives when parsing file xxx.y. This is
3374 generally done for automatically generated files containing
3375 #line directives. This handles the case when xxx.y is tagged
3376 before xxx.c, and the entries of xxx.c pointing to xxx.y should
3378 (language): Add the metasource member. Initializers changed.
3379 (invalidate_nodes): New function.
3380 (readline): Discard lines after having found a #line
3381 directive pointing to an already tagged file. This handles the
3382 case when xxx.y is tagged before xxx.c, and the entries of
3383 xxx.c pointing to xxx.y should be discarded.
3384 (fdesc): New structure for keeping track of input files.
3385 (fdesc): Remove `file' member (a string) and use instead a pointer
3386 to a file description structure.
3387 (curfile, curfiledir, curtagfname, curlang, nocharno)
3388 (forced_lang): Global variables removed in favor of fdhead and
3389 curfdp, pointers to file description structures.
3390 (longopts, main, print_help): Use the CTAGS conditional to include
3391 or exclude options that work on etags or ctags only.
3392 (process_file, find_entries, pfnote, add_node, put_entries)
3393 (readline): Use fdhead and curfdp.
3394 (process_file, find_entries): Do not take an arg string, all
3397 * etags.c (longopts, print_help, main): Test CTAGS to disallow
3398 options that are not right for either etags or ctags.
3400 * etags.c (number_len, total_size_of_entries): Define them also
3401 in CTAGS mode, because gcc does not compile all refs away.
3403 2002-04-14 Colin Walters <walters@debian.org>
3405 * update-game-score.c (lock_file): If the lock file is older than
3406 an hour, delete it. Reset attempts to zero if we have to break
3409 2002-04-14 Andreas Schwab <schwab@suse.de>
3411 * update-game-score.c (read_score): Fix type of second parameter
3412 of getdelim to be of type size_t instead of int. Use 0 instead of
3415 2002-04-10 Colin Walters <walters@verbum.org>
3417 * update-game-score.c (toplevel): Include stdarg.h.
3418 (MAX_DATA_LEN, MAX_SCORES): New.
3419 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
3420 default to ~/.emacs.d/games.
3421 (get_user_id): Don't zero uid in the case where we can't get the
3423 (lose): New function.
3424 (main): Actually use `max', and default it to MAX_SCORES.
3425 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
3427 (read_score): Handle the case of reading unamelen characters, then
3428 finishing. Use mktemp if mkstemp isn't available.
3429 (lock_file, unlock_file): Delete unused versions.
3430 (lock_file): Always sleep, even if we unlinked the lock file.
3432 * Makefile.in (gamedir, gameuser): New variables.
3433 (toplevel, UTILITIES): Add update-game-score.
3434 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
3436 2002-04-07 Colin Walters <walters@verbum.org>
3438 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
3439 (get_user_id): Take struct passwd as an argument.
3440 (get_home_dir): New function.
3441 (main): Read in user information here. Discover home directory if
3443 (read_score): Trim newline only in `getline' case.
3445 2002-04-05 Colin Walters <walters@debian.org>
3447 * update-game-score.c (toplevel): Include pwd.h.
3448 (struct score_entry): Add username field.
3449 (push_score): Use it.
3450 (get_user_id): New function.
3451 (main): Don't malloc excessively.
3452 (main): Use username field.
3453 (read_score): Read it.
3454 (push_score): Handle it.
3455 (write_scores): Write it.
3456 (read_score): Handle arbitrary length data.
3458 2002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
3460 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
3462 2002-03-29 Gerd Moellmann <gerd@gnu.org>
3464 * ebrowse.c (add_declarator, skip_initializer): New functions.
3465 (declaration): Use them.
3467 2002-03-28 Jason Rumney <jasonr@gnu.org>
3469 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
3471 2002-03-27 Colin Walters <walters@debian.org>
3473 * update-game-score.c: New file.
3475 2002-03-22 Paul Eggert <eggert@twinsun.com>
3477 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
3478 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
3481 2002-03-12 Francesco Potortì <pot@gnu.org>
3483 * etags.c (Python_functions): Skip spaces at beginning of lines.
3484 (Python_functions, PHP_functions): Name tags, for ctags' sake.
3485 (TeX_commands): Name tags. Correction of old disabled code.
3487 * etags.c (curfiledir, curtagfname): New global variables.
3488 (process_file): Initialize them.
3489 (readline): Canonicalize the name found in #line directive.
3491 2002-03-06 Jason Rumney <jasonr@gnu.org>
3493 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
3494 compilers that don't optimize out dead code.
3496 2002-03-05 Francesco Potortì <pot@gnu.org>
3498 * etags.c: Honour #line directives.
3499 (no_line_directive): New global var; set it for old behavior.
3500 (main): Remove some #ifdef in the getopt switch.
3501 (add_node, put_entries): Code added to merge different chunks of
3502 nodes referring to the same file. Currently the tags are just
3503 appended, without any check for duplicates.
3504 (Perl_functions): Do not special case ctags.
3505 (readline): Identify #line directives and do the right thing.
3506 (nocharno, invalidcharno): New global vars.
3507 (process_file): Reset nocharno.
3508 (readline): Set nocharno.
3509 (pfnote): Read nocharno and maybe put invalidcharno in node.
3510 (total_size_of_entries, put_entries): Use invalidcharno.
3512 * etags.c: Keep the whole tag table in memory, even in etags mode.
3513 (main): Call put_entries here even in CTAGS mode.
3514 (main, process_file): Check the return values of fclose and pclose.
3515 (process_file): Do not call put_entries after parsing each file.
3516 (process_file): Canonicalize file names even for ctags.
3517 (process_file): Set curfile here...
3518 (find_entries): ... not here any more.
3519 (add_node): In etags mode, build a linked list of entries (on
3520 right pointer) for each file, and link the first entry of each
3522 (put_entries): Print here the name of the file.
3523 (put_entries): Print the entries starting from the first file.
3524 (number_len, total_size_of_entries): Define these only in etags
3525 mode, make the second work only on the right nodes.
3527 * etags.c: Make all global variables static.
3529 2002-02-25 Juanma Barranquero <lektu@terra.es>
3531 * makefile.w32-in (lisp): Add missing backslash.
3533 2002-02-24 Jason Rumney <jasonr@gnu.org>
3535 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
3537 (lisp): Sync with list in src/Makefile.in.
3538 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
3540 2002-02-10 Paul Eggert <eggert@twinsun.com>
3542 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
3543 disallows the old syntax.
3545 2002-02-03 Paul Eggert <eggert@twinsun.com>
3547 * rcs2log (Copyright): Update to 2002.
3548 (AWK, TMPDIR): Work around portability problem in broken shells that
3549 don't understand `: ${VAR=val}'.
3550 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
3551 Prefer the new -k option to the traditional +M -N option.
3553 2002-01-01 Pavel JanÃk <Pavel@Janik.cz>
3555 * b2m.c (main): Parenthesize assignment when used as truth value
3556 to prevent gcc warnings.
3558 * fakemail.c: Include <config.h>.
3560 2001-12-29 Pavel JanÃk <Pavel@Janik.cz>
3562 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
3563 * yow.c: Include <config.h>.
3565 2001-12-21 Francesco Potortì <pot@gnu.org>
3567 * etags.c (Perl_functions): Tag packages and use them in sub tags.
3568 (get_tag): Return a pointer to the tag that is found.
3570 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
3571 (F_takeprec): Rename from takeprec. All callers changed.
3572 (F_getit): Rename from getit. All callers changed.
3573 (nocase_tail): Rename from tail. All callers changed.
3574 (Ada_getit): Rename from adagetit. All callers changed.
3575 (L_getit): Simplify by using get_tag.
3576 (Perl_functions, Postscript_functions, erlang_attribute): Use the
3577 modified LOOKING_AT.
3578 (notinname): Remove '[' and added ')' to the recognized chars.
3579 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
3580 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
3581 Clarified, using strneq or notinname.
3582 (L_isdef, L_isquote): Remove.
3583 (Lisp_functions, L_getit): Clarified.
3585 * etags.c (P_): Rename to __P for consistency with config.h.
3586 [HAVE_CONFIG_H]: Let config.h deal with __P.
3587 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
3588 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
3589 gperf code needs it.
3590 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
3591 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
3592 (xmalloc, xrealloc): Use PTR instead of long *.
3593 (bool): Make it a define, not a typedef, for C++ compilers.
3594 (pattern): Members renamed to avoid name clash in some C++ compilers.
3595 (get_language_from_langname): Use const argument.
3597 2001-12-22 Pavel JanÃk <Pavel@Janik.cz>
3599 * makefile.nt, makefile.w32-in: Remove mocklisp files.
3601 2001-12-19 Pavel JanÃk <Pavel@Janik.cz>
3603 * emacsserver.c: Conditionally include config.h.
3605 * fakemail.c: Likewise.
3607 * emacsclient.c: Include "config.h", not <../src/config.h>.
3608 (main): Parenthesize assignment when used as truth value to
3609 prevent gcc warnings.
3611 * ebrowse.c: Include stdlib.h and string.h conditionally.
3613 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
3615 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
3617 2001-12-18 Pavel JanÃk <Pavel@Janik.cz>
3619 * test-distrib.c: Fix previous change.
3621 2001-12-18 Dave Love <fx@gnu.org>
3623 * test-distrib.c: Conditionally include fcntl.h.
3625 * fakemail.c: Include "config.h", not <../src/config.h>.
3626 (_XOPEN_SOURCE): Define as 500.
3628 * emacsserver.c: Include "config.h", not <../src/config.h>.
3630 * cvtmail.c: Include config.h, stdlib.h.
3631 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
3633 * yow.c: Conditionally include various headers. Use "epaths.h",
3634 not <../src/epaths.h>.
3635 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
3637 2001-12-12 Francesco Potortì <pot@gnu.org>
3639 * etags.c (PHP_functions): New function for parsing PHP.
3640 (LOOKING_AT): New macro.
3641 (Perl_functions, Python_functions, PHP_functions)
3642 (Scheme_functions, Texinfo_nodes): Use it.
3643 (Perl_functions): Use strneq.
3644 (prolog_pred): Rename to prolog_pr.
3645 (prolog_pr): Recognize Prolog rules in addition to predicates.
3646 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
3647 unmodified compile, as Cygwin's regex.h is incompatible with us.
3648 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
3650 2001-12-11 Richard M. Stallman <rms@gnu.org>
3652 * Makefile.in (clean): Don't delete ../etc/DOC*.
3654 2001-12-11 Pavel JanÃk <Pavel@Janik.cz>
3656 * COPYING: Moved back.
3658 2001-11-30 Andrew Innes <andrewi@gnu.org>
3660 * makefile.w32-in (FACE_SUPPORT):
3664 (lisp): Reference .el files instead of .elc files, to simplify
3666 ($(DOC)): Change dependency to just `make-docfile'.
3668 2001-11-29 Pavel JanÃk <Pavel@Janik.cz>
3672 2001-11-28 Paul Eggert <eggert@twinsun.com>
3674 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
3676 The following changes are derived from suggestions by Bob Chapman
3677 <rechapman@compuserve.com>.
3679 * rcs2log (printlogline): Also allow tab and newline to separate
3680 '(function):' from the rest of a comment.
3681 (reformat the sorted log entries): Require date and author to
3682 match the clumpname.
3684 2001-11-16 Gerd Moellmann <gerd@gnu.org>
3686 * ebrowse.c (matching_regexp): Escape '\\'.
3688 2001-11-15 Pavel JanÃk <Pavel@Janik.cz>
3690 * Makefile.in: Add support for --program-prefix, --program-suffix
3691 and --program-transform-name options.
3693 2001-11-03 Richard M. Stallman <rms@gnu.org>
3695 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
3697 * movemail.c (popmail): Always pass two args to `error'.
3699 2001-10-24 Ken Raeburn <raeburn@gnu.org>
3701 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
3702 -lhesiod and maybe -lresolv.
3703 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
3704 support if it's available.
3706 2001-10-21 Miles Bader <miles@gnu.org>
3708 * make-docfile.c (struct rcsoc_state): New type.
3709 (read_c_string_or_comment): Add SAW_USAGE
3710 parameter, and implement scanning for a `usage:' keyword.
3711 Use a variable of type `rcsoc_state' to hold most of our state.
3712 (put_char): Add STATE parameter, and remove all other parameters
3713 except CH. Use STATE to get access to all needed state.
3714 (scan_keyword_or_put_char): New function.
3715 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
3716 Don't output a usage-string if there was one in the doc-string.
3718 2001-10-20 Gerd Moellmann <gerd@gnu.org>
3720 * (Version 21.1 released.)
3722 2001-10-19 Pavel JanÃk <Pavel@Janik.cz>
3724 * b2m.c: Properly spell the name of Emacs.
3726 2001-10-17 Miles Bader <miles@gnu.org>
3728 * make-docfile.c (put_char): New function.
3729 (read_c_string_or_comment): Strip trailing spaces and newlines.
3731 2001-10-16 Miles Bader <miles@gnu.org>
3733 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
3734 comments [with `doc:' keyword prefix].
3736 2001-10-15 Gerd Moellmann <gerd@gnu.org>
3738 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
3741 2001-10-13 Gerd Moellmann <gerd@gnu.org>
3743 * make-docfile.c (read_c_string_or_comment): Rename from
3744 read_c_string. Add parameter COMMENT. Read C-style comments.
3745 (scan_c_file): Handle doc strings in C comments.
3747 2001-10-12 Andrew Innes <andrewi@gnu.org>
3749 * makefile.nt (ALL): Do not include fakemail.
3751 * makefile.w32-in (install): Do not copy fakemail.
3753 2001-10-10 Jason Rumney <jasonr@gnu.org>
3755 * makefile.w32-in (ALL): Do not include fakemail.
3757 * makefile.nt (install): Ditto.
3759 2001-10-09 Gerd Moellmann <gerd@gnu.org>
3761 * emacsserver.c (main): Cast geteuid in sprintf to int.
3763 * emacsclient.c (main): Cast isdigit argument to unsigned char.
3765 2001-10-07 Pavel JanÃk <Pavel@Janik.cz>
3767 * profile.c: Include config.h, not ../src/config.h.
3768 Include systime.h, not ../src/systime.h.
3770 2001-10-05 Gerd Moellmann <gerd@gnu.org>
3774 2001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
3776 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
3777 ALIASEE to help work with namespace aliases.
3778 (struct sym): Remove struct member NAMESP_ALIASES.
3779 (namespace_alias_table): New variable.
3780 (make_namespace): Add parameter CONTEXT.
3781 (check_namespace): New function.
3782 (find_namespace): Add parameter CONTEXT.
3783 (check_namespace_alias): New function.
3784 (register_namespace_alias): Change type of parameter OLD_NAME.
3785 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
3786 (check_namespace): New function.
3787 (enter_namespace): Call find_namespace with CONTEXT parameter.
3788 (match_qualified_namespace_alias): New function.
3789 (parse_qualified_ident_or_type): Fix typo in comment.
3790 While parsing qualified ident or type update namespace context and
3792 (parse_qualified_param_ident_or_type): Fix typo in comment.
3793 (globals): Change handling of namespace aliases.
3794 (version): Add year 2001.
3796 2001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
3798 * etags.c (analyse_regex): If regex_arg is NULL, return
3799 immediately after a call to free_patterns.
3801 2001-09-05 Paul Eggert <eggert@twinsun.com>
3803 * rcs2log (Help, mainline code): Add new option -L FILE.
3804 (Copyright): Update year.
3805 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
3806 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
3808 (mainline code): Handle nonstandard -u option differently, by
3809 transforming it to standard form. Check for "Working file: ", not
3810 "Working file:". Allow file names with spaces.
3811 (SOH, rlogfile): New shell vars.
3812 (rlogout): Remove. Its old functionality is mostly migrated to
3815 Append ';;' to the last arm of every case statement, for
3816 portability to ancient broken BSD shells.
3818 (logins): Fix bug; was not being computed at all, lowering performance.
3819 (pository): New var. This fixes some bugs where repositories are
3820 remote, or have trailing slashes.
3821 (authors): $llogout is never an empty shell var, so don't worry
3822 about that possibility.
3823 (printlogline, mainline code): Fix bug with SOH's being put into
3826 2001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
3828 * ebrowse.c (SEEK_END): #define if not defined by system headers.
3829 Suggested by Dave Love <d.love@dl.ac.uk>.
3831 2001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3833 * makefile.nt (lisp): Synchronize with src/Makefile.in.
3834 * makefile.w32-in (lisp): Ditto.
3836 2001-07-25 Juanma Barranquero <lektu@terra.es>
3838 * grep-changelog (parse_changelog): Remove unused local variable.
3840 * grep-changelog (main): Add new option --reverse.
3841 (print_log): Use it.
3842 (parse_changelog): Use it.
3844 2001-07-20 Gerd Moellmann <gerd@gnu.org>
3846 * grep-changelog: Remove RCS Id keyword.
3848 2001-07-20 Juanma Barranquero <lektu@terra.es>
3850 * grep-changelog (parse_changelog): Add tests for defined values
3851 to quiet warning from Perl 5.005 or above.
3852 (entry_match_p, header_match_p): Fix handling of null or empty
3853 argument to prevent duplicate headers.
3855 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
3857 2001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
3859 * emacsclient.c (print_help_and_exit): Fix help message for
3860 +LINE:COLUMN option.
3862 2000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
3864 * emacsclient.c (main): Add support for +LINE:COLUMN command line
3867 2001-07-16 Gerd Moellmann <gerd@gnu.org>
3869 * ebrowse.c (main): Check that the output file exists and
3870 is non-empty if invoked with `--append'.
3872 2001-05-14 Francesco Potortì <pot@gnu.org>
3874 * etags.c (add_regex): Reset the whole newly allocated pattern
3875 buffer instead of the individual members. It's safer and works
3878 * etags.1: Markups corrected.
3880 2001-05-08 Gerd Moellmann <gerd@gnu.org>
3882 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
3884 2001-05-03 Gerd Moellmann <gerd@gnu.org>
3886 * ebrowse.c (globals): Fix handling of namespace aliases.
3888 2001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
3890 * etags.c (print_help): Enclose the regexp in the help text
3893 2001-04-05 Dave Love <fx@gnu.org>
3895 * emacsclient.c (fail): Don't return a value.
3896 (main): Cast uid values for sprintf.
3898 2001-04-03 Gerd Moellmann <gerd@gnu.org>
3900 * emacsclient.c (fail, main): Don't use implicit int return type.
3902 * b2m.c (main): Always return a value.
3904 2001-03-02 Gerd Moellmann <gerd@gnu.org>
3906 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
3907 freshly allocated object in *LAST_ID.
3908 (read_line): Accept \r\n line endings.
3910 2001-02-24 Andrew Innes <andrewi@gnu.org>
3912 * makefile.w32-in: Fix copyright notice.
3914 2001-02-23 Francesco Potortì <pot@gnu.org>
3916 * etags.c (enum sym_type): New label st_C_template.
3917 (gperf input): Use it for switching to C++ from C.
3918 (consider_token): Do it.
3919 (C_entries): Initialize typdefcblev to quiet compilers.
3920 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
3922 2001-02-22 Andrew Innes <andrewi@gnu.org>
3924 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
3926 ($(BLD)\profile.obj): Ditto.
3928 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
3930 ($(BLD)/profile.$(O)): Ditto.
3932 2001-02-05 Andrew Innes <andrewi@gnu.org>
3934 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
3935 invocation of make-docfile, to work with Windows 2000.
3937 2001-01-31 Dave Love <fx@gnu.org>
3939 * etags.c (in_word_set): Use `static' in definition (for pcc).
3941 2001-01-31 Francesco Potortì <pot@gnu.org>
3943 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
3944 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
3945 (C_entries): Tag token renamed to still_in_token because sunos4
3946 pcc wants to expand it as the token() macro even though it has no
3949 2001-01-30 Andrew Innes <andrewi@gnu.org>
3951 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
3952 bug in the Mingw32 assert.h header file.
3954 2001-01-30 Francesco Potortì <pot@gnu.org>
3956 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
3957 #define it for the sake of XEmacs.
3958 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
3959 HAVE_CONFIG_H. This change only affects a standalone etags.
3960 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
3961 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
3962 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
3963 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
3964 WINDOWSNT, as this is the correct way to use it.
3966 2001-01-28 Francesco Potortì <pot@gnu.org>
3968 * etags.c: Be capable to parse nested struct-like structures.
3969 (structdef, structtag): Struct state machine revisited.
3970 (struct tok): Revisited.
3971 (cstack, nestlev, instruct): New struct and macros.
3972 (pushclass_above, popclass_above, write_classname): New functions
3973 for dealing with nested class names.
3974 (consider_token, make_C_tag, C_entries): Many changes for dealing
3975 with arbitrarily nested structures.
3976 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
3977 (C_entries): Consider templates in C++.
3978 (sym_type): New constant st_C_class for detecting "class" also in
3980 (C_AUTO): New macro for automatic detection of C++.
3981 (consider_token): Automatic set C++ mode.
3982 (C_entries): New security check for yacc.
3983 (print_language_names, print_help): Mention the autodetect
3984 feature, do not show help for the -C option, now mostly useless.
3985 (C_entries): Tag C++ forward declarations if --declarations.
3986 (C_entries): Don't be fooled by things like XDEFUN.
3987 (consider_token): Discard asm pseudo function.
3989 2001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
3991 * etags.c: Add a coding: tag.
3993 2001-01-26 Gerd Moellmann <gerd@gnu.org>
3995 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
3997 (matching_regexp): Use them instead of static variables in
4000 2001-01-25 Francesco Potortì <pot@gnu.org>
4002 * etags.c (struct tok): Rename from struct token.
4003 (token): Rename from tok.
4004 (structtype): Make it a local variable.
4005 [DEBUG]: Use assert.
4006 (xrnew): Change the synopsis.
4007 (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
4008 (grow_linebuffer): Don't call xrnew when not needed.
4009 (token): Buffer renamed to line.
4010 (C_entries): Three calls to inibuffer moved here from main.
4011 (C_entries): Remove all references to var methodlen, delete it.
4012 (linebuffer_setlen): Was grow_buffer, now also sets len.
4013 (consider_token, C_entries, Pascal_functions): Use it.
4014 (C_entries): Preventing problems relative to extern "C".
4015 (C_entries): Can tag more than one variable or func separated by
4016 comma when --declarations is used.
4017 (C_entries): More accurate tagging of members and declarations.
4018 (yacc_rules): Was global, made local to C_entries.
4019 (next_token_is_func): Remove.
4020 (fvdef): New constants fdefunkey, fdefunname.
4021 (consider_token, C_entries): Use them.
4022 (C_entries): Build proper lisp names for Emacs DEFUNs.
4024 2001-01-22 Gerd Moellmann <gerd@gnu.org>
4026 * ebrowse.c (xfree): New function.
4027 (member, declaration, globals): Use xmalloc instead of alloca.
4029 2001-01-15 Francesco Potortì <pot@gnu.org>
4031 * etags.c (print_language_names): Print filenames in addition to
4034 2001-01-14 Francesco Potortì <pot@gnu.org>
4036 * etags.c (get_language_from_langname): Rename from
4037 get_language_from_name.
4038 (get_language_from_filename): Rename from get_language_from_suffix.
4039 Now first looks for the complete file name.
4040 (language): New member char **filenames.
4041 (Makefile_filenames): List of possible filenames for makefiles.
4042 (lang_names): Add a NULL member for every entry, added an entry
4044 (Makefile_targets): New function.
4045 (Texinfo_nodes): Rename from Texinfo_functions and made
4046 it conformant to the style of the rest of the code.
4048 2001-01-13 Gerd Moellmann <gerd@gnu.org>
4050 * make-docfile.c (write_c_args): Print newlines as spaces.
4052 2001-01-06 Andrew Innes <andrewi@gnu.org>
4054 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
4057 2001-01-03 Paul Eggert <eggert@twinsun.com>
4059 * rcs2log: Avoid security hole allowing attacker to
4060 cause user of rcs2log to overwrite arbitrary files, fixing
4061 a bug reported by Morten Welinder.
4063 Don't put "exit 1" at the end of the exit trap; it's
4064 ineffective in POSIX shells.
4066 2001-01-02 Gerd Moellmann <gerd@gnu.org>
4068 * ebrowse.c (yyerror): Change to take two arguments.
4069 Add prototype. Change callers.
4071 2001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
4073 * ebrowse.c (enter_namespace, main): Cast variables to shut up
4075 (yyerror): Change parameter declarations to be of type long, so
4076 that they can take pointers on 64-bit platforms.
4078 * emacsclient.c (main): Remove unused local variable statbfr.
4079 (main) <homedir>: Make its declaration conditional on
4080 SERVER_HOME_DIR, to avoid compiler warnings.
4082 * emacsserver.c (main) <homedir>: Make its declaration conditional
4083 on SERVER_HOME_DIR, to avoid compiler warnings.
4085 * fakemail.c (readline): Cast buffer to "long *" to pacify
4086 over-zealous compilers.
4088 2000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
4090 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
4092 2000-12-15 Gerd Moellmann <gerd@gnu.org>
4094 * ebrowse.c (operator_name): Cast argument of isalpha to
4097 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
4098 Use them throughout instead of ctype functions/macros.
4099 (lowcase): Cast to unsigned char.
4100 (UPCASE): New macro.
4101 (canonicalize_filename): Use UPCASE instead toupper.
4103 * fakemail.c (get_keyword): Make sure that isspace and
4104 similar aren't called with a negative argument.
4106 2000-12-13 Dave Love <fx@gnu.org>
4108 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
4110 2000-12-06 Andrew Innes <andrewi@gnu.org>
4112 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
4113 don't know the real version, and I can't seem to get the quoting
4114 right in all circumstances.
4116 * ebrowse.c (VERSION): Provide default definition, like etags.c
4117 does, because Windows build can't snarf this from version.el.
4119 2000-11-30 Andrew Innes <andrewi@gnu.org>
4121 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
4124 2000-11-23 Jason Rumney <jasonr@gnu.org>
4126 * makefile.w32-in: Add targets for ebrowse.exe.
4127 (LOCAL_FLAGS): Add -DVERSION flag.
4129 2000-09-25 Dave Love <fx@gnu.org>
4131 * sorted-doc.c: Include config.h.
4132 [!HAVE_STDLIB_H]: Declare malloc.
4134 2000-09-14 Andrew Innes <andrewi@gnu.org>
4136 * makefile.w32-in: Revert to Unix line endings.
4138 2000-09-04 Dave Love <fx@gnu.org>
4140 * movemail.c (index, rindex): Prototype conditionally.
4142 2000-09-03 Andrew Innes <andrewi@gnu.org>
4144 * makefile.w32-in: Change to DOS line endings.
4146 2000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
4148 * movemail.c (toplevel): Remove redundant fcntl.h.
4149 [!F_OK]: Provide default definitions only after including both
4150 fcntl.h and unistd.h.
4152 2000-08-29 Dave Love <fx@gnu.org>
4154 * movemail.c: Revert previous change.
4156 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
4158 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
4160 2000-08-28 Dave Love <fx@gnu.org>
4162 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
4163 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
4165 2000-08-22 Andrew Innes <andrewi@gnu.org>
4167 * ntlib.h (WIN32): Remove unnecessary definition.
4168 (sleep): Make argument unsigned long.
4169 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
4171 * ntlib.c (sleep): Make argument unsigned long.
4173 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
4175 * makefile.w32-in: New file.
4177 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
4179 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
4180 letter only if it is a drive letter.
4182 2000-07-14 Gerd Moellmann <gerd@gnu.org>
4184 * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
4186 * etags.c (xmalloc, xrealloc): Make externally visible, for use
4189 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
4191 2000-07-10 Gerd Moellmann <gerd@gnu.org>
4193 * ebrowse.c (yylex): Accept string literals with newlines in them.
4194 (process_pp_line): Handle case of string literal with newline
4195 in it in replacement text, which counts as continuing the
4196 replacement text in GNU C.
4198 2000-07-02 Gerd Moellmann <gerd@gnu.org>
4200 * ebrowse.c (token_string): Add missing tokens.
4201 (parm_list): Handle case of qualified pointers.
4203 2000-06-23 Dave Love <fx@gnu.org>
4205 * ebrowse.c: Move config.h before other includes (which may use
4208 2000-06-14 Jim Meyering <meyering@lucent.com>
4210 * grep-changelog: Fix typos in comments. Remove trailing blanks.
4212 2000-06-11 Jason Rumney <jasonr@gnu.org>
4214 * makefile.nt: Add targets for ebrowse.
4216 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
4219 2000-06-06 Gerd Moellmann <gerd@gnu.org>
4221 * ebrowse.c (ymalloc): Rename from xmalloc.
4222 (yrealloc): Rename from xrealloc.
4224 2000-05-21 Dave Love <fx@gnu.org>
4226 * movemail.c: Include config.h, not ../src/config.h.
4227 (Errmsg): Bump length.
4229 * pop.c (ERROR_MAX): Increase to 160.
4231 2000-05-04 Gerd Moellmann <gerd@gnu.org>
4233 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
4235 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
4237 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
4238 Define to semi-colon.
4239 (FILENAME_EQ): New macro, for comparing file names.
4240 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
4241 (process_file): Don't assume that fread always reads as many bytes
4242 as it was told to (DOS-style CR-LF text files fail this logic).
4243 (open_file): Allocate enough space for path->path plus the file
4246 2000-04-19 Dave Love <fx@gnu.org>
4248 * etags.c (Texinfo_functions): New function.
4249 (lang_names): Install it.
4250 (Texinfo_suffixes): New variable.
4252 2000-04-19 Gerd Moellmann <gerd@gnu.org>
4254 * ebrowse.c (xmalloc, xrealloc): Rewritten.
4255 (declaration): Remove parameter IS_EXTERN.
4256 (class_definition): Remove unused variable.
4258 2000-04-09 Gerd Moellmann <gerd@gnu.org>
4260 * Makefile.in (INSTALLABLES): Add ebrowse.
4261 (ebrowse): New target.
4263 * ebrowse.c: New file.
4265 2000-03-29 Andreas Schwab <schwab@suse.de>
4267 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
4269 2000-03-02 Gerd Moellmann <gerd@gnu.org>
4271 * etags.c (lisp_suffixes): Add `LSP'.
4273 2000-02-10 Francesco Potortì <pot@gnu.org>
4275 * etags.c (iswhite): Redefine not to consider '\0' as white
4276 space, and use it throughout in place of isspace, thus preventing a
4277 potential signed char to int conversion problem.
4278 (MSDOS): #undefine before redefining.
4280 2000-02-04 Francesco Potortì <pot@gnu.org>
4282 * etags.c (many functions): Add prototypes.
4284 2000-02-10 Dave Love <fx@gnu.org>
4286 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
4287 (erlang_func): Add `static' to definitions to keep pcc happy.
4289 2000-01-31 Francesco Potortì <pot@gnu.org>
4291 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
4292 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
4293 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
4294 (getenv, getcwd): Only declare them if necessary.
4295 (EMACS_NAME): New constant macro.
4296 (print_version): Use it.
4297 (P_) [__STDC__]: Macro for defining function prototypes.
4299 2000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
4301 * etags.c [WINDOWSNT]: #include <direct.h>
4303 2000-01-18 Martin Buchholz <martin@xemacs.org>
4305 * etags.c (all functions): Made them static.
4306 (all functions): Write prototypes.
4308 2000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
4310 * movemail.c (main): Improve error message if can't create lock file.
4312 2000-01-28 Eric Hanchrow <offby1@blarg.net>
4314 * emacsclient.c (socket_status): New function.
4315 (main): If $LOGNAME or $USER exist and differ from our euid, look
4316 for a socket based on the UID associated with the name.
4318 2000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
4320 * emacsclient.c: Add option -a EDITOR and environment variable
4321 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
4323 1999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4325 * movemail.c (popmail): Allow mailbox specifications of the
4326 form `po:username:hostname'.
4328 1999-11-19 Francesco Potortì <pot@gnu.org>
4330 * etags.c (_GNU_SOURCE): Define only if undefined.
4331 (get_scheme): Declaration deleted.
4332 (main): Error was called with an integer as second arg, instead of
4334 (canonicalize_filename): Bug removed.
4336 1999-11-18 Dave Love <d.love@dl.ac.uk>
4338 * etags.c (C_entries): Rename label `intoken', avoiding K&R
4339 lossage from name clash with macro.
4341 1999-11-13 Gerd Moellmann <gerd@gnu.org>
4343 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
4345 1999-11-03 Gerd Moellmann <gerd@gnu.org>
4347 * etags.c (print_help): Change email address to send bugs to.
4349 1999-11-01 Francesco Potortì <pot@gnu.org>
4351 * etags.c: Add suffix psw for PSWrap.
4352 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
4353 (Postscript_functions): Add code for PSWrap.
4354 (Scheme_functions): Use local pointer and new get_tag function.
4355 (get_tag): New name for old get_scheme.
4356 (process_file): Do not free NULL when file does not exist.
4357 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
4358 (C_entries): Modifications that make --members tag even inside
4359 typedefs and C nested structs (one level only).
4360 (consider_token): Correct a bug which prevented tagging of enum
4362 (C_stab_entry): Add if, for, while, switch, return as
4363 st_C_ignore. This makes it simpler to work when cblev!=0.
4365 * etags.c (C_entries): Tag member function declarations when
4366 --declarations is used.
4368 * etags.c (C_entries, consider_token): C++ `operator' now is
4369 tagged in most cases.
4370 As before, :: is not recognized if surrounded by spaces.
4372 * etags.c (relative_filename): Account for DOS file names such
4373 that is impossible to make one relative to another.
4375 * etags.c (sym_type): New st_C_extern tag.
4376 (gperf input): Use it for spotting external declarations.
4377 (print_help): Document the new behavior of --declarations.
4378 (fvextern): New global variable.
4379 (consider_token, C_entries): Use it.
4381 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
4382 (etags_getcwd): Remove test for WINDOWSNT.
4384 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
4385 foo.cgz, foo.cz, etc.
4387 * etags.c (declarations): New global switch.
4388 (longopts): Describe it.
4389 (print_help): Document it.
4390 (C_entries): Use it.
4391 (process_file): Don't process a file twice.
4393 * etags.c (Fortran_functions): No tags for "procedure".
4395 1999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
4397 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
4398 non-zero, returns a pointer to where the extension begins; callers
4400 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
4403 1999-11-01 Francesco Potortì <pot@gnu.org>
4405 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
4406 (fvdev): New constant foperator.
4407 (consider_token): Use it to get "operator" in C++.
4408 (C_entries): Extend length of operator@ function name.
4409 (C_entries): Use foperator when necessary.
4411 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
4413 * etags.c (compressor): New struct for compressed files.
4414 (get_compressor_from_suffix): New function.
4415 (get_language_from_suffix): Use it. Also, semantics changed.
4416 (process_file): Consider compressed files, close file.
4417 (find_entries): Use different call arg for get_language_from_suffix,
4420 * etags.c (main): Call free_tree.
4421 (find_entries): Do not free curfile.
4422 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
4423 (prolog_pred, erlang_func, substitute): Cast strlen to int when
4425 (canonicalize_filename): Shut up compiler warning.
4426 (Perl_functions): Make tag significant.
4428 1999-11-01 Dave Love <d.love@dl.ac.uk>
4430 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
4431 (argument_type): New member at_icregexp.
4432 (lc_trans): New global.
4433 (main): Fill lc_trans. Process -c args.
4434 (add_regex): New arg determining whether to use translation table.
4435 (analyse_regex): New arg. Use it for add_regex.
4437 1999-11-01 Francesco Potortì <pot@gnu.org>
4439 * etags.c (init): Cosmetic change: NULL --> '\0'.
4440 (erlang_attribute): Bug corrected (uninitialized variable).
4441 (filename_is_absolute): New function replaces absolutefn macro and
4442 corrects a bug. All callers changed.
4443 (canonicalize_filename): New function.
4444 (process_file, etags_getcwd, absolute_dirname): Use it.
4445 (relative_filename, absolute_filename): Remove var shadowing.
4446 (C_entries, Pascal_functions): Add fake initializations to keep
4448 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
4450 * etags.c (xrnew): New macro. All callers of xrealloc changed.
4451 (language): New typedef (was struct lang_entry).
4452 (curlang): New global variable.
4453 (node): Typedef renamed from NODE.
4454 (linebuffer): New typedef (was struct linebuffer).
4455 (pattern): New typedef (was struct pattern). Some members added.
4456 Now used as element of a linked list.
4457 (patterns, num_patterns): Global variables deleted.
4458 (p_head): New global variable.
4459 (forced_lang): New global variable (replaces lang_func).
4460 (get_language_from_name, get_language_from_interpreter)
4461 (get_language_from_suffix): Semantics changed. All callers changed.
4462 (last_node): New global variable.
4463 (free_tree, add_node, put_entries, total_size_of_entries):
4464 Change name of local vars to avoid clashes with typedef node.
4465 (number_len): Rewritten for elegance.
4466 (token): New typedef replaces TOKEN.
4467 (analyse_regex, add_regex): Rewritten for new functionality.
4468 (free_patterns): New function called from main and add_regex.
4469 (initbuffer, readline_internal, readline, grow_linebuffer):
4470 Change name of local vars to avoid clashes with typedef linebuffer.
4471 (readline): Rewritten for new functionality.
4473 * etags.c (Scheme_suffixes): New suffix ".ss".
4474 (print_help): --globals is now used for more than C-type languages.
4475 (Perl_functions): Tag global variables ("my" and "local").
4477 * etags.c (print_help): Some messages clarified.
4478 (LOOP_ON_INPUT_LINES): New macro.
4479 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
4480 (Python_functions, Cobol_paragraphs, Pascal_functions)
4481 (Lisp_functions, Postscript_functions, Scheme_functions)
4482 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
4483 (Cobol_paragraphs, Postscript_functions, TeX_functions)
4484 (Prolog_functions, Erlang_functions): Use a local variable instead
4485 of the global variable dbp.
4486 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
4487 standard indentation.
4489 * etags.c (Python_suffixes, lang_names, Python_functions):
4491 (skip_spaces, skip_non_spaces): Utility functions.
4492 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
4493 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
4494 (prolog_pred, erlanf_func, erlang_attribute): Use them.
4495 (eat_white): Delete.
4497 * etags.c (CHAR, init): Keep into account non US-ASCII
4498 characters and compilers with default signed chars.
4499 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
4501 (C_stab_entry): "interface" in Java behaves like "class".
4503 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
4504 (main): Put interval syntax here.
4505 (add_regex): And remove it from here.
4507 * etags.c (suggest_asking_for_help): Provide a
4508 meaningful help message with and without LONG_OPTIONS.
4510 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
4511 <stdlib.h, string.h>: Don't test MSDOS when including them.
4512 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
4513 (put_entries): Correctly use %ld instead of %d in printf.
4515 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
4516 declare getcwd if HAVE_GETCWD.
4517 (consider_token): Dead break instruction removed.
4519 1999-10-19 Paul Eggert <eggert@twinsun.com>
4521 Add support for large files. Merge glibc 2.1.2.
4523 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
4524 * movemail.c, pop.c:
4525 Do not include <stdlib.h>, as <config.h> does this now.
4527 * b2m.c, emacsserver.c, etags.c, profile.c:
4528 Include <config.h> before any system include files.
4530 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
4532 (read, write, open, close): Do not undef.
4534 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
4535 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
4537 * getopt.h: Adopt glibc 2.1.2.
4539 1999-10-15 Dave Love <fx@gnu.org>
4541 * Makefile.in (pop.o): Depend on config.h.
4543 1999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4545 * pop.c: Use "pop3" as the POP service name on all platforms,
4546 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
4547 has been the standard service name since RFC 1340 was published in
4548 July 1992, so I think it's safe to start using it by default.
4550 1999-09-27 Dave Love <fx@gnu.org>
4552 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
4554 1999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
4556 * make-docfile.c (scan_lisp_file): Fix previous changes;
4557 swallow CRLF like just CR or just LF.
4559 1999-09-03 Richard Stallman <rms@gnu.org>
4561 * make-docfile.c: Include config.h not ../src/config.h.
4562 (main, fopen, chdir): Add #undef.
4563 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
4564 (scan_lisp_file): Handle \r like \n.
4566 1999-08-30 Andreas Schwab <schwab@gnu.org>
4568 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
4570 * emacsserver.c: Include <stdlib.h> if available. Don't declare
4571 errno if it's a macro.
4573 * test-distrib.c: Include <unistd.h> if available.
4575 1999-08-29 Richard Stallman <rms@gnu.org>
4577 * emacsclient.c (print_help_and_exit): Mention --version.
4579 1999-08-25 Richard M. Stallman <rms@gnu.org>
4581 * emacsclient.c (decode_options): Update version output.
4582 (print_help_and_exit): Update bug report address.
4584 1999-08-13 Richard M. Stallman <rms@gnu.org>
4586 * emacsclient.c (main): Move the dynamic allocation of
4587 system_name outside of the SERVER_HOME_DIR conditional.
4588 * emacsserver.c (main): Likewise.
4590 1999-08-10 Gerd Moellmann <gerd@gnu.org>
4592 * grep-changelog: New.
4593 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
4595 1999-07-12 Richard Stallman <rms@gnu.org>
4597 * Version 20.4 released.
4599 1999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
4601 * Makefile.in (clean): Remove fns*.el.
4603 1999-06-23 Dave Love <fx@gnu.org>
4605 * etags.c (erlang_attribute): Fix undefined variable usage (after
4608 1999-05-02 Andrew Innes <andrewi@gnu.org>
4610 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
4613 1999-04-29 Richard M. Stallman <rms@gnu.org>
4615 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
4617 1999-03-30 Dave Love <fx@gnu.org>
4619 * sorted-doc.c (main): Split up tables. Modify the preamble
4622 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
4624 * makefile.nt: Remove common multiple file compilation commands.
4626 1999-02-26 Richard Stallman <rms@gnu.org>
4628 * Makefile.in (yow): Depend on epaths.h, not paths.h.
4630 * yow.c: Refer to epaths.h.
4632 1999-02-22 Simon Josefsson <jas@pdc.kth.se>
4634 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
4636 1999-01-27 Andrew Innes <andrewi@gnu.org>
4638 * makefile.nt: Do make version comparison as strings.
4640 1999-01-25 Richard Stallman <rms@gnu.org>
4642 * emacsclient.c (xmalloc): Fix previous change.
4644 1999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
4646 * emacsclient.c (xmalloc): Declare to return long.
4648 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
4650 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
4651 the case of the drive letter.
4653 1999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
4655 * emacsserver.c (main): Eliminate arbitrary limit on
4656 length of system_name.
4658 * emacsclient.c (main): Eliminate arbitrary limit on
4659 length of system_name.
4660 (xmalloc): Define unconditionally.
4662 1999-01-12 Darrin B. Jewell <jewell@mit.edu>
4664 * etags.c (relative_filename): Stop backward search at beginning
4665 of string, since non-Unix systems can have absolute paths with no
4668 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
4670 * makefile.nt: Do string comparison of _NMAKE_VER.
4672 1998-11-03 Theodore Jump <tjump@cais.com>
4674 * makefile.nt: Compile multiple source files when possible.
4676 1998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
4678 * Makefile.in: Replace tabs with spaces
4679 when they might confuse some Make versions.
4681 1998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
4683 * emacsclient.c (main): Null-terminate system_name.
4685 * emacsserver.c (main): Null-terminate system_name.
4687 1998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4689 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
4690 an error message from POP, mention that it's from POP, to
4691 distinguish it from local error messages.
4693 1998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4695 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
4696 order of messages downloaded from a POP server (e.g., if the
4697 server stores messages in mailboxes in reverse order).
4699 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
4701 * Version 20.3 released.
4703 1998-08-11 Paul Eggert <eggert@twinsun.com>
4705 * rcs2log: Update copyright date and bug report address.
4706 (initialize_fullname): Prefer getent if available.
4708 1998-07-30 Paul Eggert <eggert@twinsun.com>
4710 * Makefile.in (REGEXPDEPS, regex.o):
4711 Prepend $(srcdir)/ to rule dependencies outside this dir.
4713 1998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
4715 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
4717 1998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
4719 * Makefile.in: Properly terminate a comment.
4721 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
4723 * movemail.c (sys_wait): Rename to wait.
4725 * ntlib.h: Undefine _WINSOCKAPI_.
4727 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
4729 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
4731 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
4733 1998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
4735 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
4736 Force all file i/o to be in binary mode. Include ntlib.h.
4738 1998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
4740 * make-docfile.c: Include <unistd.h> for chdir.
4742 1998-04-25 Richard Stallman <rms@psilocin.gnu.org>
4744 * etags.c (TEX_decode_env): Don't free the value getenv returns.
4746 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
4748 * makefile.nt (obj): Update with new files in src.
4749 (clean): Delete patch scratch files, optimized compilation dir.
4751 1998-04-08 Dave Love <fx@gnu.org>
4753 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
4756 1998-04-06 Andreas Schwab <schwab@gnu.org>
4759 * movemail.c: Move cancelations up. Include <stdlib.h> if
4761 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
4762 (parse_header): Explicitly declare return type.
4763 * emacsserver.c: Include <unistd.h> if available.
4764 (main, handle_signals, perror_1, fatal_error): Explicitly declare
4765 return types. Add forward declarations.
4766 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
4767 Don't declare geteuid.
4768 (print_help_and_exit): Change return type to void.
4770 * b2m.c: Include <stdlib.h> if available.
4771 (main): Explicitly declare return type.
4773 1998-04-03 Richard Stallman <rms@psilocin.gnu.org>
4775 * etags.c (put_entries): Use %ld.
4777 * b2m.c (fatal): Declare the arg.
4779 1998-03-26 Richard Stallman <rms@psilocin.gnu.org>
4781 * pop.c (pop_getline): Rename from getline.
4783 1998-03-05 Richard Stallman <rms@psilocin.gnu.org>
4785 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
4788 1998-01-23 Dave Love <d.love@dl.ac.uk>
4790 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
4791 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
4792 Always make named tags.
4793 (Fortran_functions): Grok BLOCK DATA.
4795 1998-01-23 Andreas Schwab <schwab@gnu.org>
4797 * movemail.c (main): Fix interwoven brace and cpp conditional
4800 1997-12-03 Paul Eggert <eggert@delysid.gnu.org>
4802 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
4803 with a '>' any lines starting with "From " read from the POP server,
4804 but leave the code in place, wrapped in #ifdef
4805 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
4806 because it turns out that something is depending on it.
4807 Change suggested by Paul Eggert <eggert@twinsun.com>.
4808 Convert the character \037 (^_) at the beginning of a line into
4809 the character '^' followed by the character '_', because otherwise
4810 Emacs can't parse the resulting file as a valid BABYL file.
4811 Change suggested by Paul Eggert <eggert@twinsun.com>.
4813 1997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4815 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
4816 server to contain embedded nulls.
4818 1997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4820 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
4821 quotes with a '>' any lines starting with "From " read from the
4822 POP server, but leave the code in place, wrapped in #ifdef
4823 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
4824 because it turns out that something is depending on it.
4825 Change suggested by Paul Eggert <eggert@twinsun.com>.
4827 Convert the character \037 (^_) at the beginning of a line into
4828 the character '^' followed by the character '_', because otherwise
4829 Emacs can't parse the resulting file as a valid BABYL file.
4830 Change suggested by Paul Eggert <eggert@twinsun.com>.
4832 1997-11-22 Richard Stallman <rms@gnu.org>
4834 * b2m.c: Include getopt.h.
4835 (main): Use getopt_long to handle --version and --help.
4837 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
4839 1997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4841 * pop.c (fullwrite): Get rid of an extra call to write.
4842 Problem pointed out by Chiaki Ishikawa.
4844 1997-10-16 Dave Love <d.love@dl.ac.uk>
4846 * etags.c (L_getit): Always make named tags so that Emacs
4847 completion on symbols containing `:' etc. works.
4848 (get_scheme): Likewise.
4850 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4852 * pop.c: Use system header files instead of declaring C-library
4853 functions explicitly.
4855 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4857 * Version 20.2 released.
4859 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4861 * Version 20.1 released.
4863 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
4865 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
4867 * ntlib.c (getpid): Delete function.
4869 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4871 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
4873 1997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4875 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
4876 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
4878 1997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4880 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
4882 1997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
4884 * profile.c (get_time): Cast arg to fprintf.
4886 * hexl.c (main): Use %08lx instead of %08x in printf because the
4887 variable named addresses is long.
4889 1997-08-08 Geoff Voelker <voelker@cs.washington.edu>
4891 * makefile.nt (lisp): Update paths to lisp files that have moved.
4893 1997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
4895 * makefile.nt (ctags.obj): New target.
4896 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
4898 * ntlib.h: Add includes.
4899 Undo definitions of crt routines from config.h.
4901 1997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4903 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
4905 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4907 * pop.c: Support auto-configuration of both Kerberos V4 and
4908 Kerberos V5 for movemail, including detection of V4 and V5 header
4909 files and libraries.
4910 Include <string.h> when STDC_HEADERS is defined, to get
4911 declarations of string functions.
4912 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
4913 V5 API rather than the old one.
4914 [KERBEROS] (socket_connection): Change a constant name from
4915 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
4916 with a constant in a header file.
4918 * Makefile.in: Support auto-configuration of both Kerberos V4 and
4919 Kerberos V5 for movemail, including detection of V4 and V5 header
4920 files and libraries.
4922 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4924 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
4926 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
4928 1997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4930 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
4932 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4934 * movemail.c (rindex): Add declaration.
4936 1997-07-01 Geoff Voelker <voelker@cs.washington.edu>
4938 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
4939 (movemail.exe): Depend upon and link with getopt files.
4940 (obj): Include new source files.
4941 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
4942 (lisp): Include new and reorganized elisp files.
4944 1997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4946 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
4948 1997-06-25 Paul Eggert <eggert@twinsun.com>
4950 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
4952 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
4954 * b2m.c (readline): Terminate buffer properly when EOF seen.
4955 Test for valid pointer before dereferencing it.
4957 1997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4959 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
4960 defined inside etags.c if HAVE_CONFIG_H is defined.
4962 1997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4964 * etags.c (logical): Type name changed to bool.
4965 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
4966 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
4967 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
4968 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
4969 (longopts): New long options without short counterpart are
4970 globals, members, no-globals, no-members. Regexp options are now
4971 defined conditionally to ETAGS_REGEXPS.
4972 (print_help): Updated.
4974 1997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4976 * etags.c (C_entries): Use "." instead of "::" for Java.
4977 (consider_token): is_func renamed to is_func_or_var.
4978 (C_entries): is_func renamed to funorvar.
4979 (C_entries): Initialize tok.named.
4980 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
4981 get rid of "import", "package" and "friend".
4982 (fvdef): Rename from funcdef. Also some constants renamed.
4984 (C_entries): Make separate tags for variables separated by comma.
4985 (globals, members): New flags.
4986 (main, C_entries): Use them.
4987 (make_C_tag, C_entries): Make tok a global variable.
4989 1997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
4991 * etags.c (funcdef): New vignore constant.
4992 (consider_token, C_entries): Use it to tag global variables.
4993 (print_help): Update for global variables.
4994 (consider_token, C_entries): Set the len member of token_name.
4995 (prolog_pred): Cleanup according to GNU coding standards.
4996 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
4997 (prolog_white, erlang_white): Rename to eat_white, callers changed.
4999 1997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5001 * etags.c (CHARS, CHAR): New constant and macro.
5002 (iswhite, begtoken, intoken, endtoken): Use them.
5003 (notinname, _nin, nonam): New macro, array, string.
5004 (init): Cleanup and init _nin.
5005 (new_pfnote): New function.
5006 (make_C_tag) [traditional_tag_style]: Use it.
5007 (traditional_tag_style): Constant set to TRUE for now.
5009 1997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5011 * etags.c (C_entries, Pascal_functions): Cleanup.
5012 (TeX_functions): NULL as a function arg needs a cast.
5013 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
5015 1997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5017 * etags.c (TeX_functions): Cleaned up.
5018 (tex_getit): Remove.
5020 1997-05-13 Paul Eggert <eggert@twinsun.com>
5022 * rcs2log (files): When computing arguments automatically, ignore
5023 non-files within the RCS subdirectory.
5025 1997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5027 * etags.c (C_JAVA): New #define.
5028 (Cjava_suffixes): .java is Java.
5029 (Cjava_entries): New function.
5030 (lang_names): Add Java.
5031 (sym_type): Add st_C_javastruct for Java.
5032 (C_stab_entry): Add `extends' and `implements' keywords.
5033 (consider_token, C_entries): Recognize Java structures.
5035 1997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5037 * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax.
5038 (Postscript_suffixes): .ps is PostScript.
5039 (lang_names): Add postscript.
5040 (Postscript_functions): New function.
5041 (TEX_decode_env): Close minor memory leak.
5042 (just_read_file): Correct the char number of the tag.
5044 1997-05-11 Paul Eggert <eggert@twinsun.com>
5046 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
5047 Don't prepend $nl since this causes some shells to generate the
5048 empty string when IFS is $nl.
5049 (printlogline): Use SOH (octal code 1), not CR, since some
5050 PC-based shells mishandle CR.
5051 (initialize_fullname): Set NIS_PATH to the empty string before invoking
5052 nismatch, in case it's set to some nonstandard value.
5054 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5056 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
5057 read in separate blocks.
5059 1997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5061 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
5062 (struct linebuffer): New member `len' is the length of the string.
5063 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
5064 Use it instead of strlen.
5065 (TEX_getit): Declare and define unconditionally as static.
5066 (TeX_functions): Use if instead of #if TeX_named_tokens.
5067 (add_regex): Set RE_INTERVALS flag for regex compilation.
5068 (substitute): Code cleanup.
5069 (readline_internal): Code cleanup, set new member `len'.
5070 (readline): Bug corrected.
5072 1997-04-23 Geoff Voelker <voelker@cs.washington.edu>
5074 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
5075 (obj): Change references of nt*.c files to w32*.c files.
5077 1997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5079 * etags.c (xnew): Add support for debugging with chkmalloc.
5080 (error): Use this instead of printf whenever possible.
5081 (main): Only call xnew after having initialized progname.
5082 (substitute): Bad memory corruption error corrected.
5084 1997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5086 * etags.c (add_regex): Undo previous change.
5087 (relative_filename): Small memory leak closed.
5088 (absolute_filename): Cleaned up the code, possibly closing a bug.
5089 (absolute_dirname): Always return a newly allocated string.
5091 1997-03-21 Paul Eggert <eggert@twinsun.com>
5093 * rcs2log (files): Ignore files in RCS directory whose names are
5094 of the form ,*, or *_; they are probably RCS lock files.
5095 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
5096 they are used by rcsfreeze.
5098 1997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5100 * etags.c (add_regex): Reset *putbuf before using it.
5102 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5104 * movemail.c (popmail): Remove some unnecessary function
5106 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
5107 into pop_retr, there's no reason to pass in mbx_write, and the
5108 file argument can be declared FILE * explicitly. This fixes a
5109 compilation problem on systems with 64-bit pointers.
5111 1997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5113 * movemail.c: Delete duplicate inclusion of fcntl.h
5114 and duplicate #undefs of open, read, write, close.
5116 1997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5118 * movemail.c (main): Do not display "[POP-password]" in the usage
5119 message when movemail is compiled without POP support.
5120 (main, popmail): Add the optional "-p" argument, which causes
5121 movemail to leave mail in the inbox after copying it into the
5124 * Makefile.in (movemail): Link with getopt.
5126 1997-01-20 Paul Eggert <eggert@twinsun.com>
5128 * rcs2log (--help, --version): New options, per GNU coding standards.
5129 (Copyright, Help, Id): New variables, for above.
5130 (rlog): Use -q option with cvs log, to avoid useless chatter.
5132 Treat logs of "Initial revision" (RCS) or "file F was initially added
5133 on branch B." (CVS) as if they said "New file.", for consistency with
5136 1997-01-01 Paul Eggert <eggert@twinsun.com>
5138 * vcdiff (PATH): Add /usr/xpg4/bin,
5139 where XPG4 SCCS hangs out in Solaris 2.5.
5140 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
5142 1996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5144 * etags.c (streq, strneq): Use == NULL rather than !.
5146 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
5148 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
5149 (movemail): Use LIBMAIL, to link against -lmail.
5151 * movemail.c: Include maillock.h (conditionally).
5152 Remove a redundant inclusion of <stdio.h>.
5153 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
5154 (main): Add variable spool_name.
5155 Support the usage of maillock and mailunlock to
5156 lock and unlock mailboxes.
5157 (mail_spool_name): New function.
5159 * movemail.c: Fix an uninitialized variable which could cause
5160 movemail to exit with an error status incorrectly on systems which
5161 use lock files rather than a system locking function to lock
5164 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5166 * pop.c (socket_connection): Free realhost after using it.
5168 1996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5170 * etags.c (C_entries): Test tok.valid. This handles some
5171 particular cases involving function declarations that failed.
5173 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
5175 * pop.c (socket_connection):
5176 gethostbyname may return a pointer to static data.
5177 krb_realmofhost can clobber it. So copy it.
5179 1996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5181 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
5182 must cast it to (char *) because we have no prototypes.
5183 (make_C_tag): Macro deleted, new function.
5184 (C_entries): Calls to make_C_tag macro changed to call function.
5186 1996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5188 * etags.c (grow_linebuffer): New function.
5189 (GROW_LINEBUFFER): Macro deleted. All callers changed.
5190 (make_tag): Macro renamed to make_C_tag. All callers changed.
5191 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
5192 (Prolog_functions): prolog_skip_comment was called with wrong
5193 number of arguments.
5194 (xrealloc): fatal was called with wrong number of arguments.
5196 1996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5198 * etags.c (relative_filename): Bug corrected.
5199 (etags_getcwd): Avoid warning of unused variable.
5200 (C_entries, consider_token): Add support for enum labels.
5202 1996-11-03 Paul Eggert <eggert@twinsun.com>
5204 * rcs2log: When processing cvs log output, remove `Attic/' from
5205 repository file names.
5207 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
5209 * emacsserver.c: Fix 1996-09-02 change.
5211 1996-10-12 Paul Eggert <eggert@twinsun.com>
5213 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
5214 option', since CVS says 'invalid option'.
5215 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
5216 revisions, since some hosts reject 1970-01-01 when east of UTC.
5219 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5221 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
5223 1996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5225 * etags.c (print_version): Print copyright info.
5227 * etags.c (print_help): Print the bug reporting address.
5228 (main): Use return as the last instruction, instead of exit.
5230 * etags.c (main): Don't open the tags file in cxref mode.
5232 1996-09-29 Dave Love <d.love@dl.ac.uk>
5234 * rcs2log (date): Make default format acceptable to CVS post v1.8
5235 as well as earlier CVSs and RCS.
5237 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5239 * movemail.c (main): If the lock call fails with EBUSY or
5240 EAGAIN, retry a few times.
5242 1996-09-25 Paul Eggert <eggert@twinsun.com>
5244 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
5245 whether to append -zLT.
5247 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5249 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
5250 * emacsclient.c, movemail.c: Likewise.
5252 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5254 * emacsclient.c (longopts): Change nowait to no-wait.
5255 (print_help_and_exit): Fix option name; upcase metavars.
5257 1996-09-06 Erik Naggum <erik@naggum.no>
5259 * emacsserver.c (main): Declare `fromlen' as size_t.
5261 1996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5263 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
5265 1996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5267 * emacsclient.c (quote_file_name): Quote with &, not \.
5268 Quote `-' only at start of file name. Terminate the value string.
5270 * emacsserver.c: Include signal.h properly;
5271 delete the duplicate includes for it.
5273 * emacsserver.c: On fatal signal, delete socket-file:
5274 * emacsserver.c: Include signal.h.
5275 (xmalloc, fatal, error): New functions.
5276 (delete_socket, handle_signals): New functions.
5277 (progname, socket_name): New variables.
5278 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
5280 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5282 * emacsclient.c (quote_file_name): New function.
5283 (main, both versions): Use quote_file_name.
5284 (decode_options): Don't return a value.
5285 (main, both versions): Use optind.
5286 Don't check for -nowait here.
5288 * emacsclient.c (decode_options): New function.
5289 (main, both versions): Call decode_options.
5290 (print_help_and_exit): New function.
5291 (VERSION): New macro.
5293 * Makefile.in (emacsclient): Link with getopt.
5294 Add -DVERSION so emacsclient knows its version number.
5296 1996-08-31 Geoff Voelker <voelker@cs.washington.edu>
5298 * makefile.nt (lisp): Include dos-nt.elc.
5300 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5302 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
5304 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5306 * emacsclient.c (both versions): Handle -nowait and --nowait
5307 by sending data to the server.
5309 1996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5311 * Makefile.in (INSTALL_STRIP): New variable.
5312 (${archlibdir}): Use INSTALL_STRIP.
5314 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
5315 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
5317 * pop.c: Reverse conditional in previous change.
5319 1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
5321 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
5323 1996-08-24 Paul Eggert <eggert@twinsun.com>
5325 * rcs2log: Use ISO 8601 date format, with time zone appended
5326 if change-log-time-zone-rule is non-nil, instead of
5327 traditional Unix date format.
5329 (datearg): When computing default from ChangeLog, handle ISO format
5330 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
5331 Don't worry about hh:mm:ss since the resolution is now by day.
5332 Use empty datearg, not empty rlog_options, to decide whether to pass
5333 "$datearg" option to $rlog.
5334 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
5335 (month_data): Remove `mo'; no longer needed.
5336 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
5338 Match `revision' line of rlog output more accurately.
5342 1996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
5344 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
5346 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5348 * Version 19.33 released.
5350 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5352 * Version 19.32 released.
5354 1996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
5356 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
5357 computing character positions in source files.
5359 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
5361 * makefile.nt (clean): Use OBJDIR macro.
5363 1996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5365 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
5367 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
5369 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
5370 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
5371 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
5373 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
5375 * ntlib.h: Correct return type of getwd.
5376 * ntlib.c (getwd): Correct return type.
5378 1996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5380 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
5383 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
5385 * makefile.nt: Remove all references to wakeup.
5387 1996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5389 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
5390 explicit, mutable, typename.
5392 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5394 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
5395 streams, one for sending and one for reading the reply.
5397 1996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5399 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
5400 (wakeup): Target deleted.
5401 (UTILITIES): Delete wakeup and timer.
5403 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
5405 1996-06-11 Geoff Voelker <voelker@cs.washington.edu>
5407 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
5408 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
5410 1996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5412 * etags.c (main): Copy cwd when appending slash.
5414 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
5416 * Version 19.31 released.
5418 1996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5420 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
5421 (Pascal_functions): Increase linecharno by the correct number of
5422 chars, inline the GET_NEW_LINE macro and delete its definition.
5424 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
5426 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
5428 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
5430 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
5431 (movemail.exe, fakemail.exe): Now built under Win32.o.
5433 * ntlib.c: Include ntlib.h.
5434 (nt_sleep): Rename to sleep.
5435 (getwd): Return directory.
5436 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
5437 sys_ctime, sys_fopen): New functions.
5439 * ntlib.h: New file.
5441 1996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5443 * pop.c (SEND, RECV): Rename from send, recv.
5444 (pop_open, pop_trash): Make the trash_started code unconditional.
5445 (socket_connection): Delete casts to void.
5447 1996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
5449 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
5450 Definitions copied from lisp.h.
5452 1996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
5454 * fakemail.c [WINDOWSNT]: Include ntlib.h.
5456 * hexl.c [DOSNT]: Include fcntl.h.
5457 [WINDOWSNT]: Include io.h.
5458 (main) [MSDOS]: Change conditional to DOS_NT.
5460 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
5461 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
5462 [WINDOWSNT]: Include locking.h.
5463 (main): Update usage message. Use IS_DIRECTORY_SEP.
5464 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
5465 (main) [WINDOWSNT]: Invoke locking instead of flock.
5466 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
5467 (main) [MAIL_USE_POP]: Pass password to popmail if used.
5468 Include winsock.h; don't include unix inet headers.
5469 (popmail): Add password argument and pass it to pop_open.
5470 Open output file in binary mode.
5472 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
5473 Macro SOCKET_ERROR undefined.
5474 Don't declare h_errno.
5475 [!WINDOWSNT]: Define macros recv and send.
5476 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
5477 (pop_open) [WINDOWSNT]: Initialize trash_started.
5478 (have_winsock) [WINDOWSNT]: New variable.
5479 (socket_connection) [WINDOWSNT]: Initialize winsock.
5480 (socket_connection): Use closesocket instead of close.
5481 (getline): Use recv instead of read.
5482 (fullwrite): Use send instead of write.
5483 (pop_trash): Use closesocket instead of close.
5484 (pop_trash) [WINDOWSNT]: Cleanup winsock.
5485 Check if being called recursively by sendline.
5487 * pop.h (struct _popserver): New field trash_started.
5489 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
5491 1996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5493 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
5495 1996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5497 * etags.c [WINDOWSNT]: Include io.h.
5499 1996-04-10 Geoff Voelker <voelker@cs.washington.edu>
5501 * makefile.nt (CTAGSOBJ): Compile with regexp support.
5503 1996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
5505 * hexl.c [DJGPP v2]: Include io.h.
5506 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
5508 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
5511 1996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5513 * etags.c (absolute_filename): Use absolutefn.
5515 1996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
5517 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
5518 letter isn't an alphabetic character.
5519 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
5520 (process_file) [DOS_NT]: Convert all slashes to forward style.
5521 (absolute_filename) [DOS_NT]: Emit error message for relative
5522 paths with a drive letter.
5523 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
5524 DOS/NT drive letters which try to reference the parent of the root.
5525 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
5527 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
5529 * makefile.nt: Change uses of del to $(DEL).
5531 1996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5533 * etags.c (just_read_file): Reset lineno and charno on entry.
5535 1996-03-15 Anders Lindgren <andersl@csd.uu.se>
5537 * etags.c: Prolog language totally rewritten.
5538 (Prolog_functions): Rewritten from scratch.
5539 (skip_comment, prolog_getit): Remove.
5540 (prolog_skip_comment): New function, like old skip_comment.
5541 (prolog_pred, prolog_atom, prolog_white): New functions.
5542 (erlang_func, erlang_attributes): Forward declarations added.
5543 (erlang_atom): Check if backslash ends line inside quoted atom.
5545 1996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
5547 * etags.c (absolutefn): DOS_NT version corrected.
5548 (main): Append "/" to the dir name only if not already there.
5549 (print_help): Explain the absolute/relative file name issue.
5551 1996-03-08 Anders Lindgren <andersl@csd.uu.se>
5553 * etags.c: New Language Erlang added.
5554 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
5555 (erlang_white): New functions.
5556 (Erlang_suffixes): New suffix list.
5557 (lang_names): Erlang entry added.
5558 (prolog_getit): Accepts headers spanning several lines.
5560 (Prolog_functions): Remove incorrect compensation for
5562 (readline_internal): Zero-terminate last line.
5564 1996-03-20 Mike Long <mike.long@analog.com>
5566 * b2m.c (main): Initialize progname variable before using it.
5567 Quote `username' in From_ header.
5569 1996-03-18 Geoff Voelker <voelker@cs.washington.edu>
5571 * ntlib.c (getpid): New function.
5573 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5575 * emacsclient.c (main, both definitions):
5576 Print a newline for normal termination.
5578 1996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
5580 * tcp.c (main): Convert port to network byte order.
5582 1996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
5584 * pop.c (pop_retrieve, getline): Avoid type clashes.
5586 1996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
5588 * etags.c (enum sym_type, anonymous enum): Delete final comma.
5590 1996-01-15 Paul Eggert <eggert@twinsun.com>
5592 * rcs2log (initialize_fullname): Add support for NIS+.
5593 (hostname): Fully qualify the default hostname with the domainname
5594 if the hostname lacks a `.'.
5596 1996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
5598 * etags.c (consider_token): Fix typo in expression.
5600 1996-01-04 Paul Eggert <eggert@twinsun.com>
5602 * etags.c (substitute): Fix spelling in message.
5604 1996-01-03 George V. Reilly <georger@microcrafts.com>
5606 * makefile.nt (etags, ctags): Compile with regexp support.
5607 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
5608 subdirectory exists before compiling.
5610 1996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
5612 * emacsserver.c (main): Do chmod based on existing permission.
5614 1995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5616 * Makefile.in (install): Turn on read/execute permission.
5618 1995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5620 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
5621 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
5623 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
5625 * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
5627 1995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
5629 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
5630 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
5631 get_scheme, prolog_getit): Name the tag in ctags mode.
5632 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
5633 (Perl_interpreters): Accept "@PERL@" as an interpreter.
5634 (suggest_asking_for_help): New function.
5635 (main, get_language_from_name): Use suggest_asking_for_help.
5636 (main): Let get_language_from_name make language existence check.
5637 (streq, strneq): Check the arguments #if DEBUG.
5639 1995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
5641 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
5642 (gperf): Add keywords for Objective C and GNU macros.
5643 (sym_type): Add values to account for Objective C and GNU macros.
5644 (begtk): The '@' character can start a token.
5645 (objdef, methodlen, objtag): New variables for Objective C.
5646 (consider_token, C_entries): Add code for Objective C.
5647 (plain_C_suffixes): Add .m and .lm for Objective C.
5648 (Yacc_suffixes): Add .ym for Objective yacc.
5649 (GROW_LINEBUFFER): New macro.
5650 (consider_token, C_entries, Pascal_functions): Use the new macro.
5651 (consider_token): Take one more argument. Caller changed.
5652 (consider_token): Use the hashing function to spot GNU macros.
5653 (C_entries): Consider // as a comment start even in plain C for
5654 the sake of Objective C parsing.
5656 1995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
5658 * Makefile.in (ctags): Depend on etags only for simplicity;
5659 compile with regexp support enabled.
5661 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5663 * Version 19.30 released.
5665 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
5667 * makefile.nt (DOC, clean): Don't use switches to del not
5668 supported by Windows 95.
5670 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5672 * Makefile.in (regex.o): Depend on ../src/config.h.
5674 1995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5676 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
5677 (LOADLIBES): Use LIB_STANDARD.
5679 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
5681 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
5682 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
5683 Windows 95 conditional.
5685 1995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
5687 * etags.c (get_lang_from_name, get_lang_from_interpreter)
5688 (get_lang_from_suffix): New functions.
5689 (get_language): Function deleted.
5690 (lang_entry): Two members added to struct.
5691 (lang_names): Reflect the new layout of lang_entry.
5692 (print_language_names, main, find_entries): Use the new functions.
5693 (find_entries): Look at the first line for #! if no language.
5694 (C_entries): Invalidate the token when funcdef is reset.
5695 (Perl_functions): New function.
5696 (lang_suffixes): .pl and .pm are Perl suffixes.
5698 1995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
5700 * etags.c (lowcase): Use the standard tolower function.
5701 (substitute): Remove some wrong and some useless code related with
5702 escape '\' character in regexp replacement string.
5703 (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
5704 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
5705 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
5706 .prolog for prolog (.pl removed).
5707 (massage_name, etags_getcwd): Use lowcase instead of tolower.
5708 (C_entries, find_entries): Add comments about memory leakage.
5709 (add_node): Dead code removed.
5711 1995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5713 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
5714 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
5716 1995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5718 * test-distrib.c: Add #undef for open, close, read, write.
5720 1995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5722 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
5723 [! O_RDONLY]: Define it to zero.
5724 (main): Use O_RDONLY instead of explicit zero.
5726 1995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
5728 * etags.c (Pascal_functions): Close comment bug corrected.
5729 (add_node): Correctly compare node file names.
5730 (Pascal_functions): Correctly allocate and free memory for tline.
5731 (pfnote): Put the definition of fp in the innermost block.
5732 (NODE): `named' member removed.
5733 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
5734 use the `named' member, check whether `name' is NULL instead.
5735 (pfnote): `named' argument removed, all callers changed.
5736 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
5737 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
5738 removed from pfnote call, some code cleanup.
5739 (relative_filename): Free temporary space allocated by concat.
5741 1995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5743 * Makefile.in (getdate.c): New target.
5744 (getdate.o): Just compile getdate.c.
5746 1995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
5748 * fakemail.c (xrealloc): Change cast to match return type.
5750 1995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5752 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
5754 1995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5756 * movemail.c (main): Fix previous change.
5757 Add error check for empty OUTNAME.
5759 1995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5761 * movemail.c (main): Mention lock file name in error message.
5763 1995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5765 * profile.c (gettimeofday): New function, defined if necessary.
5767 1995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5769 * Makefile.in: Renamed from Makefile.in.in.
5770 (distclean): Delete Makefile.c, not Makefile.in.
5772 1995-07-17 Michael Shields <shields@tembel.org>
5774 * Makefile.in.in (tags): Synonym for `TAGS'.
5776 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5778 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
5779 configure has already set $(INSTALL) to the proper relative path.
5781 1995-07-08 Paul Eggert <eggert@twinsun.com>
5783 * rcs2log (datearg): Separate date from time with comma, not space,
5784 to work around CVS 1.5 bug.
5785 (CVSROOT): Don't abort when unset if repository is absolute.
5787 1995-07-07 Paul Eggert <eggert@twinsun.com>
5789 * rcs-checkin, rcs2log, vcdiff:
5790 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
5791 that interpret `#! /' as a 4-byte magic number.
5793 1995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
5795 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
5796 mailbox with "po:mailbox", the mailbox is everything after the
5799 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5801 * emacsserver.c: Make all error messages start with `Error: '.
5802 (fatal_error, perror_1): New functions, use throughout.
5804 1995-06-28 Paul Eggert <eggert@twinsun.com>
5806 * rcs2log (CVSROOT, repository):
5807 Allow remote repositories a la CVS 1.4.
5809 1995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
5811 * etags.c (plain_C_entries): New function.
5812 (lowcase): New macro.
5813 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
5814 (lang_suffixes): New suffix ".pc" for Pro*C files.
5815 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
5816 (tail): Look for the end of the token when comparing.
5817 (takeprec): Since now tail behaves differently, use strneq.
5819 1995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5821 * movemail.c (main): Add newline in usage message.
5823 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5825 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
5827 1995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
5829 * etags.c (find_entries): Rewind before rereading the input file.
5831 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5833 * Version 19.29 released.
5835 * make-docfile.c (main) [MSDOS]: Do set _fmode.
5836 This undoes part of the previous change.
5838 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5840 * make-docfile.c (main): On MSDOS, don't change stdout
5841 to binary, and insist on an -o option.
5843 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
5845 * etags.c (process_file,absolute_filename): Handle filenames
5846 starting with a drive letter.
5848 * makefile.nt (install): Copy wakeup.exe properly.
5850 1995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
5852 * make-docfile.c [MSDOS]: #undef chdir.
5854 1995-06-04 Paul Eggert <eggert@twinsun.com>
5856 * rcs2log (output_authors): Allow ':' in time zone,
5857 as per ISO 8601 and RCS 5.6.8 beta.
5859 1995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
5861 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
5862 compatibility problems.
5864 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
5866 * etags.c (etags_getcwd): Don't use #elif.
5867 Have just one function body.
5869 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
5871 * makefile.nt (LIBS): Use BASE_LIBS.
5872 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
5874 (DOC): Use del instead of rm.
5875 (DOC) [WINDOWS95]: Use DOC.
5876 (clean): Handle MSVC aux files.
5877 (config.h,paths.h): Use $(CP) instead of cp.
5878 (config.h): Use $(CONFIG_H)
5879 (make-docfile.obj): Depend upon config.h.
5882 1995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
5884 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
5885 former gives the true path even in the presence of simlinks.
5887 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5889 * movemail.c (main): Increase lock timeout to five minutes.
5891 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
5893 * makefile.nt (obj): Use .c files.
5895 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5897 * make-docfile.c: Include config.h.
5898 (NO_SHORTNAMES): New definition.
5899 (xmalloc): Return long *.
5901 * etags.c (C_entries): Cast result of xrealloc.
5902 (xmalloc, xrealloc): Declare them to return long *.
5904 * b2m.c (xmalloc, xrealloc): Declare them long *.
5906 * movemail.c (xmalloc): Declare it to return long *.
5908 1995-04-30 Paul Eggert <eggert@twinsun.com>
5910 * rcs2log (datearg): If rlog options are specified explicitly,
5911 omit the implicit '-d>DATE' option.
5912 (repository, rlog): Allow absolute paths to CVS repositories.
5913 Look only at the first line of CVS/Repository.
5915 1995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
5917 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
5920 1995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5922 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
5923 Alternative (empty) definitions.
5925 1995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5927 * emacsclient.c (main): Add argv[0] to an error message.
5929 1995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
5931 * emacsclient.c (main): Improve error handling.
5932 * cvtmail.c (main, skip_to_lf): Improve error handling.
5933 (sysfail): New function.
5935 * b2m.c (main): Check for trailing ", " before trying to delete it.
5937 1995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5939 * Makefile.in.in (all): Build test-distrib and make-docfile.
5941 * make-docfile.c (scan_c_file): At end, restore file name last char
5942 to its original value.
5944 1995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5946 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
5948 1995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5950 * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
5951 (alloca.o, regex.o): Use BASE_CFLAGS.
5953 1995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5955 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
5957 1995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
5959 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
5960 (SOURCES, distclean): Remove obsolete references to aixcc.
5962 1995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5964 * aixcc.lex: File deleted--surely obsolete now.
5966 1995-03-23 Paul Eggert <eggert@twinsun.com>
5968 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
5969 portability to mawk and nawk.
5971 1995-03-21 Paul Eggert <eggert@twinsun.com>
5973 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
5974 -u "login<tab>fullname<tab>mailaddr".
5976 1995-03-21 Paul Eggert <eggert@twinsun.com>
5978 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
5979 replaces the (now obsolescent) -n login fullname mailaddr option.
5980 Add -R option for recursive rlog.
5981 (AWK): New environment variable (default `awk') for awk program name.
5982 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
5983 Quote authors and fullnames correctly.
5984 Don't omit path from repository root when logging CVS files.
5986 1995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5988 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
5989 even if HAVE_SYSVIPC.
5990 * emacsclient.c (main): Use getcwd if not BSD.
5992 1995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
5994 * etags.c (process_file): Free (filename) after using it.
5995 (readline_internal): Do not access the char before start of line.
5997 1995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
5999 * etags.c (C_entries): token_saved removed. Initialize tok.valid and
6000 savetok.valid. Mark token as valid when it is initialized.
6001 (make_tag): Make token only if token is valid and reset validity.
6002 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
6003 (TOKEN): Add a new member: valid.
6005 1995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
6007 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
6008 (main): Do not read twice the last filename in the stdin file list.
6010 1995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
6012 * etags.c (C_entries): Initialize the new members of TOKEN.
6013 (C_entries): Do not allocate a new space for each token found by
6014 consider_token. Let make_tag do that instead.
6015 (make_tag): Since now TOKEN has memory of where it is taken from,
6016 this new macro substitutes both make_tag_from_new_lb and
6017 make_tag_from_oth_lb. All callers changed.
6018 (TOKEN): Add linepos and buffer members.
6019 (main): Initialize token_str.
6020 (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes.
6021 (token_str): New global variable used by C_entries.
6023 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
6025 * Makefile.in.in (maintainer-clean): Rename from realclean.
6027 1995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
6029 * etags.c (pfnote): Initialize been_warned in the node.
6030 (C_entries): Remove a speed hack for the sake of clarity.
6032 1995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
6034 * etags.c (longopts, print_help, main): Use -I as abbreviation
6035 for the --ignore-indentation option.
6036 (main): Do not print an error message for unknown options.
6038 1995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
6040 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Delete.
6041 (append_to_tagfile, typedefs, typedefs_and_cplusplus)
6042 (constantypedefs, update, vgrind_style, no_warnings)
6043 (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
6044 (permit_duplicates): Was a var, now a #define.
6045 (filename_lb): Was global, now local to main.
6046 (main): Open the tag file when in cxref mode.
6047 Use a BUFSIZ size buffer for making the shell commands.
6048 Look at the return value from the system routine.
6049 Exit when cannot open the tag file.
6050 (process_file): Open the file and pass the FILE* to find_entries.
6051 (find_entries): Now void, because does not open the file itself.
6052 (pfnote): Recovering from lack of memory does not work. Removed.
6053 Use savenstr and simplify the code.
6054 (free_tree): Only free the name space if node is named.
6055 (structtag): Now a pointer, not a fixed length array of chars.
6056 (consider_token): Don't take a token as argument. Use savenstr
6057 when saving a tag in structtag. Callers changed.
6058 (TOKEN): Structure changed. Now used only in C_entries.
6059 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Delete.
6060 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
6061 (pfcnt): Delete. Users updated.
6062 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
6063 (TEX_getit, prolog_getit): Use dinamic allocation for storing
6064 the tag instead of a fixed size buffer.
6066 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6068 * movemail.c (main): Skip past the colon in inname.
6070 1995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
6072 * etags.c (pfatal): New function.
6073 (main, etags_getcwd): Use pfatal.
6074 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
6076 1995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
6078 * etags.c (Lang_function): Use void instead to declare the
6079 language functions, because many compilers are buggy.
6080 (etags_getcwd): Fix the previous fix on the #else branch.
6081 (readline_internal): Discard possible \r before \n here.
6082 (C_entries): Do not deal with \r here: undo previous fix.
6084 1995-01-09 Francesco Potortì (pot@fly)
6086 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
6087 functions and a macro that allow the program to work on input
6088 lines of whatever length. Copied from etags.c.
6089 (fatal): Print a fatal error message and exit.
6090 (main): Use the new functions. Fixed a bug that made a \037 char
6091 appear at the end of the output.
6093 1995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6095 * etags.c (C_entries): Ignore carriage return at end of line.
6097 1994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6099 * fakemail.c (xmalloc, xrealloc): Add casts.
6100 (add_field): Handle <...> and "..." syntax.
6101 (setup_files, get_keyword): Clean up parens and line breaks.
6102 (args_size): Likewise.
6104 1994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
6106 * yow.c: Include program name in error messages.
6108 1994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6110 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
6111 (xmalloc, fatal, error): New functions.
6112 (progname): New variable.
6113 (main): Set progname.
6115 1994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6117 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
6118 (main): If socket/mqueue name is in home dir, add in the host name.
6119 Rename .emacs_server to .emacs-server....
6121 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6123 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
6125 1994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
6127 * etags.c (print_help): Print --regex usage for ctags also.
6128 (main): Use -h in addition to -H as abbreviation for --help.
6130 1994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
6132 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
6133 is compiled if this is defined. The new functions and variables
6134 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
6135 [VMS]: All VMS specific code previously contained in
6136 etags-vmslib.c is now included here, modified for dealing with
6137 language and regex options intermixed with filenames.
6138 (header_file): Global variable deleted.
6139 (Lang_Function): New typedef. All language parser functions
6140 changed to this new type.
6141 (string_numeric_p, substr, prestr): Functions deleted.
6142 (readline_internal): Does the job that readline did previously.
6143 (longopts): --language and --regex options added.
6144 (lang_names, lang_extensions, lang_func, print_language_names):
6145 New structures, variables and functions for choosing languages.
6146 (print_help): Help strings updated. Calls print_language_names.
6147 (argument_type, ARGUMENT): Typedefs for dealing with language and
6148 regex options intermixed with filenames.
6149 (main): Change the way of dealing with arguments on the command
6150 line to deal with language and regex options intermixed with
6152 (get_language, default_C_entries, Cplusplus_entries,
6153 Cstar_entries, Yacc_entries, just_read_file): New functions.
6154 (find_entries): Use the new method for choosing the language.
6155 (Pascal_functions): Allow intermixing of comment styles.
6156 (prolog_getit, skip_comment): Rewritten for speed.
6157 (readline): Rewritten to deal with regexps.
6159 1994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
6161 * etags.c (<errno.h>): #include added.
6162 (etags_getcwd): Check return value from getcwd.
6164 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6166 * profile.c (TV1, TV2): Use EMACS_TIME as type.
6167 (get_time): Use EMACS_SUB_TIME.
6169 1994-10-30 Geoff Voelker <voelker@cs.washington.edu>
6171 * ntlib.c: New file.
6172 * makefile.nt: New file.
6174 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
6175 [WINDOWSNT]: Include the NT headers.
6176 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
6178 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
6179 [WINDOWSNT]: Include some NT headers.
6181 1994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
6183 * pop.c (getline): When a search of already-read input for CRLF
6184 fails, store the fact that we've searched it and don't search it
6185 again after reading more data.
6187 * pop.c (getline): When determining whether or not it's necessary
6188 to grow the input buffer, take into account the null that's stored
6189 at the end of already-read input in the buffer.
6191 1994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
6193 * etags.c (prestr, substr): Return a logical type.
6194 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
6195 (consider_token): Set funcdef to fignore when a DEFUN is met.
6196 (C_entries): Now we can use Tom Hageman patch for extern "C".
6198 1994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6200 * movemail.c: PopServer renamed to popserver throughout.
6202 1994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
6204 * etags.c: Don't declare malloc, since we include config.h.
6205 * fakemail.c: Likewise.
6207 1994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6209 * movemail.c: Don't declare malloc.
6211 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
6213 * rcs-checkin: Use test -r instead of < to check readability, to
6216 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
6218 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
6219 defined, and if HAVE_CONFIG_H isn't defined, define
6220 MAIL_USE_POP always (so that this file can be included in
6221 other programs besides emacs).
6223 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
6224 HAVE_CONFIG_H isn't defined.
6226 * pop.c (find_crlf, getline): Instead of using strstr, use a
6227 custom function for finding CRLF.
6228 (my_strstr): Function deleted.
6230 1994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
6232 * pop.c (getline): Fix a segfault because of passing a
6233 non-null-terminated string into strstr(). Fix from
6234 djm@va.pubnix.com (David J. MacKenzie).
6236 * pop.c: Don't include <string.h> and <strings.h>.
6238 * pop.c: Include <des.h> before <krb.h>, rather than after.
6239 They should be interchangeable, and indeed the inclusion is done in
6240 both orders in various files in the Kerberos 4 library sources,
6241 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
6242 requires that <des.h> be included first, and I don't see any harm
6243 in changing the order.
6245 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
6246 STDC_HEADERS, if they're defined. Undef open, read, write and
6247 close after including it.
6249 1994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6251 * pop.c: Fix mismatch in conditionals.
6253 * make-docfile.c (main): Don't process one input file twice.
6254 Never use exit code > 1.
6256 * pop.c (open, close, read, write): Add #undefs.
6258 * pop.c: Don't declare malloc, realloc, free.
6259 Include ../src/config.h.
6260 Don't include string.h or strings.h.
6261 Include des.h before krb.h.
6262 Do declare my_strstr.
6263 (getline): Really use my_strstr.
6264 Leave one empty place in server->buffer,
6265 and put a null at the end of the data in it.
6267 1994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6269 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
6270 Don't call kill with pid 0. Handle EINTR when receiving messages.
6272 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
6274 * Makefile.in.in (regex.o): Use full path to find regex.c.
6276 1994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
6278 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
6279 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
6281 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
6283 * Makefile.in.in (DONT_INSTALL): Remove make-path.
6284 (${archlibdir}): Use mkinstalldirs instead.
6286 * movemail.c: Make functions that return nothing void, not
6288 (main): Improve usage message.
6289 (error): Write to stderr, not stdout.
6291 * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
6292 * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
6293 * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
6294 warnings from unused variables and implicitly declared functions.
6296 1994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6298 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
6299 (distclean): Not here.
6301 * Makefile.in.in (libexecdir): Rename from libdir.
6303 1994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
6305 * etags.c (C_entries): Name the #define's that are macros.
6307 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
6309 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
6310 fd_set arg is a pointer, descriptor arg comes first.
6312 1994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
6314 * etags.c (C_entries): Recognize typedef of ANSI style functions.
6315 (C_entries): Recognize #define inside a struct.
6316 (C_entries): ANSI tells that preprocessor commands do not have to
6317 start on the first column.
6318 (print_help): Documentation corrected for -d and -D.
6319 (white, endtk): ANSI tells the vertical tab is a separator.
6321 1994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
6323 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
6324 (pop.o, movemail.o): New targets.
6325 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
6327 * pop.c, pop.h: New files.
6329 * movemail.c: Improve POP code, move most of it into a separate file.
6330 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
6331 (mbx_write): Check for errors and for From line.
6332 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
6333 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
6334 (pop_init): Functions deleted.
6336 1994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
6338 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
6339 Rename path to dirname.
6341 1994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6343 * Makefile.in.in (UTILITIES):
6344 Remove test-distrib, make-docfile, make-path.
6345 (DONT_INSTALL): New variable--list those files here.
6346 (clean): Delete the files in DONT_INSTALL.
6348 1994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6350 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
6351 (main): Use fgets, not gets.
6353 1994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6355 * timer.c: Don't declare malloc.
6357 1994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
6359 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
6360 defined, use simple 32-bit versions of these macros.
6361 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
6363 1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6365 * etags.c (etags_getcwd): Use getcwd if available.
6367 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6369 * Version 19.27 released.
6371 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6373 * Version 19.26 released.
6375 1994-08-15 Paul Eggert <eggert@twinsun.com>
6377 * rcs2log: Add support for CVS.
6378 Work with `rlog's that output ISO 8601 dates.
6380 1994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
6382 * rcs2log: Use <> to delimit email address.
6384 1994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6386 * emacsserver.c [SYSV_IPC] (main): Make a separate process
6387 so we can listen for multiple requests.
6389 1994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6391 * movemail.c: Include config.h first thing.
6393 1994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6395 * emacsserver.c (main): Add casts to avoid warnings.
6397 1994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6399 * Makefile.in.in (${archlibdir}): Compare the proper dir
6400 before installing the scripts.
6402 1994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6404 * emacsclient.c (main): New local var progname saves argv[0].
6406 1994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6408 * emacsclient.c (main): Don't actually modify argv[0].
6409 Modify a copy instead.
6411 1994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
6413 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
6416 * Makefile.in.in: Add #undef alloca.
6418 1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6420 * timer.c (xmalloc): New function.
6422 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6424 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
6425 (alloca.o): New target.
6427 1994-07-08 Dave Love (d.love@dl.ac.uk)
6429 * etags.c (takeprec): Recognize `character*(*) function'.
6431 1994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
6433 * etags.c (main): Don't barf on obsolete -t and -T switches.
6434 (main): Print an explicative message when a switch is not known.
6436 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6438 * hexl.c: Don't declare exit or perror.
6440 * emacsserver.c (main): Don't declare geteuid.
6441 Don't declare getenv if convex.
6443 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6445 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
6447 1994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
6449 * etags.c (absolute_filename): Remove infinite loop bug when
6450 accessing files in directories whose name begins with a dot.
6452 1994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
6454 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
6456 1994-06-01 Morten Welinder (terra@diku.dk)
6458 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
6459 location of data directory.
6461 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6463 * Version 19.25 released.
6465 1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6467 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
6469 1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6471 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
6473 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6475 * Version 19.24 released.
6477 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6479 * make-docfile.c (write_c_args): Put `default' in upper case.
6481 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6483 * etags.c (etags_getcwd): Cast result of popen.
6484 (popen): Declaration deleted.
6486 1994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
6488 * etags.c [!MSDOS]: Declare popen.
6490 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6492 * b2m.c (main): Avoid crash if argc is 1.
6494 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6496 * Version 19.23 released.
6498 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
6500 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6502 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
6504 1994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6506 * Makefile.in.in: Fix out of date comment.
6508 1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6510 * Makefile.in.in: Put in a separator for where to start cpp procssing.
6511 Move all autoconf substitutions above that point.
6512 Above that point, use Make-style comments.
6513 This goes with changes in ../configure.in.
6515 1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6517 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
6519 (${archlibdir}): Don't do it here. Don't depend on blessmail.
6521 1994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
6523 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
6525 1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6527 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
6528 print advice to run it, if it has anything significant to do.
6529 And only if MOVEMAIL_NEEDS_BLESSING.
6530 (blessmail): Use emacs, not temacs.
6531 (configuration): Rename from configname.
6533 1994-04-30 Morten Welinder (terra@diku.dk)
6535 * etags.c (find_entries): Treat `*.cpp' as C++ files.
6537 1994-04-30 Morten Welinder (terra@diku.dk)
6539 * etags.c [MSDOS]: #include <sys/param.h> for the following.
6540 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
6543 1994-04-29 Morten Welinder (terra@diku.dk)
6545 * hexl.c [MSDOS]: Don't define proto type for exit.
6547 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6549 * b2m.c: Don't include string.h or strings.h.
6551 1994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
6553 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
6554 symbols, not make variables.
6556 1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6558 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
6559 * etags.c (print_version): Print VERSION as a string.
6561 1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6563 * fakemail.c (readline): Fix updating of p when buffer grows.
6565 1994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
6567 * Makefile.in.in (blessmail): New target.
6568 ${archlibdir}: Use blessmail when installing movemail.
6570 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6572 * fakemail.c (readline): When extending the buffer,
6573 calculate end afresh using the new size.
6575 1994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
6577 * etags.c (main, print_help): Eliminate the -F option.
6579 1994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
6581 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
6583 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6585 * Makefile.in.in: Renamed from Makefile.in.
6586 Makefile.in is now generated from it, and then preprocessed.
6587 Change comments to C syntax.
6589 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
6590 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
6592 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6594 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
6596 1994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
6598 * etags.c (etags_getcwd): Initialize bufsize.
6600 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6602 * profile.c (gettimeofday): If system doesn't have this, define it
6603 to give a fatal error.
6605 1994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
6607 * movemail.c (main): Use setuid, not seteuid.
6609 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6611 * etags.c: #undef static.
6613 1994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
6615 * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
6616 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
6617 (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
6618 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
6619 TeX_functions, Prolog_functions.
6620 (inf): No more a global variable.
6621 (C_entries): Take 2nd parameter `inf' instead of using the global one.
6622 (find_entries): Add the cp1 var for optimization.
6623 (find_entries): Add more suffixes for assembler files.
6624 (Asm_funcs): Now finds labels even without an ending colon.
6626 1994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
6628 * etags.c (main): Use etags_getcwd for compatibility.
6629 (etags_getcwd): New function.
6631 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6633 * Makefile.in (etags, ctags): Pass -D for VERSION.
6635 1994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
6637 * etags.c (emacs_tags_format, ETAGS): Remove. Use CTAGS instead.
6638 (main): Don't allow the use of -t and -T in etags mode.
6639 (print_help): Don't show options enabled by default.
6640 (print_version): Show the emacs version number if VERSION is #defined.
6641 (find_entries): Add "ss" as suffix for Chez Scheme.
6643 1994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
6645 * etags.c (cwd, outfiledir): Vars added.
6646 (relative_filename, absolute_filename, absolute_dirname):
6647 functions added to compute filenames in tags files.
6648 (process_file): Filenames in tags file are relative to the
6649 directory where the tags file is (useful with the -o option).
6650 (main): Initialize the outfiledir var.
6651 (TYPEDST): Add the `tignore' value.
6652 (C_entries): Corrected various small bugs.
6654 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6656 * Makefile.in (UTILITIES): `env' deleted.
6657 (env): Target deleted.
6658 * env.c: File deleted.
6660 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6662 * Makefile.in (install, ${archlibdir}): Switch back to ..
6663 before running INSTALL_PROGRAM.
6665 1994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
6667 * etags.c (TYPEDST): Add the `tignore' value.
6668 (C_entries): Corrected various bugs, now correctly parses the
6669 `extern "C" {' construction (patch by Tom R.Hageman).
6671 1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6673 * b2m.c: Use <...> to include config.h.
6674 Don't include stdlib.h.
6676 1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
6678 * b2m.c (main): Change delimiter from "^L" to "^_^L".
6679 Allow for text following "BABYL OPTIONS:".
6680 Add --help option. Use argv[0] in error messages.
6682 1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6684 * emacsclient.c (main) [HAVE_SYSVIPC]:
6685 Make msgp->mtext longer if necessary.
6686 On HPUX, error if it's more than 512 chars.
6688 1994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
6690 * etags-vmslib.c: Use GPL.
6691 * emacstool.c: Use GPL.
6692 * fakemail.c: Update GPL.
6694 * make-path.c (main): Return 1 on error, not -1.
6697 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
6698 (xmalloc, xrealloc): Return char *, not int.
6699 (error): Write to stderr, not stdout.
6702 1994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
6704 * profile.c (main, get_time): Don't crash on invalid input.
6706 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
6708 * profile.c (get_time): Simplify; avoid calling index.
6709 (main): Exit on EOF.
6711 1994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
6713 * etags.c (--absolute-pathnames): Option removed.
6715 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6717 * fakemail.c (put_line): Don't break the line if it all fits.
6719 1994-02-14 Francesco Potortì (pot@fly)
6721 * etags.c (absolute_pathnames, cwd): Add global vars.
6722 (longopts, print_help, main, process_file): Put absolute filenames
6723 in the tag file if the -A --absolute-pathnames option is used.
6724 (print_help): Alphabetically order the options.
6725 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
6727 1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6729 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
6730 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
6732 1994-02-07 Christian Lynbech (lynbech@avignon)
6734 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
6736 1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6738 * Makefile.in (UTILITIES): Mention profile.
6739 (profile): New target.
6741 * profile.c: New file.
6743 1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6745 * make-docfile.c: Make the argument list output look more like the
6747 (write_c_args): Take new arg FUNC. Make output
6748 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
6749 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
6751 1994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
6753 * etags.c (stab_entry, stab_create, stab_find, stab_search,
6754 stab_type, add_keyword, C_reate_stab, C_create_stabs): Delete.
6755 Use gperf generated hash table instead of linked list.
6756 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Add.
6757 Mostly code generated by gperf.
6758 (consider_token): Remove unused parameter `lp'.
6759 (PF_funcs, getit): Allow subroutine and similar declarations
6760 to span multiple lines.
6761 (C_entries): Check for newline if inchar to avoid bus errors.
6762 (process_file, find_entries): Distinguish among nonexistent
6763 and not regular file.
6765 1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6767 * timer.c: Include errno.h; don't include fasync.h.
6768 (schedule): Don't return a value.
6769 (sigcatch): Reestablish the handler first.
6770 (getevent): Always call notify at the end.
6771 (notify): Defer alarms around the whole body of function.
6773 1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6775 * timer.c (main): Don't request SIGIO, and don't handle it.
6776 Loop calling getevent.
6777 (sigcatch): Delete code to handle SIGIO.
6778 if defer_alarms is set, don't call notify, just set alarm_deferred.
6779 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
6780 Set defer_alarms around realloc and schedule.
6781 If alarm_deferred gets set, call notify.
6782 Likewise if this event is the only pending event.
6783 Make buf and buf_size global variables.
6784 Don't malloc buf if it is already non-zero.
6785 (schedule): Just exit if run out of memory.
6786 Return the number of events.
6787 (signal) [_CX_UX]: Add #undef.
6789 1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6791 * timer.c [USG] (SIGIO): Define as SIGPOLL.
6792 (main) [USG]: Do ioctl to enable SIGPOLL.
6794 1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6796 * timer.c: Don't declare sys_errlist; declare strerror instead.
6797 (schedule, main): Call strerror instead of using sys_errlist.
6798 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
6799 Call strerror instead of using sys_errlist.
6800 * env.c (main): Call strerror instead of using sys_errlist.
6801 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
6802 (main): Call strerror instead of using sys_errlist.
6803 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
6804 * env.c [! HAVE_STRERROR] (strerror): Likewise.
6805 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
6806 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
6808 1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6810 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
6812 * movemail.c (malloc): Don't declare it.
6813 (xmalloc): Cast result of malloc.
6814 (strcpy): Don't declare it.
6816 1993-11-14 Morten Welinder (terra@diku.dk)
6818 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
6819 (main): Use fclose to close file opened by fopen.
6821 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
6823 * movemail.c [MSDOS]: #undef `access'.
6825 * b2m.c (main) [MSDOS]: Open all files as binary.
6826 * etags.c (main) [MSDOS]: Open all files as binary.
6828 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
6829 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
6832 1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6834 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
6835 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
6836 (LINK_CFLAGS): New variable.
6837 (timer): Use LINK_CFLAGS.
6839 1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6841 * movemail.c: Include syswait.h.
6842 Fork a subprocess and use it to copy the mail file.
6844 1993-12-07 Richard Stallman (rms@srarc2)
6846 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
6848 1993-12-04 Richard Stallman (rms@srarc2)
6850 * movemail.c (main): When making tempname, cast result of xmalloc.
6851 Include room for EXXXXXX in the size.
6852 Don't use result of strcpy.
6854 1993-12-03 Paul Eggert (eggert@twinsun.com)
6856 * vcdiff: Add --brief option.
6858 1993-12-02 Richard Stallman (rms@srarc2)
6860 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
6861 for all executables and scripts.
6863 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6865 * Version 19.22 released.
6867 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6869 * Makefile.in (mostlyclean): Make it distinct from clean.
6871 1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6873 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
6875 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6877 * Version 19.21 released.
6879 * Makefile.in (install): Don't change mode or group when installing.
6881 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
6883 1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6885 * make-docfile.c (read_c_string): For "", concatenate the two strings.
6887 * movemail.c (main): Fix error message text.
6889 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6891 * Version 19.20 released.
6893 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
6895 * etags.c (C_entries): Keep track of ()-parenthesis level so that
6896 functions returning a pointer to a function, a la `signal', can be
6897 parsed. This also required new state `fstartlist' to `FUNCST'.
6898 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
6899 (C_entries, CNL): Use it to isolate preprocessor directive processing
6900 from the other state engines.
6901 (begtk): Add '~', for C++ class destructors.
6903 1993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
6905 * etags.c (consider_token): Remove unused variable firsttok.
6906 (prolog_getit): Call pfnote with the right number of arguments.
6908 1993-10-19 Paul Eggert (eggert@twinsun.com)
6910 * rcs2log (printlogline): Don't generate lines containing only
6913 1993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6915 * Makefile.in (${archlibdir}):
6916 Install ${SCRIPTS} from ${srcdir}, not cwd.
6918 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6920 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
6921 the comment character.
6923 1993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
6925 * etags.c (process_file): Dead code removed.
6926 (S_ISREG): #define it using S_IFREG if not defined.
6927 (process_file): Regular files have nothing to do with symlinks.
6929 1993-09-28 Brian J. Fox (bfox@ai.mit.edu)
6931 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
6932 from current directory. Only chmod and chgrp files that we
6933 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
6935 (INSTALLFLAGS): Delete definition, since it is an unused variable
6938 1993-09-27 Brian J. Fox (bfox@ai.mit.edu)
6940 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
6941 Let configure figure out the correct values for these variables.
6943 1993-09-14 Brian J. Fox (bfox@ai.mit.edu)
6945 * Makefile.in (archlibdir): Only install executables internally
6946 used by emacs; don't install bindir binaries here.
6948 1993-09-24 Paul Eggert (eggert@twinsun.com)
6950 * rcs2log: Add -h, -n, -r options.
6951 By default, look for *,v files as well as RCS/*,v files.
6952 Use $TMPDIR (default /tmp) instead of /tmp.
6954 1993-09-20 Francesco Potortì (pot@fly)
6956 * etags.c (C_entries): is_func is initialized here instead of in
6957 consider_token for the sake of the yacc rules section.
6958 (C_entries): Now class, struct, enum, union and typedef produce
6961 1993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
6963 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
6965 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6967 * Makefile.in: Support configuring in a different directory when
6968 ${srcdir} has already been configured.
6969 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
6971 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
6972 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
6973 is already in CPP_FLAGS.
6974 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
6975 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
6977 1993-08-25 Paul Eggert (eggert@twinsun.com)
6979 * rcs2log: Change /{/ to /\{/ for POSIX ERE compatibility;
6980 otherwise, HP awk complains.
6982 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
6983 are common hangouts for SCCS commands.
6985 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6987 * Version 19.19 released.
6989 1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6991 * Makefile.in (make-path): Dep on config.h.
6993 1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6995 * b2m.c (TRUE, FALSE): Don't define if already defined.
6997 1993-08-09 Paul Eggert (eggert@twinsun.com)
6999 * rcs2log (awkscript):
7000 Some sites put comma-separated junk after the fullname.
7001 Remove it, but leave "Bill Gates, Jr" alone.
7002 Remove the junk from fullnames like "0000-Admin(0000)".
7004 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7006 * Version 19.18 released.
7008 1993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
7010 * etags.c (L_isdef, L_isquote, L_getit): Small optimizations.
7011 (L_funcs): The (foo::defmumble stuff now should work.
7012 (consider_token): Function returned random value--corrected.
7013 (C_entries): Corrected == versus = typo.
7015 1993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7017 * etags.c (put_entries): For NODE->rewritten, put pattern before
7018 \177 and name after, not vice versa.
7020 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7022 * timer.c (main): Generate a SIGIO as soon as we've initialized.
7024 1993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
7026 * etags.c (FINCST): Add the fignore status. Means we are
7027 after the parameter list and before the open curly brace.
7028 Allows correct parsing of C++ constructors.
7029 (C_entries, consider_token): Make use of fignore.
7030 (consider_token): Reset funcdef when next_token_is_func: when in
7031 ctags mode makes DEFVAR and others work better.
7032 (L_isquote): Function that recognizes the "(quote" string.
7033 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
7035 1993-07-29 Paul Eggert (eggert@twinsun.com)
7037 * rcs-checkin: Don't check whether a file is readable until we have
7038 decided not to ignore it.
7040 1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7042 * Makefile.in (etags): Depend on ../src/config.h.
7044 * emacsserver.c: Include types.h before file.h.
7046 1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7048 * Makefile.in (install): Use .n, not .new, for temporary filenames.
7050 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7052 * Version 19.17 released.
7054 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7056 * etags.c (print_help): Break up the very long strings containing
7057 the help message into shorter strings, to placate chintzy C
7058 compilers which can't handle strings that long.
7060 * wakeup.c: Use CPP tangle from autoconf manual to #include the
7061 correct combination of <time.h> and <sys/time.h>.
7063 1993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
7065 * etags.c (alloca): Remove all references to it.
7066 (main): Now calls xnew instead of alloca for portability.
7067 (../src/config.h): Included only if HAVE_CONFIG_H.
7068 (const): Void definition removed--config.h takes care of it.
7070 1993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
7072 * etags.c (consider_token): Was `==', now is `='.
7073 (consider_token): DEFUNs now treated like funcs in ctags mode.
7075 * etags.c (LEVEL_OK_FOR_FUNCDEF): Remove.
7076 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
7077 (C_entries): Remove a piece of useless code.
7078 (C_entries): Making typedef tags is delayed until a semicolon
7079 is met. This handles "typedef int X, Y, Z;" correctly.
7081 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7083 * Version 19.16 released.
7085 * b2m.c: #include <sys/types.h>.
7086 (ltoday): Declare this to be time_t.
7088 1993-06-30 Paul Eggert (eggert@twinsun.com)
7090 * vcdiff: Add -q option.
7092 1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7094 * etags.c: #include "config.h" and the alloca CPP tangle before
7095 #including the system headers and getopt.h. AIX requires the
7096 #pragma to come before any actual C code.
7098 1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7100 * Makefile.in (ctags): Depend on etags, so that parallel makes
7101 don't write etags.o files on top of each other.
7103 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7105 * version 19.15 released.
7107 1993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7109 * etags.c (add_node): Move var last_node to file scope.
7111 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7113 * Version 19.14 released.
7115 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7117 Bring mumbleclean targets into conformance with GNU coding standards.
7118 * Makefile.in (distclean): Call clean to do most of the work.
7119 Delete aixcc.c and TAGS.
7120 (realclean): Just call distclean.
7122 * Makefile.in: Remember, spaces are not tabs.
7124 1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7126 * Makefile.in (CPP_CFLAGS): New variable.
7127 Use it instead of ALL_CFLAGS when compiling a .c file.
7128 (getopt.o, getopt1.o): Add explicit compilation commands.
7130 1993-06-10 Mark D. Baushke (mdb@cisco.com)
7132 * etags.c: Reinstate old -f option as an alias for -o for
7133 installed base uses.
7135 1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7137 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
7138 to bind or accept, cast the pointer, to avoid warnings on systems
7139 which declare prototypes for this.
7140 * emacsclient.c (main): Same.
7142 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
7144 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7146 * Version 19.13 released.
7148 * wakeup.c: Include sys/types.h, too; I think that's where time_t
7149 comes from, not sys/time.h.
7151 1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7153 * wakeup.c: Include sys/time.h.
7155 * etags.c: #undef static.
7157 * Version 19.12 released.
7159 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
7161 1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7163 * Version 19.11 released.
7165 * timer.c [LINUX]: #undef signal.
7166 * emacsserver.c: #undef signal.
7168 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7170 * wakeup.c (main): Make when a time_t.
7172 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7174 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
7175 `(cd foo ; pwd)' to get the canonical name of a directory; cd
7176 might fail, and have pwd print out the current directory.
7178 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
7179 string-handling functions.
7181 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7183 * Version 19.10 released.
7185 1993-05-29 Paul Eggert (eggert@twinsun.com)
7187 * rcs2log: When given no file arguments, inspect RCS/.* as well
7188 as RCS/*. Don't report an error if RCS is empty or nonexistent.
7190 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7192 * Makefile.in (timer): Link with $(LOADLIBES).
7194 1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7196 * fakemail.c (put_line): Don't output \n\t unless more text follows.
7198 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7200 * etags.c: Replace the CPP tangle for alloca with the one from the
7201 autoconf documentation, since that's working elsewhere.
7203 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7205 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
7206 description files can find their ancestors.
7208 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7210 * Makefile.in (install): Get the scripts from ${srcdir},
7211 unlike the executables.
7212 (ALL_CFLAGS): Add -I../src.
7214 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7216 * Version 19.9 released.
7218 1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7220 * Makefile.in (install): Do install the programs listed in
7221 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
7222 INSTALLABLE_SCRIPTS, instead of writing the programs out.
7224 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
7225 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
7227 1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7229 * etags.c: Include ../src/config.h.
7231 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
7232 in first loop. Delete files from bindir before installing new ones.
7233 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
7235 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7237 * Version 19.8 released.
7239 * make-docfile.c: Doc fix.
7241 1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7243 * tcp.c: Fix comment syntax at top of file.
7244 (main): Don't call htons with the port number.
7246 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7248 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
7251 * Makefile.in (install): Refer to the variables INSTALLABLES and
7252 INSTALLABLE_SCRIPTS, instead of writing them out.
7254 1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7256 * make-path.c (main): Return 0.
7258 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7260 * Version 19.7 released.
7262 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7264 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
7266 1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7270 1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7272 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
7274 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7276 * timer.c (notify): Don't call sighold or sigrelse; they're USG
7277 only. We should really fix this later, but let's just make it
7280 Install patches from David J. Mackenzie to make the srcdir option
7282 * Makefile.in (srcdir, VPATH): Get this value from the top-level
7284 (INSTALLABLES): Split this into two lists - INSTALLABLES and
7285 INSTALLABLE_SCRIPTS.
7286 (INSTALLABLE_SCRIPTS): New list.
7287 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
7288 (${archlibdir}): The scripts to be installed live in the source
7289 tree, not in the object tree.
7290 (test-distrib): Note that the data file lives in the source tree,
7291 not the object tree.
7292 (GETOPTDEPS): Note that getopt.h lives in the source tree.
7293 (all other targets): Change references to source files to use
7294 ${srcdir}, except for config.h, which lives in the object dir.
7295 (timer.o): Note that this depends on ../src/config.h.
7296 * make-docfile.c (main): Add a -d option, to tell it where to find
7298 * test-distrib.c (main): Take the name of the distribution file to
7299 test from the command line.
7301 * timer.c: Fix misspellings of get_date function's name.
7303 1993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7306 Don't require that there be input files if -i switches were given.
7308 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7310 The GNU coding standards specify that CFLAGS should be left for
7312 * Makefile.in (CFLAGS): Put this in the "things configure might
7313 edit" section, and have it default to -g.
7314 (ALL_CFLAGS): New variable, set to all the flags which should be
7315 passed to compilations. Replace all other uses of CFLAGS with
7317 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
7319 * Makefile.in (DEFS): Remove this; it's always just going to be
7320 "-DHAVE_CONFIG_H -Demacs".
7322 1993-05-03 Paul Eggert (eggert@twinsun.com)
7324 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
7325 /[/]/, so change it to /[\/]/. This should work on all
7326 POSIX-compliant awks. It's slightly wrong with traditional awk,
7327 since it matches \ too, but that's a minor problem compared to awk
7330 1993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7332 * Makefile.in (ALLOCA): New variable, whose value we should
7333 inherit from the top-level makefile.
7334 (etags, ctags): Include ALLOCA in the list of object files that
7335 these executables depend on and link.
7337 1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7339 * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
7341 1993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
7343 * make-docfile.c (write_c_args): Print an argument named "defalt"
7346 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7348 * Makefile.in (C_SWITCH_SYSTEM): New variable.
7349 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
7352 1993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
7354 * etags.c (YACC): Flag added to c_ext.
7355 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
7356 (find_entries): Consistently use streq when reasonable.
7357 (find_entries): A .y file is a yacc file.
7358 (get_C_stab): c_ext becomes c_ext&C_PLPL.
7359 (C_entries): Logical cplpl means c_ext&C_PLPL.
7360 (C_entries): Logical yacc_rules means we are after the first %%.
7361 (C_entries): Add logic for yacc files.
7363 1993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
7365 * etags.c (C_entries): ':' case moved to the second switch.
7366 (C_entries): Do not examine token if structdef==scolonseen.
7367 (consider_token): structtag set to null string for enum.
7369 1993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
7371 * etags.c (GET_COOKIE): And related macros removed.
7372 (logical): Is now int, no more a char.
7373 (reg): Define deleted.
7374 (isgood, _gd, notgd): Delete.
7376 (TOKEN): Member linestart removed.
7377 (linepos, prev_linepos, lb1): Delete.
7378 (main): Call initbuffer on lbs array instead of lb1.
7379 (init): Remove the initialization of the logical _gd array.
7380 (find_entries): A .sa suffix means assembler file.
7381 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
7382 All C state machines rewritten.
7383 (C_entries): Complete rewrite.
7384 (condider_token): Complete rewrite.
7387 1993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
7389 * etags.c (C_entries): Add the quotednl logical variable.
7390 Used for parsing of #define's spanning multiple lines.
7392 1993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
7394 * etags.c (C_entries): Save the definedef status even when a
7395 newline is met inside a string.
7397 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
7399 * Makefile.in (EXECUTABLES): Add rcs-checkin.
7401 * Makefile.in (unlock, relock): New productions.
7403 1993-03-16 Paul Eggert (eggert@twinsun.com)
7405 * rcs2log: Some awks don't understand "\r". Code around this.
7406 Unfortunately this requires putting a carriage return in the
7407 source code. Don't assume that rlog will tolerate times like
7408 `10:10:60'; RCS 5.7 won't allow this.
7410 1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7412 * timer.c (main): Set the ownership of the stdin file descriptor
7413 to the current process. Print error messages if either of the
7416 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
7417 ../src/config.h), not void.
7419 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7421 * b2m.c (main): Don't exit upon reading a blank line.
7423 1993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
7425 * etags.c (C_entries): New local variable quotednl. Used for
7426 parsing of #define's spanning multiple lines.
7428 * etags.c (C_entries): Save the definedef status
7429 even when a newline is met inside a string.
7431 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7433 * timer.c (notify): Initialize waitfor properly.
7435 1993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
7437 * etags.c (C_entries): Don't reset definedef when a newline inside a
7440 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7442 * etags.c (find_entries): If filename ends in .f or .for,
7443 don't try anything but Fortran.
7445 1993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
7447 * timer.c (notify): Flush stdout after writing message to avoid lossage
7450 (notify): Also, write a newline after the token.
7452 1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7454 * Makefile.in (exec_prefix): New variable.
7455 (bindir, libdir): Use it instead of `prefix'.
7457 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
7459 * Makefile.in (libdir): Default to ${prefix}/lib.
7460 (archlibdir): Adjust to match.
7462 * Makefile.in (distclean): Don't delete backup or autosave files.
7463 (extraclean): Like realclean, but does delete backup and autosave
7466 * Makefile.in (realclean): Ignore errors from rm.
7468 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
7469 that doesn't exist anymore.
7471 1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7473 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
7474 described in the top-level Makefile.
7475 (UTILITIES): Add make-path to the list of utility programs.
7476 (../arch-lib): Replaced by the ${archlibdir} target, which places
7477 the executables in their permanent home.
7478 (install, install.sysv, install.xenix): Consolidated into one
7479 target which should work under all circumstances, modulo a few
7480 ignored error messages.
7482 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
7483 a different number of arguments than other DEFVARs, recognize it
7484 specially, and expect the right number of commas.
7486 1992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7488 * make-path.c: New program, to help with the installation process.
7489 * Makefile.in (make-path): New target.
7491 * make-path.c (touchy_mkdir): Remove debugging output.
7493 1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7495 * Makefile.in (getdate.o): Add explicit target for this, so we
7496 can indicate that it depends on ../src/config.h.
7498 1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
7500 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
7502 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
7504 1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7506 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
7507 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
7510 * Makefile.in (arch-lib): Give rm the `-f' option.
7512 1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7514 * make-docfile.c (write_c_args): Rewritten to correctly print
7515 &optionals before the first identifier, but after the first paren.
7516 This code used to just wait for commas or spaces; now it notices
7517 identifier boundaries.
7519 1992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
7521 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
7523 1992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7525 * make-docfile.c (write_c_args): Print the argument lists properly
7526 when the first argument is optional.
7528 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7530 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
7531 Redefine @item. Set catcode of +.
7533 1992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7535 * emacsclient.c (main): Set IPC_CREAT in msgget call.
7537 1992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7539 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
7540 (TEX_decode_env): Make `tab' one element longer.
7542 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7544 * etags.c (PF_funcs): Recognize the "entry" keyword.
7546 1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7548 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
7550 1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7552 * timer.c (events): Rather than having slots marked as in use or
7553 out of use by the `token' field, keep all pending events at the
7554 beginning of the array. When we delete an event in the middle of
7555 the array, we move the last event into its place.
7556 (num_events): New variable.
7557 (schedule): It is now cheaper to find a free event slot;
7558 events[num_events] is the first free slot.
7559 (notify): Scan events[0 .. num_events-1], instead of the whole
7560 array. When an event fires, move the last event in the array into
7561 its spot. Use num_events to determine whether or not there are
7562 any pending events, not wait_for.
7563 (getevent): Delete unused variable `ep'.
7564 (sigcatch): It's now easier to find all the active events.
7565 (main): Initialize num_events.
7567 * etags.c: Rather than fret about which systems have index and
7568 which systems have strchr, and how to tell the difference between
7569 them, we just write out our own versions. Big deal.
7570 (index, rindex): Extern declarations removed.
7571 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
7572 (etags_index, etags_rindex): New declarations.
7573 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
7574 TEX_getit, substr): Use the etags_*index functions, rather than
7575 the native *index functions.
7576 (rindex, index): Rename to etags_rindex and tags_rindex, and
7577 made them unconditionally defined, rather than having them depend
7580 * etags.c (savenstr): Add declaration for this at top of file.
7581 (TEX_decode_env): Don't declare it local to this function.
7583 * b2m.c: #include "../src/config.h", so we can test for the USG
7584 macro, and decide whether to include <string.h> or <strings.h>.
7585 * Makefile.in: Note that b2m.c depends on ../src/config.h.
7587 1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7589 * timer.c: Reformatted according to the GNU coding standards.
7590 Removed arbitrary limits on the number of events queued and the
7591 length of the tokens used to identify them.
7592 Removed casts to (void).
7593 Removed debugging printfs; they clutter the code, and the need
7594 can be better filled using a real debugger.
7596 1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7598 * timer.c: Installed new version from Eric Raymond; this is more
7599 portable, since it doesn't try to use SIGIO.
7601 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7603 * emacsclient.c (main): If we can't find the socket in this
7604 person's home directory, print a message which asks if they've
7605 started the server, instead of just printing the message from
7606 sys_errmsg; Cygnus finds that people are much less confused by
7609 1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7611 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
7612 so that index and rindex get defined, why don't we actually
7613 control index and rindex using symbols called "NEED_INDEX" and
7614 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
7615 little more readable than defining something whose name implies
7618 1992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7620 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
7622 Miscellaneous doc fixes.
7623 (skip_white, read_lisp_symbol): New functions.
7624 (scan_lisp_file): Instead of using long hairy strings of ifs, call
7625 read_lisp_symbol and then see what we got. Call skip_white
7626 instead of writing out a loop to do its job. Correctly extract
7627 docstrings from "defmacro" declarations.
7629 1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7631 * movemail.c (strcpy): Declare this to return char *.
7633 1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7635 * etags.c (C_entries): When we find a C++ comment, do actually
7636 skip to the end of the line; do a 'break' instead of a 'continue'.
7638 1992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7640 * etags.c (getit): Add missing parenthesis to expression which
7641 decides if this token is an identifier.
7643 1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7645 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
7647 1992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7649 * etags.c (put_entries): Always put space between name and line num.
7651 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
7653 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
7655 (LEVEL_OK_FOR_FUNCDEF): Ditto.
7657 1992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
7659 * make-docfile.c (write_c_args): Pass both arguments to putc.
7661 1992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
7663 * etags.c (C_entries): Fix reading of "..." strings.
7664 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
7665 the C library source.
7667 * etags.c (C_entries): When we see a backslash inside a quoted
7668 string, skip to the next character. This allows us to correctly
7669 deal with strings containing quotes.
7671 1992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7673 * make-docfile.c (write_c_args): Print the C argument names as
7674 they would be written in Elisp; print '_' as '-'.
7676 1992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7678 * movemail.c [POP]: Get user name via getpwuid.
7680 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7682 * Makefile.in: Flags in CC invocations rearranged for no reason.
7684 1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7686 * etags.c (print_help): Remember not to embed raw newlines in
7687 strings - end the lines with `\n\'.
7689 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7691 * timer.c (getevent): Remove declaration of memcpy; since
7692 different systems have different return types, and we're not even
7693 using the return type anyway, it wasn't doing us any good.
7695 1992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7697 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
7698 type of this function.
7700 1992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7702 * ChangeLog: Since the old etc contents have been split into etc
7703 and lib-src, the old etc's ChangeLog has been duplicated in the
7704 new etc and lib-src. That means that each contains complete and
7705 coherent information, although each contains extraneous
7708 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7710 * etags.c: "--no-warning" option renamed to "--no-warn",
7711 to be consistent with other GNU programs, like makeinfo.
7713 * Makefile: Renamed to Makefile.in; the configure script
7714 will edit this to produce Makefile.
7716 1992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7718 * etags.c (print_help, print_version): New functions.
7719 (main): Options added to support them.
7721 * etags.c (longopts): New array of long names for the options.
7722 (main): Recognize them.
7724 1992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7726 * etags.c (C_entries): Remove comment saying that \" in a string
7727 isn't recognized as magic, because it is correctly handled.
7729 * getopt.c, getopt.h: New files, from GNU C library.
7730 * etags.c: Rewritten to use getopt.
7731 #include "getopt.h".
7732 (file_num): Variable deleted; its role is now played by getopt's
7734 (main): Argument processing loop rewritten to call getopt to get
7735 next option. Options which take parameters (-o and -i) rewritten
7736 to get parameter from optarg instead of argv[1].
7737 Filename preprocessing loop and update command changed similarly.
7738 * Makefile (etags, ctags): Depend on and link with getopt.h,
7739 getopt.o, and getopt1.o.
7740 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
7742 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
7745 (main): In the argument processing loop, the 'goto next_arg'
7746 statements are breaking out of the switch statement in exactly the
7747 same way that a simple 'break' statement would; replace the gotos
7748 with breaks, and remove the label.
7750 1992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7752 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
7753 (consider_token): Move next_token_is_func to global.
7755 1992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7757 * Makefile: Conform with GNU coding standards:
7758 (mostlyclean): New target, synonymous with clean.
7759 (TAGS, check): New targets.
7760 (INSTALL, INSTALLFLAGS): New variables.
7762 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7764 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
7765 `config.emacs' to `configure'.
7767 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
7768 * etc/MACHINES: Same.
7770 1992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7772 * movemail.c (main): Allow tempname to be as long as necessary,
7773 instead of limiting it to 39 characters.
7775 * movemail.c (main): Move declaration of buf from top of function
7776 to local block surrounding the copy loop. This makes it less
7777 likely to be confused with the buf used by the code which checks the
7778 permissions on outname's directory.
7780 1992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
7782 * SERVICE: Remove my entry.
7784 1992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
7786 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
7789 * movemail.c (xmalloc): Return char *, not int.
7790 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
7791 that is off by default -- normally don't unlink the mail spool
7792 file, just empty it. Pass creat mode 0600, not 0666.
7794 1992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7796 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
7797 (all): Instead of here.
7798 (install): Don't use the -s option, since people need symbols to
7801 1992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
7803 * etags-vmslib.c (fn_exp): Add type cast.
7805 1992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7807 * movemail.c: Changes in comments.
7809 1992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7811 * Makefile: Make the distclean target erase the DOC files from
7812 ../share-lib and the executables from ../arch-lib.
7814 1992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
7816 * emacsclient.c: #include <sys/stat.h>
7817 (main): Do declare statbfr.
7819 1991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7821 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
7822 for the socket, depending on SERVER_HOME_DIR.
7823 If using /tmp, put host name in the socket name.
7825 * movemail.c (pfatal_and_delete): New function.
7826 (main, popmail): Use it.
7827 (popmail): Close output before deleting messages.
7828 Check for error on close and on fsync.
7829 Use `fatal' where appropriate.
7830 (main): Remove (void).
7832 * aixcc.lex: New file. Not officially part of Emacs.
7833 * Makefile: Rules for that.
7835 1991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
7837 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
7839 * etags.c (main): Properly cast call to alloca that initializes
7842 1991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
7844 * etags.c (files_are_tag_tables): Remove global var.
7845 (process_file): Don't test it. Also remove hack checking for a
7847 (main): -i now takes an arg which is the name of a file to include.
7848 Collect these names and emit include tags for them after processing
7849 all the argument files.
7851 1991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7853 * wakeup.c: Terminate if parent goes away.
7855 1991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7857 * etags.c (C_entries): Process token before handling end of line.
7858 When inner loops reach end of line, just back up.
7859 Let the real end of line processing happen in just one place.
7860 (consider_token): Likewise.
7862 1991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
7864 * etags.c (TEX_mode): Skip comments while scanning the text to see
7865 which escape character this file uses.
7867 1991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
7869 * emacsserver.c [USG]: Terminate if msgrcv fails.
7871 1991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
7873 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
7875 1991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
7877 * make-docfile: Find the arguments to a C function correctly,
7878 by not ignoring the character that read_c_string returns.
7879 Don't even try to find argument names for functions that take MANY
7880 or UNEVALLED arguments, since they're a figment of the docstring's
7883 1991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
7885 * make-docfile: Read the .elc files generated by the new byte
7888 1990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
7890 * refcard.tex: Use cm fonts, not am, in multi-column mode.
7892 1990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
7894 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
7896 1990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
7898 * Makefile (install*): No need to install wakeup.
7900 1990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
7902 * Makefile (install*): Install emacsclient like etags.
7904 1990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
7906 * movemail.c (error): Handle 3 args.
7907 (main): Don't check input access if using pop.
7909 1990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
7911 * etags.c (find_entries): Check for numbers after Scheme suffix.
7913 1990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
7915 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
7917 1990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
7919 * Makefile (nemacstool, xvetool): New targets.
7921 1990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
7923 * emacsclient.c: Include errno.h and define related variables.
7925 1990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
7927 * emacsclient.c: Change usage message.
7929 1990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
7931 * emacs.1: Add break before -nw option.
7933 1990-08-19 David J. MacKenzie (djm@apple-gunkies)
7935 * qsort.c: Replace with GNU version.
7937 1990-08-14 David J. MacKenzie (djm@apple-gunkies)
7939 * wakeup.c: New program replacing loadst.c.
7941 1990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7943 * emacsclient.c [USG]: Pass msgsnd only 4 args.
7945 1990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
7947 * etags.c: Rename `flag' variables for what they do instead of
7948 which option character sets them.
7950 1990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7952 * loadst.c (main): Conditional to get load average on Apollo.
7954 1990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
7956 * emacsserver.c: Set the permission on the socket to 0600.
7958 1990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7960 * emacsclient.c [BSD]: Print clean message for failing getwd.
7962 1990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
7964 * getdate.y: Use the getdate.y from GNU tar for timer.
7966 1990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
7968 * emacsclient.c (main): Don't put brackets around "filename" in
7969 usage message. It isn't optional.
7971 1990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
7973 * etags.c (getit): Recognize '$' as beginning identifiers.
7975 1990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
7977 * emacsserver.c: Renamed from server.c.
7978 * Makefile: Reference emacsserver rather than server.
7979 * MACHINES: Doc fix for new emacsserver name.
7981 1990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7983 * emacsclient.c: Print program name in error messages.
7985 1990-01-19 David Lawrence (tale@cocoa-puffs)
7987 * timer.c, getdate.y (new files) and Makefile:
7988 Sub-process support for run-at-time in timer.el.
7989 Doesn't yet work correctly for USG.
7991 1990-01-10 Jim Kingdon (kingdon@pogo)
7993 * MACHINES: Add HP 300 running BSD.
7995 1990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
7997 * yow.c: Dynamically allocate buffer; skip header before random
7998 choice to avoid bias toward first item.
8000 1989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8002 * etags.c (readline): Separate out init of `pend'.
8004 1989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8006 * etags.c: Undo changes relating to isgoodhdr.
8008 1989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
8010 * etags.c (isgoodhdr): New macro.
8011 (_gdh, notgdh): New variable used by that.
8012 (init): Initialize _gdh.
8013 (find_entries): Set header_file.
8014 (consider_token): Use isgoodhdr if in header file.
8016 * etags.c (total_size_of_entries):
8017 Was miscalculating by 1 in rewritten case.
8019 * etags.c (PAS_funcs): One arg to pfnote was missing.
8021 1989-12-05 Joseph Arceneaux (jla@spiff)
8023 * MACHINES: Change for the ULTRIX entry.
8025 1989-11-21 Joseph Arceneaux (jla@spiff)
8027 * etags.c (process_file): If file is not regular, return.
8029 1989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8031 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
8033 1989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8035 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
8036 (main): If HAVE_GETLOADAVG, don't call `nlist'.
8038 1989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8040 * etags.c (consider_token): Allow any number of typespec keywords
8041 after `typedef', before new type name.
8042 (enum sym_type): Add st_C_typespec.
8043 (C_create_stab): Put typespec kwds in table.
8045 1989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
8047 * etags.c (main): Don't depend on name invoked by.
8048 If CTAGS is not defined, assume it is ETAGS.
8050 1989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8052 * etags.c (L_funcs): Allow package name in define construct,
8053 as in (foo::defmumble name-defined ...).
8055 1989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8057 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
8059 * Makefile (yow): Depends on ../src/paths.h.
8061 1989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
8063 * etags.c: Fix compilation by moving Pascal after Fortran.
8065 1989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8067 * movemail.c [USG]: Define F_OK, etc., if not found in header.
8069 1989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8071 * hexl.c: New file, supports hexl-mode.
8073 1989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8075 * movemail.c: New compilation flag MAIL_USE_MMDF.
8077 1989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8079 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
8080 * server.c: Likewise.
8082 * make-docfile.c (scan_c_file): Output argument names at end of string.
8083 (write_c_args): New subroutine.
8085 1989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8087 * movemail.c: Report failure of flock.
8089 1989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8091 * etags.c (find_entries): Allow multi-letter extensions for fortran.
8093 1989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8095 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
8097 1989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
8099 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
8101 * emacstool.1: Update to document environment variables.
8103 1989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8105 * etags.c (PAS_funcs): New function by Mosur Mohan.
8107 * movemail.c: On sysv, include unistd.h.
8109 1989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8113 1989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8115 * etags.c: Prolog support from Sunichirou Sugou.
8117 1989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8119 * Makefile (clean): New target.
8121 1989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8123 * fakemail.c (put_line): Break header lines at 79 cols.
8125 1989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8127 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
8128 multiple tags per line.
8130 1989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8132 * movemail.c: Check access before doing real work.
8133 Check that outfile is in a writable directory.
8134 On fatal error, delete the lock file.
8136 1988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
8138 * env.c: Add decl for my-index
8139 * etags.c (file-entries): .oak => scheme.
8141 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8143 * movemail.c: Use `access' to check input and output files.
8145 1988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8147 * emacsclient.c (main): Ignore all of CWD before first slash.
8149 1988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8151 * etags.c (readline): Double linebuffer->size outside the xrealloc.
8153 1988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8155 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
8156 * server.c: chmod the socket to 0700.
8158 1988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8160 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
8161 (add_field): Delete comments and turn `<', `>' to spaces
8163 (USE_FAKEMAIL): New customization macro says to make fakemail
8164 not be a no-op even on a BSD system.
8166 1988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8168 * etags.c (consider_token): Skip comments just like whitespace.
8169 Notice `struct', etc. and set strtag for those tokens.
8170 Return 1 for the token following `struct' if an open-brace follows it.
8171 (C_entries): Special handling of token following `struct'
8172 needed because we have probably advanced to the following line
8174 (main): New option `T' sets tflag and strflag.
8175 Set both of them by default if eflags.
8177 1988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8179 * movemail.c: Do fsync before closing output.
8181 1988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
8183 * movemail.c: Better error message when can't create tempname.
8184 This file needs a great deal of extra error-checking and lucid reporting...
8186 1988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8188 * etags.c: Support assembler code for .s and .a files.
8189 (getit): Allow underscore in a tag.
8191 1988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8193 * movemail.c: Close output and check errors before deleting input.
8195 1988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
8197 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
8198 whether to prefix it. Handle line number args.
8200 1988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
8202 * etags.c (main): Default setting of eflag was backwards.
8204 1988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8206 * etags.c: New option -i. -f renamed -o.
8207 `-' as input file means read input file names from stdin.
8208 -i spec'd or input file named TAGS means the input file is another
8209 tag table; output an "include" line for it.
8211 1988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8213 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
8214 New targets install, install.sysv, install.xenix.
8215 This makefile is now responsible for installing executables
8216 and documentation from this directory into system directories.
8218 1988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
8220 * server.c, emacsclient.c (main): Compute socket name from euid.
8222 1988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8224 * emacsclient.c: Args like +DIGITS are passed through unchanged.
8226 1988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8228 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
8229 * emacsclient.c: Likewise.
8230 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
8232 1988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8234 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
8235 (istoken): New string-comparison macro.
8236 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
8238 1988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8240 * etags.c: Changes for VMS.
8241 Always define ETAGS on VMS.
8242 Define macros GOOD and BAD for success and failure exit codes.
8243 (begtk, intk): Allow `$' in identifiers.
8244 (main): Don't support -B, -F or -u on VMS.
8245 Alternate loop for scanning filename arguments.
8246 (system): Delete definition of this function.
8248 * etags-vmslib.c (system): Undefine this; VMS now provides it.
8250 1988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
8252 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
8253 around include of param.h. (Like fns.c.)
8255 1988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
8257 * loadst.c (load_average): Move load-average code to this new fn.
8258 Add conditionals to compute load ave on UMAX.
8260 1988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
8262 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
8263 with opposite sense.
8265 1988-05-13 Chris Hanson (cph@kleph)
8267 * emacsclient.c: Delete references to unused variable `out'.
8268 This caused a bus error when used under hp-ux.
8270 1988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
8272 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
8274 1988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
8276 * etags.c (find_entries): `.t' or `.sch' means scheme code.
8278 1988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
8280 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
8282 1988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
8284 * movemail.c: #undef close, since config can #define it on V.3.
8285 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
8287 1988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
8289 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
8290 invalid escape sequences such as `\{'.
8292 * loadst.c: Add `sequent' conditional for file dk.h.
8294 1988-03-20 Richard M. Stallman (rms@wilson)
8296 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
8298 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
8304 Copyright (C) 1988-1999, 2001-2012 Free Software Foundation, Inc.
8306 This file is part of GNU Emacs.
8308 GNU Emacs is free software: you can redistribute it and/or modify
8309 it under the terms of the GNU General Public License as published by
8310 the Free Software Foundation, either version 3 of the License, or
8311 (at your option) any later version.
8313 GNU Emacs is distributed in the hope that it will be useful,
8314 but WITHOUT ANY WARRANTY; without even the implied warranty of
8315 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8316 GNU General Public License for more details.
8318 You should have received a copy of the GNU General Public License
8319 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.