merge master
[emacs.git] / lib-src / ChangeLog
blob8d2c95e671c40c349b845099f752e3d7b3d412cd
1 2015-01-24  Paul Eggert  <eggert@cs.ucla.edu>
3         Fix a couple of AM_V_GEN bugs
4         * Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0, am__v_GEN_1)
5         (AM_V_at, am__v_at_, am__v_at_0, am__v_at_1):
6         New macros, copied from ../src/Makefile.in.
8 2015-01-22  Paul Eggert  <eggert@cs.ucla.edu>
10         Check exit statuses in lib-src/Makefile
11         * Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall)
12         (mostlyclean, clean, distclean, extraclean):
13         Check exit statuses more carefully.  Reindent to fit in 80 chars.
14         (bootstrap-clean maintainer-clean): Remove unnecessary 'true'.
16 2015-01-22  Ulrich Müller  <ulm@gentoo.org>
18         * Makefile.in ($(DESTDIR)${archlibdir}): Don't fail if the chown
19         or chgrp command is unsuccessful; the 'update-game-score' program
20         has a fallback for this at runtime.
22 2015-01-21  Ulrich Müller  <ulm@gentoo.org>
24         * update-game-score.c: Allow the program to run sgid instead
25         of suid, in order to match common practice for most games.
26         (main): Check if we are running sgid.  Pass appropriate file
27         permission bits to 'write_scores'.
28         (write_scores): New 'mode' argument, instead of hardcoding 0644.
29         (get_prefix): Update error message.
30         * Makefile.in (gamegroup): New variable, set by configure.
31         ($(DESTDIR)${archlibdir}): Handle both suid or sgid when
32         installing the 'update-game-score' program.
34 2015-01-16  Eli Zaretskii  <eliz@gnu.org>
36         * Makefile.in (AM_V_RC, am__v_RC_, am__v_RC_0, am__v_RC_1): New
37         macros.
38         (emacsclient.res): Use $(AM_V_RC).
40 2015-01-16  Paul Eggert  <eggert@cs.ucla.edu>
42         Give up on -Wsuggest-attribute=const
43         * make-docfile.c (write_globals):
44         Remove special hack for Fnext_read_file_uses_dialog_p
46 2015-01-13  Paul Eggert  <eggert@cs.ucla.edu>
48         Don't say Fnext_read_file_uses_dialog_p is const
49         * make-docfile.c (write_globals):
50         Add a special hack for Fnext_read_file_uses_dialog_p.
52 2015-01-13  Dmitry Antipov  <dmantipov@yandex.ru>
54         Support DEFUN attributes.
55         * make-docfile.c (struct global): New field 'flags'.
56         (DEFUN_noreturn, DEFUN_const): New enum bitfields.
57         (add_global): Now return pointer to global.
58         (write_globals): Add _Noreturn and ATTRIBUTE_CONST attributes
59         if requested by global's flags.
60         (stream_match): New function.
61         (scan_c_stream): Recognize 'attributes:' of DEFUN.
63 2015-01-10  Paul Eggert  <eggert@cs.ucla.edu>
65         Port to 32-bit --with-wide-int
66         * make-docfile.c (write_globals): Define and use symbols like
67         iQnil (a small integer, like 0) rather than aQnil (an address
68         constant).
70         Port to 32-bit Sun C 5.12 sparc
71         * make-docfile.c (close_emacs_globals): Align lispsym to GCALIGNMENT.
72         The alignment is required on all platforms; it just happens to have
73         been properly aligned on the previous platforms we tested.
75 2015-01-05  Paul Eggert  <eggert@cs.ucla.edu>
77         Use 0 for Qnil
78         * make-docfile.c (compare_globals): Consider 'nil' to be the least.
80         Compute C decls for DEFSYMs automatically
81         Fixes Bug#15880.
82         * make-docfile.c: Revamp to generate table of symbols, too.
83         Include <stdbool.h>.
84         (xstrdup): New function.
85         (main): Don't process the same file twice.
86         (SYMBOL): New constant in enum global_type.
87         (struct symbol): Turn 'value' member into a union, either v.value
88         for int or v.svalue for string.  All uses changed.
89         (add_global): New arg svalue, which overrides value, so that globals
90         can have a string value.
91         (close_emacs_global): New arg num_symbols; all uses changed.
92         Output lispsym decl.
93         (write_globals): Output symbol globals too.  Output more
94         ATTRIBUTE_CONST, now that Qnil etc. are C constants.
95         Output defsym_name table.
96         (scan_c_file): Move most of guts into ...
97         (scan_c_stream): ... new function.  Scan for DEFSYMs and
98         record symbols found.  Don't read past EOF if file doesn't
99         end in newline.
101 2015-01-04  Paul Eggert  <eggert@cs.ucla.edu>
103         'temacs -nw' should not call missing functions
104         * make-docfile.c (write_globals):
105         Declare Fframe_windows_min_size with ATTRIBUTE_CONST, too.  Sort.
107         Less 'make' chatter for lib-src
108         * Makefile.in (blessmail): Less 'make' chatter here.
110 2014-12-27  Eli Zaretskii  <eliz@gnu.org>
112         * Makefile.in (etags_libs, ebrowse${EXEEXT}, profile${EXEEXT})
113         (make-docfile${EXEEXT}, movemail${EXEEXT})
114         (update-game-score${EXEEXT}): Put $(NTLIB) before $(LOADLIBES),
115         since GCC sometimes calls stpcpy when it sees strcpy, under
116         optimization switches.
118 2014-12-25  Paul Eggert  <eggert@cs.ucla.edu>
120         * ebrowse.c (sym_scope_1, operator_name, open_file):
121         * emacsclient.c (get_server_config, set_local_socket)
122         (start_daemon_and_retry_set_socket):
123         * etags.c (main, C_entries, relative_filename):
124         * pop.c (sendline):
125         * update-game-score.c (main):
126         Rewrite to avoid the need for strcat, typically by using stpcpy
127         and/or lispstpcpy.  strcat tends to be part of O(N**2) algorithms.
129 2014-12-14  Paul Eggert  <eggert@cs.ucla.edu>
131         * etags.c (analyze_regex): Rename from analyse_regex.
133 2014-12-14  Glenn Morris  <rgm@gnu.org>
135         * grep-changelog: Remove file.
136         * Makefile.in (INSTALLABLE_SCRIPTS): Remove.
137         (all, install, uninstall): Remove INSTALLABLE_SCRIPTS.
139 2014-11-23  Glenn Morris  <rgm@gnu.org>
141         * Makefile.in (emacsclient.res): Fix yesterday's thinko.
143 2014-11-22  Glenn Morris  <rgm@gnu.org>
145         * Makefile.in (emacsclient.res): Update deps for nt/emacsclient.rc
146         now being in the build directory, not the source directory.
148         * Makefile.in (emacsclient.res): Add dependency on icons/emacs.ico.
150 2014-10-20  Glenn Morris  <rgm@gnu.org>
152         * Merge in all changes up to 24.4 release.
154 2014-09-23  Paul Eggert  <eggert@cs.ucla.edu>
156         movemail: don't dump core if the current time is outlandish
157         * movemail.c (popmail): Check for mbx_delimit_begin failure.
158         (mbx_delimit_begin): Fail if the current time is so outlandish
159         that localtime would fail or asctime would have undefined
160         behavior.  Use strftime to avoid asctime undefined behavior.
162 2014-09-01  Paul Eggert  <eggert@cs.ucla.edu>
164         --enable-silent-rules now suppresses more chatter.
165         * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_)
166         (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0)
167         (am__v_CCLD_1): New macros, taken from Automake.
168         (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
169         (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
170         (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT})
171         (emacsclientw${EXEEXT}, ntlib.o, hexl${EXEEXT})
172         (update-game-score${EXEEXT}): Use them.
174         * etags.c (emacs_strchr, emacs_strrchr): Remove.
175         All uses replaced by strchr and strrchr, which are on all
176         target platforms now.
178 2014-07-15  Paul Eggert  <eggert@cs.ucla.edu>
180         Use "b" flag more consistently; avoid "t" (Bug#18006).
181         * make-docfile.c (READ_TEXT): Remove; all uses replaced by "r".
182         (READ_BINARY): Remove; all uses replaced by "rb".
184 2014-07-14  Paul Eggert  <eggert@cs.ucla.edu>
186         Use binary-io module, O_BINARY, and "b" flag (Bug#18006).
187         * etags.c, hexl.c, make-docfile.c:
188         Include binary-io.h instead of fcntl.h and/or io.h.
189         (main): Use set_binary_mode or SET_BINARY
190         in place of handcrafted code.
191         * etags.c (main) [DOS_NT]:
192         * movemail.c (main) [WINDOWSNT]:
193         Don't mess with _fmode.
194         * etags.c (main, process_file_name, analyse_regex):
195         Use fopen/popen's "b" flag instead.
196         * movemail.c (main, popmail): Use open/lk_open/mkostemp's O_BINARY
197         instead.
199 2014-07-13  Paul Eggert  <eggert@cs.ucla.edu>
201         * make-docfile.c: Simplify a bit, to simplify further refactoring.
202         (outfile): Remove static var.  All uses changed to use stdout,
203         since it's always stdout anyway.  While we're at it, prefer
204         putchar/puts/fputs to printf when there are no format strings.
205         (main): Use freopen rather than fopen, so that stdout is reused.
206         Move O_BINARY stuff after the freopen, so it affects the
207         reopened file.
208         (write_c_args): Omit first arg, since it's always stdout now.
209         All uses changed.
211 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
213         * etags.c (Lisp_functions): Also record cl-defun etc. (Bug#17965)
215 2014-06-26  Glenn Morris  <rgm@gnu.org>
217         * Makefile.in (blessmail): Depend on lisp/mail/blessmail.el.
218         Use $<, $@.
219         (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
220         (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
221         (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT}, ntlib.o)
222         (hexl${EXEEXT}, update-game-score${EXEEXT}, emacsclient.res): Use $<.
223         (ctags${EXEEXT}): Add $srcdir to dependency rather than using VPATH.
225 2014-06-17  Paul Eggert  <eggert@cs.ucla.edu>
227         Omit redundant extern decls.
228         * emacsclient.c (getenv): Remove decl.
229         * make-docfile.c (write_globals): Add ATTRIBUTE_CONST for
230         Fbyteorder, Ftool_bar_height, Fmax_char, Fidentity.
232 2014-06-15  Glenn Morris  <rgm@gnu.org>
234         * Makefile.in (LDFLAGS): Explicitly set via configure.
236 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
238         * Makefile.in (CPPFLAGS): Define.
240 2014-06-15  Glenn Morris  <rgm@gnu.org>
242         * Makefile.in (../lib/libgnu.a):
243         Use `make -C' rather than `cd && make'.
245         * Makefile.in (bootstrap-clean): New.
247 2014-06-13  Glenn Morris  <rgm@gnu.org>
249         * Makefile.in (../lib/libgnu.a):
250         GNU make automatically passes command-line arguments to sub-makes.
252 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
254         * ntlib.h (lseek): Don't redirect to _lseek.
256 2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
258         Fix rcs2log problems with CVS.  Reported by Glenn Morris in
259         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00277.html>.
260         Plus, fix some security and filename quoting problems.
261         * rcs2log (logdir): Prefer mktemp if available.
262         (logdir, llogdir): Work even if TMPDIR begins with '-' or has spaces.
263         (output_authors, main awk script): Parse more-recent CVS output format.
265 2014-05-19  Paul Eggert  <eggert@cs.ucla.edu>
267         Remove dependencies on getline and getdelim.
268         Also, remove update-game-scores's limits on game scores and
269         simplify its file-locking code.
270         * update-game-score.c (struct score_entry): Unify the username and
271         data members to a single user_data member, since they don't need to be
272         changed independently and getdelim and getline aren't helpful.
273         Make the score member char *, not intmax_t, so that scores are not
274         limited to intmax_t.  All uses changed.
275         (lose_syserr): A zero errno stands for invalid data in score file.
276         (normalize_integer): New function.
277         (main): Use it.  Check for invalid scores.  Omit redundant stat check.
278         (read_score): First arg is now a string, not a FILE *.  All uses
279         changed.  Do not use getdelim or getline; that's way simpler.
280         (read_scores): Read the whole file, and let read_score handle each
281         line.
282         (score_compare): Compare strings representing integers, not integers.
283         (write_scores) [DOS_NT]: Eliminate unnecessary chmod.
284         (lock_file): Simplify locking code, eliminating goto.
285         Check for unlink failure.
287 2014-05-18  Paul Eggert  <eggert@cs.ucla.edu>
289         Port ctags+etags build to Sun C 5.12.
290         * Makefile.in (etags_args): Remove, replacing with ...
291         (etags_cflags, etags_libs): New macros.  All uses changed.
292         (ctags${EXEEXT}): Don't compile etags.c, as compiling etags.c in
293         parallel (once for ctags, once for etags) breaks parallel makes
294         with compilers that use the source file name to name temporaries,
295         such as Sun C 5.12.  Instead, compile ctags.c.
296         * ctags.c: New file.
298 2014-05-04  Paul Eggert  <eggert@cs.ucla.edu>
300         Handle systems without WCONTINUED consistently.  (Bug#15110, 17339)
301         * emacsclient.c (WCONTINUED): Move to ../src/syswait.h.
303 2014-04-30  Glenn Morris  <rgm@gnu.org>
305         * Makefile.in ($(DESTDIR)${archlibdir}):
306         Avoid non-portable "`\" nesting.  (Bug#17339)
308 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
310         * update-game-score.c (write_scores): Condition fchmod call on
311         DOS_NT, not WINDOWSNT.
313 2014-03-22  Glenn Morris  <rgm@gnu.org>
315         * Makefile.in (etags_deps, etags_args): New, to reduce duplication.
316         (etags${EXEEXT}, ctags${EXEEXT}): Use etags_deps, etags_args.
318         * Makefile.in (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
319         (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
320         (emacsclient${EXEEXT}, emacsclientw${EXEEXT}, hexl${EXEEXT})
321         (update-game-score${EXEEXT}, emacsclient.res): Use $@.
323         * Makefile.in (../lib/libgnu.a): Explicitly pass MFLAGS.
325         * Makefile.in (DONT_INSTALL): Remove test-distrib.
326         (test-distrib${EXEEXT}): Remove rule.
328         * test-distrib.c, testfile: Remove.
330 2014-03-10  Juanma Barranquero  <lekktu@gmail.com>
332         * emacsclient.c (main): #ifdef out previous change on Windows.
334 2014-03-09  Paul Eggert  <eggert@cs.ucla.edu>
336         Fix emacsclient terminal corruption when in background (Bug#16892).
337         * emacsclient.c (handle_sigcont): Check for tcgetpgrp failure.
338         Cancel the continue only if tty.  Send SIGTTIN to the process
339         group, not SIGSTOP to self, as this is what the glibc manual
340         recommends.
341         (main): If tty, and if started in the background, send SIGTTIN
342         to the process group.
344 2014-02-25  Andreas Amann  <a.amann@ucc.ie>  (tiny change)
346         Fix emacsclient's handling of SIGCONT (Bug#16883).
347         * emacsclient.c (handle_sigcont): Cancel the continue only if tty.
349 2014-01-22  Eli Zaretskii  <eliz@gnu.org>
351         * update-game-score.c (write_scores) [WINDOWSNT]: Use chmod
352         instead of fchmod.
354 2014-01-22  Paul Eggert  <eggert@cs.ucla.edu>
356         Fix miscellaneous update-game-score bugs.
357         * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Remove.
358         (read_score) [HAVE_GETDELIM]: Don't access uninitialized storage,
359         as that leads to undefined behavior, which is a bad thing
360         particularly in a setuid program.
361         (read_scores, write_scores): Check for fclose failure; on some
362         systems, I/O errors are not reported by primitives like getc and
363         putc, but instead are delayed until fclose, so fclose failures
364         should be diagnosed like other read and write errors.
365         (write_scores): Use fchmod, not chmod, to avoid a race.
366         Otherwise, if the lock is broken by some other process,
367         update-game-score might try to change the permission on someone
368         else's file or on a nonexistent file, and incorrectly report an
369         error when this fails.
370         (lock_file): Fix test for out-of-date lock file; it was reversed.
371         That is, it incorrectly broke locks when they were more than an
372         hour into the future, instead of when they were more than an hour
373         in the past.  Use ordinary subtraction rather than difftime; since
374         we're already assuming POSIX we don't need to worry about the
375         possibility of time_t being a magic cookie, and since timestamps
376         are positive we don't need to worry about integer overflow when
377         subtracting them.  Put two spaces, not just one, after a sentence
378         end in a comment.
380 2014-01-19  Paul Eggert  <eggert@cs.ucla.edu>
382         update-game-score fixes for -m and integer overflow (Bug#16428)
383         * update-game-score.c: Include inttypes.h, stdbool.h.
384         (min): New macro, if not already defined.
385         (MAX_SCORES, main): Limit the maximum number of scores only from
386         limits imposed by the underyling platform, instead of the
387         arbitrary value 200.
388         (struct score_entry, main, read_score, write_score):
389         Scores are now intmax_t, not long.
390         (get_user_id): Reject user names containing spaces or newlines,
391         as they would mess up the score file.
392         Allow uids that don't fit in 'long'.
393         Increase the size of the buffer, to avoid overrun in weird cases.
394         (get_prefix, main): Use bool for boolean.
395         (main): Rewrite expr to avoid possibility of signed integer
396         overflow.  Don't allow newlines in data, as this would mess up
397         the score file.  Check for memory allocation failure when adding
398         the new score, or when unlockint the file.  Implement -m.
399         (read_score): Check for integer overflow when reading a score.
400         (read_score) [!HAVE_GETDELIM]: Check for integer overflow when
401         data gets very long.  Check only for space to delimit names,
402         since that's what's done in the HAVE_GETDELIM case.
403         (read_scores): New parameter ALLOC.  Change counts to ptrdiff_t.
404         All uses changed.  Use push_score to add individual scores;
405         that's simpler than repeating its contents.
406         (score_compare_reverse): Simplify.
407         (push_score): New parameter SIZE.  Change counts to ptrdiff_t.
408         All uses changed.  Check for integer overflow of size calculation.
409         (sort_scores, write_scores): Change counts to ptrdiff_t.
410         (unlock_file): Preserve errno on success, so that storage
411         exhaustion is diagnosed correctly.
413 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
415         Spelling fixes.
416         * Makefile.in (regex.o): Remove reference to no-longer-used macros
417         CONFIG_BROKETS and INHIBIT_STRING_HEADER.  "BROKETS" was a
418         misspelling anyway....
420 2013-12-14  Paul Eggert  <eggert@cs.ucla.edu>
422         Use bool for boolean, focusing on headers.
423         * emacsclient.c, etags.c, hexl.c (FALSE, TRUE):
424         Remove.  All uses replaced with uncapitalized version.
425         * emacsclient.c (message):
426         * etags.c (make_tag, pfnote, consider_token, make_C_tag, lang_names):
427         * hexl.c (un_flag, iso_flag, endian):
428         * pop.c (pop_debug, pop_open, pop_multi_first, pop_multi_next)
429         (pop_trash):
430         Use bool for boolean.
431         * etags.c (bool): Remove.
432         * etags.c (globals, members, declarations, no_line_directive)
433         (no_duplicates): Use 'int' for boolean values that getopt requires
434         to be 'int'.  Formerly, these were 'bool' and 'bool' was 'int',
435         but we can no longer rely on this implementation.
436         * pop.h (struct _popserver): Use bool_bf for boolean bit-fields.
438 2013-11-14  Paul Eggert  <eggert@cs.ucla.edu>
440         * ebrowse.c (xstrdup):
441         * etags.c (savenstr): Prefer tail calls.
442         * etags.c (concat): Omit unnecessary assignment.
444 2013-10-24  Glenn Morris  <rgm@gnu.org>
446         * Makefile.in ($(DESTDIR)${archlibdir}):
447         Avoid non-portable "`\" nesting.
449         * Makefile.in (abs_top_srcdir): New, set by configure.
451 2013-10-23  Glenn Morris  <rgm@gnu.org>
453         * Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
454         (uninstall): Quote entities that might contain whitespace.
456 2013-10-10  Glenn Morris  <rgm@gnu.org>
458         * make-docfile.c (search_lisp_doc_at_eol):
459         Use int rather than char with getc.  (Bug#15481)
461 2013-09-20  Paul Eggert  <eggert@cs.ucla.edu>
463         A simpler, centralized INLINE.
464         * profile.c (INLINE): New macro.
465         (SYSTIME_INLINE): Remove.
467 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
469         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
470         for portability to hosts where /bin/sh has problems.
472 2013-08-10  Eli Zaretskii  <eliz@gnu.org>
474         * update-game-score.exe.manifest: New file.
476         * Makefile.in (UPDATE_MANIFEST): New variable.
477         (SCRIPTS): Add $(UPDATE_MANIFEST).
479 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
481         * makefile.w32-in (lisp2): Add nadvice.elc.
483 2013-08-05  Eli Zaretskii  <eliz@gnu.org>
485         * update-game-score.c (read_score): Try reading a character before
486         probing the stream for EOF.  Initialize score->score to zero,
487         before reading and accumulating the score.
488         (read_scores): Fix logic that determines which value to return.
489         Close the input stream when finished reading the scores (avoids
490         failures in overwriting the file with a new one on MS-Windows,
491         since a file that is open cannot be deleted).
493         * ntlib.h (rename): Don't undefine.
495         * ntlib.c (sys_rename): New function, needed for
496         update-game-score.
498 2013-08-04  Eli Zaretskii  <eliz@gnu.org>
500         * ntlib.h: Include fcntl.h.
501         (mkostemp): Declare prototype.
502         (mktemp): Don't redefine.
504         * ntlib.c (mkostemp): New function.  (Bug#15015)
506 2013-08-04  Paul Eggert  <eggert@cs.ucla.edu>
508         Fix some minor races in hosts lacking mkostemp (Bug#15015).
509         * movemail.c (main):
510         * update-game-score.c (write_scores):
511         Use mkostemp (which now works on all platforms, due to changes
512         in the portability layer) rather than mktemp (which has a race)
513         or mkstemp (which we no longer bother with).
515 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
517         Port to C89.
518         * ebrowse.c (USAGE): Remove macro with too-long string literal ...
519         (usage_message): ... and replace it with this new static constant
520         containing multiple literals.  All uses changed.
521         * emacsclient.c (print_help_and_exit):
522         Rewrite to avoid string literals longer than the C89 limits.
523         (start_daemon_and_retry_set_socket):
524         Rewrite to avoid non-constant array initializer.
525         * make-docfile.c (enum global_type): Omit trailing comma.
527 2013-07-02  Paul Eggert  <eggert@cs.ucla.edu>
529         Prefer plain 'static' to 'static inline' (Bug#12541).
530         I missed these instances of 'static inline' in an earlier sweep.
531         * ebrowse.c (putstr):
532         * etags.c (hash):
533         * make-docfile.c (put_char): No longer inline.
534         * etags.c (hash): Prefer int to unsigned when either will do.
536 2013-06-21  Paul Eggert  <eggert@cs.ucla.edu>
538         Use C99-style flexible array members if available.
539         * ebrowse.c: Include <stddef.h>, for offsetof.
540         (struct member, struct alias, struct sym):
541         Use FLEXIBLE_ARRAY_MEMBER.
542         (add_sym, add_member, make_namespace, register_namespace_alias):
543         Use offsetof (struct, flex_array_member), not sizeof (struct), as
544         that ports better to pre-C99 non-GCC.
546 2013-05-29  Eli Zaretskii  <eliz@gnu.org>
548         * Makefile.in (mostlyclean): Remove *.res files.
550 2013-05-18  Paul Eggert  <eggert@cs.ucla.edu>
552         Port --enable-gcc-warnings to clang.
553         * etags.c: Omit unnecessary forward decls.
554         (print_version, print_help): Declare _Noreturn.
555         * pop.c (socket_connection) [HAVE_GETADDRINFO]: Simplify.
557 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
559         * update-game-score.c [WINDOWSNT]: Include "ntlib.h".
561         * ntlib.h (sleep): Update prototype.
562         (geteuid): Add prototype.
564         * ntlib.c (sleep): Now returns an unsigned value.
565         (getgid): New function.
567         * Makefile.in (CLIENTW, LIB_WSOCK32, LIBS_ECLIENT, NTLIB)
568         (CLIENTRES, WINDRES, NTINC, NTDEPS): New variables.
569         (INSTALLABLES): Add $(CLIENTW).
570         (LIBS_MOVE): Use $(LIB_WSOCK32).
571         ($(DESTDIR)${archlibdir}): Use $(EXEEXT) on update-game-score.
572         (test-distrib${EXEEXT}): Use $(EXEEXT) on test-distrib.
573         (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
574         (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
575         (emacsclient${EXEEXT}, hexl${EXEEXT}, update-game-score${EXEEXT}):
576         Add $(NTLIB) to prerequisites.  Use $(EXEEXT).
577         (pop.o): Add pop.h to prerequisites.
578         (emacsclientw${EXEEXT}, ntlib.o): New targets.
579         (emacsclient.res): New target.
581 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
583         * makefile.w32-in ($(DOC)): Use DOC rather than DOC-X.
585 2013-05-06  Paul Eggert  <eggert@cs.ucla.edu>
587         * make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo,
588         by removing references to no-longer-existing locals.
590 2013-03-26  Eli Zaretskii  <eliz@gnu.org>
592         Fix incompatibilities between MinGW.org and MinGW64 headers.
593         * ntlib.c (struct timespec) [!_TIMEZONE_DEFINED]: Define the
594         struct only if _TIMEZONE_DEFINED is not defined.
596 2013-03-23  cg  <chengang31@gmail.com>  (tiny change)
598         * makefile.w32-in (LIB_SRC): Move before first use.
600 2013-03-16  Paul Eggert  <eggert@cs.ucla.edu>
602         * pop.c: Fix ERRMAX typo (Bug#13925).
603         (socket_connection) [!HAVE_KRB5_ERROR_TEXT && HAVE_KRB5_ERROR_E_TEXT]:
604         Use ERROR_MAX, not ERRMAX.
606 2013-03-13  Paul Eggert  <eggert@cs.ucla.edu>
608         File synchronization fixes (Bug#13944).
609         * Makefile.in (LIB_FDATASYNC): New macro.
610         (emacsclient${EXEEXT}): Use it.
611         * emacsclient.c (main): Use fdatasync, not fsync, since we don't
612         care about metadata.  Keep trying if interrupted.
613         * movemail.c (main, popmail): Don't worry about BSD_SYSTEM, since
614         fsync is available everywhere (or there is a substitute).
615         Don't report an error if fsync returns EINVAL.
617         Static checking by Sun C 5.12.
618         * etags.c (analyse_regex): Omit unreachable code.
620         * movemail.c (main): Call umask on all systems.
621         This is OK since Emacs already assumes umask elsewhere.
622         Don't grant more read permissions than necessary.
623         The old 0333 dates back to before we called setuid,
624         so it was needed back then to ensure user-readability,
625         but 0377 should suffice now.
627 2013-02-08  Paul Eggert  <eggert@cs.ucla.edu>
629         * movemail.c (getenv): Remove decl (unused since 1994).
631 2013-01-15  Paul Eggert  <eggert@cs.ucla.edu>
633         * make-docfile.c (write_globals): Make it a bit clearer (Bug#13448).
634         This pacifies GCC 4.7.2 when Emacs is configured with
635         --enable-link-time-optimization and --enable-gcc-warnings.
637 2013-01-01  Juanma Barranquero  <lekktu@gmail.com>
639         * makefile.w32-in (lisp1): Add macroexp.elc (bug#13320).
641 2012-12-11  Juanma Barranquero  <lekktu@gmail.com>
643         * makefile.w32-in (SYSWAIT_H): Update dependencies.
645 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
647         * makefile.w32-in (obj): Add w32notify.o.  Add missing X and Unix
648         sources.
650 2012-12-02  Kevin Ryde  <user42@zip.com.au>
652         * etags.c (Lisp_functions): Skip (defvar foo) declarations unless
653         the --declarations flag is enabled (Bug#5600).
654         (Lisp_help): Update.
655         (skip_name): New function.
657 2012-12-01  Kevin Ryde  <user42@zip.com.au>
659         * etags.c (Perl_functions): Support "use constant" (Bug#5055).
661 2012-11-27  Paul Eggert  <eggert@cs.ucla.edu>
663         Assume POSIX 1003.1-1988 or later for errno.h (Bug#12968).
664         * movemail.c (main): Assume EAGAIN and EBUSY.
666 2012-11-23  Paul Eggert  <eggert@cs.ucla.edu>
668         movemail: treat EACCES etc. failures as permanent
669         * movemail.c (main): Treat any link failure other than EEXIST as a
670         permanent failure, not just EPERM.  EACCES, for example.
672 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
674         Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945).
675         * emacsclient.c (getcwd): Remove decl.
676         (get_current_dir_name): Assume getcwd exists.
677         * etags.c (HAVE_GETCWD): Remove.
678         (getcwd): Remove decl.
679         (NO_LONG_OPTIONS): Remove this.  All uses removed.
680         Emacs always has GNU getopt.
681         (etags_getcwd): Assume getcwd exists.
682         * movemail.c (F_OK, X_OK, W_OK, R_OK): Remove.
684 2012-11-20  Paul Eggert  <eggert@cs.ucla.edu>
686         * emacsclient.c (handle_sigcont, handle_sigtstp): Use raise (sig)
687         rather than kill (getpid (), sig), as it's simpler and safer.
689 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
691         * makefile.w32-in (SYSWAIT_H): New macro.
692         ($(BLD)/movemail.$(O)): Update dependencies.
694 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
696         Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881).
697         * movemail.c, update-game-score.c: Assume <fcntl.h> exists.
699 2012-10-26  Glenn Morris  <rgm@gnu.org>
701         * Makefile.in (uninstall): No INSTALLABLES live in archlibdir.
703         * Makefile.in (install, uninstall): Transformations should not be
704         applied to $EXEEXT.
706 2012-10-23  Eli Zaretskii  <eliz@gnu.org>
708         * makefile.w32-in (lisp2): Add cp51932.el and eucjp-ms.el, to
709         follow src/lisp.mk.
711 2012-10-21  Glenn Morris  <rgm@gnu.org>
713         * make-docfile.c (scan_lisp_file): Add cp51932.el and eucjp-ms.el.
715 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
717         * make-docfile.c (IS_SLASH, DEF_ELISP_FILE): New macros.
718         (scan_lisp_file): Only pass a .el file if its basename matches a
719         known file in its entirety.  Use IS_SLASH and DEF_ELISP_FILE.
721 2012-10-20  Andreas Schwab  <schwab@linux-m68k.org>
723         * make-docfile.c (scan_lisp_file): Add bounds checking.
725 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
727         Prevent silent omission of doc strings from uncompiled Lisp files.
728         * make-docfile.c (scan_lisp_file): Barf if called with a .el file
729         other than one of a small list of supported un-compiled files.
731         * makefile.w32-in (lisp1, lisp2): Name .elc files wherever they
732         exist.  (Bug#12395)
734 2012-10-17  Eli Zaretskii  <eliz@gnu.org>
736         * ntlib.c: Include <mbstring.h>, to avoid compiler warning about
737         _mbspbrk.
739 2012-10-08  Eli Zaretskii  <eliz@gnu.org>
741         * makefile.w32-in (obj): Add cygw32.o.
743 2012-10-08  Daniel Colascione  <dancol@dancol.org>
745         * emacsclient.c: Include windows.h when HAVE_NTGUI.
746         (alt_display): New variable.  We send the display held by this
747         variable when the primary display is either unsupported or not
748         present.
749         (longopts): Allow display everywhere.
750         (w32_set_user_model_id): Move lower in file, inside HAVE_NTGUI
751         section.
752         (decode_options): Use alt_display.  Explain why.
753         (main): Retry connection with alt_display if connection with main
754         display fails.
756 2012-10-01  Fabrice Popineau  <fabrice.popineau@gmail.com>
758         * make-docfile.c (write_globals): Special-case
759         Fexit_recursive_edit and Fabort_recursive_edit as well, as
760         functions that are _Noreturn, to be consistent with
761         src/keyboard.c.
763 2012-09-30  Eli Zaretskii  <eliz@gnu.org>
765         * ntlib.c (gettimeofday): Copy from src/w32.c.  lib/gettime.c
766         needs this function.
768 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
770         * makefile.w32-in (obj): Add profiler.o.
772 2012-09-17  Glenn Morris  <rgm@gnu.org>
774         * ebrowse.c (version):
775         * etags.c (print_version): Use COPYRIGHT.
777 2012-09-11  Paul Eggert  <eggert@cs.ucla.edu>
779         * pop.c (socket_connection) [HAVE_GETADDRINFO]:
780         Prefer assignment to memcpy when either will do.
782 2012-08-31  Andreas Schwab  <schwab@linux-m68k.org>
784         * etags.c (consider_token): Always zero-terminate token buffer.
785         (Bug#12306)
787 2012-08-19  Paul Eggert  <eggert@cs.ucla.edu>
789         Rely on <config.h> + <unistd.h> to declare 'environ'.
790         * emacsclient.c (environ): Remove decl.
792 2012-08-17  Juanma Barranquero  <lekktu@gmail.com>
794         * makefile.w32-in ($(BLD)/regex.$(O)): Update dependencies.
796 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
798         * etags.c (Pascal_functions): Fix parenthesization typo.
800 2012-08-14  Paul Eggert  <eggert@cs.ucla.edu>
802         * make-docfile.c (enum global_type): Sort values roughly in
803         decreasing alignment, except put functions last.
804         (compare_globals): Use this new property of enum global_type.
805         (write_globals): Use bool, not int, for booleans.
807 2012-08-10  Glenn Morris  <rgm@gnu.org>
809         * make-docfile.c (IF_LINT):
810         * emacsclient.c (IF_LINT): Remove (in config.h now).
812         * make-docfile.c (main)
813         (fopen) [!WINDOWSNT]:
814         (chdir) [!DOS_NT]: No more need to undef.
816         * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
817         * make-docfile.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
818         * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP):
819         Remove (they are in config.h now).
821         * ebrowse.c (PATH_LIST_SEPARATOR):
822         Remove, and replace with SEPCHAR from config.h.
824 2012-08-03  Juanma Barranquero  <lekktu@gmail.com>
826         * makefile.w32-in (LOCAL_FLAGS): Remove WINDOWSNT and DOS_NT,
827         they are always defined in config.h.
829 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
831         * ntlib.c (lstat): New function, calls 'stat'.
833 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
835         Use C99-style 'extern inline' if available.
836         * profile.c (SYSTIME_INLINE): Define.
838 2012-08-02  Glenn Morris  <rgm@gnu.org>
840         * makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
842 2012-08-01  Glenn Morris  <rgm@gnu.org>
844         * Makefile.in (config_h): New variable.
845         Use throughout in place of ../src/config.h.
847 2012-08-01  Juanma Barranquero  <lekktu@gmail.com>
849         * makefile.w32-in (CONFIG_H): Update dependencies.
850         (CONF_POST_H): New macro.
852 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
854         Update .PHONY listings in makefiles.
855         * Makefile.in (.PHONY): Add all, need-blessmail, maybe-blessmail,
856         install, uninstall, mostlyclean, clean, distclean,
857         maintainer-clean, extraclean, check, tags.
859 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
861         * makefile.w32-in ($(BLD)/profile.$(O)): Depend on stamp_BLD.
863 2012-07-12  Paul Eggert  <eggert@cs.ucla.edu>
865         * movemail.c: Add missing 'defined'.
866         Suggested by Sven Joachim in
867         <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00218.html>.
869 2012-07-11  Paul Eggert  <eggert@cs.ucla.edu>
871         Port 'movemail' again to Solaris and similar hosts.
872         See Susan Cragin's report in
873         <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00199.html>.
874         * movemail.c (xmalloc): Also define if !DISABLE_DIRECT_ACCESS &&
875         !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK.  Move up, so it doesn't
876         need a forward declaration.
877         (main): Rewrite to avoid no-longer-present function 'concat', if
878         !DISABLE_DIRECT_ACCESS && !MAIL_USE_MMDF && !MAIL_USE_SYSTEM_LOCK.
880         Assume strerror.
881         * emacsclient.c, movemail.c, update-game-score.c (strerror)
882         [!HAVE_STRERROR]: Remove.
884 2012-07-10  Paul Eggert  <eggert@cs.ucla.edu>
886         EMACS_TIME simplification (Bug#11875).
887         * profile.c (TV2): Remove no-longer-needed static var.
889         Simplify by avoiding confusing use of strncpy etc.
890         * etags.c (write_classname, C_entries):
891         Use sprintf rather than strncpy or strncat.
892         * etags.c (consider_token, C_entries, HTML_labels, Prolog_functions)
893         (Erlang_functions, substitute, readline_internal, savenstr):
894         * movemail.c (mail_spool_name):
895         Use memcpy rather than strncpy or strncat when either will do.
896         * make-docfile.c (write_c_args):
897         Use memcmp rather than strncmp when either will do.
898         * movemail.c (pop_retr):
899         * pop.c (pop_stat, pop_list, pop_multi_first, pop_last)
900         (socket_connection, pop_getline, sendline, getok):
901         Use snprintf rather than strncpy or strncat.
902         * movemail.c (concat): Remove; no longer needed.
903         (xmalloc): Define only if needed, now that concat has gone away.
904         Return void *.  All uses changed.
906 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
908         Add GCC-style 'const' attribute to functions that can use it.
909         * etags.c (number_len): Add ATTRIBUTE_CONST.
911 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
913         * emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
915 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
917         * makefile.w32-in ($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC.
918         (LIB_SRC, NT_INC, GNU_LIB, MS_W32_H, CONFIG_H, INTTYPES_H, NTLIB_H)
919         (SYSTIME_H): New macros.
920         (SRC): Redefine to point to src/, not current directory.
921         ($(BLD)/ctags.$(O), $(BLD)/ebrowse.$(O), $(BLD)/emacsclient.$(O))
922         ($(BLD)/etags.$(O), $(BLD)/hexl.$(O), $(BLD)/make-docfile.$(O))
923         ($(BLD)/movemail.$(O), $(BLD)/ntlib.$(O), $(BLD)/pop.$(O))
924         ($(BLD)/profile.$(O), $(BLD)/test-distrib.$(O)): Update dependencies.
925         ($(BLD)/regex.$(O)): New dependency.
927 2012-07-09  Juanma Barranquero  <lekktu@gmail.com>
929         * makefile.w32-in (ALL): Add profile.exe.
930         (PROFILEOBJS): New macro.
931         ($(BLD)/profile.exe): New target.
932         (install): Copy profile.exe.
933         ($(BLD)/alloca.$(O), $(BLD)/tcp.$(O)): Remove, obsolete.
935 2012-07-07  Juanma Barranquero  <lekktu@gmail.com>
937         * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)):
938         Update dependencies.
940 2012-07-06  Paul Eggert  <eggert@cs.ucla.edu>
942         Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786).
943         * etags.c: Include c-strcase.h.
944         (etags_strcasecmp, etags_strncasecmp): Remove.
945         All uses replaced with c_strcasecmp and c_strncasecmp.
947 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
949         * make-docfile.c (write_globals): Warn about duplicate function
950         definitions with differing signatures.
952 2012-07-03  Paul Eggert  <eggert@cs.ucla.edu>
954         * make-docfile.c (scan_c_file): Suppress GCC warning.
956 2012-06-29  Tom Tromey  <tromey@redhat.com>
958         * make-docfile.c (enum global_type) <FUNCTION>: New constant.
959         (struct global) <value>: New field.
960         (add_global): Add 'value' argument.
961         (compare_globals): Sort functions at the end.
962         (close_emacs_globals): New function.
963         (write_globals): Handle functions.
964         (scan_c_file): Call add_global for DEFUN.
966 2012-06-30  Juanma Barranquero  <lekktu@gmail.com>
968         * makefile.w32-in (CTAGS_CFLAGS): Remove EMACS_NAME;
969         already defined in ETAGS_CFLAGS.
971 2012-06-27  Glenn Morris  <rgm@gnu.org>
973         * makefile.w32-in (lisp2): Remove paths.el.
975 2012-06-26  Paul Eggert  <eggert@cs.ucla.edu>
977         Clean out last vestiges of the old HAVE_CONFIG_H stuff.
978         * Makefile.in (BASE_CFLAGS):
979         * makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H.
980         * etags.c, hexl.c, pop.c: Include <config.h> unconditionally.
981         * etags.c (DOS_NT):
982         * pop.c (MAIL_USE_POP, h_errno):
983         Remove code that was conditioned on !HAVE_CONFIG_H.
985 2012-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
987         * etags.c (etags_strcasecmp, etags_strncasecmp): Define to
988         library functions strcasecmp and strncasecmp if available.
990 2012-06-24  Paul Eggert  <eggert@cs.ucla.edu>
992         Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
993         * ebrowse.c (usage, version):
994         * emacsclient.c (print_help_and_exit, fail):
995         * etags.c (suggest_asking_for_help, fatal, pfatal):
996         * hexl.c (usage):
997         * make-docfile.c (fatal):
998         * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
999         * update-game-score.c (usage):
1000         * ebrowse.c (usage, version):
1001         * emacsclient.c (print_help_and_exit, fail):
1002         Use _Noreturn rather than NO_RETURN.
1003         No need for separate decl merely because of _Noreturn.
1005 2012-06-24  Samuel Bronson  <naesten@gmail.com>
1007         * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838).
1009 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
1011         Support higher-resolution time stamps (Bug#9000).
1012         * Makefile.in (LIB_CLOCK_GETTIME): New macro.
1013         (profile${EXEEXT}): Use it.
1014         * profile.c: Include inttypes.h, intprops.h.
1015         (time_string): Size conservatively; do not guess size.
1016         (get_time): Now prints nanoseconds.
1017         (gettimeofday): Remove replacement function; gnulib now does this.
1019 2012-06-08  Andreas Schwab  <schwab@linux-m68k.org>
1021         * make-docfile.c (search_lisp_doc_at_eol): Unget last read
1022         character.
1024 2012-06-06  Glenn Morris  <rgm@gnu.org>
1026         * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPTS, insrcdir)
1027         (stamp-rcs2log, stamp-grep-changelog): Remove.
1028         (all, clean): Remove references to stamps.
1030         * vcdiff: Remove file.
1031         * Makefile.in (SCRIPTS, STAMP_SCRIPTS): Remove vcdiff.
1032         (stamp-vcdiff): Remove.
1034 2012-06-05  Glenn Morris  <rgm@gnu.org>
1036         * makefile.w32-in ($(BLD)/getdate.$(O), $(BLD)/leditcfns.$(O))
1037         ($(BLD)/make-path.$(O), $(BLD)/qsort.$(O))
1038         ($(BLD)/timer.$(O)): Remove cruft.
1040 2012-06-03  Glenn Morris  <rgm@gnu.org>
1042         * rcs-checkin: Remove file.
1043         * Makefile.in (INSTALLABLE_SCRIPTS, STAMP_INST_SCRIPTS):
1044         Remove rcs-checkin.
1045         (stamp-rcs-checkin): Remove.
1047 2012-05-31  Eli Zaretskii  <eliz@gnu.org>
1049         * makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS)
1050         instead of a literal -mwindows, which is not supported by MSVC.
1051         (Bug#11405)
1053 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1055         * make-docfile.c: Improve comment style.
1056         (search_lisp_doc_at_eol): New function.
1057         (scan_lisp_file): Use it.
1059 2012-05-26  Glenn Morris  <rgm@gnu.org>
1061         * Makefile.in (INSTALL_DATA): Remove; unused.
1063 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1065         Remove src/m/*.
1066         * makefile.w32-in: Remove dependencies on
1067         $(EMACS_ROOT)/src/m/intel386.h.
1069 2012-05-22  Glenn Morris  <rgm@gnu.org>
1071         * Makefile.in (install): Remove unneeded chmods.
1073 2012-05-21  Paul Eggert  <eggert@cs.ucla.edu>
1075         Assume C89 or later.
1076         * etags.c (static, const): Remove macros.
1077         (PTR): Remove; all uses replaced with void *.  Omit needless casts.
1079 2012-05-21  Glenn Morris  <rgm@gnu.org>
1081         * Makefile.in (insrcdir, $(DESTDIR)${archlibdir}):
1082         Scrap superfluous subshells.
1084 2012-05-18  Glenn Morris  <rgm@gnu.org>
1086         * Makefile.in (install): Ensure $bindir exists.
1088 2012-05-17  Glenn Morris  <rgm@gnu.org>
1090         * Makefile.in (ns_appbindir): New, set by configure.
1092 2012-05-12  Glenn Morris  <rgm@gnu.org>
1094         * Makefile.in (MKDIR_P): New, set by configure.
1095         ($(DESTDIR)${archlibdir}): Use $MKDIR_P.
1097 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
1099         etags: pacify gcc -Wstack-protector on Ubuntu 12.04 x86
1100         * etags.c: Include <stdarg.h>.
1101         (error): Declare as printf-style, as that's what it really is.
1102         All uses changed.
1103         (add_regex): Use single char rather than array-of-one char.
1105 2012-05-05  Jim Meyering  <meyering@redhat.com>
1107         * pop.c (pop_stat, pop_list, pop_multi_first, pop_last):
1108         NUL-terminate the error buffer (Bug#11372).
1110 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
1112         * emacsclient.c (min): Undef before redefining it.
1114 2012-05-02  Jim Meyering  <jim@meyering.net>
1116         * emacsclient.c (send_to_emacs): Avoid invalid strcpy upon partial
1117         send (Bug#11374).
1119 2012-04-29  Andreas Schwab  <schwab@linux-m68k.org>
1121         * make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
1122         byte-code forms.  (Bug#11380)
1124 2012-04-20  Chong Yidong  <cyd@gnu.org>
1126         * emacsclient.c (decode_options): Move -t -n corner case handling
1127         into server.el (Bug#11102).
1128         (main): Send -tty to Emacs under more circumstances (Bug#8314).
1130 2012-04-18  Paul Eggert  <eggert@cs.ucla.edu>
1132         configure: new option --enable-gcc-warnings (Bug#11207)
1133         * Makefile.in (C_WARNINGS_SWITCH): Remove.
1134         (WARN_CFLAGS, WERROR_CFLAGS): New macros.
1135         (BASE_CFLAGS): Use new macros rather than old.
1137 2012-04-16  Paul Eggert  <eggert@cs.ucla.edu>
1139         Assume less-ancient POSIX support.
1140         * update-game-score.c: Include <getopt.h> rather than rolling our
1141         own decls for optarg, optind, opterr.  See
1142         <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>.
1144 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
1146         * emacsclient.c (decode_options) [WINDOWSNT]:
1147         Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
1149 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1151         * makefile.w32-in (obj): Add xml.o.
1153 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
1155         * makefile.w32-in (ALL): Now the list of executables, not of phony
1156         targets.
1157         (.PHONY): Only make-docfile is its prerequisite now.
1158         (make-docfile): Don't depend on stamp_BLD.  Add a comment about
1159         the need in this target.
1160         (ctags, etags, ebrowse, hexl, movemail, emacsclient)
1161         (test-distrib): Phony targets removed.
1162         ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe.
1163         (all): Don't depend on stamp_BLD.
1164         (ALL): Include $(BLD)/test-distrib.exe.
1166 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
1168         * emacsclient.c (main): Handle -print-nonl command.
1170         * emacsclient.c (main): Handle multiple messages in a single
1171         datagram.
1173         * emacsclient.c (socket_name): Add const.
1174         (get_server_config): Add parameter config_file, use it instead of
1175         global server_file.
1176         (set_tcp_socket): Add parameter local_server_file, pass it down to
1177         get_server_config.
1178         (set_local_socket): Add parameter local_socket_name, use it
1179         instead of global socket_name.
1180         (set_socket): Adjust calls to set_local_socket and set_tcp_socket.
1181         Don't clobber global server_file or socket_name.
1182         (main): No longer reset server_file or socket_name.
1184 2012-01-05  Glenn Morris  <rgm@gnu.org>
1186         * ebrowse.c (version) <emacs_copyright>:
1187         * etags.c (print_version) <emacs_copyright>:
1188         * rcs2log (Copyright): Update short copyright year to 2012.
1190 2011-12-25  Andreas Schwab  <schwab@linux-m68k.org>
1192         * etags.c (C_entries): Properly skip over string and character
1193         constants and comments inside brackets.  (Bug#10357)
1195 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
1197         * emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0;
1198         instead, treat both -c and -t as always requesting a new "tty" frame,
1199         and let server.el decide which kind is actually required.
1200         Reported by Uwe Siart <usenet@siart.de> in this thread:
1201         http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html
1203 2011-11-30  Chong Yidong  <cyd@gnu.org>
1205         * emacsclient.c (main): Condition last change on WINDOWSNT
1206         (Bug#10155).
1208 2011-11-27  Eli Zaretskii  <eliz@gnu.org>
1210         * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
1212         * emacsclient.c (main) <environ>: Remove declaration, already
1213         pulled in by unistd.h on POSIX hosts and stdlib.h on MS-Windows.
1215 2011-11-24  Glenn Morris  <rgm@gnu.org>
1217         * make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
1219 2011-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
1221         * Makefile.in (all): Make sure "all" is the first target.
1223 2011-10-27  Juanma Barranquero  <lekktu@gmail.com>
1225         * emacsclient.c (w32_getenv): Silence compiler warnings.
1227 2011-09-07  Glenn Morris  <rgm@gnu.org>
1229         * etags.c (Fortran_functions): Handle "elemental" functions.
1231 2011-09-07  Dieter Schuster  <didischuster@arcor.de>  (tiny change)
1233         * etags.c (Fortran_functions): Handle "pure" functions.  (Bug#9359)
1235 2011-09-06  Paul Eggert  <eggert@cs.ucla.edu>
1237         * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
1238         to build-aux (Bug#9169).
1240 2011-09-04  Paul Eggert  <eggert@cs.ucla.edu>
1242         Integer and memory overflow issues (Bug#9397).
1244         * emacsclient.c (xmalloc): Accept size_t, not unsigned int, to
1245         avoid potential buffer overflow issues on typical 64-bit hosts.
1246         Return void *, not long *.
1247         (get_current_dir_name): Report a failure, instead of looping
1248         forever, if buffer size calculation overflows.  Treat malloc
1249         failures like realloc failures, as that has better behavior and is
1250         more consistent.  Do not check whether xmalloc returns NULL, as
1251         that's not possible.
1252         (message): Do not arbitrarily truncate message to 2048 bytes when
1253         sending it to stderr; use vfprintf instead.
1254         (get_server_config, set_local_socket)
1255         (start_daemon_and_retry_set_socket): Do not alloca
1256         arbitrarily-large buffers; that's not safe.
1257         (get_server_config, set_local_socket): Do not use sprintf when its
1258         result might not fit in 'int'.
1259         (set_local_socket): Do not assume uid fits in 'int'.
1261         * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
1262         to avoid potential buffer overflow issues on typical 64-bit hosts.
1263         (whatlen_max): New static var.
1264         (main): Avoid buffer overflow if subsidiary command length is
1265         greater than BUFSIZ or 2*BUFSIZ + 20.  Do not use sprintf when its
1266         result might not fit in 'int'.
1268         * movemail.c (main): Do not use sprintf when its result might not fit
1269         in 'int'.  Instead, put the possibly-long file name into the
1270         output of pfatal_with_name.
1272         * update-game-score.c: Include <limits.h>
1273         (get_user_id): Do not assume uid fits in 'int'.  Simplify.
1275 2011-07-28  Paul Eggert  <eggert@cs.ucla.edu>
1277         Assume freestanding C89 headers, string.h, stdlib.h.
1278         * ebrowse.c: Include stdlib.h unconditionally.
1279         * etags.c, update-game-score.c:
1280         Include string.h and stdlib.h unconditionally.
1281         * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS.
1282         * movemail.c, pop.c: Include string.h unconditionally.
1283         * update-game-score.c: No need to include stdarg.h; not used.
1285         Assume support for memcmp, memcpy, memmove, memset.
1286         * etags.c (absolute_filename): Assume memmove exists.
1288 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
1290         * update-game-score.c (usage): Update usage line.
1292 2011-07-02  Jason Rumney  <jasonr@gnu.org>
1294         * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
1295         Windows (Bug#5486).
1297 2011-06-25  Glenn Morris  <rgm@gnu.org>
1299         * emacsclient.c (decode_options) <opt>: Add `F:'.
1300         (print_help_and_exit): Mention --frame-parameters.
1302 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
1304         * emacsclient.c (longopts, decode_options, main): Add frame-parameters.
1306 2011-06-10  Paul Eggert  <eggert@cs.ucla.edu>
1308         * movemail.c: Fix race condition and related bugs (Bug#8836).
1309         (main) [!MAIL_USE_SYSTEM_LOCK]: Prefer mkstemp to mktemp, as this
1310         fixes some race conditions.  Report mkstemp/mktemp errno rather
1311         than a possibly-garbage errno.  Reinitialize the template each
1312         time through the loop, as earlier mkstemp/mktemp calls could have
1313         trashed it.  Pass 0600 (not 0666) to mktemp, for consistency
1314         with mkstemp; the permissions don't matter anyway.
1316 2011-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
1318         * emacsclient.c (socket_status): Use constant pointer.
1320 2011-05-28  Paul Eggert  <eggert@cs.ucla.edu>
1322         Use 'inline', not 'INLINE'.
1323         * etags.c (hash): Now inline unconditionally.
1324         * make-docfile.c (put_char): inline, not INLINE.
1326 2011-05-25  Glenn Morris  <rgm@gnu.org>
1328         * Makefile.in (.c.o): Remove (every .o file has an explicit rule).
1329         (insrcdir): New.
1330         (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
1331         Use $insrcdir to suppress unaesthetic ignored errors.
1332         (clean): Simplify list of things to delete.
1333         (all, clean): Use $EXE_FILES.
1335         * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
1337         * Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove.  Replace by expansion.
1338         (etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
1340 2011-05-24  Glenn Morris  <rgm@gnu.org>
1342         * Makefile.in (update-game-score${EXEEXT}): Use a single rule.
1344 2011-05-19  Glenn Morris  <rgm@gnu.org>
1346         * makefile.w32-in (echolisp): Remove rule that is no longer needed.
1347         (clean): No more echolisp.tmp.
1349 2011-05-18  Glenn Morris  <rgm@gnu.org>
1351         * fakemail.c: Remove file.
1352         * makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
1353         ($(BLD)/fakemail.$(O)): Remove.
1354         * Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
1355         (fakemail${EXEEXT}): Remove rule.
1357 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
1359         * makefile.w32-in (obj): Add gnutls.o.
1361 2011-04-16  Paul Eggert  <eggert@cs.ucla.edu>
1363         Static checks with GCC 4.6.0 and non-default toolkits.
1365         * movemail.c (mail_spool_name): Protoize.
1366         (main): Remove unused var.  Mark var as initialized.
1367         Move locals to avoid shadowing, and use time_t for times.
1369         * fakemail.c (xmalloc, xreallc): Use standard C prototypes
1370         with void *.  This avoids warnings about pointer casts.
1372         * emacsclient.c (main): Don't use uninitialized var.
1373         (IS_ANY_SEP): Remove; unused.
1374         (get_current_dir_name): Add an extern decl.
1376 2011-04-06  Paul Eggert  <eggert@cs.ucla.edu>
1378         Fix more problems found by GCC 4.6.0's static checks.
1380         * emacsclient.c (message): Mark it as a printf-like function.
1382         * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
1383         (write_c_args): Use it to suppress GCC warning.
1385 2011-03-30  Paul Eggert  <eggert@cs.ucla.edu>
1387         Fix a problem found by GCC 4.6.0's static checks.
1388         * etags.c (just_read_file): Remove dummy variable and simplify.
1390 2011-03-27  Glenn Morris  <rgm@gnu.org>
1392         * emacsclient.c: Replace SIGTYPE with void.
1394 2011-03-23  Juanma Barranquero  <lekktu@gmail.com>
1396         * ntlib.c: Include <ctype.h>.
1398 2011-03-23  Glenn Morris  <rgm@gnu.org>
1400         * Makefile.in ($(DESTDIR)${archlibdir}):
1401         Use `install-sh -d' rather than mkinstalldirs.
1403 2011-03-23  Paul Eggert  <eggert@cs.ucla.edu>
1405         * ebrowse.c: Use size_t, not int, for sizes.
1406         This avoids a warning with gcc -Wstrict-overflow, and works
1407         better for very large objects.
1408         (inbuffer_size): Now size_t.  All uses changed.
1409         (xmalloc, xrealloc, operator_name, process_file): Use size_t for
1410         sizes.  Don't bother testing whether a size_t value can be negative.
1412         * etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
1414         etags: In Prolog functions, don't assume int fits in size_t.
1415         This avoids a warning with gcc -Wstrict-overflow.
1416         * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
1417         not int, to store sizes.
1418         (prolog_atom): Return 0, not -1, on error.  All callers changed.
1420         update-game-score: fix bug with -r
1421         * update-game-score.c (main): Don't set 'scores' to garbage when
1422         -r is specified and scorecount != MAX_SCORES (Bug#8310).  This bug
1423         was introduced in the 2002-04-10 change, and was found with gcc
1424         -Wstrict-overflow (GCC 4.5.2, x86-64).
1426         fakemail: Remove dependency on ignore-value.
1427         This undoes some of the recent fakemail-related changes.
1428         It is made possible due to recent changes to gnulib's stdio module.
1429         * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
1430         * fakemail.c: Do not include ignore-value.h.
1431         (put_line): Do not use ignore_value.
1433 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
1435         * Version 23.3 released.
1437 2011-03-03  Drake Wilson  <drake@begriffli.ch>  (tiny change)
1439         * emacsclient.c (longopts): Add quiet.
1440         (decode_options): Handle q/quiet.
1441         (print_help_and_exit): Add q/quiet.
1442         (main): Suppress some messages if quiet option is used.
1444 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
1446         * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
1448         * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
1449         (w32_getenv): Use xstrdup to return all values in malloc'ed
1450         storage.
1452 2011-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1454         * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
1455         to reader (and to the compiler) that the loop always executes at
1456         least once.  This prevents a warning with recent GCC.
1457         (BROWSE_STRUCT): Remove unused macro.
1459         * fakemail.c: Include <ignore-value.h>.
1460         (put_line): Explicitly ignore fwrite return value, for benefit of
1461         recent glibc + gcc.
1462         (close_the_streams): Diagnose output errors instead of merely
1463         exiting with nonzero status.
1464         (my_fclose, main): Diagnose input errors, and exit with nonzero status.
1465         Formerly, input errors were silently ignored.
1467         * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
1468         All callers changed.  This is cleaner, and avoids GCC warnings about
1469         passing NULL to fputs.
1470         (insert_keyword): Rename parameter to avoid shadowing diagnostic.
1472 2011-02-25  Paul Eggert  <eggert@cs.ucla.edu>
1474         * emacsclient.c (main): Avoid dangling 'if'.
1475         (xstrdup): Remove; no longer needed.
1476         (get_current_dir_name, w32_getenv, get_server_config, find_tty)
1477         (set_local_socket, main):
1478         Use const char *, not char *, for pointers that are not assigned
1479         through.
1480         (IF_LINT): New macro.
1481         (set_local_socket, main): Use it to suppress warnings with
1482         GCC -Wuninitialized.
1484         * emacsclient.c: Redo local variables to avoid shadowing problems.
1485         (message, socket_status, start_daemon_and_retry_set_socket):
1486         Rename locals.
1487         (main): Move decl of "i".
1489         * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
1490         This avoids an unused-macro warning with some GCC settings.
1492         * make-docfile.c (write_globals): Change char * to char const *
1493         to avoid a GCC "assignment discards qualifiers" diagnostic
1494         in some configurations.
1495         (scan_c_file): Refactor local variable decls to make their scope
1496         more accurate and to avoid a GCC -Wuninitialized diagnostic.
1498 2011-02-22  Eli Zaretskii  <eliz@gnu.org>
1500         * etags.c (canonicalize_filename, ISUPPER): Fix last change.
1502         * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)):
1503         Depend on ../lib/min-max.h.
1505 2011-02-22  Paul Eggert  <eggert@cs.ucla.edu>
1507         etags: Downcase drive letters, for consistency with Emacs proper.
1508         * etags.c (upcase): Remove; no longer used.
1509         (canonicalize_filename): Downcase drive letters.
1511         Assume S_ISLNK etc. work, since gnulib supports this.
1512         * etags.c (S_ISREG): Remove.
1514 2011-02-22  Paul Eggert  <eggert@cs.ucla.edu>
1516         Assume S_ISLNK etc. work, since gnulib supports this.
1517         * etags.c (S_ISREG): Remove.
1519 2011-02-22  Juanma Barranquero  <lekktu@gmail.com>
1521         * makefile.w32-in (obj): Remove filemode.o.
1523 2011-02-21  Paul Eggert  <eggert@cs.ucla.edu>
1525         New file "lib/min-max.h".
1526         * ebrowse.c (min, max): Define them by including <min-max.h>
1527         instead of defining it ourselves.
1528         * pop.c (min): Likewise.
1529         * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
1531         * movemail.c (popmail): Report fchown failure instead of ignoring it.
1532         But if the file already has the right ownership, don't worry about it.
1534         * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
1535         * test-distrib.c (buf): Make this local, to avoid shadowing.
1537         * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
1538         (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
1539         (DONE): Remove unused macro.
1540         (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
1541         Define these macros only in the contexts that need them.
1542         * pop.c (index): Remove unused macro.
1543         (KPOP_PORT): Define only if KERBEROS is defined.
1545         Declare file-scope functions and variables static if not exported.
1546         This is more consistent, and is nicer with gcc -Wstrict-prototypes.
1547         * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
1548         * profile.c, test-distrib.c, update-game-score.c:
1549         Declare non-'main' functions and variables to be static.
1550         * ebrowse.c: Omit redundant function prototypes.
1552 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
1554         * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
1555         ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
1556         Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
1558 2011-02-21  Ben Key  <bkey76@gmail.com>
1560         * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
1561         the new BVAR macro.
1563 2011-02-20  Juanma Barranquero  <lekktu@gmail.com>
1565         * makefile.w32-in (obj): Remove md5.o.
1567 2011-02-18  Karl Chen  <Karl.Chen@quarl.org>
1569         * emacsclient.c (main): Loop while `recv' return EINTR.
1571 2011-02-09  Paul Eggert  <eggert@cs.ucla.edu>
1573         * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
1574         This avoids collision with config.h's EMACS_INT on some
1575         configurations.  All uses changed.
1577 2011-02-08  Tom Tromey  <tromey@redhat.com>
1579         * make-docfile.c: Unconditionally include stdlib.h.
1580         (generate_globals): New global.
1581         (xrealloc): New function.
1582         (main): Handle '-g'.  Call start_globals, write_globals.
1583         (scan_file): Conditionally call put_filename.
1584         (start_globals): New function.
1585         (struct global): New.
1586         (num_globals, globals): New globals.
1587         (add_global, compare_globals, write_globals): New functions.
1588         (scan_c_file): Update for "-g".
1589         (scan_lisp_file): Fail if "-g".
1591 2011-02-05  Paul Eggert  <eggert@cs.ucla.edu>
1593         * emacsclient.c: Conform to C89 pointer rules.
1594         (file_name_absolute_p): Accept const char *, not const unsigned
1595         char *, to satisfy C89 rules.
1597 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
1599         * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
1600         Add ``-DEMACS_NAME="\"GNU Emacs\""''.
1601         (obj): Remove strftime.o.
1603 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
1605         * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
1606         (ECLIENT_CFLAGS): Remove -DVERSION.
1607         ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
1609 2011-01-31  Paul Eggert  <eggert@cs.ucla.edu>
1611         src/emacs.c now gets version number from configure.in
1612         * ebrowse.c: Adjust comment to say that.
1614 2011-01-30  Jim Meyering  <meyering@redhat.com>
1616         * make-docfile.c: Don't corrupt heap for an invalid .elc file
1617         "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
1618         one byte before just-malloc'd saved_string buffer.
1619         * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
1620         doc string length.  Also fix an always-false while-loop test.
1622 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
1624         * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
1625         (GETOPTOBJS, GETOPTDEPS): Remove targets.
1626         (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
1627         ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
1628         (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
1629         and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
1630         (clean): Don't remove getopt.h.
1631         (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
1632         ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
1633         $(EMACS_ROOT)/lib/getopt.h.
1635 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1637         * ntlib.c (setregid): New stub, renamed from setegid.
1639         * ntlib.h: Update prototype.
1641 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1643         * movemail.c (main): Use setregid instead of setegid, which is
1644         missing on older systems.  Suggested by Peter O'Gorman (Bug#6811).
1646 2011-01-23  Paul Eggert  <eggert@cs.ucla.edu>
1648         Check return values of some library calls.
1649         * hexl.c (main): Check fread result.
1650         * make-docfile.c (main): Check chdir result.
1651         (scan_c_file): Check fscanf result.
1652         * movemail.c (main): Check ftruncate result.
1654 2011-01-17  Paul Eggert  <eggert@cs.ucla.edu>
1656         Include <unistd.h> unilaterally.
1657         * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
1658         * pop.c, test-distrib.c, update-game-score.c:
1659         Include <unistd.h> without worrying about HAVE_UNISTD_H, since
1660         unistd.h is always present now, possibly supplied by gnulib.
1662         Include <getopt.h> not "getopt.h".
1663         * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
1664         Since getopt.h is no longer in this directory, there's no point
1665         using the form with double-quotes.
1667         Remove unused files.
1668         * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
1669         These files are now in ../lib, copied from gnulib.
1671         Use gnulib's getopt-gnu module.
1672         * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
1673         as these are now done by gnulib.
1674         (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
1675         Remove; now done by gnulib.  All uses removed.
1677         Automate syncing from gnulib.
1678         * Makefile.in (EXE_FILES): New macro.
1679         (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
1680         for gnulib's .h files.
1681         (LOADLIBES): Add ../lib/libgnu.a.
1682         ($(EXE_FILES)): Depend on ../lib/libgnu.a.
1683         (../lib/libgnu.a): New rule.
1685 2011-01-08  Paul Eggert  <eggert@cs.ucla.edu>
1687         * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
1689 2011-01-08  Glenn Morris  <rgm@gnu.org>
1691         * Makefile.in (EMACSOPT): Add --no-site-lisp.
1693         * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
1695 2011-01-02  Glenn Morris  <rgm@gnu.org>
1697         * ebrowse.c (version) <emacs_copyright>:
1698         * etags.c (print_version) <emacs_copyright>:
1699         * rcs2log (Copyright): Set short copyright year to 2011.
1701 2010-11-27  Joe Matarazzo  <joe.matarazzo@gmail.com>  (tiny change)
1703         * ebrowse.c (yylex): If end of input buffer encountered while
1704         searching for a newline after "//", return YYEOF.  (Bug#7446)
1706 2010-11-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1708         * emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
1709         definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
1711 2010-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
1713         * test-distrib.c: Remove include guards for config.h and fcntl.h.
1714         (O_RDONLY): Do not define.
1715         (cool_read): Fix type for variable "sofar".
1717 2010-10-25  Glenn Morris  <rgm@gnu.org>
1719         * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
1721 2010-10-23  Glenn Morris  <rgm@gnu.org>
1723         * digest-doc.c, sorted-doc.c: Remove files.
1724         * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
1725         (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
1726         * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
1727         ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
1728         ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
1729         (install): Don't install digest-doc.exe or sorted-doc.exe.
1731 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
1733         * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
1735 2010-10-09  Glenn Morris  <rgm@gnu.org>
1737         * b2m.c, b2m.pl: Remove files.
1738         * Makefile.in (INSTALLABLES): Remove b2m.
1739         * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
1741 2010-10-08  Glenn Morris  <rgm@gnu.org>
1743         * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
1744         DARWIN_USER_TEMP_DIR.  (Bug#3992)
1746 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
1748         * test-distrib.c (cool_read):
1749         * movemail.c (main, concat):
1750         * make-docfile.c (scan_file, write_c_args):
1751         * emacsclient.c (get_server_config): Fix -Wconversion warning.
1752         (egetenv): Move conditional definition earlier.
1753         (progname): Use const.
1754         * sorted-doc.c (xstrdup): Use const.
1756         * Makefile.in: Remove ^L, old makes choke on it.
1758 2010-10-02  Wolfgang Schnerring  <wosc@wosc.de>  (tiny change)
1760         * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
1761         error string (Bug#6963).
1763 2010-10-02  Juanma Barranquero  <lekktu@gmail.com>
1765         * makefile.w32-in (tags): Remove target.
1767 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1769         * makefile.w32-in (tags, TAGS): New targets.
1771 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
1773         * emacsclient.c (get_server_config): Don't read Emacs pid from
1774         the authentication file.
1776 2010-09-29  Juanma Barranquero  <lekktu@gmail.com>
1778         * makefile.w32-in (../src/config.h): Remove target, it is stale.
1780         * emacsclient.c (main): Remove unused variables.
1781         (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
1783 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
1785         * etags.c (compressors, print_language_names): Support xz compression.
1787 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
1789         * fakemail.c: Include stdlib.h for getenv.  Remove declaration of
1790         popen, fclose and pclose.
1791         (my_name, fatal, error, put_line): Use const char*.
1792         (main): Remove extern getenv, mail_program_name is const char*.
1794         * update-game-score.c (get_prefix, write_scores, main): Use const char*.
1796         * sorted-doc.c (error, fatal, states): Use const char *.
1798         * pop.h (pop_multi_first): Use const char *.
1799         (_ARGS): Remove.
1801         * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
1803         * movemail.c (fatal, error, concat): Use const char *.
1805         * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
1806         Use const char *.
1808         * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
1809         (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
1810         (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
1811         (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
1812         (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
1813         (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
1814         (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
1815         (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
1816         (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
1817         (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
1818         (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
1819         (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
1820         (no_lang_help, print_language_names)
1821         (get_language_from_interpreter, get_language_from_filename)
1822         (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
1823         (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
1824         (concat): Use const char*.
1826         * emacsclient.c (message, sock_err_message, send_to_emacs)
1827         (quote_argument, set_local_socket)
1828         (start_daemon_and_retry_set_socket): Use const char*.
1830         * ebrowse.c (struct member): filename, def_filename is const.
1831         (struct sym): filename, sfilename is const.
1832         (struct kw): name is const.
1833         (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
1835         * b2m.c (concat, fatal): Use const char*.
1836         (main): Don't assign labels a string literal.
1838 2010-08-07  Juanma Barranquero  <lekktu@gmail.com>
1840         * ebrowse.c (usage, version, mark_virtual):
1841         Remove duplicate declarations.
1843 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
1845         * emacsclient.c: Move socket related #includes together with the
1846         rest of the #includes.  Move WINDOWSNT includes closer together.
1847         (HAVE_CONFIG_H): Remove.
1848         (NO_RETURN): Remove, defined in config.h.
1849         (main): Convert definition to standard C.
1851 2010-07-29  Juanma Barranquero  <lekktu@gmail.com>
1853         * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
1855 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1857         * emacsclient.c (getcwd): Fix previous change: make getcwd
1858         conditional on HAVE_GETCWD and declare with the correct POSIX
1859         profile (for some reason MinGW headers define its 2nd arg as int,
1860         not size_t; but getcwd is not used on Windows nonetheless).
1862 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
1864         * emacsclient.c (getcwd, w32_getenv):
1865         * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
1867 2010-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
1869         * update-game-score.c (usage): Add NO_RETURN specifier.
1870         * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
1871         * make-docfile.c (fatal):
1872         * hexl.c (usage):
1873         * fakemail.c (fatal):
1874         * etags.c (fatal, suggest_asking_for_help, pfatal):
1875         * emacsclient.c (fatal):
1876         * b2m.c (fatal): Likewise.
1878 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
1880         * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
1882 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
1884         * emacsclient.c (get_current_dir_name, w32_get_resource)
1885         (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
1886         (close_winsock, initialize_sockets, w32_find_emacs_process)
1887         (w32_give_focus):
1888         * ntlib.c (getlogin, getuid, getgid, getegid):
1889         Convert definitions to standard C.
1891 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
1893         * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
1894         (PROFILING_LDFLAGS): Set from substitution.
1895         (BASE_CFLAGS): Add  ${C_WARNINGS_SWITCH}.
1896         (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
1897         (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
1899 2010-07-12  Eli Zaretskii  <eliz@gnu.org>
1901         * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
1902         2010-07-12T05:25:46Z!handa@etlken).
1904 2010-07-11  Andreas Schwab  <schwab@linux-m68k.org>
1906         * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
1907         index, rindex.
1908         * movemail.c (mail_spool_name, popmail): Likewise.
1909         * pop.c (pop_list): Likewise.
1911 2010-07-11  Eli Zaretskii  <eliz@gnu.org>
1913         * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
1914         and unexw32.o.  (Bug#6603)
1916 2010-07-10  Eli Zaretskii  <eliz@gnu.org>
1918         * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
1920 2010-07-09  Andreas Schwab  <schwab@linux-m68k.org>
1922         * make-docfile.c (write_c_args): Restructure scanning loop.
1924 2010-07-09  Dan Nicolaescu  <dann@ics.uci.edu>
1926         * make-docfile.c (write_c_args): Deal with type names in DEFUN
1927         arguments.
1929 2010-07-08  Dan Nicolaescu  <dann@ics.uci.edu>
1931         * update-game-score.c (P_): Remove macro.
1932         * ebrowse.c: Remove include guards.
1933         (P_): Remove macro.
1935 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
1937         * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
1938         memcpy, memmove, memset.
1939         * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
1941 2010-07-06  Andreas Schwab  <schwab@linux-m68k.org>
1943         * movemail.c: Add MAIL_USE_POP around prototypes.
1944         Include <string.h> if HAVE_STRING_H.
1945         (strerror): Only declare if !HAVE_STRERROR.
1946         (fatal): Make static.
1947         (error): Likewise.
1948         (pfatal_with_name): Likewise.
1949         (pfatal_and_delete): Likewise.
1950         (concat): Likewise.
1951         (xmalloc): Likewise.
1952         (popmail): Likewise.
1953         (pop_retr): Likewise.
1954         (mbx_write): Likewise.
1955         (mbx_delimit_begin): Likewise.
1956         (mbx_delimit_end): Likewise.
1958 2010-07-04  Dan Nicolaescu  <dann@ics.uci.edu>
1960         * fakemail.c (action): Convert function definitions to standard C.
1961         (add_a_stream):
1962         * test-distrib.c (cool_read, main): Likewise.
1964 2010-07-03  Andreas Schwab  <schwab@linux-m68k.org>
1966         * sorted-doc.c (cmpdoc): Fix signature.
1967         (qsort_compare): Delete.
1968         (main): Remove cast.
1970 2010-07-03  Juanma Barranquero  <lekktu@gmail.com>
1972         * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
1974 2010-07-03  Juanma Barranquero  <lekktu@gmail.com>
1976         Fix prototype warnings.
1978         * ebrowse.c (match_qualified_namespace_alias):
1979         Pass sym* to find_namespace, not link*.
1981         * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
1983         * sorted-doc.c (qsort_compare): New typedef.
1984         (main): Use it to cast cmpdoc.
1986 2010-07-03  Dan Nicolaescu  <dann@ics.uci.edu>
1988         * update-game-score.c: Convert function definitions to standard C.
1989         * sorted-doc.c:
1990         * profile.c:
1991         * pop.c:
1992         * movemail.c:
1993         * make-docfile.c:
1994         * hexl.c:
1995         * fakemail.c:
1996         * etags.c:
1997         * ebrowse.c:
1998         * digest-doc.c:
1999         * b2m.c: Likewise.
2001 2010-07-02  Dan Nicolaescu  <dann@ics.uci.edu>
2003         * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
2004         * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
2005         standard C prototypes.
2007 2010-07-02  Jan Djärv  <jan.h.d@swipnet.se>
2009         * ebrowse.c: Remove P_ and __P.
2010         * etags.c:
2011         * movemail.c:
2012         * pop.c:
2013         * update-game-score.c: Likewise.
2015 2010-06-24  Juanma Barranquero  <lekktu@gmail.com>
2017         * movemail.c (error): Avoid warning when there are no args.
2019 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
2021         * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
2022         and vc/ediff-hook.elc.
2024 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
2026         * ntlib.h: Remove code dealing with BSTRING.
2028 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
2030         * emacsclient.c (longopts, decode_options, print_help_and_exit):
2031         New arg `-parent-id'.
2032         (main): Send parent-id to Emacs.
2034 2010-05-27  Glenn Morris  <rgm@gnu.org>
2036         * Makefile.in (distclean): No more Makefile.c.
2038 2010-05-22  Jan Djärv  <jan.h.d@swipnet.se>
2040         * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
2041         (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
2042         (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
2043         New rules (Bug #6246).
2044         (clean): Remove stamp-* (Bug #6246).
2046 2010-05-12  Glenn Morris  <rgm@gnu.org>
2048         * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
2050 2010-05-11  Glenn Morris  <rgm@gnu.org>
2052         * Makefile.in (.m.o): Remove, there are no .m files.
2053         (BASE_CFLAGS): New variable.
2054         (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
2055         (check): Update the message.
2056         (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
2058         * Makefile.in: Convert comments to makefile format.
2060         * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
2061         (config.h) [MSDOS]: Do not include.
2063 2010-05-10  Glenn Morris  <rgm@gnu.org>
2065         * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
2066         (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
2067         (NOT_C_CODE): Remove, no longer used.
2068         (config.h) [!MSDOS]: No longer include.
2069         (LOADLIBES): Use LIBS_SYSTEM as a variable.
2071         * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
2073 2010-05-08  Glenn Morris  <rgm@gnu.org>
2075         * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
2077 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
2079         * Version 23.2 released.
2081 2010-05-06  Glenn Morris  <rgm@gnu.org>
2083         * Makefile.in: Minimize blessmail-related cpp usage.
2084         (BLESSMAIL_TARGET): New variable.
2085         (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
2086         (blessmail): Always define this rule.
2087         (need-blessmail): New rule, split out from maybe-blessmail.
2088         (maybe-blessmail): Use BLESSMAIL_TARGET.
2090 2010-05-04  Glenn Morris  <rgm@gnu.org>
2092         * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
2093         @c_switch_system@, @c_switch_machine@.
2095 2010-04-26  Dan Nicolaescu  <dann@ics.uci.edu>
2097         * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
2099 2010-04-12  Dan Nicolaescu  <dann@ics.uci.edu>
2101         * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
2102         non-cpp section.
2104 2010-04-11  Dan Nicolaescu  <dann@ics.uci.edu>
2106         * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
2107         autoconf, not cpp.
2108         (ALL_CFLAGS): Use them as make variables.
2110 2010-04-07  Christoph Scholtes  <cschol2112@googlemail.com>
2112         * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
2113         for macros for nmake compatibility.
2115 2010-04-03  Juanma Barranquero  <lekktu@gmail.com>
2117         Add stubs for Windows, required after CVE-2010-0825 change.
2118         * ntlib.c (getgid, getegid, setegid): New stubs.
2119         * ntlib.h (getgid, getegid, setegid): Declare them.
2121 2010-04-02  Dan Rosenberg  <dan.j.rosenberg@gmail.com>  (tiny change)
2123         * movemail.c (main): Check return values of setuid.
2124         Avoid possibility of symlink attack when movemail is setgid mail
2125         (CVE-2010-0825).
2127 2010-04-02  Dan Nicolaescu  <dann@ics.uci.edu>
2129         Remove extern errno declarations.
2130         * movemail.c:
2131         * etags.c:
2132         * emacsclient.c: Remove extern errno declarations.
2134 2010-03-20  Glenn Morris  <rgm@gnu.org>
2136         * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
2137         (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
2138         defining these as Makefile variables.
2139         (LIBS_MOVE): Add LIBS_MAIL into this.
2140         (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
2142 2010-03-18  Glenn Morris  <rgm@gnu.org>
2144         * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
2145         (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
2146         (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
2148 2010-03-18  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)
2150         * Makefile.in (uninstall): Handle the case where archlibdir does not
2151         exist.  (Bug#5720)
2153 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
2155         * Branch for 23.2.
2157 2010-02-20  Kevin Ryde  <user42@zip.com.au>
2159         * etags.c (Scheme_functions): Don't loop past a null character
2160         (Bug#5601).
2162 2010-01-29  Kester Habermann  <kester@linuxtag.org>  (tiny change)
2164         * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
2166 2010-01-11  Glenn Morris  <rgm@gnu.org>
2168         * ebrowse.c (version):
2169         * etags.c (print_version):
2170         * rcs2log (Copyright): Set copyright year to 2010.
2172 2009-12-09  David Robinow  <drobinow@gmail.com>  (tiny change)
2174         * makefile.w32-in: Use parenthesis for macros for nmake
2175         compatibility.
2177 2009-11-23  Tobias Ringström  <tobias@ringis.se>  (tiny change)
2179         * etags.c (absolute_filename): Use memmove if we have it for
2180         overlapping copy.
2182 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
2184         * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
2186 2009-10-15  Juanma Barranquero  <lekktu@gmail.com>
2188         * .gitignore: Add echolisp.tmp.
2190 2009-10-15  Glenn Morris  <rgm@gnu.org>
2192         * emacsclient.c (print_help_and_exit): Fix bug report instructions.
2194         * makefile.w32-in (echolisp): New rule.
2195         (clean): Delete echolisp.tmp.
2197 2009-09-27  Eli Zaretskii  <eliz@gnu.org>
2199         * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
2200         term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
2201         be consistent with src/Makefile.in.
2203 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2205         * update-game-score.c (main): Sort scores before trimming them,
2206         reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
2208 2009-09-09  Glenn Morris  <rgm@gnu.org>
2210         * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
2211         before creating directories and game score files.
2213 2009-08-19  Glenn Morris  <rgm@gnu.org>
2215         * cvtmail.c: Remove file.
2216         * Makefile.in (UTILITIES): Remove cvtmail.
2217         (cvtmail${EXEEXT}): Remove.
2219 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
2221         * b2m.c (main): Ensure that each message ends in two newlines.
2223 2009-07-03  Jason Rumney  <jasonr@gnu.org>
2225         * emacsclient.c (w32_set_user_model_id): Use standard types.
2227 2009-07-03  Eli Zaretskii  <eliz@gnu.org>
2229         * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
2230         src/Makefile.in did.
2232 2009-06-30  Jason Rumney  <jasonr@gnu.org>
2234         * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
2235         that is already loaded.
2236         (w32_set_user_model_id): New function.
2237         (main): Use it to associate emacsclient with emacs (bug#1849).
2239 2009-06-29  Jim Meyering  <meyering@redhat.com>
2241         Remove useless if-before-free test.
2242         * make-docfile.c (scan_lisp_file): Remove useless test.
2244 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
2246         * Makefile.in (movemail.o): Don't pass -Demacs, unused.
2248 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
2250         * Branch for 23.1.
2252 2006-06-09  Adrian Robert  <Adrian.B.Robert@gmail.com>
2254         * mac-fix-env.m:
2255         * Makefile.in (mac-fix-env): Remove.
2257 2006-06-06  David Reitter  <david.reitter@gmail.com>
2259         * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
2261 2009-04-20  Juanma Barranquero  <lekktu@gmail.com>
2263         * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
2264         spacing is required in the message output, as the comment suggests).
2266 2009-04-20  Chong Yidong  <cyd@stupidchicken.com>
2268         * emacsclient.c (print_help_and_exit): Clarify argument placement
2269         for short option names.
2271 2009-04-02  Dan Nicolaescu  <dann@ics.uci.edu>
2273         * emacsclient.c (print_help_and_exit): Fix typo.
2275 2009-03-21  Eli Zaretskii  <eliz@gnu.org>
2277         * ntlib.c (setuid): Argument is now unsigned.
2278         (getuid): Return value is now unsigned.
2279         (getpwuid): Argument is now unsigned.
2280         (fchown): UID and GID arguments are now unsigned.
2282         * ntlib.h (fchown): UID and GID arguments are now unsigned.
2283         (getuid): Return value is now unsigned.
2284         (setuid): Argument is now unsigned.
2285         (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
2287 2009-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2289         * emacsclient.c (main): Revert part of last change, so
2290         drive-relative file names again work on Windows.
2292 2009-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2294         * emacsclient.c (main): Always pass cwd via "-dir".  Pass the file
2295         names without prepending cwd to them, so Emacs uses its customary
2296         rules to determine how to interpret the file name.
2298 2009-03-04  Glenn Morris  <rgm@gnu.org>
2300         * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
2302 2009-02-13  Sven Joachim  <svenjoac@gmx.de>
2304         * movemail.c: Include time.h unconditionally.
2305         (main): Use time_t for time variables.
2307 2009-02-11  Glenn Morris  <rgm@gnu.org>
2309         * movemail.c (mbx_delimit_begin): Also write the current time.
2311 2009-02-10  Glenn Morris  <rgm@gnu.org>
2313         * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
2314         than Babyl format.  (Bug#2196)
2316 2009-01-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
2318         * emacsclient.c (decode_options): Use a dummy display name under
2319         NS/Cocoa.
2321 2009-01-14  Lars Rasmusson  <lars.rasmusson@gmail.com>  (tiny change)
2323         * ebrowse.c (matching_regexp): Fix OB1 error.
2325 2009-01-05  Glenn Morris  <rgm@gnu.org>
2327         * ebrowse.c (version):
2328         * etags.c (print_version):
2329         * rcs2log (Copyright): Update copyright for 2009.
2331 2009-01-01  Chong Yidong  <cyd@stupidchicken.com>
2333         * movemail.c (main): Fatal if hard links cannot be created.
2335 2008-12-18  Dan Nicolaescu  <dann@ics.uci.edu>
2337         * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
2338         checking.
2340 2008-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
2342         * emacsclient.c: Include syswait.h instead of sys/types.h.
2344 2008-12-11  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
2346         * emacsclient.c (WCONTINUED): New compatibility define
2347         for older systems.
2349 2008-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
2351         * emacsclient.c (main): Fix previous change.
2353 2008-12-10  Juanma Barranquero  <lekktu@gmail.com>
2355         * emacsclient.c (main): Fix mindless breakage where emacsclient
2356         does not work *at all* on Windows, even if it *can* connect.
2358 2008-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
2360         * emacsclient.c (EMACS_DAEMON): Remove definition.
2361         (decode_options): Do not allow an empty alternate_editor on
2362         WINDOWSNT.
2363         (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
2364         (start_daemon_and_retry_set_socket): Likewise.
2365         (main): Fail in case of not being able to connect.
2367 2008-12-10  Juanma Barranquero  <lekktu@gmail.com>
2369         * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
2370         Changes when EMACS_DAEMON is not defined:
2371         (print_help_and_exit): Don't add daemon information to help.
2372         (start_daemon_and_retry_set_socket): Make a no-op.
2373         (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
2375 2008-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
2377         * emacsclient.c (print_help_and_exit): Describe what an empty
2378         string argument does for --alternate-editor.
2379         (set_socket): Make it possible to not exit in case of an error.
2380         (start_daemon_and_retry_set_socket): New function.
2381         (main): Use it.  Restore the NULL value for socket_name and
2382         server_file after the set_socket call.
2384 2008-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
2386         * emacsclient.c: Include <arpa/inet.h>.
2388 2008-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
2390         * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
2392 2008-11-22  Derek Peschel  <dpeschel@eskimo.com>  (tiny change)
2394         * etags.c (add_regex): Pass correct length to re_compile_pattern.
2396 2008-11-02  Chong Yidong  <cyd@stupidchicken.com>
2398         * emacsclient.c (window_system): Delete redundant variable.
2399         (decode_options): Don't use it.
2400         (find_tty): New function.
2401         (main): Use find_tty, and don't use window_system.
2403 2008-11-01  Eli Zaretskii  <eliz@gnu.org>
2405         * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
2406         `ttyname'.
2407         (w32_getenv): Treat $TERM specially: if not found in the
2408         environment and in the Registry, return "w32console".
2409         (ttyname) [WINDOWSNT]: New function.
2411 2008-10-31  Andreas Schwab  <schwab@suse.de>
2413         * emacsclient.c (main): Don't force sending tty when in eval mode.
2415 2008-10-30  Chong Yidong  <cyd@stupidchicken.com>
2417         * emacsclient.c (main): If using the current frame, send tty
2418         information to Emacs in case daemon mode needs to occupy this tty.
2420 2008-10-29  Juanma Barranquero  <lekktu@gmail.com>
2422         * emacsclient.c (EXTRA_SPACE): New macro.
2423         (get_server_config, set_local_socket): Use it.
2425         * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
2426         Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
2428 2008-10-29  Ulrich Mueller  <ulm@gentoo.org>
2430         * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
2431         instead of hardcoded /tmp.
2433 2008-10-13  Dan Nicolaescu  <dann@ics.uci.edu>
2435         * emacsclient.c (longopts, print_help_and_exit): Add -nw.
2436         (decode_options): Use getopt_long_only.
2438 2008-09-30  Eli Zaretskii  <eliz@gnu.org>
2440         * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
2441         codepage.elc.
2443 2008-09-19  Dan Nicolaescu  <dann@ics.uci.edu>
2445         * emacsclient.c (main): Use stdout rather than stdin to obtain the
2446         terminal (bug#427).
2448 2008-08-25  Francesco Potortì  <pot@gnu.org>
2450         * etags.c (main): Do not use static space for the tagfile string.
2452 2008-08-17  Francesco Potortì  <pot@gnu.org>
2454         * etags.c (main): Use canonicalize_filename on tags file name.
2455         (relative_filename): Revert 3.85: do not collapse slashes here.
2456         (absolute_dirname): Remove useless call to canonicalize_filename.
2457         (canonicalize_filename): Collapse multiple slashes here.
2459 2008-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
2461         * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
2462         Do not special case for NS_IMPL_COCOA.
2464 2008-08-06  Adrian Robert  <Adrian.B.Robert@gmail.com>
2466         * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
2467         (.m.o): Dispense with GNUstep-specific flags.
2469 2008-08-05  Ulrich Mueller  <ulm@gentoo.org>
2471         * pop.c (socket_connection): Add conditionals for
2472         HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
2473         compilation with MIT Kerberos and Heimdal, respectively.
2475 2008-07-31  Dan Nicolaescu  <dann@ics.uci.edu>
2477         * etags.c:
2478         * emacsclient.c: Remove VMS support.
2480 2008-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
2482         Remove support for Mac Carbon.
2483         * makefile.w32-in:
2484         * emacsclient.c: Remove code for Carbon.
2486 2008-07-21  Dan Nicolaescu  <dann@ics.uci.edu>
2488         * Makefile.in (mac-fix-env): Remove #ifdef around rule.
2490 2008-07-17  Andreas Schwab  <schwab@suse.de>
2492         * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
2493         (LIB_STANDARD_LIBSRC): Don't define.
2494         (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
2496 2008-07-16  Adrian Robert  <Adrian.B.Robert@gmail.com>
2498         * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
2499         NS_IMPL_COCOA.
2501 2008-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
2503         * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
2504         Remove, unused.
2506 2008-07-15  Adrian Robert  <Adrian.B.Robert@gmail.com>
2508         * .cvsignore: Add mac-fix-env.
2509         * mac-fix-env.m: New file, automatically update
2510         ~/.MacOSX/environment.plist on OS X systems to expose environment
2511         variables inside Emacs started from icon.
2512         * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
2513         programs to build.
2514         * make-docfile.c: Add .m to list of file extensions.
2516 2008-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
2518         * movemail.c (main): Use int instead of WAITTYPE.
2520 2008-07-05  Juanma Barranquero  <lekktu@gmail.com>
2522         * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
2523         Remove vmsproc.el and vms-patch.el.
2525 2008-06-26  Juanma Barranquero  <lekktu@gmail.com>
2527         * makefile.w32-in (obj): Remove w32bdf.o.
2529 2008-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
2531         * fakemail.c: Remove references to obsolete variables.
2533 2008-06-02  Jim Meyering  <meyering@redhat.com>
2535         * ebrowse.c (xfree): Remove definition; s/xfree/free/.
2537         Remove useless if-before-free tests.
2538         * ebrowse.c (xfree): Likewise.
2539         * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
2540         (popclass_above, Prolog_functions, Erlang_functions): Likewise.
2541         * pop.c (pop_quit): Likewise.
2543 2008-05-30  Juanma Barranquero  <lekktu@gmail.com>
2545         * makefile.w32-in (lisp2): Add minibuffer.elc.
2547 2008-05-29  Tom Tromey  <tromey@redhat.com>
2549         * etags.c (relative_filename): Treat "///" like "/" in filenames.
2551 2008-05-09  Eli Zaretskii  <eliz@gnu.org>
2553         * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
2554         (IS_DIRECTORY_SEP): New macro.
2555         (convert_time, is_exec, stat): New functions.
2557 2008-05-08  Eli Zaretskii  <eliz@gnu.org>
2559         * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
2561 2008-05-03  Eli Zaretskii  <eliz@gnu.org>
2563         * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
2564         corresponding change in src/Makefile.in.
2566 2008-04-24  Adam Gołębiowski  <adamg@pld-linux.org>  (tiny change)
2568         * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
2570 2008-04-10  Jason Rumney  <jasonr@gnu.org>
2572         * makefile.w32-in (CLIENTRES): New variable and target.
2573         (TRES): Remove.
2574         ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
2576 2008-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2578         * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
2580 2008-04-18  Steve Grubb  <sgrubb@redhat.com>  (tiny change)
2582         * vcdiff: Use mktemp (CVE-2008-1694).
2584 2008-04-09  Jason Rumney  <jasonr@gnu.org>
2586         * makefile.w32-in (distclean, maintainer-clean): New targets.
2588 2008-03-13  Glenn Morris  <rgm@gnu.org>
2590         * makefile.w32-in (VERSION): Set to 23.0.60.
2592 2008-03-04  Juanma Barranquero  <lekktu@gmail.com>
2594         * .cvsignore: Add oo.
2596 2008-02-27  Yuri Shtil  <yuris@juniper.net>  (tiny change)
2598         * etags.c (Perl_functions): Fix call to skip_spaces.
2600 2008-02-24  Dan Nicolaescu  <dann@ics.uci.edu>
2602         * Makefile.in (NO_SHORTNAMES):
2603         * emacsclient.c (NO_SHORTNAMES):
2604         * fakemail.c (NO_SHORTNAMES):
2605         * make-docfile.c (NO_SHORTNAMES):
2606         * movemail.c (NO_SHORTNAMES):
2607         * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
2609 2008-02-23  Jason Rumney  <jasonr@gnu.org>
2611         * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
2612         (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
2613         (OTHER_PLATFORM_SUPPORT): Replace above.  Add X specific files too.
2614         (lisp2): Add new languages.
2615         ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
2617 2008-02-22  Juanma Barranquero  <lekktu@gmail.com>
2619         * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
2620         malayalam.el, and tamil.el.  Add sinhala.el.
2622 2008-02-20  Juanma Barranquero  <lekktu@gmail.com>
2624         * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
2625         where NAME is relative to DRIVE'S current directory.
2627 2008-02-15  Juanma Barranquero  <lekktu@gmail.com>
2629         * emacsclient.c (print_help_and_exit): Show -d option on Windows.
2631 2008-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
2633         * fakemail.c: Undo previous change.
2635 2008-02-09  Dan Nicolaescu  <dann@ics.uci.edu>
2637         * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
2638         (main): Replace MAIL_PROGRAM_NAME with its value.
2640         * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
2642 2008-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2644         * emacsclient.c (decode_options): Pass --display implicitly if -c
2645         is specified.  Only set tty if -t or -c is specified.
2647 2008-02-04  Jason Rumney  <jasonr@gnu.org>
2649         * makefile.w32-in (lisp1): Use (), not {}.
2651 2008-02-04  Tom Tromey  <tromey@redhat.com>
2653         * etags.c: Add "GTY" as synonym for __attribute__.
2654         Update gperf output.
2656 2008-02-01  Jason Rumney  <jasonr@gnu.org>
2658         * makefile.w32-in (obj): Sync with src/Makefile.in.
2659         (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
2660         (WINNT_SUPPORT): Add term/w32-win.elc.
2661         (lisp1, lisp2): Sync with lisp in src/Makefile.in.
2663 2008-02-01  Jason Rumney  <jasonr@gnu.org>
2665         * makefile.w32-in (obj): Add font.o and w32font.o.
2667 2008-02-01  Zhang Wei  <id.brep@gmail.com>  (tiny change)
2669         * makefile.w32-in (lisp1): Delete ucs-tables.elc,
2670         utf-8.elc, and latin-*.el.
2672 2008-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2674         * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
2675         Allow the -d option under w32 again, for those rare cases where it
2676         actually does make sense.
2678 2008-01-25  Juanma Barranquero  <lekktu@gmail.com>
2680         * emacsclient.c (set_tcp_socket): Don't send "\n" after
2681         the authentication string; there's no need to haste.
2683 2008-01-22  Chong Yidong  <cyd@stupidchicken.com>
2685         * pop.c (pop_stat, pop_last): Fix last fix.
2687 2008-01-18  Dan Nicolaescu  <dann@ics.uci.edu>
2689         * movemail.c: Remove references to XENIX.
2691 2008-01-13  Dan Nicolaescu  <dann@ics.uci.edu>
2693         * movemail.c:
2694         * make-docfile.c: Remove reference to symbols defined by systems
2695         not supported anymore: MAC_OS8, XENIX and STRIDE.
2697 2008-01-12  Eli Zaretskii  <eliz@gnu.org>
2699         * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
2700         of DISPLAY in the environment.  Don't support -d.
2701         (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
2702         (longopts) [WINDOWSNT]: Remove --display.
2704 2008-01-10  Chong Yidong  <cyd@stupidchicken.com>
2706         * pop.c (pop_stat, pop_last): Check validity of string-to-integer
2707         conversion.  Mistakes spotted by Nico Golde.
2709 2008-01-09  Glenn Morris  <rgm@gnu.org>
2711         * emacsclient.c: Add missing final newlines to message calls.
2713 2008-01-09  Daniel Hackney  <dan@haxney.org>  (tiny change)
2715         * emacsclient.c (set_socket): Add final newline to socket error message.
2717 2008-01-04  Glenn Morris  <rgm@gnu.org>
2719         * ebrowse.c (version) <emacs_copyright>: New variable.
2720         Just use current year for copyright.
2722         * etags.c (print_version):
2723         * rcs2log (Copyright): Update to 2008.
2725 2007-11-28  Jason Rumney  <jasonr@gnu.org>
2727         * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
2729 2007-11-27  Jan Djärv  <jan.h.d@swipnet.se>
2731         * pop.c (socket_connection): Remove AI_ADDRCONFIG.
2733 2007-11-19  Jan Djärv  <jan.h.d@swipnet.se>
2735         * pop.c (socket_connection): Move realhost out of #ifdefs.
2736         Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
2738 2007-11-18  Jan Djärv  <jan.h.d@swipnet.se>
2740         * pop.c (socket_connection): Use getaddrinfo if available.
2742 2007-11-22  Francesco Potortì  <pot@gnu.org>
2744         * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
2745         as the defaults in ctags are different from etags.
2747 2007-11-15  Francesco Potortì  <pot@gnu.org>
2749         * etags.c: Make prototypes for extern definitions, and add all
2750         that are needed to quench warnings on 64-bit.
2751         (main): Use the same defaults for ctags as for etags: find
2752         typedefs, structure tags, macro constants, enum constants, struct
2753         members and global variables.
2754         (make_C_tag) [DEBUG]: Add debugging printout.
2755         (C_entries): In case '}' decrement bracelev before testing it.
2757 2007-11-15  Masatake YAMATO  <jet@gyve.org>
2759         * etags.c (C_entries): In case '}', set fvdef to fvnone
2760         unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
2762 2007-11-01  Dan Nicolaescu  <dann@ics.uci.edu>
2764         * makefile.w32-in (obj): Remove sunfns.o.
2766 2007-10-28  Juanma Barranquero  <lekktu@gmail.com>
2768         * makefile.w32-in (obj): Remove abbrev.o.
2770 2007-10-26  Juanma Barranquero  <lekktu@gmail.com>
2772         * emacsclient.c: Add a wrapper for getenv so it also checks the
2773         registry on Windows.  Suggestion and algorithm by Eli Zaretskii.
2774         Code partially based on w32_get_resource and init_environment (w32.c).
2775         (egetenv): New wrapper for getenv.
2776         (get_current_dir_name, decode_options, get_server_config)
2777         (set_local_socket, set_socket, main): Use egetenv, not getenv.
2778         (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
2780 2007-10-25  Jason Rumney  <jasonr@gnu.org>
2782         * emacsclient.c (sock_err_message): New function.
2783         (set_tcp_socket): Use it.
2785 2007-10-09  Juanma Barranquero  <lekktu@gmail.com>
2787         * emacsclient.c (print_help_and_exit): Fix space to improve
2788         alignment in output messages.
2790 2007-09-27  Jason Rumney  <jasonr@gnu.org>
2792         * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
2794         * emacsclient.c (w32_window_app): Init common controls when windowed.
2796 2007-09-21  Glenn Morris  <rgm@gnu.org>
2798         * emacstool.c: Remove file.
2799         * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
2800         Delete targets built from emacstool.
2802 2007-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2804         * emacsclient.c (decode_options): -t implies -c.
2806 2007-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2808         * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
2809         (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
2810         (main_argc): Remove.
2811         (strprefix): Use strncmp.
2813 2007-09-20  Jason Rumney  <jasonr@gnu.org>
2815         * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
2817 2007-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2819         * emacsclient.c (current_frame): Change the default.
2820         (longopts): Replace --current-frame by --create-frame.
2821         (decode_options): Reverse the meaning of -c.
2822         (print_help_and_exit): Update help text accordingly.
2823         (main): Remove the -version and -good-version messages.
2825 2007-09-12  Glenn Morris  <rgm@gnu.org>
2827         * Makefile.in (SOURCES, unlock, relock): Delete.
2829 2007-08-29  Glenn Morris  <rgm@gnu.org>
2831         * makefile.w32-in (VERSION): Increase to 23.0.50.
2833 2007-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
2835         * emacsclient.c (w32_execvp): Move definition before use.
2836         (decode_options): Don't use a tty on mac carbon or windows.
2838 2007-08-29  Jason Rumney  <jasonr@gnu.org>
2840         * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
2841         (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp)
2842         (main): Expand removed macros inline.
2843         (main) [WINDOWSNT]: Don't call ttyname.  Don't recognize -suspend
2844         option.
2845         (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
2847 2007-08-29  Károly Lőrentey  <lorentey@elte.hu>
2849         * emacsclient.c (signal.h): New include.
2850         (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
2851         (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
2852         Copy definitions here from src/lisp.h.
2853         (main_argc, main_argv, current_frame, window_system, tty): New vars.
2854         (longopts): Add tty, current-frame.
2855         (xmalloc, xstrdup): New functions.
2856         (get_current_dir_name): New function, copied from src/sysdep.c.
2857         (decode_options): Set display from environment.  Add tty and
2858         current_frame options.  Make --no-wait imply --current-frame,
2859         except when it is the only option given.  Make sure no frame is
2860         opened when --current-frame is set.
2861         (print_help_and_exit): Document tty and current-frame options.
2862         (fail): Change arguments to void.
2863         (main): When sockets are not defined, set main_argc, main_argv,
2864         and call fail() with no arguments.
2865         (emacs_socket): New variable (moved out from main `s').
2866         (quote_file_name): Rename to quote_argument.
2867         (quote_argument): New name for old quote_file_name.
2868         (unquote_argument, strprefix, pass_signal_to_emacs)
2869         (handle_sigcont, handle_sigtstp, init_signals): New functions.
2870         (set_local_socket): Initialize saved_errno to 0.  If socket-name
2871         is too long, call `fail' rather than `exit'.
2872         (main): Doc update.  Set main_argc, main_argv.  New var `str'.
2873         Don't need a filename or argument if tty or window_system set.
2874         Call fail with no arguments.  Use get_current_dir_name to send
2875         over the current directory.  Send version number to Emacs for
2876         verification.  If tty is set, check TERM, and pass name and type
2877         to Emacs.  Pass window_system to Emacs.  Move sending of eval to
2878         optind loop.  Send -position, -file to Emacs.  Call fsync after
2879         fflush.  Check for a client/server version match.
2880         Handle -emacs-pid, -window-system-unsupported, -print, -error, and
2881         -suspend commands.  Don't exit prematurely on --no-wait, let Emacs
2882         close the connection for us.  When creating a new frame, send
2883         environment and pwd to Emacs.  Send current-frame to Emacs.
2885 2007-08-25  Eli Zaretskii  <eliz@gnu.org>
2887         * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
2888         Prepend "-" to the command, in case srcdir=. and file is copied
2889         into itself.
2891 2007-07-25  Glenn Morris  <rgm@gnu.org>
2893         * Relicense all FSF files to GPLv3 or later.
2895         * COPYING: Switch to GPLv3.
2897 2007-07-17  Francesco Potortì  <pot@gnu.org>
2899         * etags.c (C_entries): Reset the fvdef machine when out of function.
2900         (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
2901         (print_help): Use it in if() rather than #if.
2902         (print_help): Conditionally print help about --no-line-directive.
2904 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
2906         * makefile.w32-in (clean): Don't delete *~.
2908 2007-06-07  Glenn Morris  <rgm@gnu.org>
2910         * etags.c (print_version): Add `emacs_copyright' string, for
2911         easier automatic updating.
2913 2007-05-18  Francesco Potortì  <pot@gnu.org>
2915         * etags.c: Extern definitions of some more pointer functions for
2916         standalone compilation, especially important for 64bit platforms.
2917         (main, print_help): --members is now the default for etags.
2918         (C_entries): Parse start of C comment as a space == end of token.
2919         This is not necessary for C++ comment, already parsed as newline.
2921 2007-04-26  Glenn Morris  <rgm@gnu.org>
2923         * makefile.w32-in (VERSION): Increase to 22.1.50.
2925 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
2927         * Version 22.1 released.
2929 2007-02-26  Francesco Potortì  <pot@gnu.org>
2931         * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
2933 2007-02-20  Ulrich Mueller  <ulm@kph.uni-mainz.de>  (tiny change)
2935         * Makefile.in (EMACS, EMACSOPT): New variables.
2936         (blessmail): Use `--no-site-file' when compiling.
2938 2007-02-05  Francesco Potortì  <pot@gnu.org>
2940         * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
2941         (main): Now --members is the default for etags, not for ctags yet.
2943 2007-02-04  Per Cederqvist  <ceder@ingate.com>  (tiny change)
2945         * etags.c (gperf, in_word_set): Change attribute for Java to
2946         (C_JAVA & ~C_PLPL).  The previous change introduced 2004-09-13 was
2947         broken, as (C_JAVA & !C_PLPL) always evaluates to 0.  This caused
2948         import, package, extends, implements and interface to be treated
2949         specially for all kinds of C-style files, not just Java files.
2951 2007-01-02  Francesco Potortì  <pot@gnu.org>
2953         * etags.c (longopts): New undocumented option --no-duplicates.
2954         (no_duplicates): Static variables for the above option.
2955         (print_help): Do not print help for --no-warn, now undocumented.
2956         (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
2957         (main): Pass the -u option to sort in ctags mode.
2959 2006-12-28  Francesco Potortì  <pot@gnu.org>
2961         * etags.c (readline): When creating a relative file name from a
2962         #line directive, leave the file name alone.  The previous
2963         behavior was to make it relative to the tags file directory,
2964         under the hypothesis that the #line directive file name was
2965         relative to the directory of the tagged file.  That hypothesis is
2966         wrong with Cpp and Lex.
2967         (Makefile_targets): Do not include spaces in tag names.
2969 2006-12-22  Eli Zaretskii  <eliz@gnu.org>
2971         * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
2972         (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
2973         (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
2974         ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
2975         ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
2976         ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
2977         ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
2978         ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
2979         (clean): Delete stamp_BLD.
2981 2006-12-20  Francesco Potortì  <pot@gnu.org>
2983         * etags.c (C_entries): DEFUN names were longer by one: corrected.
2985 2006-12-18  Juanma Barranquero  <lekktu@gmail.com>
2987         * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
2988         [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
2989         (main) [WINDOWSNT]: Remove code to release the focus; call
2990         w32_give_focus instead.
2992 2006-12-15  Juanma Barranquero  <lekktu@gmail.com>
2994         * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
2995         (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
2996         (fail): Remove Windows-specific fix (subsumed into w32_execvp).
2997         Suggestions and comment by Eli Zaretskii.
2999 2006-12-06  Christoph Conrad  <christoph.conrad@gmx.de>
3001         * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
3002         Use $(USER32) for compatibility with Visual Studio .NET 2003.
3004 2006-11-30  Juanma Barranquero  <lekktu@gmail.com>
3006         * emacsclient.c (emacs_pid): New variable.
3007         (message): Remove leftover code.
3008         (get_server_config): Set emacs_pid.  Don't allow Emacs to grab the
3009         focus yet; emacsclient can still display an informational message
3010         before sending requests to Emacs.
3011         (main): Allow Emacs to grab the focus.  Simplify message() call.
3013 2006-11-30  Michael Mauger  <mmaug@yahoo.com>
3015         * emacsclient.c (message): Make sure the message is properly
3016         written even if it contains printf escapes, and flush the result.
3017         (set_tcp_socket): Make the message for non-local connections
3018         informational rather than an error.
3020 2006-11-28  Kevin Ryde  <user42@zip.com.au>
3022         * etags.c (readline): Check for double quote after #line.
3024 2006-11-28  Jan Djärv  <jan.h.d@swipnet.se>
3026         * etags.c (readline): sscanf could in principle return 2.
3028 2006-11-28  Francesco Potortì  <pot@gnu.org>
3030         * etags.c (readline): lno is unsigned.
3031         (TeX_commands): Use p++ (rather than *p++) to increment p.
3032         (Lua_functions): Explicitly discard LOOKING_AT's return value.
3034 2006-11-27  Juanma Barranquero  <lekktu@gmail.com>
3036         * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
3037         ($(TRES)): New rule (copied from nt/makefile.w32-in).
3038         ($(BLD)/emacsclientw.exe): Add dependency.
3040 2006-11-27  Eli Zaretskii  <eliz@gnu.org>
3042         * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
3044 2006-11-25  Juanma Barranquero  <lekktu@gmail.com>
3046         * makefile.w32-in (VERSION): New macro.
3047         (ECLIENT_CFLAGS): Add -DVERSION.
3049 2006-11-25  Jason Rumney  <jasonr@gnu.org>
3051         * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
3053 2006-11-24  Michael Mauger  <mmaug@yahoo.com>
3055         * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
3056         file names with forward slashes.
3058 2006-11-23  Juanma Barranquero  <lekktu@gmail.com>
3060         * emacsclient.c (print_help_and_exit): Tweak message contents and
3061         tabs/spaces to improve alignment in message boxes.
3063 2006-11-22  Lennart Borgman  <lennart.borgman.073@student.lu.se>
3065         * emacsclient.c: Include <stdarg.h>.
3066         [WINDOWSNT]: Include <windows.h>.
3067         (w32_check_console_app): New function.
3068         (message): New function.
3069         (decode_options, print_help_and_exit, fail, main)
3070         (initialize_sockets, get_server_config, set_tcp_socket)
3071         (set_local_socket, set_socket): Use message().
3073 2006-11-13  Jason Rumney  <jasonr@gnu.org>
3075         * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
3076         HAVE_INET_SOCKETS.
3078 2006-11-13  Juanma Barranquero  <lekktu@gmail.com>
3080         * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
3081         ($(BLD)/emacsclientw.exe): New target.
3082         (install): Install emacsclientw.exe.
3083         ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
3084         (ECLIENT_CFLAGS): Remove redundant flags.
3086         * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
3088 2006-11-13  Jason Rumney  <jasonr@gnu.org>
3090         * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
3092 2006-11-10  David Reitter  <david.reitter@gmail.com>
3094         * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
3096 2006-11-08  Juanma Barranquero  <lekktu@gmail.com>
3098         * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
3099         FARPROC to avoid a compiler warning.
3101 2006-11-07  Juanma Barranquero  <lekktu@gmail.com>
3103         * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
3104         file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
3106         * emacsclient.c (get_server_config): Extract also the Emacs pid
3107         from the server file.  On Windows, try to force the Emacs frame to
3108         the foreground.
3110 2006-11-06  Juanma Barranquero  <lekktu@gmail.com>
3112         * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
3113         option --socket-name.
3114         (decode_options): Don't get EMACS_SERVER_FILE here, it could override
3115         command line options.
3116         (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
3117         (fail): Don't check for missing arguments, it is now done in set_socket.
3118         (file_name_absolute_p): New function (loosely based on the one in
3119         fileio.c).
3120         (initialize_sockets): Don't check for duplicate loading of Winsock.
3121         (get_server_config): Only try relative paths in the default
3122         directory locations.
3123         (set_tcp_socket): Don't call INITIALIZE().  Warn when connecting to
3124         a remote server.
3125         (set_socket): Call INITIALIZE().  Search explicit command-line
3126         arguments, then environment variable EMACS_SERVER_FILE, then implicit
3127         socket paths, before trying the alternate editor.
3128         (main): Use file_name_absolute_p.
3130 2006-11-04  Eli Zaretskii  <eliz@gnu.org>
3132         * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
3133         file if it doesn't already exist.
3135 2006-11-03  Juanma Barranquero  <lekktu@gmail.com>
3137         * emacsclient.c (initialize_sockets): Don't initialize Winsock
3138         more than once.
3140 2006-11-03  Mark Davies  <mark@mcs.vuw.ac.nz>
3142         * Makefile.in (INSTALL_SCRIPT): New macro.
3143         ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
3145 2006-11-02  Juanma Barranquero  <lekktu@gmail.com>
3147         * grep-changelog: When called with no arguments (not even a
3148         filter), show help instead of blindingly dumping every single
3149         ChangeLog available.  Doc fix.  Update version.
3151 2006-11-02  Tim Van Holder  <tim.vanholder@gmail.com>
3153         * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
3154         [!WINDOWSNT]: Include <netinet/in.h> if available.
3155         [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
3156         (IOCTL, IOCTL_BOOL_ARG): Remove.
3157         (set_tcp_socket): Don't set the socket in blocking mode.
3158         Remove c_arg.
3160 2006-11-01  Juanma Barranquero  <lekktu@gmail.com>
3162         * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
3163         execvp to point to alternate_editor (otherwise .BAT scripts can't run).
3165 2006-10-31  Óscar Fuentes  <ofv@wanadoo.es>  (tiny change)
3167         * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
3168         (close_winsock): Declare as __cdecl.
3170 2006-10-31  Jan Djärv  <jan.h.d@swipnet.se>
3172         * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
3173         (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
3174         to set the socket in non-blocking mode.
3176 2006-10-31  Tim Van Holder  <tim.vanholder@gmail.com>
3178         * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
3179         (INVALID_SOCKET): Define.
3180         (initialize_sockets): Put #endif at the right place.
3181         (set_local_socket): Use progname, not argv[0].
3183 2006-10-31  Juanma Barranquero  <lekktu@gmail.com>
3185         * makefile.w32-in (ALL): Add emacsclient.
3186         (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
3187         (emacsclient, $(BLD)/emacsclient.exe): New targets.
3188         (install): Install emacsclient.
3190         * emacsclient.c: Add support for TCP sockets.
3191         (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
3192         (INITIALIZE): New macros.
3193         (IOCTL_BOOL_ARG): New typedef.
3194         (server_file): New global variable.
3195         (longopts): New option --server-file.
3196         (decode_options): Process new option --server-file and environment
3197         variable EMACS_SERVER_FILE.
3198         (print_help_and_exit): Document new option.
3199         (fail): If no connection available and no alternate editor,
3200         suggest using options to make them explicit.
3201         (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
3202         (send_buffer, sblen): New variables.
3203         (send_to_emacs): New function to buffer output and send it with `send'.
3204         (quote_file_name): Use SEND_STRING.
3205         (close_winsock, initialize_sockets): New functions to load and
3206         unload Winsock.
3207         (get_server_config, set_tcp_socket): New functions to create and
3208         set up TCP sockets.
3209         (set_local_socket): New function to create and set up Unix
3210         socket (code moved from previous implementation).
3211         (set_socket): New function to choose between TCP and Unix sockets.
3212         (main): Use SEND_STRING and SEND_QUOTED.  Most code moved to
3213         set_local_socket.  Use set_socket.  Get answers from server.el with
3214         recv(), not file stream functions.
3216 2006-10-09  Eli Zaretskii  <eliz@gnu.org>
3218         * makefile.w32-in (../src/config.h): Fix error message.
3220 2006-09-30  Eli Zaretskii  <eliz@gnu.org>
3222         * .cvsignore: Add blessmail.
3224 2006-09-15  Jay Belanger  <belanger@truman.edu>
3226         * COPYING: Replace "Library Public License" by "Lesser Public
3227         License" throughout.
3229 2006-08-09  Jan Djärv  <jan.h.d@swipnet.se>
3231         * etags.c (readline): Expect sscanf returns >= 1.
3232         (readline): Change position on %n and \" in sscanf.
3234 2006-08-07  Masatake YAMATO  <jet@gyve.org>
3236         * etags.c (readline): Expect sscanf returns 2, not 1.
3238 2006-08-07  Masatake YAMATO  <jet@gyve.org>
3240         * etags.c (TEX_mode): Check getc returns EOF.
3241         File ended without newline causes infinite loop.
3243 2006-07-30  Adrian Aichner  <adrian@xemacs.org>  (tiny change)
3245         * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
3247 2006-07-30  Francesco Potortì  <pot@gnu.org>
3249         * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
3250         [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
3251         (Objc_suffixes): Suggest using --lang=c for full help.
3252         (C_entries): Initialize savetoken to 0 to shut up the compiler.
3254 2006-07-20  Andreas Schwab  <schwab@suse.de>
3256         * fakemail.c (fatal): Drop second parameter and treat first
3257         parameter as a plain string.  Callers changed.
3259 2006-07-18  Dan Nicolaescu  <dann@ics.uci.edu>
3261         * ebrowse.c (usage, version): Mark as NO_RETURN.
3263         * emacsclient.c (print_help_and_exit): Likewise.
3265 2006-07-10  Francesco Potortì  <pot@gnu.org>
3267         * etags.c (absolute_filename): Free unused space (cosmetic change).
3268         (in_word_set): In C, also tag #undef symbols.
3270 2006-06-09  Eli Zaretskii  <eliz@gnu.org>
3272         * yow.c: Remove file.
3274         * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
3276         * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
3277         yow${EXEEXT}: Remove target.
3279 2006-06-04  Masatake YAMATO  <jet@gyve.org>
3281         * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
3282         doesn't exist, is not seekable, not is failed in ftall.
3284 2006-06-03  Eli Zaretskii  <eliz@gnu.org>
3286         * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
3287         ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
3288         ($(BLD)/test-distrib.exe): New targets.
3289         (sorted-doc, digest-doc, test-distrib): New targets.
3290         (install): Install sorted-doc.exe and digest-doc.exe.
3291         ($(BLD)/sorted-doc.$(O)): Update dependencies.
3293         * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
3294         (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
3295         terminal device.
3297         * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
3298         [WINDOWSNT] <top level>: Don't redeclare malloc.
3299         (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
3300         terminal device.
3301         (main): Initialize bp, to avoid compiler warnings.
3303         * makefile.w32-in: Delete traces of leditcfns.c.
3305         * leditcfns.c: Remove file.
3307 2006-05-23  Francesco Potortì  <pot@gnu.org>
3309         * pop.c (pop_open, socket_connection, KPOP_SERVICE):
3310         Add comments explaining why the "kpop" service is never used.
3312 2006-05-13  Eli Zaretskii  <eliz@gnu.org>
3314         * makefile.w32-in (lisp1): Add fringe.elc.
3316 2006-05-02  Francesco Potortì  <pot@gnu.org>
3318         * etags.c (Perl_functions): Free space allocated for var package.
3319         (Erlang_functions): Possibly free space allocated for var last.
3320         (Prolog_functions): Possibly free space allocated for var last.
3322 2006-04-29  Dan Nicolaescu  <dann@ics.uci.edu>
3324         * sorted-doc.c (main): Initialize docs to NULL.
3326         * yow.c (yow): Free buf.
3328         * etags.c: Delete c-indentation-style local variable.
3330 2006-04-29  Richard Stallman  <rms@gnu.org>
3332         * movemail.c (main): Check for negative value from `read'.
3334         * fakemail.c (read_header): Give fatal error if input has no header.
3336 2006-04-02  Paul Eggert  <eggert@cs.ucla.edu>
3338         * b2m.c (main): Don't include <limits.h>.
3339         (TM_YEAR_BASE): New macro.
3340         (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
3341         that s/ files can override this.  Use the more-conservative range
3342         1000-9999.
3343         (main): Check for asctime returning NULL.
3344         * fakemail.c: Likewise.
3346 2006-03-27  Paul Eggert  <eggert@cs.ucla.edu>
3348         * b2m.c: Include <limits.h>.
3349         (TM_YEAR_IN_ASCTIME_RANGE): New macro.
3350         (main): Check for out-of-range time stamps.
3351         * fakemail.c: Likewise.
3353 2006-03-18  Andre Spiegel  <spiegel@gnu.org>
3355         * vcdiff: Use "echo" as a default for $echo, otherwise we'll
3356         execute $DIFF twice, and once with the wrong options.
3358 2006-02-23  Claudio Fontana  <claudio@gnu.org>
3360         * Makefile.in (install, uninstall): Add DESTDIR variable to
3361         support staged installations.
3363 2005-12-30  Eli Zaretskii  <eliz@gnu.org>
3365         * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
3366         (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
3367         international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
3368         Rearrange the list to be similar to $(shortlisp) in
3369         src/Makefile.in.
3370         (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
3371         emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
3372         jit-lock.elc.  Rearrange the list to be similar to $(shortlisp) in
3373         src/Makefile.in.
3375 2005-12-22  Richard M. Stallman  <rms@gnu.org>
3377         * Makefile.in (update-game-score.o): Delete spurious final `\'.
3379 2005-11-18  Hideki IWAMOTO  <h-iwamoto@kit.hi-ho.ne.jp>  (tiny change)
3381         * etags.c (main): Cxref mode writes to stdout: do not close tagf,
3382         which was never opened.
3384 2005-10-20  Olli Savia  <ops@iki.fi>  (tiny change)
3386         * etags.c: Undef STDIN if defined.  (LynxOS defines it in system
3387         header files.)
3389 2005-09-27  Francesco Potortì  <pot@gnu.org>
3391         * etags.c: Preliminary Forth support.
3392         (prolog_pr): Cast strlen to int before comparison.
3393         (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
3394         the second argument is indeed a literal string.
3395         (main): In append mode, sort the tags file after writing it.
3397 2005-09-27  Emanuele Giaquinta  <emanuele.giaquinta@gmail.com>  (tiny change)
3399         * etags.c (longopts, print_help, main): The -a (--append) option
3400         can be used in ctags also; for one, the Linux make file uses it.
3402 2005-09-20  Chong Yidong  <cyd@stupidchicken.com>
3404         * ebrowse.c (add_sym): Compare namespace names instead of
3405         namespace objects.  This prevents the parser from incorrectly
3406         treating classes whose superclass is in another namespace.
3408 2005-09-15  Richard M. Stallman  <rms@gnu.org>
3410         * Makefile.in (update-game-score.o): New target.
3411         Compile and link this program separately.
3412         (update-game-score${EXEEXT}): Use GETOPTDEPTS.
3414 2005-09-11  Jason Rumney  <jasonr@gnu.org>
3416         * makefile.w32-in (../src/config.h): Don't overwrite.  Print a
3417         message instead.
3418         (../src/paths.h): Remove.
3420 2005-07-27  Juanma Barranquero  <lekktu@gmail.com>
3422         * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
3423         generated.  Ignore also ctags.c and getopt.h.
3425         * makefile.w32-in (clean): Delete getopt.h.
3426         (getopt.h): New rule.
3428 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
3430         Merge gnulib getopt implementation into Emacs.
3432         * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
3433         (GETOPT_H): New macro, from gnulib.
3434         (getopt.h): New rule, from gnulib.
3435         (GETOPTOBJS): Now autoconfigured.
3436         (GETOPTDEPS): getopt.h is now autoconfigured.
3437         (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
3438         (getopt.o): Depend on ${srcdir}/gettext.h.
3439         (movemail.o): Depend on $(GETOPT_H).
3440         * getopt.c, getopt1.c: Sync from gnulib.
3441         * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
3442         * getopt.h: Removed (now is getopt_.h).
3444 2005-07-13  Ken Raeburn  <raeburn@gnu.org>
3446         * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
3447         (sendline): Add the \r\n to the line in a temporary buffer, and write
3448         it all at once.
3450 2005-07-04  Lute Kamstra  <lute@gnu.org>
3452         Update FSF's address in GPL notices.
3454 2005-06-13  Eli Zaretskii  <eliz@gnu.org>
3456         * makefile.w32-in ($(DOC)): Fix last change.
3458 2005-06-12  Eli Zaretskii  <eliz@gnu.org>
3460         * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
3461         temacs.exe, and the preloaded *.elc files.  This avoids
3462         unnecessary dumping and DOC rebuilding.
3464 2005-06-04  Eli Zaretskii  <eliz@gnu.org>
3466         * ntlib.h (fileno): Don't define if already defined.
3468 2005-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
3470         * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
3471         (yow): Use EXIT_FAILURE in case of memory error.
3473 2005-05-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3475         * make-docfile.c (DIRECTORY_SEP): New macro.
3476         (IS_DIRECTORY_SEP): Use it.
3478 2005-03-18  Jan Djärv  <jan.h.d@swipnet.se>
3480         * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
3482 2005-03-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3484         * make-docfile.c: Undo previous change.
3486 2005-02-04  Andreas Schwab  <schwab@suse.de>
3488         * movemail.c (fatal): Accept third parameter and pass down to error.
3489         (pfatal_with_name): Pass error string as format parameter instead of
3490         as part of format string.
3491         (pfatal_and_delete): Likewise.
3492         (main): Adjust call to fatal.
3493         (xmalloc): Likewise.
3495 2005-01-29  Richard M. Stallman  <rms@gnu.org>
3497         * movemail.c (popmail): Don't use Errmsg as format string.
3499 2004-12-26  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3501         * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
3503 2004-12-15  Andreas Schwab  <schwab@suse.de>
3505         * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
3506         preprocessing to compile time constant.
3508 2004-11-17  Kim F. Storm  <storm@cua.dk>
3510         * etags.c: Undo last change.
3512 2004-11-09  Kim F. Storm  <storm@cua.dk>
3514         * make-docfile.c (scan_c_file): Set defvarperbufferflag to
3515         silence compiler.
3517         * hexl.c (main): Init local var c to silence compiler.
3519         * etags.c (main, consider_token, C_entries): Add misc switch
3520         default targets to silence compiler.
3522 2004-11-09  Jan Djärv  <jan.h.d@swipnet.se>
3524         * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
3525         resulting DOC file can be used on Unix/Mac also.
3527 2004-09-13  Francesco Potortì  <pot@gnu.org>
3529         * etags.c (main): When relative file names are given as argument,
3530         make them relative to the current working dir, rather than
3531         relative to the output tags file, if the latter is in /dev.
3533 2004-09-13  Francesco Potortì  <pot@gnu.org>
3535         * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
3536         <stdlib.h> is available.
3537         (enum sym_type): New st_C_attribute value for parsing
3538         gcc's __attribute__.  Deleted st_C_typespec value.
3539         (gperf, in_word_set): Use gperf 3, options changed.  Added the
3540         __attribute__ keyword, removed all the st_C_typespec keywords,
3541         changed attribute for Java to (C_JAVA & !C_PLPL).
3542         (inattribute): New global bool, part of the C state machine.
3543         (cblev): Identifier renamed to bracelev throughout.
3544         (consider_token, C_entries): Numerous changes for making the
3545         parser more robust and adding support for __attribute__.
3547 2004-09-13  David A. Capello  <dacap@users.sourceforge.net>  (tiny change)
3549         * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
3550         Support the Lua scripting language <http://www.lua.org>.
3552 2004-09-08  Francesco Potortì  <pot@gnu.org>
3554         * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
3555         for ease of use.
3557 2004-07-17  Richard M. Stallman  <rms@gnu.org>
3559         * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
3561 2004-06-01  Juanma Barranquero  <lektu@terra.es>
3563         * makefile.w32-in (obj): Add image.c.
3565 2004-05-10  Thien-Thi Nguyen  <ttn@gnu.org>
3567         * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
3569 2004-05-08  Jason Rumney  <jasonr@gnu.org>
3571         * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
3572         command-lines.
3574 2004-05-08  Thien-Thi Nguyen  <ttn@gnu.org>
3576         * cvtmail.c: Throughout, replace 0 destined for `exit' arg
3577         with `EXIT_SUCCESS'.  Likewise, replace 1 with `EXIT_FAILURE'.
3578         (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
3580         * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
3581         * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
3582         * test-distrib.c, update-game-score.c, yow.c: Likewise.
3584 2004-05-08  Thien-Thi Nguyen  <ttn@gnu.org>
3586         * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
3588 2004-05-07  Thien-Thi Nguyen  <ttn@gnu.org>
3590         * b2m.c (GOOD, BAD): Delete macros.  Throughout,
3591         replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
3592         (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
3594         * etags.c: Likewise.
3596 2004-05-03  Jason Rumney  <jasonr@gnu.org>
3598         * makefile.nt: Remove.
3600 2004-04-26  Eli Zaretskii  <eliz@gnu.org>
3602         * make-docfile.c (IS_DIRECTORY_SEP): New macro.
3603         (put_filename): Remove unused variable len.  Use IS_DIRECTORY_SEP
3604         instead of a literal '/'.
3606 2004-04-23  Juanma Barranquero  <lektu@terra.es>
3608         * makefile.w32-in: Add "-*- makefile -*-" mode tag.
3610 2004-04-17  Paul Eggert  <eggert@gnu.org>
3612         * rcs2log (Help): Clarify wording of the usage message.
3613         Reported by Alan Mackenzie in
3614         <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
3616 2004-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3618         * make-docfile.c (xmalloc): Fix return type.
3619         (put_filename): New fun.
3620         (scan_file): Use it.
3622 2004-03-09  Juanma Barranquero  <lektu@terra.es>
3624         * grep-changelog: Changes to support ChangeLog.10+.
3625         (main): Tidy up usage string.  Fix "Use of uninitialized value"
3626         warning.  Set version to 0.2.  Parse the directory listing to get
3627         any ChangeLog.n file, not just 1..9.
3628         (header_match_p, entry_match_p, print_log, parse_changelog):
3629         Remove Perl prototypes (their purpose is to help the parser, which
3630         isn't needed here, not declare arguments).
3631         (parse_changelog): Make --reverse faster on big batches by not
3632         modifying the entries list.
3634 2004-03-01  Juanma Barranquero  <lektu@terra.es>
3636         * makefile.w32-in (obj): Add fringe.c.
3638 2004-02-14  Paul Eggert  <eggert@twinsun.com>
3640         * rcs2log: Work correctly if CVSROOT specifies :fork: or
3641         :local: methods, or omits the colon between the hostname
3642         and the path.  Allow :/ in repository path, since CVS does.
3643         Fix typo: "pository" should be set from $CVSROOT, not $repository.
3644         This fixes a bug reported by Wolfgang Scherer in
3645         <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
3646         along with some related bugs I discovered by inspecting how
3647         CVS itself parses $CVSROOT.
3649 2004-02-04  Jérôme Marant  <jmarant@nerim.net>  (tiny change)
3651         * emacsclient.c (decode_options): Fix handling of alternate editor.
3653 2004-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3655         * emacsclient.c (main): Don't use the hostname in the socket name.
3656         Look for relative socket names in the /tmp dir rather than in cwd.
3658 2004-01-24  Richard M. Stallman  <rms@gnu.org>
3660         * emacsclient.c (main): Restore errno from saved_errno,
3661         so the error message comes from socket_status.
3663 2004-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3665         * emacsclient.c (main): Stop if socket name too long.
3666         Only try su-fallback if the socket name was not explicit.
3667         Check socket name length in su-fallback case as well.
3669 2004-01-08  Andreas Schwab  <schwab@suse.de>
3671         * emacsclient.c (main): Save errno from socket_status.
3673 2004-01-04  Andreas Schwab  <schwab@suse.de>
3675         * emacsclient.c (main): Fix socket name when using another user.
3677 2003-12-27  Paul Eggert  <eggert@twinsun.com>
3679         * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
3680         a tag, and if the user has not specified an rlog option.
3681         Adapted from a suggestion by Martin Stjernholm in
3682         <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
3683         (Copyright): Update to 2003.
3685 2003-12-24  Thien-Thi Nguyen  <ttn@gnu.org>
3687         * make-docfile.c (main): For return code, no longer special-case VMS.
3688         Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
3690 2003-09-28  Andreas Büsching  <crunchy@tzi.de>  (tiny change)
3692         * emacsclient.c (quote_file_name): Print the result instead of
3693         returning it.  Fix the return type accordingly.
3694         (main): With --eval, if no file name, read from stdin.
3695         Quote file names.
3697 2003-09-10  Richard M. Stallman  <rms@gnu.org>
3699         * emacsclient.c (main): Use socket_name.
3701 2003-09-10  Andreas Büsching  <crunchy@tzi.de>  (tiny change)
3703         * emacsclient.c (socket_name): New variable.
3704         (longopts, decode_options, print_help_and_exit):
3705         Handle --socket-name argument.
3707 2003-08-25  Takaaki Ota  <Takaaki.Ota@am.sony.com>  (tiny change)
3709         * etags.c (consider_token): Check C++ `operator' only when the
3710         token len is long enough.
3712 2003-08-20  Dave Love  <fx@gnu.org>
3714         * Makefile.in: Remove obsolete references to alloca.
3716 2003-07-29  Ken Brush  <ken@wirex.com>
3718         * emacsclient.c (main)
3719         * etags.c (suggest_asking_for_help)
3720         * movemail.c (main): Fix having macros in a printf statement.
3722 2003-05-31  Juanma Barranquero  <lektu@terra.es>
3724         * makefile.w32-in (lisp): Fix references to byte-run.el,
3725         float-sup.el and map-ynp.el, which are now in emacs-lisp.
3727 2003-05-22  Dave Love  <fx@gnu.org>
3729         * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
3730         (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
3732 2003-05-20  Dave Love  <fx@gnu.org>
3734         * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
3736         * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
3738 2003-04-27  Oliver Scholz  <alkibiades@gmx.de>
3740         * update-game-score.c (read_scores): Fix corruption of scores on read.
3742 2003-04-12  Stefan Monnier  <monnier@cs.yale.edu>
3744         * emacsclient.c (main): Use new safe location for socket.
3746 2003-03-12  Tom Tromey  <tromey@redhat.com>
3748         * emacsclient.c (print_help_and_exit): Print to stdout.
3749         Exit successfully.  Added some blank lines for readability.
3750         (decode_options): Don't call print_help_and_exit in default case.
3751         Print version information to stdout.
3752         (main): Don't call print_help_and_exit.
3754 2003-02-15  Richard M. Stallman  <rms@gnu.org>
3756         * cvtmail.c: Cast result of malloc and realloc.
3757         Don't include stdlib.h, because config.h does.
3758         (malloc, realloc): Declarations deleted.
3760         * yow.c (yow): Cast result of malloc and realloc.
3761         (malloc, realloc): Declarations deleted.
3763 2003-02-11  Juanma Barranquero  <lektu@terra.es>
3765         * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
3767 2003-02-08  Andreas Schwab  <schwab@suse.de>
3769         * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
3770         instead of the substitution.
3772 2003-02-04  Richard M. Stallman  <rms@gnu.org>
3774         * update-game-score.c (push_score, read_scores): Cast values
3775         of malloc and realloc.
3776         (main, lock_file): Avoid assignment inside if.
3778 2003-01-31  Joe Buehler  <jhpb@draco.hekimian.com>
3780         * Makefile.in: Use @EXEEXT@ for Cygwin.
3782 2003-01-21  Dave Love  <fx@gnu.org>
3784         * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
3785         column-0 `('.
3787         * yow.c: Don't include string.h.
3789 2003-01-20  Richard M. Stallman  <rms@gnu.org>
3791         * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
3792         New targets.
3794 2003-01-06  Kim F. Storm  <storm@cua.dk>
3796         * pop.c (__P): Rename from _P to avoid problems on Cygwin.
3797         All uses changed.
3799 2002-12-18  Andrew Innes  <andrewi@gnu.org>
3801         * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
3802         because GNU make doesn't append when using >> redirection.
3804 2002-12-12  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
3806         * b2m.pl: Make sure every message ends with a blank line, because
3807         some mbox parsers require a blank line before "From " lines.
3809 2002-12-08  Richard M. Stallman  <rms@gnu.org>
3811         * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
3812         (_): Test only HAVE_LIBINTL_H to decide what to do.
3814 2002-12-05  Richard M. Stallman  <rms@gnu.org>
3816         * getopt.c: Comment out include of libintl.h or gettext.h.
3818 2002-12-04  Richard M. Stallman  <rms@gnu.org>
3820         * Update getopt from gnulib version; changes described below.
3822         * getopt1.c: Conditionally find getopt.h.
3823         [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
3825         * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
3826         (libintl.h): Include this if _LIBC.  Otherwise include gettext.h.
3827         (wchar.h): Include, maybe.
3828         (attribute_hidden): Define if not defined.
3829         (__getopt_initialized): Use attribute_hidden.
3830         (__libc_argc, __libc_argv): Rename from original_argc, etc.
3831         (__getopt_nonoption_flags, nonoption_flags_max_len)
3832         (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
3833         (SWAP_FLAGS): New definitions.
3834         (exchange): Test USE_NONOPTION_FLAGS.
3835         (_getopt_initialize): Test USE_NONOPTION_FLAGS.
3836         (_getopt_internal): Error if argc < 1.  New local var print_errors.
3837         Improve test for ambiguous long option.
3838         Add LIBIO support for error message output.
3839         (NONOPTION_P): Test USE_NONOPTION_FLAGS.
3841         * getopt.h: Maybe include ctype.h.
3842         Treat __cplusplus like __STDC__.
3843         (decls): Use __ in arg names.
3845 2002-12-02  Stephen Eglen  <stephen@gnu.org>
3847         * emacsclient.c (main): Tell user how to start server within Emacs
3848         if socket could not be found.
3850 2002-12-02  Richard M. Stallman  <rms@gnu.org>
3852         * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
3854 2002-11-19  Ben Key  <bkey1@tampabay.rr.com>
3856         * makefile.w32-in: Fixed a bug that caused the documentation for
3857         the built in function play-sound-internal not to be included in
3858         /etc/DOC.
3860 2002-11-18  Dave Love  <fx@gnu.org>
3862         * update-game-score.c: Include unistd.h, string.h, stdlib.h,
3863         fcntl.h, stdarg.h conditionally.
3864         (_GNU_SOURCE, __attribute__): Don't define.
3865         (optarg, optind, opterr): Declare.
3866         (lose, lose_syserr): Use NO_RETURN.
3867         (get_user_id): Use P_.
3869 2002-11-17  Richard M. Stallman  <rms@gnu.org>
3871         * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
3873 2002-11-14  Dave Love  <fx@gnu.org>
3875         * movemail.c (pop_retr): Declare comment.
3877         * make-docfile.c (read_c_string_or_comment): Declare msgno.
3879         * Makefile.in (YACC): Delete.
3881 2002-10-19  Andreas Schwab  <schwab@suse.de>
3883         * Makefile.in (${archlibdir}): Always create $(gamedir).
3884         (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
3886 2002-10-04  Juanma Barranquero  <lektu@terra.es>
3888         * makefile.w32-in (lisp): Load devanagari.el, not .elc.
3890 2002-09-30  Markus Rost  <rost@math.ohio-state.edu>
3892         * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
3893         completely.
3895 2002-09-27  Stefan Monnier  <monnier@cs.yale.edu>
3897         * emacsclient.c: Remove SYSV support.
3898         (eval, display): New vars.
3899         (longopts): Add --eval and --display.
3900         (decode_options): Add -e and -d processing.
3901         (print_help_and_exit): Update the usage string.
3902         (main): Add support for --eval and --display.
3903         (main): Always use /tmp and non-qualified hostname.
3905 2002-09-25  Stefan Monnier  <monnier@cs.yale.edu>
3907         * emacsserver.c: Remove.
3909 2002-09-17  Stefan Monnier  <monnier@cs.yale.edu>
3911         * emacsclient.c (quote_file_name): Quote \n.
3912         (main): Print a final \n when needed.
3914 2002-09-03  Francesco Potortì  <pot@gnu.org>
3916         * etags.c (regex_tag_multiline, readline): Never pass pfnote a
3917         string that cannot be freed.
3919 2002-08-30  Francesco Potortì  <pot@gnu.org>
3921         * etags.c (consider_token, C_entries): Switch to C++ parsing when
3922         auto-detection is enabled and the `::' qualifier is met.
3923         (consider_token, C_entries): Several bugs corrected that tagged
3924         some declarations even though --declarations was not used.
3925         (plainc): New macro.
3926         (C_entries): Use it.
3927         (C_entries): Several cosmetic changes.
3928         (C_entries): Invalidate the token is some cases.
3930 2002-08-29  Francesco Potortì  <pot@gnu.org>
3932         * etags.c (C_entries): Correct a problem with const C++ funcs.
3933         (ignoreindent): Rename from noindentypedefs.
3934         (cjava, cplpl): They are now macros instead of local vars.
3936 2002-08-28  Francesco Potortì  <pot@gnu.org>
3938         * etags.c (HTML_labels): Tag ID= also.
3940 2002-08-27  Francesco Potortì  <pot@gnu.org>
3942         * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
3944         * etags.c (HTML_labels): New language HTML.
3945         (etags_strcasecmp): Like BSD's, for compatibility.
3946         (strcaseeq): Make it into a macro.
3948         * etags.c (make_tag): Never generate null length tag names.
3949         (linebuffer_init): Rename from initbuffer.  All callers changed.
3950         (pattern): Structure renamed to `regexp', member regex renamed to
3951         pattern.
3952         (node_st): Member pat renamed to regex.
3953         (pattern); New member force_explicit_name, for future use.
3954         Now always set to true, cannot be reset.
3955         (add_regex, regex_tag_multiline, readline): Use it.
3956         (main): Free some global structures.
3957         (fdesc): New member `written'.
3958         (readline, process_file): Initialize it.
3959         (put_entries): Set it.
3960         (main): Use it to create entries for files without tags.
3961         (total_size_of_entries): Do not count invalid tags.
3963 2002-08-19  Stefan Monnier  <monnier@cs.yale.edu>
3965         * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
3966         for the function name in the usage info.
3968 2002-07-31  Colin Walters  <walters@gnu.org>
3970         * update-game-score.c (P_): New macro.  Use it for all prototypes.
3971         (lose): Don't use varargs.
3972         (lose_syserr): New function.
3974         * update-game-score.c: Change all functions to K&R style.
3976 2002-07-30  Andreas Schwab  <schwab@suse.de>
3978         * Makefile.in (localstatedir): New variable.
3980 2002-07-29  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
3982         * b2m.pl: Fix regexp for finding return address fields.
3984 2002-07-15  Stefan Monnier  <monnier@cs.yale.edu>
3986         * make-docfile.c (scan_c_file): Warn about missing `usage' info.
3988 2002-07-05  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
3990         * b2m.pl: Obey the rmail file and use the unpruned header properly.
3992 2002-06-26  Pavel Janík  <Pavel@Janik.cz>
3994         * b2m.pl: New file.
3996 2002-06-21  Francesco Potortì  <pot@gnu.org>
3998         * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
3999         (Python_functions, PHP_functions, PHP_functions, PHP_functions)
4000         (PHP_functions, PHP_functions, Cobol_paragraphs)
4001         (Makefile_targets, Postscript_functions, Texinfo_nodes)
4002         (prolog_pr, erlang_func, erlang_attribute)
4003         (Perl_functions, Perl_functions, Pascal_functions)
4004         (TeX_commands, get_tag): Use make_tag instead of pfnote.
4005         (get_tag): Prototype changed, all callers changed.
4007 2002-06-20  Francesco Potortì  <pot@gnu.org>
4009         * etags.c: Implement implicit tag names, that is, unnamed tags
4010         whose name is automatically deduced by etags.el.  The advantage is
4011         that there is no explicit tag name in most tags, so the size of
4012         the tags file is reduced, yet find-tag is able to do a match as
4013         accurate as with named tags.  See the comment in make_tag for details.
4014         (make_tag): New function (was the disabled function new_pfnote).
4015         (make_C_tag): Use it.
4017 2002-06-19  Francesco Potortì  <pot@gnu.org>
4019         * etags.c (add_regex): Invalid regexp modifiers are ignored.
4020         (Makefile_targets): Tag variables unless --no-globals.
4021         (LOOP_ON_INPUT_LINES): Serious bug corrected.
4023 2002-06-13  Francesco Potortì  <pot@gnu.org>
4025         * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
4026         (invalidate_nodes): Bug corrected.
4027         (print_help): Better help for regexps.
4029 2002-06-13  Juanma Barranquero  <lektu@terra.es>
4031         * makefile.w32-in (lisp): Add international/ucs-tables.elc and
4032         font-core.elc.
4034 2002-06-12  Francesco Potortì  <pot@gnu.org>
4036         * etags.c: New multi-line regexp and new regexp syntax.
4037         (arg_type): at_icregexp label removed (obsolete).
4038         (pattern): New member multi_line for multi-line regexps.
4039         (filebuf): A global buffer containing the whole file as a string
4040         for multi-line regexp matching.
4041         (need_filebuf): Global flag raised if multi-line regexps used.
4042         (print_help): Document new regexp modifiers, remove references to
4043         obsolete option --ignore-case-regexp.
4044         (main): Do not set regexp syntax and translation table here.
4045         (main): Treat -c option as a backward compatibility hack.
4046         (main, find_entries): Init and free filebuf.
4047         (find_entries): Call regex_tag_multiline after the regular parser.
4048         (scan_separators): Check for unterminated regexp and return NULL.
4049         (analyse_regex, add_regex): Remove the ignore_case argument, which
4050         is now a modifier to the regexp.  All callers changed.
4051         (add_regex): Manage the regexp modifiers.
4052         (regex_tag_multiline): New function.  Reads from filebuf.
4053         (readline_internal): If necessary, copy the whole file into filebuf.
4054         (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
4056 2002-06-11  Francesco Potortì  <pot@gnu.org>
4058         * etags.c (add_regex): Better check for null regexps.
4059         (readline): Check for regex matching null string.
4060         (find_entries): Reorganization.
4062 2002-06-07  Francesco Potortì  <pot@gnu.org>
4064         * etags.c (scan_separators): Support all character escape
4065         sequences supported by Gcc.
4066         (find_entries): Rewind unconditionally.
4067         (find_entries): Do not call language functions directly, now calls
4068         itself.
4069         (find_entries): Do general initializations here.
4070         (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
4071         (Ada_getit, Pascal_functions, Pascal_functions)
4072         (prolog_skip_comment): Do not do them here.
4073         (readline_internal): Increment lineno here.
4074         (readline): Conditionally undo readline_internal increment.
4075         (readline): Do not return a value.
4077 2002-06-06  Francesco Potortì  <pot@gnu.org>
4079         * etags.c: New option --parse-stdin=FILE.
4080         (enum arg_type): New label at_stdin.
4081         (STDIN): New constant.
4082         (parsing_stdin): New flag.
4083         (longopts): New option --parse-stdin=NAME.
4084         (print_help): Document it.
4085         (main): Handle it.
4086         (process_file): Split into process_file and process_file_name.
4087         (process_file_name): New function.
4089         * etags.c: Improvements and bug squashing in TeX handling.
4090         (TeX_commands): Skip comments.
4091         (TEX_defenv): Now contains more constructs.
4092         (TEX_cmt): Make it a static char and move it before TeX_commands.
4093         (TeX_commands): Shorten the tag to the brace after the name.
4094         (TeX_commands): Names now include the initial backslash.
4095         (TeX_commands): Names do not include numeric args #n.
4096         (TeX_commands): Correct line char number in tags.
4097         (TEX_tabent, TEX_token): Delete.
4098         (TeX_commands, TEX_decode_env): Streamlined.
4100 2002-06-05  Francesco Potortì  <pot@gnu.org>
4102         * etags.c (main): Avoid a buffer overrun with sprintf.
4104 2002-05-30  Richard M. Stallman  <rms@gnu.org>
4106         * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
4107         (LIBS_MOVE): Rename from MOVE_LIBS.
4109 2002-05-26  Paul Eggert  <eggert@twinsun.com>
4111         Reinstate the following change from 2002-03-22, which was
4112         inadvertently lost on 2002-04-13.
4114         * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
4115         `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
4116         the latter usage.
4118 2002-05-17  Eli Zaretskii  <eliz@is.elta.co.il>
4120         * pop.c (socket_connection): Move the code to resolve the POP
4121         host right before trying to connect with it.
4123 2002-05-05  Eli Zaretskii  <eliz@is.elta.co.il>
4125         * tcp.c: Delete file since the TCP emulation is no longer in use on any
4126         platform.
4128 2002-04-28  Colin Walters  <walters@verbum.org>
4130         * Makefile.in (${archlibdir}): Don't conditionalize on
4131         HAVE_SHARED_GAME_DIR.  Instead, test at installation time whether
4132         or not we have access to the specified game user.
4134         * update-game-score.c (SCORE_FILE_PREFIX): Delete.
4135         (main): New argument -d, for specifying directory.
4136         (usage): Document.
4137         (get_user_id): Compute.
4138         (get_home_dir): Delete.
4139         (get_prefix): New function, taken from main.
4140         (main): Check whether or not we are running setuid.  Move prefix
4141         computation to get_prefix.  Don't call getpwent; we don't need to
4142         any more.  Instead, move it to get_user_id().
4144 2002-04-24  Pavel Janík  <Pavel@Janik.cz>
4146         * ebrowse.c (skip_initializer): Return void.
4148 2002-04-23  Colin Walters  <walters@verbum.org>
4150         * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
4151         space.
4153 2002-04-22  Francesco Potortì  <pot@gnu.org>
4155         * etags.c (last_node): Make it a global variable.
4156         (process_file): Print the tags from the nodes as soon as
4157         possible, and delete the nodes.  This brings down the memory
4158         occupancy as etags to almost the same level as when the #line
4159         directives were not parsed.
4160         (free_fdesc): New function.
4161         (find_entries): Use it.
4162         (invalidate_nodes): In etags mode, do not just mark the nodes as
4163         invalid, do delete them.
4165 2002-04-21  Gerd Moellmann  <gerd@gnu.org>
4167         * ebrowse.c (add_declarator): Test *CLS instead of CLS.
4169 2002-04-16  Eli Zaretskii  <eliz@is.elta.co.il>
4171         * update-game-score.c: Move config.h before the other headers, to
4172         avoid compiler warnings.
4174 2002-04-16  Francesco Potortì  <pot@gnu.org>
4176         * etags.c (find_entries): Bug fix in list management.
4178 2002-04-15  Francesco Potortì  <pot@gnu.org>
4180         * etags.c (get_language_from_filename): Add one argument.
4181         (strcaseeq): New function.
4182         (get_language_from_filename): Use it to do a case insensitive
4183         comparison if called with appropriate args.
4184         (find_entries): Try with case insensitive match.
4185         (process_file): Bug fixed.
4187 2002-04-13  Francesco Potortì  <pot@gnu.org>
4189         * etags.c (find_entries): Delete tags previously obtained from
4190         file xxx.c's #line directives when parsing file xxx.y.  This is
4191         generally done for automatically generated files containing
4192         #line directives.  This handles the case when xxx.y is tagged
4193         before xxx.c, and the entries of xxx.c pointing to xxx.y should
4194         be discarded.
4195         (language): Add the metasource member.  Initializers changed.
4196         (invalidate_nodes): New function.
4197         (readline): Discard lines after having found a #line
4198         directive pointing to an already tagged file.  This handles the
4199         case when xxx.y is tagged before xxx.c, and the entries of
4200         xxx.c pointing to xxx.y should be discarded.
4201         (fdesc): New structure for keeping track of input files.
4202         (fdesc): Remove `file' member (a string) and use instead a pointer
4203         to a file description structure.
4204         (curfile, curfiledir, curtagfname, curlang, nocharno)
4205         (forced_lang): Global variables removed in favor of fdhead and
4206         curfdp, pointers to file description structures.
4207         (longopts, main, print_help): Use the CTAGS conditional to include
4208         or exclude options that work on etags or ctags only.
4209         (process_file, find_entries, pfnote, add_node, put_entries)
4210         (readline): Use fdhead and curfdp.
4211         (process_file, find_entries): Do not take an arg string, all
4212         callers changed.
4214         * etags.c (longopts, print_help, main): Test CTAGS to disallow
4215         options that are not right for either etags or ctags.
4217         * etags.c (number_len, total_size_of_entries): Define them also
4218         in CTAGS mode, because gcc does not compile all refs away.
4220 2002-04-14  Colin Walters  <walters@debian.org>
4222         * update-game-score.c (lock_file): If the lock file is older than
4223         an hour, delete it.  Reset attempts to zero if we have to break
4224         the lock.
4226 2002-04-14  Andreas Schwab  <schwab@suse.de>
4228         * update-game-score.c (read_score): Fix type of second parameter
4229         of getdelim to be of type size_t instead of int.  Use 0 instead of
4230         ESUCCES.
4232 2002-04-10  Colin Walters  <walters@verbum.org>
4234         * update-game-score.c (toplevel): Include stdarg.h.
4235         (MAX_DATA_LEN, MAX_SCORES): New.
4236         (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
4237         default to ~/.emacs.d/games.
4238         (get_user_id): Don't zero uid in the case where we can't get the
4239         username.
4240         (lose): New function.
4241         (main): Actually use `max', and default it to MAX_SCORES.
4242         Correctly handle new default for SCORE_FILE_PREFIX.  Use `lose'
4243         function.
4244         (read_score): Handle the case of reading unamelen characters, then
4245         finishing.  Use mktemp if mkstemp isn't available.
4246         (lock_file, unlock_file): Delete unused versions.
4247         (lock_file): Always sleep, even if we unlinked the lock file.
4249         * Makefile.in (gamedir, gameuser): New variables.
4250         (toplevel, UTILITIES): Add update-game-score.
4251         (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
4253 2002-04-07  Colin Walters  <walters@verbum.org>
4255         * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
4256         (get_user_id): Take struct passwd as an argument.
4257         (get_home_dir): New function.
4258         (main): Read in user information here.  Discover home directory if
4259         necessary.
4260         (read_score): Trim newline only in `getline' case.
4262 2002-04-05  Colin Walters  <walters@debian.org>
4264         * update-game-score.c (toplevel): Include pwd.h.
4265         (struct score_entry): Add username field.
4266         (push_score): Use it.
4267         (get_user_id): New function.
4268         (main): Don't malloc excessively.
4269         (main): Use username field.
4270         (read_score): Read it.
4271         (push_score): Handle it.
4272         (write_scores): Write it.
4273         (read_score): Handle arbitrary length data.
4275 2002-03-30  Eli Zaretskii  <eliz@is.elta.co.il>
4277         * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
4279 2002-03-29  Gerd Moellmann  <gerd@gnu.org>
4281         * ebrowse.c (add_declarator, skip_initializer): New functions.
4282         (declaration): Use them.
4284 2002-03-28  Jason Rumney  <jasonr@gnu.org>
4286         * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
4288 2002-03-27  Colin Walters  <walters@debian.org>
4290         * update-game-score.c: New file.
4292 2002-03-22  Paul Eggert  <eggert@twinsun.com>
4294         * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
4295         `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
4296         the latter usage.
4298 2002-03-12  Francesco Potortì  <pot@gnu.org>
4300         * etags.c (Python_functions): Skip spaces at beginning of lines.
4301         (Python_functions, PHP_functions): Name tags, for ctags' sake.
4302         (TeX_commands): Name tags.  Correction of old disabled code.
4304         * etags.c (curfiledir, curtagfname): New global variables.
4305         (process_file): Initialize them.
4306         (readline): Canonicalize the name found in #line directive.
4308 2002-03-06  Jason Rumney  <jasonr@gnu.org>
4310         * etags.c (put_entries): Use #if !CTAGS, to fix link error on
4311         compilers that don't optimize out dead code.
4313 2002-03-05  Francesco Potortì  <pot@gnu.org>
4315         * etags.c: Honor #line directives.
4316         (no_line_directive): New global var; set it for old behavior.
4317         (main): Remove some #ifdef in the getopt switch.
4318         (add_node, put_entries): Code added to merge different chunks of
4319         nodes referring to the same file.  Currently the tags are just
4320         appended, without any check for duplicates.
4321         (Perl_functions): Do not special case ctags.
4322         (readline): Identify #line directives and do the right thing.
4323         (nocharno, invalidcharno): New global vars.
4324         (process_file): Reset nocharno.
4325         (readline): Set nocharno.
4326         (pfnote): Read nocharno and maybe put invalidcharno in node.
4327         (total_size_of_entries, put_entries): Use invalidcharno.
4329         * etags.c: Keep the whole tag table in memory, even in etags mode.
4330         (main): Call put_entries here even in CTAGS mode.
4331         (main, process_file): Check the return values of fclose and pclose.
4332         (process_file): Do not call put_entries after parsing each file.
4333         (process_file): Canonicalize file names even for ctags.
4334         (process_file): Set curfile here...
4335         (find_entries): ... not here any more.
4336         (add_node): In etags mode, build a linked list of entries (on
4337         right pointer) for each file, and link the first entry of each
4338         file on left nodes.
4339         (put_entries): Print here the name of the file.
4340         (put_entries): Print the entries starting from the first file.
4341         (number_len, total_size_of_entries): Define these only in etags
4342         mode, make the second work only on the right nodes.
4344         * etags.c: Make all global variables static.
4346 2002-02-25  Juanma Barranquero  <lektu@terra.es>
4348         * makefile.w32-in (lisp): Add missing backslash.
4350 2002-02-24  Jason Rumney  <jasonr@gnu.org>
4352         * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
4353         using .elc files.
4354         (lisp): Sync with list in src/Makefile.in.
4355         (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
4357 2002-02-10  Paul Eggert  <eggert@twinsun.com>
4359         * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
4360         disallows the old syntax.
4362 2002-02-03  Paul Eggert  <eggert@twinsun.com>
4364         * rcs2log (Copyright): Update to 2002.
4365         (AWK, TMPDIR): Work around portability problem in broken shells that
4366         don't understand `: ${VAR=val}'.
4367         (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
4368         Prefer the new -k option to the traditional +M -N option.
4370 2002-01-01  Pavel Janík  <Pavel@Janik.cz>
4372         * b2m.c (main): Parenthesize assignment when used as truth value
4373         to prevent gcc warnings.
4375         * fakemail.c: Include <config.h>.
4377 2001-12-29  Pavel Janík  <Pavel@Janik.cz>
4379         * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
4380         * yow.c: Include <config.h>.
4382 2001-12-21  Francesco Potortì  <pot@gnu.org>
4384         * etags.c (Perl_functions): Tag packages and use them in sub tags.
4385         (get_tag): Return a pointer to the tag that is found.
4387         * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
4388         (F_takeprec): Rename from takeprec.  All callers changed.
4389         (F_getit): Rename from getit.  All callers changed.
4390         (nocase_tail): Rename from tail.  All callers changed.
4391         (Ada_getit): Rename from adagetit.  All callers changed.
4392         (L_getit): Simplify by using get_tag.
4393         (Perl_functions, Postscript_functions, erlang_attribute): Use the
4394         modified LOOKING_AT.
4395         (notinname): Remove '[' and added ')' to the recognized chars.
4396         (LOOKING_AT, get_tag, PHP_functions): Use notinname.
4397         (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
4398         Clarified, using strneq or notinname.
4399         (L_isdef, L_isquote): Remove.
4400         (Lisp_functions, L_getit): Clarified.
4402         * etags.c (P_): Rename to __P for consistency with config.h.
4403         [HAVE_CONFIG_H]: Let config.h deal with __P.
4404         [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
4405         [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
4406         gperf code needs it.
4407         [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
4408         [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
4409         (xmalloc, xrealloc): Use PTR instead of long *.
4410         (bool): Make it a define, not a typedef, for C++ compilers.
4411         (pattern): Members renamed to avoid name clash in some C++ compilers.
4412         (get_language_from_langname): Use const argument.
4414 2001-12-22  Pavel Janík  <Pavel@Janik.cz>
4416         * makefile.nt, makefile.w32-in: Remove mocklisp files.
4418 2001-12-19  Pavel Janík  <Pavel@Janik.cz>
4420         * emacsserver.c: Conditionally include config.h.
4422         * fakemail.c: Likewise.
4424         * emacsclient.c: Include "config.h", not <../src/config.h>.
4425         (main): Parenthesize assignment when used as truth value to
4426         prevent gcc warnings.
4428         * ebrowse.c: Include stdlib.h and string.h conditionally.
4430 2001-12-18  Eli Zaretskii  <eliz@is.elta.co.il>
4432         * yow.c (main): Use time_t, not long, to avoid a compiler warning.
4434 2001-12-18  Pavel Janík  <Pavel@Janik.cz>
4436         * test-distrib.c: Fix previous change.
4438 2001-12-18  Dave Love  <fx@gnu.org>
4440         * test-distrib.c: Conditionally include fcntl.h.
4442         * fakemail.c: Include "config.h", not <../src/config.h>.
4443         (_XOPEN_SOURCE): Define as 500.
4445         * emacsserver.c: Include "config.h", not <../src/config.h>.
4447         * cvtmail.c: Include config.h, stdlib.h.
4448         (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
4450         * yow.c: Conditionally include various headers.  Use "epaths.h",
4451         not <../src/epaths.h>.
4452         (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
4454 2001-12-12  Francesco Potortì  <pot@gnu.org>
4456         * etags.c (PHP_functions): New function for parsing PHP.
4457         (LOOKING_AT): New macro.
4458         (Perl_functions, Python_functions, PHP_functions)
4459         (Scheme_functions, Texinfo_nodes): Use it.
4460         (Perl_functions): Use strneq.
4461         (prolog_pred): Rename to prolog_pr.
4462         (prolog_pr): Recognize Prolog rules in addition to predicates.
4463         [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
4464         unmodified compile, as Cygwin's regex.h is incompatible with us.
4465         [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
4467 2001-12-11  Richard M. Stallman  <rms@gnu.org>
4469         * Makefile.in (clean): Don't delete ../etc/DOC*.
4471 2001-12-11  Pavel Janík  <Pavel@Janik.cz>
4473         * COPYING: Moved back.
4475 2001-11-30  Andrew Innes  <andrewi@gnu.org>
4477         * makefile.w32-in (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT)
4478         (WINNT_SUPPORT, lisp): Reference .el files instead of .elc files,
4479         to simplify bootstrapping.
4480         ($(DOC)): Change dependency to just `make-docfile'.
4482 2001-11-29  Pavel Janík  <Pavel@Janik.cz>
4484         * COPYING: Removed.
4486 2001-11-28  Paul Eggert  <eggert@twinsun.com>
4488         * rcs2log (Copyright): Add '(C)' as per coding guidelines.
4490         The following changes are derived from suggestions by Bob Chapman
4491         <rechapman@compuserve.com>.
4493         * rcs2log (printlogline): Also allow tab and newline to separate
4494         '(function):' from the rest of a comment.
4495         (reformat the sorted log entries): Require date and author to
4496         match the clumpname.
4498 2001-11-16  Gerd Moellmann  <gerd@gnu.org>
4500         * ebrowse.c (matching_regexp): Escape '\\'.
4502 2001-11-15  Pavel Janík  <Pavel@Janik.cz>
4504         * Makefile.in: Add support for --program-prefix, --program-suffix
4505         and --program-transform-name options.
4507 2001-11-03  Richard M. Stallman  <rms@gnu.org>
4509         * cvtmail.c (xrealloc): Always pass two args to `fatal'.
4511         * movemail.c (popmail): Always pass two args to `error'.
4513 2001-10-24  Ken Raeburn  <raeburn@gnu.org>
4515         * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
4516         -lhesiod and maybe -lresolv.
4517         (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
4518         support if it's available.
4520 2001-10-21  Miles Bader  <miles@gnu.org>
4522         * make-docfile.c (struct rcsoc_state): New type.
4523         (read_c_string_or_comment): Add SAW_USAGE
4524         parameter, and implement scanning for a `usage:' keyword.
4525         Use a variable of type `rcsoc_state' to hold most of our state.
4526         (put_char): Add STATE parameter, and remove all other parameters
4527         except CH.  Use STATE to get access to all needed state.
4528         (scan_keyword_or_put_char): New function.
4529         (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
4530         Don't output a usage-string if there was one in the doc-string.
4532 2001-10-20  Gerd Moellmann  <gerd@gnu.org>
4534         * (Version 21.1 released.)
4536 2001-10-19  Pavel Janík  <Pavel@Janik.cz>
4538         * b2m.c: Properly spell the name of Emacs.
4540 2001-10-17  Miles Bader  <miles@gnu.org>
4542         * make-docfile.c (put_char): New function.
4543         (read_c_string_or_comment): Strip trailing spaces and newlines.
4545 2001-10-16  Miles Bader  <miles@gnu.org>
4547         * make-docfile.c (scan_c_file): Handle `new style' doc strings in
4548         comments [with `doc:' keyword prefix].
4550 2001-10-15  Gerd Moellmann  <gerd@gnu.org>
4552         * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
4553         in a C doc comment.
4555 2001-10-13  Gerd Moellmann  <gerd@gnu.org>
4557         * make-docfile.c (read_c_string_or_comment): Rename from
4558         read_c_string.  Add parameter COMMENT.  Read C-style comments.
4559         (scan_c_file): Handle doc strings in C comments.
4561 2001-10-12  Andrew Innes  <andrewi@gnu.org>
4563         * makefile.nt (ALL): Do not include fakemail.
4565         * makefile.w32-in (install): Do not copy fakemail.
4567 2001-10-10  Jason Rumney  <jasonr@gnu.org>
4569         * makefile.w32-in (ALL): Do not include fakemail.
4571         * makefile.nt (install): Ditto.
4573 2001-10-09  Gerd Moellmann  <gerd@gnu.org>
4575         * emacsserver.c (main): Cast geteuid in sprintf to int.
4577         * emacsclient.c (main): Cast isdigit argument to unsigned char.
4579 2001-10-07  Pavel Janík  <Pavel@Janik.cz>
4581         * profile.c: Include config.h, not ../src/config.h.
4582         Include systime.h, not ../src/systime.h.
4584 2001-10-05  Gerd Moellmann  <gerd@gnu.org>
4586         * Branch for 21.1.
4588 2001-10-01  Alexander Zhuckov  <zuav@int.spb.ru>
4590         * ebrowse.c (struct alias): Add two new struct members: NAMESP and
4591         ALIASEE to help work with namespace aliases.
4592         (struct sym): Remove struct member NAMESP_ALIASES.
4593         (namespace_alias_table): New variable.
4594         (make_namespace): Add parameter CONTEXT.
4595         (check_namespace): New function.
4596         (find_namespace): Add parameter CONTEXT.
4597         (check_namespace_alias): New function.
4598         (register_namespace_alias): Change type of parameter OLD_NAME.
4599         Search for already defined alias in NAMESPACE_ALIAS_TABLE.
4600         (check_namespace): New function.
4601         (enter_namespace): Call find_namespace with CONTEXT parameter.
4602         (match_qualified_namespace_alias): New function.
4603         (parse_qualified_ident_or_type): Fix typo in comment.
4604         While parsing qualified ident or type update namespace context and
4605         restore it on exit.
4606         (parse_qualified_param_ident_or_type): Fix typo in comment.
4607         (globals): Change handling of namespace aliases.
4608         (version): Add year 2001.
4610 2001-09-15  Eli Zaretskii  <eliz@is.elta.co.il>
4612         * etags.c (analyse_regex): If regex_arg is NULL, return
4613         immediately after a call to free_patterns.
4615 2001-09-05  Paul Eggert  <eggert@twinsun.com>
4617         * rcs2log (Help, mainline code): Add new option -L FILE.
4618         (Copyright): Update year.
4619         (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
4620         (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
4621         C locale.
4622         (mainline code): Handle nonstandard -u option differently, by
4623         transforming it to standard form.  Check for "Working file: ", not
4624         "Working file:".  Allow file names with spaces.
4625         (SOH, rlogfile): New shell vars.
4626         (rlogout): Remove.  Its old functionality is mostly migrated to
4627         rlogfile.
4629         Append ';;' to the last arm of every case statement, for
4630         portability to ancient broken BSD shells.
4632         (logins): Fix bug; was not being computed at all, lowering performance.
4633         (pository): New var.  This fixes some bugs where repositories are
4634         remote, or have trailing slashes.
4635         (authors): $llogout is never an empty shell var, so don't worry
4636         about that possibility.
4637         (printlogline, mainline code): Fix bug with SOH's being put into
4638         the output.
4640 2001-09-01  Eli Zaretskii  <eliz@is.elta.co.il>
4642         * ebrowse.c (SEEK_END): #define if not defined by system headers.
4643         Suggested by Dave Love <d.love@dl.ac.uk>.
4645 2001-08-29  Eli Zaretskii  <eliz@is.elta.co.il>
4647         * makefile.nt (lisp): Synchronize with src/Makefile.in.
4648         * makefile.w32-in (lisp): Ditto.
4650 2001-07-25  Juanma Barranquero  <lektu@terra.es>
4652         * grep-changelog (parse_changelog): Remove unused local variable.
4654         * grep-changelog (main): Add new option --reverse.
4655         (print_log): Use it.
4656         (parse_changelog): Use it.
4658 2001-07-20  Gerd Moellmann  <gerd@gnu.org>
4660         * grep-changelog: Remove RCS Id keyword.
4662 2001-07-20  Juanma Barranquero  <lektu@terra.es>
4664         * grep-changelog (parse_changelog): Add tests for defined values
4665         to quiet warning from Perl 5.005 or above.
4666         (entry_match_p, header_match_p): Fix handling of null or empty
4667         argument to prevent duplicate headers.
4669         * grep-changelog (main, parse_changelog): Make "use strict"-clean.
4671 2001-07-17  Jan Nieuwenhuizen  <janneke@gnu.org>
4673         * emacsclient.c (print_help_and_exit): Fix help message for
4674         +LINE:COLUMN option.
4676 2000-07-17  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
4678         * emacsclient.c (main): Add support for +LINE:COLUMN command line
4679         argument.
4681 2001-07-16  Gerd Moellmann  <gerd@gnu.org>
4683         * ebrowse.c (main): Check that the output file exists and
4684         is non-empty if invoked with `--append'.
4686 2001-05-14  Francesco Potortì  <pot@gnu.org>
4688         * etags.c (add_regex): Reset the whole newly allocated pattern
4689         buffer instead of the individual members.  It's safer and works
4690         with XEmacs.
4692         * etags.1: Markups corrected.
4694 2001-05-08  Gerd Moellmann  <gerd@gnu.org>
4696         * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
4698 2001-05-03  Gerd Moellmann  <gerd@gnu.org>
4700         * ebrowse.c (globals): Fix handling of namespace aliases.
4702 2001-04-27  Eli Zaretskii  <eliz@is.elta.co.il>
4704         * etags.c (print_help): Enclose the regexp in the help text
4705         example in quotes.
4707 2001-04-05  Dave Love  <fx@gnu.org>
4709         * emacsclient.c (fail): Don't return a value.
4710         (main): Cast uid values for sprintf.
4712 2001-04-03  Gerd Moellmann  <gerd@gnu.org>
4714         * emacsclient.c (fail, main): Don't use implicit int return type.
4716         * b2m.c (main): Always return a value.
4718 2001-03-02  Gerd Moellmann  <gerd@gnu.org>
4720         * ebrowse.c (parse_qualified_param_ident_or_type): Return a
4721         freshly allocated object in *LAST_ID.
4722         (read_line): Accept \r\n line endings.
4724 2001-02-24  Andrew Innes  <andrewi@gnu.org>
4726         * makefile.w32-in: Fix copyright notice.
4728 2001-02-23  Francesco Potortì  <pot@gnu.org>
4730         * etags.c (enum sym_type): New label st_C_template.
4731         (gperf input): Use it for switching to C++ from C.
4732         (consider_token): Do it.
4733         (C_entries): Initialize typdefcblev to quiet compilers.
4734         [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
4736 2001-02-22  Andrew Innes  <andrewi@gnu.org>
4738         * makefile.nt ($(BLD)\movemail.obj): Remove reference to
4739         VMS header files.
4740         ($(BLD)\profile.obj): Ditto.
4742         * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
4743         VMS header files.
4744         ($(BLD)/profile.$(O)): Ditto.
4746 2001-02-05  Andrew Innes  <andrewi@gnu.org>
4748         * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
4749         invocation of make-docfile, to work with Windows 2000.
4751 2001-01-31  Dave Love  <fx@gnu.org>
4753         * etags.c (in_word_set): Use `static' in definition (for pcc).
4755 2001-01-31  Francesco Potortì  <pot@gnu.org>
4757         * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
4758         the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
4759         (C_entries): Tag token renamed to still_in_token because sunos4
4760         pcc wants to expand it as the token() macro even though it has no
4761         arguments.
4763 2001-01-30  Andrew Innes  <andrewi@gnu.org>
4765         * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
4766         bug in the Mingw32 assert.h header file.
4768 2001-01-30  Francesco Potortì  <pot@gnu.org>
4770         * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
4771         #define it for the sake of XEmacs.
4772         [WINDOWSNT]: #undef HAVE_NTGUI even if built without
4773         HAVE_CONFIG_H.  This change only affects a standalone etags.
4774         [WINDOWSNT]: #undef DOS_NT and #define it even if built with
4775         HAVE_CONFIG_H.  This change does nothing in Emacs, as DOS_NT is
4776         always defined when HAVE_CONFIG_H and WINDOWS are both defined.
4777         [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
4778         WINDOWSNT, as this is the correct way to use it.
4780 2001-01-28  Francesco Potortì  <pot@gnu.org>
4782         * etags.c: Be capable to parse nested struct-like structures.
4783         (structdef, structtag): Struct state machine revisited.
4784         (struct tok): Revisited.
4785         (cstack, nestlev, instruct): New struct and macros.
4786         (pushclass_above, popclass_above, write_classname): New functions
4787         for dealing with nested class names.
4788         (consider_token, make_C_tag, C_entries): Many changes for dealing
4789         with arbitrarily nested structures.
4790         (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
4791         (C_entries): Consider templates in C++.
4792         (sym_type): New constant st_C_class for detecting "class" also in
4793         C mode.
4794         (C_AUTO): New macro for automatic detection of C++.
4795         (consider_token): Automatic set C++ mode.
4796         (C_entries): New security check for yacc.
4797         (print_language_names, print_help): Mention the autodetect
4798         feature, do not show help for the -C option, now mostly useless.
4799         (C_entries): Tag C++ forward declarations if --declarations.
4800         (C_entries): Don't be fooled by things like XDEFUN.
4801         (consider_token): Discard asm pseudo function.
4803 2001-01-27  Eli Zaretskii  <eliz@is.elta.co.il>
4805         * etags.c: Add a coding: tag.
4807 2001-01-26  Gerd Moellmann  <gerd@gnu.org>
4809         * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
4810         New variables.
4811         (matching_regexp): Use them instead of static variables in
4812         function scope.
4814 2001-01-25  Francesco Potortì  <pot@gnu.org>
4816         * etags.c (struct tok): Rename from struct token.
4817         (token): Rename from tok.
4818         (structtype): Make it a local variable.
4819         [DEBUG]: Use assert.
4820         (xrnew): Change the synopsis.
4821         (typedefs_or_cplusplus): Rename from typedefs_and_cplusplus.
4822         (grow_linebuffer): Don't call xrnew when not needed.
4823         (token): Buffer renamed to line.
4824         (C_entries): Three calls to inibuffer moved here from main.
4825         (C_entries): Remove all references to var methodlen, delete it.
4826         (linebuffer_setlen): Was grow_buffer, now also sets len.
4827         (consider_token, C_entries, Pascal_functions): Use it.
4828         (C_entries): Preventing problems relative to extern "C".
4829         (C_entries): Can tag more than one variable or func separated by
4830         comma when --declarations is used.
4831         (C_entries): More accurate tagging of members and declarations.
4832         (yacc_rules): Was global, made local to C_entries.
4833         (next_token_is_func): Remove.
4834         (fvdef): New constants fdefunkey, fdefunname.
4835         (consider_token, C_entries): Use them.
4836         (C_entries): Build proper lisp names for Emacs DEFUNs.
4838 2001-01-22  Gerd Moellmann  <gerd@gnu.org>
4840         * ebrowse.c (xfree): New function.
4841         (member, declaration, globals): Use xmalloc instead of alloca.
4843 2001-01-15  Francesco Potortì  <pot@gnu.org>
4845         * etags.c (print_language_names): Print filenames in addition to
4846         suffixes.
4848 2001-01-14  Francesco Potortì  <pot@gnu.org>
4850         * etags.c (get_language_from_langname): Rename from
4851         get_language_from_name.
4852         (get_language_from_filename): Rename from get_language_from_suffix.
4853         Now first looks for the complete file name.
4854         (language): New member char **filenames.
4855         (Makefile_filenames): List of possible filenames for makefiles.
4856         (lang_names): Add a NULL member for every entry, added an entry
4857         for makefiles.
4858         (Makefile_targets): New function.
4859         (Texinfo_nodes): Rename from Texinfo_functions and made
4860         it conformant to the style of the rest of the code.
4862 2001-01-13  Gerd Moellmann  <gerd@gnu.org>
4864         * make-docfile.c (write_c_args): Print newlines as spaces.
4866 2001-01-06  Andrew Innes  <andrewi@gnu.org>
4868         * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
4869         of *.pdb.
4871 2001-01-03  Paul Eggert  <eggert@twinsun.com>
4873         * rcs2log: Avoid security hole allowing attacker to
4874         cause user of rcs2log to overwrite arbitrary files, fixing
4875         a bug reported by Morten Welinder.
4877         Don't put "exit 1" at the end of the exit trap; it's
4878         ineffective in POSIX shells.
4880 2001-01-02  Gerd Moellmann  <gerd@gnu.org>
4882         * ebrowse.c (yyerror): Change to take two arguments.
4883         Add prototype.  Change callers.
4885 2001-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
4887         * ebrowse.c (enter_namespace, main): Cast variables to shut up
4888         compiler warnings.
4889         (yyerror): Change parameter declarations to be of type long, so
4890         that they can take pointers on 64-bit platforms.
4892         * emacsclient.c (main): Remove unused local variable statbfr.
4893         (main) <homedir>: Make its declaration conditional on
4894         SERVER_HOME_DIR, to avoid compiler warnings.
4896         * emacsserver.c (main) <homedir>: Make its declaration conditional
4897         on SERVER_HOME_DIR, to avoid compiler warnings.
4899         * fakemail.c (readline): Cast buffer to "long *" to pacify
4900         over-zealous compilers.
4902 2000-12-16  Eli Zaretskii  <eliz@is.elta.co.il>
4904         * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
4906 2000-12-15  Gerd Moellmann  <gerd@gnu.org>
4908         * ebrowse.c (operator_name): Cast argument of isalpha to
4909         unsigned char.
4911         * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
4912         Use them throughout instead of ctype functions/macros.
4913         (lowcase): Cast to unsigned char.
4914         (UPCASE): New macro.
4915         (canonicalize_filename): Use UPCASE instead toupper.
4917         * fakemail.c (get_keyword): Make sure that isspace and
4918         similar aren't called with a negative argument.
4920 2000-12-13  Dave Love  <fx@gnu.org>
4922         * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
4924 2000-12-06  Andrew Innes  <andrewi@gnu.org>
4926         * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
4927         don't know the real version, and I can't seem to get the quoting
4928         right in all circumstances.
4930         * ebrowse.c (VERSION): Provide default definition, like etags.c
4931         does, because Windows build can't snarf this from version.el.
4933 2000-11-30  Andrew Innes  <andrewi@gnu.org>
4935         * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
4936         (install): Ditto.
4938 2000-11-23  Jason Rumney  <jasonr@gnu.org>
4940         * makefile.w32-in: Add targets for ebrowse.exe.
4941         (LOCAL_FLAGS): Add -DVERSION flag.
4943 2000-09-25  Dave Love  <fx@gnu.org>
4945         * sorted-doc.c: Include config.h.
4946         [!HAVE_STDLIB_H]: Declare malloc.
4948 2000-09-14  Andrew Innes  <andrewi@gnu.org>
4950         * makefile.w32-in: Revert to Unix line endings.
4952 2000-09-04  Dave Love  <fx@gnu.org>
4954         * movemail.c (index, rindex): Prototype conditionally.
4956 2000-09-03  Andrew Innes  <andrewi@gnu.org>
4958         * makefile.w32-in: Change to DOS line endings.
4960 2000-09-01  Eli Zaretskii  <eliz@is.elta.co.il>
4962         * movemail.c (toplevel): Remove redundant fcntl.h.
4963         [!F_OK]: Provide default definitions only after including both
4964         fcntl.h and unistd.h.
4966 2000-08-29  Dave Love  <fx@gnu.org>
4968         * movemail.c: Revert previous change.
4970 2000-08-29  Eli Zaretskii  <eliz@is.elta.co.il>
4972         * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
4974 2000-08-28  Dave Love  <fx@gnu.org>
4976         * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
4977         (toplevel) [HAVE_STRINGS_H]: Include strings.h.
4979 2000-08-22  Andrew Innes  <andrewi@gnu.org>
4981         * ntlib.h (WIN32): Remove unnecessary definition.
4982         (sleep): Make argument unsigned long.
4983         (_WINSOCK_H): Undefine so normal winsock definitions can be used.
4985         * ntlib.c (sleep): Make argument unsigned long.
4987         * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
4989         * makefile.w32-in: New file.
4991 2000-08-20  Eli Zaretskii  <eliz@is.elta.co.il>
4993         * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
4994         letter only if it is a drive letter.
4996 2000-07-14  Gerd Moellmann  <gerd@gnu.org>
4998         * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
5000         * etags.c (xmalloc, xrealloc): Make externally visible, for use
5001         by alloca.o.
5003         * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
5005 2000-07-10  Gerd Moellmann  <gerd@gnu.org>
5007         * ebrowse.c (yylex): Accept string literals with newlines in them.
5008         (process_pp_line): Handle case of string literal with newline
5009         in it in replacement text, which counts as continuing the
5010         replacement text in GNU C.
5012 2000-07-02  Gerd Moellmann  <gerd@gnu.org>
5014         * ebrowse.c (token_string): Add missing tokens.
5015         (parm_list): Handle case of qualified pointers.
5017 2000-06-23  Dave Love  <fx@gnu.org>
5019         * ebrowse.c: Move config.h before other includes (which may use
5020         feature tests).
5022 2000-06-14  Jim Meyering  <meyering@lucent.com>
5024         * grep-changelog: Fix typos in comments.  Remove trailing blanks.
5026 2000-06-11  Jason Rumney  <jasonr@gnu.org>
5028         * makefile.nt: Add targets for ebrowse.
5030         * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
5031         compare filenames.
5033 2000-06-06  Gerd Moellmann  <gerd@gnu.org>
5035         * ebrowse.c (ymalloc): Rename from xmalloc.
5036         (yrealloc): Rename from xrealloc.
5038 2000-05-21  Dave Love  <fx@gnu.org>
5040         * movemail.c: Include config.h, not ../src/config.h.
5041         (Errmsg): Bump length.
5043         * pop.c (ERROR_MAX): Increase to 160.
5045 2000-05-04  Gerd Moellmann  <gerd@gnu.org>
5047         * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
5049 2000-05-02  Eli Zaretskii  <eliz@is.elta.co.il>
5051         * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
5052         Define to semi-colon.
5053         (FILENAME_EQ): New macro, for comparing file names.
5054         (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5055         (process_file): Don't assume that fread always reads as many bytes
5056         as it was told to (DOS-style CR-LF text files fail this logic).
5057         (open_file): Allocate enough space for path->path plus the file
5058         name and the slash.
5060 2000-04-19  Dave Love  <fx@gnu.org>
5062         * etags.c (Texinfo_functions): New function.
5063         (lang_names): Install it.
5064         (Texinfo_suffixes): New variable.
5066 2000-04-19  Gerd Moellmann  <gerd@gnu.org>
5068         * ebrowse.c (xmalloc, xrealloc): Rewritten.
5069         (declaration): Remove parameter IS_EXTERN.
5070         (class_definition): Remove unused variable.
5072 2000-04-09  Gerd Moellmann  <gerd@gnu.org>
5074         * Makefile.in (INSTALLABLES): Add ebrowse.
5075         (ebrowse): New target.
5077         * ebrowse.c: New file.
5079 2000-03-29  Andreas Schwab  <schwab@suse.de>
5081         * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
5083 2000-03-02  Gerd Moellmann  <gerd@gnu.org>
5085         * etags.c (lisp_suffixes): Add `LSP'.
5087 2000-02-10  Francesco Potortì  <pot@gnu.org>
5089         * etags.c (iswhite): Redefine not to consider '\0' as white
5090         space, and use it throughout in place of isspace, thus preventing a
5091         potential signed char to int conversion problem.
5092         (MSDOS): #undefine before redefining.
5094 2000-02-04  Francesco Potortì  <pot@gnu.org>
5096         * etags.c (many functions): Add prototypes.
5098 2000-02-10  Dave Love  <fx@gnu.org>
5100         * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
5101         (erlang_func): Add `static' to definitions to keep pcc happy.
5103 2000-01-31  Francesco Potortì  <pot@gnu.org>
5105         * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
5106         (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
5107         (etags_strchr, etags_strrchr): Use const char * and int as arguments.
5108         (getenv, getcwd): Only declare them if necessary.
5109         (EMACS_NAME): New constant macro.
5110         (print_version): Use it.
5111         (P_) [__STDC__]: Macro for defining function prototypes.
5113 2000-01-18  Fabrice Popineau  <Fabrice.Popineau@supelec.fr>
5115         * etags.c [WINDOWSNT]: #include <direct.h>
5117 2000-01-18  Martin Buchholz  <martin@xemacs.org>
5119         * etags.c (all functions): Made them static.
5120         (all functions): Write prototypes.
5122 2000-01-29  Richard M. Stallman  <rms@caffeine.ai.mit.edu>
5124         * movemail.c (main): Improve error message if can't create lock file.
5126 2000-01-28  Eric Hanchrow  <offby1@blarg.net>
5128         * emacsclient.c (socket_status): New function.
5129         (main): If $LOGNAME or $USER exist and differ from our euid, look
5130         for a socket based on the UID associated with the name.
5132 2000-01-12  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
5134         * emacsclient.c: Add option -a EDITOR and environment variable
5135         ALTERNATE_EDITOR.  Exec this editor if we fail to contact Emacs.
5137 1999-12-10  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5139         * movemail.c (popmail): Allow mailbox specifications of the
5140         form `po:username:hostname'.
5142 1999-11-19  Francesco Potortì  <pot@gnu.org>
5144         * etags.c (_GNU_SOURCE): Define only if undefined.
5145         (get_scheme): Declaration deleted.
5146         (main): Error was called with an integer as second arg, instead of
5147         a char pointer.
5148         (canonicalize_filename): Bug removed.
5150 1999-11-18  Dave Love  <d.love@dl.ac.uk>
5152         * etags.c (C_entries): Rename label `intoken', avoiding K&R
5153         lossage from name clash with macro.
5155 1999-11-13  Gerd Moellmann  <gerd@gnu.org>
5157         * Makefile.in (b2m): Add dependency on GETOPTDEPS.
5159 1999-11-03  Gerd Moellmann  <gerd@gnu.org>
5161         * etags.c (print_help): Change email address to send bugs to.
5163 1999-11-01  Francesco Potortì  <pot@gnu.org>
5165         * etags.c: Add suffix psw for PSWrap.
5166         (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
5167         (Postscript_functions): Add code for PSWrap.
5168         (Scheme_functions): Use local pointer and new get_tag function.
5169         (get_tag): New name for old get_scheme.
5170         (process_file): Do not free NULL when file does not exist.
5171         (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
5172         (C_entries): Modifications that make --members tag even inside
5173         typedefs and C nested structs (one level only).
5174         (consider_token): Correct a bug which prevented tagging of enum
5175         constants.
5176         (C_stab_entry): Add if, for, while, switch, return as
5177         st_C_ignore.  This makes it simpler to work when cblev!=0.
5179         * etags.c (C_entries): Tag member function declarations when
5180         --declarations is used.
5182         * etags.c (C_entries, consider_token): C++ `operator' now is
5183         tagged in most cases.
5184         As before, :: is not recognized if surrounded by spaces.
5186         * etags.c (relative_filename): Account for DOS file names such
5187         that is impossible to make one relative to another.
5189         * etags.c (sym_type): New st_C_extern tag.
5190         (gperf input): Use it for spotting external declarations.
5191         (print_help): Document the new behavior of --declarations.
5192         (fvextern): New global variable.
5193         (consider_token, C_entries): Use it.
5195         * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
5196         (etags_getcwd): Remove test for WINDOWSNT.
5198         * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
5199         foo.cgz, foo.cz, etc.
5201         * etags.c (declarations): New global switch.
5202         (longopts): Describe it.
5203         (print_help): Document it.
5204         (C_entries): Use it.
5205         (process_file): Don't process a file twice.
5207         * etags.c (Fortran_functions): No tags for "procedure".
5209 1999-11-01  Eli Zaretskii  <eliz@is.elta.co.il>
5211         * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
5212         non-zero, returns a pointer to where the extension begins; callers
5213         changed.
5214         [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
5215         were foo.c.gz.
5217 1999-11-01  Francesco Potortì  <pot@gnu.org>
5219         * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
5220         (fvdev): New constant foperator.
5221         (consider_token): Use it to get "operator" in C++.
5222         (C_entries): Extend length of operator@ function name.
5223         (C_entries): Use foperator when necessary.
5225         * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
5227         * etags.c (compressor): New struct for compressed files.
5228         (get_compressor_from_suffix): New function.
5229         (get_language_from_suffix): Use it.  Also, semantics changed.
5230         (process_file): Consider compressed files, close file.
5231         (find_entries): Use different call arg for get_language_from_suffix,
5232         don't close file.
5234         * etags.c (main): Call free_tree.
5235         (find_entries): Do not free curfile.
5236         (pfnote): Cosmetic change: NULL and '\0' where appropriate.
5237         (prolog_pred, erlang_func, substitute): Cast strlen to int when
5238         comparing.
5239         (canonicalize_filename): Shut up compiler warning.
5240         (Perl_functions): Make tag significant.
5242 1999-11-01  Dave Love  <d.love@dl.ac.uk>
5244         * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
5245         (argument_type): New member at_icregexp.
5246         (lc_trans): New global.
5247         (main): Fill lc_trans.  Process -c args.
5248         (add_regex): New arg determining whether to use translation table.
5249         (analyse_regex): New arg.  Use it for add_regex.
5251 1999-11-01  Francesco Potortì  <pot@gnu.org>
5253         * etags.c (init): Cosmetic change: NULL --> '\0'.
5254         (erlang_attribute): Bug corrected (uninitialized variable).
5255         (filename_is_absolute): New function replaces absolutefn macro and
5256         corrects a bug.  All callers changed.
5257         (canonicalize_filename): New function.
5258         (process_file, etags_getcwd, absolute_dirname): Use it.
5259         (relative_filename, absolute_filename): Remove var shadowing.
5260         (C_entries, Pascal_functions): Add fake initializations to keep
5261         compilers quiet.
5262         (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
5264         * etags.c (xrnew): New macro.  All callers of xrealloc changed.
5265         (language): New typedef (was struct lang_entry).
5266         (curlang): New global variable.
5267         (node): Typedef renamed from NODE.
5268         (linebuffer): New typedef (was struct linebuffer).
5269         (pattern): New typedef (was struct pattern).  Some members added.
5270         Now used as element of a linked list.
5271         (patterns, num_patterns): Global variables deleted.
5272         (p_head): New global variable.
5273         (forced_lang): New global variable (replaces lang_func).
5274         (get_language_from_name, get_language_from_interpreter)
5275         (get_language_from_suffix): Semantics changed.  All callers changed.
5276         (last_node): New global variable.
5277         (free_tree, add_node, put_entries, total_size_of_entries):
5278         Change name of local vars to avoid clashes with typedef node.
5279         (number_len): Rewritten for elegance.
5280         (token): New typedef replaces TOKEN.
5281         (analyse_regex, add_regex): Rewritten for new functionality.
5282         (free_patterns): New function called from main and add_regex.
5283         (initbuffer, readline_internal, readline, grow_linebuffer):
5284         Change name of local vars to avoid clashes with typedef linebuffer.
5285         (readline): Rewritten for new functionality.
5287         * etags.c (Scheme_suffixes): New suffix ".ss".
5288         (print_help): --globals is now used for more than C-type languages.
5289         (Perl_functions): Tag global variables ("my" and "local").
5291         * etags.c (print_help): Some messages clarified.
5292         (LOOP_ON_INPUT_LINES): New macro.
5293         (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
5294         (Python_functions, Cobol_paragraphs, Pascal_functions)
5295         (Lisp_functions, Postscript_functions, Scheme_functions)
5296         (TeX_functions, Prolog_functions, Erlang_functions): Use it.
5297         (Cobol_paragraphs, Postscript_functions, TeX_functions)
5298         (Prolog_functions, Erlang_functions): Use a local variable instead
5299         of the global variable dbp.
5300         (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
5301         standard indentation.
5303         * etags.c (Python_suffixes, lang_names, Python_functions):
5304         Python support.
5305         (skip_spaces, skip_non_spaces): Utility functions.
5306         (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
5307         (Python_functions, L_getit, Lisp_functions, Scheme_functions)
5308         (prolog_pred, erlanf_func, erlang_attribute): Use them.
5309         (eat_white): Delete.
5311         * etags.c (CHAR, init): Keep into account non US-ASCII
5312         characters and compilers with default signed chars.
5313         (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
5314         constructs.
5315         (C_stab_entry): "interface" in Java behaves like "class".
5317         * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
5318         (main): Put interval syntax here.
5319         (add_regex): And remove it from here.
5321         * etags.c (suggest_asking_for_help): Provide a
5322         meaningful help message with and without LONG_OPTIONS.
5324         * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
5325         <stdlib.h, string.h>: Don't test MSDOS when including them.
5326         (white, nonam, endtk): Like elsewhere, use \r instead of \013.
5327         (put_entries): Correctly use %ld instead of %d in printf.
5329         * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
5330         declare getcwd if HAVE_GETCWD.
5331         (consider_token): Dead break instruction removed.
5333 1999-10-19  Paul Eggert  <eggert@twinsun.com>
5335         Add support for large files.  Merge glibc 2.1.2.
5337         * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
5338         * movemail.c, pop.c:
5339         Do not include <stdlib.h>, as <config.h> does this now.
5341         * b2m.c, emacsserver.c, etags.c, profile.c:
5342         Include <config.h> before any system include files.
5344         * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
5345         * test-distrib.c:
5346         (read, write, open, close): Do not undef.
5348         * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
5349         (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
5351         * getopt.h: Adopt glibc 2.1.2.
5353 1999-10-15  Dave Love  <fx@gnu.org>
5355         * Makefile.in (pop.o): Depend on config.h.
5357 1999-10-11  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5359         * pop.c: Use "pop3" as the POP service name on all platforms,
5360         instead of using "pop" on Unix and "pop3" on Windows NT.  "pop3"
5361         has been the standard service name since RFC 1340 was published in
5362         July 1992, so I think it's safe to start using it by default.
5364 1999-09-27  Dave Love  <fx@gnu.org>
5366         * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
5368 1999-09-19  Richard M. Stallman  <rms@caffeine.ai.mit.edu>
5370         * make-docfile.c (scan_lisp_file): Fix previous changes;
5371         swallow CRLF like just CR or just LF.
5373 1999-09-03  Richard Stallman  <rms@gnu.org>
5375         * make-docfile.c: Include config.h not ../src/config.h.
5376         (main, fopen, chdir): Add #undef.
5377         (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
5378         (scan_lisp_file): Handle \r like \n.
5380 1999-08-30  Andreas Schwab  <schwab@gnu.org>
5382         * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
5384         * emacsserver.c: Include <stdlib.h> if available.  Don't declare
5385         errno if it's a macro.
5387         * test-distrib.c: Include <unistd.h> if available.
5389 1999-08-29  Richard Stallman  <rms@gnu.org>
5391         * emacsclient.c (print_help_and_exit): Mention --version.
5393 1999-08-25  Richard M. Stallman  <rms@gnu.org>
5395         * emacsclient.c (decode_options): Update version output.
5396         (print_help_and_exit): Update bug report address.
5398 1999-08-13  Richard M. Stallman  <rms@gnu.org>
5400         * emacsclient.c (main): Move the dynamic allocation of
5401         system_name outside of the SERVER_HOME_DIR conditional.
5402         * emacsserver.c (main): Likewise.
5404 1999-08-10  Gerd Moellmann  <gerd@gnu.org>
5406         * grep-changelog: New.
5407         * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
5409 1999-07-12  Richard Stallman  <rms@gnu.org>
5411         * Version 20.4 released.
5413 1999-06-30  Markus Rost  <markus.rost@mathematik.uni-regensburg.de>
5415         * Makefile.in (clean): Remove fns*.el.
5417 1999-06-23  Dave Love  <fx@gnu.org>
5419         * etags.c (erlang_attribute): Fix undefined variable usage (after
5420         Potortì).
5422 1999-05-02  Andrew Innes  <andrewi@gnu.org>
5424         * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
5425         mapped to _chsize.
5427 1999-04-29  Richard M. Stallman  <rms@gnu.org>
5429         * emacsclient.c (main, both versions): Use quote_file_name on cwd.
5431 1999-03-30  Dave Love  <fx@gnu.org>
5433         * sorted-doc.c (main): Split up tables.  Modify the preamble
5434         somewhat.
5436 1999-03-05  Geoff Voelker  <voelker@cs.washington.edu>
5438         * makefile.nt: Remove common multiple file compilation commands.
5440 1999-02-26  Richard Stallman  <rms@gnu.org>
5442         * Makefile.in (yow): Depend on epaths.h, not paths.h.
5444         * yow.c: Refer to epaths.h.
5446 1999-02-22  Simon Josefsson  <jas@pdc.kth.se>
5448         * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
5450 1999-01-27  Andrew Innes  <andrewi@gnu.org>
5452         * makefile.nt: Do make version comparison as strings.
5454 1999-01-25  Richard Stallman  <rms@gnu.org>
5456         * emacsclient.c (xmalloc): Fix previous change.
5458 1999-01-24  Richard M. Stallman  <rms@borg.ai.mit.edu>
5460         * emacsclient.c (xmalloc): Declare to return long.
5462 1999-01-22  Geoff Voelker  <voelker@cs.washington.edu>
5464         * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
5465         the case of the drive letter.
5467 1999-01-15  Richard Stallman  <rms@psilocin.ai.mit.edu>
5469         * emacsserver.c (main): Eliminate arbitrary limit on
5470         length of system_name.
5472         * emacsclient.c (main): Eliminate arbitrary limit on
5473         length of system_name.
5474         (xmalloc): Define unconditionally.
5476 1999-01-12  Darrin B. Jewell  <jewell@mit.edu>
5478         * etags.c (relative_filename): Stop backward search at beginning
5479         of string, since non-Unix systems can have absolute paths with no
5480         initial slash.
5482 1998-12-08  Geoff Voelker  <voelker@cs.washington.edu>
5484         * makefile.nt: Do string comparison of _NMAKE_VER.
5486 1998-11-03  Theodore Jump  <tjump@cais.com>
5488         * makefile.nt: Compile multiple source files when possible.
5490 1998-10-13  Richard Stallman  <rms@psilocin.ai.mit.edu>
5492         * Makefile.in: Replace tabs with spaces
5493         when they might confuse some Make versions.
5495 1998-10-10  Richard Stallman  <rms@psilocin.ai.mit.edu>
5497         * emacsclient.c (main): Null-terminate system_name.
5499         * emacsserver.c (main): Null-terminate system_name.
5501 1998-09-21  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5503         * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
5504         an error message from POP, mention that it's from POP, to
5505         distinguish it from local error messages.
5507 1998-09-04  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5509         * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
5510         order of messages downloaded from a POP server (e.g., if the
5511         server stores messages in mailboxes in reverse order).
5513 1998-08-19  Richard Stallman  <rms@psilocin.ai.mit.edu>
5515         * Version 20.3 released.
5517 1998-08-11  Paul Eggert  <eggert@twinsun.com>
5519         * rcs2log: Update copyright date and bug report address.
5520         (initialize_fullname): Prefer getent if available.
5522 1998-07-30  Paul Eggert  <eggert@twinsun.com>
5524         * Makefile.in (REGEXPDEPS, regex.o):
5525         Prepend $(srcdir)/ to rule dependencies outside this dir.
5527 1998-06-09  Andrew Innes  <andrewi@harlequin.co.uk>
5529         * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
5531 1998-06-06  Richard Stallman  <rms@psilocin.ai.mit.edu>
5533         * Makefile.in: Properly terminate a comment.
5535 1998-06-01  Andrew Innes  <andrewi@mescaline.gnu.org>
5537         * movemail.c (sys_wait): Rename to wait.
5539         * ntlib.h: Undefine _WINSOCKAPI_.
5541         * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
5543 1998-05-30  Geoff Voelker  <voelker@cs.washington.edu>
5545         * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
5547 1998-05-01  Andrew Innes  <andrewi@harlequin.co.uk>
5549         * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
5550         Force all file i/o to be in binary mode.  Include ntlib.h.
5552 1998-04-27  Andreas Schwab  <schwab@delysid.gnu.org>
5554         * make-docfile.c: Include <unistd.h> for chdir.
5556 1998-04-25  Richard Stallman  <rms@psilocin.gnu.org>
5558         * etags.c (TEX_decode_env): Don't free the value getenv returns.
5560 1998-04-17  Geoff Voelker  <voelker@cs.washington.edu>
5562         * makefile.nt (obj): Update with new files in src.
5563         (clean): Delete patch scratch files, optimized compilation dir.
5565 1998-04-08  Dave Love  <fx@gnu.org>
5567         * emacsclient.c: Move inclusion of unistd.h to top, else fails on
5568         Irix6, at least.
5570 1998-04-06  Andreas Schwab  <schwab@gnu.org>
5572         Silence -Wimplicit:
5573         * movemail.c: Move cancelations up.  Include <stdlib.h> if
5574         available.
5575         * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
5576         (parse_header): Explicitly declare return type.
5577         * emacsserver.c: Include <unistd.h> if available.
5578         (main, handle_signals, perror_1, fatal_error): Explicitly declare
5579         return types.  Add forward declarations.
5580         * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
5581         Don't declare geteuid.
5582         (print_help_and_exit): Change return type to void.
5583         Forward declare it.
5584         * b2m.c: Include <stdlib.h> if available.
5585         (main): Explicitly declare return type.
5587 1998-04-03  Richard Stallman  <rms@psilocin.gnu.org>
5589         * etags.c (put_entries): Use %ld.
5591         * b2m.c (fatal): Declare the arg.
5593 1998-03-26  Richard Stallman  <rms@psilocin.gnu.org>
5595         * pop.c (pop_getline): Rename from getline.
5597 1998-03-05  Richard Stallman  <rms@psilocin.gnu.org>
5599         * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
5600         for the utilities.
5602 1998-01-23  Dave Love  <d.love@dl.ac.uk>
5604         * etags.c (getit, Cobol_paragraphs, Pascal_functions,
5605         Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
5606         Always make named tags.
5607         (Fortran_functions): Grok BLOCK DATA.
5609 1998-01-23  Andreas Schwab  <schwab@gnu.org>
5611         * movemail.c (main): Fix interwoven brace and cpp conditional
5612         nesting.
5614 1997-12-03  Paul Eggert  <eggert@delysid.gnu.org>
5616         * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
5617         with a '>' any lines starting with "From " read from the POP server,
5618         but leave the code in place, wrapped in #ifdef
5619         MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
5620         because it turns out that something is depending on it.
5621         Change suggested by Paul Eggert <eggert@twinsun.com>.
5622         Convert the character \037 (^_) at the beginning of a line into
5623         the character '^' followed by the character '_', because otherwise
5624         Emacs can't parse the resulting file as a valid BABYL file.
5625         Change suggested by Paul Eggert <eggert@twinsun.com>.
5627 1997-12-03  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5629         * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
5630         server to contain embedded nulls.
5632 1997-12-02  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5634         * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
5635         quotes with a '>' any lines starting with "From " read from the
5636         POP server, but leave the code in place, wrapped in #ifdef
5637         MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
5638         because it turns out that something is depending on it.
5639         Change suggested by Paul Eggert <eggert@twinsun.com>.
5641         Convert the character \037 (^_) at the beginning of a line into
5642         the character '^' followed by the character '_', because otherwise
5643         Emacs can't parse the resulting file as a valid BABYL file.
5644         Change suggested by Paul Eggert <eggert@twinsun.com>.
5646 1997-11-22  Richard Stallman  <rms@gnu.org>
5648         * b2m.c: Include getopt.h.
5649         (main): Use getopt_long to handle --version and --help.
5651         * Makefile.in (b2m): Define VERSION.  Link with $(GETOPTOBJS).
5653 1997-10-31  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5655         * pop.c (fullwrite): Get rid of an extra call to write.
5656         Problem pointed out by Chiaki Ishikawa.
5658 1997-10-16  Dave Love  <d.love@dl.ac.uk>
5660         * etags.c (L_getit): Always make named tags so that Emacs
5661         completion on symbols containing `:' etc. works.
5662         (get_scheme): Likewise.
5664 1997-09-24  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5666         * pop.c: Use system header files instead of declaring C-library
5667         functions explicitly.
5669 1997-09-19  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5671         * Version 20.2 released.
5673 1997-09-15  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5675         * Version 20.1 released.
5677 1997-09-02  Andrew Innes  <andrewi@harlequin.co.uk>
5679         * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
5681         * ntlib.c (getpid): Delete function.
5683 1997-08-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5685         * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
5687 1997-08-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5689         * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
5690         (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
5692 1997-08-14  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5694         * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
5696 1997-08-13  Kazushi (Jam) Marukawa  <jam@poboxes.com>
5698         * profile.c (get_time): Cast arg to fprintf.
5700         * hexl.c (main): Use %08lx instead of %08x in printf because the
5701         variable named addresses is long.
5703 1997-08-08  Geoff Voelker  <voelker@cs.washington.edu>
5705         * makefile.nt (lisp): Update paths to lisp files that have moved.
5707 1997-08-08  Andrew Innes  <andrewi@harlequin.co.uk>
5709         * makefile.nt (ctags.obj): New target.
5710         (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
5712         * ntlib.h: Add includes.
5713         Undo definitions of crt routines from config.h.
5715 1997-08-06  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5717         * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
5719 1997-07-22  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5721         * pop.c: Support auto-configuration of both Kerberos V4 and
5722         Kerberos V5 for movemail, including detection of V4 and V5 header
5723         files and libraries.
5724         Include <string.h> when STDC_HEADERS is defined, to get
5725         declarations of string functions.
5726         [KERBEROS5] (socket_connection): Support the current MIT Kerberos
5727         V5 API rather than the old one.
5728         [KERBEROS] (socket_connection): Change a constant name from
5729         SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
5730         with a constant in a header file.
5732         * Makefile.in: Support auto-configuration of both Kerberos V4 and
5733         Kerberos V5 for movemail, including detection of V4 and V5 header
5734         files and libraries.
5736 1997-07-17  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5738         * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
5740         * etags.c [HAVE_UNISTD_H]: Include unistd.h.
5742 1997-07-09  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5744         * emacsclient.c [C_ALLOCA] (xmalloc): New function.
5746 1997-07-04  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5748         * movemail.c (rindex): Add declaration.
5750 1997-07-01  Geoff Voelker  <voelker@cs.washington.edu>
5752         * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
5753         (movemail.exe): Depend upon and link with getopt files.
5754         (obj): Include new source files.
5755         (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
5756         (lisp): Include new and reorganized elisp files.
5758 1997-06-27  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5760         * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
5762 1997-06-25  Paul Eggert  <eggert@twinsun.com>
5764         * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
5766 1997-06-14  Karl Heuer  <kwzh@gnu.ai.mit.edu>
5768         * b2m.c (readline): Terminate buffer properly when EOF seen.
5769         Test for valid pointer before dereferencing it.
5771 1997-05-30  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5773         * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
5774         defined inside etags.c if HAVE_CONFIG_H is defined.
5776 1997-05-29  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5778         * etags.c (logical): Type name changed to bool.
5779         (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
5780         (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
5781         (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
5782         (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
5783         (longopts): New long options without short counterpart are
5784         globals, members, no-globals, no-members.  Regexp options are now
5785         defined  conditionally to ETAGS_REGEXPS.
5786         (print_help): Update.
5788 1997-05-22  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5790         * etags.c (C_entries): Use "." instead of "::" for Java.
5791         (consider_token): is_func renamed to is_func_or_var.
5792         (C_entries): is_func renamed to funorvar.
5793         (C_entries): Initialize tok.named.
5794         (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
5795         get rid of "import", "package" and "friend".
5796         (fvdef): Rename from funcdef.  Also some constants renamed.
5797         All users changed.
5798         (C_entries): Make separate tags for variables separated by comma.
5799         (globals, members): New flags.
5800         (main, C_entries): Use them.
5801         (make_C_tag, C_entries): Make tok a global variable.
5803 1997-05-16  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5805         * etags.c (funcdef): New vignore constant.
5806         (consider_token, C_entries): Use it to tag global variables.
5807         (print_help): Update for global variables.
5808         (consider_token, C_entries): Set the len member of token_name.
5809         (prolog_pred): Cleanup according to GNU coding standards.
5810         (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
5811         (prolog_white, erlang_white): Rename to eat_white, callers changed.
5813 1997-05-15  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5815         * etags.c (CHARS, CHAR): New constant and macro.
5816         (iswhite, begtoken, intoken, endtoken): Use them.
5817         (notinname, _nin, nonam): New macro, array, string.
5818         (init): Cleanup and init _nin.
5819         (new_pfnote): New function.
5820         (make_C_tag) [traditional_tag_style]: Use it.
5821         (traditional_tag_style): Constant set to TRUE for now.
5823 1997-05-14  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5825         * etags.c (C_entries, Pascal_functions): Cleanup.
5826         (TeX_functions): NULL as a function arg needs a cast.
5827         (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
5829 1997-05-13  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5831         * etags.c (TeX_functions): Cleaned up.
5832         (tex_getit): Remove.
5834 1997-05-13  Paul Eggert  <eggert@twinsun.com>
5836         * rcs2log (files): When computing arguments automatically, ignore
5837         non-files within the RCS subdirectory.
5839 1997-05-13  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5841         * etags.c (C_JAVA): New #define.
5842         (Cjava_suffixes): .java is Java.
5843         (Cjava_entries): New function.
5844         (lang_names): Add Java.
5845         (sym_type): Add st_C_javastruct for Java.
5846         (C_stab_entry): Add `extends' and `implements' keywords.
5847         (consider_token, C_entries): Recognize Java structures.
5849 1997-05-12  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5851         * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax.
5852         (Postscript_suffixes): .ps is PostScript.
5853         (lang_names): Add postscript.
5854         (Postscript_functions): New function.
5855         (TEX_decode_env): Close minor memory leak.
5856         (just_read_file): Correct the char number of the tag.
5858 1997-05-11  Paul Eggert  <eggert@twinsun.com>
5860         * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
5861         Don't prepend $nl since this causes some shells to generate the
5862         empty string when IFS is $nl.
5863         (printlogline): Use SOH (octal code 1), not CR, since some
5864         PC-based shells mishandle CR.
5865         (initialize_fullname): Set NIS_PATH to the empty string before invoking
5866         nismatch, in case it's set to some nonstandard value.
5868 1997-05-06  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5870         * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
5871         read in separate blocks.
5873 1997-04-30  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5875         * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
5876         (struct linebuffer): New member `len' is the length of the string.
5877         (find_entries, Pascal_functions, TeX_functions, TEX_getit):
5878         Use it instead of strlen.
5879         (TEX_getit): Declare and define unconditionally as static.
5880         (TeX_functions): Use if instead of #if TeX_named_tokens.
5881         (add_regex): Set RE_INTERVALS flag for regex compilation.
5882         (substitute): Code cleanup.
5883         (readline_internal): Code cleanup, set new member `len'.
5884         (readline): Bug corrected.
5886 1997-04-23  Geoff Voelker  <voelker@cs.washington.edu>
5888         * makefile.nt: Change references of windowsnt.h to ms-w32.h.
5889         (obj): Change references of nt*.c files to w32*.c files.
5891 1997-04-15  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5893         * etags.c (xnew): Add support for debugging with chkmalloc.
5894         (error): Use this instead of printf whenever possible.
5895         (main): Only call xnew after having initialized progname.
5896         (substitute): Bad memory corruption error corrected.
5898 1997-04-08  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5900         * etags.c (add_regex): Undo previous change.
5901         (relative_filename): Small memory leak closed.
5902         (absolute_filename): Cleaned up the code, possibly closing a bug.
5903         (absolute_dirname): Always return a newly allocated string.
5905 1997-03-21  Paul Eggert  <eggert@twinsun.com>
5907         * rcs2log (files): Ignore files in RCS directory whose names are
5908         of the form ,*, or *_; they are probably RCS lock files.
5909         Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
5910         they are used by rcsfreeze.
5912 1997-03-14  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5914         * etags.c (add_regex): Reset *putbuf before using it.
5916 1997-02-23  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5918         * movemail.c (popmail): Remove some unnecessary function
5919         declarations.
5920         (popmail, pop_retr): Since popmail always passes mbx_write and mbf
5921         into pop_retr, there's no reason to pass in mbx_write, and the
5922         file argument can be declared FILE * explicitly.  This fixes a
5923         compilation problem on systems with 64-bit pointers.
5925 1997-02-13  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
5927         * movemail.c: Delete duplicate inclusion of fcntl.h
5928         and duplicate #undefs of open, read, write, close.
5930 1997-01-20  Jonathan I. Kamens  <jik@kamens.brookline.ma.us>
5932         * movemail.c (main): Do not display "[POP-password]" in the usage
5933         message when movemail is compiled without POP support.
5934         (main, popmail): Add the optional "-p" argument, which causes
5935         movemail to leave mail in the inbox after copying it into the
5936         output file.
5938         * Makefile.in (movemail): Link with getopt.
5940 1997-01-20  Paul Eggert  <eggert@twinsun.com>
5942         * rcs2log (--help, --version): New options, per GNU coding standards.
5943         (Copyright, Help, Id): New variables, for above.
5944         (rlog): Use -q option with cvs log, to avoid useless chatter.
5946         Treat logs of "Initial revision" (RCS) or "file F was initially added
5947         on branch B." (CVS) as if they said "New file.", for consistency with
5948         change log entries.
5950 1997-01-01  Paul Eggert  <eggert@twinsun.com>
5952         * vcdiff (PATH): Add /usr/xpg4/bin,
5953         where XPG4 SCCS hangs out in Solaris 2.5.
5954         (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
5956 1996-12-19  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
5958         * etags.c (streq, strneq): Use == NULL rather than !.
5960 1996-12-18  Jonathan I. Kamens  <jik@annex-1-slip-jik.cam.ov.com>
5962         * Makefile.in (LIBMAIL): New macro.  Conditionally includes -lmail.
5963         (movemail): Use LIBMAIL, to link against -lmail.
5965         * movemail.c: Include maillock.h (conditionally).
5966         Remove a redundant inclusion of <stdio.h>.
5967         (MAIL_USE_MAILLOCK): New macro, conditionally defined.
5968         (main): Add variable spool_name.
5969         Support the usage of maillock and mailunlock to
5970         lock and unlock mailboxes.
5971         (mail_spool_name): New function.
5973         * movemail.c: Fix an uninitialized variable which could cause
5974         movemail to exit with an error status incorrectly on systems which
5975         use lock files rather than a system locking function to lock
5976         mailboxes.
5978 1996-12-16  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
5980         * pop.c (socket_connection): Free realhost after using it.
5982 1996-12-04  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5984         * etags.c (C_entries): Test tok.valid.  This handles some
5985         particular cases involving function declarations that failed.
5987 1996-11-22  Charles Hannum  <mycroft@gnu.ai.mit.edu>
5989         * pop.c (socket_connection):
5990         gethostbyname may return a pointer to static data.
5991         krb_realmofhost can clobber it.  So copy it.
5993 1996-11-14  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
5995         * etags.c (pfnote, fatal, error): Callers using a NULL pointer
5996         must cast it to (char *) because we have no prototypes.
5997         (make_C_tag): Macro deleted, new function.
5998         (C_entries): Calls to make_C_tag macro changed to call function.
6000 1996-11-13  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6002         * etags.c (grow_linebuffer): New function.
6003         (GROW_LINEBUFFER): Macro deleted.  All callers changed.
6004         (make_tag): Macro renamed to make_C_tag.  All callers changed.
6005         (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
6006         (Prolog_functions): prolog_skip_comment was called with wrong
6007         number of arguments.
6008         (xrealloc): fatal was called with wrong number of arguments.
6010 1996-11-08  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6012         * etags.c (relative_filename): Bug corrected.
6013         (etags_getcwd): Avoid warning of unused variable.
6014         (C_entries, consider_token): Add support for enum labels.
6016 1996-11-03  Paul Eggert  <eggert@twinsun.com>
6018         * rcs2log: When processing cvs log output, remove `Attic/' from
6019         repository file names.
6021 1996-10-22  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6023         * emacsserver.c: Fix 1996-09-02 change.
6025 1996-10-12  Paul Eggert  <eggert@twinsun.com>
6027         * rcs2log (rlog_options): Look for ' option' rather than 'unknown
6028         option', since CVS says 'invalid option'.
6029         (datearg): Use the empty string, not '-d>1970-01-01', to extract all
6030         revisions, since some hosts reject 1970-01-01 when east of UTC.
6031         (date): Remove.
6033 1996-10-06  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6035         * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
6037 1996-10-02  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6039         * etags.c (print_version): Print copyright info.
6041         * etags.c (print_help): Print the bug reporting address.
6042         (main): Use return as the last instruction, instead of exit.
6044         * etags.c (main): Don't open the tags file in cxref mode.
6046 1996-09-29  Dave Love  <d.love@dl.ac.uk>
6048         * rcs2log (date): Make default format acceptable to CVS post v1.8
6049         as well as earlier CVSs and RCS.
6051 1996-09-29  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6053         * movemail.c (main): If the lock call fails with EBUSY or
6054         EAGAIN, retry a few times.
6056 1996-09-25  Paul Eggert  <eggert@twinsun.com>
6058         * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
6059         whether to append -zLT.
6061 1996-09-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6063         * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
6064         * emacsclient.c, movemail.c: Likewise.
6066 1996-09-09  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6068         * emacsclient.c (longopts): Change nowait to no-wait.
6069         (print_help_and_exit): Fix option name; upcase metavars.
6071 1996-09-06  Erik Naggum  <erik@naggum.no>
6073         * emacsserver.c (main): Declare `fromlen' as size_t.
6075 1996-09-02  Eli Zaretskii  <eliz@is.elta.co.il>
6077         * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
6079 1996-09-02  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6081         * emacsclient.c (quote_file_name): Quote with &, not \.
6082         Quote `-' only at start of file name.  Terminate the value string.
6084         * emacsserver.c: Include signal.h properly;
6085         delete the duplicate includes for it.
6087         * emacsserver.c: On fatal signal, delete socket-file:
6088         * emacsserver.c: Include signal.h.
6089         (xmalloc, fatal, error): New functions.
6090         (delete_socket, handle_signals): New functions.
6091         (progname, socket_name): New variables.
6092         [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
6094 1996-09-01  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6096         * emacsclient.c (quote_file_name): New function.
6097         (main, both versions): Use quote_file_name.
6098         (decode_options): Don't return a value.
6099         (main, both versions): Use optind.
6100         Don't check for -nowait here.
6102         * emacsclient.c (decode_options): New function.
6103         (main, both versions): Call decode_options.
6104         (print_help_and_exit): New function.
6105         (VERSION): New macro.
6107         * Makefile.in (emacsclient): Link with getopt.
6108         Add -DVERSION so emacsclient knows its version number.
6110 1996-08-31  Geoff Voelker  <voelker@cs.washington.edu>
6112         * makefile.nt (lisp): Include dos-nt.elc.
6114 1996-08-31  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6116         * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
6118 1996-08-28  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
6120         * emacsclient.c (both versions): Handle -nowait and --nowait
6121         by sending data to the server.
6123 1996-08-26  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6125         * Makefile.in (INSTALL_STRIP): New variable.
6126         (${archlibdir}): Use INSTALL_STRIP.
6128         * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
6129         HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
6131         * pop.c: Reverse conditional in previous change.
6133 1996-08-24  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
6135         * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
6137 1996-08-24  Paul Eggert  <eggert@twinsun.com>
6139         * rcs2log: Use ISO 8601 date format, with time zone appended
6140         if change-log-time-zone-rule is non-nil, instead of
6141         traditional Unix date format.
6143         (datearg): When computing default from ChangeLog, handle ISO format
6144         dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
6145         Don't worry about hh:mm:ss since the resolution is now by day.
6146         Use empty datearg, not empty rlog_options, to decide whether to pass
6147         "$datearg" option to $rlog.
6148         (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
6149         (month_data): Remove `mo'; no longer needed.
6150         (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
6152         Match `revision' line of rlog output more accurately.
6154         Add -c, -v options.
6156 1996-08-23  Eli Zaretskii  <eliz@is.elta.co.il>
6158         * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
6160 1996-08-11  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
6162         * Version 19.33 released.
6164 1996-07-31  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
6166         * Version 19.32 released.
6168 1996-07-23  Andrew Innes  <andrewi@harlequin.co.uk>
6170         * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
6171         computing character positions in source files.
6173 1996-07-16  Andrew Innes  <andrewi@harlequin.co.uk>
6175         * makefile.nt (clean): Use OBJDIR macro.
6177 1996-07-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6179         * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
6181 1996-07-15  David Mosberger-Tang  <davidm@AZStarNet.com>
6183         * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
6184         * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
6185         * etags.c, fakemail.c, profile.c: Declare main as int, not void.
6187 1996-07-15  Andrew Innes  <andrewi@harlequin.co.uk>
6189         * ntlib.h: Correct return type of getwd.
6190         * ntlib.c (getwd): Correct return type.
6192 1996-07-02  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
6194         * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
6195         to infile.
6197 1996-07-01  Andrew Innes  <andrewi@harlequin.co.uk>
6199         * makefile.nt: Remove all references to wakeup.
6201 1996-06-28  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6203         * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
6204         explicit, mutable, typename.
6206 1996-06-29  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
6208         * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
6209         streams, one for sending and one for reading the reply.
6211 1996-06-21  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
6213         * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
6214         (wakeup): Target deleted.
6215         (UTILITIES): Delete wakeup and timer.
6217         * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
6219 1996-06-11  Geoff Voelker  <voelker@cs.washington.edu>
6221         * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
6222         * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
6224 1996-06-06  Richard Stallman  <rms@psilocin.gnu.ai.mit.edu>
6226         * etags.c (main): Copy cwd when appending slash.
6228 1996-05-25  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6230         * Version 19.31 released.
6232 1996-05-17  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6234         * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
6235         (Pascal_functions): Increase linecharno by the correct number of
6236         chars, inline the GET_NEW_LINE macro and delete its definition.
6238 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
6240         * makefile.nt (OBJDIR, BLD): Remove macro definitions.
6242 1996-05-03  Andrew Innes  <andrewi@harlequin.co.uk>
6244         * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6245         (movemail.exe, fakemail.exe): Now built under Win32.o.
6247         * ntlib.c: Include ntlib.h.
6248         (nt_sleep): Rename to sleep.
6249         (getwd): Return directory.
6250         (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
6251         sys_ctime, sys_fopen): New functions.
6253         * ntlib.h: New file.
6255 1996-04-29  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
6257         * pop.c (SEND, RECV): Rename from send, recv.
6258         (pop_open, pop_trash): Make the trash_started code unconditional.
6259         (socket_connection): Delete casts to void.
6261 1996-04-28  Richard Stallman  <rms@delasyd.gnu.ai.mit.edu>
6263         * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
6264         Definitions copied from lisp.h.
6266 1996-04-22  Andrew Innes  <andrewi@harlequin.co.uk>
6268         * fakemail.c [WINDOWSNT]: Include ntlib.h.
6270         * hexl.c [DOSNT]: Include fcntl.h.
6271         [WINDOWSNT]: Include io.h.
6272         (main) [MSDOS]: Change conditional to DOS_NT.
6274         * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
6275         (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
6276         [WINDOWSNT]: Include locking.h.
6277         (main): Update usage message.  Use IS_DIRECTORY_SEP.
6278         (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
6279         (main) [WINDOWSNT]: Invoke locking instead of flock.
6280         (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
6281         (main) [MAIL_USE_POP]: Pass password to popmail if used.
6282         Include winsock.h; don't include unix inet headers.
6283         (popmail): Add password argument and pass it to pop_open.
6284         Open output file in binary mode.
6286         * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
6287         Macro SOCKET_ERROR undefined.
6288         Don't declare h_errno.
6289         [!WINDOWSNT]: Define macros recv and send.
6290         [!WINDOWSNT] (POP_SERVICE): Change to pop3.
6291         (pop_open) [WINDOWSNT]: Initialize trash_started.
6292         (have_winsock) [WINDOWSNT]: New variable.
6293         (socket_connection) [WINDOWSNT]: Initialize winsock.
6294         (socket_connection): Use closesocket instead of close.
6295         (getline): Use recv instead of read.
6296         (fullwrite): Use send instead of write.
6297         (pop_trash): Use closesocket instead of close.
6298         (pop_trash) [WINDOWSNT]: Cleanup winsock.
6299         Check if being called recursively by sendline.
6301         * pop.h (struct _popserver): New field trash_started.
6303         * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
6305 1996-04-14  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6307         * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
6309 1996-04-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6311         * etags.c [WINDOWSNT]: Include io.h.
6313 1996-04-10  Geoff Voelker  <voelker@cs.washington.edu>
6315         * makefile.nt (CTAGSOBJ): Compile with regexp support.
6317 1996-04-09  Eli Zaretskii  <eliz@is.elta.co.il>
6319         * hexl.c [DJGPP v2]: Include io.h.
6320         (main) [DJGPP v2]: Switch standard streams to binary with setmode.
6322         * b2m.c (main) [MSDOS]: Switch standard streams to binary under
6323         DJGPP v2.
6325 1996-04-02  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6327         * etags.c (absolute_filename): Use absolutefn.
6329 1996-03-31  Eli Zaretskii  <eliz@is.elta.co.il>
6331         * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
6332         letter isn't an alphabetic character.
6333         (main) [DOS_NT]: Use binary mode on redirected `stdout'.
6334         (process_file) [DOS_NT]: Convert all slashes to forward style.
6335         (absolute_filename) [DOS_NT]: Emit error message for relative
6336         paths with a drive letter.
6337         (absolute_filename) [DOS_NT]: Handle absolute pathnames with
6338         DOS/NT drive letters which try to reference the parent of the root.
6339         (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
6341 1996-03-27  Geoff Voelker  <voelker@cs.washington.edu>
6343         * makefile.nt: Change uses of del to $(DEL).
6345 1996-03-22  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6347         * etags.c (just_read_file): Reset lineno and charno on entry.
6349 1996-03-15  Anders Lindgren  <andersl@csd.uu.se>
6351         * etags.c: Prolog language totally rewritten.
6352         (Prolog_functions): Rewritten from scratch.
6353         (skip_comment, prolog_getit): Remove.
6354         (prolog_skip_comment): New function, like old skip_comment.
6355         (prolog_pred, prolog_atom, prolog_white): New functions.
6356         (erlang_func, erlang_attributes): Forward declarations added.
6357         (erlang_atom): Check if backslash ends line inside quoted atom.
6359 1996-03-14  Francesco Potortì  <F.Potorti@cnuce.cnr.it>
6361         * etags.c (absolutefn): DOS_NT version corrected.
6362         (main): Append "/" to the dir name only if not already there.
6363         (print_help): Explain the absolute/relative file name issue.
6365 1996-03-08  Anders Lindgren  <andersl@csd.uu.se>
6367         * etags.c: New Language Erlang added.
6368         (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
6369         (erlang_white): New functions.
6370         (Erlang_suffixes): New suffix list.
6371         (lang_names): Erlang entry added.
6372         (prolog_getit): Accepts headers spanning several lines.
6373         Always name tags.
6374         (Prolog_functions): Remove incorrect compensation for
6375         newline characters.
6376         (readline_internal): Zero-terminate last line.
6378 1996-03-20  Mike Long  <mike.long@analog.com>
6380         * b2m.c (main): Initialize progname variable before using it.
6381         Quote `username' in From_ header.
6383 1996-03-18  Geoff Voelker  <voelker@cs.washington.edu>
6385         * ntlib.c (getpid): New function.
6387 1996-02-21  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
6389         * emacsclient.c (main, both definitions):
6390         Print a newline for normal termination.
6392 1996-02-21  Noah Friedman  <friedman@prep.ai.mit.edu>
6394         * tcp.c (main): Convert port to network byte order.
6396 1996-01-20  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6398         * pop.c (pop_retrieve, getline): Avoid type clashes.
6400 1996-01-19  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6402         * etags.c (enum sym_type, anonymous enum): Delete final comma.
6404 1996-01-15  Paul Eggert  <eggert@twinsun.com>
6406         * rcs2log (initialize_fullname): Add support for NIS+.
6407         (hostname): Fully qualify the default hostname with the domainname
6408         if the hostname lacks a `.'.
6410 1996-01-10  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6412         * etags.c (consider_token): Fix typo in expression.
6414 1996-01-04  Paul Eggert  <eggert@twinsun.com>
6416         * etags.c (substitute): Fix spelling in message.
6418 1996-01-03  George V. Reilly  <georger@microcrafts.com>
6420         * makefile.nt (etags, ctags): Compile with regexp support.
6421         (make-docfile, wakeup, etags, ctags, hexl): Ensure build
6422         subdirectory exists before compiling.
6424 1996-01-02  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6426         * emacsserver.c (main): Do chmod based on existing permission.
6428 1995-12-27  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6430         * Makefile.in (install): Turn on read/execute permission.
6432 1995-12-03  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
6434         * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
6435         (LOADLIBES): Use LIB_STANDARD_LIBSRC.
6437 1995-12-01  Richard Stallman  <rms@whiz-bang.gnu.ai.mit.edu>
6439         * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
6441 1995-12-07  Francesco Potortì  <pot@cnuce.cnr.it>
6443         * etags.c (pfnote): Don't make a tag for ctags if there is no name.
6444         (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
6445         get_scheme, prolog_getit): Name the tag in ctags mode.
6446         (pfnote): Truncate ctags lines to 50 chars, like it worked once.
6447         (Perl_interpreters): Accept "@PERL@" as an interpreter.
6448         (suggest_asking_for_help): New function.
6449         (main, get_language_from_name): Use suggest_asking_for_help.
6450         (main): Let get_language_from_name make language existence check.
6451         (streq, strneq): Check the arguments #if DEBUG.
6453 1995-12-06  Francesco Potortì  <pot@cnuce.cnr.it>
6455         * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
6456         (gperf): Add keywords for Objective C and GNU macros.
6457         (sym_type): Add values to account for Objective C and GNU macros.
6458         (begtk): The '@' character can start a token.
6459         (objdef, methodlen, objtag): New variables for Objective C.
6460         (consider_token, C_entries): Add code for Objective C.
6461         (plain_C_suffixes): Add .m and .lm for Objective C.
6462         (Yacc_suffixes): Add .ym for Objective yacc.
6463         (GROW_LINEBUFFER): New macro.
6464         (consider_token, C_entries, Pascal_functions): Use the new macro.
6465         (consider_token): Take one more argument.  Caller changed.
6466         (consider_token): Use the hashing function to spot GNU macros.
6467         (C_entries): Consider // as a comment start even in plain C for
6468         the sake of Objective C parsing.
6470 1995-12-04  Francesco Potortì  <pot@cnuce.cnr.it>
6472         * Makefile.in (ctags): Depend on etags only for simplicity;
6473         compile with regexp support enabled.
6475 1995-11-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6477         * Version 19.30 released.
6479 1995-11-22  Geoff Voelker  <voelker@cs.washington.edu>
6481         * makefile.nt (DOC, clean): Don't use switches to del not
6482         supported by Windows 95.
6484 1995-11-13  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6486         * Makefile.in (regex.o): Depend on ../src/config.h.
6488 1995-11-12  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6490         * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
6491         (LOADLIBES): Use LIB_STANDARD.
6493 1995-11-07  Kevin Gallo  <kgallo@microsoft.com>
6495         * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
6496         w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
6497         Windows 95 conditional.
6499 1995-11-06  Francesco Potortì  (pot@cnuce.cnr.it)
6501         * etags.c (get_lang_from_name, get_lang_from_interpreter)
6502         (get_lang_from_suffix): New functions.
6503         (get_language): Function deleted.
6504         (lang_entry): Two members added to struct.
6505         (lang_names): Reflect the new layout of lang_entry.
6506         (print_language_names, main, find_entries): Use the new functions.
6507         (find_entries): Look at the first line for #! if no language.
6508         (C_entries): Invalidate the token when funcdef is reset.
6509         (Perl_functions): New function.
6510         (lang_suffixes): .pl and .pm are Perl suffixes.
6512 1995-11-02  Francesco Potortì  (pot@cnuce.cnr.it)
6514         * etags.c (lowcase): Use the standard tolower function.
6515         (substitute): Remove some wrong and some useless code related with
6516         escape '\' character in regexp replacement string.
6517         (TEX_defenv): Add part, appendix, entry, index.  Remove typeout.
6518         (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
6519         .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
6520         .prolog for prolog (.pl removed).
6521         (massage_name, etags_getcwd): Use lowcase instead of tolower.
6522         (C_entries, find_entries): Add comments about memory leakage.
6523         (add_node): Dead code removed.
6525 1995-10-29  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6527         * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
6528         (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
6530 1995-08-30  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6532         * test-distrib.c: Add #undef for open, close, read, write.
6534 1995-08-23  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
6536         * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
6537         [! O_RDONLY]: Define it to zero.
6538         (main): Use O_RDONLY instead of explicit zero.
6540 1995-08-17  Francesco Potortì  (pot@cnuce.cnr.it)
6542         * etags.c (Pascal_functions): Close comment bug corrected.
6543         (add_node): Correctly compare node file names.
6544         (Pascal_functions): Correctly allocate and free memory for tline.
6545         (pfnote): Put the definition of fp in the innermost block.
6546         (NODE): `named' member removed.
6547         (pfnote, free_tree, put_entries, total_size_of_entries): Do not
6548         use the `named' member, check whether `name' is NULL instead.
6549         (pfnote): `named' argument removed, all callers changed.
6550         (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
6551         TeX_functions, TEX_getit, prolog_getit): Useless string allocation
6552         removed from pfnote call, some code cleanup.
6553         (relative_filename): Free temporary space allocated by concat.
6555 1995-08-16  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6557         * Makefile.in (getdate.c): New target.
6558         (getdate.o): Just compile getdate.c.
6560 1995-08-12  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6562         * fakemail.c (xrealloc): Change cast to match return type.
6564 1995-08-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6566         * fakemail.c (xmalloc, xrealloc): Use return-type long *.
6568 1995-08-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6570         * movemail.c (main): Fix previous change.
6571         Add error check for empty OUTNAME.
6573 1995-08-05  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6575         * movemail.c (main): Mention lock file name in error message.
6577 1995-07-30  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6579         * profile.c (gettimeofday): New function, defined if necessary.
6581 1995-07-18  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6583         * Makefile.in: Renamed from Makefile.in.in.
6584         (distclean): Delete Makefile.c, not Makefile.in.
6586 1995-07-17  Michael Shields  <shields@tembel.org>
6588         * Makefile.in.in (tags): Synonym for `TAGS'.
6590 1995-07-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6592         * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
6593         configure has already set $(INSTALL) to the proper relative path.
6595 1995-07-08  Paul Eggert  <eggert@twinsun.com>
6597         * rcs2log (datearg): Separate date from time with comma, not space,
6598         to work around CVS 1.5 bug.
6599         (CVSROOT): Don't abort when unset if repository is absolute.
6601 1995-07-07  Paul Eggert  <eggert@twinsun.com>
6603         * rcs-checkin, rcs2log, vcdiff:
6604         Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
6605         that interpret `#! /' as a 4-byte magic number.
6607 1995-06-29  Jonathan I. Kamens  <jik@cam.ov.com>
6609         * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
6610         mailbox with "po:mailbox", the mailbox is everything after the
6611         "po:" prefix.
6613 1995-06-28  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6615         * emacsserver.c: Make all error messages start with `Error: '.
6616         (fatal_error, perror_1): New functions, use throughout.
6618 1995-06-28  Paul Eggert  <eggert@twinsun.com>
6620         * rcs2log (CVSROOT, repository):
6621         Allow remote repositories a la CVS 1.4.
6623 1995-06-27  Francesco Potortì  (pot@cnuce.cnr.it)
6625         * etags.c (plain_C_entries): New function.
6626         (lowcase): New macro.
6627         (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
6628         (lang_suffixes): New suffix ".pc" for Pro*C files.
6629         (consider_token): Don't tag all tokens beginning with DEFUN & Co..
6630         (tail): Look for the end of the token when comparing.
6631         (takeprec): Since now tail behaves differently, use strneq.
6633 1995-06-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6635         * movemail.c (main): Add newline in usage message.
6637 1995-06-21  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6639         * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
6641 1995-06-21  Francesco Potortì  (pot@cnuce.cnr.it)
6643         * etags.c (find_entries): Rewind before rereading the input file.
6645 1995-06-20  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6647         * Version 19.29 released.
6649         * make-docfile.c (main) [MSDOS]: Do set _fmode.
6650         This undoes part of the previous change.
6652 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6654         * make-docfile.c (main): On MSDOS, don't change stdout
6655         to binary, and insist on an -o option.
6657 1995-06-13  Geoff Voelker  <voelker@cs.washington.edu>
6659         * etags.c (process_file, absolute_filename): Handle filenames
6660         starting with a drive letter.
6662         * makefile.nt (install): Copy wakeup.exe properly.
6664 1995-06-08  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6666         * make-docfile.c [MSDOS]: #undef chdir.
6668 1995-06-04  Paul Eggert  <eggert@twinsun.com>
6670         * rcs2log (output_authors): Allow ':' in time zone,
6671         as per ISO 8601 and RCS 5.6.8 beta.
6673 1995-05-29  Francesco Potortì  (pot@cnuce.cnr.it)
6675         * etags.c (etags_getcwd): Undo the /bin/pwd change.  It may raise
6676         compatibility problems.
6678 1995-05-26  Richard Stallman  <rms@gnu.ai.mit.edu>
6680         * etags.c (etags_getcwd): Don't use #elif.
6681         Have just one function body.
6683 1995-05-25  Geoff Voelker  <voelker@cs.washington.edu>
6685         * makefile.nt (LIBS): Use BASE_LIBS.
6686         (make-docfile.exe, hexl.exe, wakeup.exe, etags.exe): Don't depend
6687         upon LIBS.
6688         (DOC): Use del instead of rm.
6689         (DOC) [WINDOWS95]: Use DOC.
6690         (clean): Handle MSVC aux files.
6691         (config.h, paths.h): Use $(CP) instead of cp.
6692         (config.h): Use $(CONFIG_H)
6693         (make-docfile.obj): Depend upon config.h.
6694         Clean up comments.
6696 1995-05-23  Francesco Potortì  (pot@cnuce.cnr.it)
6698         * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
6699         former gives the true path even in the presence of simlinks.
6701 1995-05-07  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6703         * movemail.c (main): Increase lock timeout to five minutes.
6705 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
6707         * makefile.nt (obj): Use .c files.
6709 1995-05-04  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6711         * make-docfile.c: Include config.h.
6712         (NO_SHORTNAMES): New definition.
6713         (xmalloc): Return long *.
6715         * etags.c (C_entries): Cast result of xrealloc.
6716         (xmalloc, xrealloc): Declare them to return long *.
6718         * b2m.c (xmalloc, xrealloc): Declare them long *.
6720         * movemail.c (xmalloc): Declare it to return long *.
6722 1995-04-30  Paul Eggert  <eggert@twinsun.com>
6724         * rcs2log (datearg): If rlog options are specified explicitly,
6725         omit the implicit '-d>DATE' option.
6726         (repository, rlog): Allow absolute paths to CVS repositories.
6727         Look only at the first line of CVS/Repository.
6729 1995-04-26  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6731         * Makefile.in.in (extraclean): Depend on maintainer-clean, not
6732         realclean.
6734 1995-04-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6736         * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
6737         Alternative (empty) definitions.
6739 1995-04-18  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6741         * emacsclient.c (main): Add argv[0] to an error message.
6743 1995-04-13  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6745         * emacsclient.c (main): Improve error handling.
6746         * cvtmail.c (main, skip_to_lf): Improve error handling.
6747         (sysfail): New function.
6749         * b2m.c (main): Check for trailing ", " before trying to delete it.
6751 1995-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6753         * Makefile.in.in (all): Build test-distrib and make-docfile.
6755         * make-docfile.c (scan_c_file): At end, restore file name last char
6756         to its original value.
6758 1995-04-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6760         * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
6762 1995-04-08  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6764         * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
6765         (alloca.o, regex.o): Use BASE_CFLAGS.
6767 1995-04-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6769         * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
6771 1995-04-04  Karl Heuer  <kwzh@gnu.ai.mit.edu>
6773         * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
6774         (SOURCES, distclean): Remove obsolete references to aixcc.
6776 1995-04-02  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6778         * aixcc.lex: File deleted--surely obsolete now.
6780 1995-03-23  Paul Eggert  <eggert@twinsun.com>
6782         * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
6783         portability to mawk and nawk.
6785 1995-03-21  Paul Eggert  <eggert@twinsun.com>
6787         * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
6788         -u "login<tab>fullname<tab>mailaddr".
6790 1995-03-21  Paul Eggert  <eggert@twinsun.com>
6792         * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
6793         replaces the (now obsolescent) -n login fullname mailaddr option.
6794         Add -R option for recursive rlog.
6795         (AWK): New environment variable (default `awk') for awk program name.
6796         (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
6797         Quote authors and fullnames correctly.
6798         Don't omit path from repository root when logging CVS files.
6800 1995-03-15  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6802         * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
6803         even if HAVE_SYSVIPC.
6804         * emacsclient.c (main): Use getcwd if not BSD.
6806 1995-03-13  Francesco Potortì  (pot@cnuce.cnr.it)
6808         * etags.c (process_file): Free (filename) after using it.
6809         (readline_internal): Do not access the char before start of line.
6811 1995-02-22  Francesco Potortì  (pot@cnuce.cnr.it)
6813         * etags.c (C_entries): token_saved removed.  Initialize tok.valid and
6814         savetok.valid.  Mark token as valid when it is initialized.
6815         (make_tag): Make token only if token is valid and reset validity.
6816         (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
6817         (TOKEN): Add a new member: valid.
6819 1995-02-15  Francesco Potortì  (pot@cnuce.cnr.it)
6821         * etags.c (C_entries): Bug corrected in xrealloc of token_str.
6822         (main): Do not read twice the last filename in the stdin file list.
6824 1995-02-14  Francesco Potortì  (pot@cnuce.cnr.it)
6826         * etags.c (C_entries): Initialize the new members of TOKEN.
6827         (C_entries): Do not allocate a new space for each token found by
6828         consider_token.  Let make_tag do that instead.
6829         (make_tag): Since now TOKEN has memory of where it is taken from,
6830         this new macro substitutes both make_tag_from_new_lb and
6831         make_tag_from_oth_lb.  All callers changed.
6832         (TOKEN): Add linepos and buffer members.
6833         (main): Initialize token_str.
6834         (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes.
6835         (token_str): New global variable used by C_entries.
6837 1995-02-07  Richard Stallman  <rms@pogo.gnu.ai.mit.edu>
6839         * Makefile.in.in (maintainer-clean): Rename from realclean.
6841 1995-02-01  Francesco Potortì  (pot@cnuce.cnr.it)
6843         * etags.c (pfnote): Initialize been_warned in the node.
6844         (C_entries): Remove a speed hack for the sake of clarity.
6846 1995-01-18  Francesco Potortì  (pot@cnuce.cnr.it)
6848         * etags.c (longopts, print_help, main): Use -I as abbreviation
6849         for the --ignore-indentation option.
6850         (main): Do not print an error message for unknown options.
6852 1995-01-12  Francesco Potortì  (pot@cnuce.cnr.it)
6854         * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Delete.
6855         (append_to_tagfile, typedefs, typedefs_and_cplusplus)
6856         (constantypedefs, update, vgrind_style, no_warnings)
6857         (cxref_style, cplusplus, noindentypedefs): Were int, now logical.
6858         (permit_duplicates): Was a var, now a #define.
6859         (filename_lb): Was global, now local to main.
6860         (main): Open the tag file when in cxref mode.
6861         Use a BUFSIZ size buffer for making the shell commands.
6862         Look at the return value from the system routine.
6863         Exit when cannot open the tag file.
6864         (process_file): Open the file and pass the FILE* to find_entries.
6865         (find_entries): Now void, because does not open the file itself.
6866         (pfnote): Recovering from lack of memory does not work.  Removed.
6867         Use savenstr and simplify the code.
6868         (free_tree): Only free the name space if node is named.
6869         (structtag): Now a pointer, not a fixed length array of chars.
6870         (consider_token): Don't take a token as argument.  Use savenstr
6871         when saving a tag in structtag.  Callers changed.
6872         (TOKEN): Structure changed.  Now used only in C_entries.
6873         (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Delete.
6874         (C_entries): nameb and savenameb deleted.  Use dinamic allocation.
6875         (pfcnt): Delete.  Users updated.
6876         (getit, Asm_labels, Pascal_functions, L_getit, get_scheme)
6877         (TEX_getit, prolog_getit): Use dinamic allocation for storing
6878         the tag instead of a fixed size buffer.
6880 1995-01-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6882         * movemail.c (main): Skip past the colon in inname.
6884 1995-01-10  Francesco Potortì  (pot@cnuce.cnr.it)
6886         * etags.c (pfatal): New function.
6887         (main, etags_getcwd): Use pfatal.
6888         (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
6890 1995-01-10  Francesco Potortì  (pot@cnuce.cnr.it)
6892         * etags.c (Lang_function): Use void instead to declare the
6893         language functions, because many compilers are buggy.
6894         (etags_getcwd): Fix the previous fix on the #else branch.
6895         (readline_internal): Discard possible \r before \n here.
6896         (C_entries): Do not deal with \r here: undo previous fix.
6898 1995-01-09  Francesco Potortì  (pot@fly)
6900         * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
6901         functions and a macro that allow the program to work on input
6902         lines of whatever length.  Copied from etags.c.
6903         (fatal): Print a fatal error message and exit.
6904         (main): Use the new functions.  Fixed a bug that made a \037 char
6905         appear at the end of the output.
6907 1995-01-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6909         * etags.c (C_entries): Ignore carriage return at end of line.
6911 1994-12-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6913         * fakemail.c (xmalloc, xrealloc): Add casts.
6914         (add_field): Handle <...> and "..." syntax.
6915         (setup_files, get_keyword): Clean up parens and line breaks.
6916         (args_size): Likewise.
6918 1994-12-21  David J. MacKenzie  <djm@geech.gnu.ai.mit.edu>
6920         * yow.c: Include program name in error messages.
6922 1994-12-21  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6924         * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
6925         (xmalloc, fatal, error): New functions.
6926         (progname): New variable.
6927         (main): Set progname.
6929 1994-12-05  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6931         * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
6932         (main): If socket/mqueue name is in home dir, add in the host name.
6933         Rename .emacs_server to .emacs-server....
6935 1994-12-04  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6937         * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
6939 1994-11-22  Francesco Potortì  (pot@cnuce.cnr.it)
6941         * etags.c (print_help): Print --regex usage for ctags also.
6942         (main): Use -h in addition to -H as abbreviation for --help.
6944 1994-11-16  Francesco Potortì  (pot@cnuce.cnr.it)
6946         * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
6947         is compiled if this is defined.  The new functions and variables
6948         added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
6949         [VMS]: All VMS specific code previously contained in
6950         etags-vmslib.c is now included here, modified for dealing with
6951         language and regex options intermixed with filenames.
6952         (header_file): Global variable deleted.
6953         (Lang_Function): New typedef.  All language parser functions
6954         changed to this new type.
6955         (string_numeric_p, substr, prestr): Functions deleted.
6956         (readline_internal): Does the job that readline did previously.
6957         (longopts): --language and --regex options added.
6958         (lang_names, lang_extensions, lang_func, print_language_names):
6959         New structures, variables and functions for choosing languages.
6960         (print_help): Help strings updated.  Calls print_language_names.
6961         (argument_type, ARGUMENT): Typedefs for dealing with language and
6962         regex options intermixed with filenames.
6963         (main): Change the way of dealing with arguments on the command
6964         line to deal with language and regex options intermixed with
6965         filenames.
6966         (get_language, default_C_entries, Cplusplus_entries,
6967         Cstar_entries, Yacc_entries, just_read_file): New functions.
6968         (find_entries): Use the new method for choosing the language.
6969         (Pascal_functions): Allow intermixing of comment styles.
6970         (prolog_getit, skip_comment): Rewritten for speed.
6971         (readline): Rewritten to deal with regexps.
6973 1994-11-16  Francesco Potortì  (pot@cnuce.cnr.it)
6975         * etags.c (<errno.h>): #include added.
6976         (etags_getcwd): Check return value from getcwd.
6978 1994-11-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
6980         * profile.c (TV1, TV2): Use EMACS_TIME as type.
6981         (get_time): Use EMACS_SUB_TIME.
6983 1994-10-30  Geoff Voelker  <voelker@cs.washington.edu>
6985         * ntlib.c: New file.
6986         * makefile.nt: New file.
6988         * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
6989         [WINDOWSNT]: Include the NT headers.
6990         (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
6992         * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
6993         [WINDOWSNT]: Include some NT headers.
6995 1994-10-24  Jonathan I. Kamens  (jik@cam.ov.com)
6997         * pop.c (getline): When a search of already-read input for CRLF
6998         fails, store the fact that we've searched it and don't search it
6999         again after reading more data.
7001         * pop.c (getline): When determining whether or not it's necessary
7002         to grow the input buffer, take into account the null that's stored
7003         at the end of already-read input in the buffer.
7005 1994-10-21  Francesco Potortì  (pot@cnuce.cnr.it)
7007         * etags.c (prestr, substr): Return a logical type.
7008         (consider_token): Comment out "EXFUN".  Use "DEFUN" instead of "DEF".
7009         (consider_token): Set funcdef to fignore when a DEFUN is met.
7010         (C_entries): Now we can use Tom Hageman patch for extern "C".
7012 1994-10-20  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7014         * movemail.c: PopServer renamed to popserver throughout.
7016 1994-10-20  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
7018         * etags.c: Don't declare malloc, since we include config.h.
7019         * fakemail.c: Likewise.
7021 1994-10-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7023         * movemail.c: Don't declare malloc.
7025 1994-10-19  David J. MacKenzie  <djm@duality.gnu.ai.mit.edu>
7027         * rcs-checkin: Use test -r instead of < to check readability, to
7028         avoid syntax error.
7030 1994-10-19  Jonathan I. Kamens  (jik@cam.ov.com)
7032         * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
7033         defined, and if HAVE_CONFIG_H isn't defined, define
7034         MAIL_USE_POP always (so that this file can be included in
7035         other programs besides emacs).
7037         * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
7038         HAVE_CONFIG_H isn't defined.
7040         * pop.c (find_crlf, getline): Instead of using strstr, use a
7041         custom function for finding CRLF.
7042         (my_strstr): Function deleted.
7044 1994-10-17  Jonathan I. Kamens  (jik@cam.ov.com)
7046         * pop.c (getline): Fix a segfault because of passing a
7047         non-null-terminated string into strstr().  Fix from
7048         djm@va.pubnix.com (David J. MacKenzie).
7050         * pop.c: Don't include <string.h> and <strings.h>.
7052         * pop.c: Include <des.h> before <krb.h>, rather than after.
7053         They should be interchangeable, and indeed the inclusion is done in
7054         both orders in various files in the Kerberos 4 library sources,
7055         but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
7056         requires that <des.h> be included first, and I don't see any harm
7057         in changing the order.
7059         * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
7060         STDC_HEADERS, if they're defined.  Undef open, read, write and
7061         close after including it.
7063 1994-10-18  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7065         * pop.c: Fix mismatch in conditionals.
7067         * make-docfile.c (main): Don't process one input file twice.
7068         Never use exit code > 1.
7070         * pop.c (open, close, read, write): Add #undefs.
7072         * pop.c: Don't declare malloc, realloc, free.
7073         Include ../src/config.h.
7074         Don't include string.h or strings.h.
7075         Include des.h before krb.h.
7076         Do declare my_strstr.
7077         (getline): Really use my_strstr.
7078         Leave one empty place in server->buffer,
7079         and put a null at the end of the data in it.
7081 1994-10-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7083         * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
7084         Don't call kill with pid 0.  Handle EINTR when receiving messages.
7086 1994-10-17  Karl Heuer  <kwzh@gnu.ai.mit.edu>
7088         * Makefile.in.in (regex.o): Use full path to find regex.c.
7090 1994-10-17  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7092         * Makefile.in.in (etags): Add dependency on regex.o, link with it.
7093         (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
7095 1994-10-12  David J. MacKenzie  (djm@duality.gnu.ai.mit.edu)
7097         * Makefile.in.in (DONT_INSTALL): Remove make-path.
7098         (${archlibdir}): Use mkinstalldirs instead.
7100         * movemail.c: Make functions that return nothing void, not
7101         implicitly int.
7102         (main): Improve usage message.
7103         (error): Write to stderr, not stdout.
7105         * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
7106         * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
7107         * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
7108         warnings from unused variables and implicitly declared functions.
7110 1994-10-11  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7112         * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
7113         (distclean): Not here.
7115         * Makefile.in.in (libexecdir): Rename from libdir.
7117 1994-10-11  Francesco Potortì  (pot@cnuce.cnr.it)
7119         * etags.c (C_entries): Name the #define's that are macros.
7121 1994-10-10  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
7123         * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
7124         fd_set arg is a pointer, descriptor arg comes first.
7126 1994-09-29  Francesco Potortì  (pot@cnuce.cnr.it)
7128         * etags.c (C_entries): Recognize typedef of ANSI style functions.
7129         (C_entries): Recognize #define inside a struct.
7130         (C_entries): ANSI tells that preprocessor commands do not have to
7131         start on the first column.
7132         (print_help): Documentation corrected for -d and -D.
7133         (white, endtk): ANSI tells the vertical tab is a separator.
7135 1994-09-24  Jonathan I. Kamens  (jik@gza-client1.aktis.com)
7137         * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
7138         (pop.o, movemail.o): New targets.
7139         (movemail): Link in pop.o and movemail.o.  Use MOVE_LIBS, MOVE_FLAGS.
7141         * pop.c, pop.h: New files.
7143         * movemail.c: Improve POP code, move most of it into a separate file.
7144         (mbx_delimit_end, mbx_delimit_begin): Check for errors.
7145         (mbx_write): Check for errors and for From line.
7146         (pop_retr, popmail): Use subroutines in pop.c to do the real work.
7147         (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
7148         (pop_init): Functions deleted.
7150 1994-09-23  Richard Stallman  <rms@churchy.gnu.ai.mit.edu>
7152         * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
7153         Rename path to dirname.
7155 1994-09-23  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7157         * Makefile.in.in (UTILITIES):
7158         Remove test-distrib, make-docfile, make-path.
7159         (DONT_INSTALL): New variable--list those files here.
7160         (clean): Delete the files in DONT_INSTALL.
7162 1994-09-20  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7164         * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
7165         (main): Use fgets, not gets.
7167 1994-09-17  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7169         * timer.c: Don't declare malloc.
7171 1994-09-16  Karl Heuer  <kwzh@gnu.ai.mit.edu>
7173         * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
7174         defined, use simple 32-bit versions of these macros.
7175         (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
7177 1994-09-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7179         * etags.c (etags_getcwd): Use getcwd if available.
7181 1994-09-11  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7183         * Version 19.27 released.
7185 1994-09-07  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7187         * Version 19.26 released.
7189 1994-08-15  Paul Eggert  <eggert@twinsun.com>
7191         * rcs2log: Add support for CVS.
7192         Work with `rlog's that output ISO 8601 dates.
7194 1994-08-09  Lawrence R. Dodd  <dodd@roebling.poly.edu>
7196         * rcs2log: Use <> to delimit email address.
7198 1994-08-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7200         * emacsserver.c [SYSV_IPC] (main): Make a separate process
7201         so we can listen for multiple requests.
7203 1994-08-04  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7205         * movemail.c: Include config.h first thing.
7207 1994-08-01  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7209         * emacsserver.c (main): Add casts to avoid warnings.
7211 1994-07-29  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7213         * Makefile.in.in (${archlibdir}): Compare the proper dir
7214         before installing the scripts.
7216 1994-07-27  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7218         * emacsclient.c (main): New local var progname saves argv[0].
7220 1994-07-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7222         * emacsclient.c (main): Don't actually modify argv[0].
7223         Modify a copy instead.
7225 1994-07-25  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
7227         * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
7228         (tzp): Var deleted.
7230         * Makefile.in.in: Add #undef alloca.
7232 1994-07-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7234         * timer.c (xmalloc): New function.
7236 1994-07-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7238         * Makefile.in.in (ALLOCA_CFLAGS): New variable.
7239         (alloca.o): New target.
7241 1994-07-08  Dave Love  (d.love@dl.ac.uk)
7243         * etags.c (takeprec): Recognize `character*(*) function'.
7245 1994-07-08  Francesco Potortì  (pot@cnuce.cnr.it)
7247         * etags.c (main): Don't barf on obsolete -t and -T switches.
7248         (main): Print an explicative message when a switch is not known.
7250 1994-06-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7252         * hexl.c: Don't declare exit or perror.
7254         * emacsserver.c (main): Don't declare geteuid.
7255         Don't declare getenv if convex.
7257 1994-06-07  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7259         * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
7261 1994-06-03  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7263         * etags.c (absolute_filename): Remove infinite loop bug when
7264         accessing files in directories whose name begins with a dot.
7266 1994-06-03  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7268         * etags.c (etags_getcwd): Delete the trailing newline from cwd.
7270 1994-06-01  Morten Welinder  (terra@diku.dk)
7272         * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
7273         location of data directory.
7275 1994-05-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7277         * Version 19.25 released.
7279 1994-05-28  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7281         * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
7283 1994-05-27  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7285         * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
7287 1994-05-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7289         * Version 19.24 released.
7291 1994-05-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7293         * make-docfile.c (write_c_args): Put `default' in upper case.
7295 1994-05-17  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7297         * etags.c (etags_getcwd): Cast result of popen.
7298         (popen): Declaration deleted.
7300 1994-05-17  Karl Heuer  (kwzh@gnu.ai.mit.edu)
7302         * etags.c [!MSDOS]: Declare popen.
7304 1994-05-17  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7306         * b2m.c (main): Avoid crash if argc is 1.
7308 1994-05-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7310         * Version 19.23 released.
7312         * Makefile.in.in (blessmail): Specify directory for blessmail.el.
7314 1994-05-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7316         * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
7318 1994-05-05  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
7320         * Makefile.in.in: Fix out of date comment.
7322 1994-05-05  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7324         * Makefile.in.in: Put in a separator for where to start cpp procssing.
7325         Move all autoconf substitutions above that point.
7326         Above that point, use Make-style comments.
7327         This goes with changes in ../configure.in.
7329 1994-05-03  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7331         * Makefile.in.in (maybe-blessmail): New target to print the blessmail
7332         warning message.
7333         (${archlibdir}): Don't do it here.  Don't depend on blessmail.
7335 1994-05-02  Karl Heuer  (kwzh@gnu.ai.mit.edu)
7337         * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
7339 1994-05-01  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7341         * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
7342         print advice to run it, if it has anything significant to do.
7343         And only if MOVEMAIL_NEEDS_BLESSING.
7344         (blessmail): Use emacs, not temacs.
7345         (configuration): Rename from configname.
7347 1994-04-30  Morten Welinder  (terra@diku.dk)
7349         * etags.c (find_entries): Treat `*.cpp' as C++ files.
7351 1994-04-30  Morten Welinder  (terra@diku.dk)
7353         * etags.c [MSDOS]: #include <sys/param.h> for the following.
7354         [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
7355         a shell.
7357 1994-04-29  Morten Welinder  (terra@diku.dk)
7359         * hexl.c [MSDOS]: Don't define proto type for exit.
7361 1994-04-28  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7363         * b2m.c: Don't include string.h or strings.h.
7365 1994-04-27  Karl Heuer  (kwzh@gnu.ai.mit.edu)
7367         * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
7368         symbols, not make variables.
7370 1994-04-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7372         * Makefile.in.in (etags, ctags): Make VERSION a string constant.
7373         * etags.c (print_version): Print VERSION as a string.
7375 1994-04-20  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7377         * fakemail.c (readline): Fix updating of p when buffer grows.
7379 1994-04-20  Karl Heuer  (kwzh@gnu.ai.mit.edu)
7381         * Makefile.in.in (blessmail): New target.
7382         ${archlibdir}: Use blessmail when installing movemail.
7384 1994-04-18  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7386         * fakemail.c (readline): When extending the buffer,
7387         calculate end afresh using the new size.
7389 1994-04-18  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7391         * etags.c (main, print_help): Eliminate the -F option.
7393 1994-04-18  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7395         * etags.c (absolute_filename): Compare against '\0' instead of NULL.
7397 1994-04-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7399         * Makefile.in.in: Renamed from Makefile.in.
7400         Makefile.in is now generated from it, and then preprocessed.
7401         Change comments to C syntax.
7402         Include config.h.
7403         (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
7404         (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
7406 1994-04-13  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7408         * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
7410 1994-04-12  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7412         * etags.c (etags_getcwd): Initialize bufsize.
7414 1994-04-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7416         * profile.c (gettimeofday): If system doesn't have this, define it
7417         to give a fatal error.
7419 1994-04-11  Karl Heuer  (kwzh@gnu.ai.mit.edu)
7421         * movemail.c (main): Use setuid, not seteuid.
7423 1994-04-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7425         * etags.c: #undef static.
7427 1994-04-08  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7429         * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
7430         (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
7431         (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
7432         Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
7433         TeX_functions, Prolog_functions.
7434         (inf): No more a global variable.
7435         (C_entries): Take 2nd parameter `inf' instead of using the global one.
7436         (find_entries): Add the cp1 var for optimization.
7437         (find_entries): Add more suffixes for assembler files.
7438         (Asm_funcs): Now finds labels even without an ending colon.
7440 1994-03-30  Francesco Potortì  (pot@fly.cnuce.cnr.it)
7442         * etags.c (main): Use etags_getcwd for compatibility.
7443         (etags_getcwd): New function.
7445 1994-03-25  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7447         * Makefile.in (etags, ctags): Pass -D for VERSION.
7449 1994-03-25  Francesco Potortì  (pot@cnuce.cnr.it)
7451         * etags.c (emacs_tags_format, ETAGS): Remove.  Use CTAGS instead.
7452         (main): Don't allow the use of -t and -T in etags mode.
7453         (print_help): Don't show options enabled by default.
7454         (print_version): Show the emacs version number if VERSION is #defined.
7455         (find_entries): Add "ss" as suffix for Chez Scheme.
7457 1994-03-23  Francesco Potortì  (pot@cnuce.cnr.it)
7459         * etags.c (cwd, outfiledir): Vars added.
7460         (relative_filename, absolute_filename, absolute_dirname):
7461         functions added to compute filenames in tags files.
7462         (process_file): Filenames in tags file are relative to the
7463         directory where the tags file is (useful with the -o option).
7464         (main): Initialize the outfiledir var.
7465         (TYPEDST): Add the `tignore' value.
7466         (C_entries): Corrected various small bugs.
7468 1994-03-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7470         * Makefile.in (UTILITIES): `env' deleted.
7471         (env): Target deleted.
7472         * env.c: File deleted.
7474 1994-03-14  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7476         * Makefile.in (install, ${archlibdir}): Switch back to ..
7477         before running INSTALL_PROGRAM.
7479 1994-03-14  Francesco Potortì  (pot@cnuce.cnr.it)
7481         * etags.c (TYPEDST): Add the `tignore' value.
7482         (C_entries): Corrected various bugs, now correctly parses the
7483         `extern "C" {' construction (patch by Tom R.Hageman).
7485 1994-03-05  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7487         * b2m.c: Use <...> to include config.h.
7488         Don't include stdlib.h.
7490 1994-03-03  Heiko Muenkel  (muenkel@tnt.uni-hannover.de)
7492         * b2m.c (main): Change delimiter from "^L" to "^_^L".
7493         Allow for text following "BABYL OPTIONS:".
7494         Add --help option.  Use argv[0] in error messages.
7496 1994-03-01  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7498         * emacsclient.c (main) [HAVE_SYSVIPC]:
7499         Make msgp->mtext longer if necessary.
7500         On HPUX, error if it's more than 512 chars.
7502 1994-02-26  David J. MacKenzie  (djm@geech.gnu.ai.mit.edu)
7504         * etags-vmslib.c: Use GPL.
7505         * emacstool.c: Use GPL.
7506         * fakemail.c: Update GPL.
7508         * make-path.c (main): Return 1 on error, not -1.
7509         Update GPL.
7511         * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
7512         (xmalloc, xrealloc): Return char *, not int.
7513         (error): Write to stderr, not stdout.
7514         Update GPL.
7516 1994-02-23  Karl Heuer  (kwzh@gnu.ai.mit.edu)
7518         * profile.c (main, get_time): Don't crash on invalid input.
7520 1994-02-22  Karl Heuer  (kwzh@gnu.ai.mit.edu)
7522         * profile.c (get_time): Simplify; avoid calling index.
7523         (main): Exit on EOF.
7525 1994-02-17  Francesco Potortì  (pot@cnuce.cnr.it)
7527         * etags.c (--absolute-pathnames): Option removed.
7529 1994-02-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7531         * fakemail.c (put_line): Don't break the line if it all fits.
7533 1994-02-14  Francesco Potortì  (pot@fly)
7535         * etags.c (absolute_pathnames, cwd): Add global vars.
7536         (longopts, print_help, main, process_file): Put absolute filenames
7537         in the tag file if the -A --absolute-pathnames option is used.
7538         (print_help): Alphabetically order the options.
7539         (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
7541 1994-02-09  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7543         * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
7544         (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
7546 1994-02-07  Christian Lynbech  (lynbech@avignon)
7548         * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
7550 1994-02-04  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7552         * Makefile.in (UTILITIES): Mention profile.
7553         (profile): New target.
7555         * profile.c: New file.
7557 1994-01-16  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
7559         * make-docfile.c: Make the argument list output look more like the
7560         Lisp docstrings do.
7561         (write_c_args): Take new arg FUNC.  Make output
7562         look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
7563         (scan_c_file): Pass BUF to write_c_args for FUNC arg.
7565 1994-01-14  Francesco Potortì  (pot@cnuce.cnr.it)
7567         * etags.c (stab_entry, stab_create, stab_find, stab_search,
7568         stab_type, add_keyword, C_reate_stab, C_create_stabs): Delete.
7569         Use gperf generated hash table instead of linked list.
7570         (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Add.
7571         Mostly code generated by gperf.
7572         (consider_token): Remove unused parameter `lp'.
7573         (PF_funcs, getit): Allow subroutine and similar declarations
7574         to span multiple lines.
7575         (C_entries): Check for newline if inchar to avoid bus errors.
7576         (process_file, find_entries): Distinguish among nonexistent
7577         and not regular file.
7579 1994-01-14  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7581         * timer.c: Include errno.h; don't include fasync.h.
7582         (schedule): Don't return a value.
7583         (sigcatch): Reestablish the handler first.
7584         (getevent): Always call notify at the end.
7585         (notify): Defer alarms around the whole body of function.
7587 1994-01-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7589         * timer.c (main): Don't request SIGIO, and don't handle it.
7590         Loop calling getevent.
7591         (sigcatch): Delete code to handle SIGIO.
7592         if defer_alarms is set, don't call notify, just set alarm_deferred.
7593         (getevent): Use read, not getchar.  Handle EINTR and EAGAIN.
7594         Set defer_alarms around realloc and schedule.
7595         If alarm_deferred gets set, call notify.
7596         Likewise if this event is the only pending event.
7597         Make buf and buf_size global variables.
7598         Don't malloc buf if it is already non-zero.
7599         (schedule): Just exit if run out of memory.
7600         Return the number of events.
7601         (signal) [_CX_UX]: Add #undef.
7603 1994-01-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7605         * timer.c [USG] (SIGIO): Define as SIGPOLL.
7606         (main) [USG]: Do ioctl to enable SIGPOLL.
7608 1994-01-08  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
7610         * timer.c: Don't declare sys_errlist; declare strerror instead.
7611         (schedule, main): Call strerror instead of using sys_errlist.
7612         * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
7613         Call strerror instead of using sys_errlist.
7614         * env.c (main): Call strerror instead of using sys_errlist.
7615         * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
7616         (main): Call strerror instead of using sys_errlist.
7617         * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
7618         * env.c [! HAVE_STRERROR] (strerror): Likewise.
7619         * timer.c [! HAVE_STRERROR] (strerror): Likewise.
7620         * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
7622 1994-01-05  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7624         * hexl.c: Fix up whitespace.  Get rid of spurious casts to void.
7626         * movemail.c (malloc): Don't declare it.
7627         (xmalloc): Cast result of malloc.
7628         (strcpy): Don't declare it.
7630 1993-11-14  Morten Welinder  (terra@diku.dk)
7632         * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
7633         (main): Use fclose to close file opened by fopen.
7635         * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
7637         * movemail.c [MSDOS]: #undef `access'.
7639         * b2m.c (main) [MSDOS]: Open all files as binary.
7640         * etags.c (main) [MSDOS]: Open all files as binary.
7642         * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
7643         (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
7644         with.
7646 1994-01-02  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7648         * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
7649         Use ALL_CFLAGS in all the rules that compile and link with one cmd.
7650         (LINK_CFLAGS): New variable.
7651         (timer): Use LINK_CFLAGS.
7653 1993-12-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7655         * movemail.c: Include syswait.h.
7656         Fork a subprocess and use it to copy the mail file.
7658 1993-12-07  Richard Stallman  (rms@srarc2)
7660         * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
7662 1993-12-04  Richard Stallman  (rms@srarc2)
7664         * movemail.c (main): When making tempname, cast result of xmalloc.
7665         Include room for EXXXXXX in the size.
7666         Don't use result of strcpy.
7668 1993-12-03  Paul Eggert  (eggert@twinsun.com)
7670         * vcdiff: Add --brief option.
7672 1993-12-02  Richard Stallman  (rms@srarc2)
7674         * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
7675         for all executables and scripts.
7677 1993-11-27  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7679         * Version 19.22 released.
7681 1993-11-26  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7683         * Makefile.in (mostlyclean): Make it distinct from clean.
7685 1993-11-24  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7687         * Makefile.in (${archlibdir}): Don't do chown or chgrp.
7689 1993-11-16  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7691         * Version 19.21 released.
7693         * Makefile.in (install): Don't change mode or group when installing.
7695         * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
7697 1993-11-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7699         * make-docfile.c (read_c_string): For "", concatenate the two strings.
7701         * movemail.c (main): Fix error message text.
7703 1993-11-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7705         * Version 19.20 released.
7707 1993-11-08  Tom Hageman  (tom@basil.icce.rug.nl)
7709         * etags.c (C_entries): Keep track of ()-parenthesis level so that
7710         functions returning a pointer to a function, a la `signal', can be
7711         parsed.  This also required new state `fstartlist' to `FUNCST'.
7712         (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
7713         (C_entries, CNL): Use it to isolate preprocessor directive processing
7714         from the other state engines.
7715         (begtk): Add '~', for C++ class destructors.
7717 1993-11-02  Francesco Potortì  (pot@cnuce.cnr.it)
7719         * etags.c (consider_token): Remove unused variable firsttok.
7720         (prolog_getit): Call pfnote with the right number of arguments.
7722 1993-10-19  Paul Eggert  (eggert@twinsun.com)
7724         * rcs2log (printlogline): Don't generate lines containing only
7725         white space.
7727 1993-10-04  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
7729         * Makefile.in (${archlibdir}):
7730         Install ${SCRIPTS} from ${srcdir}, not cwd.
7732 1993-10-03  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
7734         * Makefile.in: Fixed typos or brainos of whoever thought `@' was
7735         the comment character.
7737 1993-10-01  Francesco Potortì  (pot@cnuce.cnr.it)
7739         * etags.c (process_file): Dead code removed.
7740         (S_ISREG): #define it using S_IFREG if not defined.
7741         (process_file): Regular files have nothing to do with symlinks.
7743 1993-09-28  Brian J. Fox  (bfox@ai.mit.edu)
7745         * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
7746         from current directory.  Only chmod and chgrp files that we
7747         installed, which excludes ${INSTALLABLE_SCRIPTS}.  They go in
7748         ${bindir}.
7749         (INSTALLFLAGS): Delete definition, since it is an unused variable
7750         now.
7752 1993-09-27  Brian J. Fox  (bfox@ai.mit.edu)
7754         * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
7755         Let configure figure out the correct values for these variables.
7757 1993-09-14  Brian J. Fox  (bfox@ai.mit.edu)
7759         * Makefile.in (archlibdir): Only install executables internally
7760         used by emacs; don't install bindir binaries here.
7762 1993-09-24  Paul Eggert  (eggert@twinsun.com)
7764         * rcs2log: Add -h, -n, -r options.
7765         By default, look for *,v files as well as RCS/*,v files.
7766         Use $TMPDIR (default /tmp) instead of /tmp.
7768 1993-09-20  Francesco Potortì  (pot@fly)
7770         * etags.c (C_entries): is_func is initialized here instead of in
7771         consider_token for the sake of the yacc rules section.
7772         (C_entries): Now class, struct, enum, union and typedef produce
7773         named tags.
7775 1993-09-11  Roland McGrath  (roland@baalperazim.gnu.ai.mit.edu)
7777         * yow.c: Include <src/paths.h>, instead of "src/paths.h".
7779 1993-09-10  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
7781         * Makefile.in: Support configuring in a different directory when
7782         ${srcdir} has already been configured.
7783         (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
7784         -I${srcdir}/../src.
7785         (b2m, movemail, fakemail, env, emacsserver, emacsclient,
7786         getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
7787         is already in CPP_FLAGS.
7788         * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
7789         movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
7791 1993-08-25  Paul Eggert  (eggert@twinsun.com)
7793         * rcs2log: Change /{/ to /\{/ for POSIX ERE compatibility;
7794         otherwise, HP awk complains.
7796         * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
7797         are common hangouts for SCCS commands.
7799 1993-08-14  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7801         * Version 19.19 released.
7803 1993-08-12  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7805         * Makefile.in (make-path): Dep on config.h.
7807 1993-08-11  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7809         * b2m.c (TRUE, FALSE): Don't define if already defined.
7811 1993-08-09  Paul Eggert  (eggert@twinsun.com)
7813         * rcs2log (awkscript):
7814         Some sites put comma-separated junk after the fullname.
7815         Remove it, but leave "Bill Gates, Jr" alone.
7816         Remove the junk from fullnames like "0000-Admin(0000)".
7818 1993-08-08  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7820         * Version 19.18 released.
7822 1993-08-04  Francesco Potortì  (pot@spiff.gnu.ai.mit.edu)
7824         * etags.c (L_isdef, L_isquote, L_getit): Small optimizations.
7825         (L_funcs): The (foo::defmumble stuff now should work.
7826         (consider_token): Function returned random value--corrected.
7827         (C_entries): Corrected == versus = typo.
7829 1993-08-01  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
7831         * etags.c (put_entries): For NODE->rewritten, put pattern before
7832         \177 and name after, not vice versa.
7834 1993-08-01  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7836         * timer.c (main): Generate a SIGIO as soon as we've initialized.
7838 1993-07-30  Francesco Potortì  (pot@cnuce.cnr.it)
7840         * etags.c (FINCST): Add the fignore status.  Means we are
7841         after the parameter list and before the open curly brace.
7842         Allows correct parsing of C++ constructors.
7843         (C_entries, consider_token): Make use of fignore.
7844         (consider_token): Reset funcdef when next_token_is_func: when in
7845         ctags mode makes DEFVAR and others work better.
7846         (L_isquote): Function that recognizes the "(quote" string.
7847         (L_getit): Ignore quoting via "'" or "(quote".  Useful for defalias.
7849 1993-07-29  Paul Eggert  (eggert@twinsun.com)
7851         * rcs-checkin: Don't check whether a file is readable until we have
7852         decided not to ignore it.
7854 1993-07-20  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7856         * Makefile.in (etags): Depend on ../src/config.h.
7858         * emacsserver.c: Include types.h before file.h.
7860 1993-07-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7862         * Makefile.in (install): Use .n, not .new, for temporary filenames.
7864 1993-07-18  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7866         * Version 19.17 released.
7868 1993-07-15  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
7870         * etags.c (print_help): Break up the very long strings containing
7871         the help message into shorter strings, to placate chintzy C
7872         compilers which can't handle strings that long.
7874         * wakeup.c: Use CPP tangle from autoconf manual to #include the
7875         correct combination of <time.h> and <sys/time.h>.
7877 1993-07-08  Francesco Potortì  (pot@cnuce.cnr.it)
7879         * etags.c (alloca): Remove all references to it.
7880         (main): Now calls xnew instead of alloca for portability.
7881         (../src/config.h): Included only if HAVE_CONFIG_H.
7882         (const): Void definition removed--config.h takes care of it.
7884 1993-07-08  Francesco Potortì  (pot@cnuce.cnr.it)
7886         * etags.c (consider_token): Was `==', now is `='.
7887         (consider_token): DEFUNs now treated like funcs in ctags mode.
7889         * etags.c (LEVEL_OK_FOR_FUNCDEF): Remove.
7890         (C_entries): Optimize the test that used LEVEL_OK_FOR_FUNCDEF.
7891         (C_entries): Remove a piece of useless code.
7892         (C_entries): Making typedef tags is delayed until a semicolon
7893         is met.  This handles "typedef int X, Y, Z;" correctly.
7895 1993-07-06  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
7897         * Version 19.16 released.
7899         * b2m.c: #include <sys/types.h>.
7900         (ltoday): Declare this to be time_t.
7902 1993-06-30  Paul Eggert  (eggert@twinsun.com)
7904         * vcdiff: Add -q option.
7906 1993-06-29  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7908         * etags.c: #include "config.h" and the alloca CPP tangle before
7909         #including the system headers and getopt.h.  AIX requires the
7910         #pragma to come before any actual C code.
7912 1993-06-21  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7914         * Makefile.in (ctags): Depend on etags, so that parallel makes
7915         don't write etags.o files on top of each other.
7917 1993-06-19  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7919         * version 19.15 released.
7921 1993-06-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7923         * etags.c (add_node): Move var last_node to file scope.
7925 1993-06-17  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7927         * Version 19.14 released.
7929 1993-06-16  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7931         Bring mumbleclean targets into conformance with GNU coding standards.
7932         * Makefile.in (distclean): Call clean to do most of the work.
7933         Delete aixcc.c and TAGS.
7934         (realclean): Just call distclean.
7936         * Makefile.in: Remember, spaces are not tabs.
7938 1993-06-13  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7940         * Makefile.in (CPP_CFLAGS): New variable.
7941         Use it instead of ALL_CFLAGS when compiling a .c file.
7942         (getopt.o, getopt1.o): Add explicit compilation commands.
7944 1993-06-10  Mark D. Baushke  (mdb@cisco.com)
7946         * etags.c: Reinstate old -f option as an alias for -o for
7947         installed base uses.
7949 1993-06-09  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7951         * emacsserver.c (main): When we're passing a `struct sockaddr_un'
7952         to bind or accept, cast the pointer, to avoid warnings on systems
7953         which declare prototypes for this.
7954         * emacsclient.c (main): Same.
7956         * Makefile.in (YACC): New variable, to be set by top-level Makefile.
7958 1993-06-08  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7960         * Version 19.13 released.
7962         * wakeup.c: Include sys/types.h, too; I think that's where time_t
7963         comes from, not sys/time.h.
7965 1993-06-02  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7967         * wakeup.c: Include sys/time.h.
7969         * etags.c: #undef static.
7971         * Version 19.12 released.
7973         * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
7975 1993-06-01  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7977         * Version 19.11 released.
7979         * timer.c [LINUX]: #undef signal.
7980         * emacsserver.c: #undef signal.
7982 1993-05-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7984         * wakeup.c (main): Make when a time_t.
7986 1993-05-30  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
7988         * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
7989         `(cd foo ; pwd)' to get the canonical name of a directory; cd
7990         might fail, and have pwd print out the current directory.
7992         * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
7993         string-handling functions.
7995 1993-05-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
7997         * Version 19.10 released.
7999 1993-05-29  Paul Eggert  (eggert@twinsun.com)
8001         * rcs2log: When given no file arguments, inspect RCS/.* as well
8002         as RCS/*.  Don't report an error if RCS is empty or nonexistent.
8004 1993-05-29  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8006         * Makefile.in (timer): Link with $(LOADLIBES).
8008 1993-05-28  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8010         * fakemail.c (put_line): Don't output \n\t unless more text follows.
8012 1993-05-28  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
8014         * etags.c: Replace the CPP tangle for alloca with the one from the
8015         autoconf documentation, since that's working elsewhere.
8017 1993-05-27  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
8019         * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
8020         description files can find their ancestors.
8022 1993-05-27  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8024         * Makefile.in (install): Get the scripts from ${srcdir},
8025         unlike the executables.
8026         (ALL_CFLAGS): Add -I../src.
8028 1993-05-27  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
8030         * Version 19.9 released.
8032 1993-05-26  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8034         * Makefile.in (install): Do install the programs listed in
8035         INSTALLABLE_SCRIPTS.  Make the renaming loop use INSTALLABLES and
8036         INSTALLABLE_SCRIPTS, instead of writing the programs out.
8038         * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
8039         (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
8041 1993-05-25  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8043         * etags.c: Include ../src/config.h.
8045         * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
8046         in first loop.  Delete files from bindir before installing new ones.
8047         (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
8049 1993-05-24  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8051         * Version 19.8 released.
8053         * make-docfile.c: Doc fix.
8055 1993-05-24  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8057         * tcp.c: Fix comment syntax at top of file.
8058         (main): Don't call htons with the port number.
8060 1993-05-24  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8062         * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
8063         appropriate.
8065         * Makefile.in (install): Refer to the variables INSTALLABLES and
8066         INSTALLABLE_SCRIPTS, instead of writing them out.
8068 1993-05-23  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8070         * make-path.c (main): Return 0.
8072 1993-05-22  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
8074         * Version 19.7 released.
8076 1993-05-22  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8078         * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
8080 1993-05-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8082         * tcp.c: New file.
8084 1993-05-18  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8086         * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
8088 1993-05-15  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
8090         * timer.c (notify): Don't call sighold or sigrelse; they're USG
8091         only.  We should really fix this later, but let's just make it
8092         compile for now.
8094         Install patches from David J. Mackenzie to make the srcdir option
8095         work.
8096         * Makefile.in (srcdir, VPATH): Get this value from the top-level
8097         Makefile.
8098         (INSTALLABLES): Split this into two lists - INSTALLABLES and
8099         INSTALLABLE_SCRIPTS.
8100         (INSTALLABLE_SCRIPTS): New list.
8101         (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
8102         (${archlibdir}): The scripts to be installed live in the source
8103         tree, not in the object tree.
8104         (test-distrib): Note that the data file lives in the source tree,
8105         not the object tree.
8106         (GETOPTDEPS): Note that getopt.h lives in the source tree.
8107         (all other targets): Change references to source files to use
8108         ${srcdir}, except for config.h, which lives in the object dir.
8109         (timer.o): Note that this depends on ../src/config.h.
8110         * make-docfile.c (main): Add a -d option, to tell it where to find
8111         the source files.
8112         * test-distrib.c (main): Take the name of the distribution file to
8113         test from the command line.
8115         * timer.c: Fix misspellings of get_date function's name.
8117 1993-05-12  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
8119         * etags.c (main):
8120         Don't require that there be input files if -i switches were given.
8122 1993-05-09  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8124         The GNU coding standards specify that CFLAGS should be left for
8125         users to set.
8126         * Makefile.in (CFLAGS): Put this in the "things configure might
8127         edit" section, and have it default to -g.
8128         (ALL_CFLAGS): New variable, set to all the flags which should be
8129         passed to compilations.  Replace all other uses of CFLAGS with
8130         ALL_CFLAGS.
8131         (.c.o): New rule, to pass ALL_CFLAGS to compilations.
8133         * Makefile.in (DEFS): Remove this; it's always just going to be
8134         "-DHAVE_CONFIG_H -Demacs".
8136 1993-05-03  Paul Eggert  (eggert@twinsun.com)
8138         * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
8139         /[/]/, so change it to /[\/]/.  This should work on all
8140         POSIX-compliant awks.  It's slightly wrong with traditional awk,
8141         since it matches \ too, but that's a minor problem compared to awk
8142         syntax errors.
8144 1993-05-01  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
8146         * Makefile.in (ALLOCA): New variable, whose value we should
8147         inherit from the top-level makefile.
8148         (etags, ctags): Include ALLOCA in the list of object files that
8149         these executables depend on and link.
8151 1993-04-09  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8153         * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
8155 1993-04-07  Jim Blandy  (jimb@churchy.gnu.ai.mit.edu)
8157         * make-docfile.c (write_c_args): Print an argument named "defalt"
8158         as "default".
8160 1993-03-24  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
8162         * Makefile.in (C_SWITCH_SYSTEM): New variable.
8163         (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
8164         compiler.
8166 1993-03-22  Francesco Potortì  (pot@cnuce.cnr.it)
8168         * etags.c (YACC): Flag added to c_ext.
8169         (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
8170         (find_entries): Consistently use streq when reasonable.
8171         (find_entries): A .y file is a yacc file.
8172         (get_C_stab): c_ext becomes c_ext&C_PLPL.
8173         (C_entries): Logical cplpl means c_ext&C_PLPL.
8174         (C_entries): Logical yacc_rules means we are after the first %%.
8175         (C_entries): Add logic for yacc files.
8177 1993-03-16  Francesco Potortì  (pot@cnuce.cnr.it)
8179         * etags.c (C_entries): ':' case moved to the second switch.
8180         (C_entries): Do not examine token if structdef==scolonseen.
8181         (consider_token): structtag set to null string for enum.
8183 1993-03-12  Francesco Potortì  (pot@cnuce.cnr.it)
8185         * etags.c (GET_COOKIE): And related macros removed.
8186         (logical): Is now int, no more a char.
8187         (reg): Define deleted.
8188         (isgood, _gd, notgd): Delete.
8189         (gotone): Delete.
8190         (TOKEN): Member linestart removed.
8191         (linepos, prev_linepos, lb1): Delete.
8192         (main): Call initbuffer on lbs array instead of lb1.
8193         (init): Remove the initialization of the logical _gd array.
8194         (find_entries): A .sa suffix means assembler file.
8195         (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
8196         All C state machines rewritten.
8197         (C_entries): Complete rewrite.
8198         (condider_token): Complete rewrite.
8199         (getline): Delete.
8201 1993-03-01  Francesco Potortì  (pot@fly.CNUCE.CNR.IT)
8203         * etags.c (C_entries): Add the quotednl logical variable.
8204         Used for parsing of #define's spanning multiple lines.
8206 1993-02-23  Francesco Potortì  (pot@fly.CNUCE.CNR.IT)
8208         * etags.c (C_entries): Save the definedef status even when a
8209         newline is met inside a string.
8211 1993-03-19  Eric S. Raymond  (eric@geech.gnu.ai.mit.edu)
8213         * Makefile.in (EXECUTABLES): Add rcs-checkin.
8215         * Makefile.in (unlock, relock): New productions.
8217 1993-03-16  Paul Eggert  (eggert@twinsun.com)
8219         * rcs2log: Some awks don't understand "\r".  Code around this.
8220         Unfortunately this requires putting a carriage return in the
8221         source code.  Don't assume that rlog will tolerate times like
8222         `10:10:60'; RCS 5.7 won't allow this.
8224 1993-03-10  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8226         * timer.c (main): Set the ownership of the stdin file descriptor
8227         to the current process.  Print error messages if either of the
8228         fcntl's fails.
8230         * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
8231         ../src/config.h), not void.
8233 1993-03-06  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8235         * b2m.c (main): Don't exit upon reading a blank line.
8237 1993-03-01  Francesco Potortì  (pot@fly.CNUCE.CNR.IT)
8239         * etags.c (C_entries): New local variable quotednl.  Used for
8240         parsing of #define's spanning multiple lines.
8242         * etags.c (C_entries): Save the definedef status
8243         even when a newline is met inside a string.
8245 1993-02-26  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8247         * timer.c (notify): Initialize waitfor properly.
8249 1993-02-22  Francesco Potortì  (pot@CNUCE.CNR.IT)
8251         * etags.c (C_entries): Don't reset definedef when a newline inside a
8252         comment is met.
8254 1993-01-14  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8256         * etags.c (find_entries): If filename ends in .f or .for,
8257         don't try anything but Fortran.
8259 1993-01-08  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
8261         * timer.c (notify): Flush stdout after writing message to avoid lossage
8262         on terminals.
8264         (notify): Also, write a newline after the token.
8266 1992-12-12  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8268         * Makefile.in (exec_prefix): New variable.
8269         (bindir, libdir): Use it instead of `prefix'.
8271         * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
8273         * Makefile.in (libdir): Default to ${prefix}/lib.
8274         (archlibdir): Adjust to match.
8276         * Makefile.in (distclean): Don't delete backup or autosave files.
8277         (extraclean): Like realclean, but does delete backup and autosave
8278         files.
8280         * Makefile.in (realclean): Ignore errors from rm.
8282         * Makefile.in (distclean): Don't bother to delete ../arch-lib;
8283         that doesn't exist anymore.
8285 1992-12-11  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8287         * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
8288         described in the top-level Makefile.
8289         (UTILITIES): Add make-path to the list of utility programs.
8290         (../arch-lib): Replace by the ${archlibdir} target, which places
8291         the executables in their permanent home.
8292         (install, install.sysv, install.xenix): Consolidated into one
8293         target which should work under all circumstances, modulo a few
8294         ignored error messages.
8296         * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
8297         a different number of arguments than other DEFVARs, recognize it
8298         specially, and expect the right number of commas.
8300 1992-12-04  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8302         * make-path.c: New program, to help with the installation process.
8303         * Makefile.in (make-path): New target.
8305         * make-path.c (touchy_mkdir): Remove debugging output.
8307 1992-11-05  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8309         * Makefile.in (getdate.o): Add explicit target for this, so we
8310         can indicate that it depends on ../src/config.h.
8312 1992-11-04  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
8314         * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
8315         instead of CFLAGS.
8316         (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
8318 1992-09-30  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8320         * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
8321         9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
8322         that system.
8324         * Makefile.in (arch-lib): Give rm the `-f' option.
8326 1992-09-28  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8328         * make-docfile.c (write_c_args): Rewritten to correctly print
8329         &optionals before the first identifier, but after the first paren.
8330         This code used to just wait for commas or spaces; now it notices
8331         identifier boundaries.
8333 1992-09-26  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
8335         * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
8337 1992-09-23  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8339         * make-docfile.c (write_c_args): Print the argument lists properly
8340         when the first argument is optional.
8342 1992-09-19  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8344         * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
8345         Redefine @item.  Set catcode of +.
8347 1992-08-22  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8349         * emacsclient.c (main): Set IPC_CREAT in msgget call.
8351 1992-08-20  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8353         * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
8354         (TEX_decode_env): Make `tab' one element longer.
8356 1992-08-20  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8358         * etags.c (PF_funcs): Recognize the "entry" keyword.
8360 1992-08-18  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8362         * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
8364 1992-08-14  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8366         * timer.c (events): Rather than having slots marked as in use or
8367         out of use by the `token' field, keep all pending events at the
8368         beginning of the array.  When we delete an event in the middle of
8369         the array, we move the last event into its place.
8370         (num_events): New variable.
8371         (schedule): It is now cheaper to find a free event slot;
8372         events[num_events] is the first free slot.
8373         (notify): Scan events[0 .. num_events-1], instead of the whole
8374         array.  When an event fires, move the last event in the array into
8375         its spot.  Use num_events to determine whether or not there are
8376         any pending events, not wait_for.
8377         (getevent): Delete unused variable `ep'.
8378         (sigcatch): It's now easier to find all the active events.
8379         (main): Initialize num_events.
8381         * etags.c: Rather than fret about which systems have index and
8382         which systems have strchr, and how to tell the difference between
8383         them, we just write out our own versions.  Big deal.
8384         (index, rindex): Extern declarations removed.
8385         (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
8386         (etags_index, etags_rindex): New declarations.
8387         (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
8388         TEX_getit, substr): Use the etags_*index functions, rather than
8389         the native *index functions.
8390         (rindex, index): Rename to etags_rindex and tags_rindex, and
8391         made them unconditionally defined, rather than having them depend
8392         on NEED_*INDEX.
8394         * etags.c (savenstr): Add declaration for this at top of file.
8395         (TEX_decode_env): Don't declare it local to this function.
8397         * b2m.c: #include "../src/config.h", so we can test for the USG
8398         macro, and decide whether to include <string.h> or <strings.h>.
8399         * Makefile.in: Note that b2m.c depends on ../src/config.h.
8401 1992-08-13  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8403         * timer.c: Reformatted according to the GNU coding standards.
8404         Removed arbitrary limits on the number of events queued and the
8405         length of the tokens used to identify them.
8406         Removed casts to (void).
8407         Removed debugging printfs; they clutter the code, and the need
8408         can be better filled using a real debugger.
8410 1992-08-07  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8412         * timer.c: Installed new version from Eric Raymond; this is more
8413         portable, since it doesn't try to use SIGIO.
8415 1992-07-17  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8417         * emacsclient.c (main): If we can't find the socket in this
8418         person's home directory, print a message which asks if they've
8419         started the server, instead of just printing the message from
8420         sys_errmsg; Cygnus finds that people are much less confused by
8421         this.
8423 1992-07-14  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8425         * etags.c: Rather than defining "notdef" when "hpux" is #defined,
8426         so that index and rindex get defined, why don't we actually
8427         control index and rindex using symbols called "NEED_INDEX" and
8428         "NEED_RINDEX", and define them if hpux is defined?  Isn't that a
8429         little more readable than defining something whose name implies
8430         that it's not?
8432 1992-07-08  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8434         * movemail.c: Merged changes from Jamie Zawinski's byte compiler
8435         distribution:
8436         Miscellaneous doc fixes.
8437         (skip_white, read_lisp_symbol): New functions.
8438         (scan_lisp_file): Instead of using long hairy strings of ifs, call
8439         read_lisp_symbol and then see what we got.  Call skip_white
8440         instead of writing out a loop to do its job.  Correctly extract
8441         docstrings from "defmacro" declarations.
8443 1992-06-25  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8445         * movemail.c (strcpy): Declare this to return char *.
8447 1992-06-18  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8449         * etags.c (C_entries): When we find a C++ comment, do actually
8450         skip to the end of the line; do a 'break' instead of a 'continue'.
8452 1992-06-11  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8454         * etags.c (getit): Add missing parenthesis to expression which
8455         decides if this token is an identifier.
8457 1992-06-04  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
8459         * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
8461 1992-05-30  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8463         * etags.c (put_entries): Always put space between name and line num.
8465 1992-05-28  Ken Raeburn  (Raeburn@Cygnus.COM)
8467         * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
8468         warning.
8469         (LEVEL_OK_FOR_FUNCDEF): Ditto.
8471 1992-05-19  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
8473         * make-docfile.c (write_c_args): Pass both arguments to putc.
8475 1992-05-10  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
8477         * etags.c (C_entries): Fix reading of "..." strings.
8478         (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
8479         the C library source.
8481         * etags.c (C_entries): When we see a backslash inside a quoted
8482         string, skip to the next character.  This allows us to correctly
8483         deal with strings containing quotes.
8485 1992-05-08  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8487         * make-docfile.c (write_c_args): Print the C argument names as
8488         they would be written in Elisp; print '_' as '-'.
8490 1992-05-07  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
8492         * movemail.c [POP]: Get user name via getpwuid.
8494 1992-05-04  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8496         * Makefile.in: Flags in CC invocations rearranged for no reason.
8498 1992-04-20  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8500         * etags.c (print_help): Remember not to embed raw newlines in
8501         strings - end the lines with `\n\'.
8503 1992-04-17  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8505         * timer.c (getevent): Remove declaration of memcpy; since
8506         different systems have different return types, and we're not even
8507         using the return type anyway, it wasn't doing us any good.
8509 1992-04-16  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8511         * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
8512         type of this function.
8514 1992-04-08  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8516         * etags.c: "--no-warning" option renamed to "--no-warn",
8517         to be consistent with other GNU programs, like makeinfo.
8519         * Makefile: Renamed to Makefile.in; the configure script
8520         will edit this to produce Makefile.
8522 1992-04-08  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
8524         New directory, with files previously in ../etc. [approximate date]
8525         * README: New file.
8526         * Makefile: Copy here from ../etc/Makefile.
8527         * aixcc.lex, b2m.c, cvtmail.c, digest-doc.c:
8528         * emacsclient.c, emacsserver.c, emacstool.c, env.c:
8529         * etags-vmslib.c, etags.c, fakemail.c, getdate.c, getdate.y:
8530         * getopt.c, getopt.h, getopt1.c, hexl.c, leditcfns.c:
8531         * make-docfile.c, movemail.c, qsort.c, sorted-doc.c:
8532         * test-distrib.c, testfile, timer.c, wakeup.c, yow.c:
8533         Move here from ../etc.
8535 ;; Local Variables:
8536 ;; coding: utf-8
8537 ;; End:
8539   Copyright (C) 1988-1999, 2001-2015 Free Software Foundation, Inc.
8541   This file is part of GNU Emacs.
8543   GNU Emacs is free software: you can redistribute it and/or modify
8544   it under the terms of the GNU General Public License as published by
8545   the Free Software Foundation, either version 3 of the License, or
8546   (at your option) any later version.
8548   GNU Emacs is distributed in the hope that it will be useful,
8549   but WITHOUT ANY WARRANTY; without even the implied warranty of
8550   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8551   GNU General Public License for more details.
8553   You should have received a copy of the GNU General Public License
8554   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.