Suppress localized settings in Tramp test.
[emacs.git] / lib-src / ChangeLog
blob4ac9638102fcc163d010508c8383bd2015b2e753
1 2015-02-20  Paul Eggert  <eggert@cs.ucla.edu>
3         Simplify binary I/O configuration
4         * etags.c: Include <sysstdio.h> rather than <stdio.h>.
5         (process_file_name, analyze_regex): Use FOPEN_BINARY rather than
6         hard-coded "b".
8 2015-02-19  Eli Zaretskii  <eliz@gnu.org>
10         * etags.c (process_file_name) [!DOS_NT]: Use "r", not "rb" in the
11         call to 'popen'.  (Bug#19735)
13 2015-02-13  Paul Eggert  <eggert@cs.ucla.edu>
15         Better support for future plugins
16         See the thread containing:
17         http://lists.gnu.org/archive/html/emacs-devel/2015-02/msg00720.html
18         * make-docfile.c (write_globals): Generate code that #defines
19         Qxxx macros other than Qnil only if DEFINE_NONNIL_Q_SYMBOL_MACROS.
20         Qnil is safe to define even in plugins, since it must be zero for
21         other reasons.
23 2015-01-24  Paul Eggert  <eggert@cs.ucla.edu>
25         Fix a couple of AM_V_GEN bugs
26         * Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0, am__v_GEN_1)
27         (AM_V_at, am__v_at_, am__v_at_0, am__v_at_1):
28         New macros, copied from ../src/Makefile.in.
30 2015-01-22  Paul Eggert  <eggert@cs.ucla.edu>
32         Check exit statuses in lib-src/Makefile
33         * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall)
34         (mostlyclean, clean, distclean, extraclean):
35         Check exit statuses more carefully.  Reindent to fit in 80 chars.
36         (bootstrap-clean maintainer-clean): Remove unnecessary 'true'.
38 2015-01-22  Ulrich Müller  <ulm@gentoo.org>
40         * Makefile.in ($(DESTDIR)${archlibdir}): Don't fail if the chown
41         or chgrp command is unsuccessful; the 'update-game-score' program
42         has a fallback for this at runtime.
44 2015-01-21  Ulrich Müller  <ulm@gentoo.org>
46         * update-game-score.c: Allow the program to run sgid instead
47         of suid, in order to match common practice for most games.
48         (main): Check if we are running sgid.  Pass appropriate file
49         permission bits to 'write_scores'.
50         (write_scores): New 'mode' argument, instead of hardcoding 0644.
51         (get_prefix): Update error message.
52         * Makefile.in (gamegroup): New variable, set by configure.
53         ($(DESTDIR)${archlibdir}): Handle both suid or sgid when
54         installing the 'update-game-score' program.
56 2015-01-16  Eli Zaretskii  <eliz@gnu.org>
58         * Makefile.in (AM_V_RC, am__v_RC_, am__v_RC_0, am__v_RC_1): New
59         macros.
60         (emacsclient.res): Use $(AM_V_RC).
62 2015-01-16  Paul Eggert  <eggert@cs.ucla.edu>
64         Give up on -Wsuggest-attribute=const
65         * make-docfile.c (write_globals):
66         Remove special hack for Fnext_read_file_uses_dialog_p
68 2015-01-13  Paul Eggert  <eggert@cs.ucla.edu>
70         Don't say Fnext_read_file_uses_dialog_p is const
71         * make-docfile.c (write_globals):
72         Add a special hack for Fnext_read_file_uses_dialog_p.
74 2015-01-13  Dmitry Antipov  <dmantipov@yandex.ru>
76         Support DEFUN attributes.
77         * make-docfile.c (struct global): New field 'flags'.
78         (DEFUN_noreturn, DEFUN_const): New enum bitfields.
79         (add_global): Now return pointer to global.
80         (write_globals): Add _Noreturn and ATTRIBUTE_CONST attributes
81         if requested by global's flags.
82         (stream_match): New function.
83         (scan_c_stream): Recognize 'attributes:' of DEFUN.
85 2015-01-10  Paul Eggert  <eggert@cs.ucla.edu>
87         Port to 32-bit --with-wide-int
88         * make-docfile.c (write_globals): Define and use symbols like
89         iQnil (a small integer, like 0) rather than aQnil (an address
90         constant).
92         Port to 32-bit Sun C 5.12 sparc
93         * make-docfile.c (close_emacs_globals): Align lispsym to GCALIGNMENT.
94         The alignment is required on all platforms; it just happens to have
95         been properly aligned on the previous platforms we tested.
97 2015-01-05  Paul Eggert  <eggert@cs.ucla.edu>
99         Use 0 for Qnil
100         * make-docfile.c (compare_globals): Consider 'nil' to be the least.
102         Compute C decls for DEFSYMs automatically
103         Fixes Bug#15880.
104         * make-docfile.c: Revamp to generate table of symbols, too.
105         Include <stdbool.h>.
106         (xstrdup): New function.
107         (main): Don't process the same file twice.
108         (SYMBOL): New constant in enum global_type.
109         (struct symbol): Turn 'value' member into a union, either v.value
110         for int or v.svalue for string.  All uses changed.
111         (add_global): New arg svalue, which overrides value, so that globals
112         can have a string value.
113         (close_emacs_global): New arg num_symbols; all uses changed.
114         Output lispsym decl.
115         (write_globals): Output symbol globals too.  Output more
116         ATTRIBUTE_CONST, now that Qnil etc. are C constants.
117         Output defsym_name table.
118         (scan_c_file): Move most of guts into ...
119         (scan_c_stream): ... new function.  Scan for DEFSYMs and
120         record symbols found.  Don't read past EOF if file doesn't
121         end in newline.
123 2015-01-04  Paul Eggert  <eggert@cs.ucla.edu>
125         'temacs -nw' should not call missing functions
126         * make-docfile.c (write_globals):
127         Declare Fframe_windows_min_size with ATTRIBUTE_CONST, too.  Sort.
129         Less 'make' chatter for lib-src
130         * Makefile.in (blessmail): Less 'make' chatter here.
132 2014-12-27  Eli Zaretskii  <eliz@gnu.org>
134         * Makefile.in (etags_libs, ebrowse${EXEEXT}, profile${EXEEXT})
135         (make-docfile${EXEEXT}, movemail${EXEEXT})
136         (update-game-score${EXEEXT}): Put $(NTLIB) before $(LOADLIBES),
137         since GCC sometimes calls stpcpy when it sees strcpy, under
138         optimization switches.
140 2014-12-25  Paul Eggert  <eggert@cs.ucla.edu>
142         * ebrowse.c (sym_scope_1, operator_name, open_file):
143         * emacsclient.c (get_server_config, set_local_socket)
144         (start_daemon_and_retry_set_socket):
145         * etags.c (main, C_entries, relative_filename):
146         * pop.c (sendline):
147         * update-game-score.c (main):
148         Rewrite to avoid the need for strcat, typically by using stpcpy
149         and/or lispstpcpy.  strcat tends to be part of O(N**2) algorithms.
151 2014-12-14  Paul Eggert  <eggert@cs.ucla.edu>
153         * etags.c (analyze_regex): Rename from analyse_regex.
155 2014-12-14  Glenn Morris  <rgm@gnu.org>
157         * grep-changelog: Remove file.
158         * Makefile.in (INSTALLABLE_SCRIPTS): Remove.
159         (all, install, uninstall): Remove INSTALLABLE_SCRIPTS.
161 2014-11-23  Glenn Morris  <rgm@gnu.org>
163         * Makefile.in (emacsclient.res): Fix yesterday's thinko.
165 2014-11-22  Glenn Morris  <rgm@gnu.org>
167         * Makefile.in (emacsclient.res): Update deps for nt/emacsclient.rc
168         now being in the build directory, not the source directory.
170         * Makefile.in (emacsclient.res): Add dependency on icons/emacs.ico.
172 2014-10-20  Glenn Morris  <rgm@gnu.org>
174         * Merge in all changes up to 24.4 release.
176 2014-09-23  Paul Eggert  <eggert@cs.ucla.edu>
178         movemail: don't dump core if the current time is outlandish
179         * movemail.c (popmail): Check for mbx_delimit_begin failure.
180         (mbx_delimit_begin): Fail if the current time is so outlandish
181         that localtime would fail or asctime would have undefined
182         behavior.  Use strftime to avoid asctime undefined behavior.
184 2014-09-01  Paul Eggert  <eggert@cs.ucla.edu>
186         --enable-silent-rules now suppresses more chatter.
187         * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
188         (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0)
189         (am__v_CCLD_1): New macros, taken from Automake.
190         (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
191         (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
192         (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT})
193         (emacsclientw${EXEEXT}, ntlib.o, hexl${EXEEXT})
194         (update-game-score${EXEEXT}): Use them.
196         * etags.c (emacs_strchr, emacs_strrchr): Remove.
197         All uses replaced by strchr and strrchr, which are on all
198         target platforms now.
200 2014-07-15  Paul Eggert  <eggert@cs.ucla.edu>
202         Use "b" flag more consistently; avoid "t" (Bug#18006).
203         * make-docfile.c (READ_TEXT): Remove; all uses replaced by "r".
204         (READ_BINARY): Remove; all uses replaced by "rb".
206 2014-07-14  Paul Eggert  <eggert@cs.ucla.edu>
208         Use binary-io module, O_BINARY, and "b" flag (Bug#18006).
209         * etags.c, hexl.c, make-docfile.c:
210         Include binary-io.h instead of fcntl.h and/or io.h.
211         (main): Use set_binary_mode or SET_BINARY
212         in place of handcrafted code.
213         * etags.c (main) [DOS_NT]:
214         * movemail.c (main) [WINDOWSNT]:
215         Don't mess with _fmode.
216         * etags.c (main, process_file_name, analyse_regex):
217         Use fopen/popen's "b" flag instead.
218         * movemail.c (main, popmail): Use open/lk_open/mkostemp's O_BINARY
219         instead.
221 2014-07-13  Paul Eggert  <eggert@cs.ucla.edu>
223         * make-docfile.c: Simplify a bit, to simplify further refactoring.
224         (outfile): Remove static var.  All uses changed to use stdout,
225         since it's always stdout anyway.  While we're at it, prefer
226         putchar/puts/fputs to printf when there are no format strings.
227         (main): Use freopen rather than fopen, so that stdout is reused.
228         Move O_BINARY stuff after the freopen, so it affects the
229         reopened file.
230         (write_c_args): Omit first arg, since it's always stdout now.
231         All uses changed.
233 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
235         * etags.c (Lisp_functions): Also record cl-defun etc. (Bug#17965)
237 2014-06-26  Glenn Morris  <rgm@gnu.org>
239         * Makefile.in (blessmail): Depend on lisp/mail/blessmail.el.
240         Use $<, $@.
241         (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
242         (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
243         (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT}, ntlib.o)
244         (hexl${EXEEXT}, update-game-score${EXEEXT}, emacsclient.res): Use $<.
245         (ctags${EXEEXT}): Add $srcdir to dependency rather than using VPATH.
247 2014-06-17  Paul Eggert  <eggert@cs.ucla.edu>
249         Omit redundant extern decls.
250         * emacsclient.c (getenv): Remove decl.
251         * make-docfile.c (write_globals): Add ATTRIBUTE_CONST for
252         Fbyteorder, Ftool_bar_height, Fmax_char, Fidentity.
254 2014-06-15  Glenn Morris  <rgm@gnu.org>
256         * Makefile.in (LDFLAGS): Explicitly set via configure.
258 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
260         * Makefile.in (CPPFLAGS): Define.
262 2014-06-15  Glenn Morris  <rgm@gnu.org>
264         * Makefile.in (../lib/libgnu.a):
265         Use `make -C' rather than `cd && make'.
267         * Makefile.in (bootstrap-clean): New.
269 2014-06-13  Glenn Morris  <rgm@gnu.org>
271         * Makefile.in (../lib/libgnu.a):
272         GNU make automatically passes command-line arguments to sub-makes.
274 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
276         * ntlib.h (lseek): Don't redirect to _lseek.
278 2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
280         Fix rcs2log problems with CVS.  Reported by Glenn Morris in
281         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00277.html>.
282         Plus, fix some security and filename quoting problems.
283         * rcs2log (logdir): Prefer mktemp if available.
284         (logdir, llogdir): Work even if TMPDIR begins with '-' or has spaces.
285         (output_authors, main awk script): Parse more-recent CVS output format.
287 2014-05-19  Paul Eggert  <eggert@cs.ucla.edu>
289         Remove dependencies on getline and getdelim.
290         Also, remove update-game-scores's limits on game scores and
291         simplify its file-locking code.
292         * update-game-score.c (struct score_entry): Unify the username and
293         data members to a single user_data member, since they don't need to be
294         changed independently and getdelim and getline aren't helpful.
295         Make the score member char *, not intmax_t, so that scores are not
296         limited to intmax_t.  All uses changed.
297         (lose_syserr): A zero errno stands for invalid data in score file.
298         (normalize_integer): New function.
299         (main): Use it.  Check for invalid scores.  Omit redundant stat check.
300         (read_score): First arg is now a string, not a FILE *.  All uses
301         changed.  Do not use getdelim or getline; that's way simpler.
302         (read_scores): Read the whole file, and let read_score handle each
303         line.
304         (score_compare): Compare strings representing integers, not integers.
305         (write_scores) [DOS_NT]: Eliminate unnecessary chmod.
306         (lock_file): Simplify locking code, eliminating goto.
307         Check for unlink failure.
309 2014-05-18  Paul Eggert  <eggert@cs.ucla.edu>
311         Port ctags+etags build to Sun C 5.12.
312         * Makefile.in (etags_args): Remove, replacing with ...
313         (etags_cflags, etags_libs): New macros.  All uses changed.
314         (ctags${EXEEXT}): Don't compile etags.c, as compiling etags.c in
315         parallel (once for ctags, once for etags) breaks parallel makes
316         with compilers that use the source file name to name temporaries,
317         such as Sun C 5.12.  Instead, compile ctags.c.
318         * ctags.c: New file.
320 2014-05-04  Paul Eggert  <eggert@cs.ucla.edu>
322         Handle systems without WCONTINUED consistently.  (Bug#15110, 17339)
323         * emacsclient.c (WCONTINUED): Move to ../src/syswait.h.
325 2014-04-30  Glenn Morris  <rgm@gnu.org>
327         * Makefile.in ($(DESTDIR)${archlibdir}):
328         Avoid non-portable "`\" nesting.  (Bug#17339)
330 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
332         * update-game-score.c (write_scores): Condition fchmod call on
333         DOS_NT, not WINDOWSNT.
335 2014-03-22  Glenn Morris  <rgm@gnu.org>
337         * Makefile.in (etags_deps, etags_args): New, to reduce duplication.
338         (etags${EXEEXT}, ctags${EXEEXT}): Use etags_deps, etags_args.
340         * Makefile.in (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
341         (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
342         (emacsclient${EXEEXT}, emacsclientw${EXEEXT}, hexl${EXEEXT})
343         (update-game-score${EXEEXT}, emacsclient.res): Use $@.
345         * Makefile.in (../lib/libgnu.a): Explicitly pass MFLAGS.
347         * Makefile.in (DONT_INSTALL): Remove test-distrib.
348         (test-distrib${EXEEXT}): Remove rule.
350         * test-distrib.c, testfile: Remove.
352 2014-03-10  Juanma Barranquero  <lekktu@gmail.com>
354         * emacsclient.c (main): #ifdef out previous change on Windows.
356 2014-03-09  Paul Eggert  <eggert@cs.ucla.edu>
358         Fix emacsclient terminal corruption when in background (Bug#16892).
359         * emacsclient.c (handle_sigcont): Check for tcgetpgrp failure.
360         Cancel the continue only if tty.  Send SIGTTIN to the process
361         group, not SIGSTOP to self, as this is what the glibc manual
362         recommends.
363         (main): If tty, and if started in the background, send SIGTTIN
364         to the process group.
366 2014-02-25  Andreas Amann  <a.amann@ucc.ie>  (tiny change)
368         Fix emacsclient's handling of SIGCONT (Bug#16883).
369         * emacsclient.c (handle_sigcont): Cancel the continue only if tty.
371 2014-01-22  Eli Zaretskii  <eliz@gnu.org>
373         * update-game-score.c (write_scores) [WINDOWSNT]: Use chmod
374         instead of fchmod.
376 2014-01-22  Paul Eggert  <eggert@cs.ucla.edu>
378         Fix miscellaneous update-game-score bugs.
379         * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Remove.
380         (read_score) [HAVE_GETDELIM]: Don't access uninitialized storage,
381         as that leads to undefined behavior, which is a bad thing
382         particularly in a setuid program.
383         (read_scores, write_scores): Check for fclose failure; on some
384         systems, I/O errors are not reported by primitives like getc and
385         putc, but instead are delayed until fclose, so fclose failures
386         should be diagnosed like other read and write errors.
387         (write_scores): Use fchmod, not chmod, to avoid a race.
388         Otherwise, if the lock is broken by some other process,
389         update-game-score might try to change the permission on someone
390         else's file or on a nonexistent file, and incorrectly report an
391         error when this fails.
392         (lock_file): Fix test for out-of-date lock file; it was reversed.
393         That is, it incorrectly broke locks when they were more than an
394         hour into the future, instead of when they were more than an hour
395         in the past.  Use ordinary subtraction rather than difftime; since
396         we're already assuming POSIX we don't need to worry about the
397         possibility of time_t being a magic cookie, and since timestamps
398         are positive we don't need to worry about integer overflow when
399         subtracting them.  Put two spaces, not just one, after a sentence
400         end in a comment.
402 2014-01-19  Paul Eggert  <eggert@cs.ucla.edu>
404         update-game-score fixes for -m and integer overflow (Bug#16428)
405         * update-game-score.c: Include inttypes.h, stdbool.h.
406         (min): New macro, if not already defined.
407         (MAX_SCORES, main): Limit the maximum number of scores only from
408         limits imposed by the underyling platform, instead of the
409         arbitrary value 200.
410         (struct score_entry, main, read_score, write_score):
411         Scores are now intmax_t, not long.
412         (get_user_id): Reject user names containing spaces or newlines,
413         as they would mess up the score file.
414         Allow uids that don't fit in 'long'.
415         Increase the size of the buffer, to avoid overrun in weird cases.
416         (get_prefix, main): Use bool for boolean.
417         (main): Rewrite expr to avoid possibility of signed integer
418         overflow.  Don't allow newlines in data, as this would mess up
419         the score file.  Check for memory allocation failure when adding
420         the new score, or when unlockint the file.  Implement -m.
421         (read_score): Check for integer overflow when reading a score.
422         (read_score) [!HAVE_GETDELIM]: Check for integer overflow when
423         data gets very long.  Check only for space to delimit names,
424         since that's what's done in the HAVE_GETDELIM case.
425         (read_scores): New parameter ALLOC.  Change counts to ptrdiff_t.
426         All uses changed.  Use push_score to add individual scores;
427         that's simpler than repeating its contents.
428         (score_compare_reverse): Simplify.
429         (push_score): New parameter SIZE.  Change counts to ptrdiff_t.
430         All uses changed.  Check for integer overflow of size calculation.
431         (sort_scores, write_scores): Change counts to ptrdiff_t.
432         (unlock_file): Preserve errno on success, so that storage
433         exhaustion is diagnosed correctly.
435 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
437         Spelling fixes.
438         * Makefile.in (regex.o): Remove reference to no-longer-used macros
439         CONFIG_BROKETS and INHIBIT_STRING_HEADER.  "BROKETS" was a
440         misspelling anyway....
442 2013-12-14  Paul Eggert  <eggert@cs.ucla.edu>
444         Use bool for boolean, focusing on headers.
445         * emacsclient.c, etags.c, hexl.c (FALSE, TRUE):
446         Remove.  All uses replaced with uncapitalized version.
447         * emacsclient.c (message):
448         * etags.c (make_tag, pfnote, consider_token, make_C_tag, lang_names):
449         * hexl.c (un_flag, iso_flag, endian):
450         * pop.c (pop_debug, pop_open, pop_multi_first, pop_multi_next)
451         (pop_trash):
452         Use bool for boolean.
453         * etags.c (bool): Remove.
454         * etags.c (globals, members, declarations, no_line_directive)
455         (no_duplicates): Use 'int' for boolean values that getopt requires
456         to be 'int'.  Formerly, these were 'bool' and 'bool' was 'int',
457         but we can no longer rely on this implementation.
458         * pop.h (struct _popserver): Use bool_bf for boolean bit-fields.
460 2013-11-14  Paul Eggert  <eggert@cs.ucla.edu>
462         * ebrowse.c (xstrdup):
463         * etags.c (savenstr): Prefer tail calls.
464         * etags.c (concat): Omit unnecessary assignment.
466 2013-10-24  Glenn Morris  <rgm@gnu.org>
468         * Makefile.in ($(DESTDIR)${archlibdir}):
469         Avoid non-portable "`\" nesting.
471         * Makefile.in (abs_top_srcdir): New, set by configure.
473 2013-10-23  Glenn Morris  <rgm@gnu.org>
475         * Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
476         (uninstall): Quote entities that might contain whitespace.
478 2013-10-10  Glenn Morris  <rgm@gnu.org>
480         * make-docfile.c (search_lisp_doc_at_eol):
481         Use int rather than char with getc.  (Bug#15481)
483 2013-09-20  Paul Eggert  <eggert@cs.ucla.edu>
485         A simpler, centralized INLINE.
486         * profile.c (INLINE): New macro.
487         (SYSTIME_INLINE): Remove.
489 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
491         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
492         for portability to hosts where /bin/sh has problems.
494 2013-08-10  Eli Zaretskii  <eliz@gnu.org>
496         * update-game-score.exe.manifest: New file.
498         * Makefile.in (UPDATE_MANIFEST): New variable.
499         (SCRIPTS): Add $(UPDATE_MANIFEST).
501 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
503         * makefile.w32-in (lisp2): Add nadvice.elc.
505 2013-08-05  Eli Zaretskii  <eliz@gnu.org>
507         * update-game-score.c (read_score): Try reading a character before
508         probing the stream for EOF.  Initialize score->score to zero,
509         before reading and accumulating the score.
510         (read_scores): Fix logic that determines which value to return.
511         Close the input stream when finished reading the scores (avoids
512         failures in overwriting the file with a new one on MS-Windows,
513         since a file that is open cannot be deleted).
515         * ntlib.h (rename): Don't undefine.
517         * ntlib.c (sys_rename): New function, needed for
518         update-game-score.
520 2013-08-04  Eli Zaretskii  <eliz@gnu.org>
522         * ntlib.h: Include fcntl.h.
523         (mkostemp): Declare prototype.
524         (mktemp): Don't redefine.
526         * ntlib.c (mkostemp): New function.  (Bug#15015)
528 2013-08-04  Paul Eggert  <eggert@cs.ucla.edu>
530         Fix some minor races in hosts lacking mkostemp (Bug#15015).
531         * movemail.c (main):
532         * update-game-score.c (write_scores):
533         Use mkostemp (which now works on all platforms, due to changes
534         in the portability layer) rather than mktemp (which has a race)
535         or mkstemp (which we no longer bother with).
537 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
539         Port to C89.
540         * ebrowse.c (USAGE): Remove macro with too-long string literal ...
541         (usage_message): ... and replace it with this new static constant
542         containing multiple literals.  All uses changed.
543         * emacsclient.c (print_help_and_exit):
544         Rewrite to avoid string literals longer than the C89 limits.
545         (start_daemon_and_retry_set_socket):
546         Rewrite to avoid non-constant array initializer.
547         * make-docfile.c (enum global_type): Omit trailing comma.
549 2013-07-02  Paul Eggert  <eggert@cs.ucla.edu>
551         Prefer plain 'static' to 'static inline' (Bug#12541).
552         I missed these instances of 'static inline' in an earlier sweep.
553         * ebrowse.c (putstr):
554         * etags.c (hash):
555         * make-docfile.c (put_char): No longer inline.
556         * etags.c (hash): Prefer int to unsigned when either will do.
558 2013-06-21  Paul Eggert  <eggert@cs.ucla.edu>
560         Use C99-style flexible array members if available.
561         * ebrowse.c: Include <stddef.h>, for offsetof.
562         (struct member, struct alias, struct sym):
563         Use FLEXIBLE_ARRAY_MEMBER.
564         (add_sym, add_member, make_namespace, register_namespace_alias):
565         Use offsetof (struct, flex_array_member), not sizeof (struct), as
566         that ports better to pre-C99 non-GCC.
568 2013-05-29  Eli Zaretskii  <eliz@gnu.org>
570         * Makefile.in (mostlyclean): Remove *.res files.
572 2013-05-18  Paul Eggert  <eggert@cs.ucla.edu>
574         Port --enable-gcc-warnings to clang.
575         * etags.c: Omit unnecessary forward decls.
576         (print_version, print_help): Declare _Noreturn.
577         * pop.c (socket_connection) [HAVE_GETADDRINFO]: Simplify.
579 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
581         * update-game-score.c [WINDOWSNT]: Include "ntlib.h".
583         * ntlib.h (sleep): Update prototype.
584         (geteuid): Add prototype.
586         * ntlib.c (sleep): Now returns an unsigned value.
587         (getgid): New function.
589         * Makefile.in (CLIENTW, LIB_WSOCK32, LIBS_ECLIENT, NTLIB)
590         (CLIENTRES, WINDRES, NTINC, NTDEPS): New variables.
591         (INSTALLABLES): Add $(CLIENTW).
592         (LIBS_MOVE): Use $(LIB_WSOCK32).
593         ($(DESTDIR)${archlibdir}): Use $(EXEEXT) on update-game-score.
594         (test-distrib${EXEEXT}): Use $(EXEEXT) on test-distrib.
595         (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
596         (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
597         (emacsclient${EXEEXT}, hexl${EXEEXT}, update-game-score${EXEEXT}):
598         Add $(NTLIB) to prerequisites.  Use $(EXEEXT).
599         (pop.o): Add pop.h to prerequisites.
600         (emacsclientw${EXEEXT}, ntlib.o): New targets.
601         (emacsclient.res): New target.
603 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
605         * makefile.w32-in ($(DOC)): Use DOC rather than DOC-X.
607 2013-05-06  Paul Eggert  <eggert@cs.ucla.edu>
609         * make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo,
610         by removing references to no-longer-existing locals.
612 2013-03-26  Eli Zaretskii  <eliz@gnu.org>
614         Fix incompatibilities between MinGW.org and MinGW64 headers.
615         * ntlib.c (struct timespec) [!_TIMEZONE_DEFINED]: Define the
616         struct only if _TIMEZONE_DEFINED is not defined.
618 2013-03-23  cg  <chengang31@gmail.com>  (tiny change)
620         * makefile.w32-in (LIB_SRC): Move before first use.
622 2013-03-16  Paul Eggert  <eggert@cs.ucla.edu>
624         * pop.c: Fix ERRMAX typo (Bug#13925).
625         (socket_connection) [!HAVE_KRB5_ERROR_TEXT && HAVE_KRB5_ERROR_E_TEXT]:
626         Use ERROR_MAX, not ERRMAX.
628 2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>
630         File synchronization fixes (Bug#13944).
631         * Makefile.in (LIB_FDATASYNC): New macro.
632         (emacsclient${EXEEXT}): Use it.
633         * emacsclient.c (main): Use fdatasync, not fsync, since we don't
634         care about metadata.  Keep trying if interrupted.
635         * movemail.c (main, popmail): Don't worry about BSD_SYSTEM, since
636         fsync is available everywhere (or there is a substitute).
637         Don't report an error if fsync returns EINVAL.
639         Static checking by Sun C 5.12.
640         * etags.c (analyse_regex): Omit unreachable code.
642         * movemail.c (main): Call umask on all systems.
643         This is OK since Emacs already assumes umask elsewhere.
644         Don't grant more read permissions than necessary.
645         The old 0333 dates back to before we called setuid,
646         so it was needed back then to ensure user-readability,
647         but 0377 should suffice now.
649 2013-02-08  Paul Eggert  <eggert@cs.ucla.edu>
651         * movemail.c (getenv): Remove decl (unused since 1994).
653 2013-01-15  Paul Eggert  <eggert@cs.ucla.edu>
655         * make-docfile.c (write_globals): Make it a bit clearer (Bug#13448).
656         This pacifies GCC 4.7.2 when Emacs is configured with
657         --enable-link-time-optimization and --enable-gcc-warnings.
659 2013-01-01  Juanma Barranquero  <lekktu@gmail.com>
661         * makefile.w32-in (lisp1): Add macroexp.elc (bug#13320).
663 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
665         * makefile.w32-in (SYSWAIT_H): Update dependencies.
667 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
669         * makefile.w32-in (obj): Add w32notify.o.  Add missing X and Unix
670         sources.
672 2012-12-02  Kevin Ryde  <user42@zip.com.au>
674         * etags.c (Lisp_functions): Skip (defvar foo) declarations unless
675         the --declarations flag is enabled (Bug#5600).
676         (Lisp_help): Update.
677         (skip_name): New function.
679 2012-12-01  Kevin Ryde  <user42@zip.com.au>
681         * etags.c (Perl_functions): Support "use constant" (Bug#5055).
683 2012-11-27  Paul Eggert  <eggert@cs.ucla.edu>
685         Assume POSIX 1003.1-1988 or later for errno.h (Bug#12968).
686         * movemail.c (main): Assume EAGAIN and EBUSY.
688 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
690         movemail: treat EACCES etc. failures as permanent
691         * movemail.c (main): Treat any link failure other than EEXIST as a
692         permanent failure, not just EPERM.  EACCES, for example.
694 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
696         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
697         * emacsclient.c (getcwd): Remove decl.
698         (get_current_dir_name): Assume getcwd exists.
699         * etags.c (HAVE_GETCWD): Remove.
700         (getcwd): Remove decl.
701         (NO_LONG_OPTIONS): Remove this.  All uses removed.
702         Emacs always has GNU getopt.
703         (etags_getcwd): Assume getcwd exists.
704         * movemail.c (F_OK, X_OK, W_OK, R_OK): Remove.
706 2012-11-20  Paul Eggert  <eggert@cs.ucla.edu>
708         * emacsclient.c (handle_sigcont, handle_sigtstp): Use raise (sig)
709         rather than kill (getpid (), sig), as it's simpler and safer.
711 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
713         * makefile.w32-in (SYSWAIT_H): New macro.
714         ($(BLD)/movemail.$(O)): Update dependencies.
716 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
718         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
719         * movemail.c, update-game-score.c: Assume <fcntl.h> exists.
721 2012-10-26  Glenn Morris  <rgm@gnu.org>
723         * Makefile.in (uninstall): No INSTALLABLES live in archlibdir.
725         * Makefile.in (install, uninstall): Transformations should not be
726         applied to $EXEEXT.
728 2012-10-23  Eli Zaretskii  <eliz@gnu.org>
730         * makefile.w32-in (lisp2): Add cp51932.el and eucjp-ms.el, to
731         follow src/lisp.mk.
733 2012-10-21  Glenn Morris  <rgm@gnu.org>
735         * make-docfile.c (scan_lisp_file): Add cp51932.el and eucjp-ms.el.
737 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
739         * make-docfile.c (IS_SLASH, DEF_ELISP_FILE): New macros.
740         (scan_lisp_file): Only pass a .el file if its basename matches a
741         known file in its entirety.  Use IS_SLASH and DEF_ELISP_FILE.
743 2012-10-20  Andreas Schwab  <schwab@linux-m68k.org>
745         * make-docfile.c (scan_lisp_file): Add bounds checking.
747 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
749         Prevent silent omission of doc strings from uncompiled Lisp files.
750         * make-docfile.c (scan_lisp_file): Barf if called with a .el file
751         other than one of a small list of supported un-compiled files.
753         * makefile.w32-in (lisp1, lisp2): Name .elc files wherever they
754         exist.  (Bug#12395)
756 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
758         * ntlib.c: Include <mbstring.h>, to avoid compiler warning about
759         _mbspbrk.
761 2012-10-08  Eli Zaretskii  <eliz@gnu.org>
763         * makefile.w32-in (obj): Add cygw32.o.
765 2012-10-08  Daniel Colascione  <dancol@dancol.org>
767         * emacsclient.c: Include windows.h when HAVE_NTGUI.
768         (alt_display): New variable.  We send the display held by this
769         variable when the primary display is either unsupported or not
770         present.
771         (longopts): Allow display everywhere.
772         (w32_set_user_model_id): Move lower in file, inside HAVE_NTGUI
773         section.
774         (decode_options): Use alt_display.  Explain why.
775         (main): Retry connection with alt_display if connection with main
776         display fails.
778 2012-10-01  Fabrice Popineau  <fabrice.popineau@gmail.com>
780         * make-docfile.c (write_globals): Special-case
781         Fexit_recursive_edit and Fabort_recursive_edit as well, as
782         functions that are _Noreturn, to be consistent with
783         src/keyboard.c.
785 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
787         * ntlib.c (gettimeofday): Copy from src/w32.c.  lib/gettime.c
788         needs this function.
790 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
792         * makefile.w32-in (obj): Add profiler.o.
794 2012-09-17  Glenn Morris  <rgm@gnu.org>
796         * ebrowse.c (version):
797         * etags.c (print_version): Use COPYRIGHT.
799 2012-09-11  Paul Eggert  <eggert@cs.ucla.edu>
801         * pop.c (socket_connection) [HAVE_GETADDRINFO]:
802         Prefer assignment to memcpy when either will do.
804 2012-08-31  Andreas Schwab  <schwab@linux-m68k.org>
806         * etags.c (consider_token): Always zero-terminate token buffer.
807         (Bug#12306)
809 2012-08-19  Paul Eggert  <eggert@cs.ucla.edu>
811         Rely on <config.h> + <unistd.h> to declare 'environ'.
812         * emacsclient.c (environ): Remove decl.
814 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
816         * makefile.w32-in ($(BLD)/regex.$(O)): Update dependencies.
818 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
820         * etags.c (Pascal_functions): Fix parenthesization typo.
822 2012-08-14  Paul Eggert  <eggert@cs.ucla.edu>
824         * make-docfile.c (enum global_type): Sort values roughly in
825         decreasing alignment, except put functions last.
826         (compare_globals): Use this new property of enum global_type.
827         (write_globals): Use bool, not int, for booleans.
829 2012-08-10  Glenn Morris  <rgm@gnu.org>
831         * make-docfile.c (IF_LINT):
832         * emacsclient.c (IF_LINT): Remove (in config.h now).
834         * make-docfile.c (main)
835         (fopen) [!WINDOWSNT]:
836         (chdir) [!DOS_NT]: No more need to undef.
838         * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
839         * make-docfile.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
840         * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP):
841         Remove (they are in config.h now).
843         * ebrowse.c (PATH_LIST_SEPARATOR):
844         Remove, and replace with SEPCHAR from config.h.
846 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
848         * makefile.w32-in (LOCAL_FLAGS): Remove WINDOWSNT and DOS_NT,
849         they are always defined in config.h.
851 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
853         * ntlib.c (lstat): New function, calls 'stat'.
855 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
857         Use C99-style 'extern inline' if available.
858         * profile.c (SYSTIME_INLINE): Define.
860 2012-08-02  Glenn Morris  <rgm@gnu.org>
862         * makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
864 2012-08-01  Glenn Morris  <rgm@gnu.org>
866         * Makefile.in (config_h): New variable.
867         Use throughout in place of ../src/config.h.
869 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
871         * makefile.w32-in (CONFIG_H): Update dependencies.
872         (CONF_POST_H): New macro.
874 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
876         Update .PHONY listings in makefiles.
877         * Makefile.in (.PHONY): Add all, need-blessmail, maybe-blessmail,
878         install, uninstall, mostlyclean, clean, distclean,
879         maintainer-clean, extraclean, check, tags.
881 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
883         * makefile.w32-in ($(BLD)/profile.$(O)): Depend on stamp_BLD.
885 2012-07-12  Paul Eggert  <eggert@cs.ucla.edu>
887         * movemail.c: Add missing 'defined'.
888         Suggested by Sven Joachim in
889         <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00218.html>.
891 2012-07-11  Paul Eggert  <eggert@cs.ucla.edu>
893         Port 'movemail' again to Solaris and similar hosts.
894         See Susan Cragin's report in
895         <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00199.html>.
896         * movemail.c (xmalloc): Also define if !DISABLE_DIRECT_ACCESS &&
897         !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK.  Move up, so it doesn't
898         need a forward declaration.
899         (main): Rewrite to avoid no-longer-present function 'concat', if
900         !DISABLE_DIRECT_ACCESS && !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK.
902         Assume strerror.
903         * emacsclient.c, movemail.c, update-game-score.c (strerror)
904         [!HAVE_STRERROR]: Remove.
906 2012-07-10  Paul Eggert  <eggert@cs.ucla.edu>
908         EMACS_TIME simplification (Bug#11875).
909         * profile.c (TV2): Remove no-longer-needed static var.
911         Simplify by avoiding confusing use of strncpy etc.
912         * etags.c (write_classname, C_entries):
913         Use sprintf rather than strncpy or strncat.
914         * etags.c (consider_token, C_entries, HTML_labels, Prolog_functions)
915         (Erlang_functions, substitute, readline_internal, savenstr):
916         * movemail.c (mail_spool_name):
917         Use memcpy rather than strncpy or strncat when either will do.
918         * make-docfile.c (write_c_args):
919         Use memcmp rather than strncmp when either will do.
920         * movemail.c (pop_retr):
921         * pop.c (pop_stat, pop_list, pop_multi_first, pop_last)
922         (socket_connection, pop_getline, sendline, getok):
923         Use snprintf rather than strncpy or strncat.
924         * movemail.c (concat): Remove; no longer needed.
925         (xmalloc): Define only if needed, now that concat has gone away.
926         Return void *.  All uses changed.
928 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
930         Add GCC-style 'const' attribute to functions that can use it.
931         * etags.c (number_len): Add ATTRIBUTE_CONST.
933 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
935         * emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
937 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
939         * makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC.
940         (LIB_SRC, NT_INC, GNU_LIB, MS_W32_H, CONFIG_H, INTTYPES_H, NTLIB_H)
941         (SYSTIME_H): New macros.
942         (SRC): Redefine to point to src/, not current directory.
943         ($(BLD)/ctags.$(O), $(BLD)/ebrowse.$(O), $(BLD)/emacsclient.$(O))
944         ($(BLD)/etags.$(O), $(BLD)/hexl.$(O), $(BLD)/make-docfile.$(O))
945         ($(BLD)/movemail.$(O), $(BLD)/ntlib.$(O), $(BLD)/pop.$(O))
946         ($(BLD)/profile.$(O), $(BLD)/test-distrib.$(O)): Update dependencies.
947         ($(BLD)/regex.$(O)): New dependency.
949 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
951         * makefile.w32-in (ALL): Add profile.exe.
952         (PROFILEOBJS): New macro.
953         ($(BLD)/profile.exe): New target.
954         (install): Copy profile.exe.
955         ($(BLD)/alloca.$(O), $(BLD)/tcp.$(O)): Remove, obsolete.
957 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
959         * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)):
960         Update dependencies.
962 2012-07-06  Paul Eggert  <eggert@cs.ucla.edu>
964         Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786).
965         * etags.c: Include c-strcase.h.
966         (etags_strcasecmp, etags_strncasecmp): Remove.
967         All uses replaced with c_strcasecmp and c_strncasecmp.
969 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
971         * make-docfile.c (write_globals): Warn about duplicate function
972         definitions with differing signatures.
974 2012-07-03  Paul Eggert  <eggert@cs.ucla.edu>
976         * make-docfile.c (scan_c_file): Suppress GCC warning.
978 2012-06-29  Tom Tromey  <tromey@redhat.com>
980         * make-docfile.c (enum global_type) <FUNCTION>: New constant.
981         (struct global) <value>: New field.
982         (add_global): Add 'value' argument.
983         (compare_globals): Sort functions at the end.
984         (close_emacs_globals): New function.
985         (write_globals): Handle functions.
986         (scan_c_file): Call add_global for DEFUN.
988 2012-06-30  Juanma Barranquero  <lekktu@gmail.com>
990         * makefile.w32-in (CTAGS_CFLAGS): Remove EMACS_NAME;
991         already defined in ETAGS_CFLAGS.
993 2012-06-27  Glenn Morris  <rgm@gnu.org>
995         * makefile.w32-in (lisp2): Remove paths.el.
997 2012-06-26  Paul Eggert  <eggert@cs.ucla.edu>
999         Clean out last vestiges of the old HAVE_CONFIG_H stuff.
1000         * Makefile.in (BASE_CFLAGS):
1001         * makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H.
1002         * etags.c, hexl.c, pop.c: Include <config.h> unconditionally.
1003         * etags.c (DOS_NT):
1004         * pop.c (MAIL_USE_POP, h_errno):
1005         Remove code that was conditioned on !HAVE_CONFIG_H.
1007 2012-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
1009         * etags.c (etags_strcasecmp, etags_strncasecmp): Define to
1010         library functions strcasecmp and strncasecmp if available.
1012 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
1014         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
1015         * ebrowse.c (usage, version):
1016         * emacsclient.c (print_help_and_exit, fail):
1017         * etags.c (suggest_asking_for_help, fatal, pfatal):
1018         * hexl.c (usage):
1019         * make-docfile.c (fatal):
1020         * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
1021         * update-game-score.c (usage):
1022         * ebrowse.c (usage, version):
1023         * emacsclient.c (print_help_and_exit, fail):
1024         Use _Noreturn rather than NO_RETURN.
1025         No need for separate decl merely because of _Noreturn.
1027 2012-06-24  Samuel Bronson  <naesten@gmail.com>
1029         * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838).
1031 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
1033         Support higher-resolution time stamps (Bug#9000).
1034         * Makefile.in (LIB_CLOCK_GETTIME): New macro.
1035         (profile${EXEEXT}): Use it.
1036         * profile.c: Include inttypes.h, intprops.h.
1037         (time_string): Size conservatively; do not guess size.
1038         (get_time): Now prints nanoseconds.
1039         (gettimeofday): Remove replacement function; gnulib now does this.
1041 2012-06-08  Andreas Schwab  <schwab@linux-m68k.org>
1043         * make-docfile.c (search_lisp_doc_at_eol): Unget last read
1044         character.
1046 2012-06-06  Glenn Morris  <rgm@gnu.org>
1048         * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPTS, insrcdir)
1049         (stamp-rcs2log, stamp-grep-changelog): Remove.
1050         (all, clean): Remove references to stamps.
1052         * vcdiff: Remove file.
1053         * Makefile.in (SCRIPTS, STAMP_SCRIPTS): Remove vcdiff.
1054         (stamp-vcdiff): Remove.
1056 2012-06-05  Glenn Morris  <rgm@gnu.org>
1058         * makefile.w32-in ($(BLD)/getdate.$(O), $(BLD)/leditcfns.$(O))
1059         ($(BLD)/make-path.$(O), $(BLD)/qsort.$(O))
1060         ($(BLD)/timer.$(O)): Remove cruft.
1062 2012-06-03  Glenn Morris  <rgm@gnu.org>
1064         * rcs-checkin: Remove file.
1065         * Makefile.in (INSTALLABLE_SCRIPTS, STAMP_INST_SCRIPTS):
1066         Remove rcs-checkin.
1067         (stamp-rcs-checkin): Remove.
1069 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
1071         * makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS)
1072         instead of a literal -mwindows, which is not supported by MSVC.
1073         (Bug#11405)
1075 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1077         * make-docfile.c: Improve comment style.
1078         (search_lisp_doc_at_eol): New function.
1079         (scan_lisp_file): Use it.
1081 2012-05-26  Glenn Morris  <rgm@gnu.org>
1083         * Makefile.in (INSTALL_DATA): Remove; unused.
1085 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1087         Remove src/m/*.
1088         * makefile.w32-in: Remove dependencies on
1089         $(EMACS_ROOT)/src/m/intel386.h.
1091 2012-05-22  Glenn Morris  <rgm@gnu.org>
1093         * Makefile.in (install): Remove unneeded chmods.
1095 2012-05-21  Paul Eggert  <eggert@cs.ucla.edu>
1097         Assume C89 or later.
1098         * etags.c (static, const): Remove macros.
1099         (PTR): Remove; all uses replaced with void *.  Omit needless casts.
1101 2012-05-21  Glenn Morris  <rgm@gnu.org>
1103         * Makefile.in (insrcdir, $(DESTDIR)${archlibdir}):
1104         Scrap superfluous subshells.
1106 2012-05-18  Glenn Morris  <rgm@gnu.org>
1108         * Makefile.in (install): Ensure $bindir exists.
1110 2012-05-17  Glenn Morris  <rgm@gnu.org>
1112         * Makefile.in (ns_appbindir): New, set by configure.
1114 2012-05-12  Glenn Morris  <rgm@gnu.org>
1116         * Makefile.in (MKDIR_P): New, set by configure.
1117         ($(DESTDIR)${archlibdir}): Use $MKDIR_P.
1119 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
1121         etags: pacify gcc -Wstack-protector on Ubuntu 12.04 x86
1122         * etags.c: Include <stdarg.h>.
1123         (error): Declare as printf-style, as that's what it really is.
1124         All uses changed.
1125         (add_regex): Use single char rather than array-of-one char.
1127 2012-05-05  Jim Meyering  <meyering@redhat.com>
1129         * pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
1130         NUL-terminate the error buffer (Bug#11372).
1132 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
1134         * emacsclient.c (min): Undef before redefining it.
1136 2012-05-02  Jim Meyering  <jim@meyering.net>
1138         * emacsclient.c (send_to_emacs): Avoid invalid strcpy upon partial
1139         send (Bug#11374).
1141 2012-04-29  Andreas Schwab  <schwab@linux-m68k.org>
1143         * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
1144         byte-code forms.  (Bug#11380)
1146 2012-04-20  Chong Yidong  <cyd@gnu.org>
1148         * emacsclient.c (decode_options): Move -t -n corner case handling
1149         into server.el (Bug#11102).
1150         (main): Send -tty to Emacs under more circumstances (Bug#8314).
1152 2012-04-18  Paul Eggert  <eggert@cs.ucla.edu>
1154         configure: new option --enable-gcc-warnings (Bug#11207)
1155         * Makefile.in (C_WARNINGS_SWITCH): Remove.
1156         (WARN_CFLAGS, WERROR_CFLAGS): New macros.
1157         (BASE_CFLAGS): Use new macros rather than old.
1159 2012-04-16  Paul Eggert  <eggert@cs.ucla.edu>
1161         Assume less-ancient POSIX support.
1162         * update-game-score.c: Include <getopt.h> rather than rolling our
1163         own decls for optarg, optind, opterr.  See
1164         <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>.
1166 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
1168         * emacsclient.c (decode_options) [WINDOWSNT]:
1169         Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
1171 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1173         * makefile.w32-in (obj): Add xml.o.
1175 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1177         * makefile.w32-in (ALL): Now the list of executables, not of phony
1178         targets.
1179         (.PHONY): Only make-docfile is its prerequisite now.
1180         (make-docfile): Don't depend on stamp_BLD.  Add a comment about
1181         the need in this target.
1182         (ctags, etags, ebrowse, hexl, movemail, emacsclient)
1183         (test-distrib): Phony targets removed.
1184         ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe.
1185         (all): Don't depend on stamp_BLD.
1186         (ALL): Include $(BLD)/test-distrib.exe.
1188 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
1190         * emacsclient.c (main): Handle -print-nonl command.
1192         * emacsclient.c (main): Handle multiple messages in a single
1193         datagram.
1195         * emacsclient.c (socket_name): Add const.
1196         (get_server_config): Add parameter config_file, use it instead of
1197         global server_file.
1198         (set_tcp_socket): Add parameter local_server_file, pass it down to
1199         get_server_config.
1200         (set_local_socket): Add parameter local_socket_name, use it
1201         instead of global socket_name.
1202         (set_socket): Adjust calls to set_local_socket and set_tcp_socket.
1203         Don't clobber global server_file or socket_name.
1204         (main): No longer reset server_file or socket_name.
1206 2012-01-05  Glenn Morris  <rgm@gnu.org>
1208         * ebrowse.c (version) <emacs_copyright>:
1209         * etags.c (print_version) <emacs_copyright>:
1210         * rcs2log (Copyright): Update short copyright year to 2012.
1212 2011-12-25  Andreas Schwab  <schwab@linux-m68k.org>
1214         * etags.c (C_entries): Properly skip over string and character
1215         constants and comments inside brackets.  (Bug#10357)
1217 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
1219         * emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0;
1220         instead, treat both -c and -t as always requesting a new "tty" frame,
1221         and let server.el decide which kind is actually required.
1222         Reported by Uwe Siart <usenet@siart.de> in this thread:
1223         http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html
1225 2011-11-30  Chong Yidong  <cyd@gnu.org>
1227         * emacsclient.c (main): Condition last change on WINDOWSNT
1228         (Bug#10155).
1230 2011-11-27  Eli Zaretskii  <eliz@gnu.org>
1232         * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
1234         * emacsclient.c (main) <environ>: Remove declaration, already
1235         pulled in by unistd.h on POSIX hosts and stdlib.h on MS-Windows.
1237 2011-11-24  Glenn Morris  <rgm@gnu.org>
1239         * make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
1241 2011-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
1243         * Makefile.in (all): Make sure "all" is the first target.
1245 2011-10-27  Juanma Barranquero  <lekktu@gmail.com>
1247         * emacsclient.c (w32_getenv): Silence compiler warnings.
1249 2011-09-07  Glenn Morris  <rgm@gnu.org>
1251         * etags.c (Fortran_functions): Handle "elemental" functions.
1253 2011-09-07  Dieter Schuster  <didischuster@arcor.de>  (tiny change)
1255         * etags.c (Fortran_functions): Handle "pure" functions.  (Bug#9359)
1257 2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
1259         * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
1260         to build-aux (Bug#9169).
1262 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1264         Integer and memory overflow issues (Bug#9397).
1266         * emacsclient.c (xmalloc): Accept size_t, not unsigned int, to
1267         avoid potential buffer overflow issues on typical 64-bit hosts.
1268         Return void *, not long *.
1269         (get_current_dir_name): Report a failure, instead of looping
1270         forever, if buffer size calculation overflows.  Treat malloc
1271         failures like realloc failures, as that has better behavior and is
1272         more consistent.  Do not check whether xmalloc returns NULL, as
1273         that's not possible.
1274         (message): Do not arbitrarily truncate message to 2048 bytes when
1275         sending it to stderr; use vfprintf instead.
1276         (get_server_config, set_local_socket)
1277         (start_daemon_and_retry_set_socket): Do not alloca
1278         arbitrarily-large buffers; that's not safe.
1279         (get_server_config, set_local_socket): Do not use sprintf when its
1280         result might not fit in 'int'.
1281         (set_local_socket): Do not assume uid fits in 'int'.
1283         * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
1284         to avoid potential buffer overflow issues on typical 64-bit hosts.
1285         (whatlen_max): New static var.
1286         (main): Avoid buffer overflow if subsidiary command length is
1287         greater than BUFSIZ or 2*BUFSIZ + 20.  Do not use sprintf when its
1288         result might not fit in 'int'.
1290         * movemail.c (main): Do not use sprintf when its result might not fit
1291         in 'int'.  Instead, put the possibly-long file name into the
1292         output of pfatal_with_name.
1294         * update-game-score.c: Include <limits.h>
1295         (get_user_id): Do not assume uid fits in 'int'.  Simplify.
1297 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1299         Assume freestanding C89 headers, string.h, stdlib.h.
1300         * ebrowse.c: Include stdlib.h unconditionally.
1301         * etags.c, update-game-score.c:
1302         Include string.h and stdlib.h unconditionally.
1303         * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS.
1304         * movemail.c, pop.c: Include string.h unconditionally.
1305         * update-game-score.c: No need to include stdarg.h; not used.
1307         Assume support for memcmp, memcpy, memmove, memset.
1308         * etags.c (absolute_filename): Assume memmove exists.
1310 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
1312         * update-game-score.c (usage): Update usage line.
1314 2011-07-02  Jason Rumney  <jasonr@gnu.org>
1316         * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
1317         Windows (Bug#5486).
1319 2011-06-25  Glenn Morris  <rgm@gnu.org>
1321         * emacsclient.c (decode_options) <opt>: Add `F:'.
1322         (print_help_and_exit): Mention --frame-parameters.
1324 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
1326         * emacsclient.c (longopts, decode_options, main): Add frame-parameters.
1328 2011-06-10  Paul Eggert  <eggert@cs.ucla.edu>
1330         * movemail.c: Fix race condition and related bugs (Bug#8836).
1331         (main) [!MAIL_USE_SYSTEM_LOCK]: Prefer mkstemp to mktemp, as this
1332         fixes some race conditions.  Report mkstemp/mktemp errno rather
1333         than a possibly-garbage errno.  Reinitialize the template each
1334         time through the loop, as earlier mkstemp/mktemp calls could have
1335         trashed it.  Pass 0600 (not 0666) to mktemp, for consistency
1336         with mkstemp; the permissions don't matter anyway.
1338 2011-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
1340         * emacsclient.c (socket_status): Use constant pointer.
1342 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
1344         Use 'inline', not 'INLINE'.
1345         * etags.c (hash): Now inline unconditionally.
1346         * make-docfile.c (put_char): inline, not INLINE.
1348 2011-05-25  Glenn Morris  <rgm@gnu.org>
1350         * Makefile.in (.c.o): Remove (every .o file has an explicit rule).
1351         (insrcdir): New.
1352         (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
1353         Use $insrcdir to suppress unaesthetic ignored errors.
1354         (clean): Simplify list of things to delete.
1355         (all, clean): Use $EXE_FILES.
1357         * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
1359         * Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove.  Replace by expansion.
1360         (etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
1362 2011-05-24  Glenn Morris  <rgm@gnu.org>
1364         * Makefile.in (update-game-score${EXEEXT}): Use a single rule.
1366 2011-05-19  Glenn Morris  <rgm@gnu.org>
1368         * makefile.w32-in (echolisp): Remove rule that is no longer needed.
1369         (clean): No more echolisp.tmp.
1371 2011-05-18  Glenn Morris  <rgm@gnu.org>
1373         * fakemail.c: Remove file.
1374         * makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
1375         ($(BLD)/fakemail.$(O)): Remove.
1376         * Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
1377         (fakemail${EXEEXT}): Remove rule.
1379 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1381         * makefile.w32-in (obj): Add gnutls.o.
1383 2011-04-16  Paul Eggert  <eggert@cs.ucla.edu>
1385         Static checks with GCC 4.6.0 and non-default toolkits.
1387         * movemail.c (mail_spool_name): Protoize.
1388         (main): Remove unused var.  Mark var as initialized.
1389         Move locals to avoid shadowing, and use time_t for times.
1391         * fakemail.c (xmalloc, xreallc): Use standard C prototypes
1392         with void *.  This avoids warnings about pointer casts.
1394         * emacsclient.c (main): Don't use uninitialized var.
1395         (IS_ANY_SEP): Remove; unused.
1396         (get_current_dir_name): Add an extern decl.
1398 2011-04-06  Paul Eggert  <eggert@cs.ucla.edu>
1400         Fix more problems found by GCC 4.6.0's static checks.
1402         * emacsclient.c (message): Mark it as a printf-like function.
1404         * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
1405         (write_c_args): Use it to suppress GCC warning.
1407 2011-03-30  Paul Eggert  <eggert@cs.ucla.edu>
1409         Fix a problem found by GCC 4.6.0's static checks.
1410         * etags.c (just_read_file): Remove dummy variable and simplify.
1412 2011-03-27  Glenn Morris  <rgm@gnu.org>
1414         * emacsclient.c: Replace SIGTYPE with void.
1416 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
1418         * ntlib.c: Include <ctype.h>.
1420 2011-03-23  Glenn Morris  <rgm@gnu.org>
1422         * Makefile.in ($(DESTDIR)${archlibdir}):
1423         Use `install-sh -d' rather than mkinstalldirs.
1425 2011-03-23  Paul Eggert  <eggert@cs.ucla.edu>
1427         * ebrowse.c: Use size_t, not int, for sizes.
1428         This avoids a warning with gcc -Wstrict-overflow, and works
1429         better for very large objects.
1430         (inbuffer_size): Now size_t.  All uses changed.
1431         (xmalloc, xrealloc, operator_name, process_file): Use size_t for
1432         sizes.  Don't bother testing whether a size_t value can be negative.
1434         * etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
1436         etags: In Prolog functions, don't assume int fits in size_t.
1437         This avoids a warning with gcc -Wstrict-overflow.
1438         * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
1439         not int, to store sizes.
1440         (prolog_atom): Return 0, not -1, on error.  All callers changed.
1442         update-game-score: fix bug with -r
1443         * update-game-score.c (main): Don't set 'scores' to garbage when
1444         -r is specified and scorecount != MAX_SCORES (Bug#8310).  This bug
1445         was introduced in the 2002-04-10 change, and was found with gcc
1446         -Wstrict-overflow (GCC 4.5.2, x86-64).
1448         fakemail: Remove dependency on ignore-value.
1449         This undoes some of the recent fakemail-related changes.
1450         It is made possible due to recent changes to gnulib's stdio module.
1451         * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
1452         * fakemail.c: Do not include ignore-value.h.
1453         (put_line): Do not use ignore_value.
1455 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
1457         * Version 23.3 released.
1459 2011-03-03  Drake Wilson  <drake@begriffli.ch>  (tiny change)
1461         * emacsclient.c (longopts): Add quiet.
1462         (decode_options): Handle q/quiet.
1463         (print_help_and_exit): Add q/quiet.
1464         (main): Suppress some messages if quiet option is used.
1466 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
1468         * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
1470         * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
1471         (w32_getenv): Use xstrdup to return all values in malloc'ed
1472         storage.
1474 2011-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1476         * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
1477         to reader (and to the compiler) that the loop always executes at
1478         least once.  This prevents a warning with recent GCC.
1479         (BROWSE_STRUCT): Remove unused macro.
1481         * fakemail.c: Include <ignore-value.h>.
1482         (put_line): Explicitly ignore fwrite return value, for benefit of
1483         recent glibc + gcc.
1484         (close_the_streams): Diagnose output errors instead of merely
1485         exiting with nonzero status.
1486         (my_fclose, main): Diagnose input errors, and exit with nonzero status.
1487         Formerly, input errors were silently ignored.
1489         * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
1490         All callers changed.  This is cleaner, and avoids GCC warnings about
1491         passing NULL to fputs.
1492         (insert_keyword): Rename parameter to avoid shadowing diagnostic.
1494 2011-02-25  Paul Eggert  <eggert@cs.ucla.edu>
1496         * emacsclient.c (main): Avoid dangling 'if'.
1497         (xstrdup): Remove; no longer needed.
1498         (get_current_dir_name, w32_getenv, get_server_config, find_tty)
1499         (set_local_socket, main):
1500         Use const char *, not char *, for pointers that are not assigned
1501         through.
1502         (IF_LINT): New macro.
1503         (set_local_socket, main): Use it to suppress warnings with
1504         GCC -Wuninitialized.
1506         * emacsclient.c: Redo local variables to avoid shadowing problems.
1507         (message, socket_status, start_daemon_and_retry_set_socket):
1508         Rename locals.
1509         (main): Move decl of "i".
1511         * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
1512         This avoids an unused-macro warning with some GCC settings.
1514         * make-docfile.c (write_globals): Change char * to char const *
1515         to avoid a GCC "assignment discards qualifiers" diagnostic
1516         in some configurations.
1517         (scan_c_file): Refactor local variable decls to make their scope
1518         more accurate and to avoid a GCC -Wuninitialized diagnostic.
1520 2011-02-22  Eli Zaretskii  <eliz@gnu.org>
1522         * etags.c (canonicalize_filename, ISUPPER): Fix last change.
1524         * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)):
1525         Depend on ../lib/min-max.h.
1527 2011-02-22  Paul Eggert  <eggert@cs.ucla.edu>
1529         etags: Downcase drive letters, for consistency with Emacs proper.
1530         * etags.c (upcase): Remove; no longer used.
1531         (canonicalize_filename): Downcase drive letters.
1533         Assume S_ISLNK etc. work, since gnulib supports this.
1534         * etags.c (S_ISREG): Remove.
1536 2011-02-22  Paul Eggert  <eggert@cs.ucla.edu>
1538         Assume S_ISLNK etc. work, since gnulib supports this.
1539         * etags.c (S_ISREG): Remove.
1541 2011-02-22  Juanma Barranquero  <lekktu@gmail.com>
1543         * makefile.w32-in (obj): Remove filemode.o.
1545 2011-02-21  Paul Eggert  <eggert@cs.ucla.edu>
1547         New file "lib/min-max.h".
1548         * ebrowse.c (min, max): Define them by including <min-max.h>
1549         instead of defining it ourselves.
1550         * pop.c (min): Likewise.
1551         * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
1553         * movemail.c (popmail): Report fchown failure instead of ignoring it.
1554         But if the file already has the right ownership, don't worry about it.
1556         * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
1557         * test-distrib.c (buf): Make this local, to avoid shadowing.
1559         * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
1560         (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
1561         (DONE): Remove unused macro.
1562         (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
1563         Define these macros only in the contexts that need them.
1564         * pop.c (index): Remove unused macro.
1565         (KPOP_PORT): Define only if KERBEROS is defined.
1567         Declare file-scope functions and variables static if not exported.
1568         This is more consistent, and is nicer with gcc -Wstrict-prototypes.
1569         * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
1570         * profile.c, test-distrib.c, update-game-score.c:
1571         Declare non-'main' functions and variables to be static.
1572         * ebrowse.c: Omit redundant function prototypes.
1574 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
1576         * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
1577         ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
1578         Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
1580 2011-02-21  Ben Key  <bkey76@gmail.com>
1582         * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
1583         the new BVAR macro.
1585 2011-02-20  Juanma Barranquero  <lekktu@gmail.com>
1587         * makefile.w32-in (obj): Remove md5.o.
1589 2011-02-18  Karl Chen  <Karl.Chen@quarl.org>
1591         * emacsclient.c (main): Loop while `recv' return EINTR.
1593 2011-02-09  Paul Eggert  <eggert@cs.ucla.edu>
1595         * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
1596         This avoids collision with config.h's EMACS_INT on some
1597         configurations.  All uses changed.
1599 2011-02-08  Tom Tromey  <tromey@redhat.com>
1601         * make-docfile.c: Unconditionally include stdlib.h.
1602         (generate_globals): New global.
1603         (xrealloc): New function.
1604         (main): Handle '-g'.  Call start_globals, write_globals.
1605         (scan_file): Conditionally call put_filename.
1606         (start_globals): New function.
1607         (struct global): New.
1608         (num_globals, globals): New globals.
1609         (add_global, compare_globals, write_globals): New functions.
1610         (scan_c_file): Update for "-g".
1611         (scan_lisp_file): Fail if "-g".
1613 2011-02-05  Paul Eggert  <eggert@cs.ucla.edu>
1615         * emacsclient.c: Conform to C89 pointer rules.
1616         (file_name_absolute_p): Accept const char *, not const unsigned
1617         char *, to satisfy C89 rules.
1619 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
1621         * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
1622         Add ``-DEMACS_NAME="\"GNU Emacs\""''.
1623         (obj): Remove strftime.o.
1625 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
1627         * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
1628         (ECLIENT_CFLAGS): Remove -DVERSION.
1629         ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
1631 2011-01-31  Paul Eggert  <eggert@cs.ucla.edu>
1633         src/emacs.c now gets version number from configure.in
1634         * ebrowse.c: Adjust comment to say that.
1636 2011-01-30  Jim Meyering  <meyering@redhat.com>
1638         * make-docfile.c: Don't corrupt heap for an invalid .elc file
1639         "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
1640         one byte before just-malloc'd saved_string buffer.
1641         * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
1642         doc string length.  Also fix an always-false while-loop test.
1644 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1646         * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
1647         (GETOPTOBJS, GETOPTDEPS): Remove targets.
1648         (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
1649         ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
1650         (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
1651         and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
1652         (clean): Don't remove getopt.h.
1653         (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
1654         ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
1655         $(EMACS_ROOT)/lib/getopt.h.
1657 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1659         * ntlib.c (setregid): New stub, renamed from setegid.
1661         * ntlib.h: Update prototype.
1663 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1665         * movemail.c (main): Use setregid instead of setegid, which is
1666         missing on older systems.  Suggested by Peter O'Gorman (Bug#6811).
1668 2011-01-23  Paul Eggert  <eggert@cs.ucla.edu>
1670         Check return values of some library calls.
1671         * hexl.c (main): Check fread result.
1672         * make-docfile.c (main): Check chdir result.
1673         (scan_c_file): Check fscanf result.
1674         * movemail.c (main): Check ftruncate result.
1676 2011-01-17  Paul Eggert  <eggert@cs.ucla.edu>
1678         Include <unistd.h> unilaterally.
1679         * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
1680         * pop.c, test-distrib.c, update-game-score.c:
1681         Include <unistd.h> without worrying about HAVE_UNISTD_H, since
1682         unistd.h is always present now, possibly supplied by gnulib.
1684         Include <getopt.h> not "getopt.h".
1685         * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
1686         Since getopt.h is no longer in this directory, there's no point
1687         using the form with double-quotes.
1689         Remove unused files.
1690         * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
1691         These files are now in ../lib, copied from gnulib.
1693         Use gnulib's getopt-gnu module.
1694         * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
1695         as these are now done by gnulib.
1696         (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
1697         Remove; now done by gnulib.  All uses removed.
1699         Automate syncing from gnulib.
1700         * Makefile.in (EXE_FILES): New macro.
1701         (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
1702         for gnulib's .h files.
1703         (LOADLIBES): Add ../lib/libgnu.a.
1704         ($(EXE_FILES)): Depend on ../lib/libgnu.a.
1705         (../lib/libgnu.a): New rule.
1707 2011-01-08  Paul Eggert  <eggert@cs.ucla.edu>
1709         * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
1711 2011-01-08  Glenn Morris  <rgm@gnu.org>
1713         * Makefile.in (EMACSOPT): Add --no-site-lisp.
1715         * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
1717 2011-01-02  Glenn Morris  <rgm@gnu.org>
1719         * ebrowse.c (version) <emacs_copyright>:
1720         * etags.c (print_version) <emacs_copyright>:
1721         * rcs2log (Copyright): Set short copyright year to 2011.
1723 2010-11-27  Joe Matarazzo  <joe.matarazzo@gmail.com>  (tiny change)
1725         * ebrowse.c (yylex): If end of input buffer encountered while
1726         searching for a newline after "//", return YYEOF.  (Bug#7446)
1728 2010-11-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1730         * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
1731         definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
1733 2010-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
1735         * test-distrib.c: Remove include guards for config.h and fcntl.h.
1736         (O_RDONLY): Do not define.
1737         (cool_read): Fix type for variable "sofar".
1739 2010-10-25  Glenn Morris  <rgm@gnu.org>
1741         * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
1743 2010-10-23  Glenn Morris  <rgm@gnu.org>
1745         * digest-doc.c, sorted-doc.c: Remove files.
1746         * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
1747         (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
1748         * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
1749         ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
1750         ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
1751         (install): Don't install digest-doc.exe or sorted-doc.exe.
1753 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
1755         * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
1757 2010-10-09  Glenn Morris  <rgm@gnu.org>
1759         * b2m.c, b2m.pl: Remove files.
1760         * Makefile.in (INSTALLABLES): Remove b2m.
1761         * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
1763 2010-10-08  Glenn Morris  <rgm@gnu.org>
1765         * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
1766         DARWIN_USER_TEMP_DIR.  (Bug#3992)
1768 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
1770         * test-distrib.c (cool_read):
1771         * movemail.c (main, concat):
1772         * make-docfile.c (scan_file, write_c_args):
1773         * emacsclient.c (get_server_config): Fix -Wconversion warning.
1774         (egetenv): Move conditional definition earlier.
1775         (progname): Use const.
1776         * sorted-doc.c (xstrdup): Use const.
1778         * Makefile.in: Remove ^L, old makes choke on it.
1780 2010-10-02  Wolfgang Schnerring  <wosc@wosc.de>  (tiny change)
1782         * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
1783         error string (Bug#6963).
1785 2010-10-02  Juanma Barranquero  <lekktu@gmail.com>
1787         * makefile.w32-in (tags): Remove target.
1789 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1791         * makefile.w32-in (tags, TAGS): New targets.
1793 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
1795         * emacsclient.c (get_server_config): Don't read Emacs pid from
1796         the authentication file.
1798 2010-09-29  Juanma Barranquero  <lekktu@gmail.com>
1800         * makefile.w32-in (../src/config.h): Remove target, it is stale.
1802         * emacsclient.c (main): Remove unused variables.
1803         (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
1805 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
1807         * etags.c (compressors, print_language_names): Support xz compression.
1809 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
1811         * fakemail.c: Include stdlib.h for getenv.  Remove declaration of
1812         popen, fclose and pclose.
1813         (my_name, fatal, error, put_line): Use const char*.
1814         (main): Remove extern getenv, mail_program_name is const char*.
1816         * update-game-score.c (get_prefix, write_scores, main): Use const char*.
1818         * sorted-doc.c (error, fatal, states): Use const char *.
1820         * pop.h (pop_multi_first): Use const char *.
1821         (_ARGS): Remove.
1823         * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
1825         * movemail.c (fatal, error, concat): Use const char *.
1827         * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
1828         Use const char *.
1830         * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
1831         (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
1832         (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
1833         (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
1834         (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
1835         (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
1836         (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
1837         (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
1838         (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
1839         (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
1840         (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
1841         (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
1842         (no_lang_help, print_language_names)
1843         (get_language_from_interpreter, get_language_from_filename)
1844         (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
1845         (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
1846         (concat): Use const char*.
1848         * emacsclient.c (message, sock_err_message, send_to_emacs)
1849         (quote_argument, set_local_socket)
1850         (start_daemon_and_retry_set_socket): Use const char*.
1852         * ebrowse.c (struct member): filename, def_filename is const.
1853         (struct sym): filename, sfilename is const.
1854         (struct kw): name is const.
1855         (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
1857         * b2m.c (concat, fatal): Use const char*.
1858         (main): Don't assign labels a string literal.
1860 2010-08-07  Juanma Barranquero  <lekktu@gmail.com>
1862         * ebrowse.c (usage, version, mark_virtual):
1863         Remove duplicate declarations.
1865 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
1867         * emacsclient.c: Move socket related #includes together with the
1868         rest of the #includes.  Move WINDOWSNT includes closer together.
1869         (HAVE_CONFIG_H): Remove.
1870         (NO_RETURN): Remove, defined in config.h.
1871         (main): Convert definition to standard C.
1873 2010-07-29  Juanma Barranquero  <lekktu@gmail.com>
1875         * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
1877 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1879         * emacsclient.c (getcwd): Fix previous change: make getcwd
1880         conditional on HAVE_GETCWD and declare with the correct POSIX
1881         profile (for some reason MinGW headers define its 2nd arg as int,
1882         not size_t; but getcwd is not used on Windows nonetheless).
1884 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1886         * emacsclient.c (getcwd, w32_getenv):
1887         * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
1889 2010-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
1891         * update-game-score.c (usage): Add NO_RETURN specifier.
1892         * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
1893         * make-docfile.c (fatal):
1894         * hexl.c (usage):
1895         * fakemail.c (fatal):
1896         * etags.c (fatal, suggest_asking_for_help, pfatal):
1897         * emacsclient.c (fatal):
1898         * b2m.c (fatal): Likewise.
1900 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
1902         * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
1904 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1906         * emacsclient.c (get_current_dir_name, w32_get_resource)
1907         (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
1908         (close_winsock, initialize_sockets, w32_find_emacs_process)
1909         (w32_give_focus):
1910         * ntlib.c (getlogin, getuid, getgid, getegid):
1911         Convert definitions to standard C.
1913 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
1915         * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
1916         (PROFILING_LDFLAGS): Set from substitution.
1917         (BASE_CFLAGS): Add  ${C_WARNINGS_SWITCH}.
1918         (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
1919         (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
1921 2010-07-12  Eli Zaretskii  <eliz@gnu.org>
1923         * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
1924         2010-07-12T05:25:46Z!handa@etlken).
1926 2010-07-11  Andreas Schwab  <schwab@linux-m68k.org>
1928         * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
1929         index, rindex.
1930         * movemail.c (mail_spool_name, popmail): Likewise.
1931         * pop.c (pop_list): Likewise.
1933 2010-07-11  Eli Zaretskii  <eliz@gnu.org>
1935         * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
1936         and unexw32.o.  (Bug#6603)
1938 2010-07-10  Eli Zaretskii  <eliz@gnu.org>
1940         * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
1942 2010-07-09  Andreas Schwab  <schwab@linux-m68k.org>
1944         * make-docfile.c (write_c_args): Restructure scanning loop.
1946 2010-07-09  Dan Nicolaescu  <dann@ics.uci.edu>
1948         * make-docfile.c (write_c_args): Deal with type names in DEFUN
1949         arguments.
1951 2010-07-08  Dan Nicolaescu  <dann@ics.uci.edu>
1953         * update-game-score.c (P_): Remove macro.
1954         * ebrowse.c: Remove include guards.
1955         (P_): Remove macro.
1957 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1959         * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
1960         memcpy, memmove, memset.
1961         * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
1963 2010-07-06  Andreas Schwab  <schwab@linux-m68k.org>
1965         * movemail.c: Add MAIL_USE_POP around prototypes.
1966         Include <string.h> if HAVE_STRING_H.
1967         (strerror): Only declare if !HAVE_STRERROR.
1968         (fatal): Make static.
1969         (error): Likewise.
1970         (pfatal_with_name): Likewise.
1971         (pfatal_and_delete): Likewise.
1972         (concat): Likewise.
1973         (xmalloc): Likewise.
1974         (popmail): Likewise.
1975         (pop_retr): Likewise.
1976         (mbx_write): Likewise.
1977         (mbx_delimit_begin): Likewise.
1978         (mbx_delimit_end): Likewise.
1980 2010-07-04  Dan Nicolaescu  <dann@ics.uci.edu>
1982         * fakemail.c (action): Convert function definitions to standard C.
1983         (add_a_stream):
1984         * test-distrib.c (cool_read, main): Likewise.
1986 2010-07-03  Andreas Schwab  <schwab@linux-m68k.org>
1988         * sorted-doc.c (cmpdoc): Fix signature.
1989         (qsort_compare): Delete.
1990         (main): Remove cast.
1992 2010-07-03  Juanma Barranquero  <lekktu@gmail.com>
1994         * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
1996 2010-07-03  Juanma Barranquero  <lekktu@gmail.com>
1998         Fix prototype warnings.
2000         * ebrowse.c (match_qualified_namespace_alias):
2001         Pass sym* to find_namespace, not link*.
2003         * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
2005         * sorted-doc.c (qsort_compare): New typedef.
2006         (main): Use it to cast cmpdoc.
2008 2010-07-03  Dan Nicolaescu  <dann@ics.uci.edu>
2010         * update-game-score.c: Convert function definitions to standard C.
2011         * sorted-doc.c:
2012         * profile.c:
2013         * pop.c:
2014         * movemail.c:
2015         * make-docfile.c:
2016         * hexl.c:
2017         * fakemail.c:
2018         * etags.c:
2019         * ebrowse.c:
2020         * digest-doc.c:
2021         * b2m.c: Likewise.
2023 2010-07-02  Dan Nicolaescu  <dann@ics.uci.edu>
2025         * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
2026         * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
2027         standard C prototypes.
2029 2010-07-02  Jan Djärv  <jan.h.d@swipnet.se>
2031         * ebrowse.c: Remove P_ and __P.
2032         * etags.c:
2033         * movemail.c:
2034         * pop.c:
2035         * update-game-score.c: Likewise.
2037 2010-06-24  Juanma Barranquero  <lekktu@gmail.com>
2039         * movemail.c (error): Avoid warning when there are no args.
2041 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
2043         * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
2044         and vc/ediff-hook.elc.
2046 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
2048         * ntlib.h: Remove code dealing with BSTRING.
2050 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
2052         * emacsclient.c (longopts, decode_options, print_help_and_exit):
2053         New arg `-parent-id'.
2054         (main): Send parent-id to Emacs.
2056 2010-05-27  Glenn Morris  <rgm@gnu.org>
2058         * Makefile.in (distclean): No more Makefile.c.
2060 2010-05-22  Jan Djärv  <jan.h.d@swipnet.se>
2062         * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
2063         (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
2064         (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
2065         New rules (Bug #6246).
2066         (clean): Remove stamp-* (Bug #6246).
2068 2010-05-12  Glenn Morris  <rgm@gnu.org>
2070         * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
2072 2010-05-11  Glenn Morris  <rgm@gnu.org>
2074         * Makefile.in (.m.o): Remove, there are no .m files.
2075         (BASE_CFLAGS): New variable.
2076         (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
2077         (check): Update the message.
2078         (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
2080         * Makefile.in: Convert comments to makefile format.
2082         * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
2083         (config.h) [MSDOS]: Do not include.
2085 2010-05-10  Glenn Morris  <rgm@gnu.org>
2087         * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
2088         (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
2089         (NOT_C_CODE): Remove, no longer used.
2090         (config.h) [!MSDOS]: No longer include.
2091         (LOADLIBES): Use LIBS_SYSTEM as a variable.
2093         * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
2095 2010-05-08  Glenn Morris  <rgm@gnu.org>
2097         * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
2099 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
2101         * Version 23.2 released.
2103 2010-05-06  Glenn Morris  <rgm@gnu.org>
2105         * Makefile.in: Minimize blessmail-related cpp usage.
2106         (BLESSMAIL_TARGET): New variable.
2107         (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
2108         (blessmail): Always define this rule.
2109         (need-blessmail): New rule, split out from maybe-blessmail.
2110         (maybe-blessmail): Use BLESSMAIL_TARGET.
2112 2010-05-04  Glenn Morris  <rgm@gnu.org>
2114         * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
2115         @c_switch_system@, @c_switch_machine@.
2117 2010-04-26  Dan Nicolaescu  <dann@ics.uci.edu>
2119         * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
2121 2010-04-12  Dan Nicolaescu  <dann@ics.uci.edu>
2123         * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
2124         non-cpp section.
2126 2010-04-11  Dan Nicolaescu  <dann@ics.uci.edu>
2128         * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
2129         autoconf, not cpp.
2130         (ALL_CFLAGS): Use them as make variables.
2132 2010-04-07  Christoph Scholtes  <cschol2112@googlemail.com>
2134         * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
2135         for macros for nmake compatibility.
2137 2010-04-03  Juanma Barranquero  <lekktu@gmail.com>
2139         Add stubs for Windows, required after CVE-2010-0825 change.
2140         * ntlib.c (getgid, getegid, setegid): New stubs.
2141         * ntlib.h (getgid, getegid, setegid): Declare them.
2143 2010-04-02  Dan Rosenberg  <dan.j.rosenberg@gmail.com>  (tiny change)
2145         * movemail.c (main): Check return values of setuid.
2146         Avoid possibility of symlink attack when movemail is setgid mail
2147         (CVE-2010-0825).
2149 2010-04-02  Dan Nicolaescu  <dann@ics.uci.edu>
2151         Remove extern errno declarations.
2152         * movemail.c:
2153         * etags.c:
2154         * emacsclient.c: Remove extern errno declarations.
2156 2010-03-20  Glenn Morris  <rgm@gnu.org>
2158         * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
2159         (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
2160         defining these as Makefile variables.
2161         (LIBS_MOVE): Add LIBS_MAIL into this.
2162         (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
2164 2010-03-18  Glenn Morris  <rgm@gnu.org>
2166         * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
2167         (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
2168         (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
2170 2010-03-18  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)
2172         * Makefile.in (uninstall): Handle the case where archlibdir does not
2173         exist.  (Bug#5720)
2175 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
2177         * Branch for 23.2.
2179 2010-02-20  Kevin Ryde  <user42@zip.com.au>
2181         * etags.c (Scheme_functions): Don't loop past a null character
2182         (Bug#5601).
2184 2010-01-29  Kester Habermann  <kester@linuxtag.org>  (tiny change)
2186         * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
2188 2010-01-11  Glenn Morris  <rgm@gnu.org>
2190         * ebrowse.c (version):
2191         * etags.c (print_version):
2192         * rcs2log (Copyright): Set copyright year to 2010.
2194 2009-12-09  David Robinow  <drobinow@gmail.com>  (tiny change)
2196         * makefile.w32-in: Use parenthesis for macros for nmake
2197         compatibility.
2199 2009-11-23  Tobias Ringström  <tobias@ringis.se>  (tiny change)
2201         * etags.c (absolute_filename): Use memmove if we have it for
2202         overlapping copy.
2204 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
2206         * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
2208 2009-10-15  Juanma Barranquero  <lekktu@gmail.com>
2210         * .gitignore: Add echolisp.tmp.
2212 2009-10-15  Glenn Morris  <rgm@gnu.org>
2214         * emacsclient.c (print_help_and_exit): Fix bug report instructions.
2216         * makefile.w32-in (echolisp): New rule.
2217         (clean): Delete echolisp.tmp.
2219 2009-09-27  Eli Zaretskii  <eliz@gnu.org>
2221         * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
2222         term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
2223         be consistent with src/Makefile.in.
2225 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2227         * update-game-score.c (main): Sort scores before trimming them,
2228         reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
2230 2009-09-09  Glenn Morris  <rgm@gnu.org>
2232         * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
2233         before creating directories and game score files.
2235 2009-08-19  Glenn Morris  <rgm@gnu.org>
2237         * cvtmail.c: Remove file.
2238         * Makefile.in (UTILITIES): Remove cvtmail.
2239         (cvtmail${EXEEXT}): Remove.
2241 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
2243         * b2m.c (main): Ensure that each message ends in two newlines.
2245 2009-07-03  Jason Rumney  <jasonr@gnu.org>
2247         * emacsclient.c (w32_set_user_model_id): Use standard types.
2249 2009-07-03  Eli Zaretskii  <eliz@gnu.org>
2251         * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
2252         src/Makefile.in did.
2254 2009-06-30  Jason Rumney  <jasonr@gnu.org>
2256         * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
2257         that is already loaded.
2258         (w32_set_user_model_id): New function.
2259         (main): Use it to associate emacsclient with emacs (bug#1849).
2261 2009-06-29  Jim Meyering  <meyering@redhat.com>
2263         Remove useless if-before-free test.
2264         * make-docfile.c (scan_lisp_file): Remove useless test.
2266 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
2268         * Makefile.in (movemail.o): Don't pass -Demacs, unused.
2270 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
2272         * Branch for 23.1.
2274 2006-06-09  Adrian Robert  <Adrian.B.Robert@gmail.com>
2276         * mac-fix-env.m:
2277         * Makefile.in (mac-fix-env): Remove.
2279 2006-06-06  David Reitter  <david.reitter@gmail.com>
2281         * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
2283 2009-04-20  Juanma Barranquero  <lekktu@gmail.com>
2285         * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
2286         spacing is required in the message output, as the comment suggests).
2288 2009-04-20  Chong Yidong  <cyd@stupidchicken.com>
2290         * emacsclient.c (print_help_and_exit): Clarify argument placement
2291         for short option names.
2293 2009-04-02  Dan Nicolaescu  <dann@ics.uci.edu>
2295         * emacsclient.c (print_help_and_exit): Fix typo.
2297 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
2299         * ntlib.c (setuid): Argument is now unsigned.
2300         (getuid): Return value is now unsigned.
2301         (getpwuid): Argument is now unsigned.
2302         (fchown): UID and GID arguments are now unsigned.
2304         * ntlib.h (fchown): UID and GID arguments are now unsigned.
2305         (getuid): Return value is now unsigned.
2306         (setuid): Argument is now unsigned.
2307         (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
2309 2009-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2311         * emacsclient.c (main): Revert part of last change, so
2312         drive-relative file names again work on Windows.
2314 2009-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2316         * emacsclient.c (main): Always pass cwd via "-dir".  Pass the file
2317         names without prepending cwd to them, so Emacs uses its customary
2318         rules to determine how to interpret the file name.
2320 2009-03-04  Glenn Morris  <rgm@gnu.org>
2322         * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
2324 2009-02-13  Sven Joachim  <svenjoac@gmx.de>
2326         * movemail.c: Include time.h unconditionally.
2327         (main): Use time_t for time variables.
2329 2009-02-11  Glenn Morris  <rgm@gnu.org>
2331         * movemail.c (mbx_delimit_begin): Also write the current time.
2333 2009-02-10  Glenn Morris  <rgm@gnu.org>
2335         * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
2336         than Babyl format.  (Bug#2196)
2338 2009-01-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
2340         * emacsclient.c (decode_options): Use a dummy display name under
2341         NS/Cocoa.
2343 2009-01-14  Lars Rasmusson  <lars.rasmusson@gmail.com>  (tiny change)
2345         * ebrowse.c (matching_regexp): Fix OB1 error.
2347 2009-01-05  Glenn Morris  <rgm@gnu.org>
2349         * ebrowse.c (version):
2350         * etags.c (print_version):
2351         * rcs2log (Copyright): Update copyright for 2009.
2353 2009-01-01  Chong Yidong  <cyd@stupidchicken.com>
2355         * movemail.c (main): Fatal if hard links cannot be created.
2357 2008-12-18  Dan Nicolaescu  <dann@ics.uci.edu>
2359         * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
2360         checking.
2362 2008-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
2364         * emacsclient.c: Include syswait.h instead of sys/types.h.
2366 2008-12-11  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
2368         * emacsclient.c (WCONTINUED): New compatibility define
2369         for older systems.
2371 2008-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
2373         * emacsclient.c (main): Fix previous change.
2375 2008-12-10  Juanma Barranquero  <lekktu@gmail.com>
2377         * emacsclient.c (main): Fix mindless breakage where emacsclient
2378         does not work *at all* on Windows, even if it *can* connect.
2380 2008-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
2382         * emacsclient.c (EMACS_DAEMON): Remove definition.
2383         (decode_options): Do not allow an empty alternate_editor on
2384         WINDOWSNT.
2385         (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
2386         (start_daemon_and_retry_set_socket): Likewise.
2387         (main): Fail in case of not being able to connect.
2389 2008-12-10  Juanma Barranquero  <lekktu@gmail.com>
2391         * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
2392         Changes when EMACS_DAEMON is not defined:
2393         (print_help_and_exit): Don't add daemon information to help.
2394         (start_daemon_and_retry_set_socket): Make a no-op.
2395         (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
2397 2008-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
2399         * emacsclient.c (print_help_and_exit): Describe what an empty
2400         string argument does for --alternate-editor.
2401         (set_socket): Make it possible to not exit in case of an error.
2402         (start_daemon_and_retry_set_socket): New function.
2403         (main): Use it.  Restore the NULL value for socket_name and
2404         server_file after the set_socket call.
2406 2008-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
2408         * emacsclient.c: Include <arpa/inet.h>.
2410 2008-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
2412         * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
2414 2008-11-22  Derek Peschel  <dpeschel@eskimo.com>  (tiny change)
2416         * etags.c (add_regex): Pass correct length to re_compile_pattern.
2418 2008-11-02  Chong Yidong  <cyd@stupidchicken.com>
2420         * emacsclient.c (window_system): Delete redundant variable.
2421         (decode_options): Don't use it.
2422         (find_tty): New function.
2423         (main): Use find_tty, and don't use window_system.
2425 2008-11-01  Eli Zaretskii  <eliz@gnu.org>
2427         * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
2428         `ttyname'.
2429         (w32_getenv): Treat $TERM specially: if not found in the
2430         environment and in the Registry, return "w32console".
2431         (ttyname) [WINDOWSNT]: New function.
2433 2008-10-31  Andreas Schwab  <schwab@suse.de>
2435         * emacsclient.c (main): Don't force sending tty when in eval mode.
2437 2008-10-30  Chong Yidong  <cyd@stupidchicken.com>
2439         * emacsclient.c (main): If using the current frame, send tty
2440         information to Emacs in case daemon mode needs to occupy this tty.
2442 2008-10-29  Juanma Barranquero  <lekktu@gmail.com>
2444         * emacsclient.c (EXTRA_SPACE): New macro.
2445         (get_server_config, set_local_socket): Use it.
2447         * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
2448         Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
2450 2008-10-29  Ulrich Mueller  <ulm@gentoo.org>
2452         * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
2453         instead of hardcoded /tmp.
2455 2008-10-13  Dan Nicolaescu  <dann@ics.uci.edu>
2457         * emacsclient.c (longopts, print_help_and_exit): Add -nw.
2458         (decode_options): Use getopt_long_only.
2460 2008-09-30  Eli Zaretskii  <eliz@gnu.org>
2462         * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
2463         codepage.elc.
2465 2008-09-19  Dan Nicolaescu  <dann@ics.uci.edu>
2467         * emacsclient.c (main): Use stdout rather than stdin to obtain the
2468         terminal (bug#427).
2470 2008-08-25  Francesco Potortì  <pot@gnu.org>
2472         * etags.c (main): Do not use static space for the tagfile string.
2474 2008-08-17  Francesco Potortì  <pot@gnu.org>
2476         * etags.c (main): Use canonicalize_filename on tags file name.
2477         (relative_filename): Revert 3.85: do not collapse slashes here.
2478         (absolute_dirname): Remove useless call to canonicalize_filename.
2479         (canonicalize_filename): Collapse multiple slashes here.
2481 2008-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
2483         * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
2484         Do not special case for NS_IMPL_COCOA.
2486 2008-08-06  Adrian Robert  <Adrian.B.Robert@gmail.com>
2488         * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
2489         (.m.o): Dispense with GNUstep-specific flags.
2491 2008-08-05  Ulrich Mueller  <ulm@gentoo.org>
2493         * pop.c (socket_connection): Add conditionals for
2494         HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
2495         compilation with MIT Kerberos and Heimdal, respectively.
2497 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
2499         * etags.c:
2500         * emacsclient.c: Remove VMS support.
2502 2008-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
2504         Remove support for Mac Carbon.
2505         * makefile.w32-in:
2506         * emacsclient.c: Remove code for Carbon.
2508 2008-07-21  Dan Nicolaescu  <dann@ics.uci.edu>
2510         * Makefile.in (mac-fix-env): Remove #ifdef around rule.
2512 2008-07-17  Andreas Schwab  <schwab@suse.de>
2514         * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
2515         (LIB_STANDARD_LIBSRC): Don't define.
2516         (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
2518 2008-07-16  Adrian Robert  <Adrian.B.Robert@gmail.com>
2520         * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
2521         NS_IMPL_COCOA.
2523 2008-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
2525         * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
2526         Remove, unused.
2528 2008-07-15  Adrian Robert  <Adrian.B.Robert@gmail.com>
2530         * .cvsignore: Add mac-fix-env.
2531         * mac-fix-env.m: New file, automatically update
2532         ~/.MacOSX/environment.plist on OS X systems to expose environment
2533         variables inside Emacs started from icon.
2534         * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
2535         programs to build.
2536         * make-docfile.c: Add .m to list of file extensions.
2538 2008-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
2540         * movemail.c (main): Use int instead of WAITTYPE.
2542 2008-07-05  Juanma Barranquero  <lekktu@gmail.com>
2544         * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
2545         Remove vmsproc.el and vms-patch.el.
2547 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
2549         * makefile.w32-in (obj): Remove w32bdf.o.
2551 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
2553         * fakemail.c: Remove references to obsolete variables.
2555 2008-06-02  Jim Meyering  <meyering@redhat.com>
2557         * ebrowse.c (xfree): Remove definition; s/xfree/free/.
2559         Remove useless if-before-free tests.
2560         * ebrowse.c (xfree): Likewise.
2561         * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
2562         (popclass_above, Prolog_functions, Erlang_functions): Likewise.
2563         * pop.c (pop_quit): Likewise.
2565 2008-05-30  Juanma Barranquero  <lekktu@gmail.com>
2567         * makefile.w32-in (lisp2): Add minibuffer.elc.
2569 2008-05-29  Tom Tromey  <tromey@redhat.com>
2571         * etags.c (relative_filename): Treat "///" like "/" in filenames.
2573 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
2575         * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
2576         (IS_DIRECTORY_SEP): New macro.
2577         (convert_time, is_exec, stat): New functions.
2579 2008-05-08  Eli Zaretskii  <eliz@gnu.org>
2581         * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
2583 2008-05-03  Eli Zaretskii  <eliz@gnu.org>
2585         * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
2586         corresponding change in src/Makefile.in.
2588 2008-04-24  Adam Gołębiowski  <adamg@pld-linux.org>  (tiny change)
2590         * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
2592 2008-04-10  Jason Rumney  <jasonr@gnu.org>
2594         * makefile.w32-in (CLIENTRES): New variable and target.
2595         (TRES): Remove.
2596         ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
2598 2008-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2600         * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
2602 2008-04-18  Steve Grubb  <sgrubb@redhat.com>  (tiny change)
2604         * vcdiff: Use mktemp (CVE-2008-1694).
2606 2008-04-09  Jason Rumney  <jasonr@gnu.org>
2608         * makefile.w32-in (distclean, maintainer-clean): New targets.
2610 2008-03-13  Glenn Morris  <rgm@gnu.org>
2612         * makefile.w32-in (VERSION): Set to 23.0.60.
2614 2008-03-04  Juanma Barranquero  <lekktu@gmail.com>
2616         * .cvsignore: Add oo.
2618 2008-02-27  Yuri Shtil  <yuris@juniper.net>  (tiny change)
2620         * etags.c (Perl_functions): Fix call to skip_spaces.
2622 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
2624         * Makefile.in (NO_SHORTNAMES):
2625         * emacsclient.c (NO_SHORTNAMES):
2626         * fakemail.c (NO_SHORTNAMES):
2627         * make-docfile.c (NO_SHORTNAMES):
2628         * movemail.c (NO_SHORTNAMES):
2629         * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
2631 2008-02-23  Jason Rumney  <jasonr@gnu.org>
2633         * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
2634         (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
2635         (OTHER_PLATFORM_SUPPORT): Replace above.  Add X specific files too.
2636         (lisp2): Add new languages.
2637         ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
2639 2008-02-22  Juanma Barranquero  <lekktu@gmail.com>
2641         * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
2642         malayalam.el, and tamil.el.  Add sinhala.el.
2644 2008-02-20  Juanma Barranquero  <lekktu@gmail.com>
2646         * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
2647         where NAME is relative to DRIVE'S current directory.
2649 2008-02-15  Juanma Barranquero  <lekktu@gmail.com>
2651         * emacsclient.c (print_help_and_exit): Show -d option on Windows.
2653 2008-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
2655         * fakemail.c: Undo previous change.
2657 2008-02-09  Dan Nicolaescu  <dann@ics.uci.edu>
2659         * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
2660         (main): Replace MAIL_PROGRAM_NAME with its value.
2662         * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
2664 2008-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2666         * emacsclient.c (decode_options): Pass --display implicitly if -c
2667         is specified.  Only set tty if -t or -c is specified.
2669 2008-02-04  Jason Rumney  <jasonr@gnu.org>
2671         * makefile.w32-in (lisp1): Use (), not {}.
2673 2008-02-04  Tom Tromey  <tromey@redhat.com>
2675         * etags.c: Add "GTY" as synonym for __attribute__.
2676         Update gperf output.
2678 2008-02-01  Jason Rumney  <jasonr@gnu.org>
2680         * makefile.w32-in (obj): Sync with src/Makefile.in.
2681         (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
2682         (WINNT_SUPPORT): Add term/w32-win.elc.
2683         (lisp1, lisp2): Sync with lisp in src/Makefile.in.
2685 2008-02-01  Jason Rumney  <jasonr@gnu.org>
2687         * makefile.w32-in (obj): Add font.o and w32font.o.
2689 2008-02-01  Zhang Wei  <id.brep@gmail.com>  (tiny change)
2691         * makefile.w32-in (lisp1): Delete ucs-tables.elc,
2692         utf-8.elc, and latin-*.el.
2694 2008-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2696         * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
2697         Allow the -d option under w32 again, for those rare cases where it
2698         actually does make sense.
2700 2008-01-25  Juanma Barranquero  <lekktu@gmail.com>
2702         * emacsclient.c (set_tcp_socket): Don't send "\n" after
2703         the authentication string; there's no need to haste.
2705 2008-01-22  Chong Yidong  <cyd@stupidchicken.com>
2707         * pop.c (pop_stat, pop_last): Fix last fix.
2709 2008-01-18  Dan Nicolaescu  <dann@ics.uci.edu>
2711         * movemail.c: Remove references to XENIX.
2713 2008-01-13  Dan Nicolaescu  <dann@ics.uci.edu>
2715         * movemail.c:
2716         * make-docfile.c: Remove reference to symbols defined by systems
2717         not supported anymore: MAC_OS8, XENIX and STRIDE.
2719 2008-01-12  Eli Zaretskii  <eliz@gnu.org>
2721         * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
2722         of DISPLAY in the environment.  Don't support -d.
2723         (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
2724         (longopts) [WINDOWSNT]: Remove --display.
2726 2008-01-10  Chong Yidong  <cyd@stupidchicken.com>
2728         * pop.c (pop_stat, pop_last): Check validity of string-to-integer
2729         conversion.  Mistakes spotted by Nico Golde.
2731 2008-01-09  Glenn Morris  <rgm@gnu.org>
2733         * emacsclient.c: Add missing final newlines to message calls.
2735 2008-01-09  Daniel Hackney  <dan@haxney.org>  (tiny change)
2737         * emacsclient.c (set_socket): Add final newline to socket error message.
2739 2008-01-04  Glenn Morris  <rgm@gnu.org>
2741         * ebrowse.c (version) <emacs_copyright>: New variable.
2742         Just use current year for copyright.
2744         * etags.c (print_version):
2745         * rcs2log (Copyright): Update to 2008.
2747 2007-11-28  Jason Rumney  <jasonr@gnu.org>
2749         * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
2751 2007-11-27  Jan Djärv  <jan.h.d@swipnet.se>
2753         * pop.c (socket_connection): Remove AI_ADDRCONFIG.
2755 2007-11-19  Jan Djärv  <jan.h.d@swipnet.se>
2757         * pop.c (socket_connection): Move realhost out of #ifdefs.
2758         Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
2760 2007-11-18  Jan Djärv  <jan.h.d@swipnet.se>
2762         * pop.c (socket_connection): Use getaddrinfo if available.
2764 2007-11-22  Francesco Potortì  <pot@gnu.org>
2766         * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
2767         as the defaults in ctags are different from etags.
2769 2007-11-15  Francesco Potortì  <pot@gnu.org>
2771         * etags.c: Make prototypes for extern definitions, and add all
2772         that are needed to quench warnings on 64-bit.
2773         (main): Use the same defaults for ctags as for etags: find
2774         typedefs, structure tags, macro constants, enum constants, struct
2775         members and global variables.
2776         (make_C_tag) [DEBUG]: Add debugging printout.
2777         (C_entries): In case '}' decrement bracelev before testing it.
2779 2007-11-15  Masatake YAMATO  <jet@gyve.org>
2781         * etags.c (C_entries): In case '}', set fvdef to fvnone
2782         unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
2784 2007-11-01  Dan Nicolaescu  <dann@ics.uci.edu>
2786         * makefile.w32-in (obj): Remove sunfns.o.
2788 2007-10-28  Juanma Barranquero  <lekktu@gmail.com>
2790         * makefile.w32-in (obj): Remove abbrev.o.
2792 2007-10-26  Juanma Barranquero  <lekktu@gmail.com>
2794         * emacsclient.c: Add a wrapper for getenv so it also checks the
2795         registry on Windows.  Suggestion and algorithm by Eli Zaretskii.
2796         Code partially based on w32_get_resource and init_environment (w32.c).
2797         (egetenv): New wrapper for getenv.
2798         (get_current_dir_name, decode_options, get_server_config)
2799         (set_local_socket, set_socket, main): Use egetenv, not getenv.
2800         (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
2802 2007-10-25  Jason Rumney  <jasonr@gnu.org>
2804         * emacsclient.c (sock_err_message): New function.
2805         (set_tcp_socket): Use it.
2807 2007-10-09  Juanma Barranquero  <lekktu@gmail.com>
2809         * emacsclient.c (print_help_and_exit): Fix space to improve
2810         alignment in output messages.
2812 2007-09-27  Jason Rumney  <jasonr@gnu.org>
2814         * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
2816         * emacsclient.c (w32_window_app): Init common controls when windowed.
2818 2007-09-21  Glenn Morris  <rgm@gnu.org>
2820         * emacstool.c: Remove file.
2821         * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
2822         Delete targets built from emacstool.
2824 2007-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2826         * emacsclient.c (decode_options): -t implies -c.
2828 2007-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2830         * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
2831         (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
2832         (main_argc): Remove.
2833         (strprefix): Use strncmp.
2835 2007-09-20  Jason Rumney  <jasonr@gnu.org>
2837         * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
2839 2007-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2841         * emacsclient.c (current_frame): Change the default.
2842         (longopts): Replace --current-frame by --create-frame.
2843         (decode_options): Reverse the meaning of -c.
2844         (print_help_and_exit): Update help text accordingly.
2845         (main): Remove the -version and -good-version messages.
2847 2007-09-12  Glenn Morris  <rgm@gnu.org>
2849         * Makefile.in (SOURCES, unlock, relock): Delete.
2851 2007-08-29  Glenn Morris  <rgm@gnu.org>
2853         * makefile.w32-in (VERSION): Increase to 23.0.50.
2855 2007-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
2857         * emacsclient.c (w32_execvp): Move definition before use.
2858         (decode_options): Don't use a tty on mac carbon or windows.
2860 2007-08-29  Jason Rumney  <jasonr@gnu.org>
2862         * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
2863         (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp)
2864         (main): Expand removed macros inline.
2865         (main) [WINDOWSNT]: Don't call ttyname.  Don't recognize -suspend
2866         option.
2867         (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
2869 2007-08-29  Károly Lőrentey  <lorentey@elte.hu>
2871         * emacsclient.c (signal.h): New include.
2872         (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
2873         (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
2874         Copy definitions here from src/lisp.h.
2875         (main_argc, main_argv, current_frame, window_system, tty): New vars.
2876         (longopts): Add tty, current-frame.
2877         (xmalloc, xstrdup): New functions.
2878         (get_current_dir_name): New function, copied from src/sysdep.c.
2879         (decode_options): Set display from environment.  Add tty and
2880         current_frame options.  Make --no-wait imply --current-frame,
2881         except when it is the only option given.  Make sure no frame is
2882         opened when --current-frame is set.
2883         (print_help_and_exit): Document tty and current-frame options.
2884         (fail): Change arguments to void.
2885         (main): When sockets are not defined, set main_argc, main_argv,
2886         and call fail() with no arguments.
2887         (emacs_socket): New variable (moved out from main `s').
2888         (quote_file_name): Rename to quote_argument.
2889         (quote_argument): New name for old quote_file_name.
2890         (unquote_argument, strprefix, pass_signal_to_emacs)
2891         (handle_sigcont, handle_sigtstp, init_signals): New functions.
2892         (set_local_socket): Initialize saved_errno to 0.  If socket-name
2893         is too long, call `fail' rather than `exit'.
2894         (main): Doc update.  Set main_argc, main_argv.  New var `str'.
2895         Don't need a filename or argument if tty or window_system set.
2896         Call fail with no arguments.  Use get_current_dir_name to send
2897         over the current directory.  Send version number to Emacs for
2898         verification.  If tty is set, check TERM, and pass name and type
2899         to Emacs.  Pass window_system to Emacs.  Move sending of eval to
2900         optind loop.  Send -position, -file to Emacs.  Call fsync after
2901         fflush.  Check for a client/server version match.
2902         Handle -emacs-pid, -window-system-unsupported, -print, -error, and
2903         -suspend commands.  Don't exit prematurely on --no-wait, let Emacs
2904         close the connection for us.  When creating a new frame, send
2905         environment and pwd to Emacs.  Send current-frame to Emacs.
2907 2007-08-25  Eli Zaretskii  <eliz@gnu.org>
2909         * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2910         Prepend "-" to the command, in case srcdir=. and file is copied
2911         into itself.
2913 2007-07-25  Glenn Morris  <rgm@gnu.org>
2915         * Relicense all FSF files to GPLv3 or later.
2917         * COPYING: Switch to GPLv3.
2919 2007-07-17  Francesco Potortì  <pot@gnu.org>
2921         * etags.c (C_entries): Reset the fvdef machine when out of function.
2922         (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
2923         (print_help): Use it in if() rather than #if.
2924         (print_help): Conditionally print help about --no-line-directive.
2926 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
2928         * makefile.w32-in (clean): Don't delete *~.
2930 2007-06-07  Glenn Morris  <rgm@gnu.org>
2932         * etags.c (print_version): Add `emacs_copyright' string, for
2933         easier automatic updating.
2935 2007-05-18  Francesco Potortì  <pot@gnu.org>
2937         * etags.c: Extern definitions of some more pointer functions for
2938         standalone compilation, especially important for 64bit platforms.
2939         (main, print_help): --members is now the default for etags.
2940         (C_entries): Parse start of C comment as a space == end of token.
2941         This is not necessary for C++ comment, already parsed as newline.
2943 2007-04-26  Glenn Morris  <rgm@gnu.org>
2945         * makefile.w32-in (VERSION): Increase to 22.1.50.
2947 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
2949         * Version 22.1 released.
2951 2007-02-26  Francesco Potortì  <pot@gnu.org>
2953         * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
2955 2007-02-20  Ulrich Mueller  <ulm@kph.uni-mainz.de>  (tiny change)
2957         * Makefile.in (EMACS, EMACSOPT): New variables.
2958         (blessmail): Use `--no-site-file' when compiling.
2960 2007-02-05  Francesco Potortì  <pot@gnu.org>
2962         * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
2963         (main): Now --members is the default for etags, not for ctags yet.
2965 2007-02-04  Per Cederqvist  <ceder@ingate.com>  (tiny change)
2967         * etags.c (gperf, in_word_set): Change attribute for Java to
2968         (C_JAVA & ~C_PLPL).  The previous change introduced 2004-09-13 was
2969         broken, as (C_JAVA & !C_PLPL) always evaluates to 0.  This caused
2970         import, package, extends, implements and interface to be treated
2971         specially for all kinds of C-style files, not just Java files.
2973 2007-01-02  Francesco Potortì  <pot@gnu.org>
2975         * etags.c (longopts): New undocumented option --no-duplicates.
2976         (no_duplicates): Static variables for the above option.
2977         (print_help): Do not print help for --no-warn, now undocumented.
2978         (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
2979         (main): Pass the -u option to sort in ctags mode.
2981 2006-12-28  Francesco Potortì  <pot@gnu.org>
2983         * etags.c (readline): When creating a relative file name from a
2984         #line directive, leave the file name alone.  The previous
2985         behavior was to make it relative to the tags file directory,
2986         under the hypothesis that the #line directive file name was
2987         relative to the directory of the tagged file.  That hypothesis is
2988         wrong with Cpp and Lex.
2989         (Makefile_targets): Do not include spaces in tag names.
2991 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
2993         * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
2994         (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
2995         (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
2996         ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
2997         ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
2998         ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
2999         ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
3000         ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
3001         (clean): Delete stamp_BLD.
3003 2006-12-20  Francesco Potortì  <pot@gnu.org>
3005         * etags.c (C_entries): DEFUN names were longer by one: corrected.
3007 2006-12-18  Juanma Barranquero  <lekktu@gmail.com>
3009         * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
3010         [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
3011         (main) [WINDOWSNT]: Remove code to release the focus; call
3012         w32_give_focus instead.
3014 2006-12-15  Juanma Barranquero  <lekktu@gmail.com>
3016         * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
3017         (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
3018         (fail): Remove Windows-specific fix (subsumed into w32_execvp).
3019         Suggestions and comment by Eli Zaretskii.
3021 2006-12-06  Christoph Conrad  <christoph.conrad@gmx.de>
3023         * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
3024         Use $(USER32) for compatibility with Visual Studio .NET 2003.
3026 2006-11-30  Juanma Barranquero  <lekktu@gmail.com>
3028         * emacsclient.c (emacs_pid): New variable.
3029         (message): Remove leftover code.
3030         (get_server_config): Set emacs_pid.  Don't allow Emacs to grab the
3031         focus yet; emacsclient can still display an informational message
3032         before sending requests to Emacs.
3033         (main): Allow Emacs to grab the focus.  Simplify message() call.
3035 2006-11-30  Michael Mauger  <mmaug@yahoo.com>
3037         * emacsclient.c (message): Make sure the message is properly
3038         written even if it contains printf escapes, and flush the result.
3039         (set_tcp_socket): Make the message for non-local connections
3040         informational rather than an error.
3042 2006-11-28  Kevin Ryde  <user42@zip.com.au>
3044         * etags.c (readline): Check for double quote after #line.
3046 2006-11-28  Jan Djärv  <jan.h.d@swipnet.se>
3048         * etags.c (readline): sscanf could in principle return 2.
3050 2006-11-28  Francesco Potortì  <pot@gnu.org>
3052         * etags.c (readline): lno is unsigned.
3053         (TeX_commands): Use p++ (rather than *p++) to increment p.
3054         (Lua_functions): Explicitly discard LOOKING_AT's return value.
3056 2006-11-27  Juanma Barranquero  <lekktu@gmail.com>
3058         * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
3059         ($(TRES)): New rule (copied from nt/makefile.w32-in).
3060         ($(BLD)/emacsclientw.exe): Add dependency.
3062 2006-11-27  Eli Zaretskii  <eliz@gnu.org>
3064         * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
3066 2006-11-25  Juanma Barranquero  <lekktu@gmail.com>
3068         * makefile.w32-in (VERSION): New macro.
3069         (ECLIENT_CFLAGS): Add -DVERSION.
3071 2006-11-25  Jason Rumney  <jasonr@gnu.org>
3073         * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
3075 2006-11-24  Michael Mauger  <mmaug@yahoo.com>
3077         * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
3078         file names with forward slashes.
3080 2006-11-23  Juanma Barranquero  <lekktu@gmail.com>
3082         * emacsclient.c (print_help_and_exit): Tweak message contents and
3083         tabs/spaces to improve alignment in message boxes.
3085 2006-11-22  Lennart Borgman  <lennart.borgman.073@student.lu.se>
3087         * emacsclient.c: Include <stdarg.h>.
3088         [WINDOWSNT]: Include <windows.h>.
3089         (w32_check_console_app): New function.
3090         (message): New function.
3091         (decode_options, print_help_and_exit, fail, main)
3092         (initialize_sockets, get_server_config, set_tcp_socket)
3093         (set_local_socket, set_socket): Use message().
3095 2006-11-13  Jason Rumney  <jasonr@gnu.org>
3097         * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
3098         HAVE_INET_SOCKETS.
3100 2006-11-13  Juanma Barranquero  <lekktu@gmail.com>
3102         * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
3103         ($(BLD)/emacsclientw.exe): New target.
3104         (install): Install emacsclientw.exe.
3105         ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
3106         (ECLIENT_CFLAGS): Remove redundant flags.
3108         * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
3110 2006-11-13  Jason Rumney  <jasonr@gnu.org>
3112         * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
3114 2006-11-10  David Reitter  <david.reitter@gmail.com>
3116         * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
3118 2006-11-08  Juanma Barranquero  <lekktu@gmail.com>
3120         * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
3121         FARPROC to avoid a compiler warning.
3123 2006-11-07  Juanma Barranquero  <lekktu@gmail.com>
3125         * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
3126         file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
3128         * emacsclient.c (get_server_config): Extract also the Emacs pid
3129         from the server file.  On Windows, try to force the Emacs frame to
3130         the foreground.
3132 2006-11-06  Juanma Barranquero  <lekktu@gmail.com>
3134         * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
3135         option --socket-name.
3136         (decode_options): Don't get EMACS_SERVER_FILE here, it could override
3137         command line options.
3138         (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
3139         (fail): Don't check for missing arguments, it is now done in set_socket.
3140         (file_name_absolute_p): New function (loosely based on the one in
3141         fileio.c).
3142         (initialize_sockets): Don't check for duplicate loading of Winsock.
3143         (get_server_config): Only try relative paths in the default
3144         directory locations.
3145         (set_tcp_socket): Don't call INITIALIZE().  Warn when connecting to
3146         a remote server.
3147         (set_socket): Call INITIALIZE().  Search explicit command-line
3148         arguments, then environment variable EMACS_SERVER_FILE, then implicit
3149         socket paths, before trying the alternate editor.
3150         (main): Use file_name_absolute_p.
3152 2006-11-04  Eli Zaretskii  <eliz@gnu.org>
3154         * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
3155         file if it doesn't already exist.
3157 2006-11-03  Juanma Barranquero  <lekktu@gmail.com>
3159         * emacsclient.c (initialize_sockets): Don't initialize Winsock
3160         more than once.
3162 2006-11-03  Mark Davies  <mark@mcs.vuw.ac.nz>
3164         * Makefile.in (INSTALL_SCRIPT): New macro.
3165         ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
3167 2006-11-02  Juanma Barranquero  <lekktu@gmail.com>
3169         * grep-changelog: When called with no arguments (not even a
3170         filter), show help instead of blindingly dumping every single
3171         ChangeLog available.  Doc fix.  Update version.
3173 2006-11-02  Tim Van Holder  <tim.vanholder@gmail.com>
3175         * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
3176         [!WINDOWSNT]: Include <netinet/in.h> if available.
3177         [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
3178         (IOCTL, IOCTL_BOOL_ARG): Remove.
3179         (set_tcp_socket): Don't set the socket in blocking mode.
3180         Remove c_arg.
3182 2006-11-01  Juanma Barranquero  <lekktu@gmail.com>
3184         * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
3185         execvp to point to alternate_editor (otherwise .BAT scripts can't run).
3187 2006-10-31  Óscar Fuentes  <ofv@wanadoo.es>  (tiny change)
3189         * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
3190         (close_winsock): Declare as __cdecl.
3192 2006-10-31  Jan Djärv  <jan.h.d@swipnet.se>
3194         * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
3195         (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
3196         to set the socket in non-blocking mode.
3198 2006-10-31  Tim Van Holder  <tim.vanholder@gmail.com>
3200         * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
3201         (INVALID_SOCKET): Define.
3202         (initialize_sockets): Put #endif at the right place.
3203         (set_local_socket): Use progname, not argv[0].
3205 2006-10-31  Juanma Barranquero  <lekktu@gmail.com>
3207         * makefile.w32-in (ALL): Add emacsclient.
3208         (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
3209         (emacsclient, $(BLD)/emacsclient.exe): New targets.
3210         (install): Install emacsclient.
3212         * emacsclient.c: Add support for TCP sockets.
3213         (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
3214         (INITIALIZE): New macros.
3215         (IOCTL_BOOL_ARG): New typedef.
3216         (server_file): New global variable.
3217         (longopts): New option --server-file.
3218         (decode_options): Process new option --server-file and environment
3219         variable EMACS_SERVER_FILE.
3220         (print_help_and_exit): Document new option.
3221         (fail): If no connection available and no alternate editor,
3222         suggest using options to make them explicit.
3223         (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
3224         (send_buffer, sblen): New variables.
3225         (send_to_emacs): New function to buffer output and send it with `send'.
3226         (quote_file_name): Use SEND_STRING.
3227         (close_winsock, initialize_sockets): New functions to load and
3228         unload Winsock.
3229         (get_server_config, set_tcp_socket): New functions to create and
3230         set up TCP sockets.
3231         (set_local_socket): New function to create and set up Unix
3232         socket (code moved from previous implementation).
3233         (set_socket): New function to choose between TCP and Unix sockets.
3234         (main): Use SEND_STRING and SEND_QUOTED.  Most code moved to
3235         set_local_socket.  Use set_socket.  Get answers from server.el with
3236         recv(), not file stream functions.
3238 2006-10-09  Eli Zaretskii  <eliz@gnu.org>
3240         * makefile.w32-in (../src/config.h): Fix error message.
3242 2006-09-30  Eli Zaretskii  <eliz@gnu.org>
3244         * .cvsignore: Add blessmail.
3246 2006-09-15  Jay Belanger  <belanger@truman.edu>
3248         * COPYING: Replace "Library Public License" by "Lesser Public
3249         License" throughout.
3251 2006-08-09  Jan Djärv  <jan.h.d@swipnet.se>
3253         * etags.c (readline): Expect sscanf returns >= 1.
3254         (readline): Change position on %n and \" in sscanf.
3256 2006-08-07  Masatake YAMATO  <jet@gyve.org>
3258         * etags.c (readline): Expect sscanf returns 2, not 1.
3260 2006-08-07  Masatake YAMATO  <jet@gyve.org>
3262         * etags.c (TEX_mode): Check getc returns EOF.
3263         File ended without newline causes infinite loop.
3265 2006-07-30  Adrian Aichner  <adrian@xemacs.org>  (tiny change)
3267         * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
3269 2006-07-30  Francesco Potortì  <pot@gnu.org>
3271         * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
3272         [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
3273         (Objc_suffixes): Suggest using --lang=c for full help.
3274         (C_entries): Initialize savetoken to 0 to shut up the compiler.
3276 2006-07-20  Andreas Schwab  <schwab@suse.de>
3278         * fakemail.c (fatal): Drop second parameter and treat first
3279         parameter as a plain string.  Callers changed.
3281 2006-07-18  Dan Nicolaescu  <dann@ics.uci.edu>
3283         * ebrowse.c (usage, version): Mark as NO_RETURN.
3285         * emacsclient.c (print_help_and_exit): Likewise.
3287 2006-07-10  Francesco Potortì  <pot@gnu.org>
3289         * etags.c (absolute_filename): Free unused space (cosmetic change).
3290         (in_word_set): In C, also tag #undef symbols.
3292 2006-06-09  Eli Zaretskii  <eliz@gnu.org>
3294         * yow.c: Remove file.
3296         * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
3298         * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
3299         yow${EXEEXT}: Remove target.
3301 2006-06-04  Masatake YAMATO  <jet@gyve.org>
3303         * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
3304         doesn't exist, is not seekable, not is failed in ftall.
3306 2006-06-03  Eli Zaretskii  <eliz@gnu.org>
3308         * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
3309         ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
3310         ($(BLD)/test-distrib.exe): New targets.
3311         (sorted-doc, digest-doc, test-distrib): New targets.
3312         (install): Install sorted-doc.exe and digest-doc.exe.
3313         ($(BLD)/sorted-doc.$(O)): Update dependencies.
3315         * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
3316         (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
3317         terminal device.
3319         * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
3320         [WINDOWSNT] <top level>: Don't redeclare malloc.
3321         (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
3322         terminal device.
3323         (main): Initialize bp, to avoid compiler warnings.
3325         * makefile.w32-in: Delete traces of leditcfns.c.
3327         * leditcfns.c: Remove file.
3329 2006-05-23  Francesco Potortì  <pot@gnu.org>
3331         * pop.c (pop_open, socket_connection, KPOP_SERVICE):
3332         Add comments explaining why the "kpop" service is never used.
3334 2006-05-13  Eli Zaretskii  <eliz@gnu.org>
3336         * makefile.w32-in (lisp1): Add fringe.elc.
3338 2006-05-02  Francesco Potortì  <pot@gnu.org>
3340         * etags.c (Perl_functions): Free space allocated for var package.
3341         (Erlang_functions): Possibly free space allocated for var last.
3342         (Prolog_functions): Possibly free space allocated for var last.
3344 2006-04-29  Dan Nicolaescu  <dann@ics.uci.edu>
3346         * sorted-doc.c (main): Initialize docs to NULL.
3348         * yow.c (yow): Free buf.
3350         * etags.c: Delete c-indentation-style local variable.
3352 2006-04-29  Richard Stallman  <rms@gnu.org>
3354         * movemail.c (main): Check for negative value from `read'.
3356         * fakemail.c (read_header): Give fatal error if input has no header.
3358 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
3360         * b2m.c (main): Don't include <limits.h>.
3361         (TM_YEAR_BASE): New macro.
3362         (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
3363         that s/ files can override this.  Use the more-conservative range
3364         1000-9999.
3365         (main): Check for asctime returning NULL.
3366         * fakemail.c: Likewise.
3368 2006-03-27  Paul Eggert  <eggert@cs.ucla.edu>
3370         * b2m.c: Include <limits.h>.
3371         (TM_YEAR_IN_ASCTIME_RANGE): New macro.
3372         (main): Check for out-of-range time stamps.
3373         * fakemail.c: Likewise.
3375 2006-03-18  Andre Spiegel  <spiegel@gnu.org>
3377         * vcdiff: Use "echo" as a default for $echo, otherwise we'll
3378         execute $DIFF twice, and once with the wrong options.
3380 2006-02-23  Claudio Fontana  <claudio@gnu.org>
3382         * Makefile.in (install, uninstall): Add DESTDIR variable to
3383         support staged installations.
3385 2005-12-30  Eli Zaretskii  <eliz@gnu.org>
3387         * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
3388         (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
3389         international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
3390         Rearrange the list to be similar to $(shortlisp) in
3391         src/Makefile.in.
3392         (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
3393         emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
3394         jit-lock.elc.  Rearrange the list to be similar to $(shortlisp) in
3395         src/Makefile.in.
3397 2005-12-22  Richard M. Stallman  <rms@gnu.org>
3399         * Makefile.in (update-game-score.o): Delete spurious final `\'.
3401 2005-11-18  Hideki IWAMOTO  <h-iwamoto@kit.hi-ho.ne.jp>  (tiny change)
3403         * etags.c (main): Cxref mode writes to stdout: do not close tagf,
3404         which was never opened.
3406 2005-10-20  Olli Savia  <ops@iki.fi>  (tiny change)
3408         * etags.c: Undef STDIN if defined.  (LynxOS defines it in system
3409         header files.)
3411 2005-09-27  Francesco Potortì  <pot@gnu.org>
3413         * etags.c: Preliminary Forth support.
3414         (prolog_pr): Cast strlen to int before comparison.
3415         (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
3416         the second argument is indeed a literal string.
3417         (main): In append mode, sort the tags file after writing it.
3419 2005-09-27  Emanuele Giaquinta  <emanuele.giaquinta@gmail.com>  (tiny change)
3421         * etags.c (longopts, print_help, main): The -a (--append) option
3422         can be used in ctags also; for one, the Linux make file uses it.
3424 2005-09-20  Chong Yidong  <cyd@stupidchicken.com>
3426         * ebrowse.c (add_sym): Compare namespace names instead of
3427         namespace objects.  This prevents the parser from incorrectly
3428         treating classes whose superclass is in another namespace.
3430 2005-09-15  Richard M. Stallman  <rms@gnu.org>
3432         * Makefile.in (update-game-score.o): New target.
3433         Compile and link this program separately.
3434         (update-game-score${EXEEXT}): Use GETOPTDEPTS.
3436 2005-09-11  Jason Rumney  <jasonr@gnu.org>
3438         * makefile.w32-in (../src/config.h): Don't overwrite.  Print a
3439         message instead.
3440         (../src/paths.h): Remove.
3442 2005-07-27  Juanma Barranquero  <lekktu@gmail.com>
3444         * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
3445         generated.  Ignore also ctags.c and getopt.h.
3447         * makefile.w32-in (clean): Delete getopt.h.
3448         (getopt.h): New rule.
3450 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
3452         Merge gnulib getopt implementation into Emacs.
3454         * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
3455         (GETOPT_H): New macro, from gnulib.
3456         (getopt.h): New rule, from gnulib.
3457         (GETOPTOBJS): Now autoconfigured.
3458         (GETOPTDEPS): getopt.h is now autoconfigured.
3459         (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
3460         (getopt.o): Depend on ${srcdir}/gettext.h.
3461         (movemail.o): Depend on $(GETOPT_H).
3462         * getopt.c, getopt1.c: Sync from gnulib.
3463         * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
3464         * getopt.h: Removed (now is getopt_.h).
3466 2005-07-13  Ken Raeburn  <raeburn@gnu.org>
3468         * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
3469         (sendline): Add the \r\n to the line in a temporary buffer, and write
3470         it all at once.
3472 2005-07-04  Lute Kamstra  <lute@gnu.org>
3474         Update FSF's address in GPL notices.
3476 2005-06-13  Eli Zaretskii  <eliz@gnu.org>
3478         * makefile.w32-in ($(DOC)): Fix last change.
3480 2005-06-12  Eli Zaretskii  <eliz@gnu.org>
3482         * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
3483         temacs.exe, and the preloaded *.elc files.  This avoids
3484         unnecessary dumping and DOC rebuilding.
3486 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
3488         * ntlib.h (fileno): Don't define if already defined.
3490 2005-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
3492         * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
3493         (yow): Use EXIT_FAILURE in case of memory error.
3495 2005-05-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3497         * make-docfile.c (DIRECTORY_SEP): New macro.
3498         (IS_DIRECTORY_SEP): Use it.
3500 2005-03-18  Jan Djärv  <jan.h.d@swipnet.se>
3502         * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
3504 2005-03-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3506         * make-docfile.c: Undo previous change.
3508 2005-02-04  Andreas Schwab  <schwab@suse.de>
3510         * movemail.c (fatal): Accept third parameter and pass down to error.
3511         (pfatal_with_name): Pass error string as format parameter instead of
3512         as part of format string.
3513         (pfatal_and_delete): Likewise.
3514         (main): Adjust call to fatal.
3515         (xmalloc): Likewise.
3517 2005-01-29  Richard M. Stallman  <rms@gnu.org>
3519         * movemail.c (popmail): Don't use Errmsg as format string.
3521 2004-12-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3523         * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
3525 2004-12-15  Andreas Schwab  <schwab@suse.de>
3527         * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
3528         preprocessing to compile time constant.
3530 2004-11-17  Kim F. Storm  <storm@cua.dk>
3532         * etags.c: Undo last change.
3534 2004-11-09  Kim F. Storm  <storm@cua.dk>
3536         * make-docfile.c (scan_c_file): Set defvarperbufferflag to
3537         silence compiler.
3539         * hexl.c (main): Init local var c to silence compiler.
3541         * etags.c (main, consider_token, C_entries): Add misc switch
3542         default targets to silence compiler.
3544 2004-11-09  Jan Djärv  <jan.h.d@swipnet.se>
3546         * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
3547         resulting DOC file can be used on Unix/Mac also.
3549 2004-09-13  Francesco Potortì  <pot@gnu.org>
3551         * etags.c (main): When relative file names are given as argument,
3552         make them relative to the current working dir, rather than
3553         relative to the output tags file, if the latter is in /dev.
3555 2004-09-13  Francesco Potortì  <pot@gnu.org>
3557         * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
3558         <stdlib.h> is available.
3559         (enum sym_type): New st_C_attribute value for parsing
3560         gcc's __attribute__.  Deleted st_C_typespec value.
3561         (gperf, in_word_set): Use gperf 3, options changed.  Added the
3562         __attribute__ keyword, removed all the st_C_typespec keywords,
3563         changed attribute for Java to (C_JAVA & !C_PLPL).
3564         (inattribute): New global bool, part of the C state machine.
3565         (cblev): Identifier renamed to bracelev throughout.
3566         (consider_token, C_entries): Numerous changes for making the
3567         parser more robust and adding support for __attribute__.
3569 2004-09-13  David A. Capello  <dacap@users.sourceforge.net>  (tiny change)
3571         * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
3572         Support the Lua scripting language <http://www.lua.org>.
3574 2004-09-08  Francesco Potortì  <pot@gnu.org>
3576         * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
3577         for ease of use.
3579 2004-07-17  Richard M. Stallman  <rms@gnu.org>
3581         * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
3583 2004-06-01  Juanma Barranquero  <lektu@terra.es>
3585         * makefile.w32-in (obj): Add image.c.
3587 2004-05-10  Thien-Thi Nguyen  <ttn@gnu.org>
3589         * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
3591 2004-05-08  Jason Rumney  <jasonr@gnu.org>
3593         * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
3594         command-lines.
3596 2004-05-08  Thien-Thi Nguyen  <ttn@gnu.org>
3598         * cvtmail.c: Throughout, replace 0 destined for `exit' arg
3599         with `EXIT_SUCCESS'.  Likewise, replace 1 with `EXIT_FAILURE'.
3600         (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
3602         * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
3603         * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
3604         * test-distrib.c, update-game-score.c, yow.c: Likewise.
3606 2004-05-08  Thien-Thi Nguyen  <ttn@gnu.org>
3608         * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
3610 2004-05-07  Thien-Thi Nguyen  <ttn@gnu.org>
3612         * b2m.c (GOOD, BAD): Delete macros.  Throughout,
3613         replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
3614         (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
3616         * etags.c: Likewise.
3618 2004-05-03  Jason Rumney  <jasonr@gnu.org>
3620         * makefile.nt: Remove.
3622 2004-04-26  Eli Zaretskii  <eliz@gnu.org>
3624         * make-docfile.c (IS_DIRECTORY_SEP): New macro.
3625         (put_filename): Remove unused variable len.  Use IS_DIRECTORY_SEP
3626         instead of a literal '/'.
3628 2004-04-23  Juanma Barranquero  <lektu@terra.es>
3630         * makefile.w32-in: Add "-*- makefile -*-" mode tag.
3632 2004-04-17  Paul Eggert  <eggert@gnu.org>
3634         * rcs2log (Help): Clarify wording of the usage message.
3635         Reported by Alan Mackenzie in
3636         <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
3638 2004-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3640         * make-docfile.c (xmalloc): Fix return type.
3641         (put_filename): New fun.
3642         (scan_file): Use it.
3644 2004-03-09  Juanma Barranquero  <lektu@terra.es>
3646         * grep-changelog: Changes to support ChangeLog.10+.
3647         (main): Tidy up usage string.  Fix "Use of uninitialized value"
3648         warning.  Set version to 0.2.  Parse the directory listing to get
3649         any ChangeLog.n file, not just 1..9.
3650         (header_match_p, entry_match_p, print_log, parse_changelog):
3651         Remove Perl prototypes (their purpose is to help the parser, which
3652         isn't needed here, not declare arguments).
3653         (parse_changelog): Make --reverse faster on big batches by not
3654         modifying the entries list.
3656 2004-03-01  Juanma Barranquero  <lektu@terra.es>
3658         * makefile.w32-in (obj): Add fringe.c.
3660 2004-02-14  Paul Eggert  <eggert@twinsun.com>
3662         * rcs2log: Work correctly if CVSROOT specifies :fork: or
3663         :local: methods, or omits the colon between the hostname
3664         and the path.  Allow :/ in repository path, since CVS does.
3665         Fix typo: "pository" should be set from $CVSROOT, not $repository.
3666         This fixes a bug reported by Wolfgang Scherer in
3667         <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
3668         along with some related bugs I discovered by inspecting how
3669         CVS itself parses $CVSROOT.
3671 2004-02-04  Jérôme Marant  <jmarant@nerim.net>  (tiny change)
3673         * emacsclient.c (decode_options): Fix handling of alternate editor.
3675 2004-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3677         * emacsclient.c (main): Don't use the hostname in the socket name.
3678         Look for relative socket names in the /tmp dir rather than in cwd.
3680 2004-01-24  Richard M. Stallman  <rms@gnu.org>
3682         * emacsclient.c (main): Restore errno from saved_errno,
3683         so the error message comes from socket_status.
3685 2004-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3687         * emacsclient.c (main): Stop if socket name too long.
3688         Only try su-fallback if the socket name was not explicit.
3689         Check socket name length in su-fallback case as well.
3691 2004-01-08  Andreas Schwab  <schwab@suse.de>
3693         * emacsclient.c (main): Save errno from socket_status.
3695 2004-01-04  Andreas Schwab  <schwab@suse.de>
3697         * emacsclient.c (main): Fix socket name when using another user.
3699 2003-12-27  Paul Eggert  <eggert@twinsun.com>
3701         * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
3702         a tag, and if the user has not specified an rlog option.
3703         Adapted from a suggestion by Martin Stjernholm in
3704         <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
3705         (Copyright): Update to 2003.
3707 2003-12-24  Thien-Thi Nguyen  <ttn@gnu.org>
3709         * make-docfile.c (main): For return code, no longer special-case VMS.
3710         Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
3712 2003-09-28  Andreas Büsching  <crunchy@tzi.de>  (tiny change)
3714         * emacsclient.c (quote_file_name): Print the result instead of
3715         returning it.  Fix the return type accordingly.
3716         (main): With --eval, if no file name, read from stdin.
3717         Quote file names.
3719 2003-09-10  Richard M. Stallman  <rms@gnu.org>
3721         * emacsclient.c (main): Use socket_name.
3723 2003-09-10  Andreas Büsching  <crunchy@tzi.de>  (tiny change)
3725         * emacsclient.c (socket_name): New variable.
3726         (longopts, decode_options, print_help_and_exit):
3727         Handle --socket-name argument.
3729 2003-08-25  Takaaki Ota  <Takaaki.Ota@am.sony.com>  (tiny change)
3731         * etags.c (consider_token): Check C++ `operator' only when the
3732         token len is long enough.
3734 2003-08-20  Dave Love  <fx@gnu.org>
3736         * Makefile.in: Remove obsolete references to alloca.
3738 2003-07-29  Ken Brush  <ken@wirex.com>
3740         * emacsclient.c (main)
3741         * etags.c (suggest_asking_for_help)
3742         * movemail.c (main): Fix having macros in a printf statement.
3744 2003-05-31  Juanma Barranquero  <lektu@terra.es>
3746         * makefile.w32-in (lisp): Fix references to byte-run.el,
3747         float-sup.el and map-ynp.el, which are now in emacs-lisp.
3749 2003-05-22  Dave Love  <fx@gnu.org>
3751         * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
3752         (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
3754 2003-05-20  Dave Love  <fx@gnu.org>
3756         * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
3758         * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
3760 2003-04-27  Oliver Scholz  <alkibiades@gmx.de>
3762         * update-game-score.c (read_scores): Fix corruption of scores on read.
3764 2003-04-12  Stefan Monnier  <monnier@cs.yale.edu>
3766         * emacsclient.c (main): Use new safe location for socket.
3768 2003-03-12  Tom Tromey  <tromey@redhat.com>
3770         * emacsclient.c (print_help_and_exit): Print to stdout.
3771         Exit successfully.  Added some blank lines for readability.
3772         (decode_options): Don't call print_help_and_exit in default case.
3773         Print version information to stdout.
3774         (main): Don't call print_help_and_exit.
3776 2003-02-15  Richard M. Stallman  <rms@gnu.org>
3778         * cvtmail.c: Cast result of malloc and realloc.
3779         Don't include stdlib.h, because config.h does.
3780         (malloc, realloc): Declarations deleted.
3782         * yow.c (yow): Cast result of malloc and realloc.
3783         (malloc, realloc): Declarations deleted.
3785 2003-02-11  Juanma Barranquero  <lektu@terra.es>
3787         * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
3789 2003-02-08  Andreas Schwab  <schwab@suse.de>
3791         * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
3792         instead of the substitution.
3794 2003-02-04  Richard M. Stallman  <rms@gnu.org>
3796         * update-game-score.c (push_score, read_scores): Cast values
3797         of malloc and realloc.
3798         (main, lock_file): Avoid assignment inside if.
3800 2003-01-31  Joe Buehler  <jhpb@draco.hekimian.com>
3802         * Makefile.in: Use @EXEEXT@ for Cygwin.
3804 2003-01-21  Dave Love  <fx@gnu.org>
3806         * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
3807         column-0 `('.
3809         * yow.c: Don't include string.h.
3811 2003-01-20  Richard M. Stallman  <rms@gnu.org>
3813         * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
3814         New targets.
3816 2003-01-06  Kim F. Storm  <storm@cua.dk>
3818         * pop.c (__P): Rename from _P to avoid problems on Cygwin.
3819         All uses changed.
3821 2002-12-18  Andrew Innes  <andrewi@gnu.org>
3823         * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
3824         because GNU make doesn't append when using >> redirection.
3826 2002-12-12  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
3828         * b2m.pl: Make sure every message ends with a blank line, because
3829         some mbox parsers require a blank line before "From " lines.
3831 2002-12-08  Richard M. Stallman  <rms@gnu.org>
3833         * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
3834         (_): Test only HAVE_LIBINTL_H to decide what to do.
3836 2002-12-05  Richard M. Stallman  <rms@gnu.org>
3838         * getopt.c: Comment out include of libintl.h or gettext.h.
3840 2002-12-04  Richard M. Stallman  <rms@gnu.org>
3842         * Update getopt from gnulib version; changes described below.
3844         * getopt1.c: Conditionally find getopt.h.
3845         [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
3847         * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
3848         (libintl.h): Include this if _LIBC.  Otherwise include gettext.h.
3849         (wchar.h): Include, maybe.
3850         (attribute_hidden): Define if not defined.
3851         (__getopt_initialized): Use attribute_hidden.
3852         (__libc_argc, __libc_argv): Rename from original_argc, etc.
3853         (__getopt_nonoption_flags, nonoption_flags_max_len)
3854         (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
3855         (SWAP_FLAGS): New definitions.
3856         (exchange): Test USE_NONOPTION_FLAGS.
3857         (_getopt_initialize): Test USE_NONOPTION_FLAGS.
3858         (_getopt_internal): Error if argc < 1.  New local var print_errors.
3859         Improve test for ambiguous long option.
3860         Add LIBIO support for error message output.
3861         (NONOPTION_P): Test USE_NONOPTION_FLAGS.
3863         * getopt.h: Maybe include ctype.h.
3864         Treat __cplusplus like __STDC__.
3865         (decls): Use __ in arg names.
3867 2002-12-02  Stephen Eglen  <stephen@gnu.org>
3869         * emacsclient.c (main): Tell user how to start server within Emacs
3870         if socket could not be found.
3872 2002-12-02  Richard M. Stallman  <rms@gnu.org>
3874         * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
3876 2002-11-19  Ben Key  <bkey1@tampabay.rr.com>
3878         * makefile.w32-in: Fixed a bug that caused the documentation for
3879         the built in function play-sound-internal not to be included in
3880         /etc/DOC.
3882 2002-11-18  Dave Love  <fx@gnu.org>
3884         * update-game-score.c: Include unistd.h, string.h, stdlib.h,
3885         fcntl.h, stdarg.h conditionally.
3886         (_GNU_SOURCE, __attribute__): Don't define.
3887         (optarg, optind, opterr): Declare.
3888         (lose, lose_syserr): Use NO_RETURN.
3889         (get_user_id): Use P_.
3891 2002-11-17  Richard M. Stallman  <rms@gnu.org>
3893         * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
3895 2002-11-14  Dave Love  <fx@gnu.org>
3897         * movemail.c (pop_retr): Declare comment.
3899         * make-docfile.c (read_c_string_or_comment): Declare msgno.
3901         * Makefile.in (YACC): Delete.
3903 2002-10-19  Andreas Schwab  <schwab@suse.de>
3905         * Makefile.in (${archlibdir}): Always create $(gamedir).
3906         (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
3908 2002-10-04  Juanma Barranquero  <lektu@terra.es>
3910         * makefile.w32-in (lisp): Load devanagari.el, not .elc.
3912 2002-09-30  Markus Rost  <rost@math.ohio-state.edu>
3914         * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
3915         completely.
3917 2002-09-27  Stefan Monnier  <monnier@cs.yale.edu>
3919         * emacsclient.c: Remove SYSV support.
3920         (eval, display): New vars.
3921         (longopts): Add --eval and --display.
3922         (decode_options): Add -e and -d processing.
3923         (print_help_and_exit): Update the usage string.
3924         (main): Add support for --eval and --display.
3925         (main): Always use /tmp and non-qualified hostname.
3927 2002-09-25  Stefan Monnier  <monnier@cs.yale.edu>
3929         * emacsserver.c: Remove.
3931 2002-09-17  Stefan Monnier  <monnier@cs.yale.edu>
3933         * emacsclient.c (quote_file_name): Quote \n.
3934         (main): Print a final \n when needed.
3936 2002-09-03  Francesco Potortì  <pot@gnu.org>
3938         * etags.c (regex_tag_multiline, readline): Never pass pfnote a
3939         string that cannot be freed.
3941 2002-08-30  Francesco Potortì  <pot@gnu.org>
3943         * etags.c (consider_token, C_entries): Switch to C++ parsing when
3944         auto-detection is enabled and the `::' qualifier is met.
3945         (consider_token, C_entries): Several bugs corrected that tagged
3946         some declarations even though --declarations was not used.
3947         (plainc): New macro.
3948         (C_entries): Use it.
3949         (C_entries): Several cosmetic changes.
3950         (C_entries): Invalidate the token is some cases.
3952 2002-08-29  Francesco Potortì  <pot@gnu.org>
3954         * etags.c (C_entries): Correct a problem with const C++ funcs.
3955         (ignoreindent): Rename from noindentypedefs.
3956         (cjava, cplpl): They are now macros instead of local vars.
3958 2002-08-28  Francesco Potortì  <pot@gnu.org>
3960         * etags.c (HTML_labels): Tag ID= also.
3962 2002-08-27  Francesco Potortì  <pot@gnu.org>
3964         * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
3966         * etags.c (HTML_labels): New language HTML.
3967         (etags_strcasecmp): Like BSD's, for compatibility.
3968         (strcaseeq): Make it into a macro.
3970         * etags.c (make_tag): Never generate null length tag names.
3971         (linebuffer_init): Rename from initbuffer.  All callers changed.
3972         (pattern): Structure renamed to `regexp', member regex renamed to
3973         pattern.
3974         (node_st): Member pat renamed to regex.
3975         (pattern); New member force_explicit_name, for future use.
3976         Now always set to true, cannot be reset.
3977         (add_regex, regex_tag_multiline, readline): Use it.
3978         (main): Free some global structures.
3979         (fdesc): New member `written'.
3980         (readline, process_file): Initialize it.
3981         (put_entries): Set it.
3982         (main): Use it to create entries for files without tags.
3983         (total_size_of_entries): Do not count invalid tags.
3985 2002-08-19  Stefan Monnier  <monnier@cs.yale.edu>
3987         * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
3988         for the function name in the usage info.
3990 2002-07-31  Colin Walters  <walters@gnu.org>
3992         * update-game-score.c (P_): New macro.  Use it for all prototypes.
3993         (lose): Don't use varargs.
3994         (lose_syserr): New function.
3996         * update-game-score.c: Change all functions to K&R style.
3998 2002-07-30  Andreas Schwab  <schwab@suse.de>
4000         * Makefile.in (localstatedir): New variable.
4002 2002-07-29  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
4004         * b2m.pl: Fix regexp for finding return address fields.
4006 2002-07-15  Stefan Monnier  <monnier@cs.yale.edu>
4008         * make-docfile.c (scan_c_file): Warn about missing `usage' info.
4010 2002-07-05  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
4012         * b2m.pl: Obey the rmail file and use the unpruned header properly.
4014 2002-06-26  Pavel Janík  <Pavel@Janik.cz>
4016         * b2m.pl: New file.
4018 2002-06-21  Francesco Potortì  <pot@gnu.org>
4020         * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
4021         (Python_functions, PHP_functions, PHP_functions, PHP_functions)
4022         (PHP_functions, PHP_functions, Cobol_paragraphs)
4023         (Makefile_targets, Postscript_functions, Texinfo_nodes)
4024         (prolog_pr, erlang_func, erlang_attribute)
4025         (Perl_functions, Perl_functions, Pascal_functions)
4026         (TeX_commands, get_tag): Use make_tag instead of pfnote.
4027         (get_tag): Prototype changed, all callers changed.
4029 2002-06-20  Francesco Potortì  <pot@gnu.org>
4031         * etags.c: Implement implicit tag names, that is, unnamed tags
4032         whose name is automatically deduced by etags.el.  The advantage is
4033         that there is no explicit tag name in most tags, so the size of
4034         the tags file is reduced, yet find-tag is able to do a match as
4035         accurate as with named tags.  See the comment in make_tag for details.
4036         (make_tag): New function (was the disabled function new_pfnote).
4037         (make_C_tag): Use it.
4039 2002-06-19  Francesco Potortì  <pot@gnu.org>
4041         * etags.c (add_regex): Invalid regexp modifiers are ignored.
4042         (Makefile_targets): Tag variables unless --no-globals.
4043         (LOOP_ON_INPUT_LINES): Serious bug corrected.
4045 2002-06-13  Francesco Potortì  <pot@gnu.org>
4047         * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
4048         (invalidate_nodes): Bug corrected.
4049         (print_help): Better help for regexps.
4051 2002-06-13  Juanma Barranquero  <lektu@terra.es>
4053         * makefile.w32-in (lisp): Add international/ucs-tables.elc and
4054         font-core.elc.
4056 2002-06-12  Francesco Potortì  <pot@gnu.org>
4058         * etags.c: New multi-line regexp and new regexp syntax.
4059         (arg_type): at_icregexp label removed (obsolete).
4060         (pattern): New member multi_line for multi-line regexps.
4061         (filebuf): A global buffer containing the whole file as a string
4062         for multi-line regexp matching.
4063         (need_filebuf): Global flag raised if multi-line regexps used.
4064         (print_help): Document new regexp modifiers, remove references to
4065         obsolete option --ignore-case-regexp.
4066         (main): Do not set regexp syntax and translation table here.
4067         (main): Treat -c option as a backward compatibility hack.
4068         (main, find_entries): Init and free filebuf.
4069         (find_entries): Call regex_tag_multiline after the regular parser.
4070         (scan_separators): Check for unterminated regexp and return NULL.
4071         (analyse_regex, add_regex): Remove the ignore_case argument, which
4072         is now a modifier to the regexp.  All callers changed.
4073         (add_regex): Manage the regexp modifiers.
4074         (regex_tag_multiline): New function.  Reads from filebuf.
4075         (readline_internal): If necessary, copy the whole file into filebuf.
4076         (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
4078 2002-06-11  Francesco Potortì  <pot@gnu.org>
4080         * etags.c (add_regex): Better check for null regexps.
4081         (readline): Check for regex matching null string.
4082         (find_entries): Reorganization.
4084 2002-06-07  Francesco Potortì  <pot@gnu.org>
4086         * etags.c (scan_separators): Support all character escape
4087         sequences supported by Gcc.
4088         (find_entries): Rewind unconditionally.
4089         (find_entries): Do not call language functions directly, now calls
4090         itself.
4091         (find_entries): Do general initializations here.
4092         (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
4093         (Ada_getit, Pascal_functions, Pascal_functions)
4094         (prolog_skip_comment): Do not do them here.
4095         (readline_internal): Increment lineno here.
4096         (readline): Conditionally undo readline_internal increment.
4097         (readline): Do not return a value.
4099 2002-06-06  Francesco Potortì  <pot@gnu.org>
4101         * etags.c: New option --parse-stdin=FILE.
4102         (enum arg_type): New label at_stdin.
4103         (STDIN): New constant.
4104         (parsing_stdin): New flag.
4105         (longopts): New option --parse-stdin=NAME.
4106         (print_help): Document it.
4107         (main): Handle it.
4108         (process_file): Split into process_file and process_file_name.
4109         (process_file_name): New function.
4111         * etags.c: Improvements and bug squashing in TeX handling.
4112         (TeX_commands): Skip comments.
4113         (TEX_defenv): Now contains more constructs.
4114         (TEX_cmt): Make it a static char and move it before TeX_commands.
4115         (TeX_commands): Shorten the tag to the brace after the name.
4116         (TeX_commands): Names now include the initial backslash.
4117         (TeX_commands): Names do not include numeric args #n.
4118         (TeX_commands): Correct line char number in tags.
4119         (TEX_tabent, TEX_token): Delete.
4120         (TeX_commands, TEX_decode_env): Streamlined.
4122 2002-06-05  Francesco Potortì  <pot@gnu.org>
4124         * etags.c (main): Avoid a buffer overrun with sprintf.
4126 2002-05-30  Richard M. Stallman  <rms@gnu.org>
4128         * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
4129         (LIBS_MOVE): Rename from MOVE_LIBS.
4131 2002-05-26  Paul Eggert  <eggert@twinsun.com>
4133         Reinstate the following change from 2002-03-22, which was
4134         inadvertently lost on 2002-04-13.
4136         * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
4137         `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
4138         the latter usage.
4140 2002-05-17  Eli Zaretskii  <eliz@is.elta.co.il>
4142         * pop.c (socket_connection): Move the code to resolve the POP
4143         host right before trying to connect with it.
4145 2002-05-05  Eli Zaretskii  <eliz@is.elta.co.il>
4147         * tcp.c: Delete file since the TCP emulation is no longer in use on any
4148         platform.
4150 2002-04-28  Colin Walters  <walters@verbum.org>
4152         * Makefile.in (${archlibdir}): Don't conditionalize on
4153         HAVE_SHARED_GAME_DIR.  Instead, test at installation time whether
4154         or not we have access to the specified game user.
4156         * update-game-score.c (SCORE_FILE_PREFIX): Delete.
4157         (main): New argument -d, for specifying directory.
4158         (usage): Document.
4159         (get_user_id): Compute.
4160         (get_home_dir): Delete.
4161         (get_prefix): New function, taken from main.
4162         (main): Check whether or not we are running setuid.  Move prefix
4163         computation to get_prefix.  Don't call getpwent; we don't need to
4164         any more.  Instead, move it to get_user_id().
4166 2002-04-24  Pavel Janík  <Pavel@Janik.cz>
4168         * ebrowse.c (skip_initializer): Return void.
4170 2002-04-23  Colin Walters  <walters@verbum.org>
4172         * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
4173         space.
4175 2002-04-22  Francesco Potortì  <pot@gnu.org>
4177         * etags.c (last_node): Make it a global variable.
4178         (process_file): Print the tags from the nodes as soon as
4179         possible, and delete the nodes.  This brings down the memory
4180         occupancy as etags to almost the same level as when the #line
4181         directives were not parsed.
4182         (free_fdesc): New function.
4183         (find_entries): Use it.
4184         (invalidate_nodes): In etags mode, do not just mark the nodes as
4185         invalid, do delete them.
4187 2002-04-21  Gerd Moellmann  <gerd@gnu.org>
4189         * ebrowse.c (add_declarator): Test *CLS instead of CLS.
4191 2002-04-16  Eli Zaretskii  <eliz@is.elta.co.il>
4193         * update-game-score.c: Move config.h before the other headers, to
4194         avoid compiler warnings.
4196 2002-04-16  Francesco Potortì  <pot@gnu.org>
4198         * etags.c (find_entries): Bug fix in list management.
4200 2002-04-15  Francesco Potortì  <pot@gnu.org>
4202         * etags.c (get_language_from_filename): Add one argument.
4203         (strcaseeq): New function.
4204         (get_language_from_filename): Use it to do a case insensitive
4205         comparison if called with appropriate args.
4206         (find_entries): Try with case insensitive match.
4207         (process_file): Bug fixed.
4209 2002-04-13  Francesco Potortì  <pot@gnu.org>
4211         * etags.c (find_entries): Delete tags previously obtained from
4212         file xxx.c's #line directives when parsing file xxx.y.  This is
4213         generally done for automatically generated files containing
4214         #line directives.  This handles the case when xxx.y is tagged
4215         before xxx.c, and the entries of xxx.c pointing to xxx.y should
4216         be discarded.
4217         (language): Add the metasource member.  Initializers changed.
4218         (invalidate_nodes): New function.
4219         (readline): Discard lines after having found a #line
4220         directive pointing to an already tagged file.  This handles the
4221         case when xxx.y is tagged before xxx.c, and the entries of
4222         xxx.c pointing to xxx.y should be discarded.
4223         (fdesc): New structure for keeping track of input files.
4224         (fdesc): Remove `file' member (a string) and use instead a pointer
4225         to a file description structure.
4226         (curfile, curfiledir, curtagfname, curlang, nocharno)
4227         (forced_lang): Global variables removed in favor of fdhead and
4228         curfdp, pointers to file description structures.
4229         (longopts, main, print_help): Use the CTAGS conditional to include
4230         or exclude options that work on etags or ctags only.
4231         (process_file, find_entries, pfnote, add_node, put_entries)
4232         (readline): Use fdhead and curfdp.
4233         (process_file, find_entries): Do not take an arg string, all
4234         callers changed.
4236         * etags.c (longopts, print_help, main): Test CTAGS to disallow
4237         options that are not right for either etags or ctags.
4239         * etags.c (number_len, total_size_of_entries): Define them also
4240         in CTAGS mode, because gcc does not compile all refs away.
4242 2002-04-14  Colin Walters  <walters@debian.org>
4244         * update-game-score.c (lock_file): If the lock file is older than
4245         an hour, delete it.  Reset attempts to zero if we have to break
4246         the lock.
4248 2002-04-14  Andreas Schwab  <schwab@suse.de>
4250         * update-game-score.c (read_score): Fix type of second parameter
4251         of getdelim to be of type size_t instead of int.  Use 0 instead of
4252         ESUCCES.
4254 2002-04-10  Colin Walters  <walters@verbum.org>
4256         * update-game-score.c (toplevel): Include stdarg.h.
4257         (MAX_DATA_LEN, MAX_SCORES): New.
4258         (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
4259         default to ~/.emacs.d/games.
4260         (get_user_id): Don't zero uid in the case where we can't get the
4261         username.
4262         (lose): New function.
4263         (main): Actually use `max', and default it to MAX_SCORES.
4264         Correctly handle new default for SCORE_FILE_PREFIX.  Use `lose'
4265         function.
4266         (read_score): Handle the case of reading unamelen characters, then
4267         finishing.  Use mktemp if mkstemp isn't available.
4268         (lock_file, unlock_file): Delete unused versions.
4269         (lock_file): Always sleep, even if we unlinked the lock file.
4271         * Makefile.in (gamedir, gameuser): New variables.
4272         (toplevel, UTILITIES): Add update-game-score.
4273         (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
4275 2002-04-07  Colin Walters  <walters@verbum.org>
4277         * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
4278         (get_user_id): Take struct passwd as an argument.
4279         (get_home_dir): New function.
4280         (main): Read in user information here.  Discover home directory if
4281         necessary.
4282         (read_score): Trim newline only in `getline' case.
4284 2002-04-05  Colin Walters  <walters@debian.org>
4286         * update-game-score.c (toplevel): Include pwd.h.
4287         (struct score_entry): Add username field.
4288         (push_score): Use it.
4289         (get_user_id): New function.
4290         (main): Don't malloc excessively.
4291         (main): Use username field.
4292         (read_score): Read it.
4293         (push_score): Handle it.
4294         (write_scores): Write it.
4295         (read_score): Handle arbitrary length data.
4297 2002-03-30  Eli Zaretskii  <eliz@is.elta.co.il>
4299         * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
4301 2002-03-29  Gerd Moellmann  <gerd@gnu.org>
4303         * ebrowse.c (add_declarator, skip_initializer): New functions.
4304         (declaration): Use them.
4306 2002-03-28  Jason Rumney  <jasonr@gnu.org>
4308         * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
4310 2002-03-27  Colin Walters  <walters@debian.org>
4312         * update-game-score.c: New file.
4314 2002-03-22  Paul Eggert  <eggert@twinsun.com>
4316         * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
4317         `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
4318         the latter usage.
4320 2002-03-12  Francesco Potortì  <pot@gnu.org>
4322         * etags.c (Python_functions): Skip spaces at beginning of lines.
4323         (Python_functions, PHP_functions): Name tags, for ctags' sake.
4324         (TeX_commands): Name tags.  Correction of old disabled code.
4326         * etags.c (curfiledir, curtagfname): New global variables.
4327         (process_file): Initialize them.
4328         (readline): Canonicalize the name found in #line directive.
4330 2002-03-06  Jason Rumney  <jasonr@gnu.org>
4332         * etags.c (put_entries): Use #if !CTAGS, to fix link error on
4333         compilers that don't optimize out dead code.
4335 2002-03-05  Francesco Potortì  <pot@gnu.org>
4337         * etags.c: Honor #line directives.
4338         (no_line_directive): New global var; set it for old behavior.
4339         (main): Remove some #ifdef in the getopt switch.
4340         (add_node, put_entries): Code added to merge different chunks of
4341         nodes referring to the same file.  Currently the tags are just
4342         appended, without any check for duplicates.
4343         (Perl_functions): Do not special case ctags.
4344         (readline): Identify #line directives and do the right thing.
4345         (nocharno, invalidcharno): New global vars.
4346         (process_file): Reset nocharno.
4347         (readline): Set nocharno.
4348         (pfnote): Read nocharno and maybe put invalidcharno in node.
4349         (total_size_of_entries, put_entries): Use invalidcharno.
4351         * etags.c: Keep the whole tag table in memory, even in etags mode.
4352         (main): Call put_entries here even in CTAGS mode.
4353         (main, process_file): Check the return values of fclose and pclose.
4354         (process_file): Do not call put_entries after parsing each file.
4355         (process_file): Canonicalize file names even for ctags.
4356         (process_file): Set curfile here...
4357         (find_entries): ... not here any more.
4358         (add_node): In etags mode, build a linked list of entries (on
4359         right pointer) for each file, and link the first entry of each
4360         file on left nodes.
4361         (put_entries): Print here the name of the file.
4362         (put_entries): Print the entries starting from the first file.
4363         (number_len, total_size_of_entries): Define these only in etags
4364         mode, make the second work only on the right nodes.
4366         * etags.c: Make all global variables static.
4368 2002-02-25  Juanma Barranquero  <lektu@terra.es>
4370         * makefile.w32-in (lisp): Add missing backslash.
4372 2002-02-24  Jason Rumney  <jasonr@gnu.org>
4374         * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
4375         using .elc files.
4376         (lisp): Sync with list in src/Makefile.in.
4377         (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
4379 2002-02-10  Paul Eggert  <eggert@twinsun.com>
4381         * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
4382         disallows the old syntax.
4384 2002-02-03  Paul Eggert  <eggert@twinsun.com>
4386         * rcs2log (Copyright): Update to 2002.
4387         (AWK, TMPDIR): Work around portability problem in broken shells that
4388         don't understand `: ${VAR=val}'.
4389         (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
4390         Prefer the new -k option to the traditional +M -N option.
4392 2002-01-01  Pavel Janík  <Pavel@Janik.cz>
4394         * b2m.c (main): Parenthesize assignment when used as truth value
4395         to prevent gcc warnings.
4397         * fakemail.c: Include <config.h>.
4399 2001-12-29  Pavel Janík  <Pavel@Janik.cz>
4401         * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
4402         * yow.c: Include <config.h>.
4404 2001-12-21  Francesco Potortì  <pot@gnu.org>
4406         * etags.c (Perl_functions): Tag packages and use them in sub tags.
4407         (get_tag): Return a pointer to the tag that is found.
4409         * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
4410         (F_takeprec): Rename from takeprec.  All callers changed.
4411         (F_getit): Rename from getit.  All callers changed.
4412         (nocase_tail): Rename from tail.  All callers changed.
4413         (Ada_getit): Rename from adagetit.  All callers changed.
4414         (L_getit): Simplify by using get_tag.
4415         (Perl_functions, Postscript_functions, erlang_attribute): Use the
4416         modified LOOKING_AT.
4417         (notinname): Remove '[' and added ')' to the recognized chars.
4418         (LOOKING_AT, get_tag, PHP_functions): Use notinname.
4419         (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
4420         Clarified, using strneq or notinname.
4421         (L_isdef, L_isquote): Remove.
4422         (Lisp_functions, L_getit): Clarified.
4424         * etags.c (P_): Rename to __P for consistency with config.h.
4425         [HAVE_CONFIG_H]: Let config.h deal with __P.
4426         [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
4427         [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
4428         gperf code needs it.
4429         [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
4430         [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
4431         (xmalloc, xrealloc): Use PTR instead of long *.
4432         (bool): Make it a define, not a typedef, for C++ compilers.
4433         (pattern): Members renamed to avoid name clash in some C++ compilers.
4434         (get_language_from_langname): Use const argument.
4436 2001-12-22  Pavel Janík  <Pavel@Janik.cz>
4438         * makefile.nt, makefile.w32-in: Remove mocklisp files.
4440 2001-12-19  Pavel Janík  <Pavel@Janik.cz>
4442         * emacsserver.c: Conditionally include config.h.
4444         * fakemail.c: Likewise.
4446         * emacsclient.c: Include "config.h", not <../src/config.h>.
4447         (main): Parenthesize assignment when used as truth value to
4448         prevent gcc warnings.
4450         * ebrowse.c: Include stdlib.h and string.h conditionally.
4452 2001-12-18  Eli Zaretskii  <eliz@is.elta.co.il>
4454         * yow.c (main): Use time_t, not long, to avoid a compiler warning.
4456 2001-12-18  Pavel Janík  <Pavel@Janik.cz>
4458         * test-distrib.c: Fix previous change.
4460 2001-12-18  Dave Love  <fx@gnu.org>
4462         * test-distrib.c: Conditionally include fcntl.h.
4464         * fakemail.c: Include "config.h", not <../src/config.h>.
4465         (_XOPEN_SOURCE): Define as 500.
4467         * emacsserver.c: Include "config.h", not <../src/config.h>.
4469         * cvtmail.c: Include config.h, stdlib.h.
4470         (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
4472         * yow.c: Conditionally include various headers.  Use "epaths.h",
4473         not <../src/epaths.h>.
4474         (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
4476 2001-12-12  Francesco Potortì  <pot@gnu.org>
4478         * etags.c (PHP_functions): New function for parsing PHP.
4479         (LOOKING_AT): New macro.
4480         (Perl_functions, Python_functions, PHP_functions)
4481         (Scheme_functions, Texinfo_nodes): Use it.
4482         (Perl_functions): Use strneq.
4483         (prolog_pred): Rename to prolog_pr.
4484         (prolog_pr): Recognize Prolog rules in addition to predicates.
4485         [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
4486         unmodified compile, as Cygwin's regex.h is incompatible with us.
4487         [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
4489 2001-12-11  Richard M. Stallman  <rms@gnu.org>
4491         * Makefile.in (clean): Don't delete ../etc/DOC*.
4493 2001-12-11  Pavel Janík  <Pavel@Janik.cz>
4495         * COPYING: Moved back.
4497 2001-11-30  Andrew Innes  <andrewi@gnu.org>
4499         * makefile.w32-in (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT)
4500         (WINNT_SUPPORT, lisp): Reference .el files instead of .elc files,
4501         to simplify bootstrapping.
4502         ($(DOC)): Change dependency to just `make-docfile'.
4504 2001-11-29  Pavel Janík  <Pavel@Janik.cz>
4506         * COPYING: Removed.
4508 2001-11-28  Paul Eggert  <eggert@twinsun.com>
4510         * rcs2log (Copyright): Add '(C)' as per coding guidelines.
4512         The following changes are derived from suggestions by Bob Chapman
4513         <rechapman@compuserve.com>.
4515         * rcs2log (printlogline): Also allow tab and newline to separate
4516         '(function):' from the rest of a comment.
4517         (reformat the sorted log entries): Require date and author to
4518         match the clumpname.
4520 2001-11-16  Gerd Moellmann  <gerd@gnu.org>
4522         * ebrowse.c (matching_regexp): Escape '\\'.
4524 2001-11-15  Pavel Janík  <Pavel@Janik.cz>
4526         * Makefile.in: Add support for --program-prefix, --program-suffix
4527         and --program-transform-name options.
4529 2001-11-03  Richard M. Stallman  <rms@gnu.org>
4531         * cvtmail.c (xrealloc): Always pass two args to `fatal'.
4533         * movemail.c (popmail): Always pass two args to `error'.
4535 2001-10-24  Ken Raeburn  <raeburn@gnu.org>
4537         * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
4538         -lhesiod and maybe -lresolv.
4539         (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
4540         support if it's available.
4542 2001-10-21  Miles Bader  <miles@gnu.org>
4544         * make-docfile.c (struct rcsoc_state): New type.
4545         (read_c_string_or_comment): Add SAW_USAGE
4546         parameter, and implement scanning for a `usage:' keyword.
4547         Use a variable of type `rcsoc_state' to hold most of our state.
4548         (put_char): Add STATE parameter, and remove all other parameters
4549         except CH.  Use STATE to get access to all needed state.
4550         (scan_keyword_or_put_char): New function.
4551         (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
4552         Don't output a usage-string if there was one in the doc-string.
4554 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
4556         * (Version 21.1 released.)
4558 2001-10-19  Pavel Janík  <Pavel@Janik.cz>
4560         * b2m.c: Properly spell the name of Emacs.
4562 2001-10-17  Miles Bader  <miles@gnu.org>
4564         * make-docfile.c (put_char): New function.
4565         (read_c_string_or_comment): Strip trailing spaces and newlines.
4567 2001-10-16  Miles Bader  <miles@gnu.org>
4569         * make-docfile.c (scan_c_file): Handle `new style' doc strings in
4570         comments [with `doc:' keyword prefix].
4572 2001-10-15  Gerd Moellmann  <gerd@gnu.org>
4574         * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
4575         in a C doc comment.
4577 2001-10-13  Gerd Moellmann  <gerd@gnu.org>
4579         * make-docfile.c (read_c_string_or_comment): Rename from
4580         read_c_string.  Add parameter COMMENT.  Read C-style comments.
4581         (scan_c_file): Handle doc strings in C comments.
4583 2001-10-12  Andrew Innes  <andrewi@gnu.org>
4585         * makefile.nt (ALL): Do not include fakemail.
4587         * makefile.w32-in (install): Do not copy fakemail.
4589 2001-10-10  Jason Rumney  <jasonr@gnu.org>
4591         * makefile.w32-in (ALL): Do not include fakemail.
4593         * makefile.nt (install): Ditto.
4595 2001-10-09  Gerd Moellmann  <gerd@gnu.org>
4597         * emacsserver.c (main): Cast geteuid in sprintf to int.
4599         * emacsclient.c (main): Cast isdigit argument to unsigned char.
4601 2001-10-07  Pavel Janík  <Pavel@Janik.cz>
4603         * profile.c: Include config.h, not ../src/config.h.
4604         Include systime.h, not ../src/systime.h.
4606 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
4608         * Branch for 21.1.
4610 2001-10-01  Alexander Zhuckov  <zuav@int.spb.ru>
4612         * ebrowse.c (struct alias): Add two new struct members: NAMESP and
4613         ALIASEE to help work with namespace aliases.
4614         (struct sym): Remove struct member NAMESP_ALIASES.
4615         (namespace_alias_table): New variable.
4616         (make_namespace): Add parameter CONTEXT.
4617         (check_namespace): New function.
4618         (find_namespace): Add parameter CONTEXT.
4619         (check_namespace_alias): New function.
4620         (register_namespace_alias): Change type of parameter OLD_NAME.
4621         Search for already defined alias in NAMESPACE_ALIAS_TABLE.
4622         (check_namespace): New function.
4623         (enter_namespace): Call find_namespace with CONTEXT parameter.
4624         (match_qualified_namespace_alias): New function.
4625         (parse_qualified_ident_or_type): Fix typo in comment.
4626         While parsing qualified ident or type update namespace context and
4627         restore it on exit.
4628         (parse_qualified_param_ident_or_type): Fix typo in comment.
4629         (globals): Change handling of namespace aliases.
4630         (version): Add year 2001.
4632 2001-09-15  Eli Zaretskii  <eliz@is.elta.co.il>
4634         * etags.c (analyse_regex): If regex_arg is NULL, return
4635         immediately after a call to free_patterns.
4637 2001-09-05  Paul Eggert  <eggert@twinsun.com>
4639         * rcs2log (Help, mainline code): Add new option -L FILE.
4640         (Copyright): Update year.
4641         (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
4642         (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
4643         C locale.
4644         (mainline code): Handle nonstandard -u option differently, by
4645         transforming it to standard form.  Check for "Working file: ", not
4646         "Working file:".  Allow file names with spaces.
4647         (SOH, rlogfile): New shell vars.
4648         (rlogout): Remove.  Its old functionality is mostly migrated to
4649         rlogfile.
4651         Append ';;' to the last arm of every case statement, for
4652         portability to ancient broken BSD shells.
4654         (logins): Fix bug; was not being computed at all, lowering performance.
4655         (pository): New var.  This fixes some bugs where repositories are
4656         remote, or have trailing slashes.
4657         (authors): $llogout is never an empty shell var, so don't worry
4658         about that possibility.
4659         (printlogline, mainline code): Fix bug with SOH's being put into
4660         the output.
4662 2001-09-01  Eli Zaretskii  <eliz@is.elta.co.il>
4664         * ebrowse.c (SEEK_END): #define if not defined by system headers.
4665         Suggested by Dave Love <d.love@dl.ac.uk>.
4667 2001-08-29  Eli Zaretskii  <eliz@is.elta.co.il>
4669         * makefile.nt (lisp): Synchronize with src/Makefile.in.
4670         * makefile.w32-in (lisp): Ditto.
4672 2001-07-25  Juanma Barranquero  <lektu@terra.es>
4674         * grep-changelog (parse_changelog): Remove unused local variable.
4676         * grep-changelog (main): Add new option --reverse.
4677         (print_log): Use it.
4678         (parse_changelog): Use it.
4680 2001-07-20  Gerd Moellmann  <gerd@gnu.org>
4682         * grep-changelog: Remove RCS Id keyword.
4684 2001-07-20  Juanma Barranquero  <lektu@terra.es>
4686         * grep-changelog (parse_changelog): Add tests for defined values
4687         to quiet warning from Perl 5.005 or above.
4688         (entry_match_p, header_match_p): Fix handling of null or empty
4689         argument to prevent duplicate headers.
4691         * grep-changelog (main, parse_changelog): Make "use strict"-clean.
4693 2001-07-17  Jan Nieuwenhuizen  <janneke@gnu.org>
4695         * emacsclient.c (print_help_and_exit): Fix help message for
4696         +LINE:COLUMN option.
4698 2000-07-17  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
4700         * emacsclient.c (main): Add support for +LINE:COLUMN command line
4701         argument.
4703 2001-07-16  Gerd Moellmann  <gerd@gnu.org>
4705         * ebrowse.c (main): Check that the output file exists and
4706         is non-empty if invoked with `--append'.
4708 2001-05-14  Francesco Potortì  <pot@gnu.org>
4710         * etags.c (add_regex): Reset the whole newly allocated pattern
4711         buffer instead of the individual members.  It's safer and works
4712         with XEmacs.
4714         * etags.1: Markups corrected.
4716 2001-05-08  Gerd Moellmann  <gerd@gnu.org>
4718         * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
4720 2001-05-03  Gerd Moellmann  <gerd@gnu.org>
4722         * ebrowse.c (globals): Fix handling of namespace aliases.
4724 2001-04-27  Eli Zaretskii  <eliz@is.elta.co.il>
4726         * etags.c (print_help): Enclose the regexp in the help text
4727         example in quotes.
4729 2001-04-05  Dave Love  <fx@gnu.org>
4731         * emacsclient.c (fail): Don't return a value.
4732         (main): Cast uid values for sprintf.
4734 2001-04-03  Gerd Moellmann  <gerd@gnu.org>
4736         * emacsclient.c (fail, main): Don't use implicit int return type.
4738         * b2m.c (main): Always return a value.
4740 2001-03-02  Gerd Moellmann  <gerd@gnu.org>
4742         * ebrowse.c (parse_qualified_param_ident_or_type): Return a
4743         freshly allocated object in *LAST_ID.
4744         (read_line): Accept \r\n line endings.
4746 2001-02-24  Andrew Innes  <andrewi@gnu.org>
4748         * makefile.w32-in: Fix copyright notice.
4750 2001-02-23  Francesco Potortì  <pot@gnu.org>
4752         * etags.c (enum sym_type): New label st_C_template.
4753         (gperf input): Use it for switching to C++ from C.
4754         (consider_token): Do it.
4755         (C_entries): Initialize typdefcblev to quiet compilers.
4756         [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
4758 2001-02-22  Andrew Innes  <andrewi@gnu.org>
4760         * makefile.nt ($(BLD)\movemail.obj): Remove reference to
4761         VMS header files.
4762         ($(BLD)\profile.obj): Ditto.
4764         * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
4765         VMS header files.
4766         ($(BLD)/profile.$(O)): Ditto.
4768 2001-02-05  Andrew Innes  <andrewi@gnu.org>
4770         * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
4771         invocation of make-docfile, to work with Windows 2000.
4773 2001-01-31  Dave Love  <fx@gnu.org>
4775         * etags.c (in_word_set): Use `static' in definition (for pcc).
4777 2001-01-31  Francesco Potortì  <pot@gnu.org>
4779         * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
4780         the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
4781         (C_entries): Tag token renamed to still_in_token because sunos4
4782         pcc wants to expand it as the token() macro even though it has no
4783         arguments.
4785 2001-01-30  Andrew Innes  <andrewi@gnu.org>
4787         * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
4788         bug in the Mingw32 assert.h header file.
4790 2001-01-30  Francesco Potortì  <pot@gnu.org>
4792         * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
4793         #define it for the sake of XEmacs.
4794         [WINDOWSNT]: #undef HAVE_NTGUI even if built without
4795         HAVE_CONFIG_H.  This change only affects a standalone etags.
4796         [WINDOWSNT]: #undef DOS_NT and #define it even if built with
4797         HAVE_CONFIG_H.  This change does nothing in Emacs, as DOS_NT is
4798         always defined when HAVE_CONFIG_H and WINDOWS are both defined.
4799         [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
4800         WINDOWSNT, as this is the correct way to use it.
4802 2001-01-28  Francesco Potortì  <pot@gnu.org>
4804         * etags.c: Be capable to parse nested struct-like structures.
4805         (structdef, structtag): Struct state machine revisited.
4806         (struct tok): Revisited.
4807         (cstack, nestlev, instruct): New struct and macros.
4808         (pushclass_above, popclass_above, write_classname): New functions
4809         for dealing with nested class names.
4810         (consider_token, make_C_tag, C_entries): Many changes for dealing
4811         with arbitrarily nested structures.
4812         (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
4813         (C_entries): Consider templates in C++.
4814         (sym_type): New constant st_C_class for detecting "class" also in
4815         C mode.
4816         (C_AUTO): New macro for automatic detection of C++.
4817         (consider_token): Automatic set C++ mode.
4818         (C_entries): New security check for yacc.
4819         (print_language_names, print_help): Mention the autodetect
4820         feature, do not show help for the -C option, now mostly useless.
4821         (C_entries): Tag C++ forward declarations if --declarations.
4822         (C_entries): Don't be fooled by things like XDEFUN.
4823         (consider_token): Discard asm pseudo function.
4825 2001-01-27  Eli Zaretskii  <eliz@is.elta.co.il>
4827         * etags.c: Add a coding: tag.
4829 2001-01-26  Gerd Moellmann  <gerd@gnu.org>
4831         * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
4832         New variables.
4833         (matching_regexp): Use them instead of static variables in
4834         function scope.
4836 2001-01-25  Francesco Potortì  <pot@gnu.org>
4838         * etags.c (struct tok): Rename from struct token.
4839         (token): Rename from tok.
4840         (structtype): Make it a local variable.
4841         [DEBUG]: Use assert.
4842         (xrnew): Change the synopsis.
4843         (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
4844         (grow_linebuffer): Don't call xrnew when not needed.
4845         (token): Buffer renamed to line.
4846         (C_entries): Three calls to inibuffer moved here from main.
4847         (C_entries): Remove all references to var methodlen, delete it.
4848         (linebuffer_setlen): Was grow_buffer, now also sets len.
4849         (consider_token, C_entries, Pascal_functions): Use it.
4850         (C_entries): Preventing problems relative to extern "C".
4851         (C_entries): Can tag more than one variable or func separated by
4852         comma when --declarations is used.
4853         (C_entries): More accurate tagging of members and declarations.
4854         (yacc_rules): Was global, made local to C_entries.
4855         (next_token_is_func): Remove.
4856         (fvdef): New constants fdefunkey, fdefunname.
4857         (consider_token, C_entries): Use them.
4858         (C_entries): Build proper lisp names for Emacs DEFUNs.
4860 2001-01-22  Gerd Moellmann  <gerd@gnu.org>
4862         * ebrowse.c (xfree): New function.
4863         (member, declaration, globals): Use xmalloc instead of alloca.
4865 2001-01-15  Francesco Potortì  <pot@gnu.org>
4867         * etags.c (print_language_names): Print filenames in addition to
4868         suffixes.
4870 2001-01-14  Francesco Potortì  <pot@gnu.org>
4872         * etags.c (get_language_from_langname): Rename from
4873         get_language_from_name.
4874         (get_language_from_filename): Rename from get_language_from_suffix.
4875         Now first looks for the complete file name.
4876         (language): New member char **filenames.
4877         (Makefile_filenames): List of possible filenames for makefiles.
4878         (lang_names): Add a NULL member for every entry, added an entry
4879         for makefiles.
4880         (Makefile_targets): New function.
4881         (Texinfo_nodes): Rename from Texinfo_functions and made
4882         it conformant to the style of the rest of the code.
4884 2001-01-13  Gerd Moellmann  <gerd@gnu.org>
4886         * make-docfile.c (write_c_args): Print newlines as spaces.
4888 2001-01-06  Andrew Innes  <andrewi@gnu.org>
4890         * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
4891         of *.pdb.
4893 2001-01-03  Paul Eggert  <eggert@twinsun.com>
4895         * rcs2log: Avoid security hole allowing attacker to
4896         cause user of rcs2log to overwrite arbitrary files, fixing
4897         a bug reported by Morten Welinder.
4899         Don't put "exit 1" at the end of the exit trap; it's
4900         ineffective in POSIX shells.
4902 2001-01-02  Gerd Moellmann  <gerd@gnu.org>
4904         * ebrowse.c (yyerror): Change to take two arguments.
4905         Add prototype.  Change callers.
4907 2001-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
4909         * ebrowse.c (enter_namespace, main): Cast variables to shut up
4910         compiler warnings.
4911         (yyerror): Change parameter declarations to be of type long, so
4912         that they can take pointers on 64-bit platforms.
4914         * emacsclient.c (main): Remove unused local variable statbfr.
4915         (main) <homedir>: Make its declaration conditional on
4916         SERVER_HOME_DIR, to avoid compiler warnings.
4918         * emacsserver.c (main) <homedir>: Make its declaration conditional
4919         on SERVER_HOME_DIR, to avoid compiler warnings.
4921         * fakemail.c (readline): Cast buffer to "long *" to pacify
4922         over-zealous compilers.
4924 2000-12-16  Eli Zaretskii  <eliz@is.elta.co.il>
4926         * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
4928 2000-12-15  Gerd Moellmann  <gerd@gnu.org>
4930         * ebrowse.c (operator_name): Cast argument of isalpha to
4931         unsigned char.
4933         * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
4934         Use them throughout instead of ctype functions/macros.
4935         (lowcase): Cast to unsigned char.
4936         (UPCASE): New macro.
4937         (canonicalize_filename): Use UPCASE instead toupper.
4939         * fakemail.c (get_keyword): Make sure that isspace and
4940         similar aren't called with a negative argument.
4942 2000-12-13  Dave Love  <fx@gnu.org>
4944         * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
4946 2000-12-06  Andrew Innes  <andrewi@gnu.org>
4948         * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
4949         don't know the real version, and I can't seem to get the quoting
4950         right in all circumstances.
4952         * ebrowse.c (VERSION): Provide default definition, like etags.c
4953         does, because Windows build can't snarf this from version.el.
4955 2000-11-30  Andrew Innes  <andrewi@gnu.org>
4957         * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
4958         (install): Ditto.
4960 2000-11-23  Jason Rumney  <jasonr@gnu.org>
4962         * makefile.w32-in: Add targets for ebrowse.exe.
4963         (LOCAL_FLAGS): Add -DVERSION flag.
4965 2000-09-25  Dave Love  <fx@gnu.org>
4967         * sorted-doc.c: Include config.h.
4968         [!HAVE_STDLIB_H]: Declare malloc.
4970 2000-09-14  Andrew Innes  <andrewi@gnu.org>
4972         * makefile.w32-in: Revert to Unix line endings.
4974 2000-09-04  Dave Love  <fx@gnu.org>
4976         * movemail.c (index, rindex): Prototype conditionally.
4978 2000-09-03  Andrew Innes  <andrewi@gnu.org>
4980         * makefile.w32-in: Change to DOS line endings.
4982 2000-09-01  Eli Zaretskii  <eliz@is.elta.co.il>
4984         * movemail.c (toplevel): Remove redundant fcntl.h.
4985         [!F_OK]: Provide default definitions only after including both
4986         fcntl.h and unistd.h.
4988 2000-08-29  Dave Love  <fx@gnu.org>
4990         * movemail.c: Revert previous change.
4992 2000-08-29  Eli Zaretskii  <eliz@is.elta.co.il>
4994         * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
4996 2000-08-28  Dave Love  <fx@gnu.org>
4998         * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
4999         (toplevel) [HAVE_STRINGS_H]: Include strings.h.
5001 2000-08-22  Andrew Innes  <andrewi@gnu.org>
5003         * ntlib.h (WIN32): Remove unnecessary definition.
5004         (sleep): Make argument unsigned long.
5005         (_WINSOCK_H): Undefine so normal winsock definitions can be used.
5007         * ntlib.c (sleep): Make argument unsigned long.
5009         * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
5011         * makefile.w32-in: New file.
5013 2000-08-20  Eli Zaretskii  <eliz@is.elta.co.il>
5015         * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
5016         letter only if it is a drive letter.
5018 2000-07-14  Gerd Moellmann  <gerd@gnu.org>
5020         * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
5022         * etags.c (xmalloc, xrealloc): Make externally visible, for use
5023         by alloca.o.
5025         * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
5027 2000-07-10  Gerd Moellmann  <gerd@gnu.org>
5029         * ebrowse.c (yylex): Accept string literals with newlines in them.
5030         (process_pp_line): Handle case of string literal with newline
5031         in it in replacement text, which counts as continuing the
5032         replacement text in GNU C.
5034 2000-07-02  Gerd Moellmann  <gerd@gnu.org>
5036         * ebrowse.c (token_string): Add missing tokens.
5037         (parm_list): Handle case of qualified pointers.
5039 2000-06-23  Dave Love  <fx@gnu.org>
5041         * ebrowse.c: Move config.h before other includes (which may use
5042         feature tests).
5044 2000-06-14  Jim Meyering  <meyering@lucent.com>
5046         * grep-changelog: Fix typos in comments.  Remove trailing blanks.
5048 2000-06-11  Jason Rumney  <jasonr@gnu.org>
5050         * makefile.nt: Add targets for ebrowse.
5052         * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
5053         compare filenames.
5055 2000-06-06  Gerd Moellmann  <gerd@gnu.org>
5057         * ebrowse.c (ymalloc): Rename from xmalloc.
5058         (yrealloc): Rename from xrealloc.
5060 2000-05-21  Dave Love  <fx@gnu.org>
5062         * movemail.c: Include config.h, not ../src/config.h.
5063         (Errmsg): Bump length.
5065         * pop.c (ERROR_MAX): Increase to 160.
5067 2000-05-04  Gerd Moellmann  <gerd@gnu.org>
5069         * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
5071 2000-05-02  Eli Zaretskii  <eliz@is.elta.co.il>
5073         * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
5074         Define to semi-colon.
5075         (FILENAME_EQ): New macro, for comparing file names.
5076         (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5077         (process_file): Don't assume that fread always reads as many bytes
5078         as it was told to (DOS-style CR-LF text files fail this logic).
5079         (open_file): Allocate enough space for path->path plus the file
5080         name and the slash.
5082 2000-04-19  Dave Love  <fx@gnu.org>
5084         * etags.c (Texinfo_functions): New function.
5085         (lang_names): Install it.
5086         (Texinfo_suffixes): New variable.
5088 2000-04-19  Gerd Moellmann  <gerd@gnu.org>
5090         * ebrowse.c (xmalloc, xrealloc): Rewritten.
5091         (declaration): Remove parameter IS_EXTERN.
5092         (class_definition): Remove unused variable.
5094 2000-04-09  Gerd Moellmann  <gerd@gnu.org>
5096         * Makefile.in (INSTALLABLES): Add ebrowse.
5097         (ebrowse): New target.
5099         * ebrowse.c: New file.
5101 2000-03-29  Andreas Schwab  <schwab@suse.de>
5103         * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
5105 2000-03-02  Gerd Moellmann  <gerd@gnu.org>
5107         * etags.c (lisp_suffixes): Add `LSP'.
5109 2000-02-10  Francesco Potortì  <pot@gnu.org>
5111         * etags.c (iswhite): Redefine not to consider '\0' as white
5112         space, and use it throughout in place of isspace, thus preventing a
5113         potential signed char to int conversion problem.
5114         (MSDOS): #undefine before redefining.
5116 2000-02-04  Francesco Potortì  <pot@gnu.org>
5118         * etags.c (many functions): Add prototypes.
5120 2000-02-10  Dave Love  <fx@gnu.org>
5122         * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
5123         (erlang_func): Add `static' to definitions to keep pcc happy.
5125 2000-01-31  Francesco Potortì  <pot@gnu.org>
5127         * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
5128         (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
5129         (etags_strchr, etags_strrchr): Use const char * and int as arguments.
5130         (getenv, getcwd): Only declare them if necessary.
5131         (EMACS_NAME): New constant macro.
5132         (print_version): Use it.
5133         (P_) [__STDC__]: Macro for defining function prototypes.
5135 2000-01-18  Fabrice Popineau  <Fabrice.Popineau@supelec.fr>
5137         * etags.c [WINDOWSNT]: #include <direct.h>
5139 2000-01-18  Martin Buchholz  <martin@xemacs.org>
5141         * etags.c (all functions): Made them static.
5142         (all functions): Write prototypes.
5144 2000-01-29  Richard M. Stallman  <rms@caffeine.ai.mit.edu>
5146         * movemail.c (main): Improve error message if can't create lock file.
5148 2000-01-28  Eric Hanchrow  <offby1@blarg.net>
5150         * emacsclient.c (socket_status): New function.
5151         (main): If $LOGNAME or $USER exist and differ from our euid, look
5152         for a socket based on the UID associated with the name.
5154 2000-01-12  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
5156         * emacsclient.c: Add option -a EDITOR and environment variable
5157         ALTERNATE_EDITOR.  Exec this editor if we fail to contact Emacs.
5159 1999-12-10  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5161         * movemail.c (popmail): Allow mailbox specifications of the
5162         form `po:username:hostname'.
5164 1999-11-19  Francesco Potortì  <pot@gnu.org>
5166         * etags.c (_GNU_SOURCE): Define only if undefined.
5167         (get_scheme): Declaration deleted.
5168         (main): Error was called with an integer as second arg, instead of
5169         a char pointer.
5170         (canonicalize_filename): Bug removed.
5172 1999-11-18  Dave Love  <d.love@dl.ac.uk>
5174         * etags.c (C_entries): Rename label `intoken', avoiding K&R
5175         lossage from name clash with macro.
5177 1999-11-13  Gerd Moellmann  <gerd@gnu.org>
5179         * Makefile.in (b2m): Add dependency on GETOPTDEPS.
5181 1999-11-03  Gerd Moellmann  <gerd@gnu.org>
5183         * etags.c (print_help): Change email address to send bugs to.
5185 1999-11-01  Francesco Potortì  <pot@gnu.org>
5187         * etags.c: Add suffix psw for PSWrap.
5188         (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
5189         (Postscript_functions): Add code for PSWrap.
5190         (Scheme_functions): Use local pointer and new get_tag function.
5191         (get_tag): New name for old get_scheme.
5192         (process_file): Do not free NULL when file does not exist.
5193         (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
5194         (C_entries): Modifications that make --members tag even inside
5195         typedefs and C nested structs (one level only).
5196         (consider_token): Correct a bug which prevented tagging of enum
5197         constants.
5198         (C_stab_entry): Add if, for, while, switch, return as
5199         st_C_ignore.  This makes it simpler to work when cblev!=0.
5201         * etags.c (C_entries): Tag member function declarations when
5202         --declarations is used.
5204         * etags.c (C_entries, consider_token): C++ `operator' now is
5205         tagged in most cases.
5206         As before, :: is not recognized if surrounded by spaces.
5208         * etags.c (relative_filename): Account for DOS file names such
5209         that is impossible to make one relative to another.
5211         * etags.c (sym_type): New st_C_extern tag.
5212         (gperf input): Use it for spotting external declarations.
5213         (print_help): Document the new behavior of --declarations.
5214         (fvextern): New global variable.
5215         (consider_token, C_entries): Use it.
5217         * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
5218         (etags_getcwd): Remove test for WINDOWSNT.
5220         * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
5221         foo.cgz, foo.cz, etc.
5223         * etags.c (declarations): New global switch.
5224         (longopts): Describe it.
5225         (print_help): Document it.
5226         (C_entries): Use it.
5227         (process_file): Don't process a file twice.
5229         * etags.c (Fortran_functions): No tags for "procedure".
5231 1999-11-01  Eli Zaretskii  <eliz@is.elta.co.il>
5233         * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
5234         non-zero, returns a pointer to where the extension begins; callers
5235         changed.
5236         [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
5237         were foo.c.gz.
5239 1999-11-01  Francesco Potortì  <pot@gnu.org>
5241         * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
5242         (fvdev): New constant foperator.
5243         (consider_token): Use it to get "operator" in C++.
5244         (C_entries): Extend length of operator@ function name.
5245         (C_entries): Use foperator when necessary.
5247         * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
5249         * etags.c (compressor): New struct for compressed files.
5250         (get_compressor_from_suffix): New function.
5251         (get_language_from_suffix): Use it.  Also, semantics changed.
5252         (process_file): Consider compressed files, close file.
5253         (find_entries): Use different call arg for get_language_from_suffix,
5254         don't close file.
5256         * etags.c (main): Call free_tree.
5257         (find_entries): Do not free curfile.
5258         (pfnote): Cosmetic change: NULL and '\0' where appropriate.
5259         (prolog_pred, erlang_func, substitute): Cast strlen to int when
5260         comparing.
5261         (canonicalize_filename): Shut up compiler warning.
5262         (Perl_functions): Make tag significant.
5264 1999-11-01  Dave Love  <d.love@dl.ac.uk>
5266         * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
5267         (argument_type): New member at_icregexp.
5268         (lc_trans): New global.
5269         (main): Fill lc_trans.  Process -c args.
5270         (add_regex): New arg determining whether to use translation table.
5271         (analyse_regex): New arg.  Use it for add_regex.
5273 1999-11-01  Francesco Potortì  <pot@gnu.org>
5275         * etags.c (init): Cosmetic change: NULL --> '\0'.
5276         (erlang_attribute): Bug corrected (uninitialized variable).
5277         (filename_is_absolute): New function replaces absolutefn macro and
5278         corrects a bug.  All callers changed.
5279         (canonicalize_filename): New function.
5280         (process_file, etags_getcwd, absolute_dirname): Use it.
5281         (relative_filename, absolute_filename): Remove var shadowing.
5282         (C_entries, Pascal_functions): Add fake initializations to keep
5283         compilers quiet.
5284         (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
5286         * etags.c (xrnew): New macro.  All callers of xrealloc changed.
5287         (language): New typedef (was struct lang_entry).
5288         (curlang): New global variable.
5289         (node): Typedef renamed from NODE.
5290         (linebuffer): New typedef (was struct linebuffer).
5291         (pattern): New typedef (was struct pattern).  Some members added.
5292         Now used as element of a linked list.
5293         (patterns, num_patterns): Global variables deleted.
5294         (p_head): New global variable.
5295         (forced_lang): New global variable (replaces lang_func).
5296         (get_language_from_name, get_language_from_interpreter)
5297         (get_language_from_suffix): Semantics changed.  All callers changed.
5298         (last_node): New global variable.
5299         (free_tree, add_node, put_entries, total_size_of_entries):
5300         Change name of local vars to avoid clashes with typedef node.
5301         (number_len): Rewritten for elegance.
5302         (token): New typedef replaces TOKEN.
5303         (analyse_regex, add_regex): Rewritten for new functionality.
5304         (free_patterns): New function called from main and add_regex.
5305         (initbuffer, readline_internal, readline, grow_linebuffer):
5306         Change name of local vars to avoid clashes with typedef linebuffer.
5307         (readline): Rewritten for new functionality.
5309         * etags.c (Scheme_suffixes): New suffix ".ss".
5310         (print_help): --globals is now used for more than C-type languages.
5311         (Perl_functions): Tag global variables ("my" and "local").
5313         * etags.c (print_help): Some messages clarified.
5314         (LOOP_ON_INPUT_LINES): New macro.
5315         (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
5316         (Python_functions, Cobol_paragraphs, Pascal_functions)
5317         (Lisp_functions, Postscript_functions, Scheme_functions)
5318         (TeX_functions, Prolog_functions, Erlang_functions): Use it.
5319         (Cobol_paragraphs, Postscript_functions, TeX_functions)
5320         (Prolog_functions, Erlang_functions): Use a local variable instead
5321         of the global variable dbp.
5322         (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
5323         standard indentation.
5325         * etags.c (Python_suffixes, lang_names, Python_functions):
5326         Python support.
5327         (skip_spaces, skip_non_spaces): Utility functions.
5328         (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
5329         (Python_functions, L_getit, Lisp_functions, Scheme_functions)
5330         (prolog_pred, erlanf_func, erlang_attribute): Use them.
5331         (eat_white): Delete.
5333         * etags.c (CHAR, init): Keep into account non US-ASCII
5334         characters and compilers with default signed chars.
5335         (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
5336         constructs.
5337         (C_stab_entry): "interface" in Java behaves like "class".
5339         * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
5340         (main): Put interval syntax here.
5341         (add_regex): And remove it from here.
5343         * etags.c (suggest_asking_for_help): Provide a
5344         meaningful help message with and without LONG_OPTIONS.
5346         * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
5347         <stdlib.h, string.h>: Don't test MSDOS when including them.
5348         (white, nonam, endtk): Like elsewhere, use \r instead of \013.
5349         (put_entries): Correctly use %ld instead of %d in printf.
5351         * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
5352         declare getcwd if HAVE_GETCWD.
5353         (consider_token): Dead break instruction removed.
5355 1999-10-19  Paul Eggert  <eggert@twinsun.com>
5357         Add support for large files.  Merge glibc 2.1.2.
5359         * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
5360         * movemail.c, pop.c:
5361         Do not include <stdlib.h>, as <config.h> does this now.
5363         * b2m.c, emacsserver.c, etags.c, profile.c:
5364         Include <config.h> before any system include files.
5366         * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
5367         * test-distrib.c:
5368         (read, write, open, close): Do not undef.
5370         * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
5371         (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
5373         * getopt.h: Adopt glibc 2.1.2.
5375 1999-10-15  Dave Love  <fx@gnu.org>
5377         * Makefile.in (pop.o): Depend on config.h.
5379 1999-10-11  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5381         * pop.c: Use "pop3" as the POP service name on all platforms,
5382         instead of using "pop" on Unix and "pop3" on Windows NT.  "pop3"
5383         has been the standard service name since RFC 1340 was published in
5384         July 1992, so I think it's safe to start using it by default.
5386 1999-09-27  Dave Love  <fx@gnu.org>
5388         * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
5390 1999-09-19  Richard M. Stallman  <rms@caffeine.ai.mit.edu>
5392         * make-docfile.c (scan_lisp_file): Fix previous changes;
5393         swallow CRLF like just CR or just LF.
5395 1999-09-03  Richard Stallman  <rms@gnu.org>
5397         * make-docfile.c: Include config.h not ../src/config.h.
5398         (main, fopen, chdir): Add #undef.
5399         (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
5400         (scan_lisp_file): Handle \r like \n.
5402 1999-08-30  Andreas Schwab  <schwab@gnu.org>
5404         * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
5406         * emacsserver.c: Include <stdlib.h> if available.  Don't declare
5407         errno if it's a macro.
5409         * test-distrib.c: Include <unistd.h> if available.
5411 1999-08-29  Richard Stallman  <rms@gnu.org>
5413         * emacsclient.c (print_help_and_exit): Mention --version.
5415 1999-08-25  Richard M. Stallman  <rms@gnu.org>
5417         * emacsclient.c (decode_options): Update version output.
5418         (print_help_and_exit): Update bug report address.
5420 1999-08-13  Richard M. Stallman  <rms@gnu.org>
5422         * emacsclient.c (main): Move the dynamic allocation of
5423         system_name outside of the SERVER_HOME_DIR conditional.
5424         * emacsserver.c (main): Likewise.
5426 1999-08-10  Gerd Moellmann  <gerd@gnu.org>
5428         * grep-changelog: New.
5429         * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
5431 1999-07-12  Richard Stallman  <rms@gnu.org>
5433         * Version 20.4 released.
5435 1999-06-30  Markus Rost  <markus.rost@mathematik.uni-regensburg.de>
5437         * Makefile.in (clean): Remove fns*.el.
5439 1999-06-23  Dave Love  <fx@gnu.org>
5441         * etags.c (erlang_attribute): Fix undefined variable usage (after
5442         Potortì).
5444 1999-05-02  Andrew Innes  <andrewi@gnu.org>
5446         * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
5447         mapped to _chsize.
5449 1999-04-29  Richard M. Stallman  <rms@gnu.org>
5451         * emacsclient.c (main, both versions): Use quote_file_name on cwd.
5453 1999-03-30  Dave Love  <fx@gnu.org>
5455         * sorted-doc.c (main): Split up tables.  Modify the preamble
5456         somewhat.
5458 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
5460         * makefile.nt: Remove common multiple file compilation commands.
5462 1999-02-26  Richard Stallman  <rms@gnu.org>
5464         * Makefile.in (yow): Depend on epaths.h, not paths.h.
5466         * yow.c: Refer to epaths.h.
5468 1999-02-22  Simon Josefsson  <jas@pdc.kth.se>
5470         * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
5472 1999-01-27  Andrew Innes  <andrewi@gnu.org>
5474         * makefile.nt: Do make version comparison as strings.
5476 1999-01-25  Richard Stallman  <rms@gnu.org>
5478         * emacsclient.c (xmalloc): Fix previous change.
5480 1999-01-24  Richard M. Stallman  <rms@borg.ai.mit.edu>
5482         * emacsclient.c (xmalloc): Declare to return long.
5484 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
5486         * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
5487         the case of the drive letter.
5489 1999-01-15  Richard Stallman  <rms@psilocin.ai.mit.edu>
5491         * emacsserver.c (main): Eliminate arbitrary limit on
5492         length of system_name.
5494         * emacsclient.c (main): Eliminate arbitrary limit on
5495         length of system_name.
5496         (xmalloc): Define unconditionally.
5498 1999-01-12  Darrin B. Jewell  <jewell@mit.edu>
5500         * etags.c (relative_filename): Stop backward search at beginning
5501         of string, since non-Unix systems can have absolute paths with no
5502         initial slash.
5504 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
5506         * makefile.nt: Do string comparison of _NMAKE_VER.
5508 1998-11-03  Theodore Jump  <tjump@cais.com>
5510         * makefile.nt: Compile multiple source files when possible.
5512 1998-10-13  Richard Stallman  <rms@psilocin.ai.mit.edu>
5514         * Makefile.in: Replace tabs with spaces
5515         when they might confuse some Make versions.
5517 1998-10-10  Richard Stallman  <rms@psilocin.ai.mit.edu>
5519         * emacsclient.c (main): Null-terminate system_name.
5521         * emacsserver.c (main): Null-terminate system_name.
5523 1998-09-21  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5525         * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
5526         an error message from POP, mention that it's from POP, to
5527         distinguish it from local error messages.
5529 1998-09-04  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5531         * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
5532         order of messages downloaded from a POP server (e.g., if the
5533         server stores messages in mailboxes in reverse order).
5535 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
5537         * Version 20.3 released.
5539 1998-08-11  Paul Eggert  <eggert@twinsun.com>
5541         * rcs2log: Update copyright date and bug report address.
5542         (initialize_fullname): Prefer getent if available.
5544 1998-07-30  Paul Eggert  <eggert@twinsun.com>
5546         * Makefile.in (REGEXPDEPS, regex.o):
5547         Prepend $(srcdir)/ to rule dependencies outside this dir.
5549 1998-06-09  Andrew Innes  <andrewi@harlequin.co.uk>
5551         * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
5553 1998-06-06  Richard Stallman  <rms@psilocin.ai.mit.edu>
5555         * Makefile.in: Properly terminate a comment.
5557 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
5559         * movemail.c (sys_wait): Rename to wait.
5561         * ntlib.h: Undefine _WINSOCKAPI_.
5563         * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
5565 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
5567         * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
5569 1998-05-01  Andrew Innes  <andrewi@harlequin.co.uk>
5571         * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
5572         Force all file i/o to be in binary mode.  Include ntlib.h.
5574 1998-04-27  Andreas Schwab  <schwab@delysid.gnu.org>
5576         * make-docfile.c: Include <unistd.h> for chdir.
5578 1998-04-25  Richard Stallman  <rms@psilocin.gnu.org>
5580         * etags.c (TEX_decode_env): Don't free the value getenv returns.
5582 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
5584         * makefile.nt (obj): Update with new files in src.
5585         (clean): Delete patch scratch files, optimized compilation dir.
5587 1998-04-08  Dave Love  <fx@gnu.org>
5589         * emacsclient.c: Move inclusion of unistd.h to top, else fails on
5590         Irix6, at least.
5592 1998-04-06  Andreas Schwab  <schwab@gnu.org>
5594         Silence -Wimplicit:
5595         * movemail.c: Move cancelations up.  Include <stdlib.h> if
5596         available.
5597         * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
5598         (parse_header): Explicitly declare return type.
5599         * emacsserver.c: Include <unistd.h> if available.
5600         (main, handle_signals, perror_1, fatal_error): Explicitly declare
5601         return types.  Add forward declarations.
5602         * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
5603         Don't declare geteuid.
5604         (print_help_and_exit): Change return type to void.
5605         Forward declare it.
5606         * b2m.c: Include <stdlib.h> if available.
5607         (main): Explicitly declare return type.
5609 1998-04-03  Richard Stallman  <rms@psilocin.gnu.org>
5611         * etags.c (put_entries): Use %ld.
5613         * b2m.c (fatal): Declare the arg.
5615 1998-03-26  Richard Stallman  <rms@psilocin.gnu.org>
5617         * pop.c (pop_getline): Rename from getline.
5619 1998-03-05  Richard Stallman  <rms@psilocin.gnu.org>
5621         * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
5622         for the utilities.
5624 1998-01-23  Dave Love  <d.love@dl.ac.uk>
5626         * etags.c (getit, Cobol_paragraphs, Pascal_functions,
5627         Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
5628         Always make named tags.
5629         (Fortran_functions): Grok BLOCK DATA.
5631 1998-01-23  Andreas Schwab  <schwab@gnu.org>
5633         * movemail.c (main): Fix interwoven brace and cpp conditional
5634         nesting.
5636 1997-12-03  Paul Eggert  <eggert@delysid.gnu.org>
5638         * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
5639         with a '>' any lines starting with "From " read from the POP server,
5640         but leave the code in place, wrapped in #ifdef
5641         MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
5642         because it turns out that something is depending on it.
5643         Change suggested by Paul Eggert <eggert@twinsun.com>.
5644         Convert the character \037 (^_) at the beginning of a line into
5645         the character '^' followed by the character '_', because otherwise
5646         Emacs can't parse the resulting file as a valid BABYL file.
5647         Change suggested by Paul Eggert <eggert@twinsun.com>.
5649 1997-12-03  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5651         * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
5652         server to contain embedded nulls.
5654 1997-12-02  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5656         * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
5657         quotes with a '>' any lines starting with "From " read from the
5658         POP server, but leave the code in place, wrapped in #ifdef
5659         MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
5660         because it turns out that something is depending on it.
5661         Change suggested by Paul Eggert <eggert@twinsun.com>.
5663         Convert the character \037 (^_) at the beginning of a line into
5664         the character '^' followed by the character '_', because otherwise
5665         Emacs can't parse the resulting file as a valid BABYL file.
5666         Change suggested by Paul Eggert <eggert@twinsun.com>.
5668 1997-11-22  Richard Stallman  <rms@gnu.org>
5670         * b2m.c: Include getopt.h.
5671         (main): Use getopt_long to handle --version and --help.
5673         * Makefile.in (b2m): Define VERSION.  Link with $(GETOPTOBJS).
5675 1997-10-31  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5677         * pop.c (fullwrite): Get rid of an extra call to write.
5678         Problem pointed out by Chiaki Ishikawa.
5680 1997-10-16  Dave Love  <d.love@dl.ac.uk>
5682         * etags.c (L_getit): Always make named tags so that Emacs
5683         completion on symbols containing `:' etc. works.
5684         (get_scheme): Likewise.
5686 1997-09-24  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5688         * pop.c: Use system header files instead of declaring C-library
5689         functions explicitly.
5691 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5693         * Version 20.2 released.
5695 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5697         * Version 20.1 released.
5699 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
5701         * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
5703         * ntlib.c (getpid): Delete function.
5705 1997-08-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5707         * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
5709 1997-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5711         * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
5712         (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
5714 1997-08-14  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5716         * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
5718 1997-08-13  Kazushi (Jam) Marukawa  <jam@poboxes.com>
5720         * profile.c (get_time): Cast arg to fprintf.
5722         * hexl.c (main): Use %08lx instead of %08x in printf because the
5723         variable named addresses is long.
5725 1997-08-08  Geoff Voelker  <voelker@cs.washington.edu>
5727         * makefile.nt (lisp): Update paths to lisp files that have moved.
5729 1997-08-08  Andrew Innes  <andrewi@harlequin.co.uk>
5731         * makefile.nt (ctags.obj): New target.
5732         (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
5734         * ntlib.h: Add includes.
5735         Undo definitions of crt routines from config.h.
5737 1997-08-06  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5739         * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
5741 1997-07-22  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5743         * pop.c: Support auto-configuration of both Kerberos V4 and
5744         Kerberos V5 for movemail, including detection of V4 and V5 header
5745         files and libraries.
5746         Include <string.h> when STDC_HEADERS is defined, to get
5747         declarations of string functions.
5748         [KERBEROS5] (socket_connection): Support the current MIT Kerberos
5749         V5 API rather than the old one.
5750         [KERBEROS] (socket_connection): Change a constant name from
5751         SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
5752         with a constant in a header file.
5754         * Makefile.in: Support auto-configuration of both Kerberos V4 and
5755         Kerberos V5 for movemail, including detection of V4 and V5 header
5756         files and libraries.
5758 1997-07-17  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5760         * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
5762         * etags.c [HAVE_UNISTD_H]: Include unistd.h.
5764 1997-07-09  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5766         * emacsclient.c [C_ALLOCA] (xmalloc): New function.
5768 1997-07-04  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5770         * movemail.c (rindex): Add declaration.
5772 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
5774         * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
5775         (movemail.exe): Depend upon and link with getopt files.
5776         (obj): Include new source files.
5777         (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
5778         (lisp): Include new and reorganized elisp files.
5780 1997-06-27  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5782         * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
5784 1997-06-25  Paul Eggert  <eggert@twinsun.com>
5786         * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
5788 1997-06-14  Karl Heuer  <kwzh@gnu.ai.mit.edu>
5790         * b2m.c (readline): Terminate buffer properly when EOF seen.
5791         Test for valid pointer before dereferencing it.
5793 1997-05-30  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5795         * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
5796         defined inside etags.c if HAVE_CONFIG_H is defined.
5798 1997-05-29  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5800         * etags.c (logical): Type name changed to bool.
5801         (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
5802         (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
5803         (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
5804         (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
5805         (longopts): New long options without short counterpart are
5806         globals, members, no-globals, no-members.  Regexp options are now
5807         defined  conditionally to ETAGS_REGEXPS.
5808         (print_help): Update.
5810 1997-05-22  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5812         * etags.c (C_entries): Use "." instead of "::" for Java.
5813         (consider_token): is_func renamed to is_func_or_var.
5814         (C_entries): is_func renamed to funorvar.
5815         (C_entries): Initialize tok.named.
5816         (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
5817         get rid of "import", "package" and "friend".
5818         (fvdef): Rename from funcdef.  Also some constants renamed.
5819         All users changed.
5820         (C_entries): Make separate tags for variables separated by comma.
5821         (globals, members): New flags.
5822         (main, C_entries): Use them.
5823         (make_C_tag, C_entries): Make tok a global variable.
5825 1997-05-16  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5827         * etags.c (funcdef): New vignore constant.
5828         (consider_token, C_entries): Use it to tag global variables.
5829         (print_help): Update for global variables.
5830         (consider_token, C_entries): Set the len member of token_name.
5831         (prolog_pred): Cleanup according to GNU coding standards.
5832         (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
5833         (prolog_white, erlang_white): Rename to eat_white, callers changed.
5835 1997-05-15  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5837         * etags.c (CHARS, CHAR): New constant and macro.
5838         (iswhite, begtoken, intoken, endtoken): Use them.
5839         (notinname, _nin, nonam): New macro, array, string.
5840         (init): Cleanup and init _nin.
5841         (new_pfnote): New function.
5842         (make_C_tag) [traditional_tag_style]: Use it.
5843         (traditional_tag_style): Constant set to TRUE for now.
5845 1997-05-14  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5847         * etags.c (C_entries, Pascal_functions): Cleanup.
5848         (TeX_functions): NULL as a function arg needs a cast.
5849         (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
5851 1997-05-13  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5853         * etags.c (TeX_functions): Cleaned up.
5854         (tex_getit): Remove.
5856 1997-05-13  Paul Eggert  <eggert@twinsun.com>
5858         * rcs2log (files): When computing arguments automatically, ignore
5859         non-files within the RCS subdirectory.
5861 1997-05-13  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5863         * etags.c (C_JAVA): New #define.
5864         (Cjava_suffixes): .java is Java.
5865         (Cjava_entries): New function.
5866         (lang_names): Add Java.
5867         (sym_type): Add st_C_javastruct for Java.
5868         (C_stab_entry): Add `extends' and `implements' keywords.
5869         (consider_token, C_entries): Recognize Java structures.
5871 1997-05-12  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5873         * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax.
5874         (Postscript_suffixes): .ps is PostScript.
5875         (lang_names): Add postscript.
5876         (Postscript_functions): New function.
5877         (TEX_decode_env): Close minor memory leak.
5878         (just_read_file): Correct the char number of the tag.
5880 1997-05-11  Paul Eggert  <eggert@twinsun.com>
5882         * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
5883         Don't prepend $nl since this causes some shells to generate the
5884         empty string when IFS is $nl.
5885         (printlogline): Use SOH (octal code 1), not CR, since some
5886         PC-based shells mishandle CR.
5887         (initialize_fullname): Set NIS_PATH to the empty string before invoking
5888         nismatch, in case it's set to some nonstandard value.
5890 1997-05-06  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5892         * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
5893         read in separate blocks.
5895 1997-04-30  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5897         * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
5898         (struct linebuffer): New member `len' is the length of the string.
5899         (find_entries, Pascal_functions, TeX_functions, TEX_getit):
5900         Use it instead of strlen.
5901         (TEX_getit): Declare and define unconditionally as static.
5902         (TeX_functions): Use if instead of #if TeX_named_tokens.
5903         (add_regex): Set RE_INTERVALS flag for regex compilation.
5904         (substitute): Code cleanup.
5905         (readline_internal): Code cleanup, set new member `len'.
5906         (readline): Bug corrected.
5908 1997-04-23  Geoff Voelker  <voelker@cs.washington.edu>
5910         * makefile.nt: Change references of windowsnt.h to ms-w32.h.
5911         (obj): Change references of nt*.c files to w32*.c files.
5913 1997-04-15  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5915         * etags.c (xnew): Add support for debugging with chkmalloc.
5916         (error): Use this instead of printf whenever possible.
5917         (main): Only call xnew after having initialized progname.
5918         (substitute): Bad memory corruption error corrected.
5920 1997-04-08  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5922         * etags.c (add_regex): Undo previous change.
5923         (relative_filename): Small memory leak closed.
5924         (absolute_filename): Cleaned up the code, possibly closing a bug.
5925         (absolute_dirname): Always return a newly allocated string.
5927 1997-03-21  Paul Eggert  <eggert@twinsun.com>
5929         * rcs2log (files): Ignore files in RCS directory whose names are
5930         of the form ,*, or *_; they are probably RCS lock files.
5931         Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
5932         they are used by rcsfreeze.
5934 1997-03-14  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5936         * etags.c (add_regex): Reset *putbuf before using it.
5938 1997-02-23  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5940         * movemail.c (popmail): Remove some unnecessary function
5941         declarations.
5942         (popmail, pop_retr): Since popmail always passes mbx_write and mbf
5943         into pop_retr, there's no reason to pass in mbx_write, and the
5944         file argument can be declared FILE * explicitly.  This fixes a
5945         compilation problem on systems with 64-bit pointers.
5947 1997-02-13  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
5949         * movemail.c: Delete duplicate inclusion of fcntl.h
5950         and duplicate #undefs of open, read, write, close.
5952 1997-01-20  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5954         * movemail.c (main): Do not display "[POP-password]" in the usage
5955         message when movemail is compiled without POP support.
5956         (main, popmail): Add the optional "-p" argument, which causes
5957         movemail to leave mail in the inbox after copying it into the
5958         output file.
5960         * Makefile.in (movemail): Link with getopt.
5962 1997-01-20  Paul Eggert  <eggert@twinsun.com>
5964         * rcs2log (--help, --version): New options, per GNU coding standards.
5965         (Copyright, Help, Id): New variables, for above.
5966         (rlog): Use -q option with cvs log, to avoid useless chatter.
5968         Treat logs of "Initial revision" (RCS) or "file F was initially added
5969         on branch B." (CVS) as if they said "New file.", for consistency with
5970         change log entries.
5972 1997-01-01  Paul Eggert  <eggert@twinsun.com>
5974         * vcdiff (PATH): Add /usr/xpg4/bin,
5975         where XPG4 SCCS hangs out in Solaris 2.5.
5976         (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
5978 1996-12-19  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
5980         * etags.c (streq, strneq): Use == NULL rather than !.
5982 1996-12-18  Jonathan I. Kamens  <jik@annex-1-slip-jik.cam.ov.com>
5984         * Makefile.in (LIBMAIL): New macro.  Conditionally includes -lmail.
5985         (movemail): Use LIBMAIL, to link against -lmail.
5987         * movemail.c: Include maillock.h (conditionally).
5988         Remove a redundant inclusion of <stdio.h>.
5989         (MAIL_USE_MAILLOCK): New macro, conditionally defined.
5990         (main): Add variable spool_name.
5991         Support the usage of maillock and mailunlock to
5992         lock and unlock mailboxes.
5993         (mail_spool_name): New function.
5995         * movemail.c: Fix an uninitialized variable which could cause
5996         movemail to exit with an error status incorrectly on systems which
5997         use lock files rather than a system locking function to lock
5998         mailboxes.
6000 1996-12-16  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
6002         * pop.c (socket_connection): Free realhost after using it.
6004 1996-12-04  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6006         * etags.c (C_entries): Test tok.valid.  This handles some
6007         particular cases involving function declarations that failed.
6009 1996-11-22  Charles Hannum  <mycroft@gnu.ai.mit.edu>
6011         * pop.c (socket_connection):
6012         gethostbyname may return a pointer to static data.
6013         krb_realmofhost can clobber it.  So copy it.
6015 1996-11-14  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6017         * etags.c (pfnote, fatal, error): Callers using a NULL pointer
6018         must cast it to (char *) because we have no prototypes.
6019         (make_C_tag): Macro deleted, new function.
6020         (C_entries): Calls to make_C_tag macro changed to call function.
6022 1996-11-13  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6024         * etags.c (grow_linebuffer): New function.
6025         (GROW_LINEBUFFER): Macro deleted.  All callers changed.
6026         (make_tag): Macro renamed to make_C_tag.  All callers changed.
6027         (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
6028         (Prolog_functions): prolog_skip_comment was called with wrong
6029         number of arguments.
6030         (xrealloc): fatal was called with wrong number of arguments.
6032 1996-11-08  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6034         * etags.c (relative_filename): Bug corrected.
6035         (etags_getcwd): Avoid warning of unused variable.
6036         (C_entries, consider_token): Add support for enum labels.
6038 1996-11-03  Paul Eggert  <eggert@twinsun.com>
6040         * rcs2log: When processing cvs log output, remove `Attic/' from
6041         repository file names.
6043 1996-10-22  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6045         * emacsserver.c: Fix 1996-09-02 change.
6047 1996-10-12  Paul Eggert  <eggert@twinsun.com>
6049         * rcs2log (rlog_options): Look for ' option' rather than 'unknown
6050         option', since CVS says 'invalid option'.
6051         (datearg): Use the empty string, not '-d>1970-01-01', to extract all
6052         revisions, since some hosts reject 1970-01-01 when east of UTC.
6053         (date): Remove.
6055 1996-10-06  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6057         * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
6059 1996-10-02  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6061         * etags.c (print_version): Print copyright info.
6063         * etags.c (print_help): Print the bug reporting address.
6064         (main): Use return as the last instruction, instead of exit.
6066         * etags.c (main): Don't open the tags file in cxref mode.
6068 1996-09-29  Dave Love  <d.love@dl.ac.uk>
6070         * rcs2log (date): Make default format acceptable to CVS post v1.8
6071         as well as earlier CVSs and RCS.
6073 1996-09-29  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6075         * movemail.c (main): If the lock call fails with EBUSY or
6076         EAGAIN, retry a few times.
6078 1996-09-25  Paul Eggert  <eggert@twinsun.com>
6080         * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
6081         whether to append -zLT.
6083 1996-09-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6085         * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
6086         * emacsclient.c, movemail.c: Likewise.
6088 1996-09-09  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6090         * emacsclient.c (longopts): Change nowait to no-wait.
6091         (print_help_and_exit): Fix option name; upcase metavars.
6093 1996-09-06  Erik Naggum  <erik@naggum.no>
6095         * emacsserver.c (main): Declare `fromlen' as size_t.
6097 1996-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
6099         * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
6101 1996-09-02  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6103         * emacsclient.c (quote_file_name): Quote with &, not \.
6104         Quote `-' only at start of file name.  Terminate the value string.
6106         * emacsserver.c: Include signal.h properly;
6107         delete the duplicate includes for it.
6109         * emacsserver.c: On fatal signal, delete socket-file:
6110         * emacsserver.c: Include signal.h.
6111         (xmalloc, fatal, error): New functions.
6112         (delete_socket, handle_signals): New functions.
6113         (progname, socket_name): New variables.
6114         [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
6116 1996-09-01  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6118         * emacsclient.c (quote_file_name): New function.
6119         (main, both versions): Use quote_file_name.
6120         (decode_options): Don't return a value.
6121         (main, both versions): Use optind.
6122         Don't check for -nowait here.
6124         * emacsclient.c (decode_options): New function.
6125         (main, both versions): Call decode_options.
6126         (print_help_and_exit): New function.
6127         (VERSION): New macro.
6129         * Makefile.in (emacsclient): Link with getopt.
6130         Add -DVERSION so emacsclient knows its version number.
6132 1996-08-31  Geoff Voelker  <voelker@cs.washington.edu>
6134         * makefile.nt (lisp): Include dos-nt.elc.
6136 1996-08-31  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6138         * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
6140 1996-08-28  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
6142         * emacsclient.c (both versions): Handle -nowait and --nowait
6143         by sending data to the server.
6145 1996-08-26  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6147         * Makefile.in (INSTALL_STRIP): New variable.
6148         (${archlibdir}): Use INSTALL_STRIP.
6150         * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
6151         HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
6153         * pop.c: Reverse conditional in previous change.
6155 1996-08-24  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6157         * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
6159 1996-08-24  Paul Eggert  <eggert@twinsun.com>
6161         * rcs2log: Use ISO 8601 date format, with time zone appended
6162         if change-log-time-zone-rule is non-nil, instead of
6163         traditional Unix date format.
6165         (datearg): When computing default from ChangeLog, handle ISO format
6166         dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
6167         Don't worry about hh:mm:ss since the resolution is now by day.
6168         Use empty datearg, not empty rlog_options, to decide whether to pass
6169         "$datearg" option to $rlog.
6170         (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
6171         (month_data): Remove `mo'; no longer needed.
6172         (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
6174         Match `revision' line of rlog output more accurately.
6176         Add -c, -v options.
6178 1996-08-23  Eli Zaretskii  <eliz@is.elta.co.il>
6180         * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
6182 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
6184         * Version 19.33 released.
6186 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
6188         * Version 19.32 released.
6190 1996-07-23  Andrew Innes  <andrewi@harlequin.co.uk>
6192         * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
6193         computing character positions in source files.
6195 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
6197         * makefile.nt (clean): Use OBJDIR macro.
6199 1996-07-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6201         * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
6203 1996-07-15  David Mosberger-Tang  <davidm@AZStarNet.com>
6205         * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
6206         * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
6207         * etags.c, fakemail.c, profile.c: Declare main as int, not void.
6209 1996-07-15  Andrew Innes  <andrewi@harlequin.co.uk>
6211         * ntlib.h: Correct return type of getwd.
6212         * ntlib.c (getwd): Correct return type.
6214 1996-07-02  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
6216         * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
6217         to infile.
6219 1996-07-01  Andrew Innes  <andrewi@harlequin.co.uk>
6221         * makefile.nt: Remove all references to wakeup.
6223 1996-06-28  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6225         * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
6226         explicit, mutable, typename.
6228 1996-06-29  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
6230         * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
6231         streams, one for sending and one for reading the reply.
6233 1996-06-21  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
6235         * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
6236         (wakeup): Target deleted.
6237         (UTILITIES): Delete wakeup and timer.
6239         * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
6241 1996-06-11  Geoff Voelker  <voelker@cs.washington.edu>
6243         * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
6244         * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
6246 1996-06-06  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
6248         * etags.c (main): Copy cwd when appending slash.
6250 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6252         * Version 19.31 released.
6254 1996-05-17  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6256         * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
6257         (Pascal_functions): Increase linecharno by the correct number of
6258         chars, inline the GET_NEW_LINE macro and delete its definition.
6260 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
6262         * makefile.nt (OBJDIR, BLD): Remove macro definitions.
6264 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
6266         * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6267         (movemail.exe, fakemail.exe): Now built under Win32.o.
6269         * ntlib.c: Include ntlib.h.
6270         (nt_sleep): Rename to sleep.
6271         (getwd): Return directory.
6272         (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
6273         sys_ctime, sys_fopen): New functions.
6275         * ntlib.h: New file.
6277 1996-04-29  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
6279         * pop.c (SEND, RECV): Rename from send, recv.
6280         (pop_open, pop_trash): Make the trash_started code unconditional.
6281         (socket_connection): Delete casts to void.
6283 1996-04-28  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
6285         * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
6286         Definitions copied from lisp.h.
6288 1996-04-22  Andrew Innes  <andrewi@harlequin.co.uk>
6290         * fakemail.c [WINDOWSNT]: Include ntlib.h.
6292         * hexl.c [DOSNT]: Include fcntl.h.
6293         [WINDOWSNT]: Include io.h.
6294         (main) [MSDOS]: Change conditional to DOS_NT.
6296         * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
6297         (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
6298         [WINDOWSNT]: Include locking.h.
6299         (main): Update usage message.  Use IS_DIRECTORY_SEP.
6300         (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
6301         (main) [WINDOWSNT]: Invoke locking instead of flock.
6302         (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
6303         (main) [MAIL_USE_POP]: Pass password to popmail if used.
6304         Include winsock.h; don't include unix inet headers.
6305         (popmail): Add password argument and pass it to pop_open.
6306         Open output file in binary mode.
6308         * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
6309         Macro SOCKET_ERROR undefined.
6310         Don't declare h_errno.
6311         [!WINDOWSNT]: Define macros recv and send.
6312         [!WINDOWSNT] (POP_SERVICE): Change to pop3.
6313         (pop_open) [WINDOWSNT]: Initialize trash_started.
6314         (have_winsock) [WINDOWSNT]: New variable.
6315         (socket_connection) [WINDOWSNT]: Initialize winsock.
6316         (socket_connection): Use closesocket instead of close.
6317         (getline): Use recv instead of read.
6318         (fullwrite): Use send instead of write.
6319         (pop_trash): Use closesocket instead of close.
6320         (pop_trash) [WINDOWSNT]: Cleanup winsock.
6321         Check if being called recursively by sendline.
6323         * pop.h (struct _popserver): New field trash_started.
6325         * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
6327 1996-04-14  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6329         * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
6331 1996-04-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6333         * etags.c [WINDOWSNT]: Include io.h.
6335 1996-04-10  Geoff Voelker  <voelker@cs.washington.edu>
6337         * makefile.nt (CTAGSOBJ): Compile with regexp support.
6339 1996-04-09  Eli Zaretskii  <eliz@is.elta.co.il>
6341         * hexl.c [DJGPP v2]: Include io.h.
6342         (main) [DJGPP v2]: Switch standard streams to binary with setmode.
6344         * b2m.c (main) [MSDOS]: Switch standard streams to binary under
6345         DJGPP v2.
6347 1996-04-02  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6349         * etags.c (absolute_filename): Use absolutefn.
6351 1996-03-31  Eli Zaretskii  <eliz@is.elta.co.il>
6353         * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
6354         letter isn't an alphabetic character.
6355         (main) [DOS_NT]: Use binary mode on redirected `stdout'.
6356         (process_file) [DOS_NT]: Convert all slashes to forward style.
6357         (absolute_filename) [DOS_NT]: Emit error message for relative
6358         paths with a drive letter.
6359         (absolute_filename) [DOS_NT]: Handle absolute pathnames with
6360         DOS/NT drive letters which try to reference the parent of the root.
6361         (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
6363 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
6365         * makefile.nt: Change uses of del to $(DEL).
6367 1996-03-22  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6369         * etags.c (just_read_file): Reset lineno and charno on entry.
6371 1996-03-15  Anders Lindgren  <andersl@csd.uu.se>
6373         * etags.c: Prolog language totally rewritten.
6374         (Prolog_functions): Rewritten from scratch.
6375         (skip_comment, prolog_getit): Remove.
6376         (prolog_skip_comment): New function, like old skip_comment.
6377         (prolog_pred, prolog_atom, prolog_white): New functions.
6378         (erlang_func, erlang_attributes): Forward declarations added.
6379         (erlang_atom): Check if backslash ends line inside quoted atom.
6381 1996-03-14  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6383         * etags.c (absolutefn): DOS_NT version corrected.
6384         (main): Append "/" to the dir name only if not already there.
6385         (print_help): Explain the absolute/relative file name issue.
6387 1996-03-08  Anders Lindgren  <andersl@csd.uu.se>
6389         * etags.c: New Language Erlang added.
6390         (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
6391         (erlang_white): New functions.
6392         (Erlang_suffixes): New suffix list.
6393         (lang_names): Erlang entry added.
6394         (prolog_getit): Accepts headers spanning several lines.
6395         Always name tags.
6396         (Prolog_functions): Remove incorrect compensation for
6397         newline characters.
6398         (readline_internal): Zero-terminate last line.
6400 1996-03-20  Mike Long  <mike.long@analog.com>
6402         * b2m.c (main): Initialize progname variable before using it.
6403         Quote `username' in From_ header.
6405 1996-03-18  Geoff Voelker  <voelker@cs.washington.edu>
6407         * ntlib.c (getpid): New function.
6409 1996-02-21  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
6411         * emacsclient.c (main, both definitions):
6412         Print a newline for normal termination.
6414 1996-02-21  Noah Friedman  <friedman@prep.ai.mit.edu>
6416         * tcp.c (main): Convert port to network byte order.
6418 1996-01-20  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6420         * pop.c (pop_retrieve, getline): Avoid type clashes.
6422 1996-01-19  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6424         * etags.c (enum sym_type, anonymous enum): Delete final comma.
6426 1996-01-15  Paul Eggert  <eggert@twinsun.com>
6428         * rcs2log (initialize_fullname): Add support for NIS+.
6429         (hostname): Fully qualify the default hostname with the domainname
6430         if the hostname lacks a `.'.
6432 1996-01-10  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6434         * etags.c (consider_token): Fix typo in expression.
6436 1996-01-04  Paul Eggert  <eggert@twinsun.com>
6438         * etags.c (substitute): Fix spelling in message.
6440 1996-01-03  George V. Reilly  <georger@microcrafts.com>
6442         * makefile.nt (etags, ctags): Compile with regexp support.
6443         (make-docfile, wakeup, etags, ctags, hexl): Ensure build
6444         subdirectory exists before compiling.
6446 1996-01-02  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6448         * emacsserver.c (main): Do chmod based on existing permission.
6450 1995-12-27  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6452         * Makefile.in (install): Turn on read/execute permission.
6454 1995-12-03  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
6456         * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
6457         (LOADLIBES): Use LIB_STANDARD_LIBSRC.
6459 1995-12-01  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
6461         * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
6463 1995-12-07  Francesco Potortì  <pot@cnuce.cnr.it>
6465         * etags.c (pfnote): Don't make a tag for ctags if there is no name.
6466         (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
6467         get_scheme, prolog_getit): Name the tag in ctags mode.
6468         (pfnote): Truncate ctags lines to 50 chars, like it worked once.
6469         (Perl_interpreters): Accept "@PERL@" as an interpreter.
6470         (suggest_asking_for_help): New function.
6471         (main, get_language_from_name): Use suggest_asking_for_help.
6472         (main): Let get_language_from_name make language existence check.
6473         (streq, strneq): Check the arguments #if DEBUG.
6475 1995-12-06  Francesco Potortì  <pot@cnuce.cnr.it>
6477         * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
6478         (gperf): Add keywords for Objective C and GNU macros.
6479         (sym_type): Add values to account for Objective C and GNU macros.
6480         (begtk): The '@' character can start a token.
6481         (objdef, methodlen, objtag): New variables for Objective C.
6482         (consider_token, C_entries): Add code for Objective C.
6483         (plain_C_suffixes): Add .m and .lm for Objective C.
6484         (Yacc_suffixes): Add .ym for Objective yacc.
6485         (GROW_LINEBUFFER): New macro.
6486         (consider_token, C_entries, Pascal_functions): Use the new macro.
6487         (consider_token): Take one more argument.  Caller changed.
6488         (consider_token): Use the hashing function to spot GNU macros.
6489         (C_entries): Consider // as a comment start even in plain C for
6490         the sake of Objective C parsing.
6492 1995-12-04  Francesco Potortì  <pot@cnuce.cnr.it>
6494         * Makefile.in (ctags): Depend on etags only for simplicity;
6495         compile with regexp support enabled.
6497 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6499         * Version 19.30 released.
6501 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
6503         * makefile.nt (DOC, clean): Don't use switches to del not
6504         supported by Windows 95.
6506 1995-11-13  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6508         * Makefile.in (regex.o): Depend on ../src/config.h.
6510 1995-11-12  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6512         * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
6513         (LOADLIBES): Use LIB_STANDARD.
6515 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
6517         * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
6518         w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
6519         Windows 95 conditional.
6521 1995-11-06  Francesco Potortì  (pot@cnuce.cnr.it)
6523         * etags.c (get_lang_from_name, get_lang_from_interpreter)
6524         (get_lang_from_suffix): New functions.
6525         (get_language): Function deleted.
6526         (lang_entry): Two members added to struct.
6527         (lang_names): Reflect the new layout of lang_entry.
6528         (print_language_names, main, find_entries): Use the new functions.
6529         (find_entries): Look at the first line for #! if no language.
6530         (C_entries): Invalidate the token when funcdef is reset.
6531         (Perl_functions): New function.
6532         (lang_suffixes): .pl and .pm are Perl suffixes.
6534 1995-11-02  Francesco Potortì  (pot@cnuce.cnr.it)
6536         * etags.c (lowcase): Use the standard tolower function.
6537         (substitute): Remove some wrong and some useless code related with
6538         escape '\' character in regexp replacement string.
6539         (TEX_defenv): Add part, appendix, entry, index.  Remove typeout.
6540         (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
6541         .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
6542         .prolog for prolog (.pl removed).
6543         (massage_name, etags_getcwd): Use lowcase instead of tolower.
6544         (C_entries, find_entries): Add comments about memory leakage.
6545         (add_node): Dead code removed.
6547 1995-10-29  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6549         * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
6550         (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
6552 1995-08-30  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6554         * test-distrib.c: Add #undef for open, close, read, write.
6556 1995-08-23  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
6558         * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
6559         [! O_RDONLY]: Define it to zero.
6560         (main): Use O_RDONLY instead of explicit zero.
6562 1995-08-17  Francesco Potortì  (pot@cnuce.cnr.it)
6564         * etags.c (Pascal_functions): Close comment bug corrected.
6565         (add_node): Correctly compare node file names.
6566         (Pascal_functions): Correctly allocate and free memory for tline.
6567         (pfnote): Put the definition of fp in the innermost block.
6568         (NODE): `named' member removed.
6569         (pfnote, free_tree, put_entries, total_size_of_entries): Do not
6570         use the `named' member, check whether `name' is NULL instead.
6571         (pfnote): `named' argument removed, all callers changed.
6572         (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
6573         TeX_functions, TEX_getit, prolog_getit): Useless string allocation
6574         removed from pfnote call, some code cleanup.
6575         (relative_filename): Free temporary space allocated by concat.
6577 1995-08-16  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6579         * Makefile.in (getdate.c): New target.
6580         (getdate.o): Just compile getdate.c.
6582 1995-08-12  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6584         * fakemail.c (xrealloc): Change cast to match return type.
6586 1995-08-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6588         * fakemail.c (xmalloc, xrealloc): Use return-type long *.
6590 1995-08-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6592         * movemail.c (main): Fix previous change.
6593         Add error check for empty OUTNAME.
6595 1995-08-05  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6597         * movemail.c (main): Mention lock file name in error message.
6599 1995-07-30  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6601         * profile.c (gettimeofday): New function, defined if necessary.
6603 1995-07-18  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6605         * Makefile.in: Renamed from Makefile.in.in.
6606         (distclean): Delete Makefile.c, not Makefile.in.
6608 1995-07-17  Michael Shields  <shields@tembel.org>
6610         * Makefile.in.in (tags): Synonym for `TAGS'.
6612 1995-07-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6614         * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
6615         configure has already set $(INSTALL) to the proper relative path.
6617 1995-07-08  Paul Eggert  <eggert@twinsun.com>
6619         * rcs2log (datearg): Separate date from time with comma, not space,
6620         to work around CVS 1.5 bug.
6621         (CVSROOT): Don't abort when unset if repository is absolute.
6623 1995-07-07  Paul Eggert  <eggert@twinsun.com>
6625         * rcs-checkin, rcs2log, vcdiff:
6626         Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
6627         that interpret `#! /' as a 4-byte magic number.
6629 1995-06-29  Jonathan I. Kamens  <jik@cam.ov.com>
6631         * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
6632         mailbox with "po:mailbox", the mailbox is everything after the
6633         "po:" prefix.
6635 1995-06-28  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6637         * emacsserver.c: Make all error messages start with `Error: '.
6638         (fatal_error, perror_1): New functions, use throughout.
6640 1995-06-28  Paul Eggert  <eggert@twinsun.com>
6642         * rcs2log (CVSROOT, repository):
6643         Allow remote repositories a la CVS 1.4.
6645 1995-06-27  Francesco Potortì  (pot@cnuce.cnr.it)
6647         * etags.c (plain_C_entries): New function.
6648         (lowcase): New macro.
6649         (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
6650         (lang_suffixes): New suffix ".pc" for Pro*C files.
6651         (consider_token): Don't tag all tokens beginning with DEFUN & Co..
6652         (tail): Look for the end of the token when comparing.
6653         (takeprec): Since now tail behaves differently, use strneq.
6655 1995-06-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6657         * movemail.c (main): Add newline in usage message.
6659 1995-06-21  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6661         * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
6663 1995-06-21  Francesco Potortì  (pot@cnuce.cnr.it)
6665         * etags.c (find_entries): Rewind before rereading the input file.
6667 1995-06-20  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6669         * Version 19.29 released.
6671         * make-docfile.c (main) [MSDOS]: Do set _fmode.
6672         This undoes part of the previous change.
6674 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6676         * make-docfile.c (main): On MSDOS, don't change stdout
6677         to binary, and insist on an -o option.
6679 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
6681         * etags.c (process_file, absolute_filename): Handle filenames
6682         starting with a drive letter.
6684         * makefile.nt (install): Copy wakeup.exe properly.
6686 1995-06-08  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6688         * make-docfile.c [MSDOS]: #undef chdir.
6690 1995-06-04  Paul Eggert  <eggert@twinsun.com>
6692         * rcs2log (output_authors): Allow ':' in time zone,
6693         as per ISO 8601 and RCS 5.6.8 beta.
6695 1995-05-29  Francesco Potortì  (pot@cnuce.cnr.it)
6697         * etags.c (etags_getcwd): Undo the /bin/pwd change.  It may raise
6698         compatibility problems.
6700 1995-05-26  Richard Stallman  <rms@gnu.ai.mit.edu>
6702         * etags.c (etags_getcwd): Don't use #elif.
6703         Have just one function body.
6705 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
6707         * makefile.nt (LIBS): Use BASE_LIBS.
6708         (make-docfile.exe, hexl.exe, wakeup.exe, etags.exe): Don't depend
6709         upon LIBS.
6710         (DOC): Use del instead of rm.
6711         (DOC) [WINDOWS95]: Use DOC.
6712         (clean): Handle MSVC aux files.
6713         (config.h, paths.h): Use $(CP) instead of cp.
6714         (config.h): Use $(CONFIG_H)
6715         (make-docfile.obj): Depend upon config.h.
6716         Clean up comments.
6718 1995-05-23  Francesco Potortì  (pot@cnuce.cnr.it)
6720         * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
6721         former gives the true path even in the presence of simlinks.
6723 1995-05-07  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6725         * movemail.c (main): Increase lock timeout to five minutes.
6727 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
6729         * makefile.nt (obj): Use .c files.
6731 1995-05-04  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6733         * make-docfile.c: Include config.h.
6734         (NO_SHORTNAMES): New definition.
6735         (xmalloc): Return long *.
6737         * etags.c (C_entries): Cast result of xrealloc.
6738         (xmalloc, xrealloc): Declare them to return long *.
6740         * b2m.c (xmalloc, xrealloc): Declare them long *.
6742         * movemail.c (xmalloc): Declare it to return long *.
6744 1995-04-30  Paul Eggert  <eggert@twinsun.com>
6746         * rcs2log (datearg): If rlog options are specified explicitly,
6747         omit the implicit '-d>DATE' option.
6748         (repository, rlog): Allow absolute paths to CVS repositories.
6749         Look only at the first line of CVS/Repository.
6751 1995-04-26  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6753         * Makefile.in.in (extraclean): Depend on maintainer-clean, not
6754         realclean.
6756 1995-04-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6758         * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
6759         Alternative (empty) definitions.
6761 1995-04-18  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6763         * emacsclient.c (main): Add argv[0] to an error message.
6765 1995-04-13  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6767         * emacsclient.c (main): Improve error handling.
6768         * cvtmail.c (main, skip_to_lf): Improve error handling.
6769         (sysfail): New function.
6771         * b2m.c (main): Check for trailing ", " before trying to delete it.
6773 1995-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6775         * Makefile.in.in (all): Build test-distrib and make-docfile.
6777         * make-docfile.c (scan_c_file): At end, restore file name last char
6778         to its original value.
6780 1995-04-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6782         * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
6784 1995-04-08  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6786         * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
6787         (alloca.o, regex.o): Use BASE_CFLAGS.
6789 1995-04-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6791         * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
6793 1995-04-04  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6795         * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
6796         (SOURCES, distclean): Remove obsolete references to aixcc.
6798 1995-04-02  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6800         * aixcc.lex: File deleted--surely obsolete now.
6802 1995-03-23  Paul Eggert  <eggert@twinsun.com>
6804         * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
6805         portability to mawk and nawk.
6807 1995-03-21  Paul Eggert  <eggert@twinsun.com>
6809         * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
6810         -u "login<tab>fullname<tab>mailaddr".
6812 1995-03-21  Paul Eggert  <eggert@twinsun.com>
6814         * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
6815         replaces the (now obsolescent) -n login fullname mailaddr option.
6816         Add -R option for recursive rlog.
6817         (AWK): New environment variable (default `awk') for awk program name.
6818         (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
6819         Quote authors and fullnames correctly.
6820         Don't omit path from repository root when logging CVS files.
6822 1995-03-15  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6824         * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
6825         even if HAVE_SYSVIPC.
6826         * emacsclient.c (main): Use getcwd if not BSD.
6828 1995-03-13  Francesco Potortì  (pot@cnuce.cnr.it)
6830         * etags.c (process_file): Free (filename) after using it.
6831         (readline_internal): Do not access the char before start of line.
6833 1995-02-22  Francesco Potortì  (pot@cnuce.cnr.it)
6835         * etags.c (C_entries): token_saved removed.  Initialize tok.valid and
6836         savetok.valid.  Mark token as valid when it is initialized.
6837         (make_tag): Make token only if token is valid and reset validity.
6838         (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
6839         (TOKEN): Add a new member: valid.
6841 1995-02-15  Francesco Potortì  (pot@cnuce.cnr.it)
6843         * etags.c (C_entries): Bug corrected in xrealloc of token_str.
6844         (main): Do not read twice the last filename in the stdin file list.
6846 1995-02-14  Francesco Potortì  (pot@cnuce.cnr.it)
6848         * etags.c (C_entries): Initialize the new members of TOKEN.
6849         (C_entries): Do not allocate a new space for each token found by
6850         consider_token.  Let make_tag do that instead.
6851         (make_tag): Since now TOKEN has memory of where it is taken from,
6852         this new macro substitutes both make_tag_from_new_lb and
6853         make_tag_from_oth_lb.  All callers changed.
6854         (TOKEN): Add linepos and buffer members.
6855         (main): Initialize token_str.
6856         (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes.
6857         (token_str): New global variable used by C_entries.
6859 1995-02-07  Richard Stallman  <rms@pogo.gnu.ai.mit.edu>
6861         * Makefile.in.in (maintainer-clean): Rename from realclean.
6863 1995-02-01  Francesco Potortì  (pot@cnuce.cnr.it)
6865         * etags.c (pfnote): Initialize been_warned in the node.
6866         (C_entries): Remove a speed hack for the sake of clarity.
6868 1995-01-18  Francesco Potortì  (pot@cnuce.cnr.it)
6870         * etags.c (longopts, print_help, main): Use -I as abbreviation
6871         for the --ignore-indentation option.
6872         (main): Do not print an error message for unknown options.
6874 1995-01-12  Francesco Potortì  (pot@cnuce.cnr.it)
6876         * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Delete.
6877         (append_to_tagfile, typedefs, typedefs_and_cplusplus)
6878         (constantypedefs, update, vgrind_style, no_warnings)
6879         (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
6880         (permit_duplicates): Was a var, now a #define.
6881         (filename_lb): Was global, now local to main.
6882         (main): Open the tag file when in cxref mode.
6883         Use a BUFSIZ size buffer for making the shell commands.
6884         Look at the return value from the system routine.
6885         Exit when cannot open the tag file.
6886         (process_file): Open the file and pass the FILE* to find_entries.
6887         (find_entries): Now void, because does not open the file itself.
6888         (pfnote): Recovering from lack of memory does not work.  Removed.
6889         Use savenstr and simplify the code.
6890         (free_tree): Only free the name space if node is named.
6891         (structtag): Now a pointer, not a fixed length array of chars.
6892         (consider_token): Don't take a token as argument.  Use savenstr
6893         when saving a tag in structtag.  Callers changed.
6894         (TOKEN): Structure changed.  Now used only in C_entries.
6895         (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Delete.
6896         (C_entries): nameb and savenameb deleted.  Use dinamic allocation.
6897         (pfcnt): Delete.  Users updated.
6898         (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
6899         (TEX_getit, prolog_getit): Use dinamic allocation for storing
6900         the tag instead of a fixed size buffer.
6902 1995-01-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6904         * movemail.c (main): Skip past the colon in inname.
6906 1995-01-10  Francesco Potortì  (pot@cnuce.cnr.it)
6908         * etags.c (pfatal): New function.
6909         (main, etags_getcwd): Use pfatal.
6910         (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
6912 1995-01-10  Francesco Potortì  (pot@cnuce.cnr.it)
6914         * etags.c (Lang_function): Use void instead to declare the
6915         language functions, because many compilers are buggy.
6916         (etags_getcwd): Fix the previous fix on the #else branch.
6917         (readline_internal): Discard possible \r before \n here.
6918         (C_entries): Do not deal with \r here: undo previous fix.
6920 1995-01-09  Francesco Potortì  (pot@fly)
6922         * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
6923         functions and a macro that allow the program to work on input
6924         lines of whatever length.  Copied from etags.c.
6925         (fatal): Print a fatal error message and exit.
6926         (main): Use the new functions.  Fixed a bug that made a \037 char
6927         appear at the end of the output.
6929 1995-01-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6931         * etags.c (C_entries): Ignore carriage return at end of line.
6933 1994-12-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6935         * fakemail.c (xmalloc, xrealloc): Add casts.
6936         (add_field): Handle <...> and "..." syntax.
6937         (setup_files, get_keyword): Clean up parens and line breaks.
6938         (args_size): Likewise.
6940 1994-12-21  David J. MacKenzie  <djm@geech.gnu.ai.mit.edu>
6942         * yow.c: Include program name in error messages.
6944 1994-12-21  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6946         * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
6947         (xmalloc, fatal, error): New functions.
6948         (progname): New variable.
6949         (main): Set progname.
6951 1994-12-05  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6953         * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
6954         (main): If socket/mqueue name is in home dir, add in the host name.
6955         Rename .emacs_server to .emacs-server....
6957 1994-12-04  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6959         * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
6961 1994-11-22  Francesco Potortì  (pot@cnuce.cnr.it)
6963         * etags.c (print_help): Print --regex usage for ctags also.
6964         (main): Use -h in addition to -H as abbreviation for --help.
6966 1994-11-16  Francesco Potortì  (pot@cnuce.cnr.it)
6968         * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
6969         is compiled if this is defined.  The new functions and variables
6970         added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
6971         [VMS]: All VMS specific code previously contained in
6972         etags-vmslib.c is now included here, modified for dealing with
6973         language and regex options intermixed with filenames.
6974         (header_file): Global variable deleted.
6975         (Lang_Function): New typedef.  All language parser functions
6976         changed to this new type.
6977         (string_numeric_p, substr, prestr): Functions deleted.
6978         (readline_internal): Does the job that readline did previously.
6979         (longopts): --language and --regex options added.
6980         (lang_names, lang_extensions, lang_func, print_language_names):
6981         New structures, variables and functions for choosing languages.
6982         (print_help): Help strings updated.  Calls print_language_names.
6983         (argument_type, ARGUMENT): Typedefs for dealing with language and
6984         regex options intermixed with filenames.
6985         (main): Change the way of dealing with arguments on the command
6986         line to deal with language and regex options intermixed with
6987         filenames.
6988         (get_language, default_C_entries, Cplusplus_entries,
6989         Cstar_entries, Yacc_entries, just_read_file): New functions.
6990         (find_entries): Use the new method for choosing the language.
6991         (Pascal_functions): Allow intermixing of comment styles.
6992         (prolog_getit, skip_comment): Rewritten for speed.
6993         (readline): Rewritten to deal with regexps.
6995 1994-11-16  Francesco Potortì  (pot@cnuce.cnr.it)
6997         * etags.c (<errno.h>): #include added.
6998         (etags_getcwd): Check return value from getcwd.
7000 1994-11-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7002         * profile.c (TV1, TV2): Use EMACS_TIME as type.
7003         (get_time): Use EMACS_SUB_TIME.
7005 1994-10-30  Geoff Voelker  <voelker@cs.washington.edu>
7007         * ntlib.c: New file.
7008         * makefile.nt: New file.
7010         * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
7011         [WINDOWSNT]: Include the NT headers.
7012         (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
7014         * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
7015         [WINDOWSNT]: Include some NT headers.
7017 1994-10-24  Jonathan I. Kamens  (jik@cam.ov.com)
7019         * pop.c (getline): When a search of already-read input for CRLF
7020         fails, store the fact that we've searched it and don't search it
7021         again after reading more data.
7023         * pop.c (getline): When determining whether or not it's necessary
7024         to grow the input buffer, take into account the null that's stored
7025         at the end of already-read input in the buffer.
7027 1994-10-21  Francesco Potortì  (pot@cnuce.cnr.it)
7029         * etags.c (prestr, substr): Return a logical type.
7030         (consider_token): Comment out "EXFUN".  Use "DEFUN" instead of "DEF".
7031         (consider_token): Set funcdef to fignore when a DEFUN is met.
7032         (C_entries): Now we can use Tom Hageman patch for extern "C".
7034 1994-10-20  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7036         * movemail.c: PopServer renamed to popserver throughout.
7038 1994-10-20  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
7040         * etags.c: Don't declare malloc, since we include config.h.
7041         * fakemail.c: Likewise.
7043 1994-10-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7045         * movemail.c: Don't declare malloc.
7047 1994-10-19  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
7049         * rcs-checkin: Use test -r instead of < to check readability, to
7050         avoid syntax error.
7052 1994-10-19  Jonathan I. Kamens  (jik@cam.ov.com)
7054         * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
7055         defined, and if HAVE_CONFIG_H isn't defined, define
7056         MAIL_USE_POP always (so that this file can be included in
7057         other programs besides emacs).
7059         * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
7060         HAVE_CONFIG_H isn't defined.
7062         * pop.c (find_crlf, getline): Instead of using strstr, use a
7063         custom function for finding CRLF.
7064         (my_strstr): Function deleted.
7066 1994-10-17  Jonathan I. Kamens  (jik@cam.ov.com)
7068         * pop.c (getline): Fix a segfault because of passing a
7069         non-null-terminated string into strstr().  Fix from
7070         djm@va.pubnix.com (David J. MacKenzie).
7072         * pop.c: Don't include <string.h> and <strings.h>.
7074         * pop.c: Include <des.h> before <krb.h>, rather than after.
7075         They should be interchangeable, and indeed the inclusion is done in
7076         both orders in various files in the Kerberos 4 library sources,
7077         but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
7078         requires that <des.h> be included first, and I don't see any harm
7079         in changing the order.
7081         * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
7082         STDC_HEADERS, if they're defined.  Undef open, read, write and
7083         close after including it.
7085 1994-10-18  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7087         * pop.c: Fix mismatch in conditionals.
7089         * make-docfile.c (main): Don't process one input file twice.
7090         Never use exit code > 1.
7092         * pop.c (open, close, read, write): Add #undefs.
7094         * pop.c: Don't declare malloc, realloc, free.
7095         Include ../src/config.h.
7096         Don't include string.h or strings.h.
7097         Include des.h before krb.h.
7098         Do declare my_strstr.
7099         (getline): Really use my_strstr.
7100         Leave one empty place in server->buffer,
7101         and put a null at the end of the data in it.
7103 1994-10-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7105         * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
7106         Don't call kill with pid 0.  Handle EINTR when receiving messages.
7108 1994-10-17  Karl Heuer  <kwzh@gnu.ai.mit.edu>
7110         * Makefile.in.in (regex.o): Use full path to find regex.c.
7112 1994-10-17  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7114         * Makefile.in.in (etags): Add dependency on regex.o, link with it.
7115         (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
7117 1994-10-12  David J. MacKenzie  (djm@duality.gnu.ai.mit.edu)
7119         * Makefile.in.in (DONT_INSTALL): Remove make-path.
7120         (${archlibdir}): Use mkinstalldirs instead.
7122         * movemail.c: Make functions that return nothing void, not
7123         implicitly int.
7124         (main): Improve usage message.
7125         (error): Write to stderr, not stdout.
7127         * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
7128         * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
7129         * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
7130         warnings from unused variables and implicitly declared functions.
7132 1994-10-11  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7134         * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
7135         (distclean): Not here.
7137         * Makefile.in.in (libexecdir): Rename from libdir.
7139 1994-10-11  Francesco Potortì  (pot@cnuce.cnr.it)
7141         * etags.c (C_entries): Name the #define's that are macros.
7143 1994-10-10  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
7145         * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
7146         fd_set arg is a pointer, descriptor arg comes first.
7148 1994-09-29  Francesco Potortì  (pot@cnuce.cnr.it)
7150         * etags.c (C_entries): Recognize typedef of ANSI style functions.
7151         (C_entries): Recognize #define inside a struct.
7152         (C_entries): ANSI tells that preprocessor commands do not have to
7153         start on the first column.
7154         (print_help): Documentation corrected for -d and -D.
7155         (white, endtk): ANSI tells the vertical tab is a separator.
7157 1994-09-24  Jonathan I. Kamens  (jik@gza-client1.aktis.com)
7159         * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
7160         (pop.o, movemail.o): New targets.
7161         (movemail): Link in pop.o and movemail.o.  Use MOVE_LIBS, MOVE_FLAGS.
7163         * pop.c, pop.h: New files.
7165         * movemail.c: Improve POP code, move most of it into a separate file.
7166         (mbx_delimit_end, mbx_delimit_begin): Check for errors.
7167         (mbx_write): Check for errors and for From line.
7168         (pop_retr, popmail): Use subroutines in pop.c to do the real work.
7169         (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
7170         (pop_init): Functions deleted.
7172 1994-09-23  Richard Stallman  <rms@churchy.gnu.ai.mit.edu>
7174         * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
7175         Rename path to dirname.
7177 1994-09-23  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7179         * Makefile.in.in (UTILITIES):
7180         Remove test-distrib, make-docfile, make-path.
7181         (DONT_INSTALL): New variable--list those files here.
7182         (clean): Delete the files in DONT_INSTALL.
7184 1994-09-20  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7186         * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
7187         (main): Use fgets, not gets.
7189 1994-09-17  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7191         * timer.c: Don't declare malloc.
7193 1994-09-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>
7195         * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
7196         defined, use simple 32-bit versions of these macros.
7197         (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
7199 1994-09-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7201         * etags.c (etags_getcwd): Use getcwd if available.
7203 1994-09-11  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7205         * Version 19.27 released.
7207 1994-09-07  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7209         * Version 19.26 released.
7211 1994-08-15  Paul Eggert  <eggert@twinsun.com>
7213         * rcs2log: Add support for CVS.
7214         Work with `rlog's that output ISO 8601 dates.
7216 1994-08-09  Lawrence R. Dodd  <dodd@roebling.poly.edu>
7218         * rcs2log: Use <> to delimit email address.
7220 1994-08-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7222         * emacsserver.c [SYSV_IPC] (main): Make a separate process
7223         so we can listen for multiple requests.
7225 1994-08-04  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7227         * movemail.c: Include config.h first thing.
7229 1994-08-01  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7231         * emacsserver.c (main): Add casts to avoid warnings.
7233 1994-07-29  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7235         * Makefile.in.in (${archlibdir}): Compare the proper dir
7236         before installing the scripts.
7238 1994-07-27  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7240         * emacsclient.c (main): New local var progname saves argv[0].
7242 1994-07-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7244         * emacsclient.c (main): Don't actually modify argv[0].
7245         Modify a copy instead.
7247 1994-07-25  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7249         * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
7250         (tzp): Var deleted.
7252         * Makefile.in.in: Add #undef alloca.
7254 1994-07-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7256         * timer.c (xmalloc): New function.
7258 1994-07-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7260         * Makefile.in.in (ALLOCA_CFLAGS): New variable.
7261         (alloca.o): New target.
7263 1994-07-08  Dave Love  (d.love@dl.ac.uk)
7265         * etags.c (takeprec): Recognize `character*(*) function'.
7267 1994-07-08  Francesco Potortì  (pot@cnuce.cnr.it)
7269         * etags.c (main): Don't barf on obsolete -t and -T switches.
7270         (main): Print an explicative message when a switch is not known.
7272 1994-06-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7274         * hexl.c: Don't declare exit or perror.
7276         * emacsserver.c (main): Don't declare geteuid.
7277         Don't declare getenv if convex.
7279 1994-06-07  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7281         * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
7283 1994-06-03  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7285         * etags.c (absolute_filename): Remove infinite loop bug when
7286         accessing files in directories whose name begins with a dot.
7288 1994-06-03  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7290         * etags.c (etags_getcwd): Delete the trailing newline from cwd.
7292 1994-06-01  Morten Welinder  (terra@diku.dk)
7294         * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
7295         location of data directory.
7297 1994-05-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7299         * Version 19.25 released.
7301 1994-05-28  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7303         * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
7305 1994-05-27  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7307         * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
7309 1994-05-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7311         * Version 19.24 released.
7313 1994-05-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7315         * make-docfile.c (write_c_args): Put `default' in upper case.
7317 1994-05-17  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7319         * etags.c (etags_getcwd): Cast result of popen.
7320         (popen): Declaration deleted.
7322 1994-05-17  Karl Heuer  (kwzh@gnu.ai.mit.edu)
7324         * etags.c [!MSDOS]: Declare popen.
7326 1994-05-17  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7328         * b2m.c (main): Avoid crash if argc is 1.
7330 1994-05-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7332         * Version 19.23 released.
7334         * Makefile.in.in (blessmail): Specify directory for blessmail.el.
7336 1994-05-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7338         * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
7340 1994-05-05  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
7342         * Makefile.in.in: Fix out of date comment.
7344 1994-05-05  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7346         * Makefile.in.in: Put in a separator for where to start cpp procssing.
7347         Move all autoconf substitutions above that point.
7348         Above that point, use Make-style comments.
7349         This goes with changes in ../configure.in.
7351 1994-05-03  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7353         * Makefile.in.in (maybe-blessmail): New target to print the blessmail
7354         warning message.
7355         (${archlibdir}): Don't do it here.  Don't depend on blessmail.
7357 1994-05-02  Karl Heuer  (kwzh@gnu.ai.mit.edu)
7359         * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
7361 1994-05-01  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7363         * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
7364         print advice to run it, if it has anything significant to do.
7365         And only if MOVEMAIL_NEEDS_BLESSING.
7366         (blessmail): Use emacs, not temacs.
7367         (configuration): Rename from configname.
7369 1994-04-30  Morten Welinder  (terra@diku.dk)
7371         * etags.c (find_entries): Treat `*.cpp' as C++ files.
7373 1994-04-30  Morten Welinder  (terra@diku.dk)
7375         * etags.c [MSDOS]: #include <sys/param.h> for the following.
7376         [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
7377         a shell.
7379 1994-04-29  Morten Welinder  (terra@diku.dk)
7381         * hexl.c [MSDOS]: Don't define proto type for exit.
7383 1994-04-28  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7385         * b2m.c: Don't include string.h or strings.h.
7387 1994-04-27  Karl Heuer  (kwzh@gnu.ai.mit.edu)
7389         * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
7390         symbols, not make variables.
7392 1994-04-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7394         * Makefile.in.in (etags, ctags): Make VERSION a string constant.
7395         * etags.c (print_version): Print VERSION as a string.
7397 1994-04-20  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7399         * fakemail.c (readline): Fix updating of p when buffer grows.
7401 1994-04-20  Karl Heuer  (kwzh@gnu.ai.mit.edu)
7403         * Makefile.in.in (blessmail): New target.
7404         ${archlibdir}: Use blessmail when installing movemail.
7406 1994-04-18  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7408         * fakemail.c (readline): When extending the buffer,
7409         calculate end afresh using the new size.
7411 1994-04-18  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7413         * etags.c (main, print_help): Eliminate the -F option.
7415 1994-04-18  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7417         * etags.c (absolute_filename): Compare against '\0' instead of NULL.
7419 1994-04-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7421         * Makefile.in.in: Renamed from Makefile.in.
7422         Makefile.in is now generated from it, and then preprocessed.
7423         Change comments to C syntax.
7424         Include config.h.
7425         (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
7426         (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
7428 1994-04-13  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7430         * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
7432 1994-04-12  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7434         * etags.c (etags_getcwd): Initialize bufsize.
7436 1994-04-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7438         * profile.c (gettimeofday): If system doesn't have this, define it
7439         to give a fatal error.
7441 1994-04-11  Karl Heuer  (kwzh@gnu.ai.mit.edu)
7443         * movemail.c (main): Use setuid, not seteuid.
7445 1994-04-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7447         * etags.c: #undef static.
7449 1994-04-08  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7451         * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
7452         (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
7453         (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
7454         Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
7455         TeX_functions, Prolog_functions.
7456         (inf): No more a global variable.
7457         (C_entries): Take 2nd parameter `inf' instead of using the global one.
7458         (find_entries): Add the cp1 var for optimization.
7459         (find_entries): Add more suffixes for assembler files.
7460         (Asm_funcs): Now finds labels even without an ending colon.
7462 1994-03-30  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7464         * etags.c (main): Use etags_getcwd for compatibility.
7465         (etags_getcwd): New function.
7467 1994-03-25  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7469         * Makefile.in (etags, ctags): Pass -D for VERSION.
7471 1994-03-25  Francesco Potortì  (pot@cnuce.cnr.it)
7473         * etags.c (emacs_tags_format, ETAGS): Remove.  Use CTAGS instead.
7474         (main): Don't allow the use of -t and -T in etags mode.
7475         (print_help): Don't show options enabled by default.
7476         (print_version): Show the emacs version number if VERSION is #defined.
7477         (find_entries): Add "ss" as suffix for Chez Scheme.
7479 1994-03-23  Francesco Potortì  (pot@cnuce.cnr.it)
7481         * etags.c (cwd, outfiledir): Vars added.
7482         (relative_filename, absolute_filename, absolute_dirname):
7483         functions added to compute filenames in tags files.
7484         (process_file): Filenames in tags file are relative to the
7485         directory where the tags file is (useful with the -o option).
7486         (main): Initialize the outfiledir var.
7487         (TYPEDST): Add the `tignore' value.
7488         (C_entries): Corrected various small bugs.
7490 1994-03-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7492         * Makefile.in (UTILITIES): `env' deleted.
7493         (env): Target deleted.
7494         * env.c: File deleted.
7496 1994-03-14  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7498         * Makefile.in (install, ${archlibdir}): Switch back to ..
7499         before running INSTALL_PROGRAM.
7501 1994-03-14  Francesco Potortì  (pot@cnuce.cnr.it)
7503         * etags.c (TYPEDST): Add the `tignore' value.
7504         (C_entries): Corrected various bugs, now correctly parses the
7505         `extern "C" {' construction (patch by Tom R.Hageman).
7507 1994-03-05  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7509         * b2m.c: Use <...> to include config.h.
7510         Don't include stdlib.h.
7512 1994-03-03  Heiko Muenkel  (muenkel@tnt.uni-hannover.de)
7514         * b2m.c (main): Change delimiter from "^L" to "^_^L".
7515         Allow for text following "BABYL OPTIONS:".
7516         Add --help option.  Use argv[0] in error messages.
7518 1994-03-01  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7520         * emacsclient.c (main) [HAVE_SYSVIPC]:
7521         Make msgp->mtext longer if necessary.
7522         On HPUX, error if it's more than 512 chars.
7524 1994-02-26  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
7526         * etags-vmslib.c: Use GPL.
7527         * emacstool.c: Use GPL.
7528         * fakemail.c: Update GPL.
7530         * make-path.c (main): Return 1 on error, not -1.
7531         Update GPL.
7533         * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
7534         (xmalloc, xrealloc): Return char *, not int.
7535         (error): Write to stderr, not stdout.
7536         Update GPL.
7538 1994-02-23  Karl Heuer  (kwzh@gnu.ai.mit.edu)
7540         * profile.c (main, get_time): Don't crash on invalid input.
7542 1994-02-22  Karl Heuer  (kwzh@gnu.ai.mit.edu)
7544         * profile.c (get_time): Simplify; avoid calling index.
7545         (main): Exit on EOF.
7547 1994-02-17  Francesco Potortì  (pot@cnuce.cnr.it)
7549         * etags.c (--absolute-pathnames): Option removed.
7551 1994-02-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7553         * fakemail.c (put_line): Don't break the line if it all fits.
7555 1994-02-14  Francesco Potortì  (pot@fly)
7557         * etags.c (absolute_pathnames, cwd): Add global vars.
7558         (longopts, print_help, main, process_file): Put absolute filenames
7559         in the tag file if the -A --absolute-pathnames option is used.
7560         (print_help): Alphabetically order the options.
7561         (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
7563 1994-02-09  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7565         * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
7566         (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
7568 1994-02-07  Christian Lynbech  (lynbech@avignon)
7570         * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
7572 1994-02-04  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7574         * Makefile.in (UTILITIES): Mention profile.
7575         (profile): New target.
7577         * profile.c: New file.
7579 1994-01-16  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
7581         * make-docfile.c: Make the argument list output look more like the
7582         Lisp docstrings do.
7583         (write_c_args): Take new arg FUNC.  Make output
7584         look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
7585         (scan_c_file): Pass BUF to write_c_args for FUNC arg.
7587 1994-01-14  Francesco Potortì  (pot@cnuce.cnr.it)
7589         * etags.c (stab_entry, stab_create, stab_find, stab_search,
7590         stab_type, add_keyword, C_reate_stab, C_create_stabs): Delete.
7591         Use gperf generated hash table instead of linked list.
7592         (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Add.
7593         Mostly code generated by gperf.
7594         (consider_token): Remove unused parameter `lp'.
7595         (PF_funcs, getit): Allow subroutine and similar declarations
7596         to span multiple lines.
7597         (C_entries): Check for newline if inchar to avoid bus errors.
7598         (process_file, find_entries): Distinguish among nonexistent
7599         and not regular file.
7601 1994-01-14  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7603         * timer.c: Include errno.h; don't include fasync.h.
7604         (schedule): Don't return a value.
7605         (sigcatch): Reestablish the handler first.
7606         (getevent): Always call notify at the end.
7607         (notify): Defer alarms around the whole body of function.
7609 1994-01-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7611         * timer.c (main): Don't request SIGIO, and don't handle it.
7612         Loop calling getevent.
7613         (sigcatch): Delete code to handle SIGIO.
7614         if defer_alarms is set, don't call notify, just set alarm_deferred.
7615         (getevent): Use read, not getchar.  Handle EINTR and EAGAIN.
7616         Set defer_alarms around realloc and schedule.
7617         If alarm_deferred gets set, call notify.
7618         Likewise if this event is the only pending event.
7619         Make buf and buf_size global variables.
7620         Don't malloc buf if it is already non-zero.
7621         (schedule): Just exit if run out of memory.
7622         Return the number of events.
7623         (signal) [_CX_UX]: Add #undef.
7625 1994-01-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7627         * timer.c [USG] (SIGIO): Define as SIGPOLL.
7628         (main) [USG]: Do ioctl to enable SIGPOLL.
7630 1994-01-08  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
7632         * timer.c: Don't declare sys_errlist; declare strerror instead.
7633         (schedule, main): Call strerror instead of using sys_errlist.
7634         * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
7635         Call strerror instead of using sys_errlist.
7636         * env.c (main): Call strerror instead of using sys_errlist.
7637         * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
7638         (main): Call strerror instead of using sys_errlist.
7639         * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
7640         * env.c [! HAVE_STRERROR] (strerror): Likewise.
7641         * timer.c [! HAVE_STRERROR] (strerror): Likewise.
7642         * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
7644 1994-01-05  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7646         * hexl.c: Fix up whitespace.  Get rid of spurious casts to void.
7648         * movemail.c (malloc): Don't declare it.
7649         (xmalloc): Cast result of malloc.
7650         (strcpy): Don't declare it.
7652 1993-11-14  Morten Welinder  (terra@diku.dk)
7654         * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
7655         (main): Use fclose to close file opened by fopen.
7657         * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
7659         * movemail.c [MSDOS]: #undef `access'.
7661         * b2m.c (main) [MSDOS]: Open all files as binary.
7662         * etags.c (main) [MSDOS]: Open all files as binary.
7664         * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
7665         (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
7666         with.
7668 1994-01-02  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7670         * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
7671         Use ALL_CFLAGS in all the rules that compile and link with one cmd.
7672         (LINK_CFLAGS): New variable.
7673         (timer): Use LINK_CFLAGS.
7675 1993-12-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7677         * movemail.c: Include syswait.h.
7678         Fork a subprocess and use it to copy the mail file.
7680 1993-12-07  Richard Stallman  (rms@srarc2)
7682         * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
7684 1993-12-04  Richard Stallman  (rms@srarc2)
7686         * movemail.c (main): When making tempname, cast result of xmalloc.
7687         Include room for EXXXXXX in the size.
7688         Don't use result of strcpy.
7690 1993-12-03  Paul Eggert  (eggert@twinsun.com)
7692         * vcdiff: Add --brief option.
7694 1993-12-02  Richard Stallman  (rms@srarc2)
7696         * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
7697         for all executables and scripts.
7699 1993-11-27  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7701         * Version 19.22 released.
7703 1993-11-26  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7705         * Makefile.in (mostlyclean): Make it distinct from clean.
7707 1993-11-24  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7709         * Makefile.in (${archlibdir}): Don't do chown or chgrp.
7711 1993-11-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7713         * Version 19.21 released.
7715         * Makefile.in (install): Don't change mode or group when installing.
7717         * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
7719 1993-11-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7721         * make-docfile.c (read_c_string): For "", concatenate the two strings.
7723         * movemail.c (main): Fix error message text.
7725 1993-11-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7727         * Version 19.20 released.
7729 1993-11-08  Tom Hageman  (tom@basil.icce.rug.nl)
7731         * etags.c (C_entries): Keep track of ()-parenthesis level so that
7732         functions returning a pointer to a function, a la `signal', can be
7733         parsed.  This also required new state `fstartlist' to `FUNCST'.
7734         (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
7735         (C_entries, CNL): Use it to isolate preprocessor directive processing
7736         from the other state engines.
7737         (begtk): Add '~', for C++ class destructors.
7739 1993-11-02  Francesco Potortì  (pot@cnuce.cnr.it)
7741         * etags.c (consider_token): Remove unused variable firsttok.
7742         (prolog_getit): Call pfnote with the right number of arguments.
7744 1993-10-19  Paul Eggert  (eggert@twinsun.com)
7746         * rcs2log (printlogline): Don't generate lines containing only
7747         white space.
7749 1993-10-04  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
7751         * Makefile.in (${archlibdir}):
7752         Install ${SCRIPTS} from ${srcdir}, not cwd.
7754 1993-10-03  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
7756         * Makefile.in: Fixed typos or brainos of whoever thought `@' was
7757         the comment character.
7759 1993-10-01  Francesco Potortì  (pot@cnuce.cnr.it)
7761         * etags.c (process_file): Dead code removed.
7762         (S_ISREG): #define it using S_IFREG if not defined.
7763         (process_file): Regular files have nothing to do with symlinks.
7765 1993-09-28  Brian J. Fox  (bfox@ai.mit.edu)
7767         * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
7768         from current directory.  Only chmod and chgrp files that we
7769         installed, which excludes ${INSTALLABLE_SCRIPTS}.  They go in
7770         ${bindir}.
7771         (INSTALLFLAGS): Delete definition, since it is an unused variable
7772         now.
7774 1993-09-27  Brian J. Fox  (bfox@ai.mit.edu)
7776         * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
7777         Let configure figure out the correct values for these variables.
7779 1993-09-14  Brian J. Fox  (bfox@ai.mit.edu)
7781         * Makefile.in (archlibdir): Only install executables internally
7782         used by emacs; don't install bindir binaries here.
7784 1993-09-24  Paul Eggert  (eggert@twinsun.com)
7786         * rcs2log: Add -h, -n, -r options.
7787         By default, look for *,v files as well as RCS/*,v files.
7788         Use $TMPDIR (default /tmp) instead of /tmp.
7790 1993-09-20  Francesco Potortì  (pot@fly)
7792         * etags.c (C_entries): is_func is initialized here instead of in
7793         consider_token for the sake of the yacc rules section.
7794         (C_entries): Now class, struct, enum, union and typedef produce
7795         named tags.
7797 1993-09-11  Roland McGrath  (roland@baalperazim.gnu.ai.mit.edu)
7799         * yow.c: Include <src/paths.h>, instead of "src/paths.h".
7801 1993-09-10  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
7803         * Makefile.in: Support configuring in a different directory when
7804         ${srcdir} has already been configured.
7805         (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
7806         -I${srcdir}/../src.
7807         (b2m, movemail, fakemail, env, emacsserver, emacsclient,
7808         getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
7809         is already in CPP_FLAGS.
7810         * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
7811         movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
7813 1993-08-25  Paul Eggert  (eggert@twinsun.com)
7815         * rcs2log: Change /{/ to /\{/ for POSIX ERE compatibility;
7816         otherwise, HP awk complains.
7818         * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
7819         are common hangouts for SCCS commands.
7821 1993-08-14  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7823         * Version 19.19 released.
7825 1993-08-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7827         * Makefile.in (make-path): Dep on config.h.
7829 1993-08-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7831         * b2m.c (TRUE, FALSE): Don't define if already defined.
7833 1993-08-09  Paul Eggert  (eggert@twinsun.com)
7835         * rcs2log (awkscript):
7836         Some sites put comma-separated junk after the fullname.
7837         Remove it, but leave "Bill Gates, Jr" alone.
7838         Remove the junk from fullnames like "0000-Admin(0000)".
7840 1993-08-08  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7842         * Version 19.18 released.
7844 1993-08-04  Francesco Potortì  (pot@spiff.gnu.ai.mit.edu)
7846         * etags.c (L_isdef, L_isquote, L_getit): Small optimizations.
7847         (L_funcs): The (foo::defmumble stuff now should work.
7848         (consider_token): Function returned random value--corrected.
7849         (C_entries): Corrected == versus = typo.
7851 1993-08-01  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
7853         * etags.c (put_entries): For NODE->rewritten, put pattern before
7854         \177 and name after, not vice versa.
7856 1993-08-01  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7858         * timer.c (main): Generate a SIGIO as soon as we've initialized.
7860 1993-07-30  Francesco Potortì  (pot@cnuce.cnr.it)
7862         * etags.c (FINCST): Add the fignore status.  Means we are
7863         after the parameter list and before the open curly brace.
7864         Allows correct parsing of C++ constructors.
7865         (C_entries, consider_token): Make use of fignore.
7866         (consider_token): Reset funcdef when next_token_is_func: when in
7867         ctags mode makes DEFVAR and others work better.
7868         (L_isquote): Function that recognizes the "(quote" string.
7869         (L_getit): Ignore quoting via "'" or "(quote".  Useful for defalias.
7871 1993-07-29  Paul Eggert  (eggert@twinsun.com)
7873         * rcs-checkin: Don't check whether a file is readable until we have
7874         decided not to ignore it.
7876 1993-07-20  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7878         * Makefile.in (etags): Depend on ../src/config.h.
7880         * emacsserver.c: Include types.h before file.h.
7882 1993-07-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7884         * Makefile.in (install): Use .n, not .new, for temporary filenames.
7886 1993-07-18  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7888         * Version 19.17 released.
7890 1993-07-15  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
7892         * etags.c (print_help): Break up the very long strings containing
7893         the help message into shorter strings, to placate chintzy C
7894         compilers which can't handle strings that long.
7896         * wakeup.c: Use CPP tangle from autoconf manual to #include the
7897         correct combination of <time.h> and <sys/time.h>.
7899 1993-07-08  Francesco Potortì  (pot@cnuce.cnr.it)
7901         * etags.c (alloca): Remove all references to it.
7902         (main): Now calls xnew instead of alloca for portability.
7903         (../src/config.h): Included only if HAVE_CONFIG_H.
7904         (const): Void definition removed--config.h takes care of it.
7906 1993-07-08  Francesco Potortì  (pot@cnuce.cnr.it)
7908         * etags.c (consider_token): Was `==', now is `='.
7909         (consider_token): DEFUNs now treated like funcs in ctags mode.
7911         * etags.c (LEVEL_OK_FOR_FUNCDEF): Remove.
7912         (C_entries): Optimize the test that used LEVEL_OK_FOR_FUNCDEF.
7913         (C_entries): Remove a piece of useless code.
7914         (C_entries): Making typedef tags is delayed until a semicolon
7915         is met.  This handles "typedef int X, Y, Z;" correctly.
7917 1993-07-06  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
7919         * Version 19.16 released.
7921         * b2m.c: #include <sys/types.h>.
7922         (ltoday): Declare this to be time_t.
7924 1993-06-30  Paul Eggert  (eggert@twinsun.com)
7926         * vcdiff: Add -q option.
7928 1993-06-29  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7930         * etags.c: #include "config.h" and the alloca CPP tangle before
7931         #including the system headers and getopt.h.  AIX requires the
7932         #pragma to come before any actual C code.
7934 1993-06-21  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7936         * Makefile.in (ctags): Depend on etags, so that parallel makes
7937         don't write etags.o files on top of each other.
7939 1993-06-19  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7941         * version 19.15 released.
7943 1993-06-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7945         * etags.c (add_node): Move var last_node to file scope.
7947 1993-06-17  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7949         * Version 19.14 released.
7951 1993-06-16  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7953         Bring mumbleclean targets into conformance with GNU coding standards.
7954         * Makefile.in (distclean): Call clean to do most of the work.
7955         Delete aixcc.c and TAGS.
7956         (realclean): Just call distclean.
7958         * Makefile.in: Remember, spaces are not tabs.
7960 1993-06-13  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7962         * Makefile.in (CPP_CFLAGS): New variable.
7963         Use it instead of ALL_CFLAGS when compiling a .c file.
7964         (getopt.o, getopt1.o): Add explicit compilation commands.
7966 1993-06-10  Mark D. Baushke  (mdb@cisco.com)
7968         * etags.c: Reinstate old -f option as an alias for -o for
7969         installed base uses.
7971 1993-06-09  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7973         * emacsserver.c (main): When we're passing a `struct sockaddr_un'
7974         to bind or accept, cast the pointer, to avoid warnings on systems
7975         which declare prototypes for this.
7976         * emacsclient.c (main): Same.
7978         * Makefile.in (YACC): New variable, to be set by top-level Makefile.
7980 1993-06-08  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7982         * Version 19.13 released.
7984         * wakeup.c: Include sys/types.h, too; I think that's where time_t
7985         comes from, not sys/time.h.
7987 1993-06-02  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7989         * wakeup.c: Include sys/time.h.
7991         * etags.c: #undef static.
7993         * Version 19.12 released.
7995         * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
7997 1993-06-01  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7999         * Version 19.11 released.
8001         * timer.c [LINUX]: #undef signal.
8002         * emacsserver.c: #undef signal.
8004 1993-05-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8006         * wakeup.c (main): Make when a time_t.
8008 1993-05-30  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8010         * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
8011         `(cd foo ; pwd)' to get the canonical name of a directory; cd
8012         might fail, and have pwd print out the current directory.
8014         * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
8015         string-handling functions.
8017 1993-05-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8019         * Version 19.10 released.
8021 1993-05-29  Paul Eggert  (eggert@twinsun.com)
8023         * rcs2log: When given no file arguments, inspect RCS/.* as well
8024         as RCS/*.  Don't report an error if RCS is empty or nonexistent.
8026 1993-05-29  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8028         * Makefile.in (timer): Link with $(LOADLIBES).
8030 1993-05-28  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8032         * fakemail.c (put_line): Don't output \n\t unless more text follows.
8034 1993-05-28  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
8036         * etags.c: Replace the CPP tangle for alloca with the one from the
8037         autoconf documentation, since that's working elsewhere.
8039 1993-05-27  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
8041         * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
8042         description files can find their ancestors.
8044 1993-05-27  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8046         * Makefile.in (install): Get the scripts from ${srcdir},
8047         unlike the executables.
8048         (ALL_CFLAGS): Add -I../src.
8050 1993-05-27  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
8052         * Version 19.9 released.
8054 1993-05-26  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8056         * Makefile.in (install): Do install the programs listed in
8057         INSTALLABLE_SCRIPTS.  Make the renaming loop use INSTALLABLES and
8058         INSTALLABLE_SCRIPTS, instead of writing the programs out.
8060         * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
8061         (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
8063 1993-05-25  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8065         * etags.c: Include ../src/config.h.
8067         * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
8068         in first loop.  Delete files from bindir before installing new ones.
8069         (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
8071 1993-05-24  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8073         * Version 19.8 released.
8075         * make-docfile.c: Doc fix.
8077 1993-05-24  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8079         * tcp.c: Fix comment syntax at top of file.
8080         (main): Don't call htons with the port number.
8082 1993-05-24  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8084         * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
8085         appropriate.
8087         * Makefile.in (install): Refer to the variables INSTALLABLES and
8088         INSTALLABLE_SCRIPTS, instead of writing them out.
8090 1993-05-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8092         * make-path.c (main): Return 0.
8094 1993-05-22  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
8096         * Version 19.7 released.
8098 1993-05-22  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8100         * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
8102 1993-05-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8104         * tcp.c: New file.
8106 1993-05-18  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8108         * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
8110 1993-05-15  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
8112         * timer.c (notify): Don't call sighold or sigrelse; they're USG
8113         only.  We should really fix this later, but let's just make it
8114         compile for now.
8116         Install patches from David J. Mackenzie to make the srcdir option
8117         work.
8118         * Makefile.in (srcdir, VPATH): Get this value from the top-level
8119         Makefile.
8120         (INSTALLABLES): Split this into two lists - INSTALLABLES and
8121         INSTALLABLE_SCRIPTS.
8122         (INSTALLABLE_SCRIPTS): New list.
8123         (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
8124         (${archlibdir}): The scripts to be installed live in the source
8125         tree, not in the object tree.
8126         (test-distrib): Note that the data file lives in the source tree,
8127         not the object tree.
8128         (GETOPTDEPS): Note that getopt.h lives in the source tree.
8129         (all other targets): Change references to source files to use
8130         ${srcdir}, except for config.h, which lives in the object dir.
8131         (timer.o): Note that this depends on ../src/config.h.
8132         * make-docfile.c (main): Add a -d option, to tell it where to find
8133         the source files.
8134         * test-distrib.c (main): Take the name of the distribution file to
8135         test from the command line.
8137         * timer.c: Fix misspellings of get_date function's name.
8139 1993-05-12  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
8141         * etags.c (main):
8142         Don't require that there be input files if -i switches were given.
8144 1993-05-09  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8146         The GNU coding standards specify that CFLAGS should be left for
8147         users to set.
8148         * Makefile.in (CFLAGS): Put this in the "things configure might
8149         edit" section, and have it default to -g.
8150         (ALL_CFLAGS): New variable, set to all the flags which should be
8151         passed to compilations.  Replace all other uses of CFLAGS with
8152         ALL_CFLAGS.
8153         (.c.o): New rule, to pass ALL_CFLAGS to compilations.
8155         * Makefile.in (DEFS): Remove this; it's always just going to be
8156         "-DHAVE_CONFIG_H -Demacs".
8158 1993-05-03  Paul Eggert  (eggert@twinsun.com)
8160         * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
8161         /[/]/, so change it to /[\/]/.  This should work on all
8162         POSIX-compliant awks.  It's slightly wrong with traditional awk,
8163         since it matches \ too, but that's a minor problem compared to awk
8164         syntax errors.
8166 1993-05-01  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
8168         * Makefile.in (ALLOCA): New variable, whose value we should
8169         inherit from the top-level makefile.
8170         (etags, ctags): Include ALLOCA in the list of object files that
8171         these executables depend on and link.
8173 1993-04-09  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8175         * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
8177 1993-04-07  Jim Blandy  (jimb@churchy.gnu.ai.mit.edu)
8179         * make-docfile.c (write_c_args): Print an argument named "defalt"
8180         as "default".
8182 1993-03-24  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
8184         * Makefile.in (C_SWITCH_SYSTEM): New variable.
8185         (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
8186         compiler.
8188 1993-03-22  Francesco Potortì  (pot@cnuce.cnr.it)
8190         * etags.c (YACC): Flag added to c_ext.
8191         (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
8192         (find_entries): Consistently use streq when reasonable.
8193         (find_entries): A .y file is a yacc file.
8194         (get_C_stab): c_ext becomes c_ext&C_PLPL.
8195         (C_entries): Logical cplpl means c_ext&C_PLPL.
8196         (C_entries): Logical yacc_rules means we are after the first %%.
8197         (C_entries): Add logic for yacc files.
8199 1993-03-16  Francesco Potortì  (pot@cnuce.cnr.it)
8201         * etags.c (C_entries): ':' case moved to the second switch.
8202         (C_entries): Do not examine token if structdef==scolonseen.
8203         (consider_token): structtag set to null string for enum.
8205 1993-03-12  Francesco Potortì  (pot@cnuce.cnr.it)
8207         * etags.c (GET_COOKIE): And related macros removed.
8208         (logical): Is now int, no more a char.
8209         (reg): Define deleted.
8210         (isgood, _gd, notgd): Delete.
8211         (gotone): Delete.
8212         (TOKEN): Member linestart removed.
8213         (linepos, prev_linepos, lb1): Delete.
8214         (main): Call initbuffer on lbs array instead of lb1.
8215         (init): Remove the initialization of the logical _gd array.
8216         (find_entries): A .sa suffix means assembler file.
8217         (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
8218         All C state machines rewritten.
8219         (C_entries): Complete rewrite.
8220         (condider_token): Complete rewrite.
8221         (getline): Delete.
8223 1993-03-01  Francesco Potortì  (pot@fly.CNUCE.CNR.IT)
8225         * etags.c (C_entries): Add the quotednl logical variable.
8226         Used for parsing of #define's spanning multiple lines.
8228 1993-02-23  Francesco Potortì  (pot@fly.CNUCE.CNR.IT)
8230         * etags.c (C_entries): Save the definedef status even when a
8231         newline is met inside a string.
8233 1993-03-19  Eric S. Raymond  (eric@geech.gnu.ai.mit.edu)
8235         * Makefile.in (EXECUTABLES): Add rcs-checkin.
8237         * Makefile.in (unlock, relock): New productions.
8239 1993-03-16  Paul Eggert  (eggert@twinsun.com)
8241         * rcs2log: Some awks don't understand "\r".  Code around this.
8242         Unfortunately this requires putting a carriage return in the
8243         source code.  Don't assume that rlog will tolerate times like
8244         `10:10:60'; RCS 5.7 won't allow this.
8246 1993-03-10  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8248         * timer.c (main): Set the ownership of the stdin file descriptor
8249         to the current process.  Print error messages if either of the
8250         fcntl's fails.
8252         * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
8253         ../src/config.h), not void.
8255 1993-03-06  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8257         * b2m.c (main): Don't exit upon reading a blank line.
8259 1993-03-01  Francesco Potortì  (pot@fly.CNUCE.CNR.IT)
8261         * etags.c (C_entries): New local variable quotednl.  Used for
8262         parsing of #define's spanning multiple lines.
8264         * etags.c (C_entries): Save the definedef status
8265         even when a newline is met inside a string.
8267 1993-02-26  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8269         * timer.c (notify): Initialize waitfor properly.
8271 1993-02-22  Francesco Potortì  (pot@CNUCE.CNR.IT)
8273         * etags.c (C_entries): Don't reset definedef when a newline inside a
8274         comment is met.
8276 1993-01-14  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8278         * etags.c (find_entries): If filename ends in .f or .for,
8279         don't try anything but Fortran.
8281 1993-01-08  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
8283         * timer.c (notify): Flush stdout after writing message to avoid lossage
8284         on terminals.
8286         (notify): Also, write a newline after the token.
8288 1992-12-12  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8290         * Makefile.in (exec_prefix): New variable.
8291         (bindir, libdir): Use it instead of `prefix'.
8293         * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
8295         * Makefile.in (libdir): Default to ${prefix}/lib.
8296         (archlibdir): Adjust to match.
8298         * Makefile.in (distclean): Don't delete backup or autosave files.
8299         (extraclean): Like realclean, but does delete backup and autosave
8300         files.
8302         * Makefile.in (realclean): Ignore errors from rm.
8304         * Makefile.in (distclean): Don't bother to delete ../arch-lib;
8305         that doesn't exist anymore.
8307 1992-12-11  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8309         * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
8310         described in the top-level Makefile.
8311         (UTILITIES): Add make-path to the list of utility programs.
8312         (../arch-lib): Replace by the ${archlibdir} target, which places
8313         the executables in their permanent home.
8314         (install, install.sysv, install.xenix): Consolidated into one
8315         target which should work under all circumstances, modulo a few
8316         ignored error messages.
8318         * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
8319         a different number of arguments than other DEFVARs, recognize it
8320         specially, and expect the right number of commas.
8322 1992-12-04  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8324         * make-path.c: New program, to help with the installation process.
8325         * Makefile.in (make-path): New target.
8327         * make-path.c (touchy_mkdir): Remove debugging output.
8329 1992-11-05  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8331         * Makefile.in (getdate.o): Add explicit target for this, so we
8332         can indicate that it depends on ../src/config.h.
8334 1992-11-04  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8336         * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
8337         instead of CFLAGS.
8338         (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
8340 1992-09-30  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8342         * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
8343         9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
8344         that system.
8346         * Makefile.in (arch-lib): Give rm the `-f' option.
8348 1992-09-28  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8350         * make-docfile.c (write_c_args): Rewritten to correctly print
8351         &optionals before the first identifier, but after the first paren.
8352         This code used to just wait for commas or spaces; now it notices
8353         identifier boundaries.
8355 1992-09-26  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
8357         * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
8359 1992-09-23  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8361         * make-docfile.c (write_c_args): Print the argument lists properly
8362         when the first argument is optional.
8364 1992-09-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8366         * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
8367         Redefine @item.  Set catcode of +.
8369 1992-08-22  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8371         * emacsclient.c (main): Set IPC_CREAT in msgget call.
8373 1992-08-20  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8375         * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
8376         (TEX_decode_env): Make `tab' one element longer.
8378 1992-08-20  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8380         * etags.c (PF_funcs): Recognize the "entry" keyword.
8382 1992-08-18  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8384         * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
8386 1992-08-14  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8388         * timer.c (events): Rather than having slots marked as in use or
8389         out of use by the `token' field, keep all pending events at the
8390         beginning of the array.  When we delete an event in the middle of
8391         the array, we move the last event into its place.
8392         (num_events): New variable.
8393         (schedule): It is now cheaper to find a free event slot;
8394         events[num_events] is the first free slot.
8395         (notify): Scan events[0 .. num_events-1], instead of the whole
8396         array.  When an event fires, move the last event in the array into
8397         its spot.  Use num_events to determine whether or not there are
8398         any pending events, not wait_for.
8399         (getevent): Delete unused variable `ep'.
8400         (sigcatch): It's now easier to find all the active events.
8401         (main): Initialize num_events.
8403         * etags.c: Rather than fret about which systems have index and
8404         which systems have strchr, and how to tell the difference between
8405         them, we just write out our own versions.  Big deal.
8406         (index, rindex): Extern declarations removed.
8407         (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
8408         (etags_index, etags_rindex): New declarations.
8409         (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
8410         TEX_getit, substr): Use the etags_*index functions, rather than
8411         the native *index functions.
8412         (rindex, index): Rename to etags_rindex and tags_rindex, and
8413         made them unconditionally defined, rather than having them depend
8414         on NEED_*INDEX.
8416         * etags.c (savenstr): Add declaration for this at top of file.
8417         (TEX_decode_env): Don't declare it local to this function.
8419         * b2m.c: #include "../src/config.h", so we can test for the USG
8420         macro, and decide whether to include <string.h> or <strings.h>.
8421         * Makefile.in: Note that b2m.c depends on ../src/config.h.
8423 1992-08-13  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8425         * timer.c: Reformatted according to the GNU coding standards.
8426         Removed arbitrary limits on the number of events queued and the
8427         length of the tokens used to identify them.
8428         Removed casts to (void).
8429         Removed debugging printfs; they clutter the code, and the need
8430         can be better filled using a real debugger.
8432 1992-08-07  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8434         * timer.c: Installed new version from Eric Raymond; this is more
8435         portable, since it doesn't try to use SIGIO.
8437 1992-07-17  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8439         * emacsclient.c (main): If we can't find the socket in this
8440         person's home directory, print a message which asks if they've
8441         started the server, instead of just printing the message from
8442         sys_errmsg; Cygnus finds that people are much less confused by
8443         this.
8445 1992-07-14  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8447         * etags.c: Rather than defining "notdef" when "hpux" is #defined,
8448         so that index and rindex get defined, why don't we actually
8449         control index and rindex using symbols called "NEED_INDEX" and
8450         "NEED_RINDEX", and define them if hpux is defined?  Isn't that a
8451         little more readable than defining something whose name implies
8452         that it's not?
8454 1992-07-08  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8456         * movemail.c: Merged changes from Jamie Zawinski's byte compiler
8457         distribution:
8458         Miscellaneous doc fixes.
8459         (skip_white, read_lisp_symbol): New functions.
8460         (scan_lisp_file): Instead of using long hairy strings of ifs, call
8461         read_lisp_symbol and then see what we got.  Call skip_white
8462         instead of writing out a loop to do its job.  Correctly extract
8463         docstrings from "defmacro" declarations.
8465 1992-06-25  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8467         * movemail.c (strcpy): Declare this to return char *.
8469 1992-06-18  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8471         * etags.c (C_entries): When we find a C++ comment, do actually
8472         skip to the end of the line; do a 'break' instead of a 'continue'.
8474 1992-06-11  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8476         * etags.c (getit): Add missing parenthesis to expression which
8477         decides if this token is an identifier.
8479 1992-06-04  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
8481         * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
8483 1992-05-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8485         * etags.c (put_entries): Always put space between name and line num.
8487 1992-05-28  Ken Raeburn  (Raeburn@Cygnus.COM)
8489         * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
8490         warning.
8491         (LEVEL_OK_FOR_FUNCDEF): Ditto.
8493 1992-05-19  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8495         * make-docfile.c (write_c_args): Pass both arguments to putc.
8497 1992-05-10  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
8499         * etags.c (C_entries): Fix reading of "..." strings.
8500         (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
8501         the C library source.
8503         * etags.c (C_entries): When we see a backslash inside a quoted
8504         string, skip to the next character.  This allows us to correctly
8505         deal with strings containing quotes.
8507 1992-05-08  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8509         * make-docfile.c (write_c_args): Print the C argument names as
8510         they would be written in Elisp; print '_' as '-'.
8512 1992-05-07  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8514         * movemail.c [POP]: Get user name via getpwuid.
8516 1992-05-04  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8518         * Makefile.in: Flags in CC invocations rearranged for no reason.
8520 1992-04-20  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8522         * etags.c (print_help): Remember not to embed raw newlines in
8523         strings - end the lines with `\n\'.
8525 1992-04-17  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8527         * timer.c (getevent): Remove declaration of memcpy; since
8528         different systems have different return types, and we're not even
8529         using the return type anyway, it wasn't doing us any good.
8531 1992-04-16  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8533         * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
8534         type of this function.
8536 1992-04-08  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8538         * etags.c: "--no-warning" option renamed to "--no-warn",
8539         to be consistent with other GNU programs, like makeinfo.
8541         * Makefile: Renamed to Makefile.in; the configure script
8542         will edit this to produce Makefile.
8544 1992-04-08  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8546         New directory, with files previously in ../etc. [approximate date]
8547         * README: New file.
8548         * Makefile: Copy here from ../etc/Makefile.
8549         * aixcc.lex, b2m.c, cvtmail.c, digest-doc.c:
8550         * emacsclient.c, emacsserver.c, emacstool.c, env.c:
8551         * etags-vmslib.c, etags.c, fakemail.c, getdate.c, getdate.y:
8552         * getopt.c, getopt.h, getopt1.c, hexl.c, leditcfns.c:
8553         * make-docfile.c, movemail.c, qsort.c, sorted-doc.c:
8554         * test-distrib.c, testfile, timer.c, wakeup.c, yow.c:
8555         Move here from ../etc.
8557 ;; Local Variables:
8558 ;; coding: utf-8
8559 ;; End:
8561   Copyright (C) 1988-1999, 2001-2015 Free Software Foundation, Inc.
8563   This file is part of GNU Emacs.
8565   GNU Emacs is free software: you can redistribute it and/or modify
8566   it under the terms of the GNU General Public License as published by
8567   the Free Software Foundation, either version 3 of the License, or
8568   (at your option) any later version.
8570   GNU Emacs is distributed in the hope that it will be useful,
8571   but WITHOUT ANY WARRANTY; without even the implied warranty of
8572   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8573   GNU General Public License for more details.
8575   You should have received a copy of the GNU General Public License
8576   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.